Why is the motion of the shock absorber in my quarter car model seems undamped?

2 次查看(过去 30 天)
Dear sir I just followed the tutorial video of Formula student physical modeling training. I have finished the part 9, section2. However, when I run the model. The scope of the shock absorber seems like the SA I defined doesn't reflect the properties of the damper and spring. I attached my model and matlab code in a zip file.My matlab version is 2014b.

采纳的回答

Swarooph
Swarooph 2016-7-12
Shuo,
First things first, this is not an issue with the system being undamped but that the Scope configuration properties is set incorrectly.
Note on the X axis that your signal logging begins only around ~51 seconds. This means the Scope is not logging your entire simulation results. This is by design because the Scope logs only the last 5000 data points by default (for memory and performance considerations perhaps). Since your simulation is relatively long, it is not plotting ALL the simulation data points. This can be changed using the Scope configuration parameters. Click on the 'gear' icon on the Scope toolbar as highlighted below.
This opens the 'Parameters' of the Scope. Here, choose the 'History' tab as shown below and uncheck the 'Limit data points to last' option.
This makes sure that the Scope will plot all points. When I run the simulation after changing this option, I get the following expected result.
P.S: Please note that all these files were meant to be used with R2015a or later. Some features or results might be incompatible with previous releases.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulation and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by