Mechatronics Principles and Modeling
Mechatronics Principles and Modeling
Pilani Campus
Mechatronics
ES ZG511 Mechatronics
BITS Pilani
Pilani Campus Sangmeshwar Kendre
Lecture No. 4.
In the above-mentioned laws of motion, inertia frames of If the mass is constant, Equation (1) becomes
reference are considered. ------(2)
An inertial frame of reference is one in which first
Where is the acceleration of the particle. Equation
law of motion is valid.
(2) is a commonly used expression of second
Mathematically, second law is expressed by
law, which indicates that the acceleration of a particle of
-----(1) constant mass is proportional to the resultant force.
where and are the mass and velocity of the particle, Also, first law can be viewed as a special example
respectively; is the resultant or sum of all forces acting of the second law with vanishing linear momentum or
on the particle; and is the linear momentum of the acceleration
particle. second law is also applicable to rigid
and flexible bodies.
The models which represent mechanical systems have The stiffness of a spring is described by
springs, dampers and masses as basic building blocks. the relationship between the forces
used to extend or compress a spring
Springs: represent stiffness of system and the resulting extension or
Dampers: represent the forces opposing the motion compression
In the case of a spring where the
Masses: represent the inertia or resistance to acceleration
extension or compression is
Any mechanical system does not to be made of springs, proportional to the applied forces, i.e. a
dampers and masses. linear spring
But it should have the properties of stiffness, damping and
inertia where k is a constant.
The bigger the value of , the greater
The building blocks having stiffness, damping and inertia the forces have to be to stretch or
can be considered to have force as input and displacement compress the spring and so the
as output. greater the stiffness.
BITS Pilani, Pilani Campus BITS Pilani, Pilani Campus
Damper / Dashpot
In case (a), the spring force and the displacement The dashpot building block
(elongation) are in the relation represents the types of forces
experienced when we endeavour to
----(2)
push an object through a fluid or
where the relative displacement move an object against frictional
In case (b), the spring force of the tensioned spring is given forces.
by The faster the object is pushed, the
, for ----(3) greater the opposing forces
become.
In case (c), the spring force of the compressed spring is of
The dashpot which is used
the form
pictorially to represent these
, for ----(4) damping forces which slow down
moving objects consists of a piston
moving in a closed cylinder
BITS Pilani, Pilani Campus BITS Pilani, Pilani Campus
Movement of the piston requires the fluid on one side of the
piston to flow through or past the piston.
The relationship between the displacement of the piston,
This flow produces a resistive force.
i.e. the output, and the force as the input is a relationship
In the ideal case, the damping or resistive force is depending on the rate of change of the output.
proportional to the velocity of the piston. Thus
Figure shows three cases of dampers in deformation: (a) a In case (a), the damping force is related to the velocity at
damper with a fixed end; (b) a damper of two movable ends the right end of the damper by
in tension; and (c) a damper of two movable ends in ----(2.1)
compression. In which,
In case (b), the damping force of the tensioned damper is
given by
, for ----(2.2)
In case (c), the damping force of the compressed damper is
of the form
, for ----(2.3)
Friction
Forces that are algebraic functions of the relative velocity where has units of newton-seconds per meter (N·s/m)
between two bodies are modeled by friction elements. and where .
A mass sliding on an oil film that has laminar flow, as The direction of a frictional force will be such as to oppose
depicted in Figure, is subject to viscous friction and obeys the motion of the mass.
the linear relationship For Eq.(2.4) to apply to Figure, the force exerted on the
----(2.4) mass M by the oil film is to the left. (By Newton's third law,
the mass exerts an equal force f to the right on the oil film.)
The friction coefficient is proportional to the contact area
and to the viscosity of the oil, and inversely proportional to
the thickness of the film. A heavier mass would further
compress the oil film, making it thinner and increasing the
value of .
Examples of friction that obey nonlinear relationships are Drag friction is caused by resistance to a body moving
dry friction and drag friction. through a fluid (such as wind resistance) and can often be
The former is modeled by a force that is independent of the described by an equation of the form
magnitude of the relative velocity, as indicated in figure and
that can be described by equation as depicted in figure
Mass
The mass building block Acceleration is the rate of change of velocity, i.e. dv/dt, and
exhibits the property that the velocity is the rate of change of displacement , i.e.
bigger the mass, the greater v = dx/dt. Thus
the force required to give it a
specific acceleration.
The relationship between the
force and the acceleration
is second law)
, where the constant of
proportionality between the
force and the acceleration is
the constant called the mass
m.
BITS Pilani, Pilani Campus BITS Pilani, Pilani Campus
Energy / Power
Since
There is no energy stored in the dashpot. It does not return D' Alembert's law is just a restatement of Newton's second
to its original position when there is no force input. law governing the rate of change of momentum.
The dashpot dissipates energy rather than storing it, the For a constant mass, we can write
power P dissipated depending on the velocity v and being
given by
where the summation over the index includes all the external
forces acting on the body.
The forces and velocity are in general vector quantities, but
they can be treated as scalars provided that the motion is
constrained to be in a fixed direction, Rewriting (1) as
Suggests that the mass in question can be considered to be The Law of Reaction Forces:
in equilibrium -- that is, the sum of the forces is zero In order to relate the forces exerted by the elements
provided that the term is thought of as an additional of friction and stiffness to the forces acting on a mass
force. or junction point, we need Newton's third law
regarding reaction forces.
This fictitious force is called the inertial force or
force, and including it along with the external forces allows Accompanying any force of one element on another,
us to write the force equation as one of equilibrium there is a reaction force on the first element of equal
magnitude and opposite direction.
----(3)
This equation is known as law.
The Law for Displacements: The system model must incorporate both the element laws
and the interconnection laws.
If the ends of two elements are connected, those ends
are forced to move with the same displacement and The element laws involve displacements, velocities, and
velocity. accelerations.
Because the acceleration of a point is the derivative of the
velocity, which in turn is the derivative of the displacement,
we could write all the element laws in terms of and its
derivatives or in terms of .
It is important to indicate the assumed positive directions for
displacements, velocities, and accelerations.
We shall always choose the assumed positive directions for
to be the same, so it will not be necessary to
indicate all three positive directions on the diagram.
BITS Pilani, Pilani Campus BITS Pilani, Pilani Campus
Free-Body Diagrams
We normally need to apply D' Alembert's law, given by After the free-body diagram is completed, we can apply
Eq.(3), to each mass or junction point in the system that Eq.(3) by summing the forces indicated on the diagram,
moves with a velocity that is unknown beforehand. again taking into account their assumed positive senses.
To do so, it is useful to draw a free-body diagram for each Normally all forces must be added as vectors, but in our
such mass or point, showing all external forces and the examples the forces in the free-body diagram will be
inertial force by arrows that define their positive senses. collinear and can be summed by scalar equations.
The element laws are used to express all forces except
inputs in terms of displacements, velocities, and
accelerations.
We must be sure that the signs of these expressions are
consistent with the directions of the reference arrows.
Example Solution
Draw the free-body diagram and apply D' Alembert's law to The horizontal forces, which are included in the free-body
write a modeling equation for the system shown in Figure. diagram, are
The mass is assumed to move horizontally on frictionless the force exerted by the spring
bearings, and the spring and dashpot are linear. the force exerted by the dashpot
the inertial force
the applied force
Similarly, when the right end of the dashpot moves to the right Example:
with velocity , a force is exerted on the mass to the left. Consider the simple mass spring damper system subjected to an input
The inertial force must have its positive direction force f, as shown in figure
opposite to that of dv / dt.
D' Alembert's law can now be applied to the diagram in Figure,
with due regard for the assumed arrow directions.
If forces acting to the right are regarded as positive, the law
yields
1. Apply second law to derive the differential equation of motion.
Replacing by and by , and rearranging the terms, we can 2. Find the displacement output x(t) of the system subjected to an applied
rewrite this equation as force f(t) = 10u(t), where u(t) is the unit-step function. The parameter
values are m = 1 kg, b = 2 N·s/m, and k = 5 N/m. Assume zero initial
conditions.
New Simulink window opens. Click on Blank model to create a A new Simulink model window opens
new model.
Double-click the block with the name Step, and type 0 for the Open the Simscape > Foundation Library > Mechanical >
Step time and 10 for the Final value to define the input f(t) = Translational Elements library.
10u(t). After simulation Simulink model Result
Drag the Mass, Translational Spring, Translational Damper, Orient the blocks as shown in the following illustration. To
and two Mechanical Translational Reference blocks into the rotate a block, select it and press Ctrl+R.
model window.
Add the sensor to measure speed and position of the mass. Place the Ideal Translational Now you need to add the sources and scopes. They are found in the Simulink libraries. Open
Motion Sensor block from the Mechanical Sensors library into your diagram and connect it as the Simulink > Sources library and copy the Step block into the model. Then open the Simulink
shown below. > Sinks library and copy Scope block.
Every time you connect a Simulink source or scope to a Simscape diagram, you have to use Complete Simscape model
an appropriate converter block, to convert Simulink signals into physical signals and vice
versa. Open the Simscape > Utilities library and copy a Simulink-PS Converter block and two
PS-Simulink Converter blocks into the model. Connect the blocks as shown below.
Thank you