Design and Implement of a Programmable Logic Controller (PLC) for Classical Control Laboratory *

Similar documents
Programming Logic controllers

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

PLC Support Software at Jefferson Lab

Sensors Collecting Manufacturing Process Data

PROGRAMMABLE LOGIC CONTROL

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Programmable Logic Controller PLC

Optimize your simple machines... Modicon M218 Selection Guide

Occupational Profile: Electrical & Electronics Engineering Technician

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

Fig 3. PLC Relay Output

How to read this guide

40.3. Control Relays and Timers

DC Motor control Reversing

Programmable Logic Controllers Definition. Programmable Logic Controllers History

THE DESIGN OF A PORTABLE PROGRAMMABLE LOGIC CONTROLLER (PLC) TRAINING SYSTEM FOR USE OUTSIDE OF THE AUTOMATION LABORATORY.

Computer Controlled Generating Stations Control and Regulation Simulator, with SCADA SCE

Programmable Controller G Series. New. Models

Creating Relay Logic Diagrams

Process modules Digital input PMI for 24 V DC inputs for 120 V AC inputs

DCS Input/Output Relay Card Series

STEPPER MOTOR SPEED AND POSITION CONTROL

THE INPUT/OUTPUT SYSTEM. Key Points

CPU systron S S S 250c. systron S S S 250c. CPUs to the process modules. Stand-alone PLC

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation

Michelin North America

E&I MAINTENANCE ENTRY TEST ENABLING OBJECTIVES. DESCRIBE hazards and precautions taken to avoid injury in the workplace.

Specifications for EM VDC 4 In/4 Out and EM VDC 4 In/4 Relay Out

USER GUIDE. Studio Hotline Multi-line System Phone Flasher and Door/Alert Indicator Input Module and Indicator. DM Engineering. Version 1.

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 OUTCOME 3 PART 1

MECE 102 Mechatronics Engineering Orientation

SOLARCARE SERIES PRODUCT AND APPLICATION GUIDE

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

GENERAL POWER SYSTEM WIRING PRACTICES APPLIED TO TECNADYNE DC BRUSHLESS MOTORS

Technical Specifications: The specifications represent a particular hardware platform. Application-specific software is provided.

SuperIOr Controller. Digital Dynamics, Inc., 2014 All Rights Reserved. Patent Pending. Rev:

CONNECTOR AMPLIFIER FOR PROPORTIONAL VALVES (4-20 ma Input Version)

GLOLAB Two Wire Stepper Motor Positioner

Measuring, Controlling and Regulating with labworldsoft

Degree programme in Automation Engineering

SM6 Series Circuit Breaker Monitors CONSOLIDATED. Electronics, Inc. MONITORING THE FUTURE

TECHNICAL DATASHEET #TD1404AX PWM CONTROLLED SOLENOID DRIVER

Ordering Part Numbers: Universal Signal Converter: USC-CVB Universal Signal Converter with a 4-20mA input and +/- 10V output: USC-CVB225-B10V

SHORT TRAINING COURSES

Telefon (+45) Telefax (+45) Installation and operating manual

Design Projects in a Programmable Logic Controller (PLC) Course in Electrical Engineering Technology

EET272 Worksheet Week 9

Color Mark Sensor with Red or Green LED E3S-VS

User's Guide. Integrating Sound Level Datalogger. Model Introduction

PLC Based Liquid Filling and Mixing

Learning Systems Software Simulation

EDI Distributor Control Interface Wiring and Setup Instructions

Electrical Symbols and Line Diagrams

Siemens and National Instruments Deliver Integrated Automation and Measurement Solutions

Programming A PLC. Standard Instructions

Equipment: Power Supply, DAI, Transformer (8341), Variable resistance (8311), Variable inductance (8321), Variable capacitance (8331)

1115 4G SERIES GOVERNOR ma ANALOGUE DIGITAL SPEED SETTING

Linear Motion and Assembly Technologies Pneumatics Service. Understanding the IEC Programming Languages

Centro-Matic Automatic Lubrication Systems System Controls

TM7BDM8B expansion block - TM7 - IP67-8 DI/DO - 24V DC A - M8 connector

Proximity Switches RS (Reed Switch)

Fundamentals of HVAC Control Systems

Current Loop Application Note 1495

PolyBot Board. User's Guide V1.11 9/20/08

Advanced Manufacturing Machinery Technician NOW (AMMT NOW)

POINTS POSITION INDICATOR PPI4

Wires & Connections Component Circuit Symbol Function of Component. Power Supplies Component Circuit Symbol Function of Component

4 non-safe digital I/O channels 2 IO-Link Master V1.1 slots. Figure 1. Figure 2. Type code. TBPN-L1-FDIO1-2IOL Ident no

... Electronic Softstarter...

SIMATIC. ET 200S distributed I/O Digital electronic module 8DO DC24V/0.5 A (6ES7132-4BF00-0AA0) Preface. Properties 1. Diagnostics 2.

Smart relays Zelio Logic Step into an intuitive world!

How To Control A Power Supply With A Mini Transmitter And Switch (Power Supply)

Lab 3 - DC Circuits and Ohm s Law

SYSTEM 45. C R H Electronics Design

PRODUCT PROFILE FEATURES

Energy Depot GmbH PRODUCT AND APPLICATION GUIDE. Total Monitoring Solution for PV. Delivering Solutions for Energy Management

650W Single Output Power Supply

Servo Info and Centering

Smart DeviceNet Remote I/O Terminals

Whale 3. User Manual and Installation Guide. DC Servo drive. Contents. 1. Safety, policy and warranty Safety notes Policy Warranty.

Complete Software Solution for Teaching Future Technicians and Engineers that Covers all Levels

ZC-24DO CANopen I/O Module: 24 Digital Outputs

International Journal of Engineering Research & Management Technology

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

OVR Three-Phase Recloser and PCD Control Style Guide 1VAL SG October 13, 2009 Revision F

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

Fitting/Installation Guide - UNIVERSAL

USB I/O CONTROL BOX 8 relays, 8 digital I/O lines and 8 HV inputs

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Substation Automation Products Relion 670/650 series IEC and ANSI Hardware

Inwall 4 Input / 4 Output Module

WinProladder software package

Inductive Proximity Sensors

Moving Magnet Actuator MI FFA series

PC BASED PID TEMPERATURE CONTROLLER

Electronics Ltd. Presenting. Power, Intelligence... with a sense of feeling

Transcription:

Intelligent Control and Automation, 2012, 3, 44-49 http://dx.doi.org/10.4236/ica.2012.31006 Published Online February 2012 (http://www.scirp.org/journal/ica) Design and Implement of a Programmable Logic Controller (PLC) for Classical Control Laboratory * Yousif I. Al Mashhadany Electrical Engineering Department, College of Engineering, University of Anbar, Baghdad, Iraq Email: yousif_phd@hotmail.com Received October 31, 2011; revised December 1, 2011; accepted December 9, 2011 ABSTRACT The design and implementation of a classical control system laboratory based on PLC control system is introduced in this paper. To design and implement the system, two parts must be produced. The first is software for PLC and the second is hardware for experiments related to the programs. The PLC control system used in the design is LS industrial system company GM7-DR40A 24/16 Digital I/O and single Analog I/O module, two photoelectric sensors from Atonic company : the first with the model BR100-DDT-P, and the second BEN10M-TFR. An approximate sensor with 5-sides is detected, four of CMOS BCD-7-Segment driven by CD4511B, two relays: 2-poles and 3-poles, six voltages and an ammeter measurement, DC motor and 24 VDC power supply and many connecters and pinions. Satisfactory results are obtained by executing twenty four experiments for classical control theory that fulfill the requirements of control theory in undergraduate stage and replace the old experiments executed by PID controller where the practice system is implemented by PLC control now. Keywords: PLC Control System; Photoelectric Sensor 1. Introduction PLC s were developed in the late 1960 s to eliminate the large cost involved in changing complicated relay based machine control systems. These systems were inflexible. Their major rewiring or complete replacement was necessary every time when the production requirements changed and control sequences had to be modified. It became very expensive when changes were frequent. The idea to replace relay systems with flexible microprocessor based Programmable logic controllers PLC s was a revolutionary step in the industrial control business [1]. PLC s have been used for many years at many applications. They are the main control elements of several subsystems which require relatively slow data monitoring: the radiation control, personal safety, fire and smoke alarm. All these subsystems are very cost effective and reliable. Adding new equipment to control or changing operating conditions to implement new control features can easily be done by the skilled technician staff, without any help from the Controls Software Group. The software development tool and some ideas of device support for DirectNet PLC s became the basis of a new PLC control software library at control Lab. The software acts as a DirectNet master through any RS-232 port and consists of three main parts: a PLC driver with a state machine control block, a device support module, and a common serial driver [2,3]. Basic PLC s are available on a single printed circuit board as shown in Figure 1. They are sometimes called single board PLC s or open frame PLC s. These are totally self-contained (with the exception of a power supply) and, when installed in a system, they are simply mounted inside a controls cabinet on threaded standoffs. Screw terminals on the printed circuit board allow for the connection of the input, output, and power supply wires. These units are generally not expandable, meaning that extra inputs, outputs, and memory cannot be added * Implement the PLC as trainer at undergraduate laboratory. Figure 1. Open frame PLC [4].

Y. I. AL MASHHADANY 45 to the basic unit. However, some of the more sophisticated models can be linked by cable to expansion boards that can provide extra I/O. Therefore, with few exceptions, when using this type of PLC, the system designer must take care to specify a unit that has enough inputs, outputs, and programming capability to handle both the present need of the system and any future modifications that may be required. Single board PLC s are very inexpensive, easy to program, small, and consume little power, but, generally speaking, they do not have a large number of inputs and outputs, and have a somewhat limited instruction set. They are best suited to small, relatively simple control applications [4]. 2. Hardware Design for the Model Inputs to, and outputs from, a PLC are necessary to monitor and control a process. Both inputs and outputs can be categorized into two basic types: logical or continuous. Consider the example of a light bulb. If it can only be turned on or off, it is logical control. If the light can be dimmed to different levels, it is continuous. Continuous values seem more intuitive, but logical values are preferred because they allow more certainty, and simplify control. As a result most controls applications (and PLC s) use logical inputs and outputs for most applications [5]. Outputs to actuators allow a PLC to cause something to happen in a process. A short list of popular actuators is given below in order of relative popularity. Solenoid Valves logical outputs that can switch a hydraulic or pneumatic flow. Motor Starters motors often draw a large amount of current when started, so they require motor starters, which are basically large relays. Servo Motors a continuous output from the PLC can command a variable speed or position. Outputs from PLC s are often relays, but they can also be solid state electronics such as transistors for DC outputs or Triacs for AC outputs. Continuous outputs require special output cards with digital to analog converters, or can be used another module for PLC analogue o/p. Inputs come from sensors that translate physical phenomena into electrical signals. Typical examples of sensors are listed below in relative order of popularity. Proximity Switches use inductance, capacitance or light to detect an object logically. Switches mechanical mechanisms will open or close electrical contacts for a logical signal. Potentiometer measures angular positions continuously, using resistance. LVDT (linear variable differential transformer) measures linear displacement continuously using magnetic coupling. Photoelectric sensor use the ultrasonic signal to detect any interruption within limited range. Inputs for a PLC come in a few basic varieties; the simplest are AC and DC inputs. Sourcing and sinking inputs are also popular. This output method dictates that a device does not supply any power. Instead, the device only switches current on or off, like a simple switch [6]. PLC inputs must convert a variety of logic levels to the 5VDC logic levels used on the data bus. This can be done with circuits similar to those shown in Figure 2. Basically the circuits condition the input to drive an. This electrically isolates the external electrical circuitry from the internal circuitry. Other circuit components are used to guard against excess or reversed voltage polarity. PLC outputs must convert the 5VDC logic levels on the PLC data bus to external voltage levels. This can be done with circuits similar to those shown in Figure 3. Basically, the circuits use an to switch external circuitry. This electrically isolates the external electrical circuitry from the internal circuitry. Other circuits components are used to guard against excess or reversed voltage polarity [7]. hot neut. AC input COM DC input Figure 2. PLC input circuits [6]. +V Sourcing DC output Figure 3. PLC output circuits [6]. AC input

46 Y. I. AL MASHHADANY The overall design of the model is shown in Figure 4. and the schematic of this design shown in Figure 5. The full description of connection for this design is very complex and it has many details, therefore I will describe the connection of the main parts only. Figure 4. Classical control system laboratory based on PLC. 3. Hardware Design of PLC Trainer Model The hardware design of this trainer consists of three main parts: Main unit of PLC model and its power supply The PLC model used in this design contains two parts. The first presents the main digital PLC that contains: RS232 connecter to apply the software program to PLC, 24 digital inputs drawing on cover by I00 I23, 16 digital outputs drawing by O00 O15with six common ports and 25-pins adapter to execute the additional modules of PLC. Figure 6 shows the main unit of PLC with power supply. The second part of this unit is a single analog PLC that contains two channels of analog inputs which are drawing by symbols (CH0(input) (I0,V0,COM0) and CH1 (input) (I1,V1, COM1)), one analog output channel (CH0(output)(V+,V,I+,I ) and 25-pins adapter to add another module (see Figure 6). Power supply for this unit is 24 VDC/5 A contain two supply ports (see Figure 6). The connection of I/O PLC with board achieved by sets of pinions and LED s for indication (On/Off). Figure 7 presents the connection between PLC unit and in the experiments board. Sensor, Relay and other components The trainer contains two types of sensors; an approximate sensor that has 5-sides detection with model TURCK Bi15-cp40 APcx sn:15 mm and photoelectric sensors with two models BR100-DDT-P and BEN10M-TFR. The first detects any interrupt within a range of 8 meters and the second detects the reflection from a certain crystal surface within a range of 8 meters. Two types of relays are used in the board: two-poles and three-poles 24VDC. Figure 8 presents the two relays, the sensors and the connection in the board. Many other components that are used in the broad to connect the experiments such as four 7-segments, three digital ammeters and three digital voltmeter, three variable resistance 20 Kohm to execute the analog to digital convertor (A/D) and opposite (D/A) and power supply with two 12VDC ports, two 5VDC ports and four 24 VDC ports. Figure 9 presents the power supply ports in the board. Figure 10 presents the ammeters and converter A/D. output ports Figure 5. Schematic of the lab. 24VDC/5A Power supply RS 232 adapter Input ports Main digital PLC 25-pin adapter Figure 6. Main PLC unit with power supply. Analog module PLC

Y. I. AL MASHHADANY 47 Figure 9. Power supply connection in the board. Figure 7. PLC connection with experiments board. Input voltage Input current Variable 20kΩ Analog PLC o/p Figure 10. Ammeters and varying for A/D. (a) (b) Figure 8. Relay and sensors and its connection in the board. DC motor with model GMN-3MX027A DC24V and driver for AC and DC motor start/stop, direction and emergency control of DC motor and speed control AC motor are implemented in the board. Figure 11 presents the connection of the motor and drivers in the board. Experiments board The board is designed to implement many experiments, some of the experiments the connection diagram is plotted on the board such as traffic light control, I/O PLC test DC motor and 7-segemnts. Figure 12 presents the overall board design. 4. Software Design of PLC Trainer Model LS industrial system company GM7-DR40 PLC uses the language announced as an international standard by IEC (International Electro technical Commission). The international standard languages such as LD, SFC, IL available to select the language are easy to apply to the system. I used the LD (Ladder Diagram) to build the program for

48 Y. I. AL MASHHADANY experiments. Figure 13 presents the main window for building the program and simulating the instruction before writing on the memory of PLC through the RS232 connecter. Every instruction in the program must be compiled before writing the process code to the memory of PLC. After compilation we can simulate the program to check and explain the working of real PLC with this program and the input to simulation process can be done manually, all these processes are shown in Figure 13. 5. Experiments of PLC Trainer This trainer is designed to implement the experiments of classical control laboratory to replace the PID controller motor To AC motor Figure 11. DC and AC motor drivers connection. by PLC controller where the last has a wide range in industrial application. The experiments that are implemented in this lab can be divided into three main groups according to application field in classical control approach: Logic process, power system and interactive process control, where by using this trainer six experiments can be done in logic process, ten experiments in power system and eight experiments in the interactive process control. Every experiment has a procedure for connection on the board and program for writing with PLC memory and then run the connection. For example, the implementation of traffic light control can be discussed by the procedure as follows: 1) Switch OFF main supply 220VAC & switch OFF 24VDC. 2) Connect (24VDC) from Power supply to (COM) of (O00 O11). 3) Connect (O00 O11) to traffic light diagram on the board according to the diagram that is shown in Table 1. 4) Switch ON main supply 220VAC. 5) Download the ladder program of traffic light control to PLC. The program is similar to the program that is shown in previous page (Figure 13). Table 1. Connection diagram of traffic light (experiment). No. From Port o/p PLC To Port on board No. From Port o/p PLC To Port on board 1 O00 R1 7 O06 R3 2 O01 Y1 8 O07 Y3 3 O02 G1 9 O08 G3 4 O03 R2 10 O09 R4 5 O04 Y2 11 O10 Y4 6 O05 G2 12 O11 G4 Figure 12. Overall board design. Bar of instruction Table 2. Sequence of light ON in traffic display. No. Time Traffic 1 Traffic 2 Traffic 3 Traffic 4 0 to 10 sec Green 1 Red 2 Red 3 Red 4 State 1 11 to 15 sec Yellow 1 Red 2 Red 3 Red 4 State 2 State 3 16 to 25 sec Red 1 Green 2 Red 3 Red 4 31 to 40 sec Red 1 Yellow 2 Red 3 Red 4 41 to 45 sec Red 1 Red 2 Green 3 Red 4 46 to 50 sec Red 1 Red 2 Yellow 3 Red 4 Simulation instruction Figure 13. Main LD program and its simulation. State 4 51 to 60 sec Red 1 Red 2 Red 3 Green 4 61 to 65 sec Red 1 Red 2 Red 3 Yellow 4 Return to State 1 66 to 75 sec Green 1 Red 2 Red 3 Red 4 and so on 76 to 80 sec Yellow 1 Red 2 Red 3 Red 4

Y. I. AL MASHHADANY 49 6) Switch ON 24VDC, the traffic light LEDs must be activates according the sequence at is shown in Table 2. Note: the value of time in this experiment is taken fast to explain all process in short time. The practice connection for this experiment is shown in the previous page (Figure 12). 6. Conclusions The practice results that are obtained in real implementation of all experiments in the laboratory and the simulation results by LD program, it can be seen that the implementation of PLC controller with classical control systems is necessary. This implementation has high performance, high accuracy and more speed response compared to the classical controller. The trainer presents practice simulation for many real systems; therefore it is very suitable for classical laboratory unit with undergraduate students. 7. Acknowledgements Special thanks are due to AL Anbar University/Engineering College for support me with the implementation of the PLC trainer laboratory. REFERENCES [1] P. Chevtsov, S. Higgins, S. Schaffner and D. Seidman, PLC Support Software at Jefferson Lab, Jefferson Lab, Newport News, 2002. [2] J. R. Hackworth and F. D. Hackworth, Programmable Logic Controllers: Programming Methods and Applications, Prentice Hall, Upper Saddle River, p. 13. [3] L. A. Bryan and E. A. Bryan, Programmable Controllers Theory and Implementation, 2nd Edition, Industrial Text Company Publication, Atlanta, 1997. [4] H. Jack, Automating Manufacturing Systems with PLCs, Version 4.7, Copyright (c) 1993-2005 Hugh Jack, 2005. [5] S. Yurkovich and K. M. Passino, A Laboratory Course on Fuzzy Control, IEEE Transactions on Education, Vol. 42, No. 1, 1999, pp. 15-21. [6] A. Sirinterlikci, Development of a Comprehensive Industrial Controls Course in a Manufacturing Engineering Program, American Society for Engineering Education, Washington DC, 2006. [7] X. Yu, X. Feng, C. Xiong and S. Jiaotong, The Design and Implementation of Elevator Group Control System Research Platform, Proceedings of the 2009 International Workshop on Information Security and Application, Qingdao, 21-22 November 2009.