I've been working on a DC power supply to provide about 10 mA at 200 V. The simplest way (not dealing with a switching power supply) seemed to be using a transformer to step 120Vac up a little bit to get peaks near the target voltage, then rectify and filter.

I've wound a custom transformer with a 18:19 ratio to do the step-up which behaves reasonably in simulation, but draws much more current than I expect when actually constructed:


simulate this circuit – Schematic created using CircuitLab

R2 is an NTC with \$R_{25\mathrm{C}}\$ of 50 Ohms to limit inrush current, and there's a fuse inline (not pictured). When connected the circuit draws upwards of 10A, but it takes a moment to warm up (quite literally; the NTC gets warm as you'd expect) before blowing the protection fuse, to the point where a 4A fuse took more than a second to blow (so current doesn't seem to be dropping after the first few AC cycles).

Since this is a custom transformer I don't have any solid numbers on its characteristics, so it's possible inrush current is much higher than the simulations say. Additionally, I may have underestimated the NTC so it warms up long before the transformer reaches saturation. (The third option being that I'm completely wrong and this is a bad idea.)

How can I limit the primary current to something in the the 1-2A range that I expect from simulation, or is there a smarter way to build this power supply?

  • 1
    \$\begingroup\$ You've got serious problems somewhere. Post part numbers and datasheets. \$\endgroup\$
    – Matt Young
    Commented Jun 26, 2015 at 3:35
  • \$\begingroup\$ Are you certain there are no shorts in the transformer? \$\endgroup\$ Commented Jun 26, 2015 at 3:36
  • 5
    \$\begingroup\$ You may just not have wound a transformer that will work in this application. Getting a transformer right requires much more than just getting the desired turns ratio. If you don't have enough inductance in your primary, the transformer may just act like a wire, with way more current than you want. Do you require isolation? If not, you could use a voltage doubler. Alternatively, you could use a cheap transformer as an autotransformer, to boost the line voltage a bit. \$\endgroup\$ Commented Jun 26, 2015 at 4:12
  • 1
    \$\begingroup\$ I think measuring inductance would be the bare minimum for winding your own transformer. You can get cheap lcr bridges or measure yourself with a frequency generator and scope \$\endgroup\$
    – crasic
    Commented Jun 26, 2015 at 5:49
  • 1
    \$\begingroup\$ 126 turns on the primary is your problem. Rough guideline for small transformers would be 2.5 to 3 turns per volt, or about 300 turns on the primary (adjust secondary to suit). If you have means to measure primary inductance, do it that way. If not, this guideline should be close enough. What value of primary inductance? Model your load as an impedance across 110V (actual R / square of turns ratio). You want the primary inductance to have an impedance (at 60Hz) 5-10x higher than that. \$\endgroup\$
    – user16324
    Commented Jun 26, 2015 at 9:50

2 Answers 2


When connected the circuit draws upwards of 10A

I'm not surprised. Consider the transformer primary as an inductor and forget about the secondary or any loading. The primary is still an inductor and you have to get the primary inductance high enough so that the current taken (with no secondary winding/load) is reasonably small.

Primary inductance (in fact it's called magnetization inductance) is proportional to turns squared so doubling the turns makes the inductance 4 times greater and, would reduce the intake of current by 4.

Eighteen turns is never going to be enough. A typical ferrite core (for example) might have an A\$_L\$ value of 10 micro henries per squared turn and this means 18 turns is going to be about 3 milli henries. At 60 Hz this has an impedance of just over an ohm and without a fuse you'd have a fire.

Usually AC transformers have round about 1000 turns on the primary and this of course means a primary inductance of 10 henries and a very much reduced magnetization current. Try looking at this site for some information on transformers.

Also note that transformers do not pass DC because the primary inductance becomes a short i.e. the lower the operating frequency you use the more turns you need to avoid excessive primary (only) current.

If you are still intent on rolling your own, here's the math: -

enter image description here

Also take a look at this medium power transformer: -

enter image description here

Note the number of primary turns. A quick estimation I did tells me there are about 12 layers of about 90 turns each. That's 1080 turns!

  • \$\begingroup\$ That'll be for a 240V primary? \$\endgroup\$
    – user16324
    Commented Jun 26, 2015 at 9:55
  • \$\begingroup\$ @BrianDrummond very probably and, for 120V, go for half the inductance or about 70% of the turns \$\endgroup\$
    – Andy aka
    Commented Jun 26, 2015 at 10:59
  • \$\begingroup\$ I commented on the question that my primary has 126 turns rather than a mere 18, but I suspect you're right and the inductance isn't high enough. I'll see if I can borrow an LCR meter and verify. \$\endgroup\$
    – tari
    Commented Jun 26, 2015 at 13:20

I suggest that instead of trying to wind your own transformer primary and secondary that you find a suitable surplus transformer that has already a 120VAC primary. Take the transformer apart and remove the outer coil wrappings and wire layers for the secondary. Count the turns in this secondary as you remove it so you can relate that what the original secondary AC voltage was. Note for example if the transformer had a 20VAC secondary any you removed 100 turns of secondary winding then you know it is 5 turns per volt.

When you take things apart try not to disturb the inner primary winding or the wire connections to it. Also leave the primary to secondary insulation layers in place.

You are now ready to re-wind a new secondary onto the coil. Since you only need 10mA of output current I suggest that you use a wire gauge smaller than 24AWG so that there will be room to put on the required number of turns. If you wanted to get out say 150 VAC and as per the example above your secondary would need 750 turns. When working at higher voltage secondaries it can be a good idea to insulate between successive layers of the secondary winding if it takes more than one layer for the required number of turns. Turns that are side by side in a layer are less than a volt apart so there is very little chance of breakdown through enamel. On the other hand from layer to layer the voltage gets much higher and the possibility for breakdown increases. You also want to take that extra insulation into account when you terminate the beginning and ending of the windings to wires.

This approach has the significant advantage in that you start out with a transformer that has the properly designed primary wire size, turns, DC resistance and inductance suitable for the core.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.