29
GET CONNECTED to LEARN, SHARE, AND ADVANCE. IRIG 106 TIPS AND TRICKS

IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

GET CONNECTED to LEARN, SHARE, AND ADVANCE.

IRIG 106 TIPS AND TRICKS

Page 2: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

A LITTLE ABOUT ME

• Bob Baggerman • [email protected] • Georgia Tech Research Institute • Graduated Georgia Tech EE ’80 • Worked for GTRI 25+ Years • Participant with the Recorders and Reproducers

Committee of the RCC • Operate the www.irig106.org Web Site

Page 3: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 3:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

IRIG 106 STANDARD(S)

• Purpose of IRIG standards is to promote test range interoperability

• IRIG 106 has a number of chapters and appendices • Most important chapters are:

– Chapter 6 – Status and Control – Chapter 9 – TMATS – Chapter 10 – Digital Data Recorder

Page 4: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 4:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

CHAPTER 10 STANDARD

• Comprehensive Standard – Used for Hardware and Software Acquisition – Defines Capabilities, Not Architecture

• Developed by DoD (Range Commanders Council) – Mostly USAF (Eglin AFB and Edwards AFB) – Some Navy Participation – Considerable Vendor Participation

• Defines... – Data Format – Data Download Interface – Recorder Control and Status Interface

• Lot’s of Good Stuff, Some Goofy Stuff

Page 5: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 5:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TAPE RECORDINGS

• Ubiquitous Mass Storage for Decades

• Actually quite advanced

• Spawned an instrumentation industry

• Some aspects persist in IRIG 106 – Control Commands – Data blocking and format

• Still used today – “Never underestimate

the bandwidth of a station wagon full of mag tapes”

Page 6: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 6:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

EVERYTHING HAS GONE DIGITAL

• Solid State Media – Removable Memory Module (RMM)

• Digital Data Representation – Data stored in digital messages – Messages grouped into packets

• Random Access – Download looks like block oriented disk drive – STANAG 4575 directory structure

Page 7: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 7:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

CHAPTER 10 DATA FILE LAYOUT

• Sequential Series of Data Packets • One Data Type and Data Channel per Packet • First Data Packet is TMATS Info • Last Data Packet is Index (if supported) • Each Data Packet has...

– Standard Header and Trailer – Data Payload

TMATS

TIME

TIME

TIME

VIDEO

VIDEO

VIDEO

VIDEO

VIDEO

1553

1553

INDEX

:

Page 8: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 8:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

CHAPTER 10 DATA MESSAGE LAYOUT

• Multiple messages per packet • Data Packet Composed of

– Standard Header – Optional Secondary Header – Data Payload

• Channel Specific Data Word • Intra-Packet Header • One or more Data Words

– Standard Trailer • Max Packet Size = 524,288 bytes

TMATS

TIME

TIME

TIME

VIDEO

VIDEO

VIDEO

VIDEO

VIDEO

1553

1553

INDEX

:

HEADER

DATA MSG #1

DATA MSG #2

DATA MSG #3

TRAILER

CSDW

:

DATA MSG #N

Page 9: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 9:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

CHAPTER 10 DATA PACKET CONSTRAINTS

• Each Packet Has Data From One Channel Only • Each Packet Must Contain Data • Minimal Filler Allowed • No more than 100 msec of Data per Packet • Packet Must Be Committed To Disk Within 1 Sec • All Data Is Time Stamped with a Common Relative

Time Counter (RTC)

Page 10: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 10:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

CHAPTER 10 DATA TYPES

Type

Num Data Type Name Data Type Description

---- ---------------------------------- -------------------------------

0x00 Computer Generated Data, Format 0 User Defined

0x01 Computer Generated Data, Format 1 Setup Record (TMATS)

0x02 Computer Generated Data, Format 2 Recording Events

0x03 Computer Generated Data, Format 3 Recording Index

0x09 PCM Data, Format 1 IRIG 106 Chapter 4/8

0x11 Time Data, Format 1 IRIG/GPS/RTC

0x19 MIL-STD-1553 Data, Format 1 Mil-Std-1553B Data

0x1A MIL-STD-1553 Data, Format 2 16PP194 Bus

0x21 Analog Data, Format 1 Analog Data

0x29 Discrete Data, Format 1 Discrete Data

0x30 Message Data, Format 0 Generic Message Data

0x38 ARINC 429 Data, Format 0 ARINC429 Data

0x40 Video Data, Format 0 MPEG-2/H.264 Video

0x41 Video Data, Format 1 ISO 13818-1 MPEG-2

0x42 Video Data, Format 2 ISO 14496 MPEG-4 Part 10 AVC/H.264

0x48 Image Data, Format 0 Image Data

0x49 Image Data, Format 1 Still Imagery

0x50 UART Data, Format 0 UART Data

0x58 IEEE-1394 Data, Format 0 IEEE-1394 Transaction

0x59 IEEE-1394 Data, Format 1 IEEE-1394 Physical Layer

0x60 Parallel Data, Format 0 Parallel Data

0x68 Ethernet Data, Format 0 Ethernet Data

Page 11: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 11:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

IRIG 106 STRENGTHS / WEAKNESSES

• Strengths – Non-proprietary – Interoperability – Lots of vendors

• Weaknesses – Not easily extensible – No data object model – Doesn’t network very well

Page 12: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 12:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

UVULA

Page 13: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 13:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #1 - HOW TO EXTEND IRIG 106

• Use Generic Message Data Packets (0x30) – This is the “blessed” solution – Free form data – Down side is no way to distinguish data contents

• “Steal” an unused packet type – This is the “Robin Hood” solution

• Steal from the rich, give to the poor – No guarantee of uniqueness or interoperability – Very commonly done

• Extend IRIG 106 through the standards process

Page 14: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 14:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #1 - STANDARDS PROCESS

Your idea goes here

Hopefully this is the result

• The Range Commanders Council - Telemetry Group (RCC-TG) writes IRIG 106.

• The Recorders and Reproducers (R&R) Committee writes Chapter 10 of IRIG 106

• The TG meats, er, meets twice annually

• Membership is open to any interested party that is willing to participate constructively through the Recorder Vendor Working Group (RVWG)

• Government

• Vendors

Page 15: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 15:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - EXTEND TMATS

• TMATS tells you how data was encoded

• TMATS doesn’t tell you what data is in the file

• Data could be interpreted differently

A better data description helps but how?

Page 16: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 16:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - TMATS PACKET

• “Parameters required by the receiving/processing system to acquire, process, and display the telemetry data received from the test item/source”

• Required To Be First Data Packet

• Documents…

– Recorder Setup

– Data Definitions

• TMATS is Ugly but Very Useful

• More could be done with TMATS

• Will Be Replaced By XML Real Soon Now (RSN)

Page 17: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 17:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - CHAPTER 9 TMATS EXAMPLE

G\PN:GSR-ATP;

G\TA:FullConfig;

G\106:05;

G\DSI\N:1;

G\DSI-1:DATASOURCE;

G\DST-1:OTH;

G\OD:21/02/2006;

G\UD:21/02/2006;

G\POC\N:1;

G\POC1-1:Balazs Bago;

R-1\ID:DATASOURCE;

R-1\TC1:SSR;

R-1\RI1:Heim;

R-1\RI2:Unknown;

R-1\RI3:Y;

R-1\N:25;

R-1\DSI-1:Time;

R-1\TK1-1:1;

R-1\CHE-1:T;

R-1\CDT-1:TIMEIN;

R-1\TFMT-1:B;

Page 18: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 18:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - EXTEND TMATS – V GROUP

• Approach #1 - V Group Attributes • V Attributes are Vendor Specific info • Encoding and interpretation of V Attributes is up to the user (Wild Wild

West) V-1\ID:SomeRecorderID;

V-1\VN:TLA;

V-1\TLA\ACType:F16-SCU6;

V-1\TLA\Bus-1:AMux;

• V Attributes are typically used for additional recorder settings not provided by standard TMATS

Page 19: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 19:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - EXTEND TMATS – H GROUP

• Approach #2 - H Group Attributes • H Attributes are the Airborne Hardware Attributes Group defining the

specific configuration of airborne instrumentation hardware in use on the item under test.

• Encoding and interpretation of H Attributes is up to the user (Wild Wild West) H\TA:SomeRecorderID;

H\ST-1:F16-SCU6;

H\ST-2:AMux;

H\ST-3:WMux;

• H Attributes aren’t widely encounted

Page 20: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 20:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - EXTEND TMATS – S GROUP

• Approach #3 - S Group Attributes

• S Group Attributes can provide the magic decoder ring

• This S Group usage is relatively new

• 106-07 and earlier – Packet Format Attributes – Used to describe PCM frames

• 106-09 changed S Group – Message Data Attributes Group – Used to describe UART, Message, Ethernet, and IEEE-

1394 Chapter 10 channel data types

Page 21: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 21:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #2 - EXTEND TMATS – S GROUP

• S Attributes describe... – Channels – Streams within Channels – Message Layout within Streams – Measurement Layout Formats – Field Layout Formats

Page 22: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 22:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #3 - MULTIPLE TIME CHANNELS

• All Packets Have Common Time Stamp – 10 MHz Clock Frequency – 48 Bits Free Running Counter

• Ch 10 treats time as just another data channel

• Different time sources should be recorded in different

channels

• Vendors usually merge time sources into one time channel

Page 23: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 23:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #3 - MULTIPLE TIME CHANNELS

Internal Time

GPS Time

IRIG-B Time

Combined Time Channel

Typical Implementation

Preferred Implementation

Page 24: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 24:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #4 - LIVE DATA STREAMING

1553

Analog

Video 1

Video 2

Page 25: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 25:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #5 – FREE SOFTWARE UTILITIES

Command Line Utilities i106stat i106trim

idmptmat idmp1553 idmpuart idmpvid

idmpins idmpgps idmp429 idmptime

Windows Utilities Display_TMATS i106Dub

Libraries C Static Libraries (gcc, MSVS, .NET) C Dynamic Libraries (.a, .dll) Other Free Stuff EMC Packet Viewer Sample Data Files

www.irig106.org

Page 26: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 26:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #5 – FREE SOFTWARE UTILITIES

• idmpgps / idmpins

35.48

35.49

35.5

35.51

35.52

35.53

35.54

35.55

35.56

-117.4 -117.38-117.36-117.34-117.32 -117.3 -117.28-117.26

GPS GPS

Longitude Latitude Altitude True Ground

Date Time (+ East) (+ North) MSL HAE Course Speed

(UTC) (- West) (- South) (feet) (feet) (kts)

09/29/2009 18:17:26 -117.27669 35.51386 3803 -93 8.3 235.0

09/29/2009 18:17:27 -117.27655 35.51496 3802 -93 6.1 234.4

09/29/2009 18:17:28 -117.27645 35.51606 3799 -93 3.7 234.0

09/29/2009 18:17:29 -117.27640 35.51718 3797 -93 1.2 233.4

09/29/2009 18:17:30 -117.27642 35.51829 3797 -93 358.6 232.6

09/29/2009 18:17:31 -117.27649 35.51939 3797 -93 356.0 231.7

Page 27: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 27:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #5 – FREE SOFTWARE UTILITIES

IRIG 106 Dub Display TMATS

Page 28: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 28:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

TIP #6 - HANDBOOKS

• Ch 9 – TMATS User’s Guide – Used to supplement Chapter 9 – More extensive narrative – Many examples

• Ch 10 – Programmer’s Handbook

– Used to supplement Chapter 10 – Geared towards programmers – Additional guidelines, knowledge, algorithms – Example data structures – Example code

Page 29: IRIG 106 TIPS AND TRICKS - International Test and Evaluation … · 2012-01-06 · 2:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE. ITEA 2011 – IRIG 106 Tips and Tricks

ITEA 2011 – IRIG 106 Tips and Tricks 29:May 11, 2011 GET CONNECTED to LEARN, SHARE, AND ADVANCE.

FUTURE DIRECTIONS

• More Networking – Smaller, Better – Live Data Streaming – iNET

• More Data Types • More Features