Question

An engineering company is designing and testing a car suspension system. The system has a conventional suspension design, consisting of a shock-absorber and spring at each wheel. The shock-absorber provides a damping effect that is proportional to the vertical speed (i.e. up and down motion) of the wheel, and the spring's resistance is proportional to the vertical displacement of the wheel.

The design team analyses the suspension system in two separate parts: Part 1 - dynamics of the spring-damper system; Part 2 - stress analysis of the coil spring.

PART 1

The company would like to investigate how the actual performance of the suspension system compares to that of theory. Dynamic theory states that the equation of motion of the wheel in the vertical direction can be expressed as,

  LaTeX: m\frac{d^2y}{dt^2}=-c\frac{dy}{dt}-ky or LaTeX: \frac{d^2y}{dt^2}+\frac{c}{m}\frac{dy}{dt}+\frac{k}{m}y=0

where m is the mass of the wheel, k is the spring stiffness and c is the damping coefficient.

This is a second order differential equation, and if for example, the car hits a hole at t = 0, such that it is displaced from its equilibrium position with y = y0, and dy/dt = 0, it will have a solution of the form,

v(t) -(o cosin(t)

where   4m2 and LaTeX: n=\frac{c}{2m} provided   LaTeX: \frac{k}{m}>\frac{c^2}{4m^2}

To analyse the actual performance of the design, the suspension system was built and tested with the following displacements of the wheel recorded during the time period of 2.6 and 3.1 seconds (this dataset is known to contain experimental error):

Time (s)

2.6

2.65

2.7

2.75

2.8

2.85

2.9

2.95

3

3.05

3.1

Displacement (mm)

0.074

0.094

0.106

0.113

0.127

0.145

0.145

0.148

0.154

0.162

0.158

The design team are interested if the dataset can be characterised by expressions which are less complex that the above theory.

PART 2

The design team performed stress analysis on the coil spring, and it was determined that the stress at a specific point could be characterised by:

stress pic.png

Similar calculations were performed to calculate the maximum principal stress at 250 locations along a non-linear path through the coil spring. The following frequency distribution of the calculated maximum principal stresses was produced:

Max. Principal Stress (MPa)

0.5

1

1.5

2

2.5

3

3.5

4

4.5

5

Frequency

10

15

19

24

36

50

42

29

20

5

The design team is interested in the significance of these results and therefore need to calculate the area under the graph which contains this dataset.

The design team believe any further calculations of principal stresses and determining the area under the graph will be time consuming (and potentially error prone), thus would like an automated method for performing this.

Submission

Create two separate MATLAB scripts for Part 1 and Part 2:

PART 1 - Create a MATLAB script which is capable of performing the following:

  • Plotting the theoretical displacement of the wheel which shows the first 6 roots when the suspension system has the following specifications:
    • mass acting on each wheel = 3.6 x 103 kg
    • c = 1.5 x 103 Ns/m
    • k = 1.5 x 104 N/m                          
    • initial displacement = 0.3 m
  • Calculating the time for the first 3 occasions the wheel passes through the equilibrium position (i.e. the root);
  • Plotting a graph of the experimental dataset of the wheel displacement;
  • Calculating the value of the coefficient of multiple determination (LaTeX: R^2 R 2 ) and the standard error (LaTeX: \sigma_E σ E ) when presuming the experimental dataset is:
    • Linear (i.e. LaTeX: y=a+bx y = a + b x )
    • Characterised by a saturation growth equation (i.e. LaTeX: y=\frac{ax}{b+x} y = a x b + x )

PART 2 – Create a MATLAB script that is capable for performing the following:

  • Calculating the maximum principal stress at the specific point shown;
  • Plot the frequency distribution of the calculated maximum principal stresses and fit a natural spline through the dataset;
  • Calculate the area under the natural spline (between the data points).

Make sure all sections of the MATLAB script are annotated to explain the role of each line within the script.



v(t) -(o cosin(t)
4m2






0 0
Add a comment Improve this question Transcribed image text
Answer #1

PART --- 1

Code :=

%%%%%%%%%% Theroritical Ploting and Roots %%%%%%%%%%%%%
m = 3.6*10^3; c = 1.5*10^3;   k = 1.5*10^4; y0 = 0.3;
p = sqrt((k/m)-(c^2/(4*m^2)));
n = c/(2*m);
y = @(t) exp(-n*t).*(y0*cos(p*t) + y0*(n/p)*sin(p*t));

t = linspace(0,15);
plot(t,y(t))    % ploting theritical displacement
yline(0);       % Ploting zero line to identify root locations
xlabel("Time [s]"); ylabel("Displacement [m]"); title("Theoritical Plot")
% Form figure it's evident that first 3 roots are near 0.5, 2 and 4
% To calculate exact values we will use fzero function
root1 = fzero(y,0.5);   % 1st root using initial guess of 0.5
root2 = fzero(y,2);     % 2nd root using initial guess of 2
root3 = fzero(y,4);     % 3rd root using initial guess of 4
fprintf("\n First 3 roots : [%.4f %.4f %.4f] sec",[root1,root2,root3])
%%%%%%%%% Experimental Calculations %%%%%%%%%%%%%%%
warning off
Time = [2.6 2.65 2.7 2.75 2.8 2.85 2.9 2.95 3 3.05 3.1];
Disp = [0.074 0.094 0.106 0.113 0.127 0.145 0.145 0.148 0.154 0.162 0.158];
figure(2)
plot(Time,Disp,'*-')

[lin_Fit,gof_LinFit] = fit(Time',Disp','poly1');    % Linear Fit

% defininig fit type for saturation growth
myfittype = fittype('a*x/(b+x)','coefficients',{'a','b'});
[sat_growth_fit,gof_SatFit] = fit(Time',Disp',myfittype);
hold on
time_plot = linspace(2.6,3.1);
plot(time_plot,lin_Fit(time_plot),'LineWidth',1.2);     % Ploting Linear Fit
plot(time_plot,sat_growth_fit(time_plot),'LineWidth',1.2);   % ploting saturation growth fit
xlabel("Time"); ylabel("Displacement");
legend(["Experimental Data","Linear Fit","Saturation Growth fit"],'Location','NorthWest')
title("Experimental Plot");

% R2 and standard error for both
R2_LinFit = gof_LinFit.rsquare;     % Extracting Rsquare from goodness of fit (gof)
Std_err_LinFit = gof_LinFit.rmse;   % Extracting Standard error from gof

R2_SatFit = gof_SatFit.rsquare;
Std_err_SatFit = gof_SatFit.rmse;

fprintf("\n\n For Linear Fit : R2 = %.4f , Standard Error = %.4f", R2_LinFit,Std_err_LinFit);
fprintf("\n For Saturation Growth Fit : R2 = %.4f , Standard Error = %.4f\n", R2_SatFit,Std_err_SatFit);
warning on

Results:-

First 3 roots : [0.8239 2.3711 3.91821 sec F r Linear Fit : R2 = 0.9172 , Standard Error = o.ooee For Saturation Growth Fit :

Theoritical Plot 0.3 0.2 E 0.1 0 -0.1 -0.2 0.3 0 5 10 15 Time [s]

Experimental Plot 0.18 Experimental Data Linear Fit Saturation Growth fit 0.16 0.14 0.12 0.1 0.08 0.06 2.6 2.65 2.7 2.75 2.8

PART----- 2

sigma_y3.1; sigma-z = 4.5; tau_yz - -1.4; % Formula for maximum principal Stress fprintf(\n Max Principal Stre 33 for given Max Principal Stress for given condition : 5.3652 MPa

Area under Curve = 121.9053

50 Distribution Data Points 45 _Fitted Spline 40 35 C 30 25 20 15 10 0.5 1 1.5 22.5 3 3.5 44.55 5.5 ơ [MPal

Text :-

sigma_y = 3.1;
sigma_z = 4.5;
tau_yz = -1.4;
% Formula for maximum principal Stress
sigma_max_P = (sigma_y + sigma_z)/2 + sqrt(((sigma_y - sigma_z)/2)^2 + tau_yz^2);

sigma = 0.5:0.5:5;
freq = [10 15 19 24 36 50 42 29 20 5];

plot(sigma,freq)        % Ploting Frequncy Distribution

spline_fit = fit(sigma',freq','SmoothingSpline');       % Fitting spline to data
hold on
p = plot(spline_fit,sigma,freq);        % Ploting Fitted Spline
p(1).MarkerSize = 15;
p(2).LineWidth = 1.6;
legend(["Distribution","Data Points","Fitted Spline"],'Location','Best')
xlabel("\sigma [MPa]");     ylabel("Frequency");    grid on

% For area under curve we will make more fine data to get accurate value
sigma_finer = linspace(0.5,5,100);      % generating 100 points for sigma between 0.5 & 5
freq_finer = spline_fit(sigma_finer);   % Finding Corresponding frequencies by fitted spline

area = trapz(sigma_finer,freq_finer);   % Finding area under curve using trapz

fprintf("\n Area under Curve = %.4f",area)  % Priniting area
Add a comment
Know the answer?
Add Answer to:
An engineering company is designing and testing a car suspension system. The system has a convent...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • An engineering company is designing and testing a car suspension system. The system has a convent...

    An engineering company is designing and testing a car suspension system. The system has a conventional suspension design, consisting of a shock-absorber and spring at each wheel. The shock-absorber provides a damping effect that is proportional to the vertical speed (i.e. up and down motion) of the wheel, and the spring's resistance is proportional to the vertical displacement of the wheel.The design team analyses the suspension system in two separate parts: Part 1 - dynamics of the spring-damper system; Part 2...

  • An engineering company is designing and testing a car suspension system. The system has a convent...

    Create a MATLAB script An engineering company is designing and testing a car suspension system. The system has a conventional suspension design, consisting of a shock-absorber and spring at vertical speed (ie. up and down motion) of the wheel, and the spring's resistance is proportional to the vertical displacement of the wheel. The company would like to investigate how the actual performance of the suspension system compares to that of theory. Dynamic theory states that the equation of motion of...

  • Help with part B, please! I have worked part a (answer below) and drew Mohr's circle,...

    Help with part B, please! I have worked part a (answer below) and drew Mohr's circle, but I simply do not understand "b" at all. I know what hydrostatic pressure is but I just do not understand what is asking or even how to implement. Thanks! Problem: A stress element in plane stress encounters x = 20 MPa, y = -10 MPa, and xy = 13 MPa. (a) Determine the three principal stresses and maximum shear stress. ( My answer:...

  • For the car suspension system shown below create the state-space representation equations. Plot the position of...

    For the car suspension system shown below create the state-space representation equations. Plot the position of the car and the wheel after the car hits a “unit bump” (i.e., r is a unit step) using MATLAB. Use MATLAB commands and also use MATLAB Simulink to show state space block. Assume that m1=10kg, m2=250kg, KW=500,000N/m, KS=10,000N/m. Find the value of b that you would prefer if you were a passenger in the car. Show the simulation results. MATLAB. Use MATLAB commands...

  • Summary: A car part manufacturing company currently produce a suspension assembly for Toyota Motor Corporation. Figure...

    Summary: A car part manufacturing company currently produce a suspension assembly for Toyota Motor Corporation. Figure 1 shows the breakdown structure of the suspension assembly and Figure 2 shows the final assembly and how to fit into a car. Table 1 shows the name of components, part numbers and number of components in each suspension assembly. Figure 1. Breakdown structure of Suspension Assembly Figure 2. Suspension Assembly Number in Figure 1 Part number Part name Amount per assembly 1 PA-T15-001...

  • PLEASE CAN YOU SOLVE THE HOMEWORK ACCORDING TO THE ITEMS AND BY STATING WHICH ITEM THE...

    PLEASE CAN YOU SOLVE THE HOMEWORK ACCORDING TO THE ITEMS AND BY STATING WHICH ITEM THE ANSWERS BELONG TO? THE ANSWER IS EXPECTED AS SOON AS POSSIBLE EMEGENCY HOMEWORK The shaft EFG, which is running at constant speed of n (rev/min) and transmitting a power of P (kW), contains gear F. Gear F transmits torque to shaft ABCD through gear C, which drives the chain sprocket at B, transmitting a force P as shown. Sprocket B, gear C, and gear...

  • The cylinder consists of spirally wrapped steel plates that are welded at the seams in the...

    The cylinder consists of spirally wrapped steel plates that are welded at the seams in the orientation shown. Assume β = 20°. The cylinder has an inside diameter of 34 in. and a wall thickness of 0.3750 in. The end of the cylinder is capped by a rigid end plate. The cylinder is subjected to a compressive load of P = 125 kips and a torque of T= 210 kip-ft, which are applied to the rigid end cap in the...

  • Course work problem 3: Designing of the steel beam To design low carbon rolled steel double T-cross-section beam. For this purpose must be fulfilled: 1. Calculate the shear forces and bending moments...

    Course work problem 3: Designing of the steel beam To design low carbon rolled steel double T-cross-section beam. For this purpose must be fulfilled: 1. Calculate the shear forces and bending moments Qy and Mx diagrams. 2. Selecting rolled steel in the form of a double T- cross-section standard number from strength condition 3. Calculate the shear stresses in the critical points of cross-section 4. Check the condition of strength points with combined stress state 5. Determine the deflection and...

  • Stine Company uses a job order cost system. On May 1, the company has a balance...

    Stine Company uses a job order cost system. On May 1, the company has a balance in Work in Process Inventory of $3,610 and two jobs in process: Job No. 429 $2,140, and Job No. 430 $1,470. During May, a summary of source documents reveals the following Materials Requisition Slips Labor Time Tickets Job Number 429 430 431 General use $2,940 4,090 4,920 $2,060 3,600 8,060 $11,950 930 $12,880 $13,720 1,590 $15,310 Stine Company applies manufacturing overhead to jobs at...

  • Suppose that a car weighing 4000 pounds is supported by four shock absorbers Each shock absorber has a spring constant of 6500 lbs/foot, so the effective spring constant for the system of 4 shock ab...

    1. Suppose that a car weighing 4000 pounds is supported by four shock absorbers Each shock absorber has a spring constant of 6500 lbs/foot, so the effective spring constant for the system of 4 shock absorbers is 26000 lbs/foot.1. Assume no damping and determine the period of oscillation of the vertical motion of the car. Hint: g= 32 ft/sec22. After 10 seconds the car body is 1 foot above its equilibrium position and at the high point in its cycle....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT