(Ebook) - Matlab, Simulink - Simulink Modeling Tutorial - Train System(1).pdf


文档分类:管理/人力资源 | 页数:约14页 举报非法文档有奖
1/14
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/14
文档列表 文档介绍
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

(Ebook) - Matlab, Simulink - Simulink Modeling Tutorial - Train System(1) 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数14
  • 收藏数0 收藏
  • 顶次数0
  • 上传人bolee65
  • 文件大小0 KB
  • 时间2014-07-11