betaFeedback

WorksEngineering

Fast Sampling or High Gain? iP versus PI Control

Abstract

Intelligent proportional (iP) controllers, introduced in the framework of model-free control, are often presented as an alternative to proportional-integral (PI) controllers that requires no model of the plant. This paper studies this property for a first-order linear plant under sampled-data implementation with a zero-order hold. When the time derivative of the output is estimated by a backward difference, the discrete-time iP and PI controllers are known to obey the same control law under a one-to-one correspondence between their parameters. Building on this correspondence, the paper derives necessary and sufficient conditions for exponential stability of the iP closed loop, in closed form, in terms of the controller parameters KP and alpha, the sampling period h, and the plant parameters. It then shows that, when the iP parameters are held fixed and the sampling period tends to zero, the closed-loop decay rate tends to the iP gain KP, provided that KP is positive and that the ratio rho between the input gain of the plant and alpha satisfies 0 < rho < 2. One closed-loop pole then behaves as 1 - h KP, while the other tends to 1 - rho. With fixed PI gains, by contrast, the decay rate tends to that of the continuous-time PI loop, which depends on the plant parameters. The two parametrizations therefore suggest different tuning procedures, although they achieve the same closed loops at every fixed sampling period. High gain for the PI is, in some sense, replaced by fast sampling of the iP. The results also make explicit which plant information the iP controller requires: the sign of the input gain and a bound on its magnitude in the limit of fast sampling, and bounds on both plant parameters at a given sampling period. Numerical experiments illustrate these results.

Introduction

Proportional-integral (PI) controllers, and more generally, PID controllers, remain the standard feedback laws in industrial practice. They are almost always implemented digitally: the output is sampled with period hh, the control is updated at the sampling instants, and held constant between them. For a first-order plant y˙=py+bu\dot{y}=py+bu, the closed loop with a sampled PI controller is a second-order linear recurrence whose exact stability region can be obtained from Jury’s test [1]–[4]. For fixed gains, this recurrence converges as h→0+h \to0^{+} to the continuous-time PI loop with characteristic polynomial s2+(bkP−p)s+bkis^2+(bk_P-p)s+bk_i, where kPk_P and kik_i denote the proportional and integral gains, respectively. The limiting closed-loop poles therefore depend on the plant parameters pp and bb, and assigning them requires some knowledge of these parameters.

Model-free control (MFC) [5], [6] was introduced to avoid the need for a plant model in controller design. The unknown input-output dynamics are represented by the ultra-local model y˙=F+αu\dot{y}=F+\alpha u, where α\alpha is a design constant and FF accounts for the remaining dynamics. The quantity FF is estimated online from past inputs and outputs. The intelligent proportional (iP) controller

u=−F^+KPeα,u=-\frac{\hat{F}+K_P e}{\alpha},

where KPK_P is a controller gain, F^\hat{F} is an estimate of FF, and e=y−y∗e=y-y^* is the regulation error with y∗y^* constant, aims to impose the error dynamics e˙≈−KPe\dot{e}\approx-K_P e when F^≈F\hat{F}\approx F. An accurate identification of the input gain is not considered necessary in the MFC literature [6], [7].

The relation between the iP and PI controllers has been established for their discrete-time implementations. In [8], it was shown that, when FF is estimated using a backward difference of the output and the previous input, the sampled iP controller and a sampled PI controller with a Riemann-sum integral obey the same incremental law under the parameter relations

kP=1αh,ki=KPαh,k_P=\frac{1}{\alpha h},\qquad k_i=\frac{K_P}{\alpha h},

with analogous relations between sampled PID and intelligent PD controllers. The same equivalence was recovered in [9] through a Youla-Kučera parametrization. Fliess and Join have since advocated replacing PI and PID regulators with intelligent controllers [10]. What these equivalences imply for the closed-loop dynamics, and in particular what happens when hh tends to zero with α\alpha and KPK_P held fixed, has not been studied in the literature, to the best of our knowledge.

Stability analyses of control systems under the iP controller have mainly relied on continuous-time idealizations. Delaleau [11] interprets the discrete MFC law as an explicit Euler scheme for an ordinary differential equation and proves local asymptotic tracking for that equation using singular perturbation theory. The work [7] models the estimator F^\hat{F} using derivative filters and shows, through the Routh-Hurwitz criterion, that the stabilizing parameter region can be narrow for a second-order unstable plant. In [12], the estimator is modeled using the exact output derivative and a delayed input. The resulting iP loop with a linear plant is shown to be a neutral or advanced delay system, and instability results and sufficient conditions for exponential stability are derived. The work [13] obtains plant-dependent parameter bounds using the generalized Hermite-Biehler theorem, again for a continuous-time delay model. None of these works provides a stability analysis of a plant controlled by a discrete-time iP controller, which is the controller actually implemented in practice. The equivalence established in [8] allows the analysis to be reduced to that of a sampled PI loop. However, the resulting stability conditions in terms of the iP parameters, as well as the behaviour of the closed-loop poles as h→0+h \to0^{+} with (α,KP)(\alpha,K_P) fixed, have not been characterized in the literature.

In this paper, we analyze the sampled-data iP controller for the plant y˙=py+bu\dot{y}=py+bu under a zero-order hold, using the estimate of FF considered in [5], [8]. We recall the correspondence established in [8] and make three contributions.

  1. Exact stability conditions. We derive necessary and sufficient conditions for exponential stability of the sampled iP loop in closed form, in terms of ρ=b/α\rho=b/\alpha, KPK_P, and phph (Theorem 1). They identify precisely what plant information is needed to certify a given choice of (α,KP,h)(\alpha,K_P,h).

  1. Small-sampling asymptotics. For 0<ρ<20<\rho<2 and KP>0K_P>0, the two closed-loop poles under iP control satisfy

zf(h)=1−ρ+O(h),zs(h)=1−hKP+O(h2),z_f(h)=1-\rho+O(h), \qquad z_s(h)=1-hK_P+O(h^2),

where zfz_f and zsz_s denote the fast and slow poles, respectively. Consequently, the decay rate tends to KPK_P as h→0+h\to0^{+} (Theorem 2). Conversely, outside these conditions, the loop is not exponentially stable for sufficiently small hh.

  1. Two tuning philosophies: fast sampling for the iP versus high-gain PI. With fixed PI gains, the decay rate tends to that of the continuous-time PI loop and therefore depends on pp and bb. With fixed (α,KP)(\alpha,K_P), the decay rate tends to KPK_P regardless of pp, while the equivalent PI gains increase as 1/h1/h. Thus, although the two parametrizations yield exactly the same closed-loop characteristic polynomial at every fixed hh, they correspond to two different tuning philosophies: increasing the PI gains, or keeping (α,KP)(\alpha,K_P) fixed and increasing the sampling frequency. Accordingly, the plant independence of the iP tuning holds in an asymptotic sense. The small-sampling limit requires the sign of bb, the bound ∣b∣<2∣α∣|b|<2|\alpha|, and KP>0K_P>0, whereas certifying stability at a given sampling period requires bounds on pp and bb, as in conventional PI design.

The remainder of the paper is organized as follows. Section II introduces the notation used throughout the paper. Section III reviews preliminary results on the stability of first-order single-input-single-output (SISO) linear time-invariant (LTI) systems under PI control and recalls the discrete-time iP control law. Section IV presents and discusses our main results. Section V illustrates these results through numerical experiments. Finally, concluding remarks and perspectives for future research are provided.

Notation

Numbers and sets: R\mathbb{R} and C\mathbb{C} denote the real and complex numbers, and R∗:=R∖{0}\mathbb{R}^{*}:=\mathbb{R}\setminus\{0\}. The set of natural numbers is N:={0,1,2,…}\mathbb{N}:=\{0,1,2,\ldots\}, and N∗:=N∖{0}\mathbb{N}^{*}:=\mathbb{N}\setminus\{0\}. For z∈Cz\in\mathbb{C}, ∣z∣|z| is its modulus and Re⁡z\operatorname{Re}z its real part. For x∈Rx\in\mathbb{R}, sgn⁡(x)∈{−1,0,1}\operatorname{sgn}(x)\in\{-1,0,1\} is the sign of xx, with the convention sgn⁡(0)=0\operatorname{sgn}(0)=0. We denote by ln⁡\ln the natural logarithm, and coth⁡(x):=(ex+e−x)/(ex−e−x)\operatorname{coth}(x):=(e^x+e^{-x})/(e^x-e^{-x}) for x∈R∗x\in\mathbb{R}^{*}.

Asymptotic notation: Let ff and gg be functions defined on an interval (0,h1)(0,h_1), with ff complex-valued and gg real-valued and positive. We write f(h)=O(g(h))f(h)=O(g(h)) as h→0+h\to0^{+} if there exist constants C>0C>0 and h2∈(0,h1]h_2\in(0,h_1] such that ∣f(h)∣≤Cg(h)|f(h)|\le Cg(h) for every h∈(0,h2)h\in(0,h_2). An equality of the form f(h)=a+O(h)f(h)=a+O(h) means f(h)−a=O(h)f(h)-a=O(h).

Polynomials, shift operator and spectral radius: For a polynomial PP with real coefficients, r(P):=max⁡{∣z∣:z∈C, P(z)=0}r(P):=\max\{|z|:z\in\mathbb{C},\ P(z)=0\} is its spectral radius, that is, the largest modulus of its roots. The polynomial PP is called Schur if all its roots lie in the open unit disc, that is, if r(P)<1r(P)<1. The forward shift operator qq acts on real sequences (xk)k∈N(x_k)_{k\in\mathbb{N}} by (qx)k:=xk+1(qx)_k:=x_{k+1}. For a polynomial P(z)=∑j=0najzjP(z)=\sum_{j=0}^{n}a_jz^j, the statement P(q)xk=0P(q)x_k=0 means ∑j=0najxk+j=0\sum_{j=0}^{n}a_jx_{k+j}=0.

The PI and iP controllers applied to first-order SISO LTI systems

The material of Sections III-A-III-C is classical and can be found in the textbooks [1]–[4].

First-order SISO LTI systems

In this article, we consider linear systems with control input u(t)∈Ru(t)\in\mathbb{R} and output y(t)∈Ry(t)\in\mathbb{R}, modeled by first-order dynamics

y˙=py+bu,y(0)=y0,(1)\dot{y}=py+bu,\qquad y(0)=y_0, \tag*{(1)}

where p∈Rp\in\mathbb{R}, b∈R∗b\in\mathbb{R}^{*}, and y0∈Ry_0\in\mathbb{R} is the initial condition.

The controller is sampled with a zero-order hold. Specifically, given a sampling step h∈(0,+∞)h\in(0,+\infty), we consider the sequence of time instants (tk)k∈N⊂[0,+∞)(t_k)_{k\in\mathbb{N}}\subset[0,+\infty) defined by

tk:=hk∀k∈N.(2)t_k:=hk\qquad\forall k\in\mathbb{N}. \tag*{(2)}

Then, the controller is held constant on each time interval [tk,tk+1)[t_k,t_{k+1}), i.e.,

u(t)=uk:=u(tk)∀t∈[tk,tk+1).(3)u(t)=u_k:=u(t_k)\qquad\forall t\in[t_k,t_{k+1}). \tag*{(3)}

As a consequence, (1) can be transformed into a discrete-time linear control system. Indeed, integrating (1) and using the fact that uu is constant on [tk,tk+1)[t_k,t_{k+1}), we obtain

yk+1=pˉyk+bˉuk∀k∈N,(4)y_{k+1}=\bar{p}y_k+\bar{b}u_k\qquad\forall k\in\mathbb{N}, \tag*{(4)}

where yk:=y(tk)y_k:=y(t_k), and

pˉ:=eph,bˉ:=b∫0hep(h−θ) dθ.(5)\bar{p}:=e^{ph},\qquad\bar{b}:=b\int_{0}^{h}e^{p(h-\theta)}\,\mathrm{d}\theta. \tag*{(5)}

This system can be written in the compact form

Ah(q)yk=Bh(q)uk∀k∈N,(6)A_h(q)y_k=B_h(q)u_k\qquad\forall k\in\mathbb{N}, \tag*{(6)}

where

Ah(q):=q−pˉ,Bh(q):=bˉ.(7)A_h(q):=q-\bar{p},\qquad B_h(q):=\bar{b}. \tag*{(7)}

Characteristic polynomial and exponential stability

Let y∗y^* be a constant reference, and define the regulation error

ek:=yk−y∗∀k∈N.(8)e_k := y_k-y^* \qquad\forall k \in\mathbb{N}. \tag*{(8)}

The objective is to design the control input to achieve exponential stability of the origin {e=0}\{e=0\}. The controller, whether it is a PI or an iP, will take, as we will see later, the form

(q−1)uk=−K(q)ek∀k∈N,(9)(q-1)u_k=-K(q)e_k \qquad\forall k \in\mathbb{N}, \tag*{(9)}

where K(q)K(q) is some polynomial in qq of degree at most 1. As a result, by applying (q−1)(q-1) at both sides of (6), while using the fact that (q−1)y∗=0(q-1)y^*=0 since y∗y^* is constant, we obtain

(q−1)Ah(q)yk=(q−1)Bh(q)ukAh(q)(q−1)yk=Bh(q)(q−1)ukAh(q)(q−1)yk−Ah(q)(q−1)y∗=−Bh(q)K(q)ekAh(q)(q−1)ek=−Bh(q)K(q)ek.\begin{aligned} (q-1)A_h(q)y_k&=(q-1)B_h(q)u_k\\ A_h(q)(q-1)y_k&=B_h(q)(q-1)u_k\\ A_h(q)(q-1)y_k-A_h(q)(q-1)y^*&=-B_h(q)K(q)e_k\\ A_h(q)(q-1)e_k&=-B_h(q)K(q)e_k. \end{aligned}

Hence,

χ(q)ek=0∀k∈N,(10)\chi(q)e_k=0 \qquad\forall k \in\mathbb{N}, \tag*{(10)}

where

χ(q):=Ah(q)(q−1)+Bh(q)K(q)(11)\chi(q):=A_h(q)(q-1)+B_h(q)K(q) \tag*{(11)}

is the characteristic polynomial of the closed-loop system. The roots of χ\chi, i.e., the elements of the set

{z∈C:χ(z)=0},\{z\in\mathbb{C}:\chi(z)=0\},

are referred to as the poles of the closed-loop system. Furthermore,

rχ:=max⁡{∣z∣:z∈C, χ(z)=0}(12)r_\chi:=\max\{|z|:z\in\mathbb{C},\ \chi(z)=0\} \tag*{(12)}

denotes the spectral radius of χ\chi.

Since K(q)K(q) and Bh(q)B_h(q) are of degree at most 1, and Ah(q)A_h(q) is of degree 1, then χ(q)\chi(q) is of degree 2. Specifically, we have

χ(q)=q2+c1q+c0,(13)\chi(q)=q^2+c_1q+c_0, \tag*{(13)}

for some constants (c0,c1)∈R2(c_0,c_1)\in\mathbb{R}^2. As a result, the closed-loop system χ(q)ek=0\chi(q)e_k=0 reads

ek+2=−c1ek+1−c0ek∀k∈N,(14)e_{k+2}=-c_1e_{k+1}-c_0e_k \qquad\forall k\in\mathbb{N}, \tag*{(14)}

so that the sequence (ek)k∈N(e_k)_{k\in\mathbb{N}} is uniquely determined by its initial condition (e0,e1)∈R2(e_0,e_1)\in\mathbb{R}^2.

Definition 1. The equilibrium {e=0}\{e=0\} for (14) is exponentially stable if there exist constants C>0C>0 and r∈(0,1)r\in(0,1) such that, for every (e0,e1)∈R2(e_0,e_1)\in\mathbb{R}^2,

∣ek∣≤Crkmax⁡j∈{0,1}∣ej∣∀k∈N.(15)|e_k|\le Cr^k\max_{j\in\{0,1\}}|e_j| \qquad\forall k\in\mathbb{N}. \tag*{(15)}

The exponential stability of {e=0}\{e=0\} is determined by the spectral radius rχr_\chi, as recalled in the following result.

Proposition 1. Let rχr_\chi be the spectral radius in (12).

  • If rχ<1r_\chi<1, then, for each r∈(rχ,1)r\in(r_\chi,1), there exists C>0C>0 such that (15) holds for each initial condition (e0,e1)∈R2(e_0,e_1)\in\mathbb{R}^2. In particular, {e=0}\{e=0\} is exponentially stable. Moreover, if rχ>0r_\chi>0, then, for each r∈(0,rχ)r\in(0,r_\chi), there is no C>0C>0 for which (15) holds for each initial condition (e0,e1)∈R2(e_0,e_1)\in\mathbb{R}^2.

  • If rχ≥1r_\chi\ge1, then, for each δ>0\delta>0, there exists an initial condition (e0,e1)∈R2(e_0,e_1)\in\mathbb{R}^2 satisfying max⁡j∈{0,1}∣ej∣≤δ\max_{j\in\{0,1\}}|e_j|\le\delta such that the solution to (14) satisfies lim sup⁡k→+∞∣ek∣>0\limsup_{k\to+\infty}|e_k|>0. In particular, eke_k does not converge to 0 as k→+∞k\to+\infty.

As a consequence, {e=0}\{e=0\} is exponentially stable if and only if all the poles of the closed-loop system belong to the open unit disc {z∈C:∣z∣<1}\{z\in\mathbb{C}:|z|<1\}. □

In the case where the origin is exponentially stable with rχ>0r_\chi>0, writing λ:=−ln⁡(r)/h\lambda:=-\ln(r)/h, where r∈(rχ,1)r\in(r_\chi,1), we find that (15) is equivalent to

∣ek∣≤Ce−λtkmax⁡j∈{0,1}∣ej∣∀k∈N.(16)|e_k|\le Ce^{-\lambda tk}\max_{j\in\{0,1\}}|e_j| \qquad\forall k\in\mathbb{N}. \tag*{(16)}

Since r>rχr>r_\chi, then λ<λχ\lambda<\lambda_\chi where

λχ:=−ln⁡(rχ)/h.(17)\lambda_\chi:=-\ln(r_\chi)/h. \tag*{(17)}

We refer to λχ\lambda_\chi as the decay rate.

When rχ<1r_\chi<1, we say that the characteristic polynomial χ(z)\chi(z) is Schur.

Proposition 2. The characteristic polynomial χ(z)=z2+c1z+c0\chi(z)=z^2+c_1z+c_0 is Schur if and only if χ(1)>0\chi(1)>0, χ(−1)>0\chi(-1)>0 and ∣c0∣<1|c_0|<1. □

Using Jury’s test, we can derive necessary and sufficient conditions linking the controller gains (in the coefficients of K(q)K(q)), the system parameters and the sampling step to ensure exponential stability.

PI controller

The PI controller reads

uk:=−kPek−kiIk∀k∈N,(18)u_k:=-k_Pe_k-k_iI_k \qquad\forall k\in\mathbb{N}, \tag*{(18)}
Ik:=Ik−1+hek∀k∈N∗,I0∈R,(19)I_k:=I_{k-1}+he_k \qquad\forall k\in\mathbb{N}^*,\qquad I_0\in\mathbb{R}, \tag*{(19)}

where kP∈Rk_P\in\mathbb{R} is the proportional gain and ki∈Rk_i\in\mathbb{R} is the integral gain. As a result,

uk+1−uk=−kPek+1−kiIk+1+kPek+kiIk=−(kP+kih)ek+1+kPek∀k∈N.(20)\begin{aligned} u_{k+1}-u_k&=-k_Pe_{k+1}-k_iI_{k+1}+k_Pe_k+k_iI_k\\ &=-(k_P+k_ih)e_{k+1}+k_Pe_k \qquad\forall k\in\mathbb{N}. \tag*{(20)} \end{aligned}

Hence, (9) holds with

K(q):=(kP+kih)q−kP.(21)K(q):=(k_P+k_ih)q-k_P. \tag*{(21)}

The characteristic polynomial is therefore given by

χ(q)=(q−pˉ)(q−1)+bˉ(kP+kih)q−bˉkP=q2+(kihbˉ+kPbˉ−1−pˉ)q+pˉ−kPbˉ.(22)\begin{aligned} \chi(q)&=(q-\bar{p})(q-1)+\bar{b}(k_P+k_ih)q-\bar{b}k_P\\ &=q^2+(k_ih\bar{b}+k_P\bar{b}-1-\bar{p})q+\bar{p}-k_P\bar{b}. \tag*{(22)} \end{aligned}
  • Now that we have the characteristic polynomial, we can apply Jury’s test to find the following result.

Proposition 3. Consider the system (1)–(5) under the PI controller (18)–(19). Furthermore, let

c(x):=xcoth⁡(x2)∀x∈R∗,c(0):=2.(23)c(x):=x\coth\left(\frac{x}{2}\right)\qquad\forall x\in\mathbb{R}^*,\qquad c(0):=2. \tag*{(23)}

The origin {e=0}\{e = 0\} is exponentially stable if and only if

bhki>0,(24)bhk_i > 0, \tag*{(24)}
bh(2kP+hki)<2c(ph),(25)bh(2k_P + hk_i) < 2c(ph), \tag*{(25)}
ph<bhkP<c(ph).(26)ph < bhk_P < c(ph). \tag*{(26)}

Proof. By Jury’s test, {e=0}\{e = 0\} is exponentially stable if and only if

bˉhki>0,(27)\bar{b}hk_i > 0, \tag*{(27)}
bˉ(2kP+hki)<2(1+pˉ),(28)\bar{b}(2k_P + hk_i) < 2(1 + \bar{p}), \tag*{(28)}
∣pˉ−bˉkP∣<1.(29)\lvert\bar{p} - \bar{b}k_P \rvert< 1. \tag*{(29)}

These are the well-known necessary and sufficient conditions for the stability of discrete-time first-order SISO LTI systems under the PI controller. The conditions (24)-(25)-(26) are these same conditions written in the original coefficients pp and bb, instead of pˉ\bar{p} and bˉ\bar{b}.

Using the definition of bˉ\bar{b} in (5), we conclude that (27) is equivalent to (24).

Next, using (5), note that (28) can be rewritten as

b[∫0hep(h−θ) dθ](2kP+hki)<2(1+eph).(30)b\left[\int_0^h e^{p(h-\theta)}\,d\theta\right](2k_P + hk_i) < 2(1 + e^{ph}). \tag*{(30)}

If p=0p = 0, then (30) becomes

bh(2kP+hki)<4,(31)bh(2k_P + hk_i) < 4, \tag*{(31)}

which is (25) since c(0)=2c(0) = 2. If p≠0p \ne0, then

∫0hep(h−θ) dθ=eph−1p.(32)\int_0^h e^{p(h-\theta)}\,d\theta= \frac{e^{ph} - 1}{p}. \tag*{(32)}

Hence, (30) becomes

beph−1p(2kP+hki)<2(1+eph).(33)b\frac{e^{ph} - 1}{p}(2k_P + hk_i) < 2(1 + e^{ph}). \tag*{(33)}

If p>0p > 0, then eph−1>0e^{ph} - 1 > 0. If p<0p < 0, then eph−1<0e^{ph} - 1 < 0. Hence, regardless of the sign of pp, we have

eph−1p>0.(34)\frac{e^{ph} - 1}{p} > 0. \tag*{(34)}

As a result, (33) becomes

b(2kP+hki)<2peph+1eph−1=2pcoth⁡(ph2)=2hc(ph),(35)\begin{aligned} b(2k_P + hk_i) &< 2p\frac{e^{ph} + 1}{e^{ph} - 1} \\ &= 2p\coth\left(\frac{ph}{2}\right) \\ &= \frac{2}{h}c(ph), \tag*{(35)} \end{aligned}

which is (25).

Finally, (29) can be rewritten as

−1+pˉ<bˉkP<1+pˉ.(36)-1 + \bar{p} < \bar{b}k_P < 1 + \bar{p}. \tag*{(36)}

If p=0p = 0, then (36) becomes

0<bhkP<2,(37)0 < bhk_P < 2, \tag*{(37)}

which is (26). If p≠0p \ne0, then (36) becomes

−1+eph<beph−1pkP<1+eph.(38)-1 + e^{ph} < b\frac{e^{ph} - 1}{p}k_P < 1 + e^{ph}. \tag*{(38)}

Hence,

p<bkP<c(ph)h(39)p < bk_P < \frac{c(ph)}{h} \tag*{(39)}

which is (26).

Additionally, since the characteristic polynomial is of degree 2, we can derive an explicit relation between the poles of the closed-loop system and the gains kPk_P and kik_i. Indeed, writing (22) as

χ(z)=(z−z1)(z−z2)=z2−(z1+z2)z+z1z2,\chi(z) = (z-z_1)(z-z_2) = z^2 - (z_1+z_2)z + z_1z_2,

where z1z_1 and z2z_2 are the two poles of the closed-loop system, and identifying the coefficients with those of (22), directly yields the following result.

Proposition 4: Consider the system (1)–(5) under the PI controller (18)-(19). The poles of the closed-loop system are z1z_1 and z2z_2 (real, or complex conjugate) if and only if

kP=pˉ−z1z2bˉ,(40)k_P = \frac{\bar{p} - z_1z_2}{\bar{b}}, \tag*{(40)}
ki=(1−z1)(1−z2)bˉh.(41)k_i = \frac{(1-z_1)(1-z_2)}{\bar{b}h}. \tag*{(41)}

As a consequence, if we want to stabilize the origin at a prescribed decay rate λχ>0\lambda_\chi> 0, we can set z1=e−λχhz_1 = e^{-\lambda_\chi h}, then select any z2z_2 real with ∣z2∣<z1\lvert z_2\rvert< z_1, and finally chose the gains kPk_P and kik_i such that (40)-(41) hold. This is the usual pole placement method.

iP controller

There are several ways to explain the iP controller in continuous time. One way is as follows. One starts by selecting some constant α≠0\alpha\ne0, and then defining

F(t):=y˙(t)−αu(t).(42)F(t) := \dot{y}(t) - \alpha u(t). \tag*{(42)}

Rearranging the terms, we obtain the so-called ultra-local model

y˙(t)=F(t)+αu(t).(43)\dot{y}(t) = F(t) + \alpha u(t). \tag*{(43)}

Note that this definition does not require us to know anything about the system, beyond the fact that it has a control input u(t)u(t) and an output y(t)y(t). The function FF lumps together everything that is unknown about the system. For example, in the particular case of the first-order system (1), we have

F(t)=py(t)+(b−α)u(t).(44)F(t) = py(t) + (b-\alpha)u(t). \tag*{(44)}

The iP controller then takes, in continuous time, the form

u(t):=−1α(F^(t)+KPe(t)),(45)u(t) := -\frac{1}{\alpha}\left(\hat{F}(t) + K_P e(t)\right), \tag*{(45)}

where F^\hat{F} is an estimate of FF, and KP≠0K_P \ne0 is a controller gain. The closed-loop system then becomes

y˙(t)=−KPe(t)+F(t)−F^(t),(46)\dot{y}(t) = -K_Pe(t) + F(t) - \hat{F}(t), \tag*{(46)}

and, using the fact that y∗y^* is constant, we get

e˙(t)=−KPe(t)+F(t)−F^(t).(47)\dot{e}(t)=-K_Pe(t)+F(t)-\hat{F}(t). \tag*{(47)}

If the estimate F^\hat{F} were perfect, in the sense that F−F^≡0F-\hat{F}\equiv0, then we would have e˙(t)=−KPe(t)\dot{e}(t)=-K_Pe(t), which would yield exponential stability of {e=0}\{e=0\} in continuous time if and only if KP>0K_P>0.

The discrete form of (45) is

uk:=−1α(F^k+KPek)∀k∈N.(48)u_k:=-\frac{1}{\alpha}\left(\hat{F}_k+K_Pe_k\right)\quad\forall k\in\mathbb{N}. \tag*{(48)}

The simplest way to design F^k\hat{F}_k is

F^k:=yk−yk−1h−αuk−1∀k∈N∗,F^0∈R.(49)\hat{F}_k:=\frac{y_k-y_{k-1}}{h}-\alpha u_{k-1}\quad\forall k\in\mathbb{N}^*,\qquad\hat{F}_0\in\mathbb{R}. \tag*{(49)}

The motivation behind this design of F^k\hat{F}_k is that, formally speaking, if hh is ”very small”, then by (42) we have F^k≈Fk−1\hat{F}_k\approx F_{k-1} for k∈N∗k\in\mathbb{N}^*, and if FF ”does not vary too quickly”, then Fk−F^k≈Fk−Fk−1≈0F_k-\hat{F}_k\approx F_k-F_{k-1}\approx0 for k∈N∗k\in\mathbb{N}^*.

Stability analysis under the iP controller

Main results

The iP controller (48)-(49) can be rewritten as

uk+1=−1α(F^k+1+KPek+1)=−1α(yk+1−ykh−αuk+KPek+1)=−1α(ek+1−ekh−αuk+KPek+1)∀k∈N,\begin{aligned} u_{k+1}&=-\frac{1}{\alpha}\left(\hat{F}_{k+1}+K_Pe_{k+1}\right)\\ &=-\frac{1}{\alpha}\left(\frac{y_{k+1}-y_k}{h}-\alpha u_k+K_Pe_{k+1}\right)\\ &=-\frac{1}{\alpha}\left(\frac{e_{k+1}-e_k}{h}-\alpha u_k+K_Pe_{k+1}\right)\quad\forall k\in\mathbb{N}, \end{aligned}

where we have used the fact that yk+1−yk=ek+1−eky_{k+1}-y_k=e_{k+1}-e_k since y∗y^* is constant. Hence,

uk+1−uk=−KPαek+1−ek+1−ekαh∀k∈N.(50)u_{k+1}-u_k=-\frac{K_P}{\alpha}e_{k+1}-\frac{e_{k+1}-e_k}{\alpha h}\quad\forall k\in\mathbb{N}. \tag*{(50)}

As a consequence, (9) holds with

K(q):=(KPα+1αh)q−1αh.(51)K(q):=\left(\frac{K_P}{\alpha}+\frac{1}{\alpha h}\right)q-\frac{1}{\alpha h}. \tag*{(51)}

The corresponding characteristic polynomial is given by

χ(q)=(q−pˉ)(q−1)+bˉ[(KPα+1αh)q−1αh]=q2+[bˉ(KPα+1αh)−1−pˉ]q+pˉ−bˉαh.(52)\begin{aligned} \chi(q)&=(q-\bar{p})(q-1)+\bar{b}\left[\left(\frac{K_P}{\alpha}+\frac{1}{\alpha h}\right)q-\frac{1}{\alpha h}\right]\\ &=q^2+\left[\bar{b}\left(\frac{K_P}{\alpha}+\frac{1}{\alpha h}\right)-1-\bar{p}\right]q+\bar{p}-\frac{\bar{b}}{\alpha h}. \tag*{(52)} \end{aligned}

Comparing (22) with (52), we find that the PI and iP controllers yield the same characteristic polynomial for the closed-loop system if and only if

pˉ−kPbˉ=pˉ−bˉαh,\bar{p}-k_P\bar{b}=\bar{p}-\frac{\bar{b}}{\alpha h},
kibˉ+kPbˉ−1−pˉ=bˉ(KPα+1αh)−1−pˉ.(53)k_i\bar{b}+k_P\bar{b}-1-\bar{p}=\bar{b}\left(\frac{K_P}{\alpha}+\frac{1}{\alpha h}\right)-1-\bar{p}. \tag*{(53)}

That is, if and only if

kP=1αh,ki=KPαh.(54)k_P=\frac{1}{\alpha h},\qquad k_i=\frac{K_P}{\alpha h}. \tag*{(54)}

The equivalence between the discrete-time PI and iP controllers through (54) has already been observed in [8].

However, in that reference, this equivalence was used to explain the ubiquity of the PI controller in practice, given that it is equivalent to an iP controller whose performance may be intuitively explained by the heuristics presented in Section III-D. To the best of our knowledge, this equivalence has never been used in the opposite direction, namely, to study the stability of the iP controller using existing results for the PI controller. In particular, we are interested in the following question:

If the iP and PI are two parametrizations of the same controller, why use an iP rather than a PI?

This paper is a first step towards answering this question. Using Proposition 3, we can establish the

Theorem 1: Consider the system (1)–(5) under the iP controller (48)-(49). Furthermore, let

ρ:=bα,(55)\rho:=\frac{b}{\alpha}, \tag*{(55)}

and cc be defined according to (23). The origin {e=0}\{e=0\} is exponentially stable if and only if

ρKP>0,(56)\rho K_P>0, \tag*{(56)}
ρ(2+hKP)<2c(ph),(57)\rho(2+hK_P)<2c(ph), \tag*{(57)}
ph<ρ<c(ph).(58)ph<\rho<c(ph). \tag*{(58)}

Proof. Using Proposition 3 and the equivalence of the PI and iP controllers through (54), we conclude that the origin {e=0}\{e=0\} under the iP controller is exponentially stable if and only if

bhKPαh>0,(59)bh\frac{K_P}{\alpha h}>0, \tag*{(59)}
bh(2αh+hKPαh)<2c(ph),(60)bh\left(\frac{2}{\alpha h}+h\frac{K_P}{\alpha h}\right)<2c(ph), \tag*{(60)}
ph<bh1αh<c(ph).(61)ph<bh\frac{1}{\alpha h}<c(ph). \tag*{(61)}

Clearly, (59) is (56), (60) is (57), and (61) is (58). ■

Our second main result is

Theorem 2: Consider the system (1)–(5) under the iP controller (48)-(49), and let ρ\rho be defined according to (55). Furthermore, assume that

0<ρ<2,KP>0.(62)0<\rho<2,\qquad K_P>0. \tag*{(62)}

Then, there exists h0>0h_0>0 such that, for every h∈(0,h0)h\in(0,h_0), the characteristic polynomial χ\chi in (52) has two real roots zf(h)z_f(h) and zs(h)z_s(h) satisfying

zf(h)=1−ρ+O(h)(fast pole),(63)z_f(h)=1-\rho+O(h)\qquad\text{(fast pole)}, \tag*{(63)}

and

zs(h)=1−hKP+O(h2)(slow pole).(64)z_s(h)=1-hK_P+O(h^2)\qquad\text{(slow pole)}. \tag*{(64)}

Moreover, after possibly decreasing h0h_0, one has

∣zf(h)∣<zs(h)<1,∀h∈(0,h0).(65)|z_f(h)|<z_s(h)<1,\qquad\forall h\in(0,h_0). \tag*{(65)}

Consequently, the spectral radius is

rχ(h)=zs(h),(66)r_{\chi}(h)=z_s(h), \tag*{(66)}

and the corresponding decay rate is

λχ(h)=KP+O(h).(67)\lambda_{\chi}(h) = K_{P} + O(h). \tag*{(67)}

In particular,

lim⁡h→0+λχ(h)=KP.(68)\lim_{h\to0^{+}} \lambda_{\chi}(h) = K_{P}. \tag*{(68)}

Proof. We first write the characteristic polynomial in (52) in a form that is convenient for studying the limit as h→0h \to0.

Introduce

φ(h):=eph−1phif ph≠0,φ:=1if ph=0.(69)\varphi(h) := \frac{e^{ph}-1}{ph}\quad\text{if } ph \ne0,\qquad\varphi:= 1\quad\text{if } ph = 0. \tag*{(69)}

Then, from (5), we have

bˉ=bhφ(h),(70)\bar{b} = bh\varphi(h), \tag*{(70)}

and therefore

bˉαh=ρφ(h),bˉKPα=ρhKPφ(h).(71)\frac{\bar{b}}{\alpha h} = \rho\varphi(h),\qquad\frac{\bar{b}K_{P}}{\alpha} = \rho hK_{P}\varphi(h). \tag*{(71)}

Using (52), we consequently have

χ(z)=z2+[ρφ(h)(1+hKP)−1−eph]z+eph−ρφ(h).\chi(z) = z^{2} + \left[\rho\varphi(h)(1+hK_{P})-1-e^{ph}\right]z+e^{ph}-\rho\varphi(h).

We write χh(z):=χ(z)\chi_{h}(z):=\chi(z) to insist on the dependence of χ\chi on hh. Since ephe^{ph} and φ(h)\varphi(h) are analytic in hh around h=0h=0, the function

Φ(z,h)=χh(z)(72)\Phi(z,h)=\chi_{h}(z) \tag*{(72)}

is analytic in (z,h)(z,h) around h=0h=0. Moreover,

eph=1+ph+O(h2),(73)e^{ph}=1+ph+O(h^{2}), \tag*{(73)}

and

φ(h)=1+p2h+O(h2).(74)\varphi(h)=1+\frac{p}{2}h+O(h^{2}). \tag*{(74)}

Hence

χh(z)=z2+(ρ−2)z+1−ρ+O(h).(75)\chi_{h}(z)=z^{2}+(\rho-2)z+1-\rho+O(h). \tag*{(75)}

Therefore, at h=0h=0,

χ0(z)=z2+(ρ−2)z+1−ρ=(z−1)(z−(1−ρ)).(76)\begin{aligned} \chi_{0}(z)=z^{2}+(\rho-2)z+1-\rho\\ &=(z-1)(z-(1-\rho)). \tag*{(76)} \end{aligned}
{#eq:77}

Thus, the limiting characteristic polynomial has two distinct roots,

z=1−ρ(77)z=1-\rho \tag*{(77)}

and

z=1.(78)z=1. \tag*{(78)}

We first study the root 1−ρ1-\rho. Since

Φ(1−ρ,0)=0,(79)\Phi(1-\rho,0)=0, \tag*{(79)}

we compute

∂zΦ(1−ρ,0)=2(1−ρ)+ρ−2=−ρ.(80)\begin{aligned} \partial_{z}\Phi(1-\rho,0)=2(1-\rho)+\rho-2 \\ &=-\rho. \tag*{(80)} \end{aligned}
{#eq:82}

The assumption ρ>0\rho>0 therefore gives

∂zΦ(1−ρ,0)≠0.(81)\partial_{z}\Phi(1-\rho,0)\ne0. \tag*{(81)}

The implicit function theorem implies that there exist hf>0h_{f}>0 and a unique analytic function zf(h)z_{f}(h) defined for h∈(−hf,hf)h\in(-h_{f},h_{f}) such that

zf(0)=1−ρ(82)z_{f}(0)=1-\rho \tag*{(82)}

and

Φ(zf(h),h)=0∀h∈(−hf,hf).(83)\Phi(z_{f}(h),h)=0\quad\forall h\in(-h_{f},h_{f}). \tag*{(83)}

Since zfz_{f} is analytic in a neighborhood of h=0h=0 (because Φ\Phi is analytic around h=0h=0), it admits a Taylor expansion of the form

zf(h)=zf(0)+zf′(0)h+O(h2)=1−ρ+O(h).(84)\begin{aligned} z_{f}(h)=z_{f}(0)+z_{f}'(0)h+O(h^{2}) \\ &=1-\rho+O(h). \tag*{(84)} \end{aligned}
{#eq:87}

Since 0<ρ<20<\rho<2, we have

∣1−ρ∣<1.(85)|1-\rho|<1. \tag*{(85)}

Hence, by continuity of h↦zf(h)h\mapsto z_{f}(h), there exist ε>0\varepsilon>0 and h1>0h_{1}>0 such that

∣zf(h)∣<1−ε∀h∈(0,h1).(86)|z_{f}(h)|<1-\varepsilon\quad\forall h\in(0,h_{1}). \tag*{(86)}

Thus, the fast pole remains uniformly separated from the unit circle for sufficiently small hh.

We now study the root z=1z=1. The previous argument does not directly give its first-order behavior because this root approaches the unit circle as hh tends to zero. We therefore introduce the rescaling

G(s,h)=1hχh(1+hs)∀(h,s)∈R∗×R.(87)G(s,h)=\frac{1}{h}\chi_{h}(1+hs)\quad\forall(h,s)\in\mathbb{R}^{*}\times\mathbb{R}. \tag*{(87)}

Substituting the expression of χh\chi_{h} gives

hG(s,h)=(1+hs)2+[ρφ(h)(1+hKP)−1−eph](1+hs)+eph−ρφ(h)=1+h2s2+2hs+ρφ(h)(1+hKP)(1+hs)−(1+eph)(1+hs)+eph−ρφ(h)=ρφ(h)h(s+KP+hsKP)+hs(1+hs−eph).\begin{aligned} hG(s,h)={}&(1+hs)^{2}+\left[\rho\varphi(h)(1+hK_{P})-1-e^{ph}\right](1+hs)\\ &+e^{ph}-\rho\varphi(h)\\ ={}&1+h^{2}s^{2}+2hs+\rho\varphi(h)(1+hK_{P})(1+hs)\\ &-(1+e^{ph})(1+hs)+e^{ph}-\rho\varphi(h)\\ ={}&\rho\varphi(h)h(s+K_{P}+hsK_{P})+hs(1+hs-e^{ph}). \end{aligned}

Hence,

G(s,h)=ρφ(h)(s+KP+hsKP)+s(1+hs−eph).G(s,h)=\rho\varphi(h)(s+K_{P}+hsK_{P})+s(1+hs-e^{ph}).

Since φ\varphi and the exponential function are analytic around h=0h=0, the right-hand side defines an analytic function of (s,h)(s,h) in a neighborhood of h=0h=0. We henceforth use GG to denote this analytic extension, which is obtained by evaluating the above expression also at h=0h=0. In particular, since φ(0)=1\varphi(0)=1, we have

G(s,0)=ρ(s+KP).(88)G(s,0)=\rho(s+K_{P}). \tag*{(88)}

Consequently,

G(−KP,0)=0.(89)G(-K_{P},0)=0. \tag*{(89)}

Moreover,

∂sG(−KP,0)=ρ≠0.(90)\partial_s G(-K_P,0)=\rho\ne0. \tag*{(90)}

The implicit function theorem therefore gives hs>0h_s>0 and a unique analytic function s(h)s(h) defined for h∈(−hs,hs)h\in(-h_s,h_s) such that

s(0)=−KP(91)s(0)=-K_P \tag*{(91)}

and

G(s(h),h)=0∀h∈(−hs,hs).(92)G(s(h),h)=0\quad\forall h\in(-h_s,h_s). \tag*{(92)}

Hence,

s(h)=−KP+O(h).(93)s(h)=-K_P+O(h). \tag*{(93)}

Returning to the original variable zz, we have

zs(h)=1+hs(h)(94)z_s(h)=1+hs(h) \tag*{(94)}
=1−hKP+O(h2).(95)=1-hK_P+O(h^2). \tag*{(95)}

Since KP>0K_P>0, it follows that

zs(h)<1(96)z_s(h)<1 \tag*{(96)}

for all sufficiently small positive hh. Moreover, since zs(h)z_s(h) tends to 1, we also have

zs(h)>0(97)z_s(h)>0 \tag*{(97)}

for all sufficiently small positive hh. Therefore,

∣zs(h)∣=zs(h).(98)|z_s(h)|=z_s(h). \tag*{(98)}

We now compare the two poles. From the first part of the proof,

∣zf(h)∣<1−ε(99)|z_f(h)|<1-\varepsilon \tag*{(99)}

for sufficiently small hh, whereas

zs(h)⟶1.(100)z_s(h)\longrightarrow1. \tag*{(100)}

Consequently, after possibly decreasing h0h_0, we have

∣zf(h)∣<zs(h)<1∀h∈(0,h0).(101)|z_f(h)|<z_s(h)<1\quad\forall h\in(0,h_0). \tag*{(101)}

Thus, for every h∈(0,h0)h\in(0,h_0), the spectral radius is determined by the slow pole

rχ(h)=max⁡{∣zf(h)∣,∣zs(h)∣}(102)r_\chi(h)=\max\{|z_f(h)|,|z_s(h)|\} \tag*{(102)}
=zs(h).(103)=z_s(h). \tag*{(103)}

Using the expansion of the slow pole, we obtain

rχ(h)=1−hKP+O(h2).(104)r_\chi(h)=1-hK_P+O(h^2). \tag*{(104)}

It remains to study the decay rate. By definition,

λχ(h)=−1hln⁡(rχ(h)).(105)\lambda_\chi(h)=-\frac{1}{h}\ln\left(r_\chi(h)\right). \tag*{(105)}

Since rχ(h)=1−hKP+O(h2)r_\chi(h)=1-hK_P+O(h^2), the expansion

ln⁡(1+x)=x+O(x2)(106)\ln(1+x)=x+O(x^2) \tag*{(106)}

with

x=−hKP+O(h2)(107)x=-hK_P+O(h^2) \tag*{(107)}

gives

ln⁡(rχ(h))=−hKP+O(h2).(108)\ln\left(r_\chi(h)\right)=-hK_P+O(h^2). \tag*{(108)}

Consequently,

λχ(h)=−1h(−hKP+O(h2))(109)\lambda_\chi(h)=-\frac{1}{h}\left(-hK_P+O(h^2)\right) \tag*{(109)}
=KP+O(h).(110)=K_P+O(h). \tag*{(110)}

Therefore,

lim⁡h→0+λχ(h)=KP,(111)\lim_{h\to0^+}\lambda_\chi(h)=K_P, \tag*{(111)}

which concludes the proof. ■

Interpretation of the main results

The iP controller, and more generally, iPID controllers, are usually presented in the literature as being model-free, in the sense that their tuning does not require knowledge of the system dynamics. Certainly, the iP law (48)–(49) uses only the measured output, the previous input, and the three numbers α\alpha, KPK_P and hh. Neither pp nor bb enters its implementation. However, the same is true for the PI controller: we can choose any values of kPk_P and kik_i. Yet, to ensure stability, the tuning requires some knowledge of the system parameters pp and bb, either for the PI controller (through Proposition 3) or for the iP controller (through Theorem 1). In particular, the condition (56) requires the designer to know the control direction sign⁡(b)\operatorname{sign}(b). Indeed, if sign⁡(α)=sign⁡(b)\operatorname{sign}(\alpha)=\operatorname{sign}(b), then ρ>0\rho>0, and we must have KP>0K_P>0. Otherwise, if sign⁡(α)=−sign⁡(b)\operatorname{sign}(\alpha)=-\operatorname{sign}(b), then ρ<0\rho<0 and we must instead have KP<0K_P<0. Hence, we distinguish between two cases:

  • Case 1 (ρ<0\rho<0 and KP<0K_P<0). The left inequality in (58) can hold only if

ph<ρ<0,(112)ph<\rho<0, \tag*{(112)}

that is, only if p<0p<0 and the sampling period satisfies

h>ρp.(113)h>\frac{\rho}{p}. \tag*{(113)}

Hence, we need knowledge of ρ/p\rho/p to ensure that the sampling period is not chosen too small. The right inequality in (58) then holds for free, since c(x)≥2>0c(x)\ge2>0 for all x∈Rx\in\mathbb{R}. Condition (57) also holds as long as h∣KP∣≤2h|K_P|\le2, otherwise, it requires ∣ρ∣(h∣KP∣−2)<2c(p)|\rho|(h|K_P|-2)<2c(p). This case reveals some limitations of the heuristic in Section III-D, which suggests always choosing KP>0K_P>0 regardless of α\alpha, since in the limit h→0h\to0, α\alpha disappears and one obtains ε=−KP\varepsilon=-K_P. This explains the restriction (113) on the sampling period in this case.

  • Case 2 (ρ>0\rho>0 and KP>0K_P>0). Since c(x)≥2c(x)\ge2 for all x∈Rx\in\mathbb{R}, the condition (57) can be enforced without knowledge of pp by letting

ρ(2+hKP)<4.\rho(2+hK_P)<4.

However, this requires knowledge of an upper bound on bb, since ρ=b/α\rho=b/\alpha. For the third condition (58), it then holds for free if p≤0p\le0, so no knowledge of the size of pp is needed (note, however, that in this case, the traditional PI controller does not require knowledge of pp either). However, if p>0p>0, then we must choose the sampling period sufficiently small, so that

h<ρp.(114)h < \frac{\rho}{p}. \tag*{(114)}

Interestingly, for the PI controller, instead of choosing a small sampling period, we would need to choose a sufficiently large gain kPk_P to satisfy (26). Hence, by reparametrizing the PI controller as an iP, we have transferred the problem from selecting a high gain to using a fast sampling rate to ensure stability.

Obviously, since we are dealing with linear systems, we do not distinguish between local and global exponential stability: if {e=0}\{e=0\} is not exponentially stable, then it is not locally exponentially stable.

In summary, the practical difference between the PI and iP controllers lies in the tuning variable. With a PI controller, the practitioner adjusts the gains at a fixed sampling period. With the iP controller, the practitioner may keep α\alpha and KPK_P fixed and decrease the sampling period.

It is interesting to note that the two tuning philosophies also differ in terms of convergence rate, in light of Theorem 2. For the PI controller, if we keep kPk_P and kik_i fixed and decrease the sampling period, the decay rate converges to that of the continuous-time closed loop, determined by the roots of s2+(bkP−p)s+bkis^2+(bk_P-p)s+bk_i, which depend on pp and bb. In contrast, for the iP controller with α\alpha and KPK_P fixed and 0<ρ<20<\rho<2, the decay rate converges to KPK_P as h→0h\to0. Hence, in this limiting sense, the dominant decay rate can be prescribed by choosing KPK_P, using only the sign of bb and an upper bound on ∣b∣|b|, without knowledge of pp. Certainly, this analysis does not take into consideration measurement noise, which would enforce some lower-bound on hh.

Numerical experiments

All experiments use the plant (1) with y(0)=0y(0)=0 and the reference y∗=1y^*=1. The control input is held constant on each sampling interval, and the output between sampling instants is obtained from the exact solution of (1). Both controllers are implemented exactly as in (18)–(19) and (48)–(49), with the initializations I0=0I_0=0 and F^0=0\hat{F}_0=0. The regulation error ∣y(t)−y∗∣|y(t)-y^*| is plotted in logarithmic scale. On such a plot, an exponentially decaying error eventually becomes a straight line whose slope is minus the decay rate, so that the convergence rate can be read directly from the trajectories. The decay rates quoted below and in the tables are nevertheless not estimated from the curves: they are computed from the roots of the characteristic polynomial (22) or (52) as λx=−ln⁡(rx)/h\lambda_x=-\ln(r_x)/h.

Fixed parameters and decreasing sampling period

The first experiment uses the open-loop unstable plant corresponding to p=b=1p=b=1. The PI gains are kP=7k_P=7 and ki=5k_i=5, so that the continuous-time closed-loop characteristic polynomial is

s2+(bkP−p)s+bki=s2+6s+5=(s+1)(s+5).(115)s^2+(bk_P-p)s+bk_i=s^2+6s+5=(s+1)(s+5). \tag*{(115)}

Its slowest root is −1-1, and the continuous-time decay rate is λPI,ct=1\lambda_{\mathrm{PI,ct}}=1. The iP controller uses α=−1\alpha=-1 and KP=2K_P=2, so that ρ=1\rho=1 and the assumptions of Theorem 2 hold. All parameters are kept fixed while the sampling period decreases.

Figure 1(a) shows that the regulation error under the PI controller converges, as hh decreases, to the regulation error of the continuous-time PI loop (circles). After a short transient, all curves become straight lines with slope −1-1, the slowest root of (118). The notch near t≈0.27t\approx0.27 is a sign change of the error, caused by the overshoot: the continuous-time error is 0.5e−t−1.5e−5t0.5e^{-t}-1.5e^{-5t}, so the fast mode dominates initially and the slow mode afterwards. Table I quantifies this convergence. The decay rate of the PI loop increases from 0.925 at h=0.1h=0.1 to 0.999 at h=0.001h=0.001 and tends to λPI,ct=1\lambda_{\mathrm{PI,ct}}=1. This limit is determined by the gains and by the plant parameters pp and bb through (118).

hhλPI(h)\lambda_{\mathrm{PI}}(h)λiP(h)\lambda_{\mathrm{iP}}(h)
0.20.86715.4204
0.10.92492.5612
0.050.95962.2319
0.020.98312.0846
0.010.99142.0411
0.0050.99572.0203
0.0010.99912.0040
h→0+h\to0^+λPI,ct=1\lambda_{\mathrm{PI,ct}}=1KP=2K_P=2

Table I. Experiment 1 (p=b=1p=b=1): exact decay rates λχ(h)=−ln⁡(rχ(h))/h\lambda_\chi(h)=-\ln(r_\chi(h))/h of the PI loop (kP=7k_P=7, ki=5k_i=5) and of the iP loop (α=1\alpha=1, KP=2K_P=2).

Figure 1. Experiment 1: p=b=1p=b=1, fixed parameters, decreasing hh. (a) Regulation error of the PI loop (kP=7k_P=7, ki=5k_i=5); circles: continuous-time PI loop, whose slowest root is −1-1. (b) Regulation error of the iP loop (α=1\alpha=1, KP=2K_P=2); circles: e−KPte^{-K_Pt}. (c), (d) Control inputs; thin line: −py∗/b=−1-py^*/b=-1. The legends give the exact decay rates λχ\lambda_\chi computed from the closed-loop characteristic polynomials.

Fig. 1(b) shows the regulation error under the iP controller. We can observe straight lines almost from t=0t=0, because, with the initialization F^0=0\hat{F}_0=0 and y(0)=0y(0)=0, the fast mode is only weakly excited. Their slopes decrease towards KP=2K_P=2 as hh decreases: the exact decay rate is 2.561 at h=0.1h=0.1, 2.020 at h=0.005h=0.005, and 2.004 at $h=0.001. This is the content of Theorem 2: with α\alpha and KPK_P fixed, the limiting decay rate is KPK_P, a parameter that is chosen directly without knowledge of pp and bb.

The control inputs in Figure 1(c)–(d) converge to −py∗/b=−1-py^*/b=-1, the input that holds the plant at y=1y=1. The PI input starts at u0=kP∣e0∣=7u_0=k_P|e_0|=7, which reflects the proportional action on the initial error, whereas the iP input starts at u0=KP∣e0∣/α=2u_0=K_P|e_0|/\alpha=2. As hh decreases, the iP input approaches −1+3e−2t-1+3e^{-2t}, which is exactly the input for which the plant follows e˙=−KPe\dot{e}=-K_Pe from y(0)=0y(0)=0. In both cases the inputs are bounded and depend only weakly on hh in this noise-free setting.

Small sampling period and different plants

The second experiment keeps h=0.01h=0.01 and all controller parameters fixed, and varies the open-loop pole: p∈{−2,0,1,2}p\in\{-2,0,1,2\} with b=1b=1. All closed loops are exponentially stable. For p=2p=2, the iP controller requires h<ρ/p=0.5h<\rho/p=0.5, which holds.

In Fig. 2(a), the PI errors decay with clearly different slopes. Their decay rates follow the slowest root of s2+(7−p)s+5s^2+(7-p)s+5, which equals 0.595, 0.807, 1 and 1.382 for the four plants. The exact sampled-data rates are 0.593, 0.803, 0.991 and 1.354 (Table II). With fixed gains, the convergence rate of the PI loop is therefore a property of the plant as much as of the controller. Prescribing it requires knowledge of pp and bb, for instance through the pole-placement formulas (40)–(41).

In Figure 2(b), the four iP errors lie on the same straight line e−KPte^{-K_Pt}. Their exact decay rates are 1.980, 2.020, 2.041 and 2.062. They differ from KP=2K_P=2 by an amount of order hh that grows with pp, and they converge to KPK_P for every plant as hh decreases further. This is the most important observation of this section. With the same α\alpha and KPK_P, the decay rate of the iP loop is essentially the same for an open-loop stable, integrating or unstable plant, without any information on pp having been used.

Four-panel plots showing the effects of varying plant parameter p on PI and iP controllers

Figure 2. Experiment 2: h=0.01h=0.01, b=1b=1, p∈{−2,0,1,2}p\in\{-2,0,1,2\}, with the same controller parameters for every plant. (a) PI (kP=7k_P=7, ki=5k_i=5); the legend gives the slowest root of s2+(bkP−p)s+bkis^2+(bk_P-p)s+b k_i. (b) iP (α=1\alpha=1, KP=2K_P=2); the legend gives the exact decay rates; circles: e−KPte^{-K_Pt}. (c), (d) Control inputs.

The control inputs are depicted in Figure 2(c)–(Figure 2d). For both controllers, the input converges to the plant-dependent value −py∗/b-py^*/b, which equals 2, 0, −1-1 and −2-2. The iP input, however, adapts to the plant so that the error follows the same exponential in every case. For p=−2p=-2, the open-loop response of the plant to the constant input u=2u=2 is already y=1−e−2ty=1-e^{-2t}, so the iP input remains almost constant, within 0.02 of its initial value. The PI input, in contrast, starts with the same proportional kick u0=7u_0=7 for every plant and then follows plant-dependent transients.

Wrong control direction: ρ<0\rho< 0

The third experiment uses the open-loop stable plant corresponding to p=−1p=-1, b=1b=1, and an iP controller with α=−1\alpha=-1, so that ρ=b/α=−1\rho=b/\alpha=-1. By Theorem 1, condition (56) then requires KP<0K_P<0, and the left inequality in (58), ph<ρph<\rho, requires

h>ρp=1.(116)h>\frac{\rho}{p}=1. \tag*{(116)}

For this example, (57) and the right inequality in (58) hold for all hh. The iP loop is therefore unstable for every sampling period when KP>0K_P>0, and stable if and only if h>1h>1 when KP=−2K_P=-2. A sweep over h∈[0.01,10]h\in[0.01,10] confirmed both statements. Figure 3 shows three representative cases.

Figure 3. Experiment 3: iP controller with α=−1\alpha=-1 (ρ=−1\rho=-1) for the open-loop stable plant p=−1p=-1, b=1b=1. Top: regulation error; bottom: control input (thin line: −py∗/b=1-py^*/b=1). (a), (d) KP=2K_P=2, h=2h=2: unstable for every hh, since ρKP<0\rho K_P<0. (b), (e) KP=−2K_P=-2, h=0.5h=0.5: unstable, since h<ρ/p=1h<\rho/p=1. (c), (f) KP=−2K_P=-2, h=2h=2: stable, with decay rate λχ=0.142\lambda_\chi=0.142.

With KP=2K_P=2 and h=2h=2 (Figure 3(a),(Figure 3d)), the closed loop has the real pole z=3.115z=3.115. The error and the input diverge. The equivalence (54) explains why no sampling period can help: the equivalent PI gains satisfy bki=ρKP/h<0bk_i=\rho K_P/h<0, so the integral action has the wrong sign. Then χ(1)=bkih<0\chi(1)=bk_i h<0, and χ\chi has a real root larger than one for every hh.

With KP=−2K_P=-2, the integral action has the correct sign, bki=ρKP/h>0bk_i=\rho K_P/h>0, but the proportional action does not, since bkP=ρ/h=−1/h<0bk_P=\rho/h=-1/h<0. The loop therefore contains positive proportional feedback, and stability requires that the plant’s own damping dominate it: ∣bkP∣<∣p∣|bk_P|<|p|, that is, h>1h>1. For h=0.5h=0.5 (Figure 3(b),(Figure 3e)), bkP=−2bk_P=-2, the poles form a complex pair of modulus 1.18, and the error and the input diverge in an oscillatory manner. For h=2h=2 (Figure 3(c),(Figure 3f)), bkP=−0.5bk_P=-0.5, the poles have modulus 0.753, and the loop is stable: the error decays and the input converges to −py∗/b=1-py^*/b=1. The decay rate is only λχ=0.142\lambda_\chi=0.142, however, much slower than the open-loop rate ∣p∣=1|p|=1 of the plant, and the convergence is oscillatory.

This experiment shows that the small-sampling-period reasoning breaks down completely when the sign of α\alpha is wrong. As hh decreases, one pole tends to 1−ρ=21-\rho=2 whatever the sign of KPK_P. For instance, it equals 2.024 for KP=2K_P=2 and 1.944 for KP=−2K_P=-2 at h=0.01h=0.01. For KP<0K_P<0, the other pole also leaves the unit disc, since it behaves like 1−hKP>11-hK_P>1. The heuristic according to which the error decays e≈e−KPte\approx e^{-K_Pt} for small hh therefore fails. The only stable configurations with ρ<0\rho<0 require an open-loop stable plant, a negative KPK_P, and a sampling period larger than ρ/p\rho/p, which presupposes knowledge of pp. Even then, the resulting loop is slow. The control direction must be known for the iP controller, as for the PI controller.

ppλPI,ct\lambda_{\mathrm{PI,ct}}λPI(h=0.01)\lambda_{\mathrm{PI}}(h=0.01)λiP(h=0.01)\lambda_{\mathrm{iP}}(h=0.01)
−2-20.59490.59331.9799
00.80740.80322.0203
11.00000.99142.0411
21.38201.35362.0624

Table II. Experiment 2 (b=1b=1, h=0.01h=0.01): slowest root of s2+(bkP−p)s+bkis^2+(bk_P-p)s+bk_i and exact decay rates, with the same parameters for every plant (PI: kP=7k_P=7, ki=5k_i=5; iP: α=1\alpha=1, KP=2K_P=2).

Conclusion and research perspectives

This paper has compared discrete-time PI and iP controllers for a first-order linear plant under sampled-data implementation. At every fixed sampling period, the two controllers generate the same closed loops, and the exact stability conditions of the PI loop yield necessary and sufficient conditions for the iP loop. The two controllers differ in the tuning they suggest. With fixed gains, the decay rate of the PI loop tends, as the sampling period decreases, to a value that depends on the plant. With fixed α\alpha and KPK_P, the decay rate of the iP loop tends to KPK_P, provided that α\alpha has the sign of the input gain and does not underestimate its magnitude by a factor of two or more.

The author is currently investigating general discrete-time iPID controllers applied to second-order control systems.

References

  1. [1]I. D. Landau and Z. Gianluca, Digital control systems: design, identification and implementation. Springer, 2006.DOI
  2. [4]E. I. Jury, Theory and Application of the z-Transform Method. New York, NY, USA: Wiley, 1964.
  3. [5]M. Fliess and C. Join, “Model-free control and intelligent PID controllers: towards a possible trivialization of nonlinear control?” IFAC Proceedings Volumes, vol. 42, no. 10, pp. 1531–1550, 2009.arxiv.org/abs/0904.0322
  4. [6]———, “Model-free control,” International Journal of Control, vol. 86, no. 12, pp. 2228–2252, 2013.
  5. [7]C. Join, E. Delaleau, M. Fliess, and C. H. Moog, “Un résultat intriguant en commande sans modèle,” ISTE OpenScience Automatique, vol. 1, 2017, in French, arXiv:1711.02877.

Paper details

vlnc:W_g4p97b56
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents