Mass-Spring-Damper Systems

Interactive courseware module that addresses the fundamentals of mass-spring-damper systems taught in mechanical engineering courses.
3.1K 次下载
更新时间 2023/2/2

Mass-Spring-Damper Systems

View Mass-Spring-Damper Systems on File Exchange or Open in MATLAB Online

Curriculum Module
Created with R2020b. Compatible with R2020b and later releases.

Description

This curriculum module contains interactive live scripts and Simulink® models that explore mass-spring-damper systems. Students learn to create and work with mass-spring-damper models in guided activities. These techniques are motivated by two applications: tuning the damping of a vehicle’s suspension and analyzing a building’s response to an earthquake. Throughout the module, students apply Simulink models to study the dynamics of the physical systems. In the final lesson, students identify the resonant frequencies of a mass-spring-damper building model by computing the power spectrum of a displacement signal. These lessons can be used as part of a lecture, as activities in an instructional setting, or as interactive assignments to be completed outside of class.

Learning Goals

  • Construct free body diagrams and derive the equations of motion for mass-spring-damper systems
  • Relate the mass, spring, and damper to their corresponding components in a physical system
  • Create models that solve ordinary differential equations in Simulink
  • Use the Symbolic Math Toolbox to help create Simulink models
  • Complete Simulink mass-spring-damper models with 1, 2, and n degrees of freedom
  • Relate parameter values to the dynamics of mass-spring-damper systems
  • Tune the damping of a vehicle suspension model to meet requirements
  • Identify the resonant modes of a mass-spring-damper building model

The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Suggested Prework

MATLAB Onramp – a free two-hour introductory tutorial that teaches the essentials of MATLAB.
Simulink Onramp – a free three-hour introductory tutorial that teaches the essentials of Simulink.

Details

massSpringDamper.mlx, massSpringDamperSoln.mlx
An interactive lesson that teaches how to model a single mass-spring-damper in Simulink. Students apply their knowledge to tune the damping of a vehicle’s suspension system.

doubleMassSpringDamper.mlx, doubleMassSpringDamperSoln.mlx
An interactive lesson that teaches how to model a double mass-spring-damper in Simulink. Students apply their knowledge to identify the resonant frequencies present in a two-story building model.

multipleMassSpringDamper.mlx, multipleMassSpringDamperSoln.mlx
Students practice more advanced skills in this lesson, such as vectorizing a Simulink model and using the Spectrum Analyzer block to compute the power spectrum.

models/
Simulink models used during the guided activities. Starter models and their completed solutions are included.

Products

MATLAB®, Symbolic Math Toolbox™, Simulink

License

The license for this module is available in the LICENSE.TXT file in this GitHub repository.

Educator Resources

Have any questions or feedback? Contact the MathWorks online teaching team.

Copyright 2021 The MathWorks, Inc.

引用格式

Emma Smith Zbarsky (2024). Mass-Spring-Damper Systems (https://github.com/MathWorks-Teaching-Resources/Mass-Spring-Damper-Systems/releases/tag/v1.0.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020b
与 R2020b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Mechanical Engineering 的更多信息
社区
Distance Learning 社区中有更多文件

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Mass-Spring-Damper-Systems/releases/tag/v1.0.1

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库