Download 3-Phase PM Synchronous Motor Vector Control Using
Transcript
System Blocks Concept Index Primary source QTimer B0 Secondary source Position Counter Cascade mode Phase B Quadrature Decoder Internal digital filter Phase A Primary source QTimer B1 Secondary source Impulses Counter Primary source QTimer B2 Secondary source System clock / 4 Period Timer Primary source QTimer B3 Secondary source System clock / 4 Time Base Primary source QTimer D0 Not used Secondary source Figure 4-3 Quad Timer B Configuration 4.3.1.1 Position Sensing The position and speed sensing algorithm uses all of the timers in module B and an additional timer as a time base. Timers B0 and B1 are used for position sensing. Timer B0 permits connection of three input signals to the Quad Timer B1, even if Timer B1 has only two inputs (primary and secondary), accomplished by using Timer B0 as a Quadrature Decoder only. It is set to count in the quadrature mode, count to zero, and then reinitialize. This timer setting is used to decode quadrature signals only. Timer B1 is connected to Timer B0 in cascade mode, in which the information about counting up or down is connected internally to Timer B1, freeing the secondary input of Timer B1 to be used for the index pulse. Counter B1 is set to count to +/- ((4*number of pulses per revolution) - 1) and reinitialize after compare. The value of Timer B1 corresponds to the rotor position. 3-Phase PMSM Motor Vector Control, Rev. 3 Freescale Semiconductor Preliminary 23