Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
In todays world, electricity becomes a basic and the most important need of
life style. Every one need to electricity and the amount of electricity consumption are
increasing day by day. The most important reason is that all home appliances need electricity.
So at the end of the month, the MSEB department needs to dispatch the monthly hard copy
bill.
Every month, the MSEB need to send a man power door to door to collect the
reading of the meter. This involves human resource which encored the money. And to collect
the meter reading from door to door, the meter reader need to use a camera to click the snap
of the reading of the meter. This also involves the flow of money. Because this activity takes
place throughout the country, every month and that too door to door, it cost allot to MSEB
department. Many people have their meter installed inside their home. So it makes it
inconvenient for the user. Sometime the user is not available at home, so the meter reader
sometime fails to take the meter reading.
In order to avoid all these problems, we have developed this automatic energy
meter reading system. The Microcontroller based system continuously records the readings
and the live meter reading can be sent to the Hand held device. The receiver end comprises of
GSM Transceiver, which receives the data from the transmitter. The data received at the
receiver end is fed to the microcontroller present at the receiving end. The microcontroller at
the receiving end is provided with a LCD. The readings received is processed and displayed
on the LCD. The Microcontroller is programmed using Embedded C language.
2. LITERATURE REVIEW
We have gone through the different types of IEEE Papers ,International
Journals and have been reported in the literature. However, few relevant and significant
works are reviewed here.
Table 1 State of Art
Title of the
Year
Paper
of
Author
Issues Discussed
Conclusion
publis
GSM
h
Based 2013
Automatic
Energy
Meter
Reading
Electronic
developed
is
highly
Communication
Billing
Dept.
National web
Institute
interface,
of automating
Technology,
managing
billing
the
for the
drawback
of
and serial
collected communication
ZigBee
Based 2011
Calicut, India
data globally.
1 S.Arun , 2 R. The ZigBee is used since Paper provides an
Electric
Meter
Krishnamoorthy
Reading System
in
the
and 3 Dr. Venu high speed data rate, need field of automatic
Gopala Rao. M
Reading
Meter
System.
With
the
developments of the
ZigBee
technology
and
the
communication
Remote
Automatic
Reading
Wireless 2011
Shi
jiong
Meter
Sichuan
System
Electric
Based on GPRS
network .
e- This
design
of
(Electronic remote
automatic
reading
meter
Research Institute
system
Qing
Hua
2
Road,NO
24
reliable.
The
,Qingyang District,
system
,which
,Cheng Du City Si
connect to
Chuan,China
Design
and 2008
Implementation of
a
Wireless
Automatic
Meter
transmission
An economical prototype economical
Tariq Jamil,
Senior Member of
IEEE,
data
Wireless
Member Meter
IET, IAENG
Automatic prototype
Reading
of
Reading System
which
wireless System
Reading
has been
implemented
following
the
Sequence
by based
on
Direct 802.15.4
ZigBee
has
been
implemented
and 2013
Mrs.
real-time
data
transfer
of
Tech, Priyadarshini
Meter
College of Engg
Reading System
Nagpur
by
Direct
Sequence
Spread
Spectrum
(DSSS) protocol
e- By
(Electronic adding an
initialization
message option at
the time of
installation the meter
time can be updated
from the server.
S. The technology of
requirements
Automatic
Snehal
IEEE
Spectrum protocol
Reliability
is
3. SYSTEM DEVELOPMENT
3.1 BLOCK DIAGRAM DISCRIPTION
The microcontroller continuously gets the input from the meter. On the input from the
meter, the microcontroller is mathematically programmed to calibrate the amount of units
consumed. Once the unit consumed is calibrated by microcontroller, it sends that present unit
to the MSEB department wirelessly via GSM module serially interfaced with the
microcontroller.
16x2 LCD display is used to display the previous reading and the present consumed
units reading. 16x2 LCD display is also used to debug the system in case of system failure.
3.1.1 ARM 7 MICROCONTROLLER LPC2138
The LPC2138 is the brain of the project. It control all peripheral which connected to
that IC externally. It is having features like
operation.
In-System Programming/In-Application Programming (ISP/IAP) via on-chip boot
loader software. Single flash sector or full chip erase in 400 ms and programming of
256 B in1 ms.
LPC 2106
LPC 2129
LPC 2138
LPC 2148
Processor
ARM7
ARM7
ARM7
ARM7
58.9824
60
60
58.9824
12
14.7456
14.7456
14.7456
Internal RAM
64KB
16KB
32KB
32KB
Internal FLASH
128KB
256KB
512KB
512KB
USB Drive
YES
SD Card
YES
YES
NO
YES
MCU Clock
(MHz)
Crystal
(MHz)
In ARM core we are using ARM7 processor and LPC 2138 controller for our project.
As it has 60MHz clock operation so that its operation is fast. Also it is easily available and it
is cheaper than LPC2148.
We are not using LPC 2106 and LPC 2129 because of memory restriction and speed.
Also for future enhancement of the project LPC2138 is useful. Also coding in LPC 2138 is
compatible with LPC 2148. Due to this reasons we are using the LPC 2138 controller for our
project.
3.1.3 LIQUID CRYSTAL DISPLAY
LCD is used in a project to visualize the output of the application. We have used 16x2
LCD which indicates 16 columns and 2 rows. So, we can write 16 characters in each line. So,
total 32 characters we can display on 16x2 LCD.
LCD can also use in a project to check the output of different modules interfaced with
the microcontroller. Thus LCD plays a vital role in a project to see the output and to debug
the system module wise in case of system failure in order to rectify the problem.
Fig.4 OPTO-ISOLATOR
APPLICATIONS
The core of data communication about this system lies in wireless communication
control terminals that uses GSM Modules to transfer long-distance data extensively and
reliably. It Support instructions of AT commands.SIM300 can be integrated with a wide range
of applications. SIM300 is a Tri-band GSM/GPRS engine that works on frequencies EGSM
900 MHz, DCS 1800 MHz and PCS1900 MHz SIM300 provides GPRS multi-slot class 10
capabilities and support the GPRS coding schemes CS-1, CS-2, CS-3 and CS- 4. With a tiny
configuration of 40mm x 33mm x 2.85 mm, SIM300 can fit almost all the space requirement
in our application. Therefore, the MCU can connect with GSM modules very expediently
through serial interfaces. GSM modem as shown in Fig.3.6.
Some of the main and frequently used AT-Commands are given below as also used in,
AT (Attention Command)
AT+CMGL (List message)
AT+CMGF (Selecting messaging mode)
AT+CMGS (Send message)
AT +CMGR (Read message)
8
Importance of GSM:
Function
Address Inputs
Serial Data
Serial Clock Input
Write Protect
No Connect
The A2, A1 and A0 pins are device address inputs that are hard wired for the AT24C02A. As
many as eight 2K devices may be addressed on a single bus system (device addressing is
discussed in detail under the Device Addressing section). The AT24C04A uses the A2 and A1
inputs for hard wire addressing and a total of four 4K devices may be addressed on a single
bus system. The A0 pin is a no connect.
The AT24C08A only uses the A2 input for hardwire addressing and a total of two 8K
devices may be addressed on a single bus system. The A0 and A1 pins are no connects.
WRITE PROTECT (WP):
The AT24C02A/04A/08A has a Write Protect pin that provides hardware data
protection. The Write Protect pin allows normal read/write operations when connected to
ground (GND). When the Write Protect pin is connected to VCC, the write protection feature
is enabled and operates as shown in the following table.
Table 4 WP Pin Status
3.1.7 RELAY
When a coil of wire is wound on a nonmagnetic material such as plastic, paper etc.
,it is called a air-core solenoid or simply a solenoid .if a soft iron core is inserted into the coil,
it becomes an electromagnet. this electromagnet is the basic component for relay and many
other electromechanical devices such as electric bell, circuit breaker etc,.
When a current flows through the coil, the resulting magnetic field attracts an
armature that is mechanically linked to a moving contact. The movement either makes or
breaks a connection with a fixed contact. When the current to the coil is switched off, the
armature is returned by a force approximately half as strong as the magnetic force to its
relaxed position. Usually this is a spring, but gravity is also used commonly in industrial
motor starters. Most relays are manufactured to operate quickly. In a low voltage application,
this is to reduce noise. In a high voltage or high current application, this is to reduce arcing.
10
If the coil is energized with DC, a diode is frequently installed across the coil, to
dissipate the energy from the collapsing magnetic field at deactivation, which would
otherwise generate a spike of voltage and might cause damage to circuit components. Some
automotive relays already include that diode inside the relay case. If the coil is designed to be
energized with AC, a small copper ring can be crimped to the end of the solenoid. This
shading ring creates a small out-of-phase current, which increases the minimum pull on the
armature during the AC cycle
11
Since relays are switches, the terminology applied to switches is also applied to relays. A
relay will switch one or more poles, each of whose contacts can be thrown by energizing the
coil in one of three ways:
1. Normally-open (NO) contacts connect the circuit when the relay is activated; the
circuit is disconnected when the relay is inactive. It is also called a Form A contact or
make contact.
2. Normally-closed (NC) contacts disconnect the circuit when the relay is activated; the
circuit is connected when the relay is inactive. It is also called a Form B contact or
break contact.
3. Change-over, or double-throw, contacts control two circuits: one normally-open
contact and one normally-closed contact with a common terminal. It is also called a
Form C contact or transfer contact.
The following types of relays are commonly encountered:
SPST :
Single Pole Single Throw. These have two terminals which can be connected or
disconnected. Including two for the coil, such a relay has four terminals in total. It is
ambiguous whether the pole is normally open or normally closed. The terminology SPNO
and SPNC is sometimes used to resolve the ambiguity.
SPDT :
Single Pole Double Throw. A common terminal connects to either of two others.
Including two for the coil, such a relay has five terminals in total.
DPST :
Double Pole Single Throw. These have two pairs of terminals. Equivalent to two
SPST switches or relays actuated by a single coil. Including two for the coil, such a relay has
six terminals in total. It is ambiguous whether the poles are normally open, normally closed,
or one of each.
12
DPDT :
These have two rows of change-over terminals. Equivalent two SPDT switches or
relays actuated by a single coil. Such a relay has eight terminals, including the coil.
QPDT :
Quadruple Pole Double Throw. Often referred to as Quad Pole Double Throw, or
4PDT. These have four rows of change-over terminals. Equivalent to four SPDT switches or
relays actuated by a single coil, or two DPDT relays. In total, fourteen terminals including the
coil.
13
4. METHODOLOGY
4.1 PROBLEM STATEMENT
The purpose of this project development is to make the process of electricity billing
easy, time efficient and transparent. It will be very helpful for Electricity Department as well
as common peoples. In our project we are going to Send all data through GSM System
After the completion of this project it will save the economy of government and will
prove a great help to our country and society.
4.2 GSM TECHNOLOGY
GSM stands for Global system for Mobile Communications and is the most popular
standard for mobile phones in the world GSM phones are used by over a billion people across
more than 200 countries. The ubiquity of the GSM standard makes international roaming
very common with "roaming agreements" between operators. GSM differs from its
predecessors most significantly in that both signaling and speech channels are digital, which
means that it is seen as a second generation(2G) mobile phone system. This fact has also
meant that data communication was built into the system very early. GSM is an open standard
which is developed by the 3GPP.
The key advantage of GSM systems from the point of view of the consumer has been
early delivery of new services at low costs, for example text messaging was developed first
for GSM, while the advantage for network operators has been the low infrastructure cost
which is caused by open competition. Disadvantage is that GSM's radio network is based on
TDMA technology, which is considered less than CDMA based systems. The GSM standard
continues to develop and packet data capabilities were added in the Release 97 version of the
standard with GPRS. Higher speed data transmission has been introduced by providing a new
modulation scheme with EDGE.
14
GSM networks operate in a number of different carrier frequency ranges with most
2G GSM networks operating in the 900 MHz or 1800 MHz bands. Where these bands were
already allocated, the 850 MHz and 1900 MHz bands were used instead(for example in
Canada and the United states). In rare cases the 400 and 450 MHz frequency bands are
assigned in some countries because they were previously used for first-generation systems.
Most 3G networks in Europe operate in the 2100 MHz frequency band For more information
on worldwide GSM frequency usage, see GSM frequency bands.
4.4.3 V DESIGN
The formula for calculating the output voltage of ARM is (As given in the datasheet
of LM317)
17
Fig.10 V Design
18
19
= 1 msec
20
of RS 232
21
The C works on TTL logic (0-5 v). So to convert the TTL logic to 232 logic we use
the 4 capacitors connected to the RS232 IC. These capacitors are called charge pumps used to
convert the TTL voltage to the +/- 9 v swing required by the 232 IC.
Dual Charge-Pump Voltage Converter
The MAX220MAX249 have two internal charge-pumps that convert +5V to 10V
(unloaded) for RS-232 driver operation. The first converter uses capacitor C1 to double the
+5V input to +10V on C3 at the V+ output. The second converter uses capacitor C2 to invert
+10V to -10V on C4 at the V- output.
22
these lines require a pull up of 10 kohm. which means both the pins are needed to be
forcefully pulled high (3.3v) logic.
The 24c04 IC has an memory of 4 Kbits which means it has a memory of 4kbits/8=
500 bytes of EEPROM memory.
Here as shown in the circuit diagram we are using a serial memory 24c04 in our
project which is a serial EEPROM. The IC has 3 address lines viz. a0,a1,a2.but we have only
1 serial memory in our project we can round the three address lines to ground. Also the two
data lines (SDA and SCL) can be connected to any of the i/o port pins of c. Here in our
project we are connecting the SCL and SDA lines to the Cs c0 and c1 (pin 15 and pin
16).both these lines require a pull up of 4.7kohm.which means both the pins are needed to be
forcefully pulled high (5v) logic. The 24c04 IC has an memory of 4 Kbits which means it has
a memory of 4kbits/8= 500 bytes of EEPROM memory
4.5.8 ARM C INTERFACE TO THE RELAYS
The C cannot provide that much amount of current thats why we connect a relay driver
in between so that the current requirement can be fulfilled on our PCB we dont have the
relay driver and relay circuit so in the main circuit diagram we gave shown the relay
connector which eventually connects to the relay driver board PCB.
24
There are several factors, which we must keep in mind for placing the layout.
1. Schematic Diagram: The schematic diagram forms main input document for
preparation of the layout for this purpose the software for PCB design, ORCAD was
used.
2. Electrical and thermal requirement: The PCB designer must be aware of the circuit
performance in critical aspects of the same concerning electrical conditions and the
environment to be used in.
3. Mechanical requirement: The designer should have the information about physical
size of the board, type of installation of board (vertical/horizontal). The method of
cooling adopted, front panel operated components etc.
4. Component placing and requirement: All components are too placed first in a
configuration that demands only the minimum length for critical conductors. These
key components are placed first and the others are grouped around like satellites.
5. Components mounting requirements: All components must be placed parallel to
one another as far as possible .i.e. in the same direction and orientation mechanical
over stressing of solder should be avoided.
5.1 ADVANTAGES
Receive accurate billing from utility suppliers based on correct consumption figures
Return on investment in energy savings
Improved security and tamper detection for equipment
Improved billing and tacking of usage
5.2 APPLICATIONS
6 BIBLIOGRAPHY
26
[1] Yujun Bao and Xiaoyan Jiang, Design of electric Energy Meter for long-distance data
information transfers which based upon GPRS, ISA 2009. International Workshop on
Intelligent Systems and Applications, 2009.
[2] Amin S. Mehmood, T. Choudhry, M.A. Hanif, A Reviewing the Technical Issues for the
Effective Construction of Automatic Meter Reading System in International Conference on
Microelectronics, 2005 IEEE.
[3] Vivek Kumar Sehgal,Nitesh Panda, Nipun Rai Handa, Electronic Energy Meter with
instant billing,UKSim Fourth European Modelling Symposium on Computer Modelling and
Simulation.
[4] Bharath P, Ananth N, Vijetha S, Jyothi Prakash K. V. ,Wireless automated digital Energy
Meter, ICSET 2008.
[5] P.K. Lee and L.L. Lai, Fieee, A practical approach to wireless GPRS on-line power
quality monitoring system, Power Engineering Society General Meeting, 2007.
[6] Subhashis Maitra, Embedded Energy Meter- A new concept to measure the energy
consumed by a consumer and to pay the bill, Power System Technology and IEEE Power
India Conference, 2008
27