1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Vibration Simulation using MATLAB and ANSYS C09

16 119 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 16
Dung lượng 237,49 KB

Nội dung

Vibration Simulation using MATLAB and ANSYS C09 Transfer function form, zpk, state space, modal, and state space modal forms. For someone learning dynamics for the first time or for engineers who use the tools infrequently, the options available for constructing and representing dynamic mechanical models can be daunting. It is important to find a way to put them all in perspective and have them available for quick reference.

CHAPTER TRANSIENT RESPONSE: MODAL FORM 9.1 Introduction The transient response example shown in Figure 9.1 will be solved by hand, using the modal analysis method derivation from Chapter As in the frequency response analysis in the previous chapter, we will again start with the eigenvalues and eigenvectors from Chapter We will use them to transform initial conditions and forces to principal coordinates and write the equations of motion in principal coordinates Laplace transforms will be used to solve for the motions in principal coordinates and we will then back transform to physical coordinates Once again, the individual mode contributions to the overall transient response of each of the masses will be evident The closed form solution is then coded in MATLAB and the results plotted, highlighting the individual mode contributions 9.2 Review of Previous Results The applied step forces are as shown in Figure 9.1 and the initial conditions of position and velocity for each of the three masses are shown in Table 9.1 From previous results, (7.86) to (7.88), we know the eigenvalues and eigenvectors normalized with respect to mass, z n : ω1 = 0, ω2 =     zn =  m    © 2001 by Chapman & Hall/CRC k 3k , ω3 = m m 1 −1   6 −2   6    (9.1) (9.2) z1 m1 F1 k1 z2 F2 m2 k2 z3 F3 m3 Figure 9.1: Step forces applied to tdof system Mass Mass z o1 = z& o1 = −1 z o2 = −1 z& o2 = Mass z o3 = z& o3 = −2 Table 9.1: Initial conditions applied to tdof system By inspection, the mass and stiffness matrices in principal coordinates can be written as: 1 0  m p = 0  , 0  0 0  k k p =   0  m 0 3 (9.3) 9.3 Transforming Initial Conditions and Forces 9.3.1 Transforming Initial Conditions The initial condition vectors are transformed to principal coordinates by: z& po = z −n1z& o z po = z −n1z o The inverse of z n , found using a symbolic algebra program: © 2001 by Chapman & Hall/CRC (9.4)     z −n1 = m      3 2 6     m      3 2 6     m      3 2 6 z po = z −n1z o = z& po = z −n1z& o = 3 − 3 − 3 − 3    − 2      (9.5)    − 2            0  −1 = m  −                 − 2       −      −     = m   (9.7)        −2   −7      (9.6) 9.3.2 Transforming Forces The force vector in principal coordinates is:     T Fp = z n F =  m     1 −2 6   3 −1   2    − 3        0 =       m    −2  −      (9.8) 9.4 Complete Equations of Motion in Principal Coordinates Now the equations in principal coordinates can be written in matrix form: © 2001 by Chapman & Hall/CRC z p1  1 0   &&  k 0  &&    z p2  +  m  0  && z p3  0 0  0    0 3 − 3     z p1     3   z p2  =    m  z p3     −      (9.9) With initial conditions: z po −              −  & = m  , z po = m         −7          (9.10) Summarizing the equations in tabular form: Equations of Motion, Principal Coordinates && z p1 = − Displacement Initial Conditions: Principal Coordinates z p1o = m k && z p2 +   z p = m m   z p2o = − 2m −  3k  &&z p3 +   z p3 = m m z p3o = 6m Velocity Initial Conditions: Principal Coordinates − 3m z& p1o = z& p 2o = z& p3o = 2m −7 6m Table 9.2: Equations of motion and initial conditions in principal coordinates © 2001 by Chapman & Hall/CRC 9.5 Solving Equations of Motion Using Laplace Transform We will now take the Laplace transform of each equation and solve for the transient response resulting from a combination of the forcing function and the initial conditions Note that taking the Laplace transform of first and second order differential equations (DE) with initial conditions is (Appendix 2): First Order DE: Second Order DE: & } = sX(s) − x(0) L {x(t) & L {&& x(t)} = s X(s) − sx(0) − x(0) (9.11) (9.12) Solving for z p1 using Laplace transforms: &&z p1 = − (9.13) m s z p1 (s) − sz p1 (0) − z& p1 (0) = − s3 m  − 3m  − s z p1 (s) − s(0) −  =   s3 m   s z p1 (s) = z p1 (s) = = = − s3 m − 3 s m −1 s 3m − 3m −1 s3 3m − 3m 3s − 3m 3s − 3m 3s Back-transforming to time domain, noting that: © 2001 by Chapman & Hall/CRC (9.14) (9.15) (9.16) (9.17) tn → z p1 (t) = n! 2! or t = ( +1) n +1 s s −t Forced Re sponse 3m +0 − (9.18) Initial Displacement 3m t (9.19) (Initial Velocity) x (Time) Substituting m = 1, k = 1: z p1 = −t 2 − 3t (9.20) Solving for z p2 using Laplace transforms: k &&z p2 +   z p = m m (9.21) k s z p2 (s) − sz p2 (0) − z& p2 (0) +   z p2 (s) = ms m (9.22)  − 2m  2m  k  s z p2 (s) − s  − +   z p2 (s) =   2 ms m   (9.23)  2m 2m  k   s 2m z p2 (s) s +    = − + = + ( −s + 1) 2 s2 m  m   s2 m  (9.24)  2m  2m s   + z p2 (s) = m −  , k k  k s + s2 + ss +  m m m  Back-transforming to the time domain: © 2001 by Chapman & Hall/CRC ω3,4 = k m (9.25) z p2 (t) =  1 2m  ω2  o   sin ( ω2 t + 90 )  (1 − cos ω2 t )  − 14 244 ω m  ω2   2 cos(ω2 t) (9.26) 2m + sin ( ω2 t ) ω2 Substituting m = k = 1, ω2 =1: z p2 (t) = 3 2 − cos(t) − cos(t) + sin(t) 2 2 (9.27) Solving for z p3 using Laplace transforms: && z p3 + ω32 z p3 = − (9.28) m s z p3 (s) − sz p3 (0) − z& p3 (0) + ω32 z p3 (s) = − 6s m  6m   −7 6m  s z p3 (s) + ω32 z p3 (s) − s  −  =     6s m    z p3 (s) ( s + ω32 ) = z p3 (s) = − 6s m + s 6m 6m −   −  6m  s 6m    − + 2 2  ( s + ω3 )  m  s ( s + ω3 )  ( s + ω32 )   (9.29) (9.30) (9.31) (9.32) Back-transforming to the time domain: z p3 (t) =  − 1  (1 − cos ω3 t )  ω m  6m  ω3  6m o sin ω3 t +   sin ( ω3 t + 90 ) −  ω3  144244 ω3 cos (ω3 t) (9.33) © 2001 by Chapman & Hall/CRC Substituting m = k = 1, ω32 = z p3 (t) = = Note: 3k : m 6 − cos( 3t) + cos( 3t) − + 18 18 6 sin( 3t)  −1  sin( 3t)  + cos( 3t) + 3cos( 3t) −  3 3  − 26 − − 3 = −2 and (9.34) = 3 = Now that the displacements in principal coordinates are available, they can be plotted to see the motions of each individual mode of vibration Displacements in principal coordinates can be back-transformed to physical coordinates: z = zn zp   3t −t −   3   z p1     3 2    − z p =  z p2  =  cos t − cos t + sin t 2 2   z p3       6 − + cos 3t + cos 3t − sin 3t   18 18        z = zn zp =      1 −1 (9.35) (9.36)  3t −t  −   3 6   −2   3 2   − − + cos t cos t sin t  2 2  6   6   − + + − cos 3t cos 3t sin 3t     18 18  (9.37) © 2001 by Chapman & Hall/CRC Rewriting the equations to highlight the contributions to the total motion in physical coordinates of each mode:  z1   z n11 z =  z  =  z n 21  z   z n31 z n12 z n 22 z n32 z n13  z n 23  z n33   z p1    zp   z p3    (9.38) z1 = z n11 z p1 + z n12 z p2 + z n13 z p3 123 123 123 Mode contributions to total z1 motion z = z n 21z p1 + z n 22 z p2 + z n 23 z p3 123 123 123 Mode contributions to total z motion z = z n31z p1 + z n32 z p + z n33 z p3 123 123 123 Mode contributions to total z motion 1st mod e 1st mod e 1st mod e 2nd mod e 2nd mod e 2nd mod e 3rd mod e 3rd mod e 3rd mod e (9.39a,b,c) Because the first mode motion for each degree of freedom is rigid body, and its displacement eventually goes to infinity, it masks the vibration motion of the second and third modes for long time period simulations If the first mode (rigid body) motion is subtracted from the total motion of z1, z2, and z3, the motion due to the vibration can be seen, as shown in Figure 9.8 9.6 MATLAB code tdof_modal_time.m – Time Domain Displacements in Physical/Principal Coordinates 9.6.1 Code Description The MATLAB code tdof_modal_time.m is used to plot the displacements versus time in principal coordinates using (9.19), (9.27) and (9.34) with m = k =1 Displacements in physical coordinates are obtained by premultiplying principal displacements by the modal matrix © 2001 by Chapman & Hall/CRC 9.6.2 Code Results Displacements in Principal Coordinate System 10 Displacements -5 -10 -15 -20 -25 zp1 zp2 zp3 -30 -35 Time, sec 10 Figure 9.2: Displacements in principal coordinates, motion of the three modes of vibration The initial conditions in principal coordinates were 0, −0.707 and 1.225 for z p1 , z p and z p3 , respectively, which match the results shown in Figure 9.3 Displacements in Principal Coordinate System 1.5 Displacements 0.5 -0.5 -1 zp1 zp2 zp3 -1.5 -2 0.1 0.2 0.3 0.4 0.5 0.6 Time, sec 0.7 0.8 0.9 Figure 9.3: Displacements in principal coordinates, expanded vertical scale to check initial conditions © 2001 by Chapman & Hall/CRC Plotting the displacements in physical coordinates, where the initial displacement conditions in physical coordinates were 0, −1 and for z1 , z and z3 , respectively Displacements in Physical Coordinate System Displacements -5 -10 -15 -20 -25 z1 z2 z3 Time, sec 10 10 Figure 9.4: Displacement in physical coordinates Displacement of dof for Modes 1, and Displacements -5 -10 -15 -20 -25 Mode Mode Mode 3 Time, sec Figure 9.5: Displacements of mass for all three modes of vibration © 2001 by Chapman & Hall/CRC Displacement of dof for Modes 1, and Displacements -5 -10 -15 -20 -25 Mode Mode Mode 3 Time, sec 10 Figure 9.6: Displacements of mass for all three modes of vibration Displacement of dof for Modes 1, and Displacements -5 -10 -15 -20 -25 Mode Mode Mode 3 Time, sec 10 Figure 9.7: Displacements of mass for all three modes of vibration © 2001 by Chapman & Hall/CRC Displacements of dof 1, and with Rigid Body Removed Vibration Displacements -1 -2 -3 dof dof dof -4 -5 Time, sec 10 Figure 9.8: Displacements in physical coordinates, with the rigid body motion removed to show more clearly the oscillatory motion of the three masses 9.6.3 Code Listing % tdof_modal_time.m hand solution of modal equations clf; clear all; % define time vector for plotting responses t = linspace(0,10,50); % solve for and plot the modal displacements zp1 = (-t.^2/(2*sqrt(3))) - sqrt(3)*t/3; zp2 = 3*sqrt(2)/2 - (3*sqrt(2)/2)*cos(t) - (sqrt(2)/2)*cos(t) + (sqrt(2)/2)*sin(t); zp3 = (sqrt(6)/6)*((-1/3) + (1/3)*cos(sqrt(3)*t) + 3*cos(sqrt(3)*t) - … (7/sqrt(3))*sin(sqrt(3)*t)); plot(t,zp1,'k+-',t,zp2,'kx-',t,zp3,'k-') title('Displacements in Principal Coordinate System') xlabel('Time, sec') ylabel('Displacements') legend('zp1','zp2','zp3',3) grid disp('execution paused to display figure, "enter" to continue'); pause © 2001 by Chapman & Hall/CRC axis([0 -2 2]) disp('execution paused to display figure, "enter" to continue'); pause % define the normalized modal matrix, m = zn = [1/sqrt(3) 1/sqrt(2) 1/sqrt(6) 1/sqrt(3) -2/sqrt(6) 1/sqrt(3) -1/sqrt(2) 1/sqrt(6)]; % % define the principal displacement matrix, column vectors of principal displacements at each time step zp = [zp1; zp2; zp3]; % multiply zn times zp to get z z = zn*zp; z1 = z(1,:); z2 = z(2,:); z3 = z(3,:); plot(t,z1,'k+-',t,z2,'kx-',t,z3,'k-') title('Displacements in Physical Coordinate System') xlabel('Time, sec') ylabel('Displacements') legend('z1','z2','z3',3) grid disp('execution paused to display figure, "enter" to continue'); pause % % define the motion of each each dof for each mode, zij below refers to the motion of dof "i" due to mode "j" z11 = zn(1,1)*zp1; z12 = zn(1,2)*zp2; z13 = zn(1,3)*zp3; z21 = zn(2,1)*zp1; z22 = zn(2,2)*zp2; z23 = zn(2,3)*zp3; z31 = zn(3,1)*zp1; z32 = zn(3,2)*zp2; z33 = zn(3,3)*zp3; plot(t,z11,'k+-',t,z12,'kx-',t,z13,'k-') title('Displacement of dof for Modes 1, and 3') © 2001 by Chapman & Hall/CRC xlabel('Time, sec') ylabel('Displacements') legend('Mode 1','Mode 2','Mode 3',3) grid disp('execution paused to display figure, "enter" to continue'); pause plot(t,z21,'k+-',t,z22,'kx-',t,z23,'k-') title('Displacement of dof for Modes 1, and 3') xlabel('Time, sec') ylabel('Displacements') legend('Mode 1','Mode 2','Mode 3',3) grid disp('execution paused to display figure, "enter" to continue'); pause plot(t,z31,'k+-',t,z32,'kx-',t,z33,'k-') title('Displacement of dof for Modes 1, and 3') xlabel('Time, sec') ylabel('Displacements') legend('Mode 1','Mode 2','Mode 3',3) grid disp('execution paused to display figure, "enter" to continue'); pause % % define the motion of each each dof with the rigid body motion for that mode subtracted z1vib = z1 - z11; z2vib = z2 - z21; z3vib = z3 - z31; plot(t,z1vib,'k+-',t,z2vib,'kx-',t,z3vib,'k-') title('Displacements of dof 1, and with Rigid Body Removed') xlabel('Time, sec') ylabel('Vibration Displacements') legend('dof 1','dof 2','dof 3',3) grid disp('execution paused to display figure, "enter" to continue'); pause tplot = t; plot(tplot,z1,'k+-',t,z2,'kx-',t,z3,'k-') title('Displacements of dof 1, and 3') xlabel('Time, sec') ylabel('Vibration Displacements') legend('dof 1','dof 2','dof 3',3) grid disp('execution paused to display figure, "enter" to continue'); pause save tdof_modal_time_z1z2z3 tplot z1 z2 z3 © 2001 by Chapman & Hall/CRC Problems Note: All the problems refer to the two dof system shown in Figure P2.2 P9.1 Using the equations, initial conditions and forcing functions from P7.4, solve for the closed form time domain response in principal coordinates using Laplace transforms Back transform to physical coordinates and identify the components of the response associated with each mode P9.2 (MATLAB) Modify the tdof_modal_time.m code for the two dof system and solve for the time domain responses in both principal and physical coordinates using the equations, initial conditions and forcing functions from P7.4 © 2001 by Chapman & Hall/CRC ... degree of freedom is rigid body, and its displacement eventually goes to infinity, it masks the vibration motion of the second and third modes for long time period simulations If the first mode... motion and initial conditions in principal coordinates © 2001 by Chapman & Hall/CRC 9.5 Solving Equations of Motion Using Laplace Transform We will now take the Laplace transform of each equation and. .. body) motion is subtracted from the total motion of z1, z2, and z3, the motion due to the vibration can be seen, as shown in Figure 9.8 9.6 MATLAB code tdof_modal_time.m – Time Domain Displacements

Ngày đăng: 05/05/2018, 09:36

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN