Академический Документы
Профессиональный Документы
Культура Документы
1c) 1
CENG4480_A1
Sensors
Sensing the real world
Sensors (v.1c) 2
Sensors
Motion (Orientation/inclination )sensors
Force/pressure/strain
Position
Temperature and humidity
Rotary position
Light and magnetic field sensors
Sensors (v.1c) 3
Motion (Orientation/inclination
sensors
Acceleration
Gyroscope
Compass
Tilt Sensor
Sensors (v.1c) 4
Accelerometer
http://en.wikipedia.org/wiki/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
ADXL78 (from Analog Device
http://www.analog.com/UploadedFiles/Data_Sheets/
ADXL78.pdf )
Mass spring type (output acceleration in G)
Measure the capacitance to create output
Sensors (v.1c) 6
ADXL330 accelerometer for three (X,Y,Z ) directions
http://www.analog.com/UploadedFiles/Data_Sheets/ADXL330.pdf
3D
Sensors (v.1c) 7
2D translational accelerometer
MX2125 (from www.parallax.com)
Gas pocket type
When the sensor
moves, the
temperatures of
the 4 sensors are
used to evaluate
the 2D
accelerations
Sensors (v.1c) 8
Accelerometer demo:
orientation sensing
http://www.youtube.com/watch?v=9NEiBDBXFEQ
http://www.youtube.com/watch?v=VP4-wdMMLFo
Self-balance Robot
Sensor demo
Sensors (v.1c) 9
Accelerometer demo :
Tilt sensing demo
http://www.youtube.com/watch?v=C6uVrYz-j70
Tilt sensing demo
Sensors (v.1c) 10
Gyroscopes
http://en.wikipedia.org/wiki/Gyroscope
Gyroscope
Measure rotational angle
Rate 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.
Gyroscope
Sensors (v.1c) 11
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
Gyroscope to measure Rational acceleration
ADXRS401 http://www.analog.com/UploadedFiles/Data_Sheets/ADXRS401.pdf
Sensors (v.1c) 12
Compass-- the Philips KMZ51
magnetic field sensor
50/60Hz (high) operation, a jitter of around
1.5
Sensors (v.1c) 13
Rate gyroscope demo
http://www.youtube.com/watch?v=VP4-wdMMLFo
Using Gyroscope compass for virtual reality application in an iphone
Sensors (v.1c) 14
Application of motion sensors
Self balancing robot
by Kelvin Ko
http://hk.youtube.com/watch?v=2u-EO2FDFG0
2
0
c
m
35cm
Motion sensors:
gyroscope and
accelerometer
Sensors (v.1c) 15
Complementary filter
Since
Combine two sensors to find output
15
Gyroscope
High
frequency
Accelerometer
Low
frequency
Sensors (v.1c) 16
Complementary filter
=rotation angle, t=filter time constant, s=laplace
operator
http://en.wikipedia.org/wiki/Low-pass_filter
http://en.wikipedia.org/wiki/High-pass_filter
16
Sensors (v.1c) 17
Self Balanced robot using
complementary filter
17
Sensors (v.1c) 18
Tilt Sensor by OMRON
http://rocky.digikey.com/WebLib/Omron%20Web%20Data/D6B.pdf
Detect tilting 35 ~ 65 degrees in right-and-
left inclination
Sensors (v.1c) 19
Force/pressure/strain
Force-sensitive resistor (FSR)
Strain gauge
Flexion
Air pressure
Sensors (v.1c) 20
Force Sensing Resistors
http://www.interlinkelectronics.com/library/media/papers/pdf/fsrguide.pdf
FSR402
Sensors (v.1c) 21
Force Sensing Resistor Demo
http://www.youtube.com/watch?v=LQ21lXr6egs
Sensors (v.1c) 22
Application for a walking robot
Walking robot
Sensors (v.1c) 23
Application of force sensing resistance
sensors to balance a walking robot
Balancing
Floor tilled right
upper leg bend left
Floor tilled left
upper leg bend right
Neutral position
Four sensors under the foot
Sensors (v.1c) 24
Four Force sensors under the foot
D
Sensors (v.1c) 25
The Nao robot uses force feedback at its feet
http://en.wikipedia.org/wiki/Nao_(robot)
http://www.robotshop.com/Images/xbig/fr/robot-humanoide-nao-edition-academique-v3plus-aldebaran.jpg
http://www.youtube.com/watch?v=2STTNYNF4lk
Sensors (v.1c) 26
Strain Gauge : Force sensors
http://www.meas-spec.com/myMeas/default/index.asp
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
Single element strain gauge
sensitive to temperature change.
resistance gauge unstrained R
gauge the of length L factor, gauge strain G and G for
4 4 2 4 2 2
0
=
= =
A
=
A
|
.
|
\
|
A
=
|
.
|
\
|
A
~
|
.
|
\
|
A +
A
=
|
.
|
\
|
A +
=
L
L
R
R
L
L G
Vb
R
R
Vb
R R
R
V
R R
R
R
R
V V
b b
V
b
R
R
R
Gauge=R+AR
gauge
load
rod
V
0
Sensors (v.1c) 28
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.
|
.
|
\
|
A
=
|
.
|
\
|
A
=
|
.
|
\
|
A + A +
A
A + A +
A +
=
L
L
G V
R
R
V
R R R R
R R
R R R R
R R
V V
b b b
2
2
0
b1=R-AR
t2=R+ AR
b2=R-AR
t1=R+AR
V
b
t1
t2
b1
b2
rod
load
V
0
Sensors (v.1c) 29
Flexion (bend) sensors
resistance:
10 K (0);
30-40 K (90)
http://www.flexpoint.com/
http://www.jameco.com/wcsstore/Jameco/Products/ProdDS/150551.PDF
Sensors (v.1c) 30
Felixon resistance Demo
http://www.youtube.com/watch?v=m4E5SP7HCnk&feature=related
Sensors (v.1c) 31
Air pressure sensor
Measure up to 150 psi (pressure per square
inch ).
Sensors (v.1c) 32
Position sensors
Infra-red range sensor
Linear and Rotary position sensors
Sensors (v.1c) 33
Infra-red Range detectors by SHARP (4 to 30cm)
http://www.acroname.com/robotics/info/articles/sharp/sharp.html
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
IR radar using the Sharp range
detector
http://www.youtube.com/watch?v=tStBLAiQaC8&feature=related
Sensors (v.1c) 35
Position sensors, from[1]
Rotary Linear
Optical shaft encoder
Sensors (v.1c) 36
Magnetic rotary encoder
(http://www.renishaw.com/UserFiles/acrobat/UKEnglish/L-9517-9147.pdf)
non touch sensing
Sensors (v.1c) 37
Optical rotary encoder
(http://en.wikipedia.org/wiki/Rotary_encoder)
The light received (on or off) will tell the
rotation angle)
3 light emitters
3 light receivers
Rotation shaft
Light paths
http://www.youtube.com/watch?v=RuIislTGOwA
Crank shaft sensor
Sensors (v.1c) 38
Temperature and humidity
Temperature
humidity
Sensors (v.1c) 39
Temperature sensors
LM135/235/335 features(from NS)
http://www.national.com/pf/LM/LM135.html
Directly calibrated in Kelvin
1C initial accuracy available
Operates from 400 A to 5 mA
Less than 1 Ohm dynamic impedance
Easily calibrated
Wide operating temperature range
200C over range
Low cost
Sensors (v.1c) 40
Application note (connecting to an
ADC e.g. ADC0820 or ADC0801)
Sensors (v.1c) 41
Capacitive Atmospheric Humidity
Sensor
http://rocky.digikey.com/WebLib/BC%20Components/Web%20Data/2322%20691%2090001.pdf
BCcomponents 2322 691 90001
10-90%RH Dc
Sensors (v.1c) 42
Leaf Sensor Alerts When Plants
Are Thirsty
http://www.youtube.com/watch?v=VM4X_fqPPco
Sensors (v.1c) 43
TSL250, TSL251, TSL252
LIGHT-TO-VOLTAGE OPTICAL SENSORS
http://focus.ti.com/general/docs/scproducts.jsp
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
Cadmium Sulfoselenide (CdS)
Photoconductive Photocells
http://faculty.uml.edu/aelbirt/16.480/pdvp5001.pdf
Light sensing using CdS
Sensors (v.1c) 45
Hall effect Sensors for sensing
magnetic fluxB field, see:
http://doc.semicon.toshiba.co.jp/noseek/us/td/td2frame.htm
Sensors (v.1c) 46
Application on Magnetic levitation
http://myweb.msoe.edu/~muthuswamy/pubs/DesignOfMagneticLevitationControllersUsingJacobiLinearizationFeedbackLinearizationAndSlidingMode.pdf
http://www.youtube.com/watch?v=XjjBqzilkIc
Magnetic levitation Train Model
http://www.youtube.com/watch?v=TeS_U9qFg7Y
frog levitation
http://www.youtube.com/watch?v=A1vyB-O5i6E
Sensors (v.1c) 47
Hall effect sensors and brushless DC
motors
Brushless DC motor
http://dev.emcelettronica.com/files/u4/Brushless_DC_Motors_bldc_motor.jpg
Is it using Hall effect sensor? Don't known.
http://www.youtube.com/watch?v=JmRkxZT4XhY
http://www.youtube.com/watch?v=cm0h2Qf3upQ
Sensors (v.1c) 48
Novel sensors
Kinect
http://www.youtube.com/watch?v=nvvQJxgykcU
http://www.youtube.com/watch?v=Mf44bWQr3jc
http://www.ladyada.net/learn/diykinect/
Sensors (v.1c) 49
Many KINECT
DIY projects
http://www.youtube.com/watch?v=Brpu30vjCa4&feature=related
http://www.youtube.com/watch?v=3V-TGXFZbbA&feature=related
Sensors (v.1c) 50
Control systems
Example: A temperature control
system
Sensors (v.1c) 51
Control example: Temperature control system
Temp.
Sensor
A/D
CPU
D/A
Pulse Width
modulation
& solid state relay
Heater
Timer
Sample
&
Hold
Digital control
circuit
Instrum.
amp.
Water tank
computer
Sensors (v.1c) 52
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 (T
from_sensor
> T
req
required temperature)
then (heater off )
else (heater on).
T
req
Undershoot
Overshoot
Time
Temp
On-off control result
Steady state error
Sensors (v.1c) 53
Temperature control method 2 : Proportional-integral-
differential (PID) temperature control (good)
Init. (set required temperature T
req
)
Loop forever{
get temperature T from sensor,
e=T - T
req
then T
w
=e*G*{Kp+Kd*[d(e)/dt] +Ki*}e dt }
else
} //G,Kp,Kd,Ki can be adjusted by user
Tw
Tw
Proportional, differential, integral
Sensors (v.1c) 54
PID block diagram
http://www.controlviews.com/question12-
12-03.html
Figure 1 - Parallel PID block diagram
Kd
Ki
Kp
Sensors (v.1c) 55
PID control using pulse width
modulation PWM
Fixed period and fixed number of pulses
T
w
(depends on e )
T
req
PID control result
of method 2
On-off control: oscillates and unstable
Time
Temperature
Time
Sensors (v.1c) 56
Summary
Studied the characteristics of various
sensors
and their applications
Sensors (v.1c) 57
References
[1] S.E. Derenzo, Interfacing -- A laboratory
approach using the microcomputer for
instrumentation, data analysis and control
prentice hall.
[2] D.A. Protopapas, Microcomputer hardware
design, Prentice hall
[3] CUHK_FYP report HML0602, KHW0703
[4] http://www.engin.umich.edu/group/ctm
[5] http://en.wikipedia.org/wiki/PID_controller