Modeling and Simulation of Spring Mass Damper System (SMD)
Version 1.0.0 (65,7 KB) von
Rzi Abbas
The files define sn SMD system, Autotune a PID controller for it and then after modeling through 3 different methods, simulate it.
Modeling and Simulation of SMD system through 3 different ways.
The first section defines the Mass, Damping Constant and Spring Constant. Then the second section creates the SMD system and autotune a PID controller for tuning goals defined in the autotuner. You may change the tuning goals by going to 'SMD_Simulink_AutoTuning.slx' and then in the Closed-loop PID Autotuner block.
The thrid section models the SMD using three different ways, namely through Mathematical Model, Simscape Model and Multibody Model, and then simulate all three models using the autotuned PID controller. The simulation results show that models created through all three different methods produce perfectly similar results.
Zitieren als
Rzi Abbas (2024). Modeling and Simulation of Spring Mass Damper System (SMD) (https://www.mathworks.com/matlabcentral/fileexchange/98689-modeling-and-simulation-of-spring-mass-damper-system-smd), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019a
Kompatibel mit R2018a bis R2021a
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |