CHAPTER 11: DIGITAL CONTROL

Similar documents
Procidia Control Solutions Dead Time Compensation

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

A M E M B E R O F T H E K E N D A L L G R O U P

Class 5. Competency Exam Round 1. The Process Designer s Process. Process Control Preliminaries. On/Off Control The Simplest Controller

Think About Control Fundamentals Training. Terminology Control. Eko Harsono Control Fundamental

F. Greg Shinskey. "PID Control." Copyright 2000 CRC Press LLC. <

Experiment 9. PID Controller

Enhance operational efficiency with Advanced Process Control (APC) Integration of APC in SIMATIC PCS 7 SIMATIC PCS 7. Answers for industry.

Think About Control Fundamentals Training. Terminology Control. Eko Harsono Control Fundamental - Con't

The MFT B-Series Flow Controller.

Feedback Systems in HVAC ASHRAE Distinguished Lecture Series Jim Coogan Siemens Building Technologies

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Fundamentals of Instrumentation & Process Control

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

Application Note. Renu Electronics Private Limited. PID Instruction In IEC. Page 1

CHBE320 LECTURE XI CONTROLLER DESIGN AND PID CONTOLLER TUNING. Professor Dae Ryook Yang

SET POINT TRACKING CAPABILITY ANALYSIS FOR AN INDUSTRIAL IPDT PROCESS MODEL

Logic Developer Process Edition Function Blocks

QuickBuilder PID Reference

PROCESS DYNAMICS AND CONTROL

Chapter 10 Digital PID

Controller Algorithms and Tuning

International Journal of Research in Advent Technology Available Online at:

Loop Design. Chapter Introduction

Industrial Instrumentation

VI. SET-UP PARAMETER. Input filter

The PID controller. Summary. Introduction to Control Systems

2.1 PID controller enhancements

Paul Schafbuch. Senior Research Engineer Fisher Controls International, Inc.

Automatic Controller Dynamic Specification (Summary of Version 1.0, 11/93)

Process Control Laboratory Using Honeywell PlantScape

TC LV-Series Temperature Controllers V1.01

Process controls in food processing

TEMPERATURE PROCESS CONTROL MANUAL. Penn State Chemical Engineering

Chapter 7 Introduction to Instrumentation

PID Tuning Guide. For the Allen-Bradley Family of PLCs. A Best-Practices Approach to Understanding and Tuning PID Controllers

BASIC PROCESS INSTRUMENTATION & CONTROL

PROCESS DYNAMICS AND CONTROL

Labview Based Gain scheduled PID Controller for a Non Linear Level Process Station

Getting the Best Performance from Challenging Control Loops

Research Article 12 Control of the Fractionator Top Pressure for a Delayed Coking Unit in Khartoum Refinery

Control Architectures: Feed Forward, Feedback, Ratio, and Cascade By Peter Woolf University of Michigan

Instrumentation and Control Systems

PID-CONTROL FUNCTION AND APPLICATION

Find, read or write documentation which describes work of the control loop: Process Control Philosophy. Where the next information can be found:

Today s meeting. Themes 2/7/2016. Instrumentation Technology INST 1010 Introduction to Process Control

2. Basic Control Concepts

Design of Model Based PID Controller Tuning for Pressure Process

Fundamentals of Industrial Control

Neural Network Predictive Controller for Pressure Control

Performance Analysis Of Various Anti-Reset Windup Algorithms For A Flow Process Station

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

NZQA unit standard version 2 Page 1 of 5. Demonstrate and apply intermediate knowledge of instrumentation and control system engineering

Various Controller Design and Tuning Methods for a First Order Plus Dead Time Process

LESSON 2: ELECTRONIC CONTROL

Tuning interacting PID loops. The end of an era for the trial and error approach

Relay Based Auto Tuner for Calibration of SCR Pump Controller Parameters in Diesel after Treatment Systems

Automationdirect.com. D i r e c t L o g i c L o o p P I D C o p r o c e s s o r F P I D

Level control drain valve tuning. Walter Bischoff PE Brunswick Nuclear Plant

A Rule Based Design Methodology for the Control of Non Self-Regulating Processes

ChE 4162 Control Laboratory Methodologies Fall Control Laboratory Methodologies

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

PID control. since Similarly, modern industrial

ENGG4420 END OF CHAPTER 1 QUESTIONS AND PROBLEMS

A Discrete Time Model of Boiler Drum and Heat Exchanger QAD Model BDT 921

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

Hydraulic Actuator Control Using an Multi-Purpose Electronic Interface Card

SMJE 3153 Control System. Department of ESE, MJIIT, UTM 2014/2015

STAND ALONE CONTROLLER FOR LINEAR INTERACTING SYSTEM

The Open Automation and Control Systems Journal, 2015, 7, Application of Fuzzy PID Control in the Level Process Control

MM7 Practical Issues Using PID Controllers

Nor-Par a.s. The Nor-Par Online s Training Simulator & Optimisation Suite. Beyond the traditional concepts. The software. Two main approaches

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

VARIABLE STRUCTURE CONTROL DESIGN OF PROCESS PLANT BASED ON SLIDING MODE APPROACH

Auto-tuning of PID Controller for the Cases Given by Forbes Marshall

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Application sheet for Green 300 series controllers. Title. Purpose. Application Controller Loop Configuration: Wiring: Explanation :

Process Control Drawings

AVR221: Discrete PID Controller on tinyavr and megaavr devices. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

ISA Seminars on the Web Live Experts on Hot Topics

InstrumentationTools.com

HIL Simulation Lab Work

Comparative Study of PID Controller tuning methods using ASPEN HYSYS

Feedforward and Ratio Control

Instrumentation and Process Control. Process Control. Pressure, Flow, and Level. Courseware Sample F0

EFFICIENT CONTROL OF LEVEL IN INTERACTING CONICAL TANKS USING REAL TIME CONCEPTS

STABILITY IMPROVEMENT OF POWER SYSTEM BY USING PSS WITH PID AVR CONTROLLER IN THE HIGH DAM POWER STATION ASWAN EGYPT

Fuzzy Adapting PID Based Boiler Drum Water Level Controller

DESIGN OF PID CONTROLLERS INTEGRATOR SYSTEM WITH TIME DELAY AND DOUBLE INTEGRATING PROCESSES

Educational Courses 2016

PROCESS CONTROL DIAGNOSTICS. F. Greg Shinskey Process Control Consultant North Sandwich, NH 03259

TelePACE PID Controllers

Chapter 5. Tracking system with MEMS mirror

A NOVEL METHOD OF RATIO CONTROL WITHOUT USING FLOWMETERS

ONLINE OSCILLATION DETECTION AND ADAPTIVE CONTROL IN CHEMICAL PLANTS

Implementation of Conventional and Neural Controllers Using Position and Velocity Feedback

Online Tuning of Two Conical Tank Interacting Level Process

Understanding PID Control

Control Theory. This course will examine the control functions found in HVAC systems and explain the different applications where they are applied.

Model Predictive Controller Design for Performance Study of a Coupled Tank Process

Transcription:

When I complete this chapter, I want to be able to do the following. Identify examples of analog and digital computation and signal transmission. Program a digital PID calculation Select a proper execution rate for a feedback controller. Tune a digital PID

Outline of the lesson. Brief history of control equipment Sampling the measurement Digital PID calculation Effect of digital execution period on tuning and performance

A BRIEF HISTORY OF PROCESS COTROL A little history helps us to understand the common approaches to process control. The realities of available equipment have shaped the theory and practice of process control. While digital technology has revolutionized what is possible today, equipment has a life of many decades. Therefore, we see older approaches in most plants, and will for a long time. Let s start from about the 19th century to today. What happened in the 19th century that got things going?

Making the steam engine work all the time governor http://oldenginehouse.users.btopenworld.com/watt.htm Inventors wanted to control the pressure of the boiler and the speed of the device driven by the steam (using a governor). People experienced - Explosions! - Unstable behavior And control engineering was born!

Manual operation Mechanical Pneumatic Electronic Manual Operation People know more than machines, so leave decisions to them. Temperature indicator Should I adjust the valve or should I run? Digital calculations Digital calc. & communication Emergency cooling

Manual operation Mechanical Pneumatic Electronic Mechanical Device The value of the variable is represented by position of equipment. How do I change the set point? Location of the fulcrum determines the gate/ level Digital calculations Digital calc. & communication Raising and lowering the gate affects the flowin Float measures the liquid level

Manual operation Mechanical Pneumatic Electronic Digital calculations Pneumatic Device The value of the variable is proportional to air pressure (50-150 C = 3-15 psi). v1 TC v2 How do I perform the PID calculation? Digital calc. & communication The signal is 3-15 psi air pressure in a pipe. Air pressure moves flexible diaphragm

Manual operation Mechanical Pneumatic Electronic Digital calculations Digital calc. & communication MV ( t) Pneumatic & Electronic Devices Principle of analog computation! t 1 d E( t) = Kc E( t) + E( t') dt' + Td + TI dt 0 Build a physical system that (approximately) obeys the same model. Pneumatic - force balance (ewton s laws) Electronic - current balance (Kirkoff s laws) I wonder what these look like. I

Analog computation! t 1 d E( t) MV ( t) = Kc E( t) + E t dt + Td + I T ( ') ' I dt 0 Pneumatic Electronic From Harriott, P., Process Control, McGraw-Hill, ew York, 1964

Manual operation Mechanical Pneumatic Electronic Digital calculations Electronic Device The variable is proportional to current or voltage (50-150 C = 4-20 ma). v1 TC v2 I ll use analog computation again. Digital calc. & communication The signal is 4-20 ma transmitted by wire. Current converted to air pressure to affect valve

Manual operation Mechanical Pneumatic Electronic Digital calculations Digital Calculation Digital calculations with electronic transmission. TC v1 Digital PID v2 We ll soon see how to calculate PID digitally. Digital calc. & communication The signal is 4-20 ma transmitted by wire. Current converted to air pressure to affect valve

Manual operation Mechanical Pneumatic Electronic Digital calculations Digital PID TC Digital Calculation & Communication Digital calculations with transmission by local area network. Sensor and valve can have microprocessors too! v1 v2 We soon see how to calculate PID digitally. Digital calc. & communication The signal transmitted digitally. converted to air pressure to affect valve

Digital control employs a distributed computing network Why?

Digital control employs a distributed computing network Feature Calculations performed in parallel by numerous processors Limited number of controller calculations performed by a single processor Control calculations and interfacing to process independent of other connected to the LA Small amount of equipment required for the minimum system Each type of processor can have different hardware and software Effect on process control Control calculations are performed faster than if by one processor Control system is more reliable since a processor failure affects only few control loops Control is more reliable since failure of other does not immediately affect a control processor Only the equipment required must be purchased, and the system is easily expanded at low cost Hardware and software can be tailored to specific applications like control, monitoring, operator console, and general data processing

Let s remember that control is performed many places; locally and remotely by people and equipment. Central control room Sensors, local indicators, and valves in the process. Some actions and automation done here. Displays of variables, calculations, and commands to valves are in the centralized control center.

A rough indication of the use of various for control calculations for new industrial process control systems.

Manual operation Mechanical Pneumatic Electronic The techniques presented will be applicable for digital sampling and calculation. Transmission can be electronic or digital. Periodically, the measurement is sampled and a calculation is performed. v1 Digital calculations Digital calc. & communication TC Digital PID v2

ot much information lost What happened here?

Aliasing: Sampling much slower than the measurement changes causes significant loss of information. Engineer should design for sampling fast enough. What happened here? ALIASIG

We hold the last sampled value between control executions. 1.5 0.9 Signal after the zero-order hold, samples every 2.5 time units 0.3-0.3-0.9-1.5 Continuous signal Does the sample/ hold change the dynamics? 0 5 10 15 20 25 30 Time

The red line is the continuous approximation of the signal after the sample & hold. This shows that the effect is to introduce a dead time of about t/2. 1.5 Continuous signal 0.9 Continuous signal that is approximately the output of the hold. θ t/2 due to sampling 0.3-0.3-0.9-1.5 0 5 10 15 20 25 30 Time

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV Proportional: Integral: Hint: How would you estimate each mode using numerical methods? Derivative:

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV Proportional: Integral: E = ( MV SP ) CV proportional = K C E Calculated every time the controller is executed. Derivative:

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV Proportional: Integral: Derivative: E = SP ( MV ) integral CV = K C ( t) T i= 1 Calculated every time the controller is executed. t = constant How many elements in sum? I E i

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV Proportional: Integral: E = SUM SP CV = SUM 1 KC ( t) ( MV ) integral = ( SUM T + I E ) Derivative: Efficient calculation in realtime!

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV Proportional: Integral: CV CV = KCT ( ) d t 1 ( MV ) derivative Calculated every time the controller is executed. Derivative:

MV ( t) CHAPTER 11: DIGITAL COTROL t 1 d CV ( t) = Kc E( t) + E( t') dt' Td + TI dt 0 I We have a sample of values; CV 1, CV 2,., CV I is sometimes called the bias. I = MV 1 K c E 1 T d ( CV1 CV0 ) t Calculated only when the controller is turned on, =1. Thereafter, I is constant Bumpless transfer:o change to the MV when controller is first executed

I dt t CV d T dt t E T t E K t MV t d I c + + = 0 ) ( ' ') ( 1 ) ( ) ( CHAPTER 11: DIGITAL COTROL Put all modes together. I CV CV t T E T t E K MV i d i I c + + = = 1 1 ) ( Digital PID, positional form calculates the output to the final element

I CV CV t T E T t E K MV i d i I c + + = = 1 1 ) ( Digital PID, Velocity form - Alternatively, we can calculate the change in the signal at every execution. d I c MV MV MV CV CV CV t T E T t E E K MV + = + + = 1 2 1 1 2 ) ( ) (

What is the effect of digital execution of the PID controller on tuning and performance? F S solvent F A pure A Hint: things don t get better by slowing the loop. Continuous tuning Kc = 30 AC SP TI = 11 Td = 0.80 t Td MV = Kc E + Ei ( CV CV 1) + TI i= 1 t I

Controlled Variable 1.5 1 0.5 S-LOOP plots deviation variables (IAE = 12.2909) 0 0 50 100 150 200 250 Time 40 Continuous PID Controlled Variable 1.5 1 0.5 S-LOOP plots deviation variables (IAE = 20.0491) 0 0 50 100 150 200 250 Time 60 Digital PID, t=5 Manipulated Variable 30 20 10 Manipulated Variable 40 20 0 0 50 100 150 200 250 Time 0 0 50 100 150 200 250 Time 2 S-LOOP plots deviation variables (IAE = 37.1005) 2 S-LOOP plots deviation variables (IAE = 45.5197) Controlled Variable Manipulated Variable 1.5 1 0.5 Digital PID, t=10 0 0 50 100 150 200 250 Time COCLUSIO: We should retune Controlled Variable 1.5 1 0.5 0 0 50 100 150 200 250 Time 60 80 60 40 40 the controller when the execution 20 20 0 is slow compared with the -20 0 0 50 100 150 200 250 0 50 100 150 200 250 Time Time feedback dynamics! Manipulated Variable Digital PID, t=15

Controlled Variable Manipulated Variable 1.5 1 0.5 S-LOOP plots deviation variables (IAE = 12.2909) 0 0 50 100 150 200 250 Time 40 30 20 10 Continuous PID 0 0 50 100 150 200 250 Time Controlled Variable Manipulated Variable 1.5 1 0.5 S-LOOP plots deviation variables (IAE = 20.0491) 0 0 50 100 150 200 250 Time 60 40 20 Digital PID, t=5 t = 0.33(θ+τ) >> 0.05 (θ+τ) 0 0 50 100 150 200 250 Time Guideline for selecting the execution time: To prevent degradation of control loop performance, select a controller execution time of t 0.05(θ+τ). ote: Typical sample period for chemical process control is 1/3-1/2 second. Much faster is possible, if needed.

Modified PID tuning for digital controllers - this is a guideline that usually works adequately. We learned that sampling introduces an additional dead time of about t/2. 1.5 Continuous signal 0.9 0.3-0.3-0.9-1.5 Continuous signal that is approximately the output of the hold. θ t/2 due to sampling 0 5 10 15 20 25 30 Time 1. Obtain model, usually using empirical method 2. Determine the sample period, t 0.05(θ+τ), if possible 3. Recalculate the dead time as θ = θ + t/2 4. Calculate tuning using continuous method 5. Implement and fine tune as needed

Let s apply this guideline for the three-tank mixer with a long sample time = 15 minutes. F S solvent F A pure A AC Process reaction curve Kp = 0.039 %A/%open θ = 5.5 +?? =?? min τ = 10.5 min Tuning from chart Kc =?? TI =?? Td =??

The performance is about as good as possible with this very long sampling time! Would you fine tune further? Tuning from chart Kc = 20 Controlled Variable 1.5 1 0.5 S-LOOP plots deviation variables (IAE = 20.0383) TI = 14 Td = 2.35 IAE increased from 12.2 to 20+ Manipulated Variable 0 0 50 100 150 200 250 Time 50 40 30 20 10 0 0 50 100 150 200 250 Time

If the PID is no better in digital form, why did we spend decades of engineering time and billions of dollars converting the world s control to digital?

Why did we convert the world s control to digital - Complex controllers F R F V Distillate Light key Bottoms Light Key 0.995 0.99 0.985 0.98 0 50 100 150 200 0.04 0.035 0.03 0.025 Good performance! Time Almost no disturbance! 0.02 0 50 100 150 200 Time Improved performance can be achieved with algorithms that optimize the path to the set point, every controller execution! (See Chapters 19 and 23)

Why did we convert the world s control to digital - Process monitoring We have a digital history of measurements for Recall at any time for trouble shooting Calculation of process performance indicators, heat transfer coefficients, reactor yields, energy/kg of product, and so forth Excellent graphical displays with data in context of process schematic (See Chapter 26)

Why did we convert the world s control to digital - Process optimization Best reactor conversions? Best suction pressure? Best product/ recycle purities? Best feed rates, each feed type (See Chapter 26)

Why did we convert the world s control to digital -Diagnostics We have digital monitors at sensor, controller and valve! Compare signal to valve with actual valve position - report significant errors Diagnose problems with sensor (voltage, etc.) Do not take feedback control action on questionable loop - alarm operator And many other reasons that digital is a winner.

, WORKSHOP 1 1. Select all of the appropriate answers. Mechanical implementation of feedback control employs a. Digital computation b. Analog computation c. either a nor b d. Both a and b 2. A digital PID controller is operating in automatic, i.e., it is calculating the signal to the final element. You are fine tuning the loop. You change the controller gain by -30% of its original value. Describe what happens.

, WORKSHOP 2 You are tuning the temperature controller shown in the figure. You have determined the dynamic model below. Determine the PID tuning for this loop for execution periods below and simulate the results using S_LOOP. v1 TC t = 0.10 v2 t = 1.0 t = 5.0 G P ( s) = T( s) v ( s) 2 = 0. 20 s. 53e 10 s + 1 (All times are in minutes.)

, WORKSHOP 3 Develop a table with advantages and disadvantages for the six control equipment categories for many important issues. reliability speed Many more!! Manual operation Mechanical Pneumatic Electronic Digital calculations Digital calcs. & communication

When I complete this chapter, I want to be able to do the following. Identify examples of analog and digital computation and signal transmission. Program a digital PID calculation Select a proper execution rate for a feedback controller. Tune a digital PID Lot s of improvement, but we need some more study! Read the textbook Review the notes, especially learning goals and workshop Try out the self-study suggestions aturally, we ll have an assignment!

CHAPTER 11: LEARIG RESOURCES SITE PC-EDUCATIO WEB - Instrumentation otes - Interactive Learning Module (Chapter 11) - Tutorials (Chapter 11) Software Laboratory, S_LOOP - You can simulate a PID loop with continuous of digital control to determine the effect of execution period.

CHAPTER 11: SUGGESTIOS FOR SELF-STUDY 1. Find some process reaction curve plots in Chapters 3-5. Determine the maximum PID execution period. Then, for a controller execution period ten times the minimum, determine the tuning for PID and PI controllers using the tuning charts. 2. Using S_LOOP, simulate the system(s) in question 1. 3. Develop a flowchart for an excellent computer program to calculate the PID control. This should be a subroutine that can be called for every controller in the plant.

CHAPTER 11: SUGGESTIOS FOR SELF-STUDY 4. Take an inventory of your house and identify analog and digital control systems. 5. Develop a simulation that accepts a continuous signal and determines the output of a zero-order hold and first-order hold.