The document discusses various types of sensors including motion sensors, force sensors, position sensors, temperature and humidity sensors, and light sensors. It provides examples of accelerometers, gyroscopes, strain gauges, flex sensors, temperature sensors, and optical sensors. It also discusses applications of sensors in areas like self-balancing robots, walking robots, and temperature control systems using PID control algorithms.
2. CENG4480_A1
Sensors
Sensing the real world
Sensors (v.1c) 2
3. Sensors
Motion (Orientation/inclination )sensors
Force/pressure/strain
Position
Temperature and humidity
Rotary position
Light and magnetic field sensors
Sensors (v.1c) 3
5. Accelerometer
Functions:
measure acceleration in one or more directions,
position can be deduced by integration.
Orientation sensing : tilt sensor
Vibration sensing
Methods:
Mass spring method ADXL78 (from Analog Device )
Air pocket method (MX2125)
Sensors (v.1c) 5
6. ADXL78 (from Analog Device
http://www.analog.com/UploadedFiles/Data_Sheets/ADXL
)
Mass spring type (output acceleration in G)
Measure the capacitance to create output
Sensors (v.1c) 6
7. ADXL330 accelerometer for three (X,Y,Z ) directions
http://www.analog.com/UploadedFiles/Data_Sheets/ADXL330.pdf
3D
Sensors (v.1c) 7
8. 2D translational accelerometer
MX2125
Gas pocket type
When the sensor
moves, the
temperatures of
the 4 sensors are
used to evaluate
the 2D
accelerations
Sensors (v.1c) 8
11. Gyroscopes
Gyroscope
Measure rotational angle
Rate Gyroscope Gyroscope
measure the rate of rotation along 3-axes of X
(pitch), Y (roll), and Z (yaw).
Modern implementations are using
Microelectromechanical systems (MEMS)
technologies.
Sensors (v.1c) 11
12. Gyroscope to measure Rational acceleration
ADXRS401
FEATURES
Complete rate gyroscope on a single chip Microelectromechanical systems (MEMS)
Z-axis (yaw-rate) response
APPLICATIONS
GPS navigation systems
Image stabilization
Inertial measurement units
Platform stabilization Sensors (v.1c) 12
13. Compass-- the Philips KMZ51
magnetic field sensor
50/60Hz (high) operation, a jitter of around
1.5°
Sensors (v.1c) 13
14. Rate gyroscope demo
Using Gyroscope compass for virtual reality application in an iphone
Sensors (v.1c) 14
15. Application of motion sensors
Self balancing robot
by Kelvin Ko Motion sensors:
http://hk.youtube.com/watch?v=2u-EO2FDFG0
gyroscope and
accelerometer
20cm
35cm
Sensors (v.1c)35cm 15
24. Application of force sensing resistance
sensors to balance a walking robot
Balancing Floor tilled left Floor tilled right
Neutral position upper leg bend right upper leg bend left
Four sensors under the foot
Sensors (v.1c) 24
26. The Nao robot uses force feedback at its feet
Sensors (v.1c) 26
27. Strain Gauge : Force sensors
Piezoelectric crystal: produces a voltage that is
proportional to force applied
Strain gauge: cemented on a rod. One end of the
rod is fixed, force is applied to the other end. The
resistance of the gauge will change with the force.
Sensors (v.1c) 27
28. Single element strain gauge
sensitive to temperature change.
Vb gauge
R Gauge=R+∆R rod
V0
R
R load
R R ∆R ∆R G ∆L
V0 = Vb − = Vb ≈ Vb = Vb
2 R 2 R + ∆R 4 R + 2 ∆R 4R 4 L
∆R ∆L
for =G and G = strain gauge factor, L = length of the gauge
R L
R = unstrained gauge resistance
Sensors (v.1c) 28
29. Four-element (Wheatstone
bridge) strain gauge sensor,
Four times more sensitive than single gauge system; not
sensitive to temperature change.
All gauges have unstrained resistance R.
t1 t2
Vb
b2=R-∆R t1=R+∆R rod
V0 b1 b2
t2=R+ ∆R b1=R-∆R load
R + ∆R R − ∆R 2∆ R ∆L
V0 = Vb − = Vb = Vb G
R + ∆R + R − ∆R R + ∆R + R − ∆R 2R L
Sensors (v.1c) 29
34. Infra-red Range detectors by SHARP (4 to 30cm)
An emitter sends out light pulses. A small
linear CCD array receives reflected light.
The distance corresponds to the triangle
formed.
Sensors (v.1c) 34
35. IR radar using the Sharp range
detector
Sensors (v.1c) 35
40. Temperature sensors
LM135/235/335 features(from NS)
Directly calibrated in °Kelvin
1°C initial accuracy available
Operates from 400 µA to 5 mA
Less than 1 Ohm dynamic impedance
Easily calibrated
Wide operating temperature range
200°C over range
Low cost
Sensors (v.1c) 40
44. TSL250, TSL251, TSL252
LIGHT-TO-VOLTAGE OPTICAL SENSORS
Light-to-voltage optical sensors, each combining a
photodiode and an amplifier (feedback resistor =
16 MW, 8 MW, and 2 MW respectively).
The output voltage is directly proportional to the
light intensity on the photodiode.
Sensors (v.1c) 44
52. Control example: Temperature control system
computer
Digital control Timer
Water tank circuit
Temp. Sample
Sensor Instrum. A/D
amp. &
Hold
CPU
Pulse Width
Heater modulation D/A
& solid state relay
Sensors (v.1c) 52
53. Temperature control method 1: ON-Off (bang-bang)
control (poor)
Easy to implement, bad control result -- contains overshoot
undershot. Algorithm for on-off-control:
Loop forever: If (Tfrom_sensor > Treq required temperature)
then (heater off )
else (heater on).
Overshoot
Treq
Steady state error
Undershoot
Temp
On-off control result
Time
Sensors (v.1c) 53
54. Temperature control method 2 : Proportional-integral-
differential (PID) temperature control (good)
Init. (set required temperature Treq)
Loop forever{
get temperature T from sensor, Tw
e=T - Treq
then Tw =e*G*{Kp+Kd*[d(e)/dt] +Ki*∫e dt }
Proportional, differential, integral
else
} //G,Kp,Kd,Ki can be adjusted by user
Tw Sensors (v.1c) 54
56. PID control using pulse width
modulation PWM
Tw (depends on e )
Time
Fixed period and fixed number of pulses
Temperature On-off control: oscillates and unstable
Treq
PID control result
of method 2
Time
Sensors (v.1c) 56
57. Summary
Studied the characteristics of various
sensors
and their applications
Sensors (v.1c) 57