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!
==== Time proportioning ==== Many digital circuits can generate PWM signals (e.g., many [[microcontrollers]] have PWM outputs). They normally use a [[counter (digital)|counter]] that increments periodically (it is connected directly or indirectly to the [[clock signal|clock]] of the circuit) and is reset at the end of every period of the PWM. When the counter value is more than the reference value, the PWM output changes state from high to low (or low to high).<ref>{{cite web |last=Barr |first=Michael |date=1 September 2001 |title=Introduction to Pulse Width Modulation (PWM) |url=https://barrgroup.com/Embedded-Systems/How-To/PWM-Pulse-Width-Modulation |website=Barr Group}}</ref> This technique is referred to as '''time proportioning,''' particularly as '''time-proportioning control'''<ref>''Fundamentals of HVAC Control Systems,'' by Robert McDowall, [https://books.google.com/books?id=UMk1EUp-W-UC&pg=PA21&dq=%22time+proportioning%22 p. 21]</ref> β which ''proportion'' of a fixed cycle time is spent in the high state. The incremented and periodically reset counter is the discrete version of the intersecting method's sawtooth. The analog comparator of the intersecting method becomes a simple integer comparison between the current counter value and the digital (possibly digitized) reference value. The duty cycle can only be varied in discrete steps, as a function of the counter resolution. However, a high-resolution counter can provide quite satisfactory performance.
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)