Fill This Form To Receive Instant Help
Homework answers / question archive / ELEE4220/6220: Quiz 7 Homework (Quiz) 7: PID Control for Systems with Deadtime The goal of this homework is two-fold
ELEE4220/6220: Quiz 7
Homework (Quiz) 7: PID Control for Systems with Deadtime
The goal of this homework is two-fold. First, you will analyze the effects of deadtime delays in linear systems. Second, this homework serves as an introduction to simulations with xcos. Furthermore, there are some minor design elements in this homework.
Deadtime delays appear in many plants or processes where transportation from one location to another incurs a delay. Echos in a room with a PA system are a good example, but conveyor belts or extruder systems may incur delays, too. We can describe a delay as a signal x(t) that arrives at the sensor without change in magnitude, but with a lag τ, meaning, the sensor receives the signal x(t−τ). We will now consider a simple first-order process with deadtime (Figure 1) and attempt to control the output variable with
Figure 1: Feedback control loop for a system with deadtime. The process can be split into two parts: a conventional, first-order system and a delay e−sτ, which represents the time τ that the process output needs to reach the sensor. The optimum control strategy – primarily with respect to stability – needs to be found.
It is possible to describe the process as two consecutive parts. The first is the first-order system with a 0.5s time constant 2/(s + 2). Its output, in the time domain yo(t) needs a certain time τ to reach the sensor. The sensor signal, still in the time domain, is therefore y(t) = yo(t − τ). Since the Laplace transform of a deadtime component is e−sτ, the process transfer function becomes
(1)
We need a control system that tracks the input variable x(t). The controller function is H(s), which leads to the closed-loop transfer function of
) (2)
It is evident from Equation 2 that conventional Laplace-domain methods fail, because the transfer function contains the irrational term e−sτ. Only when τ → 0 does this system behave like a conventional linear system – despite the fact that the deadtime function is linear and time-invariant.
Part of this homework is a simulation with Scilab/xcos, but some initial theoretical questions will allow us to better appreciate the problem.
e−sτ ≈
2 − τs (3)
2 + τs
You may use the open-loop pole-zero configuration of the approximated G(s) in a root-locus approach or examine the gain margin similar to the previous question. (5 points)
A note on the xcos setup: The numerical treatment of this simulation is especially difficult, and the xcos default settings will likely abort the simulation or at least appear to develop chaotic behavior. Selection of a suitable solver algorithm has the strongest influence on the simulation, and the Runge-Kutta 4(5) solver and the Crank-Nicholson 2(3) solver appear to perform best. Relaxing the tolerances is also recommended if the simulation gets stuck (Figure 2). In addition, the delay block requires enough buffer to locally store the delayed data for the small time steps that the solver uses.
In addition, the PID block is less robust than an explicit PID function assembled from gain blocks, integral, derivative, and summation.
Figure 2: Specific settings for the xcos simulation. (A) Simulation setup window. Here, you already set the duration of the simulation (small green arrow). Loosening the tolerances from 10−6 to 10−4 makes the simulation more robust, but the most important setting is the solver selection. The optimum solver may differ between operating systems (compiler, math implementation), but it appears that RK45 and
CRANI work best on Linux systems. (B) Setup for the delay. The dead time of 0.2s is set here, but it is also necessary to significantly increase the buffer size.
The original method by Ziegler and Nichols[1] calls for a measurement of the closed-loop response near the stability boundary. The obtain the PID
coefficients,
Cohen and Coon[2] proposed an open-loop based tuning method that is more tolerant to deadtime delays. The disadvantage of this method is that it assumes a first-order system or – at least – a second-order system with one very fast pole. The obtain the PID coefficients, apply a step input to G(s) at t = 0, then
(4)
T1 = T63 − τ (5)
and finally compute the dead time as fraction of the time constant, RT = τ/T1. Note that both τ and T1 should be familiar (see Figure 1), but the method described here is statistically more robust.
and finally kD = kpτD and kI = kp/τI.
Already member? Sign In