Tutorial On Input Shaping/Time Delay Control of Maneuvering Flexible Structures
Tutorial On Input Shaping/Time Delay Control of Maneuvering Flexible Structures
Tutorial On Input Shaping/Time Delay Control of Maneuvering Flexible Structures
William Singhose
Dept. of Mech. Eng.,
Georgia Institute of Technology
Atlanta, Georgia, 30332
[email protected]
http://code.eng.bualo.edu/tdf/
http://www.me.gatech.edu/inputshaping/
Abstract
Precise position control and rapid rest-to-rest motion is the desired objective in a variety of applications. The desire for reducing the maneuver time
requires reducing the inertia of the structure which
subsequently results in low frequency dynamics.
The requirement of precise position control implies that the residual vibration of the structure
should be zero or near zero. This paper presents
techniques to shape the input to the system so
as to minimize the residual vibration. A second
class of problems which includes design of input
proles for systems with rigid-body modes driven
by actuators with nite control authority, is also
presented. The common thread which connects all
the techniques presented in this paper is related to
the design of controllers which are robust to modeling uncertainties. The proposed techniques are
illustrated by simulations and experiments.
1 Introduction
Smith [1], Calvert and Gimple [2] proposed a simple technique to generate non-oscillatory response
from an lightly-damped system subject to a step
input. This is achieved by exciting two transient
oscillations so as to result in constructive cancellation of the oscillations. Smith termed the technique Posicast motivated by what he states: This
is what happens when a sherman drops his y
in the water at the maximum-position and zero
velocity instant [1]. Tallman and Smith [3] illustrated the Posicast technique using an analog computer and noted the sensitivity of the controller to
variation in the location of the poles of the system caused by nonlinear components in the system or variation of the parameters of the system
as a function of temperature.
Between the late 50s and the publication of the
Input Shaping paper by Singer and Seering [8],
there was some work on the shaping of input
proles for control of residual vibration [4], [5].
Swigert [5] proposed techniques for the determination of torque proles which considered the sensitivity of the terminal states to variations in the
model parameters. Publication of the Input Shaping paper renewed interest in preltering reference inputs for robust vibration control, which
has resulted in dozens of papers with application
to spacecrafts, robots, cranes, chemical processes,
etc. A chronological listing of papers relevant to
robust vibration control of slewing structures is
presented in the bibliography.
This paper will consider two classes of problems:
The rst, involves real-time shaping or time-delay
ltering of the reference command to stable systems with the objective of minimizing the residual vibration [1] [8], [16], [23]. This will be dealt
in detail in Section 2. The second class of problems considered is the design of controllers for systems with rigid body modes with constraints on
the control input [7], [9], [14], [29], [49]. This can
be further classied into two categories which will
be expounded in Section 3. Sections 2 and 3 will
describe in detail, technique for reducing the sensitivity of the control prole to errors in model
parameters such as damping ratio, and natural frequency. Section 4 will briey address the design
of robust controllers for nonlinear systems [41].
Trolley
Payload
Position
6
Button On
5
4
3
2
Trolley
0
0
10
15
Time
(a)
Cable
Trolley
Payload
Payload
Button On
Position
5
4
3
2
1
0
0
15
(b)
Figure 2: Crane Response: a) Unshaped Command
b) Shaped Command
it is helpful to start with the simplest such command. We know that giving the system an impulse
will cause it to vibrate; however, if we apply a second impulse to the system, we can cancel the vibration induced by the rst impulse. This concept
is shown in Figure 3.
At this point, it is useful to derive the amplitudes
and time locations of the two-impulse command
shown in Figure 3. If we have a reasonable estimate of the systems natural frequency, , and
damping ratio, , then the residual vibration that
results from a sequence of impulses can be described by:
V (, ) = etn C(, )2 + S(, )2
(1)
where,
C(, ) =
10
Time
n
Ai eti cos(d ti ),
i=1
n
S(, ) =
i=1
Ai eti sin(d ti )
(2)
0.6
A1 Response
A2 Response
Total Response
A1
A2
Position
0.4
0.2
0 = A1 + A2 et2 cos(d t2 )
(5)
0 = A2 et2 sin(d t2 )
(6)
Equation (6) can be satised in a nontrivial manner, when the sine term equals zero. This occurs
when:
0
-0.2
d t2 = n, t2 =
-0.4
0
0.5
1.5
2.5
Time
(4)
n
nTd
=
n=1,2,..
d
2
(7)
Td
2
(8)
(9)
Using the expression for the damped natural frequency and substituting (8) and (9) into (5) gives:
0 = A1 (1 A1 )exp(
1 2
(10)
1+
1 2
exp( 2 )
1
(11)
Initial Command
Input Shaper
2+
Shaped Command
D
Initial Command
ZV Shaper
Robust (ZVD) Shaper
Very Robust Shaper
25
Percentage Vibration
20
15
10
Vtol
5
0
0.5
0.75
1.25
1.5
/
m)
Normalized Frequency (
Input Shaper
D+
Shaped Command
d
V (, )
d
(13)
Residual
Vibration
35
0.15
0.14
0.12
0.1
0.1
0.05
0.08
Percentage Vibration
0.16
30
25
20
Limit Vibration at
Specific Frequencies
15
10
5
Vtol
0.06
0
0.2
0.04
0.1
Damping
Ratio,
0
0.6
0.8
1.2
1.4
a /
m )
Normalized Frequency (
0.02
0 0.6
0.8
1.2
1.4
Frequency (Hz)
Position
1.5
0.5
ZV
ZVD
Very Robust
0
0
Time
(a)
Position
1.5
0.5
ZV
ZVD
Very Robust
0
0
Time
(b)
5% Settling Time, s
put shaping. Several researchers have used adaptive input shaper modication techniques to obtain robustness. Sensor feedback is used to tune
the input shaper such that the residual vibration
is decreased. Some of these approaches include
that of Tzes and Yurkovich [26] and Khorrami, et
al. [25], who used on-line adaptive schemes to update the input shaper parameters. Bodson used a
recursive least-squares technique to tune the input
shaper parameters [36]. Magee and Book modied
the input shaper as a function of the system conguration [18].
PD
PD + Shaping
0.5
0.39
0.15
0
0
0.2
0.4
0.6
Damping Ratio ()
0.8
3 Saturating Controllers
The problem of design of optimal control with limits on control authority has been of interest for
decades. When cost functions such as maneuver
time, or fuel or a weighted combination of fuel and
time are considered, the resulting optimal control
proles are bang-bang or bang-o-bang implying
that the controller is turned on to the extreme
values or is turned o. The problem of design
of time-optimal control proles for exible structures has been of increasing interest over the past
two decades. There have been numerous computa-
optimal control proles for rest-to-rest and spinup maneuvers for the benchmark oating oscillator
problem.
This section will discuss the design of robust time
and weighted fuel-time optimal controllers. The
benchmark oating oscillator problem [21], will be
used to illustrate the design technique. The design
problem is posed as the design of a time-delay lter which generate the bang-bang or bang-o-bang
control prole when it is driven by a step input.
The knowledge that locating multiple zeros of the
time-delay lter at the estimated location of the
poles of the system will result in robustness to uncertainty in the location of the pole of the system
will be used in the design process. For a function
f (s) = 0, to have a minimum of two roots at s =
s0 requires that
df (s)
= 0.
(15)
f (s0 ) = 0 and
ds s0
=0
This fact is utilized to develop constraint equations to design time-delay lters with multiple zeros at specied locations.
u
y1
U (s)
m2
N
Step
m1
(20)
sTi
i=0 Ai e
U (s)
GP (s)
Y (s)
Plant
y2
(23)
(24)
N
i=0
Ai exp(sTi ), where T0 = 0,
(25)
constraints are
2 1 1 2
to guarantee that the output of the time-delay lter is either bang-bang or bang-o-bang. For restto-rest maneuver of exible structures, the constraint which guarantees zero residual vibration is
derived by requiring a set of zeros of the time-delay
lter to cancel the under-damped poles of the system. For a system with a set of under-damped
poles at
s = j,
(27)
the constraint equations are
N
Ai exp(Ti )cos(Ti ) = 0,
(28)
Ai exp(Ti )sin(Ti ) = 0,
(29)
i=0
and
N
i=0
which are derived by forcing the real and imaginary parts of the transfer function of the timedelay lter to zero at s = j. Note, that this is
equivalent to the conditions given in Equations 2.
To satisfy the boundary conditions for the rigid
body for the rest-to-rest maneuver, the transfer
function of the time-delay lter should have two
zeros at the origin of the complex plane to cancel
the rigid body poles, resulting in the constraint
equation
N
Ai = 0
(30)
i=0
and
N
(26)
Ai Ti exp(Ti )cos(Ti ) = 0,
(33)
Ai Ti exp(Ti )sin(Ti ) = 0
(34)
i=0
and
N
i=0
which are equivalent to the zero derivative constraint given in Equation 13.
Since the constraints are nonlinear, there are potentially numerous parameter sets which satisfy all
of the constraints. The sucient conditions for the
optimality of the control prole are dependent on
the cost function to be optimized for and a general approach to verify the optimality is not available. For un-damped system, it has been shown
that the control prole is anti-symmetric about the
mid-maneuver time. This fact can be exploited to
reduce the number of parameters to be optimized
for.
3.1 Time-Optimal Control
The time-optimal control prole for the undamped benchmark problem can be determined
by solving the following parameter optimization
problem which is derived by exploiting the antisymmetric properties of the control prole (Figure 13):
min J = T22
(35)
2cos((T2 T1 )) + 1 + cos(T2 ) = 0
1
(2T22 (2T2 T1 )2 + T22 T12 ) = 1,
2
(36)
(37)
where
N
Ai Ti = 0
(31)
i=0
(tf = TN ) =
(32)
i=0
Finally, to desensitize the control prole to uncertainties in the location of the under-damped poles
of the system, constraints are derived which place
multiple zeros of the time-delay lter at the estimated location of the poles of the system. These
T0 = 0, T1 = T1 , T2 = T2 , T3 = 2T2 T1 , T4 = 2T2
A0 = 1, A1 = 2, A2 = 2, A3 = 2, A4 = 1. (38)
To desensitize the controller to the frequency of
the exible mode, two switches are added to the
control prole and the problem is
min J = T32 (39)
2cos(T31 ) + 2cos(T32 ) + 1 + cos(T3 ) = 0 (40)
2T31 sin(T31 ) + 2T32 sin(T32 ) + T3 sin(T3 ) = 0 (41)
2T32 (2T3 T1 )2 + (2T3 T2 )2 T32 + T22 T12 = 2. (42)
T1
2T2 T1
T2
2T2
2T4 T3
T1
T2
T3
2T4 T1
2T4 T2
2T4
(43)
Control
0.5
0
0.5
1
0
Time
0.35
TimeOptimal Profile
Robust Control Profile
Residual Energy
0.3
0.25
0.2
0.15
0.1
0.05
0
0.6
0.7
0.8
0.9
1
k1
1.1
1.2
1.3
1.4
(44)
(45)
(46)
Solving for the optimal control prole as a function of , the control prole changes from a three
switch bang-bang prole for = 0, to a six switch
bang-o-bang control prole which simplies to a
two switch bang-bang prole for > 0.6824, for
the benchmark problem, as shown in Figure 16.
Hartmann and Singh [50] present a general development of the necessary and sucient conditions
for optimality of the fuel/time optimal control proles for system of order higher than the benchmark
problem.
3.3 Minimax Control
The techniques to desensitize the controller to
modeling errors which have been presented to this
point, only require information about the nominal values of the model parameters. The resulting controllers are robust in the vicinity of the
nominal parameters of the system. However, in
1
0.5
0
0.5
1
0
0.6284
0.0
1
0.5
0.5
0.5
0.5
1
1
0
10
(47)
(48)
ub
where plb
i and pi represent the lower and upper
bounds on the parameters respectively. The goal
here is to design a saturating controller with the
objective of minimizing the maximum value of the
residual energy
min max F
x
1
1
1 T
y M y + (y yf )T K(y yf )+ (yr yrf )2
2
2
2
(50)
where x is a vector of parameters which dene
the saturating controller and yf corresponds to the
F =
0.3
TimeOptimal Control
Minimax 3Switch Control
Robust TimeOptimal Control
Minimax 5Switch Control
0.25
0.2
0.15
x = f (x, u, p),
0.1
(51)
0.05
0
0.7
0.8
0.9
1
Spring Stiffness k
1.1
1.2
n
f
f dxj
dx
=
+
.
dpi
pi
xj dpi
1.3
(52)
j=1
tf
To illustrate this approach, consider the benchmark problem with a nonlinear spring whose
model is
50
m1 y1 + k1 (y1 y2 ) + k2 (y1 y2 )3 = u
10
Switching Times Ti
m2 y2 k1 (y1 y2 ) k2 (y1 y2 ) = 0.
(54)
(55)
0.1
d
y1
dk1
d
y2
m2
dk1
d
y1
m1
dk2
d
y2
m2
dk2
m1
0.02
0.05
0.1
0.5
10
50
100
Jerk J
500
dy12
2 dy12
+ 3k2 y12
dk1
dk1
dy12
2 dy12
y12 k1
3k2 y12
dk1
dk1
dy12
3
2 dy12
+ k1
+ y12
+ 3k2 y12
dk2
dk2
dy12
3
2 dy12
k1
y12
3k2 y12
dk2
dk2
+ y12 + k1
=0
(56)
=0
(57)
=0
(58)
=0
(59)
dy1
dy 1
dy1
dy 1
y1 = y2 = y 1 = y 2 =
=
=
=
= 0
dk1
dk1
dk2
dk2
t=0
dy1
dy 1
dy1
dy 1
y1 = y2 = 1, y 1 = y 2 =
=
=
=
= 0
.
dk1
dk1
dk2
dk2
t=tf
(60)
Figure 19 illustrates the reduction in residual vibration of the desensitized time-optimal control,
compared to the time-optimal control in the vicinity of the nominal values of the spring coecients.
The maneuver time of the two time-optimal control prole is tf = 4.1514, and for the desensitized
control prole is tf = 6.2439. It is clear the insensitivity to model parameters is achieved at a cost
of increased maneuver time.
0.3
Residual Energy
0.25
0.2
0.15
0.1
0.05
0
1.4
1.2
1.4
1
1.2
k1
0.8
0.6
0.6
k2
Percentage Vibration
100
Theoretical
Measured
80
60
250
200
200
150
150
100
100
50
Input Shaped
Unshaped
50
-50
0
-50
0.01
0.02
0.03
0.04
0.05
Shaped Position, in
Given the simple approach and ease of implementation of basic input shaping techniques, they have
been used in a variety of applications. The wide
spread use is also attributable to the robustness
that can be added to many of the techniques.
One major area of success has been on cranes and
crane-like structures. Starr wrote an early paper that implemented a ZV-like shaping scheme
on a crane [6]. Groups at Sandia and Oak Ridge
National labs have been especially active in this
area [28], [20], [43]. Their approach has been similar to the input shaping described in Section 2;
however, the shaping lter utilized has often been
an IIR lter instead of a FIR lter. Their technique has also been utilized to control sloshing
uids [43]. Another approach, which has been implemented on some large gantry cranes, designed
input shapers to suppress vibration over the expected operating ranges of the cranes [44]. Figure 20 shows the reduction in residual vibration
as a function of the hoist cable length.
Unshaped Position, in
0.35
-100
0.06
Time (sec)
40
20
0
10
15
20
25
30
References
[1]
Smith, O. J. M., Posicast Control of Damped Oscillatory Systems, Proc. of the IRE, 1957, pp 1249-1255.
[2]
Calvert, J. F. and Gimpel, D. J., Method and Apparatus for Control of System Output Response to System
Input, U.S. Patent #2,801,351, 1957.
Tip Acceleration
8
6
4
2
0
-2
-4
-6
-8
2000
4000
6000
8000
Time (msec)
[16] Murphy, B. R. and Watanabe, I., 1992 Digital Shaping Filters for Reducing Machine Vibration, IEEE Transactions on Robotics and Automation, Vol. 8(April), pp. 285289.
[17] Singer, N. C. and Seering, W. P., An Extension of
Command Shaping Methods for Controlling Residual Vibration Using Frequency Sampling, IEEE International
Conference on Robotics and Automation, Nice, France,
1992.
[18] Magee, D. and Book, W., The Application of
Input Shaping to a System with Varying Parameters,
Japan/USA Symposium on Flexible Automation, 1992.
[19] Singer, N. C. and Seering, W. P., An Extension of
Command Shaping Methods for Controlling Residual Vibration Using Frequency Sampling, IEEE International
Conference on Robotics and Automation, Nice, France,
1992.
[20] Noakes, M. W. and Jansen, J. F., Generalized Inputs for Damped-Vibration Control of Suspended Payloads, Robotics and Autonomous Systems, vol. 10, pp. 199205, 1992.
[21] Wie, B. and Bernstein, D., Benchmark Problems
for Robust Control Design, J. of Guidance, Control and
Dynamics, Vol. 15, No. 5, 1992, pp 1057-1058.
[22] Singh, T. and Vadali, S. R., 1993, Input-Shaped
Control of Three-Dimensional Maneuvers of Flexible Spacecraft, J. of Guidance, Control, and Dynamics, Vol. 16(6),
pp. 1061-1068.
[23] Singh, T. and Vadali, S. R., 1993, Robust TimeDelay Control, ASME J. of Dynamic Systems, Measurement, and Control, Vol. 115, pp. 303-306.
[24] Singh, T., Heppler, G. R., 1993, Shaped Input for
Multimode System ASME J. of Dynamic Systems, Measurement and Control, Vol. 115, 1993, pp 341-347.
[25] Khorrami, F., Jain, S., and Tzes, A., Adaptive Nonlinear Control and Input Preshaping for Flexible-Link Manipulators, American Control Conf., San Francisco, CA,
1993.
[26] Tzes, A., and Yurkovich, S., An Adaptive Input
Shaping Control Scheme for Vibration Suppression in Slewing Flexible Structures, IEEE Transactions on Control
Systems Technology, Vol. 1, pp. 114-121, 1993.
[27] Seth, N., Rattan, K. and Brandstetter, R., Vibration Control of a Coordinate Measuring Machine, IEEE
Conf. on Control Apps., Dayton, OH, 1993.
[28] Feddema, J. T., Digital Filter Control of Remotely
Operated Flexible Robotic Structures, American Control
Conf., San Francisco, CA, 1993.
[29] Singh, T. and Vadali, S. R., Robust Time-Optimal
Control: Frequency Domain Approach, AIAA J. of Guidance, Control and Dynamics, Vol. 17, No. 2, 1994, pp 346353.
[30] Tuttle, T. D. and Seering, W. P., A Zeroplacement Technique for Designing Shaped Inputs to Suppress Multiple-mode Vibration, American Control Conf.,
Baltimore, MD, 1994.
[31] Rappole, B. W., Singer, N. C., and Seering, W. P.,
Multiple-Mode Impulse Shaping Sequences for Reducing
Residual Vibrations, 23rd Biennial Mechanisms Conference, Minneapolis, MN, 1994.