ISUAL Data Formats & Science Data Processing S. Geller.

download ISUAL Data Formats & Science Data Processing S. Geller.

of 34

  • date post

    18-Jan-2016
  • Category

    Documents

  • view

    218
  • download

    0

Embed Size (px)

Transcript of ISUAL Data Formats & Science Data Processing S. Geller.

  • ISUAL Data Formats & Science Data Processing

    S. Geller

  • Astrium Specification on ISUAL T/MFollows CCSDS Format:

  • ISUAL T/M Detailed Data FormatCommon format used for Science Data, SOH Data, and ISUAL communications with SpacecraftStandard CCSDS Primary HeaderAPIDs 700 to 74A are assigned to ISUALSecondary Header Comprised of a 9 byte Time CodeVariable number of data bytesTotal Packet Length limited to 256 bytes for SOH channel and 4096 bytes for Science Data channelOne byte of filler if needed to make total packet length evenOne byte of Check SumOne byte Trailer = hex AA

    Same packets can be sent over either SOH or Science Data channel provided length constraint is met

    UCB Drawing 8565-x7 lists all T/M data formats

  • Currently Defined T/M PacketsAPID Packet Name 701 MBR 703 Command Echo 705 Ancillary Data 706 Housekeeping 709 Memory Dump 70B MM Bad Sections 70C Aurora Header 70D Aurora Data 70E Sprite Header 70F Sprite Data 710 Spectrophotometer Header 711 Spectrophotometer Data 712 SP Group-Average Header 713 SP Group-Average Data 714 Array Photometer Header 715 Array Photometer Data 716 AP Group-Average Header 717 AP Group-Average Data 7FF Idle Packet

  • Example Telemetry Data Source Packet (1)

    TLM

    8565-X7REVC

    ISUAL Telemetry Source Packet Definitions

    Drawn by:S. Geller

    REVDESCRIPTIONBYDATE

    AFIRST CUT MADE PRIOR TO RECEIPT OF ASTRIUM INFORMATIONSGH08AUG00

    BCOMPLIES WITH ASTRIUM MEMO # ROC2.TN.0258.MMS-TSGH17AUG00

    C4096 Byte Long Packets OK on Science Data Link; Add MBR and Command Echohdh19AUG00

    NOTES:

    1 PACKETS ARE COMPLIANT WITH CCSDS 102.0-B-4 SOURCE PACKET DEFINITION

    2 MAXIMUM TOTAL PACKET LENGTH (WITH HEADER & TRAILER) IS 256 BYTES ON SOH LINK

    AND 4096 BYTES ON SCIENCE DATA LINK

    3 PACKET LENGTH IS AN EVEN NUMBER OF BYTES

    4 NOTATION 0xNN INDICATES HEXADECIMAL. OTHER NUMBERS ARE DECIMAL

    5 All multiple byte items (e.g. 16-bit values) will be stored high-order byte first (leftmost)

    6 Unless specified otherwise, all quantities are unsigned.

    7 All packets have a CCSDS primary header which is 6 bytes long and consists of the following:

    3 bits of version number = 100, fixed

    1 bit of type = 1, fixed

    1 bit showing presence of secondary header = 1, fixed

    3 bits which are the MSB's of the APID = 111, fixed

    8 bits which are the LSB's of the APID. These vary between 0 and 0x4A.

    2 bits = 11, fixed, which show that segmentation is not being used

    6 bits which are the MSB's of the source sequence count (variable)

    8 bits which are the LSB's of the source sequence count (variable)

    8 bits which are the MSB's of the packet length. (variable)

    8 bits which are the LSB's of the packet length. (variable) This the length of the Packet Data Field

    portion of the packet including the Secondary Header and the Trailer minus 1.

    8 All packets have a Secondary Header which immediately follows the Primary Header, and is

    the first 9 bytes of the Packet Data Field. It is the

    UT of the time when the packet was generated. The same format is used to record the time of other events at other

    places in the packet data. The 9 bytes are defined as follows:

    Note that is this and following defintions, the byte offset into the packet is taken such that the first

    byte of the Packet Data Field (which is the beginning of the Secondary Header) is byte 0.

    byte-offsetelement sizeno. elements

    021year2000,2001,

    221day of year1,2,..,365,366

    411hour of day0..23

    511minute of hour0..59

    611second of minute0..59

    7111/256 second0..255

    8111/255/256 second0..255

    9

    9 ECF = Earth Centered Frame (Inertial, 2000)

    ApID=701MBR packet(Request to send Science Data)

    byte-offsetelement sizeno. elements

    -611100 0 1 111

    -511Ap ID LSB's = 00000001

    ISUAL TELEMETERY PACKET DEFINITIONS WITH APID'S:-41111xxxxxx = source seq cnt MSB's

    -311Source Sequence Count LSB's

    ApID=701MBR packet(Request to send Science Data)Sent viaSent via-211Packet Length MSB

    byte-offsetelement sizeno. elementsSOHScience-111Packet Length LSB

    -611100 0 1 111LinkLink021year

    -511Ap ID LSB's = 00000001221day of yearTime

    -41111xxxxxx = source seq cnt MSB'sX411hour of dayWhen

    -311Source Sequence Count LSB's511minute of hourPacket

    -211Packet Length MSB611second of minutewas

    -111Packet Length LSB7111/256 secondmade

    091Secondary Header (Time when packet was made)8111/256/256

    921number of PVCFs921number of PVCFs

    1111filler (to have even packet length)1111filler (to have even packet length)

    1211checksum1211checksum

    1311Trailer = 0xAA1311Trailer = 0xAA

    Total length of Packet Data Field in bytes:14

    Total length of Packet (incl. Primary Header):20Total length of Packet Data Field in bytes:14

    Total length of Packet (incl. Primary Header):20

    ApID=703Command Echo packetSent viaSent via

    -611100 0 1 111SOHScience

    -511Ap ID LSB's = 00000001LinkLink

    -41111xxxxxx = source seq cnt MSB's

    -311Source Sequence Count LSB'sX

    -211Packet Length MSB

    -111Packet Length LSB

    091Secondary Header (Time when packet was made)

    911number of commands echoed this packet

    1011opcode of echoed command

    1111sequence number of echoed commandFirst

    12110=executed, 1=queued (was time-tagged)Command

    1391time when executed/queuedEchoed

    2211result code

    2311opcode of echoed command

    2411sequence number of echoed commandSecond

    25110=executed, 1=queued (was time-tagged)Command

    2691time when executed/queuedEchoed

    3511result code

    3611opcode of echoed command

    3711sequence number of echoed commandThird

    38110=executed, 1=queued (was time-tagged)Command

    3991time when executed/queuedEchoed, etc.

    4811result code(Up to max of 17)

    4911filler (if needed to have even packet length)

    5011checksum

    5111Trailer = 0xAA

    Total length of Packet Data Field in bytes:52

    Total length of Packet (incl. Primary Header):58

    ApID=705TPA Packet - (echo of TPA block received from Spacecraft)Sent viaSent via

    byte-offsetelement sizeno. elementsSOHScience

    -611100 0 1 111LinkLink

    -511Ap ID LSB's = 00000101

    -41111xxxxxx = source seq cnt MSB'sXX

    -311Source Sequence Count LSB's

    -211Packet Length MSB

    -111Packet Length LSB

    021year2000,2001,

    221day of year1,2,..,365,366

    411hour of day0..23

    511minute of hour0..59

    611second of minute0..59

    7111/256 second0..255

    8111/255/256 second0..255

    941X Position ECF (meters)IEEE488 floating point (signed)

    1341Y Position ECF (meters)IEEE488 floating point (signed)

    1741Z Position ECF (meters)IEEE488 floating point (signed)

    2141X Velocity ECF (meters/sec)IEEE488 floating point (signed)

    2541Y Velocity ECF (meters/sec)IEEE488 floating point (signed)

    2941Z Velocity ECF (meters/sec)IEEE488 floating point (signed)

    3341S/C Quaternion 1IEEE488 floating point (signed)

    3741S/C Quaternion 2IEEE488 floating point (signed)

    4141S/C Quaternion 3IEEE488 floating point (signed)

    4541S/C Quaternion 4IEEE488 floating point (signed)

    4912GPS codes

    5111filler (to have even packet length)

    5211checksum

    5311Trailer = 0xAA

    Total length of Packet Data Field in bytes:54

    Total length of Packet (incl. Primary Header):60

    ApID=706Housekeeping PacketSent viaSent via

    byte-offsetelement sizeno. elementsSOHScience

    LinkLink

    -611100 0 1 111

    -511Ap ID LSB's = 00000110XX

    -41111xxxxxx = source seq cnt MSB's

    -311Source Sequence Count LSB's

    -211Packet Length MSB

    -111Packet Length LSB

    091Secondary Header (Time when hsk was sampled)

    911Mode: Standby, Aurora, Sprite, Dayside

    10111= Camera Active

    11111= Spectrophotometer active

    12111= Array Photometer active

    1311which photometer was selected for trigger

    1421trigger level

    1611which sun-sensors were selected

    1711sun in view / not

    1841number of PVCFs sent since last dusk passage

    2211number of bad sections in MM

    2341number of Sprites caught since last dusk

    2711Compression statistics / Faults

    2811number of MMCBs needing compression

    2911DCM fault - no compressions completed since

    3011Filter wheel Fault -- wheel didn't move

    3111Time Fault (not successfully set)

    3211TLM fault (no more room to store data)

    3311TPA fault (none received since )

    3411Number of command checksum failures

    3591Time when last command received

    4421Number of commands successfully executed

    4621Number of invalid commands

    4821Number of rejected commands

    5021Number of commands received(should be sum of above 3)

    5221Number of "uncaught" Sprites

    5421No. TPAs receivedSent viaSent via

    5621Number of time-tagged commands waitingSOHScience

    5891Soonest time-tagged commandLinkLink

    6721number of PVCFs stored

    6991time of last PVCF block transmissionXX

    7811Mass Memory Status(MM Status)

    7921Number of bad memory sections(MM Status)

    8111state group code(Parameter Group)

    8221number of Spectrophotometer samples/group (Parameter Group)

    8421number of Array Photometer samples/group (Parameter Group)

    8621Camera Exposure (millisec)(Parameter Group)

    8811Interval between Aurora images (seconds) (Parameter Group)

    8921No. SPH samples/group(Parameter Group)