1 / 14
文档名称:

Matlab, Simulink - Simulink Modeling Tutorial - Train System.pdf

格式:pdf   页数:14
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Matlab, Simulink - Simulink Modeling Tutorial - Train System.pdf

上传人:bolee65 2014/7/11 文件大小:0 KB

下载得到文件列表

Matlab, Simulink - Simulink Modeling Tutorial - Train System.pdf

文档介绍

文档介绍:CTMS: Simulink Modeling Tutorial

Simulink Modeling Tutorial
Train system
Free body diagram and Newton's law
Model Construction
Running the Model
Obtaining MATLAB Model

In Simulink, it is very straightforward to represent a physical system or a model. In general, a
dynamic system can be constructed from just basic physical laws. We will demonstrate
through an example.
Train system
In this example, we will consider a toy train consisting of an engine and a car. Assuming that
the train only travels in one direction, we want to apply control to the train so that it has a
smooth start-up and stop, along with a constant-speed ride.
The mass of the engine and the car will be represented by M1 and M2, respectively. The two
are held together by a spring, which has the stiffness coefficient of k. F represents the force
applied by the engine, and the Greek letter, mu (which will also be represented by the letter u),
represents the coefficient of rolling friction.


Free body diagram and Newton's law
The system can be represented by following Free Body Diagrams.
Page 1
CTMS: Simulink Modeling Tutorial


From Newton's law, you know that the sum of forces acting on a mass equals the mass times
its acceleration. In this case, the forces acting on M1 are the spring, the friction and the force
applied by the engine. The forces acting on M2 are the spring and the friction. In the vertical
direction, the gravitational force is canceled by the normal force applied by the ground, so that
there will be no acceleration in the vertical direction. We will begin to construct the model
simply from the expressions:
Sum(forces_on_M1)=M1*x1''
Sum(forces_on_M1)=M1*x1''
Constructing The Model
This set of system equations can now be represented graphically, without further manipulation.
First, we will construct two copies (one for each mass) of the expressions sum_F=Ma or
a=1/M*sum_F. Open a new model window, and drag two

最近更新

2025年株洲县幼儿园教师招教考试备考题库带答.. 31页

2025年横峰县幼儿园教师招教考试备考题库带答.. 30页

热带水果储运安全防护要点 60页

2025年永嘉县招教考试备考题库附答案解析(夺.. 31页

2025年江汉大学马克思主义基本原理概论期末考.. 12页

2025年江苏航空职业技术学院单招职业倾向性测.. 44页

2025年河北北方学院马克思主义基本原理概论期.. 12页

2025年河南司法警官职业学院马克思主义基本原.. 13页

2025年治多县幼儿园教师招教考试备考题库附答.. 30页

2025年浙江商业职业技术学院马克思主义基本原.. 12页

2025年浙江药科职业大学马克思主义基本原理概.. 12页

2025年湖北三峡航空学院马克思主义基本原理概.. 12页

2025年湖南外贸职业学院单招职业适应性考试题.. 44页

2026年主管中药师考试备考题100道及完整答案(.. 38页

2026年主管中药师考试备考题100道附参考答案(.. 37页

2026年医学微生物学习题集及完整答案(夺冠系.. 40页

2025年略阳县招教考试备考题库附答案解析 31页

2026年宪法知识竞赛试题库100道及完整答案【历.. 40页

2026年网络安全知识竞赛题库及参考答案(轻巧.. 39页

小学历史与文化知识竞赛题库100道带答案(实用.. 37页

新安全生产法知识竞赛试题库【预热题】 43页

2025年贵州航天职业技术学院单招职业适应性测.. 45页

最新全国政法队伍教育整顿知识竞赛试题库【历.. 40页

2025年邢台医学院马克思主义基本原理概论期末.. 12页

2025年郑州财税金融职业学院马克思主义基本原.. 13页

2025年长江工程职业技术学院马克思主义基本原.. 12页

2025年鱼台县招教考试备考题库带答案解析(夺.. 30页

2026年主管中药师考试备考题100道有完整答案 37页

2026年医学微生物学习题集【预热题】 40页

2026年医学微生物学习题集含答案(模拟题) 40页