Professional Documents
Culture Documents
ABSTRACT
In recent years, increased importance of Smart Grid, which includes monitoring and
control the consumption of customers of electric power. In this paper, Wireless Smart
Electrical Power Meter has been designed and implemented which ZigBee wireless
sensor network (WSN) will be used for wireless electrical power meter
communication supported by PIC microcontroller which used for power unit
measurements. PIC microcontroller will be used for evaluating all electric power
parameters at costumer side like Vrms, Irms, KWh, and PF, and then all these
parameters will be send to base station through wireless network in order to be
calibrated and monitored.
الملخص
التي تشمل رصد ومراقبة استهالك العمالء للطاقة،" زادت أهمية "الشبكة الذكية،في السنوات األخيرة
تم تصميم وبناء نظام ال سلكي ذكي لقياس استهالك الطاقة الكهربائية حيث يستخدم، في هذ ا البحث.الكهربائية
ثم ارسال هذه القيم ال سلكيا الى المحطةVrms, Irms, KWh, and PF لقياسPIC microcontroller
حيث يتم معالجة البيانات ومراقبتها فيZigBee wireless sensor network (WSN) الرئيسية باستخدام
.المحطة الرئيسية
1
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
2
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
problems of real time measurement, meter has been used for each customer.
monitoring and control has been solved. These meters have been used to
Compared with the traditional meter measure the instantaneous electrical
reading, it not only effectively saves power per hour (KWh) and power factor
human resources, but also save the (PF) by using Microcontroller circuit
wiring cost and helps the management which sends the values of (KWh and
department find problems in time and PF) to the base station through ZigBee
take appropriate measures to deal with. wireless network technology.
Also, it has easy and low cost Normally base station located far away
installation, easy to extend, and more from costumers, in this case routing
secure than other methods [7][8]. device based on ZigBee wireless
In this paper, design and standard have been used in order to
implementation of Wireless Smart arrive the measurements of electrical
Electric Power Meter will be achieved power meter to the base station. The
which PIC microcontroller will be used final stage of the system is located at the
as the main part for evaluation base station, which the server based on
consumed electric power and PF. The ZigBee standard has been used to
rms value of voltage and current, receive all measurements of costumers
consumed electric power, and PF will and store these data in database for
be monitored through LCD at home and managing and analyzing.
also send these parameters through a
ZigBee wireless network to the base
In this paper, automatic electric power
station in order to monitor electric
meter has been designed in order to
power demand and evaluate consumed
measure instantaneous voltage and
electrical power fees.
current. The consumed power and PF
The outline of the paper is as follows.
has been calculated by PIC
The comprehensive structure of a
microcontroller which consumer
wireless meter system is described in
monitors these values at home by LCD
section II. The design and
while the same values sends to a base
implementation of the electrical power
station for monitoring and calculating
meter are explained in details in section
the consumed electric power. Xbee kit
III. System software is described in
has been used for ZigBee wireless
section IV. Result discussion in section
communication. The XBee/XBee-PRO
V, while conclusions are summarized in
RF Modules are designed to operate
section VI.
within the ZigBee protocol and support
II. The comprehensive structure of the unique needs of low-cost, low-
wireless meter system power wireless sensor networks. The
The comprehensive structure of wireless modules require minimal power and
electric power meter system is shown in provide reliable delivery of data
Fig. 1. The wireless electric power between remote devices.
3
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
Wireless
between the V and I. Instantaneous
Power Meter
sampling does not directly use power
Figure 1: Comprehensive structure of factor; the value of the phase angle is
smart wireless electrical power meter. essentially embedded in the
instantaneous current measurement.
III. Design of the electric power
Recovering the actual phase angle for
meter
the purpose of calculating and
In this section, the implementation of a
displaying the power factor can be done
basic watt hour meter using
separately and is very calculation
microcontroller circuit has been
intensive.
achieved. In the process, ADC with a
It is difficult for a microcontroller to
sample-and-hold circuit can effectively
make direct measurements when the
measure both voltage and load current.
supply voltage is 230V at up to 50A.
KWh and PF have been calculated by
This makes it necessary to indirectly
PIC microcontroller which sends to
measure line voltage and current at a
XBee kit through RS232 serial
level consistent with a microcontroller،
connection. The design discussed here
and then rescale these measurements to
uses the PIC24FJ128GA010 and
arrive at the original value. Measuring
Current Transformer (CT) for current
current here is essentially the same as
sensing.
measuring voltage which transducer has
been used to generate a voltage
A. Principles of measurement proportional to the load current. The
Basically, a watt hour meter is designed actual voltage and current readings can
to measure energy or power consumed then be derived.
over time. In simple terms، electrical For this application, the derived voltage
power is the product of voltage and reading, Vd, is related to the actual
current. If measurements of both instantaneous line voltage Vi by the
instantaneous voltage and current, or Vi expression, Vd = Vi *Kd/Kv or Vi = Vd
and Ii has been repeated for N times, the *Kv/Kd, where Kd is the digitization
average power (watt) is. constant for the ADC in this application
and Kv is the voltage proportionality
constant for the circuit design.
Similarly, the derived current reading,
The total energy consumed during Id, is related to Ii by the expression, Id =
specific time can be calculated by Ii *Kd/Ki or Ii = Id *Ki/Kd, where Ki is
multiplying the average power by time. the current proportionality constant
specific to this design; it is calculated
by dividing the CT turn ratio by the
4
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
5
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
Measurement PIC24FJ128GA010
AC Falt
Selectable
Gain LCD
Attenuation Amplifier
Voltage
ADC
Line
Current Communication / Control
CT Attenuation Selectable
Gain
Amplifier
ZigBee Based
UART RS232
Wireless Kit
6
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
7
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
8
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
Start
Initialize System
Start = UART
Is No
Start?
Yes
No
i <= N*Ts
Yes
V1 = ADC No
Consumed
Power > D
Wait t0 Yes
i=0
Evaluate accumulate consumed power
i = i+Ts
9
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
10
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
11
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
13
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
13
Iraq J. Electrical and Electronic Engineering اﻟﻤﺠﻠﺔ اﻟﻌﺮاﻗﻴﺔ ﻟﻠﻬﻨﺪﺳﺔ اﻟﻜﻬﺮﺑﺎﺋﻴﺔ واﻻﻟﻜﺘﺮوﻧﻴﺔ
Vol.10 No.1 , 2014 2014 ، 1 اﻟﻌﺪد، 10 ﻡﺠﻠﺪ
14