Docsity

Dynamic Force Analysis with Matlab - Lecture Notes | MECH 6710, Study notes of Mechanical Engineering

Toggle sidebar
bg1
Dynamic Force Analysis with Matlab 0
Contents
4 Dynamic Force Analysis 1
4.1 Equation of Motion for General Planar Motion . . . . . . . . . 1
4.2 D’Alembert’s Principle . . . . . . . . . . . . . . . . . . . . . . 8
4.3 Free-Body Diagrams . . . . . . . . . . . . . . . . . . . . . . . 10
4.4 Force Analysis Using Dyads . . . . . . . . . . . . . . . . . . . 11
4.5 Force Analysis Using Contour Method . . . . . . . . . . . . . 14
4.6 R-RRT (slider-crank) Mechanism . . . . . . . . . . . . . . . . 15
4.6.1 Newton-Euler Equations of Motion . . . . . . . . . . . 20
4.6.2 D’Alembert’s Principle . . . . . . . . . . . . . . . . . . 25
4.6.3 DyadMethod....................... 30
4.6.4 Contour Method . . . . . . . . . . . . . . . . . . . . . 32
4.7 R-RTR-RTR Mechanism . . . . . . . . . . . . . . . . . . . . . 38
4.7.1 Newton-Euler Equations of Motion . . . . . . . . . . . 46
4.7.2 DyadMethod....................... 54
4.7.3 Contour Method . . . . . . . . . . . . . . . . . . . . . 60
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46

Partial preview of the text

Download Dynamic Force Analysis with Matlab - Lecture Notes | MECH 6710 and more Study notes Mechanical Engineering in PDF only on Docsity!

Contents

  • 4 Dynamic Force Analysis
    • 4.1 Equation of Motion for General Planar Motion
    • 4.2 D’Alembert’s Principle
    • 4.3 Free-Body Diagrams
    • 4.4 Force Analysis Using Dyads
    • 4.5 Force Analysis Using Contour Method
    • 4.6 R-RRT (slider-crank) Mechanism
      • 4.6.1 Newton-Euler Equations of Motion
      • 4.6.2 D’Alembert’s Principle
      • 4.6.3 Dyad Method
      • 4.6.4 Contour Method
    • 4.7 R-RTR-RTR Mechanism
      • 4.7.1 Newton-Euler Equations of Motion
      • 4.7.2 Dyad Method
      • 4.7.3 Contour Method

4 Dynamic Force Analysis

For a kinematic chain it is important to know how forces and moments are transmitted from the input to the output, so that the links can be properly designated. The friction effects are assumed to be negligible in the force analysis presented here.

4.1 Equation of Motion for General Planar Motion

Consider a system of N particles. A particle is an object whose shape and geometrical dimensions are not significant to the investigation of its motion. An arbitrary collection of matter with total mass m can be divided into N

particles, the ith particle having mass, mi [Fig. 4.1(a)] m =

∑^ N

i=

mi.

A rigid body can be considered as a collection of particles in which the number of particles approaches infinity and in which the distance between any two points remains constant. As N approaches infinity, each particle is treated as a differential mass element, mi → dm, and the summation is

replaced by integration over the body m =

∫

body

dm.

The position of the mass center of a collection of particles is defined by

rC =

m

∑^ N

i=

miri, (4.1)

where ri = rOPi = rPi is the position vector from the origin O to the ith particle. The particle i is located at the point Pi. As N → ∞, the summation is replaced by integration over the body

rC =

m

∫

body

r dm, (4.2)

where r is the vector from the origin O to differential element dm. The time derivative of Eq. (4.1) gives

∑^ N

i=

mi

d^2 ri dt^2

= m

d^2 rC dt^2

= maC , (4.3)

where aC is the acceleration of the mass center. The acceleration of the mass center can be related to the external forces acting on the system. This

It results

1 m

∫

body

q dm = 0 , (4.8)

that is the weighed average of the displacement vector about the mass center is zero. The equation of motion for the differential element dm is

a dm = dF,

where d F is the total force acting on the differential element. For the entire body ∫

body

a dm =

∫

body

dF = F, (4.9)

where F is the resultant of all forces. This resultant contains contributions only from the external forces, as the internal forces cancel each other. Intro- ducing Eq. (4.7) into Eq. (4.9), the Newton’s second law for a rigid body is obtained m aC = F

The derivation of the equations of motion is valid for the general motion of a rigid body. These equations are equally applicable to planar and three- dimensional motions. Resolving the sum of the external forces into cartesian rectangular com- ponents

F = Fx ı + Fy  + Fz k,

and the position vector of the mass center

rC = xC (t) ı + yC (t)  + zC (t) k,

Newton’s second law for the rigid body is

m¨rC = F, (4.10)

or

mx¨C = Fx, my¨C = Fy, m¨zC = Fz. (4.11)

Angular Momentum Principle for a System of Particles The total angular momentum of the system of N particles [Fig. 4.1(a)] about its mass center C, is the sum of the angular momenta of the particles about C

HC =

∑^ N i=

rCPi × mivi, (4.12)

where vi =

dri dt

is the velocity of the particle Pi.

The total angular momentum of the system about O is the sum of the angular momenta of the particles

HO =

∑^ N

i=

ri × mivi =

∑^ N

i=

(rC + rCPi ) × mivi = rC × mvC + HC , (4.13)

or the total angular momentum about O is the sum of the angular momentum about O due to the velocity vC of the mass center of the system and the total angular momentum about the mass center. The rate of change of the angular momentum about O equals the sum of the moments about O due to external forces and couples

dHO dt

∑ MO. (4.14)

Using Eqs. (4.13) and (4.14), the following result is obtained

∑ MO =

d dt

(rC × mvC + HC ) = rC × maC +

dHC dt

where aC is the acceleration of the mass center. With the relation ∑ MO =

∑ MC + rC × F =

∑ MC + rC × maC ,

Eq. (4.15) becomes

dHC dt

∑ MC. (4.16)

The rate of change of the angular momentum about the mass center equals the sum of the moments about the mass center.

For general planar motion the angular acceleration is α = ˙ω = θ¨k, where the angle θ describes the position, or orientation, of the rigid body about a fixed axis. If the rigid body is a plate moving in the plane of motion (X, Y ), the mass moment of inertia of the rigid body about z-axis through C becomes the polar mass moment of inertia of the rigid body about C, ICzz = IC. For this case the Eq. (4.20) gives

IC α =

∑ MC. (4.21)

A special application of Eq. (4.21) is for rotation about a fixed point. Consider the special case when the rigid body rotates about the fixed point O as shown in Fig. 4.2(b). It follows that the acceleration of the mass center is expressed as

aC = α × rC − ω^2 rC. (4.22)

The relation between the sum of the moments of the external forces about the fixed point O and the product ICzz α is given by Eq. (4.19) ∑ MO = rC × maC + ICzz α. (4.23)

Equations (4.22) and (4.23) give ∑ MO = rC × m (α × rC − ω^2 rC ) + ICzz α = m rC × (α × rC ) + ICzz α = m [(rC · rC )α − (rC · α)rC ] + ICzz α = m r^2 C α + ICzz α = (m r^2 C + ICzz )α. (4.24)

According to parallel-axis theorem

IOzz = ICzz + m r^2 C ,

where IOzz denotes the mass moment of inertia of the rigid body about z-axis through O. For the special case of rotation about a fixed point O one can use the formula

IOzz α =

∑ MO. (4.25)

The general equations of motion for a rigid body in plane motion are (Fig. 4.3)

F = m aC or F = m¨rC , (4.26) ∑ MC = ICzz α, (4.27)

or using the cartesian components

m¨xC =

∑ Fx, my¨C =

∑ Fy, ICzz θ¨ =

∑ MC. (4.28)

Equations (4.26) and (4.27) are interpreted in two ways

  1. The forces and moments are known and the equations are solved for the motion of the rigid body (direct dynamics).
  2. The motion of the RB is known and the equations are solved for the force and moments (inverse dynamics).

The dynamic force analysis in this chapter is based on the known motion of the mechanism.

With d’Alembert’s principle the moment summation can be about any arbi- trary point P

∑ TP =

∑ MP + Min + rP C × Fin = 0 , (4.36)

where

∑ MP is the sum of all external moments about P ,

  • Min is the inertia moment,
  • Fin is the inertia force, and
  • rP C is a vector from P to C. The dynamic analysis problem is reduced to a static force and moment bal- ance problem where the inertia forces and moments are treated in the same way as external forces and moments.

4.3 Free-Body Diagrams

A free-body diagram is a drawing of a part of a complete system, isolated in order to determine the forces acting on that rigid body. The following force convention is defined: Fij represents the force exerted by link i on link j. Figure 4.4 shows various free-body diagrams that are considered in the anal- ysis of a slider-crank mechanism Fig. 4.4(a). In Fig. 4.4(b), the free body consists of the three moving links isolated from the frame 0. The forces acting on the system include an external driven force F, and the forces transmitted from the frame at joint A, F 01 , and at joint C, F 03. Figure 4.4(c) is a free-body diagram of the two links 1 and 2 and Fig. 4.4(d) is a free-body diagram of the two links 0 and 1. Figure 4.4(e) is a free-body diagram of crank 1 and Fig. 4.4(f) is a free-body diagram of slider

The force analysis can be accomplished by examining individual links or a subsystem of links. In this way the joint forces between links as well as the required input force or moment for a given output load are computed.

RRT dyad Figure 4.5(b) shows an RRT dyad with the unknown joint reaction forces F 12 , F 43 , and F 23 = −F 32. The joint reaction force F 43 is perpendicular to the sliding direction F 43 ⊥ ∆ or

F 43 · ∆ = (F 43 xı + F 43 y) · (cos θı + sin θ) = 0. (4.41)

In order to determine F 12 and F 43 the following equations are written

  • sum of all the forces on links 2 and 3 is zero ∑ F(2&3)^ = F 12 + Fin 2 + G 2 + Fin 3 + G 3 + F 43 = 0 ,

or

∑ F(2&3)^ · ı = F 12 x + Fin 2 x + Fin 3 x + F 43 x = 0, (4.42) ∑ F(2&3)^ ·  = F 12 y + Fin 2 y − m 2 g + Fin 3 y − m 3 g + F 43 y = 0. (4.43)

  • sum of moments of all the forces and the moments on link 2 about C is zero

∑ M(2) C = (rB − rC ) × F 12 + (rC 2 − rC ) × (Fin 2 + G 2 ) + Min 2 = 0. (4.44)

The components F 12 x, F 12 y, F 43 x, and F 43 y are calculated from Eqs. (4.41), (4.42), (4.43), and (4.44). The reaction force components F 32 x and F 32 y are computed from the sum of all the forces on link 2

∑ F(2)^ = F 12 + Fin 2 + G 2 + F 32 = 0 or F 32 = −F 12 − Fin 2 − G 2.

RTR dyad The unknown joint reaction forces F 12 and F 43 are calculated from the rela- tions [Fig. 4.5(c)]

  • sum of all the forces on links 2 and 3 is zero ∑ F(2&3)^ = F 12 + Fin 2 + G 2 + Fin 3 + G 3 + F 43 = 0 ,

or

∑ F(2&3)^ · ı = F 12 x + Fin 2 x + Fin 3 x + F 43 x = 0, (4.45) ∑ F(2&3)^ ·  = F 12 y + Fin 2 y − m 2 g + Fin 3 y − m 3 g + F 43 y = 0. (4.46)

  • sum of the moments of all the forces and moments on links 2 and 3 about B is zero

∑ M (2&3) B = (rD^ −^ rB^ )^ ×^ F^43 + (rC^3 −^ rB^ )^ ×^ (Fin^3 +^ G^3 ) +^ Min^3 +(rC 2 − rB ) × (Fin 2 + G 2 ) + Min 2 = 0. (4.47)

  • sum of all the forces on link 2 projected onto the sliding direction ∆ = cos θı + sin θ is zero

∑ F(2)^ · ∆ = (F 12 + F 2 ) · (cos θı + sin θ) = 0. (4.48)

The components F 12 x, F 12 y, F 43 x, and F 43 y are calculated from Eqs. (4.45), (4.46), (4.47), and (4.48). The force components F 32 x and F 32 y are computed from the sum of all the forces on link 2

∑ F(2)^ = F 12 + Fin 2 + G 2 + F 32 = 0 or F 32 = −(F 12 + Fin 2 + G 2 ).

4.6 R-RRT (slider-crank) Mechanism

Figure 4.7(a) is a schematic diagram of a R-RRT (slider-crank) mechanism comprised of a crank 1, a connecting rod 2, and a slider 3. The mechanism shown in the figure has the dimensions: AB = 1 m and BC = 1 m. The driver link 1 makes an angle φ = φ 1 = π/4 rad with the horizontal axis and rotates with a constant speed of n = 30/π rpm. The point A is selected as the origin of the xyz reference frame. The position vectors of the joints B and C are

rB = xB ı + yB  =

ı +

 m and rC = xC ı + yC  =

2 ı + 0 m.

The angular velocities of links 1 and 2 are

ω 1 = ω 1 k = 1 k rad/s and ω 2 = ω 2 k = − 1 k rad/s.

The angular accelerations of link 1 and 2 are α 1 and α 2. For this particular configuration of the mechanism α 1 = α 2 = 0. The velocity and acceleration of B are

vB = −

ı +

 m/s and aB = −

ı −

 m/s^2.

The velocity and acceleration of C are

vC = −

2 ı m/s and aC = −

2 ı m/s^2.

The center of mass of link 1 is C 1 , the center of mass of link 2 is C 2 , and the center of mass of slider 3 is C. The position vectors of the Ci, i = 1, 2 , 3 are

rC 1 = rB /2 = xC 1 ı + yC 1  =

ı +

 m,

rC 2 = (rB + rC )/2 = xC 2 ı + yC 2  =

ı +

 m,

rC 3 = rC = xC 3 ı + yC 3  =

2 ı m.

The acceleration vectors of the Ci, i = 1, 2 , 3 are

aC 1 = aB /2 = aC 1 x ı + aC 1 y  = −

ı −

 m/s^2 ,

aC 2 = (aB + aC )/2 = aC 2 x ı + aC 2 y  = −

ı −

 m/s^2 ,

aC 3 = aC = aCx ı + aCy  = −

2 ı m/s^2.

The Matlab commands for the kinematics of the mechanism (positions, ve- locities, and accelerations) are

AB = 1; BC = 1; phi = 45(pi/180); xA = 0; yA = 0; rA = [xA yA 0]; xB = ABcos(phi); yB = ABsin(phi); rB = [xB yB 0]; yC = 0; xC = xB+sqrt(BC^2-(yC-yB)^2); rC = [xC yC 0]; n = 30/pi; omega1 = [ 0 0 pin/30 ]; alpha1 = [0 0 0 ]; vA = [0 0 0 ]; aA = [0 0 0 ]; vB1 = vA + cross(omega1,rB); vB2 = vB1; aB1 = aA + cross(alpha1,rB) - dot(omega1,omega1)rB; aB2 = aB1; omega2z = sym(’omega2z’,’real’); vCx = sym(’vCx’,’real’); omega2 = [ 0 0 omega2z ]; vC = [ vCx 0 0 ]; eqvC = vC - (vB2 + cross(omega2,rC-rB)); eqvCx = eqvC(1); eqvCy = eqvC(2); solvC = solve(eqvCx,eqvCy); omega2zs=eval(solvC.omega2z); vCxs=eval(solvC.vCx); Omega2 = [0 0 omega2zs]; vCs = [vCxs 0 0]; alpha2z = sym(’alpha2z’,’real’); aCx = sym(’aCx’,’real’); alpha2 = [ 0 0 alpha2z ]; aC = [aCx 0 0 ]; eqaC = aC - (aB1 + cross(alpha2,rC-rB) - dot(Omega2,Omega2)(rC-rB)); eqaCx = eqaC(1); eqaCy = eqaC(2); solaC = solve(eqaCx,eqaCy); alpha2zs=eval(solaC.alpha2z); aCxs=eval(solaC.aCx); alpha20 = [0 0 alpha2zs]; aCs = [aCxs 0 0]; alpha30 = [0 0 0]; rC1 = (rA+rB)/2; fprintf(’rC1 = [ %g, %g, %g ] (m)\n’, rC1); rC2 = (rB+rC)/2; fprintf(’rC2 = [ %g, %g, %g ] (m)\n’, rC2); rC3 = rC; fprintf(’rC3 = [ %g, %g, %g ] (m)\n’, rC3); aC1 = aB1/2; fprintf(’aC1 = [ %g, %g, %g ] (m/s^2\n’, aC1 ) ; aC2 = (aB1+aCs)/2; fprintf(’aC2 = [ %g, %g, %g ] (m/s^2)\n’, aC2 ) ; aC3 = aCs; fprintf(’aC3 = [ %g, %g, %g ] (m/s^2)\n’, aC3 ) ;

The external driven force Fext applied on link 3 is opposed to the motion of the link (opposed to vC ). Because vC = −

2 ı m/s, the external force vector will be Fext = [−Sign(vC )] 100 ı = 100 ı N.

The moment of inertia on link 1 is

Min 1 = −IC 1 α 1 = 0.

Link 2 The mass of connecting rod 2 is

m 2 = ρ 2 BC h d,

where the density of the material of link 2 is ρ 2. For the simplicity of calcu- lations m 2 = 1 kg. The inertia force on link 2 at C 2 is

Fin 2 = −m 2 aC 2 =

ı +

 N.

The gravitational force on link 2 at C 2 is

G 2 = −m 2 g  = − 10  N.

The total force on link 2 at the mass center C 2 is

F 2 = Fin 2 + G 2 =

ı + (

− 10) N.

The mass moment of inertia of link 2 is

IC 2 = m 2 (BC^2 + h^2 )/12 = 0.0833417 kg · m^2.

The moment of inertia on link 2 is

Min 2 = −IC 2 α 2 = 0.

Link 3 The mass of the link 3 is

m 3 = ρ 3 hSlider wSlider d,

where the density of the material of link 3 is ρ 3. For the simplicity of calcu- lations m 3 = 1 kg. The inertia force on link 3 at C 3 = C is

Fin 3 = −m 3 aC 3 =

2 ı N.

The gravitational force on link 3 at C 3 = C is

G 3 = −m 3 g  = − 10  N.

The total force on link 3 at the mass center C is

F 3 = Fin 3 + G 3 =

2 ı − 10  N.

The mass moment of inertia of slider 3 is

IC 3 = m 3 (h^2 Slider + w Slider^2 )/12 = 0.0000166667 kg · m^2.

The moment of inertia on slider 3 is

Min 3 = −IC 3 α 3 = 0.

The Matlab commands for the forces and moments of inertia are

m1 = 1; IC1 = m1(AB^2+h^2)/12; G1 = [ 0 -m1g 0 ]; Fin1 = - m1aC1; Min1 = - IC1alpha1; m2 = 1; IC2 = m2(BC^2+h^2)/12; G2 = [ 0 -m2g 0 ]; Fin2 = - m2aC2; Min2 = - IC2alpha20; m3 = 1 ; IC3 = m3(hSlider^2+wSlider^2)/12; G3 = [ 0 -m3g 0 ]; Fin3 = - m3aC3; Min3 = - IC3alpha30;

For a given value of the crank angle φ (φ = π/4) and a known driven force Fext find the joint reactions and the drive moment M on the crank.