17
PREVIEW COPY Table of Contents Lesson One History and Overview.......................................................................3 Lesson Two Small Computers in Process Control.............................................19 Lesson Three DCS Architecture...........................................................................35 Lesson Four DCS Configuration and Operation.................................................51 Lesson Five Systems and Applications Integration............................................67 © Copyright 1993, 1997, 2001 by TPC Training Systems, a division of Telemedia, Inc. All rights reserved, including those of translation. Printed and videotaped courseware are subject to the copyright laws of the United States. You are not autho- rized to make any copies of this material. If you do, then you are subject to the penalties provided under the copyright law, which include statutory damages up to $50,000 for each infringement of copyrighted material, and also recovery of reasonable attorneys’ fees. Further, you could be subject to criminal prosecution pursuant to 18 U.S.C. § 2319. Computers in Process Control

Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

  • Upload
    hathien

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

Table of Contents

Lesson One History and Overview.......................................................................3

Lesson Two Small Computers in Process Control.............................................19

Lesson Three DCS Architecture...........................................................................35

Lesson Four DCS Configuration and Operation.................................................51

Lesson Five Systems and Applications Integration............................................67

© Copyright 1993, 1997, 2001 by TPC Training Systems, a division of Telemedia, Inc.

All rights reserved, including those of translation.

Printed and videotaped courseware are subject to the copyright laws of the United States. You are not autho-rized to make any copies of this material. If you do, then you are subject to the penalties provided under thecopyright law, which include statutory damages up to $50,000 for each infringement of copyrighted material, andalso recovery of reasonable attorneys’ fees. Further, you could be subject to criminal prosecution pursuant to 18U.S.C. § 2319.

Computers inProcess Control

Page 2: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

COMPUTERS IN PROCESS CONTROL

Lesson One

HistoryandOverview

28401

PREVIEW

COPY

Page 3: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

1

4

Lesson

History and Overview

IntroductionDevelopment of Computers in Process ControlBusiness Computer ExperimentsSupervisory Control and Data Acquisition

(SCADA)Microprocessor-Based Instruments

Distributed ControlPersonal ComputersProgrammable Logic ControllersArtificial Intelligence, Expert Systems, and Fuzzy

LogicIntegrated Control Systems

TOPICS

After studying this Lesson, you should be able to…

• Discuss the history of the application of computersto continuous and batch process control.

• Describe the function of an RTU in a SCADA system.

• Describe the development of distributed control systems from microprocessor-based instruments,including programmable logic controllers.

• Compare the hardware, operating systems, software, and applications of a PC with ahousehold VCR.

• Compare the concepts of artificial intelligence,expert systems, and fuzzy and crisp logic.

OBJECTIVES

Supervisory control 1.09 the use of a computerto adjust the setpoints of conventional controllers

DDC (direct digital control) 1.10 the use of acomputer to adjust the position of a final controlelement

SCADA (supervisory control and data acquisition)1.12 computer control applied over very longdistances

RTU (remote terminal unit) 1.13 the intelligentworking element in a SCADA system

DCS (distributed control system) 1.22 a collection of small computers connected by a network to form a system specifically designed for process control

AI (artificial intelligence) 1.48 a programmingmethod that makes a computer appear to think orreason like a human

Fuzzy logic 1.51 a programming method thatallows the computer to evaluate by degrees, notjust by discrete binary conditions

KEY TECHNICAL TERMS

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

PREVIEW

COPY

Page 4: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

Introduction

1.01 Prior to the emergence of computer-based pro-grammable logic controllers (PLCs) and distributedcontrol systems (DCSs) in the late 1970s, “instruments”and “controls” were distinctly different and manufactur-ing processes were clearly separated. Instruments hadmeters and gauges, while controls had switches andlights and provided feedback control functions. Contin-uous processes dealt with materials that flowed (liquidchemicals, for example), while discrete processes dealtwith materials that were carried, mainly machined parts.Data acquisition for record keeping and quality controlwere considered part of the business operations, not partof the process control system.

1.02 The first computer-based devices weredesigned to preserve these distinctions and mimic theolder equipment they replaced, and considerableeffort went into hiding the computer from the user, atleast in offices. Very quickly, however, the distinc-tions began to disappear from both the processes andthe control equipment as plant computer installationsgrew larger and integrated control systems developedto serve them.

1.03 This Unit will focus on computers used to con-trol continuous processes (for example, petroleum refin-ing and chemicals production) and batch processes (forexample, food processing and pharmaceuticals produc-tion). These are often called wet processes and use

materials that flow through pipes, ducts, and valves.Older continuous processes were managed by instru-ments and maintained by a plant’s instrument depart-ment. While many of the older plants still exist, modernprocesses are managed by microprocessor-based instru-ments and distributed control systems. They are stillmaintained by the instrument department, which nowincludes personnel with computer expertise.

1.04 This Unit will deal less with the discrete pro-cesses used to make machined parts or to manufactureappliances, bicycles, and cars, for example. These dryprocesses use materials that are carried mainly byconveyors or robots. Older discrete processes weremanaged by electrical controls and maintained by aplant’s electrical department. Such processes are nowmanaged by programmable logic controllers, discussedbriefly in this Lesson to clarify terminology.

1.05 This Unit is not about computers by them-selves. It will deal with designs, operating systems,programming, data transmission, networking, installa-tion, and repair only to the extent needed to under-stand the application of computers in process control.However, data transmission is the subject of anotherUnit in this Course.

Development of Computers in Process Control

1.06 Prior to World War II, processing plants wererelatively small and easily managed with the pneumatic

5

Computers, in one form or another, are in practically everything you work orplay with, drive, look at, or listen to, so it is easy to forget how new they reallyare. Computers as we know them today have been available only since the late1970s, and became important to process control only in the 1980s.

Computer technology has progressed at an incredible pace. A large businesscomputer of the mid-1960s filled a room, had 8000 to 16,000 memory locations,and performed in milliseconds. Today, a memory-bank wristwatch may havehundreds of thousands of memory locations, a desktop personal computer canhave hundreds of millions of memory locations, and the performance of both ismeasured in microseconds.

This explosive development has strained computer terminology. If “micro”means very small, is a pocket calculator a “microcomputer” when currentpocket calculators have more memory and speed than some of the computersthat controlled the space program’s first moon landing? Few computer termshave any standard, universal, or constant meanings, and it is important tounderstand these terms as used. This Lesson will attempt to clarify terms usedthroughout this Unit.

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 5: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

instruments that had been developed in the 1930s.The war effort created much larger facilities and theneed for the faster, more capable electronic instru-ments that were developed after the war. Plants con-tinued to grow in size and complexity, requiringlarger control rooms that sometimes developed intoentirely separate control buildings with large staffs.

1.07 The paperwork requirements of business—payrolls, taxes, inventory control, and so on—alsogrew, and some plants used large (for the time) com-puters to manage them. These business computersoften had free time available, and engineering theoriesbegan to develop for their use in process control.There were compelling reasons to pursue these theo-ries, and most of them remain valid today. Objectiveswere to have:

• more capability

• faster operation

• high reliability

• smaller control rooms

• lower installation costs

• reduced operator requirements

• greater flexibility for change and expansion

• ability to do more complex control strategies.

Business Computer Experiments

1.08 The earliest applications of business comput-ers for process control were for data acquisition,shown in Fig. 1-1, bringing process measurements oftemperatures, pressures, flow rates, and so on into thecomputer. This alone was an engineering challengebecause computers are digital devices in an analogworld. Computers understand only discrete logicalconditions (for example, ON/OFF, TRUE/FALSE, andYES/NO), while process values are analog (0 to 200degrees, 50 to 500 pounds per square inch, or 0 to 15gallons per minute).

1.09 Once process measurement data were avail-able in the computer, control strategies could bedeveloped. In the experimental phases, the strategywas to determine a control setpoint with the computerand transmit that setpoint to the pneumatic or elec-tronic analog controller in the plant’s control room.This could be done fairly easily by equipping the con-troller with a stepping motor geared to its setpointknob. The analog controller determined the controloutput and the entire existing control loop remainedunchanged. This approach, shown in Fig. 1-2, becameknown as supervisory control.

1.10 As knowledge and confidence grew, comput-ers were programmed to use process measurementdata to calculate the required control output and trans-mit that value directly to a final control element(usually a valve), as shown in Fig. 1-3. This approachbecame known as direct digital control (DDC).

6 Lesson One

Process

Process variable

Data acquisitioncomputer

Control signalController

Process

Process variable

Supervisorycomputer

Control signalPanel instruments

Mea

sure

men

t

Control setpoint

Fig. 1-1. Data acquisition Fig. 1-2. Supervisory control

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 6: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

The DDC controller output went to the valve. Theanalog control loop was completely bypassed,although it always remained in place and operative forbackup purposes. In most cases, these experimentsrequired dedicated business-style computers, but theyhad no business applications.

1.11 Only the largest and richest industries wereable to perform these experiments. The equipmentwas limited, the programming effort was immense,and the void between process knowledge and com-puter expertise was large and often complicated by adesire of the business computer departments to keepcontrol of this new application.

Supervisory Control and Data Acquisition (SCADA)

1.12 One survivor of the pioneering experiments isSCADA (supervisory control and data acquisition),

which continues to be used in certain industries—forexample, electric power distribution, gas and oilpipelines, and off-shore drilling. These industries arecharacterized by facilities connected over hundreds orthousands of miles. Figure 1-4 on the following pageshows a SCADA system.

1.13 SCADA systems use large mainframe com-puters at a central location and remote terminal units(RTUs) at the distant facilities, which are generallyunattended. The RTUs gather and store local data andtransmit them to the central computer on request,although emergency conditions can be transmittedwithout a computer request. The central computeranalyzes the data it receives and sends instructionsback to the appropriate RTUs.

1.14 Remote terminal units are intelligent devices.Once an RTU has its instructions (for example, a set-point value to be maintained) from the central com-puter, it is able to obtain input data, make calculationson the data, and produce control outputs, all withoutfurther assistance from the central computer. If thedata transmission system fails, the RTU maintains theprocess at the current setpoints. The RTU holds infor-mation about events in its own memory and can trans-mit this information to the computer on request. If anemergency condition (an alarm) occurs, the RTU caninterrupt the supervisory function of the SCADAcomputer and ask for assistance.

1.15 The computer in a SCADA system acts like ahuman supervisor with a crew of workers at several

History and Overview 7

Process

Process variable

DDC computer

Panel instruments

Control signal

Backup only

Fig. 1-3. Direct digital control (DDC)

A brand new experimental processingplant was built in the mid-1960s to be runentirely under direct digital control bycomputer. The computer was programmedby experts to order raw material deliver-ies, control the continuous process, andpackage the product. This process previ-ously was characterized by high person-nel requirements and significant wasteproduct, and computer control wasintended to reduce both.

During trials, the process started up suc-cessfully, ran briefly, and shut down auto-matically. This happened repeatedly, butnothing could be found wrong with theplant equipment or the computer. Thecause of the shutdowns was found whensomeone realized that the computer pro-gram had been written to reduce wasteproduct to a minimum, and there was zerowaste product when the process was shutdown. The computer program was modi-fied to allow a small amount of wasteproduct, and this plant ran successfullyfor many years. After transferring thetechnology, so did the old plant.

Application 1-1

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 7: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

widely separated job sites, and the RTUs are likehighly competent workers. The supervisor can calleach worker with instructions and then leave it up tothe worker to do the job. The supervisor can call eachworker on a regular schedule or at his or her conve-nience to find out how the site work is progressing.Any worker can call the supervisor at any time ifsomething goes wrong and help is needed. Finally, thesupervisor makes up a summary report for the wholeproject and presents it to the manager.

1.16 Both the hardware and the software ofSCADA systems are usually custom-built to theowner’s specifications. SCADA system owners always

8 Lesson One

Process

Process variable

SCADA computer

SCADA input Remoteterminal unit(RTU)

SCADA output

Control signal

Long-distance transmission

Central control management Remote process

Fig. 1-4. Supervisory control and data acquisition (SCADA)

East coast people often don’t believe it, butLincoln, Nebraska, and Tulsa, Oklahoma,are seaports. The U.S. Corps of Engineerscreated a navigable waterway from Lincolnto the Gulf of Mexico. A series of dams andartificial lakes is used to keep the waterlevel constant in the waterway.

Electric power companies use the watersystem for a hydroelectric method ofpower generation called pumped storage.When excess electric power is available,usually at night, they pump water up froma Corps of Engineers lake to another artifi-cial lake of their own on higher ground

and store it there. When extra electricpower is needed, they let the water flowback down through turbine generators.

Pumped storage facilities are in remotelocations and are unattended. However,the control system is quite sophisticatedand can account for variable water levels,flow rates, and power requirements. Origi-nally, an operator was dispatched in apickup truck (preferably four-wheel drive)to stop or start the pumping or generatingoperation. Driving away from a runningfacility was an act of faith.

Some of the first SCADA systems wereapplied to pumped storage and proved tobe very successful. Intelligent remote ter-minal units at the dam itself were able tomeet the control requirements. TheseRTUs could be started and stopped by anoperator in a control room miles away.They reported lake levels, flow rates, andpower generation at the operator ’srequest. If something went wrong, an RTUcould call for help.

The long-range transmission was by tele-phone wires where possible, but manyreally remote facilities required microwave(radio) transmission. In any case, manytruck transmissions were saved.

Application 1-2

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 8: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

employ high-level computer experts who are capable ofoperating, maintaining, and modifying their systems.

1.17 Very recently some distributed SCADA sys-tems have been introduced, made possible by theincreased power of off-the-shelf computers and theacceptability of open systems. Open systems aredesigned to use standard hardware and as much stan-dard software as possible to minimize the difficulty,expense, and development time required for custom-built systems. “Open” implies a feedback protocol thatlets equipment of different manufacturers communi-cate with each other. This arrangement is an extensionof distributed control, discussed later in this Lesson.

Microprocessor-Based Instruments

1.18 The meaning of the term microprocessor haschanged, but the earliest microprocessors, like the oneshown in Fig. 1-5, were the basic components ofsmall computers that could be built up to perform spe-cific functions. A pocket calculator is an example.Today, the entire calculator, or a similar device, maybe called a microprocessor.

1.19 The first microprocessor-based instrumentswere designed as replacements for electronic analogprocess controllers. The experiments with supervisory

control and direct digital control created a demand forinstruments that could communicate directly in thedigital world of the computer.

1.20 Also, there were significant manufacturingadvantages to an instrument that could be built in vol-ume to standard specifications and customized simplyby loading a software program. Previously, eachcontroller was built to order, a lengthy and expensiveprocess, and it was seldom practical to make changesafter the instrument was manufactured.

1.21 As shown in Fig. 1-6, early models werenearly exact replacements for current single-loopcontrollers. They had all the functions of a “fullyloaded” analog controller, and desired options couldbe selected as needed. As users became accustomedto these instruments, and as microprocessor speed andcapability increased, microprocessor-based con-trollers were designed to control four, eight, and up to64 different loops from a single controller.

The Programmed Exercises on the next page willtell you how well you understand the material youhave just read. Before starting the exercises,remove the Reveal Key from the back of yourBook. Read the instructions printed on the RevealKey. Follow these instructions as you workthrough the Programmed Exercises.

History and Overview 9

Fig. 1-5. Microprocessor Fig. 1-6. Early microprocessor-based controller

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 9: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

10 Programmed Exercises

1-1. PLCs and DCSs emerged in the late .

1-2. Traditionally, “instruments” were used in processes and “controls”were used in processes.

1-3. The earliest applications of computersfor process control were for .

1-4. One survivor of the earliest applicationsof computers to process control is .

1-5. A(n) is the intelligent remotedevice used in a supervisory controland data acquisition system.

1-6. In systems, equipment of different manufacturers can communicate with each other.

1-7. The earliest were the basiccomponents of small computers.

1-8. Early DCS controllers could handle upto loops.

1-1. 1970s

Ref: 1.01

1-2. CONTINUOUS or WET;DISCRETE or DRY

Ref: 1.03, 1.04

1-3. DATA ACQUISITION

Ref: 1.08

1-4. SCADA

Ref: 1.12

1-5. RTU (REMOTE TERMINAL UNIT)

Ref: 1.13

1-6. OPEN

Ref: 1.17

1-7. MICROPROCESSORS

Ref: 1.18

1-8. 64

Ref: 1.21

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 10: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

Distributed Control

1.22 Distributed control came about because withDDC if the computer failed, the whole plant was shutdown. You can consider distributed control to be aconcept and a distributed control system (DCS) to behardware. Oddly, perhaps, the hardware came first.

1.23 A typical first-generation distributed controlsystem was, basically, a series of microprocessor-based multiloop controllers distributed along a com-munications network, often called a data highway, asshown in Fig. 1-7. Sampling techniques made it pos-sible for each of these distributed controllers toreplace eight single-loop controllers. Now a systemcould control up to 64 different loops, creating a massof data. Therefore, an operator’s station, resembling apersonal computer, was included on the network todisplay the control operations being performed.

1.24 Early distributed control systems weredesigned by and built up from components by theirmanufacturers. Like today, even the operator’s sta-tions were built up from cathode-ray tubes, circuitboards, special cabinets, and custom-built keyboards.

1.25 Control functions (algorithms) were virtuallyidentical to the traditional proportional-integral-derivative (PID) capabilities of analog controllers, butalso added many new functions. The operator stationdisplays were designed by the manufacturer to resem-ble photographs of the old familiar control panels.The keyboards were labeled to resemble the old

analog instrument knobs and buttons, and often hadno traditional alphanumeric typing keys at all.

History and Overview 11

Process

Distributedprocessing unit

Process

Data highway

Workstation

Fig. 1-7. Distributed control

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Back in the early 1980s, a chemical com-pany called Progressive Processing pur-chased one of the first small distributedcontrol systems put on the market. Afterseveral months, the vendor sales managernoticed that Progressive was buying moreanalog instruments than usual. Concernedthat Progressive was unhappy with theDCS, he decided to investigate. He calledProgressive’s instrument engineer.

He asked if the DCS was working out OK.“Yes, it’s great.” “What processes haveyou installed it on?” “Well, we haven’tinstalled it—not exactly.” “I beg your par-don?” asked the sales manager. Theinstrument engineer explained that Pro-gressive had lots of ideas about improv-ing their many small processes, but ithad always been too expensive and time-consuming to buy and install instrumen-tation for the experiments to prove theseideas.

When they acquired their DCS, theywere able to connect and configure it totry out their ideas in various ways. Whenthe experiments were successful, theyrecorded the instrument specifications

Application 1-3

Page 11: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

1.26 DCSs provided the same benefits that had led tothe earliest experiments with business computers for pro-cess control. Panel-building costs had reached $1000/ftand wiring approached $100/wire within the panel, sothe installation of a typewriter-sized operator’s station ina network cable was financially attractive. And, afterinstallation, a single operator could view, adjust, orrespond to any operation without leaving his or her chair.

1.27 Later-generation DCSs appeared rapidly andgrew in size and complexity. The original 64-loop limithas grown to 2000 or more, and some plants have over25,000 indicator and data acquisition points. Color dis-plays and pictorial representations of plant operationsare universal and have themselves become an engineer-ing specialty. DCSs have acquired some of the capabil-ities of programmable logic controllers, discussed laterin this Lesson. Data acquisition, reporting and statisti-cal capabilities, logging, and printing are included. Inaddition, all DCSs can communicate with business-management computers. This means that managementhas access to real-time operations data. Decisions canbe made by the minute instead of by the week.

1.28 The concept of distributed control continuedto develop as systems grew. At the same time, suitableoff-the-shelf equipment of sufficient power at low costbecame available. Practically all the hardware andsoftware needed for a distributed control system canbe purchased. Therefore, suppliers can concentrate onapplying their process knowledge to the design ofoperating software for commercial hardware.

Personal Computers

1.29 Present-day personal computers are far morepowerful than some of the business computers used

by the largest industries in their early experimentswith DDC. Today’s reduced costs, improved hard-ware, and greatly simplified software permit even thesmallest industries to implement successfully some ofthe concepts of DDC with personal computers.

1.30 Software is readily available to enable per-sonal computers to control laboratories, specialtyoperations (for example, fermenters), and more con-ventional processes. Commercial input/outputequipment and suitable sensors and final controlelements make do-it-yourself systems practical andeconomical.

1.31 Personal computers now are available in spe-cial packages from their manufacturers or repackagersas hardened units that can survive harsh industrialenvironments. Some even can operate submerged inwater.

1.32 If you are unfamiliar with personal comput-ers (PCs) or know them only as video games orword processors, you may wonder how they can beused as process control instruments. Figure 1-8draws a reasonable analogy between a PC and avideo cassette recorder (a VCR, which is itself asmall computer) to help explain this somewhatunusual application. The paragraphs that followexplain this analogy.

1.33 Hardware. When you unpack a new VCR or anew PC, you hold its hardware in your hands:

VCR PC

VCR unit Central processing unit (CPU)Remote control CRT display and keyboardCables Cables

When you connect the parts and turn the power on,some “signs of life” appear (for example, a clock), butthe VCR cannot play a video tape yet and the PCcannot yet compute.

1.34 Firmware. The initial displays are created onmicroprocessor-based equipment by a set of non-volatile instructions called firmware stored within it inread-only memory (ROM). The term nonvolatilemeans permanent—that is, firmware is not lost whenthe power is turned off. An operating system stored inROM is an example of firmware.

12 Lesson One

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

from the DCS configuration and orderedthe corresponding analog instrumentsneeded to improve that process. Theythen disconnected the DCS, erased itsconfiguration, and started again onanother process.

This early DCS helped its user improve itsoperations and profitability. Progressivedoesn’t use many analog instrumentstoday, but they have expanded their DCSseveral times.

Page 12: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

1.35 Firmware enables the machine to completethe first part of its start-up procedure, enabling it toaccept further instructions. This start-up procedure iscalled booting, a term that comes from the old expres-sion “lifting oneself up by one’s own bootstraps.”Software provides the additional instructions.

1.36 Operating systems. VCRs have distinctoperating systems. Some use Beta, others use VHS,and still others use less familiar formats—for exam-ple, 8-millimeter and 1/2-in. formats. Similarly, somePCs use DOS (disk operating system), others useUNIX (an operating system originated by AT&T),and still others use other formats.

1.37 An operating system enables a microproces-sor to function by telling it where to get data, how tointerpret and process the data, where to store resultsinternally, and how to send information to a person(or an industrial process) in the world outside. Theoperating system also determines what applicationsoftware the equipment can accept and operate.

1.38 Software. Software is the set(s) of instruc-tions loaded into the machine after it is started fromits built-in firmware. There are several categories,including the following:

• system software

• application software

• utility software.

All kinds of software are commonly called programs,but the term is not really proper for system software.

1.39 System software is the term for an operatingsystem. System software is “read only” and cannotbe changed by the user without special procedures.System software is permanently installed in VCRsand some PCs, but most PCs require that system soft-ware be loaded from a floppy or hard disk at start-up.In any case, the operating system is not sufficient tomake the equipment operational, and so additionalsoftware (applications or utilities) is needed.

1.40 Application software enables the computer toperform specific tasks. It is a misconception to thinkthat the machine is or does something specific byitself. You know that a VCR can act as a movie pro-jector, but it also can be a movie camera (recorder), aTV tuner, or a tape editor. A personal computer canbe a word processor, but it also can be an industrialprocess control system.

1.41 When a video cassette is loaded into a VCR,the TV screen displays whatever was recorded on thecassette. This might be a movie, but it also could be adisplay that turns the TV into a dry aquarium full ofcolorful exotic fish. In a similar manner, when appli-cation software is loaded into a PC from a disk (floppyor hard), the PC runs whatever was recorded on thedisk. This might be a word processing program, butcould be a spreadsheet or a process control program.Other kinds of application software include databasesand computer-aided design (CAD) programs.

1.42 Utility software generally adds to or improvesthe capability of standard software. A VCR utility mightdisplay test patterns and color bars to aid with adjust-ments. PC utilities include clocks and calendars, variouscursor shapes, recovery utilities, and many others.

1.43 You might hear references to vaporware.Vaporware is a special category of software that doesnot exist (yet). A VCR movie might be advertised(“Coming Soon!”) before it is actually available. Acomputer program might be announced when it isplanned, but it may never materialize.

1.44 Although not always strictly analogous, othercomparisons can be made that may help you understandhow a personal computer can function as an industrialprocess control system on the following page:

History and Overview 13

InOut

Audio Video Auxiliary1:23:45 PMVCR

Printer

Disk

TV

PC

Cassette

Fig. 1-8. Analogy between VCR and PC

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 13: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

• A VCR connected to a cable broadcastingsystem or satellite dish is like a personal com-puter connected to a local area network orwide area network (LAN or WAN).

• VCRs have input/output (I/O) systems (videoin/out, audio in/out, speaker, etc.), as do PCs(printer, mouse, signals to equipment).

• VCRs operate with peripherals—cameras forinput, special monitors for output, duplicatorsto make multiple cassettes for sale. PCs oper-ate with peripherals—a personal computerused for process control uses a data acquisi-tion system for input, a signal conditioningsystem for input and/or output, and controlvalves to help manufacture chemicals forsale.

Programmable Logic Controllers

1.45 Programmable logic controllers, shown con-trolling motors in Fig. 1-9, were originally designedto replace the switches and push buttons of motorcontrol centers. They are used mostly in discrete man-ufacturing. However, their success helped makemicroprocessors and computers practical in industrialapplications, enabling the development of distributedcontrol systems.

1.46 These devices have developed enough overtime to require several name changes. Logic to a com-puter means ON or OFF (1 or 0), and the original pro-grammable logic controllers (PLC) were limited to

ON/OFF operations. PLCs then acquired some limitedanalog capabilities (for example, PID control) andbecame known as P(L)Cs—programmable (mostlylogic) controllers. Current devices have complete dig-ital and analog capabilities and are known as PCs(programmable controllers), easily (and wrongly)confused with personal computers, also called PCs.

1.47 The distinction between programmable con-trol and distributed control is blurred. It may be one ofsize (the largest DCSs are larger than the largest PCs),but the clearest distinction remains the application.

Artificial Intelligence, Expert Systems, and Fuzzy Logic

1.48 Artificial intelligence (AI) refers to computerprograms that appear to think or reason like humans.The concept can lead to philosophical controversy,but process control applications of AI consider onlythe results. If a computer closes the same valve thata human would close under the same circumstances,it is using artificial intelligence. Because it is impos-sible to emulate the human brain, all apparent pro-cess control AI is really an application of expertsystems.

1.49 Expert systems are a subset of AI. They areconstructed (programmed) by interviewing a humanexpert and then storing his or her conclusions in acomputer, as in the following examples:

“Doctor, what is your diagnosis of these patients?”

1. His eyes are closed. 2. His eyes are closed.He is not moving. He is not moving.He is breathing. He is not breathing.

“HE IS SLEEPING.” “HE IS DEAD.”

“Engineer, what do you think is wrong with theseprocesses?”

1. The tank is empty.

“THE PUMP IS STOPPED.”

2. The tank is empty.The pump is running.

“THE VALVE IS CLOSED.”

14 Lesson One

Process

Motors

Motor control

Programmingkeyboard(detachable)

Motor control

Fig. 1-9. Programmable logic controller (PLC)

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 14: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

3. The tank is empty.The pump is running.The valve is open.

“THE INLET PIPE IS PLUGGED.”

1.50 Expert systems can guide a computerautomatically or can guide a human operator tomake the best response to an unfamiliar situation.They can be successful whenever combinations ofsymptoms lead to a specific conclusion, as is usuallytrue in process control.

1.51 Fuzzy logic is a programming method thatallows the computer to evaluate by degrees, not justby two-state (discrete, binary) conditions. Conven-tional two-state logic is called crisp logic. Crisplogic might say, “The pressure is 100 psig.”/ “Thepressure is 10 psig.” Fuzzy logic might say, “Thepressure is quite high.”/ “The pressure is quite low.”Computers still cannot understand “quite,” “some,”or “very,” but they can use the familiar “on a scaleof 1 to 10” method to evaluate a condition bydegrees.

1.52 Fuzzy logic is used to model processes orcontrollers where the interaction between variablesor the variables themselves are largely unknown andthe processes are too complex or too nonlinear tomodel simply. Successful fuzzy controllers havebeen developed using knowledge from operators andcontrol engineers. This success is being expanded,and the true potential of fuzzy modeling is stillevolving.

Integrated Control Systems

1.53 Before computers entered the sceneand began to be widely used in process control, sev-eral independent functions were applied to theprocess, including:

• research and development

• operation

• data acquisition

• record keeping

• inventory management

• quality control

• financial management.

The development of computer capabilities has made itpossible to combine all of these functions, and more,into a single system, as shown in Fig. 1-10. Integratedcontrol systems appear to be the current trend.

1.54 Superficially, an integrated control systemappears to be no different from a DCS. Within it, how-ever, are the loop control functions for continuous andbatch processes, programmable controller functionsfor discrete operations, data acquisition and storage,powerful computational and analytical abilities, andthe multipurpose capabilities of a large computer. Inte-grated systems are the subject of the final Lesson inthis Unit.

History and Overview 15

Long-distancetransmission

Data highway

Discreteprocess

Continuousprocess

DCSPLC

Workstation

Business management

Mainframecomputer

Fig. 1-10. Integrated control

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 15: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

16 Programmed Exercises

1-9. Algorithms of early DCSs were almostidentical to the capabilities ofanalog controllers.

1-10. Personal computers are enabled to perform process control by means of .

1-11. The nonvolatile instructions that permitbooting a computer are an example of .

1-12. DOS and UNIX are kinds of .

1-13. What kind of software enables a computer to perform specific tasks?

1-14. Logic to a PLC means or (1 or 0).

1-15. The term PC can mean or , depending on the context.

1-16. ON/OFF are terms in logic, and quite high/quite low are terms in logic.

1-9. PID

Ref: 1.25

1-10. SOFTWARE

Ref: 1.30

1-11. FIRMWARE

Ref: 1.35

1-12. OPERATING SYSTEMS

Ref: 1.36

1-13. APPLICATION

Ref: 1.40

1-14. ON; OFF

Ref: 1.46

1-15. PERSONAL COMPUTER,PROGRAMMABLE CONTROLLER

Ref: 1.46

1-16. CRISP; FUZZY

Ref: 1.51

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 16: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPY

1-1. The first computers used for process controlwere

� a. business computers� b. dedicated computers� c. microcomputers� d. personal computers

1-2. Which of the following computer control systems requires the analog controller todetermine the control output?

� a. DCS� b. DDC� c. SCADA� d. supervisory control

1-3. SCADA systems typically span

� a. an entire plant� b. many miles� c. part of a plant� d. up to 5000 ft

1-4. If the data transmission system fails in aSCADA system, the RTUs

� a. also fail� b. maintain the process at the current

setpoints� c. reduce the process to a safe level� d. shut down the process

1-5. Early microprocessor-based loop controllers

� a. made pneumatic controllers almost obsolete

� b. required very large control panels� c. resembled conventional controllers� d. used detachable programming

terminals

1-6. The control capacity of today’s DCS is about loops.

� a. 8� b. 64� c. 1024� d. 2000

1-7. A hardened personal computer

� a. cannot be reprogrammed� b. has no software� c. is specially packaged� d. uses a fail-safe operating system

1-8. A computer starts up from its

� a. firmware� b. operating system� c. random-access memory� d. utility software

1-9. Today’s programmable controllers

� a. are exclusively digital devices� b. cannot be integrated into distributed

systems� c. have extensive analog and digital

capabilities� d. require personal computers to

operate

1-10. Current control systems that combine severalpreviously independent systems are called________ systems.

� a. crisp logic� b. integrated control� c. supervisory control and data

acquisition� d. supervisory control

Self-Check Quiz 17

Answer the following questions by marking an “X”in the box next to the best answer.

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.

Page 17: Computers in Process Control - TPC Training · Development of Computers in Process Control ... Personal Computers Programmable Logic Controllers Artificial Intelligence, Expert Systems,

PREVIEW

COPYAnswers to Self-Check Quiz

1-1. a. Business computers. Ref: 1.07

1-2. d. Supervisory control. Ref: 1.09

1-3. b. Many miles. Ref: 1.12

1-4. b. Maintain the process at the current setpoints. Ref: 1.14

1-5. c. Resembled conventional controllers. Ref: 1.21

1-6. d. 2000. Ref: 1.27

1-7. c. Is specially packaged. Ref: 1.31

1-8. a. Firmware. Ref: 1.35

1-9. c. Have extensive analog and digital capabilities. Ref: 1.46

1-10. b. Integrated control. Ref: 1.53

Discrete manufacturing uses programmable logiccontrollers. Continuous processes use a widevariety of small computers in smart devices, panelboard instruments, and distributed control systems.

Industries with widely separated facilities usesupervisory control and data acquisition systems(SCADA), a survivor of the earliest experimentswith business applications for computers. SCADA consists of centralized computers thatcommunicate over long distances with small computers that act as intelligent remote terminalunits (RTUs) with independent local process control capabilities.

Early models of microprocessor-based instruments were nearly exact replacements forcurrent single-loop controllers. Distributed control systems (DCSs) developed from a series of multiloop controllers connected by a data

highway. Later-generation DCSs manage hundreds more than the original limit of 64 loops.

Personal computers (PCs) may be compared toVCRs. Both have hardware, firmware, operatingsystems, software, and applications. Proammablelogic controllers, originally called PLCs but nowalso known as PCs, are used mostly in discretemanufacturing and should not be confused withpersonal computers, despite the confusion in ter-minology.

Expert systems are based on artificial intelligence(AI), a programming method that makes a computer appear to think or reason like a human.Computer programming uses conventional crisplogic and also fuzzy logic to evaluate a conditionby degrees. Today’s integrated control combinesall the various functions of a plant into a singlesystem.

SUMMARY

18 Lesson One

Contributions from the following sources are appreciated:

Figure 1-5 Reproduced by permission © 1980, Zilog, Inc. This material shall not be reproduced without the written consent of Zilog, Inc.

Figure 1-6 Barber-Colman Company Industrial Process Controls

This material is protected by U. S. Copyright law. Copying by any optical, electronic, or other means is illegal without permission.