Emulation of an Animal Limb with Two Degrees of Freedom using HIL

Similar documents
Case Study: The Pelican Prototype Robot

Nonlinear PD Controllers with Gravity Compensation for Robot Manipulators

q 1 F m d p q 2 Figure 1: An automated crane with the relevant kinematic and dynamic definitions.

MODELLING AND SIMULATION OF AN INVERTED PENDULUM SYSTEM: COMPARISON BETWEEN EXPERIMENT AND CAD PHYSICAL MODEL

Design, realization and modeling of a two-wheeled mobile pendulum system

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

Introduction to centralized control

Exponential Controller for Robot Manipulators

Dynamics Modeling and Identification of the Amigobot Robot

Introduction to centralized control

Efficient Swing-up of the Acrobot Using Continuous Torque and Impulsive Braking

Matlab-Based Tools for Analysis and Control of Inverted Pendula Systems

Novel Reaction Force Control Design Based on Biarticular Driving System Using Intrinsic Viscoelasticity of Muscle

MEM04: Rotary Inverted Pendulum

HARDWARE-IN-THE-LOOP SIMULATION AND DIGITAL CONTROL OF DOUBLE INVERTED PENDULUM

Trigonometric Saturated Controller for Robot Manipulators

The dynamics of a Mobile Inverted Pendulum (MIP)

Design and Control of Compliant Humanoids. Alin Albu-Schäffer. DLR German Aerospace Center Institute of Robotics and Mechatronics

Dynamic Modeling and Simulation of an Underactuated System

for Articulated Robot Arms and Its Applications

A Benchmark Problem for Robust Control of a Multivariable Nonlinear Flexible Manipulator

Stable Limit Cycle Generation for Underactuated Mechanical Systems, Application: Inertia Wheel Inverted Pendulum

1-DOF Dynamic Pitching Robot that Independently Controls Velocity, Angular Velocity, and Direction of a Ball

Reference Spreading Hybrid Control Exploiting Dynamic Contact Transitions in Robotics Applications. Alessandro Saccon

The Acrobot and Cart-Pole

Gain Scheduling Control with Multi-loop PID for 2-DOF Arm Robot Trajectory Control

Fuzzy Based Robust Controller Design for Robotic Two-Link Manipulator

Rigid Manipulator Control

General procedure for formulation of robot dynamics STEP 1 STEP 3. Module 9 : Robot Dynamics & controls

Application of Neural Networks for Control of Inverted Pendulum

Control of the Inertia Wheel Pendulum by Bounded Torques

ENGG 5402 Course Project: Simulation of PUMA 560 Manipulator

q HYBRID CONTROL FOR BALANCE 0.5 Position: q (radian) q Time: t (seconds) q1 err (radian)

A passively safe cable driven upper limb rehabilitation exoskeleton

Adaptive Robust Tracking Control of Robot Manipulators in the Task-space under Uncertainties

Robust Control of Robot Manipulator by Model Based Disturbance Attenuation

Research Article On the Dynamics of the Furuta Pendulum

Introduction to Robotics

COMPLIANT CONTROL FOR PHYSICAL HUMAN-ROBOT INTERACTION

THE paper deals with the application of ILC-methods to

Dynamics. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Dynamics Semester 1, / 18

Research Article Extended and Unscented Kalman Filtering Applied to a Flexible-Joint Robot with Jerk Estimation

Dynamic Model of Space Robot Manipulator

A New Approach to Control of Robot

Adaptive fuzzy observer and robust controller for a 2-DOF robot arm

LQG/LTR CONTROLLER DESIGN FOR ROTARY INVERTED PENDULUM QUANSER REAL-TIME EXPERIMENT

Line following of a mobile robot

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

Dynamic Modeling and Simulation of a Rotational Inverted Pendulum

Coupled Drive Apparatus Modelling and Simulation

CONTROL OF THE NONHOLONOMIC INTEGRATOR

A Backstepping control strategy for constrained tendon driven robotic finger

MECHANISM DESIGN AND DYNAMIC FORMULATION FOR CART/SEESAW/PENDULUM SYSTEM

A Novel Spring Mechanism to Reduce Energy Consumption of Robotic Arms

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Lecture 14: Kinesthetic haptic devices: Higher degrees of freedom

Estimation-based Disturbance Rejection in Control for Limit Cycle Generation on Inertia wheel Inverted Pendulum Testbed

Modeling and Simulation of the Nonlinear Computed Torque Control in Simulink/MATLAB for an Industrial Robot

IROS 16 Workshop: The Mechatronics behind Force/Torque Controlled Robot Actuation Secrets & Challenges

Balancing of an Inverted Pendulum with a SCARA Robot

An experimental robot load identification method for industrial application

GAIN SCHEDULING CONTROL WITH MULTI-LOOP PID FOR 2- DOF ARM ROBOT TRAJECTORY CONTROL

A Sliding Mode Controller Using Neural Networks for Robot Manipulator

Inverted Pendulum. Objectives

CONTROL OF ROBOT CAMERA SYSTEM WITH ACTUATOR S DYNAMICS TO TRACK MOVING OBJECT

Robotics, Geometry and Control - A Preview

Design Artificial Nonlinear Controller Based on Computed Torque like Controller with Tunable Gain

Port-based Modeling and Control for Efficient Bipedal Walking Machines

Lecture Schedule Week Date Lecture (M: 2:05p-3:50, 50-N202)

Robust Global Swing-Up of the Pendubot via Hybrid Control

Lab 6d: Self-Erecting Inverted Pendulum (SEIP)

SRV02-Series Rotary Experiment # 7. Rotary Inverted Pendulum. Student Handout

Power-optimized Stiffness and Nonlinear Position Control of an Actuator with Variable Torsion Stiffness*

Double Pendulum Power Method for Extracting AC Power from a Mechanical Oscillator

Design and Comparison of Different Controllers to Stabilize a Rotary Inverted Pendulum

Robust Control of an Electronic Throttle System Via Switched Chattering Control: Benchmark Experiments

DYNAMICS OF SERIAL ROBOTIC MANIPULATORS

Modelling and Control of DWR 1.0 A Two Wheeled Mobile Robot

3- DOF Scara type Robot Manipulator using Mamdani Based Fuzzy Controller

THE FLOATING DUTCHMEN Three Dimensional Driven-Arm Inverted Pendulum

Modeling and Experimentation: Compound Pendulum

Rhythmic Robot Arm Control Using Oscillators

THE REACTION WHEEL PENDULUM

Experiments on Stabilization of the Hanging Equilibrium of a 3D Asymmetric Rigid Pendulum

(W: 12:05-1:50, 50-N202)

Passivity-based Control of Euler-Lagrange Systems

Intelligent Systems and Control Prof. Laxmidhar Behera Indian Institute of Technology, Kanpur

NONLINEAR FRICTION ESTIMATION FOR DIGITAL CONTROL OF DIRECT-DRIVE MANIPULATORS

Advanced Generalized Modeling of Classical Inverted Pendulum Systems

ADAPTIVE NEURAL NETWORK CONTROL OF MECHATRONICS OBJECTS

Embedded Control: Applications and Theory

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

KINETIC ENERGY SHAPING IN THE INVERTED PENDULUM

Position with Force Feedback Control of Manipulator Arm

COMPLIANT IMPACT GENERATOR FOR REQUIRED IMPACT AND CONTACT FORCE

Motion Planning of Discrete time Nonholonomic Systems with Difference Equation Constraints

Lecture «Robot Dynamics»: Dynamics 2

Lab 1: Dynamic Simulation Using Simulink and Matlab

Transcription:

Emulation of an Animal Limb with Two Degrees of Freedom using HIL Iván Bautista Gutiérrez, Fabián González Téllez, Dario Amaya H. Abstract The Bio-inspired robotic systems have been a focus of great interest in engineering given its versatility and efficiency in many applications, trying to emulate biological organisms that have demonstrated skills in risky environments and performing tasks that would be impossible to do by a human being. This document describes the model process of a simplified version of a animal leg with two degrees of freedom, with the objective of simulate this dynamic on a mechanical structure with the SimMechanics software. Keyword: Matlab, SimMechanics, pendulum, model. INTRODUCTION In the area of robotics and control are frequently found nonlinear systems, especially if it is taken as a reference an existing model in nature [1]. This is because rarely find a completely defined or controlled robot, because although the mechanism is anchored to the ground and has sufficient degrees of freedom to reach any point in space, in the real world always will have restrictions. Some restrictions such as a limited torque in its actuators or movement conditions that change when picking an object of greater dimensions and weight [2]. The implementation of HIL models for simulation of physical devices, is being widely exploited in industry, allowing work with approximate models to reality with the advantage that its cost is considerably lower; so is the prototyping [3]. What supposes an advantage when working with bio-inspired systems as these require several sensors and actuators, that have a significant cost and are in continuous changes by design decisions. In contrast to industrial manipulators robots, the mobile mechanisms provide greater freedom when faced with unknown environments. This implies developing systems with robust controls that can overcome the different situations, trying to emulate the behavior of living beings [4]. For this reason, the modeling process and simulation before the implementation are essential, because many times and especially as relates to mobile robots, control is performed for specific system behaviors. To reach a coherent model, the first is start with the basics, as is the behavior of a simple pendulum applied to the system, which is frequently used in this type of mechanisms even when working on complex robots [5]. Today the industry uses specialized research centers in HIL for prototyping and evaluation of projects in the robotics field, centers like DLR Robotics and MobileRobots Inc. These centers are specialized on use HIL techniques to provide solutions in mobile robotics and manipulators; optimizing the control tasks, power consumption and data analysis [6]. This work presents an introduction to the topic, followed by a section of methods and materials where the joint model is developed, continuing with the analysis of results of the operating graphics obtained, finally are presented the conclusions and future prospects. METHODS AND PROCEDURES A. Modeling The joint to model has two degrees of freedom anchored to a base, a simplified version of this is illustrated in Figure 1, a system known as double pendulum [7]. The Initial masses position m 1 and m 2 are defined according to the angles θ 1 and θ 2, that are represented as the vector q (Equation 1), this will serve for the energies analysis. q = [ θ 1 ] (1) θ 2 s 1 = sin(θ 1 ), s 2 = sin(θ 2 ), c 1 = cos(θ 1 ), c 2 = cos(θ 2 ), s 1+2 = sin(θ 1 + θ 2 ), c 1+2 = cos(θ 1 + θ 2 ) Figure 1. Simplified schematic of the double pendulum. (2) 13584

The positions and velocities for the masses are defined in equations 3-6. Being these a vector in a 2D plane, which will be sufficient to represent the behavior of the double pendulum. p 1 = l 1 [ s 1 c 1 ] (3) The equations (9) and (10) describe the behavior of the system, a matrix representation, based on the equations 11 and 12 will facilitate its implementation in an embedded system, to emulate this dynamic, under the concept of HIL. u = [ τ 1 τ 2 ] (11) p 2 = p 1 + l 2 [ s 1+2 c 1+2 ] (4) p 1 = l 1 q 1 [ c 1 s 1 ] (5) H(q)q + C(q, q )q + G(q) = B(q)u (12) Equation (12) shows the variables in state space that are extracted from the Lagrangian, the terms are represented by H as the inertial matrix, C contains the Coriolis forces, G is defined as the matrix of potential energies and B is filled with the control u. p 2 = p 1 + l 2 (q 1 + q 2 ) [ c 1+2 s 1+2 ] (6) With the above vector is possible to define the kinetic and potential energies, as shown in equations 7 and 8 H(q) = l 1 [ (m 1 + m 2 )l 1 2 + m 2 l 2 2 + 2m 2 l 1 l 2 c 2 m 2 l 2 2 + m 2 l 1 l 2 c 2 m 2 l 2 2 + m 2 l 1 l 2 c 2 m 2 l 2 2 ] (13) 0 m C(q, q ) = [ 2 l 1 l 2 (2q 1 + q 2 )s 2 ] (14) m 2 l 1 l 2 q 1 s 2 0 T = 1 2 m 1p 1 T p 1 + 1 2 m 2p 2 T p 2 T = 1 2 (m 1 + m 2 )l 1 2 q 1 2 + 1 2 m 2l 2 2 (q 1 + q 2 ) 2 + m 2 l 1 l 2 q 1 (q 1 + q 2 )c 2 U = m 1 g y 1 + m 2 g y 2 (7) U = (m 1 + m 2 )gl 1 c 1 m 2 gl 2 c 1+2 (8) Taking the partial derivatives of (7) and (8) with respect to the vector q, which represent the Lagrangian, the equations of motion (9, 10) are obtained. Where τ 1 and τ 2 represent a torque input, for this case will be unit value, because the control system has not yet defined. (m 1 + m 2 )l 2 1 q 1 + m 2 l 2 2 (q 1 + q 2) + m 2 l 1 l 2 (2q 1 + q 2)c 2 m 2 l 1 l 2 (2q 1 + q 2 )q 2 s 2 + (m 1 + m 2 )gl 1 s 1 + m 2 gl 2 s 1+2 = τ 1 m 2 l 2 2 (q 1 + q 2) + m 2 l 1 l 2 q 1 c 2 + m 2 l 1 l 2 q 1 2 s 2 + m 2 gl 2 s 1+2 = τ 2 (9) (10) G(q) = g [ (m 1 + m 2 )gl 1 s 1 + m 2 gl 2 s 1+2 m 2 gl 2 s 1+2 ] (15) B. Simulation B(q) = [ 1 0 0 1 ] (16) Once the dynamics of system behavior, we proceed to make a first simulation. The simulation was performed with the help of Drake library [8] for Matlab, This tool allows describe the system in the same manner of the equation 12 and run a quick simulation for the developed manipulator. Tables 1 and 2 contain the values with which the system simulation was performed, the biggest difference is the friction constant, this value will allow the stabilization of the system at the angle 0 for both cases without control loop. Parameter m 1 m 2 l 1 l 2 Table 1. Frictionless Value b 1 0 b 2 0 g 9.8m/s 2 13585

Table 2. With high friction Parameter m 1 m 2 l 1 l 2 Value b 1 8 b 2 8 g 9.8m/s 2 In Figure 2 the behavior of the system is illustrated, with initial a value of 0.7 rad for θ 1 and θ 2, responding only to gravity, in a time of 10 seconds. Figure 3. System behavior with high friction. The control loop is closed as observed in Figure 4. Where K corresponds to Kp and Kd constants of the equation 17 and 18. Figure 4. Control Loop in state space. Public domain image taken from Wikipedia.org Figure 2. System behavior versus gravity. Since are expected in an actual implementation, motors with a high coefficient of friction when not powered, an analysis with the table 2 parameters was performed. It demonstrated that the system behavior is slower but stabilizes at 0 degrees by action of gravity, as shown in Figure 3. K p = [ 108.22 0 ] (17) 0 82.3 K d = [ 6.89 0 ] 0 10 (18) C. PD Control The system developed has an actuator for each degree of freedom, for the above is possible to perform a proportionaldifferential control for the angle. If the system only had one actuator or was not anchored to the ground it would be different. For these closest cases to biological models are required more complex control techniques [1]. The control result is illustrated in Figure 5. For the simulation was specified to an angle 0 the set point for mass 1, while the mass 2 is moved according to the function sin (t / 2). D. Mechanical Structure The manipulator design was performed in SolidWorks that allows export the assemblies to Matlab using the SimMechanics extension. This was done in order to observe the behavior of the system in a more realistic environment and for 13586

future work can be use it as an interface that allow testing and visualization of control systems designed. Figure 7. Mechanical structure to simulate. Figure 5. Response PD control The SimMechanics tool generates a diagram file compatible with Simulink blocks in this way can be used all the tools of Matlab package on the mechanical structure. The resulting blocks can be seen in the figure 6. It is expected that the model obtained will be useful in the design of controllers for any robotics joint or bio-inspired systems that emulate animal movements. In Figure 8 are observed the system behavior emulated signals response, Up θ 2 and down θ 1. It is possible compare these signals with the simulation result of Figure 3, which represents the response of the system in open loop. Figure 6. SimMechanics model RESULTS Through simulation, it is evident that the model obtained is consistent with real systems and is observed as friction affects the system bringing it to a point of reference. The model is shown in figure 7. Figure 8. Signals result of emulation on pcduino and Teensy 3.1 For the response is implemented a PWM module in the embedded card, with a scale of 0 to 3.3V CONCLUSIONS In robotic the behavior of simple pendulum is used to develop many systems, as manipulators or steps robots. Understanding this model, is possible to make close approaches to more complex systems as the pendulum, that are characterized by nonlinearity. 13587

Depending on the complexity of the model and the simulation time, it may be necessary to use external libraries that allow calculations more efficiently, MatLab is a tool that is known for being versatile to do calculations and implementations of algorithms optimization using specialized extensions. REFERENCES. [1] S.-H. a. T. M. Hyon, «Development of a biologically inspired hopping robot-' Kenken'.,» de IEEE International Conference on. Vol. 4., ICRA'02, 2002. [2] E. e. a. Zergeroglu, «Adaptive set point control of robotic manipulators with amplitude limited control inputs.,» Robotica, vol. 18, nº 2, pp. 171-181, 2000. [3] A. White, «Hardware- in-the-loop Simulation of Robust Gain-Scheduling Control of Port-Fuel-Injection Processes,» IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, vol. 19, nº 6, 2011. [4] M. W. T. B. Hasslacher, Living Machines, Workshop on Bio-Mechatronics, 1996. [5] M. W. Spong, «Underactuated mechanical systems.,» de Control Problems in Robotics and Automation., Berlin- Heidelberg, Springer, 1998, pp. 135-150. [6] DLR Robotics and Mechatronics Center, Germany, «Rapid Control Prototyping in a HiL-Optimization Environment,» 2013. [En línea]. Available: http://www.dlr.de/rm/en/desktopdefault.aspx/tabid- 3798/6002_read-8852/. [Último acceso: 22 10 2014]. [7] S. J. Liao, «A second-order approximate analytical solution of a simple pendulum by the process analysis method.,» Journal of Applied Mechanics, vol. 59, nº 4, pp. 970-975, 1992. [8] R. Tedrake., «Drake: A planning, control, and analysis toolbox for nonlinear dynamical systems,» 2014. [En línea]. Available: http://drake.mit.edu. [Último acceso: 22 10 2014]. [9] K. Ogata, Ingenierìa de Control Moderna, Madrid: Pearson Eduaciòn, S.A., 203. 13588