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.
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.
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.
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.
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.
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).
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?
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
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
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.
This is how this transformer works as an oscilloscope current probe and a 25 kW / 400 VDC driver for my product's motor . Four 110 V bulbs are the load so far, so no inductive response. The H-bridge of the four DC SSRs inverts the stator polarity to change the direction of rotation.