IEEE Robotics & Automation Magazine - September 2022 - 147

that is able to keep the system safe to synthesize a CBF that
guarantees safety in the presence of input bounds. However,
this formulation is very notationally dense and requires full
knowledge of the underlying system dynamics, so it will not
be showcased in this article. Instead, we will outline the more
recent approach introduced in [5].
First, rather than simply considering the kinematics, we
consider the Euler-Lagrange dynamic equation of the robot,
given by:
() (, )( ),
Dq qC qq qG qu++ =
po o
where u Rm
(13)
! is the vector of joint torques, D(q) and (, )Cq qo
Gq Rm
are respectively the inertia and Coriolis-centrifugal mm#
matrices, and ()
! is the gravity torque vector. By
incorporating the kinetic energy of the system into the barrier
formulation, we can generate a so-called energy-based safety
constraint, defined as:
hqqq Dq qh q $ 0
D oo o + ce
(, )()( ),
|=2
1
T
(14)
in
which ce 02 is an additional scalar parameter to be properly
tuned. Thanks to the kinetic energy term, we ensure that
the CBF has a relative degree of one with respect to the input,
meaning that a purely positional constraint can be enforced.
Due to the inclusion of the system dynamics through the
kinetic energy term, we can now guarantee the safety of the
true system described by (13). Since the kinetic energy term is
positive semidefinite, we guarantee the fact that
hh /,
$ c
De
meaning that safety is maintained ()h 0$ whenever hD 0$ .
Moreover, by taking ec large, we get a set that approaches the
nominal safety set described by h(q).
In many situations, it can be assumed that the embedded
controller of the industrial robot implements a feedback law
4
3
2
1
-1
02 46 81012
t (s)
Figure 8. The purely kinematic barrier function on the 6-DoF
manipulator. Safety depends on the choice of
c . The black line
in the figure is the safe set boundary. The simulated robotic tasks
and their execution are shown in the video (see http://youtube.
com/watch?v=ilLRA7fpVBI).
3.5
3
γ = 1
γ = 2
γ = 3
2.5
2
1.5
1
0.5
-0.5
0 0.51 1.5 2 2.5 3 3.5 4
t (s)
Figure 9. The energy-based kinematic CBF on the 6-DoF
manipulator: the values of the CBFs during a simulation with
ce 150 .0=
Obstacle avoidance is guaranteed since ()
γ = 2, γe = 1,500
γe
1
to compute the joint torques required to track the velocity
commands, which we may denote as
of a feedback law is (),uK qqd
q .d
o
=vel
ooThe
simplest choice
where Kvel
is an
mm# feedback gain matrix. Assuming further that the
underlying torque controller is known (or can be estimated),
the CBF constraint can be implemented at the kinematic level:
oo o<<2,
)
qq q
Jq qK qq Kq Gq h
d=- des
q !o d Rn
argmin
d
subjecttocc$
oo
eh oo oo oo+- +- D
12 3
TT
44444444 444444444
oDd
velvel
hq qq(, ,)
where the constraint embeds the knowledge of the Kvel
feedback
gain matrix coming from the feedback law.
By implementing the energy-based CBF constraint, safety
can be guaranteed for all values of c . To demonstrate this,
we apply the energy-based CBF condition to a value of c
that previously resulted in a safety violation. As can be seen
from Figure 9, plotting the values of the CBFs, obstacle
avoidance is guaranteed thanks to the CBF-based safety filter
because h(q) is always strictly positive. Moreover, the
added computation time is minimal, with each QP solution
taking roughly 19 μs on average (measured on a PC with an
Intel 9700 K 3.7-GHz processor and 32 GB of randomaccess
memory). Indeed, QPs are computationally efficient
and allow for implementation on the hardware in real time.
This is one of the main reasons why CBFs or QPs are highly
sought after in industry.
The guaranteed safe condition is valid for any value of
but increasing this value improves the performance of the
ce ,
d
T
,
hD (Energy Based)
h (Energy Based)
h (Kinematic)
hq 02 all
the time. See http://youtube.com/watch?v=ilLRA7fpVBI for the
video, and see https://github.com/DrewSingletary/manipulator_
asif_ros for the code.
SEPTEMBER 2022 * IEEE ROBOTICS & AUTOMATION MAGAZINE *
147
CBF Value (h)
CBF Value (h)
http://www.youtube.com/watch?v=ilLRA7fpVBI http://youtube.com/watch?v=ilLRA7fpVBI https://www.github.com/DrewSingletary/manipulator_asif_ros https://www.github.com/DrewSingletary/manipulator_asif_ros http://youtube.com/watch?v=ilLRA7fpVBI

IEEE Robotics & Automation Magazine - September 2022

Table of Contents for the Digital Edition of IEEE Robotics & Automation Magazine - September 2022

Contents
IEEE Robotics & Automation Magazine - September 2022 - Cover1
IEEE Robotics & Automation Magazine - September 2022 - Cover2
IEEE Robotics & Automation Magazine - September 2022 - Contents
IEEE Robotics & Automation Magazine - September 2022 - 2
IEEE Robotics & Automation Magazine - September 2022 - 3
IEEE Robotics & Automation Magazine - September 2022 - 4
IEEE Robotics & Automation Magazine - September 2022 - 5
IEEE Robotics & Automation Magazine - September 2022 - 6
IEEE Robotics & Automation Magazine - September 2022 - 7
IEEE Robotics & Automation Magazine - September 2022 - 8
IEEE Robotics & Automation Magazine - September 2022 - 9
IEEE Robotics & Automation Magazine - September 2022 - 10
IEEE Robotics & Automation Magazine - September 2022 - 11
IEEE Robotics & Automation Magazine - September 2022 - 12
IEEE Robotics & Automation Magazine - September 2022 - 13
IEEE Robotics & Automation Magazine - September 2022 - 14
IEEE Robotics & Automation Magazine - September 2022 - 15
IEEE Robotics & Automation Magazine - September 2022 - 16
IEEE Robotics & Automation Magazine - September 2022 - 17
IEEE Robotics & Automation Magazine - September 2022 - 18
IEEE Robotics & Automation Magazine - September 2022 - 19
IEEE Robotics & Automation Magazine - September 2022 - 20
IEEE Robotics & Automation Magazine - September 2022 - 21
IEEE Robotics & Automation Magazine - September 2022 - 22
IEEE Robotics & Automation Magazine - September 2022 - 23
IEEE Robotics & Automation Magazine - September 2022 - 24
IEEE Robotics & Automation Magazine - September 2022 - 25
IEEE Robotics & Automation Magazine - September 2022 - 26
IEEE Robotics & Automation Magazine - September 2022 - 27
IEEE Robotics & Automation Magazine - September 2022 - 28
IEEE Robotics & Automation Magazine - September 2022 - 29
IEEE Robotics & Automation Magazine - September 2022 - 30
IEEE Robotics & Automation Magazine - September 2022 - 31
IEEE Robotics & Automation Magazine - September 2022 - 32
IEEE Robotics & Automation Magazine - September 2022 - 33
IEEE Robotics & Automation Magazine - September 2022 - 34
IEEE Robotics & Automation Magazine - September 2022 - 35
IEEE Robotics & Automation Magazine - September 2022 - 36
IEEE Robotics & Automation Magazine - September 2022 - 37
IEEE Robotics & Automation Magazine - September 2022 - 38
IEEE Robotics & Automation Magazine - September 2022 - 39
IEEE Robotics & Automation Magazine - September 2022 - 40
IEEE Robotics & Automation Magazine - September 2022 - 41
IEEE Robotics & Automation Magazine - September 2022 - 42
IEEE Robotics & Automation Magazine - September 2022 - 43
IEEE Robotics & Automation Magazine - September 2022 - 44
IEEE Robotics & Automation Magazine - September 2022 - 45
IEEE Robotics & Automation Magazine - September 2022 - 46
IEEE Robotics & Automation Magazine - September 2022 - 47
IEEE Robotics & Automation Magazine - September 2022 - 48
IEEE Robotics & Automation Magazine - September 2022 - 49
IEEE Robotics & Automation Magazine - September 2022 - 50
IEEE Robotics & Automation Magazine - September 2022 - 51
IEEE Robotics & Automation Magazine - September 2022 - 52
IEEE Robotics & Automation Magazine - September 2022 - 53
IEEE Robotics & Automation Magazine - September 2022 - 54
IEEE Robotics & Automation Magazine - September 2022 - 55
IEEE Robotics & Automation Magazine - September 2022 - 56
IEEE Robotics & Automation Magazine - September 2022 - 57
IEEE Robotics & Automation Magazine - September 2022 - 58
IEEE Robotics & Automation Magazine - September 2022 - 59
IEEE Robotics & Automation Magazine - September 2022 - 60
IEEE Robotics & Automation Magazine - September 2022 - 61
IEEE Robotics & Automation Magazine - September 2022 - 62
IEEE Robotics & Automation Magazine - September 2022 - 63
IEEE Robotics & Automation Magazine - September 2022 - 64
IEEE Robotics & Automation Magazine - September 2022 - 65
IEEE Robotics & Automation Magazine - September 2022 - 66
IEEE Robotics & Automation Magazine - September 2022 - 67
IEEE Robotics & Automation Magazine - September 2022 - 68
IEEE Robotics & Automation Magazine - September 2022 - 69
IEEE Robotics & Automation Magazine - September 2022 - 70
IEEE Robotics & Automation Magazine - September 2022 - 71
IEEE Robotics & Automation Magazine - September 2022 - 72
IEEE Robotics & Automation Magazine - September 2022 - 73
IEEE Robotics & Automation Magazine - September 2022 - 74
IEEE Robotics & Automation Magazine - September 2022 - 75
IEEE Robotics & Automation Magazine - September 2022 - 76
IEEE Robotics & Automation Magazine - September 2022 - 77
IEEE Robotics & Automation Magazine - September 2022 - 78
IEEE Robotics & Automation Magazine - September 2022 - 79
IEEE Robotics & Automation Magazine - September 2022 - 80
IEEE Robotics & Automation Magazine - September 2022 - 81
IEEE Robotics & Automation Magazine - September 2022 - 82
IEEE Robotics & Automation Magazine - September 2022 - 83
IEEE Robotics & Automation Magazine - September 2022 - 84
IEEE Robotics & Automation Magazine - September 2022 - 85
IEEE Robotics & Automation Magazine - September 2022 - 86
IEEE Robotics & Automation Magazine - September 2022 - 87
IEEE Robotics & Automation Magazine - September 2022 - 88
IEEE Robotics & Automation Magazine - September 2022 - 89
IEEE Robotics & Automation Magazine - September 2022 - 90
IEEE Robotics & Automation Magazine - September 2022 - 91
IEEE Robotics & Automation Magazine - September 2022 - 92
IEEE Robotics & Automation Magazine - September 2022 - 93
IEEE Robotics & Automation Magazine - September 2022 - 94
IEEE Robotics & Automation Magazine - September 2022 - 95
IEEE Robotics & Automation Magazine - September 2022 - 96
IEEE Robotics & Automation Magazine - September 2022 - 97
IEEE Robotics & Automation Magazine - September 2022 - 98
IEEE Robotics & Automation Magazine - September 2022 - 99
IEEE Robotics & Automation Magazine - September 2022 - 100
IEEE Robotics & Automation Magazine - September 2022 - 101
IEEE Robotics & Automation Magazine - September 2022 - 102
IEEE Robotics & Automation Magazine - September 2022 - 103
IEEE Robotics & Automation Magazine - September 2022 - 104
IEEE Robotics & Automation Magazine - September 2022 - 105
IEEE Robotics & Automation Magazine - September 2022 - 106
IEEE Robotics & Automation Magazine - September 2022 - 107
IEEE Robotics & Automation Magazine - September 2022 - 108
IEEE Robotics & Automation Magazine - September 2022 - 109
IEEE Robotics & Automation Magazine - September 2022 - 110
IEEE Robotics & Automation Magazine - September 2022 - 111
IEEE Robotics & Automation Magazine - September 2022 - 112
IEEE Robotics & Automation Magazine - September 2022 - 113
IEEE Robotics & Automation Magazine - September 2022 - 114
IEEE Robotics & Automation Magazine - September 2022 - 115
IEEE Robotics & Automation Magazine - September 2022 - 116
IEEE Robotics & Automation Magazine - September 2022 - 117
IEEE Robotics & Automation Magazine - September 2022 - 118
IEEE Robotics & Automation Magazine - September 2022 - 119
IEEE Robotics & Automation Magazine - September 2022 - 120
IEEE Robotics & Automation Magazine - September 2022 - 121
IEEE Robotics & Automation Magazine - September 2022 - 122
IEEE Robotics & Automation Magazine - September 2022 - 123
IEEE Robotics & Automation Magazine - September 2022 - 124
IEEE Robotics & Automation Magazine - September 2022 - 125
IEEE Robotics & Automation Magazine - September 2022 - 126
IEEE Robotics & Automation Magazine - September 2022 - 127
IEEE Robotics & Automation Magazine - September 2022 - 128
IEEE Robotics & Automation Magazine - September 2022 - 129
IEEE Robotics & Automation Magazine - September 2022 - 130
IEEE Robotics & Automation Magazine - September 2022 - 131
IEEE Robotics & Automation Magazine - September 2022 - 132
IEEE Robotics & Automation Magazine - September 2022 - 133
IEEE Robotics & Automation Magazine - September 2022 - 134
IEEE Robotics & Automation Magazine - September 2022 - 135
IEEE Robotics & Automation Magazine - September 2022 - 136
IEEE Robotics & Automation Magazine - September 2022 - 137
IEEE Robotics & Automation Magazine - September 2022 - 138
IEEE Robotics & Automation Magazine - September 2022 - 139
IEEE Robotics & Automation Magazine - September 2022 - 140
IEEE Robotics & Automation Magazine - September 2022 - 141
IEEE Robotics & Automation Magazine - September 2022 - 142
IEEE Robotics & Automation Magazine - September 2022 - 143
IEEE Robotics & Automation Magazine - September 2022 - 144
IEEE Robotics & Automation Magazine - September 2022 - 145
IEEE Robotics & Automation Magazine - September 2022 - 146
IEEE Robotics & Automation Magazine - September 2022 - 147
IEEE Robotics & Automation Magazine - September 2022 - 148
IEEE Robotics & Automation Magazine - September 2022 - 149
IEEE Robotics & Automation Magazine - September 2022 - 150
IEEE Robotics & Automation Magazine - September 2022 - 151
IEEE Robotics & Automation Magazine - September 2022 - 152
IEEE Robotics & Automation Magazine - September 2022 - 153
IEEE Robotics & Automation Magazine - September 2022 - 154
IEEE Robotics & Automation Magazine - September 2022 - 155
IEEE Robotics & Automation Magazine - September 2022 - 156
IEEE Robotics & Automation Magazine - September 2022 - 157
IEEE Robotics & Automation Magazine - September 2022 - 158
IEEE Robotics & Automation Magazine - September 2022 - 159
IEEE Robotics & Automation Magazine - September 2022 - 160
IEEE Robotics & Automation Magazine - September 2022 - 161
IEEE Robotics & Automation Magazine - September 2022 - 162
IEEE Robotics & Automation Magazine - September 2022 - 163
IEEE Robotics & Automation Magazine - September 2022 - 164
IEEE Robotics & Automation Magazine - September 2022 - Cover3
IEEE Robotics & Automation Magazine - September 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2010
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2010
https://www.nxtbookmedia.com