Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pulse-width modulation
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Representation of a signal as a rectangular wave with varying duty cycle}} {{Redirect|Pulsewidth|the song by Aphex Twin|Selected Ambient Works 85β92}} {{Distinguish|Pulse-density modulation}} {{Refimprove|date=April 2009}} [[Image:PWM, 3-level.svg|thumb|right|350px|An example of PWM{{Clarification needed|reason=The picture more specifically uses either a [[three-valued logic]] PWM or possibly [[tri-state logic]] PWM as the blue input signal, because there is an additional intermediate state at 0V that could possibly represent either high-impedance for tri-state logic. This article doesn't actually talk about such 3-level PWM signals, but only deals with on-off 2-level PWM signals, so maybe this isn't the best intro picture without more explanation.|date=February 2024}} in an idealized inductor driven by a {{colorbull|blue}} voltage source modulated as a series of pulses, resulting in a {{colorbull|red}} sine-like current in the inductor. The rectangular voltage pulses nonetheless result in a more and more smooth current waveform, as the ''switching frequency'' increases. The current waveform is the integral of the voltage waveform.]] {{Modulation techniques}} '''Pulse-width modulation''' ('''PWM'''), also known as '''pulse-duration modulation''' ('''PDM''') or '''pulse-length modulation''' ('''PLM'''),<ref>{{Cite journal |date=2018 |editor-last=Butterfield |editor-first=Andrew J. |editor2-last=Szymanski |editor2-first=John |title=A Dictionary of Electronics and Electrical Engineering |url=http://dx.doi.org/10.1093/acref/9780198725725.001.0001 |journal=Oxford Reference |doi=10.1093/acref/9780198725725.001.0001|isbn=978-0-19-872572-5 |url-access=subscription }}</ref> is any method of representing a signal as a [[rectangular wave]] with a varying [[duty cycle]] (and for some methods also a varying [[Period of a function|period]]). PWM is useful for controlling the average [[Power (physics)|power]] or [[amplitude]] delivered by an electrical signal. The average value of [[volt]]age (and [[electric current|current]]) fed to the [[electrical load|load]] is controlled by switching the supply between 0 and 100% at a rate faster than it takes the load to change significantly. The longer the switch is on, the higher the total power supplied to the load. Along with [[maximum power point tracking]] (MPPT), it is one of the primary methods of controlling the output of solar panels to that which can be utilized by a battery.<ref>{{cite web|url=https://www.homepower.com/articles/solar-electricity/design-installation/sizing-grid-tied-pv-system-battery-backup|title=Sizing a Grid-Tied PV System ...with Battery Backup |work= Home Power Magazine}}</ref> PWM is particularly suited for running inertial loads such as motors, which are not as easily affected by this discrete switching. The goal of PWM is to control a load; however, the PWM switching frequency must be selected carefully in order to smoothly do so. The PWM switching frequency can vary greatly depending on load and application. For example, switching only has to be done several times a minute in an electric stove; 100 or 120 [[Hz]] (double of the [[utility frequency]]) in a [[dimmer|lamp dimmer]]; between a few kilohertz (kHz) and tens of kHz for a motor drive; and well into the tens or hundreds of kHz in audio amplifiers and computer power supplies. Choosing a switching frequency that is too high for the application may cause premature failure of mechanical control components despite getting smooth control of the load. Selecting a switching frequency that is too low for the application causes oscillations in the load. The main advantage of PWM is that power loss in the switching devices is very low. When a switch is off there is practically no current, and when it is on and power is being transferred to the load, there is almost no voltage drop across the switch. Power loss, being the product of voltage and current, is thus in both cases close to zero. PWM also works well with digital controls, which, because of their on/off nature, can easily set the needed duty cycle. PWM has also been used in certain communication systems where its duty cycle has been used to convey information over a communications channel. In electronics, many modern [[microcontroller]]s (MCUs) integrate '''PWM controllers''' exposed to external pins as peripheral devices under [[firmware]] control. These are commonly used for [[direct current]] (DC) [[motor controller|motor control]] in [[robotics]], [[switched-mode power supply]] regulation, and other applications.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)