RA6T2
Vector control for permanent magnetic synchronous motor with encoder - AB incremental type encoder
3.4.5 Encoder signal interrupt processing
Encoder count capture interrupt
[NO]
Encoder alignment finished
[YES]
Encoder edge interval cumulation
Encoder phase counter cumulation
Encoder position calculation
Zero speed detection
Encoder edge interval moving average
Encoder speed calculation
End
Figure 3-21 Encoder signal interrupt process Flowchart
R01AN6208EJ0101 Rev.1.01
Page 54 of 71
Oct 18, 2022