Podcast
Questions and Answers
What is the primary characteristic of a real-time system?
What is the primary characteristic of a real-time system?
- Complex user interface capabilities
- Large data storage capacity
- Data encryption
- Quantitatively expressing time to describe its behavior (correct)
In a real-time system, a delayed response is always acceptable as long as the correct action is eventually performed.
In a real-time system, a delayed response is always acceptable as long as the correct action is eventually performed.
False (B)
What term describes an embedded system's ability to respond to several independent events?
What term describes an embedded system's ability to respond to several independent events?
Concurrency
An unreliable system can be made safe upon failure by reverting to a ______ state.
An unreliable system can be made safe upon failure by reverting to a ______ state.
Match the real-time system characteristic with its description:
Match the real-time system characteristic with its description:
Which component is commonly included in an embedded system architecture?
Which component is commonly included in an embedded system architecture?
A 'safe' system is defined as one that operates flawlessly for extended periods without any failure.
A 'safe' system is defined as one that operates flawlessly for extended periods without any failure.
What is the purpose of a 'fail-safe' state in an unreliable system?
What is the purpose of a 'fail-safe' state in an unreliable system?
The term ______ describes the ongoing interaction between the computer system and its environment in real-time systems.
The term ______ describes the ongoing interaction between the computer system and its environment in real-time systems.
Match the following terms with their corresponding definitions related to real-time systems:
Match the following terms with their corresponding definitions related to real-time systems:
In the context of safety and reliability, what distinguishes a 'safety-critical' real-time system?
In the context of safety and reliability, what distinguishes a 'safety-critical' real-time system?
Increased reliability in a system can compensate for a lack of safety measures.
Increased reliability in a system can compensate for a lack of safety measures.
What is the primary goal of fault tolerance in real-time systems?
What is the primary goal of fault tolerance in real-time systems?
The software fault tolerance technique inspired by TMR (Triple Modular Redundancy) of hardware is called ______ programming.
The software fault tolerance technique inspired by TMR (Triple Modular Redundancy) of hardware is called ______ programming.
Match the fault tolerance technique with its corresponding approach:
Match the fault tolerance technique with its corresponding approach:
What is a key disadvantage of N-version programming?
What is a key disadvantage of N-version programming?
In a safety-critical system, a fail-safe state is always achievable and should be the primary strategy for handling failures.
In a safety-critical system, a fail-safe state is always achievable and should be the primary strategy for handling failures.
According to the 2006 Embedded Systems Design Magazine survey, what percentage of new embedded designs utilized 32-bit processors?
According to the 2006 Embedded Systems Design Magazine survey, what percentage of new embedded designs utilized 32-bit processors?
According to the provided material, Renesas SuperH processors are not utilized in modern embedded designs.
According to the provided material, Renesas SuperH processors are not utilized in modern embedded designs.
Name one of the processor architectures widely used in new embedded designs.
Name one of the processor architectures widely used in new embedded designs.
According to the presentation, approximately ______% of embedded systems utilized commercial operating systems in new embedded designs.
According to the presentation, approximately ______% of embedded systems utilized commercial operating systems in new embedded designs.
According to the 2006 data, which programming language was most used in new embedded design?
According to the 2006 data, which programming language was most used in new embedded design?
Future embedded systems will not utilize multi-core processors.
Future embedded systems will not utilize multi-core processors.
What is one element of the future of embedded systems as discussed in the presentation?
What is one element of the future of embedded systems as discussed in the presentation?
The presentation suggests that, for satisfactory performance, the ______ code often needs to be fine-tuned on embedded systems.
The presentation suggests that, for satisfactory performance, the ______ code often needs to be fine-tuned on embedded systems.
According to the presentation, what is one reason "free Operating Systems" can increase product development cost?
According to the presentation, what is one reason "free Operating Systems" can increase product development cost?
According to the presentation, safety and reliability are practically independent concerns.
According to the presentation, safety and reliability are practically independent concerns.
What must results be to meet the 'correctness criterion'?
What must results be to meet the 'correctness criterion'?
In a triple modular redundancy system, the ______ result is chosen as the correct one.
In a triple modular redundancy system, the ______ result is chosen as the correct one.
What is the primary function of actuators in a real-time embedded system?
What is the primary function of actuators in a real-time embedded system?
When an airbag's motion sensors detect a collision, the system needs to respond by deploying the airbag within 10ms or less. If it does not, the ______ fails.
When an airbag's motion sensors detect a collision, the system needs to respond by deploying the airbag within 10ms or less. If it does not, the ______ fails.
What is the purpose of exception handling in embedded systems?
What is the purpose of exception handling in embedded systems?
In a reliable system, system damage is acceptable even when that system fails.
In a reliable system, system damage is acceptable even when that system fails.
What is the drawback of having a small $1 license fee per device in embedded systems?
What is the drawback of having a small $1 license fee per device in embedded systems?
How does software fault tolerance mask errors?
How does software fault tolerance mask errors?
Which of the options is NOT a method of designing a highly reliable system?
Which of the options is NOT a method of designing a highly reliable system?
What is one requirement to implementing open source OS?
What is one requirement to implementing open source OS?
The purpose of Scientific Innovation research Group (SIRG) is to use IOT for medical improvements.
The purpose of Scientific Innovation research Group (SIRG) is to use IOT for medical improvements.
How are fault errors masked using hardware-fault tolerance?
How are fault errors masked using hardware-fault tolerance?
The essential idea behind fault tolerance is to provide ______.
The essential idea behind fault tolerance is to provide ______.
Flashcards
What is a Real-Time System?
What is a Real-Time System?
A system that needs to quantitatively express time to describe its behavior.
Embedded system event response
Embedded system event response
Embedded system's immediate reaction to events is a crucial characteristic.
What does an embedded system include?
What does an embedded system include?
The combination of hardware, real time operating system (RTOS), and application program.
Describe the RTOS.
Describe the RTOS.
Signup and view all the flashcards
Correctness criterion in embedded systems?
Correctness criterion in embedded systems?
Signup and view all the flashcards
What is a 'Critical Task'?
What is a 'Critical Task'?
Signup and view all the flashcards
Define Concurrency.
Define Concurrency.
Signup and view all the flashcards
What is a 'safe system'?
What is a 'safe system'?
Signup and view all the flashcards
Describe a 'reliable system'.
Describe a 'reliable system'.
Signup and view all the flashcards
What is a fail-safe state?
What is a fail-safe state?
Signup and view all the flashcards
Safety-critical systems safety method
Safety-critical systems safety method
Signup and view all the flashcards
What is Fault Tolerance?
What is Fault Tolerance?
Signup and view all the flashcards
Hardware Fault-Tolerance
Hardware Fault-Tolerance
Signup and view all the flashcards
Software Fault Tolerance
Software Fault Tolerance
Signup and view all the flashcards
Triple Modular Redundancy
Triple Modular Redundancy
Signup and view all the flashcards
N-Version programming
N-Version programming
Signup and view all the flashcards
Recovery Blocks in software
Recovery Blocks in software
Signup and view all the flashcards
OS role in an embedded system
OS role in an embedded system
Signup and view all the flashcards
Pros/Cons of Open Source OS
Pros/Cons of Open Source OS
Signup and view all the flashcards
Study Notes
- Real-Time Audit and Defense course presented by Dr. Ahmed Elngar, Associate Professor and Head of Computer Science Department at Beni-Suef University and Faculty of Computers and Information Technology, American University in Emirates.
Course Syllabus (UCCE 3223)
- Course covers Real-Time Auditing and Defense
- Has a total of 3 hours
- Includes 2 hours of practical, hands-on training
- 2 hours are dedicated to theoretical aspects.
- The prerequisite for this course is UCCS 3107.
- The course defines applications, and compares hard vs soft real-time systems.
- Covers reference models of real-time systems and commonly used approaches to hard real-time scheduling.
- Touches on clock-driven scheduling and priority-driven scheduling, as well as scheduling periodic and sporadic tasks
- Discusses multiprocessor scheduling, resource access control, flexible computations, and tasks with temporal distance constraints.
- Includes real-time communication, real-time operating systems, and real-time programming.
Text Book
- The course utilizes "R. Mall, Real-Time Systems" as a textbook, published by Pearson in 2008
- It is supplemented with handouts.
Course Plan
- Introduction
- Task Scheduling : Uniprocessors, Multiprocessors
- Commercial Real-Time Operating Systems
- Real-time communications
- Real-time databases
Reference Books
- Jane Liu, Real-Time Systems, Pearson, 2000
- C. Krishna and K. Shin, Real-Time Systems, McGraw-Hill, 2000
Real-Time Systems
- Real-time System: Requires time to be quantitatively expressed to describe behavior.
- Performance is described by listing inputs and corresponding system responses.
Important Characteristics of Embedded Systems
- Embedded systems respond to events with external input, data processing, and external output.
- Automobile airbag systems are examples.
- Airbags deploying within 10ms of collision detection illustrates system timing requirements
Embedded Systems
- Embedded Systems = Hardware + RTOS + Application Program
Real-Time OS
- Real-Time OSs differ from Traditional OSs and are time bound.
- Embedded systems respond to external inputs
- If the response is late, the system fails.
- General purpose OSs are not designed for real-time use, but Real-time OSs help tasks meet deadlines
Characteristics of Embedded Systems
- Real-time systems have tasks associated with time constraints, e.g., deadlines.
- It follows the correctness criterion, the results should be logically correct within the stipulated time.
Considerations
- Safety and Task Criticality: Critical tasks are those where failure causes system failure, necessitating obstacle avoidance
- A safe system does not cause damage.
- A safety-critical real-time system is one where failure causes severe damage
More Characterisitics
- Concurrency requires the system to respond to independent events via separate tasks
- The same inputs can lead to different outcomes (Non-determinism)
- Systems are distributed with feedback structures and often implemented on custom hardware
Characteristics Continued
- Embedded Systems are reactive, with ongoing computer-environment interaction
- They demonstrate stability, important tasks will perform acceptably under overload.
- They perform exception Handling.
Safety and Reliability
- Safe System: Does not cause damage even when it fails.
- Reliable System: Operates for a long time without any failure.
- These are independent concepts in traditional systems.
- In traditional systems, safety and reliability are separate concerns.
- A system can be safe but unreliable and vice versa.
Safety Critical System
- Interrelated in safety-critical system
- Failure would result in severe damage
- Safety can be ensured only through increased reliability.
Fail-safe state
- An unreliable system can be made safe upon a failure by reverting to a fail-safe state.
- A fail-safe state means no damages can result if a system fails in this state
- Traffic lights blinking orange in all directions.
Fail-Safe Word Processing Program
- The document being processed has been saved onto the disk
- Fail-safe states help separate the issues of safety and reliability.
- Systems can always be made to fail in a fail-safe state.
Safety-Critical Sytems & Navigation
- For a safety-critical system no fail-safe state exists
- For a safety-critical system on an aircraft, shutting down the engine when the navigation system fails, wont help
Highly Reliable System Design
- Error Avoidance
- Error Detection and Removing
- Fault Tolerance
Fault Tolerance in Real Time Systems
- Essential Idea: Provide Redundancy
- Hardware fault-tolerance masks the effects of a hardware fault
- Software fault-tolerance masks the effects of a program fault
Fault Tolerance Methods
- Hardware FT: Built in self test (BIST) and Triple modular redundancy
- Software FT: N-Version programming and Recovery Blocks
Triple Modular Redundancy
- C1, C2, and C3 are redundant copies of a component that are voted on to select the majority result.
N-version programming
- Software fault tolerance technique, inspired by TMR of hardware.
- Different teams develop the same software.
- It has unsatisfactory performance because faults are correlated in the different versions and all version fail for similar reasons.
Recovery Blocks
- Software Fault Tolerance using recovery blocks
- It tests blocks after completing
- Runs alternatives if the initial test fails.
Modern Embedded Systems
- They incorporate Application-Specific hardware and programmable processors and mechanical transducers and actuators for performance and low power.
Embedded Systems: Block Diagram
- Contains control panel, controller processes, ASIC, processor, real-time OS, UI processes, and dual-ported RAM with CODEC.
OS in Embedded Device
- It supports multitasking, scheduling, synchronization, timing aspects, and memory management
- Supports file systems, networking, graphics displays, interfacing, scheduling, buffering, security, and power management.
Why an OS
- A recent cell phone system contained over five million lines of code
- Typical Embedded OS license fees are low
- Some simple low-end devices might not need an OS, but new devices are getting more complex.
Current Usage
- What Types of Processors are used?
- What Operating Systems are used?
- What Programming Languages are used?
- 2006 Market Survey of design engineers: Embedded Systems Design Magazine.
Processors
- 32-bit processors are dominantly used in new embedded designs in 2006 embedded market survey.
- Processor Architectures Widely Used: ARM, X86, PowerPC, MIPS, Xscale (ARM), and Renesas SuperH.
Processor Sales
- The 32-64 bit annual processor sales volume chart indicates ARM had most sales.
Processor Usage
- Most New Embedded Designs used 1 processor in the 2006 market survey.
Selection Issues
- Software support (OS, Compilers, Debug Tools, Applications)
- Price, Performance, Power (Battery Life (MIPS/Watt), Cooling)
- Availability and Long term availability/multiple vendors
OS Kernels in Embedded Design
- The bulk of new embedded designs use the commercial OS Kernels for real time usage.
Open Source OS
- Embedded devices are extremely cost sensitive.
- Satisfactory performance source code often needs fine tuning.
Open Source Cons
- The "Free" OS increases product development cost via device drivers & labor
- It may require more licenses and require you to publish your device's source code
Commercial Operating Systems
- Commercial Operating Systems use are dominated by Microsoft Emb. and Wind River.
Languages
- C and C++ are the main languages used in embedded Design.
What the Future Holds
- Use of multi-core processors will increase but present operating systems don't use this effectively
- Support of Wireless and mobile Internet.
- Power minimization.
Research Group Aim
- Scientific Innovation Research Group (SIRG) aims to evaluate the IOT performance and propose a secure architecture for the IoT security issues for Education.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.