the enhanced airborne measurement facility recording system

52
Project Report ATC-228 The Enhanced Airborne Measurement Facility Recording System S. I. Altman P. M. Daly 31 January 1995 Lincoln Laboratory MASSACHUSETTS INSTITUTE OF TECHNOLOGY LEXINGTON, MASSACHUSETTS Prepared for the Federal Aviation Administration, Washington, D.C. 20591 This document is available to the public through the National Technical Information Service, Springfield, VA 22161

Upload: others

Post on 16-Jun-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Enhanced Airborne Measurement Facility Recording System

Project ReportATC-228

The Enhanced Airborne Measurement Facility Recording System

S. I. AltmanP. M. Daly

31 January 1995

Lincoln Laboratory MASSACHUSETTS INSTITUTE OF TECHNOLOGY

LEXINGTON, MASSACHUSETTS

Prepared for the Federal Aviation Administration, Washington, D.C. 20591

This document is available to the public through

the National Technical Information Service, Springfield, VA 22161

Page 2: The Enhanced Airborne Measurement Facility Recording System

This document is disseminated under the sponsorship of the Department of Transportation in the interest of information exchange. The United States Government assumes no liability for its contents or use thereof.

Page 3: The Enhanced Airborne Measurement Facility Recording System

1. Report No.

ATC-228

2. Government Accession No.

TECHNICAL REPORT STANDARD TITLE PAGE

3. Recipient's Catalog No.

4. Title and Subtitle

The Enhanced Airhorne Measurement Facility Recol"lling System

7. Author(s)

Sylvia I. Altman and Peter M. Daly

9. Performing Organization Name and Address

Lincoln Lahoratory, MITP.O. Box 9108Lexington, MA 02173-9108

12. Sponsoring Agency Name and AddressDepartment of TranspOl"tationFederal Aviation AdministrationSystems Research and Development ServiceWashington, DC 20591

15. Supplementary Notes

5. Report Date31 Januarv 1995

6. Periorming Organization Code

8. Periorming Organization Report No.

ATC-228

10. Work Unit No. (TRAIS)

11. Contract or Grant No.

DTFAOI-93-Z-02018

13. Type of Report and Period Covered

14. Sponsoring Agency Code

This report is hased on studies performed at Lincoln Lahoratory, a center for research operated hy Massachusetts Institute ofTechnolob'Y under Air Force Contract FI9628-95-C-0002.

16. Abstract

The Airhorne Measurement Facility (AMF) is a data collection system that receives and recordspulse and other information on the 1030/1090-MHz frequencies used hy the FAA's secondarysurveillance l"adar and collision avoidance systems. These systems include the Air Traffic ControlRadar Beacon System (ATCRBS), the Mode Select (Mode S) Beacon System, and the Traffic Alertand Collision Avoidance System (TCAS). Designed and constructed hy MIT Lincoln Lahoratory inthe 1970s, this unique measurement tool has heen used to conduct advanced research in Ileacon­hased air traffic control (ATC) over the past 20 years.

The original AMF included a recorder capahle of recording at the maximum rate of 2 Mhits/sec.Although this recording system worked well, it had hecome difficult to maintain in recent years. In1993, the Air Traffic Surveillance Group, with support from the FAA, decided to incorporate thelatest tape recording technology into an enhanced AMF recording system.

The main purpose of this report is to document the design details of the enhanced AMFreconling system. A second purpose is to provide gnidance to analysts for AMF operation and dataanalysis. Finally, this report complements an AMF User's Manual, which is a more detaileddocument for using and maintaining the AMF.

17. Key Words 18. Distribution Statement

Airhorne MeasurementFacility (AMF)

Graphical UserInterface (GUI)

data recordingModeSVME8-mm tape

cartridge

SSRTCASGPSaltimeter

ATCRBSVxW"rksM"de S

transp"nder

This document is availahle to the puhlic through theNational Technical Information Service,

Springfield, VA 22161.

19. Security Classif. (of this report)

Unclassified

20. Security Classif. (of this page)

Unclassified

21. No. of Pages

72

22. Price

FORM DOT F 1700.7 (S-72) Reproduction of completed page authorized

Page 4: The Enhanced Airborne Measurement Facility Recording System

ACKNOWLEDGMENTS

The authors would like to acknowledge the following people who helped to refurbish theAMF recording system, and, without whom, this effort would not have been possible: WalterBelanger, Martin Brennan, John Cataldo, Ralph Cataldo, Rick Ferranti, Jim Flavin, Bill Harman,Mike Hoffman, George Knittel, Katharine Krozel, Ray LaFrey, John Maccini, and Ron Sandholm.

ill

Page 5: The Enhanced Airborne Measurement Facility Recording System

TABLE OF CONTENTS

AbstractAcknowledgmentsList of illustrationsList of Tables

1. INTRODUCTION

2. AMF OVERVIEW

2.1 AMF System2.2 Data Analysis

3. AMF RECORDING SYSTEM DESIGN

3.1 The VME-Based Computer System3.2 The Real-Time Software3.3 Software Maintenance and Installation

4. THE GRAPHICAL USER INTERFACE

4.1 The Control Tool4.2 Real-Time Data Analysis Tool4.3 Monitoring4.4 The Tape PlayBack Tool

5. DATA FORMAT

6. SUMMARY

APPENDIX A. THE RECORDING SYSTEM'S DATA FIELDS

APPENDIX B. REAL-TIME SOFTWARE TASKS

GLOSSARY

REFERENCES

v

1

iiiVl1

lX

1

3

34

13

132121

23

23232431

35

39

41

51

59

61

Page 6: The Enhanced Airborne Measurement Facility Recording System

FigureNo.

LIST OF ILLUSTRATIONS

Page

1 AMF System Concept. 5

2 AMF System Architecture. 7

3 AMF Consisting of a) Power Distribution Box, b) Aircraft State

Unit, and c) Receiver Processor. 9

4 AMF Data Analysis Overview. 11

5 The AMF Recording Rack, front view. 15

6 The AMF Recording Rack, rear view. 17

7 AMF system Design. 19

8 Graphical User Interface (GUI) After Initialization. 25

9 The GUI Control Tool. 27

10 The Real Time Data Analysis Tool. 29

11 The Tape Playback Tool. 33

12 AMF Data Format. 37

A-3a Format of Integrated Data Words. 45

A-3b Format of Once-per-second, External Trigger, Time Mark, and Pulse

Data Words. 46

A-3c Pulse Data Word Format. 47

A-3d Time Mark Word Format. 48

A-3e Once-per-second or External Trigger Word Formats. 49

A-3f Format of Mode S Data Words. 50

B-1 AMF Record Processor Communication Channels. 54

B-2 AMP Auxiliary Process Communication Channels. 57

vii

Page 7: The Enhanced Airborne Measurement Facility Recording System

TableNo.

A-I

B-1

B-2

B-3

B-4

LIST OF TABLES

Auxiliary Data Types

Record Processor Software Tasks

Task Priority

Real-Time Auxiliary Processor Software Tasks

Priority Level of Auxiliary Processor Software Tasks

IX

Page

44

52

53

56

58

Page 8: The Enhanced Airborne Measurement Facility Recording System

1. INTRODUCTION

In 1975, MIT Lincoln Laboratory developed the Airborne Measurement Facility (AMP) todetect and record pulsed signals in the 1030 MHz and 1090 MHz bands. These are the frequenciesused by the Federal Aviation Administration (FAA) for secondary radar surveillance of beacon­equipped aircraft. Since that time, the AMF has been used for many purposes, including air-to-airdata collection during the development of the Traffic Alert and Collision Avoidance System(TCAS) and ground-based measurements for assessing the airport surface environment.

Because of the high data rate, the original AMF included a recorder capable of recording atthe maximum rate of 2 Mbitslsec, but only for about 15 minutes and 44 seconds (944 seconds).This original recorder was an instrumentation-type tape recorder that used large, cumbersometapes of a non-standard format that held 1.888 Gbits of data. To convert the instrumentation tapesto a readable form, an independent ground-based system was required. Refer to Reference [1] fora full description of the original AMF system. Although this recording system worked well, it hadbecome difficult to maintain in recent years.

In 1993, the Air Traffic Surveillance Group decided to incorporate the latest tape recordingtechnology into an enhanced AMP recording system. The AMF refurbishment takes advantage of8-mm tape drives that are smaller and more reliable, can hold much more data, support higherrecording speeds, and are easier to use than the original AMP recorder. The new recording systemoffers extensive monitoring information, complete software control, and has full playbackcapabilities eliminating the original AMF ground system. Not only has the data extraction processbeen reduced from several weeks to several minutes, but continuous recordings for up to 5 hoursand 53 minutes at the peak data rate of 2 Mbits/sec can be made, totaling 42.4 Gbits of data. Therecording system can record additional data along with the original beacon AMF data: aircraftposition data from a Global Positioning Satellite (GPS) unit; altitude data from an encodingaltimeter; and data from an on-ship Mode S transponder.

1

Page 9: The Enhanced Airborne Measurement Facility Recording System

2 AMF OVERVIEW

2.1 AMF SYSTEM

The Airborne Measurement Facility System Concept, shown in Figure 1, illustrates theacquisition of 1030 or 1090 MHz Secondary Surveillance Radar (SSR) and TCAS data along withother data for ground-based analysis. The AMF system design includes receivers, pulse and replydetection processors, auxillary data acquisiton elements and data recording facility as shown inFigure 2.

Pulse data received on the three antenna systems are fed into the AMF Receiver Processor(AMFRP): two omnidirectional blade antennas and a four-monopole angle of arrival antenna.The two blade antennas, located on the top and bottom of the aircraft, are used by the AMFRPamplitude receiver inputs. Similarly, the angle of arrival antenna, located on top of the aircraft, isused by the angle of arrival receiver input. The Receiver Processor contains two log-videoamplitude receivers and one angle of arrival receiver. The video output signals from thesereceivers are sampled and digitized by analog-to-digital converters and stored in a buffer memory.The sampling, buffer storage, and control signals are generated in the processor. The ReceiverProcessor transmits the buffer memory data to the Aircraft State Unit upon command. TheAircraft State Unit (ASU) performs data multiplexing as required to allow the insertion ofinformation such as the time of day and number of data words processed each second (seeAppendix A for additional details). The ASU feeds the continuous data stream to the AMFRecording Rack (see Section 3). Primary power for the Receiver Processor and the ASU isdistributed via the Power Distribution Box. (For more details, see Reference [1].)

The AMF consists of four primary units, which are the Receiver Processor, the AircraftState Unit, the Power Distribution Box, and the AMF Recording Rack. Like the original AMF,the upgraded system is small enough for installation in an aircraft or a ground vehicle. The AMFis illustrated in Figure 3, excluding the Recording Rack, which is described in Section 3.

During a flight session, the AMF will detect, process, and transfer Mode S, ATCRBS, orTCAS surveillance data at 2 Mbitslsec to the recording system. These surveillance data are beaconradar pulses sampled by NO converters in the AMF Receiver Processor. The AMF operates ineither of two operating modes. In the first mode, referred to as Pulse Mode, each pulse is detectedand sampled on one of the ATC frequency bands (i.e., 1030 MHz or 1090 MHz). The secondmode, referred to as Mode S and operating only on the transponder downlink frequency(1090 MHz), detects the Mode S preamble and interprets the subsequent pulse position modulated56-bit message.

The AMP, altimeter, GPS receiver, and Mode S transponder transfer data to the recordingsystem for storage onto 8-mm tape cartridges. The AMF, depending on its operational mode andfrequency, collects data transmitted by the Air Traffic Control Radar Beacon System (ATCRBS)or Mode S Secondary Surveillance Radar, TCAS units, and Mode S transponders. The altimeterdetermines the host aircraft's altitude. The GPS receiver provides the host aircraft's location. TheMode S transponder transfers received TCAS broadcast transmissions to the recording system. Itis dedicated to the AMF recording system, independent of the ship's transponder, and is inhibitedfrom transmitting any surveillance replies.

3

Page 10: The Enhanced Airborne Measurement Facility Recording System

Once system initialization is complete, the operator can monitor the system by observingthe laptop's real-time display. The monitoring display windows are interactive and the usercontrols the volume of information being displayed. Simultaneously, any number of real-timedisplay functions may be run. Further information on monitoring and quick-look functions aredescribed in Section 5. After completing the flight test, the operator performs system shutdownand removes the data cartridge from the 8-mm tape drive. Upon arrival at the laboratory, data canbe retrieved in a matter of minutes using a computer compatible with the airborne recordingsystem. Additional details for using and maintaining the AMF can be found in the AMP User'sManual [2].

2.2 DATA ANALYSIS

Detailed data analysis is performed on collected measurements using non-real-timesoftware. Typically, the data are read and organized so that each recorded pulse can be examined.Depending on what type of output is desired, a large number of algorithms can be used to analyzethese pulses. An example of the type of studies that may be performed on collected data isillustrated in Figure 4. All SSR and environment characterization, GPS, altitude, and transponderanalysis functions listed in the Data Analysis Overview diagram (Figure 4) are available. Therecording system data format has been updated to include all these functions.

4

Page 11: The Enhanced Airborne Measurement Facility Recording System

TCASANDTRANSPONDER

ATCRBS OR MODE S SECONDARYSURVEILLANCE RADAR (SSR)

QUICK-LOOK-----* FUNCTION

~~~~~ MONITORSYSTEM

AMF AIRCRAFT

~ 8-mmTAPE WITH AMF,~ GPS, ALTITUDE,1ANDTRANSPONPER DATA

GROUND-BASEDANALYSIS TOOLS

Figure 1. AMF System Concept.

Page 12: The Enhanced Airborne Measurement Facility Recording System

TopOmnidirectional

ape

~

Blade Antenna

n ModeSXpdr

I 1030/1090 MHzf---

Pulse/Reply~Receiver Detector TeAS

Broadcast

'TI? T'(variable rate) , r

Angle of Data 8-mmT

II I SIN/COS AlC 2 Mbits/secHybrid Arrival ~ ..... - Recording f-" C> C>

~

Receiverr---

State,

Processor SystemBufferJ~

1/sec t t 1/sec

1030/1090 MHz Pulse/Reply ----.. GPS Bara.I -Position

Receiver Detector metricU andBottom Time

Altitude

mnidirectionalBlade

Antenna Time ofArrival ~ - Time of Day

- Minimum Triggering Level- Frequency Recorded

'---

(1030 or 1090 MHz)- Channel Selected

(top, bottom, or both)

o

Figure 2. AMF System Architecture.

Page 13: The Enhanced Airborne Measurement Facility Recording System

TRACK 1

DISPLAYTEST

ERFlORRATE

108103840

PULSEOOUNT

30~~15

TAPE SPEED

VOR-DME 1

DME2

DME3

1 1 2 7 0

1 1 4 4 0

1 1 0 6 0

a)

•••• •••• •••• •••• •••• •••••••• •••• •••• •••• •••• ••••INTEGRATED DATA \\ORO

VORRAG

CMEFlAG

TRANSMIT•••••• EXT CONTBUFFER COlJ'.lT OFF

BullerO\Ierlbw ACVRAIann ENABLE 8.00

MTL MODES ATCRBSCLOCK

OFF ON 827

LOG

:~~~PULSE ~ALAAM RAPID EITHER

W>eONORMAL, I ,r-TEST 1, I ,r-2

CH. ,

looVIlEO OOT OUT .....PL. PKt.SE

CH..

POWER MODE SAMPlECOMMAND

AIRBORNE MEASUREMENT FACIUTYRACK 1

MIT LINCOLN LABORATORY 00BS OoBSENl lCMTR ,oNT9tlA HI exr AlClIlSPREAoIB.E CJ' IoESl\IlGE PAF CONTRa. CUlQ( 1lOOI1 exr.Tlm.0ETEClB) IU.SE

c)

RECEIVER PROCESSORNORMAL

TEST •••• •••• •••• • •••1<nl •••• •• • •• • • •••

FREQ

1090 •••• • • •••• ••••BUFFER WOAD

b) AIRBORNE MEASUREMENT FACILITYRACK 2

MIT L1NC<X.N LABORATORY

Figure 3. AMF con '(sting ofa) Power Distribution Box,b) Aircraft State Unit, and c) Receiver Processor.

9

Page 14: The Enhanced Airborne Measurement Facility Recording System

8-mmTAPE~

TCASAN~TRANSPONDER

DATA

AMF AIRCRAFT

..

GPS

ATCRBS OR MODE Sr>< SECONDARY~

SURVEILLANCE RADAR (SSR)

AMF:RECEIVED AND

RECORDED PULSES

EVENTS(MODE A, C, S)

MATCH WITH KNOWNINTERROGATION

PATIERN

GPS:LATITUDE, LONGITUDE,

AND HEADINGALTITUDE

TRANSPONDER:MODE S IDs RECEIVEDVIA TCAS BROADCAST

l'NUMBER OF

TCAS AIRCRAFT

.--- ----J1 IL-- -----,, " ,SSR ANALYSIS• ANTENNA PATTERN

CHARACTERIZATION• MAINBEAM• SIDELOBES• REFLECTIONS

ENVIRONMENTCHARACTERIZATION• INTERROGATION

RATES• SUPPRESSION

RATES• FRUIT RATES

ANALYSIS OFSURVEILLANCE

ANOMALIES

Figure 4. AMF Data Analysis Overview.

Page 15: The Enhanced Airborne Measurement Facility Recording System

3. AMF RECORDING SYSTEM DESIGN

The AMF Recording System is a self-contained recording rack that carrie's all dataacquisition system equipment and data sources other than the AMF Receiver Processor. TheAMF recording rack (shown in Figure 5) contains: a VME-based high-speed data acquisitionsystem, a Sun laptop computer [3], an altitude encoder [4], a GPS receiver [5], a Mode Stransponder [6], and a moving map display [7, 8]. All power outlets, antenna connections, andequipment circuit breakers are centralized at the back of the unit as illustrated in Figure 6.

A conventional VMEbus architecture is used to store data on an 8-mm data cartridgetape [9]. All I/O devices (data sources, laptop computer, and tape drive) are connected to theVME-based system via the custom built I/O transition box. This box contains I/O boards thatinterface to the data processing boards located within the avionics chassis.

Communication between the SUN laptop computer and the VME system is by anEthernet Link. This allows the user to transfer commands and receive real-time data during datacollection. Simultaneously, a direct connection between the laptop computer and the recorder I/Otransition box allows the system to tap into the VME computer boards and monitor all recordingactivities.

Although it is not a critical part of the recording process, a moving-map display was addedto the recording rack. GPS position and aircraft gyro heading information of the aircraft areprovided to the display during an AMF recording session. For additional details, seeReference [8].

3.1 THE VME-BASED COMPUTER SYSTEM

The AMF Recording System is composed of four VME boards: a record processor, anauxiliary processor, an AMF interface, and a Mode S transponder interface board. The recordprocessor and auxiliary boards are identical Motorola MVME-167 single board computers. TheAMF interface board is a BSI 4411 Decommutator processor board developed by Berg SystemsInc., and the Mode S transponder interface board is a VMIC VMNME-6005 CommunicationsController board. Refer to Figure 7 for an illustration of the computer system design. All fourVME-based boards reside in the rack's avionics chassis and communicate over the VME bus.The following paragraphs offer additional details about each board's hardware features.

3.1.1 Record and Auxiliary Processing Boards

The record and auxiliary MVME167 processing boards are based on the MC68040microprocessor. The MVME167 board's main features include: 4 Mb of DRAM, 8 Kb of staticRAM, time of day clock, Ethernet transceiver interface, four serial ports, A32JD32 VMEbusmaster/slave interface, 128Kb of static RAM, and VMEbus system controller. The I/O on theMVME167 is connected to a special VMEbus connector, also known as a P2 transition board.The MVME167 is connected through the P2 transition board to the MVME712M transitionboard. The MVME712M transition board, housed in the I/O transition box, providesconfiguration headers and industry standard connectors for the I/O devices. See References[10, 11, and 12] for additional details.

13

Page 16: The Enhanced Airborne Measurement Facility Recording System

The Record Processor is responsible for the primary system functions. It receives,processes and records the AMF data and auxiliary data blocks onto an 8-mm tape cartridge. Itinterprets all operator commands received from the SUN lap-top computer, and it maintains andwrites directory information onto the 8-mm tape cartridge. When playing back recorded data, alibrary of routines that employs the directory information is used to search the tape to a desiredlocation (i.e., either by the start of a recording session or by a specific time-of-day). This capabilityis ideal for locating a desired record in a long recording session.

The Auxiliary Processor, the second Motorola CPU board, is responsible for receiving,processing and forwarding data from the GPS unit, altimeter, and Mode S transponder to therecord processor. This board also transmits real-time data back to the SUN laptop. For this job,commands to display real-time data are issued via the SUN laptop to the record processor. Therecord processor interprets and forwards the commands to the auxiliary processor, which in turntransfers the specified data to the SUN laptop (for more details, refer to Section 5.2).

3.1.2 AMF Interface Board

The BSI 4411 Decommutator processor board was specially modified for MIT LincolnLaboratory by Berg Systems Inc., and functions as the input interface to the AMP. The 4411 isconfigured by means of a parameter file. During the initialization phase, this file is read by therecord processor, interpreted, and its commands are sent over the VMEbus to configure the 4411and prepare it for operation. Functionally, the 4411 double-buffers data in memory and sends aninterrupt to the record processor when one memory bank becomes full. While the recordprocessor is reading the data from memory, the 4411 continues buffering data in its other memorybank. This buffering and interrupt scheme continues throughout the recording session. Foradditional details, see Reference [13].

3.1.3 Transponder Communications Board

The VMIC VMIVME-6005 Communications Controller board functions as the interfacebetween the Mode S transponder and the auxiliary processor CPU board. To communicate withthe transponder, the VMIC board transmits messages via the ARINC429 data bus. Every time amessage is transmitted an interrupt is issued to signify that the message has been completelywritten. In a similar manner, when a TCAS broadcast is received by the Mode S transponder androuted to the VMIC board, an interrupt is issued to notify the auxiliary processor that a messagehas been received and requires processing. Software to interface with the transponder is quiteextensive; the auxiliary board performs both the initialization and software control for theVMIC-6005 Communication Controller. Refer to Reference [14] for additional boarddocumentation.

14

Page 17: The Enhanced Airborne Measurement Facility Recording System

253275-1P

ETHERNETHUB

MODESTRANSPONDER

TRANSPONDERCONTROLHEAD

40---1- TRACKBALL

SUN............;,.....;-.-- LAPTOP

COMPUTER

Figure 5. The AMF Recording Rack, front view.

15

MOVINGMAP --....,

DISPLAY

GPSRECEIVER

8-mmTAPE DRIVE

Page 18: The Enhanced Airborne Measurement Facility Recording System

POWER_"':-~,...;l

AND CIRCUITBREAKERS

ANTENNA --~~-­

INPUTS

8-mmTAPE DRIVEPOWER

......----4-- ALTIMETER

AVIONICSVME CARDCAGE

Figure 6. The AMF Recording Rack, rear view.

17253275·2P

Page 19: The Enhanced Airborne Measurement Facility Recording System

RS232 GPSRECEIVER

RS232-- ALTIMETER MODESTRANSPONDER

MOVINGMAP

DISPLAY SERIAL SERIAL

AVIONICSCHASSIS:

ARINC 429COMMUNICATIONS

BOARD

_ ARINC429~

----------------_.

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

----------------_.

AMFRECEIVER

PROCESSOR

_ CLOCK/DATA~

AUXILIARYBOARD

RECORDPROCESSOR

BOARD

AMF INTERFACEBOARD

I/OTRANSITION ...~----~~

BOARDETHERNET .... ~~~~~~

~

_ ETHERNET

-- SERIAL

I/O ~ ....-----_....=.S=ER~IA:...::L=______1 TRANSITION ...--------~~

SCSI BOARD

ETHERNETBREAKOUT

BOX

ETHERNET

LAPTOPCOMPUTER

8-mm TAPECARTRIDGE

DRIVE

--II~~ Data Flow

Figure 7. AMF System Design.

Page 20: The Enhanced Airborne Measurement Facility Recording System

3.1.4 Test Simulator Board

Although not a part of the recording system, a BSI 4416 Simulator board is used forsystem testing. It is not a permanent resident in the chassis; instead it is inserted and used in theavionics chassis as needed. By connecting the BSI-4416 Simulator Board to the BSI-4411 AMFinterface board, the operator can test the recording system by configuring the 4416 to outputsimulated AMF data. The 4416 is configured much like the 4411. During the initialization phase,a file is read by the record processor, interpreted, and its commands are sent over the VMEbus toconfigure the 4416 and prepare it for operation. For additional details please refer toReference [15].

3.2 THE REAL-TIME SOFTWARE

At the heart of the software is the VxWorks operating system contained in the MotorolaCPU boards. This operating system provides the building blocks for running applications in areal-time multi-tasking environment. VxWorks includes a fast and flexible run-time system and aUNIX cross-development package [16, 17].

Since software development for VxWorks requires a UNIX host development system, ournetwork of existing Sun Workstations was used for this purpose. Application modules in C arecompiled with the UNIX C compiler. These application modules do not need to be linked with theVxWorks system libraries or even with each other. Instead, VxWorks is capable of loading theUNIX-generated object modules directly, using the symbol table contained in all UNIX-generatedobject modules, to dynamically resolve external symbol references.

This multitasking environment allows real-time applications to be constructed as a set ofindependent tasks, each with its own thread of execution and set of system resources. Theintertask communication facilities allow these tasks to synchronize and communicate in order tocoordinate their activity. The VxWorks multitasking kernel uses interrupt-driven, priority-basedtask scheduling. It features fast context switch times and low interrupt latency. Thus, anyC subroutine may be spawned as a separate task, with its own context and stack.

3.3 SOFTWARE MAINTENANCE AND INSTALLATION

The Sun laptop is a SPARC-based machine running version 4.1.3 of SunOS. Maintenanceof the AMF recording system software is performed by the system administrator, who routinelymakes software backups. Several copies of the latest software version were made to ensure thatthe software can always be recovered. In addition, all software modifications are recorded in awritten log.

Installation of the AMF Recording System software is performed each time the avionicschassis is reset. Upon reset, a script file, which resides on the SUN lap-top computer, issuescommands to perform the down-loading of both the application software and the VxWorks imageinto the MVME-167 single board computer's ROM. Once the software is down-loaded,initialization is performed via the SUN lap-top which establishes communication channels to thecomputer boards.

21

Page 21: The Enhanced Airborne Measurement Facility Recording System

Inter-processor communication is done by Ethernet-based sockets. Sockets are a UNIX­compatible mechanism for exchanging byte streams between tasks. Data transfer via sockets isthe method used by the SUN lap-top computer to receive status/monitoring information from therecord and auxiliary processors, as well as real-time data from the auxiliary processor. Socketsare also used by the tools on the Sun laptop to transfer commands and data among themselves.Refer to Appendix B for a complete description of the real-time software tasks.

22

Page 22: The Enhanced Airborne Measurement Facility Recording System

4. THE GRAPHICAL USER INTERFACE

The enhanced AMF Recording System provides a Graphical User Interface (GU!) to allowthe user to control and monitor the entire recording system. This provides in flight monitoring ofsystem performance and data reliability, and allows the user to perform advanced real-timeanalysis on incoming data. A library of Xview-based Gill tools, which run in the OpenWindowsenvironment on the laptop computer, comprises the following 3 Gills:

• amfcontrol operator interface to the recording system.

• amfdatagrabber - operator interface for real-time data analysis functions.

• amftapeplayer operator interface for tape playback functions.

The user controls data acquisition by means of the laptop computer, through whichcommands are issued to the AMF Recording System over the Ethernet link. The Ethernet link isalso used to transmit data back to the laptop computer during data collection for real-time dataanalysis. Figure 8 shows the SUN lap-top screen with the control tool and status windowspresent. Additional details regarding these tools is provided in the following paragraphs.

4.1 THE CONTROL TOOL

The control tool (amfcontrol) as shown in Figure 9 is interactive. This menu drivendisplay offers a simple method for initiating and terminating data recording throughout eachrecording session. Pertinent information as specified by the user is automatically stored in dataheader and summary files on the 8-mm cartridge tapes. Additionally, the operator may inputstatus messages into the data stream at any time. The header and summary blocks do not affectthe recorded data, and only serve as additional information sources during analysis. For a fulldescription of operating procedures see the "AMF User's Manual" [2].

4.2 REAL-TIME DATA ANALYSIS TOOL

Real-time data analysis is extremely valuable. For example, a researcher may be interestedin comparing squitters received by the AMF Receiver Processor to tail numbers of aircraft actuallyobserved during data acquisition. These real-time results may determine whether adjustmentsneed to be made on subsequent data gathering missions.

Real-time data analysis and display are controlled by means of the laptop computer via theamfdatagrabber tool (see Figure 10). Commands to obtain data are issued to the recording systemover the Ethernet link. The Ethernet is also the pathway used to pass real-time data back to thelaptop, where it is piped into local analysis functions, also known as Quick-Look Functions.

The Quick-Look real-time software was developed with expansion in mind, Le.,researchers can add analysis functions to the system when needed. Currently, the followingfunctions are available:

• data-parse

• disSquitter

general purpose analysis function.

displays the Mode S squitters (IDs) received by theAMFRP.

23

Page 23: The Enhanced Airborne Measurement Facility Recording System

• disAll

• disRate

displays the channel 1 and channel 2 pulse amplitudes, andthe angle of arrival received by the AMFRP.

displays the rate per second of received pulses on channels 1and 2.

See the AMF User's Manual [2] for a full description of operating procedures.

4.3 MONITORING

Continually monitoring incoming information assures the researcher of proper systemoperation. Because the system was designed with flexibility in mind, additional monitoringinformation may be added or removed by software modifications. As shown in Figure 8, thereare four windows on the laptop screen that are used to monitor the system. The proc1_statwindow receives status messages from the record processor VME board via the Ethernet link,which may be checked to determine the recording status. The window partially obscured byproc1_stat is called amf-vmel (connected to the console port) and offers more detailed outputconcerning system operation. The two remaining monitor windows, proc2_stat and amf-vrne2,provide the equivalent functionality for the auxiliary processor.

Each time a particular data type is recorded, whether it be AMF, GPS, altimeter, ortransponder, the number of bytes that it contains will be displayed in the amf-vrne1 window. Alldata type records are of fixed-length, with the exception of the AMF data record which variesdepending on the surveillance environment. Because the display windows are interactive, thevolume of monitoring information may be adjusted at any time during data collection.

24

Page 24: The Enhanced Airborne Measurement Facility Recording System

® cmdtool (CONSOLE) -/blnlcsh

C~lL~r2® clock V3

pn nt1 n7 1s enall I eo = I I :2046no entr esno daelon present Thu liar 3

spare: ESlSEDTno entries

® AM fI:o ntro IPostScript printer:no entries

( Initialize) ~ Mode: IPULSE I MODE S I8lIf-l apl.

Auxiliary Data Sources: !if CPS 0 Transponder !if Altimeter® procl_stat

( Start Recording) ( Start Simulator)crNting •....-. socket••• ( Toggle Data Flo.... 0 N) ( Eject Tape )

® trying to ccmect to cllent•••connect lJ( ( Stop Recording) ( Stop Simulator)

«11: •••STARTlng cpctlTaok locatio n: logan ! $and c.)Ili;-l1~r-;i)Oxf94 •••STARTIng stlitusTaok

•••STARTIng auxdetaTaok COmment: It's snowlngllocal ...STARTIng auxc.dTaok

.. •STARTlng tapeTaok ( Spawn a Data Crabbing process) ....Ith cmd-lIne: •Openo< ., .STARTIne recctITaokrid: r ...STARTIng a.aTaok (Spawn a Tape Playback process) with cmd-lIne:.1..: ...STARTIng «11Taokrid: r ...STARTIng «16Taok aet-lapAMF' aeTcontrOI:.,n1t_Dutton-PtOc =sl,,: • O..STARTlng pl"IPackTaok creating serveT socket for COil '11th VP£processor 1•••

~sl,,: • trying to connect to client (VP£processor 1) ... connected a<1IrId: rsl,,: ••1,,: • ,...:.."rid: r D.1,,: •sl":&setrid: rrid'

J.ll~~ ;.;.~(o6t.i:~l) f;';l~ buf 0<

® proc2_stat

creating •....-. socket...® trying to ccmect to cllent...connect lJ(

OxfSfc...STARTIng stlItusTaok.. ,STARTIng procHaok

o,,1[C I ...STARTIna gpsTaokAline: ...STARTlng gpsRcvTaok

~Ei ...STARTIng ..ltllll8terTaok...STARTIng tcaalilleS Taok

(C~h ...STARTIng arlne TaskOxf8 ...STARTIng chockQ Taok

Oxf871...STARTIng grabDataTaok...STARTIna ctlTaok

Ilene I ., ,exltlng .sux..exec-) OxOxfSf( DOxf6f(EstlIbl

Oxf871OxF871EstlIbJll -

j

Figure 8. Graphical User Interface (GUI) After Initialization.

Page 25: The Enhanced Airborne Measurement Facility Recording System

A Fcontrol

Eject Tape J

Mode: MODE S I--.J Xpon --.J A,ltIm8ter

Start Simulator J

Stop Simulator J

Quit J

--.JOPS

Toggle Data Flow ONJ

Initialize J

Auxiliary Data Sour

Start Recording J

Stop Recording JLocation: ..4 _Comment: --,.,-_---.,. _

Spawn a Data Grabbing process Jwith cmd·llne: _

Spawn a Tape Playback process Jwith cmd·llne:~------------

N-...l

amf-lapAMF%

Figure 9. The CUI Control Tool.

Page 26: The Enhanced Airborne Measurement Facility Recording System

..

GrabD

AutoGr

Data TYDel8

econ '0

Figure 10. The Real-Time Data Analysis Tool.

Page 27: The Enhanced Airborne Measurement Facility Recording System

4.4 THE TAPE PLAYBACK TOOL

Recording sessions can be easily initiated and stopped any number of times during datacollection, so there may be a multiple number of sessions on anyone tape. Once a recordingsession has been completed, the user can play back the recorded data using a SUN workstationtool labeled amftapeplayer as illustrated in Figure 11.

The AMF Recording System can be operated up to 5 hours and 53 minutes continuously atthe peak data rate, representing 42.4 Gbits of data. To handle this much data, the researcher canuse a table of contents, also referred to as a directory, which is created for each session and writtento tape immediately after the data session ends. When playing back the recorded data, a library ofroutines that employs the directory infonnation is used to search the tape to a desired location (i.e.,either by the start of a recording session or by a specific time-of-day). This capability is ideal forfmding a particular event in a long recording session. Depending on which mode is chosen by theoperator, the directory fIles are searched sequentially until the session number or the desired time­of-day is located. The tape is then positioned at the correct record within that recording session andthe playback commences. Commands are issued to the system over an Ethernet link to read fromthe 8-mm tape drive. The data is passed back again by Ethernet where it can be stored to a fIle orpassed to an analysis function. Refer to the AMF User's Manual [2] for a full description ofoperating procedures.

31

Page 28: The Enhanced Airborne Measurement Facility Recording System

Dump 0 .tdlout?

Stop at E d.Qf·F I ?

Quit JStop Playback J

-----~(mm dd yy hh mm ): --..,-.,.__..,...---..,__.....-

'----_----I

Start Playback J

Starting 0

l-.--- I:Figure 11. The Tape PlayBack Tool.

Page 29: The Enhanced Airborne Measurement Facility Recording System

5. DATA FORMAT

The data stream contains integrated data blocks from all available data sources as illustratedin Figure 12. Data are passed to the recording media in 240 Kbyte blocks to ensure a recordingrate margin over the maximum 256 Kbyte/sec throughput rate. Pertinent information about therecording configuration is automatically written to the beginning and end of the tape, labeled as thesession header and session summary. This information does not affect the recorded data, and onlyserves as a helpful tool during analysis.

Following the initial session header blocks is a continuous stream of data blocks, referredto as "records," corresponding to each of the data sources (AMP, OPS, altimeter, or transponder).Although each has a unique data format, they all share similar record header blocks to helpinterpret recorded data. Record header information consists of a data type record, block length,sequence number, and time stamp. All data types, with the exception of transponder data andoperator comment records, are received and recorded once per second. Transponder data onlyreflects TCAS broadcasts, and so its rate depends on the number of TCAS aircraft in thesurrounding vicinity. Operator comments are passed to the system via the OU!, as described inSection 4. This record type allows the operator to include any chosen message into the data streamat any given time. If a data source is not available, no corresponding data blocks for that sourcewill be found. A general description of the recording system's data types is described inAppendixA.

Recording sessions can be easily initiated and stopped any number of times during datacollection, so there may be a multiple number of sessions on anyone tape. Each recording sessionis followed by its own directory file, which offers a method for efficient data retrieval by searchingthe tape for a specific session or time of day.

35

Page 30: The Enhanced Airborne Measurement Facility Recording System

RELATIVETIME (SEC)

TCAS BROADCAST MODE S 10

TIMESTAMP

TRANSPONDER RECORD HEADER

AMF RECORD HEADER

TIME STAMP

INTEGRATED DATA WORDS

ONCE PER SECOND WORD

TIME MARK WORD

PULSE DATA WORDS

0-....-----------__.AMF SESSION HEADER

FIRSTSESSION

TRANSPONDER DATA BLOCK1

TRANSPONDER DATA BLOCK

TRANSPONDER DATA BLOCK

GPS DATA BLOCK

ALTITUDE DATA BLOCKIj.) AMF DATA BLOCK-..I

2

GPS

ALTITUDE

AMF

OPERATOR COMMENTS3

•••

AMF SESSION SUMMARYEOF

SECOND DIRECTORY RECORDSESSION EOF

AMF SECnO HEADER

Figure 12. AMF Data Format.

Page 31: The Enhanced Airborne Measurement Facility Recording System

6. SUMMARY

The Air Traffic Surveillance Group has completed development of a high speedVME-based recording system enhancement for the AMF (Airborne Measurement Facility). TheAMF is a data collection system which provides a means of gathering and recording secondarysurveillance (beacon) radar data.

The upgraded AMF Recording System provides an increased recording capacity and iseasy to use and maintain. Continuous recordings for up to 5 hours at the peak data rate can bemade, representing 5.3 Gbytes of data. A real-time display was added to the system, allowing aresearcher to obtain situational awareness during a data collection. The original AMP was limitedto recording surveillance data only, whereas the upgraded AMF now allows the user to includedata recording from other sources such as a Mode S transponder, a GPS receiver, and an encodingaltimeter. In addition, plans are underway to enable simultaneous 1030 and 1090 MHzmeasurements, acquisition of long Mode S replies, a larger pulse data buffer, and otherenhancements to reduce weight, ease operation and eliminate reliance on difficult to obtain parts.

The enhanced system is portable, which allows operation of this measurement andrecording tool while located in aircraft and ground vehicles. Two portable racks were constructedto contain all data acquisition equipment and data sources, and the AMF Receiver Processor,Aircraft State Unit, and Power Distribution Box.

Today, AMF measurements are being used to support the GPS-Squitter, Mode S, andTeAS programs. The AMF continues to be a unique data collection tool for current and futuregenerations of researchers and analysts.

39

Page 32: The Enhanced Airborne Measurement Facility Recording System

APPENDIX A. THE RECORDING SYSTEM'S DATA FIELDS

A general description of the data types is provided below. The AMP Recording Systemaccepts AMP, GPS, altitude, and transponder data. Each type has a unique data format; however,they all share similar header blocks to help interpret recorded data. Header block informationconsists of a data type record, block length, sequence number, and time stamp.

A.I SYSTEM TIME

Precise time resolution is critical to the successful operation of the AMF system. Toachieve this, the AMP time-stamps each pulse upon its receipt. The timing mechanism consists oftwo unique clocks: time-of-day (TOD), and time-of-arrival (TOA). The AMFTOD clockprovides the hour, minute, and second based on the initial information entered by the user on thefront panel of the AMP Aircraft State Unit.

Each second's worth of data, referred to as a "record," will contain many pulse words.Thus, the AMF is able to (a) assign a specific TOA to each individual pulse data word in the AMPReceiver Processor (AMFRP), while simultaneously (b) time stamping each record with theappropriate system AMF Aircraft State Unit TOD. Once a record is transferred to the RecordingSystem, it is automatically time stamped with the appropriate system TOD regardless of whetherthe record source be AMF, GPS, altimeter or transponder. The Recording System TOD usesGPS time; if GPS time is not available, reference is made to the laptop computer's internal clock.The AMP Aircraft State Unit TOD and the Recording System TOD are two distinct clocks. Byresetting the AMF Aircraft State Unit TOD at the outset of operation, the user ensures that theAMF Aircraft State Unit time is identical to the Recording System TOD at the beginning of eachrecord. No action is taken by the system if the AMF Aircraft State Unit TOD clock is not reset.In fact, if the Aircraft State Unit TOD is not current, the Recording System TOD is used duringdata analysis. In contrast, the AMF Receiver Processor TOA clock does not rely on any user inputand is always generated by the AMFRP.

A.2 AMF DATA

Surveillance data, received on either the 1030 or 1090 MHz frequency bands, consist ofreceived beacon radar pulses which are sampled and digitized by analog-to-digital converters andthen stored in the AMF's buffered memory. In the nomenclature used in the original AMF,detected pulses create "pulse data words" in the AMP's buffered memory. As an artifact of theearlier analog data recorder, when there are no pulses to be recorded, "filler words" are generatedso that at all times a constant 2 Mbitlsec data stream is transmitted to the recording system. Allfiller words are automatically removed by the VME-based recording system. The AMF can beoperated in either of 2 modes:

• Pulse Mode (available for both 1030 and 1090 MHz frequencies), which detects andsamples each pulse upon receipt. This mode is very useful for doing antenna patterncharacterization (e.g., mainbeam, sidelobes, and reflections) or environmentcharacterization (e.g., interrogation rates, suppression rates, and fruit rates). PulseMode was referred to by the AMF original designers as the Air Traffic ControlBeacon System (ATCRBS) Mode on the AMFRP.

41

Page 33: The Enhanced Airborne Measurement Facility Recording System

• Mode S (available only for 1090 MHz frequency), which detects the Mode Spreamble and interprets the following pulse position modulated 56-bit message. Thismode is used for displaying real-time squitters, as much of the data processing (Le.,interpretation of 56-bit message) is accomplished before it is transferred to therecording system. Currently, the AMF detects 112-bit Mode S replies, but onlyinterprets and records the first 56 bits of the message. Future AMF enhancementswill include the capability to record long Mode S replies (112 bits).

In Pulse Mode, the data format for the uplink (1030) and downlink (1090) is similar. Theprimary difference being in the use of an 8 MHz time-of-arrival clock for uplink measurementsand an 8.27 MHz clock for downlink measurements. The downlink clock frequencyaccommodates an integer (12) sampling of the 1.45 J..Lsec spacing of reply pulses. The TOA clockoperating frequency is determined automatically by the system at the time that the user selects themode of operation.

As described in Section 2, data come from 3 antenna systems. The two omnidirectionalblade antennas, each located on the top and bottom of the aircraft, are used by the AMFRPamplitude receiver inputs. The four-monopole angle antenna, located on top of the aircraft, is usedby the angle receiver input Upon detection of a received pulse (or if Mode S, the preamble), theprocessor collects amplitude and angle samples, and generates a pulse data word containing theTOA, two amplitude samples, one pulse width count, and an angle of arrival sample [1]. Ifoperating in Mode S, four additional pulse data words are recorded that contain the 56-bit Mode Sreply.

The AMF produces a 2 Mbitlsec serial bit stream that is composed of 64-bit words, eachconsisting of a 48-bit data word and a 16-bit checksum. The original AMF used the checksum intwo different ways. While recording, the data on the instrumentation tape was simultaneously readback and fed to the Aircraft State Unit where the cyclic code was checked to detect errors that mayhave occurred as a result of tape discontinuities. The number of errors was displayed on the AMFAircraft State Unit. During ground playback, data words containing detected errors werediscarded.

Currently, the AMF Recording System provides the ability to monitor the entire RecordingSystem (see Section 4). Each time a particular data type is recorded, the number of bytes that itcontains will be displayed in the GUI. Additionally, the data being recorded may be validatedusing real-time analysis software. Tape playback software is used to check each record for itsappropriate length and sequence number; if an error is found, the record is discarded. Whilerecording, the 8-mm tape drive cannot be read back, and therefore the checksum provides nofunctionality during data collection. However, future enhancements could engage the checksum todetect and discard faulty data words during tape playback.

Six different 64-bit word types are generated to define the surveillance measurements, timeand AMF settings. They include: Sync Words, Pulse Data Words, Integrated Data Words, TimeMark Words, Once-per-Second Words and External Trigger Words. Sections A.2.1 throughA.2.6 that follow provide additional details regarding these words.

42

Page 34: The Enhanced Airborne Measurement Facility Recording System

A.2.t Sync Words

The sync code is a 64-bit code which is inserted into the data stream once each second. TheSync Code is used by the recording system to detect the start of a one second AMF data block.

A.2.2 Pulse Data Words

Upon detection of a received pulse, the processor generates a pulse data word containingthe time-of-arrival, an angle of arrival sample, two amplitude samples and one pulse width count.The two amplitude samples correspond to the signals received on the omnidirectional bladeantennas mounted on the top and bottom of the aircraft The storage of pulse data words is alwaysinitiated by the arrival or continued presence of a pulse in one of the amplitude channels during thetime the processor is enabled. The first pulse to arrive on a selected channel will initiate anamplitude and a width sample, and the formation and storage of a pulse data word. Whenever asample is taken, both amplitude channels and angle of arrival channel are sampled regardless ofwhether or not a signal is present above the minimum threshold level (MTL). The AMFs pulsestandard-width interval is one clock period (1/8 MHz =.125 Jlsec) for the 1030 MHz frequencyband and one clock period (1.45/12 MHz ... 0.12 JlSec) for the 1090 MHz frequency band.

A.2.3 Time Mark Words

A time mark word is generated each time the least significant 16 bits of the TOA clockoverflow. The time mark word and the TOA (contained in the pulse data word) provide theresolution required for subsequent data analysis. Each second, there are 123 time mark wordswhen using the 8 MHz TOA clock (X16 counts x 8M); whereas, there are 126 time mark wordswhen using the 8.27 MHz clock. See Figure A-3b.

A.2.4 Once-Per-Second Words

A once-per-second word is generated each second and contains both the time mark wordand the pulse data word time corresponding to the time at which the AMF Aircraft State Unit TODclock turns over. See Figure A-3b. This allows one to relate TOA with TOD.

A.2.S Integrated Data Words

Four integrated data words are generated every second. They contain: the time-of-dayclock, the number of pulses processed each second, the minimum threshold level (MTL) at whichdata are being recorded, and the mode of operation (1030 vs. 1090). The number of pulsescontained in this data word is redundant, as the data acquisition system also writes the number ofbytes contained in each block in the block header. In the original AMF design, the integrated datawords contained aircraft state and position information. This capability has been replaced by theenhanced AMF system using GPS data.

43

Page 35: The Enhanced Airborne Measurement Facility Recording System

A.2.6 External Trigger Words

Whenever an external trigger is fed to the unit, it causes the processor to store a wordreferred to as the External Trigger word, which contains the count of the complete 32-bit time-of­arrival clock at the time the trigger occurred. In addition, a bit is set in the first data word followingthe trigger to identify it as such. This allows a rapid determination in playback processing of thetime elapsed from the trigger to the first received pulse.

Figures A-3a-f contain detailed descriptions of the AMF data fields.

A.3 AUXILIARY DATA

The data fields corresponding to the altimeter, GPS, and transponder data sources areshown below in Table A-I.

Table A·1. Auxiliary Data Types

Data Source Associated Fields

GPS GPS time

latitude

longitude

heading

magnetic heading

ground speed

altitude

mode

number of satellites being tracked

Altimeter host aircraft's pressure altitude

Transponder nearby TeAS broadcast messages that includethe Mode S address of the transmitting aircraft

44

Page 36: The Enhanced Airborne Measurement Facility Recording System

MinutesUnits (in BCD code)Tena (in three leaat aig.BCD code bits)

100 .. not used101 • not used110 .. not used111 • not uaed

Trigger bit: 0 .. Normal; 1 .. External Triggering

Mode bit: 0 .. Normal; 1 II Rapid Sample

Test bit: 0 .. Normal; 1 '"' Test mode

MTL bits: 000 .. not used001 .. -aOdBm010 .. -77011.-74

Houra -oJ

Units (in BCD code)Tens (in two leastsig.BCD code bita)

I ~ Freq. bit: 0 .. 1030 MHz; 1 .. 1090 MHz

~ ---/1st F~ldQ :O:uU:dj ,~ ~a:: "' ~ "~~" 1. :i~. J,,~~.~ 12' !

~Mn~ML~ -~ ~. • • • ~01 • Channel 1 (expressed as.number Seconds10 .. Channel 2 fro~ 1 to ~65 In Units (in BCD code)11 II both straight binary code) Tens (in three least sig.

BCD code bits)

Word identifier bits10. Integrated Data

2nd Field~ l Total Pulses l.1441 1421 1401 I~' I~!! 1~41 1~21 13d 121 124 1221 1201 nil nil n41 nol Ii! III 141 121

3n! Field rn~4.0144![1:J1~42!LllI4g:0I:J1~~.c:::ll13ll0134JLl!I~2!DI3iiid[]2j:i[°:l;!l1u~I:Le:]~22!1:~I2O!DnlIlI::J!]n,rr:::1J!1!~41~1!2rr::1J!1!~0I::::J1l!'I:1IIIIII=Il!4I:1I12IT:1

4th Field ~1!i4I1DI44~I::::J11!l4:l1DI4OI~1~3IIcnI3lli:J1~34JOI3iUiI13~dCl2:i:1l°:JI:2iIilLu~~l:e:J~~~12Q!D!n!Jl8l::J!]n'![1:Jn~41[J!]n2n::l:Jn~olrnllrr:1:::IIIlII::TI14[[1:::I1:IT:21

Figure A-3a. Format ofIntegrated Data Words.

45

Page 37: The Enhanced Airborne Measurement Facility Recording System

~------ Time word identifier bitWord identifier bits:

01 • Tim. worda00. Data worda11. Filler worda

Onc~er·Second

orExternal Trigger

Not Used

Once-per-Second identifier bit

External Trigger source

Time-of-Arrival Clock Bits16 16

least significantbits (lSB)

I,

Most significantbits (MSB)

01 11~ , of Buffer ITime-of-Arrival Clock Not Used IWrites (0 -> 4095) 16Time Mark

Puis. Data

L Least slgnNlean'bits (lSB)

Figure A-3b. Format of Once-per-second, External Trigger,Time Mark, and Pulse Data Words'.

46

Page 38: The Enhanced Airborne Measurement Facility Recording System

Time-of-Arrival

Angle of Arrival8-bit binary code giving the received signal'smeasured angle of arrival (LSB .. 3601256 degrees)

L

Continuation bit1 indicates anothersample to follow fAr· I

Time-o· f1va

\

The 16 I..st significant bits of theTim.of-Arrival clock at the instantthe amplitude sample is taken

Angle

Initiating channel bit0 .. channel 11 .. channel 2

Buffer overflow bit1 • the last word recorded

before buffer overflow

First word bit1 .. first data word following

an external trigger

AMP1

------'---/_1Amplitude Count (0-127)Channel 1 (@AMF Receiver Input)

Received Signal Amplitude (dBm) .. AMP 1 Count (dB) - 101.5 dBmChannel 2 (@ AMF Receiver Input)

Received Signal Amplitude (dBm) .. AMP 2 Count (dB) -102.8 dBm

Word identifier bits00 • data word11 • filler word

Figure A-3c. Pulse Data Word Format.

47

Page 39: The Enhanced Airborne Measurement Facility Recording System

Total Pulses:A count of the total numberof buffer writes from 0 -> 4095,then back to 0 (12 bits)

Word identifier bits011 = Time Mark word

va, overllow bit

-- ; .------------,---------~ r Time-of-Arrival !~I :~~; ~3~1~=ISI~1 ~;::::}I==1301=12;:;1I1;;;:;;:6!~M;::~=B=IZ2I=I2:;:q=[lIl=,~'I="-'P....4![1:::rrP=2""I:JP~OI~I!I'rl :r1'rrl:JI~4.c1TI12IT:1... ,

""Time-of-Arrival clock (binary)The 16 most significant bits of theTime-of-Arrival clock

Figure A-3d. Time Mark Word Format.

48

Page 40: The Enhanced Airborne Measurement Facility Recording System

Word identifier bits010 • One-per-second or

External Trigger word

~ Once-per- Second word identifier bito=Once-per-S8Cond word1 II External Trigger word

External Trigger source bits (only meaningfulon External Trigger words)00 II external input 101 II external input 210 II external input 3

o 1 00 000Time-of-Arrival Clock Bits

1 1 1 1141 142 1401 1:IaI "'til 34 1321 1301 ,. 126/ 1241 1221 1211 nil nlil n41 n21 nOI Iii Iii 141 12

Buffer overflow bit1 II the last word recorded

before buffer overflow

Time-of-Arrival clock bits in binary formatBit 1, the LSB, II 1/8 J.lS8C (uplink case)or 1/8.27 J.lS8C (downlink)

Figure A-3e. Once-per-Second or External Trigger Word Formats.

49

Page 41: The Enhanced Airborne Measurement Facility Recording System

~ ~

J: .c- -00 0 AMP1 'C AMP2 'C Angle Time-of-Arrival of P4i i48 146 144 1421 1401 1381 136 134 1321 1301 1211 1261 241 1221 1201 1181 161 M4I M21 MOl 181 161 141 121

Buffer overflow bit =j- .1 = the 18st word recorded Initiating channel bit

before buffer overflow 0 = channel 1 Width =1li 1

=channel2 /' "

)' MSB LSB

1st Word

I Buffer overflow bit (BOF)

2nd Word

, , f

c7ioaicsiosi

01Jc12iolJ,C13Cl !02iC2 041c4i osics· . . .

LL · . . .CSl07

· . . .0 0 1 0 01 D3 C3 D6 C9 ~1 O!cl ~0111cll 014:14 Time-of-Arrival of P4lD ~ ~ l ~ ~ 1 1 1 i ! 1 l ! 1 1 148 146 44 1421 40 381 1361 34 132 1301 128 1261 1241 221 1201 181 161 n41 n21 nOI 181 161 141 121

VIo3rd Word c,lJC2

,

04ic4! os! cs c7i oaicsios· . , .

012~12iolJClLL · . . .· . . .· . , .0 0 1 0 csl07

· , . .Time-of-Arrival of P401 D3 C3 D6 C9 i:>10~loiol1ic11 01f14lD

~ l ~ ~ j ~ j ~ ! : : : ! 1 j! ! ! 148 46 44 1421 40 1381 1361 34 132 1301 128 1261 1241 221 1201 181 161 M41 n21 1101 181 161 141 121

4th Word

i

+1+ C7i oalcs! os· . , .

012b12i01~C1LLc1102!C2

' ...· ...0 0 1 csl07

I •••

0 01 D3 C3 D6 C9 D1 O!c1(i,011jCl1 01f14 Time-of-Arrival of P4lD l ~ ~ 1 ~ ~ 1 ~ ~ i ~ l48 146 44 1421 40 381 1361 34 132 1301 128 1261 1241 221 1201 181 161 M41 n21 1101 181 161 141 121

5th Word

,

+1+: ,

LL ++ 041c4iosics: : J !

012~12101JC130 0 1: : : :

D1t140 01 D3 C3 D6 CS\07 C9r10fl~011iC11 Time-of-Arrival of P4lD~ ~ ~ ~ i 1J : : :

48 46 144 1421 40 1381 1361 34 132 1301 128 1261 1241 221 1201 181 161 1141 M21 MOl 181 161 141 121

01---.014 = Data BitsC1---'C14 = Confidence Bits

Figure A-3f Format ofMode S Data Words.

Page 42: The Enhanced Airborne Measurement Facility Recording System

APPENDIX B.

B.1 RECORD PROCESSOR

REAL-TIME SOFTWARE TASKS

B.1.1 Record Processor Initialization Procedures

Under VxWorks, any C subroutine may be spawned as a separate task, with its owncontext and stack. Because many tasks use common resources in our application, the recordprocessor software has been designed such that its tasks are responsible for initializing their ownresources. This guarantees that each task will not access any common resources before they havebeen properly initialized. A real-time flag for initialization, referred to as an initializationsemaphore, is the method used to perform all task initialization procedures. In contrast,initialization for the auxiliary processor resources is accomplished in an initialization routine.Table B-1 contains a listing of the Record Processor Software Tasks. Figure B-1 illustrates theAMF Auxiliary Processor Software Communication.

51

Page 43: The Enhanced Airborne Measurement Facility Recording System

Table B-1. Record Processor Software Tasks

Task Name Function

bsi4411 Task 4411-board control task:

This task controls the AMF data flow received from the 4411-board.It also handles the buffer full interrupts from the 4411-Board.

recctlTask record control interface:• processes incoming data from all sources and manages the

output tape ping-pong buffers.• creates and initializes the directory records.

tapeTask tape control:• initializes the tape-drive.• receives buffer-full signal from recctlTask via a semaphore.• completes the directory records.• oversees output of data and directory information to the

Exabyte tape.• informs the auxiliary processor of the memory location of pulse

data records.dmaTask raw data input task:

• receives signal to read in raw data from the 4411-board via aninterrupt.

• performs DMA controlled VMEbus transfer from the 4411-boardinto local memory.

4411Task control the BSI 4411-board:• reads the initialization parameters corresponding to the 4411

configuration file.• controls operation of the 4411 board by reading/writing its

registers and memory.auxdataTask auxiliary board data task:

• receives data from the auxiliary processor via a socket andsends them to the recctlTask via a message queue.

auxcmdTask auxiliary command Task:• sends commands to the auxiliary processor via a socket.

statusTask status task:• receives and forwards status messages via a message queue

from other tasks and forwards them to the SUN process via asocket.

playbackTask oversee tape playback:• provides search capabilities for the tape playback tool.• sends commands to the Exabyte tape drive.• forwards data to the SUN process via a socket.

4416Task control the BSI 4416 simulator board:• reads the initializing parameters from the 4416 configuration file.• controls operation of the 4416-board by reading/writing its

registers and memory.startTasks initialization routine:

• initializes system message queues.• spawns the other tasks under semaphore control.

52

Page 44: The Enhanced Airborne Measurement Facility Recording System

Bl.2 Task Priority Table for Record Processor

The VxWorks multitasking kernel uses interrupt-driven, priority-based task scheduling.Table B-2 provides a listing of the priority level that has been assigned to the record processorsoftware tasks. The highest priority tasks are listed at the top of the table.

Table B·2. Task Priority

Task Name Function and Priority Reasoning

bsi4411 Task 4411-board control task:

This task controls the AMF data flow received from the4411-board. It also handles the buffer full interrupts fromthe 4411-Board.

dmaTask DMA processing Task:

This task empties the 4411 data buffer in a limited amountof time.

recctlTask record control task:

This task must process and direct all types of incoming datainto the tape buffers.

tapeTask tape interface task:

This task is responsible for the rapid transfer of data fromthe tape ping-pong buffers to the tape drive.

auxdataTask auxiliary board data task:

This task receives and forwards data from the auxiliaryprocessor to the tape buffers.

opctlTask & auxcmdTask operator control tasks:

These tasks handle commands issued by the user.

4416Task & playbackTask remaining tasks:

These tasks are not vital to the recording process so theyare set to the lowest priorities

53

Page 45: The Enhanced Airborne Measurement Facility Recording System

RECORD PROCESSOR

KEY

'.J'+-

4416Task

opctlTask

statusTask

playbackTask

4411Task

16--- all Tasks

auxcmdTask

tapeTask

auxdataTask

msgQsocketinterrupt

semaphore

--~- ....

- -->

Figure B-1. AMF' Record PI'OCl'ssor CO/lllHll1licatioll Channels.

Page 46: The Enhanced Airborne Measurement Facility Recording System

B.l.3 Auxiliary Processor

Auxiliary Processor Initialization Procedures. Under VxWorks, any C subroutine maybe spawned as a separate task, with its own context and stack. The initialization for the auxiliaryprocessor resources is accomplished in a initialization routine. After initialization of the processorresources is complete, the initialization is responsible for spawning the auxiliary processorsoftware tasks. Table B-3 contains a listing of the Auxiliary Processor Software Tasks. FigureB-2 illustrates the AMF Auxiliary Processor Software Communication.

55

Page 47: The Enhanced Airborne Measurement Facility Recording System

Table B-3. Real-Time Auxiliary Processor Software Tasks

ctlTask auxiliary board control:• receives commands from the record processor via a socket.

• validates and sends commands to the appropriate task(s).proc1Task record processor interface:

• receives and forwards data records from other tasks to therecord processor via a socket.

gpsTask GPS receiver task:• receives and forwards GPS information from the gpsRcvTask to

the proc1Task.• provides the GPS time-of-day synchronization to the various

processor clocks.gpsRcvTask GPS data receive task:

• receives, decodes, and transmits GPS data from a serial port tothe proc1Task.

altimeterTask altimeter task:• receives, decodes and transmits altimeter data from a serial port

to the procHask.statusTask receive status messages:

• receives and forwards status messages from other tasks to theSUN process via a socket.

grabDataTask real-time data process task:• oversees the real-time output of all types of data.• manages the data pointer lists and socket connections array.• processes the requests to obtain data.• sends the requested data (if available) via a socket to the SUN

process.arincTask transponder data task main routine:

• receives and transfers transponder data to the checkQTask.• initializes the VMIC ARINC board.• after receiving an interrupt, reads data from the VMIC board's

memory.• decodes and sends the ARINC data to the checkQTask if data

received is a TCAS broadcast.tcasLivesTask regular communication to transponder task:

• sends messages to the transponder at regular intervals toensure communication over the ARINC bus.

checkQTask receive and transmit VMIC-board message task:• receives input from the tcasLives and ARINC tasks and writes

data to the VMIC board when necessary.aux_exec auxiliary board initialization routine:

• performs specific system-wide initialization.• spawns remaining auxiliary board tasks.• performs exiting software.

56

Page 48: The Enhanced Airborne Measurement Facility Recording System

AUXILIARY PROCESSOR

~ serial port 2

--~------.----~

_ _ _ ARINC429InterfaceProcessor

KEYmsgQsocketinterruptserial data

arincTask

gpsRcvTask

tcasLivesTask

--------1serial port 3

gpsTask

altimeterTask

all Tasks

ctlTask

proc1Task

statusTask

'Jl---J

111.:/11 t n:: .\.\11. \/1 \ I!iOI\' {)/"(1(/'\.\III' ('111111111111;((/1;01/ ('1/(/1111('/".

Page 49: The Enhanced Airborne Measurement Facility Recording System

B.1.3 Task Priority Table for Auxiliary Processor

The VxWorks multitasking kernel uses interrupt-driven, priority-based task scheduling.Table B-4 provides a listing of the priority level that has been assigned to the auxiliary processorsoftware tasks. The highest priority tasks are listed at the top of the table.

Table 6-4. Priority Level of Auxiliary Processor Software Tasks

Task(s) Function and Priority Reasoning

Transponder/ARINC Tasks: transponder data process tasks:

arincTask These tasks handle the processing of data received from

tcasLivesTask the Mode S transponder. The ARINC protocol requires a

checkQTaskquick response and handshake for each data transfer; thus,these tasks have been assigned the highest priority levels.

GPStasks: GPS data process tasks:

gpsTask These tasks process the GPS data.

gpsRcvTask

altimeter task: altimeter data process task:

This task processes the altimeter data.

ctlTask control task:

This task handles commands received from the recordprocessor.

proc1Task record processor interface:

This task sends data blocks to the record processor.

statusTask receive status messages:

This task forwards status messages to the SUN.

grabDataTask real-time data process task:This task is not part of the recording process; thus is hasbeen assigned the lowest priority level.

58

Page 50: The Enhanced Airborne Measurement Facility Recording System

AMF

AMFRP

ARINC

ATC

ATCRBS

FAA

GPS

GUI

MTL

Squitter

SSR

TCAS

TOA

TOD

VME

GLOSSARY

Airborne Measurement Facility

AMF Receiver Processor

Aeronautical Radio, Inc.

Air Traffic Control

Air Traffic Control Radar Beacon System

Federal Aviation Administration

Global Positioning Satellite

Graphical User Interface

Minimum Triggering Level

A spontaneous transmission broadcast once per second byMode S transponders containing the address of the sender.

Secondary Surveillance Radar

Traffic Alert and Collision Avoidance System

Time-of-Arrival

Time-of-Day

Versa Module Eurocard

59

Page 51: The Enhanced Airborne Measurement Facility Recording System

..

REFERENCES

[1] Colby, G. V., "AMF System Description," MIT Lincoln Laboratory, Lexington, MA,

ATC-60, (FAA-RD-76-233), March 25, 1976.

[2] Altman, S. I., P. M. Daly, and K. R. Krozel, "AMF User's Manual," MIT Lincoln

Laboratory, Lexington, MA, to be published.

[3] BriteLite Portable Workstation (Guide to Operations), RDI Computer Graphics, San Diego,

CA,1992.

[4] Altitude Encoder, Part #8800-T with Trimble Loran/GPS Serial Interface ­

Installation/Operation Guide, Rev. 1, Rosetta Microavionics, Inc., Plymouth, MN, June 25,

1992.

[5] TNL 2100 GPS Navigator, Pilot Guide, Rev. A, Trimble Navigation, Austin, TX, May 7,

1992.

[6] Bendix/King Installation Manual, General Aviation Avionics Division, Manual #006­

00681-000, Rev. 0, August 1990.

[7] Argus 500017000 Moving Map Display Installation Manual, Rev. 03.02, Eventide Avionics,

Division of Eventide, Inc., Little Ferry, NJ, March 13, 1992.

[8] Eventide Avionics ARGUS Moving Map Displays (Operator's Manual), Rev. 03.03,

Eventide Avionics, Division of Eventide, Inc., Little Ferry, NJ, February 22, 1993.

[9] Exabyte EXB-85oo 8mm Cartridge Tape Subsystem User's Manual, Exabyte Corporation,

Boulder, CO, December 1991.

[10] Motorola MVME712M Transition Module and P2 Adapter Board User's Manual, Motorola,

Inc. Computer Group, Tempe, Arizona, January 1993.

[11] Motorola MVME167 Single Board Computer Installation Guide, Motorola, Inc. Computer

Group, Tempe, Arizona, October 1992.

[12] Motorola MVME167/MVME187 Single Board Computers Programmer's Guide, Motorola,

Inc. Computer Group, Tempe, Arizona, July 1991.

[13] Berg Systems Inc., Technical Manual for Model 4411-VX PCM Decommutator, BSI Berg

Systems International, Inc., Carlsbad, CA, 1991.

61

Page 52: The Enhanced Airborne Measurement Facility Recording System

REFERENCES (continued)

[14] VMIVME-6005 Intelligent ARlNC-429 Communications Controller Instruction Manual,

Document #500-006005-000 E, Revised 2 April 1992, VME Microsystems International

Corporation, Huntsville, AL, February 1992.

[15] Berg Systems Inc., Technical Manual for Model 4416-V PCM Simulator, BSI Berg

Systems International, Inc., Carlsbad, CA, 1991.

[16] Wind River Systems, VxWorks Programmer's Guide, Release 5.1, Wind River Systems,

Alameda, CA, 1984-1993.

[17] Wind River Systems, VxWorks Reference Manual, Release 5.1, Wind River Systems,

Alameda, CA, 1984-1992.

62