Acta Polytechnica CTU Proceedings doi:10.14311/APP.2016.6.0006 Acta Polytechnica CTU Proceedings 6:6–10, 2016 © Czech Technical University in Prague, 2016 available online at http://ojs.cvut.cz/ojs/index.php/app ON EVALUATION OF MOTION GAITS ENERGY EFFICIENCY WITH A HEXAPOD CRAWLING ROBOT Lukáš Černý∗, Petr Čížek, Jan Faigl Czech Technical University, Faculty of Electrical Engineering, Technicka 2, Prague, Czech Republic ∗ corresponding author: cernylu6@fel.cvut.cz Abstract. In this work, we are concerning the problem of energy efficient locomotion of a hexapod crawling robot. We are emphasizing a practical verification and deployment on a real walking robot to evaluate relations between the energy consumption, motion speed, and terrain type with a particular motion gait. The tripod, tetrapod, and pentapod motion gaits are considered in the presented evaluation report. Keywords: RGB-D SLAM, localization, ground-truth construction, legged robot, rough terrain traversal, adaptive motion gait. 1. Introduction Energy efficient and fast locomotion is a key ability for the mobile robot to extent its operation capabili- ties. As legged robots offer the potential to traverse various types of terrains, it is desirable to adjust their locomotion to be as energy efficient as possible. In general, there are two principal ways of locomotion control for legged robots operating in rough terrains. Either deliberative control where individual foot-tip positions of each leg are planned in advance (e.g., [1]) or reactive control based on a repetitive motion gait with prescribed leg trajectories with a certain amount of adaptability such as [2]. The later approach builds on the fact that legged robots often utilize collections of gait patterns to locomote over a variety of surfaces with each gait tuned for a specific surface and set of operational conditions. Several commonly used gait patterns such as tripod, tetrapod, and pentapod mo- tion gaits have been developed for hexapod crawling robots. During traversing a rough terrain, it is possible to select a particular gait pattern and stick with it for the whole process of the navigation; however, it may be beneficial to utilize knowledge of the terrain currently being traversed to select the most appropriate gait to optimize a particular criterion, e.g., speed, stability, or energy consumption. The gait selection can be based on both exterocep- tive and proprioceptive sensing. In this paper, we con- sider proprioceptive sensory data only, specifically the current sensory data to evaluate the energy efficiency of individual gaits on different terrain types. We use the information about the overall current drawn from the robot energy source (the used battery pack) to compute instantaneous power and consequently the consumed energy during the robot operation. We performed a series of experiments to collate in- formation about the energy efficiency of different gaits on different terrain types to establish a gait selection strategy that would let us alter gaits according to the terrain that is being traversed. For this purpose, we expect the terrain to be foreknown, i.e., classified in advance. We distinguish following terrain types: office floor, grass, inclined plane, and wooden blocks, see Figure 1. Online terrain classification can be done using exteroceptive data; however, this topic is out of the scope of this paper, therefore in the herein presented evaluation of the energy consumption, we rather assume the current terrain type is available. An evaluation of the energy efficiency applied for the hexapod crawling robot has been shown in [3]. The authors propose a method of energetic cost evalu- ation and they applied it in a gait transition algorithm that alters between two different gaits according to the power consumption and thus, according to the par- ticular terrain type. Several methods of traversability cost evaluation based on proprioceptive sensors are proposed in [4]. The authors also consider a hexapod walking robot and utilize information about the cur- rent torque at the leg joints to estimate the power consumption. Contrary to this approach, we consider a direct current measurement in this paper, which pro- vides a more precise estimation of the overall power consumption during crawling. This paper is organized as follows. Section 2 de- scribes the utilized hexapod robot platform, the con- sidered motion gait patterns, and used evaluation methodology for measuring the energy efficiency of the individual motion gaits. Section 3 is dedicated to the experimental results. Finally, in Section 4, we discuss the experimental results and propose further research directions. 2. Problem Statement 2.1. Hexapod platform The idea of optimizing the energy consumption by altering gaits according to the terrain type can be applied to any legged robot. In this work, we utilize a robot based on an off-the-shelf Phantom X Mark 6 http://dx.doi.org/10.14311/APP.2016.6.0006 http://ojs.cvut.cz/ojs/index.php/app vol. 6/2016 On Evaluation of Motion Gaits Energy Efficiency (a) . Office floor (b) . Grass (c) . Inclined plane (d) . Wooden blocks Figure 1. Terrain types. II platform with six legs. Each leg consists of three actuated joints driven by the Dynamixel AX-12 intel- ligent servos. This makes the robot easy to use and relatively cheap with surprisingly large locomotion capabilities in rough environments. 2.2. Motion gaits A straightforward approach to a hexapod robot lo- comotion is to predefine and fix a particular motion gait pattern and simply repeat such a pattern over and over. Based on the number of legs moving si- multaneously and on the order in which the legs are altering between the support phase and the swing phase, different motion gaits can be recognized. This include regular tripod, tetrapod, pentapod, and ripple gaits. Further details on these regular gaits can be found in [5]. A basic locomotion controller assume crawling on a flat terrain by default; however, it is necessary to negotiate the landscape using the robot sensory feed- back to surpass a rough terrain. In this report, we consider the default tripod, tetrapod, pentapod, and ripple gaits which assume crawling on a flat terrain and their adaptive variants for tripod, tetrapod, and pentapod gaits [2]. The adaptive gaits exploit the sensory feedback from the intelligent servo drives to detect the contact point of the leg with the supporting surface [6]. In particular, a position error of the servo joint, which is proportional to the applied torque, is utilized to stop the motion of the leg during the swing phase, and thus to detect the contact point of the leg with the ground. 2.3. Energetics The fundamental sensory input for the proposed eval- uation of the energy efficiency of the individual gaits is based on measuring of the current I drawn from the robot main battery. From the measured current I we can compute the instantaneous power as Pin = V I, (1) where I is the instantaneous current (in units of Am- peres), V is voltage of the battery (in units of Volts), and Pin is the instantaneous power (in units of Watts). As shown in [3], Pin is the total power consumed by the robot that consists of the power generating mechani- cal forces and the power representing the energy loss. However, we consider the total power only because we aim to minimize the overall energy consumed. From the gathered information about the instanta- neous power (1), we can estimate the energy consumed during traversing a particular terrain. Based on the relationship between the consumed energy E and the instantaneous power Pin(t) = dE(t) dt (2) we can write E(t) = ∫ t 0 Pin(τ) dτ , (3) where E(t) is the energy consumed (in units of Joules) from the beginning of the experiment up until the specified time t. From (3) we can estimate the overall energy consumption by integrating the instantaneous power numerically, e.g., using the trapezoidal rule. 3. Evaluation 3.1. Experimental set-up The following experimental setup has been designed to evaluate and compare particular abilities of each considered gait to traverse a particular terrain type. The robot has been requested to walk a fixed distance of one meter straight ahead and traverse a partic- ular terrain type. Considered terrain types are the office floor, artificial grass, inclined plane, and wooden blocks of irregular heights (see Figure 1). The office floor and artificial grass represent terrain types with different adhesion, and thus with a different slippage. The inclined plane and wooden blocks represent an environment with elevated demands on the power con- sumption. The locomotion of the robot on the wooden blocks is also often subjected to slippage and abrupt motions which apply further load on the servo drives, leading to a higher energy consumption. The experiment has been repeated three times for each gait on each terrain type except the default gaits and wooden blocks because the default gaits are not capable of traversing such a rough terrain. The dis- tance traveled by the robot has been estimated based on the legged odometry only. 7 L. Černý, P. Čížek, J. Faigl Acta Polytechnica CTU Proceedings Time [s] 0 5 10 15 20 25 C o n su m ed en er g y [J ] 0 50 100 150 200 250 300 Energy consumption of default gaits on o/ce .oor Default tripod gait Default tetrapod gait Default pentapod gait Default ripple gait (a) . Default gaits on office floor Time [s] 0 5 10 15 20 25 C o n su m ed en er g y [J ] 0 50 100 150 200 250 300 350 Energy consumption of default gaits on grass Default tripod gait Default tetrapod gait Default pentapod gait Default ripple gait (b) . Default gaits on grass Time [s] 0 5 10 15 20 25 C o n su m ed en er g y [J ] 0 50 100 150 200 250 300 350 400 450 Energy consumption of default gaits on slope Default tripod gait Default tetrapod gait Default pentapod gait Default ripple gait (c) . Default gaits on inclined plane Time [s] 0 20 40 60 80 100 120 C o n su m ed en er g y [J ] 0 200 400 600 800 1000 1200 Energy consumption of adaptive gaits on o/ce .oor Adaptive tripod gait Adaptive tetrapod gait Adaptive pentapod gait (d) . Adaptive gaits on office floor Time [s] 0 20 40 60 80 100 120 C o n su m ed en er g y [J ] 0 200 400 600 800 1000 1200 1400 Energy consumption of adaptive gaits on grass Adaptive tripod gait Adaptive tetrapod gait Adaptive pentapod gait (e) . Adaptive gaits on grass Time [s] 0 20 40 60 80 100 120 C o n su m ed en er g y [J ] 0 200 400 600 800 1000 1200 1400 1600 Energy consumption of adaptive gaits on slope Adaptive tripod gait Adaptive tetrapod gait Adaptive pentapod gait (f) . Adaptive gaits on in- clined plane Time [s] 0 20 40 60 80 100 120 C o n su m ed en er g y [J ] 0 500 1000 1500 Energy consumption of adaptive gaits on wooden blocks Adaptive tripod gait Adaptive tetrapod gait Adaptive pentapod gait (g) . Adaptive gaits on wooden blocks Figure 2. Energy consumption over time. The overall current drawn from the battery has been measured using the ACS712 hall effect-based linear current sensor with the measuring range of ±5 A. Each current data sample was provided with a timestamp. The reading frequency was not completely invariant due to the time consumed by the motion control and other factors. In spite of that the reading frequency was approximately 100 Hz. Before each experiment, we measured the battery voltage and we assumed it is constant during the robot movement because the drop of the voltage was insignificant during the experiment. Thereby, we have acquired all the information needed to estimate the energy consumed by the robot motion. 3.2. Results Having done all the experiments described above, the instantaneous power for each current sample using (1) has been computed. Consequently, the power has been numerically integrated according to (3). The plotted energy consumption over time is presented in Figure 2, where the particular plots are as follows. Figure 2a and Figure 2d show the results of the experiments performed on the office floor. Figure 2e and 2e show the results for the artificial grass. Experimental results performed on the inclined plane are shown in Figure 2c and Figure 2f. Finally, the results from traversing the wooden blocks are presented in Figure 2g. The experiments have been run three times for each terrain type and gait. Therefore, results from the particular trials have been grouped and marked by a specific color in the plots. Each color represents one gait pattern, and thus each color group consists of three lines that correspond to the three experiments performed for every gait and terrain type. 3.3. Discussion In Figure 2, we can clearly see that a gait selection can significantly influence the energy efficiency of the robot motion. Tables 1 and 2 and Figure 3 together with Figure 4 summarize the overall energy consumption and the time needed for traversing the terrain (a distance of 1 m) by each motion gait. The results were computed as the mean values of the data resulting from each triplet of the performed experiments. According to Table 1, we can establish a strategy for gait selection to prefer the default tripod gait whenever the particular terrain type can be traversed by it. In rough terrains, the adaptive tripod gait is preferred. Considering the time in Table 1, the switching strategy that minimizes the time consumption (the speed of the robot) yields the same result. However, such a gait selection rule optimizes only the energy and time consumption. Different opti- mization criteria might be induced by the application scenario, e.g., the tripod gait is the least safe gait in terms of the robot stability, and thus it is not capable of traversing such challenging terrains as the pentapod gait, which is the most stable gait. The results presented above indicate the influence of the energy consumption is proportional to the time by a multiplication factor. The factor can be uti- lized as a single parameter describing the energy ef- ficiency of the gait pattern on a particular terrain type. The multiplication factor actually coincides with the average power consumed by the robot. More- over, the average power might be used as a charac- teristic for the terrain classification. However, to get relevant information about an average power, we need to collect data over a longer time inter- val because the instantaneous power changes signif- 8 vol. 6/2016 On Evaluation of Motion Gaits Energy Efficiency Gait Consumed energy [J] Floor Grass Plane Blocks Def. tripod 130.9 144.0 148.3 — Def. tetrapod 168.7 183.0 200.9 — Def. pentapod 289.7 327.9 403.2 — Def. ripple 171.9 183.7 218.4 — Ad. tripod 386.6 482.5 485.6 507.6 Ad. tetrapod 543.1 617.0 699.0 700.0 Ad. pentapod 1019.1 1248.7 1543.4 1270.3 Table 1. Energy consumption. Office Floor Artificial Grass Inclined plane Wooden blocks 0 200 400 600 800 1000 1200 1400 1600 C on su m ed e ne rg y [J ] Consumed energy Adaptive pentapod Adaptive tetrapod Adaptive tripod Regular pentapod Regular tetrapod Regular tripod Figure 3. Energy consumption on different terrain types. icantly during a single gait cycle. This can be ob- served for the terrain of wooden blocks as fluctu- ations of otherwise relatively straight lines in Fig- ure 2. Based on the presented results, we can deduce that the time interval of few seconds (or few gait cycles) should be sufficient to provide the relevant data. Notice, the wooden blocks are not, unlike the other terrain types, uniform, and therefore, fluctuations in the estimated energy consumption may be observed in the presented results. The energetic cost together with the traversability of the terrain vary from place to place and they both depend on exact location of the robot in the environment. This observation motivate us that a terrain classification might divide the area into smaller parts and evaluate traversability in these local areas. Notice that all the gait parameters such as speed, stride length, etc. were fixed for each gait individually for all experiments reported in this paper. However, the energy efficiency can be used in the optimization of the gait and it can be also improved by a mechanical construction of the robot. A further experimental evaluation can also be en- hanced by a precise measurement of the distance traveled by the robot. In this manner, factors such as traction and leg slippages can be taken into ac- count, which may provide additional information about suitability of particular gaits for specific terrain types. Gait Time [s] Floor Grass Plane Blocks Def. tripod 8.1 8.1 8.1 — Def. tetrapod 12.2 12.2 12.2 — Def. pentapod 24.4 24.4 24.3 — Def. ripple 12.3 12.2 12.2 — Ad. tripod 32.6 35.8 35.7 35.7 Ad. tetrapod 56.5 56.6 57.3 56.1 Ad. pentapod 110.6 112.5 114.6 95.8 Table 2. Traversing time. Office Floor Artificial Grass Inclined plane Wooden blocks 0 20 40 60 80 100 120 140 C on su m ed ti m e [s ] Consumed time Adaptive pentapod Adaptive tetrapod Adaptive tripod Regular pentapod Regular tetrapod Regular tripod Figure 4. Traversing time on different terrain types. 4. Conclusion In this work, we study the problem of energetic char- acteristics of the hexapod legged robot locomotion. We have evaluated the consumed energy for the most common motion gait types and different terrain types. From the presented experimental results, we can ob- serve that the default tripod gait is the fastest and the most energy efficient gait for flat terrains. This obser- vation yields the main strategy for the gait switching rule that minimizes the overall energy consumption. The gait switching rule can be formulated such as whenever the default gait is not capable of traverse a terrain due to the terrain roughness, its adaptive version should be preferred. The results indicate the proportional relation be- tween the operational time and the energy consump- tion, which, in fact, is not a surprising result. However, the multiplication factor can be used as a characteris- tic for the terrain classification. All the proposed applications and implications of presented results are intended as a motivation for fur- ther research. A deployment of the gait switching decision rule and further investigation of the gait opti- mal parametrization using the energy characteristics evaluation is of our particular interest. Acknowledgements The presented work was supported by the Czech Science Foundation (GAČR) under research project No. 15-09600Y. The support of grant No. SGS16/235/OHK3/3T/13 to Petr Čížek is also gratefully acknowledged. 9 L. Černý, P. Čížek, J. Faigl Acta Polytechnica CTU Proceedings References [1] D. Belter, P. Skrzypczynski. Rough terrain mapping and classification for foothold selection in a walking robot. Journal of Field Robotics 28(4):497–528, 2011. doi:10.1002/rob.20397. [2] J. Mrva, J. Faigl. Tactile sensing with servo drives feedback only for blind hexapod walking robot. In Robot Motion and Control (RoMoCo), 2015 10th International Workshop on, pp. 240–245. 2015. doi:10.1109/RoMoCo.2015.7219742. [3] N. Kottege, C. Parkinson, P. Moghadam, et al. Energetics-informed hexapod gait transitions across terrains. In IEEE International Conference on Robotics and Automation (ICRA), pp. 5140–5147. 2015. doi:10.1109/ICRA.2015.7139915. [4] J. Mrva, M. Stejskal, J. Faigl. On traversability cost evaluation from proprioceptive sensing for a crawling robot. In Acta Polytechnica CTU Proceedings, pp. 34–39. 2015. doi:10.14311/APP.2015.1.0034. [5] G. Dudek, M. Jenkin. Computational Principles of Mobile Robotics. Cambridge University Press, New York, NY, USA, 2000. [6] J. Mrva, J. Faigl. Tactile sensing with servo drives feedback only for blind hexapod walking robot. In 10th International Workshop on Robot Motion and Control, RoMoCo, pp. 240–245. 2015. doi:10.1109/RoMoCo.2015.7219742. 10 http://dx.doi.org/10.1002/rob.20397 http://dx.doi.org/10.1109/RoMoCo.2015.7219742 http://dx.doi.org/10.1109/ICRA.2015.7139915 http://dx.doi.org/10.14311/APP.2015.1.0034 http://dx.doi.org/10.1109/RoMoCo.2015.7219742 Acta Polytechnica CTU Proceedings 6:6–10, 2016 1 Introduction 2 Problem Statement 2.1 Hexapod platform 2.2 Motion gaits 2.3 Energetics 3 Evaluation 3.1 Experimental set-up 3.2 Results 3.3 Discussion 4 Conclusion Acknowledgements References