Professional Documents
Culture Documents
Documents Downloader2
Documents Downloader2
Documents Downloader2
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 1 / 31
Contents
1 GiÓi thiªu
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 2 / 31
https://documents-downloader.pages.dev/document 1/46
19:13 03/05/2024 Documents Downloader
GiÓi thiªu
Contents
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 3 / 31
GiÓi thiªu
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 4 / 31
https://documents-downloader.pages.dev/document 2/46
19:13 03/05/2024 Documents Downloader
GiÓi thiªu
Off-line On-line
1
Genetic Algorithms [Davis, 1991], [Karami and Hasanzadeh, 2015]
2
Particle Swarm Optimization [Eberhart and Kennedy, 1995] , [Mandava et al., 2019]
3
Probabilistic Road Map [Kavraki et al., 1994], [Baek et al., 2018]
4
Rapidly-exploring Random Trees [LaValle, 1998], [Dalpe and Thein, 2017]
5
Artificial Potential Field [Khatib, 1986], [Rasekhipour et al., 201 7]
6
Optimization-based control [Bellman, 1957], [Rawlings and Mayne, 2009]
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 5 / 31
GiÓi thiªu
Gi£i pháp
Mixed-Integer Programming (MIP)
[Prodan et al., 2015]
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 6 / 31
https://documents-downloader.pages.dev/document 3/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Contents
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 7 / 31
Polytopic constraints
0 − +
\ H3 H3
P= +
Hk , k = 1, ..., nh
+ 3
k −2 H2
−2
−2 −
H2
ĐN 3 - Đa diªn lÁi theo đønh: −4
−3
−3 −2 −1 0 1 2 3 4
P = conv
v1 , v2 , ..., vp
Fig. 1: Polytope description.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
https://documents-downloader.pages.dev/document 4/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
−
ĐN 2: Đa diªn lÁi theo n˚a m∞t phØng: H1
+
H1
0 − +
\ H3 H3
P= +
Hk , k = 1, ..., nh
+ 3
k −2 H2
−2
−2 −
H2
ĐN 3 - Đa diªn lÁi theo đønh: −4
−3
−3 −2 −1 0 1 2 3 4
−1 3 −2
P = conv ,
,
3 −2 −3 Fig. 1: Polytope description.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
Polytopic constraints
−
−2
H2
−3
ĐN 3 - Đa diªn lÁi theo đønh: −4
−3 −2 −1 0 1 2 3 4
P = conv
−1 3 −2 Fig. 1: Polytope description.
3 −2 −3
, ,
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
https://documents-downloader.pages.dev/document 5/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
https://documents-downloader.pages.dev/document 6/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 8 / 31
Polytopic constraints
https://documents-downloader.pages.dev/document 7/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Polytopic constraints
https://documents-downloader.pages.dev/document 8/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 10 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 10 / 31
https://documents-downloader.pages.dev/document 9/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
W = C (P ) =
[ −
Hk , k = 1, ..., nh , Hk
−
= { x ∈ Rn | − ak x ≤ −bk }
k
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 10 / 31
Polytopic constraints
W = C (P ) =
[ −
Hk , k = 1, ..., nh , Hk
−
= { x ∈ Rn | − ak x ≤ −bk }
k
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
https://documents-downloader.pages.dev/document 10/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
https://documents-downloader.pages.dev/document 11/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
https://documents-downloader.pages.dev/document 12/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
Polytopic constraints
k =1
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
https://documents-downloader.pages.dev/document 13/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
k =1
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 11 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 12 / 31
https://documents-downloader.pages.dev/document 14/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 12 / 31
Polytopic constraints
W ⊃ O, O =
[ O` ,
`=1
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 13 / 31
https://documents-downloader.pages.dev/document 15/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
W ⊃ O, O =
[ O` ,
trong đó O` = {xi ∈ Rn | ak` xi ≤ bk` , k = 1, . . . , nh` }, with ak` ∈ R1×n , bk` ∈ R, nh` là sË
lưÒng n˚a m∞t phØng mô t£ O` , ` = 1, . . . , Nobs, and Nobs là sË lưÒng các vùng cßm
bi∫u diπn cho các v™t c£n.
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 13 / 31
Polytopic constraints
W ⊃ O, O =
[ O` ,
`=1
• GÂi S (·) : Rn → R≥0 là trưÌng th∏ năng, tÍng cıa hàm đ©y và thu hút:
Nobs
S (x ) =
X Φ` (x ) + Ξ(x ) (4)
vÓi Ξ(x ) : Rn → R≥0 là hàm hßp d®n and Φ` (x ) làm hàm đ©y cıa v™t c£n th˘ `th ,
` = 1, . . . , Nobs .
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 13 / 31
https://documents-downloader.pages.dev/document 16/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
W ⊃ O, O =
[ O` ,
• G Âi S (·) : Rn → R≥0 là trưÌng th∏ năng, tÍng cıa hàm đ©y và thu hút:
Nobs
S (x ) =
X Φ` (x ) + Ξ(x ) (4)
`=1
⇒ vßn đ∑ là ph£i xây d¸ng đưÒc hàm đ©y và hàm hßp d®n
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 13 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 14 / 31
https://documents-downloader.pages.dev/document 17/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 14 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 14 / 31
https://documents-downloader.pages.dev/document 18/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 14 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
https://documents-downloader.pages.dev/document 19/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
https://documents-downloader.pages.dev/document 20/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
Polytopic constraints
−
H1 10
!n Ngô Qu"c Hu
+
TS.Tr
H1 7.5
0 − +
H3 H γ 5
3
2.5
3 0
−2 +
H2
− −2
2 − 5
H2
−3 2.5
5
−4 0 2.5
−3 −2 −1 0 1 2 3 4 0
x2 −2.5
−5 −2.5 x1
−5
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
https://documents-downloader.pages.dev/document 21/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
−
H1 10
TS.Tr !
n Ngô Qu"c Huy
+
H1 7.5
0 − +
H3 H3 γ 5
2.5
3 0
−2 +
H2
− −2
2 − 5
H2
−3 2.5
5
−4 0 2.5
−3 −2 −1 0 1 2 3 4 0
x2 −2.5
−5 −2.5 x1
−5
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 15 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 16 / 31
https://documents-downloader.pages.dev/document 22/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
TS.Tr!n Ngô
Qu" c Huy
k
ho∞c
P = conv v1 , v2 , ..., vp
và chúng ph£i có giá tr‡ cao bên trong đ∫ t §o ra đÎ dËc sao cho các tác nhân có th∫
”đÍ v ∑” đi∫m đích mong muËn.
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 16 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 16 / 31
https://documents-downloader.pages.dev/document 23/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
!n Ngô Qu"c Hu
H1 7 .5
TS.Tr
+
H1 γ 5
0 − +
H3 H3 2 .5
3
−2 +
H2
− −2 5
5
2 −
2 .5
H2 0 2.5
−3 0
− 2.5
−4 x2
− 2 .5
−3 −2 −1 0 1 2 3 4 −5 x1
−5
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 16 / 31
Polytopic constraints
trong đó γ` (x ) hàm tÍng; c1` , c3` bi∫u diπn cho đÎ lÓn cıa hàm; c2` , c4` bi∫u diπn cho
vùng £nh hưng cıa hàm
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 16 / 31
https://documents-downloader.pages.dev/document 24/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
)
Repulsive potential field x
(
` 20
γ
(
e `
60 Φ
)
)
x 0
(
` 40
γ
(
f ` 20 8
Φ
0
4
8
0
6
4 x2 4
−4 2
0 0
6 −2 x1
x2
4 −8 −4
−4 2
−6
0
−2 x
1
−8 −4
−6
Fig. 4: RP constructed by exponential function.
Fig. 3: RP constructed by fractional function.
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 17 / 31
Polytopic constraints
60
x
(
`
4
γ
(
0
f `
Φ2
8
0
4
8
0
4 6
x2
4
−4 2
0 0
x2 6 −8 −2 x1
−4 4 −4
2 −6
0
−8 −2 x1
−4
−6
Fig. 4: RP constructed by exponential function.
Fig. 3: RP constructed by fractional function.
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 17 / 31
https://documents-downloader.pages.dev/document 25/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 17 / 31
Polytopic constraints
2
(8)
2D projection
Ξ(x ) = kx − xref kQ ,
25
15
x
(
Ξ
10
0 0
x2 −2.5 −2.5 x1
−5
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 18 / 31
https://documents-downloader.pages.dev/document 26/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
XNobs
S (x ) = Φ` (x ) + Ξ(x )
`=1
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
Polytopic constraints
XNobs
S (x ) = Φ` (x ) + Ξ(x )
`=1
TS.Tr!n Ngô Qu"c Huy
Mˆc đích: t§o ra mÎt trưÌng vector l¸c đ∫ đ©y các tác nhân ra xa các
v™t c£n và thu hút các tác nhân di chuy∫n đ∏n v‡ trí mong muËn.
F (x ) = −∇S (x ) (9)
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
https://documents-downloader.pages.dev/document 27/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
Polytopic constraints
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
https://documents-downloader.pages.dev/document 28/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
F (x ) = −∇
X c3` e −( ` (x )−c4` )
γ 2 X
∇2 γ` (x ) − 2Q(x − xref )∇x
`=1 `=1
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
Polytopic constraints
S (x ) = Φ` (x ) + Ξ(x )
F (x ) = −∇S (x )
Lưu ý 1: N∏u s¸ k∏t hÒp cıa các n˚a m∞t phØng (t§o thành vùng li)
không đÍi, thì hàm tÍng có giá tr‡ không đÍi ⇒ gradient cıa trưÌng th∏
năng cũng không đÍi.
Lưu ý 2: N∏u ban đ¶u các tác nhân n ¨m bên trong v™t c£n thì s≥ không
có các l¸c đ∫ đ©y chúng ra kh‰i vùng li.
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 19 / 31
https://documents-downloader.pages.dev/document 29/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 30/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 31/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 32/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
−1 1 14 −1 1 14
γ1 (x ) = −4 −3
x − 14 + −4 −3 x − 14
8 1 −42 8 1 −42
0 −1 0 0 −1 0
γ2 (x ) = −1 1
x − −5 + −1 1 x − −5
5 2 60 5 2 60
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
−1 1 14 −1 1 14
γ1 (x ) = −4 −3
x − 14 + −4 −3 x − 14
8 1 −42 8 1 −42
!n Ngô
TS.Tr "c Huy
Qu
0 −1
0 0 −1 0
γ2 (x ) = −1 1
x − −5 + −1 1 x − −5
5 2 60 5 2 60
• Thi ∏t l™p hàm đ©y qua hàm tÍng
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 33/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
S (x ) = Φ` (x ) + Ξ(x )
`=1
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 34/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
S (x ) =
X Φ` (x ) + Ξ(x )
`=1
x 75
(
S
100
50
25
12
x2
0 16
12
8
−4 4
0
−8 −4
−8
x1
−12
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 35/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
2
x 0
−20
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 36/46
19:13 03/05/2024 Documents Downloader
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
Polytopic constraints
Khatib, O. (1986). Real-time obstacle avoidance for manipulators and mobile robots. In Autonomous robot vehicles, pages 396–404. Springer. 5, 21.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 20 / 31
https://documents-downloader.pages.dev/document 37/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Contents
1 GiÓi thiªu
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 21 / 31
Prodan Ionela, Stoican Florin, Olaru Sorin, Stoica Cristina and Niculescu Silviu-Iulian: Mixed-integer programming techniques in distributed MPC problems,
Distributed Model Predictive Control Made Easy, 2014, pp.275–291, Springer .
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 22 / 31
https://documents-downloader.pages.dev/document 38/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 23 / 31
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
phˆ thuÎc:
x̄˙ (τ )= f (x̄ (τ ), ū (τ )), (prediction model)
x̄ (tk ) = x (tk ), (measured state)
x̄ (τ ) ∈ X ; ū (τ ) ∈ U , ∀τ ∈ [tk , tk + T p ], (box constraints)
NQH Tran, Prodan Ionela, Laurent Lefevre: Nonlinear optimization for multi-agent motion planning in a multi-obstacle environment, 21st International
Conference on System Theory, Control and Computing (ICSTCC), 2017, pp.488–493, IEEE . vsvvbbebebebebfbbebenenenenen zgzgzhzhz zgzgzg s
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 24 / 31
https://documents-downloader.pages.dev/document 39/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
∗ C¶n lưu ý mÎt sË vßn đ∑:
tk +Tp RÌi r§c mô hình danh nghĩa vÓi các đi∑u
kx̄ (tk + T p ) − xref k2P + S (x̄ (τ )) + kū (τ )k2R d τ
kiªn ban đ¶u đ∫ có th∫ đËi phó vÓi
R
min
ū (·) tk
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 25 / 31
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
∗ RÌi r§c mô hình: S˚ d ˆng phương pháp
tk +Tp
direct multiple shooting [Bock and Plitt.
kx̄ (tk + T p ) − xref k2P + S (x̄ (τ )) + kū (τ )k2R d τ 1984] do gi£i quy∏t các ràng buÎc cıa hàm
R
min
ū (·) tk
mˆc tiêu đơn gi£n hơn các phương pháp khác;
TS.Tr!n Ngô Qu"c Huy
phˆ thuÎc:
x̄ (τ ) ∈ X ; ū (τ ) ∈ U, ∀τ ∈ [ tk tk + Tp ] (box constraints)
, .
A multiple shooting algorithm for direct solution of optimal control problems. IFAC Proceedings, Volumes, 17(2):1603–1608
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 26 / 31
https://documents-downloader.pages.dev/document 40/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
tk +Tp Chia vùng thÌi gian h˙u h§n [tk , tk + Tp ]
kx̄ (tk + T p ) − xref k2P + S (x̄ (τ )) + kū (τ )k2R d τ
thành Np kho£ng con [tk , tk +1 ], và tk +1
R
min
ū (·) tk
A multiple shooting algorithm for direct solution of optimal control problems. IFAC Proceedings, Volumes, 17(2):1603–1608
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 26 / 31
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
tk +Tp Gi£i quy∏t vßn đ∑ đi∑u khi∫n tËi ưu t§i các
kx̄ (tk + T p ) − xref k2P + S (x̄ (τ )) + kū (τ )k2R d τ
thÌi đi∫m lßy m®u tk d¸a trên các thông
R
min
ū (·) tk
A multiple shooting algorithm for direct solution of optimal control problems. IFAC Proceedings, Volumes, 17(2):1603–1608
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 26 / 31
https://documents-downloader.pages.dev/document 41/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
tk +Tp K∏t qu£ c ıa vßn đ∑ t Ëi ưu là mÎt chuÈi
kx̄ (tk + T p ) − xref k2P + S (x̄ (τ )) + kū (τ )k2R d τ
tín hiªn đi∑u khi∫n ū ∗ (·; x (tk )).
R
min
ū (·) tk
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 26 / 31
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
APF-based (N)MPC approach [Tran et al., 2017]
tk +Tp
min kx̄ (tk + T p ) − xref k2P +
R
S (x̄ (τ )) + kū (τ )k2R d τ
NMPC scheme for obstacle avoidance
ū (·) tk For each controller and at each sampling time,
phˆ thuÎc:
TS.Tr!n Ngô Qu"c Huy 1: measure the current states x (tk );
2: solve OCP and obtain predicted states;
x̄˙ (τ ) = f (x̄ (τ ) ū (τ )) (prediction model)
x̄ (τ ) based on a predicted control sequence,
, ,
x̄ (t ) = x (t ) (measured state)
ū (.);
k k ,
x̄ (τ ) ∈ X ; ū (τ ) ∈ U ∀τ ∈ [ t t + T ] (box constraints)
,
k, k p .
A multiple shooting algorithm for direct solution of optimal control problems. IFAC Proceedings, Volumes, 17(2):1603–1608
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 26 / 31
https://documents-downloader.pages.dev/document 42/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Đi∑u khi∫n mô hình d¸ báo vÓi trưÌng th∏ năng nhân t§o
Mô ph‰ng
S˚ dˆng môi trưÌng làm viªc cıa Matlab và các toolbox đ∫ x˚ lý các t™p
hÒp và gi£i quy∏t vßn đ∑ tËi ưu.
T£i và cài đ∞t Casadi, link: https://github.com/casadi/optistack
T£i và cài đ∞t IPOPT solver đ∫ gi£i quy∏t vßn đ∑ phi tuy∏n:
https://www.ibm.com/products/ilog-cplex-optimization-studio
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 27 / 31
Fig. 3: Motion planning of agent with PF-based MPC and MIP-based MPC.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 28 / 31
https://documents-downloader.pages.dev/document 43/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 29 / 31
m m
[
Y 6 [
Y 6
2 2
−2 −2
−6 −6
−16 −12 −8 −4 0 4 8 12 16 20 −16 −12 −8 −4 0 4 8 12 16 20
X [m] X [m]
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 29 / 31
https://documents-downloader.pages.dev/document 44/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
m
]
m
[
Y 6 [
Y
6
2
2
−2
−2
−6 −6
−16 −12 −8 −4 0 4 8 12 16 20 −16 −12 −8 −4 0 4 8 12 16 20
X [m] X [m]
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 29 / 31
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 30 / 31
https://documents-downloader.pages.dev/document 45/46
19:13 03/05/2024 Documents Downloader
Motion planning - based MPC
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 31 / 31
“We cannot teach people anything. We can only help them discover it within themselves.”
WIKIPEDIA info: Galileo Galilei (who died at age 77), was an Italian astronomer, physicist,
engineer, philosopher, and mathematician who played a major role in the scientific revolution
during the Renaissance. Galileo has been called the “father of modern observational
astronomy”, and the “father of modern physics" and “the father of modern science”.
Tr¶n Ngô QuËc Huy (UTE) L™p k∏ ho §ch di chuy∫n Ngày 9 tháng 4 năm 2023 32 / 31
https://documents-downloader.pages.dev/document 46/46