Vous êtes sur la page 1sur 7

ACTIVATE HOME POWER SYSTEM BY SMS

Zainal Bin Aliyusmar and Mrs Nabiah Bt Zinal Electronic Engineering Department (JEL) Faculty of Electrical & Electronic Engineering, Universiti Tun Hussein Onn Malaysia Email: zainal_aliyusmar@yahoo.com
1) Abstract 1.1 Introduction This project focuses reactivation of ResidualCurrent Circuit Breaker (RCCB) using the short messaging system (SMS). PIC microcontroller is used to signal to GSM for sending SMS to the user if the lever switch RCCB is trip and users should reply SMS to activate the motor system to pull the lever switch RCCB. RCCB is a safety device used in electrical wiring installation to detect imbalance electric current in the life and neutral lines. RCCB switches normally be trip when a nearby lightning occurrence and on earth leakage current. Unlike a fuse, RCCB can be activated by simply pushing back the lever and the power supply system at home will be back to normal. GSM modem is a device used to make phone calls and sending text messages (SMS), which is used together micro-controller or computer. At present, the use of SMS is very widespread and not just to send a message only because SMS service is very cheap and phone signal coverage in Malaysia is very broad. Therefore, it can be used anywhere. One of the other applications that can do SMS system is a remote control system for electrical and electronic equipment. The system is very easy because with SMS, a system can be controlled anywhere without having to go to that place. SMS is applications very fast growing in the world now. 1.2 Problem Statement Residual-Current Circuit Breaker (RCCB) is the major protective equipment in our homes today. It will trip immediately when over-current or short circuit occurs especially during lightning events. When RCCB trip, the user must push the RCCB switch lever manually. This means that users have to push by own RCCB switch lever. However, sometimes the user is not at home to push the RCCB lever switch and it can cause serious problems such as spoiled food in the refrigerator, air shortage of fish in the aquarium, home security alarms do not work and equipment that require electricity throughout the day. This problem can be avoided by designing a system that is able to attract the RCCB switch lever

Residual-Current Circuit Breaker (RCCB) plays important rule for safety device that has high sensitivity used in every installation of electrical wiring and functions as a protective electric shock when there is a leakage to the ground and prevent the effects of over-current due to lightning phenomena. Conditions causing RCCB can function as the circuit breaker is when the current value in imbalance between life and neutral line in the electrical wiring system. While in normal circumstances, the current through the line of life equal to the value of current at the neutral line. When lightning occurs there may be a flashover current in the wiring of house and caused the current imbalance in the live and neutral lines. When the imbalance current exceeds the sensitivities in RCCB, the RCCB will automatically cut off the supply of electricity to prevent of damage to electrical equipment at house. This Automatic Circuit Breaker Device project is developed to implement two parts; send the message (SMS) to the house owner when the RCCB trips (caused by lightning, short-circuit or over current) and reset the RCCB switch to the normal condition by replying the message automatically. This application is very useful for those who are often go for outstation and to avoid something worse happens in the house. The PIC microcontroller is used for controlling the movement of servo motor to pull back the lever RCCB switch when it tripped. When the RCCB switch tripped, the GSM modem will send the message to the house owner to inform that condition. Then, the house owner needs to reply the message and the PIC microcontroller will activates the servomotor to switch back the RCCB switch to the normal condition. After attracting RCCB lever and home power supply return to normal, the servo motor will reverse to allow the lever RCCB trip again when a short circuit occurs again. This project is expected to be able to avoid the problem of food in refrigerator melts and decompose and to ensure another electrical device such as home alarm system function back normally when the RCCB switch is suddenly tripped with nobody stays in the house.

automatically. Thus a proper mechanism should be designed to retract lever switch RCCB. This type mechanism will operate according to the instructions of the programming that has been programmed in the PIC microcontroller. 1.3 Objective The objectives of this project are:

LEAKAGE CIRCUIT BREAKER WITH AN AUTO RE-CLOSER UNIT by Mohd Tarmizi Bin Rahim in 2010, DEVELOPMENT OF AUTO RECLOSER EARTH LEAKAGE CIRCUIT BREAKER (AR-ELCB) by Bakhtiar Bin Shahiran in 2007. 3.1 Residual current circuit breaker (RCCB) Residual current circuit breaker (RCCB) is an electrical device that cut power lines when detecting the current flow is not balanced between live and neutral lines. Current imbalance occurs when there is a current leakage to the earth or the effects of lightning happening nearby. This device is designed to quickly disconnect the electricity supply to prevent electric shock incident, prevent electrical damage due to overcurrent and overvoltage and can detect as little as 5-6 milliamps current differences and operating speed difference 25 milliseconds after detecting electrical current to disrupt supply. 2.2 Studies applying SMS system in the reality After the establishment of the GSM standard in 1987, the communications company had millions of customers who have been providing affordable and quality services due to competition for customers communication using a wireless communication system. SMS (Short Messaging Service) began in 1991 in Europe where digital wireless technology first introduced and the standard known as GSM. In North America, SMS was first introduced by the early founders of the phone such as BellSouth Mobility and Nextel in 1998. Today digital signal processing has made communication faster and faster. GSM is the fastest growing technologies in the world of communication. Since the communications industry has given and provides the use of wireless mobile technology, the use of mobile technology in engineering education has also increased rapidly. GSM standard used to transmit voice and data services such as SMS and mobile GPRS. SMS services have been used around the world. SMS allows users to send messages by words to other mobile user. In addition, SMS is also used in automation control systems. For example, at present, remote control devices constructed to receive / transmit data through SMS and it is used as a wireless module I / O to a part of the PLC or relay that has been programmed. 2.3 GSM Modem GSM modem is a wireless modem that works with a GSM wireless network. Function as a wireless modem dial-up modem. Dial-up modem sends and receives data through radio waves. GSM modem can be a serial modem device, USB or Bluetooth

1. Developing a system using short message


services (SMS) which can be used to notify the homeowner immediately in the event of a lever switch RCCB has been trip that may be caused by interference from lightning or strong thunderstorms, while their absence. 2. Design a system device that can pull the actuator lever RCCB lever switch after get a signal SMS from the user password to restore the home power system after blackout effects from of lightning. 1.4 Scope 1. PIC microcontroller PIC16F877A is used to control all operations such as receiving and sending signals to GSM and move the servo motor. Using Global System for Mobile communications (GSM) modem by Wavecom to send messages and communicate with a PIC microcontroller. Servo motor C55R by Cytron is used because it has a powerful torque even smaller in size and able to pull the lever of RCCB that have been trip switches automatically when SMS sent by the homeowner.

2.

3.

2)

Literature Review

2.1 Introduction This chapter discusses the various studies that have been performed to study the important things in terms of the parameters, terms and some related methods. From this research, all sources of theory and techniques of how to carry out the project will be covered. Therefore, some criteria have been chosen to emphasize and concentrate on the ones that are very relevant to the project. The purpose of this study is to describe and gain further knowledge on topics that will be created. Apart from that it is also important to collect the necessary data and notice of the assessment. Some of the work done on the automatic ELCB includes; DEVELOPMENT OF EARTH

connection to mobile phones that can provide GSM modem capabilities. GSM modem using AT commands to communicate with them to communicate, for example read messages from SIM card memory. 2.4 PIC microcontroller (PIC16F877A) PIC16F877A is a microcontroller that plays key role in regulating the overall motion of a robot or other system it is also easy to use in the program execute. It is also relatively cheap and easily available in the market when compared with other microcontrollers. PIC16F877A can be reprogrammed over and over again when you want to do another program or want to improve the system improvement. It was built with 368bit RAM and if there are variables that need to be stored temporarily, the variable will be stored in RAM. Use of external RAM is not necessary because the RAM has been built in it. There are five input and output ports, named as Port A, B, C, D and E. each port has a different function. There are a total of 40 pins and 33 pins only just exerted as input and output ports. PIC16F877A microcontroller requires +5 V power supply on the power supply pins so that the internal circuits can be executed. 2.5 Servo Motor . A Servo is a small device that has an output shaft. This shaft can be positioned to specific angular positions by sending the servo a coded signal. As long as the coded signal exists on the input line, the servo will maintain the angular position of the shaft. As the coded signal changes, the angular position of the shaft changes. In practice, servos are used in radio controlled airplanes to position control surfaces like the elevators and rudders. They are also used in radio controlled cars, puppets, and of course, robots. 3) Methodology 3.1 Introduction This chapter includes the project planning part for the process flow, the planning for the hardware structure, the hardware implementation and the software implementation parts. 3.2 Project Flow Chart Each project must be made planning properly to realize. Thus the planning for this project is shown in the diagram below.

Figure 1: Project Flow Chart Figure shows the overall summary of the hardware flowcharts which start from RCCB trip. This trip course by lighting or short-circuit. When RCCB trip, it will detect by AC relay and give signal to PIC. After that PIC will send the SMS via GSM modem. The user should get the message about the trip event. The user should reply that SMS with writing the correct password to active the servo motor to pull the actuator lever of RCCB. When the GSM modem gets SMS by user, PIC will analyse that SMS. If the SMS with the correct password, PIC will give the signal to servo motor to pull the actuator lever of RCCB and the home power supply back to normal and PIC will send SMS to user that home power supply back to normal. After a few second, the servo motor will turn to original position. If SMS sending by user with wrong password, the PIC will show unrecognized message and will delete that SMS.

Figure: block diagram circuit Figure show the block diagram for circuit GSM modem and LCD display has two way communications with PIC. AC relay and servo motor have one way communications. AC relay as an input and servo motor as an output. All device get supply form power supply circuit which have 5V output.

control the input and output of the circuit. A microcontroller can serve sensors and executing mechanisms of different systems by the principle of its proximity to an object of control. An input signal came from an output of RCCB hat has been detect by AC relay.

Figure: block diagram for PIC microcontroller Figure show block diagram of PIC microcontroller. The program for the PIC16F877A microcontroller is written in C language technique by using the MPLAB IDE and compiled with HiTech C compiler. The resulting object code in HEX file is loaded into the PIC16F877A via an in-circuit programming module (PICkit 2). 2) Wavecom GSM modem

It is the GSM modem used in this project. It is equipped with all parts needed to interface with PIC microcontroller.

Figure : Wavecom GSM modem Figure: programming flow chart Figure show the operation of the PIC microcontroller. The programming using MPLAB software and Hi-Tech C compiler. 3.3 Electric and Electronic Design 1) PIC Microcontroller PIC Microcontroller is the main brain of the circuit and the diagram in Figure 3.8 shows the input and output of the microcontroller. The microcontroller from the Microchip Company, PIC16F877A is used for processing the data and 3) Servo motor

Figure: servo motor

Full Metal Gears Suitable for heavy duty application 2 Ball Bearings Speed (sec/60deg): 0.22/4.8V, 0.20/6.0V Torque (Kg-cm): 9.0/4.8V, 11.0/6.0V

Size (mm): 40.8x20.18x36.5 Weight (g): 55 Rotation angle: 180 degree Pulse width range: 0.582ms to 2.5ms (estimation) Able to control the position of the motor Table: specification for C55R servo motor

4) Result 4.1 circuits

Servo motor will be use in this project for the purpose of pulling back the circuit breaker actuator lever. Servo motor is chosen because of lower price than other type of motor, higher torque and simple to program. Servos are controlled by sending them a pulse of variable width. The signal wire is used to send this pulse. The parameters for this pulse are that it has a minimum pulse, a maximum pulse, and a repetition rate. Given the rotation constraints of the servo, neutral is defined to be the position where the servo has exactly the same amount of potential rotation in the clockwise direction as it does in the counter clockwise direction. It is important to note that different servos will have different constraints on their rotation. The angle is determined by the duration of a pulse that is applied to the signal wire. This is called Pulse Width Modulation. The servo expects to see a pulse every 20 ms. The length of the pulse will determine how far the motor turns. For example, a 1.5 ms pulse will make the motor turn to the 90 degree position (neutral position). However, the exact correspondence between pulse width and servo varies from one servo manufacturer to another.1.5ms is not necessarily neutral or middle position. Figure: circuit for serial connection to GSM All figures above show the circuit for this system. This circuit include GSM modem get power supply from adapter 12V and have been converting to 5V using power supply circuit. The operation for this system has been control by PIC microcontroller. Problem happen for this circuit when to turn the servo motor. Servo motor need high current to operate and make another device not enough power to function properly. Also happen in starting operation. When turn on the system, servo motor will turn to minimum position. This makes lot of power used by servo motor and makes another device not properly function. The user needs turn off and turn on back to make the system normal function. Figure: circuit for power supply, PIC microcontroller and LCD display

Figure: circuit for pushbutton, AC relay and servo motor

Figure: servo motor operation

4.2 System operation

Figure: initialize GSM modem For starting of the process, PIC microcontroller will initialize GSM modem to make sure that the system device has connection with GSM modem to send and receive the message. If the system has connection properly, LCD display will show GSM modem ready. If not, PIC microcontroller will wait until have connection with GSM and other function such as detect current at RCCB cannot be function. i. After the tripping case occurs, the LED on the Arduino circuit will light on to indicate that a message in sms form was in sending process and shows that the message like ELCB Tripped has been receive by a user mobile phone as shown in Figure b Figure c shows that when owner mobile phone typing #a1b1 and send to number in GSM modem, led 1 on. # to start the command, a for LED and number 1 means led on. b for Servo motor and number 1 means servo on.

Figure: active home power system by SMS Figure show the overall system consist DB board panel, socket for sensor and adapter, electronic circuit, GSM modem and servo motor.

ii. Figure: RCCB condition before trip Before trip, RCCB at normal condition for supply electric for home appliance. Normally RCCB trip cause by lighting and short circuit.

iii. Figure d shows the condition when users send the sms to run the Servo motor and the motor will pull up the lever to back to normal condition.

iv. Aaada 2.6 Conclusion Recent developments in GSM and microcontroller technologies have provide a wide range scope of applications such as security system for vehicle via sms, cell phone based monitoring for water treatment plants and so on. These applications have provide a convenience way for people who using it and to solve some daily problems.

Figure: servo motor at minimum position For the beginning system process, servo motor automatic will turn to minimum position to allow RCCB to trip. If rope to pull the actuator lever is tense, RCCB will have a problem to trip and can make a major problem which is can damage another device due to lighting effect.

The objective of this project is to design an automatic ELCB system. The system was built in a GSM modem and a Arduino Uno microcontroller circuit which will function for informing the condition of the ELCB through sending sms to user. The system will active a Servo motor to do the resetting task if there is tripping case occur. The

objective and the scopes of this project have been partially achieved successfully. The project still needs some improvement before it becomes commercialized. REFERENCE [1] Bailey, David and Wright, Edwin. GSM Modem With Sim Card Inserting Demonstration, Phil. Trans. Roy. Soc. London, vol. A247, pp. 529-551, April 2003. Mohamed Endi, Y.Z. Elhalwagy and Attalla hashad, Comfort UCM/GSM2 Module, Comfort, the Intelligent Home System, CA: University Science, 2010. Michael P. Ward, Introduction to GSM Wireless Modems,2nd ed, vol 2. Manchester University, September 2004. Vivek Sharma, Sarang Bhutada, Siddarth Shetty, Rohan Malye, Shilpa Menon, Radhika Ramamoorthy, . Auto-Reset Circuit Breaker Auto Breaker, July 2005. Mohd Tarmizi Bin Rahim, Development of Earth Leakage Circuit Breaker With An Auto Re-Closed Unit, UTM, 2010. Bakhtiar Bin Shahiran, Development of Auto Re-Closed Earth Leakage Circuit Breaker (AR-ELCB), UNITEN, 2007. Said A. Elshayeb, Khalid Hasnan, Azli b. Nawawi, Wireless Machine Monitoring And Control For Educational Purpose, Facult of Mech. And Manufacturing UTHM, Malaysia. 2010. Dr. Bill Segars, Using AT Commands To Send and Receive SMS,Oxford (2008). Ahmad Zhafri Bin Haji Abdul Gani (2008). Cell Phone Based Monitoring For Water Treatment Plants, Universiti Teknologi Malaysia Bachelor Thesis. Mohd Haris bin Md Afandi Vacuum Cleaner via SMS Universiti Teknologi Malaysia: Bachelor thesis,2008.

[14]

http://www.cytron.com.my/

[2]

[3]

[4]

[5]

[6]

[7]

. [8]

[9]

[10]

[11]

Syahrum Nizam bin Md Arshad Development of Earth Leakage Circuit Breaker to operate automatic Reclosed Using PIC Microcontroller. Universiti Teknologi Malaysia: Bachelor,2008. http://en.wikipedia.org/wiki/Electric_motor

[12]

Vous aimerez peut-être aussi