TIDUBE5A January 2022 – October 2022
Voltage feedback is needed in the FAST estimator to allow the best performance at the widest speed range, the phase voltages are measured directly from the motor phases instead of a software estimate. The eSMO relies on software estimation values to represent the voltage phases without using the motor phase voltage sensing circuit. This software value (USER_ADC_FULL_SCALE_VOLTAGE_V) depends on the circuit that senses the voltage feedback from the motor phases. Figure 2-35 shows how the motor voltage is filtered and scaled for the ADC input range using a voltage feedback circuit based on resistor dividers. The similar circuit is used to measure all three of both compressor and fan motors, and dc bus.
The maximum phase voltage feedback measurable by the microcontroller in this reference design can be calculated as given in Equation 92, considering the maximum voltage for the ADC input is 3.3 V.
Where Gv is attenuation factor can be calculated from
With that voltage feedback circuit, the following setting is done in user_mtr1.h:
//! \brief Defines the maximum voltage at the AD converter
#define USER_M1_ADC_FULL_SCALE_VOLTAGE_V (404.13f)
The voltage filter pole is needed by the FAST estimator to allow an accurate detection of the voltage feedback. The filter should be low enough to filter out the PWM signals, and at the same time allow a high-speed voltage feedback signal to pass through the filter. As a general guideline, a cutoff frequency of a few hundred Hz is enough to filter out a PWM frequency of 5 to 20 kHz. The hardware filter should only be changed when ultra-high-speed motors are run, which generate phase-voltage frequencies in the order of a few kHz.
The filter pole setting can be calculated as the following Equation 94 in this reference design:
The following code example shows how this is defined in user_mtr1.h:
//! \brief Defines the analog voltage filter pole location, Hz
#define USER_M1_VOLTAGE_FILTER_POLE_Hz (405.15f)