WHAT A SINGLE JOINT IS MADE OF RA

Similar documents
RobotDoc B A S I C M O T O R C O N T R O L

FEEDBACK CONTROL SYSTEMS

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

6) Motors and Encoders

Automatic Control Systems. -Lecture Note 15-

Prof. S.K. Saha. Sensors 1. Lecture 5 June 11, Prof. S.K. Saha. Purpose Classification Internal Sensors. External Sensors.

INC 341 Feedback Control Systems: Lecture 3 Transfer Function of Dynamic Systems II

PRECISION CONTROL OF LINEAR MOTOR DRIVEN HIGH-SPEED/ACCELERATION ELECTRO-MECHANICAL SYSTEMS. Bin Yao

Overview of motors and motion control

Positioning Servo Design Example

Feedback Control Systems

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

Motion Control. Laboratory assignment. Case study. Lectures. compliance, backlash and nonlinear friction. control strategies to improve performance

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

MECHATRONICS ENGINEERING TECHNOLOGY. Modeling a Servo Motor System

DC Motor Position: System Modeling

CITY UNIVERSITY SCHOOL OF ENGINEERING AND MATHEMATICAL SCIENCES

Introduction to Control (034040) lecture no. 2

Module I Module I: traditional test instrumentation and acquisition systems. Prof. Ramat, Stefano

E11 Lecture 13: Motors. Professor Lape Fall 2010

MATHEMATICAL MODELING OF OPEN LOOP PMDC MOTOR USING MATLAB/SIMULINK

Mechatronics Engineering. Li Wen

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Equal Pitch and Unequal Pitch:

Rigid Manipulator Control

ROBUST FRICTION COMPENSATOR FOR HARMONIC DRIVE TRANSMISSION

(a) Torsional spring-mass system. (b) Spring element.

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics

LO-COG DC Gearmotors. Series GM8000. Series GM9000. Series GM BULLETIN LCG Series GM8000, GM9000, GM Power Your Ideas

Department of Mechanical Engineering

Two-Mass, Three-Spring Dynamic System Investigation Case Study

Lezione 9 30 March. Scribes: Arianna Marangon, Matteo Vitturi, Riccardo Prota

Example: DC Motor Speed Modeling

Lab 3: Quanser Hardware and Proportional Control

School of Mechanical Engineering Purdue University. ME375 ElectroMechanical - 1

Manufacturing Equipment Control

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

Robot Manipulator Control. Hesheng Wang Dept. of Automation

Transducers. EEE355 Industrial Electronics

Hybrid modelling and simulation of a computer numerical control machine tool feed drive

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

Rotary Motion Servo Plant: SRV02. Rotary Experiment #01: Modeling. SRV02 Modeling using QuaRC. Student Manual

Mechatronics Modeling and Analysis of Dynamic Systems Case-Study Exercise

Technical Description

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

ENGG4420 LECTURE 7. CHAPTER 1 BY RADU MURESAN Page 1. September :29 PM

ME 3210 Mechatronics II Laboratory Lab 4: DC Motor Characteristics

EE 410/510: Electromechanical Systems Chapter 4

A FORCE BALANCE TECHNIQUE FOR MEASUREMENT OF YOUNG'S MODULUS. 1 Introduction

(Refer Slide Time: 00:01:30 min)

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

SC125MS. Data Sheet and Instruction Manual. ! Warning! Salem Controls Inc. Stepper Motor Driver. Last Updated 12/14/2004

MAE106 Homework 2 - Solution DC Motors & Intro to the frequency domain

State Feedback Controller for Position Control of a Flexible Link

2002 Prentice Hall, Inc. Gene F. Franklin, J. David Powell, Abbas Emami-Naeini Feedback Control of Dynamic Systems, 4e

EE155/255 Green Electronics

MEAM 510 Fall 2011 Bruce D. Kothmann

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

Lecture 6: Control Problems and Solutions. CS 344R: Robotics Benjamin Kuipers

3. (a) Figure 3(a) shows a Bridge T network used in control systems. The element values are clearly marked in the figure.

MODELING AND HIGH-PERFORMANCE CONTROL OF ELECTRIC MACHINES

Survey of Methods of Combining Velocity Profiles with Position control

Stepping Motors. Chapter 11 L E L F L D

By: B. Fahimi. Department of Electrical & Computer Engineering University of Missouri-Rolla Tel: (573) Fax: (573) EML:

Belt Tension Clamp. Drive Motor. Friction Brake. Load. Encoder 2. Drive. (4000 lines/rev incremental) Encoder 1. (4000 lines/rev incremental)

Measurements in Mechatronic design. Transducers

10 Measurement of Acceleration, Vibration and Shock Transducers

MEAM 510 Fall 2012 Bruce D. Kothmann

Trajectory Planning, Setpoint Generation and Feedforward for Motion Systems

Index. Index. More information. in this web service Cambridge University Press

Rotational Systems, Gears, and DC Servo Motors

Single cam type. Double cam type. Grip force N. Type Model/size Stroke Screw type straight style. Screw type tee style

3 Lab 3: DC Motor Transfer Function Estimation by Explicit Measurement

MCE493/593 and EEC492/592 Prosthesis Design and Control

Selection of precision micro drives

Selection of precision micro drives

E D D Y C U R R E N T D A M P E R A P P L I C AT I O N D ATA

Video 5.1 Vijay Kumar and Ani Hsieh

INSTRUMENTAL ENGINEERING

Control of a Ball and Beam System

Balancing of an Inverted Pendulum with a SCARA Robot

Predictive Cascade Control of DC Motor

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

Mechatronics II Laboratory EXPERIMENT #1: FORCE AND TORQUE SENSORS DC Motor Characteristics Dynamometer, Part I

EE155/255 Green Electronics

RV SeRieS S P E C I F I C A T I O N S

Speed Sensorless Control of a Long-Stator Linear Synchronous-Motor arranged by Multiple Sections

Motor Info on the WWW Motorola Motors DC motor» /MOTORDCTUT.

System Components. Electric Motors.

e453.eps 1 Change (or the absolute value) in the measured physical variable 2 Change in the sensor property is translated into low-power-level

Integration of an Active Brake Pedal Simulator in the CarMaker Environment for Design and Evaluation of Haptic Driver Assistance Systems

Lab 6a: Pole Placement for the Inverted Pendulum

MCE380: Measurements and Instrumentation Lab. Chapter 5: Electromechanical Transducers

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Rotary Inverted Pendulum

DSC HW 3: Assigned 6/25/11, Due 7/2/12 Page 1

Friction. Modeling, Identification, & Analysis

Product Description. Further highlights. Outstanding features. 4 Bosch Rexroth Corporation Miniature Linear Modules R310A 2418 (2009.

MM74C912 6-Digit BCD Display Controller/Driver

Transcription:

Anthropomorphic robotics WHAT A SINGLE JOINT IS MADE OF

Notation d F ( mv) mx Since links are physical objects with mass dt J J f i i J = moment of inertia F r F r

Moment of inertia Around an axis m3 m1 m2 i1 J N mr 2 i i density J volume 2 rdv

Parallel axis theorem J J Mr 2 c Through the center of gravity

Example y x z J 0 x Mass M, M l y l /2 2 2 2 1 3 l /2 Ml J rdv xdx x l /2 3 l /2 12 Ml l l J M M 12 4 3 2 2 2 yl/2

Sum of J y c x c z a x a b L M J x a b 12 M 2 2 Jy ( a c ) 12 M 2 2 Jz ( b c ) 12 2 2 ( b ) M a J top x ( a c ) M top ( L ) 12 2 e.g. top 2 2 2 J hand x J top x J side x J bottom x

Experimental estimation of J object torsional spring Use a photodiode and a computer to measure the frequency Requires calibration from known J f 1 2 K J

Experimental estimation of J object h center of gravity f 1 2 Mgh J

Work and power E const if Fext 0 W K s2 2 Fds W E, E energy 1 2 s1 P mv 2 kinetic energy dw Power P dt Fv

Rotational case E const if ext 0 W K 2 d W E, E energy 1 1 2 J 2 P kinetic energy dw Power P dt

Single joint model end-point link/load motor reduction gears

Motor Let s imagine for now that it is something that generates a given torque

Mechanical transmission Gears Belts Lead screws Cables Cams etc.

Gears 1 2 N1 N2 Distance traveled is the same: r1 1 r2 2 Because the size of teeth is the same: N1 N2 r r 1 2

Furthermore r r 1 1 2 2 N r N r 1 2 1 2 No loss of energy 1 1 2 2

Combining N1 r1 2 1 2 2 N r 2 2 1 2 1 1 # of teeth Inverse relationship between speed and torque output input 2 1 N 2 N 1 TR N 1 N2 mechanical parameter

Equivalent J N J J N N N 1 1 1 1 1 2 2 2 2 2 2 N N J J J 2 1 1 1 2 2 N N 1 2 2 J TR J 2 1 2 J as seen from the motor

In reality 1 2 1 TR Where is the efficiency of the mechanism (from 0 to 1) is related to power, speed ratio doesn t change is also the ratio of input power vs. power at the output t

For example input 20% 30 1 1 output

Example

Motion conversion Start with N 2 2 1 N 1 Design TR, more torque (usually) TR 1 N N 2 1 J J 1 2 2 1

Viscous friction Easy: viscous B 2 2 eq _ viscous TR viscous TR B 22 2 2 Beq 1 TR B2 2 Beq TR B2 Coulomb friction: eq TR F sgn( ) c 2

Lead screw Rotary to linear motion conversion (P=pitch in #of turns/mm or inches) x mass/load motor [ rad] 2 Px 2 Px E E 1 1 M v J 2 2 M J load 2 (2 P) 2 2 rot lin load

Harmonic drives From the harmonic drive website http://www.harmonicdrive.deharmonicdrive de

Gearhead (for real) Standard (serial) Planetary

Example Designing i the single joint Given: J J J TR 2 max eq max eq max load max Then taking into account some more realistic components: max J load TR 2 max

Example (continued) max J load TR 2 max P given max max get P motor power, from catalog This guarantees that the motor can still deliver maximum torque at maximum speed

More on real world components Efficiency Eccentricity Backlash Vibrations To get better results during design mechanical systems can be simulated

Control of a single joint microprocessor actuator mechanics sensor reference amplifier

Components Digital microprocessor: Microcontroller, processor + special interfaces Amplifier (drives the motor) Turns control signals into power signals Actuator E.g. electric motor Mechanics/load The robot! Sensors For intelligence

Actuators Various types: AC, DC, stepper, etc. DC Brushless With brushes We ll have a look at the DC with brushes, simple to control, widely used in robotics

DC-brushless

DC with brushes

Modeling the DC motor Speed-torque and torque-current t relationships are linear

In particular No-load speed current-torquetorque speed-torque stall torque

Real numbers! http://www.minimotor.ch

Electrical diagram Ra La V E arm R g l + E g () t K E

Meaning of components R a V arm R l E g L a Armature resistance (including brushes) Armature voltage Losses due to magnetic field Back EMF produced by the rotation of the armature in the field Coil inductance

We can write V R I L I () t K arm a a a a E for R R l a which is the case at the frequency of interest, and we also have KI T a

On torque and current F il B F qv B lorentz

Thus for many coils

Back to motor modeling ( J J ) () t B () t M L f gr J M J J L f gr Torque generated Inertia of the motor Inertia of the load Friction Gravity

Furthermore V R I L I () t K arm a a a a E K I ( J J ) () t B () t T M L f gr a

Consequently R a K E Varm I L L a a La Ia a K T B f gr J M J L J M J L JM JL A linear system of two equations (differential) Q: can you write a transfer function from these equations? Q: can you transform the equations into a block diagram?

By Laplace-transforming Varm() s () s KE Varm() s Ra Ia () s La Ia () s s() s KE Ia () s R L s K I Varm() s () s KE K ( J J ) () s sb() s R L s T T M L f gr a a a a a

and finally () s KT La JT 2 V () s s [( R J L B) L J ] s( K K R B) L J arm a T a a T T E a a T Considering gravity and friction as additional inputs

Block diagram f gr V arm - R a I - 1 a 1 K sl T B sj T a K E

Analysis tools Control: determine V Va so to move the motor as desired Root locus Pole placement Frequency response Etc.

First block diagram * - A V Km (1 s ) (1 s ) a m 1 s ˆ K p A K K m p Hopen _ loop 1 s 1 s s a m

Root locus A K K m p open _ loop m p 1sa 1sm s H K AK K j 1 a 1 m

Changing K small K t higher K t

Let s add something, second diagram * - - A V Km (1 s ) (1 s ) a m 1 s ˆ K g K p H open _ loop AK ( K sk ) m p g (1 s )(1 s ) s a m

Analysis H open _ loop AK K m p K g (1 s ) K (1 s )(1 s ) s a m p K AKm Kp Z feedback K g K p

Root locus (case 1) j 1 1 a m K K p g K p K g 1 m

Root locus (case 2) j 1 K p 1 K a g m K p K g 1 m

Overall f gr * A Varm 1 a I - 1 1 1s a - R a sl a K T BsJ T s K E K g K p

Error and performance d M () s s KT ( R sl )( B sj ) K K a a T E T closed loop (position) 1 () s () s s 1 () s () s s 1 1 ( s) K p s () s A M () s 1 s a A 1 M ( s ) K 1 s a closed loop (velocity) g

finally lim sh () s lim ht () s0 t 1 d s () s d lim s ( s) lim s s s0 s s0 1 1 ( sk ) p s d K p For zero error K must be 1 or the control structure must be different

Same line of reasoning final gr Ra AK K T p Final value due to friction and gravity R K R gr a gr a max p T p AKTmax AK K K p min gr R AK T a max

PID controller * - K p sk d K i s V arm - R a 1 sl a f gr Ia 1 K T BsJ T K E - 1 s

PID controller We now know why we need the proportionalp We also know why we need the derivative Finally, we add the integral Integrates the error, in practice needs to be limited

Interpreting the PID Proportional: to go where required, linked to the steady-state error Derivative: damping Integral: to reduce the steady-state error

Global view microprocessor actuator mechanics sensor reference amplifier OK OK

About the amplifiers Linear amplifiers H type T type PWM (switching) amplifiers

Let s consider the linear as a starting point V cc

H-type The motor doesn t have a reference to ground (floating) It s difficult to get feedback signals (e.g. to measure the current flowing through the motor)

T-type V cc V cc

On the T-type Bipolar DC supply Dead band (around zero) Need to avoid simultaneous conduction (short circuit)

Things not shown Transistor protection (currents flowing back from the motor) Power dissipation and heat sink Cooling Sudden stop due to obstacles High currents current limits and timeouts

T-type V cc I c R transisor Vcc R motor V cc

PWM amplifiers P V I ce c same current

PWM signal P V I ce c Transistors either on or off When off, current is very low, little power too When on, V is low, working point close to (or in) saturation, power dissipation is low

Comparison 12W for a 6A current using a switching amplifier 72W for a corresponding linear amplifier

Why does it work? () s KT LaJT 2 V () s s [( R J L B) L J ] s( K K R B) L J arm a T a a T T E a a T In practice the motor transfer function is a lowpass filter T s with f s f e ( f s 100 f e ) Switching frequency must be high enough (s=switching switching, e=electric electric pole)

PWM signal V cc T s V cc T s T switching

Feedback in servo amplifiers V cc - V in + VV cc Voltage feedback amplifier

Operating characteristic Vout RL R1 AV in RL R 2 R R 2 1 I L

We ve already seen this V I V in A arm 1 s R sl 1 a - a a Ia 1 K T BsJ T K E () s K L J A V s s R J L B L J s K K R B L J s T a T v 2 in () [( a T a ) a T ] ( T E a ) a T (1 a)

Current feedback - V in + V out

Current feedback V out R R L 1 RL R 2 AV in R R 2 1 I L

Motor driven by a current amplifier V in A 1s a Ia 1 K T BsJ T () s KTAi V () s ( sj B)(1 s ) in T a

Back to the global view microprocessor actuator mechanics sensor reference amplifier OK OK OK

Sensors Potentiometers Encoders Tachometers Inertial sensors Strain gauges g Hall-effect sensors and many more

Potentiometer - r thin resistive film V out r V R cc V cc V out + Simple but noisy Requires A/D conversion Absolute position (good!)

Note TR turns Encoder Motor Gearbox N 1 2 1 TR N 2 1 2 N 2 (most of the time) N N 2 1 2 1 1 N N 1 2 1 2 N 1 turn The resolution of the sensor multiplied by TR

Encoder Absolute Incremental

Absolute encoder phototransistors LEDs transparent motor x x x x x x x x x x x x motor shaft 13 bits required for 0.044 degrees opaque

Incremental encoder Disk single track instead of multiple No absolute position Usually an index marks the beginning gof a turn

Incremental encoder output TTL t t Sensitive to the amount of light collected The direction of motion is not measured

Two-channel encoder 2 channels 90 degrees apart (quadrature signals) allow measuring the direction of motion A B t t

Moreover There are differential encoders Taking the difference of two sensors 180 degrees apart Typically A, B, Index channel A, B, Index (differential) A counter is used to compute the position from an incremental encoder

Increasing resolution Counting UP and DOWN edges X2 or X4 circuits

Absolute position A potentiometer and incremental encoder can be used simultaneously: the pot for the absolute reference, and the encoder because of good resolution and robustness to noise

Analog locking Use digital encoder as much as possible Get to zero error or so using the digital signal When close to zeroing the error: Switch to analog: use the analog signal coming from the photodetector (roughly sinusoidal/triangular) Much higher resolution, precise positioning

Tachometer Use a DC motor The moving coils in the magnetic field will get an induced EMF In practice is better to design a special purpose DC motor for measuring velocity Ripple: typ. 3%

As already seen e e ripple

Measuring speed with digital encoders Frequency to voltage converters Costly (additional electronics) Much better: in software Take the derivative (for free!) vkt ( ) pkt ( ) p(( k1) T) T

Inertial sensors Accelerometers: position sensor K K Ma 2 Kx a 2Kx M a

Gyroscopes Quartz forks driver (causing oscillations) amp V F F 2m V

Strain gauges Principle: deformation R (resistance) Example: conductive paint (Al, Cu) The paint covers a deformable non-conducting substrate L R L, Aconst R A conductivity

Reading from a strain gauge V cc strain gauge R 2 a b R 1 balance V cc RR R R V V f ( R ) 1 2 g b ab 0 ab g

Hall-effect sensors + - V out charges B F F qv B lorentz if electrons

Example Measuring angles (magnetic encoders)

Back to the global view microprocessor actuator mechanics sensor reference amplifier OK OK OK OK

Microprocessors Special DSPs for motion control Some are barely yprogrammable (the control law is fixed) Others are general purpose and they are mixed mode (analog and digital in a single chip)

Example DSP 16 bit ALU and instruction set PWM generator (simply attach this to either T or H amplifier) A/D conversion CAN bus, Serial ports, digital I/O Encoder counters Flash memory and RAM on-board Enough of all these to control two motors (either brush- or brushless)