logo elektroda
logo elektroda
X
logo elektroda

Sensor for measuring AC current SCT013 30A

grala1 10158 20
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Hello.
    Below is a description of the sensor for non-invasive current measurement up to 30A.
    The sensor can be purchased on Chinese auction portals together with the shipment at a price from about $ 4.5 or on Polish auction portals from about PLN 25 with the shipment.

    Sensor for measuring AC current SCT013 30A

    This sensor is called "Dietz clamp", i.e. it is easier to say that it is an ordinary transformer, but there is no primary winding in it, there is only a secondary winding, and the core of this transformer is divided, so you can fasten it with a cord non-invasively.
    The primary winding will be a wire on which the sensor core will be fastened.
    When using this sensor, a certain rule must be followed - the same as when using clamp meters - i.e. both this sensor and the clamp meter are fastened to only one of the power cables. In the case of fastening it with two wires supplying the device (phase and neutral wire), our sensor will usually show that no current flows through the wire, because as you know - the current in these wires flows in opposite directions and their sum will be zero.

    What is inside our sensor - not much.
    Sensor for measuring AC current SCT013 30A

    As I wrote above - we have a secondary winding with the number of turns 1800, a split core, a PCB, where the ends of the coil winding are connected and a resistor soldered between them. In this case it is a 62? resistor, on which we will measure our voltage from the sensor. For this one-meter cable terminated with a mini Jack plug.

    The "gear" of our sensor is 30/1, i.e. at 30A, the voltage of 1VAC will appear on the sensor plug.
    As the ratio of our sensor is 1: 1800, a current of 30 / (1/1800) = 0.01666A will flow through the secondary winding at 30A. The sensor has a built-in 62? resistor, so from Ohm's law we can calculate that at 30A, 0.01666 * 62 = 1.033V will appear on the sensor plug
    Now we know why the manufacturer gives the information 30A / 1V on the housing.

    Below are some measurements using this sensor.
    Sensor for measuring AC current SCT013 30A

    Here is a graph of the relationship between the measured current and the voltage appearing on the sensor plug.
    The blue line is our sensor measurement, the green line graph pattern.
    Sensor for measuring AC current SCT013 30A

    As you can see - the graph is almost linear and its deviation is not too large from the standard.
    The table also includes the calculated current based on the voltage reading and the percentage error. Here we see a maximum deviation of 5% between what the clamp meter showed and what came out of the voltage-to-current conversion.
    I used a clamp meter for the measurement, so you can't take these results literally.
    As you can see - in a fairly simple way, it is possible to make a non-invasive current measurement in a cheap way, if we do not care about high accuracy.
    This is how cheap clamp meters work, where we can only measure alternating current. Unfortunately, this sensor is not suitable for measuring direct current and in this case you need to use a sensor that uses the Hall effect, e.g. ACS712.

    On Google you can find several examples of connecting this sensor to Arduino with a ready-made program.
    As you can see, in a fairly cheap way (about PLN 30) we can build our own measuring clamps for measuring alternating current. We can also choose different variants of the CST013 sensor - versions are available: 5A, 10A, 15A, 20A, 30A or 100A, but it should be taken into account that the 100A version does not have a built-in resistor.

    In the appendix, the specification of the sensor described here.
    Attachments:
    • SCT-013-030-Datasheet.pdf (488.89 KB) You must be logged in to download this attachment.

    Cool? Ranking DIY
    About Author
    grala1
    VAG group specialist
    Offline 
    grala1 wrote 9812 posts with rating 5036, helped 1495 times. Live in city Kalisz. Been with us since 2006 year.
  • ADVERTISEMENT
  • #2 17040721
    Krzysztof Kamienski
    Level 43  
    Posts: 21874
    Help: 2030
    Rate: 5128
    Ferrite core ...... Not a bad current probe for an oscilloscope. I am buying! even though I have a more advanced one. :D
  • #3 17041030
    Szyszkownik Kilkujadek
    Level 37  
    Posts: 5011
    Help: 211
    Rate: 1008
    I admit that I am very positively surprised by the measurement accuracy.
  • #4 17041087
    andrzejek23
    Level 19  
    Posts: 314
    Help: 21
    Rate: 146
    This is not a sensor.
    This is an ordinary open-core current transformer with a load resistor on the secondary side. The resistor has two functions - measurement of voltage drop as a function of current and protection against damage to the transformer (the loaded current transformer cannot work with the open secondary side).
  • ADVERTISEMENT
  • #5 17064509
    Rysiek.K
    Level 14  
    Posts: 195
    Help: 10
    Rate: 17
    Gentlemen, I made such a sensor, based on the Arduino Uno. The problem is that the measurement is floating - does any of you have an idea where to look for the problem?
    The measurement also flows after the system is completely disconnected from the processor. I chose different values of the sensor resistors next to the sensor and I admit that I'm running out of ideas.
    Have any of you had a similar problem?
  • ADVERTISEMENT
  • #6 17064698
    Szyszkownik Kilkujadek
    Level 37  
    Posts: 5011
    Help: 211
    Rate: 1008
    Did you know you measure alternating current? And therefore sampling must be fast enough ...?
  • #7 17065046
    Rysiek.K
    Level 14  
    Posts: 195
    Help: 10
    Rate: 17
    I know that. I use a ready downloaded from the Netigo academy
    http://akademia.nettigo.pl/power_meter/#kod_programu
    But also, as I wrote, the measurement `` floats '' even when no electricity is connected, or even the sensor itself. I presume that these are some disturbances but I don't know how to get rid of them
  • #8 17065078
    Szyszkownik Kilkujadek
    Level 37  
    Posts: 5011
    Help: 211
    Rate: 1008
    Floats to what extent?
    Have you modified the "calibration" values in your code?
  • #9 17065220
    Rysiek.K
    Level 14  
    Posts: 195
    Help: 10
    Rate: 17
    I modified it but maybe it was done with inappropriate values - I don't know
    For example, when I set the code so that the return value is in the order of 10 - 20, it is like that for some time, then values around 100 and more appear. Maybe you can tell me which values and how to modify it, because I admit that I am a bit green in it
    By the way, I will ask how can this sensor be calibrated? is there any known procedure?
    - I use 1W, 5W and 50 watt bulbs for this purpose, but as I wrote, even if I do not connect the load in the form of a light bulb, the system automatically gives different values

    Below is the code I'm using
    #include "EmonLib.h" // Include Emon Library
    EnergyMonitor emon1; // Create an instance

    void setup ()
    {
    Serial.begin (9600);

    emon1.current (1,111.1); // Current: input pin, calibration.
    }

    void loop ()
    {
    double Irms = emon1.calcIrms (1480); // Calculate Irms only; 1480: number of samples

    Serial.print (Irms * 230.0); // Apparent power
    Serial.print ("");
    Serial.println (Irms); // Irms
    }
  • #10 17083959
    lukiiiii
    Level 29  
    Posts: 1463
    Help: 82
    Rate: 391
    For me, I am distorting it by 0.7A, but the measurement is rather stable.
  • #11 17102758
    Rysiek.K
    Level 14  
    Posts: 195
    Help: 10
    Rate: 17
    OKAY
    I can see that a good calibration helps a little, plus cable shielding and separation of power and CPU from mains interference
  • #12 17108926
    TechEkspert
    Editor
    Posts: 7047
    Help: 16
    Rate: 5458
    There is a wide selection of these transformers with different measuring ranges: http://en.yhdc.com/product1311.html?productId=401
    I had the opportunity to check the 100A / 50mA current transformer: SCT013 100A: 50mA

    The price-quality ratio of these transformers is good, and for more demanding applications it is known that more expensive transformers are needed.
  • #13 20001294
    JohnNeo
    Level 12  
    Posts: 122
    Help: 3
    Rate: 37
    Let me refresh the topic a bit

    Can anyone check how this SCT013 sensor behaves at DC pulses? Will it then show me the current values of the alternating current pulses coming from the DC voltage?

    Regards
  • ADVERTISEMENT
  • #14 20001347
    Krzysztof Kamienski
    Level 43  
    Posts: 21874
    Help: 2030
    Rate: 5128
    JohnNeo wrote:
    Will it then show me the current values of the alternating current pulses coming from the DC voltage?
    Like any transformer :D there will be a "counter-impulse".
  • #15 20001361
    JohnNeo
    Level 12  
    Posts: 122
    Help: 3
    Rate: 37
    I am just asking if someone has tested such a transformer in work with such pulses and will I be able to easily observe these pulses on an oscilloscope?
  • #16 20001371
    Krzysztof Kamienski
    Level 43  
    Posts: 21874
    Help: 2030
    Rate: 5128
    @JohnNeo Yes, I used this transformer at the output of the thyristor DC motor driver and I need to focus a bit on the interpretation of the oscillogram. :cry:
  • #17 20001380
    JohnNeo
    Level 12  
    Posts: 122
    Help: 3
    Rate: 37
    Yes, I understand. Did you have the oscillogram repeatable for particular engine loads?
  • #18 20001384
    Krzysztof Kamienski
    Level 43  
    Posts: 21874
    Help: 2030
    Rate: 5128
    In fact, yes, so many DC pulses were almost mirrored, maybe with a slightly smaller amplitude.
  • #19 20001397
    JohnNeo
    Level 12  
    Posts: 122
    Help: 3
    Rate: 37
    Precise measurements will not be needed. It is enough for me to see the moment of feeding the coils with very short pulses of hundreds of hertz and to be able to, for example, recognize whether any of these coils (with the same parameters) has failed or whether its parameters differ from the norm.
  • #20 20002475
    Krzysztof Kamienski
    Level 43  
    Posts: 21874
    Help: 2030
    Rate: 5128
    This is how this transformer works as an oscilloscope current probe and a 25 kW / 400 VDC driver for my product's motor :D . Four 110 V bulbs are the load so far, so no inductive response.
    Sensor for measuring AC current SCT013 30A Sensor for measuring AC current SCT013 30A Sensor for measuring AC current SCT013 30A
    The H-bridge of the four DC SSRs inverts the stator polarity to change the direction of rotation.
  • #21 20002567
    JohnNeo
    Level 12  
    Posts: 122
    Help: 3
    Rate: 37
    Thank you for the pictures. Helpful post.
📢 Listen (AI):

Topic summary

✨ The SCT013 sensor, also known as a "Dietz clamp," is a non-invasive current transformer designed for measuring AC current up to 30A. Users have reported positive experiences regarding its measurement accuracy and usability as a current probe for oscilloscopes. The sensor operates by fastening around a single power cable, adhering to the same principles as clamp meters. Discussions include calibration challenges, floating measurements, and the sensor's behavior with DC pulses. Users have shared insights on modifying calibration values, shielding, and separating power from CPU interference to improve measurement stability. The SCT013 model is noted for its good price-quality ratio, with alternatives available for different current ranges.
Generated by the language model.

FAQ

TL;DR: DIY tests show the SCT013-030 delivers ±5 % accuracy up to 30 A while “very positively surprised by the measurement accuracy” [Elektroda, Szyszkownik Kilkujadek, post #17041030] It outputs 1 V AC at 30 A thanks to an internal 62 Ω burden [Elektroda, grala1, post #17040711] Why it matters: you can build safe, cheap, non-invasive AC meters for Arduino projects.

Quick Facts

• Output ratio: 30 A : 1 V AC (62 Ω burden) [Elektroda, grala1, post #17040711] • Secondary turns: 1 800 [Elektroda, grala1, post #17040711] • Max observed error: ≤5 % in hobby tests [Elektroda, grala1, post #17040711] • Purchase cost: US $4.5–5 shipped (≈PLN 25) [Elektroda, grala1, post #17040711] • Measures AC only; use Hall sensor for DC [Elektroda, grala1, post #17040711]

What exactly is the SCT013-030 current sensor?

It is an open-core current transformer (CT) with 1 800 secondary turns and a built-in 62 Ω burden resistor. Clamping it over one conductor lets the conductor act as the single-turn primary, inducing a proportional AC voltage on the secondary [Elektroda, grala1, post #17040711]

How do I connect the SCT013 to an Arduino safely?

Wire the 3.5 mm jack tip to an Arduino ADC pin through a 10 kΩ/100 nF low-pass filter; sleeve goes to Arduino GND. Power the Arduino from an isolated supply. Never connect mains neutral or phase to the board [Elektroda, grala1, post #17040711]

Why must I clamp only one conductor, not both?

If you clamp both phase and neutral, their opposite currents cancel, giving nearly zero net magnetic flux, so the CT outputs nothing [Elektroda, grala1, post #17040711]

What voltage and current appear on the secondary at 30 A?

At 30 A primary, 16.7 mA flows in the secondary (30 A / 1 800). Across the 62 Ω burden that yields about 1.03 V RMS [Elektroda, grala1, post #17040711]

Can the SCT013 measure DC or pulsed currents?

It cannot sense steady DC; flux quickly saturates. It does, however, reproduce fast unipolar pulses as brief ‘counter-impulses,’ useful for qualitative oscilloscope work [Elektroda, Krzysztof Kamienski, post #20001371]

My reading floats with no load. What causes it, and how can I fix it?

High-impedance ADC inputs pick up ambient EMI. Shield the CT cable, keep burden close to the Arduino, use twisted pair, and average at least one mains cycle (≈20 ms at 50 Hz) [Elektroda, Rysiek.K, post #17102758]

How can I calibrate SCT013 readings in EmonLib?

Change the calibration constant in emon1.current(pin, cal). Multiply Irms by 230 V and compare to a known load. Adjust until displayed watts match a reference meter [Elektroda, Rysiek.K, post #17065220]

3-step calibration snippet

  1. Connect a resistive load with known current.
  2. Read Irms using emon1.calcIrms(1480).
  3. Modify emon1.current( pin, newCal ) until Arduino power equals reference meter reading.

What sampling rate do I need for 50 Hz mains?

Sample at least 40–50 times per cycle. 1 500 samples over 30 cycles (calcIrms(1480)) gives about 2.5 kSa/s, adequate for 50 Hz [Elektroda, Rysiek.K, post #17065220]

What happens if I open the secondary while the primary is energized?

A CT with open secondary can generate kilovolt spikes and overheat. The internal 62 Ω burden limits this, but avoid disconnecting the load under current [Elektroda, andrzejek23, post #17041087]

Can I feed the 100 A : 50 mA version directly into an ADC?

No. It lacks an internal burden. You must add an external resistor (e.g., 22 Ω for 1.1 V RMS) and still follow isolation practices [Elektroda, TechEkspert, post #17108926]

What other ranges are available and at what cost?

YHDC offers 5, 10, 15, 20, 30, 100 A variants. Prices run US $4–10 depending on range and burden presence [Elektroda, grala1, post #17040711]

How can I use the SCT013 as an oscilloscope current probe?

Clamp it around the conductor and connect the jack tip to the oscilloscope’s 1 MΩ input. Multiply displayed volts by 30 A/V to get current. Users recorded stable waveforms from a 25 kW DC driver [Elektroda, Krzysztof Kamienski, post #20002475]

What safety precautions should I observe?

Work with one hand, isolate the low-voltage side, and fuse the primary circuit. Never expose the CT core to live conductors when open [Elektroda, grala1, post #17040711]
Generated by the language model.
ADVERTISEMENT