Smart Power Grid System
Smart Power Grid System
The demand for power has increased exponentially over the last century. One
avenue through which today‘s energy problems can be addressed is through the reduction
of energy usage in households. This has increased the emphasis on the need for accurate
and economic methods of power measurement.
The main object of the project is to develop smart energy meter where it is not only
used to measure the consumer‘s power consumption in KWH but also enable and support
real consumption in rupees according to consumer tariff, so meter reader don‘t need to visit
each customer for the consumed data collection and to distributed the bill slip. In our
developed prototype of Smart Energy meter do not have any rotating parts. The energy
consumption is calculated using measurement voltage and current with help of potential
divider and ACS712, measure voltage and current respectively. Power product of voltage
and current, its unit watt or KW and energy is product of power (watt) and time (Hour). We
have used above mentioned formulas for calculating Total Energy Consumption of
consumer with Arduino Programming.
Microcontroller has an interface and we are using 16 X 2 LCD, it is used to show important
unit measurements such as voltage, current, frequently, active and reactive power and
power factors.
1
INDEX
Title Page
No.
Title page I
Certificate II
Acknowledgement III
Abstract IV
1. Introduction and project overview 7
1.1 Introduction 7
1.2 Overview 7
1.2.1 Basic types of energy meter 7
2. Literature Survey 10
2.1 Paper study- 1 10
2.2 Paper study- 2 10
3. Power and Power Measurement 11
3.1 Power 11
3.2 Power Measurement 13
3.3 Power factor 18
4. Arduino Microcontroller 19
5. AC Power Measurement 21
5.1 Current Measurement using Arduino 21
5.2 Voltage Measurement using Arduino 24
5.3 Equipments 26
5.4 Power Measurement using Arduino 29
GSM Module Shield 33
Result of Measurement 35
6. Conclusion 37
Conclusion
Scope for work
7. Reference 38
8. Appendix – (A) Source Code 39
9. Appendix – (B) ACS712 Current Sensor Datasheet 49
TABLE OF FIGURES
Sr. Figure No. & Title Page
No. No.
1. Figure-(a) Analog Electronic Energy Meter 8
2. Figure-(b) Digital Electronic Energy Meter 9
3. Figure-(c) Power Measurement-1 13
4. Figure-(d) Power Measurement-2 15
5. Figure-(e) Electrodynamometer Wattmeter 15
Introduction
In analog type meters, voltage and current values of each phase are obtained by
voltage divider and current transformers respectively which are directly connected to the
load as shown in figure.
Paper study- 1
Measurement of power and energy using Arduino.
Research journal of engineering sciences ISSN 2278-9472 srvidyadevi P.
pushalathe D. V. and Sharma P. M.
This paper demonstrates the measurement of power and energy using Arduino
microcontroller. Now a day, the usage of energy is increased as compare to past and
accurate energy measurement techniques is enquired. The goal of providing such a
data is to optimize and reduce thousands of power consumption.
In this paper demonstrates the power measure with the help of Arduino Uno
microcontroller, offset voltage transformer and load, the function of offset data
conditioning and it is used to clamp the given AC signal with respect to a reference
DC voltage and current transformer and voltage transformer used for step down
voltage and current to single phase AC supply to apply signal DC offset.
Over here, Arduino Uno is a brain of the project and it is open source
microcontroller by sensor current and voltage with the help of offset current and
voltage conditioning cord, and with help of Arduino programmed used to measure
the power in circuit with different load (single load, two loads, three loads) used to
display at serial monitor and plot the graph.
Paper study- 2
An automated energy metering system Home based approach.
Aswatht D. R. ,C. shabthi
International journal of advance research in electrical, electronics and instruments
engineering.
Smart meter are the key component of the smart grid which helps both the user and
supplier to control resource.
In this paper energy is consist of voltage and current controlling platform unit, level
shifter and Arduino in single phase AC line voltage and current sensor with help of
step down transformer and level shifter , output is DC is proportional to AC system
it is applied on Arduino for measuring the power.
In this paper Communication is being done using Arduino Ethernet board that used
to store transmitted data in the web page with the lowest cost and it sends
consumption data to their remote server and it is also achieved the controlling and
managing energy consumption of electricity usage of the consumer.
Chapter 3 Power and Power Measurement
Power-
Power means rate of expanding energy. The unit of power is watt (joule per second
j/s ). In DC circuit and purely resistive AC circuit power is product of voltage and current.
For reactive AC circuit the product of r.m.s values voltage and r.m.s value of current is
called apparent power (VA).
The potential difference in volts between two points is equal to the energy per unit
charge (in joules/coulomb) which is required to move electric charge between the points
since the electric current measure the charge per unit time (in coulomb/second). The
electric power P is given by the product of the current I and the voltage V (in joule/sec =
watts).
Where,
In a dc circuit if VL is the voltage supped to load and IL is the load current ten the dc
load power is given by the product of the load supply voltage VL and the load current IL
thus,
Pdc = VL IL watt
If RL is the resistance of the load than,
AC Circuit Power-
In alternating current circuit due to energy storage element such as inductance and
capacitance may result in periodic reversals of the direction of energy flow.
Thus,
Where,
Active Power–
The production of power flow that avarage over a complate cycle of the ac waveform
result is net transfor of energy is one cycle is known as real power (active power ) it is
power consumed by the resistive element in the circuit active power is the power that is
actualy being consume by the load.
Reactive Power–
The portion of the power flow due to storage element that return to the source in each
cycle is known as reactive power When the voltage and current are perodic with same
functional frequency. the instantaneous power is also perodic with twice the functional
frequency.
Avarage Power-
Average power is defined as energy transfer rate average over many peroid of the
lowest frequncy in signal. It is also defined as average amount of workdone or energy
converted per unit of time, if ∆𝜔 is the amount of work performed during a period of time
∆𝑡.
The average power Pavg over the period is given by the formula
Pavg=∆𝜔/∆𝑡
Instantaneous Power-
The instantaneous power is than the limiting value of average power as the time
interval ∆𝑡 approaches zero.
P=Limit→ avg
Electric power is generally developed by electric generator but can also be supplied
by chemical source such as electric battery. Electric power generally supplied to businesses
and home by the electric power energy.
Power Measurement-
We measure power is both type of circuit AC as well as DC.
Power is measured by following techniques.
1. Using measuring device and
2. Using software by interfacing the circuits
VL = V - Va
PDC = VLIL = (V – VA)IL
Pdc = VIL – VAIL
Where,
Hence the product of ammeter and voltmeter does not give correct power
consumed by the load.
If the voltmeter is shifted across the load to measure the load voltage, the
circuit becomes as shown in the Fig.
I = I L + IV
Pdc = VL IL = VL (I – IV ) = IVL - VLIV
Where,
This by any method, the power measured is higher than the power actually
consumed by the load. The power loss in the instrument near the load causes the error.
Using wattmeter
Dynamometer –
A dynamometer can measure power in both DC and AC systems. A dynamometer
has two coils: static coil and movable coil. It uses the interaction between the
magnetic fields produced by the currents in two coils or sets of coils to measure
power. Torque is proportional product of current in current coil and current in
voltage coil. The Accuracy of dynamometer is nearly 0.25 %.
Real and reactive powers can also be calculated directly from the apparent power,
when the current and voltage are both sinusoids with a known phase angle θ between them:
Two wattmeter method: In this method power is measured for three phase balanced
loads using two wattmeter. The total power consumed is calculated using the below
formula.
Where,
Power factor -
The ratio between real power and apparent power in a circuit is a called the power
factor it is a practical measure of the efficiency of a power distribution system.
For example if two system transmitting transfer equal amount of real power, if one
transmitting system have lower power factor so higher circulating current due to energy to
the source from energy storage in the load due to higher current its produced higher losses
and efficiency of transmission line is decrease and a lower power factor circuit subjected to
higher apparent power and higher losses for equal or same value of real power.
When voltage and current waveform are in a phase than power factor is unity and when
current leads or lags to the voltage by 90 degree when power factor is zero. Basically power
factor state as ‗leading‘ or ‗lagging‘ to show the sign of phase angle of current with respect
to voltage.
In purely capacitive circuit supply is reactive power so current lead the voltage by 90
degree which purely inductive circuits property of inductance is absorb reactive power so
current waveform lagging to the voltage waveform by 90 degree.
That means if capacitor and inductance connected in single circuit that cancel out effect
of each other.
When the system waveform is purely sinusoidal the power factor is the cosine of the
phase angle between the I V sinusoidal waveform.
Chapter 4 Arduino Microcontroller
In our project we have used Arduino Uno board has a digital input / output pins, six
analog inputs, 6 PWM pins and 16Mhz ceramic resonator a power jack on OICSP heady
and a reset button it has on board one USB to serial convert and connect to computer using
USB cable.
Features of Arduino Uno board-
It is based on AI mega 328 microcontroller
Input voltage range is 7.12V.
Digital I/O pins is 14 (of which 6 pin provide PWM output)
6 analog input pins.
32KB flash memory 0.5KB used by boot leader.
16MHz clock speed.
DC current for I/O pin 40mA.
Figure-(h) Arduino Uno board
• ACS 712-
The variable power supply consist of an AC input circuit and transformer, a bias
supply consisting of an rectifier, filter, pre-regulated and reference voltage source, a
main regulating circuit consisting of the main rectifier and filter, a series regulator, a
current comparator, voltage comparator, reference voltage amplifier and relay control
circuit.
Single phase power is applied to transformer through the input circuit and
auxiliary rectifier provides bias voltage is filtered by capacitor that provides a regulated
voltage for element of active. The main rectifier, a full wave bridge rectifier, provides
the power which is filtered by capacitor and derivers to the output.
The output of voltage divider circuit is so small around 1.5 to 2v.for eliminating the
negative portion of signal we have added the DC voltage offset so resultant output of
voltage circuit is violet between 0 to 5v corresponding 230v ac voltages.
Equipments –
Transformer –
The step-down converters are used for converting the high voltage into low voltage.
The converter with output voltage less than the input voltage is called as a step-down
converter, and the converter with output voltage greater than the input voltage is called as
step-up converter. There are step-up and step-down transformers which are used to step up
or step down the voltage levels. 230V AC is converted into 12V AC using a step-down
transformer. 12V output of step-down transformer is an RMS value and its peak value is
given by the product of square root of two with RMS value, which is approximately 17V.
Rectifier –
Bridge rectifier consists of four diodes which are connected in the form a bridge.
We know that the diode is an uncontrolled rectifier which will conduct only forward bias
and will not conduct during the reverse bias. If the diode anode voltage is greater than the
cathode voltage then the diode is said to be in forward bias.
During positive half cycle, diodes D2 and D4 will conduct and during negative half
cycle diodes D1 and D3 will conduct. Thus, AC is converted into DC; here they obtained is
not a pure DC as it consists of pulses. Hence, it is called as pulsating DC power. But
voltage drop across the diodes is (2*0.7V) 1.4V; therefore, the peak voltage at the output of
this rectifier circuit is 15V (17-1.4) approx.
Figure-(p) Bridge rectifier
Rheostat –
It is a variable resistance usually consistence of a coil of a wire have two terminal
one is fixed and other is sliding contact that move along the coil to tap of the current
rheostat adjustable resistors so connected that it is resistance to be changed without opening
electrical circuit in which it is connected there by controlling the current in the circuit.
Figure-(q) Rheostat
5.3.4. IC7805 –
Voltage regulator IC's are the IC‘s that are used to regulate voltage. IC 7805 is a 5V
Voltage Regulator that restricts the voltage output to 5V and draws 5V regulated power
supply. It comes with provision to add heat sink.
Figure-(r) IC7805
The maximum value for input to the voltage regulator is 35V. It can provide a
constant steady voltage flow of 5V for higher voltage input till the threshold limit of 35V.
If the voltage is near to 7.5V then it does not produce any heat and hence no need for heat
sink. If the voltage input is more, then excess electricity is liberated as heat from 7805.
5.3.5. Display –
LCD (Liquid Crystal Display) screen is an electronic display module and find a
wide range of applications. A 16x2 LCD display is very basic module and is very
commonly used in various devices and circuits. These modules are preferred over seven
segments and other multi segment LEDs. A 16x2 LCD means it can display 16 characters
per line and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel
matrix.
Power Measurement using Arduino –
The power is an A.C. circuit is given by the relation,
P = V*I*cos Ø
Such that cos Ø power factor of circuit .purely inductive and capacitive circuits do
not consume any power because load waveform of such type of circuits are voltage and
current are out of phase means the phase difference between them equal to zero cos 90=0
so power in load is P=V*I*0=0
Whereas resistive load the waveform of voltage and current are in phase means the
phase difference between them equal to zero cos 0=1 so power in resistive load is P=V*I
only.
Load circuit:
PIN -1 PIN -2
(Voltage) (Current)
Store as Max value Store as Min value Store as Max value Store as Min value
Vpp = Max value – Min value * (5.0 / 512) Ipp = Max value – Min value * (5.0 / 512)
Yes
Rupees = Energy *
If SW <= 50
3.60
No
Yes
If SW > 50 AND SW <= 100
Rupees = Energy * 4.25
No
Yes
Rupees = Energy *
If SW > 250
5.25
No
Stop
Specification:
Rx 4 UART data in
- 7 GND
+ 8 VCC
Installation
Power on GPRS module
User can power on the GPRS module by pulling down the PWR button or the P pin of
control interface for at least 1 second and release. This pin is already pulled up to 3V in the
module internal, so external pull up is not necessary. When power on procedure is
completed, GPRS module will send following URC to indicate that the module is ready to
operate at fixed baud rate.
Indicator LED and Buttons:
NETSTATUS: The status of the NETSTATUS LED is listed in following table:
Status Description
PWR: After the GPRS module power on, you need to press the POWER button for a moment to power
on the SIM900 module.
RESULT MEASUREMENT -
Conclusion
Power measurement is done for resistive loads using Arduino environment. Results for the
various loads are shown in simulation. Arduino Power Measurement is an advanced
method of determining power and this method is more advantageous than other software‘s
such as matlab. The advantages of Arduino over other software‘s are it simplifies the
amount of hardware and software development required in order to get a system running. In
this also measure the energy consumption in real value and also store its display with help
of 16*2 LCD display. It is open source software and can be extended by experienced
programmers. Arduino has simple and clear programming environment and also has a
quicker writing code.
/*
@Author : Mayur Khatri
Description: Smart Energy
Meter Last Edited: 01-May-2016
Implementatation: GSM Module shield implementation with arduino tested
with LCD.
*/
#include <SoftwareSerial.h>
#include <LiquidCrystal.h> // Importing LCD Library file
/*
* RS: Pin 12
* EN: Pin 11
* D4: Pin 5
* D5: Pin 4
* D6: Pin 3
* D7: Pin 2
*
/
LiquidCrystal lcd (12, 11, 5, 4, 3, 2); //lcd display pin
char mobileNumber; // Will hold the incoming character from the GSM
shield
SoftwareSerial SIM900(9, 10);
const int voltageSensor = A0; // voltage pin
const int currentSensor = A1; // current pin
int mVperAmp = 66; // use 100 for 20A Module and 66 for 30A Module
double sumWH = 0.00000;
float WH = 0;//energy consumption in watt hour
void setup()
{
Serial.begin(19200);
SIM900.begin(19200);
delay(500);
SIM900.println("AT+CLIP=1\r");
SIM900.println("AT+CMGF=1"); // Setting the GSM Module in Text
mode delay(1000);
SIM900.println("AT+CMGS=\"XXXXXXXXXX\"\r"); // Sending Energy
Consumption to Customer's Mobile Number
delay(1000);
SIM900.print("Dear Customer, Your Energy Consumption is :");
SIM900.print(sumWH);
SIM900.print(" and Total Billing is Rs. ");
SIM900.print(sumRupees);
delay(100);
SIM900.println((char)26); // ASCII code of CTRL+Z
delay(100);
}
void energyCalculations()
{
Serial.print("POWER :");
Serial.print(power);
Serial.println("watt");
WH = (power / 3600);
Serial.print("ENERGY CONSUMED :");
Serial.print(WH);
Serial.println("Watt-Hour");
rupees = getReading();
Serial.print("ENERGY CONSUMED IN RUPEES :");
Serial.print(rupees);
Serial.println("Rs.");
void loop()
{
energyCalculations();
gsm();
void gsm()
{
if(SIM900.available() > 0)
{
delay(10);
mobileNumber = SIM900.read();
Serial.print(mobileNumber);
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
delay(10);
mobileNumber = SIM900.read();
if(mobileNumber == 'x')
{
sendBilling();
}
}
}
}
}
}
}
}
}
}
}
if(pinValue == 0)
{
// reading Voltage Input PIN
readValue = analogRead(voltageSensor);
}
else if(pinValue == 1)
{
// reading Current Input PIN
readValue = analogRead(currentSensor);
}
// see if you have a new maxValue
if (readValue > maxValue)
{
/*record the maximum sensor
value*/ maxValue = readValue;
}
return result;
}
float getReading()
{
float solution;
return solution;
}
Appendix B: ACS712 Current Sensor Datasheet
ACS712
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Typical Application
+5 V
1 VCC 8
2 IP+ 7UT VO C
IP+ VIOUT BYP
0.1 μF
IP ACS712
3 IP– FILTER 6 CF
4
IP– GND 5 1 nF
Application 1. The ACS712 outputs an analog signal,
VOUT . that varies linearly with the uni- or bi-directional AC
or DC primary sampled current, I P , within the range
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Description (continued)
the device at up to 5× overcurrent conditions. The terminals of The ACS712 is provided in a small, surface mount SOIC8 package. The
the conductive path are electrically isolated from the signal leads leadframe is plated with 100% matte tin, which is compatible with
(pins 5 through 8). This allows the ACS712 to be used in standard lead (Pb) free printed circuit board assembly processes.
applications requiring electrical isolation without the use of Internally, the device is Pb-free, except for flip-chip high-temperature
opto-isolators or other costly isolation techniques. Pb-based solder balls, currently exempt from RoHS. The device is fully
calibrated prior to shipment from the factory.
Selection Guide
Part Number Packing* TA Optimized Range, IP Sensitivity, Sens
(°C) (A) (Typ) (mV/A)
ACS712ELCTR-05B-T Tape and reel, 3000 pieces/reel –40 to 85 ±5 185
ACS712ELCTR-20A-T Tape and reel, 3000 pieces/reel –40 to 85 ±20 100
ACS712ELCTR-30A-T Tape and reel, 3000 pieces/reel –40 to 85 ±30 66
*Contact Allegro for additional packing options.
Isolation Characteristics
Characteristic Symbol Notes Rating Unit
V Agency type-tested for 60 seconds per
Dielectric Strength Test Voltage* ISO UL standard 60950-1, 1st Edition 2100 VAC
V For basic (single) isolation per UL standard
Working Voltage for Basic Isolation WFSI 60950-1, 1st Edition 354 VDC or Vpk
V For reinforced (double) isolation per UL standard
Working Voltage for Reinforced Isolation WFRI 60950-1, 1st Edition 184 VDC or Vpk
* Allegro does not conduct 60-second testing. It is done only during the UL certification process.
Parameter Specification
CAN/CSA-C22.2 No. 60950-1-03
Fire and Electric Shock UL 60950-1:2003
EN 60950-1:2001
50
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
+5 V
VCC
(Pin 8)
IP+
Sense Temperature Coefficient Trim
(Pin 1)
IP+
(Pin 2)
Dynamic Offset Cancellation
Signal VIOUT
Recovery (Pin 7)
R
F(INT)
IP− (Pin
3) Sense Trim
IP−
(Pin 4) 0 Ampere Offset Adjust
GND FILTER
(Pin 5) (Pin 6)
Pin-out Diagram
IP+ 1 8 VCC
IP+ 2 7 VIOUT
IP– 3 6 FILTER
IP– 4 5 GND
1
COMMON OPERATING CHARACTERISTICS over full range of TA , CF = 1 nF, and VCC = 5 V, unless otherwise specified
Characteristic Symbol Test Conditions Min. Typ. Max. Units
ELECTRICAL CHARACTERISTICS
Supply Voltage I CC 4.5 5.0 5.5 V
Supply Current C CC VCC = 5.0 V, output open – 10 13 mA
Output Capacitance Load LOAD VIOUT to GND – – 10 nF
R
Output Resistive Load R LOAD VIOUT to GND 4.7 – – kΩ
Primary Conductor Resistance PRIMARY TA = 25°C – 1.2 – mΩ
Rise Time tr IP = IP(max), TA = 25°C, COUT = open – 3.5 – μs
Frequency Bandwidth F –3 dB, TA = 25°C; IP is 10 A peak-to-peak – 80 – kHz
E
Nonlinearity E LIN Over full range of IP – 1.5 – %
Symmetry SYM Over full range of IP 98 100 102 %
V VCC ×
Zero Current Output Voltage IOUT(Q) Bidirectional; IP = 0 A, TA = 25°C – 0.5 – V
t Output reaches 90% of steady-state level, TJ = 25°C, 20 A present
Power-On Time PO on leadframe – 35 – μs
2
Magnetic Coupling – 12 – G/A
3 R
Internal Filter Resistance F(INT) 1.7 kΩ
1
Device may be operated at higher primary current levels, IP, and ambient, TA , and internal leadframe temperatures, TA , provided that the
Maximum Junction Temperature, TJ(max), is not exceeded.
2
1G = 0.1 mT.
3
RF(INT) forms an RC circuit via the FILTER pin.
1
COMMON THERMAL CHARACTERISTICS
Min. Typ. Max. Units
Operating Internal Leadframe Temperature TA E range –40 – 85 °C
Value Units
2 R
Junction-to-Lead Thermal Resistance θJL Mounted on the Allegro ASEK 712 evaluation board 5 °C/W
Mounted on the Allegro 85-0322 evaluation board, includes the power con-
R
Junction-to-Ambient Thermal Resistance θJA sumed by the board 23 °C/W
1
Additional thermal information is available on the Allegro website.
2 2
The Allegro evaluation board has 1500 mm of 2 oz. copper on each side, connected to pins 1 and 2, and to pins 3 and 4, with thermal vias connect-ing the
layers. Performance values include the power consumed by the PCB. Further details on the board are available from the Frequently Asked
Questions document on our website. Further information about board design and thermal performance also can be found in the Applications
Informa-tion section of this datasheet.
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
1
x05B PERFORMANCE CHARACTERISTICS TA = –40°C to 85°C, CF = 1 nF, and VCC = 5 V, unless otherwise specified
Characteristic Symbol Test Conditions Min. Typ. Max. Units
I
Optimized Accuracy Range P –5 – 5 A
Sensitivity Sens Over full range of IP, TA = 25°C 180 185 190 mV/A
V Peak-to-peak, TA = 25°C, 185 mV/A programmed Sensitivity,
Noise NOISE(PP) CF = 47 nF, COUT = open, 2 kHz bandwidth – 21 – mV
∆V TA = –40°C to 25°C – –0.26 – mV/°C
Zero Current Output Slope OUT(Q) TA = 25°C to 150°C – –0.08 – mV/°C
TA = –40°C to 25°C – 0.054 – mV/A/°C
Sensitivity Slope ∆Sens
TA = 25°C to 150°C – –0.008 – mV/A/°C
2 E I =±5 A, T = 25°C – ±1.5 – %
Total Output Error
TOT P A
1
Device may be operated at higher primary current levels, IP, and ambient temperatures, TA, provided that the Maximum Junction Temperature, TJ(max), is not
exceeded.
2
Percentage of IP, with IP = 5 A. Output filtered.
1
x20A PERFORMANCE CHARACTERISTICS TA = –40°C to 85°C, CF = 1 nF, and VCC = 5 V, unless otherwise specified
Characteristic Symbol Test Conditions Min. Typ. Max. Units
Optimized Accuracy Range IP –20 – 20 A
Sensitivity Sens Over full range of IP, TA = 25°C 96 100 104 mV/A
V Peak-to-peak, TA = 25°C, 100 mV/A programmed Sensitivity,
Noise NOISE(PP) CF = 47 nF, COUT = open, 2 kHz bandwidth – 11 – mV
∆V TA = –40°C to 25°C – –0.34 – mV/°C
Zero Current Output Slope OUT(Q) TA = 25°C to 150°C – –0.07 – mV/°C
TA = –40°C to 25°C – 0.017 – mV/A/°C
Sensitivity Slope ∆Sens
TA = 25°C to 150°C – –0.004 – mV/A/°C
2 E I =±20 A, T = 25°C – ±1.5 – %
1Total Output Error
TOT P A
Device may be operated at higher primary current levels, IP, and ambient temperatures, TA, provided that the Maximum Junction Temperature,
TJ(max), is not exceeded.
2
Percentage of IP, with IP = 20 A. Output filtered.
1
x30A PERFORMANCE CHARACTERISTICS TA = –40°C to 85°C, CF = 1 nF, and VCC = 5 V, unless otherwise specified
Characteristic Symbol Test Conditions Min. Typ. Max. Units
Optimized Accuracy Range IP –30 – 30 A
Sensitivity Sens Over full range of IP , TA = 25°C 63 66 69 mV/A
V Peak-to-peak, TA = 25°C, 66 mV/A programmed Sensitivity,
Noise NOISE(PP) C F = 47 nF, COUT = open, 2 kHz bandwidth – 7 – mV
∆V TA = –40°C to 25°C – –0.35 – mV/°C
Zero Current Output Slope OUT(Q) TA = 25°C to 150°C – –0.08 – mV/°C
TA = –40°C to 25°C – 0.007 – mV/A/°C
Sensitivity Slope ∆Sens
TA = 25°C to 150°C – –0.002 – mV/A/°C
2 E I = ±30 A , T = 25°C – ±1.5 – %
TOT
1Total Output Error P A
Device may be operated at higher primary current levels, IP, and ambient temperatures, TA, provided that the Maximum Junction
Temperature, TJ(max), is not exceeded.
2
Percentage of IP, with IP = 30 A. Output filtered.
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Characteristic Performance
IP = 5 A, unless otherwise specified
Mean Supply Current versus Ambient Temperature Supply Current versus Supply Voltage
10.30 10.9
10.25 10.8
10.20
10.7
10.15
C (mA)
10.10 10.6
10.05 VCC = 5 V 10.5
(mA)
CC
10.4
10.00
10.3
9.95
10.2
Mean
9.90 10.1
9.85 10.0
9.80 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5
9.75 ) VCC (V)
Magnetic
-50 -25 Offset
0 versus
25 50Ambient
75 Temperature
100 125 150
Nonlinearity versus Ambient Temperature
0
0.6
–0.5
–1.0 0.5
–1.5
–2.0 0.4 VCC = 5 V
VCC = 5 V; IP = 0 A,
(%)
(mA)
OM
0.3
I
–3.0
E
–3.5
0.2
–4.0
–4.5 0.1
–5.0
) 0
-50 -25 0 25 50 75 100 125 150
Mean Total Output Error versus Ambient –50 –25 0 25 50 75 100 125 150
Temperature TA (°C)
184.5
2
(%
184.0
Sen s
TO T
183.5
0
183.0
E
182.5
–2
182.0
–4 181.5
181.0
–6
–50 –25 0 25 50 75 100 125 150
–8
Output Voltage versus Sensed Current Sensitivity versus Sensed Current
4.0 200.00
3.5 190.00
VCC = 5 V 180.00
(mV/A)
3.0
170.00
160.00
(V)
2.5 150.00
s
A
V
T (°C) 140.00
IOU T
2515
2510 IP = 0 A
(mV)
2505
IOUT( Q)
2500
V
2495
2490
2485
0 A Output Voltage Current versus Ambient Temperature
)
0.20
0.15
0.10 IP = 0 A
(A)
0.05
0
OUT( Q)
–0.05
–0.10
–0.15
-50 -25 0 25 50 75 100 125 150
TA (°C)
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Characteristic Performance
IP = 20 A, unless otherwise specified
Mean Supply Current versus Ambient Temperature Supply Current versus Supply Voltage
9.7 10.4
9.6 10.2
10.0
9.5
(mA)
(mA)
9.8
CC
9.4 VCC = 5 V
CC
9.6
Mea n
9.3 9.4
9.2
9.2
9.0
9.1 ) 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5
-50 -25 0 25 50 75 100 125 150
Magnetic Offset versus Ambient Temperature VCC (V)
0 Nonlinearity versus Ambient Temperature
–0.5 0.35
–1.0
–1.5 0.30
–2.0 0.25
(mA)
(%)
VCC = 5 V; IP = 0 A, 0.20
–2.5
LI N
OM
0.15
–4.0
–4.5 0.10
–5.0
) 0.05
-50 -25 0 25 50 75 100 125 150
Mean Total Output Error versus Ambient Temperature
0
8
–50 –25 0 25 50 75 100 125 150
6 TA (°C)
4 Sensitivity versus Ambient Temperature
2 100.8
(%)
100.6
0 100.4
TO T
100.2
100.0
(mV/A)
E
–2
–4 99.8
Sen s
–6
99.6
–8
–50 –25 0 25 50 75 100 125 150 99.4
TA (°C) 99.2
99.0
Output Voltage versus Sensed Current
–50 –25 0 25 50 75 100 125 150
5.0
TA (°C)
4.5
4.0 Sensitivity versus Sensed Current
VCC = 5 V 110.00
3.5 TA (°C)
108.00
3.0 –40
106.00 25
(V)
(mV/A)
–40
IOU T
102.00 150
100.00
2.0 –20
98.00
1.5 25
s
1.0 85 96.00
0.5 125 94.00
0 92.00
–25 –20 –15 –10 –5 0 5 10 15 20 25 90.00
–25 –20 –15 –10 –5 0 5 10 15 20 25
IP (A)
Ip (A)
0 A Output Voltage versus Ambient Temperature
0 A Output Voltage Current versus Ambient Temperature
2525 0.25
2520 0.20
2515 0.15
2510 IP = 0 A 0.10 IP = 0 A
(mV)
(A)
2505 0.05
OUT( Q)
IOUT( Q)
2500 0
2495 –0.05
–0.10
2490
2485 –0.15
-50 -25 0 25 50 75 100 125 150 -50 -25 0 25 50 75 100 125 150
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Characteristic Performance
IP = 30 A, unless otherwise specified
Mean Supply Current versus Ambient Temperature Supply Current versus Supply Voltage
9.6 10.2
9.5 10.0
9.4
9.8
I C (mA)
9.3 VCC = 5 V
(mA)
9.6
9.4
CC
9.2
9.2
9.1
Mean
9.0
4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5
9.0
VCC (V)
8.9
Magnetic Offset versus Ambient Temperature
0
–0.5
–1.0
–1.5
–2.0
(mA)
–2.5 VCC = 5 V; IP = 0 A,
OM
0
E
–2
–4
–6
–8
–50 –25 0 25 50 75 100 125 150
TA (°C)
3.0
T A (°C)
V
IOU T
2.5
–40
2.0 –20
1.5 25
1.0 85
0.5 125
0
–30 –20 –10 0 10 20 30
IP (A)
2510
IOUT( Q)
2505
V
2500
2495
2490
2485
-50 -25 0 25 50 75 100 125 150
Nonlinearity versus Ambient
Temperature
0.45
0.40
0.35
0.30 VCC = 5 V
(%)
0.25
N
0.20
E
0.15
0.10
0.05
0
–50 –25 0 25 50 75 100 125 150
TA (°C)
66.3
(mV/A)
66.2
Sen s
66.1
66.0
65.9
65.8
65.7
–50 –25 0 25 50 75 100 125 150
TA (°C)
66.00
65.00
Sen s
64.00 TA (°C)
–40
63.00 25
62.00 85
61.00 150
60.00
–30 –20 –10 0 10 20 30
Ip (A)
0.10
OUT( Q)
0.05
I
0
–0.05
–0.10
–0.15
)
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
100 {[
1–
2 (V
IOUT_half-scale amperes
–V
IOUT(Q)
)
[{
The ratiometric change in sensitivity, SensRAT (%), is defined as:
‰ SensVCC / Sens5V _
where VIOUT_full-scale amperes = the output voltage (V) when 100
the sampled current approximates full-scale ±IP . VCC / 5 V
Electrical offset voltage (VOE). The deviation of the device out- Full Scale IP(max)
Decreasing VIOUT(V)
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Rise time (tr). The time interval between a) when the device
reaches 10% of its full scale value, and b) when it reaches 90% of
its full scale value. The rise time to a step response is used to
derive the bandwidth of the device, in which ƒ(–3 dB) = 0.35 / tr.
Both tr and tRESPONSE are detrimentally affected by eddy
current losses observed in the conductive IC ground plane.
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
Regulator
Clock/Logic
Low-Pass Filter
Hall Element
Hold
Amp
Sample and
Typical Applications
+5 V
+5 V
V
PEAK
C
C BYP
BYP C2 R1
V 100 kΩ
0.1 μF 0.1 RESET
μF 0.1 μF
R4 Q1
C 10 kΩ 2N7002
8 OUT 1 LM321
1 P+ VCC 0.1 μF 8 R2 5
VOUT
7 1 IP+ VCC 100 kΩ + 4
V
2 IP+ VIOUT
RF
OUT + 7
2 IP+ VIOUT RF 3 –2
IP ACS712 10 kΩ R1 – U1 D1 IP ACS712 1 kΩ
C1
6
3 IP– FILTER 1 MΩ LT1178 1N914 R3 1000 pF
CF
6 3.3 kΩ
IP– FILTER CF
4 5 1 nF
IP– GND IP– 5 0.01 μF
R2 R3 C1 GND
33 kΩ 330 0.1 μF
GND
1N914
Application 4. Rectified Output. 3.3 V scaling and rectification application for Application 5. 10 A Overcurrent Fault Latch. Fault threshold set by R1
A-to-D converters. Replaces current transformer solutions with simpler ACS
and R2. This circuit latches an overcurrent fault and holds it until the 5 V
circuit. C1 is a function of the load resistance and filtering desired.
rail is powered down
R1 can be omitted if the full range is desired.
Fully Integrated, Hall Effect-Based Linear Current Sensor IC
ACS712 with 2.1 kVRMS Isolation and a Low-Resistance Current Conductor
In low-frequency sensing applications, it is often advantageous temperature. Therefore, signal attenuation will vary as a
to add a simple RC filter to the output of the device. Such a low-
function of temperature. Note that, in many cases, the input
pass filter improves the signal-to-noise ratio, and therefore the
impedance,
resolution, of the device output signal. However, the addition of
an RC filter to the output of a sensor IC can result in undesirable RINTFC , of a typical analog-to-digital converter (ADC) can be
device output attenuation — even for DC signals. as low as 10 kΩ.
Signal attenuation, ∆VATT , is a result of the resistive divider The ACS712 contains an internal resistor, a FILTER pin connec-
effect between the resistance of the external filter, RF (see tion to the printed circuit board, and an internal buffer amplifier.
Application 6), and the input impedance and resistance of the With this circuit architecture, users can implement a simple
customer interface circuit, RINTFC. The transfer function of RC filter via the addition of a capacitor, C F (see Application 7)
this resistive divider is given by:
from the FILTER pin to ground. The buffer amplifier inside of
. the ACS712 (located after the internal resistor and FILTER pin
INTFC connection) eliminates the attenuation caused by the resistive
∆V V
ATT = IOUT R +R
divider effect described in the equation for ∆VATT. Therefore,
F INTFC the ACS712 device is ideal for use in high-accuracy
Even if RF and RINTFC are designed to match, the two individual applications that cannot afford the signal attenuation associated
resistance values will most likely drift by different amounts over with the use of an external RC low-pass filter.
+5 V
Allegro ACS706
Application 6. When a low pass filter is constructed
externally to a standard Hall effect device, a resistive Voltage Regulator
divider may exist between the filter resistor, RF, and To all subcircuits
the resistance of the customer interface circuit, RINTFC.
VIOUT Resistive Divider
This resistive divider will cause excessive attenuation, Pin 7 Input
Cancellation
Temperature Coefficient
Gain Offset CF
1 nF R
INTFC
Trim Control
4.90 ±0.10 8°
0° 0.658 1.27
8
0.25 1.75
0.17