TEMPERATURE CONTROL OF LIQUID TANK



Description of the simulated system

A temperature control system for a water tank with continuous inflow and outflow is simulated. The water is heated by a heating element which controlled by the controller. The temperature is measured by a temperature sensor which in practice may be a Pt100 element or a thermocouple.

The process model on which the simulator is based is a 1. order model based on energy balance under the assumption of homogenous conditions in the liquid in the tank. The processs model also contains a time delay which represents the time delay which in practice exists between an exitation of the heating element and the response in the temperature sensor. In addition the simulator contains a 1. order transfer function representing a time constant in the heating element.

Here is the process model (however, knowledge about this model is not necessary to do the tasks below). The parameter values are shown on the front panel of the simulator.


Aims

  • To get an understanding of how an automatic control system based on feedback works and which benefits feedback control has compared to control using a constant control signal.
  • To get an understanding of the features of the PID controller and the on/off controller.
  • To get skills in tuning a PID controller
  • To get insight into the importance of different system parameters on the dynamic properties of the control system.

In other words: You will get knowledge about the basics of control!


Motivation

Control systems are essential in industrial processes since it is important and useful to control process variables so that they are kept on or close to specifies values (setpoints). The PID controller is the most frequently used control function in industrial systems.

In the industry temperature control is used on e.g. reactors and heat exchangers.


Tasks

The nominal operating point of the process is defined as follows:

  • The tank temperature T is 50 degrees C.
  • The inlet temperature Tin is 20 degrees C.

The default process parameter values are as shown on the this snapshot of the front panel of the simulator.

Unless otherwise stated it is assumed that the tasks below are executed while the simulator runs.

  1. First: Control using constant control signal. Set the controller in manual mode. Find the nominal control signal u0 "experimentally". Then change the distrubance Tin from 20 to 15 degrees C. What is the value of the resulting steady-state control error?

     

  2. Feedback control by you ! Reset the settings of the simulator to its default values (menu: Operate / Reinitialize All to Default), but the controller shall be in manual mode. Change the disturbance Tin from 20 to 15 degrees C, and control the process via the nominal control signal u0. Are you able to obtain zero steady-state control error?

     

  3. Automatic control using an on/off controller: Use an on/off controller with amplitude A = 10%. Adjust u0 to the value found in task 1. Reset the settings of the simulator to its default values (menu: Operate / Reinitialize All to Default). The controller must be set in automatic mode. Us the on/off controller.
    1. Characterize the behaviour of the control system using the on/off controller.
    2. Change the disturbance Tin from 20 to 15 degrees C. Characterize the behaviour of the control system. How can you make the temperature to oscillate symmetrically about the setpoint (still using the on/off controller)?

     

  4. Automatic control using a PID controller: Tuning the controller: In the tasks above you may have seen that there are certain drawbacks by using a constant control signal and also by using automatic control wuth on/off controller. May be automatic control with a PID controller gives better control?
    1. Tune the PID controller using the Åstrøm-Hägglund on/off (or relay) tuning method.
    2. Tune the controller using the Ziegler-Nichols' closed loop method. Do you get almost the same parameters as in task 4a?

    In the subsequent tasks you shall use a PID controller with settings as found in Task 4a or 4b. Alternatively, you can use the following parameter values:

    Kp = 6.7, Ti = 250s, Td = 63s

     

  5. Disturbance compensation:  Reset the settings of the simulator to its default values (menu: Operate / Reinitialize All to Default). Change the disturbance Tin from 20 to 15 degrees C. What is the steady-state control error?

  6. Setpoint tracking: Change the setpoint as a step, say from 50 to 55 degrees C. What is the steady-state control error?

  7. The stability of the control system at parameter variations: Reset the settings of the simulator to its default values (menu: Operate / Reinitialize All to Default). Check what happens with the stability of the control system at the below parameter changes. In each of the subtasks/experiments you  can excite the control system using a small step in the setpoint. The experiments shall be performed independent of each other, that is, the parameters should be reset to the default values once the experiment is completed.
    1. Controller gain Kp is increased (much).
    2. Integral time Ti is reduced (much).
    3. Derivative time  Td is increased (much).
    4. Power gain Ke is increased (much).
    5. Mass flow w is decreased (much).
    6. Measurement gain Km,TT is increased (much). (This gain is the ration between the temperature measurement in % and the temperature in degreees C. The gain is changed by changing the measurement range. If you change the measurement range, you must also change the setpoint range accordingly, otherwise there will be a steady-state control error.)

[KYBSIM] [TechTeach]


Updated August 16, 2004. Developed by Finn Haugen. E-mail: finn@techteach.no.