® 实时系统设计(DRE系统) 李曦 llxx@ustc.edu.cn 计算机系计算机应用研究室
实时系统设计(DRE系统) 李曦 llxx@ustc.edu.cn 计算机系计算机应用研究室
内容提要 ·分布式实时系统 Leslie Lamport "A system is distributed if the message transmission delay is not negligible compared to the time between events in a single process."[Lam78b]. Real-Time Systems and Dependable Systems Temporal properties Timing constraints on interface,including ordering restrictions ·分布式通信协议 OSI collapsed model LIN/CAN 。 时间同步 ·TTP协议 ·H.Kopetz. Real-Time Systems:Design Principles for Distributed Embedded Applications.Kluwer Academic Publishers.1997. P.Verissimo and L.Rodriguez. Distributed Systems for System Architects.Kluwer Academic Publishers.2001
内容提要 • 分布式实时系统 – Leslie Lamport • “A system is distributed if the message transmission delay is not negligible compared to the time between events in a single process.” [Lam78b]. • Real-Time Systems and Dependable Systems – Temporal properties • Timing constraints on interface, including ordering restrictions • 分布式通信协议 – OSI collapsed model – LIN/CAN • 时间同步 • TTP协议 • H. Kopetz. – Real-Time Systems: Design Principles for Distributed Embedded Applications. Kluwer Academic Publishers. 1997. • P. Veríssimo and L. Rodríguez. – Distributed Systems for System Architects. Kluwer Academic Publishers. 2001
Architecture model of CPS Round Robin Fixed Priority EDF Output Events ECU ECU ECU Communication Bus
Architecture model of CPS
Why build distributed systems? Centralized intelligence ECU need to communicate - cabling started to be a problem Co-operation using the network to extremely complex connection provide end-to-end functionality poor fault-tolerance ·Point-to-point Shared multiplex buses 。 Distributed intelligence delay,unreliable - Minimizes peripheral wiring improved fault-tolerance ·Independently ·more manageable Scalability ⑧Sensor ☒Actuator ECU -Wiring ☒ Control System Ec可 ECU
Why build distributed systems? • Centralized intelligence – cabling started to be a problem – extremely complex connection – poor fault-tolerance • Distributed intelligence – Minimizes peripheral wiring – improved fault-tolerance • Independently • more manageable – Scalability • ECU need to communicate – Co-operation using the network to provide end-to-end functionality • Point-to-point • Shared multiplex buses – delay,unreliable
Reactive,real-time and distributed S 前端模块 风精雨副罗 音响/信息损乐 MB90495G Me89215 系镜 HB90540 Me89935B MB90340 MB90590 MB90390 坐调面饭 MB90430 后裤棋典 终端电用 4B89215 MB90540G 电动座精 MB90385 MB39935B 1B90590G NB90385 4B90495G LIN MB90495G MB90545G 高逃CAN Bus 发动机 ABS 兼客检测 低速CAN 位表同关 电动门 MB90385 Bus MB90340 4B90385 MB90495G Me90390 4B90495G MB90420G Me90440G 后规镜 方向控 门禁系统 Me90540G Me89215 MB90385 MB90495G M890590G Me899358 MB90495
Reactive, real-time and distributed ES