1 / 21

SPU High Level Software

SPU High Level Software. H. Bischof, A.N. Belbachir (TUVIE) F. Kerschbaum, R. Ottensamer, P. Reegen, C. Reimers (UVIE). ~120Kbits/s. 1800 Kbits/s. 1800 Kbits/s. Data Compression/Reduction Scheme. Figure 1. Data Compression/Reduction Scheme. ASW Requirements - SPU HLSW Data Flow.

irving
Download Presentation

SPU High Level Software

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. SPU High Level Software H. Bischof, A.N. Belbachir (TUVIE) F. Kerschbaum, R. Ottensamer, P. Reegen, C. Reimers (UVIE) SPU High Level Software

  2. ~120Kbits/s 1800 Kbits/s 1800 Kbits/s Data Compression/Reduction Scheme Figure 1. Data Compression/Reduction Scheme SPU High Level Software

  3. ASW Requirements - SPU HLSW Data Flow • Spectroscopy (400 detectors, 50 test channels, 18 empty channels per SPU Module): • 2000 kbits/s (4000 kbits/s for both SPUs) • Photometry (512 detectors per sub-image): • 5 sub-images (1700 kbits/s for both SPUs) • 340 kbits for the LWL SPU • 1360 kbits/s for the SWL SPU • Telemetry rate • ~120 kbits/s are available for science data • Transparent mode: max. of 28 selected detectors in Spectroscopy or max. of 185 selected detectors in Photometry • Default mode: Spectroscopy 97,14 kbits/s Photometry 105,3 kbits/s SPU High Level Software

  4. ASW Requirements - Telemetry rates Figure 2. Telemetry rates for the SWL and LWL SPU SPU High Level Software

  5. CRRF = 8 CRINT = 4 CRTSR = 1,6 CR = 51,2 ASW Requirements - Default Mode in Spectroscopy Figure 3. Default Compression Mode in Spectroscopy SPU High Level Software

  6. 2-Samples Fit Least Squares RANSAC+Least Squares RANSAC Data Compression/Reduction - Spectroscopy • Ramp Fitting Methods (1) SPU High Level Software

  7. SDE_reg_app1 SDE_ovl_app1 SDE_reg_app2 SDE_ovl_app2 SDE_reg_app3 SDE_ovl_app3 Data Compression/Reduction - Spectroscopy • Ramp Fitting Methods (2) SPU High Level Software

  8. Data Compression/Reduction - Spectroscopy • Evaluation of ramp fitting algorithms and test results SPU High Level Software

  9. Data Compression/Reduction - Spectroscopy Ramp 1 Ramp 2 Ramp 3 SPU High Level Software

  10. Data Compression/Reduction - Spectroscopy • Analysis with simulated and real test data • Status • Preprocessing, glitch detection • Ramp Fitting: cumulative errors  difference scheme: RANSAC (2 point with least square errors) implemented • Integration: mean algorithm implemented • TRR & SRR: Reference value & Difference values SPU High Level Software

  11. CRRF = 4 CRInt = 1 CRTSR = 3,9 CR = 15,6 ASW Requirements - Default Mode in Photometry Figure 4. Default Compression Mode in Photometry SPU High Level Software

  12. Data Compression/Reduction - Photometry • Evaluation of averaging algorithms and test results SPU High Level Software

  13. Data Compression/Reduction - Photometry Voltage Voltage Plateau 1 Plateau 3 Time Time Voltage Mean Median Sample Difference Real readout Plateau 2 Time SPU High Level Software

  14. Data Compression/Reduction - Photometry • Analysis with simulated data from our data generator • Status • Preprocessing, glitch detection • Robust Averaging: mean algorithm implemented (calibration on ground) • Integration: mean algorithm implemented • TRR & SRR: Reference value & Difference values SPU High Level Software

  15. SPU HLSW Context Diagram Figure 5. SPU HLSW Context Diagram SPU High Level Software

  16. SPU HLSW Concept HLSW consists of three main parts: • Communication Interfaces to DPU and to DEC/MEC • Watch Process (Command Acknowledgement) • Application Software (Reduction/Compression) Figure 6. SPU HLSW Concept SPU High Level Software

  17. SPU SW Interfaces • DPU TO SPU SW Interface • Communication is bi-directional (commands, response, HK and compressed data) • All SPU SW activities are commanded by DPU(e.g. start, stop, …) • SPU SW acknowledges the reception of all DPU commands according to the communication protocol • SPU SW sends telemetry packets to DPU • DPU checks the “life” of the SPU SW via the HK • DEC/MEC to SPU SW Interface • Communication is unidirectional (DEC/MEC to SPU) • Packet from DEC/MEC to SPU consists of science data and a header • Science data are detector readouts and test channels • Header contains the instrument configuration and the compression parameters SPU High Level Software

  18. EEPROM (1,5 MB) DPRAM (32 kB) (SMCS) PRAM (3 MB) DRAM (4 MB) Table Buffers (256 kB) Input Buffers (1.25 MB) Output Buffer (560 kB) Reserved (256 kB) Science Data Buffer (1 MB) Program Buffer (1MB) Processing Buffer (2.5 MB) Header Buffer (256 kB) Memory Description • 1.5MB EEPROM • 32KB DPRAM • 7MB RAM • 1 Mbytes for program storage • 0.25 Mbytes for SW tables storage • 1 Mbytes for input science data buffering • 0.25 Mbytes for the DEC/MEC header buffering • 0.5 Mbytes for output data buffering • 4 Mbytes are for processing, etc. Figure 7. Memory Distribution for the SPU HLSW SPU High Level Software

  19. SPU HLSW Status • SPU HLSW design frozen • SPU HLSW Interfaces with DPU and DEC/MEC: • Interface Control Document are under configuration control • Software interfaces have been verified under test environment (PC+emulator) • Detailed description of LLSW drivers are available since 2001, 13 Dec. for the integration on the real HW • Application Software: • Mechanism has been verified under test environment (PC+emulator) • Performance not tested (individual compression modules tested ‘Prelimi.’) • No real data • No representative development HW SPU High Level Software

  20. PA/QA Activities and Schedule • PACS PA Plan is adopted (from IFSI) • SPU Test Plan is under configuration control • SPU HLSW Interface tested under test environment (PC+ Emulator+ Spacewire Board) • SPU HLSW individual module complexity tested in Sigma board • Schedule • SPU SW Interfaces and application SW mechanism have been tested • SPU HLSW functionality will be tested at IAC (Spain) • Test at IAC is planned in March/April 2002 • Delivery of SPU HLSW to project by begin May SPU High Level Software

  21. Summary and Perspective • SPU HLSW Interfaces tested with OBS Simulator • Preliminary Application SW modules are ready for integration and performance tests in real HW • Several ramp fitting and averaging algorithms are tested • It is still possible to add new algorithms to this library • New algorithms will be tested (functionality and performance) • Verification of SPU HLSW functionality will be done at IAC (Spain) in March/April 2002 SPU High Level Software

More Related