Talking of isolation, for ages people have been using resistive isolation with high value resistors and Op Amp for measuring high AC voltage with Arduino.The chips will measure AC voltage but you have to provide voltage levels suitable for the IC to measure by attenuating your source. Also as your talking High Voltage AC and Arduino you would certainly require ISOLATION in your mains circuit or you would be kissing your Arduino, Computer and anything else goodbye. Best way to experiment with AC would be to use a step down tranformer to give you low voltage AC and then experiment with the IC's from there, if you know the turns ratio you can calculated the input mains from the measured low voltage. Its not precision but for learning its perfect..
Talking of isolation, for ages people have been using resistive isolation with high value resistors and Op Amp for measuring high AC voltage with Arduino.
I know many safe ways to handle the high voltage AC voltage which is priority whenever one is dealing with such high voltage.
Here, what I need most here is whether I can use these RMS to DC Converter Chips to do the job?
If this can do this, I really love to use any of them.
Please I need help on how it will be interfaced to Arduino.
Please I will appreciate any help on this. I will welcome a private massage if need be. I don't know how I can do this. I have used ZMPT101 and Voltage dividers and op amp to experiment on AC, they are working the way they could but I was surprised when I found out these RMS to DC Converters.
Ok, I want to know for example how fast reading 9 channels with these ICs will be. That's measuring 3 sources of 3-phase AC voltage. All the lines of the 3 sources will be monitored by one ADC pic of my MCU, PIC or AVR . The MCU needs to take a decision based on the voltage levels of the all 9 ADCs. Using something like ZMPT101B, the high sample time is the problem. The high sample time causes some delays in the loop which is not appropriate in the application.Hi,
I've used RMS-to-DC converters before. But if you are able to write a little interrupt driven software to run the ADC and do some calculations, then you get better performance while beeing much cheaper.
I've done 7 channels true RMS with one AVR and simple R and C input circuit.
And all this as a side job for the AVR. A high quality and high reliability industial measurement tool.
Currently I see no reason to use an RMS-to-DC converter anymore .... when a microcontroller is involved.
An RMS to DC converter easily costs more than 5 times of a simple AVR, PIC...
Klaus
Ok I have encapsulated 220V to 6V transformers.Voltage dividers are fine when all equipment is referenced to the same ground but when you interconnecting equipment which bridges various supplies it can cause issues. I can't really offer help on the design as your spec is very loose but i'm assuming all your trying to do is measure RMS volts to learn. My advice would be to get a transformer to get the mains from 230V to something like 6V such as https://www.farnell.com/datasheets/92171.pdf this will provide attenuation of to 2.6% of mains voltage such that its a safe level for you to play with and also protect your other equipement if you clips scopes on etc.
With 6 V off the transformer the recommended values on the datasheet can be tweaked to give you your operating range with 6V inut but it will ensure its safer for you and your equipment. The rest is just powering the IC and feeding it into your A/D converter. You could also use a 1:1 isolation transformer and use the datasheet values, less safe but possible also.
* How fast:Ok, I want to know for example how fast reading 9 channels with these ICs will be.
Ok, I want to know for example how fast reading 9 channels with these ICs will be. That's measuring 3 sources of 3-phase AC voltage. All the lines of the 3 sources will be monitored by one ADC pic of my MCU, PIC or AVR . The MCU needs to take a decision based on the voltage levels of the all 9 ADCs. Using something like ZMPT101B, the high sample time is the problem. The high sample time causes some delays in the loop which is not appropriate in the application.
For example if an LED is attached to a digital pin instructed to go off when all the 3 lines of Source1 goes below/above a defined threshold the LED will delay some milliseconds before it goes off! In the application, the delay is not acceptable because Source2 needs to be snapped in without interrupting the supply to the load. The little I understand about the RMS to DC converter is the most things done in the software is already done in itself. It's not about their cost I consider now but effectiveness. Thanks.
--- Updated ---
Ok I have encapsulated 220V to 6V transformers.
Please can you help me with a snippet of a formula I will use in software to realize the value of Vin? For example LTC1968 has 1V and AD736 is 200mV
RMS measurement of AC signals inherently involves lowpass filtering and delays. It takes many cycles for an RMS measurement to settle. For 50/60Hz input, expect at least 100ms for a decent measurement, regardless of whether you use a MCU or a RMS-to-DC chip.Ok, I want to know for example how fast reading 9 channels with these ICs will be. That's measuring 3 sources of 3-phase AC voltage. All the lines of the 3 sources will be monitored by one ADC pic of my MCU, PIC or AVR . The MCU needs to take a decision based on the voltage levels of the all 9 ADCs. Using something like ZMPT101B, the high sample time is the problem. The high sample time causes some delays in the loop which is not appropriate in the application.
For example if an LED is attached to a digital pin instructed to go off when all the 3 lines of Source1 goes below/above a defined threshold the LED will delay some milliseconds before it goes off! In the application, the delay is not acceptable because Source2 needs to be snapped in without interrupting the supply to the load. The little I understand about the RMS to DC converter is the most things done in the software is already done in itself. It's not about their cost I consider now but effectiveness. Thanks.
As I understand, If from what you are saying, 3 ADCs are needed for the three sources?RMS measurement of AC signals inherently involves lowpass filtering and delays. It takes many cycles for an RMS measurement to settle. For 50/60Hz input, expect at least 100ms for a decent measurement, regardless of whether you use a MCU or a RMS-to-DC chip.
However, if your sources are three phase, then why even bother with RMS measurement? The magic of three phase power is that the power it delivers is perfectly constant (assuming the source and load are balanced, of course), with no ripple to filter out. Just sample all three phases with an ADC, and calculate the sum of squares of the three voltages, and you get a perfect DC result, no filtering required (noise aside).
This is true for analog RMS converters, but not necessarily for digtal ones.It takes many cycles for an RMS measurement to settle.
Like this 3-phase voltage transducerRMS measurement of AC signals inherently involves lowpass filtering and delays. It takes many cycles for an RMS measurement to settle. For 50/60Hz input, expect at least 100ms for a decent measurement, regardless of whether you use a MCU or a RMS-to-DC chip.
However, if your sources are three phase, then why even bother with RMS measurement? The magic of three phase power is that the power it delivers is perfectly constant (assuming the source and load are balanced, of course), with no ripple to filter out. Just sample all three phases with an ADC, and calculate the sum of squares of the three voltages, and you get a perfect DC result, no filtering required (noise aside).
True, if you know the AC frequency, then windowing your measurement over exactly one AC period will give a measurement with zero ripple. The settling time will also be one AC period, but that ought to be plenty fast for most applications.Hi,
This is true for analog RMS converters, but not necessarily for digtal ones.
run an (runnig) average over the squared values over one fullwave then take the squareroot.
So you immediately have the RMS value of the past full wave.
Do a simulation on Excel for example:
sinewave with 50Hz
150Hz sampling rate
take 3 consecutive ADC values and do the RMS math.
--> it gives perfect results.
As said above: If frequency or waveform differs you have to adjust on that.
Klaus
I don't know how that device works, but it specifies a response time of 300ms.Like this 3-phase voltage transducer
SET-Product Detail
Sensor Electronic Technology (SET) is 10 years' experience manufacturer of current transducers, voltage transducers, power transducers, Hall Effect current sensor, with CE/UL/ISO 9001 Certified. Various options of digital/analog output, auxiliary power supply & output. Direct Factory Sale...www.set-transducer.com
The spec says "Average Sensing RMS Calibrated", that's not true RMS but average rectified value.I don't know how that device works, but it specifies a response time of 300ms.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?