Implementation of Energy Meter and Motor Overload Relay Control System using GSM

DOI : 10.17577/IJERTV4IS110121

Download Full-Text PDF Cite this Publication

Text Only Version

Implementation of Energy Meter and Motor Overload Relay Control System using GSM

Alem Solomon Gebreegeziabher, Prof. Zhang Jianmin Tianjin University of Technology and Education (TUTE), School of Electronics Engineering

Tianjin, China

Abstract; The aim of this research is to Implementation of energy meter and motor overload relay control system using wireless network, Global System for Mobile communication (GSM) and microcontroller based technology. This can be achieved by sending Short Message Service (SMS) from the GSM SIM modem to the mobile. To implement the setup, a GSM modem is a GSM modem is connected to a programmed Microcontroller VARATMEGA16 which would send SMS from microcontroller to the mobile, this system uses to deliver a targeted to control energy meter and motor over load control. such a way that when energy meter not read then the power turn off .to send message to mobile and to display on the LCD turnoff power. And also the bell give alarm. When the power turn on energy meter reading power. And also when two motor is turn on as same time, occur over load, two motor is turnoff. And to send message to mobile is overload, sound, display LCD overload. When one motor is turn on, motor run good condition, display motor one is normal also to measure voltage, current, power and power factor of any device, motor using micro control.

In this project, the designed system is made up of micro control VARATMEGA16 CNY17-2,BC547NPN transistor

,LM358,Current transformer, voltage transformer,SIM 900a modem ,GSM modem and relays with control circuitry that integrate the system to have an intended application. A systematic working approach that included literature study together with varieties of phases such as design, experimental, development of prototype and testing are being illustrated in this report.

KeywordGSM (Global System for Mobile communication), LCD

Liquid Crystal Display , SMS (Short Message Service). SIM900modomCNY17-2 opt coupler and transistor. CT (Current transformer) PT (power transformer)

  1. INTRODUCTION

    In the world of advanced electronics, life of human beings should be simpler, thus, some activities are automated to have its real time advantage. Integrated energy meter and motor over load relay is a system that delivers a targeted monitor control electrical power and protection of motor, GSM (Global System for Mobile communication) is a member of the class of cellular mobile communication networks that use operating frequencies of around 900 MHz and 1900 MHz Here it uses to Text messages can be sent to mobile phone subscribers all over the World by SMS

    (Short Message Service).Messages can be up to 160 characters long. The message text is entered using the switch and sent to the desired recipient. Alternatively, SMS Messages can also be sent. When the recipient retrieves the message, it is transmitted

    by the serve to the mobile phone, and measure voltage, current, power and power factor to display LCD.

    A buzzer is an audio signaling device, which may be used as alternative information provider to owner as it is needed in the system. Liquid Crystal Display (LCD) is the most common message display device used to display ASCII character.

    The microcontroller in this project is ATMEGA 16 which has low cost, high clock speed and its code compiler is more user- friendly.it has analog to digital conversion, here it uses to control the relays which system valves that are connected to outgoing energy meter and motor and bank of capacitor

  2. OBJECTIVES

    There are some objectives need to be achieved in order to accomplish this project. These objectives will act as a guide and will restrict the system to be implemented for certain situations:

    • To develop integrated energy meter and motor over load control system

    • To use GSM as a medium to send the message to the owner/technician

    • To measure voltage, current, power, and power factor, and display the value on LCD.

    • To develop the system that must work effectively.

    • to use C(Bascom AVR) language for developing program and system optimization

    Figure. (1) Block diagram of energy meter and motor overload control circuit

    Figure. (2) Circuit diagram of energy meter and motor control.

  3. RESEARCH METHODOLOGY

    Automatic energy meter and motor over load control System has the following main approaches. These are: Microprocessor to interface between inputs from modem and outputs to relays which Govern electrical power control& motor run good condition Buzzer to give alarm sound as it is programmed, GSM modem to use it as a medium to send the message to owner, LCD uses as common message display device to display ASCII character & LED to indicate that the intended circuit is conducting.

    Designing electronic circuit this approach helps to have hardware for the given system and exposes to use different circuit designer software.

    Software developing this approach helps to program the system to have an intended real time application

  4. EMBEDDED SYSTEMS DESIGN

    This field of designing application specific computer systems is called embedded systems development. If the response of the computer system need to be real time and highly reliable then it's called Real Time Embedded System. To define in a sentence, Embedded Systems is a special purpose computer system/board, which encapsulates all the devices such as processor, memory, interface and control in single package or board to perform only a specific application tasks.

    4.1 Hardware system

    Embedded systems for real-time applications are implemented as used software-hardware systems. Generally, software is used for features and flexibility, while hardware is used for performance. The hardware design and its implementation for this system & its components will be discussed in the subsequent sections.

    1. Microcontroller AVR atmega16

    2. Sim900A GSM Modem

    3. Power Supply circuit

    4. 1602 LCD Display

    5. Switches

    6. Driver, output and relay

    7. Relays

    8. The CNY17-2

    9. NPN Transistor

    10. DC Motor

    11. RS-232 Serial Communication Interface

    12. Voltage and current measure circuit

        1. Microcontroller Circuit (AVRmega16)

          atmega16 microcontroller was chosen for this project due the high computation capabilities with relative low cost. This 40 pins 8-bits microcontroller comes with 4 PORTs and able to operate at the speed of up to 40 MHz with high temperature endurances.

          Figure. (3) AVRatmega 16 microcontroller

        2. Sim900 GSM Modem

          GSM modem has a variety of value added services such as voice mail, call handling facilities, and SMS messages. [24]

          1. Support 900/ 1800/ 1900 MHz GSM Tri band.

          2. Uses AT Command Set.

          3. SIM card holder/socket ready.

          4. Ready with SMA antenna for better signal reception and transmission

          5. SMS (text) and voice communication is ready.

          6. Single board solution.

          7. Power with 5VDC.

          8. Ready with UART (2.65V TTL) & RS232 (COM Port) serial interface.

          Figure. (4) Sim900 GSM Modem

        3. Power supply circuit

          Mega16 microcontroller operates (from the voltage range of 3.3V to 5.V. With the use of 12V DC battery, we require a 5V voltage regulator, LM7805 and 12v voltage regulator, LM7812,-12voltage regulator, LM7912 and 5 voltage regulator, LM7905. In order for the microcontroller to operate, the LM7805 step-down the voltage from 12V TO 5V. LM7805 is capable of handling input voltage ranging from 5V to 18V and output voltage ranging from 4.8V to 5.2V.12v used to operate relay driver and relay. [14]

          A diode here is used to protect the power supply circuit if the battery or power source polarity is connected reversely. The diode does not allow current to flow as it only allows electric

          current to flow in one direction only and blocks the flow in the opposite direction.

          Capacitor is used to filter dc power supply. And LED is used to indicate light

          Transformer is used electrical energy convert to electrical energy .from 220 v to 12v and 7.5v .in my project it has two transformers,

          4.1.7 Relay

          Figure. (8) Driver output and relay schematic

          Figure. (5) Power supply circuit

        4. 1602 LCD Display

          1602 LCD display is used to display. The LCD is a 4 line 16 character displays so it will display the power off, power on

          ,and overload on the upper line (line 1) and motor 1 is ok and motor 2 is ok message on the lower line (line 2). And power factor (line 3) And to measure voltage, current,(line 4)display LCD.Thus, the user can know measure power, power control and motor over load [1819]

          A relay is a simple electromechanical switch made up of an electromagnet and a set of contacts. Current flow through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts depend the use of output device. [20,21]

          Figure. (9) Relays

          Figure. (6) 1602 LCD Display

        5. Switch inert face with with AVR mega16

          Three switches are connect pin of micro control mega16 of pin PB7, PB6 and PB7. It is input of micro control. These switches are control the output device such as EM, motor, LCD, send message to mobile, and buzzer[15]

          Figure. (7) Switches systematics

        6. Driver, output and relay with mega16 Five LEDs and a Buzzer are used as further indicating unit for the system [10], [11,12]. When energy meter read LED 1 become ON. When motor1 is running LED2 becomes ON and When motor2 is running LED3 becomes ON the When motor1 and motor 2 is running as same time to occur overload, relay 3 is energize the contact point of normal close contact point should be open , two motors are turn off buzzer beeps continuously. And when power is present up to energy meter and two motors are stop and the Buzzer beeps continuously, send message to mobile.

        1. The CNY17-2

          It series of devices each consist of an infrared emitting diode optically coupled to a photo transistor. It series consists of a Gallium Arsenide IRED coupled with an NPN phot It series consists of a Gallium Arsenide IRED coupled with an NPN phototransistor.[22]

          They are packaged in a 6-pin DIP package and available in wide-lead spacing and SMD option.

          Applications of CNY17-2 is control Power supply regulators, Digital logic inputs, Microprocessor inputs, Appliance sensor systems and Industrial controls

          Figure. (10) CNY 17-2 package and schematics

        2. NPN Transistor

          A transistor is a semiconductor device used to And amplify electronic signals and electrical power.

          It is composed of semiconductor material with at least three terminals for connection to an External circuit. A voltage or current applied to one Pair of the transistor's terminals changes the Current through another pair of terminals. Because the controlled (output) power can be higher than the controlling (input) power, a transistor can amplify a signal. The transistor is the fundamental Building block of modern electronic devices, and is Ubiquitous in modern electronic systems [16]

          Figure. (11) NPN Transistor

        3. AC/DC Motor

          An electric motor either in Alternating Current (AC) or Direct Current(DC) convert electrical energy into mechanical energy to produce the required torque base on Principle of Lorentz force {Force=electric charge(electric field + (velocity x magnetic field))} or require speed. An electric motor will become a generator such as an alternator or dynamo) by reverse the process of converting mechanical energy to electrical energy usually by turning of a shaft. [17]

          Figure. (12) DC motor

        4. RS-232 Serial Communication Interface

          A Max232 serial interface driver IC is used to enable RS232 Serial Communication Interface between the microcontroller and the GSM modem. Through this serial communication interface, the microcontroller is able to send SMS (text) message to the one who is responsible for the power control,

          Figure. (13) RS-232 Serial Communication Interface

        5. D9 CONNECTOR

          DB9 connectors were once very common on PCs and servers. DB9 connectors are designed to work with the MAX 232 serial interface standard, which determined the function of all nine pins as a standard, so that multiple companies could design them into their products. [23]

          The DB9 connector is connected debugger using for Communication between microcontroller and computer.

          Figure. (14) DB9 connector

        6. VOLTAGE AND CURRENT CIRCUIT

    To measure voltage, current, and power, and power factor, in this project .used step down transformer and current

    transformer.it is the high voltage is step down 7.5v. Because the any micro control the voltage above 5v should be damage analogue input of microcontroller. so the voltage of micro control it must less than 5v .and also the current transformer is the input current pass through it to generate voltage in secondary winding depend current flow in the load then the output of LM358 is always less than 5v. Also power factor is very important used inductive device, because for protection of dissipate of power between the line and load ckt. Testing device single phase motor, water boiler, charger, soldering iron, fan, and lighting circuit, also test op1, and op2 is v<=5

  5. SOFTWARE DEVELOPMENT

    The software programming for the mega16 microcontroller is C-program and will be compiled using viscose compiler of the AVR Integrated Development Environment.

      1. Process Flow

        The picture below shows the process flow diagram of the whole system

        Figure (15) flow chart of control energy meter and motor overload

      2. Tests

    The following shows the tests done to check the hardware and software implementation on the system. This is done to make sure that each of the individual parts and the complete system are working property.

    Tests made are power supply, 16*4 LCD display, relay, buzzer, LEDs and sending SMS. Measure voltage, current and power factor

  6. CONCLUSION

    GSM based Designs have developed another innovative and Public utility product for mass communication. The purpose of this project is to remote monitoring control of Energy meter and overload motor control and measure voltage, current, power and power factor device. It send SMS from micro control to mobile the technician to know about device in working area such as energy meter and motor.

    This system also makes use of a GSM modem for remote monitoring control of Energy Meter and control motor over load. and the motor run, when switch on at normal condition, then the two switch press a as same time the two motor turn off, buzzer is give sound, message send to mobile over load motor, then normal condition buzzer no sound, The Microcontroller based system continuously no reading energy meter and overload motor be sent to technician on request. A dedicated GSM modem with SIM card is required The main aim of the project will be to design a SMS electronic energy meter and motor over load relay. Which can replace the electromagnetic protection device, such as circuit breaker. The toolkit send SMS to technical, the system is made efficient by SIMs so that the SMS can be send to mobile from microcontroller AVR mega16 devces boards in a locality using techniques of time division multiple access.

  7. REFERENCES

  1. Programming and interfacing ATMELs AVRS Jul 29, 2015 by Thomas Grace

  2. AVR Microcontroller and Embedded Systems: Using Assembly and C (Pearson Custom Electronics Technology) Jan 31, 2010 by Muhammad Ali Mazidi and Sarmad Naimi

  3. Artificial Intelligence A Modern approach Slaurt Russel and Peter Norving, Pearson Education, 2nd Edition

  4. Introduction to Robotics P.J.Mc Kerrow, Addisson Wesley, USA, 1991 Bernard Sklar, Digital Communications: Fundamentals and Applications, Prentice Hall, 2001.

  5. A. Clark and R. Harun, Assessment of kalman-_lter channel estimators for an HF radio link," IEE Proceedings, vol. 133, pp. 513{521, Oct 1986}

  6. Matthew C. Valentin and Jian Sun, Chapter 12: Turbo Codes,

    Handbook of RF and Wireless

  7. GSM Multiple Access Scheme, http://www.eecg.toronto.edu/~nazizi/gsm/ma/ William Stallings Data and Computer Communications 7th Edition: Chapter 9

  8. ETS 300 608. Digital Cellular Telecommunication System (Phase 2); Specification of the Subscriber Identity Module-Mobile Equipment (SIM-ME) Interface. European Telecommunications Standards Institute. May 1998.

  9. Jones & Bartlett, Fundamentals of Fire Fighter Skills, 40 Tall Pine Driver Sudbury, MA 01776-443-500\

  10. Raj Kamal, Embedded Systems (2nd Edition).New Delhi: Tata McGraw-Hill, 2008

  11. http://www.manorshi.com

  12. http://www.microbuzzer.com

  13. John Proakis, Digital Communications, 4th ed.: McGraw-Hill, 2000.

  14. NationalSemiconductorCorporationDS010484. (2005, August) LM78MXX Series datasheet.

  15. http://www.parallax.com/

  16. Transistor:http://en.wikipedia.org/wiki/Transor

  17. http://www.electrical4u.com/dc-motor-or-direct-current-motor/

  18. LCD: http://www.ladyada.net

  19. LCDdatasheet.http://www.lcdmodule.de/eng/pdf/doma/dip162-de.pdf

  20. Relay.[20130912].http://shop.tuxgraphics.org/electronic/detail_relay. html

  21. Relay.http://www.instructables.com/id/ Buzzer. http://www.swe.org

  22. http://www.bgelectronics.de/datenblaetter/Optokoppler/CNY17.pdf

  23. http://www.l-com.com/what-is-a-db9-connecto

  24. http://www.propox.com/download/SIM900.pd

  25. AT-commands tutorials. [2013-11- 16].http://www.engineersgarage.com/tutorials

  26. Basic commands. [2014-01-02] http://www.developershome.com/sms

  27. Serialcommunication.http://microcontrollerboard.com/pic_serial_com munication.htm

  28. Serial Programming and AT Commands. [2014-01- 16]http://en.wikibooks.org/wiki

Leave a Reply