Вы находитесь на странице: 1из 7

Proceedings of the ASME 2010 Dynamic Systems and Control Conference

DSCC2010
September 12-15, 2010, Cambridge, Massachusetts, USA

DSCC2010-
VARIABLE-VELOCITY EXPONENTIAL INPUT SHAPING FOR POSITION
CONTROLLED ROBOTIC SYSTEMS

P. Iravani
Department of Mechanical Engineering
University of Bath
Bath, BA2 7AY, UK
p.iravani@bath.ac.uk

M. N. Sahinkaya
Department of Mechanical Engineering
University of Bath
Bath, BA2 7AY, UK
ensmns@bath.ac.uk

ABSTRACT
This paper demonstrates a new form of Input Shaping for vibration reduction applied to robotic systems that manipulate flexible loads. The method is based on using an exponential function
to define asymptotic and vibration-free trajectories for the flexible system. The required control input is calculated analytically
by using inverse dynamics which ensures the desired end-effector
trajectory. The method is demonstrated experimentally on the
control of point-to-point movements of a robotic manipulator.

INTRODUCTION
This paper focuses on Input Shaping (IS) strategies to minimize vibration in robotic systems that operate flexible systems
at their end-effector. The method defines trajectories in terms of
(position, velocity) pairs and thus does not interfere with lowlevel robot controllers.
The accuracy and settling time of lightly damped mechanical systems are constrained by their inherent flexible properties which introduce undesired vibrations during and after movements. Current robotic research aims at bringing robots closer
to humans. For these new environments, robots will have to be
compliant to ensure user safety. Light-weight links and flexible
joints are currently being designed to ensure mechanical compliance [1, 2]. These introduce new control challenges in relation to vibration minimization, as both introduce elasticity to the
robotic system. Traditional industrial robots have been designed
to be as rigid as possible to minimize vibrations at their endeffectors. Despite their rigid designs, flexible loads, compliant
force sensors and flexible couplers attached at the end-effector
of industrial robots result in unwanted vibrations during motions
in free space [3]. These challenges in robotics make IS an ideal
candidate for vibration-free positioning in robotic systems.
IS strategies have the benefit of being easily applicable
on existing machinery as they dont require feedback measurements. The most popular approach to IS is based on the convolution of the input command with carefully calculated impulses [4].
In essence the method relies on compensating for the vibrations
associated with the systems natural transient response. The resulting motion speed and thus settling time, are determined by
the system dynamics, i.e. the natural frequency and the damping
ratio. Therefore, conventional IS does not allow the control of
the robots settling time.

NOMENCLATURE
c System damping
f Force input
F Normalized force input
k System stiffness
m System mass
n Exponential order
t Time
Ts Settling time
x Desired system trajectory
X Normalized system trajectory
XE End position
XM Motion range
XO Initial position
y Control position input
Y Normalized system control input
u Normalized time
Speed parameter
n Natural frequency
Time constant
Damping ratio

Copyright 2010 by ASME

In order to make IS applicable to industrial robots, Kamel


[3] argues that the following points must be satisfied:

x(t) = XO + XM (1 e(t) )

1- Compensation of the delays introduced by the shapers


2- Digitization of the shapers
3- Desired end-effector trajectory definition

(1)

which describes a smooth asymptotic motion starting at position


XO to the end position XE , defined as XE = XO + XM , for any
n 1. The parameter corresponds to the motions speed, i.e.
how fast the x(t) converges towards the final value. The order of
the equation n specifies the gradient of the function, therefore the
behavior of its derivatives.
In order to generalize the analysis a normalized time, u, is
defined as, u = t, thus resulting in the normalized function for
XO = 0;

A novel IS techniques based on a third order exponential


function was introduced by Sahinkaya [5, 6]. The technique
is based on an inverse dynamic analysis using the exponential
function as the systems desired trajectory. The Exponential
IS method (EIS) inherently solves the problems associated with
conventional IS and offers the following benefits:
1- The speed of motions, thus the settling time can be controlled
2- Is based on a continuous trajectory, thus precise impulse
timings are not required
3- Uses inverse dynamics, thus end-effector trajectories are
ensured without delays

n
x(t)
= 1 eu
XM

X(u) =

(2)

Figure 1 illustrates the normalized function X(u) and its


derivatives for orders n = 2, 3, 4 i.e. normalized function, velocity, acceleration, and jerk. As X(u) defines a point-to-point
trajectory, it is essential that its first and second derivatives at the
start and end of the motion are zero, i.e. that the system starts
and reaches the desired end position with zero velocity and acceleration. Given the asymptotic characteristic of the exponential function presented, the end position will always meet these
constraints. It can be seen from Fig. 1(b) that n 3 will satisfy initial conditions of zero velocity and acceleration. It will be
shown later, that higher order functions are required for position
controlled systems.

This paper compares conventional and EIS methods, it derives a trajectory function for position controlled systems and
demonstrates the application of the new method on a robotic manipulator operating a flexible load.

INPUT SHAPING
Various IS techniques have been developed including posicast control [7], bang-bang control [8], convolution of impulses
[4, 9] and ramped sinusoids [10], all of which rely on compensating vibrations associated with the system natural transient response. For a second order system, the basic form of input shaping termed ZV shapers require two impulses giving zero vibration when the final position is reached. The ZV shapers are sensitive to errors in the natural frequency and the damping ratio
of the system. Robustness can be improved at the expense of a
slower speed by increasing the number of pulses and making the
derivative of the vibrations zero at the arrival of the final position
(ZVD shapers) and also the second derivatives (ZVDD shapers).
However, they can exercise very little control over the response
speed, which is governed mainly by the systems modes.
An alternative approach was developed by [11] using a polynomial shaping function, which is formed from an inverse dynamic analysis. However, the polynomial input function is only
valid up to the point where the output reaches the final destination and it has to be switched to another function in order to keep
the system in its desired position. Switching introduces a discontinuity in the first and second derivatives, and can potentially
induce vibration.

3
n=1

0.8
0.6

Normalised Velocity

Normalised Position

n=2

0.4 n=3
0.2
0
0

n=4
0.5
1
1.5
2
Normalised Time *t

n=4
2
n=3
n=2
n=1

0
0

2.5

0.5
1
1.5
2
Normalised Time *t

(b) Normalized Velocity

n=4
n=3
n=2

Normalised Jerk

Normalised Acceleration

(a) Normalized Position

n=1

0
2

0.5
1
1.5
2
Normalised Time *t

Figure 1.

n=4
n=3

10
0

n=1

10 n=2
20

4
0

2.5

(c) Normalized Acceleration

EXPONENTIAL INPUT SHAPING


EIS uses the following asymptotic function to define the desired motion x(t):

2.5

0.5
1
1.5
2
Normalised Time *t

2.5

(d) Normalized Jerk

EXPONENTIAL FUNCTION CHARACTERISTICS

Copyright 2010 by ASME

Inverse dynamics
In order to obtain the required input, an inverse dynamic
analysis is performed assuming that the system responds as a
linear second order system as the one illustrated in Fig. 2.

(a) Force controlled system


Figure 2.

For a force controlled system, a non-zero starting force


derivative is not an issue, as forces can be applied instantaneously. Thus, for a force controlled system a function of order
n = 3 satisfies all the motion constraints (zero starting velocity
and acceleration).
Position controlled systems should have a zero starting vef (t)
locity, given our previous simplification, y(t)
, it follows
k
that Eq. (5) should have a zero starting derivative for position
controlled systems. In other words, higher order functions, with
n > 3, are all suitable candidates. As it can be observed in Fig. 1,
the higher the order the higher the maximum values of the function derivatives. In other words, higher order functions will require larger actuator effort for the same point-to-point motion.
Thus, in a position controlled systems it is important to balance
the zero-jerk constraint with that of a lower-order system to result in lower actuator effort.
A suitable order for the position controlled system is experimentally determined to be n = 7/2. The value of n does affect
the vibration suppression properties of EIS. The following equations are used to derive the normalized force F(u) for a desired
exponential trajectory of order n = 7/2

(b) Position controlled system

FLEXIBLE SECOND ORDER SYSTEM

The equation of motion for a force controlled (Fig. 2(a)) system can be written as:
x(t)
+ 2n x(t)
+ 2n x(t) =

2n f (t)
k

(3)

and for a position controlled system (Fig. 2(b)):

x(t)
+ 2n x(t)
+ 2n x(t) = 2n y(t)
+ 2n y(t)

7/2
x(t)
= 1 e(u)
XM
7/2
7
x(t)

= u5/2 eu
X(u)
=
XM
2

7/2
49
x(t)

35
3/2
5

=
u u eu
X(u)
= 2
XM
4
4

X(u) =

(4)

The relation between the force and position controlled sys2y(t)

tems, f (t) =
+ ky(t), is a low-pass filter with a time conn
2
. For flexible systems with a very low the effect
stant of =
n
of this filter is negligible at low-movement frequencies, therefore
f (t)
.
allowing the following simplification, y(t)
k
A normalized force F(u) can be derived from Eq. 3 as follows:

X(u)
2X(u)
F(u) = 2 +
+ X(u)

(6)

Substituting X(u), X(u),


X(u)
into Eq. (5) results in the following normalized force expression:

F(u) = 1 +
(5)

!
7/2
35u3/2 49u5 7u5/2
+
1 eu
42
2

(7)

Figure 3 illustrates the normalized force for different values


of and . These are arbitrary values to illustrate the effect of
the parameters on the resulting force.
As it can be seen in Fig. 3(a) increasing the value of results in an increased normalized force. Contrarily, decreasing
(Fig. 3(b)) increases the value of the normalized force. This
is expected as = n represents the relation between the systems natural frequency n and the speed parameter . Smaller
represents a relatively (in relation to n ) faster motions, therefore requiring larger forces. It can be seen from Fig. 3(b) that at
relatively slow motions, the normalized force resembles the desired trajectory. In [5] a critical value of > 8 for an exponential
function with n = 3 is defined, where above this threshold the demanded trajectory can be used directly as control input without

n
f (t)
and =
.
where F(u) =
kXM

The normalized force F(u) can be easily calculated using


inverse dynamics by deriving the first and second derivatives of
X(u) and substituting in Eq. (5).

EXPONENTIAL INPUT SHAPING DESIGN


Following Eq. (5) the normalized force F(u) is a weighted
summation of the functions illustrated in Fig. 1. This summation
will have a non-zero starting gradient unless n > 3. This can
be observed in Fig. 1(d) where the normalized jerk starts at zero
only for n = 4 .

Copyright 2010 by ASME

=0.1
0
2
0

0.5
1
1.5
2
Normalised Time *t

(a) F(u) with changing for = 1

=2

=510

1
0

=3

1
2
0

2.5

=1

0.5
1
1.5
2
Normalised Time *t

2.5

(b) F(u) with changing for = 0.1

10
5
0
5
10
15
0

0.5
1
1.5
2
Normalised Time *t

(a) First derivative


Figure 3.

2.5

Normalised Force Derivative F(u)

Normalised Force Derivative F(u)

Normalised Force F(u)

Normalised Force F(u)

=1
4

50

50
0

0.5
1
1.5
2
Normalised Time *t

2.5

(b) Second derivative

NORMALIZED FORCE FOR DIFFERENT AND VALUES


Figure 4.

the requirements of inverse dynamics. Hence, there is no need to


specify n and for the shaper.

EXPERIMENTAL TESTS
This section presents experimental results using the EIS
method and the results are compared with conventional IS, ZV,
ZVD and ZVDD. In order to test the EIS method a flexible beam
was attached at the end-effector of a 6-DOF robotic manipulator
as illustrated in Fig. 5. The beam measures 840 mm, has a width
of 24 mm and a depth of 1.1 mm. A load of 200 grams is attached
at the end of the beam to decrease its natural frequency.

Variable velocity
One of the main advantages of EIS over conventional IS is
that it can achieve zero vibration motions for any desired motion
speed by selecting an appropriate value for the speed parameter
.
Given that the exponential function is asymptotic, the end
trajectory will never be reached. In order to define a motion
speed, a settling time, Ts , is defined as the time it takes for the
system to reach 99% of the desired position. Therefore, the speed
parameter is related to the motions settling time Ts as follows:
Ts (99%) =

p
n

ln(0.01)

NORMALIZED DERIVATIVES OF FORCE F(u)

(8)

Motion speed increases with increasing values. For example,


for n = 7/2 and Ts = 1 s, the speed parameter can be calculated
as = 1.55
Actuator limits
In order to design a trajectory which falls within the limits
of the systems actuators the maximum actuator values can be
calculated as function of the speed parameter . As mentioned
previously, the following simplifications are made: Y (u) = F(u),

and thus, Y (u) = F(u)


and Y (u) = F(u).

Figure 4 illustrates the normalized force derivatives F(u)

and F(u)
for a system with = 1 and = 0.1 corresponding
to the force illustrated in Fig. 3(b) for = 1.
The maximum normalized velocity Y (u) occurs at u = 0.675

and has a value of F(0.675)


= 13.07. The maximum normalized acceleration occurs at u = 0.85 and has a value of

F(0.85)
= 68.47. As these maximum values depend on the system parameters and n , and the speed parameter , they should
be calculated for each particular system.
It was observed that the robustness of the EIS with respect
to errors in specifying n and is a function of the motion
speed and presents similar characteristics to the conventional input shapers at their corresponding speeds.

Figure 5.

FLEXIBLE BEAM AND ROBOT TEST-BED

A LED was attached at the tip of the flexible beam and a vision system was used to track its position. The vision system runs
at about 30Hz which is sufficient to measure the vibrations in this
experiment. The LED and the vision system are constrained in a
way such that the camera can only measure the beams position
in the vicinity of the target position. This information is sufficient to measure the residual vibration of the system.

Copyright 2010 by ASME

In order to estimate the natural frequency n and damping


ratio of the flexible system a step input was introduced to the
beam and its response is approximated by a second order system.
The estimated values for the beam are n = 4.16 rad/s and =
0.005. Figure 6 illustrates the response of the estimated system
with that of the measured system. The figure shows a good match
between the two responses.

inverse dynamics. In the third step, the computed control force


is transformed into an end-effector control trajectory. The endeffector trajectory is then approximated by 3rd order polynomial
Splines which are used to control the robot.

Residual vibrations
In order to generate the fastest possible motion with the
conventional IS technique the following method was used. The
maximum robot angular acceleration (10 rad/s2 ) was used to derive the fastest possible position command by double integration.
Figure 8 illustrates the acceleration and velocity command introduced to the conventional IS. Figure 9 illustrates the position input to the shaper and the simulated shaper output. Observe that
the output trajectory is not equal to the desired one. This is due
to the delays introduced by conventional IS.

0.5
0
0.5

estimated system
measured response

1
0

5
Figure 6.

10
Time [s]

15

10

Accleration
Velocity

Velocity [rad/s] Acceleration [rad/s ]

Normalised response

20

SYSTEM AND RESPONSE

The Katana 6-DOF manipulator [12] can be programmed to


follow trajectories using 3rd order Splines. For this experiments,
the 5th joint (as illustrated in Fig. 5) is used to control the rotational motion of the beam. The other joints are fixed.

10
0

Figure 8.

0.5

1.5
Time [s]

2.5

VELOCITY AND ACCELERATION INPUT TO THE SHAPERS

Conventional input shapers ZV, ZVD and ZVDD evaluated


against the EIS technique as shown in Fig. 10. EIS with a 1.2 s
settling time corresponds to ZV and 1.8 s settling time to ZVD.

Figure 7.

Figure 11 illustrates the relative residual vibration after a


/5 rad rotational displacement input. The amplitude of the vibrations are relative to the maximum vibrations amplitudes of the
beam when the robot moves using its conventional point to point
motion (P2P) (using the typical robotic trapezoidal velocity profile). In Fig. 11, the time zero corresponds to the time when the
flexible beam crosses its desired position for the first time.

DIAGRAM OF THE PROPOSED EIS METHOD

Figure 7 summarizes the EIS method applied to the robotic


manipulator with a flexible load. The first step is to define the
desired exponential trajectory for the flexible system. The second
step involves calculating the force to achieve such trajectory by

It is clear that both, ZV and EIS drastically reduce the vibrations of the beam. The performance of both methods is comparable, thus this experiment shows that EIS, at the ZV equivalent
speed, performs as well as conventional IS.

Copyright 2010 by ASME

0.7

1
Relative Vibration Amplitude

System Output [rad]

0.6
0.5
0.4
0.3

Traj. Demand
ZV

0.2

ZVD
0.1

ZVDD

0
0

0.5
Figure 9.

1
1.5
Time [s]

0.5

ZV
EIS 1s
1
0

2.5

SIMULATED SHAPER OUTPUTS

4
6
Time [s]

Figure 11.

0.7

RESIDUAL VIBRATIONS

0.6
0.5

0.6

1s
2s

Motor Position

0.4
Motor Position

10

0.8
[rad]

[rad]

P2P

0.5

0.3
ZVD
0.2

ZV

0.1

EIS 1.8 s

0.4

0.2

EIS 1.2 s
0
0
Figure 10.

0.5

1
1.5
Time [s]

0
0

2.5

Time [s]

MEASURED MOTOR POSITION VS TIME

Figure 12.

Variable Velocity in EIS


Figure 12 illustrate measured motor positions against time
to produce the vibration free positioning of the load. The figure
shows different EIS trajectories for settling times ranging from
1 s to 2 s (increments are of 0.2 s). EIS can generate faster trajectories than the ZV input shaper (e.g. Ts = 1 s trajectory in
the figure). The only restriction in the trajectory speed is the
physical actuator limits. This variable velocity characteristic is a
clear advantage over the conventional IS techniques in which the
trajectory velocity is determined by the systems characteristics
(n , ).
In order to demonstrate that EIS can reduce vibrations at any
speed, the same /5 rotational displacement was performed at
different speeds. Figure 13 illustrates the EIS method with three
different settling times, 1 s, 1.4 s and 1.8 s. As it can be observed

MEASURED MOTOR POSITION VS TIME

the method reduces vibrations at any desired speed. This is a


clear improvement over conventional IS where the motion speed
is determined by the physical systems characteristics. This figure uses the same axis definition of Fig. 11.

CONCLUSIONS
A new method for input shaping has been demonstrated for
position controlled systems. The method is based on the inverse
dynamics analysis of an exponential function applied to a second
order flexible system.
The method has the following advantages over conventional
IS:
1. It is based on inverse dynamics, thus the actual trajectory is

Copyright 2010 by ASME

Relative Vibration Amplitude

0.15
EIS 1s
EIS 1.4 s
EIS 1.8 s

0.1

[5]

0.05

[6]
0

0.05

[7]
0.1

[8]
0

10

Time [s]
Figure 13.

[9]

EIS RESIDUAL VIBRATIONS AT DIFFERENT SPEEDS

equal to the desired one


2. The motions velocity can be defined by the user, i.e. it is
not constrained by the physical parameters of the flexible
system
3. It is a continuous function, thus it does not require precise
digitization of the shaper

[10]

[11]

The experiments with the robotic test-bed illustrate the performance of the method. They show how the residual vibrations
of the EIS method are as good as the ones achieved by conventional IS with the advantage of continous variable velocity trajectories.

[12]

Systems Measurement and Control - Transactions of the


ASME, 112(1), MAR, pp. 7682.
Sahinkaya, M., 2001. Input shaping for vibration-free positioning of flexible systems. Proceedings of the Institution of Mechanical Engineers Part I - Journal of Systems
and Control Engineering, 215(I5), pp. 467481.
Sahinkaya, M., 2004. Exponential Input Shaping for Vibration Free Positioning of Lightly Damped Multi-Mode
Systems. In 7th International Conference on Motion and
Vibration Control. St. Louise, USA, AUG 8-11, 2004.
Cook, G., 1986. Control of flexible structures via posicast. In 1986 Southeast Symposium on System Theory,
pp. 3135.
P., M., and W., S., 1985. Active damping in a threeaxis robotic manipulator. Journal of vibration, acoustics,
stress, and reliability in design, 107(1), pp. 3846.
Singhose, W., 2009. Command shaping for flexible systems: A review of the first 50 years. International Journal
of Precision Engineering and Manufacturing, 10(4), OCT,
pp. 153168.
Meckl, P., and Kinceler, R., 1994. Robust motion control
of flexible systems using feedforward forcing functions.
Control Systems Technology, IEEE Transactions on, 2(3),
sep, pp. 245 254.
Piazzi, A., and Visioli, A., 2000. Minimum-time systeminversion-based motion planning for residual vibration reduction. Mechatronics, IEEE/ASME Transactions on,
5(1), mar, pp. 12 22.
Neuronics, 2008. Katana - automation made easy.
Brouchure.

ACKNOWLEDGMENT
The authors gratefully acknowledge the financial support of
the Engineering and Physical Science Research Council under
Grant RC-ME0436.

REFERENCES
[1] Zinn, M., Khatib, O., Roth, B., and Salisbury, J., 2004.
Playing it safe [human-friendly robots]. Robotics Automation Magazine, IEEE, 11(2), june, pp. 12 21.
[2] Edsinger, A., and Kemp, C., 2006. Manipulation in human
environments. pp. 102 109.
[3] Kamel, A., Lange, F., and Hirzinger, G., 2009. An
Industrial-Robots Suited Input Shaping Control Scheme.
In Motion and Vibration Control, Ulbrich, H and Ginzinger,
L, ed., pp. 177187. 9th International Conference on Motion and Vibration Control, Munich, GERMANY, SEP 1518, 2008.
[4] Singer, N., and Seering, W., 1990. Preshaping Command
Inputs to Reduce System Vibration. Journal of Dynamic

Copyright 2010 by ASME

Вам также может понравиться