A New Approach To Digital PID Controller Design
A New Approach To Digital PID Controller Design
A New Approach To Digital PID Controller Design
A New Approach to Digital PID Controller Design this third variable can be exactly determined. By sweeping or gridding
over the third variable, the complete stabilizing set can be determined
L. H. Keel, J. I. Rego, and S. P. Bhattacharyya constructively. The solution shows that the stabilizing set for any plant,
when it is nonempty, consists of unions of convex polygons in the space
of the PID gains.
Abstract—In this note, we present a new approach to the problem of
designing a digital proportional-integral-derivative (PID) controller for a The aforementioned solution technique is extended to solve two pre-
given but arbitrary linear time invariant plant. By using the Tchebyshev viously unsolved design problems. The first problem is related to dead-
representation of a discrete-time transfer function and some new results beat control wherein one places all closed loop characteristic roots at
on root counting with respect to the unit circle, we show how the digital the origin so that the transients are zeroed out in a finite number of
PID stabilizing gains can be determined by solving sets of linear inequali-
ties in two unknowns for a fixed value of the third parameter. By sweeping
steps. In general, deadbeat control is not possible using PIDs and a rea-
or gridding over this parameter, the entire set of stabilizing gains can be sonable goal is to place the closed loop characteristic roots as close to
recovered. The precise admissible range of this parameter can be predeter- the origin as possible so that the transient error decays quickly. Such
mined. This solution is attractive because it answers the question of whether designs have been advocated in the literature on sampled data control
there exists a stabilizing solution or not and in case stabilization is possible systems (see specifically [15, p. 292]). We show how the stabilization
the entire set of gains is determined constructively. Using this character-
ization of the stabilizing set we present solutions to two design problems: solution obtained by us can be exploited to give a constructive deter-
1) maximally deadbeat design, where we determine for the given plant, the mination of such “maximally” deadbeat designs. The second problem
smallest circle within the unit circle wherein the closed loop system charac- involves the determination of the maximum delay in the loop that a
teristic roots may be placed by PID control and 2) maximal delay tolerance, given plant under PID control can be made to tolerate. We show how
where we determine, for the given plant the maximal-loop delay that can
our solution can also be extended to determine this maximum delay for
be tolerated under PID control. In each case, the set of controllers attaining
the specifications is calculated. Illustrative examples are included. a given plant.
Index Terms—Deadbeat control, digital PID controller, stability,
Tchebyshev representation. II. TCHEBYSHEV REPRESENTATION AND ROOT CLUSTERING
The stabilization results to be developed later in the note require
us to determine the complex plane image of polynomials and rational
I. INTRODUCTION
functions on a circle of radius centered at the origin.
There is renewed interest in proportional-integral-derivative (PID)
controllers (see [1], [2]) because of two reasons. First, they are exten- A. Tchebyshev Representation of Real Polynomials and Rational
sively used in applications in all industries (see [3], [4, Ch. 6]). Second, Functions
despite the existence of some results [5], [6] modern optimal control Let us consider a polynomial P (z ) = an z n + 1 1 1 + a0 with real
methods are not suitable to deal with fixed structure and fixed order coefficients. The image of P (z ) evaluated on the upper half of the circle
controllers (see [7, p. 3]). Thus, there is much that remains to be done C of radius , centered at the origin is
to modernize PID design methods.
Here, we develop some new results on discrete time PID controllers. P (z ) : z = ej ; 0 : (1)
T (u;)
p
+ j 1 0 u (TR ((u;u;))+(1
R (u; ) 0 R (u; )T (u; ))
2 B. Root Counting and Tchebyshev Representation
1 2 1 2
0 u )T (u; )
2 2 2 () p P 2z and its Tchebyshev repre-
Let us begin with a real polynomial
( ) = ( )+ 1 ( ) 0 u T u; as developed before.
2 2
= : Qc (u; ): (6) sentation PC u; R u;
...
Henceforth, let 31 t1 ; ( )
; tk denote the real distinct zeros of T u;
This representation will be needed in a later section on the solution of ( 1 1)
of odd multiplicity, for u 2 0 ; , ordered as follows:
the maximally deadbeat problem.
01 < t < t < 1 1 1 < tk < +1: 1 2
in (01,1); k
3) the zeros ri and tj interlace +2 (01)j Sgn [R(tj ; )] + (01)k +1
Sgn [R(+1; )] : (9)
01 < r < t < r < t < 1 1 1 < tn0 < rn < +1: j =1
j = 0 cos
0 tj ; j = 1; 2; . . . ; n 0 1
1
= 0; n = t := 01 and k := , and note that the i , i = 0; 1. . . ; k + 1 are
zeros of T(; ). The proof depends on the following elementary and
0 0 +1
Then, ( ; ; 1 1 1 ; n ) are the n + 1 zeros of T(; ) = 0 and the point immediately to the right of i ).
( ; ; 1 1 1 ; n0 ) are the n zeros of R (; ) = 0. The condition (c)
0 1
1 [()] = i
1 2 1
means that i and j satisfy: (a) 0
A. Phase Unwrapping and Root Distribution (f) Sgn R(i ; ) = Sgn [R(ti ; )] ; i = 0; 1; 1 1 1 ; k:
Let P () := ArgP(ej ) denote the phase of P (z ) evaluated at Using (a)–(f), we have
z = ej and let 1 [P ()] denote the net change in or unwrapped
phase of P (ej ) as increases from 1 to 2 . Similarly notation
i =10 [()]
applies to the rational function Q(z ) with Tchebyshev representation =10 [()] + 1 1 1 + 1 [()] by (a) and (b)
QC (u; ): let Q (u) = ArgQC (u; ) denote the phase of QC (u; ) = 2 Sgn T(0+ ; ) Sgn R(0; ) 0 Sgn R (1; )
and 1uu [Q (u)] the net change in or unwrapped phase of QC (u; )
as u increases from u1 to u2 . + 1 1 1 + Sgn T(k+ ; ) Sgn R(k ; )
Lemma 1: Let P (z ) have i roots in the interior of the circle C and 0 Sgn R(; ) by (c)
no roots on the circle. Then
= Sgn T 0 ; Sgn R(0; ) 0 Sgn R (1 ; )
+
C (z ) = KP + KI T i i
KP + KI T + T z + 0KP 0
K 2 2K K
T z + T
: where i and iN are the numbers roots of (z ) and the reverse poly-
z (z 0 1)
=
nomial of N (z ), respectively, and l is the order of N (z ). Since the
Therefore, we can use required i is 4, iN = 0, and l = 0, i1 0 i2 is required to be 3. To
illustrate the example in detail, we first fix K3 = 1:3. Then, the real
K2 z 2 + K1 z + K0 roots of T (u; K3 ) in (01, 1) are 00.4736 and 00.0264. Furthermore,
C (z ) =
z (z 1) 0 (11) Sgn[T (01)] = 1, and from Theorem 2, i1 0 i2 = 3 requires that
where
Sgn [T (01)] (Sgn [R(01)] 0 2Sgn [R(00:4736)]
1
2
KP = 0 K 0 2K
1 0 KI =
K0 + K1 + K2
T
+2Sgn [R( 0:0264)] 0 0 Sgn [R(1)]) = 3:
KD = K0 T : (12)
In this example, we have Sign[R(tj )], j = 0; 1; 2; 3, and each
The characteristic polynomial becomes Sign[R(1)] may assume the value +1 or 01 since 0 is excluded as we
are testing for stability. This leads to 24 = 16 possible strings which
(z ) = z (z 0 1)D(z) + 2
K2 z + K1 z + K0 N (z ): (13) need to be tested. In general, it is easy to devise a sorting algorithm to
690 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 48, NO. 4, APRIL 2003
pick out the feasible strings. Here, we have only one valid sequence V. MAXIMALLY DEADBEAT CONTROL VIA PID CONTROLLERS
satisfying the aforementioned equation, namely
An important design technique in digital control is deadbeat control
Sgn [R(01)] Sgn [R(00:4736)] Sgn [R(00:0264)] wherein one places all closed-loop poles at the origin. If this is used in
1 01 1
conjunction with integral control the tracking error is zeroed out in a
finite number of sampling steps. Deadbeat control requires in general
Sgn [R(1)] 2(i1 0 i2 ) that we be able to control all the poles of the system. However, such
01 6: a pole placement design is in general not possible when a lower order
controller is used. Thus, we are motivated to design a PID controller
From this valid sequence, we have the following set of linear inequali- that places the closed-loop poles as close to the origin as possible. The
ties: transient response of such a system will decay out faster than any other
Fig. 2. Stability regions with = 0:275 and closed-loop poles of the selected PID gains.
2 01 2 01
z (z )N ( z )
z=
p
0u j 0u
0 (1 0 u )P (u; ) 0 (2K 0 K )
3 2
2 2
2
3
2pu 0 K P (u; )
+ 1
2
= 0 (u + 1)P (u; )
2 1 3
2pu 0 K P (u; )
1
2
3
+K3 P3 (u; )] :
00:3195, K2 = 0:6390, and K3 = 0:0435. From the relationship in [5] D. S. Bernstein and W. M. Haddad, “LQG control with an H per-
(19), we have formance bound: a Riccati equation approach,” IEEE Trans. Automat.
Contr., vol. 34, pp. 293–305, Mar. 1989.
KP 01 022 2 K1 0:3099
[6] T. Iwasaki and R. E. Skelton, “All fixed order H controllers: observer-
based structure and covariance bounds,” IEEE Trans. Automat. Contr.,
KI = 1
T
T + T
1 0 1
T K2 = 0:3243 : vol. 40, pp. 512–516, Mar. 1995.
KD 0
2
T 0T K3 0:0048
[7] P. Dorato, Analytic Feedback System Design: An Interpolation Ap-
proach. Pacific Grove, CA: Brooks Cole, 2000.
[8] G. Pólya and G. Szegó, Problems and Theorems in Analysis II. New
Fig. 2 (right) shows the closed-loop poles that lie inside the circle of York: Springer-Verlag, 1976.
radius = 0:275. The roots are 0:2500 6 j 0:1118 and 0:2500 6 [9] M. Mansour, “Robust stability in systems described by rational func-
j 0:0387. tions,” in Control and Dynamic Systems, C. T. Leandes, Ed. New York:
Academic, 1992, vol. 51, pp. 79–128.
To illustrate further, we select several sets of stabilizing PID param- [10] J. F. Delansky and N. K. Bose, “Schur stability and stability domain
eters from the set obtained in Example 1 (i.e., = 1) and compare the construction,” Int. J. Control, vol. 49, no. 4, pp. 1175–1183, 1989.
step responses between them. Fig. 3 shows that the maximally dead- [11] N. K. Bose and J. F. Delansky, “Tests for robust Schur interval polyno-
beat design produces nearly deadbeat response. mials,” in Proc. 30th Midwest Symp. Circuits Systems, G. Glasford and
K. Jabbour, Eds., 1988, pp. 1357–1361.
[12] I. Yamada and N. K. Bose, “Algebraic phase unwrapping and zero dis-
VI. MAXIMUM DELAY TOLERANCE DESIGN tribution of polynomial for continuous time systems,” IEEE Trans. Cir-
cuits Syst. I, vol. 49, pp. 298–304, Mar. 2002.
In some control systems an important design parameter is the delay [13] I. Yamada, K. Kurosawa, H. Hasegawa, and K. Sakaniwa, “Algebraic
tolerance of the loop, that is the maximum delay that can be inserted multidimensional phase unwrapping and zero distribution of complex
into the loop without destabilizing it. In digital control a delay of k polynomials—characterization of multivariate stable polynomials,”
sampling instants is represented by z 0k . We use this to determine the
IEEE Trans. Signal Processing, vol. 46, pp. 1639–1664, June 1998.
[14] L. H. Keel and S. P. Bhattacharyya, “Root counting, phase unwrapping,
maximum delay that a control-loop under PID control can be designed stability and stabilization of discrete time systems,” Linear Alg. Ap-
to tolerate. This gives the limit of delay tolerance achievable for the plicat., vol. 351–352, pp. 501–518, 2002.
given plant under PID control. [15] J. Ackermann, Sampled-Data Control Systems: Analysis and Synthesis,
Let the plant be G(z ) = (N (z ))=(D(z )). We consider the problem Robust System Design, ser. Communications and Control Series. New
of finding the maximum delay L3 such that the plant can be stabilized
York: Springer-Verlag, 1985.
z 0L G(z ) = L for L = 0; 1; . . . ; L3
N (z )
; (20)
z D(z )
is not empty. Let Si be the set of PID gains that stabilizes the plant Stability Analysis of Swarms
z 0i G(z ). Then, it is clear that
Veysel Gazi and Kevin M. Passino
\ S
L i
i=0 i stabilizes z G(z ) for all i = 0; 1; . . . ; L: (21)
Abstract—In this note, we specify an “individual-based” contin-
uous-time model for swarm aggregation in -dimensional space and
study its stability properties. We show that the individuals (autonomous
VII. CONCLUDING REMARKS agents or biological creatures) will form a cohesive swarm in a finite time.
Moreover, we obtain an explicit bound on the swarm size, which depends
In this note, we have given a solution to the problem of stabilization only on the parameters of the swarm model.
of a digital control system using PID controllers. The solution is com- Index Terms—Biological systems, multiagent systems, stability analysis,
plete in the sense that a constructive yes or no answer to whether stabi- swarms.
lization is possible, is given and in case it is possible the entire set is de-
termined by solving sets of linear inequalies in two variables obtained
by gridding over the third variable. This approach is akin to the geo- I. INTRODUCTION
metric approach to synthesis and design advocated in [16]. These solu- For a long time, it has been observed that certain living beings tend
tion sets open up the possibility of improved and optimal design using to perform swarming behavior. Examples of swarms include flocks of
PID controllers. The questions of loop shaping, time domain response birds, schools of fish, herds of animals, and colonies of bacteria. It is
shaping, and robust designs are important candidates for research. known that such a cooperative behavior has certain advantages such
REFERENCES
Manuscript received August 3, 2001; revised March 27, 2001 and August
[1] A. Datta, M. T. Ho, and S. P. Bhattacharyya, Structure and Synthesis 23, 2002. Recommended by Associate Editor G. De Nicolao. This work was
of PID Controllers in Advances in Industrial Control. London, U.K.: supported by the DARPA MICA program and was performed at The Ohio State
Springer-Verlag, 2000. University, Columbus.
[2] H. Xu, A. Datta, and S. P. Bhattacharyya, “Computation of all stabilizing V. Gazi was with the Department of Electrical Engineering, The Ohio State
PID gains for digital control systems,” IEEE Trans. Automat. Contr., vol. University, Columbus, OH 43210 USA. He is now withthe Department of Elec-
46, pp. 647–652, Apr. 2001. trical and Electronics Engineering, Atilim University, 06836 Ankara, Turkey.
[3] K. Åström and T. Hägglund, PID Controllers: Theory, Design, and K. M. Passino is with the Department of Electrical Engineering, The Ohio
Tuning. Research Triangle Park, NC: Instrum. Soc. America, 1995. State University, Columbus, OH 43210 USA (e-mail: [email protected]
[4] G. C. Goodwin, S. F. Graebe, and M. E. Salgado, Control System De- state.edu).
sign. Upper Saddle River, NJ: Prentice-Hall, 2001. Digital Object Identifier 10.1109/TAC.2003.809765