SAMPLE. UEENEED026B Design a computer based control system. Learner Workbook. UEE07 Electrotechnology Training Package. Version 1.

Similar documents
HARDWARE OF SUPERVISORY CONTROL & DATA ACQUISITION SYSTEM

Further Programmable Logic Controllers (PLCs)

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

SAMPLE. MEC109 Balancing Leveling & Alignment. Learner guide. Version 1. Product Code: 2895

Central Processing Unit - CPU

PLC Training - Intermediate

AU-E - Practical Programmable Logic Controllers (PLCs) for Automation and Process Control

Serial Port Complete

INDUSTRIAL POWER GROUP DEPT.OF ELECTRICAL ENGINEERING NIT CALICUT

INITIAL FACE OF AUTOMATION PROGRAMMABLE LOGIC CONTROLLER

The Benefits of Component Object- Based SCADA and Supervisory System Application Development

INFORMATION COMUNICATION TECHNOLOGY SKS Lecture Two

Does Size Matter for Miners

InstrumentationTools.com

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

ABC Atanasoff-Berry Computer

Programmable Logic Controllers. and Components for Industrial Automation. altus. evolution in automation.

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

Understanding Device Level Connection Topologies

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

Introduction to Embedded Systems

MasterBus USB interface

Distributed Control Systems (DCS)

Computers: Inside and Out

NComputing desktop virtualization

Industrial Automation

Motherboard Components of a Desktop Computer

Components of a personal computer

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

3/2/ /2/ :05 AM EET 415/4 Power System Operation 1 3/2/ :05 AM EET 415 2

Applications of Programmable Logic Controllers DG31 34

Installation & Operation and Maintenance

PROGRAMMABLE LOGIC CONTROLLERS LAB ELEC 2141

Efficient Data Center Virtualization Requires All-flash Storage

Figures 2 and 3 illustrate respectively a photograph and a labelled diagram of the PLC that will be discussed in this class.

Chapter 5 Internal Memory

Recorders for all applications

PLC COURSE LIST NMU TRAINING CENTRE

Introduction to Programmable Logic Controllers (PLC's)

Technical Specification for Educational Robots

Programmable logic controllers

SCADA Software. 3.1 SCADA communication architectures SCADA system

CO General Specifications GS48D62Z00-00E-N GENERAL. ProSafe-COM extended communication system

Developing Measurement and Control Applications with the LabVIEW FPGA Pioneer System

Motion and Logic in the Drive Helps Drive Down Automation Costs

Development Of EMCS In Power Plants

A Smart HMI with Advanced Controls Great for tight spaces when there is no more room for additional I/O on your PLC rack

Precision Voltage Measurement. Instruments. Applications. Voltage Inputs. High-Stability, Low Drift Voltage References. Key Design Features

The synergy of SCADA with energy control

output devices. connected to the controller. data communications link. relay systems. user program. MECH1500Quiz1ReviewVersion2 Name: Class: Date:

PC Connections. A typical computer connects to the world around it in three different ways: Input/output devices Ports Networking.

10 Steps to Virtualization

Cambridge International General Certificate of Secondary Education 0478 Computer Science June 2015 Principal Examiner Report for Teachers

Troubleshooting PLCs & SCADA Systems

Designing a new IEC substation architecture

Overview of Microcontroller and Embedded Systems

Solve Compliance, Integration & Process Challenges Using Rich Data From Your Instrumentation

EMBEDDED SYSTEMS COURSE CURRICULUM

IE102: SCADA Programming, Maintenance & Troubleshooting

Components of a simple PC

ELECTRONIC AND CONTROL PROCESS DEVICES. reliability. professionalism. Company Profile.

Orbit 3 built on proven performance and reliability

Ethernet Remote Master (ERM)

Automation of Conveyor System and Process Control with Power Reduction Using Efficient PLC Programming and SCADA

Chapter 9: Peripheral Devices. By: Derek Hildreth Chad Davis

Making the decision to switch from PLC to PC-based Control has gotten even easier with the introduction of MachineLogic Control Software.

AUTARKIC PROCESS MANAGEMENT

REF IC012 PLC & SCADA Systems Feb $4,250 Abu Dhabi, UAE

ICCS Controllers Intelligent Control and Command Systems

Embedded systems extend automation

E-Blocks Datalogger Bundle

Challenges of Multivendor Systems in Implementation of IIoT-ready PLCs. ISA/Honeywell Webinar 10 November 2016

Answers to Chapter 2 Review Questions. 2. To convert controller signals into external signals that are used to control the machine or process

Give us a chance to change your world

Introduction. Upon completion of Basics of PLCs you should be able to: Identify the major components of a PLC and describe their functions

Industrial Sensors. p 00 24, 44, 53

Ethernet backbone improves design, implementation, and lifecycle management of safety and basic process control systems

Introduction to Programmable Controllers D R. TAREK TUTUNJI P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

CS 1 Notes 1 - Early Computing and 2 - Electronic Computing

xlogic SuperRelay is a compact and expandable CPU replacing mini PLCs, multiple timers, relays and counters.

NATIONAL CONTROL DEVICES ProXR Enhanced Quick Start Guide

Lecture 6: Embedded Systems and Microcontrollers

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Short introduction to Bascom-AVR Programming. Written by Jurij Mikeln - Last Updated Tuesday, 04 June :38

Controller and Drivers

TELEMETRY SYSTEMS OF THE FUTURE

Instrumentation, Control and Automation

CS/COE0447: Computer Organization

Established Leaders in Actuation Technology. In-Vision PC based supervisory control. Publication S210E issue 04/03

Processor ATP1. Product Sheet

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Building a Next Generation Data Logging System

FIGURE 1. Five Logical Levels of a SCADA System

Initial Face of Automation Programmable Logic Controller

ADVANCED SCADA CONTROL SYSTEMS

EtherCAT or Ethernet for Motion Control

BrewTroller Phoenix. Owners Manual. Updated - March 14, 2016 BREWTROLLER PHOENIX 1

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

UniGear type ZS1. SSC (Switchgear System Connectivity)

Chapter One. Computers in Context

Transcription:

UEE07 Electrotechnology Training Package UEENEED026B Design a computer based control system Learner Workbook Version 1 TRAINING AND EDUCATION SUPPORT INDUSTRY SKILLS UNIT, MEADOWBANK Product 5495

Acknowledgments The TAFE NSW Training and Education Support Industry Skills Unit, Meadowbank would like to acknowledge the support and assistance of the following people in the production of this learner workbook: Writers: Jeffrey Stokes TAFE NSW Reviewers: TAFE NSW Project Manager: Steve Parkinson TAFE NSW Enquiries Enquiries about this and other publications can be made to: Training and Education Support Industry Skills Unit, Meadowbank Meadowbank TAFE Level 3, Building J, See Street, MEADOWBANK NSW 2114 Tel: 02-9942 3200 Fax: 02-9942 3257 The State of New South Wales, Department of Education and Training, TAFE NSW, Training and Education Support Industry Skills Unit, Meadowbank, 2011. Copyright of this material is reserved to TAFE NSW Training and Education Support Industry Skills Unit, Meadowbank. Reproduction or transmittal in whole or in part, other than for the purposes of private study or research, and subject to the provisions of the Copyright Act, is prohibited without the written authority of, TAFE NSW. Training and Education Support Industry Skills Unit, Meadowbank. ISBN 978-1-74236-256-4 Developed by Training & Education Support Industry Skills Unit, Meadowbank @ TAFE NSW 2011

Table of contents Introduction... 9 1. General introduction... 9 2. Using this learner workbook... 9 3. Prior knowledge and experience... 11 4. Unit of competency overview... 11 5. Assessment... 16 Section 1:... 17 Control System Architecture... 17 1.1 Microprocessor Based Controllers... 17 1.2 PC Based Control Systems... 21 1.3 Distributive and Hybrid Systems... 30 1.4 Safety Considerations in Control System Design... 34 Section 2:... 39 Measurement, Signals and Connections... 39 2.1 Industrial Sensors... 39 2.2 Controller I/O Electrical Specifications... 42 2.3 Signal Conditioning and Calibration... 46 2.4 Input Protection Methods... 48 2.5 Data Signals and Connections... 51 Section 3:... 53 Control Programming... 53 3.1 PLC Programming... 53 3.2 SCADA Programming... 55 3.2 Data Acquisition Systems... 57 Section 4:... 61 Developed by Training & Education Support Industry Skills Unit, Meadowbank @ TAFE NSW 2011

Introduction to Labview... 61 4.1 Labview Installation and Setup... 61 4.2 Creating a Virtual Instrument (VI)... 66 4.4 Introduction to HMI Design... 72 Section 5:... 75 Analogue to Digital Conversion... 75 5.1 ADC Methods... 75 5.2 Resolution and Sample Rate... 77 5.3 Noise Reduction... 78 5.4 Data Logging... 82 Section 6:... 83 Introduction to Visual Basic.net... 83 6.1 VB.net Installation and Setup... 83 6.2 Navigating the IDE... 84 The Default Form... 86 6.3 Components and Properties... 87 6.4 Events, Methods and Functions... 97 6.5 Data Types and Variable Declarations... 98 6.6 Testing and Debugging a Program... 111 Section 7:... 115 Programming Structures... 115 7.1 If... Then... Else... 115 7.2 Select... Case... 117 7.3 For... Next... 118 7.4 Do... While and Do... Until... 119 7.5 Writing Function, Moving Objects... 120 Developed by Training & Education Support Industry Skills Unit, Meadowbank @ TAFE NSW 2011

Section 8:... 131 Advanced Maths Techniques... 131 8.1 Order of Operations... 131 8.2 Trigonometric Functions... 132 Section 9:... 133 Graphical Methods and Techniques... 133 9.1 Drawing in a Picture Box... 133 9.4 Form and Component Opacity... 136 Section 10:... 139 Control Programming Techniques... 139 10.1 Accessing I/O Devices... 139 10.2 The Basic Control Loop... 139 10.3 Timing Functions... 140 10.4 Counting External Events... 141 Reading and Scaling Analogue Values... 144 Section 11:... 147 Software Design Planning... 147 11.1 Top-Down Methodology... 147 11.2 Project Planning... 148 11.3 Modular Programming... 150 11.4 Documenting Software Design Projects... 151 Section 12:... 153 Software Design Implementation Project... 153 12.1 Control Algorithms... 153 12.2 Data Logging Features... 155 12.3 Programming Alarms... 156 Developed by Training & Education Support Industry Skills Unit, Meadowbank @ TAFE NSW 2011

12.4 Programming Access Control... 158 12.5 Managing Project Changes... 159 Section 13:... 161 Beta Testing and System Commissioning... 161 13.1 Testing Modules of Code... 161 13.2 Safety Testing and System Commissioning... 161 13.3 Commissioning Documentation... 161 13.4 Operating Manuals and Training... 161 Section 14:... 163 Data Communications Features... 163 14.1 Networks... 163 14.2 Network Topologies... 173 14.3 Network Standards and Protocols... 174 Section 15:... 177 Computer Based Control System Project... 177 15.1 System Planning... 177 15.2 System Implementation... 178 15.3 System Problem Solving... 179 15.4 System Completion... 180 Reference list... 183 Resource Evaluation Form... 185 Developed by Training & Education Support Industry Skills Unit, Meadowbank @ TAFE NSW 2011

Section 1: Control System Architecture 1.1 Microprocessor Based Controllers Control System History Figure 1 Manual Valve Early in the history of what we would call modern industrial development, control systems were manually operated. They relied on human measurement and decision making. This means that they were flawed. Over a period of time many manual systems, especially simple ON/OFF control systems, were replaced with relay control systems that were capable of a level of automation. These were more reliable and saved money because of the lower labour cost. Relay operation is still relatively slow to respond to process changes when compared with electronics and systems still broke down often, due to the electromechanical nature of the devices used. We still use relays today but only to isolate and control loads. They are not as part of the control. If a relay operation takes 15 milliseconds and there are 10 stages in the control circuit where one relay drives another, the propagation of the signal might be greater than 150 milliseconds. This is inadequate for many applications today. Figure 3 Early transistor circuits in computers With the invention and introduction of electronic devices, some relay control systems were replaced by dedicated digital systems. These systems were able to respond more quickly and required less maintenance as the devices were solid state, an old fashioned term meaning that they had no moving parts. They were essentially still hard-wired though, and process modifications and fixes meant that part of the system had to be re-designed and re-wired. It was not until the arrival of the microprocessor, that programmable control was made possible. Figure 2 3000 Type relays used for control Page 17 of 188

Eventually the PLC was invented. It came about because of the needs of the automotive manufacturers who needed to make changes to designs and build new models. PLCs became popular for control and are still currently the most common solution used by control engineers and electricians. They grew in size and power until their complexity made them too slow for some applications. It is now more common to use several small PLCs that communicate with each other than one very large PLC with a lot of processing power. Activity box A1.1 1. In what year was the very first PLC designed? 2. Why is it that PLC programs have a ladder like layout rather than being written in a normal programming language? Using the Internet links below, complete the following activities and respond in the space provided. http://en.wikipedia.org/wiki/programmable_logic_controller http://www.machine-informationsystems.com/plc_history.html http://www.plcs.net/chapters/links.htm Figure 4 A shoebox PLC 3. List four well known PLC manufacturers. Page 18 of 188

Microprocessor Control There are a number of choices in regard to a control system solution. The decision to utilise a specific type of controller and control system architecture is often based on the number of inputs and outputs required and the complexity of the control algorithms and therefore the processing power required to do the calculations. Other considerations might be the development time available, the lifecycle of the project, the likelihood of process changes and limits on the cost of system implementation. Some of the choices are; Figure 5 Embedded System An embedded system (a dedicated system) such as is used for TV remote controls, simple alarm systems and pool chlorination systems. In such systems, a microprocessor or microcontroller executes a program that is stored as firmware in EPROM memory. Costs for these systems are very low because of mass production. If large production numbers are not required, this sort of system is often not viable. A single PLC, or a number of PLCs, (a programmable system) where changes are easily made and the costs of both equipment and development time are relatively low. These systems are capable of some analogue measurement but only in a limited way. If a large number of analogue channels are required or very high sample rates, then other solutions might be more effective. A third option is to use what is popularly called a single board computer. This is something that has a PC operating system but is a limited configuration in terms of computing power, memory and communications capabilities. The benefits of a single board computer are that its power consumption is low and physically, it can be incorporated in pieces of equipment. Flash memory is used instead of a hard drive. Graphics processors are limited compared with a normal PC and the processor is a low power (slower) version of standard CPU. Even today, it is often a Pentium 4, not dual core PC architecture. Software can be developed easily as it is still essentially a PC platform. Figure 6 PLCs with SCADA control Figure 7 Single Board Computer with onboard graphics, Ethernet, expansion bus and USB ports Page 19 of 188

Ever since the advent of the personal computer, a PC based control system has been an option. The processing power available in such a system makes it perfect for complex measurement, analysis and advanced control systems. The use of a PC along with data acquisition hardware, is common in scientific circles. It is less commonly used in industry because of the relatively high cost. As industrial process control becomes more sophisticated and the price of PC technology continues to fall, this is becoming less of a constraint. This type of control is the focus of this unit of competency. Activity box A1.2 Figure 8 Two computers from different generations Try to guess what year each of the two computers above is from. The first is a relatively early PC. You will notice the two floppy drives. There was no hard drive. Each time you booted the PC you had to load the operating system from a floppy disk. The second PC is fairly recent. The flat LCD monitor places it within the last five years. Write your responses to the right. PC 1 PC 2 Technology Change 1. Why answer questions about historically irrelevant technology? Simply to bring into focus the fact that technology will not stop changing. The control solutions that are common today may not meet the needs of tomorrow s industry. Page 20 of 188