1
00:00:00,399 --> 00:00:05,600
why does your computer need a power supply anyway

2
00:00:03,679 --> 00:00:18,499
you've already got tons of power coming right out of the wall

3
00:00:20,160 --> 00:00:23,520
oh it blew the fuse

4
00:00:28,160 --> 00:00:34,480
that's why but why didn't this work

5
00:00:31,920 --> 00:00:38,239
and what does a power supply actually do to answer those questions we'll be

6
00:00:35,920 --> 00:00:44,320
taking you through all the stages of your computer's power supply and how

7
00:00:40,960 --> 00:00:46,559
they work sponsored by seasonic from the

8
00:00:44,320 --> 00:00:50,399
wall you get alternating current or ac power which historically has been

9
00:00:48,320 --> 00:00:54,480
cheaper to generate and efficiently transport over long distances which is

10
00:00:53,120 --> 00:01:00,480
great but not for a computer computers work by

11
00:00:57,840 --> 00:01:06,240
storing ones and zeros in logic gates and for logic gates to function a very

12
00:01:03,359 --> 00:01:12,640
stable input voltage is required ac which goes from positive to negative

13
00:01:09,040 --> 00:01:15,600
voltage many times a second could be

14
00:01:12,640 --> 00:01:20,000
used but it's kind of like how you could also build a car with square wheels

15
00:01:18,000 --> 00:01:25,759
you shouldn't so then our wall ac power needs to be

16
00:01:22,640 --> 00:01:28,159
converted to direct current or dc which

17
00:01:25,759 --> 00:01:32,880
has a constant voltage no problem

18
00:01:29,520 --> 00:01:35,119
let's talk about linear power supplies

19
00:01:32,880 --> 00:01:40,079
from the wall you're getting either 110 or 220 volt ac power since we're in

20
00:01:38,079 --> 00:01:44,640
north america we'll be using 110 volt for our examples now that is still a way

21
00:01:43,119 --> 00:01:49,920
higher voltage than what you want for your computer so the first major stage

22
00:01:46,880 --> 00:01:52,840
is a transformer that takes us from 110

23
00:01:49,920 --> 00:01:58,399
volt ac to 12 volt ac transformers are relatively simple

24
00:01:56,320 --> 00:02:02,640
when ac current travels through a wire it creates a magnetic field this

25
00:02:00,320 --> 00:02:07,280
magnetic field can be made much stronger by wrapping the wire into a tight coil

26
00:02:05,200 --> 00:02:11,840
and then if you place another coil right beside it the changing magnetic field

27
00:02:09,840 --> 00:02:16,640
will start moving the electrons in the second wire that voltage that you get on

28
00:02:14,560 --> 00:02:22,879
the second wire is then determined by the number of turns in each coil so to

29
00:02:19,680 --> 00:02:25,360
take our 110 volt down to 11 volt we

30
00:02:22,879 --> 00:02:29,599
could have 100 turns on the primary side and just 10 on the secondary once we're

31
00:02:27,840 --> 00:02:33,680
at a more manageable voltage we're ready to turn that ac into dc using

32
00:02:32,080 --> 00:02:39,200
a rectifier rectifiers work on the basis that diodes

33
00:02:36,480 --> 00:02:45,280
only allow electricity to flow in one direction so you chuck ac through it and

34
00:02:42,720 --> 00:02:50,400
it spits out something a little bit like this

35
00:02:46,080 --> 00:02:52,160
you just add a capacitor and bam dc now

36
00:02:50,400 --> 00:02:56,720
the formal name for this circuit right here is single diode rectifier but more

37
00:02:55,200 --> 00:03:00,159
commonly in electrical engineering circles you'll hear it referred to as

38
00:02:58,879 --> 00:03:04,879
crap that's where something called a full

39
00:03:02,239 --> 00:03:08,560
bridge rectifier comes in for a more detailed look at the full bridge

40
00:03:06,560 --> 00:03:13,200
rectifier you can check out this classic from electroboom but we can get you

41
00:03:10,560 --> 00:03:18,640
through the basics by using four diodes in this configuration on the positive

42
00:03:16,239 --> 00:03:22,239
wave electricity flows through diode one and three to complete the circuit and

43
00:03:20,480 --> 00:03:28,239
then on the negative wave it goes through diodes two and four that leads

44
00:03:24,959 --> 00:03:31,440
to much less waste then from here you

45
00:03:28,239 --> 00:03:33,280
just chuck a capacitor on the output and

46
00:03:31,440 --> 00:03:37,360
boom you're good to go linear power supplies are actually still

47
00:03:35,360 --> 00:03:41,440
used for many things including musical instruments thanks to their ability to

48
00:03:38,879 --> 00:03:46,159
deliver very clean power but unfortunately you wouldn't want to

49
00:03:43,840 --> 00:03:51,920
use one for your computer due to their 60 plus turd efficiency rating and then

50
00:03:50,080 --> 00:03:56,239
there's also the fact that they only work for a single input frequency and

51
00:03:53,920 --> 00:04:01,120
voltage so power supply manufacturers would have to make completely different

52
00:03:58,000 --> 00:04:03,120
models of the same power supply capacity

53
00:04:01,120 --> 00:04:06,400
for every different market so

54
00:04:04,480 --> 00:04:09,519
wait a second why did i just explain linear power supplies then

55
00:04:09,680 --> 00:04:16,880
because someone had to give them the background that they need for this next part about what we actually use

56
00:04:14,560 --> 00:04:22,079
switching mode power supplies let's take a journey through your psus starting at

57
00:04:19,040 --> 00:04:24,000
where the ac enters and leaving you know

58
00:04:22,079 --> 00:04:27,680
where the dc goes to your motherboard before we can even worry about

59
00:04:25,199 --> 00:04:32,320
converting from ac to dc we need to do a bit of filtering so these little blue

60
00:04:30,000 --> 00:04:36,800
boys in here they are called y capacitors and the gray one right there

61
00:04:34,479 --> 00:04:40,720
that's an x capacitor these guys prevent your computer from sending electrical

62
00:04:38,160 --> 00:04:44,880
noise back into your house wiring which could cause problems with other devices

63
00:04:42,960 --> 00:04:49,120
meanwhile we also have to filter the incoming power so your computer doesn't

64
00:04:46,800 --> 00:04:52,800
get all screwy when your roommate fires up the blender to make some margaritas

65
00:04:51,040 --> 00:04:58,000
my favorite part of this emi filtering stage is hidden in here it's called a

66
00:04:55,520 --> 00:05:02,160
metal oxide vary resistor or mauve and it's cool because this changes its

67
00:04:59,440 --> 00:05:05,919
resistance based on the input voltage so normally it's just chilling there acting

68
00:05:03,840 --> 00:05:10,240
as an open circuit but when a voltage spike comes in its resistance drops and

69
00:05:08,400 --> 00:05:13,759
that extra energy just gets chucked to the ground instead of you know blowing

70
00:05:12,160 --> 00:05:18,400
up everything else in cheap power supplies the mob might be omitted and if

71
00:05:16,240 --> 00:05:22,639
it is you should emit that power supply from your parts list once the signal is

72
00:05:20,720 --> 00:05:27,199
clean we can turn our attention to power factor correction as ac flows through

73
00:05:24,880 --> 00:05:31,360
inductors or capacitors the voltage and current will get out of phase with each

74
00:05:28,880 --> 00:05:35,759
other resulting in wasted energy this bank of mosfets and bagel inductor make

75
00:05:34,000 --> 00:05:40,000
sure that you get as much from your ac input as possible at which point is

76
00:05:37,280 --> 00:05:45,840
chucked through a rectifier right there and out of that you get three to 400

77
00:05:42,720 --> 00:05:47,520
volts of dc next these big chungus

78
00:05:45,840 --> 00:05:52,080
capacitors smooth out the voltage of the dc current flowing from the main bridge

79
00:05:49,280 --> 00:05:56,160
rectifier and side note i would strongly recommend not looking these

80
00:05:54,320 --> 00:06:00,960
now let's talk about the most surprising part we've gone from ac which comes from

81
00:05:58,720 --> 00:06:06,240
the wall to dc which your computer needs and now we're going to go back to ac

82
00:06:04,080 --> 00:06:11,280
and stay with me here because the payoff is huge to do it we run dc through our

83
00:06:08,639 --> 00:06:16,560
mosfets that are right there giving us ac power but in a square wave which is

84
00:06:14,960 --> 00:06:21,360
fine except that every time that a mosfet gets turned on or off you lose

85
00:06:18,800 --> 00:06:25,120
some efficiency to almost entirely reduce these switching losses a

86
00:06:23,199 --> 00:06:29,600
technique called soft switching is used so in parallel to these mosfets is a

87
00:06:27,600 --> 00:06:33,759
capacitor and an inductor that will begin to resonate as the mosfets are

88
00:06:31,600 --> 00:06:38,400
switched the resonator creates a sine wave and by syncing up the mosfet switching

89
00:06:36,240 --> 00:06:42,880
to when the sine wave is close to at zero you can almost entirely eliminate

90
00:06:40,880 --> 00:06:46,960
the switching losses i'm not even going to pretend how to understand the math

91
00:06:44,800 --> 00:06:50,400
behind how this works but if you think you've got the stuff here's a paper to

92
00:06:48,400 --> 00:06:54,800
enjoy as part of your phd in electrical engineering long story short we now have

93
00:06:52,720 --> 00:06:58,400
ac power again but it's perfectly power factor corrected and at a much higher

94
00:06:56,720 --> 00:07:02,400
voltage and frequency compared to what's coming out of your wall this allows the

95
00:07:00,160 --> 00:07:06,400
main transformer right here to be both much smaller and a lot more power

96
00:07:04,479 --> 00:07:11,919
efficient as it converts into 12 volts ac which is then fed into the rectifier

97
00:07:08,960 --> 00:07:15,599
right there and you have 12 volts dc for your pc

98
00:07:14,160 --> 00:07:20,319
for those of you paying very close attention that was it we finally came back around

99
00:07:18,400 --> 00:07:24,960
to how your computer uses a linear power supply but not quite like we talked

100
00:07:22,160 --> 00:07:29,599
about before just with extra steps hey there it is i knew we were gonna

101
00:07:26,960 --> 00:07:34,800
make it back here then we take that 12 volt dc and we add some hefty capacitors

102
00:07:32,319 --> 00:07:39,360
for filtering and to improve transient response

103
00:07:35,840 --> 00:07:41,759
in layman's terms this 3300 microfarad

104
00:07:39,360 --> 00:07:48,639
capacitor here is going to do a lot to prevent a voltage drop if your rtx 3090

105
00:07:45,039 --> 00:07:50,720
decides it suddenly needs 500 or 600

106
00:07:48,639 --> 00:07:56,319
watts for a few milliseconds not everything in your pc uses 12 volt

107
00:07:53,039 --> 00:07:59,440
however so we also need these dc to dc

108
00:07:56,319 --> 00:08:02,000
buck converters to get us 3.3 and 5

109
00:07:59,440 --> 00:08:06,479
volts giving us everything we need to run a computer except

110
00:08:04,319 --> 00:08:10,319
the ability to turn it on see this other mini transformer over

111
00:08:08,000 --> 00:08:15,840
here this little fellow takes our high voltage dc from before and turns it into

112
00:08:12,879 --> 00:08:20,800
5 volt standby which is always on even when the computer is turned off allowing

113
00:08:18,080 --> 00:08:26,160
it to power things like motherboard RGB and always on usb charging ports

114
00:08:23,599 --> 00:08:30,160
oh right and also it powers the power button so that you can fire up your

115
00:08:27,680 --> 00:08:34,000
machine and get on with important tasks like visiting ltdstore.com where we have

116
00:08:32,640 --> 00:08:37,440
great merchandise like these high quality t-shirts fantastic water bottles

117
00:08:36,240 --> 00:08:41,200
and even but none of that really explained why good power supplies can

118
00:08:39,360 --> 00:08:44,560
cost anywhere from one to five hundred dollars something you've probably heard

119
00:08:43,120 --> 00:08:48,880
talked about in community forums and even power supply marketing is component

120
00:08:46,640 --> 00:08:53,200
quality with japanese capacitors coming up a lot but do they even make a

121
00:08:51,279 --> 00:08:55,600
difference these days probably not

122
00:08:54,399 --> 00:09:00,720
but that doesn't mean they're a bad thing between 1999 and 2007 there was a

123
00:08:58,320 --> 00:09:04,560
capacitor plague where capacitors made in taiwan experienced a higher than

124
00:09:02,880 --> 00:09:08,240
expected failure rate due to issues with the raw materials used to manufacture

125
00:09:06,320 --> 00:09:11,839
them while capacitors in japan experience no such problems

126
00:09:10,160 --> 00:09:16,800
since then capacitors made in china and taiwan have greatly increased in quality and the

127
00:09:14,720 --> 00:09:21,680
vast majority of japanese capacitors are just japanese branded capacitors they're

128
00:09:19,680 --> 00:09:25,680
actually manufactured in china with that being said there is still some

129
00:09:23,440 --> 00:09:28,880
value to japanese capacitors because typically they are designed and tested

130
00:09:27,279 --> 00:09:32,640
to meet the quality requirements laid out by the japanese companies overseeing

131
00:09:30,880 --> 00:09:36,160
their production to figure out if any individual company is good though tom's

132
00:09:34,320 --> 00:09:40,240
hardware created a capacitor tier list that you can reference when trying to figure out if a specific component is

133
00:09:38,880 --> 00:09:45,440
good or not the overall capacitance of your power supply can be a double-edged sword

134
00:09:43,360 --> 00:09:49,200
though one thing people often get wrong is automatically assuming high

135
00:09:46,720 --> 00:09:53,040
efficiency equals high quality but unfortunately this isn't always true an

136
00:09:51,519 --> 00:09:58,320
easy way to boost the efficiency of your power supply is to reduce the capacitance you no longer have to worry

137
00:09:56,560 --> 00:10:01,519
about charging up those big old caps so you waste less power but you could fire

138
00:10:00,080 --> 00:10:06,399
up a game and end up rendering nothing but a black screen and do we have

139
00:10:03,360 --> 00:10:06,399
hardware info computer

140
00:10:06,480 --> 00:10:13,760
and that my friends is why you don't buy your power supply on aliexpress.com

141
00:10:12,079 --> 00:10:17,200
evaluating how different power supply manufacturers have balanced efficiency

142
00:10:15,600 --> 00:10:22,800
and transient response is beyond the scope of this video but we wanted you to know that filtering

143
00:10:20,480 --> 00:10:26,800
by 80 plus rating and sorting by price isn't the way to go low capacitance can

144
00:10:25,120 --> 00:10:31,279
also be a problem for small form factor power supplies there's simply less space

145
00:10:28,880 --> 00:10:35,440
to add capacitors in general this won't be a problem but if you're building an

146
00:10:32,800 --> 00:10:39,839
sff pc that is high powered maybe consider over speccing the power supply

147
00:10:37,600 --> 00:10:43,519
a bit just to be on the safe side also to be on the safe side never mix

148
00:10:41,920 --> 00:10:47,120
modular cables between two different power supplies even if they look

149
00:10:45,120 --> 00:10:51,200
identical there's a chance they are different and if they are it's magic

150
00:10:48,720 --> 00:10:55,360
smoke time it's always bothered me why they aren't standardized though and i

151
00:10:52,959 --> 00:10:58,720
was finally able to ask turns out the answer is pretty simple everyone

152
00:10:56,880 --> 00:11:02,079
developed modular power supplies around the same time and the connectors were

153
00:11:00,240 --> 00:11:05,440
almost arbitrarily chosen by each company based on their current pcb

154
00:11:03,760 --> 00:11:09,040
layout and the connectors easily available from their suppliers maybe

155
00:11:07,279 --> 00:11:12,320
modular cables can get standardized if the specs change

156
00:11:10,800 --> 00:11:16,480
and there is a good chance the spec for power supplies could change soon the atx

157
00:11:14,560 --> 00:11:20,800
standard has only gotten relatively small revision since it was created by

158
00:11:18,000 --> 00:11:24,800
Intel way back in 1995 and there are some problems with this like power

159
00:11:22,399 --> 00:11:29,120
supplies in 2020 needing to output 3.3 and 5 volts despite these voltages

160
00:11:26,800 --> 00:11:34,160
barely being used by modern hardware but this could be changing soon in june

161
00:11:31,120 --> 00:11:36,160
2020 version 2.53 of the atx standard

162
00:11:34,160 --> 00:11:39,920
was added where the power supply would only be delivering 12 volts and the

163
00:11:37,760 --> 00:11:44,399
motherboard would be responsible for dc to dc conversion as i showed in this

164
00:11:42,160 --> 00:11:48,079
video this should result in significant real-world efficiency improvements

165
00:11:46,000 --> 00:11:52,000
especially at idle but the people we talked to wished Intel had gone even

166
00:11:49,519 --> 00:11:54,639
further and switched to 24 or 48 volts like you might find in industrial

167
00:11:53,360 --> 00:11:58,240
applications basically higher voltage means less

168
00:11:56,560 --> 00:12:02,480
current at a given power and less current means less heat generated and a

169
00:12:00,399 --> 00:12:06,639
higher efficiency which brings us to the final reason why buying a quality power

170
00:12:04,480 --> 00:12:10,320
supply is a good idea good old mother earth as much as electronics makers try

171
00:12:08,880 --> 00:12:14,720
and put a positive spin on their environmental progress apple

172
00:12:12,800 --> 00:12:18,800
pretty much every component in your pc will offer up mediocre performance in a

173
00:12:16,560 --> 00:12:22,880
few years or be downright broken high quality power supplies though can last

174
00:12:20,480 --> 00:12:27,200
you through multiple upgrades see sonic the sponsor of this video has up to

175
00:12:24,800 --> 00:12:31,200
freaking 12 year warranties on some of their units so at least that's one part

176
00:12:29,200 --> 00:12:35,519
that won't end up in a landfill anytime soon so huge thanks to sonic for

177
00:12:33,360 --> 00:12:38,800
sponsoring this video providing us with technical support for this piece and

178
00:12:37,120 --> 00:12:41,839
thanks again to johnny guru for his insight as well thanks for watching this

179
00:12:40,560 --> 00:12:46,720
video and if you were looking for another turbon i can't do it

180
00:12:45,120 --> 00:12:50,800
and if you're looking for another turbo nerd video maybe check out how

181
00:12:48,160 --> 00:12:54,639
motherboards work turbo turbo nerd turbo nerd is so hard to say

182
00:12:53,200 --> 00:13:01,079
fast yeah you chucked it twice in the same sentence alex killing me

183
00:12:57,120 --> 00:13:01,079
i'm done i'm out
