Exploiting the Latest Generation of Intelligent Sensors
The requirement to sense environmental and other parameters from the outside world is as old as electronics itself. This has been achieved in the past by using materials with characteristics that change in some measurable way in response to changes in a physical parameter, such as heat or movement, explains Matthew Hoare, Field Applications Engineer from Future Electronics (UK) |
READ THIS TO LEARN ABOUT
 |
- TProduct development from ’dumb’ to ‘intelligent’ sensors.
- Advantages offered by intelligent sensors and applications in which they can be applied.
|
 |
|
|
These materials often react in ways that engineers would like to
control, but cannot. This is because they react in a dumb way to
natural phenomena: for example, devices used to measure light also
often change in response to heat. Furthermore, dumb sensors’ physical
responses to environmental phenomena are generally not linear.
Two major improvements in the design and manufacture of sensors
have, however, made them easier and more convenient to use. First,
new materials and signal pre-processing provide a more uniform and
usable output.
Second, modern fabrication technology allows very
small digital devices to be placed in the same package
as the sensor, either in a stacked or a side-by-side
configuration. The resulting product is better described
as a highly-integrated sensing solution rather than a
sensor. With on-board signal conditioning, the output,
in either an analogue or digital state, is available for
direct interfacing to the system.
Crucially, this eliminates the need for additional
external conditioning circuitry in most cases.
Traditionally, the responsibility for designing an effective
sensor-conditioning circuit fell on the user, not the
sensor manufacturer – albeit that the manufacturer
supplied guidelines and application notes to help the
design engineer. So the performance of the sensor on
criteria such as sensitivity, noise immunity and linearity
would ultimately become more a function of the quality
of the design surrounding the sensor than of the sensor
itself.
In intelligent sensors, signal conditioning is done by
the device manufacturer. Since the datasheet specifications promise a
standard, linear output, complicated calibration routines can now be
avoided; some devices even offer self-test functions to establish
sensor integrity before and during operation.
The benefits of integration and intelligence
So what difference does the use of an intelligent sensor make to the
design engineer? Most obviously, an intelligent sensor can save space,
because of the vastly decreased requirement for external signalconditioning
circuitry.
Using intelligent sensors can also reduce design time. In many
cases, the output from the sensor can be directly interfaced to a
microprocessor or microcontroller without the need for any signal
conditioning. Using dumb sensors, by contrast, requires the
integration of sensitive parts such as expensive instrumentation
amplifiers. Some designs even use a separate microcontroller reading
a look-up table to linearise the output.

APDS-9002 intelligent light sensors mirror
the response of the human eye.
Intelligent Sensors in Practice
As things stand, there are many more dumb sensors and sensor types
than there are intelligent replacements. But where an intelligent
sensor can be used, the choices the design engineer can make alter
dramatically. One sensor category well populated with intelligent
devices is accelerometers. Conventional analogue-output
accelerometers are generally used to provide a constant output to a
system controller. A processing overhead is permanently placed on the
controller, so it has to be specified appropriately to provide enough
processing bandwidth.
But what if all the application
requires is an occasional interrupt,
alerting the system to special
conditions, such as 0G or freefall?
In this case, it would be extremely
wasteful to be constantly polling
the controller with outputs from
the accelerometer. The latest
digital-output accelerometers,
from companies such as Freescale
Semiconductor, can be
programmed to send an output
only when certain conditions are
met. Since they connect to the
system controller over a
conventional serial link, it is easy
to programme them by writing
configuration data to their internal
registers.
This allows the design engineer to
segregate the processing of the acceleration signal outside the
microcontroller, leaving the microcontroller free to manage the
appropriate response to this signal. This makes the system’s architecture
simpler, reduces processing overhead on the microcontroller, allows for
a lower-specification microcontroller, and thus reduces design time and
system cost.
The same effect can be seen in any sensing application in which
intelligent sensors are able to be used. Touch sensors are a good
example. Manufacturers of consumer goods such as kitchen equipment
and media players are eager to use touch-sensing technology to
replace traditional keys and buttons in their user interfaces.
But the use of a dumb touch sensor places a huge signal-conditioning
and signal-processing overhead on the system. It is also
bulky and expensive to manufacture because of the need for multiple
signal-conditioning components such as operating amplifiers, filters
and comparators.
But a device such as the CapSense PSoC (Programmable
System-on-Chip), from Cypress Semiconductor, operates as
an intelligent touch-sensing solution. In fact, the PSoC
device is not a sensor in the normal meaning of the word at
all – it is a programmable mixed-signal array with an
embedded microcontroller core. This device is able to
absorb the analogue and digital circuitry in touch-sensing
systems, and provide the appropriate outputs for processing
by the on-board controller core or by an external MCU.

Comparison of normalised spectral response for the human eye, silicon and
Avago’s intelligent light sensor.
Another example can be found in the arena of light
sensors. Silicon devices generally respond very differently to
light than a human eye does. However, the APDS-9002
intelligent light sensor, from Avago Technologies, uses a
carefully designed transistor to mirror very closely the
response of the human eye. This means that its output is
immediately usable in lighting applications in which the
product must respond to light in the same way as a user does. Using
any conventional light sensor, the design engineer would have to
design signal-conditioning and signal-processing circuitry in order to
filter out the wavelengths to which the human eye does not respond.
Figure 1 shows this detector interfaced to an ADC input on a
microcontroller that controls a light source. Maximisation of the ADC’s
dynamic range can be achieved by setting the ADC reference
appropriately and by giving consideration to such parameters as the
dark current, output saturation voltage and the load-resistor value.

Fig.1: Avago APDS-9002 intelligent light sensor controlling a lighting application.
Conclusion
Before the advent of intelligent sensors, the design task started with
the sensor itself such as a thermocouple or strain gauge. Then started
the long, laborious task of calibrating, conditioning and processing
the output and interfacing it to a system controller. Overheads placed
on the controller by the sensor often forced the adoption of a high
specification for the controller that was not required by any other part
of the system. It was a highly fragmented, difficult and expensive
approach.
Now, in many instances the engineer can use a single chip that
absorbs the signal-conditioning and processing circuitry, and that
provides a simple serial interface to a controller, loading it with
minimal overhead. So now the design engineer’s choice of MCU can
be driven by the real requirements of the design, rather than by the
overhead created by the sensor(s). Indeed, sensing can begin to be
treated as a ‘black box’ function dropped on to the board, allowing
analogue expertise to be redirected to where it is most useful.
Further, the customisation of such devices over a serial-data link
opens a whole new world of flexibility to the designer. Alarm
thresholds and other previously preset parameters are no longer
static; they can be dynamically modified. Power requirements can be
reduced by instructing the device to sleep until a particular condition
is encountered or the device is woken by command.
The only thing that should now delay the adoption of intelligent
sensors is lack of availability of devices. And Future Electronics
expects that problem to be solved in the coming years as silicon- and
MEMS-device manufacturers implement their product-development
roadmaps.