8 - Displacement - Position - Proximity - Sensor II
8 - Displacement - Position - Proximity - Sensor II
1
Optical Encoders
3
Absolute Encoder
4
• These slots are arranged in
such a way that the
sequential out put from the
sensors is a number in binary
code.
• The number of tracks decides
the number of bits in the
binary number. Four bit absolute encoder
5
• For four tracks, there will be
four bits and the number of
positions that can be detected
will be 24.
• Thus the resolution of encoder
will be 360/24 i.e., 22.5˚.
6
• The most common types of numerical encoding used in the
absolute encoders are gray codes.
• The gray code is designed so that only one track (one bit) will
change state for each count transition, unlike the binary code
where multiple tracks (bits) change at certain count
transitions.
• For the gray code, the uncertainty during a transition is only
one count, unlike with the binary code, where the uncertainty
could be multiple counts.
7
Decimal code Rotation range Binary code Gray code
(deg.)
0 0-22.5 0000 0000
1 22.5-45 0001 0001
2 45-67.5 0010 0011
3 67.5-90 0011 0010
4 90-112.5 0100 0110
5 112.5-135 0101 0111
6 135-157.5 0110 0101
7 15.75-180 0111 0100
8 180-202.5 1000 1100
9 202.5-225 1001 1101
10 225-247.5 1010 1111
11 247.5-270 1011 1110
12 270-292.5 1100 1010
13 292.5-315 1101 1011
14 315-337.5 1110 1001
15 337.5-360 1111 1000
8
Orange 1024PPR ABZ 3- Autonics Absolute
Phase Incremental Optical Rotary Encoder,
Rotary Encoder EP50S8-256-3R-N-24
9
Capacitive Proximity Sensor
11
Switch
12
• Mechanical switches are specified in terms of their number of poles
and throws.
• Poles are the number of separate circuits that can be completed by
the same switching action
• Throws are the number of individual contacts for each pole.
• There are many types of these devices.
• Beside the general type of switch (toggle, slide, pushbutton, etc)
there are many configurations of the contacts possible.
• Often you will see a switch in a schematic referred to as a SPST
(Single Pole Single Throw) or DPDT (Double Pole Double Throw).
13
• A switch with a single throw has it's lines either connected
or unconnected. In other words there are two terminals
with are electrically connected only when the switch is
activated.
• A switch with a double throw has an extra terminal for each
pole so that there are two electrical paths possible instead
of just one.
14
• Another term used often with switches is Normally Open or
Normally Closed.
• Most pushbutton-style switches are "normally open",
meaning that the switch contacts are in the open-circuit
position when the switch is in the non-depressed state.
• Microswitches often have both normally open and normally
closed contacts and a common contact.
• When wiring a touch sensor with a microswitch, it is
customary to use the normally open mode.
15
• Two common uses of switches in mechatronics are power
cutoff and as an input sensor.
• The microswitch is a type of touch sensors.
• A microswitches is a small, momentary switches that can be
attached to bumpers to signal when the robot has run into an
obstacle.
• A micro switch is housed in a rectangular body and has a very
small button which is the external switching point.
16
• Usually, micro switches are also equipped with lever arms to
reduce the force needed to actuate the switch.
• Switch Debouncing
• Most switches are mechanical and vibrate when switched
from one position to another
17
• Switch Circuitry
• The following figure shows how a single
throw switch can be wired to a sensor
input port.
• When the switch is opened, the sensor
input is pulled to the +5V supply by the
pull up resistor.
• When the switch is closed, the input is
tied to ground, generating a zero
voltage signal.
MIED, IITR 18
Proximity Switches
19
Reed Switch
21
Hall Effect Sensors
22
• Consider electrons moving in a conductive Magnetic field
plate with a magnetic field applied at right Current
angles to the plane of the plate. - +
- +
• As a consequence of the magnetic field, - +
the moving electrons are deflected to one
side of the plate and thus that side
becomes negatively charged, while the VH
opposite side becomes positively charged.
23
• This charge separation produces an electric field in Magnetic field
the material.
Current
• The charge separation continues until the forces on - +
the charged particles from the electric field just - +
balance the forces produced by the magnetic field. - +
• The result is transverse potential difference VH as,
𝑉𝐻 = 𝐾𝐻 . 𝐵.𝐼
𝑡
Where, KH is a constant (Hall Coefficient), B = VH
magnetic flux density, I = current, t = plate
thickness
• So for constant I, VH is a measure of B.
24
• Two types: linear, threshold
• Can be used to measure displacement, position and proximity.
25
Ground
Ground Hall sensor
• Application Supply
– Fluid level detector Magnet
– In brushless DC motors
• In brushless DC motors it is necessary to
Float
determine when the permanent magnet
rotor is correctly aligned with the windings
on the stator so that the current through Housing
the windings can be switched on at right
Fluid level detector
instant to maintain the direction of rotation.
26
Velocity and Motion
27
Incremental Encoders
28
Tachogenerator
31
• where 𝐸𝑚𝑎𝑥 = 𝑁𝜙𝑎 𝑛𝜔
• i.e., the maximum value of the induced e.m.f. 𝐸𝑚𝑎𝑥 is a
measure of the angular velocity.
• Instead of using the maximum value of the e.m.f. 𝐸𝑚𝑎𝑥 as a
measure of the angular velocity, a pulse-shaping signal
conditioner can be used to transform the output into a
sequence of pulses which can be counted by a counter.
• The number counted in a particular time interval being a
measure of the angular velocity.
32
• Another form of tachogenerator is
essentially an a.c. generator.
• It consists of a coil, termed the rotor,
which rotates with the rotating shaft.
• This coil rotates in the magnetic field
produced by a stationary permanent
magnet or electromagnet and so an
alternating e.m.f. is induced in it.
33
• The amplitude or frequency of this
alternating e.m.f. can be used as a
measure of the angular velocity of the
rotor.
• The output may be rectified to give a
d.c. voltage with a size which is
proportional to the angular velocity.
34
References
36