2024-08-01 12:54 AM
#define OVM_VREF_MODE1_START ((int32_t)29717)
#define OVM_VREF_MODE2_START ((int32_t)31186)
The ratio between these two value is not sqrt(3)/2. What is the voltage unit used in these calculation? Or when a have a Valpha equal to 32767, what is the truth voltage in real world?
Thanks.
2024-08-01 12:59 AM
Also, the document "A priori determination of flux and torque current PI gains" says that the PI module uses a voltage factor of VBusDC/2^16, is this correct?Seems like it should be 3VBusDC/2^16.
2024-08-02 12:02 AM
Found something interesting:
the PI controller and FF think the voltage reference is Vbus/2,
the PWMC_SetPhaseVoltagefunction thinks it's Vbus/sqrt(3),
PWMC_SetPhaseVoltage_OVM thinks it's 2Vbus/3,
circle limit in OVM mode thinks it's -- 2Vbus/pi, right?