SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
In order to determine the amplitude of the current to be injected into the stator, the following parameter from user.h (USER_MOTOR_RES_EST_CURRENT) is divided by 2.
For example, the following parameter in user.h having a value of 1.0 for USER_MOTOR_RES_EST_CURRENT would inject ½ of the value, or 0.5 A. The ramp rate of this injected current is 0.5 seconds to reach the target current amplitude.
#define USER_MOTOR_RES_EST_CURRENT (1.0)
As a general guideline this current needs to be high enough to produce significant number of bits in the ADC measurement, but not too high that causes motor motion or motor overheating. This general rule results in a current of approximately 10% to 20% of the rated phase current of the motor.