ESA UNCLASSIFIED – For Official Use NPAL Datasheet F. Torelli & P. Skrzypek CCSDS Spring Meeting /04/2013
NPAL Datasheet | 16/04/2013 | Slide 2 ESA UNCLASSIFIED – For Official Use Contents Introduction Describing functional interface Describing device-specific interface Describing packet interface Implementing device abstraction control procedure Implementing device-specific access protocol Summary
NPAL Datasheet | 16/04/2013 | Slide 3 ESA UNCLASSIFIED – For Official Use INTRODUCTION
NPAL Datasheet | 16/04/2013 | Slide 4 ESA UNCLASSIFIED – For Official Use Introduction The NPAL device is a multi-function camera with the ability to perform horizon detection and star tracking. The device uses Space Wire link to communicate. The NPAL ICD lists over 23 different data packets. For the purpose of this presentation, Space Wire has been mapped on SOIS packet service. This presentation is focused on describing packets, SOIS interfaces and access protocols for this device. Due to the complexity of the device, only a subset of functionality is addressed in this presentation.
NPAL Datasheet | 16/04/2013 | Slide 5 ESA UNCLASSIFIED – For Official Use FUNCTIONAL INTERFACE
NPAL Datasheet | 16/04/2013 | Slide 6 ESA UNCLASSIFIED – For Official Use Functional interface Acquire Image Value ID Acquire Image, no arguments Value 1024x1024 matrix of integer values ranged Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 7 ESA UNCLASSIFIED – For Official Use Functional interface Acquire Temperature Value ID Acquire Temperature, select one of the two thermocouples (APS, Optics) Value single float number ranged e32 Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 8 ESA UNCLASSIFIED – For Official Use Functional interface Command Exposure time Value ID Command Exposure time, no arguments Value single float argument ranged 0.050e e-3 Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 9 ESA UNCLASSIFIED – For Official Use DEVICE-SPECIFIC INTERFACE
NPAL Datasheet | 16/04/2013 | Slide 10 ESA UNCLASSIFIED – For Official Use Device-specific interface Acquire Image Value ID Acquire Image, no arguments Value 1024x1024 matrix of integer values ranged Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 11 ESA UNCLASSIFIED – For Official Use Device-specific interface Acquire Temperature Value ID Acquire Temperature, select one of the two thermocouples (APS, Optics) Value single integer number ranged Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 12 ESA UNCLASSIFIED – For Official Use Device-specific interface Command Exposure time Value ID Command Exposure time, no arguments Value single value from enumeration type Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 13 ESA UNCLASSIFIED – For Official Use Device-specific interface Command Link speed Value ID Command Link speed, no arguments Value single value from enumeration type Meta data bivalent – success or failure
NPAL Datasheet | 16/04/2013 | Slide 14 ESA UNCLASSIFIED – For Official Use PACKET INTERFACE
NPAL Datasheet | 16/04/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use Packet interface TC_TRK <declare name="commanded_exposure_time" 23. type="pi_exposure_time"/> Telecommand header 1Window start row, bits 0-7 2Window start row, bits Window start column, bits 0-7 4Window start column, bits Commanded exposure time 6Tracking option Telecommand footer
NPAL Datasheet | 16/04/2013 | Slide 16 ESA UNCLASSIFIED – For Official Use Packet interface TM_REPORT <declare name="cause_of_mode_transition" 25. type="pi_mode_transition_cause"/> Telemetry header 1Event code 2TC acceptance 3Mode transition 4Download status 5Not used 6Calibration 7Error code 8Fill byte 9 10Fill byte Telemetry footer
NPAL Datasheet | 16/04/2013 | Slide 17 ESA UNCLASSIFIED – For Official Use DEVICE ABSTRACTION CONTROL PROCEDURE
NPAL Datasheet | 16/04/2013 | Slide 18 ESA UNCLASSIFIED – For Official Use Acquire Temperature The following code attaches a process to the functional interface. This process will be executed each time the system receives ACQUIRE_FROM_DEVICE primitive with value_id matching fi_temperature_acq.
NPAL Datasheet | 16/04/2013 | Slide 19 ESA UNCLASSIFIED – For Official Use Acquire Temperature
NPAL Datasheet | 16/04/2013 | Slide 20 ESA UNCLASSIFIED – For Official Use Acquire Temperature
NPAL Datasheet | 16/04/2013 | Slide 21 ESA UNCLASSIFIED – For Official Use Acquire Temperature
NPAL Datasheet | 16/04/2013 | Slide 22 ESA UNCLASSIFIED – For Official Use Acquire Temperature
NPAL Datasheet | 16/04/2013 | Slide 23 ESA UNCLASSIFIED – For Official Use DEVICE-SPECIFIC ACCESS PROTOCOL
NPAL Datasheet | 16/04/2013 | Slide 24 ESA UNCLASSIFIED – For Official Use Command Exposure time The following code attaches a process to the device-specific interface. This process will be executed each time the system receives COMMAND_DEVICE primitive with value_id matching di_exposure_cmd.
NPAL Datasheet | 16/04/2013 | Slide 25 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 26 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 27 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 28 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 29 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 30 ESA UNCLASSIFIED – For Official Use Command Exposure time
NPAL Datasheet | 16/04/2013 | Slide 31 ESA UNCLASSIFIED – For Official Use SUMMARY
NPAL Datasheet | 16/04/2013 | Slide 32 ESA UNCLASSIFIED – For Official Use Summary Described sample SOIS functional interface and device-specific interface Described 2 NPAL packets available from SOIS subnetwork Implemented one process of the device-specific access protocol Implemented one process of the device abstraction control procedure The attached XML document contains description of all NPAL packets and all sample SOIS interfaces Attached EDS may not be perfectly cnsistent. Back-propagating all updates to the EDS schema is very time consuming.