ES197 Lecture
ES197 Lecture
ES197 Lecture
Key Variables
Two basic variables are used to describe the dynamic behaviour of translational
mechanical systems:
Force, f(t)
o Units are newtons (N)
Displacement, x(t)
o Units are metres (m)
Velocity, v(t)
o Units are metres/ second (m/s)
Mass
o Stores kinetic and potential energy
o Reversible
Spring
o Stores potential energy (stretching/compression)
o Reversible
Damper
o Dissipates energy as heat
o Non-reversible
o Critical for stability (takes energy out of the system)
Any mechanical element that undergoes a change in shape when subjected to a
force can be characterised by a stiffness element
Frequently used to:
o Reduce oscillations (take kinetic energy out of the system)
o Give a quality feel to a product (reduce harsh events)
Some assumptions:
o Mass
Doesn’t bend (velocity on the side is the same on the other)
o Spring
Doesn’t have a mass
Doesn’t change with temperature
Linear
o Damper
Doesn’t have a mass
Doesn’t change with temperature
Linear
Lecture 2 – Rotational Mechanical Systems
System Models
Models are used to describe, understand and predict system behaviour
Models:
o Scaled physical
o Virtual environment
o Mathematical
Mathematical Models
Mathematical model of physical system is a description of a system in terms of
equations:
No systems can be modelled exactly
Model should be as simple as possible and be developed with a particular application
in mind
Linear vs Non-linear
Non-linear
o Mathematical model is non-linear differential equation
Linear
o Mathematical model is a linear differential equation
o The resultant response of a system caused by two or more input signals is the
sum of the responses which would have been caused by each input
individually
Discrete vs Continuous
Discrete time system
o Mathematical model is difference equation
Continuous time system
o Mathematical model is differential equation
Key Variables
Two basic variables are used to describe the dynamic behaviour of rotational
mechanical systems:
Torque
o Units are Newton Metres (Nm)
Angular velocity/ Angular Displacement
o Units are radians/second (rad/s) or radians (rad)
Key elements
Inertia (Rotational mass)
o Stores kinetic energy
o Reversible
Rotational spring
o Stores potential energy (by twisting)
o Reversible
Rotational damper
o Dissipates energy as heat
o Non-reversible
Other elements: gears
Lecture 3 – Electrical Systems
Capacitive sensing
Capacitor
Unintentional capacitance
Unintentional capacitance is formed between the tracks of circuit boards
Inductor
Resistor
Interconnection Laws
Kirchhoff’s voltage law
o Voltage drops sum to zero around any closed loop (mesh)
Kirchhoff’s current law (KCL)
o Elemental currents sum to zero at connection points (nodes)
Lecture 4 – Thermal Systems
Interconnection Laws
Compatibility Law
o Elemental temperatures are identical at connection points (nodes)
Equilibrium Law
o Elemental heat flow rates sum at zero at connection points (nodes)
Physical modelling is used to get the form of the model, but data is
required to determine the parameters
Relies on domain knowledge about problem and data from problem
Black-box modelling
Useful if data can be gathered about a process, but the process cannot
be directly observed
Use a general model, and then collect data in order to set model
parameters
When estimating the model of a dynamic system, this is known as
system identification
Driver model
Regression
Predicting the value of a continuous response variable from a set of predictor
variables
Examples:
o Predicting the life expectancy (response variable) given smoking, diet or
exercise (predictors)
o Predicting the extension (response variable) of a spring given force,
temperature or age (predictors)
Learn a function that maps the values of the n predictor(s) variables to the response
variable
Overfitting
The model is fitting to some of the noise in the data –
known as overfitting
Overfitting when there are too many parameters in
the model for too few data points
Solution 1 – use more training data
Solution 2 – reduce model complexity
Solution 3 – reduce noise (usually not possible)
Forced response:
o The response of the system to an input when there is no energy initially
stored in the system
o Non-zero input
o Zero initial conditions
o A non-homogenous differential equation
o Examples:
Applying a force to a swing in rest state
Turning on power to a motor from fest
The total system response is a linear combination of the free response and the
forced response
Sine wave
Impulse
Ramp
Step response
The output from a system when given step input
System has zero initial conditions:
o All masses stationary
o Capacitors discharged
o Springs not compressed or stretched
Forced response
Non-zero input, i.e.
o Step input
o Sinusoidal input
Zero initial conditions
Solution of non-homogenous differential equation
Transfer function
A representation of the system, which maps the input to the output
o Carried out in the Laplace domain
o Used for system analysis
A key concept in Engineering. Problem cannot be solved in given form so we:
o Transfer into a different domain where problem is easy to solve
o Then transform back to the original domain for the answer
Laplace Transforms
Transfer function
Step input in Laplace Domain
What can we do with this?
We can calculate the output of a system for any given input
The transfer function can also give further insights in the behaviour of a system
o Frequency response
o System stability
We can simulate a system in MATLAB using a transfer function
How much the output signal is attenuated (reduce the force) by the system
compared with the input signal
The phase difference (phi) shows by how much the output signal is delayed by the
system compared with the input signal
Why s = jw
In the Laplace domain, both signals and systems are represented by functions of s
The s-plane is the complex plane on which Laplace transforms are graphed
Generally, s = phi + jw
Phi is the Neper frequency – the rate at which the function decays
W is the radial frequency – the rate at which the function oscillated
We are using periodic (non-decaying) sinusoidal inputs, so s = jw, i.e., phi = 0