Вы находитесь на странице: 1из 25

HOME AUTOMATION

PLC Master of Science in Systems Automation and Engineering Management Professor. Mustafa Eissa

PRESENTED BY
Ehab Sabry Mahmoud Mahmoud Abd Al-hafez Ahmad Mohamed El-sayed Mohamed El- Metwally El-Gabery Mohamed Nashaat Nor El-Din El-sayed Mostafa sayed Ibrahim

CONTENTS
Introduction ............................................................................................................................................. 2 Hardware Guide ....................................................................................................................................... 3 Zelio Smart Relay Model SR3B261BD ...................................................................................................... 3 Zelio Com Module (SR2COM01) .............................................................................................................. 3 GSM Modem: (SR2COM02) ..................................................................................................................... 3 Mobile Phone ........................................................................................................................................... 3 SIM card to insert in GSM Mode.............................................................................................................. 3 Sitting the Connections ............................................................................................................................. 3 Connection For Programming The Smart Relay And The Interface ......................................................... 3 Operating connections............................................................................................................................. 4 Configuring and Programming the Zelio Smart Relay............................................................................... 5 Wiring Connections .................................................................................................................................. 17 Hardware components............................................................................................................................. 18

Introduction
Benefits of an automated home An automated home coordinates security, temperatures, lighting, and audio/video automatically for safety, energy savings, and convenience. Automatically dimming lights and changing heating and cooling set points when you are away from home can greatly reduce energy costs. Remote access lets you view security video on a laptop or web-enabled cell phone. Adding home automation can also increase the value of your home.

The system is easy to understand and operate


Touchscreen graphic displays can be customized to meet your unique tastes and requirements. Children can even learn and understand how to use basic features of the system. Day-to-day events are controlled with one button, such as Day, Night, Vacation, or Away. More specific activities are menu driven to change temperature, lights, audio and more.

Controlled over the Internet or telephone


All HAI systems can be monitored and controlled over the Internet or telephone either inside or outside the home. Check and adjust lights, Temperature, security, audio, and more. Perfect for a vacation house.

Internet - HAI offers video Surveillance capabilities over the Internet, so you can get a visual check of your home via your web-enabled phone or PC. Receive e-mails or text messages to inform you of what is happening at home. Telephone - Not only can you call to check on the status of your home, but your system can actually contact you! Be informed of an alarm or that children are safe as soon as they have returned home from their day at school. HAI offers a home automation system for every lifestyle. Price depends on the size of your home and the options that you desire. Your HAI dealer will evaluate your home and your familys needs to customize a system that is just right for you. HAI products will make your home greener by making it more energy efficient. As an added benefit you will save money on your energy bills. If used properly, your system can practically pay for itself in energy savings.is

home a
Is the system expensive?
HAI offers a home automation system for every lifestyle. Price depends on the size of your home and the options that you desire. Your HAI dealer will evaluate your home and your familys needs to customize a system that is just right for you. HAI products will make your home greener by making it more energy efficient. As an added benefit you will save money on your energy bills. If used properly, your system can practically pay for itself in energy savings, while increasing the resale value of your home.

www.homeauto.com
The system can expand easily if my needs change
Add Touchscreens, pool, spa, or irrigation controls, window treatments, remotes, multi-room audio systems, home theater controls, access control, video surveillance, intercom, and more. HAI partners with many companies in related industries so you can expand and customize your home automation system now, or at any time in the future. HAI has been manufacturing its award-winning line of home automation systems and accessories since 1985. Since that time, homeowners around the world have been enjoying the energy savings, safety, comfort, and convenience of home automation from the most established and respected manufacturer in the industry.

GSM COMMUNICATION USING ZELIO SMART RELAY


DESCRIPTION
In this Project, we will demonstrate how to communicate through GSM network using industrial PLC, Zelio Smart Relay from Schneider Electric provides GSM solutions by sending SMS massages to an Authorized mobile phone or to PC connected to a GSM modem with Zelio Alarm software installed ,the following illustration shows the simple operation.

HARDWARE GUIDE
ZELIO SMART RELAY MODEL SR3B261BD
Power Supply 24VDC. Inputs: 10 DISCR + 6 (0 10V). Output: 10 RELAY. Zelio smart relays are designed for use in small automation systems. They are used in both the industrial and commercial sectors.

ZELIO COM MODULE (SR2COM01)


The communication Module in the Zelio Logic range is designed for Monitoring or remote control of machines that operate.

GSM MODEM: (SR2COM02)


Either GSM or analogue PSTN type Modems both the Remote station and PC type-receiving devices

MOBILE PHONE
Third party modem can be used for example with possibility of sending and receiving SMS Text messages.

SIM CARD TO INSERT IN GSM MODE


Again, the SMS text messaging option should be enabled for the SIM card.

SITTING THE CONNECTIONS


CONNECTION FOR PROGRAMMING THE SMART RELAY AND THE INTERFACE
After having powered-up the smart relay and connecting the interface cables as shown, the application program can be transferred in order to simultaneously: Load the automation system program into the smart relay Load the alarm conditions, messages and telephone numbers/e-mail addresses into the interface.

OPERATING CONNECTIONS

WIRING CONNECTIONS

CONFIGURING AND PROGRAMMING THE ZELIO SMART RELAY


STARTING THE PROGRAM:
Start With Running the Zelio Smart Software Program Zelio Soft by Clicking the Software Icon on the Desktop.

1 2 3 4 5 6

When the Program Runs the Welcome Window that shows many options 1. Create new program 2. Open and existing program from your PC 3. Open a recent used or frequent used program 4. Download a program direct from the PLC memory to the PC 5. Enter the Monitoring mode 6. Exit the program Chose the first Option: Create new program.

SITTING PCL PROGRAM


The Module Selection Window appears which the PLC Type and Model is selected. 1. Select the PLC Module Category 2. Select the PLC Module Click Next

Now Selection of the extensions for our system (Com. Module) 1. 2. Click Next Select the Extension module (SR2COM01) Click Add.

Select the Method for Programming Ladder Diagram (LD) or Flow Block Diagram (FBD) Chose the ladder diagram. Click Next.

Now we are Ready for starting the programming before that we must check the PC >> PLC Communication is ready.

CONNECTING PLC

Form the program menu Select Transfer >> COMMUNICATION configuration. The Configure Window appears; Now Click on Test if something wrong an error will appear checks the connection, else the connection is fine Processed and Click OK.

10

CONFIGURE THE COMMUNICATION MODULE

Now to Configure the Communication module and the phone number of the modem to which the Zelio relay will be connected; Select Directories form the program menu Directories >> Directory of Remote stations

From the Directory of Remote stations Window select Create.

11

1 2 3

To Create A Remote Station: 1. Identify The Station Name , for Example : PLC1 2. Identify The Station SIM Number , for Example : 0102407734 3. Select the Modem to be : SR2MOD02 4. Identify The Station SMS Server Service number : +20105996500 Click OK.

12

Now to Configure the Communication module cell phone numbers to which the Zelio remote station can send messages; Select Directories form the program menu Directories >> Program Recipients Directory From the Program Recipients Directory Window Click, Create.

13

1 2 3

To Create A Recipient Directory: 1. Identify The Recipient type: Mobile phone, Zelio Alarm, E-mail. 2. Identify The Recipient Name, for Example : Admin 3. Select the Recipient SIM Number: 0103706643 Click OK.

PROGRAMMING THE PLC


Now To create our Program we will use the I1 Input Port. As per the I1 is connected, to send the message to the Admin, go to the COM. Icon and drag and drop to the Coil TS

14

Double Click on the coil TS1 created. Following screen will appear Select Alarm, and then Switch to the Parameters Tap

15

From this Window Configuring the massage that will be sent and how will receive it , Click the Block in the message recipient ; Chose the Admin so to be the receiver of the massage Click on Send to -> to add Now Click OK

16

After adding the Admin to the message recipient, we can Set the Massage Subject and Write the Description that we want in the Massage Body. Click OK.

17

TRANSFERRING THE PROGRAM TO THE PLC


The Final Step is To Transfer the Program and Configuration to the Zelio Smart Relay From the Program menu: Transfer >> Transfer Program >> PC > Module.

After the Program is transferred, it is ready to be tested in the Run Mode.

Hardware software requirement To program you need a PC With at least a Pentium processor a Windows 95, Windows 98 or Windows NT 4.01)operating system Programming cable (connecting cable between PC and plc)

Features The main features of the home automation are as follows: 24 V DC power supply 6 digital inputs (push buttons-proximity sensor) 2 digital outputs (alarm-motor) Message Alarm 2 Relays

Our project (Home automation system) consists of four main small systems 1. Message alarm (when windows open or gate). 2. Lighting control system. 3. Automatic garage control. 4. Security control system.

Wiring connections:

Hardware components A proximity sensor :


Is a sensor able to detect the presence of nearby objects without any physical contact. A proximity sensor often emits an electromagnetic field or a beam of electromagnetic radiation (infrared, for instance), and looks for changes in the fieldor return signal. The object being sensed is often referred to as the proximity sensor's target. Different proximity sensor targets demand different sensors. For example, a capacitive photoelectric sensor might be suitable for a plastic target; an inductive proximity sensor always requires a metal target. The maximum distance that this sensor can detect is defined "nominal range". Some sensors have adjustments of the nominal range or means to report a graduated detection distance. Proximity sensors can have a high reliability and long functional life because of the absence of mechanical parts and lack of physical contact between sensor and the sensed object. Proximity sensors are also used in machine vibration monitoring to measure the variation in distance between a shaft and its support bearing. This is common in large steam turbines, compressors, and motors that use sleeve-type bearings.

A smoke detector :
is a device that detects smoke, typically as an indicator of fire. Commercial, industrial, and mass residential devices issue a signal to a fire alarm system, while household detectors, known as smoke alarms, generally issue a local audible or visual alarm from the detector itself. Smoke detectors are typically housed in a disk-shaped plastic enclosure about 150 millimeters (6 in) in diameter and 25 millimeters (1 in) thick, but the shape can vary by manufacturer or product line. Most smoke detectors work either by optical detection (photoelectric) or by physical process (ionization), while others use both detection methods to increase sensitivity to smoke. Sensitive alarms can be used to detect, and thus deter, smoking in areas where it is banned such as toilets and schools. Smoke detectors in large commercial, industrial, and residential buildings are usually powered by a central fire alarm system, which is powered by the building power with a battery backup. However, in many single family detached and smaller multiple family housings, a smoke alarm is often powered only by a single disposable battery.

Distance sensor :
Measuring distances up to 13 m with high resolution, most compact sensor of its class Precise, reproducible measurements also under changing environmental conditions.

Dc Motor :
A DC motor is a mechanically commutated electric motor powered from direct current (DC). The stator is stationary in space by definition and therefore so is its current. The current in the rotor is switched by the commutator to also be stationary in space. This is how the relative angle between the stator and rotor magnetic flux is maintained near 90 degrees, which generates the maximum torque. DC motors have a rotating armature winding but non-rotating armature magnetic field and a static field winding or permanent magnet. Different connections of the field and armature winding provide different inherent speed/torque regulation characteristics. The speed of a DC motor can be controlled by changing the voltage applied to the armature or by changing the field current. The introduction of variable resistance in the armature circuit or field circuit

allowed speed control. Modern DC motors are often controlled by power electronics systems called DC drives. The introduction of DC motors to run machinery eliminated the need for local steam or internal combustion engines, and line shaft drive systems. DC motors can operate directly from rechargeable batteries, providing the motive power for the first electric vehicles. Today DC motors are still found in applications as small as toys and disk drives, or in large sizes to operate steel rolling mills and paper machines.

A buzzer (Alarm):
Or beeper is an audio signaling device, which may be mechanical, electromechanical, or piezoelectric. Typical uses of buzzers and beepers include alarm devices, timers and confirmation of user input such as a mouse click or keystroke.

Вам также может понравиться