12v 250w Car SMPS based off SG3525

codex653

New member
Ok so now I have the totem pole stage working properly!! :) Check out the photos below! All those resistors you see on the breadboard are actually four 27 ohm resistors in parallel to get me 6.9 ohms. Just like the R7 and R8 in Fig 1. The only problem is that when driving my mosfets, they still have the same stupid waveforms on them as before!! x-( This is extremely annoying and I would welcome any ideas as to why I am not able to switch these mosfets very well!
 

Attachments

  • Totem Pole Waveform.jpg
    Totem Pole Waveform.jpg
    357.6 KB · Views: 67
  • Breadboard With Totem Pole State.jpg
    Breadboard With Totem Pole State.jpg
    216.6 KB · Views: 91

Redwire

New member
You got it working... good... just before I posted all this stuff I figured was needing tweaking :"::
I'm such a killjoy :eek:

For your experiments, use a much smaller drain pullup resistor, as 15k is too big; running the mosfets at ID=1mA is too low and their output capacitance will make those ramps that you see. I would go down to 1k ohm or 220ohms if you have 1/2W or 1W resistors.

A few things... you have a skeleton breadboard circuit with some parts missing.
You could use a resistor from pin 1 (+IN) to GND to force max. PWM duty cycle.
To keep the 3525 stable: You need a cap 0.1uF from pin 16 +5v to GND. Never connect pin 13 and pin 15 together without an RC filter between them. Elliot's schematic 89-f1 has an error where VC and VI are mixed up. You always want some filtering for the 3525's power pin from the main power.

For your totem-pole circuit, double check the transistor pinouts (ECB vs BCE) I get confused with different makes of the same transistor.

Your breadboard will need two separate ground rails to keep noise from being a problem. The PNP driver's collector is a source of noise and needs a dedicated ground bus+wire going to wherever the output MOSFET's source is. I use a single-point ground technique there. Noise won't show up until you are switching higher currents.
 

codex653

New member
You got it working... good... just before I posted all this stuff I figured was needing tweaking :"::
I'm such a killjoy :eek:

For your experiments, use a much smaller drain pullup resistor, as 15k is too big; running the mosfets at ID=1mA is too low and their output capacitance will make those ramps that you see. I would go down to 1k ohm or 220ohms if you have 1/2W or 1W resistors.

A few things... you have a skeleton breadboard circuit with some parts missing.
You could use a resistor from pin 1 (+IN) to GND to force max. PWM duty cycle.
To keep the 3525 stable: You need a cap 0.1uF from pin 16 +5v to GND. Never connect pin 13 and pin 15 together without an RC filter between them. Elliot's schematic 89-f1 has an error where VC and VI are mixed up. You always want some filtering for the 3525's power pin from the main power.

For your totem-pole circuit, double check the transistor pinouts (ECB vs BCE) I get confused with different makes of the same transistor.

Your breadboard will need two separate ground rails to keep noise from being a problem. The PNP driver's collector is a source of noise and needs a dedicated ground bus+wire going to wherever the output MOSFET's source is. I use a single-point ground technique there. Noise won't show up until you are switching higher currents.

Ok I will definitely be making these changes after the state basketball game today! :D A few questions: I know I have the transistor's connections correct, but what do you mean by the collector of the pnp is a source of noise?? How does it create it?? Also for the separate ground rails, I'm assuming you mean that I have one rail dedicated to the ground for the SG3525, another for the totem pole and mosfets, and they connect together at a single point like a star ground?
 

codex653

New member
Alright! made those changes and now the frequency seems to be much more stable than before and the duty cycle is 49.22%! :) I'm thinking that's pretty good and now it's time to start designing a transformer! :D
 

codex653

New member
update on the transformer:



Epic Fail :(

Of course I only operated it in a forward converter type of arrangement and not the push-pull the circuit was designed for, but even still it should have worked ok....I had 4+4 turns on the primary and wound I think 15? turns on the secondary just for a random test and yet....when I connected only one half of the primary (to turn it into a forward converter), the waveform looked ok but the thing ramped up from 0.2A to 2A or more within a few seconds, and that's just unloaded!! so obviously I have not done anything right with the transformer and need some suggestions. Until then, I'm gonna start designing the pcb for the control circuitry
 

Redwire

New member
If you are driving only one winding (1/2 of push-pull) with no secondary load, the transformer core will magnetize and saturate. Each pulse set, you need to reset the core's flux by doing the second half of push-pull, or have a rectifier+load on the secondary, like a forward converter.

Also, those PC SMPS transformers have a copper-foil electrostatic shield that looks like a shorted turn? I'm not sure but I took a few apart (there's a thread somewhere on how to do that) and wondered how a full wrap of copper tape works.

Just go for push-pull. You can always lower Vcc to 8-10V for your tests. Generally, I only have blow-ups on my bench if the transformer gets saturated ;) from too few turns on the primary or too high Vcc, or no snubber/zener clamp network for the mosfets :eek: to prevent spikes from over-voltaging them.
 

codex653

New member
If you are driving only one winding (1/2 of push-pull) with no secondary load, the transformer core will magnetize and saturate. Each pulse set, you need to reset the core's flux by doing the second half of push-pull, or have a rectifier+load on the secondary, like a forward converter.

Also, those PC SMPS transformers have a copper-foil electrostatic shield that looks like a shorted turn? I'm not sure but I took a few apart (there's a thread somewhere on how to do that) and wondered how a full wrap of copper tape works.

Just go for push-pull. You can always lower Vcc to 8-10V for your tests. Generally, I only have blow-ups on my bench if the transformer gets saturated ;) from too few turns on the primary or too high Vcc, or no snubber/zener clamp network for the mosfets :eek: to prevent spikes from over-voltaging them.



AH HAH! :D so THAT'S why it was freaking out on me! that's great news (in a sense)! Now I'll need to finish up on my pcb design for the entire supply. It's taking quite a while as I'm trying to make traces as short and as wide as possible (especially for the traces carrying the HF current) and optimize the layout. It's not complicated, but I'm a perfectionist haha

As for the electrostatic shield, I've seen quite a few of those as well on ones I have taken apart. There was actually 2 of them in the transformer I am rewinding for this supply. What I have discovered is that it is NOT a shorted turn, but rather a turn whose endings are insulated from each other. So it wraps around the core maybe 1.2 times but there is no actual connection to itself.
 

codex653

New member
First round of PCB designs!

Hey everybody! Got Rev 01 of my controller board all laid out and ready to go! Any suggestions as to what I should do to improve it?

I made a combination of the two schematics posted below. I have the output stage and power filter section of Fig. 1 but the control circuitry of Fig. 9. That is how I have it set up on my breadboard.
 

Attachments

  • Controller Board Rev01 No Silkscreen.JPG
    Controller Board Rev01 No Silkscreen.JPG
    102.4 KB · Views: 217
  • p89-f1.gif
    p89-f1.gif
    12.7 KB · Views: 319
  • Controller Board Rev01.JPG
    Controller Board Rev01.JPG
    137.5 KB · Views: 288
  • p89-f9.gif
    p89-f9.gif
    12 KB · Views: 281

MicrosiM

Administrator
Staff member
That layout looks just fine as a start

I wonder what type of transformers you are using for this SMPS, or witch core

i was looking hard for you for an old schematic for a professional YAMAHA car audio amplifier, but i cannot find it.

Good luck
 

codex653

New member
That layout looks just fine as a start

I wonder what type of transformers you are using for this SMPS, or witch core

i was looking hard for you for an old schematic for a professional YAMAHA car audio amplifier, but i cannot find it.

Good luck

The type of transformer I'm gonna be using is from a 300W computer SMPS and is an "E" shaped core. Are you wanting to know dimensions??? I have no clue what all the technical specs like permeability and such are.

Hey thanks for looking for that! :) I really appreciate it!!!
 

MicrosiM

Administrator
Staff member
Ok


Starting with EE core will take you some time to find the proper number of turns

There are MANY projects using that EE core directly in SMPS for car.

see attached complete project, but you have to translate!


But at lease you can use this layout and only thing u need to change is the Transformer, this will save you many hours of work!

At least this is a working circuit

Also check how EI33 core is used from an OLD PC SMPS directly !!

Regards
 

Attachments

  • CAR_SMPS.rar
    1 MB · Views: 716
  • SMPS_CAR.pdf
    354.9 KB · Views: 762

Redwire

New member
Just a quick look at your pcb and it looks good :) but maybe a few small changes.
I would have a trimpot to adjust duty cycle, in case you need less V or want to add regulation.
The driver transistors have high current 1-2A switching spikes, which can contaminate the SG3525's power or GND.
Look at Q3,Q4 collector traces running back to the IC. Instead I would run them to a seperate ground pin(s) - not connected to the SG3525 ground. This GND pin then connects to the output mosfet's source (the single point, star ground), so the high current path is not on your PCB.
Look at Q1,Q2 collector traces running back to the IC. Instead I would run the SG3525 +Vcc from a small R filter to have quiet power. See the 2.2R or 100uH inductor Elliot uses, it's important.

For the transformer, EC/ETD cores come in standard sizes, so you can measure the core height/width/thickness and have some idea.

I'm working on a 12V SMPS for car amp application and just got samples of Mag Inc. ZP42915TC and ZP43615TC for 200-400W range. I got raped with $97 in shipping via UPS x-( for 6 cores - so watch out for that!
 

codex653

New member
Ok


Starting with EE core will take you some time to find the proper number of turns

There are MANY projects using that EE core directly in SMPS for car.

see attached complete project, but you have to translate!


But at lease you can use this layout and only thing u need to change is the Transformer, this will save you many hours of work!

At least this is a working circuit

Also check how EI33 core is used from an OLD PC SMPS directly !!

Regards

Yeah I'm expecting to have to do some trial and error on the transformer to get it right. Thanks for the files!! :) i'll take a good in depth look at them tonight!
 

codex653

New member
Just a quick look at your pcb and it looks good :) but maybe a few small changes.
I would have a trimpot to adjust duty cycle, in case you need less V or want to add regulation.
The driver transistors have high current 1-2A switching spikes, which can contaminate the SG3525's power or GND.
Look at Q3,Q4 collector traces running back to the IC. Instead I would run them to a seperate ground pin(s) - not connected to the SG3525 ground. This GND pin then connects to the output mosfet's source (the single point, star ground), so the high current path is not on your PCB.
Look at Q1,Q2 collector traces running back to the IC. Instead I would run the SG3525 +Vcc from a small R filter to have quiet power. See the 2.2R or 100uH inductor Elliot uses, it's important.

For the transformer, EC/ETD cores come in standard sizes, so you can measure the core height/width/thickness and have some idea.

I'm working on a 12V SMPS for car amp application and just got samples of Mag Inc. ZP42915TC and ZP43615TC for 200-400W range. I got raped with $97 in shipping via UPS x-( for 6 cores - so watch out for that!

You got slapped with $97 dollars for SHIPPING?!?!?! :eek: holy crap!! Thanks for the suggestions! you reminded me that i forgot I wanted voltage feedback to the IC so i could control the duty cycle! Can't believe I almost didn't put that in there -)
 

codex653

New member
Controller PCB Update! Rev 02 Board

Hey so here are the changes I've made to the board! This is what I've done:

-Rerouted Q1-Q4 so they have shorter leads and take power directly from the battery and not the IC power rail
-Correctly rerouted the power filtering on the IC between Vcc and Vc
-Separated the Q2 and Q4 grounds from the IC ground
-Added a voltage feedback control (thanks redwire!!)
-Compressed and shortened a bit of the wiring, nothing fancy

What do you all think? Looking better?
 

Attachments

  • Controller Board Rev02 No Silkscreen.JPG
    Controller Board Rev02 No Silkscreen.JPG
    115.3 KB · Views: 98
  • Controller Board Rev02.JPG
    Controller Board Rev02.JPG
    143.7 KB · Views: 138

codex653

New member
Man it sure has been a while since ive posted on here! Ive been very busy lately with baseball season being in full swing, but hopefully ill be able to post some pics of the full smps board later tonight. I wont expect to get everything right on it, but this is a learning experience! :) I've also had the chance to make some upgraded boards for my 150W audio amp in my room. Got some new features and pics ill be sharing with you later!!
 

codex653

New member
Updates With Some Misc Stuff Thrown In For Free ;)

OKKK slight digression from the SMPS discussion for a few moments, but here are some new things I've been able to get going for the overall "project". It consists of the SMPS, overhaul of the audio amp, and building a small variable power supply to test the new things I'm putting in the amp. First in the lineup today is: Variable Power Supply for Testing New Projects!!

That project are the first three pictures you see below and are from Rod Elliot's site (very reliable, highly recommend him!). I could of made something like this without Rod's help but...I got lazy and just ripped it off his site :D Instead of using the typical TO-22 packages for this board, I decided to use SMD components instead cause I have never incorporated SMD into a project before and thought it would be fun! It works really well and I actually have it sitting in front of me right now. If anybody wants a finished picture just ask.

The second project (one of several) is for the audio amp! It is the last 4 pictures I posted. It consists of a turn on delay circuit to connect the speakers to the amplifier only once it has stabilized after turn on, and a loss of AC detector. What that does is as soon as I flip the switch to turn off the power to the amp the detector will automatically switch off the circuitry that keeps the speakers connected to the amplifier. Because there is no filter cap after the diodes in Fig 3, the removal of power to the circuit is virtually immediate. Therefore, the speakers will disconnect from the amp before the amp itself turns off (thanks to huge filter caps on the amp's power supply) and eliminating turn off thumps (if there is any). So no more turn on or turn off thumps, clicks, hissing, etc!! :w) Just a nice quiet amplifier.

The third thing is actually what I am working on right now and will maybe get some sort of picture posted tonight. Updates to come later! Until then....Sianara!
 

Attachments

  • Delayed Turn On and Off Board Bottom.JPG
    Delayed Turn On and Off Board Bottom.JPG
    79.6 KB · Views: 114
  • Loss Of AC Detector.JPG
    Loss Of AC Detector.JPG
    22.4 KB · Views: 120
  • Dual Polarity 25v Variable Lab Supply Board Silkscreen.JPG
    Dual Polarity 25v Variable Lab Supply Board Silkscreen.JPG
    66.4 KB · Views: 146
  • Delayed Turn On and Off Board Silkscreen.JPG
    Delayed Turn On and Off Board Silkscreen.JPG
    94.1 KB · Views: 135
  • Dual Polarity 25v Variable Lab Supply Board Bottom.JPG
    Dual Polarity 25v Variable Lab Supply Board Bottom.JPG
    52 KB · Views: 144
  • Relay Activation Circuit.JPG
    Relay Activation Circuit.JPG
    39.6 KB · Views: 164
  • Dual Polarity 25v Variable Lab Supply Schematic.JPG
    Dual Polarity 25v Variable Lab Supply Schematic.JPG
    53.3 KB · Views: 265

padmanabhan

New member
Hi codex653,
ref to your sch, when 3525A has sufficient drive output to drive MOSFET, what is the necessity of additional TOTEM POLE drivers using BD 139 and 140.And shorting the discharge pin without deadtime is it not risky.

regards
padmanabhan
 

codex653

New member
Hi codex653,
ref to your sch, when 3525A has sufficient drive output to drive MOSFET, what is the necessity of additional TOTEM POLE drivers using BD 139 and 140.And shorting the discharge pin without deadtime is it not risky.

regards
padmanabhan

Technically the SG3525 has enough current capability to drive the mosfets, but I found that in practice that did not work out so well. I used the totem pole driver to increase the peak current capacity to around 1.3A or so. The discharge pin is shorted?? I didn't think it was....which schematic are you referring to? I have posted several so far
 
Top