33
PACS OBSW 1/33 PACS IQR 13 Jan 2005 PACS On-board Software & User Manual A. Belbachir (UVIE/TUVIE, SPU) H. Feuchtgruber (MPE, SE) A. Mazy (CSL, DMC) S. Pezzuto (IFSI, DPU)

PACS On-board Software & User Manual

  • Upload
    farica

  • View
    26

  • Download
    0

Embed Size (px)

DESCRIPTION

PACS On-board Software & User Manual. A. Belbachir (UVIE/TUVIE, SPU) H. Feuchtgruber (MPE, SE) A. Mazy (CSL, DMC) S. Pezzuto (IFSI, DPU). - 5 commandable units 6 interfaces ~27 Mbytes memory (PROM,EEPROM,PRAM,DRAM) Virtuoso RTOS 2 different detection systems Autonomous operation - PowerPoint PPT Presentation

Citation preview

Page 1: PACS On-board Software  &  User Manual

PACS OBSW 1/33

PACS IQR 13 Jan 2005

PACS On-board Software &

User Manual

A. Belbachir (UVIE/TUVIE, SPU)H. Feuchtgruber (MPE, SE)

A. Mazy (CSL, DMC)S. Pezzuto (IFSI, DPU)

Page 2: PACS On-board Software  &  User Manual

PACS OBSW 2/33

PACS IQR 13 Jan 2005

CDMU

DPU

SPU-SWL

SPU-LWL

DEC/MEC BOL C

S/C Power

DetS-red

DetP-blue

DetP-red

DetS-blue

Ground- 5 commandable units- 6 interfaces- 4 CPUs (~20Mhz each)- 27 Mbytes memory (PROM, EEPROM, PRAM, DRAM)- Virtuoso RTOS - Redundant units- 2 different detection systems- Autonomous operation- Uplink bandwidth limit- Downlink bandwidth limit

FPU

TIME

OBT

Blue arrows : TC/SCI/HKGreen arrows : TC/HKRed lines : powerBlack : analog lines

- 5 commandable units- 6 interfaces- ~27 Mbytes memory (PROM,EEPROM,PRAM,DRAM)- Virtuoso RTOS- 2 different detection systems- Autonomous operation- Uplink bandwidth limit- Downlink bandwidth limit- Redundant units

MTL

Page 3: PACS On-board Software  &  User Manual

PACS OBSW 3/33

PACS IQR 13 Jan 2005

DPU OBSW – Status (1)

• Last Version : 7.65 delivered on 25th October

• 73 Requirements in last URD (Version 2.5)

• 88% implemented

• 5% missing specifications

• 4% no longer applicable

• 3% obsolete

• 34 OBCP available to activate subsystems, to enter specific observing/operative modes (incl. SAFE), to execute measurements, to calibrate the instrument, stand-alone test

Page 4: PACS On-board Software  &  User Manual

PACS OBSW 4/33

PACS IQR 13 Jan 2005

DPU OBSW – Status (2)

• Open Issues

(Major) On time scale of 36/48 hours, a 1553 memory corruption occurs (SPR-0230); NCR raised and delivered to CGS on November 19th

• Loading of OBCP implemented but not tested;

• AF not defined; this may have impact on OBSW

• PS-ICD V4 compatible apart from req. 1020-A1 on bit alignment are (necessarily) violated in HK packets

• Burst mode successfully tested with CDMS simulator provided by RAL; communications almost stopped with CDMU provided by SSBV already at nominal HK rate (1 packet/2 seconds). No reason identified yet

Page 5: PACS On-board Software  &  User Manual

PACS OBSW 5/33

PACS IQR 13 Jan 2005

DPU OBSW – Status (3)

• As part of the new contract ASI-CGS, IFSI provides the OBSW as subcontractor of CGS• Version delivered to CGS is 7.63 (minor bugs wrt version 7.65, irrelevant for what the SW is aimed to, i.e. test tool for CGS HW)• Version 7.63, Version 1 for CGS, is going to pass the whole SW verification and validation phase. The 1st phase (test at IFSI with AVM1) has been done on 16/17 December; on 20/21/22 December test repetition at CGS premises with IFSI AVM1 first, and then with new AVM2, both tests were successful, only a minor SW update for the DPU reset was required to work on both models AVM 1 and AVM2.• Upon acceptance Version 1 will be easily upgraded to Version 7.65

Page 6: PACS On-board Software  &  User Manual

PACS OBSW 6/33

PACS IQR 13 Jan 2005

DPU OBSW – CAPTEC Report

• Possible problems of interference between tasks when accessing global or static variables. These conditions have been isolated and solved in almost all cases. Minor problems will be corrected in future releases.

• Documents : missing parts have been inserted• SW requirements matrix in SSD• How to build a new image in SUM

• Improvement in documentation expected with new personnel

Page 7: PACS On-board Software  &  User Manual

PACS OBSW 7/33

PACS IQR 13 Jan 2005

DPU OBSW – Documents

• URD --> Issue 2.5, 1 December 2004• SSD --> Issue 2.2, 1 December 2004• SVVP --> Issue 3.2, 1 December 2004• OBS Test Report --> New issue after test activities with CGS• SUM --> Issue 1.7, 15 September 2004 (1.8 in prep. for CGS)• They follow guidelines given in BSSC(96)2Modifications of SW Version 1 will proceed formally through CGS (via RID, SPR, NCR), to evaluate the impact on the documents and on the code.

For Version 2 CGS only asks to be informed of changes in documents and to have the new versions. Delivery of SW Version 2 goes directly to Consortia.

Page 8: PACS On-board Software  &  User Manual

PACS OBSW 8/33

PACS IQR 13 Jan 2005

DPU OBSW – Next developments and maintenance

• Activities detailed in “DPU/ICU OBS Version 2 Development Plan” - CNR-IFSI-2004-PL001• Mainly:• Version 1 : support to CGS activities (eg integration with next models); consolidation activities• Version 2 : design and development activities toward FM

Activities for version 1 and 2 will be covered by different contracts with ASI and CGS

IFSI is looking for two SW engineers to help in all these activities, from SW coding to documentation.

Page 9: PACS On-board Software  &  User Manual

PACS OBSW 9/33

PACS IQR 13 Jan 2005

DPU OBSW – Boot and Application SW

• When DPU is switched on FPGA copies boot SW from PROM (EPROM in AVM) to 21020 Program Memory• Boot SW checks PM, DM and EEPROM. If all the checks are OK, an event TM(5,2) is reported• If the command FORCE BOOT is sent, the application SW is copied from EEPROM to PM and started• Alternatively, a new image can be uploaded via service TM(6,2) Implementation of this service in the boot SW is not fully PS-ICD compliant.• Version 7.63 (and also 7.65) requires 1368 TC. If all TC are correctly received (no event TM(5,4) is reported), after the command LOAD TC AND BOOT is sent, the application SW is copied from DM into PM, and started

Page 10: PACS On-board Software  &  User Manual

PACS OBSW 10/33

PACS IQR 13 Jan 2005

DPU OBSW – Default Status of Application SW (1)

• 1553 interface : nominal mode; burst mode only if commanded• 1355 interface : SMCS332 initialized, links not started• HK list : non prime (1 packet of 382 bytes /2 seconds); additional HK packet (1 packet equivalent to non prime HK every 10 seconds)• OBCP : 34 available, ready to be started• AF : 2 available, one for BOL (even if not used) and one for test purposes. By default AF are disabled (enabling each AF is supposed to be part of the transition from one operative/observing mode to another one)

Page 11: PACS On-board Software  &  User Manual

PACS OBSW 11/33

PACS IQR 13 Jan 2005

DPU OBSW – Default Status of Application SW (2)

• Available TM packets (not considering events) : 25 (19 are enabled); science transmission disabled. Each SPU array can be enabled separately. TM (1,1) and TM(1,2) can not be disabled (but TM(1,1) is generated only if a specific bit in the TC packet header is set). Also essential HK packet can not be disabled

• Events defined : 27 --> 24 are TM(5,1), 3 are TM(5,2), 0 TM(5,4).• TM(5,2) are : request to switch off BOL-C; request to set PACS in SAFE mode; message to satellite “PACS ready to be switched off”. Each event can be disabled one by one.

Page 12: PACS On-board Software  &  User Manual

PACS OBSW 12/33

PACS IQR 13 Jan 2005

DPU OBSW – User Manual

Main purpose : how to send commands to DPU, meaning of parameters (for DPU commands), understanding TM packets (TC verification, HK, events, science ...)

- How to build and load a new image- Content of HK packets- List of OBCP, functions and DMC sequences. Usage of special OBCP (starting 1355 links, writing image in EEPROM, starting application SW in subsystems)

Structured following PS-ICD : if service (x,y) is used, operational instructions are found in Section 4.x.y while a more technical description is given in Section 5.x.y

Page 13: PACS On-board Software  &  User Manual

PACS OBSW 13/33

PACS IQR 13 Jan 2005

Summary Status of SPU HLSW• SW actual version: 11.1 dated of 23-Jul-2004.

• SW configuration:

– The CVS repository at Leuven has all SW versions, tools and release notes.

– SW problems are reported through the SPR system.

– All SW documents are at PACS Central File at Leuven.

• Documentation:

– User Manual issue 11.1 dated of 23-Jul-2004.

– SW Specifications issue 4.3 dated of 30-Mar-2004.

– Release Note issue 11.1 dated of 23-Jul-2004.

– User Requirements issue 3.1 dated of 29-Mar-2004.

– Others: ICDs, Test Plan and Test Reports (see CIDL).

• CAPTEC Review on 05-06 April 2004 in Vienna

Page 14: PACS On-board Software  &  User Manual

PACS OBSW 14/33

PACS IQR 13 Jan 2005

Detailed Status of SPU HLSW Version 11.1 (1)

• The software has been tested on the AVM SPU and resides in its EEPROM; Boot SW – HLSW interfaces by command;

• Command/response, HK and science protocols DPU-SPU-DMC are tested and o.k.

• 13 different compression/reduction modes available and tested

• SW updates either directly to EEPROM or to RAM are possible and tested. One memory load command to both SPU processors is replicated inside the DPU and then sent to SPU-L and SPU-S as two independent commands.

• Test mode for spectroscopy and photometry available

Page 15: PACS On-board Software  &  User Manual

PACS OBSW 15/33

PACS IQR 13 Jan 2005

Detailed Status of SPU HLSW Version 11.1 (2)

•Open issues:

– Compression ratio is too small and/or CPU workload becomes too high. Closer match to actual detector data required.

– Sporadic misalignment of science data header vs. science data (not clear if SPU or DMC, however most likely SPU)

Page 16: PACS On-board Software  &  User Manual

PACS OBSW 16/33

PACS IQR 13 Jan 2005

SPU Documentation

Document Issue

Distribution Date

Completeness

SPU HLSW URD 3.1 29.03.2004 100 %

SPU HLSW to DPU ICD 5.1 16.04.2004 100 %

SPU HLSW SSD (incl. ADD+DDD+SRD) 4.3 30.03.2004 ~100 %

SPU HLSW SUM and release note 11.1 23.07.2004 100 %

SPU HLSW Test Plan 4.0 29.05.2002 100 %

SPU HLSW Module Test Report 1.0 29.05.2002 100 %

SPU HLSW Communication Test Report 1.0 13.03.2003 100 %

SPU HLSW Acceptance Test Plan and Report for AVM delivery

1.2 13.03.2003 100 %

SW PA Plan (from IFSI) 1.0 08.01.2001 100 %

Page 17: PACS On-board Software  &  User Manual

PACS OBSW 17/33

PACS IQR 13 Jan 2005

SPU Captec Review Consequences•Captec reviewed HLSW version 8.6•Assessments:

– SW code maps to the architecture– Configuration management procedure are working– CQM and FM ILT dates are compatible with ESA needs– Requirement, design and coding are 100% complete. – No planning for maintenance– The documentation (major open area) has been

improved for HLSW 11.1– Missing CIDL has been provided (issue 1.0 on Nov.

19th,04)

•Major recommendations:– SW code commenting should be improved– Compression needs to be checked against latest

'noisy' detector data

Page 18: PACS On-board Software  &  User Manual

PACS OBSW 18/33

PACS IQR 13 Jan 2005

SPU User Manual Usage

• General overview

• Procedure for software installation and update

• Running confidence check for proper software installation

• List of software modules. Software input and output specifications

• Software procedure to handle 1355 links and how the SW operates when the connection is lost

• How to command the SPU SW. Detailed description of all commands and required parameters

• Summary of packet structure between DMC-SPU and DPU and SPU.

• HK list with default parameters

• Simulated data description

• Software memory map

Page 19: PACS On-board Software  &  User Manual

PACS OBSW 19/33

PACS IQR 13 Jan 2005

DMC Software status

• Version 5.023 – in EEPROM on DMC EM– In KUL CVS repository

• Full acceptance test passed with version 5.016• Delta acceptance test passed with version

5.020• Modifications since 5.020:

– Changed default mechanisms controller parameters– Complete rebuild

Page 20: PACS On-board Software  &  User Manual

PACS OBSW 20/33

PACS IQR 13 Jan 2005

DMC Software status: open issues

• Open SPRs:– 161 – Non nominal behaviour of

DMC_FW_GRATHALL_A&B: not a software problem– 250 – Swoff spectro array should never be rejected:

accepted for implementation in future version

• Others:– Grating controller error detection still need some

improvements– Some FPGA bug correction still need to be removed

when the final version of the FPGA will be available

Page 21: PACS On-board Software  &  User Manual

PACS OBSW 21/33

PACS IQR 13 Jan 2005

DMC Software status: autonomy concept

• No autonomy in DMC OBS except for:– To protect grating from bad operation, the controller

can be disabled by DMC OBS when some errors are detected.

Page 22: PACS On-board Software  &  User Manual

PACS OBSW 22/33

PACS IQR 13 Jan 2005

DMC Software status: SUSW – ASW interaction

• SUSW is used to copy from EEPROM to RAM or to upload new version of ASW in RAM (the writing in EEPROM is done in the ASW itself)

• SUSW does not have to know anything about ASW => no SUSW update required. Everything is done via commanding.

Page 23: PACS On-board Software  &  User Manual

PACS OBSW 23/33

PACS IQR 13 Jan 2005

Software status : default settings in DMC OBS

• All writeable parameters have default parameters.

• The mechanisms controller defaults values are for room T° operations

• All functionalities are available without overwriting any of the default values (except for the grating direction that must be inverted for grating QM)

• Simulated science test modes available

Page 24: PACS On-board Software  &  User Manual

PACS OBSW 24/33

PACS IQR 13 Jan 2005

Documentation status

• URD v2.2 (01/10/2003)• SSD v1.0 (03/10/2003)• SUM v3.3 (06/12/2004)• Test Plan v1.4 (02/12/2004)

Page 25: PACS On-board Software  &  User Manual

PACS OBSW 25/33

PACS IQR 13 Jan 2005

CAPTEC review follow-up

• 2 bugs detected in HK generation• URD-SSD update needed• SUM updated with additional information

Page 26: PACS On-board Software  &  User Manual

PACS OBSW 26/33

PACS IQR 13 Jan 2005

User Manual overview

• Content:– Procedure to start/upload the software– Description of commands– ‘How to use’ sections for grating, chopper, …– Description of telemetry

Page 27: PACS On-board Software  &  User Manual

PACS OBSW 27/33

PACS IQR 13 Jan 2005

TM/TC Status of BOLC

• No OBSW within BOLC, however it controls the photometer FPU and has its command and sync. interface via DMC.

• Commanding and HK defined in:– BOLC to DMC Electrical ICD, Sap-PACS-CCa-0046-01

• Operations of the entire photometer are described in:– PACS Photometer FPU User manual, Sap-PACS-MS-0247-

04

• Testmode of science data available and tested

Page 28: PACS On-board Software  &  User Manual

PACS OBSW 28/33

PACS IQR 13 Jan 2005

TM/TC Status of BOLC

• Warm and cold functional tests, cooler recycling, setup and operation of the bolometer detectors has been successfully tested following the User Manual.

• Open Issues:– [Unexpected loss of the spacecraft powered 28 V line may

cause irreversible damage to the bolometers] – Wrong and/or incomplete bias settings to the bolometers

may cause irreversible damage to the bolometers. Although limit monitoring instructions are being provided within the user manual, a clear strategy to monitor and autonomously recover from failed bias commands does not exist yet.

Page 29: PACS On-board Software  &  User Manual

PACS OBSW 29/33

PACS IQR 13 Jan 2005

Qualification Status of PACS OBSW (1)

PACS WE mounted on SVMSimulator panel

BOLC

DPU

DMC SPU

SPUDMC

Page 30: PACS On-board Software  &  User Manual

PACS OBSW 30/33

PACS IQR 13 Jan 2005

Qualification Status of PACS OBSW (2)

• All latest PACS OBSW packages reside in KUL CVS with SPR system in place.

• DPU, mostly successful testing during AVM ILT2 Problems: 1553 memory corruption and burst mode

• SPU, mostly successful testing during AVM ILT 2 Problems: Science data compression ratio (+ CPU workload),

potential data misalignment in spectroscopy (SPU or DMC ?)• DMC mostly successful testing during AVM ILT No major open problem at present, however the present software

has built in corrections for FPGA misbehaviour which need to be removed in future versions.

• BOLC, successful testing during AVM ILT2 Problems: (Unexpected switch-off), procedural handling in case of failed detector bias setting (missing specifications).

Page 31: PACS On-board Software  &  User Manual

PACS OBSW 31/33

PACS IQR 13 Jan 2005

Qualification Status of PACS OBSW (3)

• 19 out of the available 34 OBCPs have been tested during the ILT. (All OBCPs which are planned for use in actual AOTs have been verified.)

• Other OBCPs are either obsolete (6-7) and/or require updates according to the results of the ILT.

• The concept of OBCPs (service 18) in general has been verified.

Page 32: PACS On-board Software  &  User Manual

PACS OBSW 32/33

PACS IQR 13 Jan 2005

The “PACS” User Manual

• All information how to use and operate PACS is at present contained in 4 separate user manuals according to the individual WE sub-systems and a number of other documents.

Page 33: PACS On-board Software  &  User Manual

PACS OBSW 33/33

PACS IQR 13 Jan 2005

The “PACS” User Manual

• The way to go for a User Manual according to the OIRD (mostly to be collected from other already available documents): – Introductory, flow and descriptive information– Instrument interfaces and performance (heat diss., power cons. etc)– Instrument Operations Modes (details TBW) – Instrument failures, fault management and redundancy (TBW)– OBSW pointer to sub-system SUMs, OBSM facility ?– Telemetry pointer to DPU SUM, sub-system SUM and MIB– Telecommands pointer to DPU SUM, sub-system SUM and

MIB– Instrument Operations Procedures (Comm., Nom., Cont.) (Partly available as TOPE procedures, to be updated and TBW) – Instrument Budgets (power, data, mass, error and alignment, timing)– Instrument Science Data Definition