System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor...

62
System Hardening and Real Space Applications Michel PIGNOL CNES DCT/TV/IN 18 avenue Edouard Belin 31401 Toulouse Cedex 9 - FRANCE [email protected] http://www.cnes.fr Puebla Mexico Nov. 30 Dec. 04, 2015

Transcript of System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor...

Page 1: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

System Hardening

and Real Space Applications

Michel PIGNOL

CNES DCT/TV/IN

18 avenue Edouard Belin

31401 Toulouse Cedex 9 - FRANCE

[email protected] http://www.cnes.fr

Puebla – Mexico

Nov. 30 – Dec. 04, 2015

Page 2: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 2

■ Up to now, space computers are mainly developed with rad-hard ICs

■ Mainly for performance reasons (not for cost reasons), commercial electronic

integrated components (COTS ICs) will probably be more and more used

For microprocessors (µP), the performance gap is around 50 (average value)

LEON2 = 100 MIPS peak PowerPC7448 = 5100 MIPS peak

This gap is growing

PowerPC is superscalar, not LEON2

Motivation

Rationale for fault-tolerant architectures in the space domain

■ Due to the SEE sensitivity of COTS, they must be protected by fault-tolerant

mechanisms or architectures

■ SEE protections = high cost / planning overheads

=> it is important to assess carefully the safety/availability requirements

of the project to select the optimal fault-tolerant solution

Such solutions could range from very simple mechanisms having limited error

detection/recovery capabilities to complete protection with FT archi.

Page 3: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 3

1 – INTRODUCTIVE PART

■ Avionics architecture of a satellite

■ Good practices to face SEE

2 – ARCHITECTURE AND SYSTEM PROTECTIONS

■ 2-A – FDIR overview

■ 2-B – Processing units Time replication

Structural duplex

Triplex / Quadruplex

Micro-synchronized triplex

Fault-tolerant trade-off with analysis of theoretical case studies

3 – REAL CASE STUDIES

■ ATV, the ESA Automated Transfer Vehicule

■ MYRIADE, the CNES micro-satellite family

■ CALIPSO, a Franco-American mini-satellite

■ REIMEI (INDEX), a Japanese small satellite

4 – CONCLUSION

OUTLINE

Page 4: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 4

Acronyms

MBU Multiple Bit Upsets

SEE Single Event Effect

SEFI Single Event Functional Interrupt

SEL Single Event Latch-up

µSEL Micro latch-up

SET Single Event Transient

SEU Single Event Upset

TID Total Ionizing Dose

ADC Analog to Digital Converter

Acq Acquisition

ALU Arithmeric and Logic Unit

ATV Automated Transfer Vehicule

Cmd Command (actuation)

Cntl Control

COTS Commercial Off-The-Shelf

CPU Central Processing Unit

CRC Cyclic Redundancy Check

CTXT Context (software variable)

DRAM Dynamic RAM

DSP Digital Signal Processor

EDAC Error Detection And Correction

FDIR Fault Detection, Isolation and Recovery

FT Faut-Tolerant

FTC Fault-Tolerant Computer

GIPS Giga Instructions Per Second

IC Integrated Circuit

I/O Input/Output

ISS International Space Station

NG Next Generation

OBC On-Board Computer

PARAM Parameter (software variable)

PF PlatForm (of a satellite)

PL PayLoad (of a satellite)

R/W Read/Write

DMT Duplex Multiplexed in Time

(time replication at task level, CNES architecture)

DT2 Double Duplex Tolerant to Transient

(mini structural duplex at task level, CNES architecture)

N-MR N-Modular Redundancy

DMR Double-MR = Duplex

TMR Triple-MR = Triplex

QMR Quad-MR = Quadruplex

TC TeleCommand

TM TeleMetry

Tx /Rx Transmitter/Receiver

µP MicroProcesseur

µSL Micro-Satellite

VLIW Very Long Instruction Word (superscalar DSP

having several execution units working in parallel)

WD WatchDog

wrt With Regard To

CNES Centre National d'Etudes Spatiales, the French Space Agency

ESA European Space Agency

Page 5: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 5

1 – INTRODUCTIVE PART

© C

NE

S /

IS

RO

MEGHA-TROPIQUES: a

French / Indian mission to

improve our knowledge on

the tropical climate system;

launched in 2011

Page 6: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 6

Main sensitive

elements wrt SEE

Avionics architecture of a satellite

Sensors/Actuators

Tx/Rx Nominal

Tx/Rx Redundant

PF Mntrg&Cntl

computer Nominal

PF Mntrg&Cntl

computer Redundant

Cross-strapped

TM/TC

interconnection

TM/TC

data

Payload

Video electr.

(ADC)

Image

sensor

Data

compression

Video Tx High rate

PL M

ntrg

&C

ntl

unit

Avionic bus

Avionic bus

Sensors/Actuators Platform

HSSL

Mass

memory

Video

data Redundancy:

Hot

Warm

Cold

Avionic

buses &

other links

Po

we

r

Con

ve

rter

TM

& T

C &

Reco

nf.

Cen

tral P

roce

ssin

g

Unit

TM

Mass

Me

mo

ry

I/O

1

un

it

Internal links and buses

Usual budgets for small satellites

No redundancy

Volume = 3,3 litres / 5 boards

Mass = 3 kg

Power dissipation = 6 W

Usual budgets for large satellites

Nominal + Redundant units

Volume = 30 litres / 15 boards

Mass = 19 kg

Power dissipation = 55 W N

om

.

Red.

Nom

.

Red.

Nom

.

Red.

Nom

.

Red.

Nom

.

Red.

Nom

.

Red.

Nom

.

Red.

Nom

.

Red.

I/O

2

un

it

I/O

3

un

it

I/O

4

un

it

Nb of input/output interfaces

for small/large satellites:

Thermistors acq.: 30 to 200

Analog acq.: 30 to 100

Status acq.: 30 to 60

Heater cde: 10 to 100

Bi-level cde: 20 to 50

Low rate serial links: 5 to 15

+ Additional specific I/O i/f for:

Pyros, reaction wheels, magneto-

torquers, gyroscopes, magneto-

meters, GPS, thrusters, etc.

1 to 10

Gbit

TM/TC

links &

reconf.

signals

Unregu-

lated

power

bus

HSSL

HSSL

Ex. fo

r

Mn

trg

&C

ntl

co

mp

ute

rs

Page 7: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 7

SPOT 5 for

Earth observation

INMARSAT 4-F1 for

mobiles-to-mobiles

telecommunications

ALPHABUS, a family of

European Telecom satellites

with a common platform

from EADS ASTRIUM and

THALES ALENIA SPACE

Launched

in 2002

3000 kg

2400 W

5.7x3.1x3.1 m

2x60 km swath

2.5 m resolution

Launched

in 2005 .

6000 kg

14000 W

7x2.9x2.3 m

45 m solar arrays

10 m diam. antenna

© CNES / D. Ducros

© CNES / P. Le Doare © EADS ASTRIUM

© E

AD

S A

ST

RIU

M

© E

SA

/ C

NE

S

Max 8800 kg

Max 18000 W

The 1st launch is

ALPHASAT

in 2013

Page 8: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 8

GSTB-V2 computer (Galileo

System Test Bench; proposal

for Galileo satellites)

TM & TC & Reconf. board,

including 3 ASTRIUM ASICs:

- TC processing and reconf.

- TM formatting and routing

- Storage control for reconf.

CPU board using

ASTRIUM Multi-Chip-

Module (2003) based

on ERC32SC space µP

Fyber Optic

Gyro Electr.

Module

(I/O board)

AIRBUS DEFENCE & SPACE computers

© Courtesy of

AIRBUS DEFENCE & SPACE

Page 9: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 9

SEE – Effects of radiation on digital parts SEE : Single Event Effect

■ SEE concerns all effects due to a single particle

■ SEL/µSEL – (micro) Single Event Latch-up

Local short-circuit

Detection: loss of functionality or over-consumption / Protection: power-cycling

It is a good practice to avoid components which are sensitive to SEL

And if not possible, to limit their usage and to protect them with adequate solutions

■ SEU/MBU – Single Event (Multiple Bit) Upset / SET – Single Event Transient

■ SEFI – Single Effect Functional Interrupt

The component is put in a blocking state and a reset is not always capable to bring

it back into an operational state

Detection: loss of functionality (as for SEL)

Protection: reset (optional but recommended) and/or power cycling (mandatory)

■ Goal of faul-tolerant architecture protections

Thanks to DSM technos, more and more COTS parts are compliant with TID (Total

Ionizing Dose) and SEL space constraints

But all digital COTS components are sensitive to transients and upsets

=> The presentation targets SEU / MBU / SET / SEFI mitigation, mainly on µP

Page 10: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening

■ An ingenious SEL mitigation example (MYRIADE real case): +

Microprocessor

Current limitation

Vcc

RefreshWD

ERROR

OFF/ON

R-threshold

Vcc Watchdog

timer CLOCK

Reset Q0

Qn

Q1 . . .

minimizing the

number of parts

and, nevertheless,

implementing both

detection and both

mitigation methods

10

■ Whatsoever the 'detection' method is, it is a good practice to have a gradual

'recovery' process based on several levels, for instance:

First attempt following a detection: a quick 'standard' recovery (i.e. without reset) is

tried (in case of simple effect of an SET/SEU/MBU)

Second attempt: if the first attempt is not successful, a reset of the computer is done

(in case of more complex effect of an SET/SEU/MBU or in case of SEFI)

Third attempt: if the computer still does not become operational, then a power supply

cycling is done (in case of SEFI or SEL)

Such a multi-level recovery process is implemented on CNES MYRIADE

micro-satellite: See Section "3 – Real Case Studies"

Page 11: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 11

THALES ALENIA SPACE computers

© Courtesy of

THALES ALENIA SPACE

SMU-V1 computer (Satellite

Management Unit; platform

computer for SpaceBus4000

Telecom family satellites and

Globalstar2 satellite)

CPU board using

ATMEL ERC32SC space µP

and COPRES THALES ASIC

TM & TC & Reconf. board,

including 2 THALES ASICs:

- TC processing and reconf.

- TM formatting and routing

and including 4 THALES

hybrids for generating

command signals

Satellite

Distribution

and Interface

Unit for

Telecom

satellites

(I/O board)

Page 12: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 12

© E

SA

EUCLID: an ESA mission to

map galaxies, to analyse their

distribution and their apparent

deformation under effect of the

dark matter, for a better

understanding of the dark

matter and its influence on the

origin of the accelerating

expansion of the Universe;

launch planned in 2020

2 – ARCHITECTURE AND SYSTEM PROTECTIONS

Page 13: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 13

2-A – FDIR overview

Page 14: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 14

■ Main objective of the FDIR strategy

To keep the integrity of the satellite (i.e. its operational capability) in presence of

anomalies

There is not an universal strategy, it is a case-by-case basis definition depending on the

mission and on the considered faulty unit

The FDIR strategy – Fault Detection, Isolation and Recovery

■ Usual FDIR strategies when an anomaly is detected

"Satellite survival mode" = minimal mode allowing to keep at an acceptable level the

electric pw, the internal temperature and the TM/TC link with the ground cntrl station

Earth observation satellites: To pass in the survival mode and to leave to the ground

control station the detection of the source of the anomaly then the selection of the

best recovery strategy

Telecom satellites: To reconfigure the avionics architecture to try to passivate the

anomaly in order to remain in operational mode as long as possible to comply with

the availability requirements; to limit the survival mode usage to exceptional cases

=> Telecom satellites have an higher autonomy than Earth observation satellites

Page 15: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 15

■ Recovery action when an anomaly is detected

Only few alarms are highly critical and directly start a recovery action

The FDIR strategy (cont.)

■ Some examples of the "anomaly filtering process"

Time redundancy at the system level

when a task (thermal control, attitude and orbit control system, etc.) trigger an alarm during a given

iteration, it is checked if the same alarm is still triggered during the next iteration(s) of this task

Comparison between sensors to confirm an incoherent data

coupling with dedicated algorithms of linked data issued from gyro sensors and from the star sensor

Start a BIST (Built-In Self Test) into the intelligent sensor which have issued the

incoherent data

=> examples of such critical alarms

- power falling down

- software watchdog

- Earth sensor alarm for

some missions

=> and associated recovery action in case of cold redundancy

- switch-off nominal computer and nominal peripheral units

- switch-on redundant computer and a mini. of redund. periph.

- then start from scratch and put the spacecraft in "attitude

acquisition & safe hold" mode

sensors &

actuators

For all the other alarms, the general rule is "to try to confirm the alarm before

starting a recovery action", thanks to the "anomaly filtering process"

Page 16: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 16

2-B – Processing units / Fault-tolerant architectures

Page 17: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 17

■ Comparators and voters are usually implemented in FPGA / ASIC

either not sensitive to SEE by design (D-FF triplication, etc. => thus

COTS are usable) or implemented in radiation-tolerant technologies

General remarks

■ Definitive failures are mitigated through a redundant unit; this is the

general way to process in the space domain where repair is not

possible even with HiRel ICs

Page 18: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 18

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 19: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 19

■ Principle

No hardware replication => No extra recurring cost

The same software is processed N-times successively on the same CPU

Detection capability: the results of the different replicas are compared

Time replication

■ Time replication at instruction level

See the talk "Hardening at Software level" by Politecnico di Torino

Page 20: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 20

Line

A3

Line

A2

Time redundancy architecture

Software

Vote

A1-A2-A3

Single

CPU

T = 12 T = 11 T = 10 T = 9

Line

A1

T = 8 T = 7 T = 6 T = 5

T = 4 T = 3 T = 2 T = 1

instructions

Computer hardware

Piece of

code

Time-slots

TMR architecture

Software instructions Computer hardware

Line

A1

Line

A2

Line

A3

CPU

#1

CPU

#2

CPU

#3

Vo

tin

g

log

ic

T = 3 T = 2 T = 1

Piece of

code

Time-slots

TTMR – Time-TMR (Space Micro Inc. – USA)

Line

C3

Line

C2

Vote

C1-C2-C3

Line

C1

Line

B1

Line

B2

Line

B3

© IEEE – Space Micro Inc.

(adapted from)

■ Time replication at instruction level: real case example of an industrial

development

One TTMR possibility

Software instructions VLIW DSP Hardware IC

Instruct

C1

Instruct

C2

Instruct

C3

Instruct

B1

Instruct

B2

Instruct

B3

Instruct

A1

Instruct

A2

Instruct

A3

ALU

#1

ALU

#2

ALU

#3

T = 4 T = 3 T = 2 T = 1

Single

instruction

Clock cycles

MMU Cache

Clock

cntl

Cntl

logic

Bus interface

Bus

cntl

Parallel

I/O

Vote

A1-A2-A3

Vote

B1-B2-B3

Vote

C1-C2-C3

SEU

Line

C1

Line

C2

Line

C3

Line

B3

Line

B2

Vote

B1-B2-B3

Line

B1

… with weakness

…/…

Page 21: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 21

Improved TTMR architecture

Repeat 2 instructions

100% of time

Compare A1-A2 100%

with "free" branch

Software instructions VLIW DSP

Instr

A1 ALU #1

T=5 T=4 T=3 T=2 T=1

Instr

A2 Comp

A1-A2

ALU #2

Branch #1

TTMR architecture

Software instructions VLIW DSP Hardware IC

ALU

#1

ALU

#2

ALU

#3

T = 4 T = 3 T = 2 T = 1

Single

instruction

Clock cycles

MMU Cache

Clock

cntl

Cntl

logic

Bus interface

Bus

cntl

Parallel

I/O Instruct

A3

Instruct

A2

Instruct

A1

Vote

A1-A2-A3

Instruct

C3

Instruct

C2

Instruct

C1

Vote

C1-C2-C3

TTMR – Time-TMR (Space Micro Inc. – USA) (cont.)

© IEEE – Space Micro Inc.

(adapted from)

…/…

Instruct

B3

Instruct

B2

Instruct

B1

Vote

B1-B2-B3

ALU #3

Branch #2

Not

required

99% of

time

Instr

A3 Comp

A1-A3

When NO match,

complete instr A3

and additional

compare

Page 22: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 22

■ Proprietary architecture

Space Micro Inc. patent

■ Dedicated to VLIW DSP (Very Long Instruction Word - Digital Signal

Processor)

Given that the ALUs are generally speaking not all fully used, not too

much time is lost due to the time replication

■ The TTMR algorithm is coded into a "post-compiler"

All the know-how lies in the "post-compiler": instruction replication + vote

insertion + instr.->ALU assignment + instr. reordering to avoid empty slots

The "post-compiler" must be developed for each targetted DSP

■ The SEFIs are processed by a patented

rad-hard watchdog circuit

TTMR pros/cons (cont.)

Page 23: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 23

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 24: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening

Macro-

granularity

One iteration

of three tasks RTC – Real

Time Cycle

preemption

Task C operational cycle

t

Real time

interrupt

Task A

OBT

Task B

AOCS

Task C

Thermal

Task T

Background

OBT = On-Board Time ; AOCS = Attitude and Orbit Control System

Sim

ple

ex

am

ple

of

a s

tati

c s

ch

ed

uli

ng

of

a f

lig

ht

so

ftw

are

in

a p

latf

orm

co

mp

ute

r

24

a low number of data to check => minimisation of overheads

the main fault-containment region

only all output data

(but not the huge

number of local data)

must be checked

the checking procedure runs at the end of each iteration of each task

■ Granularity impact deeply the definition and latency/overhead of FT mechanisms

Granularity for CNES DMT and DT2 fault-tolerant architectures

■ Coarse-grained granularity (macro-granularity) => task operational cycle

Page 25: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 25

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 26: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 26

Redundant computer

Switched-off in

cold-redundancy strategy

Processing Unit Core with DMT Redundant

computer

µP

Mem

Edac

Acq/Cmd

(I/O-Bus)

Nominal

computer

CC

DMT - Duplex Multiplexed in Time (CNES – Fr)

Redundant

computer

µP

Mem

Edac

CC

Acq/Cmd

(I/O-Bus)

PUC without DMT

Nominal

computer

Companion

Chip (watchdog,

timers, interrupt

cntl, I/O cntl, …)

+

Cesam

CESAM allows to segment the

memory for monitoring of

access rights:

1/ Avoid fault propagation

between virtual channels

2/ Secure context data even if

the µP is faulty

CESAM works as a Block

Protection Unit (of a Memory

Management Unit) with

specific mechanisms

Page 27: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening

27

Results

generat°

#i 3

DMT – Scheduling and fault detection principle

Wit

ho

ut

DM

T

Wit

h D

MT

t

Results

comp 2

Processing + Commands generation

#i

4 4 4

3

3

3

3

3

3

Processing

#i

n° 2

No in-out: all results (CMD,

CTXT, PARAM) are stored

in VC#2 temporary tables

VC#2

Processing

#i

n° 1

No in-out: all results (CMD,

CTXT, PARAM) are stored

in VC#1 temporary tables

VC#1

4

ACQ

comp Acq

#i

n° 1

Acq

#i

n° 2

1 1

VC#1

VC#2

If protection of sensors and

acq. electronics is required

Virtual

channel

PUC

1

Acqui-

sitions

#i

Iteration #i of a given task #T

*

PUC

In phase Processing phase Out phase

t

2

3

4 1

1

Page 28: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 28

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 29: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 29

Redundant

computer

Switched-off

in cold-redun-

dancy strategy

Redundant

computer

µP

Mem

Edac

CC

Acq/Cmd

(I/O-Bus)

PUC without DT2

Nominal

computer

Companion

Chip (watchdog,

timers, interrupt

cntl, I/O cntl, …)

Redundant computer

µP

Mem

Edac

CC

Acq/Cmd

(I/O-Bus)

Nominal computer

PUC#1

3/ Input/output controller

DT2 - Double Duplex Tolerant to Transients (CNES – Fr)

Processing Unit Core with DT2

Monitoring

of memory

access rights

+

Cesam

Syclopes

Error

Mem

Edac

CC

µP

PUC#2

1/ Macro-synchronization on each I/O request

2/ Comparator

+

Cesam

Page 30: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening

30

Acqui-

sitions

#i

1 1'

1'

Rqust

comp

Req

ues

t fo

r

acq

uis

itio

ns

Wait

Mac

rosy

nch

r

Req

ues

t fo

r

acq

uis

itio

ns

Wait

Input

request

DT2 – Scheduling and fault detection principle

Wit

ho

ut

DT

2

Wit

h D

T2

PUC

4

Results

generat°

#i

3

3

Request

& results

comp

2

2

Acqui-

sitions

#i

Processing + Commands generation

#i

4 4 4

3

3

3

3

3

3

Ack

no

wle

dg

e

ACK

Mac

rosy

nch

r

Req

ues

t fo

r

resu

lts

gen

e.

Output

request

Ack

no

wle

dg

e

ACK

Processing #i No in-out: all results (CMD, CTXT,

PARAM) are stored in temporary tables

Iteration #i of a given task #T

1

Wait

Wait Processing #i

No in-out: all results (CMD, CTXT,

PARAM) are stored in temporary tables

Req

ues

t fo

r

resu

lts

gen

e.

* t

PUC#1

PUC#2

Syclopes

In phase Processing phase Out phase

3 3

4 1

1' 1'

2 2

t

Page 31: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 31

=> Specific mechanisms are required for implementing a

recovery with a duplex architecture

■ A duplex is not able to recover

no information is available for determining which is the

healthy/faulty channel (unlike a triplex architecture)

Problem of recovery with a duplex

■ A duplex is able to detect

comparison

A duplex is intrinsically

a “fail-stop” architecture =>

Page 32: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 32

t

Real-time

interrupt

Cmd

#i-1

Cmd

#i

Cmd

#i+1

Cmd'

Cmd''

Context

#i-1 #i #i+1

■ Nominal timing for PUC#1 and PUC#2

t

Context

#i

t

Context

#i

■ Backward recovery

PUC#1

PUC#2

SYCLOPES t

SEU

3/ Stop & reset & rollback signal 2/ Detection 4/ No data communication

between PUCs

#i

Cmd

#i

Cmd

#i

#i

Example of a DT2 backward recovery

NOK OK

1/ Timing margin

for recovery if

static task

scheduling

Page 33: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 33

■ A completely crashed / hanged µP must be detected, and

a warm-restart must be done on the software

A µP crash or hang will be detected

By several mechanisms, e.g. memory access right monitoring

In the DT2: by the very short timeout monitoring each macro-synchro request

In the DMT: at least by the usual watchdog-timer

A µP reset allows to passivate SEFI

The software warm-restart is possible thanks to the healthy context

Two main conditions to recover successfully

■ The context data – basis of the recovery – must be healthy

The memory is considered SEE-free, thanks to an EDAC

A completely crashed µP must not be able to errouneously write

in the memory zone where is stored all the context data

Thanks to CESAM which checks the memory access rights

The final location of context data is updated only after the comparison

of all results, and only if 100 % of results (CMD + CTXT + PARAM) are healthy

Page 34: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 34

DMT / DT2 pros/cons

CNES proprietary architectures

Available for every company

Open and scalable architectures

Possibility to implement evolutions

Possibility to select a subset of the validated mechanisms

Low cost architectures

Generic architectures independent from the microprocessor choice

DSP or general purpose µP, single or multi-cores, superscalar or not, VLIW or not

No new development required when used on a new microprocessor

Error coverage rate less than the one of a triplex architecture …

… nevertheless suffisant for payloads

A single know-how for a two-fold architecture

Same general principles for DMT and DT2 => one development for two different

implementations, compatible with a larger part of potential applications

Page 35: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 35

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 36: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 36

■ Detection done by the majority vote

■ Recovery in two steps

Fault-masking: The channels continue the processing for a short period of time; results

of the faulty channel are continuously masked thanks to the healthy data issued by

healthy channels => all commands and actuations will be correct

Channel alignment: The faulty channel is reinserted later because it takes a long time

TMR-Triplex &

QMR-Quadruplex

architecture

Voter

IO-Bus (N)

BC

Voter

BC

Voter

IO-Bus (R)

BC

Voter

BC

ICN Voter

V1 V2 V3 V4

µP

Mem

Pw Ck

µP

Mem

Pw Ck

µP

Mem

Pw Ck

µP

Mem

Pw Ck

CPU1 CPU2 CPU3 CPU4

ICN allows

several-round

interactive

consistency

exchanges to be

robust to

byzantine faults

ICN = Inter-Channel Network

BC = I/O Bus Controller

IO-Bus = e.g. MIL-STD-1553

(N) = Nominal

(R) = Redundant

Pw = Power supply

Ck = Clock generator

Can be switched-off

Options

Redundant channel

Can be switched-off in

cold-redundancy strategy

Pw Ck Pw Ck Pw Ck Pw Ck

Lot of implementation

possibilities, depending on

robustness and mission

requirements

Page 37: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 37

■ Specificities / constraints

Architecture pertaining to the distributed computing domain

Architecture requiring the highest level of theoretical analysis

Architecture generating an incredible number of theoretical studies

(PhD, R&D, …), and a lot of different implementations depending on the

user needs and system requirements

■ Pros/cons

The best level of error coverage + masking capability (delayed

recovery) well suited to some kind of applications

Overheads:

• Mass

• Recurring cost (extra ICs)

• Power consumption

• Complexity

TMR & QMR pros/cons (cont.)

Page 38: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 38

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 39: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 39

■ All the µPs execute the same instruction at exactly the same clock cycle

■ It requires to have a µP having a lock-stepping capability (e.g. synchro-

nization of internal clock generators, bus comparators, …)

• Very old µP: Intel Pentium & i960, IBM RH6000, Atmel three-chip ERC-32

• Old µP: IBM PowerPC740/750

• Recent µP: ARM Cortex-R family (dual-core)

Micro-synchronized triplex architecture ("lock-stepping")

µP

Voter

µP

Mem

µP BC = I/O Bus Controller

IO-Bus = e.g. MIL-STD-1553

(N) = Nominal

(R) = Redundant

Pw = Power supply

Ck = Clock generator

Switched-off module

BC CB

R

µP

Voter

µP

Mem

µP

BC Pw Ck Pw Ck

IO-Bus (N)

IO-Bus (R)

Redundant computer

Switched-off in cold-

redundancy strategy

Page 40: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening

…+ invalidate caches

+ reset faulty µP…

Voter

Mem

µP µP µP

X Y

X X Y W Y Z

…+ load reg/conf reg…

Voter

Mem Y X

µP X

µP X

µP

Voter

Mem

µP X Y

µP X W

µP X Y

Error detect° => Start

recov: Flush reg/caches…

40

Voter

Mem

µP

Reg Cache

S T

µP S

µP S T

S S S

S

T

Nominal processing

phase

Micro-synchronized triplex (cont.)

Voter

Mem

µP U Y

µP U

µP U Y

U U U

U

Y

SEU, then processing

before detection

X Y Healthy µP

context mirrored

Flush

(few ms)

…+ resume

Voter

Mem

µP µP µP

Y X

X X X

Z

Fault

propagation

Y W Y

Invalidate

caches

Reset

(few ms)

X

W

SEU

Y Y Y

Page 41: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 41

■ When an error is detected on 1 of the 3 µPs, a recovery phase is started

Flush all the registers / caches of the µPs to the single main memory

Thanks to the masking capability of the voter, the data set written back in main

memory is 100 % healthy => a full and healthy µP context is saved into memory

Then invalidate the caches (i.e. reset the caches)

To force the µP to read back the main memory for all data without exception

Then reset the faulty µP

Then load the faulty µP registers (including configuration registers)

Then start again the processing phase

The three µPs must read all their data in the main mem. (due to cache invalidat°)

So the faulty µP will be "aligned" on the two healthy ones thanks to the healthy

context mirrored into the external memory

Micro-synchronized triplex (cont.)

µP alignment in 3 steps:

Flush = Ctxt mirrored

Cache invalidation

Resume: alignment is inherent

Alignment performance:

Flush = few ms

µP reset = few ms

Resume: processing is slowing

down (cache empty)

=>

Page 42: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 42

SCS750 - Super Computer for Space (Maxwell Tech. – USA)

© Maxwell Technologies SCS750F Flight Model

SCS750P Prototype Model

Micro-synchronized triplex (cont.)

7 – 25 W (typ) depending on clock rate

■ Real case example of an industrial development

Page 43: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 43

This capability is becoming obsolescent due to deep submicron techno

TID effects => asymmetric modif. of internal propagation delays between µPs

Fully deterministic timing is less and less feasible

Low-level fix-up routines to tolerate timing violations and soft-errors

Multiple and complex clock trees

etc.

■ µ-synchro. archi. is dedicated to µP having a lock-stepping capability

Micro-synchro. triplex pros/cons

Nevertheless …

■ Recent automotive safety norm: ISO26262 (adaptation of IEC61508)

"Functional safety standard" which stipulates regulations for HW and SW

in electronics control systems to manage the risk of hazardous events

ARM Cortex-R is oriented "Real-Time" for deeply embedded systems

with a focus on fast/deterministic response to interrupts, determinism (tightly-

coupled memories) and safety/dependability (memory protection unit, ECC/parity,

lock-step)

dual-core µP allowing implementation of a lock-step configuration to ease the

compliance with ISO26262

Mic

ro-s

yn

ch

ro.

du

ple

x

Page 44: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 44

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 45: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 45

■ There is not an universal solution …

Optimization is predominant over standardization Real cases of COTS-based computers:

UCTM-C/D (ARIANE 5, first launch 1996) = Double structural duplex, recovery without context

ARGOS (launched in 1999) = EDDI / Time replication at instruction level

BIRD (2001) = Double structural duplex, specific recovery mechanisms

MYRIADE (2004) = Mix of elementary protection mechanisms

REIMEI (2005) = Macro-synchronized triplex with a single voter

ROADRUNNER (2006) = TTMR / Time-TMR at instruction level

CALIPSO (2006) = Lock-stepping quadruplex with a redundant voter

GLORY (2011) & GAIA (2013) = Lock-stepping triplex with a single voter

HiRel-based:

Shuttle (first launch 1981) = "4+1"-MR (QMR + 1 backup)

ATV (2009) = Triplex + Duplex

DMS-R (on ISS) = Triplex

■ … the final choice of the best suited architecture for a given project is

application dependent Only 'detection', or 'detection and recovery'

Hardware and software cost overhead

Development and recurring cost overhead

Power consumption overhead

The time required for the recovery process

Fault-tolerant architectures trade-off

Page 46: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 46

DT2

IO-Bus

N

µP1

Mem1

µP2

Mem2

IO-Bus

R

µP1

Mem1

µP2

Mem2

Cesam1+Cesam2 +Syclopes

Cesam1+Cesam2 +Syclopes

Fault-tolerant architectures trade-off (cont.)

Cesam

IO-Bus

N

µP

Mem

DMT

Cesam

µP

Mem

IO-Bus

R

Mem

IO-Bus

N

Voter

µP1

Micro-synchronized triplex

µP2 µP3

Mem

Voter

µP1 µP2 µP3

IO-Bus

R

Voter1

IO-Bus

N

µP1

Mem1

Triplex/quadruplex

Voter2

µP2

Mem2

Voter3

µP3

Mem3

Voter4

µP4

Mem4

IO-Bus

R

ICN

Redundant computer

Switched-off in

cold-redundancy strategy

a = Nb of main items µP + Mem + Asic => Mass

b = Nb of main items ON => Power consumption

c1 = Computing pwr available (detection only)

c2 = Computing pwr available (detect°+recov.)

d1 = Availability

d2 = Correct actuations

6

3

0.5 / 0.3

0.95 / 0.99

10

5

1 / 0.7

0.99

10

5

1 *

0.995

12

9

1 *

0.999

a =

b =

c1 / c2 =

d1 / d2 =

* = Requires time for

computers alignment

a =

b =

c1 / c2 =

d1 / d2 =

Page 47: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 47

2-B – Processing units / Fault-tolerant (FT) architectures

■ Time replication

Time replication at instruction level – Example of Time-TMR from SPACE MICRO Inc.

Granularity for CNES FT architectures

Time replication at task level – Example of DMT from CNES

■ Structural duplex – Example of DT2 from CNES

■ TMR-Triplex & QMR-Quadruplex – Examples issued from the SHUTTLE, GUARDS and ATV

■ Micro-synchronized triplex – Example of SCS750 from MAXWELL Tech.

■ FT architectures trade-off

■ Other methods and elementary protection mechanisms

Page 48: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 48

■ ABFT – Algorithm-Based Fault Tolerance

■ BIST – Built-In Selft Test

■ WDP – WatchDog Processor (signature analysis)

■ Wrappers

■ etc.

■ Mix of different elementary protection mechanisms

For protection at component level: ASIC

e.g. ERC32 and LEON European space microprocessors

For protection at the system level

e.g. The CNES MYRIADE micro-satellite => See Part III

Other methods and elementary protection mechanisms

Page 49: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 49

3 – REAL CASE STUDIES ©

CN

ES

/ D

. D

ucr

os

PICARD: a CNES mission on a MYRIADE

platform to take precise measurements of

the Sun and of its variability;

launched in 2010

Page 50: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 50

The ATV example (with rad-hard ICs)

Triplex + Duplex

Duplex goal: tolerance to software bugs

The main monitoring

and control computer

FTC (triplex)

The checker computer

MSU (duplex) monitoring

the critical docking phase

(collision avoidance)

ESA Automated Transfer Vehicle

servicing the ISS

(1st launch in 2008)

© E

SA

© E

SA

/ D

. D

ucr

os

Implementation mainly for

failure robustness, but also

usable for SEE robustness

Page 51: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 51

■ TID: Switch-off sensitive ICs when not used

■ Protons: The Transputer µP is protected with a 2 mm tungsten shield

■ SEL: Serial resistors on power supply tracks or current limiter

■ SET: Filtering of analog acquisitions

Time redundancy + average value computation

■ SEU: Protection of link/bus data exchanges

Checksum/CRC and recovery protocols

■ SEU-SET: Flash and FRAM are protected

Redunded data, checksum or CRC

Flash and FRAMS are switched-off after the boot of the flight software

■ SEU: FPGA with critical registers implemented in with a TMR structure

■ SEU-MBU: TMR for critical data stored in the Transputer memory

For flight software memory (4 Mbytes), not for TM memory (120 Mbytes)

■ SEU: Monitoring of some µP internal critical registers (timers, …)

MYRIADE: a CNES µSL family developed mainly with COTS Contribution from: J-L. Carayon (CNES - DCT/TV/AV)

Page 52: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 52

■ SEU-SEL: Watchdog (WD) implemented with several levels Note: Each I/O block is constituted by a PIC nanocontroller and i/f ICs

Internal PIC WD set to 100 ms: protection of PIC itself against SEL/µSEL

or software hang due to a SEE (SEFI)

Global WD for each I/O block set to 250 ms

Local WD for Transputer CPU set to 500 ms

Global WD for computer set to 1 sec with four levels of actions having

deeper and deeper effect on the computer

Transputer reset

Transputer Off/On (in case of SEL)

CPU board Off/On (at this level, the Transputer memory content is lost)

Computer Off/On (in order to passivate any residual SEL)

=> MYRIADE is a typical example of a computer developed with

commercial components and protected by a mix of elementary

mechanisms for a mission without high availability requirements

MYRIADE (cont.)

Page 53: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 53

MYRIADE (cont.)

MYRIADE platform during integration

MYRIADE CPU board

MYRIADE computer (CNES and

Steel Electronique development)

DEMETER: 1st mission based on a

MYRIADE platform (launched in 2004)

© C

NE

S /

D.

Du

cro

s

Page 54: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 54

■ CALIPSO is a Franco-American payload on a CNES PROTEUS mini-

satellite platform for cloud-aerosol and infrared observations,

launched in 2006

CALIPSO: a US fault-tolerant COTS-based space computer

developed by GDAIS (General Dynamics Advanced Information Systems)

4-MR architecture

Voter is not a SPF

Micro-synchro. /

lock-stepping

COTS µP = Freescale PowerPC603r

© SPIE

(adapted from)

Voter 1

ASIC

Voter 2

ASIC

PowerPC 603r

PowerPC 603r

PowerPC 603r

PowerPC 603r

with cache

Memory

controller

ASIC

SDRAM array

128/64 MB

Page 55: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 55

■ REIMEI is a small satellite for aurora observation and technology

demonstration, launched in 2005

REIMEI (INDEX): a Japanese fault-tolerant COTS-based space

computer developed by ISAS/JAXA + University of Tokyo

TMR architecture

Voter is a SPF (Single

Point Failure)

Macro-synchro.

Reinsertion phase = stop

the computer for 2 sec

COTS µP = Hitachi SH-3 VOTER CPU

DRAM

ROM

© IAF

(adapted from)

Page 56: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 56

© E

SA

/ J

AX

A /

CN

ES

4 – CONCLUSION

BEPI-COLOMBO: an

ESA/JAXA/CNES mission

to have a better under-

standing of the history of

the Mercure planet, the

nearest from the Sun;

launch planned in 2015

Page 57: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 57

COTS-based supercomputers have been selected on two major

space programs

7 COTS-based computers

=> # 12 GIPS peak

The ESA GAIA mission (Hipparcos NG)

© E

SA

Generation of the largest and most precise

three-dimensional map of our Galaxy

(2030 kg, launched in 2013)

Satellite phone constellation

(2nd generation: 81 satellites including spares,

800 kg each, 1st launch planned in 2015)

1st gene. : 7 COTS-based computers per SL => # 1.5 GIPS peak per SL in 1998

2nd gene.: k x COTS-based computers => k x 2.4 GIPS peak

... and today on other space programs

Page 58: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 58

REFERENCES

Page 59: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 59

■ Processing unit – Fault tolerant architectures

• General references

– Siewiorek D. P. and Swarz R. S., "Reliable Computer Systems - Design and Evaluation", 908 p., Digital Press, Bedford, MA, USA, 1992.

– Geffroy J.-C. and Motet G., "Design of Dependable Computing Systems", 700 p., Kluwer Academic Publishers, 2002.

– Laprie J.-C., Arlat J., Blanquart J.-P., Costes A., Crouzet Y., Deswarte Y., Fabre J.-C., Guillermain H., Kaâniche M., Kanoun K., Mazet C., Powell D.,

Rabéjac C. and Thévenod-Fosse P., "Guide de la sûreté de fonctionnement", 369 p., Cépaduès-Éditions, Toulouse, 1995-96.

– Pignol M., "How to Cope with SEU/SET at System Level?", Proc. 11th IEEE Int. On-Line Testing Symp. (IOLTS), pp. 315-318, 2005.

– Pignol M., Carayon J.-L., Chapuis T., Peus A. and Saba B., "Radiation Effects on Digital Systems", in Chapter III-03 of Space Radiation Environment and

its Effects on Spacecraft Components and Systems (SREC'04), Space Technology Course of CNES/ONERA/RADECS Association, Cépaduès Editions,

Toulouse (France), ISBN 2-85428-654-5, pp. 411-459, 2004.

– Mitra S., Seifert N., Zhang M., Shi Q. and Kim K.S., with participation of Nicolaidis M. and Chardonnereau D., "Robust System Design with Built-In Soft-

Error Resilience", IEEE Computer, Vol. 38, Iss. 2, pp. 43-52, Feb. 2005.

– Nicolaidis M., "A Low-Cost Single-Event Latchup Mitigation Scheme", Proc. 12th IEEE Int. On-Line Testing Symp. (IOLTS), pp. 111-115, 2006.

References

Page 60: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 60

• Presentation of some architectures

– BIRD computer architecture: Behr P., Bärwald W., Briess K. and Montenegro S., "Fault Tolerance and COTS: Next Generation of High Performance

Satellite Computers", Eurospace/ESA/CNES DAta Systems In Aerospace Conf. (DASIA), June 2003.

– CNES DMT: Pignol M., "Processing Procedure for an Electronic System Subject to Transient Error Constraints and a Memory Access Monitoring Device",

patent US 6 839 868 B1.

– CNES DT2: Pignol M., "Software System Tolerating Transient Errors and Control Process in such a System", patent US 7 024 594 B2.

– CNES DMT & DT2 architectures: Pignol M., "DMT and DT2: Two CNES Fault-Tolerant Architectures Developed by CNES for COTS-based Spacecraft

Supercomputers", Proc. 12th IEEE Int. On-Line Testing Symp. (IOLTS), 2006, pp. 203-212.

– CNES DMT & DT2 architectures: Pignol M., Parrain T., Claverie V., Boléat C., Estaves G., "Development of a Testbench for Validation of DMT and DT2

Fault-Tolerant Architectures on SOI PowerPC7448", Proc. 14th IEEE Int. On-Line Testing Symp. (IOLTS), 2008, pp. 182-184.

– CRAFT architecture: Hihara H., Yamada K., Adachi M., Mitani K., Akiyama M. and Hama K., "CRAFT: An Experimental Fault Tolerant Computer System

for SERVIS-2 Satellite", Proc. 21th AIAA Int. Communications Satellite Systems Conf. (ICSSC), Paper n° 2003-2291, 2003.

– EDDI: Lovelette M.N., Wood K.S., Wood D.L., Beall J.H., Shirvani P.P., Oh N. and McCluskey E.J., "Strategies for Fault-Tolerant, Space-Based Computing:

Lessons Learned from the ARGOS Testbed", IEEE Proc. of Aerospace Conf., vol. 5, pp. 2109-2119, 2002.

– GUARDS architecture: Bondavalli A., Di Giandomenico F., Grandoni F., Powell D. and Rabejac C, "State Restoration in a COTS-based N-Modular

Architecture", 1st Int. Symp. on Object-Oriented Real-Time Distributed Computing (ISORC), pp. 174-183, 1998.

– GUARDS architecture: Powell D., Arlat J., Beus-Dukic L., Bondavalli A., Coppola P., Fantechi A., Jenn E., Rabéjac C. and Welling A., "GUARDS: A Gene-

ric Upgradable Architecture for Real-Time Dependable Systems", IEEE Trans. on Parallel and Distributed Systems, Vol. 10, N° 6, pp. 580-599, June 1999.

– GUARDS architecture: Powell D. (Ed.), "A Generic Fault-Tolerant Architecture for Real-Time Dependable Systems", Edited by David Powell, Kluwer

Academic Publishers, Boston, 2001.

– HERMES computer architecture: Guidal C. and David P., "Development of a Fault Tolerant Computer System for the Hermes Space Shuttle", Proc. IEEE

Fault-Tolerant Computing Symp. (FTCS-23), 1993.

– REE computer architecture: Whisnant K., Iyer R.K., Jones P., Some R. and Rennels D.A., "An Experimental Evaluation of the REE SIFT Environment for

Spaceborne Applications", Proc. IEEE/IFIP Int. Conf. on Dependable Systems and Networks (DSN), pp. 585-594, 2002.

– SPACE SHUTTLE computer architecture: Sklaroff J. R., "Redundancy Management Technique for Space Shuttle Computers", IBM Journal of Research

and Developments, Vol. 20, pp. 20-28, Jan. 1976.

– TMR – Byzantine faults: Lamport L., Shostak R. and Pease M. (SRI International), "The Byzantine Generals Problem", ACM Transactions on

Programming Languages and Systems, vol. 4, n° 3, July 1982, pp. 382-401.

• Other kind of elementary protections

– ABFT: Turmon M. and Granat R., "Algorithm-Based Fault Tolerance for Spaceborne Computing: Basis and Implementations", Proc. IEEE Aerospace Conf.,

March 2000.

– BIST: Nicolaidis M., "Efficient UBIST Implementation for Microprocessor Sequencing Parts", Int. Test Conference (ITC), pp. 316-326, 1990.

– BIST: Nicolaidis M. and Boudjit M., "New Implementations, Tools, and Experiments for Decreasing Self-Checking PLAs Area Overhead", IEEE Int. Conf. on

Computer Design (ICCD), pp. 275-281, Oct. 1991.

Page 61: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 61

– WDP: Leveugle R., "Analyse de signature et test en ligne intégré sur silicium", Thèse de Doctorat en microélectronique (PhD), INPG Grenoble, France, Jan.

1990.

– WDP: Mahmood A. and McCluskey E. J., "Concurrent Error Detection Using Watchdog – A Survey", IEEE Trans. on Computers, Vol. 37, N° 2, Feb. 1998.

– WDP: Valentin T., "Méthode de conception d’architectures tolérantes aux fautes transitoires à base de composants commerciaux : application aux

communications en milieu spatial", chapitre II.3, Thèse de Doctorat en électronique et informatique industrielle (PhD), Bretagne Sud University, France,

May 2000.

– Wrappers: Arlat J., Fabre J-C., Rodriguez M. and Salles F., "Dependability of COTS Microkernel-Based Systems"; IEEE Trans. on Computers, Vol. 51, N°

2, pp. 138-163, Feb. 2002.

– Wrappers: Salles F., Rodriguez M, Fabre J.-C. and Arlat J., "MetaKernels and Faults Containment Wrappers", IEEE Int. Symp. on Fault-Tolerant

Computing (FTCS-29), pp. 22-29, June 1999.

– µP protections: Gaisler J., "Concurrent Error-Detection and Modular Fault-Tolerance in an 32-bit Processing Core for Embedded Space Flight

Applications", Proc. IEEE Fault-Tolerant Computing Symp. (FTCS-24), 1994.

– µP protections: Gaisler J., "A Portable and Fault-Tolerant Microprocessor Based on the SPARC V8 Architecture", Proc. IEEE Dependable System and

Networks (DSN), 2002.

■ Real case studies – MYRIADE computer architecture: Carayon J.-L., Dubourg V., Danto P., Galéa G., "An Innovative Onboard Computer for CNES Microsatellites", Proc.

21th IEEE Digital Avionics Systems Conf. (DASC), 2002.

– CALIPSO computer architecture: R. DeCoursey, R. Melton, and R. Estes, "Non Radiation Hardened Microprocessors in Space-Based Remote Sensing

Systems", Proc. SPIE Sensors, Systems, and Next-Generation Satellites X, vol. 6361, 2006.

– REIMEI/INDEX computer architecture: Saito H., Masumoto Y., Mizuno T., Miura A., Hashimoto M., Ogawa H., Tachikawa S., Oshima T., Hirahara M.,

Okano S., et al., "INDEX: Piggy-Back Satellite for Aurora Observation and Technology Demonstration", 51th IAF Int. Astronautical Congress, Oct. 2000.

■ Industrial products

• Maxwell Technologies

– Hillman R., Swift G., Layton P., Conrad M., Thibodeau C. and Irom F., "Space Processor Radiation Mitigation and Validation Techniques for an 1,800 MIPS

Processor Board", Proc. 12th RADECS Association/ESA/IEEE European Conf. on Radiations and its Effects on Components and Systems (RADECS),

Sept. 2003.

– MAXWELL Technologies SCS750 web site: http://www.maxwell.com/go/scs750a.html

• Space Micro Inc.

– Czajkowski D. and McCartha M., "Ultra Low-Power Space Computer Leveraging Embedded SEU Mitigation", Proc. IEEE Aerospace Conf., March 2003.

– Space Micro Inc. web site: http://www.spacemicro.com/

• ARM Ltd

– Cortex-R family web site: http://www.arm.com/products/processors/cortex-r/index.php

Page 62: System Hardening and Real Space Applications Pignol.pdf · Video electr. Unregu (ADC) Image sensor Data compression Video Tx High rate Cntl unit Avionic bus Platform Sensors/Actuators

CNES SERESSA 2014, Nov. 30 - Dec. 04 M. Pignol – System Hardening 62

Any questions?

Gracias!

Thank you!