Configuration for 3Phase firmware: Difference between revisions

From lechacal
Jump to navigation Jump to search
(Created page with " The configuration for the 3 Phase firmware inherit mostly from the individual channel firmware below. Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - ...")
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:




The configuration for the 3 Phase firmware inherit mostly from the individual channel firmware below.
The configuration for the 3 Phase firmware inherit mostly from the individual channel firmware documented below.<br>
[[Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - Sketch 3.0]]<br>
[[Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - Sketch 3.0]]<br>


This applies for firmware '''RPICT4V3_3Phase_V5_v1.2'''.
This applies to firmware '''RPICT4V3_3Phase_V5_v1.4'''.
 
The 3 Phase firmware allows for computation of three power node at the same time. As opposed to the individual firmware which compute each channel one of after the other.
 
Only 2 nodes are computed.
* 1 3Phase node using
** CT1/V1 for L1
** CT2/V2 for L2
** CT3/V3 for L3
* 1 Current node
** CT4 as current only
 
This is an example configuration.
 
[main]
format = 3
nodeid = 11
polling = 5000
kcal = 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 200.42999267578125 200.42999267578125 200.42999267578125 1.0 74.0739974975586 74.0739974975586  74.0739974975586 74.0739974975586
phasecal = 0
vest = 240.000000
xpFREQ = 50
Ncycle = 20
Nnode = 1
Nchan = 6
HWSCT = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWMCPSCT = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWVOL = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWMCPVOL = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
CHTYPE = 15 11 16 4 14 7 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
CHID = 0 0 0 0 0 0 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
debug = 0
 
HWSCT HWMCPSCT HWVOL HWMCPVOL and CHID are not used. These are normally used by the individual channel firmware.
 
Refer to the individual firmware guide below for the meaning of parameters ''format nodeid polling kcal phasecal vest xpFREQ Ncycle Nnode Nchan''.<br>
[[Over_Serial_Configuration_-_Sketch_3.0 | Over Serial Configuration - Sketch 3.0]]<br>
 
The parameters we focus on here are '''CHTYPE''' and '''CHID'''. This sets how the channels appear in the output.
This is a list of field type to output. The table below gives the meaning of the numbers.
 
{| class="wikitable" 
|+
|-
!CHTYPE
!Channel Type
!Description
|-
|4
|Irms
|Rms current in Amps
|-
|5
|Estimated Power
|Estimated Power in Watts. This is Irms*Vest.
|-
|7
|Temperature
|Temperature (Celsius). Only for RPIZCT4V3T1 & RPIZ_CT4V3T2.
|-
|11
|3Phase Active Power
|Active Power in Watts.
|-
|12
|3Phase Apparent Power
|Apparent Power in Watts.
|-
|13
|3Phase Reactive Power
|Reactive Power in VAR
|-
|14
|3Phase Power Factor
|Power Factor
|-
|15
|3Phase Vrms
|Voltage in Volts
|-
|16
|3Phase Irms
|Rms current in Ampere
|-
|}
 
Any 3Phase field above outputs 3 value respectively for L1 L2 L3.
 
To each CHTYPE correspond a CHID that indicates on which set of sensors the values applies. The table below list all setups. For a single board this is just 0.
 
{| class="wikitable" 
|+
|-
!CHID
!Combination
|-
|0
|v1/v2/v3 with ct1/ct2/ct3 on master board<br>ct4 master as single phase
|-
|1
|v1/v2/v3 with ct1/ct2/ct3 on slave1 board<br>ct4 slave1 as single phase
|-
|2
|v1/v2/v3 with ct5/ct6/ct7 on slave1 board<br>ct8 slave1 as single phase
|-
|3
|v1/v2/v3 with ct1/ct2/ct3 on slave2 board<br>ct4 slave2 as single phase
|-
|4
|v1/v2/v3 with ct5/ct6/ct7 on slave2 board<br>ct8 slave2 as single phase
|-
|}
 
'''Staking'''
The firmware has provision for stacking 2 RPICT8 slave. Giving the possibility to measure up to five 3 phase lines.

Latest revision as of 20:42, 27 January 2022


The configuration for the 3 Phase firmware inherit mostly from the individual channel firmware documented below.
Over Serial Configuration - Sketch 3.0

This applies to firmware RPICT4V3_3Phase_V5_v1.4.

The 3 Phase firmware allows for computation of three power node at the same time. As opposed to the individual firmware which compute each channel one of after the other.

Only 2 nodes are computed.

  • 1 3Phase node using
    • CT1/V1 for L1
    • CT2/V2 for L2
    • CT3/V3 for L3
  • 1 Current node
    • CT4 as current only

This is an example configuration.

[main]
format = 3
nodeid = 11
polling = 5000
kcal = 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 200.42999267578125 200.42999267578125 200.42999267578125 1.0 74.0739974975586 74.0739974975586  74.0739974975586 74.0739974975586
phasecal = 0
vest = 240.000000
xpFREQ = 50
Ncycle = 20
Nnode = 1
Nchan = 6
HWSCT = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWMCPSCT = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWVOL = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
HWMCPVOL = 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
CHTYPE = 15 11 16 4 14 7 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
CHID = 0 0 0 0 0 0 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
debug = 0

HWSCT HWMCPSCT HWVOL HWMCPVOL and CHID are not used. These are normally used by the individual channel firmware.

Refer to the individual firmware guide below for the meaning of parameters format nodeid polling kcal phasecal vest xpFREQ Ncycle Nnode Nchan.
Over Serial Configuration - Sketch 3.0

The parameters we focus on here are CHTYPE and CHID. This sets how the channels appear in the output. This is a list of field type to output. The table below gives the meaning of the numbers.

CHTYPE Channel Type Description
4 Irms Rms current in Amps
5 Estimated Power Estimated Power in Watts. This is Irms*Vest.
7 Temperature Temperature (Celsius). Only for RPIZCT4V3T1 & RPIZ_CT4V3T2.
11 3Phase Active Power Active Power in Watts.
12 3Phase Apparent Power Apparent Power in Watts.
13 3Phase Reactive Power Reactive Power in VAR
14 3Phase Power Factor Power Factor
15 3Phase Vrms Voltage in Volts
16 3Phase Irms Rms current in Ampere

Any 3Phase field above outputs 3 value respectively for L1 L2 L3.

To each CHTYPE correspond a CHID that indicates on which set of sensors the values applies. The table below list all setups. For a single board this is just 0.

CHID Combination
0 v1/v2/v3 with ct1/ct2/ct3 on master board
ct4 master as single phase
1 v1/v2/v3 with ct1/ct2/ct3 on slave1 board
ct4 slave1 as single phase
2 v1/v2/v3 with ct5/ct6/ct7 on slave1 board
ct8 slave1 as single phase
3 v1/v2/v3 with ct1/ct2/ct3 on slave2 board
ct4 slave2 as single phase
4 v1/v2/v3 with ct5/ct6/ct7 on slave2 board
ct8 slave2 as single phase

Staking The firmware has provision for stacking 2 RPICT8 slave. Giving the possibility to measure up to five 3 phase lines.