Data-Driven Automatic Parking Constrained Control
Data-Driven Automatic Parking Constrained Control
Data-Driven Automatic Parking Constrained Control
mobile vehicles
Abstract
In this article, a novel data-driven constrained control scheme is proposed for automatic parking systems. The design of
the proposed scheme only depends on the steering angle and the orientation angle of the car, and it does not involve any
model information of the car. Therefore, the proposed scheme-based automatic parking system is applicable to different
kinds of cars. In order to further reduce the desired trajectory coordinate tracking errors, a coordinates compensation
algorithm is also proposed. In the design procedure of the controller, a novel dynamic anti-windup compensator is used to
deal with the change magnitude and rate saturations of automatic parking control input. It is theoretically proven that all
the signals in the closed-loop system are uniformly ultimately bounded based on Lyapunov stability analysis method.
Finally, a simulation comparison among the proposed scheme with coordinates compensation and Proportion Integration
Differentiation (PID) control algorithm is given. It is shown that the proposed scheme with coordinates compensation has
smaller tracking errors and more rapid responses than PID scheme.
Keywords
Data-driven constrained control, automatic car parking, dynamic anti-windup, coordinates compensation
Creative Commons CC-BY: This article is distributed under the terms of the Creative Commons Attribution 3.0 License
(http://www.creativecommons.org/licenses/by/3.0/) which permits any use, reproduction and distribution of the work without
further permission provided the original work is attributed as specified on the SAGE and Open Access pages (https://us.sagepub.com/en-us/nam/
open-access-at-sage).
2 International Journal of Advanced Robotic Systems
Yan et al. 5
Noticed that V1 ðkÞ is negative definite in the variables Observer tracking error is defined as eðkÞ ¼ ðkÞ
eo ðkÞ and ðkÞ. Since V 1 ðkÞ in a decreasing and nonnegative ^ðkÞ ðkÞ, under the dynamic constraints (9), and com-
function, it converges to a constant value V1 1 0, as bining with (21), thus
k ! 1; hence, V 1 ðkÞ ! 0. This means that both eo ðkÞ and
~ðkÞ remain bounded for all the k, and limk!1 eo ðkÞ ¼ 0. eðk þ 1Þ ¼ ðk þ 1Þ ^ðk þ 1Þ ðk þ 1Þ
In order to make the parameter estimation, law (14) have ¼ ðk þ 1Þ ^ðkÞ ’
^ ðkÞðkÞ 1
a stronger capability in tracking time-varying parameter, a ’ ^ 2 ðkÞðkÞ Ke 0 ðkÞ
ðkÞ
reset algorithm which13 should be considered is as follows
’ ^ 2 ðkÞð 0 ðkÞ ðkÞÞ
½^ ^ 2 ðkÞT ¼ ½^
’1 ðkÞ; ’ ’1 ð1Þ; ’ ^ 2 ð1ÞT ¼ ðk þ 1Þ ^ðkÞ
ðkÞ ’
^ 1 ðkÞðkÞ
" #
^ 1 ðkÞ
’ Ke 0 ðkÞ ’ ^ 2 ðkÞ 0 ðkÞ ðk þ 1Þ
if ½^
’1 ðkÞ; ’
^ 2 ðkÞ ’2 ðkÞÞ 6¼ sgnð^
&; or sgnð^ ’2 ð1ÞÞ
^ 2 ðkÞ
’ (23)
(18) Substituting equation (22) into equation (23), we obtain
where & is a small positive constant and ’ ^ 1 ð1Þ and ’
^ 2 ð1Þ
eðk þ 1Þ ¼ 2 ðk þ 1Þ ^ðkÞ
ðkÞ
^ 1 ðkÞ and ’
are the initial value of ’ ^ 2 ðkÞ, respectively. ^ 2 ðkÞ þ
’
’ ^ 1 ðkÞðkÞ Ke 0 ðkÞ
A data-driven constrained control algorithm
(24)
and stability analysis
The convergence and tracking performance analysis for
On the basis of the observer (12), the data-driven uncon-
data-driven constrained control law (20) and (22) are
strained control algorithm is computed as
shown in theorem 2.
0 ðkÞ ¼ ðk 1Þ
^ 2 ðkÞ ðk þ 1Þ ^ðkÞ Ke0 ðkÞ ’
’ ^ 1 ðkÞðkÞ Theorem 2. For given j ðkÞ ðk 1Þj , by using
þ the data-driven constrained control law (20) and (22), the
^ 22 ðkÞ þ
’ solution of close-loop observer error system (24) is uni-
(19) formly ultimately bounded (UUB)27 for all the k with ulti-
mate bound limk!1 jeðkÞj a2 =ð1 a1 Þ.
where ðkÞ is the target orientation angle of the car. is a
where is a given positive constant
given small finite positive number. By taking into account
the input constraints (9), the adaptive constrained controller a1 ¼
is described as the following ^ 22 ðkÞ þ
’
ðtÞ ¼ Sat ðk 1Þ þ Satfð 0 ðkÞ ðk 1ÞÞ; a2 ¼ j þ ð1
ÞðkÞ Ke 0 ðkÞ ’
^ 1 ðkÞðkÞj
^ 22 ðkÞ þ
’
T _ min ; T _ max ; min ; max (20)
where T denotes the sampling time, and Satð Þ function is
Proof. Considering the absolute value of equation (24), it
defined as
8 turns into
<b a b
>
Satða; b; cÞ ¼ a b < a < c jeðk þ 1Þj ¼ j ðk þ 1Þ ^ðkÞ
ðkÞ
> ^ 22 ðkÞ
’ þ
:
c ac Ke 0 ðkÞ ’^ 1 ðkÞðkÞj
Because of the dynamic constraints in the close-loop
¼ 2 j ðk þ 1Þ ðkÞ þ eðkÞ
control system, an anti-windup compensator is designed ^ 2 ðkÞ þ
’
to adapt to the target orientation angle of the car ðkÞ. The þ ð1
ÞðkÞ Ke 0 ðkÞ ’ ^ 1 ðkÞðkÞj
compensation signal ðkÞ is designed as follows
2 jeðkÞj þ 2 j
ðk þ 1Þ ¼
ðkÞ þ ’
^ 2 ðkÞð 0 ðkÞ ðkÞÞ (21) ^ 2 ðkÞ þ
’ ^ 2 ðkÞ þ
’
where
lies in unit circle. Therefore, the controller (19) þ ð1
ÞðkÞ Ke 0 ðkÞ ’
^ 1 ðkÞðkÞj
can be redescribed as ¼ a1 jeðkÞj þ a2
^ ðkÞ
’ (25)
0 ðkÞ ¼ ðk 1Þ þ 2 2
’^ 2 ðkÞ þ Considering a Lyapunov function as V2 ðkÞ ¼ jeðkÞj,
ðk 1Þ ^ðkÞ
ðkÞ Ke0 ðkÞ ’
^ 1 ðkÞðkÞ from equation (25), one has
(22) V2 ðk þ 1Þ ¼ jeðk þ 1Þj jeðkÞj ¼ ð1 a1 ÞV2 ðkÞ þ a2
6 International Journal of Advanced Robotic Systems
Proof. Since
Figure 5. The compensation theory of the target orientation
eðkÞ ¼ eðkÞ e 0 ðkÞ (26) angle of the car.
Considering the absolute value and limiting on both
sides of eqaution (26), we obtain to point F. The solid curve EF denotes the target trajectory
a2 and the dashed-dotted line EP(k) denotes the actual parking
lim j
eðkÞj lim je 0 ðkÞj þ lim jeðkÞj (27) trajectory. Point P(k) and point P ðk þ 1Þ are defined as the
k!1 k!1 k!1 1 a1
current location of the car and the target location of next
Hence the tracking error eðkÞ is UUB for all the k with moment, respectively. ðk þ 1Þ and gðkÞ are defined as the
ultimate bound limk!1 jeðkÞj a2 =ð1 a 1 Þ. target orientation angle of the car of next moment and the
The controller (22) can be divided into two parts: feed- orientation angle from point P ðk þ 1Þ to point PðkÞ,
back control and feedforward control, which is described as respectively.
From Figure 5, we know that the actual position of car
0 ðkÞ ¼ 01 ðkÞ þ 02 ðkÞ has separated from the target trajectory. Hence, we propose
where the compensation algorithm of the target orientation angle
Feedback control: of the car as the following
^ 2 ðkÞ
’ ~ðk þ 1Þ ¼ ðk þ 1Þ þ gðkÞ ðk þ 1Þ (28)
01 ðkÞ ¼ ðk 1Þ þ 2
^ 2 ðkÞ þ
’
^
ðk þ 1Þ ðkÞ
ðkÞ Ke 0 ðkÞ where is a positive adjustable parameter, used to adjust
the intensity of compensation. ~ðk þ 1Þ denotes the com-
Feedforward control: pensated target orientation angle of the car. For the gðkÞ,
^ 2 ðkÞ^
’ ’1 ðkÞðkÞ we consider the following equation with
02 ðkÞ ¼ 2 0 1
^ 2 ðkÞ þ
’
yðkÞ y ðk þ 1Þ
Hence, we obtain the novel data-driven constrained con- gðkÞ ¼ arctan@ A (29)
xðkÞ x ðk þ 1Þ
trol scheme of automatic parking system that consists of
eqautions (14), (18), (20), and (22). where ðxðkÞ; yðkÞÞ denotesthe current coordinate of the car
and x ðk þ 1Þ; y ðk þ 1Þ denotes the target coordinate
of the car of next moment.
The compensation algorithm of the target orientation Hence, we obtain the novel data-driven constrained con-
angle of the car trol algorithm with coordinates compensation as the
In the actual control process, there often exists tracking following
error between the actual orientation angle of the car and
^ðk þ 1Þ ¼ ^ðkÞ þ ðkÞðkÞ e 0 ðk þ 1Þ Fe 0 ðkÞ (30)
the target orientation angle of the car. Hence, there will
exist steady-state error between the actual parking trajec-
½^ ^ 2 ðkÞT ¼ ½^
’ 1 ðkÞ; ’ ’ ð1Þ; ’^ ð1ÞT
tory and the target trajectory. In order to eliminate the " 1 #2
steady-state error, we will propose a coordinates compen- ^ 1 ðkÞ
’
if ½^’ 1 ðkÞ; ’^ 2 ðkÞ &; or sgnð^
’2 ðkÞÞ 6¼ sgnð^
’ 2 ð1ÞÞ
sation algorithm for automatic car parking systems. The ^ 2 ðkÞ
’
data-driven constrained controller corrects the steering (31)
angle according to the difference between the target orien-
tation angle of the car and the current orientation angle of 0 1
the car. yðkÞ y ðk þ 1Þ
gðkÞ ¼ arctan@ A (32)
The compensation theory of the target orientation angle xðkÞ x ðk þ 1Þ
of the car is shown in Figure 5. Backing a car from point E
Yan et al. 7
Figure 6. Flowchart of the novel data-driven constrained control system design procedure for automatic parking.
50
θ*
PID algorithm
Orientation angle of the car θ (°)
40 proposed algorithm
42.5 43.5
42 43
41.5
42.5
30 41
40.5 42
41.5
3.2 3.4 3.6 3. 8
16.2 16.4 16.6
20
16.5
12.5
10 16
12
2.7 2.8 2.9
11.5
0
11
18.8 19 19.2
−10
0 2 4 6 8 10 12 14 16 18 20
Time (s)
20
proposed algorithm.
PID
15
Steering angle β (°)
10
−5
0 2 4 6 8 10 12 14 16 18 20
Time (s)
0.1
proposed algorithm
PID
0.05
0
x−Axis error (m)
−0.05
−0.1
−0.15
−0.2
−0.25
0 2 4 6 8 10 12 14 16 18 20
Time (s)
0.6
proposed algorithm
PID
0.5
0.4
y−Axis error (m)
0.3
0.2
0.1
−0.1
0 2 4 6 8 10 12 14 16 18 20
Time (s)
4
proposed algorithm
PID
3
2
Error of θ (°)
−1
−2
0 2 4 6 8 10 12 14 16 18 20
Time (s)
Simulation results
ðtÞ ¼ Sat ðk 1Þ þ Satfð 0 ðkÞ ðk 1ÞÞ;
In order to verify the superiority of the novel data-driven
_
T min ; T _ max g ; min ; max (35)
constrained control scheme with coordinates compensa-
In order to give a clear idea of the comprehensive pro- tion, a simulation comparison among the proposed con-
posed novel data-driven constrained control system design strained control scheme with coordinates compensation
procedure for automatic parking, we provide a flowchart as and PID control scheme is given for different two cars with
shown in Figure 6. constant parking speed. PID controller adopts the position
control algorithm as the following
Yan et al. 9
−3
8 x 10
6
1
PPD1
1
0 2 4 6 8 10 12 14 16 18 20
Time (s)
0.05
0.05
0.05
0.05
PPD2
0.05
0.05
0.05
0.05
0 2 4 6 8 10 12 14 16 18 20
Time (s)
50 *
θ
Orientation angle of the car θ (°) PID algorithm
40 44.5 proposed algorithm
41 44
16 40.5
43.5
30 40
15.5 43
3.2 3.4 3.6
2.7 2.8 2.9 16 16.2 16.4 16.6
20
13
10 12.8
12.6
12.4
0 18.9 19 19.1
−10
0 2 4 6 8 10 12 14 16 18 20
Time (s)
Figure 15. The orientation angle of the car of Audi A6L automatic parking.
20
proposed algorithm
PID
15
Steering angle β (°)
10
−5
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
0.1
proposed algorithm.
0.05 PID
0
x−Axis error (m)
−0.05
−0.1
−0.15
−0.2
−0.25
−0.3
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
Here, we choose the optimal PID parameters by tak- ¼ 0:01, ¼ 10, K ¼ 0.6,
¼ 0.96,
ing into account the two car models, after repeated min ¼ 42 deg, max ¼ 42 deg, _ min ¼ 20 deg= s,
simulation test, and considering the principle of rapid- and _ max ¼ 20 deg= s.
ity and small overshoot. Parameter settings of the two The simulation consists of two parts: (1) automatic park-
algorithms are Kp ¼ 4:0, Ki ¼ 0:018, Kd ¼ 0:08, ing simulation of FAW Volkswagen CC (FAW-VW CC)
^ 1 ð1Þ ¼ 1, ’
’ ^ 2 ð1Þ = 0:05, & ¼ 104 , ¼ 0:003, and (2) automatic parking simulation of Audi A6L.
Yan et al. 11
0.6
proposed algorithm.
PID
0.5
0.4
y−Axis error (m)
0.3
0.2
0.1
−0.1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
5
proposed algorithm
PID
4
3
Error of θ (°)
−1
−2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
−4
× 10
0
−0.2
Compensation signal ρ(k)
−0.4
−0.6
−0.8
−1
−1.2
0 2 4 6 8 10 12 14 16 18 20
Time (s)
1
PPD1
1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
0.05
0.05
0.05
0.05
PPD2
0.05
0.05
0.05
0.05
0.05
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (s)
From Figure 7, we observe that the two schemes can Automatic parking simulation results of Audi A6L
both achieve the tracking of the target orientation angle
The basic parameters of Audi A6L and parking space are
of the car in the automatic parking process. By the local
shown in Table 2. R1 is same as equation (37).
amplification as shown in Figure 7, it can be seen that the
The automatic parking simulation results of Audi A6L
tracking effect of the novel data-driven constrained control
with constant parking speed (v ¼ 1.5 km/h) are shown
scheme with coordinates compensation is obviously better
in Figures 15 to 22. From the simulation comparisons, we
than PID control scheme.
observe that the novel data-driven constrained control
From Figure 8, we observe that the steering angle of
scheme with coordinates compensation has smaller track-
the two schemes is consistent with the change of the
ing errors and faster response speed than PID scheme.
orientation angle of the car in the automatic parking
process. The front wheels of the two schemes are not
swinging back and forth, which makes the parking pro-
cess smooth. Conclusion
The parking error comparisons of FAW-VW are A novel data-driven constrained control scheme is proposed
shown in Figures 9 to 11. From these figures, we can for automatic car parking systems. The design of the pro-
see clearly that the tracking error of the novel data- posed scheme only depends on the steering angle and the
driven constrained control scheme with coordinates orientation angle of the car, and it does not involve any
compensation is smaller than PID control scheme. The model information of the car. A coordinates compensation
parking error comparisons verified the validity of the algorithm is also proposed, which reduces the tracking errors
coordinates compensation algorithm. The anti-windup of proposed scheme. A dynamic constraints unit with anti-
compensation signal ðkÞ is shown in Figure 12. In the windup compensator is designed to accommodate the refer-
whole tracking process, tuning PPD parameters are ence trajectory ðkÞ. The proposed constrained control
shown in Figures 13 and 14. algorithm has the real-time implementation advantages of
Yan et al. 13
not requiring any iterative calculations. The simulation control on an FPGA-based car-like mobile robot. IEEE Trans
results have verified the superiority of the proposed scheme. Ind Electron 2003; 50(5): 867–880.
11. Baturone I, Moreno-Velo FJ, Sanchez-Solano S, et al. Auto-
Acknowledgements matic design of fuzzy controllers for car-like autonomous
The authors sincerely thank the editor and all the anonymous robots. IEEE Trans Fuzzy Syst 2004; 12(4): 447–465.
reviewers for their valuable comments and suggestions. 12. Heinen MR, Osorio FS, Heinen FJ, et al. SEVA3D: using
articial neural networks to autonomous vehicle parking con-
Declaration of conflicting interests trol. In: IEEE Conference on Neural Networks, Vancouver,
The author(s) declared no potential conflicts of interest with respect Canada, 16–21 July 2006, pp. 4704–4711.
to the research, authorship, and/or publication of this article. 13. Hou Z and Jin S. A novel data-driven control approach for a
class of discrete-time nonlinear systems. IEEE Trans Control
Funding Systems Technol 2011; 19(6): 1549–1558.
The author(s) disclosed receipt of the following financial support 14. Hou Z and Jin S. Data driven model-free adaptive control for
for the research, authorship, and/or publication of this article: This a class of MIMO nonlinear discrete-time systems. IEEE
work is supported by the National Natural Science Foundation of Trans Neural Netw 2011; 22(12): 2173–2188.
China (61503156, 61403161, and 51405198) and the Fundamen- 15. Hou Z and Wang Z. From model-based control to data-driven
tal Research Funds for the Central Universities (JUSRP11562 and control: survey, classification and perspective. Inf Sci 2013;
NJ20150011). 235: 3–35.
16. Xu JX and Hou ZS. Notes on data-driven system approaches,
References Acta Autom Sinica 2009; 35(6): 668–675.
1. Green P. Parking crashes and parking assistance system 17. Zhao Y, Lu C, and Han YD. MIMO model free adaptive wide
design: evidence from crash databases, the literature and area power system stabilizer design. J Tsinghua Univ 2013;
insurance agent interviews. In: 2006 SAE world congress, 53(4): 453–458,464.
Detroit, MI, 3–6 April 2006. 18. Xu D, Jiang B, and Shi P. A novel model free adaptive control
2. Sazawa M and Ohishi K. Fast continuous path tracking con- design for multivariable industrial processes. IEEE Trans Ind
trol considering high precision and torque saturation. In: Electron 2014; 61(11): 6391–6398.
IEEE Conference on Industrial Electronics, Porto, 3–5 19. Xu D, Jiang B, and Shi P. Adaptive observer based data-
November 2009, pp. 3089–3094. driven control for nonlinear discrete-time processes. IEEE
3. Cheng K, Zhang Y and Chen H. Planning and control for a Trans Autom Sci Eng 2014; 11(4): 1037–1045.
fully-automatic parallel parking assist system in narrow park- 20. Lv FL, Chen HB, Fan CJ, et al. A novel control algorithm for
ing spaces. In: IEEE Conference on Intelligent Vehicles Sym- weld pool control. Ind Robot 2010; 37(1); 89–96.
posium, Gold Coast, QLD, 23–26 June 2013, pp. 1440–1445. 21. Lu XP, Li W, and Lin YG. Load control of wind turbine based
4. Run RS, Yen JC and Chen C. A study of automatic parallel on model-free adaptive controller. Trans Chin Soc Agric
parking system-from the viewpoints of user and manufac- Machinery 2011; 42(2): 109–114,129.
turer. In: IEEE Conference on Circuits, Communications and 22. Chi RH and Hou Z. A model-free periodic adaptive control
System, Wuhan, China, 17–18 July 2011, pp. 1–5. for freeway traffic density via ramp metering. Acta Autom
5. Jung HG, Lee YH, and Kim J. Uniform user interface for Sinica 2010; 36(7): 1029–1032.
semiautomatic parking slot marking recognition. IEEE Trans 23. Gao B, Gu KY, Zeng Y, et al. An anti-suction control for an
Veh Technol 2010; 59(2): 616–626. intra-aorta pump using blood assistant index: a numerical
6. Kim D, Chung W, and Park S. Practical motion planning for simulation. Artif Organs 2012; 36(3): 275–285.
car-parking control in narrow environment. IET Control The- 24. Hou Z and Xu JX. On data-driven control theory: the state of
ory Appl 2010; 4(1): 129–139. the art and perspective. Acta Autom Sinica 2009; 35(6);
7. Liu K-Z and Horii M. An experimental comparison of non- 650–667.
holonomic control methods: automatic parking benchmark. 25. Liu KZ, Dao MQ, and Inoue T. An exponentially-convergent
In: IEEE Conference on Control Conference, Kos, 2–5 July control algorithm for chained systems and its application to
2007, pp. 2039–2044. automatic parking systems. IEEE Trans Control Syst Technol
8. Chen CH, Hsu CW, and Yao CC. A novel design for full 2006; 14(6): 1113–1126.
automatic parking system. Taipei, China, 2012. 26. Muller B, Deutscher J and Grodde S. Continuous curvature
9. Liang Z, Zheng G, and Li J. Application of fuzzy control trajectory design and feedforward control for parking a car.
strategy in automatic parking path planning. Nanchang, IEEE Trans Control Syst Technol 2007; 15(3): 541–553.
China, 2012. 27. Spooner J, Maggiore M, and Ordonez R. Stable adaptive
10. Li THS, Chang S-J, and Chen Y-X. Implementation of control and estimation for nonlinear systems. New York:
human-like driving skills by autonomous fuzzy behavior Wiley, 2002.