- #1
_Bd_
- 109
- 0
Homework Statement
You have a car going over a speed bump, you need to model the oscillation of the car using excel only (no MATLAB or other software)
Simple Schematics:
|Mass of car|
| |
Spring Damper
| |
\ /
| Wheel | _____________/ Speed bump \________________
Car speed: 88 inches/s
Car mass: 700 lb (need to divide over G=386 in/s^2
Bump Max height (Hb) = 5
Bump length (Lb) =36
Bump Equation (y_wheel)= (Hb/2)*(1-COS(2*PI*X/Lb))
This is the vertical displacement of the wheel as it goes over the bump, the derivative (velocity) is then:
y'_wheel= (Hb/2)*(2PI*V'/Lb)SIN(2*PI*X/Lb)
damping frequency (w_d) = We can assume and play with this
damping ratio (zeta) = We can assume and play with this, values between 0 and .9
Homework Equations
Using force analysis ( on each element) and some solving here and there
Using Laplace transforms and my notes I came up with some equations, I won't list those processes since I verified with the professor that they are correct, but here are the results:
Assuming a zeta of .5 and a frequency of .825 Hz
(natural frequency) w_n=w_d/(1-zeta^2)^.5
(damping frequency) w_d= 5.184 radians
(spring constant) Ks= w_n^2*m
(ave. damping constant) Kd= 2*zeta*(K_s*m)^.5
NOTE: Kd will be divided into K_up and K_down which average to K_d and generally Kup < Kdown
The Attempt at a Solution
I've made my excel table, my problem is that I keep getting a weird wave:
Fs = force of spring
Fd= force of damper
y_w = vertical displacement of wheel
y_c = vertical displacement of car (y' is velocity and y'' is acceleration)
Time | Displacement | Y_wheel | Fs | Fd | K(up or down?) |Y''_c | Y'_c | Y_c
Fs=Ks(y_w - y_c)
Fd=Kd(y'_w - y'_c)
Y''_c= Fs+Fd/m
Y'_ci= Y'_c(i-1)+Y''*dt
Y_ci= Y_c(i-1)+Y'*dt
http://imageshack.us/a/img850/4871/tablegf.png
I get a really funky graph that initially looks good but then doesn't seem to "converge" towards the center like all the graphs in the internet.
I've searched all over and many webpages provide excel codes to do this, (so you can just input your variables and let it solve it by itself) but I want to code it myself (learn how to)
http://imageshack.us/a/img838/6452/graphlj.png
If I extend more time it keeps going down and down and down
and it should look similar to this
http://ese.wustl.edu/ContentFiles/Research/UndergraduateResearch/CompletedProjects/WebPages/2006/as12/identify%20single_files/image017.gif
Last edited by a moderator: