Electronic – ACS712ELCTR-30A-T never changes output with changing load

analogcurrent measurement

I am using an ACS712ELCTR-30A-T breakout board to measure the current on a 230V AC appliance. I have connected the hot wire of the AC connection to the two measurement terminals of the breakout board. The breakout board looks like this:
chip breakout board

I have added a 5V DC source to VCC and ground and am using a voltmeter to measure the output. I started with the appliance turned off and it more or less correctly showed 2.53V on the OUT pin. This might seem strange as it is not properly centered at 2.5V, however I am using a voltage converter from 12V to 5V that is set up by hand and it supplying 5.06V is very likely. I then turned the appliance to its maximum power. I am not really sure what its consumption is, but based on the components used it should be between 0.5 and 1A. I would expect some kind of change in the voltage of OUT against ground. However it still shows 2.53V. The 30A version of that chip has a resolution of 66mV per ampere, therefore it should jump to at least 2.56V (2.53 + 0.5 * 0.066) on the voltmeter. The voltmeter (0.01V resolution) not changing its value means the current of the appliance would be less than 1 / 6.6 = 0.15A which is impossible.

An obvious issue would be that this chip cannot measure AC current, however the datasheet indicates the opposite.

The Allegro™ ACS712 provides economical and precise solutions for AC or DC current sensing

Best Answer

The datasheet contains a graph for "Output voltage versus Sensed Current".

Output voltage Vs sensed current

It shows the output voltage as VCC/2 (2.5V in this case) when no current is sensed. It also shows the output voltage will increase when sensing positive current flow and decrease when sensing negative current flow.

Your 240V mains current will alternate direction 50/60 times per second. The output voltage of this IC will follow this, going above 2.5V and below 2.5V at the same rate.

The measured current is AC, and it is superimposed on the fixed 2.5V DC level. This is done to ease interfacing with other devices, such as A/D converters. Most of these devices cannot handle negative voltages. By adding a DC offset the voltage never goes negative, you can then easily remove the DC offset in software.

Your multimeter set to DC voltage measurement will ignore the AC portion of the output and only read the 2.5V DC offset. When set to AC voltage measurement your meter should only display the AC portion of the output and ignore the 2.5V offset.

A oscilloscope would help in clearly displaying what is going on.