Professional Documents
Culture Documents
Subramanya R Prabhu B
Introduction
To be useful, systems must interact with their environment. To do this they use sensors and actuators A sensor is a device that converts a physical phenomenon into an electrical signal. Sensors represent part of the interface between the physical world and the world of electrical devices, such as computers.
Sensitivity
The sensitivity is defined in terms of the relationship between input physical signal and output electrical signal. It is generally the ratio between a small change in electrical signal to a small change in physical signal. As such, it may be expressed as the derivative of the transfer function with respect to physical signal.
Accuracy or Uncertainty
Uncertainty is generally defined as the largest expected error between actual and measured output signals. Quoted as a fraction of the full-scale output or a fraction of the reading.
There are several measures of this error. The most common compares
the actual transfer function with the best straight line, which lies midway between the two parallel lines that encompass the entire transfer
Resolution
When the input varies continuously over the range , the output signals for some sensors may change in small steps
Stability
Dead Band/Time
Output Impedance
Repeatability/Reproducibility
Hysteresis error
Sensor Classification
Based on Signal Characteristics: Analog Digital
Analog Sensors: Typically have an output that is proportional to the variable being measured.
Active sensors:
PROPERTY
SENSOR
ACTIVE/PASSIVE
Passive
Active
OUTPUT
Voltage
Voltage/Current
Temperature Thermocouple
Silicon
RTD Thermistor
Force/Pressure Strain Gage Piezoelectric Acceleration Accelerometer
Active Active
Active Passive Active
Resistance Resistance
Resistance Voltage Capacitance
Position
LVDT
Active
Passive
AC Voltage
Current
Position sensors
Position sensors are concerned with the determination of the
Potentiometer
Consists of a resistance element with a sliding contact which can be moved over the length of the element Used for linear or rotary displacements, by converting displacement into potential difference
The rotary potentiometer consists of a circular wire wound track or a film of conductive plastic over which a rotatable sliding contact can be rotated. With a constant input voltage between terminal 1 and 3 the output voltage between terminal 2 and 3 is a fraction of the input voltage, the
Optical Encoder
Encoder is a device that provides a digital output as a result of a linear or angular displacement.
Optical Encoders Use light & photo-sensors to produce digital code. Can be linear or rotary
As the disc rotates the light will alternately passed through the
transparent windows and blocked by the opaque sections. A photo-detector fixed on the other side of the disc detects the variation of light and the output of the detector after signal conditioning would be a square wave whose frequency is decided by the speed and the number of holes (transparent windows) on the disc.
2. Absolute
Measure absolute position. Advantages A missed reading does not affect the next reading. Only needs power on when taking a reading. Disadvantages More expensive/complex. Cost/complexity
proportional to resolution/accuracy.
Incremental Encoder
Consists 3 concentric tracks with 3 sensor pairs Inner track has just one hole and is used to locate the home
By counting the number of pulses and knowing the resolution of the disk, the angular motion can be measured. The A and B channels are used to determine the direction of rotation by assessing which channels "leads" the other. The signals from the two channels are a 1/4 cycle out of phase with each other and are known as quadrature signals.
Often a third output channel, called INDEX, yields one pulse per revolution, which is useful in counting full revolutions. It is also useful as a reference to define a home base or zero position
Absolute Encoder
Gives an output in the form of a binary number of several digits, each such number representing a particular angular position.
The rotating disc has three concentric circles of slots and three
sensors to detect the light pulses. The slots are arranged in such a way that the sequential output from the sensors is a number in the binary code.
Rushi Vyas
180-225 225-270
270-315 315-360
100 101
110 111
4 5
6 7
Ryder Winck
Ryder Winck
Gray code is similar to binary code, it has the same possible combinations but it is arranged in a different order.
The main reason to use gray code instead of regular binary code is to reduce the size of the largest possible error in reading the shaft
position to the value of the LSB. If the disk used straight binary code,
the largest possible error would be the value of the MSB.
Absolute Disks
Binary
Gray Code
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Gray Code 0000 0001 0011 0010 0110 0111 0101 0100 1100 1101 1111 1110 1010 1011 1001 1000
Bit 0 Bit 1
0-45
45-90 90-135 135-180
000
001 010 011 100 101 110 111
0
1 2 3 4 5 6 7
Bit 2
Bit 0 Bit 1 Bit 2
Gray Code
One bit change per angle change.
Angle
Decimal 0 1 2 3 4
225-270
270-315 315-360
111
101 100
5
6 7
4. 5.
Copy MSB: 0_ _ _ Write 0s until next 1 is met: 00_ _ Switch to writing 1s: 001_ Write 1s: 0011
Copy MSB: 1_ _ _ Write 1s until next 1 is met: 1_ _ _ Switch to writing 0s until next 1 is met: 10_ _ Switch to writing 1s until next 1 is met: 1011