Frequently Asked: Difference between revisions

From lechacal
Jump to navigation Jump to search
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:


==Do I need to use a Voltage sensor?==
==Why is the reading not zero when there is no current?==
Yes if you need to do accurate readings.
 
Yes if you are measuring for current direction (e.g. import/export in solar panel).
Also answers '''Why is the CT not showing zero's when not connected?'''


For any other readings using an estimated voltage to obtain is usually sufficient.  
This is due to the  RMS calculation. To have perfect zero would imply the waveform is a perfect straight line.
The CT sensor and the signal chain on the RPICT is analog. This means that noise is also measured. Therefore it reports zero + noise when not connected or without any current flowing across.


For a board setup with the SCT-013-000 and 100A fitted burden resistor one might find a background noise around 0.2A (50W for 240V).
Do take into consideration the range of the board versus the level of noise. In the example the reading range is 100A with a background noise of 0.2A. This is a 0.2% ratio.


==Why is the CT not showing zero's when not connected?==
'''What if I need to read something below or around the noise level?'''


Reading values with the CT unconnected will output a small value. This is normal.
One way to have a lower background noise is to opt for a lower range at purchase time (rating).  


The CT sensor is an analog sensor and has noise. i.e. It will always measure an approximate value. Hence zero + noise when not connected.
Another possibility is to use a voltage sensor and measure Real Power instead of Estimated Power.  


Even if nothing is connected there will be always a tiny current running in the burden resistor inducing a small voltage. In turn this will convert into a small power. For a board setup for the SCT-013-000 with 100A fitted burden resistor one might find a background noise around 0.2A (50W for 240V).
The best way we offer to reduce the background noise to a minimum is using the [[RPICT7V1_Version_4 | RPICT7V1 Version 4]].  


If the admitted noise value appears too high then one might have to opt for lower range burden resistor. Another alternative is to use a voltage sensor to compute Real Power which provide much lower background noise.
'''Can I reduce the background noise with a calibration?''' No.


==CT is clamped but reading does not move==
==CT is clamped but reading does not move==
'''1.''' Make sure the SCT is clamped around A SINGLE PHASE.  
'''1.''' Make sure the SCT is clamped around A SINGLE PHASE.  


Clamping the CT on the whole mains cable will never read anything as it measures two currents. One positive plus one negative which sums to 0 (+noise).  
Clamping the CT on the whole mains cable will never read anything as it measures two currents. One positive plus one negative which sums to 0 (or near 0).  


The easiest quick test is to connect the CT at the meter level on a single phase. Otherwise if willing to measure the power used by a single application then make a special cable that split phases.
The easiest quick test is to connect the CT at the meter level on a single phase. Otherwise if willing to measure the power used by a single application then make a special cable that split phases.
Line 26: Line 29:
'''2.''' If using RPICT7V1 or RPICT4V3 or RPICT3V1 make sure the voltage sensor is plugged in and voltage reading is correct.
'''2.''' If using RPICT7V1 or RPICT4V3 or RPICT3V1 make sure the voltage sensor is plugged in and voltage reading is correct.


'''3.''' Make sure the load applied is sufficient and adapted. If using a 100A range board then a load of minimum 200W should be measure to be clearly visible. Anything in the vicinity of 50 watt would be hidden in noise.
'''3.''' Make sure the load applied is sufficient and adapted. If using a 100A range board then a load of minimum 200W should be applied to be clearly visible. Anything in the vicinity of 50 watt would not stand out much from noise.


==Why is Real Power negative==
==Why is Real Power sometimes negative?==


Real power will be either positive or negative depending on the current direction. If the negative number is not desired flip the CT clamp the other way.
Real power will be either positive or negative depending on the current direction. If the negative number is not desired flip the CT clamp the other way.


==Which pin are used on RPICT series?==
==Do I need to use a Voltage sensor?==
Yes if you need to do accurate readings.
Yes if you are measuring for current direction (e.g. import/export in solar panel).
 
For any other readings using an estimated voltage to obtain is usually sufficient.
 
==Which pins are used on RPICT series?==
 
The Raspberrypi pins the RPICT board uses are listed below.
 
1 - 3.3V (RPICT3T1, RPICT3V1, RPICT4T4)<br>
1 - 3.3V (RPICT3T1, RPICT3V1, RPICT4T4)<br>
2 - 5V (RPICT7V1, RPICT8, RPICT4V3)<br>
2 - 5V (RPICT7V1, RPICT8, RPICT4V3)<br>
Line 38: Line 50:
8 - TXD<br>
8 - TXD<br>
10 - RXD<br>
10 - RXD<br>
==Python 'device reports readiness to read but...' error==
You might encounter the following error when running a Python program.
Traceback (most recent call last):
  File "/usr/local/bin/lcl-rpict-config.py", line 564, in <module>
    L = wait_and_read(options)
  File "/usr/local/bin/lcl-rpict-config.py", line 59, in wait_and_read
    r = ser.read(1)
  File "build/bdist.linux-armv6l/egg/serial/serialposix.py", line 501, in read
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
This is usually due to a duplicate access to the serial port.
To solve this find the other program using the serial port and stop it.
Common causes are:<br>
- Emonhub is already running. Stop it using ''sudo /etc/init.d/emonhub stop''.<br>
- Another python program (or cat) is already running.<br>
- The Raspberrypi has been misconfigured. Make sure you have correctly followed all the steps in [[Howto setup Raspbian for serial read]].<br>

Revision as of 14:30, 20 March 2020

Why is the reading not zero when there is no current?

Also answers Why is the CT not showing zero's when not connected?

This is due to the RMS calculation. To have perfect zero would imply the waveform is a perfect straight line. The CT sensor and the signal chain on the RPICT is analog. This means that noise is also measured. Therefore it reports zero + noise when not connected or without any current flowing across.

For a board setup with the SCT-013-000 and 100A fitted burden resistor one might find a background noise around 0.2A (50W for 240V). Do take into consideration the range of the board versus the level of noise. In the example the reading range is 100A with a background noise of 0.2A. This is a 0.2% ratio.

What if I need to read something below or around the noise level?

One way to have a lower background noise is to opt for a lower range at purchase time (rating).

Another possibility is to use a voltage sensor and measure Real Power instead of Estimated Power.

The best way we offer to reduce the background noise to a minimum is using the RPICT7V1 Version 4.

Can I reduce the background noise with a calibration? No.

CT is clamped but reading does not move

1. Make sure the SCT is clamped around A SINGLE PHASE.

Clamping the CT on the whole mains cable will never read anything as it measures two currents. One positive plus one negative which sums to 0 (or near 0).

The easiest quick test is to connect the CT at the meter level on a single phase. Otherwise if willing to measure the power used by a single application then make a special cable that split phases.

2. If using RPICT7V1 or RPICT4V3 or RPICT3V1 make sure the voltage sensor is plugged in and voltage reading is correct.

3. Make sure the load applied is sufficient and adapted. If using a 100A range board then a load of minimum 200W should be applied to be clearly visible. Anything in the vicinity of 50 watt would not stand out much from noise.

Why is Real Power sometimes negative?

Real power will be either positive or negative depending on the current direction. If the negative number is not desired flip the CT clamp the other way.

Do I need to use a Voltage sensor?

Yes if you need to do accurate readings. Yes if you are measuring for current direction (e.g. import/export in solar panel).

For any other readings using an estimated voltage to obtain is usually sufficient.

Which pins are used on RPICT series?

The Raspberrypi pins the RPICT board uses are listed below.

1 - 3.3V (RPICT3T1, RPICT3V1, RPICT4T4)
2 - 5V (RPICT7V1, RPICT8, RPICT4V3)
6 - GND
8 - TXD
10 - RXD

Python 'device reports readiness to read but...' error

You might encounter the following error when running a Python program.

Traceback (most recent call last):
  File "/usr/local/bin/lcl-rpict-config.py", line 564, in <module>
    L = wait_and_read(options)
  File "/usr/local/bin/lcl-rpict-config.py", line 59, in wait_and_read
    r = ser.read(1)
  File "build/bdist.linux-armv6l/egg/serial/serialposix.py", line 501, in read
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

This is usually due to a duplicate access to the serial port.

To solve this find the other program using the serial port and stop it.

Common causes are:
- Emonhub is already running. Stop it using sudo /etc/init.d/emonhub stop.
- Another python program (or cat) is already running.
- The Raspberrypi has been misconfigured. Make sure you have correctly followed all the steps in Howto setup Raspbian for serial read.