Please help, please write a MATLAB code for part (a) in question 3 to plot the road displacement and position
Posted: Tue May 17, 2022 9:30 pm
Please help, please write a MATLAB code for part (a) in
question 3 to plot the road displacement and position
Consider the two-mass, quarter-car model of a suspension system from class (week 3) with Body m Suspension mı = 300kg m2 = 44kg K70x2-x) k m Wheel 迷望 I x ki = 1.2 x 104N Road Troy- m N k2 = 1.1 x 100 m Datum level N.S (al (b) ci = 3050 m 1. Write a MATLAB function to use with ode45 for this system 2. Write a MATLAB script to numerically integrate the system using ode45 3. Use your codes to study the vehicle as it goes over a speed hump at various speeds. In all simulations, use zero initial conditions. The road profile is given as 0 0<t< y(t) = {hsin ( (t-1)) <t< dłL 0 t> 4+1 where the forward velocity of the car is v, the initial distance to the bump is d, and the length of the bump is L. For a standard highway road profile according to IRC-99-1988, L = 3.7m and h = 0.1m. Investigate for v = 15, 25, and 45mph. To align the simulations, let's have each vehicle be 1 second from the speed hump (i.e. d=v. 15). (a) Plot the position of mass 1 and the road displacement for each velocity (3 plots in total)
question 3 to plot the road displacement and position
Consider the two-mass, quarter-car model of a suspension system from class (week 3) with Body m Suspension mı = 300kg m2 = 44kg K70x2-x) k m Wheel 迷望 I x ki = 1.2 x 104N Road Troy- m N k2 = 1.1 x 100 m Datum level N.S (al (b) ci = 3050 m 1. Write a MATLAB function to use with ode45 for this system 2. Write a MATLAB script to numerically integrate the system using ode45 3. Use your codes to study the vehicle as it goes over a speed hump at various speeds. In all simulations, use zero initial conditions. The road profile is given as 0 0<t< y(t) = {hsin ( (t-1)) <t< dłL 0 t> 4+1 where the forward velocity of the car is v, the initial distance to the bump is d, and the length of the bump is L. For a standard highway road profile according to IRC-99-1988, L = 3.7m and h = 0.1m. Investigate for v = 15, 25, and 45mph. To align the simulations, let's have each vehicle be 1 second from the speed hump (i.e. d=v. 15). (a) Plot the position of mass 1 and the road displacement for each velocity (3 plots in total)