Temperature Controllers

Similar documents
PID controllers. Laith Batarseh. PID controllers

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Index. Index. More information. in this web service Cambridge University Press

B1-1. Closed-loop control. Chapter 1. Fundamentals of closed-loop control technology. Festo Didactic Process Control System

Modelling the Temperature Changes of a Hot Plate and Water in a Proportional, Integral, Derivative Control System

Analysis and Design of Control Systems in the Time Domain

Introduction to Phase Locked Loop (PLL) DIGITAVID, Inc. Ahmed Abu-Hajar, Ph.D.

Feedback Control of Linear SISO systems. Process Dynamics and Control

Laboratory Exercise 1 DC servo

Video 5.1 Vijay Kumar and Ani Hsieh

ENGR 2405 Chapter 8. Second Order Circuits

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

Stepping Motors. Chapter 11 L E L F L D

Chapter 8. Feedback Controllers. Figure 8.1 Schematic diagram for a stirred-tank blending system.

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Alireza Mousavi Brunel University

Electric Circuit Theory

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Objective: To study P, PI, and PID temperature controller for an oven and compare their performance. Name of the apparatus Range Quantity

Controller Design using Root Locus

Performance of Feedback Control Systems

Final Exam Physics 7b Section 2 Fall 2004 R Packard. Section Number:

2.004 Dynamics and Control II Spring 2008

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

Lecture 50 Changing Closed Loop Dynamic Response with Feedback and Compensation

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Control Systems. University Questions

Coupled Electrical Oscillators Physics Advanced Physics Lab - Summer 2018 Don Heiman, Northeastern University, 5/24/2018

Chapter 4 Transients. Chapter 4 Transients

VALLIAMMAI ENGINEERING COLLEGE

Dynamic Behavior. Chapter 5

Physics 201: Experiment #1 Franck-Hertz Experiment

IC6501 CONTROL SYSTEMS

NonlinearControlofpHSystemforChangeOverTitrationCurve

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

CHAPTER 5 : REDUCTION OF MULTIPLE SUBSYSTEMS

Control 2. Proportional and Integral control

Iterative Controller Tuning Using Bode s Integrals

THE FRANCK-HERTZ EXPERIMENT

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

Stability of Feedback Control Systems: Absolute and Relative

Second Sound. University of California, Santa Cruz. September 12, 2006

This is the 15th lecture of this course in which we begin a new topic, Excess Carriers. This topic will be covered in two lectures.

Handout 10: Inductance. Self-Inductance and inductors

The output voltage is given by,

Controls Problems for Qualifying Exam - Spring 2014

THE EFFECT OF REVERSAL ON CAPACITOR LIFE

physics for you February 11 Page 68

Linear Control Design for a Plastic Extruder

Slide 1 / 26. Inductance by Bryan Pflueger

Laplace Transform Analysis of Signals and Systems

Unit 6 Current Electricity and Circuits

FEEDBACK CONTROL SYSTEMS

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

IVR: Introduction to Control (IV)

Chapter 26 Current and Resistance

Dr Ian R. Manchester

Feedback Control Systems

First and Second Order Circuits. Claudio Talarico, Gonzaga University Spring 2015

Suppression of the primary resonance vibrations of a forced nonlinear system using a dynamic vibration absorber

MODULE I. Transient Response:

EE 422G - Signals and Systems Laboratory

Besides resistors, capacitors are one of the most common electronic components that you will encounter. Sometimes capacitors are components that one

GENERAL PHYSICS (3) LABORATORY PHYS 203 LAB STUDENT MANUAL

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Lecture 25: Tue Nov 27, 2018

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

Process Control, 3P4 Assignment 6

CHAPTER 5 ROBUSTNESS ANALYSIS OF THE CONTROLLER

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

In addition to resistors that we have considered to date, there are two other basic electronic components that can be found everywhere: the capacitor

Damped Harmonic Oscillator

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

3 Electric current, resistance, energy and power

Subject: BT6008 Process Measurement and Control. The General Control System

Control of Electromechanical Systems

Control Systems. EC / EE / IN. For

Dynamics and PID control. Process dynamics

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

NONLINEAR CIRCUITS XXI. Prof. E. A. Guillemin Prof. H. J. Zimmermann T. E. Stern Prof. S. J. Mason J. Gross R. D. Thornton RESEARCH OBJECTIVES

Inductance. Slide 2 / 26. Slide 1 / 26. Slide 4 / 26. Slide 3 / 26. Slide 6 / 26. Slide 5 / 26. Mutual Inductance. Mutual Inductance.

Open Loop Tuning Rules

DC-motor PID control

Topic 4. The CMOS Inverter

Lecture 7:Time Response Pole-Zero Maps Influence of Poles and Zeros Higher Order Systems and Pole Dominance Criterion

PID Control. Objectives

Analogue Meter s Concept

Vibration Control Prof. Dr. S. P. Harsha Department of Mechanical & Industrial Engineering Indian Institute of Technology, Roorkee

Inverse Heat Flux Evaluation using Conjugate Gradient Methods from Infrared Imaging

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

Dynamics of Machines. Prof. Amitabha Ghosh. Department of Mechanical Engineering. Indian Institute of Technology, Kanpur. Module No.

Systematic Tuning of Nonlinear Power System Controllers

Acknowledgements. Control System. Tracking. CS122A: Embedded System Design 4/24/2007. A Simple Introduction to Embedded Control Systems (PID Control)

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus

Damped Oscillations *

Document Number: SPIRE-UCF-DOC Issue 1.0. November Matt Griffin

FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY

Additional Closed-Loop Frequency Response Material (Second edition, Chapter 14)

Transcription:

Introduction This handout examines the performance of several systems for controlling the temperature of an oven by adjusting the heater power a much harder task than it might first appear. The problem is useful to study in detail because its behaviour is easy to visualise and is typical of that encountered in almost every electronic system employing feedback. The final, so-called PID, design is an effective, and widely used, general-purpose controller. Problem Description Power Q is supplied to the oven by an electrical element, heat capacity C h, at temperature T h. This is linked through a thermal resistance R ho to the oven, heat capacity C o, which loses heat to the environment, temperature T e, through the thermal resistance R o of the enclosure. The controller monitors T o and adjusts Q with the goal of maintaining the oven temperature T o at a set-point T s. R ho Q T h T o CONTROLLER C h C o R o T e Figure 1. Thermal model of oven and controller. The illustrative figures in this document have been drawn using parameters for a domestic cooker, estimated as follows: The heating element dissipates Q max =i4ikw when full-on. Maintaining the oven at a steady T o i=i225i C requires Q =i1.3ikw so R o i=i0.15ikiw 1. It takes half an hour for the oven to cool from 225i C to 100i C with room temperature T e i=i25i C so C o R o i~i1800is and therefore C o i=i1.0ii10 4 ijik 1. The heating elements glow dull-red in operation suggesting that their temperature T h i~i750i C so use R ho i~i0.1ikiw 1 and they cool with a time constant of about a minute making C h i~i500ijik 1. The on-off contol thermostat typically has a 10i C hysteresis band. 1

OnOff Control ( ) ( ) the heater is switched off completely. The This is the simplest form of controller and is used in most domestic ovens when T o < T s /2 the heater is turned on at full power, when T o > T s /2 parameter introduces hysteresis into the system preventing noise from switching the heater rapidly and unnecessarily when T o ~ T s. As can be seen from figure 2, due to the heat capacity of the electrical element, the fluctuations in temperature are significantly wider than, the deliberately introduced hysteresis band. 190 Temperature ( C) 180 170 160 150 140 5 0 Power (kw) 0 500 1000 1500 Time (s) Figure 2. The oven (T o, solid) and set-point (T s, dashed) temperatures using an on-off controller with hysteresis band i=i10i C. Operating Equations The temperatures T o and T h are functions only of their initial values, Q and time. Inspection of figure 1, the equivalent thermal circuit, shows that they are governed by two coupled differential equations T Q h = ( T h T o ) and ( T o = T h T o ) C h C h R ho C o R ho Differentiating equation 2 and eliminating terms involving T h gives [ ] C h R o C o R ho [ ] T o C o R o C h R o C h R ho ( T e T o ). (1,2) C o R o T o T o = Q R o T e (3) which is simply the equation of motion of a forced damped harmonic oscillator. It is helpful to rewrite the constants in terms of n, the natural frequency of the system and, its damping ratio 2

T o 2 n T o 2 n T o = ( Q R o T e ) 2 n. (4) The system is critically damped if ii=i1, underdamped if ii<i1 and overdamped when ii>i1, n 2 = 1 and = n [ C h R ho C o R o 2 C o R o C h R o C h R ho]. (5,6) Proportional Control An obvious improvement to the onoff control strategy would be to reduce Q progressively as the oven temperature approaches the set-point. A proportional controller does this with the function Q = R o ( T s T o ) (7) subject to the limits 0 Q Q max (the heater cannot absorb heat). The dimensionless parameter i>i0 is the controller gain. With this controller the equation 4 becomes T o 2 p p T o 2 2 p T o = ( T s T e ) n (8) where p = ( 1 ) and 2 p = 2 n ( 1 ). (9,10) So, increasing speeds-up the system but reduces the damping ratio thereby causing overshoot, 180 Temperature ( C) 170 160 150 Increasing gain 140 0 500 1000 1500 Time (s) Figure 3. Proportional control. (The power is limited to Q max = 4kW during the early part of the transient.) 3

figure 3, and eventually instability. The equilibrium oven temperature with this type of controller is not equal to the set-point because the heater power must be zero when T o i=it s. To quantify the the error T set T o = 0 and T o = 0 in equation 8 to find T = ( T s T o )= T s T e 1. (11) Derivative Control The stability problems caused by using high values of gain for proportional control can be mitigated by adding a derivative term to the controller function, i.e. ( ) (12) Q = ( T s T o ) µ R o n R T T s o o where the dimensionless parameter µi>i0 is the controller damping. The system equation is now T µ /2 o 2 p T o 2 p T o = ( T s T e ) 2 n µ n T s (13) 1 and for any a value of µ can be found to satisfy ( µ /2)= 1 damping. ( ) 1/2, the condition for critical 178 Temperature ( C) 176 174 172 Increasing damping 170 168 0 100 200 300 400 500 Time (s) Figure 4. Proportional derivative control. The proportional gain is kept constant as the damping µ is increased. 4

Figure 4 shows how adding derivative control improves the performance of a proportional controller. At first sight it would seem that a system with a large, and µ adjusted for critical damping, would be a good controller, but in practice there is noise associated with measuring T o and this severely limits the maximum usable values of and µ in a practical system. Integral Control Fortunately it is possible to eliminate the steady-state error T while using relatively low gain; this is done by adding an integral term to the control function which becomes Q = ( T s T o ) µ ( R o n R T s T o ) n ( T s T o )dt o R o = P ( T s T o ) D ( T s T o ) I ( T s T o )dt (14) where the integral level I is often known as the controller reset level. This form of function is known as proportional-integral-differential, or PID, control. The effect of the integral term is to change the heater power until the time-averaged value of T is zero. The method works quite well but complicates the analysis slightly because the system is now third-order. 176 Temperature ( C) 174 172 170 5 0 Power (kw) 0 50 100 150 200 250 300 Time (s) Figure 5. PID control. Adding the integral term has eliminated the steady state error. The slight undershoot in the power suggests that there is scope for further tweaking. Unlike second-order systems, third-order systems are fairly uncommon in physics but the methods of control theory make the analysis quite straightforward. For instance, applying the so-called 5

Routh-Hurwitz stability criterion, which is a systematic way of classifying the complex roots of the auxiliary equation, it can be shown that when 1 > 2 µ, (15) parameter values can be found to give an acceptably damped response with T eventually tending to zero if the set-point is changed by a step or linear ramp. Whereas derivative control improved the system damping, integral control eliminates steady-state error at the expense of stability margin. In its raw form integral control can be a mixed blessing; if T o T s is large for a long period, for example after a large change in T s or at switch-on, the value of the integral can become excessively large and cause overshoot or undershoot that takes a long time to recover. A sophisticated controller would inhibit integral action until the system is fairly close to equilibrium. Frequency Response and Noise The dominant source of noise in most temperature controller systems is equivalent to a white source of spectral density n added to the thermometer signal at the input to the controller. The output of the controller, represented in the frequency domain, is Q ( )= P 1 Dj ji ( ). (16) ( ) s o n where o is the Fourier transform of the oven temperature, P, I and D are the controller gain parameters, j = 1, and since the Fourier transform of equation 4 o 2 2 ( 2 j n n )= Q 2 ( ( )R o T e ( ) ) n (17) where () is the Dirac delta-function, the behaviour of the the system is given by o = 2 [ R o P( 1 jd ji ) ( s n ) T e ( )] n 2 n ( 1 R o P) 2 j n ( 2 n R o PD) j 2 n R o PI [ ]. (18) This has the expected behaviour (see problems A) and shows that as the proportional gain, and hence speed of response, is increased so the noise-induced fluctuations in the oven temperature increase. This means that a compromise between response time and temperature stability has to be made when setting-up such a system. Practical Systems Some features of real systems are worth mentioning. Any system using a resistive electrical heater to control temperature is inherently non-linear because an electrical heater can only generate, not 6

absorb, heat. When T o i>it s cooling occurs at a rate that depends on the oven and its temperature not the controller and dual PID controllers allow different heating and cooling parameter values to cope with this. It is possible to build a simple PID controller from a few operational-amplifiers, figure 6. Although the control output should be connected to a linear voltage-to-power converter, the design will work reasonably over a narrow range of temperatures if the output is simply amplified and connected directly to the heater. Commercial PID process controllers vary in cost between 75 for a simple model and 600 for an intelligent autotuning dual PID model. R1 I R2 C1 R4 Vin (Ts-To) P R2 R2 R4 R4 R4 Vout R1 D C2 R3 R2 Figure 6. Circuit for home-brew PID control. Don t assume, without checking, that the knobs on a PID controller correspond to the parameters P, I and D defined in this document. Values are often specified by time constants in which case a long integral time constant is equivalent to a low value of I but a long derivative time constant means a large value of D. The proportional gain is sometimes set by choosing a proportional band which is the fractional change in temperature that gives maxumum change in heater power so a small number for this corresponds to a large value of P. A practical procedure to set up an uncalibrated PID controller, based on the analysis in the previous section, is as follows: (1) Set a typical set-point value T s, turn off the derivative and integral actions and increase P to maximum, or until the system just oscillates; (2) If the system is not oscillating jump to step 4 otherwise reduce P by a factor of about two; (3) Observe the effect of increasing D on oscillations caused by suddenly decreasing or increasing T s by about 5% choose a value for D that gives a critically damped response; (4) Slowly increase the integral setting I until oscillation just starts, then reduce this value of I by a factor of two or three this should be enough to stop the oscillation. This method is obviously only suitable in cases when the oscillations are not going to be harmful. 7

Control Theory Avoid re-inventing the wheel when tackling difficult feedback or control problems control theory is a well developed branch of engineering and has a range of powerful techniques to design and analyse systems involving feedback. As well as having systematic methods for solving complicated problems it introduces the important ideas of controlability ( Is it possible to control X by adjusting Y? ) and robustness ( Will control be regained satisfactorily after an unexpected disturbance? ). Problems A. Show that the DC (i.e. i=i0) behaviour of equation 18 really is as would be expected by examining the cases when (i) Pi=i0, (ii) Pii0, Iii0, (iii) Pii0, Ii=i0. B C Rewrite equation 15 in terms of P, I and D and hence explain how the constraint affects the terms in equation 18. Design a system to control the temperature of a copper disc, thickness 10imm radius 20imm. The heater should have a maximum power of 10iW, and control in the range 3080i C is required. There is an interactive version of this document at: <http://newton.ex.ac.uk/teaching/cdhw/feedback/index.html> which includes a simulation that allows the reader to experiment with the performance of the various types of controller. 8 Copyright CDH Williams University of Exeter 2007 CW070901/1