UM0527
General description
29/66
Figure 12.
Main flowchart
1.2.5 ADC
The ADC thread measures values as described below:
●
Mains voltage - the voltage measured at INP_LEV is needed for calculating the
following values:
–
RMS - true RMS main voltage which determines the working mode of the UPS:
mains mode, buck mode, boost mode or inverter mode. This value is calculated for
one period of input voltage.
–
SAMPLE - actual sample voltage which is the value needed for calculating RMS.
Additionally this value is needed to compare with the predicted value of the mains