Hello everyone
I am working on Motor control kit (HVACI +PFC v2.1). In all of the example projects there is no usage of voltage feedback(Vfb-U). But I want to use them in my project (because it seems to me more reliable seeing real process especally in case of probable faults)
Declaration of DC bus voltage in one of example projects:
volt1.DcBusVolt = ((AdcMirror.ADCRESULT7)*0.00024414)*0.909; // DC Bus voltage meas.
// (ADCmeas(q12)/2^12)*(3.0V/3.3V) (HVACI_Sensorless.c)
As I understand I must do the same in phase voltage measuring and multiply it on Base peak phase voltage to get real values.
#define BASE_VOLTAGE 236.174 // Base peak phase voltage (volt) (HVACI_Sensorless-settings.h)
But I don`t understand why do we use this coefficient 0.909 (3.0V/3.3V) ? In discription of f28335 ADC there is no reference voltage of 3.3 V(only 3 V) and no other visible voltage sources between voltage devider in phase and input of ADC in controller(sorry I don`t know why but can`t include any picture ).
Also I found in ControlSuite file names HV-DMC-Calculations.xls.(in documentation HVACI +PFC v1.7 ) There I found another Vfb Max =409.9 which calculates as VfsvADC / Gfb(coefficient of voltage devider)
R19+R20 | 1.12E+06 | ohms | Gfb | 0.008 | |
R6 | 9.09E+03 | ohms | |||
VfsvADC | 3.3 | volts | Gadc | 1241 | |
ADC res | 12 | bits | |||
Left Shift | 3 | bits | Gshft | 8 | |
Vfb-U Max | 409.90 | volts | q | 6 |
Please help to understand finaly how to calculate correctly real value of phase voltage from ADC and why do we consider 3.3 V here?
Best regards,
Andrey