The following code simulates a double mass damping system, under a step input. Such a model can be used to represent a car damper for disturbance rejection. The lower mass represents the wheel, the upper mass represents the body of the car.
The system is solved in two ways, either in classic state space form, or using ODEs.
You can find such examples in the classic textbook:
Nise, N. S. (2020). Control systems engineering. John Wiley & Sons.
Educational video on State Space Systems:
Simulate nonlinear systems in Matlab:
Lazaros Moysis
引用格式
Lazaros Moysis (2024). Double Mass Damper Mechanical System (https://www.mathworks.com/matlabcentral/fileexchange/159391-double-mass-damper-mechanical-system), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2023b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!