Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A
A +
=
) ( ) 1 (
) ( ) 1 (
) (
1
k u k u
k u k u
k u (3)
OU resembles with an analog integrator in s-domain where:
) ( ) ( s U s E
s
i
K
= (4)
or expressed in time domain as:
) ( ) ( t u t e
i
K = (5)
So, OU is nothing more than a discrete integrator which
computes the proposed differential in u based on the
magnitude and sign of the error and moreover has the
capability of zeroing down the error on its own.
B. Output Prediction (OP) module
The OP module in contrast to the OU module only gets
activated when there is a prediction of an overshoot in the
output y with respect to the desired output y
d
. The idea is to
prevent overshoot before it actually happens. OPPS
continuously predicts the approximated future output
) 1 ( + k y as y
p
(k).
)} ( ) ( { ) ( ) 1 ( k y k y k
p
y k y A + = = + | (6)
where, is a constant prediction gain and Ay = y(k) y(k-1).
In case an overshoot is predicted then the OP module
intervenes and modifies the control law dictated previously
by the OU module. The condition whether y
p
is greater or
lesser than y
d
is actually the indication for an overshoot. If e
in (2) is positive, y
p
> y
d
indicates an overshoot; while when
e is negative, y
p
< y
d
indicates an overshoot. Both the
conditions are catered for in the rule base in (8).
Unlike complex prediction algorithms, a very simple
prediction mechanism based on rate of change of output is
used. After extensive simulations on different linear and
nonlinear systems it was concluded that =1, generally
suffices with the exception of higher prediction gains for
systems with process dead time or transport delay as in (7).
Ls
e
Ts
K
s G
+
=
1
) ( (7)
where, K is the process gain, T is the process time constant
and L is the process dead-time or transportation delay.
The modified control law is given in (8), where u
c
is a
constant, to which control output is switched to, provided
the need for overshoot suppression. The property of OP
mode to switch to some other desirable output, the
magnitude of which is dependent on the type of system and
will be discussed in section III, is in itself an effective
integrator anti-windup technique.
o is a positive constant that defines the error boundary inside
which OP module cannot have an impact. This is to make
683
sure smooth transitioning of output y to desired output y
d
.
Switching OP module, if active within certain error
boundary will give rise to undesired chattering while e tends
to zero. This is to let integrator role of OU to zero down the
error smoothly inside the error boundary.
The sign of the output differential Ay in (8) indicates
whether the output is diverging from the target position or
converging towards it. It has to be noted that the given
conditions are themselves sub-conditions of the error sign
condition.
( ) ( ) 0&
[{ ( ) 0}
&{ ( ) ( )}
&{| ( ) | }]
( )
2
( ) ( ) 0&
[{ ( ) 0}
&{ ( ) ( )}
&{| ( ) | }]
u k if e k
c
if y k
y k y k
p d
e k
u k
u k if e k
c
if y k
y k y k
p d
e k
o
o
>
A >
>
>
=
<
A <
<
>
(8)
C. Control law
The OPPSs overall control law then can be listed as
follows:
( 1) | ( ) | ( ) 0
( ) ( ) 0&
[{ ( ) 0}
&{ ( ) ( )}
&{| ( ) | }]
( )
( 1) | ( ) | ( ) 0
( ) ( ) 0&
[{ ( ) 0}
&{ ( ) ( )}
&{| ( ) | }]
c
p d
c
p d
u k u k if e k
u k if e k
if y k
y k y k
e k
u k
u k u k if e k
u k if e k
if y k
y k y k
e k
o
o
+ A >
>
A >
>
>
=
A <
<
A <
<
>
(9)
III. SIMULATIONS
In this section, OPPS will be applied to different system
categories in the closed loop configuration as given in Fig.1
and the ability of stabilization will be presented and transient
performance based on selection of varying control
parameters will be discussed. Linear systems on which
OPPS will be applied will be over-damped, under-damped
and unstable respectively. OPPS will finally be implemented
on a monotonic nonlinear system.
A. Linear Systems
1) Over-damped system: OPPS is first applied to an
over-damped system given in (10) with only OU control
mode active.
) 1 )( 3 (
2
) (
+ +
+
=
s s
s
s G (10)
Fig.2 shows the step response of (10) for varying
proportional gain K
u
. Fig.2 also shows faster settling times
for increased K
u
and higher frequency of oscillations.
Further if the OP module is also made active, it can be
shown that better transient performance can be achieved as
shown in Fig.3. Step responses are shown by keeping OU
control parameters constant and varying OP control
parameters. For OP mode is kept unity as discussed earlier
while error boundary for over-damped system o (delta) =
0.01 in which OP mode cannot have an impact and u
c
is
varied from 2 in Fig.3 to 2.5 in Fig.4. As soon as the OP
mode gets triggered control output switches and the new
control output due to u
2
pulls back the system. In Fig.4 a
little softer switching approach (selection of u
c
) ensures a
much smoother transitioning of the system output to the
desired output.
Fig.2. Step response of system in (10) with OPPS
parameters: K
u
= 0.2, 0.4, and 1. (OP module: inactive)
Fig.5 shows the control output of the closed loop system
implemented in Fig.4. Control output switches to u
c
at the
instant OP takes over control from OU. OP control mode
resets the saturated u to u
c
as is done by the anti-windup
technique for PID. Control output then gradually smoothes
off due to integration action of OU control mode.
Another characteristic shown in Fig.6 is that though both the
closed loop systems of Fig.3 and Fig.4 have a lot of
difference in their respective overshoots but their rise-times
are identical. Therefore, OPPS gives the user the flexibility
to modify overshoots without sacrificing rise-times. Fig.7
shows the sinusoid for the the over-damped system. Fig.8
shows the improved response of the system once the
proportional constant K
u
of OU module is increased
significantly while other parameters are unchanged.
2) Under-damped system: The controller was further
applied on an under-damped system in a closed loop
configuration as in Fig.1 with G(s) given in (11).
) 5 . 0 )( 5 . 0 (
1
) (
j s j s
s G
+ + +
= (11)
Fig.9 shows the step response for the under-damped system.
Further Fig.10 shows the sinusoid following for the system.
3) Unstable system: OPPS is then applied to an unstable
system with G(s) given in (12) in the same configuration of
Fig.1.
) 1 )( 3 (
2
) (
+
+
=
s s
s
s G (12)
684
Fig.11 shows the step response for the system (12) and the
sinusoid following is given in Fig.12.
Fig.3. OPPS applied to system in (10) with OPPS
parameters: K
u
= 1.00; = 1; o (delta) = 0.01; u
c
= 2.0
Fig.4. OPPS applied to system in (10) with controller
parameters: K
u
= 1.00; = 1; o (delta) = 0.01; u
c
= 2.5
Fig.5. Control output u for closed loop system as in Fig.4.
Fig.6. Comparison of rise-time for closed loop systems in
Fig.3 and Fig.4 with different control switching output.
B. Nonlinear system
Finally, OPPS is applied as in Fig.1 to a monotonic
nonlinear system as given in (13).
3
) ( u u f = (13)
Fig.13 shows the step response for (13) with OPPS applied
and control parameters for both modes stated. Fig.14 shows
the sinusoid following for a non-linear system.
Fig.7. Sinusoid following for system in (10) with controller
parameters: K
u
= 10.00; = 1; o = 0.01; u
c
= 4.0.
Fig.8. Sinusoid following system in (10) with controller
parameters: K
u
= 100.0; = 1; o = 0.01; u
c
= 4.0.
Fig.9. Step-response for system in (11) with controller
parameters: K
u
= 100.0; = 1; o = 0.01; u
c
= 4.0.
IV. 2-DOF PLATFORM STABILIZATION
After extensive simulations in section VI, OPPS is applied
on a 2 Degree-of-Freedom (DOF) platform to test its
performance in the real world. Control was implemented
685
only on 1DOF (azimuth). A Micro Electro-Mechanical
Systems (MEMS) gyro [25] was used to extract information
for change in orientation of the platform base and two servo-
motors in each DOF were implemented in a drive anti-
drive fashion to compensate for gear backlash [26]. The
system can be approximated by (7). Fig.15 shows the PID
compensated step response of the platform in azimuth DOF
with settling time, T
s
=1.32s. Fig.16 shows PID's
performance with varying desired angle and its vulnerability
to high frequency inputs. Fig.17 shows the OPPS
compensated step response of the platform in azimuth DOF
with varying values of with T
s
=1.035s. Higher values of
are used because of the data transportation lag due to the
PIC-SERVO boards (used to control motors) incorporating a
serial protocol [27]. Fig.18 shows OPPS compensated
platform stabilization. Even at a much higher frequency
inputs than in Fig.16, system output never blows as does for
a PID compensated system and OPPS tracks the fast
changing input with system time constant being the
limitation.
Fig.10. Sinusoid following for system in (11) with controller
parameters: K
u
= 100.0; = 1; o = 0.001; u
c
= 0.05.
Fig.11. Step response for system in (12) with controller
parameters: K
u
= 100.0; = 1; o = 0.001; u
c
= 0.0.
V. CONCLUSIONS
OPPSs simple computational structure and ability to
suppress overshoots while maintaining best rise-times,
display no high frequency gains and an inherent integrator
anti-windup technique gives it a much agreeable choice over
the fundamental PID structure. OPPS ability to address all
these fundamental problems of a PID without incorporating
any fuzzy-like expert rule base, learning algorithm or an
adaptive tuning mechanism, makes OPPS easier to be
implemented on an embedded system. Different types of
systems (plants) compensated by OPPS show strength of its
generic control law as well as satisfying transient and
steady-state performance. The control parameters strictly lay
in a typical range for a particular type of a system which
results in easy tuning procedures. Fundamentally, having the
structure of an integrator and an overriding prediction
control mode based on fundamental concepts of overshoot
occurrence; OPPS is a simple solution to most of the
industrial processes. This paper reports very initial results
and future work encompasses development of stability
analysis, sensitivity to the choice of parameters and noise
rejection capability of the controller. The controller will also
be applied to more real world systems.
Fig.12. Step response for system in (12) with controller
parameters: K
u
= 20; = 1; o = 0.001; u
c
= 1.0.
Fig.13. Step-response for system in (13) with controller
parameters: K
u
= 0.05, 0.06; = 1; o = 0.1; u
c
= 0.0.
Fig.14. Sinusoid following system in (13) with controller
parameters: K
u
= 0.06; = 1; o = 0.1; u
c
= 0.0
686
Fig.15. Finally tuned step response of the platform with PID
implemented
Fig.16. Platform response with PID, for varying reference
angle of rotations. High frequency instability is evident.
Fig.17. Step response with OPPS applied with varying beta,
: 0, 8, and 16. Other parameters: K
u
= 12; o = 0.5; u
c
= 0.
Fig.18. Platform response with OPPS, to varying reference
angle of rotation.
REFERENCES
[1] Astrom K. J. and Hagglund T. H., New tuning methods for PID
controllers, in Proc. 3rd European Control Conf., 1995.
[2] W. S. Levine, PID Control, in The Control Handbook, Ed.
Piscataway, NJ: IEEE Press, 1996, pp. 198209.
[3] J. G. Ziegler and N. B. Nichols, Optimum settings for automatic
controllers, Trans. ASME, vol. 64, pp. 759768, 1942.
[4] Y. Li,W. Feng, K. C. Tan, X. K. Zhu, X. Guan, and K. H. Ang,
PIDeasy and automated generation of optimal PID controllers, in
Proc. 3rd Asia- Pacific Conf. Control Meas., Dunhuang, P.R. China,
1998, pp. 2933.
[5] Kiam Heong Ang, and Gregory Chong, PID Control System
Analysis, Design, and Technology, IEEE Trans. Control Systems
Tech., vol. 13, no.4, pp. 559576, Jul. 2005.
[6] K. J. strm and T. Hgglund, PID Controllers: Theory, Design, and
Tuning. Research Triangle Park, NC: Instrument Soc. Amer., 1995.
[7] C. Bohn and D. P. Atherton, An analysis package comparing PID
antiwindup strategies, IEEE Control Syst. Mag., vol. 15, no. 2, pp.
3440, Apr. 1995.
[8] Getting the best out of PID in machine control, in Proc. Dig. Inst.
Elect. Eng. PG16 Colloquium (96/287), London, U.K., Oct. 24, 1996.
[9] J. P. Gerry and F. G. Shinskey, (2007, June) PID Controller
Specification. [Online] http://www.expertune.com/PIDspec.htm
[10] Techmation Inc. (2007, July) Techmation. [Online]
http://protuner.com
[11] Yanjie Sun, Tips for successful PID tuning, Servo Trends., vol. 17,
no. 2, April 2002.
[12] Ashish Tewari, PID compensation, in Modern Control Design, Ed.
Chichester, West Sussex: John Wiley & Sons, 2005, pp. 8894.
[13] Stefani, Shahian, Savant, Hostetter, Rise time, overshoot and settling
time, in Design of Feedback Control Systems, Ed. New York, NY:
Oxford University Press, 2002, pp. 136-139.
[14] W. Feng and Y. Li, Performance indexes in evolutionary CACSD
automation with application to batch PID generation, in Proc. 10
th
IEEE Int. Symp. Comp. Aided Control System Design, 1999, pp. 486-
491.
[15] R. Gorez, A survey of PID auto-tuning methods, J. A, vol. 38, no. 1,
pp. 310, 1997.
[16] A. ODwyer, Handbook of PI and PID Controller Tuning Rules.
London, U.K.: Imperial College Press, 2003.
[17] Digital control: past, present and future of PID control, in Proc.
IFAC Workshop, J. Quevedo and T. Escobet, Eds., Terrassa, Spain,
Apr. 57, 2000.
[18] Honeywell International Inc. (2008, July)
http://www.honeywell.com.pl/automatyka_przemyslowa/akpia/produk
ty/regulatory/pdf/51-52-03-39.pdf [Online]
http://www.honeywell.com
[19] Yokogawa Electric Corporation (2008, February)
http://www.yokogawa.com/ns/cis/utup/ns-index_utup.htm [Online]
http://www.yokogawa.com
[20] L. Consolini and A. Piazzi, "Generalized bang-bang control for
feedforward constrained regulation.," in Proc. IEEE Decision and
Control Conf., pp. 893898, 2006.
[21] Bengea, S. C. and R. A. DeCarlo, "Optimal and suboptimal control of
switching systems," in Proc. IEEE Decision and Control Conf., pp.
5295-5300, 2003.
[22] Timothy D. Tuttle and Warren P. Seering, "Creating Time-Optimal
Commainds for Systems with Denominator Dynamics," in Proc. IEEE
Intl. Conf. Control Applications., pp.385-390, 1996.
[23] K.R. Santarelli, On the synthesis of switched output feedback
controllers for linear, time-invariant systems, Ph.D. Thesis,
Massachusetts Institute of Technology, 2007.
[24] K.R. Santarelli, A. Megretski, M.A. Dahleh, "On the stabilizability of
two dimensional linear systems via switched output feedback," in
Proceedings of the 24th American Control Conference, vol. 6,
Portland, June 2005, pp. 37783783.
[25] Analog Devices, Inc.(2007, May)
http://www.analog.com/en/other/multichip/adis16250/products/produc
t.html [Online] http://www.analog.com
[26] Z. Haider, F. Habib, M. H. Mukhtar, K. Munawar, Development of
high performance servo drive/anti drive mechanism for backlash
removal, Int.Wrkshp. ROSE 2007, pp.453-456.
[27] JEFFREY KERR, LLC (2007, June)
http://www.jrkerr.com/boards.html [Online]http://www.jrkerr.com.
687