IEEE Robotics & Automation Magazine - December 2022 - 97

1
rt =1
.
v
() cmt -
vv1
a1
.
a2
.
(3)
a 021 = influences the spread of the reward curve by defining
the x-axis intersections with xv .at= ! 1 a 022 = affects
the changes of the curve's gradient. If -= the
velocity reward rv
t
1
00
vv .,
reaches the maximum value of one.
Second, the normalized value of the total power usage Pt
r ,P which is
t
rt rP1max
P ()=- .
b1
Here, rmax is the maximum reward value, and b 061
.
-2
(4)
= is the
slope of the curve. Power efficiency is influenced by the
desired target velocity. Thus, the normalized rmax
this influence by limiting the maximum value of r .P
Finally, rewards from the velocity rv
ciency rP
are combined to form the overall reward r:
()
1
rt cm t b -2
a2
=11
P
t
vv
a1
-
1
-
.
This equation replaces the rmax
(5)
in (4) with r .v With that, the
maximal power efficiency depends on the absolute value of
the difference between the desired velocity and the robot
velocity and total power consumption.
Network Architecture
Given the input (observation )oi
t
and output (action ),ai
t
now elaborate the policy network mapping oi
t
the same dimension as the action space .oi
t
to .ai
t
we
We
design a fully connected two-hidden-layer NN as a nonlinear
function approximator to the policy
r .i The input layer has
Both hidden layers
each have 200 neurons and are each followed by a rectified
linear unit layer. The final layer outputs joint position commands
for the robot. To train the network, the PPO algorithm
adapted from [23] is used.
We train our policy network on a computer with an
i7-7700 CPU and a Nvidia GTX 1080 GPU. A total of six million
time steps (roughly 7,500 episodes) are used for training.
The maximum number of time steps in an episode is 2,000.
With the environment settings of 50 ms per time step, the
training takes approximately 42 h in total simulation time and
2 h in wall-clock time for the policy to converge.
Sim-to-Real Transfer
We present two approaches that are designed for robust transfer
of the policy learned in simulation to the real world, namely,
the parameter randomization and informative network.
Parameter Randomization
Parameter randomization is an effective approach to im -
prove the robustness of the system, especially taking the
gap between simulation and real-world experiments into
Compact Observation Space
In the real world, some of the observations are difficult to
acquire, such as the joint velocity
.
zj and the joint torque .jx
We can calculate the joint velocity by differentiating two consecutive
joint positions at each time step. However, this is
infeasible due to the noise of the joint position. To solve this
issue, we also design a compact observation space that contains
only the joint position jz and the target velocity
v .t The
informative network is used to infer the corresponding joint
velocity ,
.
zj
joint torque ,jx and head velocity v1
according to
Table 3. Technical details of the robot module.
During simulations, these physical parameters
are randomly selected from the randomization
range of the baseline value of each parameter.
Parameters
Ground friction
Mass
Baselines Unit
0.6
-
0.206
Armature inertia 0.01
Motor damping 0.3
kg
kg · m2
N · s/m
Randomization
Ranges
90 ~ 100%
90 ~ 100%
80 ~ 120%
90 ~ 110%
Informative Prediction Network
The observation space used in the simulation is only partially
observable or measurable in the real world. To solve this
problem, we propose an informative prediction network to
predict the joint torque, joint velocity, and head velocity
under the framework of supervised learning. We present
three steps to construct such an informative prediction network
(see Figure 2).
represents
and the power effiin
the " Energy-Efficiency Matrix " section is used to determine
the power efficiency reward component
represented by
consideration. By randomizing the physical parameters and
observations during training, the learned policy can be more
robust for deployment in real-world experiments.
Physical Parameter Randomization in Simulation
The physical parameters given in the " Robot and Model " section
are either measured or estimated, which may lead to
inaccuracy. And different settings of physical parameters will
directly impact performance of the generated gaits. When the
agent is trained in a stable environment with fixed dynamic
parameters, it usually leads to an overfitting controller, which
will not work properly in the real-world environment. We
randomly sample physical parameters, as listed in Table 3.
Observation-Space Randomization
In a real-world setup, the joint angles cannot be perfectly
measured due to several uncertain factors, such as the noise of
the encoder and the data errors or delay caused by the communication.
To eliminate the impact of this inaccuracy, we
add a Gaussian noise N(, )nv on every joint-angle position
in the observation space during training, where
n 0rad=
and v = 005rad
..
DECEMBER 2022 * IEEE ROBOTICS & AUTOMATION MAGAZINE *
97

IEEE Robotics & Automation Magazine - December 2022

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

Contents
IEEE Robotics & Automation Magazine - December 2022 - Cover1
IEEE Robotics & Automation Magazine - December 2022 - Cover2
IEEE Robotics & Automation Magazine - December 2022 - Contents
IEEE Robotics & Automation Magazine - December 2022 - 2
IEEE Robotics & Automation Magazine - December 2022 - 3
IEEE Robotics & Automation Magazine - December 2022 - 4
IEEE Robotics & Automation Magazine - December 2022 - 5
IEEE Robotics & Automation Magazine - December 2022 - 6
IEEE Robotics & Automation Magazine - December 2022 - 7
IEEE Robotics & Automation Magazine - December 2022 - 8
IEEE Robotics & Automation Magazine - December 2022 - 9
IEEE Robotics & Automation Magazine - December 2022 - 10
IEEE Robotics & Automation Magazine - December 2022 - 11
IEEE Robotics & Automation Magazine - December 2022 - 12
IEEE Robotics & Automation Magazine - December 2022 - 13
IEEE Robotics & Automation Magazine - December 2022 - 14
IEEE Robotics & Automation Magazine - December 2022 - 15
IEEE Robotics & Automation Magazine - December 2022 - 16
IEEE Robotics & Automation Magazine - December 2022 - 17
IEEE Robotics & Automation Magazine - December 2022 - 18
IEEE Robotics & Automation Magazine - December 2022 - 19
IEEE Robotics & Automation Magazine - December 2022 - 20
IEEE Robotics & Automation Magazine - December 2022 - 21
IEEE Robotics & Automation Magazine - December 2022 - 22
IEEE Robotics & Automation Magazine - December 2022 - 23
IEEE Robotics & Automation Magazine - December 2022 - 24
IEEE Robotics & Automation Magazine - December 2022 - 25
IEEE Robotics & Automation Magazine - December 2022 - 26
IEEE Robotics & Automation Magazine - December 2022 - 27
IEEE Robotics & Automation Magazine - December 2022 - 28
IEEE Robotics & Automation Magazine - December 2022 - 29
IEEE Robotics & Automation Magazine - December 2022 - 30
IEEE Robotics & Automation Magazine - December 2022 - 31
IEEE Robotics & Automation Magazine - December 2022 - 32
IEEE Robotics & Automation Magazine - December 2022 - 33
IEEE Robotics & Automation Magazine - December 2022 - 34
IEEE Robotics & Automation Magazine - December 2022 - 35
IEEE Robotics & Automation Magazine - December 2022 - 36
IEEE Robotics & Automation Magazine - December 2022 - 37
IEEE Robotics & Automation Magazine - December 2022 - 38
IEEE Robotics & Automation Magazine - December 2022 - 39
IEEE Robotics & Automation Magazine - December 2022 - 40
IEEE Robotics & Automation Magazine - December 2022 - 41
IEEE Robotics & Automation Magazine - December 2022 - 42
IEEE Robotics & Automation Magazine - December 2022 - 43
IEEE Robotics & Automation Magazine - December 2022 - 44
IEEE Robotics & Automation Magazine - December 2022 - 45
IEEE Robotics & Automation Magazine - December 2022 - 46
IEEE Robotics & Automation Magazine - December 2022 - 47
IEEE Robotics & Automation Magazine - December 2022 - 48
IEEE Robotics & Automation Magazine - December 2022 - 49
IEEE Robotics & Automation Magazine - December 2022 - 50
IEEE Robotics & Automation Magazine - December 2022 - 51
IEEE Robotics & Automation Magazine - December 2022 - 52
IEEE Robotics & Automation Magazine - December 2022 - 53
IEEE Robotics & Automation Magazine - December 2022 - 54
IEEE Robotics & Automation Magazine - December 2022 - 55
IEEE Robotics & Automation Magazine - December 2022 - 56
IEEE Robotics & Automation Magazine - December 2022 - 57
IEEE Robotics & Automation Magazine - December 2022 - 58
IEEE Robotics & Automation Magazine - December 2022 - 59
IEEE Robotics & Automation Magazine - December 2022 - 60
IEEE Robotics & Automation Magazine - December 2022 - 61
IEEE Robotics & Automation Magazine - December 2022 - 62
IEEE Robotics & Automation Magazine - December 2022 - 63
IEEE Robotics & Automation Magazine - December 2022 - 64
IEEE Robotics & Automation Magazine - December 2022 - 65
IEEE Robotics & Automation Magazine - December 2022 - 66
IEEE Robotics & Automation Magazine - December 2022 - 67
IEEE Robotics & Automation Magazine - December 2022 - 68
IEEE Robotics & Automation Magazine - December 2022 - 69
IEEE Robotics & Automation Magazine - December 2022 - 70
IEEE Robotics & Automation Magazine - December 2022 - 71
IEEE Robotics & Automation Magazine - December 2022 - 72
IEEE Robotics & Automation Magazine - December 2022 - 73
IEEE Robotics & Automation Magazine - December 2022 - 74
IEEE Robotics & Automation Magazine - December 2022 - 75
IEEE Robotics & Automation Magazine - December 2022 - 76
IEEE Robotics & Automation Magazine - December 2022 - 77
IEEE Robotics & Automation Magazine - December 2022 - 78
IEEE Robotics & Automation Magazine - December 2022 - 79
IEEE Robotics & Automation Magazine - December 2022 - 80
IEEE Robotics & Automation Magazine - December 2022 - 81
IEEE Robotics & Automation Magazine - December 2022 - 82
IEEE Robotics & Automation Magazine - December 2022 - 83
IEEE Robotics & Automation Magazine - December 2022 - 84
IEEE Robotics & Automation Magazine - December 2022 - 85
IEEE Robotics & Automation Magazine - December 2022 - 86
IEEE Robotics & Automation Magazine - December 2022 - 87
IEEE Robotics & Automation Magazine - December 2022 - 88
IEEE Robotics & Automation Magazine - December 2022 - 89
IEEE Robotics & Automation Magazine - December 2022 - 90
IEEE Robotics & Automation Magazine - December 2022 - 91
IEEE Robotics & Automation Magazine - December 2022 - 92
IEEE Robotics & Automation Magazine - December 2022 - 93
IEEE Robotics & Automation Magazine - December 2022 - 94
IEEE Robotics & Automation Magazine - December 2022 - 95
IEEE Robotics & Automation Magazine - December 2022 - 96
IEEE Robotics & Automation Magazine - December 2022 - 97
IEEE Robotics & Automation Magazine - December 2022 - 98
IEEE Robotics & Automation Magazine - December 2022 - 99
IEEE Robotics & Automation Magazine - December 2022 - 100
IEEE Robotics & Automation Magazine - December 2022 - 101
IEEE Robotics & Automation Magazine - December 2022 - 102
IEEE Robotics & Automation Magazine - December 2022 - 103
IEEE Robotics & Automation Magazine - December 2022 - 104
IEEE Robotics & Automation Magazine - December 2022 - 105
IEEE Robotics & Automation Magazine - December 2022 - 106
IEEE Robotics & Automation Magazine - December 2022 - 107
IEEE Robotics & Automation Magazine - December 2022 - 108
IEEE Robotics & Automation Magazine - December 2022 - 109
IEEE Robotics & Automation Magazine - December 2022 - 110
IEEE Robotics & Automation Magazine - December 2022 - 111
IEEE Robotics & Automation Magazine - December 2022 - 112
IEEE Robotics & Automation Magazine - December 2022 - 113
IEEE Robotics & Automation Magazine - December 2022 - 114
IEEE Robotics & Automation Magazine - December 2022 - 115
IEEE Robotics & Automation Magazine - December 2022 - 116
IEEE Robotics & Automation Magazine - December 2022 - 117
IEEE Robotics & Automation Magazine - December 2022 - 118
IEEE Robotics & Automation Magazine - December 2022 - 119
IEEE Robotics & Automation Magazine - December 2022 - 120
IEEE Robotics & Automation Magazine - December 2022 - 121
IEEE Robotics & Automation Magazine - December 2022 - 122
IEEE Robotics & Automation Magazine - December 2022 - 123
IEEE Robotics & Automation Magazine - December 2022 - 124
IEEE Robotics & Automation Magazine - December 2022 - 125
IEEE Robotics & Automation Magazine - December 2022 - 126
IEEE Robotics & Automation Magazine - December 2022 - 127
IEEE Robotics & Automation Magazine - December 2022 - 128
IEEE Robotics & Automation Magazine - December 2022 - 129
IEEE Robotics & Automation Magazine - December 2022 - 130
IEEE Robotics & Automation Magazine - December 2022 - 131
IEEE Robotics & Automation Magazine - December 2022 - 132
IEEE Robotics & Automation Magazine - December 2022 - 133
IEEE Robotics & Automation Magazine - December 2022 - 134
IEEE Robotics & Automation Magazine - December 2022 - 135
IEEE Robotics & Automation Magazine - December 2022 - 136
IEEE Robotics & Automation Magazine - December 2022 - 137
IEEE Robotics & Automation Magazine - December 2022 - 138
IEEE Robotics & Automation Magazine - December 2022 - 139
IEEE Robotics & Automation Magazine - December 2022 - 140
IEEE Robotics & Automation Magazine - December 2022 - 141
IEEE Robotics & Automation Magazine - December 2022 - 142
IEEE Robotics & Automation Magazine - December 2022 - 143
IEEE Robotics & Automation Magazine - December 2022 - 144
IEEE Robotics & Automation Magazine - December 2022 - 145
IEEE Robotics & Automation Magazine - December 2022 - 146
IEEE Robotics & Automation Magazine - December 2022 - 147
IEEE Robotics & Automation Magazine - December 2022 - 148
IEEE Robotics & Automation Magazine - December 2022 - 149
IEEE Robotics & Automation Magazine - December 2022 - 150
IEEE Robotics & Automation Magazine - December 2022 - 151
IEEE Robotics & Automation Magazine - December 2022 - 152
IEEE Robotics & Automation Magazine - December 2022 - 153
IEEE Robotics & Automation Magazine - December 2022 - 154
IEEE Robotics & Automation Magazine - December 2022 - 155
IEEE Robotics & Automation Magazine - December 2022 - 156
IEEE Robotics & Automation Magazine - December 2022 - 157
IEEE Robotics & Automation Magazine - December 2022 - 158
IEEE Robotics & Automation Magazine - December 2022 - 159
IEEE Robotics & Automation Magazine - December 2022 - 160
IEEE Robotics & Automation Magazine - December 2022 - 161
IEEE Robotics & Automation Magazine - December 2022 - 162
IEEE Robotics & Automation Magazine - December 2022 - 163
IEEE Robotics & Automation Magazine - December 2022 - 164
IEEE Robotics & Automation Magazine - December 2022 - Cover3
IEEE Robotics & Automation Magazine - December 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