1 Introduction Merged
1 Introduction Merged
INTRODUCTION
PUSHPARAJ MANI PATHAK
MECHANICAL & INDUSTRIAL ENGINEEING, IIT ROORKEE
1
Introduction
2
Sensors and Transducers
• Performance terminology
• Photoelectric transducers
• Flow transducers
• Optical sensors and transducers
• Semiconductor lasers
• Selection of sensors
• Mechanical/electrical switches, inputting data by switches
3
Actuators and Mechanisms
• Actuation systems
• Pneumatic and hydraulic systems
• Process control valves
• Rotary actuators
• Mechanical actuation systems
• Electrical actuation systems
4
Signal conditioning
• Signal conditioning
• Filtering digital signals
• Multiplexers
• Data acquisition
• Digital signal processing
• Pulse modulation
• Data presentation systems
5
Microprocessors and Microcontrollers:
• Control
• Microcomputer structure
• Microcontrollers applications
• Programmable logic controllers.
6
Modeling & System Response
• Mathematical models
• Mechanical
• Electrical
• Hydraulic
• Thermal Systems
• Dynamic response of systems
• Transfer function and frequency response
• Closed loop controllers
• MATLAB as development tool
7
Design and Mechatronics
• Input/output system
• Computer based modular design
• System validation
• Remote monitoring and control
• Designing
• Possible design solutions
• Case studies
8
Books
10
• Harashima, Tomizuka, and Fukada in 1996
– the synergistic (working together) integration of
mechanical engineering, with electronics and intelligent
computer control in the design and manufacturing of
industrial products and processes.
• Auslander and Kempf, 1996
– Mechatronics is the application of complex decision
making to the operation of physical systems.
11
• Shetty and Kolk in 1997
– Mechatronics is a methodology used for the optimal
design of electromechanical products.
• W. Bolton
– A mechatronic system is not just a marriage of electrical
and mechanical systems and is more than just a control
system; it is a complete integration of all of them.
12
• Mechatronics is generally
– recognized worldwide as a vibrant area of study.
– Undergraduate and graduate programs in mechatronic
engineering are now offered in many universities.
– Refereed journals are being published and dedicated
conferences are being organized and are generally highly
attended.
13
Mechatronics?
14
Real life applications: House hold thermostat
15
16
Thermostat components: Conversion to Mechatronic
Design
17
Finished Design
18
Classification of Mechatronics Products
• In the late 1970s, the Japan Society for the Promotion of Machine Industry
(JSPMI) classified mechatronic products into
• Class I:
– Primarily mechanical products with electronics incorporated to
enhance functionality.
– Examples include numerically controlled machine tools and variable
speed drives in manufacturing machines.
• Class II:
– Traditional mechanical systems with significantly updated internal
devices incorporating electronics. The external user interfaces are
unaltered.
– Examples include the modern sewing machine and automated
manufacturing systems.
19
• Class III:
– Systems that retain the functionality of the traditional
mechanical system, but the internal mechanisms are
replaced by electronics.
– An example is the digital watch.
• Class IV:
– Products designed with mechanical and electronic
technologies through synergistic integration.
– Examples include photocopiers, intelligent washers and
dryers, and automatic ovens.
20
• The enabling technologies for each mechatronic product class illustrate
the progression of electromechanical products in stride with
developments in control theory, computation technologies, and
microprocessors.
• Class I products were enabled by servo technology, power electronics, and
control theory.
• Class II products were enabled by the availability of early computational
and memory devices and custom circuit design capabilities.
• Class III products relied heavily on the microprocessor and integrated
circuits to replace mechanical systems.
• Class IV products marked the beginning of true mechatronic systems,
through integration of mechanical systems and electronics.
21
• It was not until the 1970s with the development of the
microprocessor by the Intel Corporation that integration of
computational systems with mechanical systems became
practical.
• The electronic ignition system was one of the first
mechatronic systems to be introduced in the automobile in
the late 1970s.
22
23
Benefits of Mechatronics
• More features
• Higher precession
• User friendly
• More flexible
• Lower cost, Efficient
• Environment friendly
• Smaller geometry
• More reliable
• Safer
24
Mechatronic system components
ACTUATORS SENSORS
▪ Solenoids, voice coils ▪switches
INPUT SIGNAL
▪ DC motors ▪Potentiometer, Thermocouple CONDITIONING AND
▪ Stepper motors ▪Photoelectrics, Accelerometer INTERFACING
▪ Servo motors ▪Digital encoder ▪ Discrete circuits ▪ Filters
▪Hydraulics, Pneumatics ▪Strain gauge, MEMs ▪ Amplifiers ▪ A/D, D/D
OUTPUT SIGNAL
DIGITAL CONTROL ARCHITECTURES
GRAPHICAL CONDITIONING &
DISPLAYS ▪Logic circuits ▪Control algorithms
INTERFACING
▪LEDs, LCD, CRT ▪Microcontroller ▪communication
▪D/A, D/D ▪Power transistors
▪Digital display ▪Sequencing & Timing ▪SBC, PLC
▪Amplifiers ▪Power op amps
▪Logic & Arithmetic ▪A/D, D/D
▪PWM
25
System
26
Measurement System
27
An Example of Measurement System
28
A control system
Output
Input
Central Heating System Temperat
Required ure of the
temperature set value
29
Control System
30
Open Loop System
Input Output
Switch Electric fire
Decision Electric Temper
to power ature
switch change
on or off
31
Elements of a closed loop system
Comparison element
Input + Output
Switch Electric fire
Requir - Electric A
ed Deviation power constant
tempe signal tempera
rature ture
Feedback of
temperature signal Measuring
device
32
Comparison element
+
Correction
Control unit Process
unit
Refer - Controlled
ence Error variable
value signal
34
References
35
Thank You
36
MECHATRONICS
MECHATRONIC SYSTEM EXAMPLES
1
Mechatronic System Examples
2
Four Stroke Sequence
• Intake stroke
• Compression stroke
• Power stroke
• Exhaust stroke
3
4
Spark timing
Engine speed
Crankshaft position
Micro
Spark timing feedback processor
Air Fuel Mixture Solenoid
Engine temperature
Throttle position
Fuel injection valve
Mass air flow
5
• Power and speed of engine are controlled by varying the ignition
timing and air fuel mixture.
• For spark timing
• Crankshaft drives a distributor
• Distributor makes electrical contact for each sparkplug and a timing
wheel
• Timing wheel generates pulses to indicate crankshaft position.
• Microprocessor then adjusts the timing at which high voltage pulses
are sent to the distributor so they occur at right moment of time.
6
• Air fuel ratio control
• Microprocessor varies the time for which a solenoid is
activated to open the intake valve on the basis of input
received about the engine temperature and throttle position.
• Fuel injection
• Amount of fuel to be injected into air stream is determined by
an input from a sensor of the mass rate of air flow or
computed from other measurements
7
Copy Machine
8
Working
9
• Image is transferred onto the paper with an electrostatic
deposition of ink toner powder that is heated to bond to the
paper.
• A sorting mechanism then delivers the copy to an appropriate
bin.
10
Control
11
Sensors
• Optical sensors and microswitches detect the
• presence on absence of paper,
• its proper positioning, and
• whether or not door and latches are in proper position.
• Encoders used to track motor rotation.
12
Actuators
13
LEGO NXT
14
LEGO Sensors
• Touch sensor
• Sound sensor
• Light sensor
• Ultrasonic
sensor
15
LEGO Actuators
• Servo motors
16
Lego Controller
• NXT Brick
17
Toddler-Walking Robot
18
• Actuators
– Servo Motors
• Sensors
– IR Sensor for obstruction detection
– Bumper Sensor for obstruction detection
– Compass, for orientation detection
– Accelerometer, for tilt detection
– Ultrasonic sensor, for range detection.
• Micro Controller
– BASIC Stamp 2 module
19
Stepper Motor Position and Speed Control
• Actuator: stepper
motor
• Sensor: Switches,
potentiometer
• Microcontroller:
PIC
20
DC motor position and speed controller-H bridge driver
and PWM speed control
• Actuator: DC motor
• Sensor: encoder, switch
• Microcontroller: PIC
21
Future of Mechatronics
22
• We should expect continued advancements in
– cost-effective microprocessors and microcontrollers,
– sensor and actuator development enabled by
advancements in applications of MEMS,
– adaptive control methodologies and real-time
programming methods,
– networking and wireless technologies,
– mature CAE technologies for advanced system modeling,
virtual prototyping, and testing.
23
• The continued rapid development in these areas will only accelerate
the pace of smart product development.
• The Internet is a technology that, when utilized in combination with
wireless technology, may also lead to new mechatronic products.
• While developments in automotive provide vivid examples of
mechatronics development, there are numerous examples of
intelligent systems in all walks of life, including smart home appliances
such as dishwashers, vacuum cleaners, microwaves, and wireless
network enabled devices.
24
• In the area of “human-friendly machines” we can expect
advances in robot-assisted surgery, and implantable
sensors and actuators.
• Other areas that will benefit from mechatronic advances
may include robotics, manufacturing, space technology,
and transportation.
• The future of mechatronics is wide open.
25
Why Mechatronics system Simulation?
26
• Therefore, an integrated and interdisciplinary engineering
approach is necessary.
• For this reason, engineers must be assisted by tools which
allow a systems analysis with respect to capabilities,
capacities and behaviour without really constructing the
system.
• This necessitates an appropriate modelling and simulation
tool for mechatronic systems.
27
References
28
Thank You
29
MECHATRONICS
ELECTRIC CIRCUITS AND COMPONENTS
1
Introduction
3
4
• Voltage source adds energy to electron.
• Anode: Electrons are attracted.
• Cathode: Electrons are released
• Electron flow from cathode to anode through the circuit. But
standard convention is in opposite direction.
• Load: Network of circuit elements that may store (I,C) or
dissipate electrical energy (R)
• Ground: Indicates a reference point in circuit where the
voltage is assumed to be zero.
5
Basic Electronic
components
Electrical
Elements
Passive Active
components components
Diodes
Vacuum Tubes Gas Tubes
Transistors
6
Resistor Capacitor Inductor Current Source
Voltage
(R) (C) (L) (I)
Source (V)
7
• Passive electrical elements: R, L, C
• Passive elements require no additional power supply, unlike
active devices such as integrated circuits.
• These elements are defined by voltage current relationship.
• Two types of energy sources
• Voltage source (V)
• Current sources (I)
• Ideal source contains no internal resistance, inductance or
capacitance.
8
Resistor
𝜌𝐿
R=
• Dissipative element 𝐴
9
Resistor Packaging
10
Wire Lead Resistor Color Bands
11
• Variable Resistor
• Provide range of values controlled by mechanical screws
knobs or linear slide
• Most common type is potentiometer or pot
13
• Strictly DC current does not flow through the capacitor
• Charges are displaced through circuit.
• Displacement current
1 𝑡 𝑄(𝑡) 𝑑𝑉
𝑉 𝑡 = න 𝐼 𝜏 𝑑𝜏 = 𝐼 𝑡 =𝐶
𝐶 0 𝐶 𝑑𝑡
14
Inductor
d
• A passive element V (t ) =
that stores energy in dt
the form of a = LI
magnetic field.
dI
• Energy storing V (t ) = L
element that stores dt
energy in the form of t
1
magnetic field. I (t ) = V ( )d
• Characteristics are L0
from Faradays law of
induction 𝜆 is total magnetic flux through
coil winding due to current. It is
measured in webers(Wb)
15
• Current through an inductor cannot change instantaneously
because it is integral of voltage.
• Motors have large inductance, so it is difficult to start and
stop motors instantaneously
• Unit of measurement of inductance is Henry
• Typical inductance range from 1µH to 100mH
16
Kirchhoff’s Laws
𝑉𝑖 = 0
𝑖=1
−𝑉1 − 𝑉2 + 𝑉3 +. . . −𝑉𝑁 = 0 Kirchhoff’s Voltage Law
17
Kirchhoff’s Current Law (KCL)
Node Surface
𝐼2
I1 + I 2 − I 3 = 0
N
𝐼3
Ii = 0
i =1
𝐼𝑁 …
18
Series Resistance Circuit
Using KVL
− Vs + VR1 + VR2 = 0
Req = R1 + R2
C1C2
Ceq =
C1 + C2
Leq = L1 + L2
19
Voltage Dividers
R1
VR1 = Vs
R1 + R2
R2
VR2 = Vs
R1 + R2
Series Resistance Circuit
20
Parallel Resistance Circuit
Using KCL
I − I1 − I 2 = 0
R1 R2
Req =
R1 + R2
Ceq = C1 + C2
L1 L2
Leq =
L1 + L2
21
Voltage & Current Sources and Meters
22
Real Voltage Source with Output Impedance
Rout is small
23
Real Current Source with Output Impedance
24
Real Ammeter with Input Impedance
25
Real Voltmeter with Input Impedance
28
Thevenin equivalent circuit
R2
VOC = Vs
R1 + R2
R1 R2
RTH =
R1 + R2
29
Norton Equivalent Circuit
30
AC Circuit Analysis
• Sinusoidal Waveform
31
• Time shift between the
= t
signal and reference.
• +ve phase angle-leading
waveform. 1
f = =
• -ve phase angle lagging T 2
waveform.
• Frequency of signal
32
AC Circuit Analysis
33
References
35
MECHATRONICS
SEMICONDUCTOR ELECTRONICS
1
Introduction
2
Energy bands in conductor, insulator, semiconductors
3
Valence and Conduction Bands of Materials
• In conductors, valence
electrons are loosely
bound.
• In insulators valence
electrons are tightly
bound.
• Class of materials,
elements in group IV of
the periodic table, have
properties between
conductors and insulators.
• They are called
semiconductors.
4
• Elements of group IV of periodic table are silicon and
germanium.
• The properties of pure semiconductor crystals can be
significantly changed by inserting small quantities of elements
from group III or group V of the periodic table into the crystal
lattice of the semiconductor.
• These elements, known as dopants.
5
• Silicon has four valence electrons.
• If Arsenic or phosphorous of group V is added to the
crystal lattice, one of the five valence electrons in each
dopant atom remains freer to move around.
• The dopant is called a donor.
• The resulting semiconductor is called n-type silicon due
to the electrons available in the crystal lattice as charge
carriers.
6
• If the silicon is doped with boron or gallium from group III,
holes form due to missing electrons in the lattice where
acceptor dopant atoms have replaced silicon atoms.
• This is because the dopant atom only has three valence
electrons.
• A hole can jump from atom to atom, producing a positive
current.
• This type semi conductor is called p-type.
7
pn Junction Characteristics
0.6–0.7 V
8
• In forward bias as the applied voltage approaches the value of the contact
potential (0.6–0.7 V for silicon), the current increases exponentially
𝑞𝑉𝐷
𝐼𝐷 = 𝐼0 𝑒 𝑘𝑇 −1
• where ID is the current through the junction,
• I0 is the reverse saturation current,
• q is the charge of one electron (1.60×10-19 C),
• k is Boltzmann’s constant (1.381×10-23 J/K),
• VD is the forward bias voltage across the junction,
• T is the absolute temperature of the junction in Kelvin
• In case of reverse bias a reverse saturation current (I0 ) does flow, but it is
very small ( of the order of 10-9 to 10-15 A).
9
Silicon Diode
• A pn junction passes
current in only one
direction.
• It is known as a silicon
diode and is sometimes
referred to as a rectifier.
10
Examples of Common Diodes
13
Half Wave Rectifier Circuit Assuming an Ideal Diode
14
Ac-to-dc Converter With Full-bridge Rectifier
15
Full-bridge Rectifier Action
16
Diode Bridges
17
▪ The cylindrical device on the right in the photograph has a
current limit of 1A. Physically, it is 7 mm high, and 10 mm in
diameter.
▪ The flat device on the left has a current limit of 4A. It is has a
thickness of 6 mm, is 16 mm in height, and 19 mm in width.
▪ photograph on the right shows a large, high-power diode
bridge.
▪ It has a current capacity of 15A. The peak reverse-bias voltage
is 400V.
18
Zener Diode (avalanche, or voltage-regulator diodes)
• Most diode breakdown voltage is 50 V.
• These have steep breakdown curves with well defined
breakdown voltage.
• Thus maintains nearly constant voltage over a wide range of
currents.
• Thus they are good voltage regulators.
• To properly use the zener diode in a circuit, the zener should
be reverse biased with a voltage kept in excess of its
breakdown or zener voltage Vz .
19
20
Zener as voltage regulator
Using KVL
𝑉𝑖 − 𝑉𝑧
𝐼𝑧 =
𝑅
∆𝑉𝑖 − ∆𝑉𝑧
∆𝐼𝑧 =
𝑅
21
• However, it is useful to define a dynamic resistance Rd that is
the slope of the zener characteristic curve at a particular
operating point.
∆𝑉𝑧
∆𝐼𝑧 =
𝑅𝑑
So on substitution we can get
𝑅𝑑
∆𝑉𝑜 = ∆𝑉𝑧 = ∆𝑉𝑖
𝑅𝑑 +𝑅
22
Light Emitting Diode
23
Photodiode
24
Transistors
25
Bipolar Junction Transistor
26
npn Bipolar Junction Transistor
• The n-type
silicon in the
emitter is more
heavily doped
than the
collector
• So the collector
and emitter are
not
interchangeable.
27
• VCE is the voltage between the collector and emitter,
• VBE is the voltage between the base and emitter.
𝑉𝐵𝐸 = 𝑉𝐵 − 𝑉𝐸
𝑉𝐶𝐸 = 𝑉𝐶 − 𝑉𝐸
𝐼𝐸 = 𝐼𝐵 + 𝐼𝐶
• Normally VC>VB>VE so BE jn forward bias; BC jn is reverse bias
• IB controls IC, acts as current amplifier.
• 𝐼𝐶 = 𝛽𝐼𝐵
• Transistor connections are common base, common emitter and
common collector.
28
References
29
Thank You
30
MECHATRONICS
APPLICATION OF TRANSISTORS
1
Introduction
3
Common Emitter Connection
• Input current IB
• Output current IC
• Base current amplification
∆𝐼𝐶
factor = =𝛽
∆𝐼𝐵
• ∆𝐼𝐵 < 5% ∆𝐼𝐸
• 𝛽 > 20 (IC ≈ IE)
• 𝛽 ≈ 100
4
• If a BJT’s emitter is grounded
and we apply an input voltage
to the base, we get the
common emitter circuit.
• Input characteristics IB VCE=1V
• VBE v/s IB for VCE=constant
VBE
5
Output Characteristic
6
• As IC increases, voltage
drop across RC increases,
so VCE drops towards
ground.
• Transistor is said to go to
saturation i.e., collector
current is determined by
RC and linear relation
between IC and IB no
longer holds.
7
• When designing a transistor switch, we need to guarantee
that the transistor is in fully saturation condition.
• VCE minimum is about 0.2 V for BJT.
• Power dissipated is smallest= IC VCE for given collector current
when it is fully saturated.
• If transistor is not fully saturated it gets hot faster and can fail.
8
Bipolar Transistor Switch
Off
9
• If VBE=0.7V, BE junction is
forward biased. Current
passes through CE circuit
• Vo is close to ground
potential (0.2V) for
saturated BJT.
ON
10
• RB required to limit base current
𝑉𝑖 − 𝑉𝐵𝐸
𝐼𝐵 =
𝑅𝐵
• When Vi < 0.7 V, IB = 0 and VBE=Vi
• Transistors used for power application are called power
transistor.
11
Bipolar Transistor Packages
• Pair of transistors
• Current gain is product of
two individual transistor
gains.
• Can be of the order of
10000
• Used in power circuit of
mechatronic system.
14
Phototransistor
15
Optoisolator
16
Angular Position of a Robotic Scanner
• Problem statement
• In design of autonomous robot,
include a laser scanning device to
sweep the environment to detect the
obstacles. Head of the scanner is
rotated through 360˚ by a DC motor.
Find
– Angular position of scan head.
– What should be done, if on board
computer to use this scanned
value.
17
• Solution
• Design a sensor that provides digital output.
• Use LED-photo transistor pair called photo-interrupter.
• The device produce a light that can be broken or
interrupted.
• Provide a disk attached to motor passing through slot.
• Each slot will provide digital pulse as it interrupts the
light beam during rotation.
18
• R1- current limiting resistor
• R2- pull up resistor to provide
output.
• As slotted disk rotates
• When light passes, transistor
conducts – 0 o/p.
• Slot interrupted, 5V o/p returned.
• No of pulses is measure of rotation.
• If 360 slots, 1 pulse = 1˚
19
Field Effect Transistors
20
Construction Details
Drain(D) Drain(D)
• A p-type or n type silicon
bar containing two pn
n p
junctions at the sides.
p p n
• Bar forms the conducting Gate(G) n
Gate(G)
channel for the charges n p
carriers.
• If bar is n type, it is called
n channel FET and if it is p Source(S) Source(S)
type it is p channel FET. n-Channel FET p-Channel FET
21
Drain(D)
• The two pn junctions forming
diodes are connected internally
and common terminal is called
n
Gate.
p p
• Thus FET has three terminals Gate(G)
i.e., Gate (G), Source (S) and n
Drain (D).
Source(S)
n-Channel FET
22
FET Polarities
Drain(D)
• Voltage between
Gate and Source is
such that it is reverse n
biased. p p
Gate(G) VDS
• Drain and Source n
terminals are VGS
interchangeable.
Source(S)
n-Channel FET
23
Working principle of FET
Drain(D)
• (i) As VDS>0, VGS=0
• pn junction establishes
depletion layer.
n
• Electrons flow from
source to drain through p p
Gate(G) VDS
channel between
n
depletion layer. VGS
• Size of layer determines
width of channel and
current through the bar. Source(S)
n-Channel FET
24
Drain(D)
• Reverse voltage at VGS
• Width of depletion layer
increases
n
• Width of conducting
channel decreases p p
Gate(G) VDS
• Resistance increases of n n
type bar VGS
• Current flow decreases.
• Current can be controlled
Source(S)
by reverse voltage.
n-Channel FET
25
Schematic Symbol
D D
G G
S S
n-Channel FET p-Channel FET
26
Difference between FET and Bipolar Transistor
Bipolar FET
• Both n and p type carrier • Unipolar(either n or p type carrier)
• Low input impedance • High input impedance (isolation
possible)
• Current driven device • Voltage driven device
• Characterise by current • Characterise by transconductance
gain (ratio of change in o/p current to
i/p (gate) voltage.
27
Output Characteristic of FET
𝐼𝐷
• Keep VGS at some
constant value
• ID rapidly increases, as 𝑉𝐺𝑆 = 1𝑉
VDB increases. 𝑉𝐺𝑆 = 2𝑉
• After pinch off voltage, 𝑉𝐺𝑆 = 3𝑉
channel width becomes
𝑉𝐷𝑆
narrow so constant O A
current is obtained.
28
Metal Oxide Semiconductor FET (MOSFET)
29
MOSFET Construction Details
Drain(D)
• Only a single p region Oxide layer D
• A thin layer of metal oxide
(usually silicon dioxide) is n
deposited over the left side Subtrate Subtrate
of the channel. p G
Gate(G)
• A metallic gate is deposited n
over the oxide layer.
• As silicon dioxide is an S
insulator , so gate is
insulated from channel Source(S)
n-Channel FET
30
Working of MOSFET
32
Thank You
33