Tutorial
Tutorial
Tutorial
3. Calibrate instruments-Evaluation
Note that this usually applies to quantities that are a function of time which is why the
expressions are written as differential coefficients with respect to time.
The output and input are changed from functions of time to a function of s.
Building Blocks
TORSIONAL DAMPER
A torsional damper may be idealized as vanes rotating in a viscous fluid so that the torque
required to rotate it is directly proportional to the angular velocity. kd is the torsion damping
coefficient in N m s/radian
MOMENT OF INERTIA
This work is important in the study of motors, gear boxes, pulley drives and so on.
Electrical system modeling
Engineers have found that many mechanical and electrical elements have the same model and that the maths used is the
same. There are clear analogies between electrical and mechanical (including thermal and fluid) systems. These use the
properties of Capacitance, Resistance and Inductance. Laws used in common are conservation laws. You do not need
to study all these in detail and the appropriate law will be explained as required.
CAPACITANCE usually uses the symbol C and is found in electrical, thermal and fluid systems. A mechanical
spring is a form of capacitance where k is the spring stiffness and 1/k is analogous to C.
RESISTANCE usually uses the symbol R and is found in electrical and thermal systems. Mechanical/hydraulic
resistance is better known as the damping coefficient and has various symbols.
INDUCTANCE usually uses the symbol L for electrical systems. In mechanical systems the analogous property
is MASS or INERTIA and in fluid systems the analogous property is INERTANCE
Here is a table showing the main analogue components and their mathematical models. It is useful to note that
capacitance is a zero order differential equation, resistance is a first order differential equation and
Inductance/inertia/inertance is a second order differential equation.
23
Hydraulic System building blocks
Input and output in hydraulic system are Volumetric flow rate (q) Pressure difference (P1-
P2) respectively.
Building Blocks
1. Hydraulic resistance (R): is the resistance to flow of liquid flow through valves or
changes in pipe diameter takes place.
P1-P2=Rq
2. Hydraulic capacitance: is the term used to describe energy storage with a liquid where
it is stored in the form of potential energy. A height of liquid in a container is one form of
such a storage. For such capacitance, the rate of change of volume V in the container
(dV/dt) is equal to the difference between the volumetric q1 and the rate at which it leaves
q2.
3. Hydraulic Inertance: is the equivalent of inductance in the electrical systems or mass in
mechanical systems. To accelerate fluid and so increase its velocity a force is required.
25
Thermal System Building Blocks
Two basic blocks: resistance and capacitance
The value of the resistance depends on the mode of heat transfer.
26
Modeling common systems and identifying their responses to various inputs-
Creation/Synthesis
1. Which of the following is/are input(s) for the mechanical system modeling?
a. Force
b. Torque
c. Displacement
d. a and b
Answer: D
2. Which of the following is an example of a system input?
A. The system's internal components
B. The system's physical environment
C. The system's output
D. The system's performance
Answer: B
3. What is a transfer function?
a) A function that describes the input-output relationship of a system
b) A function that describes the time constant of a system
c) A function that describes the frequency response of a system
d) A function that describes the gain of a system
Answer: a) A function that describes the input-output relationship of a system
4. What is system modeling?
a) The process of designing a physical system
b) The process of creating a mathematical representation of a system
c) The process of testing a system
d) The process of analyzing a system's performance
Answer: b) The process of creating a mathematical representation of a system
5. Which is true about building block?
A. Systems can be made up from a range of building blocks
B. Each building block is considered to have a single property or function
C. The models used to represent mechanical systems have the three basic building blocks
D. All
Answer: D
6. A mass–spring–system has the following parameters.
Stiffness K = 800 N/m Mass M = 3 kg , Damping Coefficient kd = 20 Ns/m
What will be the equation for the force required when the piston is accelerating?
A. F=6a+40v+1200x
B. F=3a+20v+800x
C. F=9a+50v+800x
D. None of the above
Answer: B
7. The first step in modeling a common system is:
E. Identifying the system's components and their interactions
F. Collecting data on the system's responses to inputs
G. Determining the system's purpose and goals
H. Predicting the output of the system
Answer: A
8. Which of the following is energy dissipating component?
I. Spring
J. Mass
K. Damper
L. Rotational damper
M. C and D
Answer: E
9. Transfer function of a system is used to calculate which of the following ?
(a) The order of the system
(b) The time constant
(c) The output for any given input
(d) The steady state gain
Answer: C
10. What will be the equation of the following mass-spring system?
A. m + (K1+K2)x = F
B. m - (K1+K2)x = F
C. m + (K1-K2)x = F
D. m +cdv/dt+ (K1+K2)x = F
Answer: A
Actuators
Actuators are basically the muscle behind a mechatronics system that
accepts a control command (mostly in the form of an electrical signal) and
produces a change in the physical system by generating force, motion,
heat, flow, etc.
Normally, Actuation system have three actuating units:- power supply,
actuator and coupling mechanism as shown in Fig.
The power unit provides either AC or DC power at the rated voltage and
current.
The coupling mechanism acts as the interface between the actuator and the
physical system.
Typical mechanisms include rack and pinion, gear drive, belt drive, lead
screw and nut, piston, and linkages.
2.2 1 Actuators Classification
Based on energy : -
Electrical,
Electromechanical,
Mechanical,
Electromagnets ,
New generation: -
Smart actuators,
micro actuators,
Nano actuators.
Electrical Actuators
the low energy control signal from the controller that makes or breaks the
connection between the power supply and the actuator load.
Electromechanical Actuators
The most common electromechanical actuator is a motor that converts
electrical energy to mechanical motion.
Motors are the principal means of converting electrical energy into
mechanical energy in industry.
Broadly they can be classified as DC motors, AC motors, and stepper
motors. DC motors operate on DC voltage and varying the voltage can
easily control their speed.
They are widely used in applications ranging from thousands of
horsepower motors used in rolling mills to fractional horsepower motors
used in automobiles (starter motors, fan motors, windshield wiper motors,
etc.)
Electromagnetic Actuators
The solenoid is the most common electromagnetic actuator.
A DC solenoid actuator consists of a soft iron core enclosed within a current
carrying coil. When the coil is energized, a magnetic field is established that
provides the force to push or pull the iron core.
A solenoid operated directional control valve is shown in Fig. Normally, due
to the spring force, the soft iron core is pushed to the extreme left position
as shown. When the solenoid is excited, the soft iron core will move to the
right extreme position thus providing the electromagnetic actuation.
Hydraulic and Pneumatic Actuators
Hydraulic and pneumatic actuators are normally either rotary motors or
linear piston/cylinder or control valves. They are ideally suited for
generating very large forces coupled with large motion.
Pneumatic actuators use air under pressure that is most suitable for low
to medium force, short stroke, and high speed applications.
Hydraulic actuators use pressurized oil that is incompressible. They can
produce very large forces coupled with large motion in a cost-effective
manner.
The rotary motors are usually used in applications where low speed and
high torque are required.
The cylinder/piston actuators are suited for application of linear motion
such as aircraft flap control.
Mechanical Actuators
11/30/2023 44
Advantages of PLCs:
Flexibility in programming and reprogramming.
Reduced space.
Ability to work at high temperatures
11/30/2023 Energy saving. 45
Disadvantages of PLCs
o PLC devices are proprietary it means that part or software of one manufacturer
can’t be used in combination with parts of another manufacturer.
11/30/2023 46
Applications
Wherever automation is desired the PLCs are best suited to meet the task.
A counter might be used to keep track of the number of the vehicles in a parking lot.
2) Traffic lights
Timers are devices that count increments of time.
They are used with traffic lights, for example, to
control the length of time between signal changes.
11/30/2023 47
3) Food processing and bottling
11/30/2023 48
Programming Languages of PLC
1) Ladder logic
4) Boolean mnemonics.
11/30/2023 49
PLC ladder programming (ladder logic)
o A very commonly used method of programming PLCs is based on the use of ladder
diagrams.
11/30/2023 50
Cont.…
11/30/2023 51
11/30/2023 52
PLC Selection
o Factors:
Manufacturer’s support.
Serviceability.
Flexibility.
Expandability.
Programming software.
Training.
Documentation.
11/30/2023 53
The difference between PLC and microprocessor
(computer)
11/30/2023 54
Controlling electromechanical systems using PLC or simple passive circuits-
Application
1. Which of the following is an advantage of using a PLC for controlling systems?
A. Flexibility in programming
B. Simplicity in design
C. Low cost
D. No need for external power supply
Answer: A
2. The programmable logic controllers are used in __________
A. Glass and paper industry
B. Process automation plants
C. Cement manufacturing
D. All of the above
Answer: D
3. Ladder logic programming consists primarily of:
A. Virtual relay contacts and coils
B. Logic gate symbols with connecting lines
C. Function blocks with connecting lines
D. Text-based code
Answer: A
4. An OR function implemented in ladder logic uses
E. Normally closed contact in series
F. Normally open contact in series
G. Normally open contact in parallel
H. Normally closed contact in parallel
Answer: C
5. The _____ timer times as long as the enabling input is ON, but does not reset when the
input goes OFF and timer must be reset with a RESET (R) instruction.
Retentive time
A. Retentive ON delay
B. ON delay
C. OFF delay
D. None of the above
Answer: A
6. The Boolean representation of this PLC program is:
A. ABC + D
B. C + (A + B)D
C. C + D(A + B)
D. ABC + BD
E. C(AB + D)
Answer: E
7. Which of the following statements is not correct?
E. The PLC rung output [-()-] is a discrete out put instruction or bit in memory
F. Each rung of the ladder logic represents a logical statement executed in software –inputs
on the right and outputs on the left.
G. Input and output instructions in ladder do not directly represent the switches and actuators
H. PLC input instructions are logical symbols associated with voltage at the input module
terminals
Answer: B
8. Which of the following statements is not correct?
A. Outputs can be paralleled on the same rung
B. The (-| |-) and output (-()-) instruction symbols in the ladder logic represent only data
values stored in PLC memory
C. Outputs can be put in series on the same rung
D. None of the above
Answer: C
9. Why PLC is preferable than other digital electronic controlling device?
E. The ability to work in severe environment
F. High speed of operation
G. PLC devices are proprietary
H. A and B
Answer: D