Dynamics Basilio Bona DAUIN – Politecnico di Torino Semester 1, 2015-16 B. Bona (DAUIN) Dynamics Semester 1, 2015-16 1 / 18
Dynamics Dynamics studies the relations between the 3D space generalized forces acting on a body in dynamical equilibrium and its motion (acceleration, velocity, position). With generalized forces, one refers to both linear forces and angular torques. The generalized forces are of the following type External forces applied by some actuator or other physical cause. Inertial forces. Coriolis, centrifugal and gravitational forces. Elastic forces. Friction and other dissipative forces. Forces generated by electromagnetic interaction. B. Bona (DAUIN) Dynamics Semester 1, 2015-16 2 / 18
Moment of a Force Given a point mass located in a point P represented by r and a force f applied to this point, the moment of the force with respect to the point O is given by r × f = r × m d v d t = r × d p d t Applying the derivative rules we obtain r × d p d t = d d t ( r × p ) − d r r × f = d t × p d = ˙ = d t ( r × p ) − v × p h � �� � 0 where the last term is always zero, since p = m v and v are always collinear. The vector h = r × p is called angular momentum and we know that is related by the angular velocity ω by h = Γ ω . B. Bona (DAUIN) Dynamics Semester 1, 2015-16 3 / 18
r × f is often called torque produced by the force with respect to O , and we can write τ = d d t h = ˙ h Note the analogy f = d τ = d d t h = ˙ ω + ˙ Γ ω d t p = ˙ p = m ˙ v h = Γ ˙ The generalized momentum H is the vector that includes both momenta, while the generalized force F include both forces and torques. Therefore we can write � � = d � � � ˙ � p f p = ˙ F = = H τ d t ˙ h h B. Bona (DAUIN) Dynamics Semester 1, 2015-16 4 / 18
Conclusions Generalized momentum H ( t ) � � � � p ( t ) Mv ( t ) linear momentum H ( t ) = = Γ ( t ) ω ( t ) h ( t ) angular momentum Generalized force F ( t ) � � � � M ˙ v ( t ) f ( t ) = ˙ F ( t ) = H ( t ) = τ ( t ) ω ( t )+ ˙ Γ ( t ) ω ( t ) Γ ( t ) ˙ Recall that Γ ω = ω × [ Γ ω ] = S ( ω ) Γ ω ˙ where Γ is the inertia matrix with respect to the body center-of-mass. B. Bona (DAUIN) Dynamics Semester 1, 2015-16 5 / 18
Newton-Euler approach A rigid body system, composed by n rigid bodies is in dynamic equilibrium when The sum of all forces, including inertial forces, is zero. The sum of all angular torques (with respect to the body center of mass), including inertial torques, is zero. The first condition allows to write the so-called Newton equations, while the second condition allows to write the so-called Euler equations. Both equations are second order differential vector equations, i.e., they are equivalent to three scalar equations, one for each vector component. In a n body system, the number of vector equations is 2 n and the number of scalar equations is 6 n . B. Bona (DAUIN) Dynamics Semester 1, 2015-16 6 / 18
Newton equations Consider the following generic rigid body b i , identified with the index i . B. Bona (DAUIN) Dynamics Semester 1, 2015-16 7 / 18
Newton equations If: f i − 1 , i resultant of the forces applied from body i − 1 to body i resultant of the forces applied from body i +1 to body i f i +1 , i local gravity field acceleration vector g i a c i total acceleration of the center-of-mass We can write the i -th Newton equation as: f i − 1 , i + f i +1 , i + m i g i − m i a c i = 0 B. Bona (DAUIN) Dynamics Semester 1, 2015-16 8 / 18
Euler equations If: N i − 1 , i resultant of the torques applied from body ( i − 1) to body i N i +1 , i resultant of the forces applied from body ( i +1) to body i Γ i inertia matrix of body i with respect to its center-of-mass position of the ( i − 1) BRF origin with respect to center-of-mass r c i , i − 1 position of the ( i +1) BRF with respect to center-of-mass r c i , i BRF Body Reference Frame We can write the i -th Euler equation as ω i − ω i × Γ i ω i = 0 − Γ i ˙ N i − 1 , i + N i +1 , i + r c i , i − 1 × f i − 1 , i + r c i , i × f i +1 , i � �� � moment of the forces f B. Bona (DAUIN) Dynamics Semester 1, 2015-16 9 / 18
Newton-Euler equations The 2 n vectorial Newton-Euler (N-E) equations are difficult to solve, at least symbolically, since the internal constraints between the bodies are to be explicitly considered. These constraints are due to the forces f and torques N transmitted by one body to the other. These constraints play no role in determining the dynamical behavior and the motion laws of the multi-body structure, and their determination is not relevant to the description of the body motion. The constraint forces may be relevant for the design of internal structures, etc., since they are related to stresses and strains in the materials. Lagrange equations are much more immediate and easy to deal with, as they are scalar differential equations, obtained from energy considerations. Nonetheless, from a purely numerical/algorithmic viewpoint N-E equations are easier to solve than Lagrange equations, and several recursive solutions are available in technical literature. B. Bona (DAUIN) Dynamics Semester 1, 2015-16 10 / 18
Direct and inverse dynamics Assuming to have determined a set of generalized coordinates q , the direct dynamics problem consists in the computation of the joint accelerations ¨ q ( t ) (and hence of the joint velocities ˙ q ( t ) and positions q ( t ) by integration) from the knowledge of the command generalized forces F c ( t ), and the external generalized forces F e ( t ); the initial conditions ˙ q (0) and q (0) at time t = 0. The direct dynamics is at the base of any dynamical simulation algorithm. The inverse dynamics problem consists in the computation of the generalized forces F c ( t ) that must be applied by the actuators in order to obtain the desired dynamic behavior, given the motion variables q ( t ) , ˙ q ( t ) and ¨ q ( t ). The solution of this inverse problem is useful for the trajectory planning problems and for the control algorithms implementation. B. Bona (DAUIN) Dynamics Semester 1, 2015-16 11 / 18
Example: robotics Let start from the dynamic model equation that one obtains from a generic robotic structure ∑ q j + ∑ j ∑ q k + g i ( q ) = τ i H ij ( q )¨ h ijk ( q ) ˙ q j ˙ j k The various terms ( H ij , h ijk and g i ) depend on the time configuration q ( t ) as indicated. To solve them, a large number of computations is necessary; it has been demonstrated that the product number is proportional to n 4 , i.e., its complexity is O ( n 4 ). B. Bona (DAUIN) Dynamics Semester 1, 2015-16 12 / 18
Recursive algorithm To overcome this problem, efficient recursive algorithms have been introduced; they consist of two steps: Forward recursion : we use the kinematic functions, that, given a generic q i allow to compute ˙ q i and ¨ q i given q 1 , ˙ q 1 and ¨ q 1 , one computes the linear and angular velocities and 1 the acceleration v c 1 , ω 1 , a c 1 , ˙ ω 1 of the center-of-mass c 1 using these values and given q 2 , ˙ q 2 and ¨ q 2 , one computes the linear 2 and angular velocities and the acceleration v c 2 , ω 2 , a c 2 , ˙ ω 2 of the center-of-mass c 2 ; the procedure is repeated until the last body quantities are computed. 3 Backward recursion : knowing the gravitational forces and the externally applied forces, the command forces are computed backward from the last body link to the first. B. Bona (DAUIN) Dynamics Semester 1, 2015-16 13 / 18
Notation - 1 These notations are valid for an open-chain robotic structure. ω ℓ k , α ℓ k , a ℓ k are respectively the angular velocity, the angular acceleration and the linear acceleration of the joint k , expressed in R ℓ attached to link ℓ ; R k k − 1 is the rotation matrix from R k to R k − 1 ; i.e., x k = R k k − 1 x k − 1 d ℓ k − 1 , k is the translation of the origin of R k − 1 from the origin of R k , represented in R ℓ ; d ℓ k − 1 , k c is the translation of the origin of R k − 1 to the center-of-mass of link k , represented in R ℓ ; f ℓ k − 1 , k is the constraint force transmitted from link k − 1 to link k , represented in R ℓ ; τ ℓ k − 1 , k is the constraint torque transmitted from link k − 1 to link k , represented in R ℓ ; B. Bona (DAUIN) Dynamics Semester 1, 2015-16 14 / 18
Notation -2 F ℓ k , c is the resulting force applied on link k , having its action line across the center-of-mass of the link k , represented in R ℓ ; T ℓ kc is the resulting torque applied on link k , equal to the moment with respect to the center-of-mass of the link k , represented in R ℓ ; Γ ℓ k / c is the inertia matrix of link k with respect to the center-of-mass of the link k , represented in R ℓ ; m k is the mass of link k ; � 0 1 � T ; k = 0 recall that d k k , k c = ( d k k − 1 , k c − d k k − 1 , k ) and d k k , k c , d k k − 1 , k c , d k k − 1 , k are constant in R k , B. Bona (DAUIN) Dynamics Semester 1, 2015-16 15 / 18
Recommend
More recommend