1. Title of subject Real Time Systems 2. Subject code TRT7021 3. Status of subject Elective 4. Credit hour 3 LAN Credit Hours Equivalence: 3.00 5. Semester Year 1, Module 3 6. Pre-Requisite Low-Level Design of Software (TLD7011) 7. Methods of teaching 42 Hours of Lecture\Lab 8. Assessment 60% Coursework 40% Final Exam 9. Teaching staff (Proposed) Mr. Yeoh Eng Thiam Mr. Wan Ruslan Yusoff 10. Objective of subject To introduce and understand the characteristics, issues, challenges and requirements for the development of real time software applications. 11. Synopsis of subject The major areas of study include: Concepts of Real Time (RT) Application Development, RT Operating Systems, RT Languages, RT Application Design, RT Application Safety and Security and RT Application Certification. Bidang pengajian meliputi: Konsep Pembangunan Applikasi Tepat Masa (RT – Real Time), Sistem Pengoperasian Tepat Masa, Bahasa-bahasa Pengstrukturan Tepat Masa, Rekabentuk Applikasi Tepat Masa, Keselamatan dan Kestabilan Aplikasi Tepat Masa, serta Pensijilan Applikasi Tepat Masa. By the end of the subject, students should be able to: 12. Learning Outcomes Understand the characteristics and issues in RT application development Understand the different architectures and designs of RT applications Understand the important issues in RT Application Design and their representations in UML2 (STP) Profile Understand the use of different programming languages in RT application development Understand RT Application Safety, Security and Certification requirements Programme Outcomes % of contribution 13. Details of subject Acquisition and broadening of knowledge in advanced concepts and best practices in software engineering and software architecture. Strengthening of practical, analytical and management skills in software engineering and software architecture. Enhancing professional skills in career-related areas Adaptability and passion for learning 35% Cultivation of innovative minds and development of entrepreneurial skills Understanding moral, professional ethics and responsibility Total 5% Topics Covered 1. 2. 30% 20% 5% 5% 100% Hours Introduction to Real Time (RT) Systems Definitions and Classifications: RT systems, Real Time Operating Systems (RTOS), Real Time Programming Languages (C/C++, Java and Ada95/2005). Three views of Real Time systems development - the approaches taken by Systems Engineers, Hardware Engineers and Software Engineers. 4 Real Time Operating Systems (RTOS) Characteristics of Real-time operating system (RTOS), Kernel Pre-emptibility, Timing, Tasks, Handling Interrupts, Scheduler. Clocks and High Resolution Time. Open Source RTOS: (RTLinuxFree, RTAI, LXRT, FreeRTOS, eCOS, etc) Proprietary RTOS – (Vxworks, LynxOS, QNX, MontaVista Linux, RTLinuxPro, Windows XP Embedded etc). 6 UML 2 Design for RT Systems RT Design Overview - Requirements Architecture, Object Architecture, Software Architecture, System Architecture, RT Design Context Diagram. RT UML, Support for RealTime Perspective. CASE Tools for UML2 – Artisan Studio, Umbrello, Rational Rose. 6 UML Profile for Schedulability, Performance, and Time (STP Profile). Use Case Diagram, State Transition Diagram, State Event Matrix, Non-functional Requirements, Class Diagram, Sequence Diagram, Collaboration Diagram, Concurrency Diagram, Table Relationships Diagram, System Architecture Diagram. RT Design patterns. 6 5. The Real Time Languages (C/C++, Ada, Java) Real Time Specification for Java (RTSJ) Threads, Scheduling, Memory Management, Synchronization, Clock Time, Timers, Asynchrony and Exceptions. RT Java Features and Performance for RT Embedded Systems. Interoperability with nonRT code, tradeoffs in real-time development, and RT issues for the JVM software, Garbage collection, non-heap access, physical and "immortal" memory, and constant-time allocation of non-heap memory, Priority scheduling, deadline scheduling, and rate monotonic analysis, Closures, asynchronous transfer of control, asynchronous events, and timers. RT Programming language comparisons and implementations: Java, C/C++ and Ada. 8 6. RT Software Safety & Security (S3) The Ravenscar Profile, High Integrity and Efficient Real Time Systems. The Ravenscar profile: - Ada tasking features designed for a high-integrity hard real-time system, is defined by noting which features are allowed, which are disallowed, what dynamic semantics are required and how the restrictions can be represented. Certification of Real Time Systems DO-178B Compliance - Software Considerations in Airborne Systems and Equipment Certification 6 7. ACS, C4ISR - Special Topics on RT Systems ACS – Embedded Automotive Control System. C4ISR – Command, Control, Computers, Communications, Intelligence, Surveillance and Reconnaissance. 6 Total Contact Hours 42 3. 4. 14. Text 1. Real-Time Systems Development by Rob Williams, Publisher: ButterworthHeinemann (December 3, 2005) ISBN: 0750664711 2. Real-Time Systems : Scheduling, Analysis, and Verification by Albert M. K. Cheng, Publisher: WileyInterscience (August 12, 2002) ISBN: 0471184063 1. Real Time UML: Advances in the UML for Real-Time Systems (3rd Edition) (Addison-Wesley Object Technology Series) Publisher: Addison-Wesley Professional; 3 edition (February 17, 2004) ISBN: 0321160762 Embedded Control Systems in C/C++: An Introduction for Software Developers Using Matlab by Jim Ledin, Publisher: CMP Books; Bk&CD-Rom edition (January 2004) ISBN: 1578201276 Concurrent and Real-Time Programming in Java by Andrew Wellings, Publisher: John Wiley & Sons (November 15, 2004) ISBN: 047084437X Real-Time Java Platform Programming by Peter C. Dibble, Publisher: Prentice Hall PTR; 1st edition (March 11, 2002) ISBN: 0130282618 Programming in Ada 2005 by John Barnes, Publisher: Addison Wesley; Bk&CD-Rom edition (August 11, 2006) Language: English ISBN: 0321340787 Real Time Systems and Programming Languages: Ada 95, Real-Time Java and RealTime C/POSIX (3rd Edition) by Alan Burns, Andy Wellings, Publisher: Addison Wesley; 3rd edition (April 5, 2001)ISBN: 0201729881 The Real-Time Specification for Java by Gregory Bollella (Editor), Benjamin Brosgol, James Gosling, Peter Dibble, Steve Furr, Mark Turnbull, Publisher: Addison Wesley Longman; 1st edition (January 15, 2000) ISBN: 0201703238 Text books Reference books 2. 3. 4. 5. 6. 7.