Electronic – Transformer current peaks

currenttransformertransient

So I am designing a power supply, got everything calculated, and decided to simulate it for a second to see if the smoothing caps keep the voltage above the regulator limit at max current draw. What I noticed, that the current through the transformer peaks to nearly 2.5 amps when the cap is charging in the transformer.

Simulation

Will it destroy my 300mA transformer?

Best Answer

Well done!. You have identified a real world effect that many people are unaware of and that can cause significant problems. As well as the undesirable effect of the current spikes on capacitor ripple current (causing reduced lifetime) and possible transformer heating, the sudden current peaks cause RFI (Radio Frequency Interference) from the diodes. Power supplies with too low a primary DC resistance can be RF noise sources! Who would have thought ? :-).

The solution is easy but counterintuitive.
You need "spreading resistance" to increase the capacitor charging resistance. This adversely affects supply "regulation", as Vout drops with increasing load due to the resistor, but a compromise resistor value greatly improves results without too much effect on the regulation. If you are supplying an electronic regulator with this circuit then the drop caused by the resistor can be designed to have no effect at all on Vout, as it simply reduces regulator "headroom" slightly.

Add a small series resistor in the bridge to capacitor lead.
When the bridge voltage rises above Vcap, the higher the current would have been, the greater the drop in the resistor which raises the apparent value of the capacitor voltage temporarily.

Assuming you have about 15VDC peak and want 12 VDC out you have 2V or 3 V headroom. If Ipeak_usual is 300 mA then to drop say 0.5V in the resistor at 300 mA it would have a value of R=V/I = 0.5V/0.3A = 1.66 Ohms. Say 2 Ohms for convenience.

Clearly the prior 2.5A peak is now impossible.
At 2.5A the 2 Ohm resistor would drop V=IR = 2.5 x 2 = 5V and once the capacitor is at working voltage, there is not 5V of "headroom" to drive it.
By changing the R value and looking at the resultant current waveform you can choose a value which is large enough to "spread the conduction angle of the diodes, and small enough to limit the voltage drop as load current increases.

Long long ago undergraduates were given this problem to solve with capacitor value and desired peak diode current as parameters. Without 'modern aids' it was a nasty iterative problem and a good introduction to the real world. Ask me how I know :-).