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
_iq EST_getDcBus_pu(EST_Handle handle)
Gets the DC bus value from the estimator in per unit (pu), IQ24. This value is originally passed as a parameter when calling function EST_run(). A similar function can be simply reading what has been read and scaled by the ADC converter on pAdcData->dcBus. This value is used by the libraries internally to calculate one over dcbus, which is a value used to compensate the proportional gains of the current controllers. The following example shows how to use this function to calculate a DC bus value in kilo volts:
#define USER_IQ_FULL_SCALE_VOLTAGE_V (300.0)
_iq Vbus_pu = EST_getDcBus_pu(handle);
_iq Vbus_pu_to_kV_sf = _IQ(USER_IQ_FULL_SCALE_VOLT
_iq Vbus_kV = _IQmpy(Vbus_pu,Vbus_pu_to_kV_sf);
The estimator (EST) handle
The DC bus value, pu