forked from nDenerserve/SmartPi
-
Notifications
You must be signed in to change notification settings - Fork 0
Register VLEVEL Calculation
Tricx aka Trickx edited this page Sep 11, 2017
·
9 revisions
The VLEVEL register is used in the algorithm that computes the fundamental active and reactive powers.
The full-scale voltage VFS can be computed, that is, the rms of the sinusoidal voltage that determines a full-scale sinusoid at the voltage channel ADC inputs.
where 

Register VLEVEL shall be initialized by
where 
Note: VLEVEL is converted from float into integer by cutting the decimal points: VLEVEL Code = 846981 ≙ 0xCEC85 .

