Professional Documents
Culture Documents
1178
1178
I. I NTRODUCTION
Path following control arises as the fundamental motion
control problem in mobile robotics and with the addition
of obstacle avoidance control the solution will be robust,
although it generally leads to higher computation complexity [1]. State estimation in mobile robotics is performed
historically by using Extended Kalman Filters (EKF) and
Unscented Kalman Filters (UKF) [2] and PID control is
adopted for tracking control [3], [4]. However, when inequality constraints are present on states and disturbances,
state estimation and control in non-linear systems becomes
more complicated. In such a case, the state estimation and
control problems with constraints can be reformulated as two
seperate optimal control problems where all previous sensor
and motion command information are taken into account.
Consequently, the computation complexity of the problem
increases due to the growth of the problem dimension when
incorporating the complete information and hence generally undesirable for real-time applications. Using a xedsize window to limit the information processing is usually
adopted to limit the computation burden. The window is
propagated when new data arrives and the old data outside
the window is discarded. In the state estimation domain this
approach is termed as Moving Horizon Estimation (MHE)
[5], [6]. Here, an arrival cost is introduced to approximate
the information outside the window. An objective function to
be optimized is dened including the sensor errors, motion
commands and the arrival cost. The method is suited for
online non-linear estimation with limited computing power
[7]. In the control domain the problem is represented as
nding optimal solutions to an objective function including
non-linear system dynamics solving the open loop constrained optimal control problem in each step. Here, the
approach is named as Non-linear Model Predictive Control
(NMPC). The objective function penalises the deviation of
the control inputs and states from a given reference. The rst
control command is applied to the system ans rest is often
discarded [6], [8]. The MHE and NMPC approaches have
1999
cos 0
(1)
x = sin 0 u
0
1
which follows a non-linear difference equation of the form
x = f (x, u)
(2)
A. Measurement model
We used the P3-AT mobile robot (shown in gure 1(a))
provided by Adept MobileRobots for this research work. We
assume the mobile robot is equipped with range and attitude
measuring sensors so that it can read its heading (), the
range to a landmark (R), and angle to the landmark from
its heading direction (), as shown in the gure 1(b). These
measurements are modeled as:
Z = + n
ZR = ||(xl , yl ) (x, y)|| + nR
yl y
1
Z = tan
+ n
xl x
(a) P3-AT mobile robot
&
y
yl y
0
0
2
0
Q = 0 R
(10)
0
0 2
( xr , yr ,r )
r
(xo, yo)
&
ye
&
&
u
xe
(7)
R (x , y )
l l
(x, y)
&
x
(b) Robots environment
B. Motion model
xe
cos
sin
xe = ye = sin cos
e
0
0
0
xr x
0 yr y (3)
r
1
(4)
For this error state model, error control signals are dened
as:
ur cos e u
u1e
=
ue =
(5)
u2e
r
(6)
2000
(11)
u = [u ]T
(12)
u = [u ]T
2
u 0
P =
0 2
(13)
(14)
C. System Constraints
When exerting the recommended control actions the physical limitations of the system need to be considered. The input
saturations can be expressed as umin u umax . If there
are any state constraints in the form of path constraints those
t0
(17)
k=t0 TE +1
t0 TE
E. Obstacle Avoidance
Obstacle avoidance problem is addressed by satisfying a
set of quadratic inequality constraints which are non-convex.
Obstacles are assumed as circular in shape. Let (xo,i , yo,i )
be the position of the ith obstacle and ro,i is its radius. The
following constraints can be achieved [17]:
2
i, ||(xo,i , yo,i ) (x, y)||2 ro,i
(18)
(19)
AND
NMPC
i, 1
k=t0 TE
(21)
where x
t0 TE is the state estimation for time t0 TE
obtained at the previous MHE run. The matrix sequence
{t } is obtained by repeatedly solving the matrix Riccati
equation as follows.
t+1
Gt t GTt + Vt Pt VtT
1
Gt t HtT Ht t HtT + Qt
Ht t GTt(22)
Kt
FORMULATIONS
2001
t0
+TH
s.t. xe,k+1
||ue,k ||2L +
t0
+TH
k=t0
||xe,k ||2M +
UR
JtN0 M P C
WiT Si
= g(xe,k , ue,k ), (ue,k , xe,k ) 0,
Si 0
S
IV. I MPLEMENTATION
The MHE and NMPC schemes based approach is implemented in simulation. The values of the model parameters
used in the simulation are depicted in table I.
TABLE I: Parameter values used in the simulation
Symbol
dt
R
1 , 2
3 , 4
u
TE
TH
0
Value
0.1
0.01
0.001
0.001
0.01,0.001
0.001,0.01
0.0 u 2.0
2.0 2.0
1.0
1.0
0.1 I3
G G
(23)
Parameter
Sample time
Noise in range
Noise in heading
Noise in attitude
Noise in motion
Noise in motion
Linear velocity
Angular velocity
MHE horizon
NMPC horizon
Initial state covariance
SR
Unit
s
m
rad
rad
ms1
rads1
s
s
m2 , m2 , rad2
(24)
u = 1 cos + 2 sin
2 cos 1 sin
=
u
with kp1 , kp1 (= 1.5), and kd1 , kd1 (= 0.7) as proportional
and derivative gains and u = ur at the beginning. The static
collision avoidance is achieved by modifying the trajectory
near the obstacles so that the robot follows the enlarged
perimeter of the obstacle, keeping a safe distance until it
reaches to the next set of way points. This is depicted in
gure 2. While ||po pr || > r0 + 1 + 2 , the robot follows
the pre-dened trajectory. When r0 + 1 < ||po pr || <
r0 + 1 + 2 , the pre-dened trajectory is modied and the
2002
S
SU
Fig. 2:
u (ms1 )
0.15
0.1
0.05
0
100
200
100
200
300
400
500
600
700
300
400
500
600
700
(rads1 )
1
0.5
0
-0.5
-1
Time ( 0.2s)
2003
(a) Following the circular (b) Avoiding the obstacle (c) Avoiding the obstacle (d) Moving to the prede- (e) Following the circular
trajectory
ned trajectory
trajectory again
R EFERENCES
0.008
0.006
0.004
0.002
0
0
100
200
300
400
500
Time steps
the situation where the robot was avoiding the obstacle. This
event makes activating and deactivating the constraints a lot,
yielding more changes to the active-set and hence being more
demanding on qpOASES. As an alternative, interior-point
method will give a consistent computational time regardless
of the obstacles.
V. C ONCLUSION &
FUTURE WORK
2004