Smart Sensors
Smart Sensors
Smart Sensors
By,
Maya K. Mishra
(B.Tech in Electronics
& Communication)
ACKNOWLEDGEMENT
I wish to thank my internal guide Mr. YASHWANT KALE for his guidance and timely
suggestions for improving my flaws and appreciating my efforts.
I extend my deepest gratitude to him for giving me a chance to work in a
challenging area. A special thanks to our seminar coordinator Mrs. ANITA
PUROSHOTAM for giving us an opportunity to present our seminar and keeping a
record of the efforts that we took in completing the task. I also thank our Head of
Department Mr. SANJAY PAWAR and our principal Mrs. KUMUD WASNIK for their
co operation and providing us with the required resources.
Table of Contents
Abstract………………………………………………………………….....................................I
List of Figures…..…………………………………………………………………………..….IV
1 Introduction…………………………………………………………………………….1
1.1 Definition…………………………………………………………………………..2
1.2 What is Smart Sensor System………………………………………………………3
1.3 What is IEEE 1451…………………………………………………………………5
2 General Architecture…………………………………………………………………...6
2.1 Description of Smart Sensor Architecture………………………………………….7
3 Block Level Design Considerations for Smart Sensor……………………………….8
3.1 Functions within electronics………………………………………………………..8
3.2 Level of integration………………………………………………………………...9
4 Design………………………………………………………………………………….10
4.1 Overview…………………………………………………………………………..10
4.2 Data Acquisition Unit……………………………………………………………..10
4.3 Data Transfer Unit…………………………………………………………………11
4.4 Data Processing Unit………………………………………………………………11
5 Implementation ……………………………………………………………………..13
5.1 Data Acquisition Unit …………………………………………………………….13
5.1.1 Analog to Digital Converter . ……………………………………………..13
5.1.2 Field Programmable Gate Array (FPGA) …………………………………14
5.1.3 DAU Interface . . ………………………………………………………….14
5.2 Data Transfer Unit . ……………………………………………………………....14
5.3 Data Processing Unit . ………………………………………………………..…..14
8 Advantages………………………………………………………………………………..20
References……………………………………………………………………………………….V
List of Figures
The advent of integrated circuits, which became possible because of the tremendous progress in
semiconductor technology, resulted in the low cost microprocessor. Thus if it is possible to
design a low cost sensor which is silicon based then the overall cost of the control system can be
reduced .We can have integrated sensors which has electronics and the transduction element
together on one silicon chip. This complete system can be called as system-on-chip .The main
aim of integrating the electronics and the sensor is to make an intelligent sensor, which can be
called as smart sensor. Smart sensors then have the ability to make some decision. Physically a
smart sensor consists of transduction element, signal conditioning electronic and
controller/processor that support some intelligence in a single package .
As examples, 1) in order to reduce the number of personnel to run a naval ship from 400 to less
than 100 as required by the reduced-manning program, the U.S. Navy needs tens of thousands of
networked sensors per vessel to enhance automation, 2) Boeing needs to network hundreds of
sensors for monitoring and characterizing airplane performance.
Sensors are used across industries and are going global. The sensor market is extremely diverse,
and it is expected to grow to $43 billion by 2008. The rapid development and emergence of
smart sensor and field network technologies have made the networking of smart transducers a
very economical and attractive solution for a broad range of measurement and control
applications. However, with the existence of a multitude of incompatible networks and
protocols, the number of sensor interfaces and amount of hardware and software development
efforts required to support this variety of networks are enormous for both sensor producers and
users alike. The reason is that a sensor interface customized for a particular network will not
necessarily work with another network. It seems that a variety of networks will coexist to serve
their specific industries. The sensor manufacturers are uncertain of which network(s) to support
and are restrained from full-scale smart sensor product development. Hence, this condition has
impeded the widespread adoption of the smart sensor and networking technologies despite a
great desire to build and use them. Clearly, a sensor interface standard is needed to help alleviate
this problem.
1.1 Definition
Smart sensors are sensors with integrated electronics that can perform one or more of the
following function
logic functions,
two-way communication,
make decisions
A smart sensor is simply one that acquires physical, biological or chemical input, converts the
measured value into a digital format in the units of the measured attribute and transmits that
measured information via the Ethernet to a computer monitoring point
1. Network Capable Application Processor (NCAP) where control and data correction takes
place
2. Transducer Interface Module (TIM) (one or more) containing the transducer and data
acquisition
One can easily propose a general architecture of smart sensor from its definition, functions. From
the definition of smart sensor it seems that it is similar to a data acquisition system, the only
difference being the presence of complete system on a single silicon chip. In addition to this it
has on–chip offset and temperature compensation. A general architecture of smart sensor
consists of following important components:
Sensing element/transduction element,
Amplifier,
Sample and hold,
Analog multiplexer,
Analog to digital converter (ADC),
Offset and temperature compensation,
Digital to analog converter (DAC),
Memory,
Serial communication and
Processor
The generalized architecture of smart sensor is shown below:
Figure 2.1: Internal Architecture of Smart Sensor
Architecture of smart sensor is shown. In the architecture shown A1, A2…An and S/H1,
S/H2…S/Hn are the amplifiers and sample and hold circuit corresponding to different sensing
element respectively. So as to get a digital form of an analog signal the analog signal is
periodically sampled (its instantaneous value is acquired by circuit), and that constant value is
held and is converted into a digital words. Any type of ADC must contain or proceeded by, a
circuit that holds the voltage at the input to the ADC converter constant during the entire
conversion time. Conversion times vary widely, from nanoseconds (for flash ADCs) to
microseconds (successive approximation ADC) to hundreds of microseconds (for dual slope
integrator ADCs). ADC starts conversion when it receives start of conversion signal (SOC) from
the processor and after conversion is over it gives end of conversion signal to the processor.
Outputs of all the sample and hold circuits are multiplexed together so that we can use a single
ADC, which will reduce the cost of the chip. Offset compensation and correction comprises of
an ADC for measuring a reference voltage and other for the zero. Dedicating two channels of the
multiplexer and using only one ADC for whole system can avoid the addition of ADC for this.
This is helpful in offset correction and zero compensation of gain due to temperature drifts of
acquisition chain. In addition to this smart sensor also include internal memory so that we can
store the data and program required.
Chapter 3
Block Level Design Considerations for Smart Sensor
Design choice of smart sensor depends on the specific application for which the sensor is
required and also related to specific industry. Normally a smart sensor will utilize inputs form
one or more sensor elements either to generate an output signal or to generate a correction
signals which are applied to the primary output. This includes design of circuitry to take output
of raw sensor elements and generate compensated and linearized sensor output.
Data Conversion:
In case of smart sensor most of the signal processing is done in digital form. This is
possible only when we
have an ADC along with an anti-aliasing filter. This is because most of the sensor output
is in the analog
form. Choice of ADC depends on the resolution, bandwidth and complexity of anti-
aliasing filter.
Digital data bus interface:
The controller embedded in the smart sensor supports communications by digital data
bus. The advantages
of this are:
Wiring is reduced considerably
Automatic calibration at production can be simplified.
Monitoring and diagnostic functions:
In many applications self-test is required. This self-test includes connectivity checking
and long-term offset
correction.
Control processor:
To provide greater flexibility and reduced complexity, a control processor can be used.
Control processor
can do digital filtering. Another important point is software development. Processor must
allow writing
codes in higher language as it reduces the development time.
Chapter 4
DESIGN
There are three important aspects in our design { data acquisition, data transfer and data
processing}. Major priority is to minimize the total cost of the system while at the same time
delivering the amount of accuracy and reliability provided by the proprietary solutions. The
system will also be generic enough to be adapted to other areas of environmental
measurements. The system synthesizes Field Programmable Gate Arrays and sophisticated
IEEE 802.11 wireless networking infrastructure adapted to environmental sensing.
4.1 OVERIEW
We divide the system into three important components each handing a specific task.
This modular design accounts for the possibility of incorporating new advancements
in each component without disturbing the whole system. Each component will have well
defined interfaces. The components are the Data Acquisition Unit (DAU), the Data Transfer
Unit (DTU) and, the Data Processing Unit (DPU). As seen earlier, The DAU is responsible
for collecting the data from the sensor and responds to data requests from the DTU. The
DTU will transport the data from the DAU to the DPU reliably. Finally, the DPU, after
gathering the data from sensors, will analyze and store the data for end use.
The data transfer unit is responsible for carrying the data from the DAU to the DPU.
Data transfer will be accomplished IEEE 802.11 wireless network protocols. Cellular
technology, which is an alternative solution, enables the connectivity between remote
locations and the Internet. Cellular phone service currently has a limitation of avail-
ability and stability in remote locations across Nebraska. A high gain IEEE 802.11
network is potentially a better choice because it costs less and the user has more
control. The IEEE 802.11 network will utilize TCP/IP network protocol thereby
providing the ability to control the DAU to a remote operator. The use of intelli-
gent routing protocols will enable sensors to form networks and thereby routing the
information in the absence of direct line of sight to the base station. Our goal is to
transfer the data in real-time (recall that once per day is considered to be real time)
to the Data Processing Unit (DPU). The challenges that have to be addressed during
DTU development are the stability of connectivity and data security. Data security
can be provided by IEEE 802.11 Wired Equivalent Privacy (WEP)
Implementation
In this chapter, we discuss the implementation details for the test-bed. As part of the
implementation we concentrated on the DAU and the DPU. This prototype imple-
mentation will serve as a basis for the future development of the system. The DTU
uses a standard IEEE 802.11 link between the DAU and a central monitoring station
directly connected to the DPU through internet. We present the implementation
details for each section below.
The main responsibility of DAU is to collect the data from the pressure transducer,
and to store the data locally and to respond to the requests from a remote site. The
essential components of the DAU can be listed as follows
Pressure Transducer : The pressure transducer measures the pressure inside the
water table. The pressure transducer we have used is Unidata's Hydrostaic water
depth and temperature probe (Model: 6508). This transducer measures the pressure
and the temperature as an analog voltage signal. The pressure transducer resides
inside the water surface and measures the pressures exerted on it. The water level
is directly proportional to the pressure measured. The output signal is with respect
to a reference voltage of 2.55V.
5.1.1 Analog to Digital Converter
The analog signal from the pressure transducer should be converted to digital to be
transmitted through the network. We used TI's TLC0820ACN 8 but A/D converter[24].
This AD converter interfaces directly with an FPGA (micro controller).
We used the Altera Nios Stratix FPGA as a micro controller which controls the pres-
sure transducer and the interfaces with the network. The Altera Nios Stratix FPGA is
a generic array of logic gates. It is possible to implement a customized microprocessor
on an FPGA. We have implemented a variation of a standard 32-bit microprocessor
on Altera's FPGA. This FPGA is responsible for collecting digitized data from the
A/D converter and for storing it in a °ash memory storage area available on-board.
We have developed a server program on the FPGA micro processor implementation
which receives the requests from a remote location and responds with the data avail-
able. The FPGA development board has a Ethernet port for communication. To
obtain wireless connectivity we have used a Dlink [23] Ethernet-wireless bridge.
Chapter 6
HARDWARE AND SOFTWARE DESIGN
The number of cables and cable lengths dictated by traditional star topologies of
interconnecting analog transducers to a central signal processing equipment has a
detrimental impact on all aspects of a measurement system. These factors decrease the
accuracy and reliability of measurements, decrease system performance, and increase
system operating costs.
The multi-drop sensor network architecture of the proposed system allows drastic
reduction of interconnecting cables. The Smart Sensor System interconnects all of the
transducers through a common digital bus cable. The centralized, bulky electronic boxes
typical of traditional measurement systems are replaced with miniature modules
strategically distributed throughout the setup.
High Reliability
Reliability is improved by reducing the total number of interconnecting cables and
including Build-in-Test (BIT) features. Self test adds a higher level of confidence that a
given measurement channel is alive and working properly.
High Performance
Large numbers of analog transducers result in difficult-to-manage, large and long bundles
of cables carrying analog signals which are susceptible to being corrupted by EMI/RFI
noise. Cables carrying digital signals are more immune to these problems and are easier
to interface than cables carrying analog signals.
Transducer Electronic Data Sheet 1 (TEDS) stored in each smart sensor and interface
module helps to reduce the complexity of the system design, integration, maintenance
and operation.
The new network measurement system accepts different types of transducers, including
traditional analog types as well as new smart network sensors. It allows for easy
expansion or reduction in the number of measurement channels. This is possible with the
use of Intellibus Interface Modules (IBIM).
The proposed measurement system components are small, lightweight and packaged to
operate under demanding environmental conditions typical of aerospace applications
such as high vibration, high temperature, high pressure, humidity, EMI/RFI, etc.
Minimum Cost
The presence of controller/processor in smart sensor has led to corrections for different
undesirable sensor characteristics which include input offset and span variation, non-linearity
and cross-sensitivity. As these are carried in software, no additional hardware is required and
thus calibration becomes an electronic process. Thus it is possible to calibrate the batches of
sensor during production without the need to remove the sensor from its current environment or
test fixture .
9.1 Cost improvement
In case of smart sensor inside hardware is more complex in the sensor on the other hand it is
simpler outside the sensor. Thus the cost of the sensor is in its setup, which can be reduced by
reducing the effort ofsetup, and by removing repetitive testing.
9.2 Reduced cost of bulk cables and connectors
Use of smart sensor has significantly reduced the cost of bulk cables and connectors needed to
connect different blocks (i.e. electronic circuits).
9.3 Remote Diagnostics
Due to the existence of the processor with in the package, it is possible to have digital
communication via a standard bus and a built in self-test (BIST). This is very helpful in
production test of integrated circuits. This diagnostic can be a set of rules based program running
in the sensor.
Smart Sensors has developed and proved a new miniaturized Smart Sensor Network
Measurement System, which represents a paradigm shift from a centralized to a distributed
processing measurement approach. It significantly reduces the number and lengths of cables, the
components size, and system weight. It provides greater flexibility in design, configuration and
installation. All of these advantages translate into cost savings throughout the life of a program.
The high processing power provided by the DSP and the high level of integration provided by
today’s commercial off-the-shelf (COTS) integrated circuits (ICs) allows for this design to be
very flexible and capable of easily and quickly integrating functions for onboard or field
diagnostics and prognostics such as Kalman filtering, order and trend analysis in a very small,
light weight, and cost effective package.
REFERENCES
[5] Harish Ramamurthy, B. S. Prabhu and Rajit Gadh,” Smart Sensor Platform for Industrial
Monitoring and Control”, Wireless Internet for the Mobile Enterprise Consortium
University of California, Los Angeles.
[6]Alex Karolys,” A Smart Network Sensor System for Distributed, Synchronous Data
Acquisition”, VIP Sensors, Inc. – 27128A Paseo Espada, St. 1523 - San Juan Capistrano, CA
92675
[7] IEEE 1451.2 - A SMART TRANSDUCER INTERFACE for SENSORS and ACTUATORS
- Transducer to Microprocessor Communication Protocols and Transducer Electronic Data Sheet
(TEDS) Formats.
[8] Perry Sink, “A Comprehensive Guide to Industrial Networks, Part 1: Why Use an Embedded
Network or Fieldbus, and What Are the Most Popular Standards?” Sensors Magazine, June 2001
- http://archives.sensorsmag.com/articles/0601/28/index.htm