Presentation 1 Introduction To Mechatronics (3) - 1
Presentation 1 Introduction To Mechatronics (3) - 1
Introduction to Mechatronics
Course Code: MEng5271
The development of the computer, and then the microcomputer, embedded computers, and
associated information technologies and software advances, made mechatronics an
imperative in the latter part of the twentieth century.
The word, mechatronics, is composed of “mecha” from mechanism and the “tronics” from
electronics. In other words, technologies and developed products will be incorporating
electronics more and more into mechanisms.
Dynamic systems and control involves the analysis, design, and control of physical
engineering systems that are often composed of interacting mechanical, electrical, and
fluid subsystem components.
Definitions:
Modeling: The process of applying the appropriate fundamental physical laws in order to
derive mathematical equations that adequately describe the physics of the engineering
system. Dynamic systems are represented by differential equations.
1) Distributed vs. Lumped, 2) Linear vs. Non-linear dynamic system, 3) continuous time vs.
discrete time, 4) time variant vs. time invariant.
cont’d
Continuous time vs. Discrete time : A continuous-time system involves variables and
functions that are defined for all time, whereas a discrete time system involves variables
that are defined only at discrete time points.
(2)
(3)
Equation (1)is a second-order linear ODE because the dynamic variable x and its
derivatives appear as linear combinations.
Equation (2) is linear as x and its derivatives appear in linear combinations. Because the
coefficient changes with time.
2. State-Space approach.
Transfer Function Approach
Where y is the output of the system and x is the input. The transfer function of this
system is the ratio of the Laplace-transformed output to the Laplace-transformed
input when all initial conditions are zero, or expressed as follows:
Transfer Function Approach
By using the concept of a transfer function, it is possible to represent system dynamics by
algebraic equations in s.
If the highest power of s in the denominator of the transfer function is equal to n, the
system is called an nth-order system.
Such systems may be linear or nonlinear and may be time invariant or time varying. A
very powerful approach to treating such systems is the state-space approach, based on
the concept of state.
State variables: The state variables of a dynamic system are the variables
making up the smallest set of variables that determines the state of the dynamic
system. If at least n variables are needed to completely describe the behavior of a
dynamic system.
cont’d
State vector: If n state variables are needed to completely describe the behavior of a
given dynamic system, then those state variables can be considered the n components of a
vector x called a state vector.
State-space: The n-dimensional space whose coordinate axes consist of the is called a
state space.
(In control systems analysis and design, the input matrix B and input vector u are called
the control matrix and control vector, respectively.)
Figure: Block diagram of the linear, continuous-time system represented instate space.
cont’d
Transfer matrix: Next consider a Multi-Input-Multiple-Output system. Assume that
there are r inputs and m outputs.
Define the transfer matrix relates the output to the inputs or:
Where;
Mechanical System Modeling
A mechanical system is composed of inertia, stiffness, and energy-dissipation elements.
In addition, it may possess mechanical transformers, such as gears or levers.
Inertia elements are either lumped masses (translational mechanical systems) or moments
of inertia (rotational mechanical systems). They are easily identified in Newton’s second
law.
(translational motion)
(rotational motion)
Apply Newton’s second law and derive the differential equation of motion (system dynamics).
Determine the transfer function form.
Determine the state space representation of the system
Figure: A mass–spring–damper system: (a) physical system and (b) free-body diagram
Exercise: 1
Figure: A quarter-car model: (a) physical system and (b) free-body diagram.
Exercise: 2
Figure: (a) Schematic diagram of the seat-suspension system for Example 2.3. (b) Mechanical
model for the seat-suspension system.
Electrical System Modeling
This section is concerned with mathematical modeling and the response analysis of
electrical systems and electromechanical systems.
Electrical systems and mechanical systems (as well as other systems, such as fluid
systems) are very often described by analogous mathematical models.
Basic elements of electrical system is classified as passive elements and active elements:
First review three passive types of elements of electrical systems which are: resistance,
capacitance, and inductance elements.
These elements are passive elements, because, although they can store or dissipate energy
that is already present in the circuit, they cannot introduce additional energy into the
circuit.
Resistance Elements
Active elements an electrical circuit are: Voltage and Current. (because they can
introduce energy into the circuit).
Where is the voltage across the resistor and is the current through the resistor. The unit of
resistance is the ohm (Ω).
Resistors do not store electric energy in any form, but instead dissipate it as heat.
Capacitance Elements
Capacitance elements: Two conductors separated by a non-conducting medium form a
capacitor, so two metallic plates separated by a very thin dielectric material form a
capacitor. The capacitance C is a measure of the quantity of charge that can be stored for
a given voltage across the plates, and given as;
Where q is the quantity of charge stored and is the voltage across the capacitor. The unit
of capacitance is the farad (F).
Note that: ,
cont’d
Furthermore;
, or
Therefore;
, ,
The unit of inductance is the henry (H).
cont’d
Mutual inductance refers to the influence between inductors that results from the
interaction of their fields. If two inductors are involved in an electrical circuit, each may
come under the influence of the magnetic field of the other inductor.
Voltage and current sources: A voltage source is a device that causes a specified voltage
to exist between two points in a circuit. The voltage may be time varying or time
invariant.
A current source causes a specified current to flow through a wire containing this source.
Fundamentals of Electrical Circuits
Ohm's law: Ohm's law states that the current in a circuit is proportional to the total
electromotive force (emf) acting in the circuit and inversely proportional to the total
resistance of the circuit.
Series circuits: The total voltage in series connected circuit is the direct sum of
individual voltage drop across each resistor.
cont’d
Parallel circuits: The total current in parallel connected circuit is the direct sum of
individual current passage across the resistor.
cont’d
Kirchhoff's laws: In solving circuit problems that involve many electromotive forces,
resistances, capacitances, inductances, and so on, it is often necessary to use Kirchhoff's
laws, of which there are two: the current law (node law) and the voltage law (loop law).
Kirchhoff's current law (node law): A node in an electrical circuit is a point where three
or more wires are joined together. Kirchhoff's current law (node law) states that the
algebraic sum of all currents entering and leaving a node is zero.
cont’d
Kirchhoff's voltage law (loop law): Kirchhoff's voltage law states that at any given
instant of time the algebraic sum of the voltages around any loop in an electrical circuit is
zero.
Mathematical Modeling of Electrical Systems
The first step in analyzing circuit problems is to obtain mathematical models for the
circuits.
or
Note: This is a mathematical model for the given circuit, and Let us solve the above
equation for the current , and take the Laplace transforms both sides:
Or ,
In the engineering field, the term hydraulic describes fluid systems that use liquids and
pneumatic applies to those using air or gases.
Mathematical models of fluid systems are generally nonlinear. However, if we assume that
the operation of a nonlinear system is near a normal operating point, then the system can be
linearized near the operating point, and the mathematical model can be made linear.
Absolute pressure is the sum of the gage and barometer pressures. Note that, in
engineering measurement, pressure is expressed in gage pressure. In theoretical
calculations, however, absolute pressure must be used.
In this section, we first review the Reynolds number, laminar flow, and turbulent flow.
cont’d
Reynolds number. The forces that affect fluid flow are due to gravity, buoyancy, fluid
inertia, viscosity, surface tension, and similar factors. In many flow situations, the forces
resulting from fluid inertia and viscosity are most significant.
The dimensionless ratio of inertia force to viscous force is called the Reynolds number.
Thus, a large Reynolds number indicates the dominance of inertia force and a small
number the dominance of viscosity. The Reynolds number R is given by;
Where, is the mass density of the fluid, is the dynamic viscosity of the fluid, v is
the average velocity of flow, and D is a characteristic length (inner pipe diam.)
cont’d
Since the average velocity v for flow in a pipe is;
Where Q is the volumetric flow rate, A is the area of the pipe and D is the inside diameter
of the pipe, the Reynolds number for flow in pipes can be given by;
cont’d
Laminar flow and Turbulent flow: Flow dominated by viscosity forces is called laminar
flow and is characterized by a smooth, parallel-line motion of the fluid. When inertia
forces dominate, the flow is called turbulent flow and is characterized by an irregular and
eddy like motion of the fluid.
For a Reynolds number below 2000 (R < 2000), the flow is always laminar. For a
Reynolds number above 4000 (R > 4000), the flow is usually turbulent, except in special
cases.
cont’d
Resistance and capacitance of liquid-level systems: Consider the flow through a short
pipe with a valve connecting two tanks, as shown in the figure below.
The resistance R for liquid flow in such a pipe or restriction is defined as the change in
the level difference (the difference of the liquid levels of the two tanks) necessary to cause
a unit change in flow rate; that is:
cont’d
The capacitance C of a tank is defined to be the change in quantity of stored liquid
necessary to cause a unit change in the potential, or head. (The potential is the quantity
that indicates the energy level of the system.) Thus;
Note that the capacity () and the capacitance () are different. The capacitance of the tank
is equal to its cross-sectional area. If this is constant, the capacitance is constant for any
head.
cont’d
If the operating condition as to the head and flow rate varies little for the period considered,
a mathematical model can easily be found in terms of resistance and capacitance. In the
present analysis, we assume that the liquid outflow from the valve is turbulent.
With the output from one system becoming the input to the next system, In drawing a
system as a series of interconnected blocks, it is necessary to recognize that the lines
drawn to connect boxes indicate a flow of information in the direction indicated by the
arrow and not necessarily physical connections.
Instrumentation systems
The purpose of an instrumentation system used for making measurements is to give the
user a numerical value corresponding to the variable being measured.
Thus a thermometer may be used to give a numerical value for the temperature of a
liquid.
Definition: An instrumentation system for making measurements has an input of the true
value of the variable being measured and an output of the measured value.
cont’d
The constituent elements of an instrumentation system:
An instrumentation system for making measurements consists of several elements which
are used to carry out particular functions. These functional elements are;
Sensor:
This is the element of the system which is effectively in contact with the process for which
a variable is being measured and gives an output which depends in some way on the value
of the variable and which can be used by the rest of the measurement system to give a value
to it.
cont’d
Signal processor:
This element takes the output from the sensor and converts it into a form which is suitable
for display or onward transmission in some control system.
The term signal conditioner is used for an element which converts the output of a sensor
into a suitable form for further processing .
Data presentation:
This presents the measured value in a form which enables an observer to recognize it. This
may be via a display, e.g. a pointer moving across the scale of a meter or perhaps
information on a visual display unit (VDU) .
cont’d
The term transducer is often used in relation to measurement systems. Transducers are
defined as an element that converts a change in some physical variable into a related
change in some other physical variable. It is generally used for an element that converts a
change in some physical variable into an electrical signal change.
Thus sensors can be transducers. However, a measurement system may use transducers,
in addition to the sensor, in other parts of the system to convert signals in one form to
another form.
Performance Terms
Performance terms The following are some of the more common terms used to define the
performance of measurement systems and functional elements.
2. Range
4. Sensitivity
5. Stability
Displacement Sensors
Displacement sensor measure a linear displacement, measure an angular displacement,
detect motion, detect the presence of some object.
Displacement sensors fall into two groups: those that make direct contact with the object
being monitored, by spring loading or mechanical connection with the object, and those
which are non-contacting. (contact type and non-contact type).
Contacting proximity sensors might be just mechanical switches which are tripped by the
presence of the object
Potentiometer
A potentiometer consists of a resistance element with a sliding contact which can be
moved over the length of the element and connected.
With a constant supply voltage , the output voltage between terminals 1 and 2 is a
fraction of the input voltage, the fraction depending on the ratio of the resistance between
terminals 1 and 2 compared with the total resistance R of the entire length of the track
across which the supply voltage is connected.
𝒗𝟎 𝑹 𝟏𝟐
=
𝒗𝒔 𝑹
Angular potentiometer
Strain gauge
Strain gauges are devices whose resistance changes under the application of force or
strain. They can be used for measurement of force, strain, stress, pressure, displacement,
acceleration etc.
When force is applied to any metallic wire its length increases due to the strain. The more
is the applied force, more is the strain and more is the increase in length of the wire.
Where is the initial length of the wire, and is the final length of the wire.
Application of force on the strain gauge foil (resistance wire), will result in deformation
(i.e. increment of foil length and decrement of foil diameter ).
Strain-gauged Element
Now, we know that resistance of the conductor is the inverse function of the length. As
the length of the conductor increases its resistance increase. This change in resistance
of the conductor can be measured easily and calibrated against the applied force.
Strain gauges consist of a metal foil strip flat length of metal wire or a strip of semiconductor
material which can be stuck onto surfaces like a postage stamp.
When the wire, foil (resistance wire), strip or semiconductor is stretched, its resistance R
changes. The fractional change in resistance is proportional to the strain
cont’d
Optical Encoders
An encoder is a device that provides a digital output as a result of an angular or linear
displacement. Position encoders can be grouped into two categories: incremental
encoders, which detect changes in displacement from some datum position, and absolute
encoders, which give the actual position.
Incremental encoder: the basic form of an incremental encoder for the measurement of
angular displacement of a shaft.
It consists of a disc which rotates along with the shaft. In the form shown, the rotatable
disc has a number of windows through which a beam of light can pass and be detected by
a suitable light sensor.
cont’d
When the shaft rotates and disc rotates, a pulsed output is produced by the sensor with the
number of pulses being proportional to the angle through which the disc rotates.
The angular displacement of the disc, and hence the shaft rotating it, can thus be
determined by the number of pulses produced in the angular displacement from some
datum position.
With the incremental encoder, the number of pulses counted gives the angular
displacement, a displacement of, say, giving the same number of pulses whatever angular
position the shaft starts its rotation from.
cont’d
However, the absolute encoder gives an output in the form of a binary number of several
digits, each such number representing a particular angular position.
Incremental encoder
cont’d
Absolute encoders
Optical proximity sensors
Similarly the rotating disc has four concentric circles of slots and four sensors to detect
the light pulses. The slots are arranged in such a way that the sequential output from the
sensors is a number in the binary code, each such number corresponding to a particular
angular position. A number of forms of binary code are used.
In both types the radiation emitter is generally a light-emitting diode (LED). The
The sensor of the capacitive proximity switch is just one of the plates of the capacitor, the
other plate being the metal object whose proximity is to be detected. Thus the proximity
of the object is detected by a change in capacitance.
cont’d
Capacitive Proximity Switch
Speed sensors
The following are examples of sensors that can be used to monitor linear and angular
speeds.
Optical methods: Linear speeds can be measured by determining the time between when
the moving object breaks one beam of radiation and when it breaks a second beam some
measured distance away.
Breaking the first beam can be used to start an electronic clock and breaking the second
beam to stop the clock.