8
32094B–AVR32–05/09
AVR32710
6.
Motor Control Processing computations
6.1
Flow Chart Diagram
From the SVPWM technique, it is possible to distinguish several actions:
•
Sector Determination
•
PI Corrector
•
Space Vector Computation
Before starting application development, it could be interesting to consider clock source
reference:
•
Sector Determination: at every hall sensors interrupt a new sector position is reached. So
that means that this interrupt should trigger a task that compute Sector Determination
Algorithm (electrical position of stator).
•
Space Vector Computation
Here is the flow chart diagram for the process in this application.
Figure 6-1.
Flow chart diagram
Task #1
Every ‘Period regulation’ period the corrector (Proportionnal and Integer: P.I) is executed and
updates amplitude factor used by the S.V.P.M.
Task #2
Every ‘tick’ period in the Space Vector calculation is computed.