SPRUJF4A October 2024 – December 2024
The software for the TIEVM-MTR-HVINV allows for both the enhanced Sliding Mode Observer (eSMO) and the Flux, Angle, Speed, and Torque (FAST™) sensorless observers. While the eSMO only requires the commonly used 3-phase motor current sensing, the FAST observer additionally requires requires 3-phase motor voltage sensing to improve low-speed performance and increase the precision of the motor speed estimation.
Note that the software parameter (USER_ADC_FULL_SCALE_VOLTAGE_V) depends on the circuit that senses the voltage feedback from the motor phases. Figure 2-4 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 1, considering the maximum voltage for the ADC input is 3.3 V.
where
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.1292683f)
The voltage filter pole is needed by the FAST estimator to allow an accurate detection of the voltage feedback. Make the filter 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. Change the hardware filter only when ultra-high-speed motors are run, which generate phase-voltage frequencies in the order of a few kHz.
In this reference design the filter pole setting can be calculated with Equation 3:
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 (416.3602877f)