Validation of Computer Simulations of the HyQ Robot

Similar documents
arxiv: v1 [cs.ro] 22 Apr 2016

TRANSACTIONS ON MECHATRONICS, VOL. XX, NO. Y 1. Design of the Hydraulically-Actuated, Torque-Controlled Quadruped Robot HyQ2Max

Quadrupedal trotting with active compliance


Concurrent Optimization of Mechanical Design and Locomotion Control of a Legged Robot

SnakeSIM: a Snake Robot Simulation Framework for Perception-Driven Obstacle-Aided Locomotion

Robo-Erectus Jr-2013 KidSize Team Description Paper.

Centaur Robots - a Survey

Lightweight Hydraulic Leg to Explore Agile Legged Locomotion

Birth of An Intelligent Humanoid Robot in Singapore

Design and Experiments of Advanced Leg Module (HRP-2L) for Humanoid Robot (HRP-2) Development

Speed Control of a Pneumatic Monopod using a Neural Network

Rapid Development System for Humanoid Vision-based Behaviors with Real-Virtual Common Interface

DEVELOPMENT OF A HUMANOID ROBOT FOR EDUCATION AND OUTREACH. K. Kelly, D. B. MacManus, C. McGinn

Department of Robotics Ritsumeikan University

Design and Control of the BUAA Four-Fingered Hand

Team Description Paper: HuroEvolution Humanoid Robot for Robocup 2014 Humanoid League

ROBOTICS ENG YOUSEF A. SHATNAWI INTRODUCTION

The UT Austin Villa 3D Simulation Soccer Team 2008

PHYSICAL ROBOTS PROGRAMMING BY IMITATION USING VIRTUAL ROBOT PROTOTYPES

Robotics: Evolution, Technology and Applications

Group Robots Forming a Mechanical Structure - Development of slide motion mechanism and estimation of energy consumption of the structural formation -

Chapter 2 Introduction to Haptics 2.1 Definition of Haptics

On-demand printable robots

Masatoshi Ishikawa, Akio Namiki, Takashi Komuro, and Idaku Ishii

ZJUDancer Team Description Paper Humanoid Kid-Size League of Robocup 2014

ZJUDancer Team Description Paper Humanoid Kid-Size League of Robocup 2015

2. Introduction to Computer Haptics

Ch 5 Hardware Components for Automation

Team Description Paper: Darmstadt Dribblers & Hajime Team (KidSize) and Darmstadt Dribblers (TeenSize)

Control Architecture and Algorithms of the Anthropomorphic Biped Robot Bip2000

A Compact Model for the Compliant Humanoid Robot COMAN

Can Active Impedance Protect Robots from Landing Impact?

Robo-Erectus Tr-2010 TeenSize Team Description Paper.

Team Description Paper: HuroEvolution Humanoid Robot for Robocup 2010 Humanoid League

Design and development of a quadruped spider robot

DiVA Digitala Vetenskapliga Arkivet

sin( x m cos( The position of the mass point D is specified by a set of state variables, (θ roll, θ pitch, r) related to the Cartesian coordinates by:

Team Description for Humanoid KidSize League of RoboCup Stephen McGill, Seung Joon Yi, Yida Zhang, Aditya Sreekumar, and Professor Dan Lee

Korea Humanoid Robot Projects

Mechatronic Design, Fabrication and Analysis of a Small-Size Humanoid Robot Parinat

Robotic System Simulation and Modeling Stefan Jörg Robotic and Mechatronic Center

Research of Mammal Bionic Quadruped Robots: a Review

AHAPTIC interface is a kinesthetic link between a human

Self-learning Assistive Exoskeleton with Sliding Mode Admittance Control

The Haptic Impendance Control through Virtual Environment Force Compensation

Humanoids. Lecture Outline. RSS 2010 Lecture # 19 Una-May O Reilly. Definition and motivation. Locomotion. Why humanoids? What are humanoids?

العطاء رقم )7106/67( الخاص بشراء أجهز لقسم الهندسة الكهربائية على حساب البحث العلمي

Robot Joint Angle Control Based on Self Resonance Cancellation Using Double Encoders

Walking and Flying Robots for Challenging Environments

EDUCATION ACADEMIC DEGREE

A Semi-Minimalistic Approach to Humanoid Design

Motion Control of a Three Active Wheeled Mobile Robot and Collision-Free Human Following Navigation in Outdoor Environment

EVALUATING THE DYNAMICS OF HEXAPOD TYPE ROBOT

ROMEO Humanoid for Action and Communication. Rodolphe GELIN Aldebaran Robotics

Haptic Virtual Fixtures for Robot-Assisted Manipulation

Chapter 1 Introduction

Modeling and Experimental Studies of a Novel 6DOF Haptic Device

Development of a Controlling Program for Six-legged Robot by VHDL Programming

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): / _0087

Learning and Using Models of Kicking Motions for Legged Robots

Wheeled Mobile Robot Kuzma I

Using Simulation to Design Control Strategies for Robotic No-Scar Surgery

A simple embedded stereoscopic vision system for an autonomous rover

A Passive System Approach to Increase the Energy Efficiency in Walk Movements Based in a Realistic Simulation Environment

Advanced Distributed Architecture for a Small Biped Robot Control M. Albero, F. Blanes, G. Benet, J.E. Simó, J. Coronel

Behaviour-Based Control. IAR Lecture 5 Barbara Webb

MSMS Software for VR Simulations of Neural Prostheses and Patient Training and Rehabilitation

Baset Adult-Size 2016 Team Description Paper

FUNDAMENTALS ROBOT TECHNOLOGY. An Introduction to Industrial Robots, T eleoperators and Robot Vehicles. D J Todd. Kogan Page

Robotica Umanoide. Lorenzo Natale icub Facility Istituto Italiano di Tecnologia. 30 Novembre 2015, Milano

Humanoid robot. Honda's ASIMO, an example of a humanoid robot

Actuator Selection and Hardware Realization of a Small and Fast-Moving, Autonomous Humanoid Robot

Fundamentals of Servo Motion Control

EFFECT OF INERTIAL TAIL ON YAW RATE OF 45 GRAM LEGGED ROBOT *

Sensor system of a small biped entertainment robot

Tsinghua Hephaestus 2016 AdultSize Team Description

An Introduction To Modular Robots

PRODUCTS AND LAB SOLUTIONS

A Feasibility Study of Time-Domain Passivity Approach for Bilateral Teleoperation of Mobile Manipulator

Adaptive Dynamic Simulation Framework for Humanoid Robots

HUMANOID ROBOT SIMULATOR: A REALISTIC DYNAMICS APPROACH. José L. Lima, José C. Gonçalves, Paulo G. Costa, A. Paulo Moreira

Safe and Efficient Autonomous Navigation in the Presence of Humans at Control Level

FUmanoid Team Description Paper 2010

Autonomous Stair Climbing Algorithm for a Small Four-Tracked Robot

The UT Austin Villa 3D Simulation Soccer Team 2007

NTU Robot PAL 2009 Team Report

ACTUATORS AND SENSORS. Joint actuating system. Servomotors. Sensors

CMDragons 2009 Team Description

Development of Shape-Variable Hand Unit for Quadruped Tracked Mobile Robot

Why Humanoid Robots?*

Information and Program

CIT Brains (Kid Size League)

Optimal Control System Design

Distributed Vision System: A Perceptual Information Infrastructure for Robot Navigation

Using Robot Operating System (ROS) and Single Board Computer to Control Bioloid Robot Motion

DEVELOPMENT OF THE HUMANOID ROBOT HUBO-FX-1

Hybrid architectures. IAR Lecture 6 Barbara Webb

Robotics 2 Collision detection and robot reaction

Discrimination of Virtual Haptic Textures Rendered with Different Update Rates

Transcription:

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 1 Validation of Computer Simulations of the HyQ Robot Marco Frigerio, Victor Barasuol, Michele Focchi, Darwin G. Caldwell and Claudio Semini Department of Advanced Robotics, Istituto Italiano di Tecnologia Via Morego 3, 16163, Genova, Italy E-mail: <first name>.<last name>@iit.it This paper illustrates the results of a validation procedure for the computer simulations of our quadruped robot HyQ. We show how simulated and real data recorded during locomotion tests are substantially consistent, providing an argument for the reliability of our simulation software. The main contribution of this work is to illustrate a basic yet effective software system that allows us to simulate and also control in the real world a complex articulated robot that can walk and run. Keywords: Robot simulation; Robot software; Rigid-body dynamics; Quadruped robots 1. Introduction Accurate computer simulations of the behavior of articulated robots are a fundamental tool for robotics research. The simulation allows the roboticist to test experimental controllers in a virtual environment, where the cost of a failure is limited to disappointment. Also, simulations are repeatable. On the other hand, tests on the real robot may cause damage to the robot itself and be possibly hazardous for the human operators, in case of powerful actuation. Therefore, it is a straightforward best practice to require a series of successful simulations before experimenting with the real machine. The gap between the virtual and real environment must not only be addressed by accurate simulation of the physics (e.g. the rigid body dynamics), but also minimizing the variations of the control software being used in simulation and on the real robot. In this paper, we give an overview of our simulation and robot control software (based on sl 1 see Sec. 3), and of the validation of the simulations by means of comparisons with real experimental data. We will refer to tests performed with our hydraulic quadruped robot, HyQ (see Section 2).

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 2 A popular simulator in the robotics community is Gazebo, a rich tool that simulates both the rigid body dynamics of the robot and the environment as well as a variety of sensors, and offers an appealing graphical interface. 2 Gazebo was not originally intended to seamlessly allow the users to move their control software from the simulator to the real robot; however, Gazebo supports plugins and some users have exploited this option to achieve such an integration. 2 To the best of our knowledge, though, no publication has addressed the point of validating the simulator by comparing it with real data. In Pepper et al., 3 the authors also stress the benefits of computer simulations, and propose a standardized set of tests to compare virtual and actual experiments of mobile search and rescue robots. They focus on the problem of identifying inconsistencies in the physical model of the robot/environment. Carpin et al. 4 also address the assessment of a simulator accuracy, but focus on higher level tasks such as vision (using graphical rendering of virtual environments), wireless communication, and human robot interaction. The costs of experiments with a real robot is a well known issue in the research community. Melo et al., for example, propose a software framework that allows simulation and control of modular snake robots. The data collection capability of the framework enables the comparison between virtual and real data, but this point is not the focus of the article. In this work, we show how simulations and experiments with our quadruped robot are consistent, in terms of basic physical quantities such as joint velocity and force, and provide a solid argument for our related work grounded on simulations (e.g. Semini et al. 6 ). This paper also illustrates a software package that enables hard real time control of a complex machine such as the HyQ robot. This article is an extended version of a technical report that appeared on arxiv.org. 7 2. The HyQ robot Figure 1 shows a picture of HyQ, a quadruped robot with hydraulically actuated joints. 8 The machine weighs 8 kg, is roughly 1 meter long and has a leg length of.78 m with fully-extended legs. All of its 12 degrees of freedom (DOF) are torque-controlled joints: the hip abduction/adduction (HAA) joints are driven by rotary hydraulic actuators with strain-gauge based torque sensors for torque control. All 8 joints in the sagittal plane (hip flexion/extension (HFE) and knee flexion/extension (KFE)) are ac-

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 3 Fig. 1. A picture of IIT s hydraulic quadruped robot, HyQ. tuated by hydraulic cylinders, that are connected to load cells for force measurement. High-performance servo-valves (MOOG E24) enable jointlevel torque control with excellent tracking that led to the implementation of active impedance. 9,1 Table 1 lists the main specifications and features of the robot. 3. Software environment The SL simulator and motor controller package 1 was adopted as the first software control system of HyQ. sl is an implementation of a conceptual architecture which is basic yet very effective, and comprises two main computational activities: motor control i.e. low level control of the joint motion/force, generating commands for the actuators and trajectory generation i.e. set-points generation acting as a demand for the motor control. A general I/O interface decouples the motor control from the actual component that receives the actuator commands. Therefore, the software can be deployed either on a computer connected with the real hardware (sensors and actuators), as well as on a computer running a physics simulator of the same robot. Limited change of code is required between the two options, guaranteeing that simulations and real experiments are driven by the same software. To practically allow such interchange between simulation and real robot, sl is entirely written C/C++, is compatible with hard real time constraints, and can be built and executed on top of a real time Xenomai based Linux system (as well as on a regular Linux system, of course). The

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 4 Property/Feature Value dimensions 1. x. x.98 m (LxWxH) approximative leg length (fully extended).78 m weight 8kg active DOF 12 hydraulic actuation double vane rotary actuators and double acting asymmetric cylinders motion range 9 (HAA), 12 (HFE, KFE) max joint torque (HAA) 12Nm (peak torque at 2MPa) max joint torque (HFE, KFE) 181Nm (peak torque at 2MPa) position sensors relative encoder, 8CPR torque sensors custom torque sensor (HAA), kn loadcell (HFE, KFE) perception sensors IMU, stereo camera, lidar onboard computer Intel i based computer, 8GB of RAM joint control (rate) position and torque (1kHz) locomotion skills walking (crawl, trot), running (flying trot), hopping, squat jumping, rearing complete sl package includes also a rigid body simulator, which is the one we use in this work; although not sophisticated (e.g. no simulation of vision sensors), it is perfectly suitable to test behaviors such as trotting or jumping. To summarize, the reader shall keep in mind that, whenever we refer to simulation or real experiment, the actual code running in the two cases differs only slightly. The kinematics and dynamics engines for the HyQ robot (e.g. the forward dynamics routine required by the simulator) have been implemented using RobCoGen, a generator of robot specific, optimized code for the most common kinematics and dynamics routines used in robotics. 11 RobCoGen was not validated by any formal method, but the generated code was tested by numerical comparisons with other libraries/tools, for a variety of articulated robot models, and also used in real time control loop of real robots. 11 4. Experimental Validation of the Simulator To validate our simulation we performed 1m/s walking trot experiments both within the simulator and with the actual robot. To generate a stable

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main trotting motion we used the locomotion controller presented in Barasuol et al. 12 Figure 2 shows the knee torque profiles of all the legs, in the case of both simulation and real experiments. The plots in the bottom show the power obtained by multiplying the joint torque with the joint velocity. The negative power regions in the gait cycle, e.g. at foot touch down in the beginning of each stance phase, are due to the potential/kinetic energy of the whole robot which is back-driving the joint. Note that the torque peaks during foot touch down in the left front leg are only present in the experimental data. These peaks are created by an imperfect trotting motion, possibly due to inaccurate state estimation. Joint Load [Nm] Power [W] 2 1 1-2 1 1 - -1-1 (a) Left Front leg Joint Load [Nm] Power [W] 1 1-2 1 1 - -1-1 (b) Right Front leg Joint Load [Nm] Power [W] - -1-1 2 1 1 - -1 (c) Left Hind leg Joint Load [Nm] Power [W] - -1-1 2 1-1 -2-3 (d) Right Hind leg Fig. 2. Comparison between simulation (red solid) and experimental (black dashed) results of a 1. m/s walking trot with the HyQ robot. The bottom plots illustrate the mechanical power profile obtained by multiplying the joint torque with the joint velocity. All plots refer to the knee joint. The negative power areas indicate periods in which the joint is back-driven by the weight and inertia of the whole robot.

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 6 Figure 3 shows the position and velocity profiles for the same joint during the same motion. All the plots of both figures show a good similarity between simulation and real experiment, showing that the simulation is sufficiently predicting the overall behavior of the robot. Similarly, Fig. 4 refers to a fast ( Hz) sinusoidal trajectory tested on a single hydraulic leg of the HyQ robot. The same data for the real experiment was originally presented in Boaventura et al., 9 to illustrate the performance of the force controller and the accuracy of the dynamics model. Here we compare joint load and velocity with a simulation of the same motion. Again, simulated and real data are similar, although the real experiment exhibits higher peaks in the joint load, probably due to unmodeled dynamics that becomes relevant at such high speed. 1 - -1 1 - -1 Joint position [rad] -1.3-1.4-1. -1.6-1.7-1.8-1.9-2 (a) Left Front leg Joint position [rad] -1.3-1.4-1. -1.6-1.7-1.8-1.9-2 (b) Right Front leg 1 - -1 1 - -1 Joint position [rad] 2 1.9 1.8 1.7 1.6 1. 1.4 1.3 (c) Left Hind leg Joint position [rad] 2 1.8 1.6 1.4 1.2 (d) Right Hind leg Fig. 3. Comparison between simulation (red solid) and experimental (black dashed) results of a 1. m/s walking trot with the HyQ robot; see Figure 2. The bottom plots show the knee joint position, whereas the top ones show the velocity.

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 7 Joint load [Nm] 1 - -1.2.4.6.8 1 Time [s] (a) Load 6 4 2-2 -4-6.2.4.6.8 1 Time [s] (b) Speed Fig. 4. Comparison between simulation (red solid) and experimental (black dashed) results of a fast ( Hz) sinusoidal trajectory of a hydraulic leg. The plots refer to the HFE joint.. Conclusions and discussion In this paper we have presented some comparisons between simulated and real experiments on our quadruped robot HyQ, in order to validate our simulation environment. Although this is not a formal verification, the results provide a qualitative argument in favor of the accuracy of our simulator and of its effectiveness in predicting the robot behavior. It is our personal experience that after performing several trials in simulation, switching to the real robot usually requires only a limited retuning of the controller parameters (of course other problems are possible and do occur, often because of the unmodeled hydraulic dynamics see below). In this paper we have also briefly introduced our robot software, which is based on a simple and sensible architecture that enables to share the same joint level controller and trajectory generation between the real and the simulated robot. Without this feature, even an accurate physics simulator would be of little use. A current limitation of our simulator, which we want to address in future developments, is the lack of modeling of the actuation dynamics; joints are assumed to have ideal force sources. Although this issue might be mitigated by having a high performance force control on the real robot, simulating the hydraulic dynamics would make our simulations even more accurate and further reduce the chance of unexpected responses of the real robot.

April 28, 217 16:4 WSPC - Proceedings Trim Size: 9in x 6in main 8 Acknowledgments This work was supported by Istituto Italiano di Tecnologia (iit), with additional funding from the European Union s Seventh Framework Programme for research, technological development and demonstration under grant agreement no 61116 as part of the ECHORD++ (The European Coordination Hub for Open Robotics Development) project under the experiment called HyQ-REAL. References 1. S. Schaal, The SL simulation and real-time control software package, tech. rep., CLMC lab, University of Southern California (Jan 29). 2. N. Koenig and A. Howard, Design and use paradigms for gazebo, an opensource multi-robot simulator, in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Sept 24. 3. C. Pepper, S. Balakirsky and C. Scrapper, Robot simulation physics validation, in Workshop on Performance Metrics for Intelligent Systems, PerMIS 7 (ACM, New York, NY, USA, 27). 4. S. Carpin, T. Stoyanov, Y. Nevatia, M. Lewis and J. Wang, Quantitative assessments of usarsim accuracy, in Performance Metrics for Intelligent Systems (PerMIS), 26.. K. Melo, J. Leon, J. Monsalve, V. Fernandez and D. Gonzalez, Simulation and control integrated framework for modular snake robots locomotion research, in IEEE/SICE International Symposium on System Integration (SII), 212. 6. C. Semini, V. Barasuol, J. Goldsmith, M. Frigerio, M. Focchi, Y. Gao and D. G. Caldwell, Design of the hydraulically-actuated, torque-controlled quadruped robot HyQ2Max, IEEE/ASME Trans. on Mechatronics 216. 7. M. Frigerio, V. Barasuol, M. Focchi and C. Semini, Validation of computer simulations of the hyq robot (arxiv.org, 216). 8. C. Semini, N. G. Tsagarakis, E. Guglielmino, M. Focchi, F. Cannella and D. G. Caldwell, Design of HyQ - a hydraulically and electrically actuated quadruped robot IMechE Part I: Journal of Systems and Control Engineering 22, November 211. 9. T. Boaventura, C. Semini, J. Buchli, M. Frigerio, M. Focchi and D. G. Caldwell, Dynamic torque control of a hydraulic quadruped robot, in IEEE International Conference in Robotics and Automation, May 212. 1. C. Semini, V. Barasuol, T. Boaventura, M. Frigerio, M. Focchi, D. G. Caldwell and J. Buchli, Towards versatile legged robots through active impedance control The International Journal of Robotics Research (IJRR) 34, 21. 11. M. Frigerio, J. Buchli, D. G. Caldwell and C. Semini, RobCoGen: a code generator for efficient kinematics and dynamics of articulated robots, based on Domain Specific Languages Journal of Software Engineering for Robotics (JOSER) 7, July 216. 12. V. Barasuol, J. Buchli, C. Semini, M. Frigerio, E. R. D. Pieri and D. G. Caldwell, A reactive controller framework for quadrupedal locomotion on challenging terrain IEEE International Conference on Robotics and Automation (ICRA) May 213.