<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">CS</journal-id><journal-title-group><journal-title>Circuits and Systems</journal-title></journal-title-group><issn pub-type="epub">2153-1285</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/cs.2014.51005</article-id><article-id pub-id-type="publisher-id">CS-42071</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Anti-Windup Digital Control Design for Time-Delayed Analog Nonlinear Systems Using Approximated Scalar Sign Function
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>arsame</surname><given-names>H. Ali</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yongpeng</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jian</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>John</surname><given-names>H. Fuller</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Leang-San</surname><given-names>Shieh</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Engineering Technology Department, Prairie View A &amp;amp; M University, Prairie View, USA</addr-line></aff><aff id="aff3"><addr-line>Electrical &amp;amp; Computer Engineering Department, University of Houston, Houston, USA</addr-line></aff><aff id="aff1"><addr-line>Electrical &amp;amp; Computer Engineering Department, Prairie View A &amp;amp; M University, Prairie View, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>whali@pvamu.edu(AHA)</email>;<email>ypzhang@pvamu.edu(YZ)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>10</day><month>01</month><year>2014</year></pub-date><volume>05</volume><issue>01</issue><fpage>27</fpage><lpage>37</lpage><history><date date-type="received"><day>November</day>	<month>4,</month>	<year>2013</year></date><date date-type="rev-recd"><day>December</day>	<month>4,</month>	<year>2013</year>	</date><date date-type="accepted"><day>December</day>	<month>11,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   This paper describes an approximated-scalar-sign-function-based anti-windup digital control design for analog nonlinear systems subject to input constraints. As input saturation occurs, the non-smooth saturation constraint is modeled with the approximated scalar sign function which is a smooth nonlinear function. The resulting nonlinear model is further linearized at any operating point with the optimal linearization technique, and Linear Quadratic Regulator (LQR) is then applied for a state-feedback controller optimal for each operating point. As input saturation is encountered, an iterative procedure is developed to adjust control gains by systematically updating LQR weighting matrices until the inputs lie within the saturation limits. Through global digital redesign, the analog LQR controller is converted to an equivalent digital one for keeping the essential control performance, and moreover, delay compensation is taken into account during digital redesign for compensating the potential time delays in a control loop. The swing-up and stabilization control of single rotary inverted pendulum system is used to illustrate and verify the proposed method. 
 
</p></abstract><kwd-group><kwd>Anti-Windup Control; Scalar Sign Function; Sampled-Data System; Time-Delayed System</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Various types of hardware limitations always exist in practical control systems with potential effects on the final control performance. A typical one encountered in practice is actuator saturation. For instance, as common actuation devices, motors have limited speed and torque range, power sources have output bounds, control valves cannot be more than fully open or fully closed, etc. As the control command is saturated at the top or bottom limit during actuator saturation, the control loop is broken and the controller loses the ability to regulate plant’s behavior for the time being. This phenomenon, called controller windup, may lead to significant degradation in control performance, such as long settling time, high overshoot or even instability [<xref ref-type="bibr" rid="scirp.42071-ref1">1</xref>].</p><p>In order to circumvent the windup effect, there exist many anti-windup approaches in the literature in the past decades. Most of them are proposed for linear systems, like the extensively-studied two-phase approach [1-4] (a nominal linear controller is first designed with the saturation constraints ignored and then a conditioning scheme is developed for reducing the windup effects of saturation) and Linear Matrix Inequalities (LMI)-based methods [5-7]. To the authors’ knowledge, however, few anti-windup approaches have been developed for nonlinear systems. The very limited efforts include the work of converting the physical constraint problem to a statedependent constraint problem through a coordinate transformation method [8,9], and those based on input-output linearization or feedback linearization [8-11].</p><p>This paper proposes an approximated-scalar-signfunction-based anti-windup technique for analog nonlinear systems with input constraints. As a non-differentiable function, sign function or absolute-value function has the inherent capability to describe the instantaneous jumps where the system model loses smoothness, so they commonly appear in many analytical models of nonsmooth nonlinearities, such as Bouc-Wen hysteresis model [12,13] and Stribeck friction model [<xref ref-type="bibr" rid="scirp.42071-ref14">14</xref>]. In this paper, sign function is used to represent the constrained input functions, capturing the instantaneous behavior as saturation occurs. In order to solve the non-differentiability due to sign function, approximated scalar sign function in [<xref ref-type="bibr" rid="scirp.42071-ref15">15</xref>] is utilized. Arising from the matrix sign function and the matrix sector function [15,16], the approximated scalar sign function is able to approximate the sign function in a smooth rational form with adjustable accuracy. Compared with other approximation techniques, like Hyperbolic tangent function, the approximated scalar sign function is stable in numerical evaluation. The constrained input functions represented with the approximated scalar sign function are differentiable, then optimal linearization in [<xref ref-type="bibr" rid="scirp.42071-ref17">17</xref>] is applied for the local linear model at any operating point and a state-feedback controller is developed via Linear Quadratic Regulator (LQR) for each point. As saturation occurs, an iterative procedure is developed to systematically adjust control gains by tuning the LQR weighting matrices until the saturation limits are not violated.</p><p>In addition to input constraints, time-delayed systems are another practical concern in the proposed design. This concern arises from the fact that in a sampled-data control system which is a popular control scheme nowadays due to the advance of computer technology, some fundamental operations like controller computation, A/D and D/A conversions, sensing and actuation etc, could cause time delays in the control loop. Another example is networked control systems where components communicate with each other through a real-time network, which inevitably causes transmission delays. Ignoring the delays in a control loop may lead to the failure of designed control so it is of practical interest to extend the developed anti-windup methodology to time-delayed systems. In this paper, the authors propose an input-delay-compensating digital redesign approach: an analog state-feedback controller is first designed in the delayfree case for the desired control performance; then a digital controller is obtained from the analog one through global digital redesign with the delay compensation considered. The resulting digital controller is able to maintain the essential control performance of the analog counterpart even in a time-delayed environment.</p><p>The rest of this paper is organized as follows. Section 2 introduces preliminary techniques used in the proposed anti-windup design, including approximated scalar sign function, optimal linearization and LQR. In Section 3, a global digital redesign method is developed for input delay compensation. The proposed anti-windup methodology is described in Section 4. Section 5 gives simulation results of proposed method on the swing up and stability control of single rotary inverted pendulum. Finally, the paper is concluded in Section 6.</p></sec><sec id="s2"><title>2. Preliminaries</title><p>The scalar sign function is defined in [<xref ref-type="bibr" rid="scirp.42071-ref18">18</xref>] as</p><disp-formula id="scirp.42071-formula115709"><label>(1)</label><graphic position="anchor" xlink:href="5-7600297\eb242111-cae4-4b27-8e21-b3825d15b6f1.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="5-7600297\84bfca70-1e33-4486-9070-7b4e71298a4f.jpg" />, <img src="5-7600297\2f061007-156a-48a1-8ebd-322dbf1032c9.jpg" />and <img src="5-7600297\b1b84e50-bcd2-4f3b-947d-e611cfb50188.jpg" />denotes the open lefthalf complex plane and the open right-half complex plane, respectively. It is noted that the imaginary axis <img src="5-7600297\e2e064fa-866b-4413-b58a-bd56742eafc4.jpg" /> is undefined in<img src="5-7600297\adb78b5b-e3df-45f6-84dd-0adb589ee4d3.jpg" />.</p><p>The scalar sign function has an alternative form in [<xref ref-type="bibr" rid="scirp.42071-ref15">15</xref>] as</p><disp-formula id="scirp.42071-formula115710"><label>(2)</label><graphic position="anchor" xlink:href="5-7600297\94adeb3a-c728-4be4-ade2-22ec80389e8e.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\e9242244-47b4-4c8f-a9f7-0b8765f362ec.jpg" /> and</p><disp-formula id="scirp.42071-formula115711"><label>(3)</label><graphic position="anchor" xlink:href="5-7600297\ce4429d6-e15e-49cb-ac01-76687655c04c.jpg"  xlink:type="simple"/></disp-formula><p>It is also reported in [<xref ref-type="bibr" rid="scirp.42071-ref15">15</xref>] that<img src="5-7600297\6bcd9103-eaaf-455e-a929-55264dfc7fad.jpg" />, called the principal square-root of<img src="5-7600297\0bff0dd0-8176-4967-bd21-69ce231ae67d.jpg" />, can be expanded into a continued fraction form as</p><disp-formula id="scirp.42071-formula115712"><label>(4)</label><graphic position="anchor" xlink:href="5-7600297\cc565957-cbb2-47fe-8f99-4425237a818f.jpg"  xlink:type="simple"/></disp-formula><p>and its j-th truncation can be written as</p><disp-formula id="scirp.42071-formula115713"><label>(5)</label><graphic position="anchor" xlink:href="5-7600297\d65cc677-6de7-4ead-8ca0-a84de380971d.jpg"  xlink:type="simple"/></disp-formula><p>It can be shown that the j-th truncation (5) gives the better approximation of (3) as the value of j approaches the infinity, i.e.</p><disp-formula id="scirp.42071-formula115714"><label>(6)</label><graphic position="anchor" xlink:href="5-7600297\f499eab8-cb67-43c6-b599-d0ee367e2b88.jpg"  xlink:type="simple"/></disp-formula><p>Replacing <img src="5-7600297\5a82f47f-9bf7-4e95-ba78-369a7cbd49d3.jpg" /> in (2) with the j-th truncation (5) yields the approximated scalar sign function for a complex number <img src="5-7600297\dd3e727a-edc9-4807-8398-2c7ff8826e2f.jpg" /> as</p><disp-formula id="scirp.42071-formula115715"><label>(7)</label><graphic position="anchor" xlink:href="5-7600297\c049b6aa-4bfa-4bee-8e30-b824de4a10dc.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\ca3fb049-4195-41c2-b92b-e424a67e17c2.jpg" /> which denotes the positive integer set. It can be inferred from (6) that (7) has the limit</p><disp-formula id="scirp.42071-formula115716"><label>(8)</label><graphic position="anchor" xlink:href="5-7600297\ba3537f2-5039-403e-9f57-e8de85f86612.jpg"  xlink:type="simple"/></disp-formula><p>Particularly, the approximated scalar sign function for a real number <img src="5-7600297\649ac849-d3cb-44c0-acd0-d8badd8f26c7.jpg" /> is</p><disp-formula id="scirp.42071-formula115717"><label>(9)</label><graphic position="anchor" xlink:href="5-7600297\84e5884a-6713-4190-911e-3b2a6f69164b.jpg"  xlink:type="simple"/></disp-formula><p>which has the limit</p><disp-formula id="scirp.42071-formula115718"><label>(10)</label><graphic position="anchor" xlink:href="5-7600297\140afc51-bb91-4ec4-a579-cdc10d28a45e.jpg"  xlink:type="simple"/></disp-formula><p>If the definition of scalar sign function for real numbers is extended to include zero, i.e.&#160;</p><disp-formula id="scirp.42071-formula115719"><label>(11)</label><graphic position="anchor" xlink:href="5-7600297\66337575-d28a-4446-89c7-ace9f47ed83b.jpg"  xlink:type="simple"/></disp-formula><p>then</p><disp-formula id="scirp.42071-formula115720"><label>, (12)</label><graphic position="anchor" xlink:href="5-7600297\97bfe893-fb3f-40c9-a181-8b0a0e8c8c5e.jpg"  xlink:type="simple"/></disp-formula><p>as<img src="5-7600297\229afbd9-4089-43f1-bafd-7efae1e532c8.jpg" />.</p><p>The concern of this paper is limited to the real number case (9) and the definition (11) is considered. Differentiating the approximated scalar sign function (9) with respect to the real number σ yields</p><disp-formula id="scirp.42071-formula115721"><label>(13)</label><graphic position="anchor" xlink:href="5-7600297\2b0325d2-becf-4c13-9ae9-893039c8d168.jpg"  xlink:type="simple"/></disp-formula><p>for<img src="5-7600297\d5e6faa8-4628-41c2-8a92-563572f5548d.jpg" />. It is easy to find that (13) is continuous everywhere, which proves the approximated scalar sign function (9) is differentiable everywhere.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>(a) gives a big scope of the evaluated approximated scalar sign function (9) for different values of j, and <xref ref-type="fig" rid="fig1">Figure 1</xref>(b) shows the figure detail near zero. The corresponding derivative (13) is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(a) and the figure detail near zero in <xref ref-type="fig" rid="fig2">Figure 2</xref>(b). It can be found from <xref ref-type="fig" rid="fig1">Figure 1</xref> that the larger the value of j is, the closer the curve of the approximated scalar sign function (9) approaches the one of the scalar sign function (11), so j is also called the approximation order in the following context. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows that the approximated scalar sign function (9) is differentiable everywhere because its derivative value is always finite with the largest one located at σ = 0, equal to the approximation order j.</p><p>By utilizing the approximated scalar sign function, an approximate model can be obtained for a non-smooth</p><p>dynamical system with sign function constraints, whose approximation accuracy can be adjusted with the approximation order j. Due to the smoothness and nonlinearity of the approximated scalar sign function, the resulting approximate model is still nonlinear, but differentiable everywhere, which makes possible the further local linearization.</p><p>Remark 1: As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, <img src="5-7600297\f22f9271-66ac-4758-8ab4-03fb8277f260.jpg" />for j is even. This property will be exploited in the proposed anti-windup method in Section IV.</p><p>Local linearization is a typical way of handling nonlinear systems and the most popular technique is Jacobian linearization [<xref ref-type="bibr" rid="scirp.42071-ref19">19</xref>]. However, as pointed out in [17,20], Jacobian Linearization usually produces an affine rather than linear model even at the equilibrium operating point. The only exception case is that the operating point is an equilibrium at the origin, which cannot be ensured throughout a nonlinear control process.</p><p>In order to circumvent the limitation of Jacobian linearization, Teixeira and Zak formulated linearization prob-</p><p>lem as a convex constrained optimization problem and proposed an optimal linearization approach in [<xref ref-type="bibr" rid="scirp.42071-ref17">17</xref>]. According to this approach, an optimal local linear model can be achieved at any operating point, which possesses the exact dynamics of the original nonlinear system at the operating point and minimum approximation error (in the least square sense) in the neighborhood of that point. Due to the space limit, only the final conclusions are briefed below.</p><p>Consider a general class of nonlinear system in the form</p><disp-formula id="scirp.42071-formula115722"><label>(14)</label><graphic position="anchor" xlink:href="5-7600297\8431ef86-c95b-4915-b18a-a46f2473e86a.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\49de9d25-44aa-47df-aecb-4e42db3e90ec.jpg" /> is the state vector, <img src="5-7600297\4bb4fbfd-92b7-40a2-a614-4dee4a0e2a78.jpg" />is the input vector, <img src="5-7600297\8f5dbce4-1b6d-45dd-86ab-b4538a294317.jpg" />with <img src="5-7600297\d8b88e52-cded-49e6-9f44-16089d4f1ccc.jpg" /> is a differentiable nonlinear function vector and <img src="5-7600297\0c5ebe1a-8ed5-422f-874e-4c56fab9b936.jpg" /> is a function matrix. Its optimal local linear model at an arbitrary operating point <img src="5-7600297\b2195422-9f8e-4d37-81e8-691cb2976740.jpg" /> is in the state-space form</p><disp-formula id="scirp.42071-formula115723"><label>(15)</label><graphic position="anchor" xlink:href="5-7600297\d160de5b-f15a-4544-b8ee-27ebc057c51a.jpg"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.42071-formula115724"><label>(16)</label><graphic position="anchor" xlink:href="5-7600297\d4d1b79a-b51e-4634-a3e4-7e9ab5722455.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115725"><label>(17)</label><graphic position="anchor" xlink:href="5-7600297\a7509cbd-4c5b-4645-a0de-9115f7372976.jpg"  xlink:type="simple"/></disp-formula><p><img src="5-7600297\d092eb78-8c4c-40cb-a06e-055069d3b009.jpg" />is the Jacobian matrix of <img src="5-7600297\05109521-f8e1-48e8-98fb-48612bc9c85f.jpg" /> evaluated at the operating point x<sub>k</sub>. It is noted that the case for x<sub>k</sub> = 0 in (16) agrees with the aforementioned exception case of the operating point being an equilibrium at the origin.</p><p>Remark 2: When f(x) in (14) is a scalar nonlinear function, (16) is reduced to a scalar number as</p><p><img src="5-7600297\c8938981-1dbe-4d7a-ac6d-2f9b0804d902.jpg" />.</p><p>Together with a linear output equation, the linearized state Equation (15) constitutes a complete local linear model as&#160;</p><disp-formula id="scirp.42071-formula115726"><label>(18a)</label><graphic position="anchor" xlink:href="5-7600297\73e910f7-1047-437d-8045-9d04d7d06085.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115727"><label>(18b)</label><graphic position="anchor" xlink:href="5-7600297\81f2dc8f-5ee5-4b3c-99a2-b972c136754b.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\5080606f-1ba2-4dca-8519-683fe757b90d.jpg" /> is the controlled output vector and <img src="5-7600297\9c37682e-4421-4ca9-bd69-63bdf70e88c8.jpg" /> is a constant matrix. According to LQR [<xref ref-type="bibr" rid="scirp.42071-ref21">21</xref>], if the linear system (18) is both controllable and observable, the optimal control law to minimize the performance index</p><disp-formula id="scirp.42071-formula115728"><label>(19)</label><graphic position="anchor" xlink:href="5-7600297\7c9c2e85-2c31-49dc-9b9f-a3ad02d0e52a.jpg"  xlink:type="simple"/></disp-formula><p>with <img src="5-7600297\22c35158-f91a-4b26-9cac-5650401af048.jpg" /> and<img src="5-7600297\a21d2581-c304-4bd5-afc5-55736a93a728.jpg" />, is then given by</p><disp-formula id="scirp.42071-formula115729"><label>(20)</label><graphic position="anchor" xlink:href="5-7600297\c1c43b1e-d224-45cd-bb6e-15f95f5a386b.jpg"  xlink:type="simple"/></disp-formula><p>where</p><disp-formula id="scirp.42071-formula115730"><label>(21)</label><graphic position="anchor" xlink:href="5-7600297\746ff97b-9a1f-4e40-8415-6a82628c4437.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115731"><label>(22)</label><graphic position="anchor" xlink:href="5-7600297\3c2681e3-125f-4cd4-a0ed-2ef27acc764b.jpg"  xlink:type="simple"/></disp-formula><p>r(t) is the reference for the controlled output y(t) to track, and P<sub>k</sub> is the positive definite and symmetric solution of the Ricatti equation</p><disp-formula id="scirp.42071-formula115732"><label>(23)</label><graphic position="anchor" xlink:href="5-7600297\6a2695ed-5e58-41d0-b2de-dae8c2e95b9e.jpg"  xlink:type="simple"/></disp-formula><p>The weighting matrices Q and R should be tuned to make the resulting analog controller (20) give a desired control performance in the delay-free case.</p></sec><sec id="s3"><title>3. Digital Redesign with Delay Compensation</title><p>For time-delayed systems where delays can be caused by network transmission, controller computation, A/D and D/A conversions etc, a delay compensating technique is proposed next based on global digital redesign. Compared with the conventional digital redesign methods that the conversion is limited in the scope of the controller, like the bilinear transformation <img src="5-7600297\a5c34a4b-1542-4936-8855-d6b09a25d95f.jpg" /> [<xref ref-type="bibr" rid="scirp.42071-ref22">22</xref>], closed-loop global digital redesign techniques take into account the closed-loop nature of the whole control system, so the resulting digital controller is able to maintain the essential performance of the analog counterpart even with a low sampling frequency [20,23-25].</p><p>For a Single-Input-Single-Output (SISO) plant, the time delays in a control loop from network transmission, controller computation, A/D and D/A conversions, sensing and actuation etc, can be combined and then allocated to either the input or the output side of the plant for control design purpose [<xref ref-type="bibr" rid="scirp.42071-ref26">26</xref>]. The input side is used in this paper, so the local linear model (15) is modified to include the time delays as</p><disp-formula id="scirp.42071-formula115733"><label>(24)</label><graphic position="anchor" xlink:href="5-7600297\ef9dec5a-9feb-41d9-a7dd-ccfae745637b.jpg"  xlink:type="simple"/></disp-formula><p>where τ is the combined input delay. Among global digital redesign methods, the prediction-based digital redesign in [<xref ref-type="bibr" rid="scirp.42071-ref20">20</xref>] reduces the conversion errors by shifting the digital control signal to defined inter-sampling instant, which is readily extendable for input delay compensation. This method is briefly introduced as follows and then extended to develop the proposed digital controller featuring the input delay compensation.</p><p>The analog linear plant (18) and the analog control law (20) constitute a complete analog control system as depicted in <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) where the subscript c is intended to differ from the following equivalent hybrid system which is subscripted with d. Suppose the equivalent hybrid system as depicted in <xref ref-type="fig" rid="fig3">Figure 3</xref>(b) and formulated by</p><disp-formula id="scirp.42071-formula115734"><label>(25a)</label><graphic position="anchor" xlink:href="5-7600297\9476c65d-643e-4e7f-b36a-9398a0091dfb.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115735"><label>(25b)</label><graphic position="anchor" xlink:href="5-7600297\0098612a-e1b0-45f6-baa1-1c0cd93a6f19.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115736"><label>(25c)</label><graphic position="anchor" xlink:href="5-7600297\c5d05644-d8f9-4cef-b38e-4b67702cd1c2.jpg"  xlink:type="simple"/></disp-formula><p>where the analog control input <img src="5-7600297\f38cb351-8efc-48ca-afb2-ef868972a7b8.jpg" /> is a piecewiseconstant signal generated from the digital control input <img src="5-7600297\a1f8f6a4-2d5e-4aa4-b163-8f432acd7d75.jpg" /> through Zero Order Hold (ZOH) as <img src="5-7600297\24686575-2c2d-40aa-84b6-68820985c522.jpg" /> for<img src="5-7600297\0abca3fc-e3f6-4880-9074-c4f293aa0c3c.jpg" />, and the digital state x<sub>d</sub>(kT) is the sample of the analog state x<sub>d</sub>(t) at the sampling instant t = kT; T is the sampling/control period. Equation (25c) is the digital control law to be designed so that the closed-loop state <img src="5-7600297\abf2a928-bd7c-4871-bfdc-59d9f6477425.jpg" />in the hybrid system can closely match the closed-loop state <img src="5-7600297\8e8855a7-db53-4033-8bda-f74747aabcca.jpg" /> in the analog system at defined inter-sampling instant.</p><p>The solution <img src="5-7600297\2ac636aa-b196-401a-be6f-1824ce9fd61c.jpg" />of (18a) at <img src="5-7600297\e0655f8d-0229-4d62-b57e-4ce11c47f13e.jpg" /> for <img src="5-7600297\86591acc-a3cb-404b-91b1-0f1249726ee3.jpg" /> is</p><disp-formula id="scirp.42071-formula115737"><label>(26)</label><graphic position="anchor" xlink:href="5-7600297\599c3b90-6ed1-4a71-b68b-bdb2458bd4a0.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\0ced8ae8-ecbc-458c-83c4-d24713ea282d.jpg" /> is a piecewise-constant input,</p><p><img src="5-7600297\e656fd4e-23ca-4b39-9605-e44faad21177.jpg" /></p><p>and<img src="5-7600297\f50ff97c-d44e-4cb6-9a06-46944c4b14b1.jpg" />in which <img src="5-7600297\c500d7f6-a74a-4d3e-bbcb-a211a8ef2de4.jpg" /> is an identity matrix of appropriate dimension. The solution <img src="5-7600297\2448f166-846a-4b05-81f7-c4324dee1d33.jpg" />of (25a) at <img src="5-7600297\dc05f6e1-5a55-497c-86d8-cc63323cca11.jpg" /> is</p><disp-formula id="scirp.42071-formula115738"><label>(27)</label><graphic position="anchor" xlink:href="5-7600297\5c40c42f-7497-436b-9fa8-db8b28a73d6c.jpg"  xlink:type="simple"/></disp-formula><p>Comparing (27) with (26) yields that with the assumption of<img src="5-7600297\c050946f-76f2-48dc-81f7-d175547d52f5.jpg" />, the condition of <img src="5-7600297\af416dce-6b90-42fa-88de-ec31224400de.jpg" /> is<img src="5-7600297\350ab9a7-7ae5-42d7-a8f4-f1e255cd6f6d.jpg" />, which leads to the prediction-based digital controller</p><disp-formula id="scirp.42071-formula115739"><label>(28)</label><graphic position="anchor" xlink:href="5-7600297\9ba37813-85f4-4b6e-99ba-db4bb333826b.jpg"  xlink:type="simple"/></disp-formula><p>By substituting (27) into (28), <img src="5-7600297\23ce4465-09b8-4027-9b88-e43473aa3eb4.jpg" />is solved as</p><p><img src="5-7600297\8e427c27-14c5-4331-892e-d2cfa3a35e37.jpg" /></p><p>(29)</p><p>where <img src="5-7600297\3015538d-8b3c-46f3-9a5b-138e8c716e9f.jpg" /> is an identity matrix of appropriate dimension. As a result, the desired digital control law (25c) is found from (29) having digital control gains</p><disp-formula id="scirp.42071-formula115740"><label>(30a)</label><graphic position="anchor" xlink:href="5-7600297\633f68bc-b318-41f4-9903-b545ba527443.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115741"><label>(30b)</label><graphic position="anchor" xlink:href="5-7600297\e9ed3c45-b83d-4721-a91d-258e75c3e1cc.jpg"  xlink:type="simple"/></disp-formula><p>and the digital reference<img src="5-7600297\e5f64515-af4a-4952-b4a6-d0296be7ce68.jpg" />. The parameter v can be tuned to adjust the control performance.</p><p>Next, the conclusion in (28) will be extended for the input delay compensation. Considering the combined input delay τ, the state equation (25a) in the hybrid system is changed to</p><disp-formula id="scirp.42071-formula115742"><label>(31)</label><graphic position="anchor" xlink:href="5-7600297\3baa82f8-1e2a-451d-8d30-86600d6833d2.jpg"  xlink:type="simple"/></disp-formula><p>In order to compensate the input delay, the digital control input <img src="5-7600297\198d8f53-e513-460c-814e-b02cbb2144d8.jpg" /> in (28) should be further predicted for the delay duration τ as&#160;</p><disp-formula id="scirp.42071-formula115743"><label>(32)</label><graphic position="anchor" xlink:href="5-7600297\6d8d592f-d870-42ae-97be-c07e0ab86177.jpg"  xlink:type="simple"/></disp-formula><p>where the future state <img src="5-7600297\920c6828-0987-46b9-a016-4345561250be.jpg" /> needs to be predicted based on the available signals <img src="5-7600297\8a7e8284-64a0-47ba-bdc7-e13842227a20.jpg" /> and<img src="5-7600297\e33bc495-d56f-4cc9-bd1a-5b21a083a6fb.jpg" />.</p><p>Compared with the sampling/control period, the time delays from controller computation, A/D and D/A conversions etc, are relatively small, so a reasonable assumption is made in the following reasoning for simplicity purpose that the total duration of time delays in the control loop should not be larger than a sampling period, i.e. the combined input delay<img src="5-7600297\d59a74cb-2e31-4e79-be08-2fd5e0ad49aa.jpg" />. As for the case that<img src="5-7600297\a76fb9af-c74d-43c5-9a98-654700357492.jpg" />, the proposed method can still handle but will produce a more complicated controller structure.</p><p>Let<img src="5-7600297\5c65bd48-ee5f-4487-8c22-fc1d7e121244.jpg" />, so <img src="5-7600297\e04d0eec-23fc-483b-8377-85ff7b8d7828.jpg" /> and<img src="5-7600297\83c60a15-ce4d-415c-b321-d1bd8f4b7b8c.jpg" />. The solution <img src="5-7600297\468e4e37-e5f0-4ffd-8b92-0d0a8eee316f.jpg" /> of (31) at <img src="5-7600297\8e3c3fa3-62af-46d5-a24a-30cb2f52eccf.jpg" /> is</p><disp-formula id="scirp.42071-formula115744"><label>(33)</label><graphic position="anchor" xlink:href="5-7600297\cfe0d942-d069-4d8b-a10d-b601053d08b8.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\c9f85608-b672-4aa7-a015-5c30ca98512c.jpg" />, <img src="5-7600297\8f725f91-c714-48d5-a820-15989fb0131c.jpg" />and<img src="5-7600297\47a370aa-b8ef-4736-8b7b-e07659c52439.jpg" />.</p><p>By substituting (33) into (32), <img src="5-7600297\3ea50566-5972-4fc9-9b53-33b6f4bd48c4.jpg" />is solved as</p><disp-formula id="scirp.42071-formula115745"><label>(34)</label><graphic position="anchor" xlink:href="5-7600297\5efde269-f450-4a5b-8beb-3f3492e3ff63.jpg"  xlink:type="simple"/></disp-formula><p>As a result, the desired digital controller for input delay compensation is derived from (34) as</p><p><img src="5-7600297\d5e1f0a5-8016-43b8-8ed4-67b4ae40baff.jpg" /></p><p>(35)</p><p>where</p><disp-formula id="scirp.42071-formula115746"><label>(36a)</label><graphic position="anchor" xlink:href="5-7600297\4652323c-fa6c-4d09-a3db-044a3feff874.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115747"><label>(36b)</label><graphic position="anchor" xlink:href="5-7600297\bc8ec21c-1c0b-4552-aea8-1e583e524f6c.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115748"><label>(36c)</label><graphic position="anchor" xlink:href="5-7600297\e7ac6a43-2bd9-456b-89e8-62ea98b046f8.jpg"  xlink:type="simple"/></disp-formula><p>and<img src="5-7600297\b133eafd-08e9-4b31-8fce-b9e2b5f3d821.jpg" />. The resulting hybrid control system has the configuration as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. It is noted that for τ = 0, i.e. in the delay-free case, (35) agrees with the prediction-based digital control law (25c) as<img src="5-7600297\5aa175e3-ff76-4190-8278-71614611610a.jpg" />. Therefore, the prediction-based digital redesign can be taken as a special case of proposed delay-compensating digital redesign.</p></sec><sec id="s4"><title>4. Iterative Procedure for Anti-windup Control</title><p>Consider a general nonlinear plant</p><disp-formula id="scirp.42071-formula115749"><label>(37a)</label><graphic position="anchor" xlink:href="5-7600297\ea4e1b04-19a7-4098-9797-839bbffd3b29.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115750"><label>(37b)</label><graphic position="anchor" xlink:href="5-7600297\55ae368f-9698-48f5-87f2-ad11bcade693.jpg"  xlink:type="simple"/></disp-formula><p>where the symbols are defined as in (14) and (18b), <img src="5-7600297\d3ee5c16-baa1-44ce-960a-6c7bb1a281b6.jpg" />is the true input vector whose i-th entry has the constraints&#160;</p><disp-formula id="scirp.42071-formula115751"><label>(38)</label><graphic position="anchor" xlink:href="5-7600297\1c81dbed-111f-4f5c-a7fd-c20934e6f845.jpg"  xlink:type="simple"/></disp-formula><p>for<img src="5-7600297\79edbdf7-867c-4e22-adcb-c85502a7de0a.jpg" />, in which <img src="5-7600297\51ac3487-cdc2-4ddb-84f8-7049469e66fa.jpg" /> is the ideal i-th input and <img src="5-7600297\cd3d493a-581e-479f-bad5-e67443aa294d.jpg" /> are the top and bottom limits for the i-th input, respectively. For the purpose of simplicity, let <img src="5-7600297\c3fefb4e-3f7a-4276-a3a1-52542957b9b6.jpg" /> in the following reasoning. Through the optimal linearization in Section 2, the optimal local linear model of the nonlinear plant (37) at the k-th sampling instant is obtained as&#160;</p><disp-formula id="scirp.42071-formula115752"><label>(39a)</label><graphic position="anchor" xlink:href="5-7600297\fc6ffd35-a37b-47cd-a912-0ac11f4c5638.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.42071-formula115753"><label>(39b)</label><graphic position="anchor" xlink:href="5-7600297\168e9130-ad7e-48c5-b7b1-0da2ea5a1639.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="5-7600297\e368441e-cccb-4dd7-83fd-a68412ad9e37.jpg" /> are given by (16) and (17), respectively. Should no input saturation occur, i.e. <img src="5-7600297\cd580410-38e8-4408-afb9-64240abc1306.jpg" />for<img src="5-7600297\f35a4166-ef89-4419-9c57-2803e5db54b7.jpg" />, the state equation (39a) becomes <img src="5-7600297\2446be7d-180c-4351-ac2f-d299a23368ca.jpg" /> as<img src="5-7600297\e89fe29f-60bc-4012-a58b-fdefc6f25764.jpg" />.</p><p>Whenever input saturation happens, say, the i-th ideal input <img src="5-7600297\d39bab07-8f04-4e0d-a63a-9773fe6109a3.jpg" /> is out of limits, the state Equation (39a) becomes</p><disp-formula id="scirp.42071-formula115754"><label>(40)</label><graphic position="anchor" xlink:href="5-7600297\3d4b0356-2861-4d1c-9c55-d761f7e9f56b.jpg"  xlink:type="simple"/></disp-formula><p>which is apparently non-smooth due to the scalar sign function. Substituting approximated scalar sign function (9) for <img src="5-7600297\238f4626-58af-4bbd-bf84-1005bb5db409.jpg" /> yields an approximated equation as</p><disp-formula id="scirp.42071-formula115755"><label>(41)</label><graphic position="anchor" xlink:href="5-7600297\def8c316-5404-4eee-bef9-c81b6bffa80a.jpg"  xlink:type="simple"/></disp-formula><p>Equation (41) is still nonlinear due to <img src="5-7600297\035cc897-8e64-477a-85d8-491aa2c0cfc2.jpg" /> which can be further linearized by Remark 2 as</p><p><img src="5-7600297\9862f839-f964-4fa7-b0e8-76f98711a11e.jpg" /></p><p>where <img src="5-7600297\c7cde42f-1794-48df-a38c-d301ebafb819.jpg" /> is the k-th operating point of <img src="5-7600297\1b80e548-adb6-4a06-9d69-df4c44045fc7.jpg" />. In this way, the non-smooth saturation Equation (41) is fully linearized as</p><p><img src="5-7600297\bb8fae34-7361-48f2-8d31-7777c5e30e93.jpg" /> (42)</p><p>where</p><p><img src="5-7600297\42749b90-9ac2-4a29-8f22-07ebd5817f29.jpg" />,</p><p><img src="5-7600297\2cdf092a-970c-4c7a-9b45-eb1ce3b56cdd.jpg" /></p><p>and<img src="5-7600297\213f3201-be9f-4893-b28d-96d59999cc99.jpg" />. <img src="5-7600297\a1138688-3144-4f8f-b19e-0e3aee58b897.jpg" />is called input scaling factor.</p><p>To prevent the i-th input from saturation at t = kT, the input scaling factor <img src="5-7600297\9db776dc-fd0e-4cbb-ad16-69b7104c245e.jpg" /> should be tuned such that</p><p><img src="5-7600297\9e68c1db-a1ca-4fe0-9914-6e9c50055377.jpg" />, that is</p><p><img src="5-7600297\a684c99b-9b8a-41c3-ae61-d525af2ae665.jpg" />.</p><p>As mentioned in Remark 1, <img src="5-7600297\d186936c-aa26-475e-ad5c-388b8deb995b.jpg" />for j is even, so the approximation order j is always an even number in the proposed anti-windup design.</p><p>From the linear state Equation (42), the input matrix <img src="5-7600297\775e504c-0019-44bc-8683-25ba972c661d.jpg" /> is required for designing the ideal control input<img src="5-7600297\843d245c-0c04-4f56-b63c-3bab4bb6b67b.jpg" />, while the input scaling factor<img src="5-7600297\45f35fea-6dd0-4417-8f42-e48a553f5196.jpg" />, which determines<img src="5-7600297\62f2bdf0-fc5b-45c6-8d39-5e8c7aa1fc5d.jpg" />, involves the ideal control input <img src="5-7600297\d5e7a3d0-e250-4059-bf53-d46e9d2eeb89.jpg" /> at t=kT which has not been designed yet. To break this deadlock, a pre-designed control input is used to estimate <img src="5-7600297\9ac39438-89e9-4bab-8f48-5357d5f43767.jpg" /> which is then utilized to design the true control input. For a sampled-data control system, a pre-designed digital control input can be used for this purpose. As a result, the linear state Equation (42) is modified to&#160;&#160;</p><disp-formula id="scirp.42071-formula115756"><label>(43)</label><graphic position="anchor" xlink:href="5-7600297\b2ad9410-5feb-451f-8306-5855333838c8.jpg"  xlink:type="simple"/></disp-formula><p>where the estimated input matrix <img src="5-7600297\45e9a843-84e1-49db-a33c-153b239a33b6.jpg" /> , the estimated input scaling factor <img src="5-7600297\f0125a9c-cc38-4aa4-a0d9-521274023090.jpg" /> with</p><disp-formula id="scirp.42071-formula115757"><label>(44)</label><graphic position="anchor" xlink:href="5-7600297\f9d3a4f6-a9cd-45a6-a7f7-ea2c6005f600.jpg"  xlink:type="simple"/></disp-formula><p>for j is even. <img src="5-7600297\2df115e7-edc7-4e5e-bdfb-b71d91ef2c04.jpg" />is the pre-designed digital control input which can be the digitally redesigned control input for the i-th component of <img src="5-7600297\193684a1-f8f8-4237-8287-573d924bd47c.jpg" /> at t = kT from the prediction-based digital redesign (25c) or the proposed delay-compensating digital redesign (35). With arbitrary input elements saturated, the state Equation (43) is generalized as</p><disp-formula id="scirp.42071-formula115758"><label>(45)</label><graphic position="anchor" xlink:href="5-7600297\cd449e6d-d309-4580-806e-17cffa23a3c9.jpg"  xlink:type="simple"/></disp-formula><p>with <img src="5-7600297\a9d6eb2c-0311-4e1d-a580-b39fa79e4a59.jpg" /> for<img src="5-7600297\09d33f0f-9df2-4739-86c5-2931cd417f16.jpg" />, where <img src="5-7600297\c7ed4362-cbb1-45fd-95d8-38068b270be4.jpg" /> or is given by (44) depending on whether the corresponding ideal input violates the constraints or not.</p><p>The general saturated state Equation (45) and the output Equation (39b) form a saturated system with modified system matrices<img src="5-7600297\5809ae80-e98f-4270-90b7-f973101a6727.jpg" />. Applying LQR (21-23) to it yields that with weighting matrices (Q, R), the optimal control law is determined by solving the Riccati equation</p><disp-formula id="scirp.42071-formula115759"><label>(46)</label><graphic position="anchor" xlink:href="5-7600297\78919181-31f0-4e40-a8ee-eb05e04554a7.jpg"  xlink:type="simple"/></disp-formula><p>which can be rewritten as</p><disp-formula id="scirp.42071-formula115760"><label>(47)</label><graphic position="anchor" xlink:href="5-7600297\9b729a9b-017c-4e2b-8c9f-72d23b28371a.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="5-7600297\eb3f1bd0-17c7-4f0b-9e00-84b79d87b34e.jpg" />. The resulting optimal control law is</p><disp-formula id="scirp.42071-formula115761"><label>(48)</label><graphic position="anchor" xlink:href="5-7600297\4bb233b4-d3d0-4877-a591-65f74b7202d0.jpg"  xlink:type="simple"/></disp-formula><p>where the feedback gain <img src="5-7600297\292bfb0e-2679-4962-99c3-e0a10d755cc4.jpg" /> with<img src="5-7600297\d4b68908-e16f-423b-868f-f69199426fd1.jpg" />, and the forward gain</p><p><img src="5-7600297\34324306-f427-4d2d-93f7-51e4149d5c0e.jpg" /></p><p>with<img src="5-7600297\7db821a9-2365-4d1a-8958-5c38a69ec5b8.jpg" />.</p><p>On the other hand, applying LQR to the original system <img src="5-7600297\5b0123ee-0f16-44c6-ae6c-e668d6125999.jpg" />in (39) with the modified weighting pair <img src="5-7600297\bfd45971-280a-46b9-a548-d772360487c0.jpg" /> yields the optimal control law</p><disp-formula id="scirp.42071-formula115762"><label>(49)</label><graphic position="anchor" xlink:href="5-7600297\efb951c4-b254-4084-9bdb-e02b69eabbe5.jpg"  xlink:type="simple"/></disp-formula><p>where the feedback gain <img src="5-7600297\27baa6ca-df55-4744-b076-85142abd29a1.jpg" /> and the forward gain <img src="5-7600297\674a01af-c055-4b9e-956d-ac6a2571afd6.jpg" /> are shown above. The corresponding Riccati equation is the same as (47).</p><p>It can be observed by comparing the above two LQR designs that the problem of finding the optimal control law for the saturated system (45) with the weighting matrices (Q, R) can be reformulated as the same problem for the original system (39) using the same performance index (19), but with the new weighting matrices<img src="5-7600297\4b124613-e6bf-4ad4-afc9-770377245e98.jpg" />where<img src="5-7600297\30c2f71a-97a0-499d-9e64-ccd0b5691bdf.jpg" />. Generally, both weighting matrices are selected to be positive definite diagonal matrices. So when the input scaling factor’s i-th diagonal element<img src="5-7600297\21a546ef-c00f-4359-974f-86399f305198.jpg" />, the corresponding i-th diagonal elements of R and <img src="5-7600297\2920eaac-8eb9-4f95-b9db-df475fb00270.jpg" /> have the relationship of<img src="5-7600297\51f85bc6-553c-4e72-83ca-a7daadcea1fb.jpg" />. As the matrix Q is kept the same in the performance index, the resulting control law <img src="5-7600297\a95de6ce-547d-4ad9-81ea-ff93848f9f31.jpg" /> with <img src="5-7600297\c07afd6e-ca51-4192-be33-d985a6c20271.jpg" /> will have a smaller i-th element than the counterpart with (Q, R). Accordingly, the corresponding i-th element of digitally redesigned control input <img src="5-7600297\4cf4a5ec-8728-455e-9801-797c9cabdf88.jpg" /> would be smaller as well, thus possibly avoiding input saturation. It is noted that although <img src="5-7600297\48448fd4-a1f8-4c2b-a021-63e234ac8100.jpg" /> is <img src="5-7600297\b09054c4-7c8b-401c-a88e-89dfd87a39a5.jpg" /> times greater than R<sub>i</sub>, the newly resulting digital input <img src="5-7600297\f5fe55a6-1043-46c5-81d3-b58b065f36a7.jpg" /> is not necessarily <img src="5-7600297\61001893-687f-414b-b5f3-51f86a4ca2b7.jpg" /> times smaller than the original one and may be still out of input limits after a single update. Therefore, it might be necessary to recursively update on <img src="5-7600297\caadf439-c36c-45a0-a3d2-493f472deec6.jpg" /> until the input lies within the saturation limits. <xref ref-type="fig" rid="fig5">Figure 5</xref> summarizes the general steps of proposed antiwindup digital controller design for analog nonlinear system with input constraints. The digital redesign adopted is the proposed delay-compensating technique, so besides the anti-windup functionality, the proposed digital controller can also survive in a time-delayed environment.</p><p>Remark 3: The approximation order j in the approximated scalar sign function can be tuned to achieve certain tradeoff between the control performance and the recursion efficiency. As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, a smaller</p><p>approximation order j leads to a faster decaying approximated scalar sign function, which results in a smaller<img src="5-7600297\28a33011-f010-42c1-a425-9c982158f776.jpg" />. This can be regarded as an ‘aggressive’ update scheme with the advantage that a smaller number of iterations are needed for suppressing the input to within the limits. But the disadvantage is that the input could be suppressed too much below the limit, which may bring a fairly slow system response.</p></sec><sec id="s5"><title>5. Simulation Results</title><p>As a typical nonlinear system, the rotary inverted pendulum system depicted in <xref ref-type="fig" rid="fig6">Figure 6</xref> presents many challenging topics for investigation, like coupling, underactuation, instability, multivariable, time-sensitivity etc. The pendulum control can be simply categorized into swing-up (the motor drives the L-shaped arm to swing the pendulum up to around the upright position) and stabilization (the motor drives the arm to stabilize the pendulum at the upright position). Nonlinear control methods are usually proposed for swing-up control while LQR is commonly used for stabilization control. The failure to apply LQR on swing-up control results from the deficiency of traditional linearization method which only works around the equilibrium points while the pendulum is running in off-equilibrium region in swing-up process. In the proposed anti-windup design, the optimal linearization approach is utilized to obtain the local linear model at any operating point, and then LQR is applied to produce a state-feedback controller optimal for each operating point. Therefore, the proposed design can be applied throughout both swing-up and stabilization processes, avoiding the trouble of switching controllers in conventional methods.</p><p>The dynamics between the arm angle θ, the pendulum angle α and the motor voltage V<sub>m</sub> is derived using Lagrangian equations as</p><p><img src="5-7600297\be94fff8-7969-4472-957d-32c3793db674.jpg" />(50a)</p><disp-formula id="scirp.42071-formula115763"><label>(50b)</label><graphic position="anchor" xlink:href="5-7600297\456efe04-1667-4d27-a054-eefd0692387c.jpg"  xlink:type="simple"/></disp-formula><p>where</p><p><img src="5-7600297\39ff881f-1d25-4dfa-86a3-5d2f14f9c4be.jpg" />, <img src="5-7600297\58d28696-50dd-45e2-b0ac-7f138ce7e3ee.jpg" />, <img src="5-7600297\25de3063-d3b6-4cf3-8a80-9c697e4f5cce.jpg" />,</p><p><img src="5-7600297\80a9eab5-2a95-4e35-a1e2-e13b474e2fac.jpg" />, <img src="5-7600297\9d196714-79d4-4438-81b4-b2a6c6ef3ce2.jpg" />, <img src="5-7600297\8b9d26d0-ea5d-4908-9d52-8274425c75ab.jpg" />,</p><p><img src="5-7600297\4fb80c63-a6c4-4fb0-a710-aadc1c4c3d24.jpg" />, <img src="5-7600297\1e7da5f0-0261-4428-b963-1b1286d255c6.jpg" />, <img src="5-7600297\3cbf4f63-f37a-4722-bd31-ecf6f1dab57d.jpg" />,</p><p><img src="5-7600297\0ff3e709-a620-4fbc-894e-1e370aa1bb2f.jpg" />, <img src="5-7600297\9f908928-ba92-4f8a-9ed9-777319fe2964.jpg" />,</p><p><img src="5-7600297\d9e7cbb0-c6ea-4a16-bf1e-7162b11ba3d0.jpg" />, <img src="5-7600297\03b703a6-8187-4dd1-a94a-7652ee0fe984.jpg" />,</p><p><img src="5-7600297\5cd05f0b-e805-4075-81d0-4badfa941a1f.jpg" />, <img src="5-7600297\fbc9d9ae-0113-48be-8d76-c69f76eeefff.jpg" />,</p><p><img src="5-7600297\48288b35-915c-46ca-997c-e8f48076abc0.jpg" />.</p><p>The parameters have physical meanings defined in  <xref ref-type="table" rid="table1">Table 1</xref> as well as their values used in the following simulations. Apparently, (50) is highly nonlinear and coupled expressions.</p><p>For space-saving purpose, the derivation of optimal local linear model of (50) is skipped, and only salient simulation results and necessary explanations are presented here. The proposed anti-windup methodology in  <xref ref-type="fig" rid="fig5">Figure 5</xref> was implemented in simulations with the initial pendulum angle of 179˚ (almost the downward position), the initial weighting matrices Q = diag{50, 0, 1, 0} and R = 1, and the digital control period T = 0.01 s.  <xref ref-type="fig" rid="fig7">Figure 7</xref> compares the simulated control performances of proposed method under no input limit and the limits &#177;30 V with different approximation order j. The corresponding control inputs are shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>. Obviously, the freely redesigned digital control voltage in <xref ref-type="fig" rid="fig8">Figure 8</xref> is out of the limits &#177;30 V over multiple control periods; using the proposed anti-windup method, whatever the value of j is, the control voltage is successfully suppressed to within the specified limits &#177;30 V. Another apparent fact is that over the first few control periods, the control voltage for j = 16 is suppressed more than the one for j = 26, which results in a little slower control performance in  <xref ref-type="fig" rid="fig7">Figure 7</xref>. This echoes the claims by Remark 3. No time delay is introduced in the control loop in this case, so the proposed delay-compensating digital control law (35) converges to the prediction-based digital control law (25c) and the parameter v is set to 1.</p><p>Next, an input time delay is introduced between the pendulum’s motor and the digital controller to represent</p><p>the potential time delays in the real-world control loop. In order to demonstrate the delay-compensating capability, a reasonably long time delay τ = 0.02 s is used. The control period T is accordingly extended to 0.02 s as the proposed design assumes a control period no shorter than the delay duration. Other parameters and initial conditions are the same as the delay-free case. Simulation results showed that the controller from the prediction-based digital redesign cannot succeed any more, exhibiting an unstable behavior. In contrast, the proposed anti-windup plus delay-compensating controller can still survive with performances shown in  <xref ref-type="fig" rid="fig9">Figure 9</xref>.  <xref ref-type="fig" rid="fig1">Figure 1</xref>0 depicts the evolutions of control inputs: the motor voltages in constrained cases are successfully suppressed to within the desired range. Hence, the efficacy of proposed design is well demonstrated.</p></sec><sec id="s6"><title>6. Conclusions</title><p>This paper describes the design and application of an</p><p>optimal anti-windup digital controller for analog nonlinear plants subject to input constraints. As a new antiwindup technique for sampled-data control systems, the proposed method has the following contributions: 1) the approximated scalar sign function is utilized to model non-smooth input saturations, which presents a new effective solution to sign-function constrained non-smooth problems; 2) through the optimal linearization, a general approach is developed for handling nonlinear systems with linear control theories in a broader region instead of conventionally being limited to around equilibriums; 3) aside from the anti-windup functionality, the proposed digital controller is capable of compensating time delays in the control loop, which would help guarantee its designed performance in real world implementations.</p></sec><sec id="s7"><title>Funding</title><p>Research supported by NSF award #1238859, and Department of Education, HBGI Grant.</p></sec><sec id="s8"><title>REFERENCES</title></sec><sec id="s9"><title>NOTES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.42071-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">M. V. Kothare, P. J. Campo, M. Morari and C. N. Nett, “A Unified Framework for the Study of Antiwindup Designs,” Automatica, Vol. 30, No. 12, 1994, pp. 1869-1883.http://dx.doi.org/10.1016/0005-1098(94)90048-5</mixed-citation></ref><ref id="scirp.42071-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">C. Edwards and I. Postlethwaite, “Anti-Windup, Bumpless-Transfer Schemes,” Automatica, Vol. 34, No. 2, 1998, pp. 199-210. http://dx.doi.org/10.1016/S0005-1098(97)00165-9</mixed-citation></ref><ref id="scirp.42071-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">P. Westen and I. Postlethwaite, “Linear Conditioning for Systems Containing Saturating Actuators,” Automatica, Vol. 36, No. 9, 2000, pp. 1347-1354.http://dx.doi.org/10.1016/S0005-1098(00)00044-3</mixed-citation></ref><ref id="scirp.42071-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Y. S. Chen, J. S. H. Tsai, L. S. Shieh and F. C. Kung, “New Conditioning Dual-Rate Digital-Redesign Scheme for Continuous-Time Systems with Saturating Actuators,” IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, Vol. 49, No. 12, 2002, pp. 1860-1870.http://dx.doi.org/10.1109/TCSI.2002.805731</mixed-citation></ref><ref id="scirp.42071-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">V. R. Marcopoli and S. M. Phillips, “Analysis and Synthesis Tools for a Class of Actuator-Limited Multivariable Control Systems: A Linear Matrix Inequality Approach,” International Journal of Robust and Nonlinear Control, Vol. 6, No. 9-10, 1996, pp. 1045-1063.http://dx.doi.org/10.1002/(SICI)1099-1239(199611)6:9/10&lt;1045::AID-RNC268&gt;3.0.CO;2-S</mixed-citation></ref><ref id="scirp.42071-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">E. F. Mulder, M. V. Kothare and M. Morari, “Multivariable Anti-Windup Controller Synthesis Using Linear Matrix Inequalities,” Automatica, Vol. 37, No. 9, 2001, pp. 1407-1416.http://dx.doi.org/10.1016/S0005-1098(01)00075-9</mixed-citation></ref><ref id="scirp.42071-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">G. Grimm, J. Hatfield, I. Postlethwaite, A. R. Teel, M. C. Turner and I. Zaccarian, “Anti-Windup for Stable Linear Systems with Input Saturations: A LMI Based Synthesis,” IEEE Transactions on Automatic Control, Vol. 48, No. 9, 2003, pp. 1509-1525. http://dx.doi.org/10.1109/TAC.2003.816965</mixed-citation></ref><ref id="scirp.42071-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">J. R. Calvet and Y. Arkun, “Feedforward and Feedback Linearization of Nonlinear Systems and Its Implementation Using IMC,” Industrial &amp; Engineering Chemistry Research, Vol. 27, No. 10, 1988, pp. 1822-1831.http://dx.doi.org/10.1021/ie00082a015</mixed-citation></ref><ref id="scirp.42071-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">L. Del Re, J. Chapuis and V. Nevistic, “Predictive Control with Embedded Feedback Linearization for Bilinear Plants with Input Constraints,” Proceedings of the 43rd IEEE Conference on Decision and Control, San Antonio, 15-17 December 1993, pp. 2984-2989.</mixed-citation></ref><ref id="scirp.42071-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">T. A. Kendi and F. J. Doyle, “An Anti-Windup Scheme for Multivariable Nonlinear System,” Journal of Process Control, Vol. 7, No. 5, 1997, pp. 329-343.http://dx.doi.org/10.1016/S0959-1524(97)00011-5</mixed-citation></ref><ref id="scirp.42071-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Q. Hu and G. O. Rangaiah, “Anti-Windup Schemes for Uncertain Nonlinear Systems,” IEE Proceedings of Control Theory and Applications, Vol. 147, No. 3, 2000, pp. 321-329. http://dx.doi.org/10.1049/ip-cta:20000136</mixed-citation></ref><ref id="scirp.42071-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">R. Bouc, “Forced Vibration of Mechanical Systems with hysteresis,” Proceedings of 4th Conference Nonlinear Oscillation, Prague, 5-9 September 1967, p. 315.</mixed-citation></ref><ref id="scirp.42071-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Y. K. Wen, “Method for Random Vibration of Hysteretic Systems,” Journal of Engineering Mechanics Division, 1976, pp. 249-263.</mixed-citation></ref><ref id="scirp.42071-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">B. Jacobson, “The Stribeck Memorial Lecture,” Tribology International, Vol. 36, 2003, pp. 781-789.</mixed-citation></ref><ref id="scirp.42071-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">L. S. Shieh, Y. T. Tsay and R. Yates, “Some Properties of Matrix Sign Functions Derived from Continued Fractions,” IEEE Proceedings of Control Theory and Applications, Part D, Vol. 130, 1983, pp. 111-118.</mixed-citation></ref><ref id="scirp.42071-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">L. S. Shieh, Y. T. Tsay and C. T. Wang, “Matrix Sector Functions and Their Applications to Systems Theory,” IEEE Proceedings of Control Theory and Applications, Part D, Vol. 131, 1984, pp. 171-181.</mixed-citation></ref><ref id="scirp.42071-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">M. C. M. Teixeira and S. H. Zak, “Stabilizing Controller Design for Uncertain Nonlinear Systems Using Fuzzy Models,” IEEE Transaction on Fuzzy Systems, Vol. 7, No. 2, 1999, pp. 133-142. http://dx.doi.org/10.1109/91.755395</mixed-citation></ref><ref id="scirp.42071-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">J. D. Roberts, “Linear Model Reduction and Solution of the Algebraic Riccati Equations by Use of the Sign Function,” International Journal of Control, Vol. 32, No. 4, 1980, pp. 677-687. http://dx.doi.org/10.1080/00207178008922881</mixed-citation></ref><ref id="scirp.42071-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">F. Esfandiari and H. K. Khalil, “Output Feedback Stabilization of Fully Linearizable Systems,” International Journal of Control, Vol. 56, No. 5, 1992, pp. 1007-1037.http://dx.doi.org/10.1080/00207179208934355</mixed-citation></ref><ref id="scirp.42071-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">S. M. Guo, L. S. Shieh, G. Chen and C. F. Lin, “Effective Chaotic Orbit Tracker: A Prediction-Based Digital Redesign Approach,” IEEE Transaction on Circuits and Systems, Vol. 47, 2000, pp. 1557-1570.</mixed-citation></ref><ref id="scirp.42071-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">F. L. Lewis, “Optimal Control,” Wiley, New York, 1986.</mixed-citation></ref><ref id="scirp.42071-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">K. Ogata, “Discrete-Time Control Systems,” Prentice-Hall, Englewood Cliffs, 1987.</mixed-citation></ref><ref id="scirp.42071-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">J. S. H. Tsai, C. M. Chen and L. S. Shieh, “Digital Redesign of the Cascaded Continuous-Time Controller: TimeDomain Approach,” Control Theory Advanced Techniques, Vol. 17, 1991, pp. 643-661.</mixed-citation></ref><ref id="scirp.42071-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">L. S. Shieh, W. M. Wang and M. K. A. Panicker, “Design of PAM and PWM Digital Controllers for Cascaded Analog Systems,” ISA Transaction, Vol. 37, No. 3, 1998, pp. 201-213.http://dx.doi.org/10.1016/S0019-0578(98)00026-3</mixed-citation></ref><ref id="scirp.42071-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">L. S. Shieh, J. L. Zhang and N. P. Coleman, “Optimal Digital Redesign of Continuous-Time Controllers,” Computers &amp; Mathematics with Applications, Vol. 22, No. 1, 1991, pp. 25-35.http://dx.doi.org/10.1016/0898-1221(91)90022-V</mixed-citation></ref><ref id="scirp.42071-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">H. Wang, L. S. Shieh, Y. Zhang and J. S. Tsai, “Minimal Realization of the Transfer Function Matrix with Multiple Time Delays,” IET Control Theory and Application, Vol. 1, No. 5, 2007, pp. 1294-1301.http://dx.doi.org/10.1049/iet-cta:20060281</mixed-citation></ref></ref-list></back></article>