RPICT7V1 Version 4: Difference between revisions

From lechacal
Jump to navigation Jump to search
No edit summary
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:IMG_1892_small.png | right | 400px]]
[[File:IMG_1892_small.png | right | 400px]]


RPICT7V1 (This covers for hardware versions 4)
RPICT7V1 Version 4


[http://lechacalshop.com/gb/internetofthing/65-rpict7v1version4.html Link to shop]
[[File:Link_to_the_shop.png | link=http://lechacalshop.com/gb/internetofthing/65-rpict7v1version4.html ]]


This page is for board specific information. More information can be found on the [[Raspberrypi_Current_and_Temperature_Sensor_Adaptor | generic page for RPICT series]].
This page is for board specific information. More information can be found on the [[Raspberrypi_Current_and_Temperature_Sensor_Adaptor | generic page for RPICT series]].


[[File: IMG_1128_small.png | right| 400px]]
The RPICT7V1 version 4 differ from version 3 & 5 on the implementation of top end instrumentation amplifiers instead of just a burden resistor. This allow to have an optimum burden resistor and more flexibility on the measured range. Additionally Version 4 is able to support voltage output CT which version 3 & 5 can not.  


* 7 AC current sensors.
* 7 AC current sensors.
* 1 AC Voltage sensor.
* 1 AC Voltage sensor.
* Measure RMS Current and Voltage, Active power, Apparent Power, Power Factor.
* Measure RMS Current and Voltage, Active power, Apparent Power, Power Factor, Reactive Power.
* Fit on Raspberrypi 4 holes mounting pattern.
* Fit on Raspberrypi 4 holes mounting pattern.
* AtMega328 Mcu (Arduino UNO)
* AtMega328 Mcu (Arduino UNO)
* MCP3208 ADC
* MCP3208 12bit ADC
* Stackable with itself, RPICT8 and RPICT4V3.
* High precision Instrumentation Amplifier AD623.
* Supports both Current or Voltage output CT.




Line 39: Line 40:
|-
|-
|Raspberrypi 3 B+
|Raspberrypi 3 B+
|Yes
|-
|Raspberrypi 4 B
|Yes
|-
|Raspberrypi 5
|Yes
|Yes
|-
|-
|}
|}
==Recommended sensors==
 
* Asus Tinkerboard has been reported to work with RPICT units. Note we wont be able to provide support for the Tinkerboard.
 
==Recommended Sensors==


[[File:IMG_1125_small.png | right | 300px]]
[[File:IMG_1125_small.png | right | 300px]]
* AC Current sensor:
** SCT-013-000
** SCT-019
** SCT-006
* AC Voltage sensor:
** UK: 77DB-06-09
** EU: 77DE-06-09
** US: 77DA-10-09


VOLTAGE OUTPUT CT ARE NOT COMPATIBLE WITH THIS BOARD.
===AC Current===
Both current and voltage output are supported. Select between current or voltage CT support is made at purchase time.
 
* Current Output CT
** SCT-013-000 100A/50mA
** SCT-019 200A/33mA
** SCT-006 20A/25mA
** SCT-024 400A/100mA
** SCT-031 600A/100mA
* Voltage Output CT
** SCT-013-005
** SCT-013-010
** SCT-013-015
** SCT-013-020
** SCT-013-025
** SCT-013-030
** SCT-013-050
** SCT-013-060
 
Other CT sensor than the one listed here can be supported too. Contact us to enquire.
 
For Current output CT the RPICT board will have a burden resistor fitted.
 
For Voltage output CT there will be no burden resistor installed as this is already set inside the CT itself. The pro for this is the ability for the user to be able to change CT using the same RPICT7V1 Version 4 unit. Only the calibration coefficient has to be modified in the configuration.
In the case of CT SCT-013-0XX the calibration coefficient equates to the last 2 digits divided by 1.5. e.g. SCT-013-030 ICAL is 30/1.5=20.
 
===AC Voltage sensor===
 
* UK: 77DB-06-09
* EU: 77DE-06-09
* US: 77DA-10-09
 
* ZMPT101B
 
==Amplification Level==
 
The new feature about RPICT7V1 Version 4 is the addition of instrumentation amplifiers AD623. This brings very sensitive and accurate method to measure physical values. Outstanding stability of the results has also been noticed.
 
Moreover the amplification level allows for more flexibility on the choice of the burden resistor. The scale is no longer depending on it. Hence improving on the linearity of the CT output for low current readings.
 
Read the following page to find out how resistors are calculated.<br>
[[Amplification RPICT7V1 Version 4]]


==Stacking Configuration==
==Stacking Configuration==
[[File: IMG_0980_small.png | right | 300px]]
Version 4 can not be stacked at this stage. Contact us for enquiries on stacking development.
General stacking information is described in the RPICT stacking page.
[[RPICT_Stacking]]


==Software Configuration==
==Software Configuration==
Line 71: Line 112:


The documentation for serial configuration can be found on this page. <br>
The documentation for serial configuration can be found on this page. <br>
[[Over Serial Configuration - Sketch 2.2]]<br>
[[Over Serial Configuration - Sketch 2.3]]<br>
[[Over Serial Configuration - Sketch 2.4]]<br>
[[Over Serial Configuration - Sketch 2.5]]<br>
[[Over Serial Configuration - Sketch 2.6]]<br>
[[Over Serial Configuration - Sketch 2.8]]<br>


[[Over Serial Configuration - Sketch 3.0]]<br>
[[Over Serial Configuration - Sketch 3.0]]<br>


[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/v3.0/]] The board can be configured with the [http://lechacal.com/RPICT/config/generator/v3.0/ online configurator].
[[File:Online_config_01.png | 300px| link=http://lechacal.com/RPICT/config/generator/v3.1/]] The board can be configured with the [http://lechacal.com/RPICT/config/generator/v3.1/ online configurator].


==Files==
==Files==
Line 86: Line 121:
===Default Sketch===
===Default Sketch===


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_5.ino Default Sketch V2.5.]<br>
[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3.2.0.ino Default Sketch V3.2.0.]<br>


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_6_3.ino Default Sketch V2.6.]<br>
==Data Output==


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_7_1.ino Default Sketch V2.7.1.]<br>
Using the manufacture firmware the data output is:


[http://lechacal.com/RPICT/7CT1V/RPICT7V1_v2_8_0.ino Default Sketch V2.8.0.]<br>
NodeID RP1 RP2 RP3 RP4 RP5 RP6 RP7 Irms1 Irms2 Irms3 Irms4 Irms5 Irms6 Irms7 Vrms


[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3_0_0.ino Default Sketch V3.0.0.]<br>
RP1 is Real Power 1 from CT1
Irms is the rms current on CT1
Vrms is the rms voltage


[http://lechacal.com/RPICT/7CT1V/RPICT_MCP3208_v3.0.1.ino Default Sketch V3.0.1.]<br>
Real Powers are computed using the following rules:


===noOSC Sketch===
RealPower1 -> CT1 & V1<br>
The Default sketch allows up to 28 computation nodes to be run. If more are needed for higher stacks then we recommend to use the noOSC sketch. This is the same as the default sketch but Over Serial Configuration (OSC) as been removed to allow up to 40 nodes to be computed. Configuration has to be edited in the sketch.
RealPower2 -> CT2 & V1<br>
... and so on.


[http://lechacal.com/RPICT/7CT1V/RPICT_noOSC_v1_0.ino noOSC Sketch v1.0]<br>
These rules can be modified in the configuration if needed.
[http://lechacal.com/RPICT/7CT1V/RPICT_noOSC_v1_1.ino noOSC Sketch v1.1]<br>
 
Other output type can be streamed out. This should be configured in the unit.  
 
All outputs type available are
* Vrms (V)
* Irms (mA)
* Real Power (W)
* Apparent Power (W)
* Power Factor
* Estimated Power
* Frequency
* Reactive Power
 
'''Note concerning nan's'''<br>
Version 4 in particular will output nan when no sensor is connected. In the particular case of the RPICT7V1 you should ensure the voltage sensor is connected otherwise both the voltage reading and associated CT port will output nan.
Also the default configuration only output the voltage reading associated with CT1. Therefore you will find Vrms showing nan if CT1 is not connected.


==Emoncms Config (Emonhub)==
==Emoncms Config (Emonhub)==
Line 125: Line 178:
==Related Pages==
==Related Pages==


[[Use Emonhub with RPICT]]
[[Howto setup Raspbian for serial read]]


[[Howto setup rpi3 for CSV reading]]
[[Gen4_Passive_Component_Setup]]


[[How to calibrate the Voltage Port]]
[[How to calibrate the Voltage Port]]


[[Update RPICT firmware (CT7V1/CT4V3/CT8)]]
[[Update RPICT firmware (CT7V1/CT4V3/CT8)]]
[[Gen4_Passive_Component_Setup]]

Latest revision as of 12:50, 11 November 2023

RPICT7V1 Version 4

This page is for board specific information. More information can be found on the generic page for RPICT series.

The RPICT7V1 version 4 differ from version 3 & 5 on the implementation of top end instrumentation amplifiers instead of just a burden resistor. This allow to have an optimum burden resistor and more flexibility on the measured range. Additionally Version 4 is able to support voltage output CT which version 3 & 5 can not.

  • 7 AC current sensors.
  • 1 AC Voltage sensor.
  • Measure RMS Current and Voltage, Active power, Apparent Power, Power Factor, Reactive Power.
  • Fit on Raspberrypi 4 holes mounting pattern.
  • AtMega328 Mcu (Arduino UNO)
  • MCP3208 12bit ADC
  • High precision Instrumentation Amplifier AD623.
  • Supports both Current or Voltage output CT.


Compatibility

Version Compatible?
Raspberrypi 1 A No
Raspberrypi 1 B+ Yes
Raspberrypi 2 B Yes
Raspberrypi 3 B Yes
Raspberrypi 3 B+ Yes
Raspberrypi 4 B Yes
Raspberrypi 5 Yes
  • Asus Tinkerboard has been reported to work with RPICT units. Note we wont be able to provide support for the Tinkerboard.

Recommended Sensors

AC Current

Both current and voltage output are supported. Select between current or voltage CT support is made at purchase time.

  • Current Output CT
    • SCT-013-000 100A/50mA
    • SCT-019 200A/33mA
    • SCT-006 20A/25mA
    • SCT-024 400A/100mA
    • SCT-031 600A/100mA
  • Voltage Output CT
    • SCT-013-005
    • SCT-013-010
    • SCT-013-015
    • SCT-013-020
    • SCT-013-025
    • SCT-013-030
    • SCT-013-050
    • SCT-013-060

Other CT sensor than the one listed here can be supported too. Contact us to enquire.

For Current output CT the RPICT board will have a burden resistor fitted.

For Voltage output CT there will be no burden resistor installed as this is already set inside the CT itself. The pro for this is the ability for the user to be able to change CT using the same RPICT7V1 Version 4 unit. Only the calibration coefficient has to be modified in the configuration. In the case of CT SCT-013-0XX the calibration coefficient equates to the last 2 digits divided by 1.5. e.g. SCT-013-030 ICAL is 30/1.5=20.

AC Voltage sensor

  • UK: 77DB-06-09
  • EU: 77DE-06-09
  • US: 77DA-10-09
  • ZMPT101B

Amplification Level

The new feature about RPICT7V1 Version 4 is the addition of instrumentation amplifiers AD623. This brings very sensitive and accurate method to measure physical values. Outstanding stability of the results has also been noticed.

Moreover the amplification level allows for more flexibility on the choice of the burden resistor. The scale is no longer depending on it. Hence improving on the linearity of the CT output for low current readings.

Read the following page to find out how resistors are calculated.
Amplification RPICT7V1 Version 4

Stacking Configuration

Version 4 can not be stacked at this stage. Contact us for enquiries on stacking development.

Software Configuration

Using a serial line terminal program one can configure the following:

- Polling interval
- Output format (csv or emonhub)
- Calibration values (Voltage and Current)
- Voltage/current combinations for real power computation.
- Output channels

The documentation for serial configuration can be found on this page.

Over Serial Configuration - Sketch 3.0

The board can be configured with the online configurator.

Files

Default Sketch

Default Sketch V3.2.0.

Data Output

Using the manufacture firmware the data output is:

NodeID RP1 RP2 RP3 RP4 RP5 RP6 RP7 Irms1 Irms2 Irms3 Irms4 Irms5 Irms6 Irms7 Vrms

RP1 is Real Power 1 from CT1 Irms is the rms current on CT1 Vrms is the rms voltage

Real Powers are computed using the following rules:

RealPower1 -> CT1 & V1
RealPower2 -> CT2 & V1
... and so on.

These rules can be modified in the configuration if needed.

Other output type can be streamed out. This should be configured in the unit.

All outputs type available are

  • Vrms (V)
  • Irms (mA)
  • Real Power (W)
  • Apparent Power (W)
  • Power Factor
  • Estimated Power
  • Frequency
  • Reactive Power

Note concerning nan's
Version 4 in particular will output nan when no sensor is connected. In the particular case of the RPICT7V1 you should ensure the voltage sensor is connected otherwise both the voltage reading and associated CT port will output nan. Also the default configuration only output the voltage reading associated with CT1. Therefore you will find Vrms showing nan if CT1 is not connected.

Emoncms Config (Emonhub)

Make sure you read this first.

For default configuration. Used as single board only (not stacked).

 [[11]]
   nodename = my_RPICT7V1
   hardware = RPICT7V1
   [[[rx]]]
      names = RP1, RP2, RP3, RP4, RP5, RP6, RP7, Irms1, Irms2, Irms3, Irms4, Irms5, Irms6, Irms7, Vrms
      datacode = 0
      scales = 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
      units =W,W,W,W,W,W,W,mA,mA,mA,mA,mA,mA,mA,V


Related Pages

Howto setup Raspbian for serial read

Gen4_Passive_Component_Setup

How to calibrate the Voltage Port

Update RPICT firmware (CT7V1/CT4V3/CT8)

Gen4_Passive_Component_Setup