Subsections

8.2 Simulink: Temperature control of a superheater  

As a thermal example, you will design a controller for a superheater in a thermo-electrical power plant. Start RaPID in Simulink mode and load the demo project ``Superheater in a thermo-electrical power plant'' through the file menu File $\rightarrow \;$Demo Projects. When you load the demo project, not only the project is loaded, but also a good input excitation signal. Figure 8.13 shows the main ``Data Acquisition'' window after the project was loaded.


  
Figure 8.13: The ``Data Acquisition'' window after you loaded the demo project ``Superheater in a thermo-electrical power plant'' and conducted the open loop experiment.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


Process Description

The superheater is a part of a thermo-electrical power plant. It is located right before a high pressure steam turbine. Overheated steam (300 ton/hour) enters the superheater at 120 bar and minimum 450 degrees Celsius. In the superheater the temperature is raised to 484.7 degrees. The superheater is modeled as a counterflow tube-in-tube heat exchanger, where heat is exchanged between exhaust gases (mainly CO2) and the overheated steam. It is very important to have a constant temperature of 484.7 degrees at the outlet of the superheater because:

Therefore, the temperature has to be controlled. This is done through the injection of water right before the steam enters the superheater. The amount of injected water (at 20 degrees) is controlled by a valve, the position of which (between 0 and 100 %) is denoted with IVP (``Implied Valve Position'').

In steady state an IVP value of 40 % corresponds to a 484.7 degrees Celsius outlet. The signals are sampled with a sampling time of 0.5 minutes (2 samples per minute). Typical disturbances that have to be controlled can be translated into load disturbances of approximately 10 % at the input.

Have a look at the process by opening the Simulink model with the menu Simulink $\rightarrow \;$Model, or by editing the project with the menu Edit $\rightarrow \;$Project. Inspect the parameter file with the menu Simulink $\rightarrow \;$ Parameter File and the text file with Simulink $\rightarrow \;$Text File.

Data acquisition

The data acquisition is simply started by hitting the ``Start'' button in the acquisition window. The step input from 40 to 60 % is applied to the valve. More cold water is injected and the temperature thus drops from 484.7 to approximately 479 degrees. This implies a negative DC gain of 0.3 degrees/percent.

From the step response, you find a reasonably large time delay. A crude inspection indicates 6 to 12 minutes. Zooming in on the temperature at the tail, reveals a noise level amplitude on the output temperature of approximately $\pm$ 0.6 degrees. You will use this information during the control design.

Identification

Hit the identification button to switch to the ``Identification'' window. In the ``PreProcessing'' window (Figure 8.14) choose the whole data record. Choose a process output working point of 484.7 degrees and a process input working point of 40 %. There is no integrator present and there is no need to filter the data. Figure 8.14 shows the resulting ``PreProcessing'' window.


  
Figure 8.14: Resulting ``PreProcessing'' window.
\begin{figure}
\centering
\includegraphics [width=12.7cm]{line1.ps}
\end{figure}



  
Figure 8.15: Resulting ``Identification'' window.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


Hit the ``OK'' button in the ``PreProcessing'' window. The model is automatically computed and the signals displayed. Figure 8.15 shows the resulting ``Identification'' window. The resulting default model is reasonably good (14.4 % error). The ``Negative DC gain'' warning in the message area (bottom right of Figure 8.15) was to be expected (you found a negative gain during the open loop data acquisition).

You will now improve on the identified model. First, you should increase the range of possible delays (the maximal delay that can be chosen in Figure 8.15 is only 7 minutes, while you expect a delay of up to 12 minutes). Open the ``Identification Settings'' window with the menu entry Identification $\rightarrow \;$Settings and change the ``Maximal Delay'' to 12 minutes. Hit ``OK''.


  
Figure 8.16: The ``Identification Parameter Sweep'' window. The best structure is 9/2/0.
\begin{figure}
\centering
\includegraphics [width=7.8cm]{line1.ps}
\end{figure}


Now you can find a good model by applying a parameter sweep. Open the ``Identification Parameter Sweep'' window by hitting the ``Identification'' box in the configuration window or from the menu Identification $\rightarrow \;$Parameter Sweep. You know the delay to be between 6 and 12 minutes. The number of poles could be 1 or 2 and the number of zeros could be between 0 and 2. Figure 8.16 shows the resulting parameter sweep. Looking for a good model with a low complexity, you end up at the 9/2/0 model (it is the first model from the right with no zeros). Click the model bar and ``Export'' the model. The resulting model error is 13.7 % and the predicted temperature is close to the measured temperature.

Inspection of the ``Model Numerics'' (Figure 8.17) shows a DC gain of -0.29
degrees/percent and a double time constant at 9 minutes. The ``Model Properties'' window reveals a rise time of 44 minutes and settling time of 61 minutes.


  
Figure 8.17: The ``Identified Model Numerics'' window for the superheater.
\begin{figure}
\centering
\includegraphics [width=11.6cm]{line1.ps}
\end{figure}


Control Design

You are now ready to start the Control Design for the superheater. Hit the ``Controller'' button in the task bar to switch to the ``Control Design'' window. The ``Control Design Parameter'' window pops up. As introduced before, the controller should reject load disturbances of about 10 % as good as possible. You should thus select ``Variance and Tracking'' as ``Controller Type'' and ``Load'' as ``Origin''. Hit the ``OK'' button in the ``Control Design Parameters'' window.

The ``Design Load Definition'' window, which is the next window popping up, allows you to define the load signal shape. A step load of ``Amplitude'' 10 % should be entered. Hitting the ``OK'' button starts the computation of the controller. The resulting ``Controller Design'' window is shown in Figure 8.18.


  
Figure 8.18: Resulting ``Control Design'' window after the initial control design.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


The top plot of Figure 8.18 shows the constant reference signal at 484.7 degrees and the output due to a load disturbance. The bottom signal shows the ``implied valve position'' and the load disturbance. The controller has a robustness of 65 %, which is translated into a gain margin of 9.4 dB and a phase margin of 61 degrees (View $\rightarrow \;$Loop Numerics). The ``HF Gain'' is 4 percent/degree, which implies that the noise of amplitude 0.6 degrees will be amplified with a factor 4 to and amplitude of 2.5 percent on the valve. This is acceptable for this application.

Say, you have to implement the controller on a DCS system Honeywell TDC 3000. To load the specified template, hit the ``Controller'' box in the configuration window (or use the menu Controller $\rightarrow \;$Structure). Then, hit the template button at the lower left corner. The ``Controller Template'' window of Figure 8.19 pops up. Select ``Distributed Control Systems'' from the pop up menu, and then select Honeywell TDC 3000 from the list. In the ``Parameter'' list you should also change the ``Control Action'' from ``Reverse'' to ``Direct'' since the process at hand has a negative gain. Do not store this template as the default one.


  
Figure 8.19: The ``Controller Template'' window with the Honeywell TDC 3000 selected.
\begin{figure}
\centering
\includegraphics [width=11cm]{line1.ps}
\end{figure}



  
Figure 8.20: The ``Edit Designed Controller'' window showing the parameters to be entered in the DCS system Honeywell TDC 3000.
\begin{figure}
\centering
\includegraphics [width=11.6cm]{line1.ps}
\end{figure}


Hit the ``OK'' buttons in the ``Controller Template'' window and in the ``Controller Structure'' window. The controller is automatically recomputed within the structure of the TDC 3000. Note that there is hardly any difference between the original and new controller. Selecting the menu entry Edit $\rightarrow \;$Controller pops up Figure 8.20. which contains all information in a form accepted by the TDC 3000. Note that the derivative time Td is very small, and the controller thus almost corresponds to a PI controller.

As a final step, save this designed controller as a benchmark controller using Edit $\rightarrow \;$Designed $\rightarrow \;$Benchmark Controller.

Controller validation

Now you are ready to test the controller in practice. Hit the ``Closed Loop'' button in the task bar, resulting in the ``Closed Loop Data Acquisition'' window. The reference is drawn as a blue line, while the simulation is yellow dotted. For this example, the reference is constant and the simulation too. Unfortunately, it is not possible to include the step load in the simulation (You could alter the Simulink model to include the load step.) so we will just look at the behavior of the controller under noise.

Hit the ``Start'' button to start the Simulink experiment. The result is shown in Figure 8.21. Select View $\rightarrow \;$ Analysis to have a look at the standard deviations of the signal. The window displays 0.305 degrees for the standard deviation of the temperature at the output and 1.04 percent for the standard deviation of the IVP. This corresponds to 3.4 percent/degree, which is close to the Control Design ``HF Gain'' 4 percent/degree. Save the measured data as benchmark data with the menu Edit $\rightarrow \;$ Measured $\rightarrow \;$Benchmark Data.


  
Figure 8.21: Resulting ``Closed Loop Data Acquisition'' window.
\begin{figure}
\centering
\includegraphics [width=13cm]{line1.ps}
\end{figure}


Some re-designs

Finally you will check what the classical tuning rules would have done for you in this example. Select Controller $\rightarrow \;$Pre Design to pop up the ``Pre Design'' window. First select ``the classical rule of Ziegler Nichols''. The rejection of the load is slower, but the lowest attained temperature 483.2 degrees (use data viewing) is not as deep as with the RaPID design 482.8 degrees (which should be your benchmark design).

However, look at the design parameters, and note a ``Robustness'' of 60 % which is still fine (compare to 65 % for the RaPID design) and a ``HF Gain'' of 109 percent/degree. This indicates an extremely high noise sensitivity. This can be checked by switching to the ``Closed Loop Data Acquisition'' window and running the controller. The IVP goes completely out of range for this controller. So even though the load rejection may look fine at first sight, the controller itself is completely unacceptable in practice (due to the high noise sensitivity). The IVP now has a standard deviation of 23 versus an output noise level of 0.79 (use View $\rightarrow \;$ Analysis). Note that the temperature is very badly controlled because the large excursions of the IVP excite the non-linear behavior of the Simulink model.

Finally, you could try one of the better pre design rules in the ``Control Design'' window. For instance, a ``Fast Kappa Tau'' rule, which gives a reasonable load rejection. However, once again, the ``HF Gain'' is way too high, which again implies too much noise sensitivity. You can check this again in the ``Closed Loop Data Acquisition'' window. Figure 8.22 shows an overview of the standard deviations.


  
Figure 8.22: ``Signal Analysis'' window. The ``Current'' controller is the ``Kappa Tau'' pre design, the ``Previous'' controller is the ``Ziegler Nichols'' pre design, while the ``Benchmark'' controller is the RaPID design. Not that the error as well as the energy in the IVP is the smallest for the RaPID design.
\begin{figure}
\centering
\includegraphics [width=10.8cm]{line1.ps}
\end{figure}




Peter Van Overschee
1/21/1998