A Domain Specific Design Tool for Spacecraft System Behavior - - PowerPoint PPT Presentation

a domain specific design tool for spacecraft system
SMART_READER_LITE
LIVE PREVIEW

A Domain Specific Design Tool for Spacecraft System Behavior - - PowerPoint PPT Presentation

A Domain Specific Design Tool for Spacecraft System Behavior Sravanthi Venigalla, Brandon Eames Utah State University, USA Allan McInnes University of Canterbury, New Zealand Domain Specific Modeling Workshop 2008 (DSM08) Spacecraft Design Not an


slide-1
SLIDE 1

A Domain Specific Design Tool for Spacecraft System Behavior

Sravanthi Venigalla, Brandon Eames

Utah State University, USA

Allan McInnes

University of Canterbury, New Zealand Domain Specific Modeling Workshop 2008 (DSM’08)

slide-2
SLIDE 2

Spacecraft Design

Not an easy task!

slide-3
SLIDE 3

Spacecraft vs. Other Systems

  • Interdisciplinary
  • Limitations & tradeoffs due

to space environment

  • Lot of interaction for

carrying out operations

  • Difficult/Not possible

to modify after launch

  • Failures imply huge loss
  • f money and reputation

A typical small satellite

Fig from Small Satellites Home Page http://centaur.sstl.co.uk/

slide-4
SLIDE 4

Subsystem view of a Spacecraft

Figure from Allan I. S. McInnes Ph.D. dissertation “A formal approach to specifying and verifying Spacecraft behaviour”

slide-5
SLIDE 5

ADCS Subsystem

Star camera Magnetometer Actuator

  • Concerned with the

spacecraft’s orientation in space.

  • Determines whether science
  • perations can be performed.
  • Affects the solar power that can

be generated by the spacecraft.

Figs from USU Small Satellite Program http://ususat.usu.edu/

slide-6
SLIDE 6

CDH & Power Subsystems

  • Consists of hardware &

software

  • Manages all interactions

with ground station

CDH Subsystem Solar cells

  • Consists of sources of

power – solar cells and batteries and the wiring to other subsystems.

Figs from USU Small Satellite Program http://ususat.usu.edu/

slide-7
SLIDE 7

How to Analyze Spacecraft Behavior?

  • Simulation ?
  • Verification

– At the subsystem level – At the system level

  • Validation

– At the system level

slide-8
SLIDE 8

Common Formalisms for modeling Behavior

Spacecraft system design – block diagrams and figures State charts A B PROMELA/SPIN PROMELA/SPIN FFBDs

slide-9
SLIDE 9

System Development & Verification

Process ADCS(Task*); Process CDH(Task*); … Process System(Task*); System Programmer System Verifier ADCS = power.on ‐> mode.science… CDH = mode.science ‐> ... System = ADCS|||CDH…

Can we verify the design itself?

System Design

slide-10
SLIDE 10

Communicating Sequential Processes (CSP)

  • A process algebra used for system verification.
  • A system is described in terms of an appropri‐

ate combination of processes .

  • Each process is described in terms of channels

and events.

  • Event is an abstract symbolic representation of

an interaction.

  • Channels are the carriers for events.
slide-11
SLIDE 11

CSP contd…

  • Operators for alternate actions – [] is for

choice exercised by the environment and |~| is for non‐deterministic choice.

  • Generalized Parallel Combination – P1[|A|]P2

is for synchronization between processes P1, P2 over the set of events A.

  • Interleaved Parallel Combination – P1 ||| P2

is for the case when P1 and P2 run independently of each other.

slide-12
SLIDE 12

An Example – A packet receiver

channel success, fail channel response : {0,1} Proc = recv?packet ‐> if (checksum = 0) then success ‐> Proc else fail ‐> Proc TxmitAck = success ‐> response!0 ‐> TxmitAck TxmitNack = fail ‐> response!1 ‐> TxmitNack Composite = (TxmitAck ||| TxmitNack) [|success, fail|] Proc

Proc Txmit Ack Txmit Nack

success fail response recv

slide-13
SLIDE 13

High Level Spacecraft Behavior in CSP

CDH Power ADCS System Bus Power Bus Comm‐ ands Discrete Msgs Power I/F Data streams Excepti‐

  • ns

Subsystem behavior CDH Process ADCS Process Power Process SystemBus channel Power Channel

slide-14
SLIDE 14

BASS Tool Flow

Com Att

ADCS SystemBus

Com

Power

CDH Att

CDH

GME model & Specifications

  • f spacecraft model

Generated CSP Spacecraft Behavior Framework Library BASS Interpreter FDR Tool Verification Result BASSMP

slide-15
SLIDE 15

Spacecraft System

slide-16
SLIDE 16

Datacomm Aspect of Spacecraft

Com Att

ADCS SystemBus

Com

Power

CDH Att

CDH

slide-17
SLIDE 17

Power Aspect of the Spacecraft

C D H A D C

Pow er

Su b

CDH

A D C

ADCS

slide-18
SLIDE 18

Common Constructs

Shared State Object representing a shared variable Spacecraft Commands

slide-19
SLIDE 19

Power Subsystem

CDHPowPort ADCSPowPort

CDH ADC

CommandSet AttiudeSpecificAvailablePower

  • MaxPowerGenerated : int
  • MinPowerGenerated : int

«Model» Power «Atom» PowerPort «Model» MapFunction

AttitudeSpecificAvailablePower 0..*

1

slide-20
SLIDE 20

CDH Subsystem

SubSysPowerIf

Set sta Com Swi Swi Set

CommandSet CDHCmdDispatch

Tel Tel Tel

AttitudeDataStream

CDHCmdDispatch <<M

  • del>>

CDH <<M

  • del>>

1

slide-21
SLIDE 21

CDH Command Dispatch

  • n
  • ff

SwitchADCS

Sun Rat Ear Ear

SetAttitude

Sun Rat Ear Ear

AttitudeCmd startScienceSeq

loa run sto unl

CommandSeqCmd

  • n
  • ff

ADCSSwitch

slide-22
SLIDE 22

ADCS Subsystem

ADCSPowerIf

Att Mod

CommandSet

Tel Tel Tel

AttitudeDataStream ADCSModePower

SSG SSS SST

Attitude ADCSModeSystem

ADCS <<M

  • del>>

SharedState <<M

  • del>>

M

  • deSystem

<<M

  • del>>

ADCSM

  • deSystem 1

Attitude 1

slide-23
SLIDE 23

ADCS Modesystem

slide-24
SLIDE 24

ADCS ModeSystem

Sci_Standby Unpowered CommonMode Earth_Pointing2 Earth_Pointing1 Safehold Sci_Standby Sci_Active Safehold Sci_Active Detumbling Rate_Nulled

  • ff

HW_Fault Sun_Safe

  • n

Uncontrolled Detumbling

slide-25
SLIDE 25

Work Done Thus Far…

BASS Interpreter BASSMP CSP Equivalent

  • f model

FDR Tool Verification Result GME model & Specifications

  • f spacecraft

model

slide-26
SLIDE 26

Power sufficiency Check

  • The amount of power generated depends on the Attitude and is represented

by the function AttitudeSpecificAvailablePower in the Power Subsystem

  • The amount of power consumed depends on the mode in which a subsystem

is and is represented by the function SubsysModePower

Unc Rat Sun Ear Ear

fIn

1 3 6 8 8

fOut

AttitudeSpecificAvailablePower

1 3 5 6 8

fOut

Unp Det Saf Sci Sci

fIn

ADCSModePower

slide-27
SLIDE 27

Check loaded into FDR

Positive Result

slide-28
SLIDE 28

Check Loaded into FDR

Negative Result

slide-29
SLIDE 29

Summary

  • System‐level spacecraft design lacks formality

– Behavior implicity defined and discussed in documentation – Little to no analysis performed at system level

  • BASS offers a domain–specific visual modeling

language for capturing spacecraft behavior

– Constructs phrased in terms common to spacecraft systems engineers

  • Formal Behavioral Analysis

– CSP used for underlying semantic model – Model checking used to prove/analyze properties of the spacecraft