Premium Only Content

How to convert 120 Vrms AC to 5 V DC (like AC to DC conversion for a USB charger)
This video demonstrates a rudimentary circuit animation for converting from 120 Vrms AC to 5 V DC (like AC to DC conversion for a USB charger). The falstad circuit simulator is used to demonstrate.
Below is the basic script:
o the goal is to get about a constant 5 V DC output here from the usb side, but the challenge is we are plugging this directly into the wall at 120 Vrms.
So let's go ahead and do a rudimentary model of this in falstad.
So we have our AC source here. Notice it is maxing at 170 V because it is coming in at 120 Vrms
Now if we look at the voltage across our load here, it is the same thing, because they are directly connected.
This is not quite what we want coming out of the usb side, right, so the first thing we do is add a transformer.
Now this transformer has an a value of 29 so it is reducing the voltage across our load down to a little over 5 V, so that's the first step. But we want DC here so the next thing we can do is get rid of the negative voltage by using a 'rectifier', which only allows current to flow in one direction. For this, we'll use a 'diode'.
OK, so this diode only allows current to travel in one direction. So it doesn't let the current go backwards through it. So the current is only traveling top to bottom through our load, so there is only a voltage drop from top to bottom across it. So you can see in this plot down here that the diode basically cut off the negative portion of our input AC signal.
You may imagine it would be more efficient to invert that negative voltage instead of losing it, and we could do that with a more complicated setup of diodes like this.
So you can see this setup inverts those negative voltages and would be more efficient, but let's just stick with our simple setup here for the sake of simplicity.
So back to this setup, we want a constant voltage, not something going up periodically like this. So next component we can add is a capacitor.
So now we through in a capacitor in parallel, and this helps us out a lot, because you can see the voltage across our load is pretty flat now, just above 5 V. But how did the capacitor do this? Well you can tell by looking at the current.
When the diode lets a pulse of current through, that current is going mainly to the capacitor to charge it up.
When the diode is not letting current through, the capacitor is discharging into our load.
So that capacitor is periodically charging and discharging, allowing a fairly constant current flow through the load, which you can see, stays at a relatively constant voltage.
To flatten that further you could use a regulator to sort of shave off the top of the curves.
Now this is a very rudimentary AC/DC converter, and there's lots of other components to a real AC/DC converter to make it more effective and efficient, like that more-complicated diode setup.
-
16:23
True Crime | Unsolved Cases | Mysterious Stories
1 month ago $7.67 earnedThe Strange Disappearance of Mekayla Bali | (Mini-Documentary)
46.6K7 -
10:03
nospeedlimitgermany
13 days ago $10.45 earnedVW Golf 5 R32 | 250 PS | Top Speed Drive German Autobahn No Speed Limit POV
46.1K9 -
1:35
Memology 101
1 day ago $10.66 earnedChicago Mayor Johnson calls LAW ENFORCEMENT a "SICKNESS" he will "ERADICATE"
53.5K51 -
10:17
Advanced Level Diagnostics
13 days ago $9.90 earned2007 Chevy Express - Replaced Everything But The Code Remains!
52.3K1 -
1:01:11
The Mel K Show
11 hours agoMel K & Harley Schlanger | History Repeats: A Wake-Up Call for Humanity | 9-20-25
112K30 -
2:13:52
Mally_Mouse
19 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Lockdown Protocol (New Updates!)
102K6 -
12:57
Culture Apothecary with Alex Clark
1 day agoMy Last 6 Years With Charlie Kirk | In Memoriam with Alex Clark
47.7K11 -
2:48:55
Barry Cunningham
16 hours agoPRESIDENT TRUMP WILL ENSURE THAT CHARLIE KIRK DID NOT DIE IN VAIN!
82.2K141 -
2:14:52
SavageJayGatsby
16 hours ago🔥 Spicy Saturday - Let's Play: Lockdown Protocol 🔥
102K2 -
4:22:17
GamerGril
1 day ago💕 Dying Light The Beast 💕 ✨My New Favorite Game✨
39.7K16