Industrial Automation and Control

Slides:



Advertisements
Similar presentations
Microprocessors A Beginning.
Advertisements

Programmable Logic Controller (PLC) Overview
In this presentation you will:
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Processor System Architecture
© Paradigm Publishing, Inc. 2-1 Chapter 2 Input and Processing Chapter 2 Input and Processing.
Dr. HABEEB HATTAB HABEEB Dr. HABEEB HATTAB HABEEB Office: BN-Block, Level-3, Room Ext. No.: 7292 UNITEN.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Chapter 7 Input Modules.
Introduction to Information Technology: Your Digital World © 2013 The McGraw-Hill Companies, Inc. All rights reserved.Using Information Technology, 10e©
Objectives Overview Discovering Computers 2014: Chapter 6 See Page 248
Lecture 4: Programmable logic Controllers
Chapter 8 Output Modules.
PLC Fundamentals Module 2: Hardware and Terminology.
Microcontroller based system design
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
Module 2: Hardware and Terminology
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
PLC: Programmable Logical Controller
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
PROGRAMMABLE LOGIC CONTROLLER (PLC) AND AUTOMATION
COMPONENTS OF THE SYSTEM UNIT
SCADA and Telemetry Presented By:.
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Programmable logic control Data Processing Computer System Key Board Light Pen Mouse PLC a Process Control Computer System Motion Sensor Sound Sensor.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
Processing Devices.
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Chapter 6 Inside Computers and Mobile Devices Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Programmable Logic Controller (PLC) - Introduction
PLC introduction1 Discrete Event Control Concept Representation DEC controller design DEC controller implementation.
PLC: Programmable Logical Controller
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
COMPUTER SYSTEM ARCHITECTURE By Sohaib.  The digital computer is a digital system that performs various computational tasks.  The word digital implies.
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
Objectives Overview Describe the various computer and mobile device cases and the contents they protect Describe multi-core processors, the components.
Module 1: Introduction to PLC
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Chapter 10 Advanced Programming, PLC Interfacing, and Troubleshooting
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Chapter 4 MARIE: An Introduction to a Simple Computer.
PLC ARCHITECTURE – Memory 1 by Dr. Amin Danial Asham.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Programmable Logic Controller (PLC)
Programmable Logic Controllers LO1: Understand the design and operational characteristics of a PLC system.
Computer Hardware – System Unit
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Programmable Logic Controllers
Computer operation is of how the different parts of a computer system work together to perform a task.
Chapter 2.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
Computer Systems Nat 4/5 Computing Science Computer Structure:
Computer Hardware – System Unit
The Central Processing Unit
Session III Architecture of PLC
Introduction to Microprocessors and Microcontrollers
PLC Hardware Components.
S RAJARAJAN_ASST PROF, BSARCIS&T
ACOE347 – Data Acquisition and Automation Systems
Presentation transcript:

Industrial Automation and Control Chapter 1-Programmable Logic Controllers

Controllers What type of tasks might a control system handle? Required to control a sequence of events. Maintain some variable constant. Follow prescribed change. Example 1; Control system for an automatic drilling machine might be required to start lowering the drill when work piece in position. Then start drilling when tool reaches the work piece. Stop drilling when drill produced required depth of hole. Retract the drill, move the work piece and bring in the new one.

Controllers Example 2 Control number of items moving along a conveyor belt and direct them into a packing case. Inputs may come from switches being closed or opened. For instance the presence of the work piece might be indicated by it moving against a switch and closing it or by any other sensors. Controller might be needed to run a motor to move an object to some position or to turn a valve etc..

Controllers What form might a controller have? For automatic drilling, we could wire up electrical circuits in which closing or opening of switches would result in motor being switch on or valves being actuated. This might activate a relay, which in turn, switches on the current to a motor and causes the drill to rotate. Additionally, another switch might be used to activate a relay and switch on the current to a pneumatic or hydraulic valve, which results in the work piece being pushed into the required position.

Programmable Logic Controller Called PLC in short. Special form of microprocessor based controller that uses programmable memory to store instructions and implement functions such as; Logic Sequencing Timing Counting and Arithmetic Designed to be operated by engineers with perhaps limited knowledge of computers and computing languages. Not designed so that ONLY computer programmers can set up or change the programs. The control program can be entered using a simpler, intuitive form of language.

Programmable Logic Controller The term logic is used because programming is primarily concerned with implementing: logic and switching operations. PLC have the great advantage that the same basic controller can be used with a wide range of control systems. The operator can easily change the different set of instructions and there is no need to rewire. Result is a flexible, cost effective system that can be used with control systems which vary quite widely in their nature and complexity.

Programmable Logic Controller PLCs are similar to computers, but Computers are optimized for calculation and display tasks PLCs are optimized for control tasks and the industrial environment. PLCs are; Rugged and designed to withstand vibrations, temperature, humidity and noise. Having interfacing for inputs and outputs already inside the controller. Are easily programmed and have an easily understood programming language that is primarily concerned with logic and switching operations.

Hardware A typical PLC system has the basic fundamental components; Processor Unit or Central Processing Unit Power Supply Unit Programming Device Memory Unit Input Output Sections Communications Interface

PLC System

Processor Unit Unit containing microprocessor Unit interprets the input signals and carries out the control actions according to the program stored in its memory. Communicating the decisions as action signals to the outputs.

Power Supply Unit Converts the mains AC voltage to the low DC voltage (5V). This is necessary for the processor and the circuits in the input and output interface modules.

Programming Device Used to enter the required program into the memory of the processor. Program is developed in the device and then transferred to the memory unit of the PLC.

Memory Unit It is where the program containing the control actions to be exercised by the microprocessor is stored. Also this is where the data is stored from the input for processing and for the output

I/O sections This is where the processor receives information from the external devices and communicates information to external devices. Inputs might be from switches or other sensors such as photoelectric cells, temperature sensors, flow sensors etc. Input and output devices can be classified as giving signals that are; Discrete Digital Analog

I/O sections Devices giving discrete or digital signals are ones where the signals are either off or on. A switch is an example of a device which gives discrete signal. Digital devices can be considered as discrete devices that give a sequence of on/off signals. Analog devices give signals of which the size is proportional to the size of the variable being monitored. Example: Temperature sensor may give a voltage proportional to the temperature.

Communications Interface Used to receive and transmit data on communication networks from or to other remote PLCs. It is concerned with such actions as device verification, data acquisition, synchronization between user applications and connection management.

Internal Architecture of PLC

Internal Architecture of PLC Consists of CPU containing; System microprocessor Memory Input/output circuitry CPU controls and processes all the operations within the PLC. Supplied with a clock with frequency typically in the range 1 and 8 MHz. Frequency determines the operating speed of the PLC and provides; Timing and Synchronization for all elements.

Internal Architecture of PLC Information within PLC is carried by means of digital signals. Internal paths along which digital signals flow are called buses. A bus is just a number of conductors along which electrical signals can flow. These might be tracks on printed circuit boards or wires in ribbon cable. CPU uses; data bus for sending data between constituent elements, Address bus to send the addresses of locations for accessing stored data, Control bus for signals relating to internal control actions, System bus for communications between input/output ports and the input/output unit.

The CPU Internal structure of the CPU depends on the microprocessor concerned. In general, CPUs have the following: An ALU (arithmetic and logic unit): responsible for data manipulation and carrying out arithmetic operations of addition and subtractions and logic operations of AND, OR, NOT, and EXCLUSIVE-OR. Memory, termed registers, located within the microprocessor and used to store information involved in program execution. Control unit that is used to control the timing of operations.

The Buses Buses are paths used for communication within the PLC. Information is transmitted in binary form, in a group of bits. The term word is used for the group of bits constituting some information. Four kinds of buses; Data bus Carries data used in the processing by the CPU. Microprocessor termed as being 8-bit (for example) has an internal data bus that can handle 8-bit numbers. Can perform operations between 8-bit numbers and deliver results as 8-bit values.

The Buses Address Bus Control Bus System Bus Used to carry addresses of memory locations. Each word can be located in memory and every memory location is given a unique address. Each word location is given an address so that data stored at a particular location can be accessed by the CPU either to read data or to write new data. Control Bus Carries the signals used by the CPU for control. This is to inform memory devices whether to receive data from an input or output data and to carry timing signals used to synchronize actions. System Bus Used for communications between the input/output ports and the input/output unit.

Memory Several memory elements in a PLC system; System Read only memory (ROM): gives permanent storage for the operating system and fixed data used by the CPU. Random Access Memory (RAM): used for the user’s program and/or data. This where information is stored on the status of input and output devices. Values of timers and counters and other internal devices. Data RAM is sometimes referred to as data table or register table. Part of this memory will be assigned to; block of addresses, input/output address and the states of those inputs and outputs, for present data and storing counter values, timer values etc. Erasable and Programmable read-only memory (EPROM) Used to store programs permenantly.

Memory Programs and data in RAM can be changed by the user. PLCs have some amount of RAM to store programs. However, to prevent the loss of programs when the power supply is switched off, a battery is used in the PLC to maintain the RAM contents for a period of time. After the program has been developed in RAM, it may be loaded into an EPROM memory chip.

Input/Output Unit It provides the interface between the system and the outside world. Allows connections to be made through input/output channels to input devices such as sensors and actuators. Through this unit programs are entered from a program and panel. Each I/O point has a unique address that can be used by the CPU. I/O channels provide isolation and signal conditioning features so that sensors and actuators can often be directly connected to them without the need for other circuitry.

Input/Output Unit Electrical isolation from external world is usually by means of opto-isolators. Principle of working: when digital pulse passes through the light emitting diode, a pulse of infrared radiation is produced Pulse is detected by phototransistor and give rise to a voltage in that circuit. Gap between light emitting diode and photo transistor gives electrical isolation. The light transmits the digital pulses from one circuit to another.

Input/Output Unit Signal conditioning in the input channel, with isolation, enables a wide range of input signals to be supplied to it. Range of inputs might be available with a larger PLC, such as 5 V, 24 V, 110 V and 240 V discrete/digital, that is on/off, signals. Output from I/O unit will be digital with a level of 5 V. After signal conditioning with relays, transistors, or triacs, the output channel might be the ones shown in bottom right.

Input/Output Unit Relay Type Transistor Type Relay Type: signal from the PLC output is used to operate a relay is able to switch currents of the order of a few amperes in an external circuit. Relay not only allows small currents to switch much larger currents but also isolates the PLC from the external circuit. Relays are relatively slow to operate. Suitable for AC and DC switching. Can withstand high surge currents and voltage transients. Transistor Type Output uses a transistor to switch current through the external circuit. Gives considerable fast switching action. Strictly for DC switching and destroyed by overcurrent and high reverse voltage.

Input/Output Unit Triac Output With optoisolators for isolation, can be used to control external loads that are connected to the AC power supply. Strictly for AC operation and is very easily destroyed by over current. Fuses virtually always included to protect such outputs.

Sourcing and Sinking Sourcing and sinking are used to describe the way in which DC devices are connected to a PLC. With sourcing, using conventional current flow direction as from positive to negative, an input device receives current from the input module. ( input module is the source of current). With Sinking, an input device supplies current to the input module, that is, the input module is the sink for the current. If the current flows from the output module to the output load, the output module is referred to as sourcing. If the current flows to the output module from an output load, the output module is referred to as sinking.

Sourcing and Sinking

Sourcing and Sinking Sensors with sourcing outputs should be connected to sinking PLC inputs Sensors with sinking outputs should be connected to sourcing PLC inputs.