ME413 Lecture1
ME413 Lecture1
College of Engineering
Department of Mechanical Engineering
System Dynamics
&
Control
Lecture#1
Course Instructor:
Dr. Tajammal Imran.
UHB Main Campus Room #2307,
[email protected]
Introduction
to
System Dynamics
and
Control
Lecture#1
Overview to System Dynamics and Control
• Course introduction
• What is expected? Course objectives & outcomes!
• University Rule (& DN Rule)
• Course Rule
• Grading and assessment policy with Exam Schedule
• Lecture duration: [2 Session/Week]
• Week wise syllabus
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 3
Course Objectives (what I should do in this course)
1. To demonstrate the basic modeling methodologies for
dynamic systems.
2. To explain the methods for analyzing dynamic responses.
3. To clarify the classical control techniques using basic
control actions.
4. To deliver the techniques for analyzing systems’ stability.
5. To expose to experimental laboratory applications of
control to various dynamic systems.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 4
Course Overview
Course code Title Credit Hour
ME 413 System Dynamics and Control 2-3-3
Lecture Lab
Location: Room 0313 Location: Room 0313/0508
Time: 12.00 noon to 01.40 pm (Monday) Time: 02.00 pm to 05.20 pm (Tuesday)
12.00 noon to 12.40 am (Tuesday)
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 6
UHB & Course Rules
• The following should be noted
➢Students must bring textbook, notebook, calculator and pen to the class
➢Attendance in the classes will be taken within five minutes of the
beginning of the class.
i) Any student who arrives class within 5 minutes from the start of class will be
marked as late.
ii)If the student is marked late 3 times, then this is equivalent to 1 unexcused
absence.
iii)Student who arrives after 5 minutes is considered absent with no excuse.
*Note:
Officially authorized excuse of absences must be obtained from Deanship of
Student Affairs and presented to the instructor not later than two days
following the resumption of class attendance.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 7
Course Description
• Dynamics of mechanical, fluid, electrical and thermal systems.
• Equations of motion.
• Dynamic response of elementary systems.
• Transfer functions and pole-zero diagrams.
• Simulation of dynamics of complex systems.
• Dynamic stability of systems.
• Open and closed-loop systems.
• Basic control actions.
• Laboratory sessions involving use of computers for simulation of
dynamic systems and analysis of control systems.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 8
Course Rules
• Late Submission of Assignments/Homework/Lab Reports:
• It is your responsibility to solve the HW as soon as the material is covered in the class.
• Homework solution will be posted on blackboard or given in the class.
• I will not accept late submission of HW.
• All assignments (graded or non-graded) should be submitted in time as per weekly
plan/or as agreed in the class.
• No assignments/reports will be accepted after Two Days from due date.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 9
Assessment Plan for the Course
Assessment Policy %
Quizzes 10
Homework 10
Midterm exam 20
Lab Report 10
Individual Lab Project 20
Final examination 30
Total 100%
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 10
Weekly lecture scheme
Week # Date Topic Section/Ref # Assessment
Frequency-domain analysis of dynamic systems 9-1, 9-2, 9-3, 9-4, 9-5, HW: B-9-1, B-9-2,
9-6 B-9-3, B-9-6, B-9-7,
12 B-9-12, Quiz5
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 12
Weekly lecture scheme
Time & Frequency domain analysis and design of control systems 10-1, 10-2, 10-3, HW: B-10-2, B-10-
10-4, 10-5, 10-6, 3, B-10-4, B-10-9,
13
Time & Frequency domain analysis and design of control systems 10-7, 10-8, 10-9, HW: B-10-11, B-
10-10, 11-1, 11-2, 10-12, B-10-12, B-
14 11-3, 11-4 11-2, B-11-4 Quiz6
Time & Frequency domain analysis and design of control systems 11-5, 11-6 HW: B-11-8, B-11-
15 9
Quiz7
16 Final Exam (comprehensive)
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 13
Motivation for the Course
Car steering system as a dynamic system
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 15
Motivation for the Course
Washing machine system as a dynamic system
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 16
Motivation for the Course
Washing machine system as a dynamic system
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 17
WHAT IS DYNAMIC SYSTEM?
• A dynamic system is a system that is
constantly changing, like the human
body.
• Dynamic systems tend to become
static or attain a state of equilibrium.
• For example, if a car is assumed to be a
dynamic system, then it requires fuel
to continue moving forward or else it
would come to a stop and become
static.
• Dynamic systems' output depends
upon future and past values.
What quantities are changing constantly in these systems that makes them dynamic systems???????
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 18
WHAT IS SYSTEM DYNAMICS?
• System dynamics deals with the mathematical modeling of
dynamic systems and response analyses of such systems
with a view toward understanding the dynamic nature of
each system and improving the system's performance.
• Think about working with
• automated furnace, hardness/tensile
machine
• Human being as system
• Airplane
• Robot
• Computer
• Instrument, tools and equipment
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 19
WHAT IS CONTROL?
• Dynamic systems require a control system to perform properly
• Control involves writing set of rules that commands what a dynamic system
must do. A good example is a robot arm and the mechanical control
mechanism and conveyor system
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 23
Fluid Systems
• Fluid systems employ orifices, restrictions, control
valves, accumulators (capacitors), long tubes
(inductors), and actuators excited by pressure or
fluid flow.
• Example;
• A city water tower has a dynamic response of the height
of the water as a function of the amount of water
pumped into the tower and the amount being used by
the citizens.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 24
Thermal Systems
• Thermal systems have components that provide resistance
(conduction, convection or radiation) and a capacitance
(mass a specific heat) when excited by temperature or heat
flow.
• Example;
• A heating system warming a house has a dynamic response as
the temperature rises to meet the set point on the thermostat.
• Placing a pot of water over a burner to boil has a dynamic
response of the temperature.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 25
Mixed Systems
• Real life dynamic systems use two or more of the engineering
disciplines, with energy conversion between various components.
• Figure given below shows several examples.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 26
Electro-Mechanical Systems
• Systems employing electromagnetic component that converts a current into
a force generally have a dynamic response.
• Examples are
• a loudspeaker in a stereo system,
• a solenoid actuator,
• and electric motors.
• In a loudspeaker, electrical current from the amplifier is transformed into
movement of the speaker cone and the subsequent air pressure fluctuations
that cause us to hear the amplified sound.
• Fluid-Mechanical Systems?????????
• Thermo-Mechanical Systems???????
• Electro-thermal Systems???????????
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 27
Analogues Systems
• The liquid level system is analogous to the electrical and mechanical systems with
resistance-capacitance (electrical) & damper-spring (mechanical) as shown below.
deo
RC
dh
+ h = Rqi RC + eo = ei
dt dt b dxo
+ x o = xi
k dt
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 28
Systems of units
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 29
Basic difference btw
absolute and
gravitational system
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 30
EXAMPLE OF DYNAMIC SYSTEM
Spring-mass-damper system mounted on a cart
• Consider the spring-mass-damper
system mounted on a massless
cart
• u(t) is the displacement of the cart
and is the input to the system.
• The displacement y(t) of the mass
is the output.
• In this system, m denotes the
mass, b denotes the viscous-
friction coefficient, and k denotes
the spring constant.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 31
MODELLING OR MATHEMATICAL MODELLING
• Modeling is simplifying the problem sufficiently and applying the appropriate
fundamental principles.
• The resulting mathematical description is called a mathematical model, or just a model
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 32
MODELLING A DYNAMICAL SYSTEM
• In Dynamical Systems the main objective is to understand
behaviour of states in a system, by using a rule for how the state
changes.
• Given the state variable a dynamical system needs a rule which
defines the dynamics or how the system changes.
• For example, Newton's Laws are incredibly accurate under known
situations and formulate a well-defined dynamical system.
• Position and velocity of a particle are the state variable and Newton's
Laws used as the updating rule.
• In this case, a dynamical system is written as a system of differential
equations.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 33
DIFFERENTIAL EQUATIONS
• Linear differential equations: Linear differential equations may be classified
as linear, time-invariant differential equations and linear, time varying
differential equations.
• A linear, time-invariant differential equation is an equation in which a
dependent variable and its derivatives appear as linear combinations. An
example of such an equation is:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 34
TERMS AND DEFINITIONS
• System: combination of elements that guarantee harmonious working relationship.
• Static element: element’s output value depends only on its input value e.g., the current
flowing through a resistor depends only on the present value of the applied voltage (V=IR)
• Dynamic element: element’s output value depends on past input value e.g., the present
position of a bike depends on what its velocity has been from the start (v = u + at)
• Static system: one whose output at any given time depends only on the input at that
time. The output of a static system remains constant if the input does not change.
Independent of time.
• Dynamic system: one whose present output depends on past inputs. In a dynamic
system, the output changes with time if the system is not in a state of equilibrium.
• System dynamics: the study of systems that contain dynamic elements
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 42
CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMS
• Continuous-time systems are systems in
which the signals involved are continuous
in time. These systems may be described by
differential equations. Think about
analogue clock
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 43
SUMMARY AND CONCLUSIONS
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 44
Laplace Transform
Complex Algebra
• Review textbook pages from page 8-13 to refresh the following;
• Equality of complex numbers
• Addition of complex numbers or complex with real number
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 46
Complex Number & Complex Plane presentation
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 50
Complex Conjugate of Complex Number
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 51
Multiplication & Division by Imaginary
Number “j “ & its Graphical Representation
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 52
Complex Variable & Complex Function
• Complex variable – both real and imaginary components are variables
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 54
Overview to Laplace Transformation
•What is Laplace transformation and why
it is needed?
•Overview of Differential and Algebraic
equations
•Overview of Complex Numbers
•Different input functions
•Application of Laplace transformation
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 55
What is Laplace Transformation?
1. The Laplace transform method is an operational method that can be
used beneficially in solving linear, time-invariant differential equations.
2. Its main advantage is that differentiation of the time function links to
multiplication of the transform by a complex variable “ s ”, and thus
the differential equations in time become algebraic equations in “ s ”.
3. The solution of the differential equation can then be found by using a
Laplace transform table or the partial-fraction expansion technique.
4. Another advantage of the Laplace transform method is that, in solving
the differential equation, the initial conditions are automatically taken
care of, and both “the particular and the complementary” solution can
be obtained simultaneously.
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 56
Why Laplace Transform?
•Helps transform model from time-domain (t)
to frequency domain (s)
•It helps reduce complex differential
equations into simpler algebraic equations
•Final solution can be easily converted to
time-domain
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 58
Differential and Algebraic Equations
Algebraic equations: Differential equations:
(linear, quadratic, polynomial, complex) (first, second and multiple order
or partial)
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 60
Zeros & Poles of a Laplace Transfer Functions
• Poles and Zeros of a transfer function are the frequencies for which the value
of the denominator and numerator of transfer function becomes zero
respectively.
• The values of the poles and the zeros of a system determine whether the
system is stable, and how well the system performs
• Zeros ; when F(s) =0; in which numerator is zero
• Poles; when F(s) =; in which denominator is zero (division by zero)
• Simple and multiple poles may exist in a function
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 61
Find Zeros & Poles of the following:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 64
Definitions & Symbols of Laplace Transform
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 65
Laplace Transforms: Practice
What is the Laplace Transforms of the following?
7t
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 68
Laplace Transform of an Exponential Function
Repeat the procedure for positive alpha although – (alpha) indicates an exponential decay
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 70
Laplace Transform of Step Function
Recall:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 74
Laplace Transform of Pulse Function:
Combine Unit Step Functions Impulse
Function
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 75
Exercise: Find Laplace transform for f(t) = 8 t e-2t
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 76
Integration theorem
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 77
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 78
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 79
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 80
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 81
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 82
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 83
Inverse Laplace transform
Find the inverse Laplace transform for the following
𝟑
𝟏 𝟐
𝒔+𝟒
𝒔
𝒔
𝑨 𝒔 𝟐 + 𝟏𝟔
𝒔𝟐
𝒔+𝟐
𝑨
𝒔 + 𝟐 𝟐 + 𝟏𝟔
𝒔𝟑
𝟑
𝒔+𝟒
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 85
Inverse Laplace transformation:
Transformation from s-domain to t-domain
Inverse Laplace transform
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 87
Partial expansion when F(s) involves distinct poles
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 88
• If the order of numerator is higher, then we must factor the polynomials
e.g. {use: conv, deconv in MATLAB}
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 89
Initial and Final Value Theorem
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 90
Initial and Final Value Theorem
• What are initial and final value theorems?
• How, the initial and final values of a function can be, found by using IVT & FVT?
• Example 1 : Initial Value Theorem
Find the initial value for the function f (t) = 2 u (t) + 3 cost u (t)
Solution:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 91
Initial and Final Value Theorem
• How the initial and final values of a function can be, found by using IVT & FVT?
• Example 2 : Final Value Theorem
1
Find the final value for the function F (s) =
𝑠 𝑠+4
Solution: By final value theorem, If f(t) and f'(t) both are
Laplace transformable and s F(s) has no pole in j axis and in
the R.H.P. (Right half Plane) then
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 92
Differential theorem
𝒅𝟒 𝟐 ሶ ሷ
L[ 𝟒 𝒇(𝒕)] = 𝒔𝟒
𝑭(𝟎) − 𝒔𝟑
𝒇(𝟎) − 𝒔 𝒇(𝟎) − 𝒔𝒇(𝟎) −ሸ
𝒇(𝟎)
𝒅𝒕
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 93
Complex roots
Recall:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 94
Partial expansion for multiple poles
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 95
Solution:
3/16/2023 ME413SystemDynamics&Control_Tajim-Lecture1 96
Practice Problems
Recall: