HAL Id: hal-01399623
https://hal.archives-ouvertes.fr/hal-01399623
Submitted on 19 Nov 2016
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
Distributed under a Creative Commons Attribution| 4.0 International License
Mechanical Systems With Nonideal Constraints:
Explicit Equations Without the Use of Generalized Inverses
Firdaus Udwadia, Robert Kalaba, Phailaung Phohomsiri
To cite this version:
Firdaus Udwadia, Robert Kalaba, Phailaung Phohomsiri. Mechanical Systems With Nonideal Con-
straints: Explicit Equations Without the Use of Generalized Inverses. Journal of Applied Mechanics,
American Society of Mechanical Engineers, 2004, 71 (5), pp.615-621. �10.1115/1.1767844�. �hal-
01399623�
Firdaus E. Udwadia
Professor of Civil Engineering, Aerospace and Mechanical Engineering, Mathematics, and Information and Operations Management, University of Southern California, Los Angeles, CA 90089 e-mail: fudwadia@usc.edu
Robert E. Kalaba
Professor of Biomedical Engineering, Electrical Engineering, and Economics, University of Southern California, Los Angeles, CA 90089
Phailaung Phohomsiri
Graduate Student, Department of Aerospace and Mechanical Engineering, University of Southern California, Los Angeles, CA 90089
Mechanical Systems With
Nonideal Constraints: Explicit Equations Without the Use of Generalized Inverses
In this paper we obtain the explicit equations of motion for mechanical systems under nonideal constraints without the use of generalized inverses. The new set of equations is shown to be equivalent to that obtained using generalized inverses. Examples demonstrat- ing the use of the general equations are provided.
1 Introduction
When constraints are applied to mechanical systems, additional forces of constraint are produced that guarantee their satisfaction.
The development of the equations of motion for constrained me- chanical systems has been pursued by numerous scientists and mathematicians, like Appell
关1
兴, Beghin
关2
兴, Chetaev
关3
兴, Dirac
关4
兴, Gauss
关5
兴, Gibbs
关6
兴, and Hamel
关7
兴. All these investigators have used as their starting point the D’Alembert-Lagrange Prin- ciple. This principle, which was enunciated first by Lagrange in his Mechanique Analytique,
关8
兴, can be presumed as being, at the present time, at the core of classical analytical dynamics.
D’Alembert’s principle makes an assumption regarding the na- ture of constraint forces in mechanical systems, and this assump- tion seems to work well in many practical situations. It states that the total work done by the forces of constraint under virtual dis- placements is always zero. In 1992 Udwadia and Kalaba
关9
兴ob- tained a simple, explicit set of equations of motion, suited for general mechanical systems, with holonomic and/or nonholo- nomic constraints. Though their equations encompass time depen- dent constraints that are
共1
兲not necessarily independent, and
共2
兲nonlinear in the generalized velocities, their equations are valid only when D’Alembert’s principle is observed by the constraint forces.
However, in many situations in nature, the forces of constraint in mechanical systems do not satisfy D’Alembert’s principle. As stated in Pars’s A Treatise on Analytical Dynamics
关10
兴, ‘‘There are in fact systems for which the principle enunciated
关D’Alembert’s principle
兴. . . does not hold. But such systems will not be considered in this book.’’ Such systems have been consid- ered to lie beyond the scope of Lagrangian mechanics. Recently, Udwadia and Kalaba
关11,12
兴have developed general, explicit equations of motion for constrained mechanical systems that may or may not satisfy D’Alembert’s principle. The statement of their result involves the use of generalized inverses of various matrix quantities, and they derive their results by using the special prop- erties of these generalized inverses.
In this paper we give a new, alternative set of explicit equations that describes the motion of constrained mechanical systems that may or may not satisfy D’Alembert’s principle. Thus these equa- tions are valid when the forces of constraint may do work under virtual displacements. We show here that there is no need to use any concepts related to generalized inverses in the development of these general equations. The explicit equations developed herein can handle time dependent constraints that are nonlinear in the generalized velocities, as do the equations obtained using gener- alized inverses. Instead of relying on the properties of generalized inverses, our explicit equations rely on a deeper understanding of virtual displacements as provided in Refs.
关13,14
兴.
After obtaining the new equations, we show that they are in- deed equivalent to those given earlier by Udwadia and Kalaba
关11,12
兴which make extensive use of generalized inverses. Three illustrative examples are provided showing the use of the new equations. The last example deals with sliding friction.
2 Explicit Equations of Motion for Mechanical Sys- tems With Nonideal Constraints
For an unconstrained system of N particles, Lagrange’s equa- tion of motion for the system at time t can be written, using generalized coordinates, as
M
共q,t
兲q¨ ⫽ F
共q,q˙,t
兲; q
共0
兲⫽q
0,q˙
共0
兲⫽q˙
0, (1) where, q is the generalized coordinate n-vector q
⫽关 q
1,q
2, . . . ,q
n兴T; M is an n by n symmetric positive definite matrix; and, F(q,q˙,t) is the n-vector of the ‘‘given’’ force which is a known function of q, q˙, and time, t. The number of degrees- of-freedom of the system is equal to the number of generalized coordinates, n, characterizing the configuration of the system at any time, t. The acceleration, a(t), of the unconstrained system described by Eq.
共1
兲is then given by a(t) ⫽ M (q,t)
⫺1F(q,q˙,t).
Let the system described by Eq.
共1
兲be now further constrained by the m constraint equations
i共
q,q˙,t
兲⫽0, i ⫽ 1,2, . . . ,m, (2)
in which k ⬍ m of these constraint equations are independent. We shall assume that the constraint equations satisfy the initial condi- tions given in Eq.
共1
兲. Equation set
共2
兲includes both holonomic and nonholonomic constraints. Assuming sufficient smoothness, we can differentiate equation set
共2
兲with respect to time t to obtain
A
共q,q˙,t
兲q¨ ⫽ b
共q,q˙,t
兲, (3) where the elements of A and b are known functions of q, q˙, and t and the matrix A is an m by n matrix that has rank k.
The presence of the constraints causes additional constraint forces to arise at each instant of time to assure that the constraints are satisfied. The equation of motion for the constrained system can be then expressed as
M q¨ ⫽ F
共q,q˙,t
兲⫹F
c共q,q˙,t
兲,(4) where, F is the given force, and F
cis the additional force engen- dered by the presence of the constraints.
Premultiplying Eq.
共4
兲by M
⫺1/2, we have
M
1/2q¨ ⫽ M
⫺1/2F
共q,q˙,t
兲⫹M
⫺1/2F
c共q,q˙,t兲 , (5) which can be written as
q¨
s共t
兲⫺F
sc⫽ a
s共t
兲. (6) Here we have denoted the ‘‘scaled’’ acceleration of the con- strained system, M
1/2q¨, by q¨
s(t), the ‘‘scaled’’ force of constraint, M
⫺1/2F
c, by F
sc, and the ‘‘scaled’’ acceleration of the uncon- strained system, M
⫺1/2F, by a
s(t). In the same manner, the con- straint Eq.
共3
兲at time t can be expressed as (A M
⫺1/2)( M
1/2q¨)
⫽ b. Denoting A M
⫺1/2by the m by n matrix B, we obtain
Bq¨
s⫽ b. (7)
A virtual displacement
共see Refs.
关13,14
兴兲is any nonzero vector, w, that satisfies the equation
A
共q,q˙,t
兲w ⫽ 0. (8)
When the constraints are nonideal, the work done, W(t), by the constraint force, F
c, under virtual displacements, w, needs to be specified through knowledge of the n-vector C, so that,
关11
兴W
共t
兲⫽w
TF
c共q,q˙,t
兲⫽w
TC
共q,q˙,t
兲, (9) where C(q,q˙,t) is a known n-vector, and characterizes the nature of the nonideal constraint force, F
c. This is an extension of D’Alembert’s principle.
Equation
共8
兲can be rewritten as
共
A M
⫺1/2兲共M
1/2w
兲⫽0. (10)
Similarly, Eq.
共9
兲can be rewritten as
共
w
TM
1/2兲共M
⫺1/2F
c兲⫽共w
TM
1/2兲共M
⫺1/2C
兲. (11) Denoting v ⫽ M
1/2w, Eq.
共10
兲becomes
Bv ⫽ 0. (12)
Since M
1/2is nonsingular,
is then any nonzero vector such that relation
共12
兲is satisfied. Furthermore, after denoting C
s⫽ M
⫺1/2C, Eq.
共11
兲can be written as
v
TF
sc⫽ v
TC
s. (13) Since B has rank k, there are n ⫺ k linearly independent vectors, v, such that Bv ⫽ 0. Assembling then such vectors v
1. . . v
n⫺kin the matrix V, we obtain
V
TF
sc⫽ V
TC
s. (14) The matrix V can be constructed by a judicious use of the Gram- Schmidt procedure.
Consider the linear Eqs.
共6
兲,
共7
兲, and
共14
兲. These equations can be expressed as
Lr ⫽ 冋
关关关I B 0
兴兴兴nxn共mxnn⫺k兲xn⫺
关关关I 0 V
兴兴nxnTmxn兴共n⫺k兲xn册
冋F q¨
ssc册⫽ 冋 V a
Tb C
ss册 ⫽ s,
(15) where L is a (2n ⫹ m ⫺ k) by 2n matrix, r is a 2n-vector, and s is a (2n ⫹ m ⫺ k)-vector.
The equation set
共15
兲constitutes the fundamental linear set of equations that needs to be solved to obtain both the scaled accel- eration, q¨
s, of the constrained system as well as the scaled con- straint force, F
sc. In what follows, we shall show that a solution to this linear system of equations exists and is unique.
We premultiply both sides of Eq.
共15
兲by L
Tto obtain the equation
L
TLr ⫽
冋⫺ I I B 0
TV 0
册冋 B 0 I ⫺ V 0
TI 册 r ⫽
冋⫺ I I B 0
TV 0
册冋 V a
Tb C
ss册 .
(16) Let us denote
D ⫽ B
TB, (17)
and
E ⫽ VV
T. (18)
Equation
共16
兲can be written as
Gr ⫽
冋关I ⫺ ⫹
关D I
兴兴nxnnxn 关⫺关 I ⫹ I E
兴兴nxnnxn册r ⫽
冋⫺ a a
s⫹
s⫹ B EC
Tb
s册, (19)
where G is the 2n by 2n symmetric matrix L
TL. We next show that the inverse of the matrix G exists, and we determine it ex- plicitly.
L
EMMA1.
Result 1: The inverse of the matrix G given in Eq.
共19
兲exists and is
G
⫺1⫽
冋P J S J
册, (20)
where
J ⫽共 D ⫹ E兲
⫺1⫽
共B
TB ⫹ VV
T兲⫺1, (21)
P ⫽ J
共I ⫹ E
兲, (22)
and
S ⫽ J
共I ⫹ D
兲. (23)
Result 2.
SE ⫽ I ⫺ JD, (24)
which is a property that we shall use for the determination of the
‘‘scaled’’ force of constraint, F
sc. Proof.
Result 1. For simplicity, let us write G
⫺1as
G
⫺1⫽
冋P J S J
册. (25)
Beginning with the condition G
⫺1G ⫽ I, we obtain
冋
P J J S
册冋I ⫹ ⫺ I D I ⫺ ⫹ I E
册⫽
冋0 I 0 I
册,
which can be written as
冋
P J共
共I I ⫹ ⫹ D兲⫺ D
兲⫺ S J ⫺ ⫺ P J ⫹ ⫹ S共 J
共I I ⫹ ⫹ E兲 E
兲册⫽
冋0 I 0 I
册. (26)
A comparison of the corresponding members on either side of the
equality in Eq.
共26
兲shows that
P
共I ⫹ D兲⫺ J ⫽ I, (27)
S ⫽ J
共I ⫹ D
兲, (28)
P ⫽ J
共I ⫹ E
兲, (29)
and
⫺ J ⫹ S
共I ⫹ E
兲⫽I. (30) Then replacing the matrix P obtained from Eq.
共29
兲in Eq.
共27
兲and simplifying that, we have
J
共I ⫹ E
兲共I ⫹ D
兲⫺ J ⫽ J
共D ⫹ E ⫹ ED
兲⫽I. (31) Since E ⫽ VV
T, D ⫽ B
TB, and BV ⫽ 0, we have ED ⫽ VV
TB
TB
⫽ V(BV)
TB ⫽ 0.
Thus Eq.
共31
兲can be simplified to
J
共D ⫹ E
兲⫽ I. (32)
From Eqs.
共17
兲and
共18
兲, it can be seen that the n by n matrix D ⫹ E ⫽ B
TB ⫹ VV
T⫽关 B
TV兴关
VTB 兴. Since the matrix 关
B
TV兴 has full rank, the rank of
关B
TV
兴关VTB兴
is n. Hence, D ⫹ E has an inverse and from Eq.
共32
兲the matrix J is given by
J ⫽共 D ⫹ E
兲⫺1⫽共 B
TB ⫹ VV
T兲⫺1. (33) By Eqs.
共25
兲,
共28
兲, and
共29
兲, the inverse of the matrix G can be then written as
G
⫺1⫽
冋P J S J
册⫽
冋J
共I ⫹ J E
兲J
共I ⫹ J D
兲册, (34)
where J is given by Eq.
共33
兲.
䊐Result 2: By substituting Eq.
共28
兲in Eq.
共30
兲, we obtain ⫺ J
⫹ S(I ⫹ E) ⫽⫺ J ⫹ S ⫹ SE ⫽⫺ J ⫹ J(I ⫹ D) ⫹ SE ⫽ I, which can be simplified to
SE ⫽ I ⫺ JD.
䊐(35)
From Eqs.
共19
兲and
共20
兲, the vector r ⫽关
Fc qs兴
, can be uniquely found as
冋
F q¨
ssc册⫽
冋P J J S
册冋⫺ a a
s⫹
s⫹ B EC
Tb
s册. (36)
Using Eq.
共36
兲, the ‘‘scaled’’ force of constraint can be ex- panded as
F
sc⫽ Ja
s⫹ JB
Tb ⫺ Sa
s⫹ SEC
s. (37) From Eqs.
共23
兲and
共24
兲, Eq.
共37
兲can be expressed as
F
sc⫽ Ja
s⫹ JB
Tb ⫺ Ja
s⫺ JDa
s⫹共 I ⫺ JD
兲C
s⫽ JB
Tb ⫺ JDa
s⫹共 I ⫺ JD
兲C
s.
Noting that D ⫽ B
TB, the last equation gives a simple form for the constraint force
F
sc⫽ JB
T共b ⫺ Ba
s兲⫹共I ⫺ JB
TB
兲C
s. (38) Since the acceleration of the unconstrained system is defined as a ⫽ M
⫺1F, we have Ba
s⫽ (A M
⫺1/2)( M
⫺1/2F) ⫽ A( M
⫺1F)
⫽ Aa. Using this equality, and substituting C
sby M
⫺1/2C in Eq.
共
38
兲, we get
F
c⫽ M
1/2F
sc⫽ M
1/2JB
T共b ⫺ Aa
兲⫹ M
1/2共I ⫺ JB
TB
兲M
⫺1/2C
ª F
ic⫹ F
nic, (39)
which gives the force of constraint F
cexplicitly for the con- strained system. The subscript i is used to describe the force of constraint were all the constraints to be ideal (C
⬅0); the sub- script ni is used to describe the contribution to the total constraint
force because of the nonideal nature of the constraints. The ex- plicit equation of motion with nonideal constraints can then be written as
M q¨ ⫽ F ⫹ F
c⫽ F ⫹ M
1/2JB
T共b ⫺ Aa
兲⫹M
1/2共I ⫺ JB
TB
兲M
⫺1/2C.
(40) We emphasize that Eq.
共40
兲, which gives explicitly the motion of nonholonomic systems with nonideal constraint forces, does not involve any generalized inverses, or any Lagrange multipliers.
Previous investigators, so far as we know, have not obtained explicit equations of motion for non-ideal constraints. The only other general equation of motion for constrained mechanical sys- tems with nonideal constraints available in the literature to date appears to be the one obtained in Refs.
关11,12
兴and
关15,16
兴. How- ever, the results that have been obtained so far use the concept of the generalized inverse of a matrix, and the derivations are heavily dependent on the properties of generalized inverses. The equation obtained herein is:
共1
兲explicit;
共2
兲applicable to nonideal con- straints; and
共3
兲does not use generalized inverses. In the next section we shall compare our result with those obtained in Refs.
关
11,12
兴.
There are, however, a number of formulations of the equations of motion for constrained mechanical systems under the assump- tion that the constraints are all ideal, i.e., when C in Eq.
共40
兲in identically zero for all time. It is then perhaps worthwhile com- paring Eq.
共40
兲for C
⬅0, thereby restricting it to only ideal con- straints, with formulations that have been obtained by previous investigators. So, to elucidate our equation further, we compare the form of the equation obtained by us with those obtained pre- viously. Though Eq.
共40
兲is also valid for nonideal constraints, in the next paragraph we restrict ourselves, for purposes of compari- son with other formulations of the equations of motion obtained by other researchers only to when all the constraints are ideal.
Unlike the results obtained in Beghin
关2
兴, Chataev
关3
兴, Hamel
关7
兴, and Lagrange
关8
兴, Eq.
共40
兲explicitly gives the force of con- straint; no Lagrange multipliers are involved. The use of Lagrange multipliers constitutes one approach to solving the problem of constrained motion. We use in this paper a different approach that is innocent of this notion. These multipliers, which were invented by Lagrange, are an intermediary mathematical device for solving the problem of constrained motion. As such, they are not intrinsic
共essential
兲to either the description of the physical problem of constrained motion or to the final equation of motion that is ob- tained, as witnessed by the fact that we make no mention of Lagrange multipliers in our approach. Another important point of difference is that the constraint equations we use to obtain Eq.
共
40
兲are more general than those in Appell
关1
兴, Beghin
关2
兴, Cha- taev
关3
兴, Gibbs
关6
兴, Hamel
关7
兴, and Synge
关17
兴because the ele- ments of the matrix A are allowed to be not just functions of q and t, but also of q˙. This greatly expands the scope of the type of constraints that we use. However, it entails a more delicate inter- pretation of the concept of virtual displacements
共see, Ref.
关14
兴兲. Furthermore, unlike the formulations of Gibbs
关6
兴and Appell
关1
兴the coordinates we use to describe the constrained motion are the same as those used to describe the unconstrained motion; no quasi-coordinates are used, and no coordinate transformations are needed. Dirac
关4
兴developed a set of equations for the constrained motion of hamiltonian systems in which the constraints are not explicitly dependent on time. Our equation differs from his in that:
共
1
兲Eq.
共40
兲 共with C(t)
⬅0) is also applicable to non-hamiltonian, and dissipative systems, and
共2
兲it allows constraints that contain time explicitly in them. However, Eq.
共40
兲assumes that M is positive definite, while Dirac’s method can handle singular Lagrangians; such Lagrangians are more relevant to the field of quantum mechanics
共for which Dirac developed his equation
兲and are seldom found in well-posed problems in classical mechanics.
One consequence of the fact that we use the same set of coor-
dinates to describe the motion of the constrained system as we use
to describe the unconstrained system is that our equation provides
the exceptional insight that the total force of constraint is the sum of two forces, as seen from the last two members on the right hand side of the last equality in Eq.
共40
兲. The first corresponds to what would result were all the constraints ideal; the second corre- sponds to the force caused solely by the nonideal nature of the constraints. Our ability to obtain the general equation of motion explicitly gives an additional insight when C
⬅0. Nature appears to be acting like a ‘‘control engineer,’’ because the second term on the right-hand side of Eq.
共40
兲may be viewed as a ‘‘feedback control force’’ proportional to the error, (b ⫺ Aa), in the satisfac- tion of the constraint Eq.
共3
兲. We observe that the feedback ‘‘con- trol gain matrix,’’ M
1/2JB
T, which nature uses turns out to be, in general, a highly nonlinear, time-dependent function of q, q˙, and t. Such insights into the fundamental nature of constrained motion have been unavailable from previous formulations of the equa- tions for constrained mechanical systems, such as those of Appell, Begin, Chataev, Hamel, Gibbs, Jacobi, Lagrange, and Synge.
3 Connection of Eq. „ 40 … With Previous Results In this section we show that the equation of motion obtained above is equivalent to the ones previously obtained in Refs.
关
11,12
兴. L
EMMA2.
JB
T⫽ B
⫹, (41)
where B
⫹is the Moore-Penrose inverse of the matrix B.
Proof.
Let us consider a condition GG
⫺1⫽ G
⫺1G,
冋
I ⫹ ⫺ I D I ⫺ ⫹ I E
册冋P J S J
册⫽
冋P J J S
册冋I ⫺ ⫹ D I I ⫺ ⫹ I E
册,
which can be expanded to
冋
⫺
共I P ⫹ ⫹ D
共兲I P ⫹ ⫺ E J
兲J ⫺
共I J ⫹ ⫹ D
共I
兲⫹ J ⫺ E S
兲S
册⫽
冋P J
共共I I ⫹ ⫹ D D
兲⫺兲⫺S J ⫺ ⫺ P J ⫹ ⫹ S J
共共I I ⫹ ⫹ E E
兲兲册. (42)
Equating the first element of the second column on either side of Eq.
共42
兲, we get
共
I ⫹ D
兲J ⫺ S ⫽⫺ P ⫹ J
共I ⫹ E
兲. (43) After substituting Eqs.
共28
兲and
共29
兲in Eq.
共43
兲, we obtain
DJ ⫽ JD. (44)
Similarly, equating the second element of the second column on either side of Eq.
共42
兲, we get ⫺ J ⫹ (I ⫹ E)S ⫽⫺ J ⫹ S(I ⫹ E), which simplifies to
ES ⫽ SE. (45)
As a result of Eqs.
共44
兲,
共24
兲, and
共45
兲, we have
DJ ⫽ JD ⫽ I ⫺ SE ⫽ I ⫺ ES. (46) To show that JB
Tis the Moore-Penrose
共MP
兲inverse of the matrix B, we need to prove the following conditions:
1. B(JB
T)B ⫽ B;
2. (JB
T)B(JB
T) ⫽ JB
T; 3. (BJB
T)
T⫽ BJB
T; and
4 (JB
TB)
T⫽ JB
TB.
1. By using the relations obtained from Eqs.
共17
兲,
共46
兲, and
共18
兲, we have B(JB
T)B ⫽ BJD ⫽ B(I ⫺ ES) ⫽ B ⫺ BES ⫽ B
⫺ (BV)V
TS. Since BV ⫽ 0, B(JB
T)B ⫽ B. Thus the first MP condition is satisfied.
2. Due to Eqs.
共17
兲and
共46
兲, (JB
T)B(JB
T) ⫽ J(B
TB)JB
T⫽ JDJB
T⫽ J(I ⫺ ES)B
T⫽ JB
T⫺ JESB
T. Since SE ⫽ ES, E
⫽ VV
T, and BV ⫽ 0, JESB
T⫽ JSEB
Tand EB
T⫽ VV
TB
T⫽ V(BV)
T⫽ 0; thus (JB
T)B(JB
T) ⫽ JB
T, and the second MP condition is satisfied.
3. Since the matrices D and E are symmetric, J ⫽ (D ⫹ E)
⫺1, is also symmetric. Hence (BJB
T)
T⫽ BJ
TB
T⫽ BJB
T; thus the third MP condition is satisfied
4. Using Eqs.
共17
兲and
共44
兲we get (JB
TB)
T⫽ (B
TB)J
T⫽ DJ
⫽ JD ⫽ J(B
TB); thus the fourth MP condition is satisfied.
From the result of lemma 2, after substituting B
⫹⫽ JB
Tin Eq.
共
39
兲, we obtain
F
c⫽ M
1/2B
⫹共b ⫺ Aa
兲⫹M
1/2共I ⫺ B
⫹B
兲M
⫺1/2C. (47) The first member on the right of Eq.
共47
兲is the force of constraint that would be generated were all the constraints ideal, the second member gives the contribution to total force of constraint because of its non-ideal nature. Since B ⫽ A M
⫺1/2, Eq.
共47
兲can be rewrit- ten as
F
c⫽ M
1/2共A M
⫺1/2兲⫹共b ⫺ Aa
兲⫹M
1/2共I ⫺ B
⫹B
兲M
⫺1/2C.
(48) From Eq.
共4
兲, we have q¨ ⫽ M
⫺1F ⫹ M
⫺1F
c⫽ a ⫹ M
⫺1F
c. Hence, the explicit equation of motion of the constrained system can be expressed as
q¨ ⫽ a ⫹ M
⫺1/2共A M
⫺1/2兲⫹共b ⫺ Aa
兲⫹M
⫺1/2共I ⫺ B
⫹B
兲M
⫺1/2C, (49) which is identical to the equation given by Udwadia and Kalaba
共Refs.
关11,12
兴兲. When C
⬅0, the constraint forces are ideal and D’Alembert’s principle is satisfied. Equation
共49
兲then reduces to the result given in Refs.
关9
兴and
关13
兴.
4 Examples
In this section, we provide examples that demonstrate the use of the equations of motion
共40
兲for systems with nonideal con- straints. The last example deals with a problem of sliding friction.
共
a
兲Consider a particle of unit mass traveling in a three- dimensional configuration space with ‘‘given’’ forces f
x(x, y ,z,t), f
y(x, y ,z,t) and f
z(x, y ,z,t) and satisfying the nonholonomic con- straint y˙ ⫽ z
2x˙ ⫹␣ g(x,t), where
␣is a constant and g(x,t) is a given function of x and t. The initial conditions are taken to be compatible with the nonholonomic constraint.
Since the mass of particle is unity, the unconstrained accelera- tion is given by
a ⫽ 冋 x¨ y¨ z¨ 册 ⫽ 冋 f f f
xyz共共共x, y ,z,t x, y ,z,t x, y ,z,t
兲兲兲册 . (50)
After differentiating the constraint equation with respect to time, we get
关
⫺ z
21 0
兴冋 x¨ y¨ z¨ 册 ⫽ 2zz˙x˙ ⫹␣ g
xx˙ ⫹
␣g
t, (51)
where g
xand g
tare partial derivatives of g(x,t) with respect to x and t, respectively. A comparison with Eqs.
共3
兲provides us
A ⫽关 ⫺ z
21 0
兴(52)
and
b ⫽ 2zz˙x˙ ⫹␣g
xx˙ ⫹␣ g
t. (53) Since M ⫽ I
3,
B ⫽ A M
⫺1/2⫽ A. (54)
In addition, the solution vectors v
1and v
2to Eq.
共12
兲are
V ⫽
关v
1v
2兴⫽冋 k z 1
21z k 1
22册 , (55)
where, k
1and k
2are arbitrarily chosen, with k
1⫽k
2, so that the column vectors v
1and v
2are linearly independent.
As previously shown in lemma 1, J ⫽ (D ⫹ E)
⫺1⫽ (B
TB
⫹ VV
T)
⫺1. By Eqs.
共54
兲and
共55
兲, we obtain
共with k
1⫽k
2)
J ⫽ 1
⌬
冋 k ⫺共12⫹ k k
1222k ⫹ ⫹ k z
14k
2共兲共2k z z
124⫺ ⫹ k 1
2兲兲2 z ⫺
4共k z
122⫹
共k 2k k
1⫹
22兲1k ⫹共 k
22兲共z k
2z
14⫺ ⫹ k 1
2兲兲2 ⫺ ⫺共 z
2k
共k 2
1⫹
1共⫹ z k
4k
2⫹
兲共2兲共1 z
兲4z
2⫹
4⫹ 1 1
兲兲册 ,
where
⌬⫽(k
1⫺ k
2)
2(z
4⫹ 1)
2. This gives
JB
T⫽ 1
共
z
4⫹ 1
兲冋 ⫺ 1 0 z
2册 . (56)
We could have, of course, started by choosing, say, k
1⫽ 1 and k
2⫽ 0 in Eq.
共55
兲; we would then have arrived at relation
共56
兲with much less algebra.
Suppose that the constraint force is nonideal and it does work under virtual displacements. Let us assume that the work done by the constraint force is given, for any virtual displacement, w, by
w
TF
c⫽⫺ w
Ta
0共u
Tu
兲共u/兩u兩兲 , (57) where u ⫽关 x˙ y˙ z˙
兴Tis the velocity of the particle,
兩u
兩⫽
冑u
Tu,
and a
0and
are constants. In this case, C is a known 3-vector, and can be written as
C ⫽⫺ a
0共u
Tu
兲共u/
兩u
兩兲⫽⫺a
0共x˙
2⫹ y˙
2⫹ z˙
2兲⫺1/2冋 x˙ y˙ z˙ 册 . (58)
After substituting Eqs.
共50
兲, and
共52
兲through
共58
兲in Eq.
共39
兲, we obtain
F
c⫽ 冉 2zz˙x˙ ⫹␣g
xx˙ z ⫹␣
4⫹ 1 g
t⫹ z
2f
x⫺ f
y冊 冋 ⫺ 1 0 z
2册
⫺ a
0共
x˙
2⫹ y˙
2⫹ z˙
2兲⫺1/2z
4⫹ 1 冋 z z˙ x˙
2共x˙ ⫹ 1 ⫹ ⫹ z z
2z y˙
44y˙
兲册 . (59)
From Eq.
共40
兲, the equation of motion of the constrained system is then 冋 y¨ x¨ z¨ 册 ⫽ 冋 f f f
xyz册 ⫹ 冉 2zz˙x˙ ⫹
␣g
xx˙ z ⫹␣
4⫹ 1 g
t⫹ z
2f
x⫺ f
y冊 冋 ⫺ 1 0 z
2册
⫺ a
0共
x˙
2⫹ y˙
2⫹ z˙
2兲⫺1/2z
4⫹ 1 冋 z z˙ x˙
2共x˙ 1 ⫹ ⫹ ⫹ z
2z z y˙
44y˙
兲册 . (60)
The first member on the right-hand side of Eq.
共60
兲is the im- pressed force. The second member is the constraint force that would be generated had the constraint been ideal, and the third member results from the nonideal nature of the constraint that is
described by Eq.
共57
兲. When
␣⫽0, and
⫽1, the equation of motion
共60
兲becomes identical to that given by Udwadia and Kalaba
关11
兴. We note that here the result is obtained without any reference to generalized inverses.
共
b
兲Consider a bead having a mass m. Suppose that it moves on a circular ring of radius R as shown in Fig. 1. The motion can be described by the coordinates (x, y ). The gravitational acceleration, g, is downwards. We assume that the initial conditions on the motion of the bead are compatible with the constraint that it lie on the ring.
Were the bead not constrained to lie on the ring, its uncon- strained acceleration would be
a ⫽
冋⫺ 0 g
册. (61)
In this problem, the constraint equation is x
2⫹ y
2⫽ R
2. After dif- ferentiating the constraint equation twice, we obtain
关
x y
兴冋x¨ y¨
册⫽⫺ x˙
2⫺ y˙
2, (62)
so that
A ⫽关 x y
兴, (63)
Fig. 1 A bead of mass, m, moving on a circular ring of radius,R
and
b ⫽⫺ x˙
2⫺ y˙
2. (64)
Since the mass matrix M ⫽ mI
2,
B ⫽ A M
⫺1/2⫽ m
⫺1/2关x y
兴. (65) For any virtual displacement w
⫽0 such that Aw ⫽ 0, we have w
⫽关
⫺x y 兴so that
V ⫽ M
1/2w ⫽ m
1/2冋⫺ y x
册. (66)
Using Eq.
共21
兲,
共65
兲and
共66
兲, we obtain JB
T⫽共 B
TB ⫹ VV
T兲⫺1B
T⫽ 1
m
3/2R
4冋xy x
2共m m
22⫹ ⫺ y 1
2兲xy y
2共m m
22⫹ ⫺ x 1
2兲册冋x y
册⫽ m
1/2R
2 冋x y
册. (67)
Suppose that the nonideal constraint force, due to the rough surface of the ring, is given by
w
TF
c⫽⫺ w
Th
共x,x˙,y , y˙ ,t
兲冑
x˙
2⫹ y˙
2 冋x˙ y˙
册, (68)
for any virtual displacement w, where h is a known function of x, x˙, y, y˙ , and t.
From the calculation in Eq.
共39
兲, the force of constraint on the bead can be expressed as
F
c⫽⫺ m
共x˙
2⫹ y˙
2⫺ y g
兲R
2 冋x y
册⫹ h
共x,x˙,y , y˙ ,t
兲冑
x˙
2⫹ y˙
2•
共xy˙ ⫺ y x˙
兲R
2 冋⫺ y x
册.
(69) Finally, by Eq.
共40
兲, the equation of motion of the constrained system is
冋
mx¨ my¨
册⫽
冋⫺ 0 mg
册⫺ m
共x˙
2⫹ R y˙
22⫺ y g
兲冋x y
册⫹ h
共x,x˙,y ,y˙ ,t
兲冑
x˙
2⫹ y˙
2•
共xy˙ ⫺ y x˙
兲R
2 冋⫺ y x
册. (70)
The first member on the right-hand side of Eq.
共70
兲is the given force acting on the unconstrained system; the second is the con- straint force that would have been generated had the constraint been ideal; and, the last member accounts for the nonideal nature of the constraint.
共
c
兲Consider a rigid block of mass m sliding on an inclined plane that oscillates in the vertical direction with amplitude
and frequency
, the coefficient of Coulomb friction between the plane and the surface of the block being
. See Fig. 2. We shall assume that the acceleration of the inclined plane is sufficiently small so that the block does not leave the surface of the plane as it moves under gravity.
In the absence of the inclined plane, the unconstrained equa- tions of motion of the block of mass m and under gravity can be written as
冋
m 0 m 0
册冋x¨ y¨
册⫽
冋mg 0
册, (71)
so that the acceleration, a, of the unconstrained system is given by a ⫽关 0 g
兴T, and M ⫽ mI
2.
The unconstrained system is then subjected to the constraint, namely that the block must lie on the vibrating inclined plane.
Hence, the constraint is given by the kinematic relation y (t)
⫽ x(t)tan
␣⫺sin
t, which can be expressed after differentiation with respect to time t as
关
⫺ tan
␣1
兴冋x¨ y¨
册⫽
2sin
t. (72)
Thus, A ⫽关 ⫺ tan
␣1
兴, and b is the scalar
2sin
t.
By Eq.
共8
兲, we have the virtual displacement
w ⫽ ␦
冋tan 1
␣册, (73)
where ␦ is any nonzero constant.
Hence, we get
V ⫽ v ⫽ M
1/2w ⫽ m
1/2␦
冋tan 1
␣册. (74)
Since B ⫽ A M
⫺1/2⫽ m
⫺1/2A, using Eq.
共21
兲, we have JB
T⫽共 B
TB ⫹ VV
T兲⫺1B
T⫽
冉m
⫺1冋⫺ tan 1
␣册关⫺tan
␣1
兴⫹ m ␦
2冋tan 1
␣册关1 tan
␣兴冊⫺1冉m
⫺1/2冋⫺ tan 1
␣册冊,
which can be simplified to
JB
T⫽ m
1/2cos
2␣冋⫺ tan 1
␣册. (75)
Therefore, the force of constraint, were the constraint to be ideal, would then be given by
F
ic⫽ M
1/2JB
T共b ⫺ Aa兲⫽ m cos
2␣冋tan ⫺ 1
␣册共g ⫺
2sin
t兲 .
(76) In the presence of Coulomb friction, the magnitude of the fric- tional force is
兩Fic兩, where 兩
z兩⫽⫹
冑z
Tz. We note that Cou-
lomb’s law of friction is an approximate empirical relation
共see Ref.
关18
兴兲. The relative velocity of the block with respect to the inclined plane is given by q˙ ⫽关 x˙ x˙ tan
␣兴T. The frictional force is in a direction opposite that of this relative velocity. The work done by Coulomb friction under a virtual displacement w is then W ⫽⫺ w
T冉兩Fic兩兩q˙ q˙
兩冊, (77)
so that
C ⫽⫺兩 F
ic兩q˙
兩
q˙
兩⫽ ⫺
兩F
ic兩兩
x˙
兩sec
␣冋x˙ tan x˙
␣册⫽⫺兩F
ic兩cos␣冋tan 1
␣册s,
(78) where, s ⫽ sgn(x˙).
Relation
共76
兲yields
Fig. 2 A block sliding under gravity on an inclined plane„0Ë␣ ËÕ2… that is vibrating vertically with amplitude  and fre- quency . The coefficient of Coulomb friction between the plane and the block is.