Тёмный

Circuit Skills: PWM (Pulse Width Modulation) 

Make:
Подписаться 1,6 млн
Просмотров 345 тыс.
50% 1

blog.makezine.c...
Another clever trick from the world of electronics - Pulse Width Modulation is a simple method for controlling analog devices via a digital signal. It's also an efficient way to drive motors, lamps, LEDs & more.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 403   
@devinmendoza6267
@devinmendoza6267 6 лет назад
The Alton Brown of circuitry
@MAKE
@MAKE 6 лет назад
hypno toad this is the highest compliment. Also the most accurate.
@Cerenth
@Cerenth 13 лет назад
Another fantastic tutorial from Colin. I love the way he explains all of these difficult concepts in a clear way with visible examples. I can't wait to see more from him!
@Korupshenv1
@Korupshenv1 11 лет назад
Collin......you are DANGEROUS with that soldering iron. You've got mad skills. Keep up the good work. All of us enjoy what you do.
@ToniBabelony
@ToniBabelony 13 лет назад
This made me finally understand the principle of PWM. I just needed a visual confirmation of what I thought. Thanks! :)
@IfItAintBrokeStillFixIt
@IfItAintBrokeStillFixIt 10 лет назад
lol..I never get board watching colin
@stridentbox3067
@stridentbox3067 5 лет назад
or bored
@ingktkikker
@ingktkikker 13 лет назад
PWM -> Pretty Wild Man ^^
@pseudonomen137
@pseudonomen137 9 лет назад
Quick note/correction: The part explaining that 12V at 50% duty cycle is 6V is inaccurate. A 50% duty cycle would give you 50% the POWER of that at 12V (think of it like you're running it at 12V but for half the time). This does not mean half the VOLTAGE though (Imagine a simple resistor: P=V^2/R, so half the voltage amounts to 1/4 the power, not 50%)
@stridentbox3067
@stridentbox3067 5 лет назад
nope. power depends on load, no load information, no power information. It's a VOLTAGE waveform so 50% pwm of 12V = 6V average (DC). If you had 12 Ohm @100% (12V) = 12W, @50% (6V) = 3W; 25% power BUT still 6V is 50% of 12V
@simgag
@simgag 13 лет назад
@Desmaad those are resistances, the bigger they are, the more power they can handle
@MOTACJ
@MOTACJ 10 лет назад
Dude, you need a TV show.
@geofreyr
@geofreyr 7 лет назад
Fantastic that you're into electronics at your age, you might invent useful things for the marketplace one day and make money from them. You should probably do an electrical engineering degree. And yes, this guy definitely needs his own TV show. He's great to watch.
@stonecold7945
@stonecold7945 7 лет назад
Ale Lav I am 13 and I love electronics too.
@vivianzhang8287
@vivianzhang8287 6 лет назад
+ Ale Lav ikr
@TheSupertecnology
@TheSupertecnology 12 лет назад
@TheTranceMusicLover actually, PWM sends pulses, meanwhy an LM317 limitates the voltage that pases through it, so it makes less heat than a limitating resistor, but still generating heat, that means you still losing power. So in conclusion: is better the PWM than the Voltage Regulator or the Limitating Resistor. Hope that helps:)
@JimmyGeschwind
@JimmyGeschwind 13 лет назад
Nice tutorial, did this powering a LED without a resistor, to have it shine extra bright without burning it. ^_^ And dimming works great to.
@samuelgonzalez7783
@samuelgonzalez7783 8 лет назад
Who else prefer when the kits are not pre soldiered.
@vimicito
@vimicito 6 лет назад
I find it very confusing to use a variable input voltage as a variable to determine PWM duty cycle. I know how PWM works, but I wouldn't recommend this particular video to someone who's still learning it. Please use a circuit that uses a potentiometer (as a voltage divider) as part of a 555 astable multivibrator instead.
@StereoBucket
@StereoBucket 11 лет назад
You can use a 555 circuit to generate a pulse which would trigger a transistor on and off which is far more efficient.
@nigelcooper1191
@nigelcooper1191 8 лет назад
Colin? I dont know if you still read these but my name is Will and you inspired me to love electronics through your videos. you are my hero and I would really love to meet you. thank you for everything.
@radius.indrawan
@radius.indrawan 7 лет назад
but... your name is Nigel Cooper... o.O
@alhadidi1
@alhadidi1 10 лет назад
Presented very brilliantly. Thanks a lot.
@OsoPolarClone
@OsoPolarClone 13 лет назад
I enjoy your videos. They are educational and very well done
@ELECTROMAN_MX
@ELECTROMAN_MX 12 лет назад
the art of electronics horowitz
@amazinggadgets6207
@amazinggadgets6207 12 лет назад
These old make videos way better than the new ones...
@edwardholmes91
@edwardholmes91 13 лет назад
Just love your videos Collin, great work as usual! Keep it up :)
@jinxiong1
@jinxiong1 13 лет назад
I too, have become a Collin Cunningham fan. Thanks Collin
@StereoBucket
@StereoBucket 11 лет назад
Not exactly. AC goes in both ways. In PWM it is called a Alternating DC. Basically a DC which changes it's voltage during time. AC changes both voltage and the direction.
@legogunguy001
@legogunguy001 13 лет назад
Sweet, thanks for the vid, I am going to buy this kit to help introduce me to PWM, so that I can control a 30 amp power supply for a HHO cell.
@phantomofhavoc
@phantomofhavoc 13 лет назад
great video! though in general it is simple, but the way you explain things is exiting :)
@NGinuity
@NGinuity 7 лет назад
The best part about this video is that you're using a bent conical tip Metcal. Everyone gives me such a rash of crap for using it all the time instead of the cultish following the chisel tip uses, but it's very comfortable and not all ham handed when you're trying to get into a tight spot.
@123456789robbie
@123456789robbie 13 лет назад
so you controlling the speed of the motor with modulation, but your controlling the modulation with voltage? why not connect the variable voltage directly to the motor?
@holalluis
@holalluis 13 лет назад
man, you are awesome! i'm learning a lot with your videos :)
@CoolDudeClem
@CoolDudeClem 12 лет назад
I just find it easier to wire up a 555 timer and use it for the same thing.
@panagiwths100
@panagiwths100 13 лет назад
you are the best in make magazine but after kipkay
@somorastik
@somorastik 13 лет назад
"...can make my resistor realy hot..." dirty minds
@RadicalNinjaMan
@RadicalNinjaMan 13 лет назад
I just got into circuit building and was wondering.. what are those big white things that he solders into the PWM kit?
@doings101tech8
@doings101tech8 27 дней назад
Resistors, with a much larger wattage
@ThantosxWarmedxOver
@ThantosxWarmedxOver 13 лет назад
Next vid ETA? I realize they probably take a while to put together (I really love the flow of the program: Problem, solution, history of solution, example of solution). Make something on radio circuits? Please?
@gordon5cc
@gordon5cc 13 лет назад
@ccrimsonfox I think it's more for changable voltage without a big chunky resistor
@ArtistBlade1972
@ArtistBlade1972 13 лет назад
@ccrimsonfox There is no such thing as a perfect world. The best we can do is to maximize efficiency given our current technology. The heat sink is for the bypass transistor driven by the pwm that switches current to the load. This circuit is still far more efficient than using a resistor.
@htfkid2000
@htfkid2000 12 лет назад
@FractalDistortion PWM works with something called TIMING... You time each pulse, but every pulse is the same strength as the time between each pulse increases the intensity of the LED or motor decreases... it's all in the physics of how analog devices work!
@LT89NL
@LT89NL 11 лет назад
No. A potentiometer is just a variable resistor. PWM is quite something different.
@aaronking5076
@aaronking5076 6 лет назад
what is he point of the PWM if it is just proportional to the input voltage? I thought the whole idea was to control duty cycle in order to contrl (for example) the speed of a motor that is running on a 12 volt dc input. If I have to control the input voltage already, that begs the question how am I doing that?
@hammadshams
@hammadshams 2 года назад
Thank you for a very nice explanation.
@blva888
@blva888 13 лет назад
If Collin was a teacher in a college electronics classroom I would go.
@Polite_Cat
@Polite_Cat 13 лет назад
when i saw colin uploaded a video my heart gave a little extra beat. i think we must be in love.
@meazibari4549
@meazibari4549 9 лет назад
meazi bari 1 week ago Please give me High Speeddual Mosfet Driers(MC34151P)and MOSFET,G4PC40U.Circuit Diagram,,,,,,,,,,,,,,,,,help to me,so thanks
@randy95060
@randy95060 11 лет назад
Which Velleman kit is this? Assuming it's Velleman. It looks like a Velleman box.
@lenybaleny9335
@lenybaleny9335 7 лет назад
that pun in the end made all the video :D
@turkeyshare
@turkeyshare 13 лет назад
Awesome. I actually learned something in this video. (Rarely happens if Collin isnt in the video.)
@WayneJohnsonZastil
@WayneJohnsonZastil 12 лет назад
Erm you can make it check EEVBlog! last video he show it duty cycle 1% to 99% on some leds on his mantis scope.
@camohoj
@camohoj 12 лет назад
Right so say you wanted to fade a bedside lamp on ac volts ,could use pwm on that ?
@DJNewEra1992
@DJNewEra1992 13 лет назад
You're sooo funny, I remember seeing this in class!
@roflcopter645
@roflcopter645 11 лет назад
No silly. A potentiometer (essentially a resistor) drops current. Whereas PWM is pulsing voltage up and down, square wave style.
@topgearIQ
@topgearIQ 8 лет назад
hi master. need circuit lamp flash drive. ic several found in market.mohamed from Iraq country..
@FromThe3PointLine
@FromThe3PointLine 13 лет назад
is it tru that smoking a cigarette is the same as inhaling exhaust pipe fumes?
@BadChizzle
@BadChizzle 4 года назад
Nice job, man.
@Polite_Cat
@Polite_Cat 13 лет назад
i would like to see more examples of this - maybe with arduino? i actually had an idea a long time ago using special light bulbs that were designed to work at maybe 50hz instead of 60hz. if you are using the full amount of current, how does that apply to the brightness ratio? aren't you being more efficient, and thus, it would stay bright? when would you actually notice? if it flickers, cant you use a capacitor to smooth it out? or would just using a lower wattage bulb be better?
@ecaepevolhturt
@ecaepevolhturt 12 лет назад
Output duty cycle = CONSTANT * DC Input Voltage. The constant is just a number which doesn't change, so when you increase or decrease the DC voltage, the duty cycle increases or decreases (they are proportional). How much it changes is dependant of the magnitude of the constant. A lower constant will give you a smaller change and therefore more sensitivity.
@dLimboStick
@dLimboStick 12 лет назад
@htfkid2000: No. PWM doesn't work with timing. You can change the frequency to whatever you want, timing doesn't matter, but the output power will depend on the ratio of the on to off portions of the duty cycle, and that ratio can be continuously variable. Digital in binary, analog is continuously variable.
@21BDP21
@21BDP21 13 лет назад
@carfansunited I think the point is that Kip Kay and Collin ACTUALLY make things and so it was nice to have a reliable project every week aka weekend projects. Now the makemagazine channel is only "look here is a random person who MADE something who JUST TALKS about random stuff". This channel now is more lookatthisrandompersonzine
@engKANGU
@engKANGU 12 лет назад
it's not such a great solution. i'd rather use an atmega8, which is mutch cheaper an easier to assemble, plus you can generate more than one pwm simultaneos, and also you can programme a ramp mechanism so you don't have abrupt changes in the motor's speed which are pottencially harmful.
@Umezawa94
@Umezawa94 13 лет назад
... wait... if you need to control the PWM by changing the Voltage, can't you just apply the current directly to the device? I mean, what is point of applying 20V to the PWM, when 9V can power the motor. The output of this device is just controlable by the input, isn't it?
@StereoBucket
@StereoBucket 11 лет назад
Actually pot drops both current and voltage. But PWM is far more efficient and better. Although in some serious circuits like a power supply or a supply for some ICs you will need to smooth that square wave using filters using some RC filters.
@Kelton_Smith
@Kelton_Smith 13 лет назад
I subbed for Kipkay what seems over a year or more ago, but I have learned to love Collin's lab because I learn a little every new video! I just wish they would slow up with the personal blogish type videos :/ Good with the bad I suppose.
@bigk1435
@bigk1435 13 лет назад
Pretty Wild Man, I see what you did there.
@R1gBoN3Gaming
@R1gBoN3Gaming 3 года назад
This is a masterpiece!
@judgenap
@judgenap 13 лет назад
Hi Colin , The maximum output of the pwm was 21v , that is fine . But the Amps can be 2 to 4 Amps or greater . Will it not fry the scope ? Also you had 3 probes and 1 Earth. Please explain. Thanks .
@bdubbsism
@bdubbsism 12 лет назад
Because not everyone is going to hook a variable voltage supply up to every motor they will ever run. It is more convenient to hook up a straight voltage and use PWM to reach the desirable results.
@HawaiianKong
@HawaiianKong 13 лет назад
I thought the main principle behind PWMs was varying a load input WITHOUT changing the circuit's voltage. RC cars for example use a PWM to control motor speed while that 9.6V doesn't change.
@MasterFPunkt
@MasterFPunkt 13 лет назад
@humxa24 A potentiometer is a variable resistor. The point of using PWM instead is that it doesn't waste energy like a resistor does.
@evilekat
@evilekat 13 лет назад
What is the soldering iron you us also what tip i like the bent type
@crailberry
@crailberry 13 лет назад
Haha collin loses more hair with every video :P
@bedofrazors94
@bedofrazors94 13 лет назад
i just use a potentiometer, and it does basically the same thing as hes talking about, except, you can go from anywhere between 0% to 100% speed, and its a lot more simple -_-
@K22productions
@K22productions 13 лет назад
@kekejojo1212 no im not stupid and ive used this stuff before ive even seen this video, i love his videos... i wasnt trying to insult him or you, and im sorry if i came off as rude
@MinksMotorsandMore
@MinksMotorsandMore 13 лет назад
@d1353lp0w3r the only reason Colin doesn't make them that long is that theirs a LOT of time to make a good videos like this.
@thebwrobbel
@thebwrobbel 12 лет назад
Hey Collin, could you post the schematics you redrew for the PWM? It's not on the Jameco site, and I can only get a fuzzy view of it from the video. Thanks!
@xng14
@xng14 13 лет назад
I love Collin's videos, but I don't want to subscribe to makemagazine's channel because of all the other sewing crap that would pollute my youtube homepage...
@MattyTeare
@MattyTeare 13 лет назад
it will heat up your wires slightly though, so be careful when using it with mains electricity otherwise you could have a fire on your hands (quite unlikely).
@Aonexia
@Aonexia 13 лет назад
His mannerisms crack me up every time! Man! I wish he had more shows...
@ritachanda1388
@ritachanda1388 8 лет назад
I saw a more easy way of pwm and parts are easily available in your local shop and this circuit I saw from great scoot
@fairyheli2
@fairyheli2 13 лет назад
could you use a filter cap or inductor to smooth the sqaure wave
@jasonpick3670
@jasonpick3670 11 лет назад
exvcept you can't get the same amount of power you can only put out around 5 volts with the 555, unless you put it in series with an amp, nevermind
@swedensy
@swedensy 6 лет назад
audio sucks. no test using output like mosfet
@Pit_stains
@Pit_stains 11 лет назад
The kit is pointless yes, because of that fact. But PWM is used when you can't have a variable power supply.
@htfkid2000
@htfkid2000 12 лет назад
@FractalDistortion yes it is
@TakronRust
@TakronRust 13 лет назад
You mentioned wasted power in heat. From the look of that voltage regulator and the heat sink. You are still generating some good heat.
@Sharkyzane231
@Sharkyzane231 2 года назад
nice video man really helped me!!!!!!!!!!!
@snarkyboojum
@snarkyboojum 12 лет назад
Cool to see Horowitz off to the side. We used this in 3rd year Physics at university (college) :)
@delbomb3131
@delbomb3131 13 лет назад
@rodolfosevero007 kipkay is why i subscribed, Colin is the only reason ive stuck with it. kinda wish he had his own channel
@smudgepost
@smudgepost 9 лет назад
Would a larger version be a more efficient way of throttling an electric car? (DIY of course)
@RandomMurderer
@RandomMurderer 12 лет назад
I have a feeling you would've been one of the ones to do it and he's making much more money than you could ever hope to.
@dLimboStick
@dLimboStick 12 лет назад
@FractalDistortion: I think these guys must be confusing digital PCM with analog PWM, but you're right...PWM is analog.
@DrEnginerd1
@DrEnginerd1 11 лет назад
yea but as he explained at the beginning of the video resistance causes unwanted heat and energy loss in the circuit
@ZboneWalker
@ZboneWalker 13 лет назад
Collin is nowdays the only reason i am a subscriber to makemagazine.... Subscribed for kip kay, stayed for Collin :D
@higgy82
@higgy82 13 лет назад
@kekejojo1212 Your ramblings tell me that you know just enough about electricity to really screw some stuff up.
@hdzhdzhdz
@hdzhdzhdz 13 лет назад
I am so glad Collin is advertising Jameco and not Netflix or some shit :P Great video man. More of these pl0x :3
@phasorsystems6873
@phasorsystems6873 4 года назад
Are your teachers busy? Check out androidcircuitsolver on google
@kenkaniki4299
@kenkaniki4299 5 месяцев назад
i realy wants to call you Jimmy Neutron , and thanks alot for the vid
@piterXdT
@piterXdT 12 лет назад
an easy Pulse Width Modulator can be made bu using 555 IC.. but it is way easier if you have an arduino : )
@theyellowfury
@theyellowfury 13 лет назад
Very interesting, I'll remember that forever. Word to the wise, PWM isn't an acronym, its an initialism.
@NotnaRed
@NotnaRed 13 лет назад
@AmtrakBoy42 lol that's not that much. just google it. you can get a complete PWM module for a few bucks.
@2ttsi
@2ttsi 13 лет назад
@humxa24 A potentiometer is a variable resistor. as he said in the video, resistors produce unwanted heat.
@vinni40k
@vinni40k 13 лет назад
So you're controlling the output voltage by varying the input voltage, yet Uout(max) stays constant, right?
@FixedHDD
@FixedHDD 13 лет назад
When I put my macbook into sleep the LED at the front changes its brightness from dark to light in regular cycles. I think that LED is PWM'd !
@adespade119
@adespade119 4 года назад
Do you know how many high power resistors are now out of work because of this video.
Далее
Understanding Pulse Width Modulation
13:45
Просмотров 22 тыс.
ОВР Шоу:  Семейные понты  @ovrshow_tnt
07:21
Duty cycle, frequency and pulse width--an explanation
8:53
Pulse Width Modulation (PWM) - Electronics Basics 23
7:28
Fun with Transistors
24:33
Просмотров 345 тыс.
Oscillators- Pulse Width Modulation
4:44
Просмотров 50 тыс.
Let's build a voltage multiplier!
16:32
Просмотров 2,1 млн