SlideShare a Scribd company logo
1. INTRODUCTION

   1.1 GENEREL
Now a day’s wireless communication has become ubiquitous around the world and its
application for gauging consumption of utilities by customers is rapidly gaining pace, not only in
the developed world but also in the developing countries.

To introduce this concept in the Sultanate of Oman, a model of Wireless Automatic Meter
Reading System (WAMRS) has been developed, in which the wireless communication is based
on IEEE 802.15.4 (ZigBee) standard and security is implemented by following the Direct
Sequence Spread Spectrum (DSSS) protocol. Successful demonstration of WAMRS prototype
has made it possible to be implemented in Oman on a larger scale for meter reading applications.

Electricity is the driving force behind the development of any country. With the rapid increase in
residential, commercial, and industrial consumers of electricity throughout the world, it has now
become imperative for utilities companies to devise better, non-intrusive, environmentally-safe
techniques of gauging utilities’ consumption so that correct bills can be generated and invoiced.
Traditionally, the electricity meters are installed on consumer’s premises and the consumption
information is collected by meter-readers on their fortnightly or monthly visits to the premises.



This method of gauging electricity consumption has the following disadvantages:

    Sometimes the meters are installed inside people’s homes and, if the consumer is not at
     home, the meter-reader cannot record the fortnightly or monthly consumption and then
     the utilities’ company has to resort to considering the average bill-amount of the previous
     months as an indicator of the likely consumption for the current month. This results in
     burden for both consumer and the electricity supply company. May be the consumer has
     not utilized similar amount of electricity in the current month as in the previous months
     for reasons such as, holidaying elsewhere or being in the hospital, etc. during the month,
     and sending him a bill for a larger amount based on his history of electricity consumption
     may result in his/her financial hardship. This method of billing is also not suitable for the
     electricity supply company because it gives inaccurate account of the overall electricity
     consumption in the consumer’s area and may ultimately result in errors in future planning
     by the company.
    Hiring of a number of meter readers by utilities’ companies and providing means of
     transportation to them is an expensive burden on the companies’ budgets. Moreover,
     these visits of the meter readers to consumers’ premises generate pollution in the air
     which has negative impact on the environment and the greenhouse effect.
 Dissatisfaction of some customers who consider meter-readers’ entrance to their homes
       as some sort of invasion of their privacy. This is especially applicable in countries, like
       Oman, where during the day most men are outside of their homes earning a living and
       only women are at home doing the housework.
In order to overcome these disadvantages of the traditional meter reading system, efforts are
underway around the world to automate meter reading and to provide comprehensive
information to the consumer for efficient use of the utilities.



   1.2 BASIC CONCEPT FOR OUR PROJECT


The basic concept for our project comes from the WIRELESS AUTOMATIC METER
READING SYSTEM project undertaken by the Sultan Quaboos University, Oman.



The main attributes of that project are as follows:




                         Overall global view of WAMRS project
An overall global view of WAMRS is shown in Fig. The main goal of `WAMRS project was to
send periodical readings of an electricity meter wirelessly to a server in the billing office of the
electricity supply company. There were central point’s covering each geographical area, since
each premises unit would have limited range of wireless coverage, while the central point’s
would have long-range wireless transmitters that could deliver the meter-reading data over long
distances to the billing office. The server in the billing office had a highly secure database
system which enabled authorized staff members of the electricity supply company to read and
print electricity bills. For premises out of the coverage area of any central point, the solution
proposed was to make the nearest premises unit (covered by a central point) as the central point
for such remote premises. This added a constraint on the wireless device used for such purpose
because such a device should have the capability of both sending and receiving the data.

A block diagram of global WAMRS design is given in Fig. It consists of three main parts, the
Sender (also called Premises Unit), the Central Point’s Unit, and the Receiver (server database at
the billing office of the electricity supply company).




                  Block diagram view of the global WAMRS design

    1.2.1. The Sender (Premises Unit)

       1.2.1.1. Digital Meter
After conducting a survey of the digital kWh meters available in the international market and
comparing their prices and characteristics, we decided to use a single-phase MK-60LCD digital
meter, provided by the Circutor Company. This meter satisfied Omani power systems
requirements since it runs with 230V/50Hz supply and can handle maximum current of
60(120)A. The meter has a pulse port and a memory to store records in case of power shutdown.
Note that designed WAMRS for a single-phase system mainly because the cost of three-phase
digital meter was about US$100 more than the cost of a single-phase meter & this would have
taken us out of our budget allocation. Nevertheless, the theory of implementing a three-phase
WAMRS is identical to a single-phase wireless automatic meter-reading system.

       1.2.1.2. Bus controller
A bus controller is needed to select the input to the microcontroller from either the digital meter
for reading the consumption or the wireless chip which can receive data from the central point or
the remote location (if it exists). A simple 2x1 multiplexer was considered sufficient to serve as
bus controller for this project.




       1.2.1.3.   Microcontroller
The main function of the microcontroller is to control the communication between the Premises
Unit and the Central Points, and also between different components of the Premises Unit. It is
also responsible for encrypting the data before transmission and for decrypting the received
message. For this project, Philips P87LPC764 microcontroller was selected because it satisfied
the requirements of the project (low power consumption, two-wire communication port, full
duplex UART for digital meter-wireless chip communication, and low cost of about US$3).

        1.2.1.4. NVRAM
A non-volatile RAM was chosen because it is faster compared to most kinds of ROM and is
cheaper for the size of memory needed for the project. The memory was segmented into different
blocks: one block of memory was used to store configuration files which can be updated
remotely by the server through the microcontroller, another block was assigned for storage of the
random numbers table used for authentication, another block was used for recording the daily,
weekly, and monthly power consumptions, and the last block of memory contained a list of IP
addresses with which the current unit can send or receive data. Philips 24LC16B memory chip
was used for the project which has a size of 16KB, works at 3V and needs only two wires to
communicate with the microcontroller. It has the ability to store data for more than 200 years and
its cost is about US$0.50.

       1.2.1.5. Real-time Clock
The function of the clock is to “wake” the chip up at pre-determined time for transmission of
power consumption and then to put it back to “sleep” to conserve power. Ricoh RV5c339A was
chosen for the project because of its accuracy and ignorable active mode power consumption. It
has an alarm feature for interrupting the microcontroller.

       1.2.1.6. Transmitting Chip
The first step in designing any wireless network is to perform a site survey which involves an
investigation of critical features and characteristics of the site (building) in terms of building
material, floor dimensions, and possible sources of interference. Since the designed system was
planned to be installed at a laboratory building in the Department of Electrical and Computer
Engineering at Sultan Qaboos University (Oman), the following data was obtained during the
site-survey phase:

The dimensions of each of the three floors of the building are 115.2x22.8 meters. The building is
made of concrete and most of the walls are made of cement-based material.

No metal shields are used in the building but there are a number of small metal studs around the
extremities of each floor.Major source of interference might be Bluetooth-enabled devices
(mobile phones, PDAs, and laptops). After comparison of various commonly available wireless
communication techniques, ZigBee was chosen for this project. ZigBee is very secure (uses
Advanced Encryption Standard) and is self-configuring. It allows ad-hoc networks, provides
reliable data transfer in noisy, interference-rich environments, and addresses the unique needs of
most remote monitoring.

Among the various available ZigBee products, Maxstream’s XBee-PRO chip was most suitable
in terms of range, data rate, security, and cost so this chip was chosen for the project. The chip is
available with a whipantenna, a low-profile chip antenna, or U.FL connector (to which external
antenna can be connected). The whip antenna provides a better range compared to a chip antenna
in both outdoor (1335 m) and indoor (43 m) environments so whip antenna was selected for the
project.



    1.2.2. At the Central Points

When data has to be transmitted wirelessly over long distances, it is necessary to have some
mechanism at predetermined distances from the sender for temporarily receiving and
retransmission of data to the designated receiver. As shown in the WAMRS block diagram
(Fig.), at the central points, the system will consist of a transceiver, microcontroller, the clock,
and a NVRAM. This hardware is similar to the hardware at the Premises Unit, so at the time of
implementation of the system, each premises unit can be configured to behave both as a sender
(when transmitting its data) and a central point unit (for temporarily receiving/retransmission of
data coming from other neighboring premises units) at different times.



    1.2.3. The Receiver (at the Billing Office)
The hardware at the billing office consisted of a receiving chip and a database server.

       1.2.3.1.    Receiving Chip
To remain compatible with the XBee- PRO transmitting chip, the XBee-PRO PKG (Receiver)
was selected as the receiving chip for the project. It is a small, high performance, low cost
wireless data receiver operating in the 2.4 GHz ISM (Industrial, Scientific, and Medical) band
and has FCC approval for operation without a license. Based on IEEE 802.15.4 standard, it uses
OQPSK (Offset Quadrature Phase Shift Keying) with a half-sine pulse shaping filter as
modulation.

       1.2.3.2. Database Server
The database server requires software for communication with the premises unit of each
consumer and, based on the consumption data received, it needs to generate an electricity bill.
Prior to allowing communication between the sender and receiver, it will be necessary to
authenticate the administrator at the billing office and the sender at the Premises Unit.

To validate the source, a very simple approach used was a three-way handshake such as that used
in TCP. In TCP, this handshake is used for synchronization, but in this project, this technique
was used for authentication of the source. A block of memory in NVRAM of each Premises
Unit, at the central point , and the memory of the server at the billing office is used to store a
256rows x 3columns table filled with random numbers in 0-255 range (all 768 entries of the table
will be the same stored at all locations of the system). The source at the Premises Unit will send
an initial request including a random number selected from the first column of its stored table.
The destination (at the central point or the billing office) will reply with a datagram containing
the random number entry in the second column of the same row (as the sender) of its stored
table. At this point, the source has authenticated the destination, so it sends its data with the
random number entry in the third column of the same row of its stored table to authenticate itself
to the destination. The data packet used in WARMS consists of the following fields:

Source Destination (S/D) IP Addresses: A 128-bit field, which has been divided into two 64 bit
unique IP addresses for both source and destination. This is important for authentication of the
source using three-way handshake protocol. Original Source/Original Destination (OS/OD): This
is of the same size as the S/D field and is important in case of the Premises Units which are
located at remote places or if the server wants to connect to a certain Premises Unit through a
certain central point. Power Consumption: This field is 20-bits long (to accommodate maximum
meter reading of 999,999 kWh) and contains the latest digital meter reading sent by the Premises
Unit. Random Sequence Number: An 8-bit field, used for authentication, as explained
previously. Using password to authenticate the administrator in the billing office, he/she can
generate an electricity bill for the consumer, upon receiving the consumption data. For the
project, the bill generator program was written using Visual Basic/Macromedia Flash MX,
interfaced with a SQL database.

You can download complete report from
“www.thoughtcrackers.blogspot.com”

More Related Content

PPTX
Smart meter functionality for today and for the future
PPTX
Automatic meter reading
PPTX
Automatic meter reading nnb ppt
PPTX
AUTOMATIC ENERGY METER READING SYSTEM FOR BILLING PURPOSE
PDF
Development and Application of Automatic Meter Reading in Seoul
PPTX
Ppt gsm based automatic energy meter
PDF
Water and Electrical Utility Meter Reading with BPL
DOC
automatic meter reading
Smart meter functionality for today and for the future
Automatic meter reading
Automatic meter reading nnb ppt
AUTOMATIC ENERGY METER READING SYSTEM FOR BILLING PURPOSE
Development and Application of Automatic Meter Reading in Seoul
Ppt gsm based automatic energy meter
Water and Electrical Utility Meter Reading with BPL
automatic meter reading

What's hot (20)

PPT
Tariff Metering
PDF
Echelon Smart Metering - Grid Analytics
PDF
Cired2011 0405 final
PPTX
wireless energy meter monitoring with automatic tariff calculation ppt
DOCX
wireless energy meter
PPT
AUTOMATIC METER READING SYSTEMS
DOC
A solution to remote detection of illegal electricity.
DOCX
Gsm energy meter
PPTX
Smart metering infrastructure Architecture and analytics
PPTX
Automated Meter Reading System
DOCX
Repot on gsm based arm
PDF
Final paperenhancing distribution system through the use of real time etherne...
PDF
Automatic Meter reading (amr)
PDF
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
DOCX
Prepaid energy meter using gprs gsm technology
PDF
IRJET- Smart Prepaid Energy Meter using GSM Technology
PPTX
Concepts of smart meter
PPTX
Lect k week 12 summary on smart meters & sg 1
PDF
Ieeepro techno solutions ieee embedded project intelligent wireless street l...
PDF
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
Tariff Metering
Echelon Smart Metering - Grid Analytics
Cired2011 0405 final
wireless energy meter monitoring with automatic tariff calculation ppt
wireless energy meter
AUTOMATIC METER READING SYSTEMS
A solution to remote detection of illegal electricity.
Gsm energy meter
Smart metering infrastructure Architecture and analytics
Automated Meter Reading System
Repot on gsm based arm
Final paperenhancing distribution system through the use of real time etherne...
Automatic Meter reading (amr)
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
Prepaid energy meter using gprs gsm technology
IRJET- Smart Prepaid Energy Meter using GSM Technology
Concepts of smart meter
Lect k week 12 summary on smart meters & sg 1
Ieeepro techno solutions ieee embedded project intelligent wireless street l...
Ieeepro techno solutions ieee embedded project - low power wireless sensor...
Ad

Viewers also liked (20)

PPTX
improved transformerless inverter
PDF
Transformer Less FPGA Controlled 2-Stage Isolated Grid Connected PV System
PPTX
Laser security system
PPTX
Footstep Power Generation
PPTX
Laser security system
PPTX
Rural electrification
PPTX
Laser Security System
PPTX
Rural electrification by Lakshmi.Nidoni-seminar ppt
PPTX
Foot step energy generator
PPT
Laser security system
PPTX
Foot step energy generator
PPTX
Footstep power generating system
PPTX
seminar on footsteps energy generation
PPTX
seminar on invisible eye
PPTX
Foot step power generation.ppt
PPT
Rfid technologies
PPTX
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
PPT
RFID and its applications
PPTX
Foot step power generator
PPTX
Power generation through foot steps
improved transformerless inverter
Transformer Less FPGA Controlled 2-Stage Isolated Grid Connected PV System
Laser security system
Footstep Power Generation
Laser security system
Rural electrification
Laser Security System
Rural electrification by Lakshmi.Nidoni-seminar ppt
Foot step energy generator
Laser security system
Foot step energy generator
Footstep power generating system
seminar on footsteps energy generation
seminar on invisible eye
Foot step power generation.ppt
Rfid technologies
GSM BASED PREPAID ENERGY METER BILLING VIA SMS
RFID and its applications
Foot step power generator
Power generation through foot steps
Ad

Similar to Wireless meter reading system (20)

PDF
[whitepaper] Cellular Technology simplifies Smart Water Meter Deployments
PDF
Db24664671
PPTX
Smart metering and control of transmission system
PPTX
UNMESH 2015 modified Presentation
PDF
Simulation of Smart Meter Using Proteus software for Smart Grid
PDF
IRJET-Simulation of Smart Meter Using Proteus software for Smart Grid
PDF
H021201049058
PDF
Vision and Strategy for India’s Electricity Metering Infrastructure of the fu...
PDF
An electric circuits' remote switching system based on gsm radio network
PDF
An electric circuits' remote switching system based on gsm radio network
PDF
A New Intelligent Low Cost Mobile Phone Based Irrigation System using ARM
DOCX
Advanced Metering Infrastructure Standards and protocol
PDF
BPSK Modulation and Demodulation with Power Line Carrier Communication and GS...
PPTX
GMS PPT.pptx
PDF
Assessment of Communication Technologies for a Home Energy Management System
DOCX
Advance Metering Infrastructure:Smart Meter
PDF
Ijariie1172
PDF
Implementation of a Microcontroller Based Wireless Control of Domestic Electr...
PDF
Intelligent Power Meter using GSM network and Android Application
PDF
Design of self powered embedded wireless smart camera using multimodal video ...
[whitepaper] Cellular Technology simplifies Smart Water Meter Deployments
Db24664671
Smart metering and control of transmission system
UNMESH 2015 modified Presentation
Simulation of Smart Meter Using Proteus software for Smart Grid
IRJET-Simulation of Smart Meter Using Proteus software for Smart Grid
H021201049058
Vision and Strategy for India’s Electricity Metering Infrastructure of the fu...
An electric circuits' remote switching system based on gsm radio network
An electric circuits' remote switching system based on gsm radio network
A New Intelligent Low Cost Mobile Phone Based Irrigation System using ARM
Advanced Metering Infrastructure Standards and protocol
BPSK Modulation and Demodulation with Power Line Carrier Communication and GS...
GMS PPT.pptx
Assessment of Communication Technologies for a Home Energy Management System
Advance Metering Infrastructure:Smart Meter
Ijariie1172
Implementation of a Microcontroller Based Wireless Control of Domestic Electr...
Intelligent Power Meter using GSM network and Android Application
Design of self powered embedded wireless smart camera using multimodal video ...

More from mangal das (20)

PPTX
Dcn data link_layer
PDF
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
PDF
Layout rules
PPT
Insulated gate bipolar transistor
PDF
Design of a bionic hand using non invasive interface
PPT
Secure wireless modem
PPT
Aloha
PPT
Dstatcom
PPT
Dvd formats
PPT
Circuit switch telecommunication network
PPT
Ultra wide band
PPT
Design for six_sigma
PPT
Pulse generator
PDF
Sixth sense(mat lab)
PDF
Ir talking of remote devics
PDF
Wirelessusb
PDF
Vehical tracking system
PPT
Vts ppt( new)
PPT
Code division multiple access
PPT
Dcn data link_layer
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
Layout rules
Insulated gate bipolar transistor
Design of a bionic hand using non invasive interface
Secure wireless modem
Aloha
Dstatcom
Dvd formats
Circuit switch telecommunication network
Ultra wide band
Design for six_sigma
Pulse generator
Sixth sense(mat lab)
Ir talking of remote devics
Wirelessusb
Vehical tracking system
Vts ppt( new)
Code division multiple access

Recently uploaded (20)

PDF
IFRS Notes in your pocket for study all the time
PDF
Training And Development of Employee .pdf
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
PDF
Laughter Yoga Basic Learning Workshop Manual
PDF
Deliverable file - Regulatory guideline analysis.pdf
PPTX
Amazon (Business Studies) management studies
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PDF
MSPs in 10 Words - Created by US MSP Network
PDF
Business model innovation report 2022.pdf
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
DOCX
Euro SEO Services 1st 3 General Updates.docx
PPTX
Lecture (1)-Introduction.pptx business communication
PPTX
HR Introduction Slide (1).pptx on hr intro
PPT
Chapter four Project-Preparation material
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
PDF
How to Get Funding for Your Trucking Business
PPTX
Business Ethics - An introduction and its overview.pptx
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
WRN_Investor_Presentation_August 2025.pdf
IFRS Notes in your pocket for study all the time
Training And Development of Employee .pdf
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
Laughter Yoga Basic Learning Workshop Manual
Deliverable file - Regulatory guideline analysis.pdf
Amazon (Business Studies) management studies
340036916-American-Literature-Literary-Period-Overview.ppt
MSPs in 10 Words - Created by US MSP Network
Business model innovation report 2022.pdf
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
Euro SEO Services 1st 3 General Updates.docx
Lecture (1)-Introduction.pptx business communication
HR Introduction Slide (1).pptx on hr intro
Chapter four Project-Preparation material
Belch_12e_PPT_Ch18_Accessible_university.pptx
How to Get Funding for Your Trucking Business
Business Ethics - An introduction and its overview.pptx
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
WRN_Investor_Presentation_August 2025.pdf

Wireless meter reading system

  • 1. 1. INTRODUCTION 1.1 GENEREL Now a day’s wireless communication has become ubiquitous around the world and its application for gauging consumption of utilities by customers is rapidly gaining pace, not only in the developed world but also in the developing countries. To introduce this concept in the Sultanate of Oman, a model of Wireless Automatic Meter Reading System (WAMRS) has been developed, in which the wireless communication is based on IEEE 802.15.4 (ZigBee) standard and security is implemented by following the Direct Sequence Spread Spectrum (DSSS) protocol. Successful demonstration of WAMRS prototype has made it possible to be implemented in Oman on a larger scale for meter reading applications. Electricity is the driving force behind the development of any country. With the rapid increase in residential, commercial, and industrial consumers of electricity throughout the world, it has now become imperative for utilities companies to devise better, non-intrusive, environmentally-safe techniques of gauging utilities’ consumption so that correct bills can be generated and invoiced. Traditionally, the electricity meters are installed on consumer’s premises and the consumption information is collected by meter-readers on their fortnightly or monthly visits to the premises. This method of gauging electricity consumption has the following disadvantages:  Sometimes the meters are installed inside people’s homes and, if the consumer is not at home, the meter-reader cannot record the fortnightly or monthly consumption and then the utilities’ company has to resort to considering the average bill-amount of the previous months as an indicator of the likely consumption for the current month. This results in burden for both consumer and the electricity supply company. May be the consumer has not utilized similar amount of electricity in the current month as in the previous months for reasons such as, holidaying elsewhere or being in the hospital, etc. during the month, and sending him a bill for a larger amount based on his history of electricity consumption may result in his/her financial hardship. This method of billing is also not suitable for the electricity supply company because it gives inaccurate account of the overall electricity consumption in the consumer’s area and may ultimately result in errors in future planning by the company.  Hiring of a number of meter readers by utilities’ companies and providing means of transportation to them is an expensive burden on the companies’ budgets. Moreover, these visits of the meter readers to consumers’ premises generate pollution in the air which has negative impact on the environment and the greenhouse effect.
  • 2.  Dissatisfaction of some customers who consider meter-readers’ entrance to their homes as some sort of invasion of their privacy. This is especially applicable in countries, like Oman, where during the day most men are outside of their homes earning a living and only women are at home doing the housework. In order to overcome these disadvantages of the traditional meter reading system, efforts are underway around the world to automate meter reading and to provide comprehensive information to the consumer for efficient use of the utilities. 1.2 BASIC CONCEPT FOR OUR PROJECT The basic concept for our project comes from the WIRELESS AUTOMATIC METER READING SYSTEM project undertaken by the Sultan Quaboos University, Oman. The main attributes of that project are as follows: Overall global view of WAMRS project
  • 3. An overall global view of WAMRS is shown in Fig. The main goal of `WAMRS project was to send periodical readings of an electricity meter wirelessly to a server in the billing office of the electricity supply company. There were central point’s covering each geographical area, since each premises unit would have limited range of wireless coverage, while the central point’s would have long-range wireless transmitters that could deliver the meter-reading data over long distances to the billing office. The server in the billing office had a highly secure database system which enabled authorized staff members of the electricity supply company to read and print electricity bills. For premises out of the coverage area of any central point, the solution proposed was to make the nearest premises unit (covered by a central point) as the central point for such remote premises. This added a constraint on the wireless device used for such purpose because such a device should have the capability of both sending and receiving the data. A block diagram of global WAMRS design is given in Fig. It consists of three main parts, the Sender (also called Premises Unit), the Central Point’s Unit, and the Receiver (server database at the billing office of the electricity supply company). Block diagram view of the global WAMRS design 1.2.1. The Sender (Premises Unit) 1.2.1.1. Digital Meter After conducting a survey of the digital kWh meters available in the international market and comparing their prices and characteristics, we decided to use a single-phase MK-60LCD digital meter, provided by the Circutor Company. This meter satisfied Omani power systems requirements since it runs with 230V/50Hz supply and can handle maximum current of 60(120)A. The meter has a pulse port and a memory to store records in case of power shutdown.
  • 4. Note that designed WAMRS for a single-phase system mainly because the cost of three-phase digital meter was about US$100 more than the cost of a single-phase meter & this would have taken us out of our budget allocation. Nevertheless, the theory of implementing a three-phase WAMRS is identical to a single-phase wireless automatic meter-reading system. 1.2.1.2. Bus controller A bus controller is needed to select the input to the microcontroller from either the digital meter for reading the consumption or the wireless chip which can receive data from the central point or the remote location (if it exists). A simple 2x1 multiplexer was considered sufficient to serve as bus controller for this project. 1.2.1.3. Microcontroller The main function of the microcontroller is to control the communication between the Premises Unit and the Central Points, and also between different components of the Premises Unit. It is also responsible for encrypting the data before transmission and for decrypting the received message. For this project, Philips P87LPC764 microcontroller was selected because it satisfied the requirements of the project (low power consumption, two-wire communication port, full duplex UART for digital meter-wireless chip communication, and low cost of about US$3). 1.2.1.4. NVRAM A non-volatile RAM was chosen because it is faster compared to most kinds of ROM and is cheaper for the size of memory needed for the project. The memory was segmented into different blocks: one block of memory was used to store configuration files which can be updated remotely by the server through the microcontroller, another block was assigned for storage of the random numbers table used for authentication, another block was used for recording the daily, weekly, and monthly power consumptions, and the last block of memory contained a list of IP addresses with which the current unit can send or receive data. Philips 24LC16B memory chip was used for the project which has a size of 16KB, works at 3V and needs only two wires to communicate with the microcontroller. It has the ability to store data for more than 200 years and its cost is about US$0.50. 1.2.1.5. Real-time Clock The function of the clock is to “wake” the chip up at pre-determined time for transmission of power consumption and then to put it back to “sleep” to conserve power. Ricoh RV5c339A was chosen for the project because of its accuracy and ignorable active mode power consumption. It has an alarm feature for interrupting the microcontroller. 1.2.1.6. Transmitting Chip The first step in designing any wireless network is to perform a site survey which involves an investigation of critical features and characteristics of the site (building) in terms of building material, floor dimensions, and possible sources of interference. Since the designed system was
  • 5. planned to be installed at a laboratory building in the Department of Electrical and Computer Engineering at Sultan Qaboos University (Oman), the following data was obtained during the site-survey phase: The dimensions of each of the three floors of the building are 115.2x22.8 meters. The building is made of concrete and most of the walls are made of cement-based material. No metal shields are used in the building but there are a number of small metal studs around the extremities of each floor.Major source of interference might be Bluetooth-enabled devices (mobile phones, PDAs, and laptops). After comparison of various commonly available wireless communication techniques, ZigBee was chosen for this project. ZigBee is very secure (uses Advanced Encryption Standard) and is self-configuring. It allows ad-hoc networks, provides reliable data transfer in noisy, interference-rich environments, and addresses the unique needs of most remote monitoring. Among the various available ZigBee products, Maxstream’s XBee-PRO chip was most suitable in terms of range, data rate, security, and cost so this chip was chosen for the project. The chip is available with a whipantenna, a low-profile chip antenna, or U.FL connector (to which external antenna can be connected). The whip antenna provides a better range compared to a chip antenna in both outdoor (1335 m) and indoor (43 m) environments so whip antenna was selected for the project. 1.2.2. At the Central Points When data has to be transmitted wirelessly over long distances, it is necessary to have some mechanism at predetermined distances from the sender for temporarily receiving and retransmission of data to the designated receiver. As shown in the WAMRS block diagram (Fig.), at the central points, the system will consist of a transceiver, microcontroller, the clock, and a NVRAM. This hardware is similar to the hardware at the Premises Unit, so at the time of implementation of the system, each premises unit can be configured to behave both as a sender (when transmitting its data) and a central point unit (for temporarily receiving/retransmission of data coming from other neighboring premises units) at different times. 1.2.3. The Receiver (at the Billing Office) The hardware at the billing office consisted of a receiving chip and a database server. 1.2.3.1. Receiving Chip To remain compatible with the XBee- PRO transmitting chip, the XBee-PRO PKG (Receiver) was selected as the receiving chip for the project. It is a small, high performance, low cost wireless data receiver operating in the 2.4 GHz ISM (Industrial, Scientific, and Medical) band and has FCC approval for operation without a license. Based on IEEE 802.15.4 standard, it uses
  • 6. OQPSK (Offset Quadrature Phase Shift Keying) with a half-sine pulse shaping filter as modulation. 1.2.3.2. Database Server The database server requires software for communication with the premises unit of each consumer and, based on the consumption data received, it needs to generate an electricity bill. Prior to allowing communication between the sender and receiver, it will be necessary to authenticate the administrator at the billing office and the sender at the Premises Unit. To validate the source, a very simple approach used was a three-way handshake such as that used in TCP. In TCP, this handshake is used for synchronization, but in this project, this technique was used for authentication of the source. A block of memory in NVRAM of each Premises Unit, at the central point , and the memory of the server at the billing office is used to store a 256rows x 3columns table filled with random numbers in 0-255 range (all 768 entries of the table will be the same stored at all locations of the system). The source at the Premises Unit will send an initial request including a random number selected from the first column of its stored table. The destination (at the central point or the billing office) will reply with a datagram containing the random number entry in the second column of the same row (as the sender) of its stored table. At this point, the source has authenticated the destination, so it sends its data with the random number entry in the third column of the same row of its stored table to authenticate itself to the destination. The data packet used in WARMS consists of the following fields: Source Destination (S/D) IP Addresses: A 128-bit field, which has been divided into two 64 bit unique IP addresses for both source and destination. This is important for authentication of the source using three-way handshake protocol. Original Source/Original Destination (OS/OD): This is of the same size as the S/D field and is important in case of the Premises Units which are located at remote places or if the server wants to connect to a certain Premises Unit through a certain central point. Power Consumption: This field is 20-bits long (to accommodate maximum meter reading of 999,999 kWh) and contains the latest digital meter reading sent by the Premises Unit. Random Sequence Number: An 8-bit field, used for authentication, as explained previously. Using password to authenticate the administrator in the billing office, he/she can generate an electricity bill for the consumer, upon receiving the consumption data. For the project, the bill generator program was written using Visual Basic/Macromedia Flash MX, interfaced with a SQL database. You can download complete report from “www.thoughtcrackers.blogspot.com”