Calibration VCAL ICAL PHASECAL: Difference between revisions
(→KCAL) |
(→KCAL) |
||
Line 89: | Line 89: | ||
As mentioned above KCAL parameters is an array containing both ICAL and VCAL. We show here below the location of each channel for each board. | As mentioned above KCAL parameters is an array containing both ICAL and VCAL. We show here below the location of each channel for each board. | ||
Value with a 1. are placeholder and do not have any action on the device. | |||
===RPICT3T1 & RPIZ_CT3T1=== | ===RPICT3T1 & RPIZ_CT3T1=== | ||
Line 100: | Line 102: | ||
kcal = 83.33 83.33 83.33 1. 1. 1. 1. 545.0 | kcal = 83.33 83.33 83.33 1. 1. 1. 1. 545.0 | ||
kcal = ct1 ct2 ct3 1. 1. 1. 1. V1 | kcal = ct1 ct2 ct3 1. 1. 1. 1. V1 | ||
===RPICT7V1 all versions=== | |||
kcal = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 560.0 83.33 83.33 83.33 83.33 83.33 83.33 83.33 | |||
kcal = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 V1 ct7 ct6 ct5 ct4 ct3 ct2 ct1 |
Revision as of 18:20, 21 October 2020
This guide covers calibration of AC factors VCAL ICAL PHASECAL used with RPICT series and Emonwrt3.
Overview
For AC related measures there are 3 coefficients. VCAL ICAL and PHASECAL.
These coefficients are set by default at manufacturing time. These are normally good enough to operate straight away and provide a decent reading.
All sensors although all produced identically have minor differences between them. This also applies for the ADC and passive components on the RPICT board. Therefore one may want to adjust the calibration coefficients to get more accurate values.
To achieve this a high quality multimeter or scope will be required. This will be the reference system that we will trust as being right.
Voltage VCAL
-1-
Take a note of the VCAL value currently setup in the configuration. Say this is VCAL = 545.0 in our example.
For this you might use the lcl-rpict-config.py function without options.
lcl-rpict-config.py
Reset the RPICT board for the command to complete. Then open the file located in /tmp/rpict.conf.
nano /tmp/rpict.conf
In this file you will find a line with KCAL. The KCAL parameter contains both VCAL and ICAL. See the section below to find which one is which.
Take a note of the VCAL value that applies to the channel you are calibrating and close nano with Ctrl X.
-2-
Connect the voltage sensor (ac/ac or zmpt) to the board to be tested and note the reading of the measured voltage given by the RPICT. Let's say in our case we get Vmes = 269.5V.
To achieve this you can just read the serial port with the cat command or any other program you might have.
stty -F /dev/ttyAMA0 raw speed 38400 cat /dev/ttyAMA0
-3-
Use the multimeter to read the real voltage value. Say in our case we get Vreal = 245.6V
-4-
Calculate the new VCAL as such
newVCAL = VCAL*Vreal/Vmes
For us here this is newVCAL = 545*245.6/269.5 = 478.44
-5-
Enter the newVCAL value in the configuration.
Open the file again
nano /tmp/rpict.conf
Then modify the appropriate value in the KCAL parameter.
Reupload the config to the device using
lcl-rpict-config.py -w /tmp/rpict.conf
Current ICAL
Calibrating current is the same procedure as explained for Voltage above. The new calibration formulae is
newICAL = ICAL*Ireal/Imes
Ireal being the current measured by the trusted multimeter. Imes being the current measured initially by the RPICT board.
PHASECAL
In general Phasecal does not need to be any different from 0. Giving any other value to PhaseCal will shift the voltage signal against the current signal to compute power.
Only modify this parameter if you have strong belief there are needs to shift signal once against the other. e.g. you are using a sensor inducing phase shift. We anticipate this to probably never happen. Nevertheless the option is available.
-1-
Make sure PHASECAL is set to 0 in the configuration.
-2-
Configure the board to output Power Factor.
-3-
Use a purely resistive load like a radiator or a kettle.
-4-
Adjust Phasecal in the configuration until PowerFactor equal to 1 or slightly smaller. We recommend iterating in steps of 1. If PhaseCal = 0 then try -1 +1 -2 +2 etc until PowerFactor reaches a value close to 1.
KCAL
As mentioned above KCAL parameters is an array containing both ICAL and VCAL. We show here below the location of each channel for each board.
Value with a 1. are placeholder and do not have any action on the device.
RPICT3T1 & RPIZ_CT3T1
kcal = 83.33 1. 1. 83.33 1. 1. 1. 83.33 kcal = ct1 1. 1. ct2 1. 1. 1. ct3
RPICT3V1 & RPIZ_CT3V1
kcal = 83.33 83.33 83.33 1. 1. 1. 1. 545.0 kcal = ct1 ct2 ct3 1. 1. 1. 1. V1
RPICT7V1 all versions
kcal = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 560.0 83.33 83.33 83.33 83.33 83.33 83.33 83.33 kcal = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 V1 ct7 ct6 ct5 ct4 ct3 ct2 ct1