Académique Documents
Professionnel Documents
Culture Documents
Abstract – The paper presents a new approach to store and read analog signal or use its own wiring. The TEDS is all the
Transducer Electronic Data Sheets (TEDS) compliant with the measurement system needs to automatically configure the
IEEE 1451.4 standard. The idea is to take the bit stream of the transducer and use it effectively.
TEDS structure and store it on a non-volatile, easy-to-read,
cheap support as is the case of 2D bar codes. The TEDS structure The TEDS is deliberately compact to occupy the smallest
can thus be stuck to the transducer case or printed on catalogues, amount of memory. Still it contains all the information needed
ready to be read anytime and anywhere by a scanner device. for a measurement system to use the transducer properly. This
Experimental tests involving a Pt100 and a semiconductor includes data to identify the transducer, describe its capabilities
temperature sensor are described to illustrate the concept. The and reflect its calibration condition. This data is organized in
tests include the generation of TEDS structures, their conversion two main parts (see figure 1):
to 2D bar codes and their reading back. The encoding is done
online using a free web service; the decoding is done offline using 1. Basic TEDS (mandatory, read-only, 64 bits length):
a simple webcam and some image processing functions. Contains the transducer ID composed by the following
LabVIEW code is presented to illustrate the encoding and fields: manufacturer ID (14 bits), model number (15
decoding processes. bits), version letter (5 bits), version number (6 bits) and
serial number (24 bits). The emission, maintenance and
Keywords – Transducer Electronic Data Sheets (TEDS), QR revocation of manufacturer ID is regulated by the
code, 2D bar code, smart transducer, IEEE 1451 IEEE.
2. User and Manufacturer TEDS (optional, variable size):
I. INTRODUCTION Describes the technical characteristics of the transducer
The paper presents a new approach to store and read IEEE and provides information about its calibration. The
1451.4 TEDS structures using 2D bar codes. This version of data is organized according standard templates that
TEDS (less electronic) can be printed on a simple sheet of cover the most common types of transducers
paper, a sticker or a PDF file. The datasheet can thus be stuck (accelerometers, voltage output sensors, current output
to the transducer case or printed in catalogues, right there in transmitters, thermocouples and much more).
front of you, visible with the eyes and touchable with the hands Templates 25 to 39 are used to store technical
(yet not readable). specifications, while templates 40 to 42 are specific for
calibration data. The user is allowed to add free-style
In this section we give an overview about the foundations data at the end of the TEDS. Tables I and II show the
of the work, namely the IEEE 1451.4 standard and Quick use of templates 30 and 37 to describe, respectively,
Response (QR) codes. The overview only covers the topics the temperature sensor LM35 [5] and a Pt100
needed to understand the remaining of the paper. Deeper compliant with the IEC 60751 standard [6].
information can be found in the references.
The TEDS can also become virtual by saving it on a file.
A. IEEE 1451.4 The Virtual TEDS is commonly used as an extension of the
Basic TEDS: the measurement system reads the Basic TEDS
The IEEE 1451.4 standard [1] [2] [3] defines digital wiring,
from the transducer, interprets it as a pointer to a web file
communication protocols and TEDS structures to make analog
(stored on the manufacturer’s website, for example),
transducers smarter (i.e. compatible with the IEEE 1451 family
downloads the Virtual TEDS and consumes the rich
of standards [4]). The idea is to embed the TEDS on the
information it contains. This approach is especially useful for
transducer (using an EEPROM memory or similar) and add a
memory constrained transducers that can just hold the ID and
digital communication interface to access it. The
nothing else.
communication interface can share the same wiring of the
Figure 3. QR encoder.
II. CONVERSION OF TEDS STRUCTURES INTO QR CODES Figure 4. QR code generated for the LM35 sensor.
To demonstrate the conversion process, we decided to
generate our own TEDS structures. For this purpose, we used
the TEDS Library for LabVIEW [12] to build Virtual TEDS
for the sensors described in tables I and II. As a result, we
obtained the files LM35.ted and RTD.ted with sizes of 41 bytes
Hex string encoded =
and 26 bytes, respectively. “1E4008200400000094588232508805
The conversion of Virtual TEDS into the corresponding QR A407C89DB6B016B4050006”
code is facilitated by free web services that implement the
coding routine. A good example is Google Infographics [13], a
web service that creates QR codes on the fly by making simple
HTTP GET requests. The service has the following syntax:
Figure 5. QR code generated for the Pt100.
http://chart.googleapis.com/chart?cht=qr&chs=<width>x<hei
ght>&chl=<data>&choe=UTF-8&chld=<error connection
level>
III. QR CODE DECODING IV. CONCLUSIONS
The generation of QR codes can be done online since the Embedded TEDS, Virtual TEDS and Printed TEDS are
image is generated only once and reused many times. The three complementary ways to store and disseminate
decoding process, however, must be able to be done offline as information about the transducer. Embedded and Virtual TEDS
it can occur anytime anywhere. are electronic versions of TEDS: they are stored as electric or
magnetic signals and are accessed through digital
Figure 6 shows a LabVIEW program that is capable of communication interfaces. Printed TEDS, instead, is stored as
decoding QR codes as the one generated for the LM35 sensor an image that can be placed on any surface (paper, e-paper or
(compare figures 4 and 6). The program takes a photo of the the transducer case). The image is visually identifiable and the
QR code and decodes it making use of NI Vision Software information it contains can easily be decoded by common
[14]. The snapshot is converted into a grayscale image, scanners without having to power-up the transducer and
equalized using the histogram method and applied to the connect it to special hardware. This can be very useful for on-
decoding function. The decoded data is presented on the front
field maintenance and asset identification.
panel (as a hex string) and converted to a Virtual TEDS.
Other implementation alternatives exist, both in terms of REFERENCES
image acquisition and image processing. Image acquisition can
[1] IEEE Std 1451.4 – IEEE Standard for a Smart Transducer Interface for
be done using general-purpose drivers, as is the case of the Sensors and Actuators – Mixed-Mode Communication Protocols and
DirectShow driver [15] available for Windows 7 and earlier, or Transducer Electronic Data Sheet (TEDS) Formats, IEEE
the MediaCapture API [16] available for Windows 8 and later. Instrumentation and Measurement Society, USA, 2004.
Image processing can be done using free QR decoders, as is the [2] What is 1451.4, what are its uses and how does it work?,
case of the ZXing library [17] developed in Java. The ZXing http://standards.ieee.org/develop/regauth/tut/1451d4.pdf
library can be ported to Android systems, which opens the door [3] An Overview of IEEE 1451.4 Transducer Electronic Data Sheets,
to develop a portable TEDS viewer for smartphones. http://standards.ieee.org/develop/regauth/tut/teds.pdf
[4] Engene Y. Song, Kang Lee, “Understanding IEEE 1451 – Networked
Smart Transducer Interface Standard”, IEEE Instrumentation &
Measurement Magazine, vol. 11, no. 2, pp. 11-17, April 2008.
[5] http://www.ti.com/product/lm35
[6] IEC 60751 – Industrial platinum resistance thermometers and platinum
temperature sensors, International Electrotechnical Commission,
Switzerland, 2008.
[7] ISO/IEC 18004 – Information technology – Automatic identification and
data capture techniques – QR Code 2005 bar code symbology
specification, International Electrotechnical Commission, Switzerland,
2006.
[8] Answers to your questions about the QR Code,
http://www.qrcode.com/en
[9] ISO/IEC 8859-1 – Information technology – 8-bit single-byte coded
graphic character sets – Part1: Latin alphabet No. 1, International
Electrotechnical Commission, Switzerland, 1998.
(a) [10] Stephen B. Wicker, Vijay K. Bhargava, “An Introduction to Reed-
Solomon Codes”, in Reed-Solomon Codes and Their Applications,
Wiley-IEEE Press, USA, 1999, ISBN 978-0780353916.
[11] Reed-Solomon codes for coders,
http://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_co
ders
[12] How Do I Create a Virtual TEDS for My Transducer/Sensor?,
http://digital.ni.com/public.nsf/allkb/B0B0FFA7203ACC168625714300
680CA0
[13] Google Chart Tools: Infographics,
https://developers.google.com/chart/infographics/docs/qr_codes
[14] NI Vision Software, http://www.ni.com/vision/software
[15] Directshow.net library, http://directshownet.sourceforge.net
[16] Quickstart: capturing video using the MediaCapture API,
http://msdn.microsoft.com/en-us/library/windows/apps/hh452791.aspx
[17] ZXing project, https://github.com/zxing
(b)