HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME...

40
10 July 2003 J.L. Béney 1 HFI Software Internal Review PLANCK ME/DPU OBSW Presentation • ME presentation (both DPU and OBSW) • Management of the SW (documentation, team, responsabilities...) • Requirements of the specific subsystem (User Requirements, Functional Requirtements, Architectural Design) • Design & production of the Code • Testing & Delivery

Transcript of HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME...

Page 1: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 1

HFI Software Internal ReviewPLANCK

ME/DPU OBSW Presentation

• ME presentation (both DPU and OBSW)

• Management of the SW (documentation, team, responsabilities...)

• Requirements of the specific subsystem (User Requirements, Functional Requirtements, Architectural Design)

• Design & production of the Code

• Testing & Delivery

Page 2: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 2

HFI Software Internal ReviewPLANCK

ME/DPU Localisation

Ariane5 + Herschel-Planck

Planck S/C

Planck SVM

HFI ME/DPUPrime andRedundant

Page 3: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 3

HFI Software Internal ReviewPLANCK

CQM ME/DPU

Page 4: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 4

HFI Software Internal ReviewPLANCK

CQM DPU-MP

Page 5: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 5

HFI Software Internal ReviewPLANCK

CQM DPU-PDP

Page 6: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 6

HFI Software Internal ReviewPLANCK

CQM1 DPU-DP

Page 7: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 7

HFI Software Internal ReviewPLANCK

OBSW Interfaces

C D M U

O B SW

D P U

D C E

O BS W

R U

O BS W

4 K C D E

H F I

S C O S 2 0 0 0

G ro un d S egm en t

O BS W

H F I O B S WInterfa ces

FPG A

Page 8: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 8

HFI Software Internal ReviewPLANCK

OBSW parts• OBSW contains 4 parts:

– Several test routines (TSW)• Used for DPU H/W validation• A sub-set used by BSW for DPU H/W check

– One boot software (BSW)• Starting after :

– 28V switch Off/On– watch-dog reset– S/W reset

– Several drivers (DSW)• Used by TSW, BSW ASW to control Mil-Std-1553B, HSL, LSL, HSK scan,

LOBT, SRAM Parity, Relay, Wachdog, EEPROM.

– One application software (ASW).

• ASW + DSW developped under VspWorks RTK• BSW + TSW developped without VspWorks RTK

Page 9: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 9

HFI Software Internal ReviewPLANCK

ME OBSW Documentation

Existing Documents

Name Reference Version Status HFI Instrument Main Electronics On Board Software URD UR-PHBC-990228-LAL 1/3 Frozen HFI On Board Software Technical Specifications TS-PHBC-100006-LAL 1/3 To be updated HFI On Board Software Architectural Design TD-PHBC-100027-LAL 1/0 To be updated Instrument Main Electronics – OBSW Interface Control Document IC-PHBC-200031-LAL 1/0 To be updated HFI ME OBSW TC and TM list Not referenced Draft 1 In preparation HFI ME OBSW Management Plan PL-PH110-300042-LAL 1/0 To be updated Planck HFI Main Electronics Master Schedule SC-PHB121-100013-LAL 1/2 Updated Instrument Main Electronics - DPU FPGA Architectural Design TD-PHBA-200030-LAL 1/0 To be updated

Foreseen Documents

Name Reference Version Status HFI ME OBSW Detailed Design Document Begun HFI ME OBSW BSW Test Plan HFI ME OBSW ASW Test Plan Begun HFI ME S/W Validation and Verification Plan HFI ME OBSW DSW & TSW Detailed Design Document Begun HFI ME OBSW ASW Detailed Design Document HFI ME OBSW User’s Manual HFI ME EUS Design (ReuSim, 4kcdeSim and DceSim) HFI ME EUS Test Plan (ReuSim, 4kcdeSim and DceSim)

Page 10: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 10

HFI Software Internal ReviewPLANCK

DPU OBSW Team

• DSW+TSW+BSW development & test:M. Dehamme

• ASW development & test: J. Lebahar

• EUS development & test: J.C. Marrucho

• OBSW manager: J.L. Béney

• Configuration Manager: B. Mansoux

• OBSW PA Manager: B. Mansoux

Page 11: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 11

HFI Software Internal ReviewPLANCK

ME OBSW Requirements 1/2

• First level of requirements in the Annoucement of Opportunity (AO).

• An URD has been written to make an assessment of the AO and to complete the requirements (with requirement numbering).

• With Archeops experience return, requirements has been refined and sometimes changed particularly on science data treatment !!!!

• ME OBSW interfaces has slightly changed (S/C & REU)

Page 12: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 12

HFI Software Internal ReviewPLANCK

ME OBSW Requirements 2/2

• A major requirement listed in the AO: Maintain the observation continuity.

• It can be partitionned in 2 second order requirements:– HFI needs to recover autonomously any untimely FPU warm-up

=> FDIR study.

– HFI needs of re-synchronisation features more than re-configuration features (i.e. if a sub-system failed, ME OBSW shall restart the sub-system in its previous state without re-setting other HFI parts => FDIR and Re-synchronisation study.

• All these requirements change will be updated in the ME OBSW technical specifications document (Not in the URD).

Page 13: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 13

HFI Software Internal ReviewPLANCK

ME OBSW functions

• ME OBSW functions– OSF1: Monitoring and commanding the HFI– OSF2: Telecommands management– OSF3: Cooler data acquisition– OSF4: Readout data acquisition– OSF5: DPU-PSU housekeeping data acquisition– OSF6: Housekeeping telemetry packets formatting and

sending– OSF7: Science data compression– OSF8: Science telemetry packets formatting and sending– OSF9: Software maintenance– OSF10: Boot and diagnostic software.

Page 14: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 14

HFI Software Internal ReviewPLANCK

I/F with Ground and S/CN° Service Type Service Subtype TC TM ER

1 Telecommand Verification

Telecommand Acceptance Report – Success

TM(1,1)

Telecommand Acceptance Report – Failure

TM(1,2)

Telecommand Execution Report – Success

TM(1,7)

Telecommand Execution Report – Failure

TM(1,8)

3 Housekeeping & Diagnostic

Data Reporting

New Housekeeping Parameter Report

TC(3,1) Yes

New Diagnostic Parameter Report

TC(3,2) Yes

Clear Housekeeping report TC(3,3) Yes

Clear Diagnostic Report TC(3,4) Yes

Report Housekeeping Definition

TC(3,9) No

Housekeeping Parameter Report Definition Report

TM(3,10)

Report Diagnostic Definition TC(3,11) No

Diagnostic Parameter Report Definition Report

TM(3,12)

Housekeeping Parameter Report

TM(3,25)

Diagnostic Parameter Report TM(3,26)

5 Event reporting Event Report TM(5,1)

Exception Report TM(5,2)

Error/Alarm Report TM(5,4)

6 Memory Management

Load Memory Using Absolute Addresses

TC(6,2) Yes

Dump Memory Using Absolute Addresses

TC(6,5) Yes

Memory Dump, Absolute Addresses

TM(6,6)

Check Memory Using Absolute Addresses

TC(6,9) Yes

Memory check Report, Absolute Addresses

TM(6,10)

8 Function Management

Start Function TC(8,1) Yes

Stop Function TC(8,2) Yes Perform Activity of Function TC(8,4) Yes

Report Function Status TC(8,5) Yes

Function Status Report TM(8,6)

9 Time Management Enable Time Synchronisation TC(9,4) Yes

Time Code TLP or TC(9,5)

Yes

Enable Time Verification TC(9,7) Yes

Time Verification Report TM(9,9)

14 Packet Transmission Control

Enable Transmission of Telemetry Packets

TC(14,1) Yes

Disable Transmission of Telemetry Packets

TC(14,2) Yes

Report Enabled Telemetry Packets

TC(14,3) No

Enabled Telemetry Packets Report

TM(14,4)

17 Test Service Perform Connection Test TC(17,1) Yes

21 Science Data Transfer

Nominal Science Data Report TM(21,1)

Science Type B Data Report TM(21,2)

Diagnostic Science Data Report

TM(21,3)

Auxiliary Science Data Report

TM(21,4)

Page 15: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 15

HFI Software Internal ReviewPLANCK

OSF2: Telecommand Packet

O n Bo a rdM a n a g e m e n t

S cie n ce D a taM a n a g e m e n t

RUM a n a g e m e n t

D C EM a n a g e m e n t

4 K C D EM a n a g e m e n t

O B S W S tru ctu re for the F u n ctionM a n a g em en t S erv i ce

D PUM a n a g e m e n t

Pa ck e tErro r C o n tro l

D a ta F ie ldH e a d e r

Pa ck e tH e a d e r

S IDFID + AID

Pa ck e tErro r C o n tro l

D a ta F ie ldH e a d e r

Pa ck e tH e a d e r

S IDFID + AID Pa ra m e te r s

Ap p lica tio nD a ta

Ap p lica tio nD a ta

Le n g h t o f TC 1

A p p lic a tion D a ta (A D ) of a p r iva te TC

AD o f TC 1 Le n g h t o f TC n AD o f TC n...

Pa ra m e te r (A D ) of a n unif ie d TC

Page 16: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 16

HFI Software Internal ReviewPLANCK

TC Acknowledge

Pa ck e tErro r

C o n tro l

D a taFie ld

H e a d e r

Pa ck e tH e a d e rTC (8 ,4 )

S IDFID + AID= 4 K C D E

Ap p lica tio nD a ta

Pa ra m e te r sS IDFID + AID= REU

Pa ra m e te r s

Pa ck e tErro r

C o n tro l

Pa ck e tH e a d e rTM (1 ,1 )

Pa ck e tH e a d e rTC (8 ,4 )

4 K C D EAck n o w le d g e

Pa ck e tErro r

C o n tro l

Pa ck e tH e a d e rTM (1 ,7 )

Pa ck e tH e a d e rTC (8 ,4 )

REUAck n o w le d g e

U nified T eleco m m a nd fro m g ro und to g ro und

T C R e c e ptio no n 1 5 5 3

If T C fo rm a t O kthe n fo rm a t the T MA c c e pta nc e R e po rt

S e nd T MA c c e pta nc e

R e po rt

D e c o de a nd s plitA pplic a tio n D a ta

into S ub-s ys te m T C

E nc a ps ula te a nd s e ndT C to s ub-s ys te m

S e nd o fS ub-s ys te m

A c k no w le dg e

S e nd o fS ub-s ys te m

A c k no w le dg e

If A ll s ub-s ys te m T Ca c k no w le dg e d

the n fo rm a t theT M E xe c utio n R e po rt

S e nd T ME xe c utio n

R e po rt

E nc a ps ula te a nd s e ndT C to s ub-s ys te m

M E O B S W

Page 17: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 17

HFI Software Internal ReviewPLANCK

OSF1: Mode Management

T: D PUS wM tS tp-0 1 2 0 o rT: 4 K C D ES wM tS tp-0 1 2 1 o rT: R EUS wM tS tp-0 1 2 2

S tartu pM od e (O S P M )

B oo tM od e (O B T M )

S tan d byM od e (O S Y M )

O bserva tio nM od e (O O B M )

C om p ressionV a lida tion

M od e (O C V M )

D u m m y M o de(O D Y M )

W ith o u tC om p ression

M od e (O W C M )

F ro ma ll m o d es

V I M o de(O V IM )

O ptim isa tionM od e

(O O P M )

T: Tra n s it io n ty peE: En a ble s o m e th in gD : D is a ble s o m e th in gC : M a n da to ry co n dit io n

H S L S C IE N C E M O D EH S L M A IN T E N A N C E M O D E

O ff M od e(O O F M )

4 K C o o lerM ain ten an ce

M od e (O 4 M M )

T: S ta n dby R e t -0 1 1 1D : H S K 4 to H S K 9D : S C 1 to S C 4

T: S ta n dby -0 0 1 1E: H S K 1 -H S K 3E: H S K 2

T: O pt im -0 0 1 4E: S C 2 -1 ; D : S C 1

T: A u to o rT: C o n f ig -0 0 1 2E: S C 1 ; D : S C 2 -1

T: C o n f ig -0 0 1 2T: A u to ifFPU A la rm

T: O bs -0 0 1 3E: S C 1

T: A u to o rT: C o n f ig -0 0 1 2E: S C 1 ; D : S C 2 -2

T: V I -0 0 1 5E: S C 2 -2 ; D : S C 1

T: C o n f ig -0 0 1 2E: S C 1 ; D : S C 4

T: D u m m y S tp-0 1 0 9D : S C 1

T: D u m m y -0 0 0 9E: S C 1( fro m EEPR O M )

T: S ta rtA S W -0 0 0 2 o rT: A u to if D PU H W o k & FD I R m o de = A u to m a t ic E: D I A G 2

T: C o n f ig -0 0 1 2E: S C 1 ; D : S C 3

T: C o m pV a lid-0 0 1 6E: S C 3 ; D : S C 1

T: W C o m p-0 0 1 7E: S C 4 ; D : S C 1

T: S wR e s e t -A 0 0 1 o rT: M E W a tch -D o g R e s e t

T: Po we r O nE: D I A G 1

T: H o t4 K C M a in t -0 0 1 8T: 4 K C M a in tS tp-0 1 1 8

T: C o n f ig -0 0 1 2E: H S K 4 to H S K 9

C on f igu ra tio nM od e (O C N M )

H ot S /WM ain ten an ce

M od e (O S S M )

T: D PUS wM t-0 0 2 0 o rT: 4 K C D ES wM t-0 0 2 1 if4 K C D E in n o m in a l m o de o rT: R EUS wM t-0 0 0 2 2

T: S ta rtu pR e t -0 0 1 0D : A ll pa ck e t sE: D I A G 2

B oot S oftw a re (B S W )

A p p l i ca ti on S oftw a re (A S W )

H ot 4 K C o o lerM ain ten an ce

M od e (O H 4M )

T: 4 K C M a in tS tp-0 1 1 8T: 4 K C M a in t -0 0 1 9

Page 18: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 18

HFI Software Internal ReviewPLANCK

OSF1: FDIR Mode

FDIRMode

Isolation andRecovery

Modetransition

DPU moderesynchronisation

REU or 4KCDE moderesynchronisation

Manual Only by TC Only by TC Only by TC Only by TC

DPU automatic Only by TC Automatic if specified Automatic Only by TC

HFI automatic Automatic Automatic if specified Automatic Automatic

Page 19: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 19

HFI Software Internal ReviewPLANCK

OSF1: Identified FDIRSystem Failure Detection Isolation S/S

involvedRecovery S/S

involved

REU belt Short-circuit on DC-DC converter primary side

LCL fall down By PDP relay

ME LCL switch on S/C

REU Resynchronisation failure Flag REU None - Belt detection procedure

MES/C

DPU proc

Lost of communication No or badTM packet

None - LCL switch off-on

MES/C

REU proc

Lost of communication No or bad data packet

None - LCL switch off-on

MES/C

DCE Lost of communication No or bad data packet

None - LCL switch off-on

MES/C

4KCDE proc

Lost of communication No or bad data packet

None - LCL switch off-on

MES/C

System Failure Detection Isolation S/S involved Recovery S/S involved Status

DCE Blockage On pressure and flow None - Local baking ME, DCE TBD

4KCDE Blockage On pressure and flow None - Local baking ME, 4KCDE TBD

Page 20: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 20

HFI Software Internal ReviewPLANCK

OSF1: FDIR example

L o s t o fR E U c o m .

?

no

ye s

S/C : Switc h o f f R E UW ai t fo r 1 (TB C ) m inuteS/C : Switc h o n R E USe nd e ve nt"R E U hard re s e t"W ai t fo r 1 (TB C ) m inute

ye snoR E U c o m .R e c o ve ry

?

0 < i?

no

ye s

i = 0 i = i -1

This pro c e dure c an be arm e d"Arm C o unt" t im e s .

i is ini t ial is e d to Arm C o unt by TC .

1 e ve nt c an be ge ne rate d by:- R E U hard re s e t

2 e ve nts c an be ge ne rate d by D P U :- L o s t o f R E U c o m m unic at io n- R E U c o m m unic at io n re c o ve ry.

"L o s t o f R E U c o m m unic atio n" isge ne rate d af te r 1 (TB C ) m inute o flo s t o f R E U c o m m unic at io n ino rde r to al lo w a R E U watc h-do gre s e t .

FDIR example in discussion with

Alcatel

Page 21: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 21

HFI Software Internal ReviewPLANCK

Telemetry Packets 1/2Packet Category Packet

Name HP-PSICD

service Data Type Nominal

Datarate Used by

RTA Used by

QLA Diagnostic Diag1 TM(3,26) DPU hardware status - Yes No

Diag2 TM(3,26) REU and 4KCDE hardware status - Yes No

Housekeeping Hsk1 TM(3,25) Main housekeeping parameters 30 per min Yes May be

Hsk2 TM(3,25) Main configuration parameters 1 per min Yes May be

Hsk3 TM(3,25) = Hsk1 (sent in S/C failure mode) 4 per min Yes May be

Housekeeping (Science)

Hsk4 TM(3,25) Science channel configuration and raw data (belt 0 and 1) *

1 per min Yes May be

Hsk5 TM(3,25) Science channel configuration and raw data (belt 2 and 3) *

1 per min Yes May be

Hsk6 TM(3,25) Science channel configuration and raw data (belt 4 and 5) *

1 per min Yes May be

Hsk7 TM(3,25) Science channel configuration and raw data (belt 6 and 7) *

1 per min Yes May be

Hsk8 TM(3,25) Science channel configuration and raw data (belt 8 and 9) *

1 per min Yes May be

Hsk9 TM(3,25) Science channel configuration and raw data (belt 10 and 11) *

1 per min Yes May be

Science Sc1 TM(21,1) (Compressed and averaged data + one raw signal) per CS

8 per second

No Yes

Sc2-1 TM(21,2) – SID 1

(A lot of raw signals) per CS - No Yes

Sc2-2 TM(21,2) – SID 2

(Compressed and averaged data + one raw signal + V,I,T) per CS

- No Yes

Sc3 TM(21,3) Set of averaged data + same set of compressed and averaged data

- No Yes

Sc4 TM(21,4) (Averaged data + one raw signal) per CS - No Yes

Page 22: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 22

HFI Software Internal ReviewPLANCK

Telemetry Packets 2/2

• OSF6: Housekeeping and diagnostic telemetry– Around 1300 Telemetry Parameters downloaded by

service 3– Around 1300 Command Parameters– DataRate close to 3,7 kbit/s with 10% margin

• OSF8: Science telemetry – In the previous table, * means that raw data are coded

on 2 x (16 samples (on 16 bits) per half period)

Page 23: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 23

HFI Software Internal ReviewPLANCK

ASW Time-taggingB u s C o ntro lle rM il-S td -1 5 5 3 B

R e m o te T e rm ina lM il-S td -1 5 5 3 B

O B C1 3 1 0 7 2 H z c lo c k

LO B TLo a d R e gis te r

LO B TLa tc h R e gis te r

O B TLa tc h R e gis te r

O B TC o u nte r 4 8 b its

LO B TC o u nte r 4 8 b its

C S p u ls ege ne ra tio n

Lo a d o f 4 8 b its w o rd

H a rd w a re s igna l

S o ftw a re s igna l

O BC

C S p u ls e

M il- S td - 1 5 5 3 B b u s

C D M U sim ula to r M E /D P U

Page 24: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 24

HFI Software Internal ReviewPLANCK

ASW Task communication

R ea d /W rite

R ea d W rite

T a sk M a ster T a sk

R ea d /W rite

D P US ervice

T a sk

M em o ryT a b le

M a ster T a sk

O B S W A rch itec tu re

U n itsIn terro g a tio n

R ep o rtT a b le

H S K _T M _ T A B L E

T c T a b leS C IE N C E _ T M _

T A B L E

U n itC o m m an d

T a b le

S cien ceP a ges

M o n ito rin g &C o m m an d in g

H o u sek eep in gT M F o rm a ttin g

S cien ce T MP rod u ctio n

R E U D a taA cq u isition

D P U D a taA cq u isition

C o o ler D a taA cq u isition

T M _ E M IS S IO N

C o m m u n ica tio nw ith th e co o ler

electro n ics

D P UA cq u isition

C o m m u n ica tio nw ith th e R E U

C o m m u n ica tio nw ith th e

spa cecra f t

T C _ R E C E IP T

R E UR a w D a ta

P a g es

C o o lerD a ta T a b le

D P UD a ta T a b le

R E UP a ra m eter

T a b le

T A B _P A R A M

F a ilu reM a n ag em en t

R E UV(I ) D a ta

P a g es

Page 25: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 25

HFI Software Internal ReviewPLANCK

ASW Task triggering

U n itsIn terro ga tion

O B S W T a sk T r ig g er in g

R ep o rtT a b le

H o u sek eep in gT M T ab le

T CT a b le

S cien ceT M T ab le

U n itC o m m a n d

T a b leT A B _ P A R A M

S cien ceP a g es

M on ito rin g &C o m m a n din g

H o u sek eep in gT M F orm a ttin g

S cien ce T MP ro d u ction

R E U D a taA cq u isitio n

D P U D a taA cq u isitio n

C o o ler D a taA cq u isitio n

T M E m issio n

C o m m u n ica tionw ith th e

sp acecra f t

T C R eceip t

C o m m u n ica tionw ith th e co o ler

electro n ics

D P UA cq u isitio n

C o m m u n ica tionw ith th e R E U

T im er

T im er T im erT IM E R _ H S K _ S E M A wT IM E R _ C O M M A N D IN G _S E M A w

C O O L E R _ IR Q _ S E M A w

B C _IR Q _ S E M A w

C O M P R E S S IO N _S L IC E _ S T A R T _ S E M A wT IM E R _ U N IT S _

IN T E R R O G A T IO N _ S E M A w

R E U _IR Q _ S E M A wD P U _IR Q _ S E M A w

R ea d /W rite

R ea d W rite

T a sk M aster T a sk

R ea d /W rite

D P US ervice

T a sk

M em o ryT a b le

M aster T a sk

_ S E M A w

R E UR a w D a ta

P a g es

F a ilu reM an a gem en t

T im er

T IM E R _ F A IL U R E _S E M A w

B C _IR Q _ S E M A w

R E UV(I ) D a ta

P a g es

Page 26: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 26

HFI Software Internal ReviewPLANCK

ASW Load1 5 5 3 b u s:- 6 4 in terru p ts p er secon d- 1 5 p a ck et tra n sfers p er secon d

H S L :- 1 0 0 in terru p ts p er secon d- 1 0 0 p a ck et tra n sfer p er secon d

H O U S E K E E P IN G _ F O R M A T IN G tim er:- 1 a cti v a tion s p er secon d

C O M M A N D IN G _ M O N IT O R IN G tim er:- 5 a cti v a tion s p er secon d

D P U H S K :- 1 in terru p t p er secon d- 1 p a ck et tra n sfer p er secon d

L S L :- 4 in terru p ts p er secon d- 4 p a ck et tra n sfers p er secon d

C O O L E R _ IN T E R R O G A T IO N tim er:- 4 a cti v a tion s p er secon d

Page 27: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 27

HFI Software Internal ReviewPLANCK

BSW architecture

Star t o f H /W Te s tH P -P SIC D TM (3 ,2 6 )

Ini t ial is at io n

E E P R O M c he c ks um Te s t

E EP R O MT es t O k ?

N o

Yes

P -SR AM W rite /R e ad Te s t

P -S R AMM ajo r F ailu r e ?

N o

Yes

D -SR AM W rite /R e ad Te s t

N o

Yes

P R O M c he c ks um Te s t

P R O MT es t O k ?

N o

Yes

D -S R AMM ajo r F ailu r e ?

Input/O utput Te s t

I /OM ajo r F ailu r e ?

N o

Yes

B SW Idle

E nd o f H /W Te s t

C as e 1 : 1 5 5 3 I/F no t o k

L o s t o f c o m m unic at io n 2 : D -SR AM no t o k o r P R O M no t o k

B o o t P ro gram e r ro r , Try to c o m m unic ateS ignal e r ro r in 1 5 5 3 SA1 T

B SW Idle

D -SR AM Te s tP R O M Te s t

1 5 5 3 I/F Te s t(W itho ut us ing SR AM )

D -S R AM& P R O M & 1 5 5 3 I /F

T es t O k ?

U pdate S tar tN um be r in E E P R O MW atc h-do g Arm ( if c o nf igure d)

N o

Yes

1 5 5 3 data l ink laye r Ini t ial is at io n1 5 5 3 t rans fe r t laye r Ini t ial is at io n

H P -P SIC D Ini t ial is at io n( s e rvic e 1 , 8 , 6 )

1 5 5 3 data l ink laye r Ini t ial is at io n1 5 5 3 t rans fe r t laye r Ini t ial is at io n

H P -P SIC D Ini t ial is at io n( s e rvic e 1 , 8 , 6 )

F D I R m o d e ?M an u al

D P U o r HF I Au to m atic

H /W Te s t

L o ad ASW( C an u s e P - S R AM W r ite /R ead T es t

r es u lts )( Us e d ef au lt S R AM p ar ity c o n f ig u r a tio n

& E EP R O M AS W ar eas to r ed in E E P R O M )

R e s tar t W atc h-do g ( i f c o nf igure d)Switc h R e s e t

S tar t o f B SW :P ro c e s s o r Ini t ial is at io n

E nd o f B SW

1 5 5 3 Inte rrupt H a ndle rC as e : R e c e pt io n o f TC 1 : TC (8 ,4 ) = So f t R e s e t R e s e t the D P U . 2 : TC (8 ,4 ) = Switc h R e s e t Switc h to ASW . 3 : TC (8 ,4 ) = Se t FD IR m o de If M anual G o to B SW Idle If D P U o r H FI Auto m atic R e s tar t f ro m H /W Te s t 4 : TC (8 ,4 ) = L o ad ASW L o ad ASW into SR AM . 5 : TC (8 ,4 ) = H /W Te s t Te s t D P U hardware and TM (3 ,2 6 ) = D IAG 1 pro duc t io n. 6 : TC (6 ,x) (L o ad, D um p, C he c k) L o ad, dum p o r c he c k m e m o ry and TM (6 ,x) pro duc tio n.C as e : TM s ubf ram e avai lable 7 : If a TM (1 ,x) is in TM FIFO 8 : If a TM (6 ,x) is in TM FIFO 9 : If a TM (3 ,2 6 ) is in TM FIFO S to re i t in 1 5 5 3 I/F m e m o ry

Validat io n o f 1 5 5 3 inte r rupt

C as e 2

Validat io n o f t im e r in te r rupt

T im e r Inte rruptH a ndle r- Fo rm at D IAG 1 with H /W te s t avai lable data- S to re D IAG 1 in TM FIFO

Page 28: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 28

HFI Software Internal ReviewPLANCK

OBSW Development environment

– EZ tools (Analog Devices) at processor level (through JTAG)– Virtuoso gives standard tools of a Multi-task OS (task, semaphore, etc..)– Virtuoso Monitoring tools (Eonic) at RTK level: (Communication with

BSP through RS232)– Development of ASW on 21060 target with partial simulation of

Hardware.

A D SP2 1 0 6 0

C om p a c tPC I

A S W s im u la tor (on 2 1 0 6 0 )+ R T K m on itor in g th r ou g h B S P

A T L A S(E on ic )

A D SP2 1 0 2 0

D P U

E Z-IC EISA

E the rne t

JTA G B SPR S2 3 2

L oa d e r a n dD S P d e b u g g e r

O B SWStora g e

Page 29: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 29

HFI Software Internal ReviewPLANCK

ASW design & production 1/2Function\Version V1 V2 V3

OSF1: Mode management Basic Complete Yes

OSF1: Telecommand Transmission TC-TM(8,x) Basic Complete Complete

OSF1: HP-PSICD Packet Transmission Control service: TC-TM(14,x) No No Yes

OSF1: HP-PSICD Test service: TC(17,x) No No Yes

OSF1: HP-PSICD Event service: TM(5,x) No Partial Complete

OSF1: FDIR management No No Yes

OSF1: TC filtering No No Yes

OSF1: Re-synchronisation management No No Yes

OSF2: Telecommands management: TC-TM(1,x) Partial Complete Complete

OSF3: Cooler data acquisition Partial Complete Complete

OSF4: Readout data acquisition Complete Complete Complete

OSF5: DPU-PSU housekeeping data acquisition Complete Complete Complete

OSF6: Housekeeping telemetry packets formatting and sending : TC-TM(3,x) Complete Complete Complete

OSF7: Science data compression Partial Complete Complete

OSF8: Science telemetry packets formatting and sending: TM(21,x) No Complete Complete

OSF8: Science telemetry datarate management No No Complete

OSF9: Software maintenance: TC-TM(6,x) No Complete Complete

Page 30: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 30

HFI Software Internal ReviewPLANCK

ASW design & production 2/2

• ASW Architectural Design has been done.• No detailed design is foreseen since the AD is almost a

DD.• Coding phase has begun with:

– Version 1 developped on 21060 target (ATLAS) and ported on 21020 target (Breadboard Model)

– Version 2: current version in developpement on BM to allow the Interface Tests and the Calibration Tests

– Version 3: Last version integrated on the CQM and delivered for AIT-AIV warm unit tests.

– Version 3 release ? will be provided with the PFM/FS after having performed the complete test sequence.

• Version3 will integrate the OBSW high level features.

Page 31: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 31

HFI Software Internal ReviewPLANCK

BSW Design & Production

• Most of BSW parts are already developped and are used by TSW and ASW.

• The detailed design has begun and is an assembly of these parts.

• 2 versions are foreseen:– V1 will be delivered with the Breadboard Model for

calibration test– V2 will be delivered with the CQM for warm unit test.– V2 release ? will be delivered with PFM and FS.

Page 32: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 32

HFI Software Internal ReviewPLANCK

ME OBSW Test Activity 1/2

• Critical parts of the ME OBSW are identified:– BSW with

• Memory check, 1553 I/F check TSW• 1553 I/F DSW (Data Link Layer & Transfert Layer)• HP-PSICD services used in BSW (1, 3, 6, 8)• ASW Loader

• But critical and no-critical parts will be tested at:– Unit Test level– Integration Test level– Qualification Test level– Acceptance Test level

• Only testing coverage will be different between critical and no-critical parts.

Page 33: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 33

HFI Software Internal ReviewPLANCK

ME OBSW Test Activity 2/2

• Qualification and acceptance testing activity will be performed by OBSW part developpers before CQM delivery.

• Unit and Integration testing activity will be performed later before PFM delivery. Depending of the OBSW part, they could be sub-contracted.

• Test Requirements, Plans and Report will be used to trace the testing activity according to the template of the next slide.

• They will be prepared in a first time for Qualification and Acceptance tests.

Page 34: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 34

HFI Software Internal ReviewPLANCK

OBSW Test RPR 1/2

Title: xxx Electrical Test n°1

Test identification: xxx-Elec-1

Goals / Requirements to be tested: But du test !!!!

Test Configuration: Configuration hardware et software du test, avec un schema, c’est mieux !!!!

Test description: Principe de la procedure !!!! Preparation des differentes phases du test dans le tableau suivant !!!! Il servira aussi a noter les resultats et commentaires !!!!

Step Test aim Expected result Obtained result Comments 1

etc

Participants:

Redactors:

Duration/Comments:

Page 35: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 35

HFI Software Internal ReviewPLANCK

ME OBSW Test RPR 2/2S/W name Still to be done Test name Priority S/W

need H/W need Team

ReuSim Hardware 3 PC + IPR HSL R + oscillo Eric + Jean-Claude

ReuSim Tc/Tm interaction

Acceptance 1 PC + IPR HSL R + DPU Jean-Claude

4kcdeSim Hardware 2 PC + IPR HSL R + oscillo Eric + Jean-Claude

4kcdeSim i.e. ReuSim Acceptance 2 PC + IPR HSL R + DPU Jean-Claude DceSim Hardware 3 PC + IPR HSL R + oscillo Eric + Jean-Claude DceSim i.e. ReuSim Acceptance 3 PC + IPR HSL R + DPU Jean-Claude

ASW Unit 3 21060 target Josselin ASW Integration 1 21060 target + simulators Josselin ASW PUS configuration Qualification 1 BSP 21060 target or

DPU + simulators + EGSE Michel + Josselin

ASW Acceptance 1 BSP DPU + simulators + EGSE Michel + Josselin DSW &

TSW Memory management Hardware 1 DPU + simulators +

oscillo Eric + Michel

DSW & TSW

1553 optimisation Unit 1 DPU + simulators + oscillo

Eric + Michel

BSW PUS configuration Integration 2 DPU Michel BSW Diagnostic packet

prod. Qualification 2 DPU + EGSE Michel

BSW Acceptance 3 DPU + EGSE Michel

Page 36: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 36

HFI Software Internal ReviewPLANCK

Test environment at S/S level

I P R b oa r d P C I -6 5 0 3

HSL

HSL or LSL V HD L c od e

A c te lHSL

P C E U SM E -D P U -D P

8 2 C 5 5A lte raHSL

F ifo in

F ifo out

I P R b oa r d P C I -6 5 0 3

LSL8 2 C 5 5A lte ra

LSL

F ifo in

F ifo out

I P R b oa r d P C I -6 5 0 3

LSL 8 2 C 5 5A lte raLSL

F ifo in

F ifo out

A c te lLSL

R E US im

4 K C D ES im

D C ES im

LO B T

A S W

P C S /C S I M

S /CS im

Se nsora y

6 2 6

P C E G S E

R o u ter

S C O S 2 0 0 0

D a ta A n a lys isC lien t

E the rne t

E the rne t

D D C1 5 5 3

D D C1 5 5 3

B U -6 1 5 4 9

O B S W T estE n viro n m en t

Page 37: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 37

HFI Software Internal ReviewPLANCK

End of presentation.

Thank you.

Page 38: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 38

HFI Software Internal ReviewPLANCK

Software quality• Software management plan

– Responsabilities

– Development tools description

– Configuration management tools description

– Software development plan• Description of the life cycle (almost a V cycle)

• Description of foreseen review

– Software validation and verification plan overview

• Software validation and verification plan– Test (Requirement, Plan and Report)

– Test level (Unit, Integration, Qualification and Acceptance)

– Test coverage

Page 39: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 39

HFI Software Internal ReviewPLANCK

Présentation du DPU/DP

D P U -D P F u n ctio n a l B lo ck D ia g ra m

S /C D a taH an d lin g I/F

M IL -S T D -1553BD S F 6

M em oryM an ag .xP R O M ,

S R A M , E D A CD S F 2

L O B TM an agem en t &S yn ch ro n isa tion

D S F 4

D ata P rocessin gT S C 21020x

D S F 1

H F I P ow erD istribu tion

C om m an d in gD S F 5

C oo ler E lectron icsD a ta h an d lin g I/F

R S -422AD S F 8

D P UH ou sekeep in g

A cqu isitio nD S F 9

R E U D a taH an d lin g I/F

R S -422AD S F 7

P ro gra m b u s

D a ta b u s

D P U - D P A n a lo g H S K

T o /F ro m S p a c e c ra ft

D P U - P D P A n a lo g H S KT o /F ro m4 K C D E

T o /F ro m R E U

D ig i ta l P a rt

P o w e r su p p lie s( +1 5 V ,- 1 5 V ,5 V ,+2 .5 V )

F ro m D P U - P D P

T o /F ro mD C E

T o /F ro mD P U - P D P

O B C ( 1 3 1 0 7 2 H z)M il- S td - 1 5 5 3 B b u s

•Processeur : TSC21020x

•Program Memory :

–PROM : 32k x 48 bits

–EEPROM : 128k x 48 bits

–SRAM : 128k x 48 bits

•Data Memory :

–SRAM : 128k x 32 bits

•SEU detection

•Latch-up protection

•LOBT (48 bits counter)

•I/F MIL-STD-1553B

•I/F HSL and I/F LSL

•DPU HSK acquisition

–6 temperatures, 9 powers.

Page 40: HFI Software Internal Review PLANCK 10 July 2003J.L. Béney1 ME/DPU OBSW Presentation ME presentation (both DPU and OBSW) Management of the SW (documentation,

10 July 2003 J.L. Béney 40

HFI Software Internal ReviewPLANCK

Carte Proto DPU-DP (BM)