Hi , I 'm currently reading the code in
C:\ti\controlSUITE\development_kits\HV_SOLAR_DC_AC_v1.1\SolarHv_DCAC_PiccoloB_Rev_02
the main code
dwBus_Voltage_Ratio = _IQ18(993.3);
dwInv_Current_Ratio = _IQ18(20.6612);
dwInv_Voltage_Ratio= _IQ18(996.6);
which is not match the documentation from
C:\ti\controlSUITE\development_kits\HV_SOLAR_DC_AC_v1.1\~Docs\Solar HV DC-AC Kit User Guide_Rev1.0.pdf
Page 8 the section part 2.1.3 the signal sensing
the K factor for DC bus is 0.003322
current is 0.15974
grid voltage is 0.003311
it is not equal IQ18(993.3)
it suppose to be following :
IQ18 = 2^18 then
x / (2^18) = 0.003322 x should be 870.84 but the code is _IQ18(993.3);