2.2.1.3 Output Stage
The Output Stage module controls the relationship between the PI controller control signals and the generated PWM.
Graphical User Interface
Setting-up PWM to Control Ratio
The FOC control to PWM ratio refers to the relationship between the control signals generated by the FOC algorithm and the PWM signals that are used to drive the motor. In FOC, the control algorithm calculates the required voltage vectors to achieve the desired motor torque and speed. These voltage vectors are then converted into PWM signals, which modulate the power supplied to the motor windings.
Ideally, a 1:1 ratio between the FOC control frequency and the PWM frequency is desirable. However, due to CPU bandwidth constraints, you may need to run the control algorithm at a lower frequency.
Note:
Only 1:1 ratio is supported