SPRACT7 August 2020 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
The sensorless observer, which is called as FAST™, integrated in F28004xC and F28002xC was upgraded to version 2.0 with MotorControl SDK. The new version of FAST was implemented with floating point. It improves the accuracy of parameter estimation and the sensorless performance at low speed.
The current reconstruction algorithm and PWM phase shift compensation for single-shunt measurement was implemented and verified with MotorControl SDK. As shown in Figure 4-1, two new modules have been added. The first one is the module for three-phase current reconstruction from sampled dc link current by using space vector’s sector information. The second one is the module for PWM compensation to get high enough active vector duration in unmeasurable area. In this module, CMPC and CMPD in ePWM type-4 were selected as ADC SOC trigger sources for sampling dc link current.
Figure 4-2 shows the function of PWM compensation, which is called from main control loop shown in Figure 4-1, for single shunt by using C2000™ device drivers in C2000Ware. This function calls PWM Phase Shift Compensation (DCLINK_SS_pwmCompensation) function as shown in Figure 3-4.
Figure 4-3 shows the timing diagram for ADC sampling and ADC interrupt. CMPC and CMPD in ePWM type-4 were selected as ADC SOC trigger sources for sampling dc link current. So, CMPC and CMPD values are updated every cycle based on shifted PWM CMPB value. Because InstaSPIN-FOC solution needs phase voltage measurement, phase output voltages (Va, Vb, Vc) and dc link voltage are sampled at ePWM1 zero counter. The interrupt service routine (ISR) is triggered by the end of conversion (EOC) of the ADC. In the ISR, the current information measured on the PWM down counter prior to one cycle is used for current control.