Professional Documents
Culture Documents
In the center-aligned PWM mode, the center of the Fig. 4. UPWM gate signal generation.
generated pulse are fixed, and both edges are
modulated by a variable duty cycle as shown in Fig. 3, The UPWM consist mainly in the generation of
commonly a single up-down counter unit and two three signals, a discrete triangular carrier waveform, a
compactors are used to implement a digital PWM. modulated sinusoidal waveform and a complementary
The disadvantage of the PWM counter strategy is that signal (−sin( )) as shown in the Fig. 5. Then these
the nominal resolution depends directly on the signals are compared in order to generate
maximum count value, it is worth notice that for the complementary PWM pulses ( 2 = 1, 4 = 3).
same PWM frequency when the center aligned mode
is used the counter value is the half of the edge
aligned method, thus this method has lower resolution
using the same clock frequency.
(2)
=
2∗( − 1)
= ∗ (7)
I/O 6 6 6 200
BRAM 6 13 13 140