Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Control.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

Lecture 20 Dimitar Stefanov. Microprocessor control of Powered Wheelchairs Flexible control; speed synchronization of both driving wheels, flexible control.
Outline quad-copter Abstract Quad-Copter Movement Hand movement
Motion Control for Packaging Machines Vibration analysis through motion control-motor-load interaction.
Autonomous Helicopter: James Lyden Harris Okazaki EE 496 A project to create a system that would allow a remote- controlled helicopter to fly without user.
Benjamin Stephens Carnegie Mellon University 9 th IEEE-RAS International Conference on Humanoid Robots December 8, 2009 Modeling and Control of Periodic.
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
Electric Drives FEEDBACK LINEARIZED CONTROL Vector control was invented to produce separate flux and torque control as it is implicitely possible.
Unit 4 Sensors and Actuators
Tony Yi 5/2/2015 CENG4480 TUTORIAL 3. ABOUT ME I am “the other” tutor of CENG4480 You can find me at Rm116 in SHB
L.
Living with the Lab Using servos with an Arduino EAS 199A Fall 2011.
1 DIFFERENTIAL POLARIZATION DELAY LINE Controller FINAL REPORT D0215 Supervisor : Mony Orbach Performed by: Maria Terushkin Guy Ovadia Technion – Israel.
SMART 2004 A NEW CONTROL SYSTEM FOR FAST MOTION CONTROL OF SMA ACTUATOR WIRES Yee Harn Teh and Roy Featherstone Department of Information Engineering,
Transient and steady state response (cont.)
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
Codey Lozier Christian Thompson Advisor: Dr. Mohammad Saadeh
Pulse Width Modulation (PWM) LED Dimmer Circuit
Unit 3a Industrial Control Systems
L.C. Technology Servo Motor Control / Genie Software
Introduction to Robotics Principles of Robotics. What is a robot? The word robot comes from the Czech word for forced labor, or serf. It was introduced.
Applied Control Systems Robotics & Robotic Control
Definition of an Industrial Robot
Sensing self motion Key points: Why robots need self-sensing Sensors for proprioception in biological systems in robot systems Position sensing Velocity.
Ch. 6 Single Variable Control
Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Parameter.
System & Control Control theory is an interdisciplinary branch of engineering and mathematics, that deals with the behavior of dynamical systems. The desired.
Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie Kosec Dr. Sastry Balance Bot DT04 Stephan Baranoff Nicole Beck Chris Hamrock Stephanie.
Autonomous Helicopter James LydenHarris Okazaki EE 496.
Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Sensors.
Sérgio Ronaldo Barros dos Santos (ITA-Brazil)
Disturbance Rejection: Final Presentation Group 2: Nick Fronzo Phil Gaudet Sean Senical Justin Turnier.
Electronic transmissions Main controls Shift timing is computer controlled Line pressure is computer controlled which controls shift feel Computer can.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
KDC Arm Project John Kua Kathryn Rivard Benjamin Stephens Katie Strausser.
Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Simulation.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Visual Tracking on an Autonomous Self-contained Humanoid Robot Mauro Rodrigues, Filipe Silva, Vítor Santos University of Aveiro CLAWAR 2008 Eleventh International.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
ZMP-BASED LOCOMOTION Robotics Course Lesson 22.
Servos The material presented is taken from a variety of sources including:
Benjamin Stephens Carnegie Mellon University Monday June 29, 2009 The Linear Biped Model and Application to Humanoid Estimation and Control.
Feedback Control system
Control Theory Control System Objectives  Establish a final condition  Provide safe operation  Eliminate the human element  Assure economical operation.
PID CONTROLLERS By Harshal Inamdar.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
Embedded Control Systems Dr. Bonnie Heck School of ECE Georgia Tech.
Amphibious Spherical Explorer Kaiwen Chen, Zhong Tan, Junhao Su ECE 445 Spring 2016, Project 30 TA: Luke Wendt May 1, 2016.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
Autonomous Quadcopter Andrew Martin, Baobao Lu, Cindy Xin Ting Group 37 TA: Katherine O'Kane.
Sensors and Transducers Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Engineering Solutions to Build an Inexpensive Humanoid Robot Based on a Distributed Control Architecture Vítor M.F. Santos 1 and Filipe M.T. Silva 2 1.
Intelligent Control Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Introduction to Motors, servos and steppers
P15201: TIGERBOT V Mechanical Design: Electrical Design:
Vítor M. F. Santos1 Filipe M. T. Silva2
Servo Systems Servo is mechanism based on feedback control.
Group members MUHAMAAD DANISH 2015MC05 USMAN ALI JAT 2015MC14 MUREED SULTAN 2015MC18 AZAN ASHRAF 2015MC19 AYMEN.
Control Systems EE 4314 Lecture 12 March 17, 2015
DC MOTOR SPEED CONTROL 1. Introduction
Servo Systems Servo is mechanism based on feedback control.
Vítor M. F. Santos1 Filipe M. T. Silva2
Visual Tracking on an Autonomous Self-contained Humanoid Robot
Introduction to Motors
UNIT 11: RC-SERVOMOTOR CONTROL
Introduction to Motor Drives
Presentation transcript:

Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics  TEMA  IEETA  Control Algorithms Development for Locomotion of a Humanoid Robot Milton Ruas 1 Filipe M. T. Silva 1 Vítor M. F. Santos 2 1 Department of Electronics and Telecommunications 2 Department of Mechanical Engineering University of Aveiro, PORTUGAL

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Overview  Introduction  Humanoid Platform: Overview  Actuation Element: the Servomotor  Experimental Setup  Speed Control  Open and Closed Loop Performance  Torque Measurement  Algorithms Application on the Humanoid  Balance Control  Conclusions and Open Issues

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Introduction  Project ’s Motivation  Develop a humanoid platform for research on control, navigation and perception  Offer opportunities for under & pos-graduate students to apply engineering methods and techniques  The utopia of Man to develop an artificial being with some of its own capabilities…  Objectives  Describe how an external microprocessor can read the shaft position and current consumption of RC servomotors  Improve servo’s performance towards a control system that provides variable velocity and compensates for load variations  Implement an example of local control based on force sensors present in both feet

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Humanoid Platform  Complete humanoid model  22 degrees of freedom  Weight - 5 kg  Height - 60 cm  Max. width - 25 cm  Foot print - 20  8 (cm 2 )  Actuation  Servomotors with transmission belts  Sensors  Servos’ internal potentiometers  Sensitive foot  Accelerometers  Gyroscopes

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Control System Architecture  Distributed control system  A network of controllers connected by a CAN bus  Master/multi-slave arrangement: 8 slave units for joints actuation and sensors reading 1 master unit for interface between main unit and slaves  Asynchronous communications  Between master and slaves: CAN bus at Kbit/s  Between master and high level controller: currently serial RS232 at baud Main Control RS232 Master CAN BUS Slaves

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Local Control  Each slave controller is made of a PIC 18F258 device with I/O interfacing  All slave units:  Connect up to 3 servomotors  Have a common base (a piggy- back unit can add I/O sensors)

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics The Servomotor  PWM:  Period: 20ms (50 Hz)  Duty cycle: 1-2 ms  Why servomotors?  Small and compact  Relatively inexpensive  Position control included  Servomotor parts:  DC motor  Gearbox  Controlling electronics  Position feedback mechanism  Characteristics  Motion excursion: 180º  Position control: digital signal, PWM  Some constraints:  Doesn’t offer velocity control  Doesn’t consider the external load

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Experimental Setup  Main goals  To study the servomotor’s performance with high loads and/or velocities  Improve the system’s behaviour by software compensation  Only one physical intervention:  Connection of an extra output wire to the servo internal potentiometer

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Servo’s Parameters Measurement  Potentiometer outputs shaft position (feedback signal)  Different voltage “grounds” for external measurement and internal controller can produce measuring fluctuations  For high loads/fast motions a pulse above the position voltage is added:  Fixed amplitude  Synchronized to PWM  Pulse width related with current consumption!  Position and current measured from the same output:  Position: minimal value  Current: pulse width  For high current draining, position reading can be inhibited! Pulse width proportional to torque/current τ g = Ka.I = m.g.L.cos(Θ)

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Programming Issues  Each slave unit controls up to 3 servos.  Actuation:  Each servo has associated to it a variable to store its PWM width  μC Timer2 interrupts compares a counter to each variable to apply PWM fall-down  Sensing  Timer0 interrupts used to measure feedback data  Servo output sensing is multiplexed in time (120μs *3).

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Velocity Control  Application of a position step  Servo drives to the commanded position at maximum speed  User cannot directly control velocity!  How to control velocity with only position control?  Trajectory planning!  Slope input  Application of successive “small” step  Amplitude and time delay of each step defines the average speed  Existence of speed discontinuities!  3ª order polynomial  x(t)=a 0 +a 1 t+a 2 t 2 +a 3 t 3  Total period defines speed  Null initial and final speed  Finite initial and final acceleration

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Open Loop Performance  Step response: -45º → +45º  Steady state error varies with the load (around 8 degrees for 1129g)  Response delay varies with the load  Servo executes a fast and continuous motion to the final position  Unstable position readings with the maximum load!  Ramp response: Δt=100ms Δx=5º T=1.8s  Steady state error still present  Transient response improved  Static analysis  Steady state error depends of gravitational terms

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Low-Level Control  Objectives  Eliminate steady state error  Reduce response time lag  … using software solutions  An external controller is implemented using:  Servo’s own potentiometer for feedback  Incremental algorithm of a digital PID controller

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Integral Control  Ramp:  -45º → +45º  Δt=100ms, Δx=5º, T=1.8s  Open loop vs. closed loop (K I =0.2)  Steady state error eliminated  Time lag reduced  Ramp:  -90º → +50º  Δt=40ms, Δx=5º, T=1.12s  K I =0.06 vs. K I =0.10 (K P =0.04)  Time delay reduced  Overshoot arises

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics PID Control  Ramp response  -90º → +50º  Δt=40ms, Δx=5º, T=1.12s  K P =0.04 VS K P =0.30 (K I =0.10)  Overshoot eliminated  No interference with time delay  Polynomial response (T=1s): Increasing K P …  Overshoot is reduced  Time delay diminishes  Establishment time increases  Adding Derivative component:  Transient state smoothed  Overshoot and time delay remains unchanged  Sensitive to noise

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics P+I+D Terms  Integrator term  Eliminates steady state error  Improves time lag  Deteriorates overshoot  Proportional term  Reduces overshoot  Improves time delay  Deteriorates establishment time  Derivative term  Smoothes transient response  Very sensitive to noise

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Servo’s Torque Measurement  For a Humanoid platform, the load seen by each actuator can vary rapidly and substantially  For each task it is required to apply an adequate set of control parameters to ensure good performance  Two approaches can be followed:  Parameters determination and manual application from the main unit for each task  Local parameter automatic adaptation, through torque analysis  Torque estimation can be done from current measurement (τ=K*I)

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Humanoid Locomotion  The robot is able to stand, lean on sides, for/backward

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Humanoid Locomotion  Load weight: 2.1Kg

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Humanoid Locomotion  Flexion movement Foot roll joint Knee joint Hip joint

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Humanoid Locomotion  Lateral movement Foot tilt joint

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Balance Control  Our goal is to balance Humanoid’s body using Force sensors  Force sensors on each foot are used to…  measure ground reaction forces  calculate the location of the Center of Pressure (CoP)  4 Extensometers used as force sensors! Sensor’s output Amplifier Sensor’s output Amplifier

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Balance Control  Control Law: Δq = K·J T ·e  Δq: velocity to apply to the leg joints  K: constant  J T : transposed Jacobian of the CoP For lower velocities CoP≈CoM  e is the error between the desired and the actual CoP  Velocity application:  pos(n)=pos(n-1)+Δq Sensor 1 Sensor 2 Sensor 3 Sensor 4 y x Foot

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Balance Control Application  Pression on each force sensor

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Balance Control Application  Changing support plane sloping

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Plane Sloping Change  Balance through the yy axis

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Balance Control Application  Introducing perturbations

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Conclusions  Procedures were presented to measure servos’ position and torque with a servomotor…  without velocity control  whose speed and steady-state error is dependent of motor load  Methods were described on how…  to introduce velocity control through trajectory planning  to correct time lag and steady-state error through an external controller using position reading as feedback  …all this without hardware interventions!  Nevertheless, controller needs to be updated to maintain efficiency:  To build an adaptive PID controller whose parameters are based on torque estimation is the next objective to pursue  A special case of local control was presented:  Leg’s balance was implemented with very reactive responses!

UNIVERSITY OF AVEIRO, PORTUGAL Centre for Mechanical Technology and Automation Institute of Electronics Engineering and Telematics Future Perspectives  Use torque estimation to compensate inertial variations on the joints;  Improve materials quality used to sense the reaction forces for the balance control;  Combine position/velocity control with balance control;  Substitute the main controller unit (PC) with an embedded motherboard based on a PC104, nano-ITX or similar;  Participate in the next edition of Robocup in 2007 – Humanoid League!