Sensors Flashcards
Temperature
measures temperature of the surroundings by sending signals; these signals will change as the temperature changes
Moisture
measures water levels in, for example, soil (it is based on the electrical resistance of the sample being monitored)
Humidity
this is slightly different to moisture; this measures the amount of water vapour in, for example, a sample of air (based on the fact that the conductivity of air will change depending on the amount of water present)
Light
these use photoelectric cells that produce an output (in the form of an electric current) depending on the brightness of the light
Infrared
these use an invisible beam of infrared radiation picked up by a detector; if the beam is broken, then there will be a change in the amount of infrared radiation reaching the detector (sensor)
Infrared passive
these sensors measure the heat radiation given off by an object, for example, the temperature of an intruder or the temperature in a fridge
Pressure
a pressure sensor is a transducer and generates different electric currents depending on the pressure applied
Sound
these are basically microphones that convert detected sound into electric signals/pulses
Gas
most common ones are oxygen or carbon dioxide sensors; they use various methods to detect the gas being monitored and produce outputs that vary with the oxygen or carbon dioxide levels present
Ph
these measure acidity through changes in voltages in, for example, soil
Magnetic field
these sensors measure changes in magnetic fields – the signal output will depend on how the magnetic field changes
Accelerometer
these are sensors that measure acceleration and motion of an application, i.e. the change in velocity (a piezoelectric cell is used whose output varies according to the change in velocity)
Proximity
these sensors detect the presence of a nearby object
Flow rate
these sensors measure the flow rate of a moving liquid or gas and produce an output based on the amount of liquid or gas passing over the sensor
Level
these sensors use ultrasonics (to detect changing liquid levels in, for example, a tank) or capacitance/ conductivity (to measure static levels (for example, height of water in a river) – note, level sensors can also be optical or mechanical in nature
Examples of monitoring
» Monitoringofapatientinahospitalforvitalsignssuchasheartrate,temperature, etc.
» Monitoring of intruders in a burglar alarm system
» Checking the temperature levels in a car engine
» Monitoring pollution levels in a river.
Examples of control
» Turning street lights on at night and turning them off again during daylight
» Controlling the temperature in a central heating/air conditioning system
» Chemical process control (for example, maintaining temperature and pH of
process)
» Operating anti-lock brakes on a car when necessary » Controlling the environment in a green house.
Monitoring applications
the system is activated by keying in a password on a keypad
» the infrared sensor will pick up the movement of an intruder in the building
» the acoustic sensor will pick up sounds such as footsteps or breaking glass
» the pressure sensor will pick up the weight of an intruder coming through a
door or through a window
» the sensor data is passed through an ADC if it is in an analogue form …
» … to produce digital data
» the computer/microprocessor will sample the digital data coming from these
sensors at a given frequency (e.g. every 5seconds) …
» … the data is compared with the stored values by the computer/microprocessor
» if any of the incoming data values are outside the acceptable range, then the
computer sends a signal …
» … to a siren to sound the alarm, or
» … to a light to start flashing
» a DAC is used if the devices need analogue values to operate them
» the alarm continues to sound/lights continue to flash until the system is re-
set with a password.
Monitoring of patients in a hospital
» A number of sensors are attached to the patient …
» … these measure vital signs such as: temperature, heart rate, breathing rate, etc.
» these sensors are all attached to a computer system
» the sensors constantly send data back to the computer system
» the computer samples the data at frequent intervals
» the range of acceptable values for each parameter is keyed into the computer
» the computer compares the values from the sensors with those values keyed in
» if anything is out of the acceptable range, a signal is sent by the computer …
» … to sound an alarm
» if data from the sensors is within range, the values are shown in either
graphical form on a screen and/or a digital read out
» monitoring continues until the sensors are disconnected from the patient.
Control applications
Control of street lighting
This next sequence shows how a microprocessor is used to control the operation of a street lamp. The lamp is fitted with a light sensor which constantly sends data to the microprocessor. The data value from the sensor changes according to whether it is sunny, cloudy, raining or it is night time (etc.):
» the light sensor sends data to the ADC interface
» this changes the data into digital form and sends it to the microprocessor
» the microprocessor samples the data every minute (or at some other frequency
3.2 Input and output devices
rate)
Anti-lock braking systems (on cars)
Anti-lock braking systems (ABS) on cars use magnetic field sensors to stop the wheels locking up on the car if the brakes have been applied too sharply:
» when one of the car wheels rotates too slowly (i.e. it is locking up), a magnetic field sensor sends data to a microprocessor
» the microprocessor checks the rotation speed of the other three wheels
» if they are different (i.e. rotating faster), the microprocessor sends a signal to
the braking system …
» … and the braking pressure to the affected wheel is reduced …
» … the wheel’s rotational speed is then increased to match the other wheels
» the checking of the rotational speed using these magnetic field sensors is
done several times a second …
» … and the braking pressure to all the wheels can be constantly changing to
prevent any of the wheels locking up under heavy braking …
» … this is felt as a ‘judder’ on the brake pedal as the braking system is constantly
switched off and on to equalise the rotational speed of all four wheels
» if one of the wheels is rotating too quickly, braking pressure is increased to
that wheel until it matches the other three.