IEEE Robotics & Automation Magazine - December 2022 - 96
cost of transport, which is the power P divided by the mass m,
the gravity g and the velocity v:
COT== .
mgd
E
mgv
P
(1)
This unit-less measurement is able to compare the efficiency
between different mobile systems. As the same robot and
environmental properties are compared, those constants only
scale the results and would not provide any additional insight
for the comparison. Thus, a simplified metric calculates the
averaged power per velocity (APPV) as
APPV Pv/ .=
Baseline Controller
In this section, we first introduce the widely used method for
generating gaits for snake-like robots, which is the gait equation
controller. Then we use the grid-search algorithm to
explore energy-efficient gaits at different velocities by brutally
searching the parameter space with fine steps.
Gait Equation Controller
As the most widely adopted method, the gait equation controls
the locomotion gaits of a snake-like robot by shaping its
back curve as a moving sinusoid wave that propagates along
the body. This method or similar ideas (e.g., CPG-based
methods) have been used for decades by many kinds of
snake-like robots to generate different gaits [2]. We utilize the
gait equation from [9], which is modeled as
z~$ sin
(,)( ).
nt
=+ +
`
n xy At n
$
N
j
m
(2)
z(, )nt presents the joint-angle value at time t, where n is the
joint index and N is the total joint number. m and ~ are the
spatial and temporal frequency of the movement, respectively.
The spatial frequency represents the cycle number of the
wave, and the temporal frequency represents the traveling
speed of the wave. A is the serpentine amplitude and x and y
are the constants for shaping the body curve.
Grid-Search Optimization
We take the grid-search algorithm to explore the parameter
space, which can lead to optimum gaits as long as the
Table 2. The gait parameters used for the grid
search.
Parameters Descriptions
~
Temporal
frequency
A
y
x
m
Amplitude (°)
Values
0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4,
1.6, 1,8, 2
30, 35, 40, 45, 50, 55, 60, 65,
70, 75, 80, 85
Linear reduction 0.1, 0.2, 0.3, 0.4
Linear reduction (1−y)
Spatial
frequency (°)
searching intervals are small enough. We use the grid-search
method to generate a variety of gaits and determine those
parameter combinations with the best power efficiency at different
velocities. The grid-search method generates a Cartesian
product from the parameters in Table 2, resulting in
10,080 parameter sets. Then, each motion parameter set gets
tested by running 1,000 steps in the simulation environment.
For each run, the first 200 time steps are ignored and the
remaining 800 time steps are evaluated for collecting experimental
data. It is because it has been observed that the snake
robot needs approximately 200 time steps to accelerate and
then moves at a steady speed.
NN-Based Controller
Observation Space
The full observation space consists of all the joint position ,jz
the joint velocity ,
velocity ,v1
.
zj
the actuator torque ,jx the head module
.
and the target velocity v .t The joint position jz
and its joint velocity zj are required to learn the locomotion
helps to sense its global velocity,
which offers better movement awareness. To learn an energyefficient
gait, the sense of energy consumption is necessary.
Therefore, the actuator torque of each joint jx is provided and
can be interpreted in combination with
.
total power usage. The specified target velocity vt
zj to determine the
is passed to
the environment and can be changed, which is required to
control velocity of the robot.
Action Space
The action space has 8 DoF with finite-continuous values in
the range of [. ,. ],15 15which
linearly translates to a corresponding
joint angle z in the range of [, ].
90 90
- cc Each
action represents eight actuator angle positions of the servo
motors. In the real-world setup, the joint can turn around
with the motor speed set as 0.07 s/60° and the gear ratio as
15 :.
143 The control frequency for the snake-like robot is set
as 20 Hz. Thus, the maximum turning angle in 0.05 s is set as
12° in the simulation. The simulation time step is also set as
0.05 s. It should be noted that 20 Hz is selected to ensure realtime
calculation of the NN-based controller.
Reward Function
The objective of our task is to learn an energy-efficient gait for
a variety of specified velocities. Therefore, the energy consumption
and the difference between the actual model velocity
and the target velocity are the main criteria to find a
successful behavior. The challenge is to combine the variables
into one numerical reward and weigh them for each time
step. Therefore, we first split the power efficiency and velocity
criteria into two normalized reward function components.
First, a normalized reward is defined to maintain the spec40,
45, 50, 55, 60, 65, 70, 75,
80, 85, 90, 95, 100, 105, 110,
115, 120, 125, 130, 135, 140
96 * IEEE ROBOTICS & AUTOMATION MAGAZINE * DECEMBER 2022
ified velocity. The objective is to reach and maintain the target
velocity vt
by comparing it with the head velocity v .1 The following
function represents the velocity reward:
and represent the proprioceptive awareness of the robot. The
head module velocity v1
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