Presentation is loading. Please wait.

Presentation is loading. Please wait.

SpaceWire-RT Steve Parkes, Albert Ferrer-Florit

Similar presentations


Presentation on theme: "SpaceWire-RT Steve Parkes, Albert Ferrer-Florit"— Presentation transcript:

1 SpaceWire-RT Steve Parkes, Albert Ferrer-Florit
Space Technology Centre, University of Dundee

2 Aim Show how SpaceWire-RT fits in with other protocols
Introduce the key concepts in SpW-RT Outline SpW-RT architecture

3 Contents Communications Model SpaceWire Protocol Stack
Quality of Service Asynchronous and Scheduled Systems Service Interface Architecture Current and Future Work

4 DO NOT USE THIS DOCUMENT TO DESIGN DEVICES OR SYSTEMS!
WARNING The current document is an early draft of the proposed standard and is for discussion purposes only. It will change after prototyping work has been completed. Applicable documents may also change. DO NOT USE THIS DOCUMENT TO DESIGN DEVICES OR SYSTEMS!

5 SpaceWire Paradigm Point to point links Stream service
I.e. Inputs and outputs are FIFOs No quality of service control No reservation of memory at destination Link level flow control used to prevent FIFO overflow

6 SpaceWire Paradigm Networks route data from source to destination
Interface to network is same as that for point to point links

7 SpaceWire-RT Paradigm
SpaceWire Network N N N N N Conceptual (virtual) point to point links Stream service Any SpaceWire packet over SpW-RT Adds QoS to SpaceWire paradigm Does not provide management of memory

8 Channels Channel = virtual point to point link Channel is: Includes:
Set of network resources Connects SpW-RT user in source To SpW-RT user in destination Includes: Source channel buffer (like a FIFO) SpaceWire links over which PDUs travel Destination channel buffer (like a FIFO)

9 SpaceWire Protocol Stack
User Applications User Application SpW PnP PnP User memory control PTP RMAP SpW-RT QoS SpaceWire SpW

10 User Memory Control RMAP SpW Packet Transfer Protocol
An end to end application for SpaceWire Reads, writes and RMWs to remote memory Provides management of memory E.g. Write command When write command arrives at destination Have to get authorisation Before writing to user memory SpW Packet Transfer Protocol Another end to end application for SpaceWire Transfers user packets across SpaceWire network I.e. Flow control Check user buffer ready for packet before sending it.

11 CCSDS SOIS – SpaceWire Protocol Stack
CCSDS SOIS Subnetwork Layer Packet Service Memory Access Service Device Discover SOIS Services SpW PnP PnP User memory control PTP RMAP SpW-RT QoS SpaceWire SpW

12 SOIS Services Memory Access Service Packet Delivery Service
Reads and writes to user memory Requires management of user memory Various QoS requirements Packet Delivery Service Delivers packets from source to destination Requires management of packet buffers Device Discovery Service Discovers (new) devices on the network Synchronisation Service Test Service

13 SpaceWire-RT Service Interface
PTP RMAP Memory Access Service SpW PnP SpW-RT CCSDS SOIS Subnetwork Layer Device Discover Packet Service SpW QoS PnP SOIS Services User memory control

14 SpaceWire-RT Service Interface
Send_Data.request Requests to send a Service Data Unit (SDU) From source node where request is made To destination node on SpaceWire network Parameters: channel, source address, destination address, priority, cargo.

15 SpaceWire-RT Service Interface
Receive_Data.indication Indicates SpaceWire-RT packet received Passes SDU it carried to SpaceWire-RT user; Parameters: channel, source address, destination address, priority, cargo.

16 SpaceWire-RT Service Interface
Notify_Delivered.indication Indicates SDU was safely delivered to destination Over a channel providing assured or guaranteed service Parameters: channel, source address, destination address, SDU_ID.

17 SpaceWire-RT Service Interface
Notify_Error.indication Indicates problem delivering the SDU Over channel that provided assured or guaranteed service Parameters: channel, source address, destination address, SDU_ID, error metadata.

18 SpaceWire-RT Service Interface
Configure.request Configures the channel parameters Parameters: channel, configuration information.

19 SpaceWire-RT Service Interface
Redundancy_Invocation.indication Indicates that one or more retries or redundancy switching were invoked for a channel. Parameters channel, reliability metadata

20 SpaceWire-RT Qualities of Service
Basic Does not ensure delivery (no retry) Not timely (no time constraints) Best Effort Similar to Basic QoS Does not deliver duplicate or out of sequence Data PDUs Assured Reliable (retries in event of error) Not timely Resource Reserved When a DP is delivered it is delivered on time Guaranteed Timely (delivers on time)

21 Asynchronous and Scheduled Systems
Two types of system supported: Asynchronous Sending information is asynchronous Priority used to provide timeliness Basic, Best Effort and Assured QoS only Scheduled Network bandwidth split up using time-slots Each source channel assigned one or time-slots When it is allowed to send data Provides deterministic delivery Support all QoS classes

22 Schedule using Time-slots
41/70/1 52/70/1 53/70/1 54/70/1 60/60/1 80/70/1 80/xx/1 Channel 1 2 3 4 5 6 7 8 63 Source / Destination / Channel Number

23 Protocol Stack and Service Interface Example
Memory Read Assured QoS CCSDS SOIS Subnetwork Layer SOIS Services Packet Service Mem Acc Service Dev Disc SpW PnP PnP User memory control PTP RMAP SpW-RT QoS SpaceWire SpW

24 ... ... ... ... ... ... User SOIS RMAP Initiator SpW-RT SpW SpW SpW-RT
Target User Memory Read.request Read. request Send_Data. request Send_Packet. request SpW packet Receive_Data. indication Receive_Data. indication (ACK) Send_Packet. request Read_authorisation. request (ACK) SpW packet Receive_Data. indication (ACK) Read_authorisation. response Notify_Delivered. indication Read_data.indication Read_data.response Send_Data. request ... Send_Packet. request ... SpW packet ... Receive_Data. indication ... Send_Packet. request (ACK) Receive_Data. indication ... (ACK) SpW packet ... Receive_Data. indication (ACK) Read. confirmation Read. indication Notify_Delivered. indication (ACK)

25 Architecture User interface Segmentation End to end flow control
Interface to users of SpaceWire-RT Segmentation Chops SDUs in to chunks to send in Data PDUs (DPs) Ensures that a large SDU does not hog the SpW network End to end flow control Check destination buffer ready before sending packet Ensures that DPs accepted immediately by destination

26 Architecture Retry Error detection Redundancy
Resends DPs that are lost or arrive with errors Uses acknowledgement to confirm receipt Error detection CRC used in DP header and cargo Error detection used for retry and redundancy switching Redundancy Alternative paths through SpaceWire network Retry N times then switch to redundant path Simultaneous retry for critical applications

27 Architecture Address translation
SpW logical addresses used to identify nodes Translates from logical address to path or logical address Includes prime/redundant path addresses

28 Architecture PDU encapsulation Destination SpW Address Logical Address
Protocol ID Type / Redundancy Source Channel Data Length Sequence Number Data Data CRC First octet sent Last octet sent EOP Header CRC

29 Architecture Resource reservation Asynchronous system: Priority
Scheduled system: Time-codes sent periodically (e.g. 100 µs) Divide time into time-slots One source can send in any one time-slot Avoids conflicting use of network resources Or several sources can send if they do not use the same network resources – i.e. links

30 Current and Future Work
Currently completing a new draft protocol specification Extensive prototyping done to evaluate competing concepts Rationalisation of SpaceWire protocol stack Future Dynamic channels Network management Plug and Play


Download ppt "SpaceWire-RT Steve Parkes, Albert Ferrer-Florit"

Similar presentations


Ads by Google