Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
691
FORCE_OUT signal is provided mainly for commutated applications. When PWM signals are
commutated on an inverter controlling a brushless DC motor, it is necessary to restart the PWM cycle at
the beginning of the commutation interval. This action effectively resynchronizes the PWM waveform to
the commutation timing. Otherwise, the average voltage applied to a motor winding integrated over the
entire commutation interval will be a function of the timing between the asynchronous commutation event
with respect to the PWM cycle. The effect is more critical at higher motor speeds where each commutation
interval may consist of only a few PWM cycles. If the counter is not initialized at the start of each
commutation interval, the result will be an oscillation caused by the beating between the PWM frequency
and the commutation frequency.
25.8.4
PWM generation
illustrates how PWM generation is accomplished in each submodule. In each case, two
comparators and associated VALx registers are utilized for each PWM output signal. One comparator and
VAL
x
register control the turn-on edge, while a second comparator and VAL
y
register control the turn-off
edge.
Figure 25-40. PWM generation hardware
16-bit
comparator
16-bit
comparator
16-bit
comparator
16-bit
comparator
D
R
Q
PWMA_INIT
PWM on
PWM off
16-bit
comparator
16-bit
comparator
D
S
R
Q
PWMB_INIT
PWM on
PWM off
VAL0
VAL1
VAL2
VAL3
VAL4
VAL5
Output Triggers
Compare Interrupts
16-bit counter
R
Q
SYNC_INIT
PWM on
PWM off
D
S
S
Half Comp
Mod Comp
(inverted
PWMA
PWMB
PWMX
FORCE_OUT
FORCE_EN
Force Init
to Force Out
logic
Local Sync)
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...