# Dead Time in Models Matlab Help

Dead time, also called transport delay, is a time delay between an action and its effect. It occurs, for example, when a fluid flows through a conduit. If the fluid velocity IJ is constant and the conduit length is L, it takes a time T = L[» for the fluid to move from one end to the other. The time T is the dead time. Let 8,(I) denote the incoming fluid temperature and 82(t) the temperature ofthe fluid leaving the conduit. If no heat energy is lost, then 82(t) = 81(t – T).

From the shifting property of the Laplace transform,
82(s) = e-TS81(s)
So the transfer function for a dead-time process is «”>.
Dead time may be described as a “pure” time delay, in which no response at all occurs for a time T, as opposed to the time lag associated with the time constant of a response, for which 82(t) = (1 – e-t/T)81 (t). Some systems have an unavoidable time delay in the interaction between components. The delay often results from the physical separation of the components and typically occurs as a delay between a change in the actuator signal and
its effect on the system being controlled, or as a delay in the measurement of the output. Another, perhaps unexpected, source of dead time is the computation time required for digital control computer to calculate the control algorithm. This can be a significant dead time in systems using inexpensive and slower microprocessors.
The presence of dead time means the system does not have a characteristic equation of finite order. In fact, there are an infinite number of characteristic roots fora system-with dead time. This can be seen by noting that the term e-Ts can be expanded in an infinite series as

-Ts 1 1
eeTs 1+T s+T 2 s 2/2+
The fact that there are an infinite number of characteristic roots means that the analysis of dead-time processes is difficult, and often simulation is the only practical way to study such processes. Systems having dead-time elements are easily simulated in Simulink. The block implementing the dead-time transfer function e-Ts is called the “Transport
Delay” block.
Consider the model of the height h of liquid in a tank, such as that shown in Figure 9.7-1, whose input is a mass flow rate qi. Suppose that it takes a time T for the change in input flow to reach the tank following a change in the valve opening. Thus, T is a dead time. For specific parameter values, the transfer function has the form
-H-(s=) e -TI –2-
Qi(S} 5s + 1
Figure 9.8-1 shows a Simulink model for this system. After placing the Transport Delay block, set the delay to 1.25. Set the Step time to 0 in the Step Function block. We will now discuss the other blocks in the model.

Specifying Initial Conditions with Transfer Functions

The ”Transfer Fcn (with initial outputsj’vblock, so-called to distinguish it from the Transfer Fen block, enables us to set the initial value of the block output. In our model, this corresponds to the initial liquid height in the tank. This feature thus provides a useful improve-neat over traditional transfer-function analysis, in which initial conditions are lmed to be zero.

Simulink model of a hydraulic system with dead time

The ”Transfer Fen (with initial outputs)” block is equivalent to adding the free response to the block output, with all the block’s state variables set to zero except for the output variable. The block also lets you assign an initial value to the block input, but we will not use this feature and so will leave the Initial input set to 0 in the Block Parameters window. Set the Initial output to 0.2 to simulate an initial liquid height of 0.2.

The Saturation and Rate Limiter Blocks

Suppose that the minimum and maximum flow rates available from the input flow valve are 0 and 2: These limits can be simulated with the Saturation block” which was-discussed in Section 9.4. After placing the block as shown in Figure 9.8-1, double-click on it and type 2 in its Upper limit window and 0 in the Lower limit  window.

In addition to being limited by saturation, some actators have limits on how fast they can react, This limitation might be due to deliberate restrictions placed on the unit by its manufacturer to avoid damage to the unit. An example is a flow control valve whose rate of opening anqjo’sing is controlled by a “rate limiter.”
Simulink has such a block, and it can be u~ed in series with the Saturation block to model the valve behavior. Place the Rat~’Limiter block as shown in Figure 9.8-1. Set the Rising slew rate to 1and tb FaIling slew rate to -1.

A Control System

The Simulink model shown in Figure 9.8-1 is for a specific type of control system called a PI controller, whose response f(t) to the error signal e(t) is the sum of a term proportional to the error signal and a term proportional to the integral of the error signal. That is,

f(t) = Kpe(t) + K/ l’e(t)dt

where K p and Klare called the proportional and integral gains. Here the error signal e(t) is the difference between the unit-step command representing the desired height and the actual height. In transform notation this expression becomes

F(s) = Kp£(s) + -;-£(s) = Kp + -;- £(

In Figure 9.S-I, we used the values K» = 4 and K, = 5/4. These values are computed using the methods of control theory (For a discussion of control systems, see, for example, [Palm, 2005]). The simulation is now ready to be run. Set the Stop time to 30 and observe the behavior of the liquid height h(t) in the Scope. Does it reach the desired height of 1?

### Related Matlab Homework Assignments

Posted on July 24, 2015 in simulink