BBO BlinkenArea > Blinkenarea > GroggyClock > PwM > PwMEnglish BlinkenArea webs:
BlinkenArea | Main | TWiki | Sandbox | (Recycle Bin)
Blinkenarea . { Changes | Index | Search }

BlinkenArea.PwMEnglish
144 pixels ought to be enough for anybody


Home
Ziele
BlinkenArea
BlinkenLights

News
Presse
Links
Forum
MailList
Join

Audio,Video
Projekte
Protokolle
Dateiformate
Troia
bluebox

WTH
ICMP
CBCamp
CCCamp
CCCongress
EasterHack

Stats
Users
SiteMap
TWikiDoku
SiteTools
Translate
WebChanges

Impressum
Imprint

Datenschutzerklärung
Privacy Policy

RSS and Mail notification
powered by: [Powered by Eventphone]

PWM - pulse width modulation deutsch

Varying the on- and off-switch-time of a rectangular signal with fixed base frequency, is described as Pulse Width Modulation [short: PWM]. The ratio ton / (ton + toff) is called duty cycle.

Easy to perceive, what applies for the average value of the voltage:

.

Uoff is usually 0V, Uon is the operating voltage, for instance 5V.

Examples

The following examples are showing PWM-signals with a duty cycle of 75% resp. 25%.

Example 1

U_{ein}=5\,\mathrm{V}
U_{aus}=0\,\mathrm{V}
t_{ein}=3\,\mathrm{ms}
t_{aus}=1\,\mathrm{ms}

U_m = 0\,\mathrm{V} + (5\,\mathrm{V} - 0\,\mathrm{V}) \cdot \frac{3\,\mathrm{ms}}{3\,\mathrm{ms}+1\,\mathrm{ms}} = 3,75\,\mathrm{V}

Bild:Pwm1.png

Example 2

U_{ein}=5\,\mathrm{V}
U_{aus}=0\,\mathrm{V}
t_{ein}=1\,\mathrm{ms}
t_{aus}=3\,\mathrm{ms}

U_m = 0\,\mathrm{V} + (5\,\mathrm{V} - 0\,\mathrm{V}) \cdot \frac{1\,\mathrm{ms}}{1\,\mathrm{ms}+3\,\mathrm{ms}} = 1,25\,\mathrm{V}

Bild:Pwm2.png


Wattage

If you send a pulse-width-modulated signal directly to an ohmic consumer (i.e. hot-wire), you have to pay attention to the calculation of the wattage. Don't try:

P = \frac{{U_m}^2}{R}

Instead you have to consider the wattage while on- and off-switching seperately:

.

Example

U_{ein} = 4\,\mathrm{V}
U_{aus} = 0\,\mathrm{V}
t_{ein} = 1\,\mathrm{ms}
t_{aus} = 3\,\mathrm{ms}
R = 10\,\mathrm{\Omega}

The average value of this voltage is:

.

If you would calculate with this value of wattage, it would result in

P = \frac{{U_m}^2}{R} = \frac{(1\,\mathrm{V})^2}{10\,\mathrm{\Omega}} = 0,1\,\mathrm{W}.

But the exact result is

.


Use as DA-converter

If you average the voltage with a low pass filter, you can use the pulse width modulation to generate analog signals (digital-analog-converter). Because the PWM-signal only consists of two different voltages, sometimes it is also called 1-Bit-DA-converter, but this term is actually misleading, for it has nothing to do with the solution of the resulting analog signal.

The filter could be realised through a simple passive RC-combination for instance. It eliminates the high PWM base frequency and leaves over the analog signal. The critical frequency must be chosen in the way that the desired analog signal doesn't change. At the same time it has to be as low as possible to remove the upper waves of the PWM base frequency.

A filter is not neccessary to control a DC-motor, the signal can directly be sent to the [Motortreiber]. The inertia of the magnetic field inside the motor is smoothing the signal sufficiently.

Pulse width modulation is also used for generation of several output voltages of adjusters. Therefor a transistor with variable duty cycle will be controlled and by that the output voltage will be regulated.



-- SaschaLudwig - 21 Jun 2004
-- KatharinaMueller (translation) - 24 Jun 2004


EOF

Topic PwMEnglish . { Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }
Revision r1.4 - 24 Jun 2004 - 11:31 - KatharinaMueller
Parents: GroggyClock > PwM