Presentation is loading. Please wait.

Presentation is loading. Please wait.

STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Flight Software Design STEREO/HET Data Formatting/PH Sampling Donald.

Similar presentations


Presentation on theme: "STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Flight Software Design STEREO/HET Data Formatting/PH Sampling Donald."— Presentation transcript:

1 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Flight Software Design STEREO/HET Data Formatting/PH Sampling Donald Reames

2 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Rates and Sampled Particle PHs Wind/EPACT flight data

3 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Science Data Formatting Rate and PH compression formats Rate packets – 16-bit compressed HW and SW rates PH event packets – compressed PH events –H1-only particles –Stopping particle –Penetrating particles –PH stimulator events Table, beacon, and housekeeping packets PH sampling and queues and packet sampling

4 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Algorithm for Rate Compression (24 bit->16 bit) /* 32-bit -> 16-bit compression for SW and HW rates */ /* usage: rateout=pack_rate(ratein); */ unsigned int pack_rate(int ratein) { unsigned int rateout, power=0; while (ratein&0xfffff000) { power+=0x0800; ratein>>=1; } rateout=ratein; if (power) rateout=power+0x0800|((rateout&0x07ff)); return rateout; }

5 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR HET PH Event Formats PH events (except H1 singles) consist of a 16-bit header followed by the appropriate number of 16-bit packed pulse heights. The bit pattern of the 16-bit header is as follows (listed in lsb to msb order): –3-bits Count of PHs in this event –8-bits Onboard SW bin this event was assigned to –1-bit Stimulator event flag –1-bit Current rate mode of the HET –3-bits PH category Each individual PH is compressed from the 24-bit value read from the ASIC to a 16-bit value with the following bit pattern (lsb to msb) –11-bits PH value –1-bit Overflow bit –1-bit High/low gain –3-bit PH number (H1i, H1o, H2, …H6)

6 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘A’ or Rates Packets

7 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘B’ or Status and Single PH Packet

8 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘C’ or Stopping-Particle PH Packets

9 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘D’ or Penetrating-Particle PH Packet

10 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘E’ or Table Listing Packet

11 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘F’ or Beacon Packets

12 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR ‘G’ or Housekeeping Packets

13 STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Sampling PH Events for Readout Nominal output packets: 1-A, 1-B, 3-C, 1-D (+1F & 1G) Stopping particles are queued as to H, He, and heavies –Each species is allocated 1/3 of the telemetry space –Any empty heavies space is filled with He –Any remaining empty space is filled with H –Empty C packets (after 1) are reassigned as D packets Penetrating particles are treated analogously E packets normally are dribbled out at about 1 every 16 frames, but empty D packets are reassigned as E packets.


Download ppt "STEREO IMPACT HET/SIT Software Requirements and Design Review, 22 August 2002 DVR Flight Software Design STEREO/HET Data Formatting/PH Sampling Donald."

Similar presentations


Ads by Google