18
June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE 1451 Serial Implementation of IEEE 1451.2-1997 for Data Acquisition Applications Robert N. Johnson Telemonitor, Inc. [email protected] June 3, 2003

Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 1

Smart Transducer Interface Standard - IEEE 1451

Serial Implementation of IEEE 1451.2-1997 forData Acquisition Applications

Robert N. JohnsonTelemonitor, Inc.

[email protected]

June 3, 2003

Page 2: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 2

Smart Transducer Interface Standard - IEEE 1451

Outline

• Brief review of IEEE 1451.2-1997

• Proposed enhancements

• Earlier demonstration hardware

• Serial smart sensor interface for DAQ applications

• Next Steps

Page 3: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 3

Smart Transducer Interface Standard - IEEE 1451

NCAP

IEEE 1451.2 smart sensor model

Analog-to-digital conversion

Applicationalgorithms

Communication

Data storage

Local userinterface

Network

Correctionengine

1451.2interface

1451.2interface

TEDS

Sensor 1 Signalconditioning

Sensor N

...

STIM

10 wire point-to-pointinterface

Network specificNetwork independent

Requires compatiblesoftware on the otherend

Page 4: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 4

Smart Transducer Interface Standard - IEEE 1451

IEEE 1451.2 hardware interface

STIMLogicBlock

NCAPor

HostMicro-

processor

DIN

DOUT

DCLK

NIOE

NTRIG

NACK

NINT

NSDET

+5 v

COMMON

Network1

2

3

4

1) Communication/framing2) Triggering/handshaking3) Interrupts and hot swap4) Power

Intended for closely-coupled systems

Page 5: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 5

Smart Transducer Interface Standard - IEEE 1451

Proposed enhancements to IEEE 1451.2

• Primary enhancements:

− Partition the TEDS

− Alternative physical layers

− Partition the standard

• Secondary enhancements:

− Enhance the TEDS

− Add functions

− Standalone function

− Corrections and additions

Page 6: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 6

Smart Transducer Interface Standard - IEEE 1451

Alternate physical layers

STIMPower

Common

TEDS

Triggering, trigger acknowledge,hot swap, and error reporting areembedded in messages exchangedvia off-the-shelf asynchronouscommunication channel.

Command/response Body ChecksumTransport header

Device addressing, message sequence numbers

Same command/response messages formats in the standard today

A

B

Page 7: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 7

Smart Transducer Interface Standard - IEEE 1451

New connectivity enabled by enhancements

RS-485 STIMRS-232

Connectivity to existingcommunication ports:

• Computers• Programmable logic controllers• PC plug-in cards• Instruments• NCAPs

STIMTEDS

STIMTEDS

STIMTEDS

TEDS

Page 8: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 8

Smart Transducer Interface Standard - IEEE 1451

Original STIM-in-a-connector hardware

• Signal conditioning, signalconversion, TEDS contained inthe connector

• Encapsulated for ruggedness

• Transducer attached to fixedcable to maintain integrity ofTEDS

• Supports both sensors andactuators

• High-density 15-pin “D”-shellconnector

Page 9: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 9

Smart Transducer Interface Standard - IEEE 1451

STIM connector pin assignments

12345

610 9 8 7

15 14 13 12 11

Pinnumber

Signal name Direction forNCAP

Direction forSTIM

1 DCLK OUT IN2 DIN OUT IN3 DOUT IN OUT4 NTRACK IN OUT5 COMMON (GROUND) POWER POWER6 NIOE OUT IN7 NIO_INT IN OUT8 NTRIG OUT IN9 POWER (+5 VDC) POWER POWER10 NSDET IN OUT

Page 10: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 10

Smart Transducer Interface Standard - IEEE 1451

Earlier Smart Transducer Interface Kit

• Based on STIM-in-a-connectorhardware

• CogniSense® electronics

− Signal conditioning andconversion

− TEDS in EEPROM

• RS-485 network node (NCAP)

• RS-485 to RS-232C converter

• Serial encapsulation of IEEE1451.2-1997 messages to PC-based host software

Page 11: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 11

Smart Transducer Interface Standard - IEEE 1451

PC host software

• Supports network protocol:

− Multi-drop (RS-485)

− Discovery (bit dominance)

− Command-response mode

− Streaming data mode(pseudo TDMA)

− Host controls trigger

• Supports all IEEE 1451.2-1997STIM transactions

• Correction engine in PC host

Page 12: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 12

Smart Transducer Interface Standard - IEEE 1451

PC host software, con’t.

• Screen shots show IEEE 1451.2 operation modes:

− Individual STIM transaction

− Streaming data

Page 13: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 13

Smart Transducer Interface Standard - IEEE 1451

Serial interface smart sensors for DAQ

• Combined STIM and RS-485 NCAP electronics

• Used with multiple channels and multiple devices on single network

• Serial interface to PC-based host software

Page 14: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 14

Smart Transducer Interface Standard - IEEE 1451

Serial message packet format

Field # Description Value Size (bytes)1 Header 0xAA 12 Header 0x55 13 Node Identifier 0 - 255 14 Length of Data 1 - 29 15 Data 1-296 Checksum 0 - 255 1

• Philosophy: Keep it simple to support small (8-bit) STIMs

− Unique headers with byte stuffing in body

− Short packets (but no limit on number of packets)

− Simple 8-bit checksum

Page 15: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 15

Smart Transducer Interface Standard - IEEE 1451

STIM transaction messages

FunctionCode(hex)

Description Parameters ParameterInfo

ResponseCode (hex)

21 Write a message to the STIM. Performs acomplete write data transfer with the STIM module.

FunctionChannelData

0 - 2550 - 255

1 - 29 bytes

91

22 Read message from the STIM. Performs acomplete read data transfer with the STIM module.

FunctionChannelNumber of bytes to read

0 - 2550 - 2551 - 29

A2

23 Initiate a STIM data transfer. Start a read or writeblock transfer with the STIM module. Use withfunction 24 and 25 to write or read large blocks ofdata.

FunctionChannel

0 - 2550 - 255

80

24 Write a block of data to the STIM module. Data 1 - 29 bytes 80

25 Read a block of data from the STIM module. Number of bytes to read 1 - 29 A5

26 End the STIM data transfer. Ends the read or writeblock transfer started with function 23.

None 80

2F Abort a STIM function. Terminates the given STIMfunction. If the parameter value is 0xFF, all STIMfunctions are terminated.

Function code to abort byte 80

31 Set the channel and data length for the triggerfunction. This command sets the STIM channeland the amount of data the node will read uponcompleting a local or global trigger.

ChannelNumber of bytes to read

0 - 2551 - 29

80

32 Generate a local trigger. Hardware triggers theSTIM module attached to the node and returns thedata read from the channel specified usingfunction 31.

None A2

Page 16: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 16

Smart Transducer Interface Standard - IEEE 1451

Future plans for serial smart sensor

• Update for recent higher performance application− Higher speed− More channels− Harsh environment

• DB-9 (UART) version of STIM-in-a-connector− Control lines for low power operation− RS-485 option on same connector

• Support IEEE 1451.2 enhancement Working Group• Gage interest in reviving Smart Sensor Interface Kit to

support smart transducer development

Page 17: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 17

Smart Transducer Interface Standard - IEEE 1451

RS-232C/RS-485 smart sensor interface

54321

96 7 8

Pinnumber

Signal name Signal Type Signal Description

1 V+ Power Input power to sensor2 RxD Input Received data3 TxD Output Transmitted data4 SRQ Output Sensor request for service (logic 0, positive voltage)5 GND Power Ground for power and RS-2326 RS-485B (+) Bi-directional Positive side of RS-485 communications7 RTS Output Sensor ready for communications8 CTS Input Communicator ready for communications9 RS-485A (-) Bi-directional Negative side of RS-485 communications

Notes on Connector Pins

1. Electrical characteristics of pins 2, 3, 4, 5, 7, and 8 are as defined in EIA RS-232C.2. RS-232C Serial port is a DTE device except the logical use of pins 4, 7, and 8 is as described in this

data sheet.3. Electrical characteristics of pins 6 and 9 are as defined in EIA RS-485.

Page 18: Serial Implementation of IEEE 1451.2-1997 for Data ...telemonitor.com/wp-content/uploads/2015/06/data...June 3, 2002 Sensors Expo, Chicago 1 Smart Transducer Interface Standard - IEEE

June 3, 2002 Sensors Expo, Chicago 18

Smart Transducer Interface Standard - IEEE 1451

Please visit the IEEE 1451 section of theEmerging Technology Pavilion.

Will be demonstrating the serial interface andSTIM-in-a-Connector hardware on Wednesday,

June 4, 2003.

Questions/Discussion?