CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

21
CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE PLATFORMS Alessandro Avanzi CAN In Space Workshop, 11-14 June 2019 Gothenburg

Transcript of CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Page 1: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

CAN/CANOPEN IMPLEMENTATION ON SMALL

SATELLITE PLATFORMS

Alessandro AvanziCAN In Space Workshop, 11-14 June 2019 Gothenburg

Page 2: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Overview: The Largest Privately Owned Italian Space Company

SMALL SATELLITES

ADVANCED PROPULSION

SPACE AVIONICS

380 highly qualifiedemployees

34,2 averageage

State-of-the-art facilities

Turn-keysolutions

PUBLIC

Page 3: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Smart, modular, scalable solutions

All-electric platforms

Wide range of possible missions and applications

From 50kg to 300kg

Complete Small Satellite Product Line

50kg

75kg

200kg

Earth Observation

Telecom HTS / Science

IoT / M2M

IoD/IoV

300kg

100kg

PUBLIC

Page 4: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

A Wide Portfolio of Hall Effect Propulsion Systems

4

HT100

HT400HT5k

HT20k

PUBLIC

Page 5: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Hi-Rel and COTS Based Space Avionics

ASIC IP Cores

On Board Computers

«

«

«

High, Low and Medium Voltage Power Supplies

Drive Electronics for Cryocoolers

Power and Processing Units for Electric Propulsion

Instruments Units

EGSE, Unit Testers

PUBLIC

Page 6: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Outline

• SITAEL experience with the CAN bus

• Why CAN on small platforms?

• Topologies and components

• CANopen services configuration

• Results from the first mission

CAN In Space Workshop, 11-14 June 2019 Gothenburg 6PUBLIC

Page 7: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

SITAEL CAN Bus Experience

7

HurriCANe ALPHA version is provided by ESA for completion and verification against BOSCH testbenches

First ASIC prototypes in DMILL CMOS 0.8um process

Collaboration with Alenia Spazio and Roscosmos to develop a new CAN bus controller with 3 mailboxes and uCU I/F (CASA2) for ATV fully compliant with CAN 2.0B protocol

HurriCANe core IP update (version 5.2.3) - last by SITAEL

CASA2 is licensed to ATMEL and manufactured with MG2RTP Rad-hard Sea of Gate (P/N AT7908E).

The new CAN bus Controller (HurriCANe core version 5.0) is delivered to ESA

1999 2000 2002 20072004 2009

2012 2013 2015

CANTRAN ASIC and AmCAN IP Core are developed and tested in the frame of an ASI contract.

Final Presentation of ESA Integrated Payload Processor Module (IPPM) with CANbus for housekeeping as instrument bus or avionic bus in alternative to MIL-STD-1553

ESEO Phase C0/C1/D/E1 development

start.

CANopen Controller IP Core (CCIPC) is delivered to Thales Alenia Space in the frame of an ExoMarsContract

CCIPC improvementfor SATCOM Payload and Platform Management

2016

uHETSat – in orbit validation of SITAEL HT100 Thruster

2017

SCAT – C-band transceiver module for small satellites

2018

STRIVING – Service for in orbit validation / demonstration

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 8: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

CAN in Micro-satellites – why?

8

• 50kg platform, based on COTS components.

• Technology demonstration missions, an opportunity for SITAEL to get“hands on” and make the team gain experience.

• All developed internally: structure, power conditioning anddistribution, solar panels, sensors and actuators, OBC and datahandling.

• The CAN is selected for platform and payload bus.

Low cost.

Widely used in terrestrial application, consolidated technologywith wide spread know-how.

Large availability of components for development, bothintegrated in microcontrollers or as independent controllers.

Large availability of software support, including higher levelprotocols (CANopen) and tools (Vector CANoe).

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 9: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

CAN view of a Micro-satellite (1/2)

9

Two CAN busses: the platform and payload bus. The OBC is the only node which is connected to both.

• 21 nodes in total;

• All nodes are based on the same microcontroller, an ARM Cortex M4 (105MIPS @ 84MHz);

• Re-use of:

• Electronics building blocks (uC, DC-DC, LCLs, memories, interfaces);

• SW (RTEMS, device drivers, comm. protocol stacks);

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 10: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

CAN view for a Micro-satellite (2/2)

10

TMTC Prime TMTC Secondary

PMU Main

PMU Red

OBDH Main OBDH Red

SS Main SS Red

GPS Ant

TMTC Ant DL Prime

HPA HPA

PDU Main PDU Red

CA

N B

US

Mai

n

CA

N B

US

Red P

ow

er O

NP

ow

er O

FFB

oo

t O

NB

oo

t O

FF

Po

wer

ON

Po

wer

OFF

Bo

ot

ON

Bo

ot

OFF

Isolator

Po

wer

ON

Po

wer

OFF

Po

wer

ON

Po

wer

OFF

FIR

E

FIR

E

ISO

SW

ISO

SW

MMC Main

MTC Main

MM Main

MT X 1

MT Y Main

MT Z Main

MMC Red

MTC Red

MM Red

MT X 2

MT Y Red

MT Z Red

RW 1

Valve Anode 2

Valve Cathode 1 IGN

Valve Cathode 1 NOM

Valve Cathode 2 IGN

Valve Cathode 2 NOM

PPU

ES Red

INIT VALVE

SELE

CT

S3R

SP 1

SP 2

SP 3

SEP SW (MEC)

CSSSet

RF Interface DL

HPC InterfaceHPC-PYRO InterfacePower InterfacePower-PYRO Interface

S/S CAN Bus

RS485Serial/LVDS InterfaceDedicated Interface

Po

wer

ON

Po

wer

OFF

Po

wer

ON

Po

wer

OFF

SELE

CT

Power OFFPower ON

Boot ONBoot OFF

Power OFFPower ON

Boot ONBoot OFF

CA

N B

US

Mai

n

CA

N B

US

Red

MAIN SW / ISO SW

Anode

Cathode 2

Cathode 1

ES Main

Isolator

F/E-MF/E-RGPS Main

RW 2

RW 3

RW 4

Xenon Tank Heaters

PMA Heaters

RF Interface UL

Lau

nch

er P

ow

er S

up

ply

Launcher I/Fconnectors

SA HDRMs

Hi-Voltage Interface

RS4

85

Red

RS4

85

Mai

n

PCU

10A

10A

TMTC Ant ULPrime

TMTC Ant DL Secondary

TMTC Ant ULSecondary

GPS Red

Valve Anode 1

LP Valve

BS 1

BS 2

BS 3

BS 4

BS 5

BS 6

BS 7

BS 8

BS 9

BS 10

BS 11

BS 12

BP Telemetry 1 BP Telemetry 2

PTA TC 1

PTA TC 2

• Master/Slave; the OBC with the role of master, although in some of the platform safe modes with no OBC availability, Master role is assigned to the TMTC subsystem (in charge of Essential TM and Essential TC);

• 1Hz cycle; the cycle is statically partitioned for data exchange with each node. Late communication is aborted in the current cycle;

• On-board data acquisition and commanding (through CANopen stack) takes ~30% of the OBC CPU;

CAN In Space Workshop, 11-14 June 2019 Goetenburg PUBLIC

Page 11: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Software IF (1/4)

11

o CANopen implemented in form of a SW stack, starting fromVector code:

CAN controller device driver embedded in RTEMS

CANopen software stack integrated in RTEMS

Same approach for masters and slaves

Stack updated to:

• Include multiple SDO client channels (sameapproach used for servers)

• Expand Rx/Tx buffer length

• Remove dead code (unused services)

• Improve metrics

No criticality B qualification;

CAN In Space Workshop, 11-14 June 2019 Goetenburg PUBLIC

Page 12: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Software IF (2/4)

12

o ESEO CANopen implementation (OBC):

43 TPDOs

24 RPODs

19 SDO clients

Heartbeat producer/consumer with masterrole

Manages two busses, platform and payload

o Footprint (controller driver + CANopen + add-oncustom layer + API)

o Non-volatile: 110 kbytes

o Volatile: 16 kbytes

CAN In Space Workshop, 11-14 June 2019 Goetenburg PUBLIC

Page 13: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Housekeeping data collection

13

o Housekeeping data collection is based on SDO segmented transfer

Many data types collected in data structures, with signed and unsignedintegers, 32 and 64 bits floating point values; From few bytes to hundredsbytes;

Platform housekeeping data set refreshed periodically by the units; generally1Hz, higher rate is foreseen only for a small subset of parameters (eg mainbus voltage is automatically sampled up to 1KHz in case of under-voltages);

Master/Slave configuration: the OBC issues SDO uploads to the unitsperiodically, with a pre-defined sequence;

Master role can be reconfigured: there are specific safe modes where theOBC is unavailable, the TMTC can issue the same HK data request using SDOprotocol;

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 14: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

On-board time distribution

14

o On-board time distribution is based on broadcasted PDOs

Master/Slave configuration: OBC is keeping on board time, and broadcastingit with 1 TPDO. Every other is receiving with 1 RPDO.

Time is kept and broadcasted in form of Days past J2000 plus milliseconds ofday.

Units autonomously propagate time in case the service goes missing (safemode)

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 15: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

PING service for essential subsystems

15

o PING service is established as part ofessential subsystems FDIR policies;

o It is based on PDOs

o Master/Slave configuration: the TMTC(which incorporates Essential TM/TC)issues PING requests to the OBC andpower subsystems;

o If the PING answer goes missing, platformFDIR algorithm operates (rebooting,switching to redundant)

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 16: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

On-board commanding

16

o On-board commanding is based on PDOs

Additional protocol layer is added on top of CANopen to ensure commandreception and/or execution acknowledge;

Error codes handling includes invalid command, no answer or lateacknowledge;

PDOs command data field is fixed:

• 1 byte specifying the access type (read or write);

• 1 byte carrying a sequence number used to correlate ACK

• 4 bytes specifying data to be written (a parameter, or bit-per-bitcommand definition)

Master/Slave (TMTC can take Master role in safe mode)

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 17: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Bus redundancy management

17

o Bus redundancy is managed with Heartbeats (ECSS-like):

1. A master node periodically broadcasts heartbeats on the active CAN bus;

2. If a units misses a number of heartbeats, it switches to the redundant andstart producing heartbeats on it, to inform the master;

3. The master switches to the redundant bus, and start broadcastingheartbeats on it;

4. Every other unit switches to the redundant;

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 18: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

Multiple bus management

18

o A single stack handles two busses.

o To reduce footprint:

Implemented a single stack instance

An additional layer between the stack andthe driver switches bus according to theaddressed units

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 19: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

19

o ESEO launched with SSO-A on 3 December 2018.

o More than 70M SDO transactions

o More than 500M PDO exchanged

o No autonomous switch between Main andRedundant experienced so far

CAN in orbit

CAN In Space Workshop, 11-14 June 2019 Gothenburg PUBLIC

Page 20: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

What’s next?

• The next micro-sat (uHETsat) will be launched next year, currently we are testing PFMs and approaching satellite integration;

– Reduced the development from 6 years to 3 years.

– Many lesson learned from the first mission, but on-board data handling is the same implementation.

• Platform future developments:

– Replace the microcontroller with rad-tolerant latch-up immune device (not available when we started years ago);

– CAN-FD adoption (if available on the uC), interest is in the larger data payload per frame, which improves protocol efficiency;

27-Jun-19 20PUBLIC

Page 21: CAN/CANOPEN IMPLEMENTATION ON SMALL SATELLITE …

CONFIDENTIAL SITAEL PROPERTY 21

SITAEL S.p.A.Via San Sabino, 21

70042 Mola di Bari (BA) – ITALYTel: +39 080 5321796

Fax: +39 080 5355048www.sitael.com

Thank you.

PUBLIC