1 / 29

IRIG 106 Tips and Tricks

IRIG 106 Tips and Tricks. A Little About Me. Bob Baggerman bob.baggerman@gatech.edu 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.

gstalder
Download Presentation

IRIG 106 Tips and Tricks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IRIG 106 Tips and Tricks

  2. A Little About Me • Bob Baggerman • bob.baggerman@gatech.edu • 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

  3. 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

  4. 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

  5. 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”

  6. 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

  7. Chapter 10 Data File Layout TMATS • 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 TIME VIDEO VIDEO TIME VIDEO 1553 VIDEO TIME 1553 VIDEO : INDEX

  8. Chapter 10 Data Message Layout TMATS • 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 TIME VIDEO VIDEO TIME HEADER CSDW VIDEO DATA MSG #1 1553 DATA MSG #2 DATA MSG #3 VIDEO : DATA MSG #N TRAILER TIME 1553 VIDEO : INDEX

  9. 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)

  10. 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

  11. IRIG 106 Strengths / Weaknesses • Strengths • Non-proprietary • Interoperability • Lots of vendors • Weaknesses • Not easily extensible • No data object model • Doesn’t network very well

  12. Uvula

  13. 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

  14. Tip #1 - Standards Process • 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 Your idea goes here Hopefully this is the result

  15. 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?

  16. 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)

  17. 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;

  18. 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

  19. 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

  20. 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

  21. Tip #2 - Extend TMATS – S group • S Attributes describe... • Channels • Streams within Channels • Message Layout within Streams • Measurement Layout Formats • Field Layout Formats

  22. 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

  23. tip #3 - Multiple Time Channels Typical Implementation Combined Time Channel Preferred Implementation Internal Time GPS Time IRIG-B Time

  24. tip #4 - Live Data Streaming 1553 Analog Video 1 Video 2

  25. tip #5 – Free Software Utilities www.irig106.org 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

  26. tip #5 – free Software Utilities • idmpgps / idmpins 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

  27. tip #5 – free Software Utilities Display TMATS IRIG 106 Dub

  28. 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

  29. Future Directions • More Networking • Smaller, Better • Live Data Streaming • iNET • More Data Types • More Features

More Related