Current Sensor SCT013 overload

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Tobi993
Normal user
Posts: 18
Joined: 08 Nov 2017, 08:03

Current Sensor SCT013 overload

#1 Post by Tobi993 » 08 Nov 2017, 08:11

Good morning!

I have a SCT013 15A sensor with a build it 53Ohm resistor to check the power of my heat pump.
Sometimes the Current through the clamp goes over 15A.
Could the CT be damaged? It which value? Some experience?

Thank you!
Tobi

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#2 Post by TD-er » 09 Nov 2017, 13:53

This SCT013 sensor looks like a clamp sensor. So there will be no big currents through the sensor itself.
It is working on induction.
According to this link, the current through the sensor itself is 0.05A when the current through the measured line = 100A.

However, it looks like a AC sensor, so make sure your pump is running on AC, not DC. DC currents can probably not be measured with such a sensor. That would require something with a Hall-effect sensor or a shunt in series with the load.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current Sensor SCT013 overload

#3 Post by papperone » 09 Nov 2017, 14:47

There are different version of SCT-013 clamp sensor as per below table:
Image

Only tha 100A version output in current, the others (like the 15A mentioned here) output in voltage (range is 0-1V = 0-maxA).
Not sure what will happens with more current (I doubt sensor can be damaged) but you need to have a proper circuit to have proper reading and not just attach it to the ADC pin of ESP8266!!
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#4 Post by TD-er » 09 Nov 2017, 16:19

Do these sensors output a DC voltage? Or is it AC? (looks AC to me)
If AC, then it will be quite hard to measure directly from a ESP chip.
I guess you would need some external circuit to sample the AC voltage, determine Vrms and let the ESP then read that value from there.

Also a 0..1V signal in AC will probably reach higher levels than 1Vpp.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Current Sensor SCT013 overload

#5 Post by Shardan » 09 Nov 2017, 18:23

These sensors give AC voltage so direct connection to the ESP is not a good idea.

Worse, it is ac voltage - so direct rectifying with a diode won't work properly.
Even schottky diodes have a voltage loss.

You can make it work with a rectifying amplifier (Operational amplifier with diodes)
See wikipedia: https://en.wikipedia.org/wiki/Precision_rectifier

Some filtering behind the rectifier will be necessary.

Regards,
Shardan
Regards
Shardan

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#6 Post by TD-er » 09 Nov 2017, 20:30

Shardan wrote: 09 Nov 2017, 18:23 These sensors give AC voltage so direct connection to the ESP is not a good idea.

Worse, it is ac voltage - so direct rectifying with a diode won't work properly.
Even schottky diodes have a voltage loss.

You can make it work with a rectifying amplifier (Operational amplifier with diodes)
See wikipedia: https://en.wikipedia.org/wiki/Precision_rectifier

Some filtering behind the rectifier will be necessary.
Perhaps even better is it to add a capacitor like in the "peak detector" section of that Wikipedia page and a transistor to reset the value.
Then you can perform a measurement.

Only thing is that the measured peak value may not be a good indicator of the actual power used by the device monitored.
Especially with an inductive device like a pump, the peak may be a lot higher.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current Sensor SCT013 overload

#7 Post by papperone » 09 Nov 2017, 21:00

OpenEnergyMonitor uses those sensors with Arduino --> https://openenergymonitor.org/forum-arc ... e/156.html
Of course you need sampling as Voltage is AC, as well if you plan to use the 100A version is even more tricky as it outputs is current...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Current Sensor SCT013 overload

#8 Post by Shardan » 09 Nov 2017, 22:53

papperone wrote: 09 Nov 2017, 21:00 OpenEnergyMonitor uses those sensors with Arduino --> https://openenergymonitor.org/forum-arc ... e/156.html
Of course you need sampling as Voltage is AC, as well if you plan to use the 100A version is even more tricky as it outputs is current...
I've done such a circuit - if it is current it is easier. As it is current the diodes voltage drop is far less important.
I found this circuit a while agon in the net:
.
Stromwandler_Verstaerker.png
Stromwandler_Verstaerker.png (3.72 KiB) Viewed 17633 times
.
I ommited the OpAmp and connected the filtered voltage from C2 to a ADS1115.

The voltage depends on the load resistor (R1) and the current the converter coil generates.
Usually you will find the value for R1 in the data sheet of the converter coils.

Regards
Shardan
Regards
Shardan

Tobi993
Normal user
Posts: 18
Joined: 08 Nov 2017, 08:03

Re: Current Sensor SCT013 overload

#9 Post by Tobi993 » 10 Nov 2017, 08:13

Folks, the current measurement is still running!

Take a look here:

http://www.homautomation.org/2013/09/17 ... d-arduino/
Than I forward the measurement data from Arduino to the ESP by I2C and than via MQTT to my Homeautomation visualisation "iobroker".
It works fine, maybe +/-5% precise, but that is enough for me.

The only question I have is, if an over current could damage the CT. At the moment I have just this 15A version, and I measured already 4500W (at230V)!
30A and 100A pieces are ordered...

Thank you!

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Current Sensor SCT013 overload

#10 Post by grovkillen » 10 Nov 2017, 08:44

I found this blog post interesting on this particular topic: https://www.alanpullen.uk/projects/pi-w ... nsor-node/
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Tobi993
Normal user
Posts: 18
Joined: 08 Nov 2017, 08:03

Re: Current Sensor SCT013 overload

#11 Post by Tobi993 » 10 Nov 2017, 09:17

Similar, but I take the EasyESP PME devive to transmit it over MQTT

...and it says nothing about over current.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#12 Post by Domosapiens » 10 Nov 2017, 11:43

Could be a little late,
but these give a DC output
Image
Bought here:
https://nl.aliexpress.com/item/YHDC-SCT ... 263.rkS8cu
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current Sensor SCT013 overload

#13 Post by papperone » 10 Nov 2017, 12:33

Nice findings those new "digital" version which outputs 0-5VDC :)
I guess I will order one for testing...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Current Sensor SCT013 overload

#14 Post by grovkillen » 10 Nov 2017, 12:39

"built in overload protection" thumbs up!

This one is rated for 50A:
https://www.aliexpress.com/item/Free-sh ... f831&tpp=1
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current Sensor SCT013 overload

#15 Post by papperone » 10 Nov 2017, 12:51

yep!
just placed order for 5A, 25A and 50A models ;)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#16 Post by Domosapiens » 10 Nov 2017, 14:05

@papperone:
50 Amp? What do you do with that? :o
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Current Sensor SCT013 overload

#17 Post by papperone » 10 Nov 2017, 20:51

Domosapiens wrote: 10 Nov 2017, 14:05 @papperone:
50 Amp? What do you do with that? :o
At home my power meter is abel to provide up to 6.6kW, which divided by 230VAC brings to almost 30A (28.8A) thus the 25A could potentially get saturated...
(yes we have a very big house and in summer time with all airco pumps on we consume a lot of energy :(
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#18 Post by Domosapiens » 11 Nov 2017, 13:49

with all airco pumps on we consume a lot of energy
.
Wow! If you need airco, then it is time for some solar panels!

This is how I use the clamp.
A short extension wire, where Lead (brown) is separated from Null and Earth:
20171110_150020_small.jpg
20171110_150020_small.jpg (522.82 KiB) Viewed 17788 times
With this cord I have the plan to define the state of my gas heating system (CV in Dutch):
Standby/Pump running/Heating gives 10/70/90Watt.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#19 Post by TD-er » 12 Nov 2017, 00:45

@Domosapiens.
Just make sure you don't "reken jezelf rijk" ;) (Dutch for over-estimating things)
The power consumption of a pump is quite hard to measure, since its cos-phi is almost never equal to 1.
In other words, when measuring with a clamp, you have to take the Voltage into account or else you will miss the phase shift and then your estimate will be too high.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#20 Post by Domosapiens » 12 Nov 2017, 16:26

@TD-er
Yes I know about cos-phi.
But my application is to define the state of the CV (boiler/heater).
No need for precise Watt reading.

Btw:
Seen your nick-name: are you (former) RNLN?
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#21 Post by TD-er » 13 Nov 2017, 16:59

Domosapiens wrote: 12 Nov 2017, 16:26 @TD-er
[....]
Btw:
Seen your nick-name: are you (former) RNLN?
Nope, had nothing to do with RNLN.
I'm active with the same nick on Tweakers.net

parbar
Normal user
Posts: 13
Joined: 28 Oct 2015, 07:26

Re: Current Sensor SCT013 overload

#22 Post by parbar » 27 Nov 2017, 10:36

Hi,

I jump in to this thread, hope its ok. I'm also interested of the SCTD 010T as it sounds easy to connect to an arduino as it has 0-5 v output. My goal is to measure the mains to the house, both for fun and also to check distribution of the loads (3-phase system). Then of course some kind of warning when current is high and risk of blowing a fuse.

I have not seen the SCTD 010T until this thread and there are limit info on the internet. Already been playing with the sct 013 (emoncms) but the SCTD 010T seems easier just to plug into an adc port.

Have you guys recived your SCTD 010T (thinking of papperone and Domosapiens) and can give some hands on feedback?

Thanks,
Pär

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#23 Post by Domosapiens » 27 Nov 2017, 12:52

As you can see in the previous picture, I have the SCTD 010T-5Amp.
It's under test.
I use it to measure the type of activity of my central heating.
Central heating using between 10-100 Watt.
SCTD 010T-5Amp results between 8 and 60mV on the breadbord.
For me there is no need to re-calculate it to Volt*Ampere (VA).
(calculation to "Watt" is not possible, because you don't know the phase relationship between Volt and Ampere)
From the 8-60mV, I can define the state of the central heating (off - pump - burning).
Currently experimenting with a "running average" filter for the 10 second samples: (Vt + Vt-1 + Vt-2)/3 to smooth out some inductive start-peaks
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

parbar
Normal user
Posts: 13
Joined: 28 Oct 2015, 07:26

Re: Current Sensor SCT013 overload

#24 Post by parbar » 27 Nov 2017, 15:55

Thanks fro the reply. I think I will make an order soon for the 50 A version. I notice that they have in 5 packs on aliexpress.To bad its not 6 pack then I would have for 2 three phase setups.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Current Sensor SCT013 overload

#25 Post by Domosapiens » 27 Nov 2017, 17:01

You can ask !
Put 5+1 in the shopping card.
Go to payment.
Select other method and stop.
Message the seller and ask to adjust the price of your card.
It did work for me a few times with other shops.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

tchi59
Normal user
Posts: 26
Joined: 24 Jun 2021, 15:04

Current Sensor SCT013

#26 Post by tchi59 » 02 Apr 2023, 21:10

Hi
I am a little bit lost in that SCT clamp
If i am right there are 2 kinds of SCT
1/ SCT-013-000 Primary AC current: 100A => With current output
2/ SCT-013-005/010/020 Primary AC current: 5A => With voltage output

Let 's explain my project.
I want to use an ESP32 to read AC consumption at home (230V)

questions:

1/ What is the best solution in term of CT Clamp (current or voltage) ?

2/ How to interface CT Clamp with ESP32 micro controller ? do i need a dedicated card ?

3/ What library to use in arduino ide?

Thx in advance
Best Regards

TD-er
Core team member
Posts: 8729
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Current Sensor SCT013 overload

#27 Post by TD-er » 02 Apr 2023, 22:05

These are just simple convertors from AC current to DC voltage.
So there's nothing really needed as ESPEasy has support for lots of ADCs.

But why not use something like the PZEM-004Tv30 ?
See: https://espeasy.readthedocs.io/en/lates ... #p102-page

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 24 guests