Sensors and Transducers |
Navigation |
|
|
Sensors and Transducers
Simple stand alone electronic circuits can be made to repeatedly flash a light or play a musical note,
but in order for an electronic circuit or system to perform any useful task or function it needs to be able to communicate
with the "real world" whether this is by reading an input signal from an "ON/OFF" switch or by activating some form of output
device to illuminate a single light. The type of input or output device used really depends upon the type of signal or process
being "Sensed" or "Controlled". Transducers can be used to sense a wide range of different energy forms such
as movement, electrical signals, radiant energy, thermal or magnetic energy etc, and there are many different types of both
Analogue and Digital input and output devices available to choose from.
Devices which perform an input function are commonly called Sensors because they "sense" a
physical change in some characteristic, for example Heat or Force and covert that into an electrical signal. Devices which
perform an output function are generally called Actuators and are used to control some external device, for example
Movement. Both sensors and actuators are collectively known as Transducers because they are used to convert energy
of one kind into energy of another kind, for example, a microphone (input device) converts sound waves into electrical
signals for the amplifier to amplify, and a loudspeaker (output device) converts the electrical signals back into sound
waves.
Simple Input/Output System using Sound Transducers
There are many different types of transducers available in the marketplace, and the choice of which one
to use really depends upon the quantity being measured or controlled, with the more common types given in the table below.
Common Transducers
Quantity being Measured |
Input Device (Sensor) |
Output Device (Actuator) |
| Light Level |
Light Dependant Resistor (LDR) Photodiode Phototransistor Solar Cell |
Lights & Lamps LED's & Displays Fibre Optics |
| Temperature |
Thermocouple Thermistor Thermostat Resistive temperature detectors (RTD) |
Heater Fan |
| Force/Pressure |
Strain Gauge Pressure Switch Load Cells |
Lifts & Jacks Electromagnetic Vibration |
| Position |
Potentiometer Encoders Reflective/Slotted Opto-switch LVDT |
Motor Solenoid Panel Meters |
| Speed |
Tacho-generator Reflective/Slotted Opto-coupler Doppler Effect Sensors |
AC and DC Motors Stepper Motor Brake |
| Sound |
Carbon Microphone Piezo-electric Crystal |
Bell Buzzer Loudspeaker |
Input type transducers or sensors, produce a proportional output voltage or signal in response to changes
in the quantity that they are measuring and the type or amount of the output signal depends upon the type of sensor being
used. These types of sensors are known as Active or self-generating devices and produce an output voltage, for example
1 to 10v DC or an output current such as 4 to 20mA DC, while other types change their physical properties acting more like
Passive devices, such as resistance, capacitance or inductance etc. As well as analogue sensors, Digital Sensors
produce a discrete output representing a Binary number or Digit such as a logic level "0" or a logic level "1".
Analogue and Digital Sensors
Analogue Sensors
Analogue Sensors produce a continuous output signal or voltage which is generally proportional to
the quantity being measured. Physical quantities such as Temperature, Speed, Pressure, Displacement, Strain etc are all
analogue quantities as they tend to be continuous in nature. For example, the temperature of a liquid can be measured using
a thermometer or thermocouple which continuously responds to temperature changes as the liquid is heated up or cooled down.
Thermocouple used to produce an Analogue Signal
Analogue sensors tend to produce output signals which are slow changing and very small in value so some form
of amplification is required. Also analogue signals can be easily converted into Digital type signals for use in microcontroller
systems by the use of Analogue to Digital Converters.
Digital Sensors
As its name implies, Digital Sensors produce a discrete output signal or voltage that is a digital
representation of the quantity being measured. Digital sensors produce a
Binary output signal in the form of a logic "1"
or a logic "0", ("ON" or "OFF"). This means then that a digital signal only produces discrete (non-continuous) values which may
be outputted as a single "bit", (serial transmission) or by combining the bits to produce a single "byte" output
(parallel transmission).
Light Sensor used to produce an Digital Signal
In our simple example above, the speed of the rotating shaft is measured by using a digital LED/Opto-detector
sensor. The disc which is fixed to the shaft has a number of transparent slots within its design. As the disc rotates with the
speed of the shaft each slot passes by the sensor inturn producing an output pulse representing a logic level "1". These pulses
are sent to a register of counter and finally to an output display to show the speed or revolutions of the shaft. By increasing
the number of slots or "windows" within the disc more output pulses can be produced giving a greater resolution and accuracy as
fractions of a revolution can be detected. Then this type of sensor could also be used for positional control.
In most cases, sensors and more specifically Analogue sensors generally require an external power supply
and some form of additional amplification or filtering of the signal in order to produce a suitable electrical signal which is
capable of being measured or used. One very good way of achieving both amplification and filtering within a single circuit is
to use Operational Amplifiers as seen before.
Signal Conditioning
As we saw in the
Operational Amplifier tutorial, Op-amps can
be used to provide amplification of signals when connected in either Inverting or Non-inverting configurations. The very
small analogue signal voltages produced by a sensor such as a few millivolt's can be amplified many times over by a simple
op-amp circuit to produce a much larger voltage signal of say 5v or 10v that can then be used as an input to a
microprocessor based system. Then when using sensors, generally some form of amplification (Gain), impedance matching or
perhaps phase shifting may be required before the signal can be used and this is conveniently performed by
Operational Amplifiers.
Also, when measuring very small physical changes the output signal of a sensor can become "contaminated"
with unwanted signals or voltages that prevent the actual signal required from being measured correctly. These unwanted
signals are called "Noise". This Noise or Interference can be either greatly reduced or even eliminated by using
signal conditioning or filtering techniques as we discussed in the
Active Filter tutorial. By using
Low Pass, High Pass or even Band Pass filters the "bandwidth" of the noise can be reduced to leave
just the output signal required. For example, many types of inputs from switches, keyboards or manual controls are not
capable of changing state rapidly and so Low-pass filter can be used. When the interference is at a particular frequency,
for example mains frequency, narrow band reject or Notch filters can be used. Where some random noise still remains
after filtering it may be necessary to take several samples and then average them to give the final value so increasing
the Signal-to-Noise ratio.
 |
Either way, both amplification and filtering play an important role in interfacing microprocessor and
electronics based systems to "real world" conditions.
|