# ac/dc converters - how do they do it ?

**URL:** <https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894>\
**Category:** Factual Questions\
**Created:** [October 25, 2002, 8:47pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894 "2002-10-25T20:47:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![CC](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@CC](https://boards.straightdope.com/u/CC)\
**Post date:** [October 25, 2002, 8:47pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/1 "2002-10-25T20:47:53Z")

</div>

I search the net, I pour through my books - I still can’t find what I need, so I turn to the dopers. Just how do the little step down converters change the 120 ac voltage to, say, 6 v dc? I think I’m ok with the stepping down of voltage, via proportionally fewer windings around a coil, but how does the ac get converted to dc? Someone recently was talking about how scary it was seeing a kid playing with a converter, plugged into the wall, that had its exit wire split, and the kid was using the wires to light a small bulb. I saw no problem with it, but I couldn’t explain how the voltage had been made safe to play with. I’m right aren’t I?

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 25, 2002, 9:19pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/2 "2002-10-25T21:19:26Z")

</div>

> [@](#):
>
> \*Originally posted by CC \*  
> \*\* Just how do the little step down converters change the 120 ac voltage to, say, 6 v dc? \*\*

Magic. Actually, most of them just use a transformer to step down the voltage, followed by:

A rectifier circuit (full wave bridge rectifiers are common)  
A regulator circuit (Optional. Usually a 78XX.)  
A filtering circuit (usually one or two electrolytic caps)

This describes a linear supply. Switching supplies are a little more complex.

> [@](#):
>
> \*Originally posted by CC \*  
> **how does the ac get converted to dc?**

One or more diodes.

> [@](#):
>
> \*Originally posted by CC \*  
> \*\* Someone recently was talking about how scary it was seeing a kid playing with a converter, plugged into the wall, that had its exit wire split, and the kid was using the wires to light a small bulb. I saw no problem with it, but I couldn’t explain how the voltage had been made safe to play with. I’m right aren’t I? \*\*

Usually not a problem. The voltage those things produce is usually less than 20 VDC. And it’s isolated from the mains via the transformer.

---

<div class="post-metadata">

**Author:** ![scotth](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@scotth](https://boards.straightdope.com/u/scotth)\
**Post date:** [October 25, 2002, 9:32pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/3 "2002-10-25T21:32:18Z")

</div>

It is generally as safe (or more so due to the inherent current limitations of most small power supplies) than a battery of the same voltage rating.

The six volt example would be pretty safe. This would be especially true with a small adapter like what might charge a cell phone, etc.

How they work (typically, there are many variations):

1. Transformer steps down the voltage like you said.
2. output of transformer feeds four diodes arranged as a full wave bridge. (searching on full wave bridge should get you diagrams and explanation)
3. output of diodes charge a capacitor.
4. capacitor providers the output.

Alternate way of look at 3 and 4 (I actually prefer this way, but is often confusing to non electronics people): output of diodes provider the output with a capacitor setting in parallel to the load.

Purpose of the capacitor in either case is to smooth the output voltage.

Amount of ripple in the DC output is proportial to the load current and inversely proportional to the capacitance. This is all assuming a simple unregulated power supply.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [October 25, 2002, 9:37pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/4 "2002-10-25T21:37:08Z")

</div>

[A simple diagram of a full bridge rectifier with a capacitor.](http://hegel.ee.psu.edu/ee497d/alllectures/node21.html) The input AC is usually stepped down via a transformer. The output is usually further regulated using a transistor to smooth it.

It’s not that the wallwart’s power is DC that makes it sort of\* safe. It’s that it’s only 6 volts and probably .6 Amps or less.

It is not really at all safe. If the kid shorts the wires together parts inside the wallwart will fail and then all sorts of unpredictable (and possibly serious) stuff happens. Letting your kid play like that is called “Going for a Darwin Award by proxy.”

---

<div class="post-metadata">

**Author:** ![pravnik](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pravnik](https://boards.straightdope.com/u/pravnik)\
**Post date:** [October 25, 2002, 9:44pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/5 "2002-10-25T21:44:18Z")

</div>

For a simplified version with purty pitchers there’s a nifty article at [www.howstuffworks.com](http://www.howstuffworks.com) called “Inside a Power Cube Transformer.”

---

<div class="post-metadata">

**Author:** ![scotth](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@scotth](https://boards.straightdope.com/u/scotth)\
**Post date:** [October 25, 2002, 9:48pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/6 "2002-10-25T21:48:36Z")

</div>

> [@](#):
>
> \*Originally posted by ftg \*  
> It is not really at all safe. If the kid shorts the wires together parts inside the wallwart will fail and then all sorts of unpredictable (and possibly serious) stuff happens. Letting your kid play like that is called “Going for a Darwin Award by proxy.” \*\*

Generally this is not true. Not to say there are not some exceptions out there.

The output current is generally limited by the output impedance of the secondary windings on the tiny transformer to a couple hundred milli amps or less. Shorting them out typically won’t even make them particularly warm.

---

<div class="post-metadata">

**Author:** ![kaylasdad99](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kaylasdad99/32/3398_2.png) [@kaylasdad99](https://boards.straightdope.com/u/kaylasdad99)\
**Post date:** [October 25, 2002, 10:03pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/7 "2002-10-25T22:03:38Z")

</div>

> [@](#):
>
> \*Originally posted by ftg \*  
> \*\*[A simple diagram of a full bridge rectifier with a capacitor.](http://hegel.ee.psu.edu/ee497d/alllectures/node21.html) The input AC is usually stepped down via a transformer. The output is usually further regulated using a transistor to smooth it.
> 
> It’s not that the wallwart’s power is DC that makes it sort of\* safe. It’s that it’s only 6 volts and probably .6 Amps or less.
> 
> It is not really at all safe. If the kid shorts the wires together parts inside the wallwart will fail and then all sorts of unpredictable (and possibly serious) stuff happens. Letting your kid play like that is called “Going for a Darwin Award by proxy.” \*\*

I was never led to believe that 0.6 Amps was anything but lethal.

Fortunately, a 6VDC source isn’t likely to be designed to provide that much current. My training had me considering any DC source of 30V or higher to be capable of delivering a lethal 100mA through the heart. Deriving from this assumption a typical body resistance of approximately 300 ohms, 6VDC would smack you with about 20 mA.

Of course, power supplies designed to deliver _current_ at a specified level regardless of the voltage, will call for a different set of assumptions. But this doesn’t usually describe the situation with the AC-to-DC adapters commonly made available with household electronic devices.

---

<div class="post-metadata">

**Author:** ![scotth](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@scotth](https://boards.straightdope.com/u/scotth)\
**Post date:** [October 25, 2002, 10:10pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/8 "2002-10-25T22:10:28Z")

</div>

> [@](#):
>
> \*Originally posted by kaylasdad99 \*  
> \*\*
> 
> Deriving from this assumption a typical body resistance of approximately 300 ohms, \*\*

Typical body resistance is more on the order of 300k ohms for dry unbroken skin.

It is difficult to get hand to hand resistance measurements much under 400k ohms with dry hands.

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 25, 2002, 10:22pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/9 "2002-10-25T22:22:22Z")

</div>

Folks, the maximum current capability of the wall wart is usually of little significance when it comes to safety. 0.6 A or 6 A – it doesn’t matter a whole lot. As an example, you can place both hands across the terminals of a 12V car battery and you probably won’t even feel it. Last I checked, a car battery can put out a whopping 600 A if it had to…

A wall wart is _modeled_ as a voltage source. The current through your body is NOT determined by the “maximum current capability” of the wall wart. It is instead determined by two things: a) the output _voltage_ of the wall wart, and b) your skin resistance. The ratio of the wall wart’s output voltage to body’s skin resistance is _usually_ low enough that it does not constitute a danger…

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 25, 2002, 10:26pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/10 "2002-10-25T22:26:33Z")

</div>

> [@](#):
>
> \*Originally posted by kaylasdad99 \*  
> \*\*Of course, power supplies designed to deliver _current_ at a specified level regardless of the voltage, will call for a different set of assumptions. But this doesn’t usually describe the situation with the AC-to-DC adapters commonly made available with household electronic devices. \*\*

Correct. “Constant current supplies” are normally only found in labs. (We have one in our lab.) Caution must be taken with a constant current supply that has a compliance voltage over 30 V.

---

<div class="post-metadata">

**Author:** ![DocCathode](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/doccathode/32/18773_2.png) [@DocCathode](https://boards.straightdope.com/u/DocCathode)\
**Post date:** [October 25, 2002, 10:33pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/11 "2002-10-25T22:33:17Z")

</div>

[sub] For various reasons, I’ve been putting off reading soyouwannaknowelictricaltypestuff book I have. My shame is great.[/sub]  
Now, The Master adresses what would happen if you held the hot wire while sitting in a bathtub. I’m curious as to what would happen if you were on an insulated platform(say, dry wood and jelly jars). Would you be safe or merely die in a different way.  
NOTE-I have absolutely no intention of trying this at home. None, zip, zero. Until I know a good deal more about electricity, I will confine my tinkering to battery powered idiocy. So you don’t have to worry about my hearing ‘Yes, if you…’ and then screwing things up and cooking myself.

---

<div class="post-metadata">

**Author:** ![erislover](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@erislover](https://boards.straightdope.com/u/erislover)\
**Post date:** [October 25, 2002, 10:45pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/12 "2002-10-25T22:45:59Z")

</div>

If there is nowhere for the current to flow then you won’t notice a thing, **Doc**.

IIRC, electric shocks you get from walking over a carpet are from your body having a potential of at least hundreds of volts. I want to say it is over a thousand but I also don’t want to do a search 😉

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 25, 2002, 10:49pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/13 "2002-10-25T22:49:41Z")

</div>

I now realize my first post was a somewhat incomplete in answering the OP, so I’ll try again:

It is fairly easy to convert AC to DC. This is the task of a _rectifier circuit_. A rectifier circuit is usually pretty simple, as it typically consists of one or more _one-way current devices_. As the name implies, these devices allow current to easily flow in one direction while blocking current that’s trying to flow in the opposite direction. (But they’re not perfect; for passive “one-way current devices,” there’s always a little bit of voltage drop under forward bias, and a little bit of current leakage under reverse bias.)

**One** of these devices will provide half-wave rectification. When arranged as a bridge, **four** will provide full-wave rectification. If using a transformer w/ center tap on the secondary windings, **two** will provide full-wave rectification. There are various other arrangements, but these three probably constitute 98% of what’s out there.

So what are these “one-way current devices?” In the old days vacuum tubes were commonly used to rectify AC to DC in power supplies, and germanium crystals (“cat whiskers”) were used for signal-level rectification. Today, the solid-state diode is now used almost exclusively for this task.

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 25, 2002, 11:13pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/14 "2002-10-25T23:13:45Z")

</div>

> [@](#):
>
> \*Originally posted by DocCathode \*  
> **[sub] What would happen if you held the hot wire while sitting on an insulated platform(say, dry wood and jelly jars). Would you be safe or merely die in a different way.**

**erislover** is correct, i.e. as long as you’re very well isolated from earth ground, you shouldn’t feel anything.

But this is not an absolute statement. While rare, it is still possible to get shocked even if you’re _perfectly_ isolated from earth ground. Two possibilities come to mind:

1. You touch the hot _and_ neutral wires.
2. There is a lot of capacitance between your body and earth ground. I = C \* dv/dt, thus lots of capacitance could mean a significant amount of current. Unusual but possible.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [October 26, 2002, 5:01pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/15 "2002-10-26T17:01:17Z")

</div>

Let me make this completely clear.

An typical _undamaged_ wallwart produces fairly harmless current. That is what I said. I in no way said or implied that it was anything but.

OTOH, a _damaged_ wallwart, caused by shorting the leads which a little kid can easily do, is something else. It can get very hot very quickly (my personal experience as well of others). Enough to cause a fire. They should be protected by a fuse or fusible resistor but nowadays electronics are made so cheap that you can’t rely on them having any built-in safeties. I have found many old but undamaged wallwarts getting quite hot on loads near their limits.

In addition to the heat problem, once it is damaged, there is _no_ prediction as to what behavior it will have. Even under mild heat, the shellac insulation of the transformer can break down and you can get 120V AC coming out the other end. I’ve seen it happen with transformers inside consumer electronics often enough that I check for continuity between the AC cord and transformer output on any PS I am starting to debug. (Again, the cheap way things are made nowadays…)

The kid can easily cause the wallwart to fail. _Failed_ electronics should be assumed to be serious hazards.

---

<div class="post-metadata">

**Author:** ![Crafter\_Man](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crafter_man/32/458_2.png) [@Crafter\_Man](https://boards.straightdope.com/u/Crafter_Man)\
**Post date:** [October 26, 2002, 7:33pm UTC](https://boards.straightdope.com/t/ac-dc-converters-how-do-they-do-it/133894/16 "2002-10-26T19:33:33Z")

</div>

> [@](#):
>
> \*Originally posted by ftg \*  
> **They should be protected by a fuse or fusible resistor but nowadays electronics are made so cheap that you can’t rely on them having any built-in safeties.**

I thought all wall warts incorporated a fuse on the output stage. Would assume the manufacturer’s lawyers (or the importer’s lawyers) would insist on it due to liability concerns. But maybe not…

At any rate, no argument here. A wall wart’s output _should_ have over-current protection.
