790 likes | 1.41k Views
Manipulator Dynamics. Amirkabir University of Technology Computer Engineering & Information Technology Department. Introduction. Robot arm dynamics deals with the mathematical formulations of the equations of robot arm motion. They are useful as:
E N D
Manipulator Dynamics Amirkabir University of TechnologyComputer Engineering & Information Technology Department
Introduction • Robot arm dynamics deals with the mathematical formulations of the equations of robot arm motion. • They are useful as: • An insight into the structure of the robot system. • A basis for model based control systems. • A basis for computer simulations.
Equations of Motion • The way in which the motion of the manipulator arises from torques applied by the actuators, or from external forces applied to the manipulator.
Forward and Inverse Dynamics Given a trajectory point, and find the required vectors of joint torques, Given a torque vector, calculate the resulting motion of the manipulator, and : problem of controlling the manipulator : problem of simulating the manipulator
Two Approaches • Energy based: Lagrange-Euler. Simple and symmetric. • Momentum/force approach:Newton-Euler. Efficient, derivation is simple but messy, involves vector cross product. Allow real time control.
Newton-Euler Algorithm • Newton-Euler method is described briefly below. The goal is to provide a big picture understanding of these methods without getting lost in the details.
Newton-Euler Algorithm Newton-Euler formulations makes two passes over the links of manipulator Velocities, Accelerations Forces, moments Gravity
Newton-Euler Algorithm • Forward computation • First compute the angular velocity, angular acceleration, linear velocity, linear acceleration of each link in terms of its preceding link. • These values can be computed in recursive manner, starting from the first moving link and ending at the end-effector link. • The initial conditions for the base link will make the initial velocity and acceleration values to zero.
Newton-Euler Algorithm • Backward computation • Once the velocities and accelerations of the links are found, the joint forces can be computed one link at a time starting from the end-effector link and ending at the base link.
Differentiation of position vectors Derivative of a vector: We are calculating the derivative of Q relative to frame B.
Differentiation of position vectors A velocity vector may be described in terms of any frame: We may write it: Speed vector is a free vector Special case: Velocity of the origin of a frame relative to some understood universe reference frame
Example 5.1 Both vehicles are heeding in X direction of U 100 mph A fixed universal frame 30 mph
Angular velocity vector: Linear velocity attribute of a point Angular velocity attribute of a body Since we always attach a frame to a body we can consider angular velocity as describing rational motion of a frame.
Angular velocity vector: describes the rotation of frame {B} relative to {A} direction of indicates instantaneous axis of rotation Magnitude of indicates speed of rotation In the case which there is an understood reference frame:
Linear velocity of a rigid body We wish to describe motion of {B} relative to frame {A} If rotation is not changing with time:
Rotational velocity of a rigid body Two frames with coincident origins The orientation of B with respect to A is changing in time. Lets consider that vector Q is constant as viewed from B.
Rotational velocity of a rigid body Is perpendicular to and Magnitude of differential change is: Vector cross product
Rotational velocity of a rigid body In general case:
Simultaneous linear and rotational velocity We skip 5.4!
Motion of the Links of a Robot Written in frame i At any instant, each link of a robot in motion has some linear and angular velocity.
Velocity of a Link Remember that linear velocity is associated with a point and angular velocity is associated with a body. Thus: The velocity of a link means the linear velocity of the origin of the link frame and the rotational velocity of the link
Velocity Propagation From Link to Link • We can compute the velocities of each link in order starting from the base. • The velocity of link i+1 will be that of link i, plus whatever new velocity component added by joint i+1.
Rotational Velocity • Rotational velocities may be added when both w vectors are written with respect to the same frame. • Therefore the angular velocity of link i+1 is the same as that of link i plus a new component caused by rotational velocity at joint i+1.
Velocity Propagation From Link to Link Note that: By premultiplying both sides of previous equation to:
Linear Velocity • The linear velocity of the origin of frame {i+1} is the same as that of the origin of frame {i} plus a new component caused by rotational velocity of link i.
Linear Velocity Simultaneous linear and rotational velocity: By premultiplying both sides of previous equation to:
Prismatic Joints Link For the case that joint i+1 is prismatic:
Velocity Propagation From Link to Link • Applying those previous equations successfully from link to link, we can compute the rotational and linear velocities of the last link.
A 2-link manipulator with rotational joints Example 5.3 Calculate the velocity of the tip of the arm as a function of joint rates?
Example 5.3 Frame assignments for the two link manipulator
Example 5.3 We compute link transformations:
Example 5.3 Link to link transformation
Example 5.3 Velocities with respect to non moving base
Derivative of a Vector Function • If we have a vector function r which represents a particle’s position as a function of time t:
Vector Derivatives • We’ve seen how to take a derivative of a vector vs. A scalar • What about the derivative of a vector vs. A vector?
Acceleration of a Rigid Body Linear and angular accelerations:
Linear Acceleration : origins are coincident. : re-write it as. : by differentiating.
Linear Acceleration the case in which the origins are not coincident : when is constant : the linear acceleration of the links of a manipulator with rotational joints.
Angular Acceleration B is rotation relative to A and C is rotating relative to B : the angular acceleration of the links of a manipulator.
Inertia • If a force acts of a body, the body will accelerate. The ratio of the applied force to the resulting acceleration is the inertia (or mass) of the body. • If a torque acts on a body that can rotate freely about some axis, the body will undergo an angular acceleration. The ratio of the applied torque to the resulting angular acceleration is the rotational inertia of the body. It depends not only on the mass of the body, but also on how that mass is distributed with respect to the axis.
Mass Distribution Inertia tensor- a generalization of the scalar moment of inertia of an object
Moment of Inertia The moment of inertia of a solid body with density w.r.t. a given axis is defined by the volume integral where r is the perpendicular distance from the axis of rotation.
Moment of Inertia This can be broken into components as: for a discrete distribution of mass for a continuous distribution of mass
Moment of Inertia The inertia tensor relative to frame {A}: Mass moments of inertia Mass products of inertia
Moment of Inertia • If we are free to choose the orientation of the reference frame, it is possible to cause the products of inertia to be zero. • Principal axes. • Principal moments of inertia.
Example 6.1 {C}
Parallel Axis Theorem • Relates the inertia tensor in a frame with origin at the center of mass to the inertia tensor w.r.t. another reference frame.
Measuring the Moment of Inertia of a Link • Most manipulators have links whose geometry and composition are somewhat complex. A pragmatic option is to measure the moment of inertia of each link using an inertia pendulum. • If a body suspended by a rod is given a small twist about the axis of suspension, it will oscillate with angular harmonic motion, the period of which is given by. where k is the torsion constant of the suspending rod , i.e., the constant ratio between the restoring torque and the angular displacement.
Newton’s Equation Force causing the acceleration