Generalized Coordinates and Constraints

Generalized Coordinates and Constraints

Generalized coordinates and constraints Basilio Bona DAUIN { Politecnico di Torino Semester 1, 2016-17 B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 1 / 25 Coordinates Each rigid body is defined by 6 coordinates (called d.o.f. or dof), 3 for the position c, 3 for the orientation a of a body frame RB attached to it; the position and orientation stacked together are called the posep of the body. 2 3 2 3 p1(t) x1(t) p (t) x (t) 6 2 7 6 2 7 def x(t) 6p (t)7 6x (t)7 p(t) = = 6 3 7 = 6 3 7 6p (t)7 6 (t)7 a(t) 6 4 7 6a1 7 4p5(t)5 4a2(t)5 p6(t) a3(t) A multibody system is a composition of several rigid bodies connected to each other and satisfying some physical or geometrical constraints. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 2 / 25 Coordinates A discrete (or \atomic") rigid body B is composed by a finite set of N geometrical points Pi , each one defined in the 3D space by its position vector with reference to some reference frame (usually the body frame) "xi1(t)# xi (t) = xi2(t) i = 1;:::;N xi3(t) The body B is globally characterized by M = 3N quantities. 2x11(t)3 6x12(t)7 6x13(t)7 2 3 2 3 6 7 c1(t) x1(t) 6 . 7 . 6 . 7 6 c2(t) 7 6 . 7 6 7 6 . 7 6 . 7 6xk1(t)7 6 . 7 6 7 6 7 6 . 7 M c(t) = 6xk (t)7 = 6xk2(t)7 = 6 7 2 X ⊆ R X = configuration space . 6 7 cj (t) 6 . 7 6xk3(t)7 6 . 7 4 . 5 6 . 7 6 . 7 6 . 7 4 . 5 xN (t) 6 . 7 6 7 cM (t) 6xN1(t)7 4xN2(t)5 xN3(t) B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 3 / 25 Coordinates We can express the ci coordinates in many different ways; between the two representations we can define a transformation c0 = f(c). The transformation f(·) must be non singular almost everywhere, i.e., the ¶fi transformation jacobian must be full rank 8cj , with a possible ¶ cj exception of a countable set of configurations. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 4 / 25 Coordinates Example T Consider a point P described by cartesian coordinates x = x1 x2 x3 0 0 0 0 T or by polar/spherical coordinates x = x1 x2 x3 , where x1 = x x2 = y x3 = z 0 0 0 x1 = r x2 = q x3 = f In this case the transformations between x0 and x are defined as follows 8 q 8 x = x0 sinx0 cosx0 > x0 = x2 + x2 + x2 > 1 1 2 3 > 1 1 2 3 < 0 0 0 −1 < q f : x2 = x1 sinx2 sinx3 f : 0 2 2 x2 = arctan( (x1 + x2 )=x3) :> 0 0 > x3 = x1 cosx2 > 0 : x3 = arctan(x2=x1) B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 5 / 25 Coordinates The Jacobian Jx of the transformation f is 2 0 0 0 0 0 0 3 sinx2 cosx3 r cosx2 cosx3 −r sinx2 sinx3 6sinx0 sinx0 cosx0 sinx0 sinx0 cosx0 7 Jx = 4 2 3 r 2 3 r 2 3 5 0 0 cosx2 −r sinx2 0 with the determinant 2 0 detJx = r sinx2 0 If r 6= 0 the determinant goes to zero only for q = x2 = 0 ± 2kp; this configuration is called a singular configuration. For example, the spherical coordinates are useful to model a satellite orbit motion around Earth. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 6 / 25 Constraints In general, kinematic constraints active on the body elements are defined by implicit function of the M = 3N coordinates, and possibly also of time t, as: y(c1;:::; c3N ;t) = 0 If the constraint are nc , a system of nc equalities arises y1(c1;:::; c3N ;t) = 0 y2(c1;:::; c3N ;t) = 0 . ync (c1;:::; c3N ;t) = 0 that is equivalent to the following matrix equation Ψ(c(t);t) = 0: where Ψ is a nc × 1 matrix containing the nonlinear functions of the coordinates. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 7 / 25 Constraints It is also possible to write constraints involving the time derivative c_ (t) Ψ0(c(t); c_ (t);t) = 0: and, in general, some constraints can be expressed as inequalities Ψ00(c(t); c_ (t);t) ≤ 0: A direct time dependency is present when some constraints are varying according to an external time law, otherwise the constraints depend from time only through the coordinates ci (t). The various types of constraints can be written as: a) Ψ(c(t);t) = 0 b) Ψ0(c(t); c_ (t);t) = 0 c) Ψ00(c(t); c_ (t);t) ≤ 0 The constraints that directly depend on time are called rheonomic, while the time-independent ones are called sclerononomic. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 8 / 25 Constraints - An example Example The rigid system is composed by N = 4 point masses, with T T T x1 = 0 0 0 x2 = 1 0 0 x3 = 0 1 0 x4 = 0 0 1 B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 9 / 25 Constraints - An example The rigid constraints are expressed as T 2 T 2 (x1 − x2) (x1 − x2) − d12 = 0 (x1 − x3) (x1 − x3) − d13 = 0 T 2 T 2 (x1 − x4) (x1 − x4) − d14 = 0 (x2 − x3) (x2 − x3) − d23 = 0 T 2 T 2 (x2 − x4) (x2 − x4) − d24 = 0 (x3 − x4) (x3 − x4) − d34 = 0 where dij is the distance between the point masses. There are 3N = 12 configuration variables and N(N − 1)=2 = 6 constraint equations, all independent. The three oriented segments xi − x1 form a basis of mutually orthogonal vectors, and are the ideal representation of a cartesian reference frame, the most simple example of a rigid body. The system has therefore only 3N − nv = 12 − 6 = 6 free parameter; this number is the maximum number of dof of a rigid body in space. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 10 / 25 Generalized Coordinates From now on, we assume that all nc constraints are independent. The implicit function theorem guarantees that it is always possible to express nc variables as functions of the n = M − nc remaining ones. We can therefore identify n = M − nc independent variables q1; q2;:::; qn. These variables are called generalized coordinates 2q1(t)3 . q(t) = 4 . 5 2 Q qn(t) They univocally represent the motion of a multibody system, implicitly taking into account the kinematic constraints acting on the system. All the other nc configuration variables can be computed from them, using the constraint equations. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 11 / 25 Generalized Coordinates The set of independent generalized coordinates is not unique: many other sets of coordinates may represent the system motion. The set must be independent (no generalized coordinates qi shall exist that can be obtained as linear combinations of other generalized coordinates) complete (the motion of the constrained set is completely determined by the generalized coordinates included in the set) If the set is complete and independent, it is also minimal. The number n defines the dimension of the generalized coordinate space Q. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 12 / 25 Generalized Coordinates It is always possible to express each position vector xi , with i = 1;:::;M, as a function of the n generalized coordinates xi = hi (q1;q2;:::;qn;t) = hi (q(t);t) where hi is a generic nonlinear vector function, whose derivatives with respect to its arguments exist up at least to the second order. Similarly, if we consider the configuration variables c, we can set the following transformation between q and c: c = g(q1;q2;:::;qn;t) = g(q(t);t) B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 13 / 25 Generalized velocities The generalized velocities are defined as dq(t) T q_ (t) = = q_1(t) ::: q_n(t) dt The configuration velocities c_ are defined as dc(t) T c_ (t) = = c_1(t) ::: c_ (t) dt M with M = 3N. B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 14 / 25 Generalized velocities and accelerations The relation between c_ and q_ is c_ (t) = J(t)q_ (t) + b(t) M×n M×1 where J 2 R and b 2 R are defined as ¶fi (t) ¶fi (t) [J]ij = [b]i = ¶qj (t) ¶t J is called the transformation Jacobian; b is non zero only if c directly depends from time. The generalized accelerations are c¨(t) = J(t)q¨(t) + J_(t)q_ (t) + b_ (t) B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 15 / 25 Generalized constraints The constraints obtained considering the generalized coordinates and velocities are called generalized constraints. If the constraints depend directly on time they are written as Φ(q(t);q_ (t);t) = 0 or Φ(q(t);q_ (t);t) ≤ 0 If they do not depend directly on time they are written as Φ(q(t);q_ (t)) = 0 or Φ(q(t);q_ (t)) ≤ 0 B. Bona (DAUIN) Generalized coordinates and constraints Semester 1, 2016-17 16 / 25 Virtual Displacements and Constraints Virtual displacements or admissible variations dr are a small (i.e., virtual, not real) displacements of body points, allowed by the kinematic constraints.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    25 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us