Why can't you just use a coil transformer, like when you want to get 240 volts out of a car battery instead of a boost converter? I found a thread that sparked my interest - How to transform 5V into 12V?. I want to do a similar thing so I can charge things like a laptop from a portable 5V phone battery pack.
-
1Transformers don't have a fixed direction. You could, if you apply a low voltage high current **AC** signal on the secondary, get a high voltage low current signal on the primary. But it depends on load, efficiency is low, bulky. Like http://i.stack.imgur.com/IsFNt.gif, it's a transformer used "backwards" to ring a telephone's ringer from a 9V source. – Passerby Mar 08 '16 at 00:14
-
1The 5V battery for charging a phone outputs a DC voltage. You would need to generate an AC voltage into a coil to get a higher or lower AC voltage. – tokamak Mar 08 '16 at 00:22
-
I designed this: http://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+10.200277308269968+50+5+43%0Av+112+96+112+256+0+0+40+12+0+0+0.5%0AT+352+144+432+208+0+8+0.45+-18.375792142330347+0.1324015851503355+0.999%0Ac+480+144+480+208+0+0.00001+-4.999051494437363%0Aw+432+144+480+144+0%0Aw+432+208+480+208+0%0As+112+96+224+96+0+0+false%0Ad+112+256+224+256+1+0.805904783%0Aw+352+144+224+96+0%0Aw+352+208+224+256+0%0Aw+480+144+560+144+0%0Aw+480+208+560+208+0%0A181+560+144+560+208+0+411.4166933772313+100+120+0.4+0.4%0A in a circut simulator would this work? – J.Clarke Mar 08 '16 at 00:38
-
1@J.Clarke no. no it won't. Not from a DC battery. Also, 18 Amps in at 12V for 100mA at 5V? wow thats bad. – Passerby Mar 08 '16 at 00:40
-
@Passerby Why wont it work from a dc battery? – J.Clarke Mar 08 '16 at 00:42
-
4@J.Clarke There are some concepts that need to be understood before stepping up to transformers, AC, DC, etc.. I feel that if I try to explain you why DC voltages can't be raised or decreased by transformers I would create more doubts than knowledge. So, my suggestion is that you try to study simpler components than going directly to transformers. It may not appear that complicated, but transformers are indeed a complex subject. Check resistors, capacitors and mainly inductors, which is the basis of transfomers. – PDuarte Mar 08 '16 at 01:00
-
@PDuarte Just to clarify i have learnt and built dc boost converter, capacitor, resistor and have simply learnt how to use diodes and ac to dc transforming, "Wireless electricity", how a rail gun works and a couple of other components like oscillators and voltage regulators. What should i learn now? – J.Clarke Mar 08 '16 at 01:31
-
As I recall, the output from a transformer is proportional to the derivative of the input. (Input -> flux, change in flux -> output). The derivative of a sine wave is another sine wave, but the derivative of a constant function is zero. – user253751 Mar 08 '16 at 02:48
-
Immibis... Don't you think the word derivative is a bit technical for the 15 years old to understand? – soosai steven Mar 08 '16 at 03:48
-
i totally understand everything posted on this page i have aspergus and a high IQ its both a curse and a blessing ;) – J.Clarke Mar 08 '16 at 03:50
-
@J.Clarke So I'd recommend you to have a look on inductors and mutual inductance as a start. Once mutual inductance is understood it'll be easy to figure out why transformers work only with AC. – PDuarte Mar 08 '16 at 09:04
-
@soosai derivative is like a middle school or high school math. – Passerby Mar 08 '16 at 21:42
4 Answers
Just to be clear: we are talking about converting 5V DC into 12V DC.
The 2013 question is about DC-DC. Plus, there is a dc-dc-converter.
For a transformer to function, a varying magnetic field must be created inside it. The varying current in the first winding (the so-called "primary" winding) creates a varying magnetic field, which in turn creates an electromotive force in the secondary winding. This does not happen when the primary is fed with pure DC.
Nevertheless, it is possible to make a transformer-based DC-DC converter. DC is chopped so that the transformer is fed with varying current. This is normally done with semiconductor switches. The output of the transformer secondary is rectified, which produces a DC output voltage.
For a small increase in voltage (factor of 6x or less), an inductor-based boost converter is usually more practical than transformer-based (in general, although there are important exceptions).

- 678
- 4
- 6

- 37,739
- 17
- 97
- 230
-
4
-
So if i put an oscillator between the 5v dc supply and the coil it could work? – J.Clarke Mar 08 '16 at 00:43
-
If you feed the output of the oscillator into the transformer primary, you will see AC on the secondary. So, it could work. – Nick Alexeev Mar 08 '16 at 00:47
You're probably wondering why your Falstad circuit seems to work. The problem is not with the simulator. CircuitLab shows the same behavior.
simulate this circuit – Schematic created using CircuitLab
This happens under the following conditions:
- The DC source is ideal (no resistance).
- The transformer is ideal (no loss or primary-side resistance).
When you apply a voltage to an inductor, the current increases over time. If there's any resistance, the current will eventually level out (DC), at which point the inductor does nothing. But with no resistance, the current can rise forever.
In an ideal transformer, this endlessly rising current produces a DC voltage and current on the secondary side. So ideal transformers do work at DC. But there's no such thing as an ideal transformer. Add a small resistance like 0.1 ohms between your voltage source and the transformer, and you'll see the secondary-side output decay pretty quickly.

- 21,331
- 4
- 50
- 91
I'm guessing this has been asked before, but I didn't find it in a cursory search, so I'll give a short answer here.
Coils only effectively transfer energy while the current through the coil is changing. In a dc circuit, the current through the coil(s) only changes noticeably immediately after the circuit is first closed, then again right after the circuit is re-opened. The current builds up until the resistive losses in the coil, or the source impedance, waste all of the available power, with no meaningful energy transfer from one coil to another.
For a (probably better) more in-depth explanation, this article looks interesting.

- 5,088
- 1
- 10
- 24
-
Could this: http://www.falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+10.200277308269968+50+5+43%0Av+112+96+112+256+0+0+40+12+0+0+0.5%0AT+352+144+432+208+0+8+0.45+-18.375792142330347+0.1324015851503355+0.999%0Ac+480+144+480+208+0+0.00001+-4.999051494437363%0Aw+432+144+480+144+0%0Aw+432+208+480+208+0%0As+112+96+224+96+0+0+false%0Ad+112+256+224+256+1+0.805904783%0Aw+352+144+224+96+0%0Aw+352+208+224+256+0%0Aw+480+144+560+144+0%0Aw+480+208+560+208+0%0A181+560+144+560+208+0+411.4166933772313+100+120+0.4+0.4%0A Work? – J.Clarke Mar 08 '16 at 00:41
-
I desinged it in a circuit simulator the light bulb is just a dummy load and the dc voltage supply would be a 5v phone battery pack, could i use this to charge low wattage power 12v appliances (Very low low wattage less than 10 w) – J.Clarke Mar 08 '16 at 00:41
-
1@J.Clarke Nope, transformers don't work for DC. You can't just blindly throw things into a simulator, you need to design a circuit and then use the simulator to _verify_ that your design behaves as you expect. – uint128_t Mar 08 '16 at 01:11
-
2+1 @uint128_t I agree. Simulators may well catch your *minor* errors, but often aren't programmed to "catch" major stuff (like feeding DC to a transformer) that the designers simply didn't expect anyone to try. In this case, it looks like that's exactly what happened to your simulation. – Robherc KV5ROB Mar 08 '16 at 01:21
-
@J.Clarke This is also an appropriate time to point out that that simulator is rubbish, as it clearly doesn't accurately model transformers. There are many other simulators which are considerably more capable, LTSpice is free and relatively easy to use. However, my point above still applies: a simulator is better used to check for errors in a design, not design a circuit from scratch. – uint128_t Mar 08 '16 at 01:22
-
@uint128_t Maybe it's not *quite* as rubbish as a "first glance" would lead us to believe. I notice that he had to install a diode & cap in order to get it to 'glitch.' I didn't see any specific values shown, but the simulator could be predicting an ac transformance using the cap & load as a 'tank' resonator to drive oscillations back to the battery side, where the non-linear action of the diode could potentially amplify enough to sustain the oscillations & thus ac-coupled power transfer. With that said, it **obviously** is not showing the OP's stated intent. – Robherc KV5ROB Mar 08 '16 at 01:26
-
@RobhercKV5ROB Hmm, interesting. I didn't know the diode and cap were necessary for that behaviour to work. That is curious behaviour. – uint128_t Mar 08 '16 at 01:53
-
@uint128_t I'm not guaranteeing that'll work...just a guess that those components look like they'd make it more plausible & could explain why a reasonable simulator *could* show the circuit working. As for making an oscillating circuit that'd really accomplish anything, I'm not sure I'd be ready to bet either way, but it does lokk to bear a resemblance (minus the transistor) to the "micro sstc" self-exciting tesla coil driver circuits I've seen, like this one: https://hackadaycom.files.wordpress.com/2014/12/diagram.png - - Not sure I'd bet on it working IRL tho ;) – Robherc KV5ROB Mar 08 '16 at 03:20
-
You say the current through the coil only changes noticeably after the circuit is closed. Isnt that against the behaviour of an inductor? The current is supposed to grow from 0 at an exponential rate before settling at a value close to what it would be if the inductor was absent. Am I missing something? – SoreDakeNoKoto Mar 08 '16 at 20:27
-
@TisteAndii That's actually the exact point I was trying to convey. Unless you have an (physically MASSIVE) inductor with unreasonbly high value, the current through the inductor, from a DC source, will settle to (incredibly close to) a purely resistive value far too fast to be of any real use as a transformer (for most reasonable PCB-mounted inductors, this would likely only take up to a few milliseconds). – Robherc KV5ROB Mar 08 '16 at 20:36
-
Ok...you mean the inductor on the transformer primary...the current in the primary settles too quickly to induce any emf in the secondary, right? – SoreDakeNoKoto Mar 08 '16 at 21:37
-
@TisteAndii to induce any *lasting*/useful emf in the secondary, yes. – Robherc KV5ROB Mar 08 '16 at 21:42
I think i solved my question just use a boost converter (stupid me :p) because doing it any other way is not very optimal. However could you do:
Dc power source -> Oscillator -> Transformer -> Rectifier -> Output

- 281
- 3
- 9
-
1If you use a flyback-topology dc-dc converter, then this is pretty much what it does internally (although a full description of flyback topology function is a bit more complex). - FYI, most portable (battery-powered) cell phone 5V chargers are already using a dc-dc converter to boost the 1.2-4.2 battery output (depending on battery(s) used) to the 5V output. You might find it more efficient to buy a battery & 12V boost converter to put together on your own, as opposed to cascading dc-dc converters by "re-boosting" the cell-charger's output. – Robherc KV5ROB Mar 08 '16 at 16:00
-
@RobhercKV5ROB Thanks that is exactly the sort of answer i'm looking for. So a boost converter simply builds up an electric charge (Electromagnetic field) in the inductor coil then the mosfet cuts the power to it causing it to crash and the charge surges back through the wire at a higher voltage/ampage getting smoothed out by a capacitor along the way? is that right? – J.Clarke Mar 08 '16 at 22:47
-
That's how a single-inductor dc-dc converter (whether boost, buck, or buck-boost topology) works (well, technically it's a magnetic field, rather than an electric charge). In those circuits, the inductor gets "charged" while the switching device (usually MOSFET) is 'on', then discharges through the load & ad diode, when the switching device is "off." - This wikipedia article probably explains the theory better than I can in comments here: https://en.wikipedia.org/wiki/DC-to-DC_converter#Electronic_conversion – Robherc KV5ROB Mar 08 '16 at 23:12
-
1On second read, another technical detail is that in a boost converter, the mosfet usually connects the inductor to GND when conducting, and the source is always feeding into the inductor (while the diode keeps the capacitor from discharging through the MOSFET. In most/all "normal" single-inductor converters, the current through the *inductor* never changes directions, though in buck-boost single-inductor topologies, the inductor current's polarity *appears* reversed to the load, as opposed to its appearance to the power supply. – Robherc KV5ROB Mar 08 '16 at 23:17