You are on page 1of 12

Advanced Control Systems

Modeling & Simulation of Mechanical


Systems in MATLAB

Dr. Imtiaz Hussain


email: imtiaz.hussain@faculty.muet.edu.pk
URL :http://imtiazhussainkalwar.weebly.com/
Example-1
• In this example, we are going to model a
simple mechanical system and observe its
behavior under various conditions
Transfer Function Model
• Differential Equation of the systems is

𝐹 ( 𝑡 ) =𝑚 𝑥+𝑘𝑥+𝑏
¨ 𝑠˙
• Transfer function is obtained as 𝒙 (𝒕)

𝑋 ( 𝑠) 1
= 𝒌
𝐹 (𝑠) 𝑚 𝑠 2+𝑏𝑠 +𝑘 𝒃
Transfer Function Model
Transfer Function Model

Input Force

Displacement x(t)

Velocity v(t)
Differential Equation Model
• Differential Equation of the systems is

𝒙 (𝒕)
𝐹 ( 𝑡 ) =𝑚 𝑥+𝑘𝑥+𝑏
¨ 𝑠˙
𝒌
𝒃
Differential Equation Model
Differential Equation Model
Simscape Model
• Recommended Version Matlab 2014
• To create an equivalent Simscape model,
follow these steps:
1. Open the Simscape > Foundation
𝒙 (𝒕)
Library > Mechanical > Translational
Elements library.
2. Drag the Mass, Translational Spring, 𝒌
𝒃
Translational Damper, and two
Mechanical Translational Reference
blocks into the model window.
Simscape Model
Simscape Model
Exercise-1
1. Create Simscape model of the following system.

Car Body
Bogie-2
Bogie-1
Secondary

Suspension
Bogie

Frame
Primary
Wheelsets
Suspension

12

You might also like