Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Describe the two main kinds of Real Time Tasks: Periodic and Aperiodic Tasks. With the help of block diagram, explain the working of a typical

Describe the two main kinds of Real Time Tasks: Periodic and Aperiodic Tasks.
With the help of block diagram, explain the working of a typical embedded/concurrent system for controlling a plant using microcontroller. The components of the system are:
a) Microcontroller,
b) Sensors
c) Actuators
d) Data/Control bus
Suppose that we want to generate the following periodic square signal on pin P2.5 of the microcontroller 8051. Time scale is given in millisecond.
a) Find the values of TLx and THx for both ON and OFF signals.
b) Write the corresponding assembly language program. Use Timer 1 in mode 1 to generate the considered signal.
Repeat Question 3 using timer 1 in mode 2.
Define the following:
Earliest Deadline First (EDF) Scheduling algorithm.
Rate Monotonic Scheduling (RMS) algorithm
Following data are related to a scenario of a real time system task scheduling.
\table[[task i,Ci(Execution time),Pi(Period of task)],[1,30,100],[2,15,50],[3,60,150],[4,20,80],[5,55,160]]
a) Apply the Utilization Bound (UB) test to this set of tasks. Conclude about their schedulability (Use the values U(1)=1,U(2)=0.828,U(3)=0.779,U(4)=0.756 and U(5)=0.743).
b) Explain Response Time (TR) test, definition and equations for task i(Assume we have n tasks).
c) Using RT test check whether tasks 4 and 5 are schedulable. Write down all the steps and the equations used.
d) Draw the timeline in the time interval (0,600). Write your answers on the separate answer sheet.
7. Define the reliability of a system. What property of a system the reliability characterizes? In which situations is high reliability required?
8. What is the difference between the reliability and the availability of a system?
9. Explain main differences between software and hardware faults.
10. Define the failure rate.
11. What is the difference between the mean time to repair and the mean time between failures?
12. A heart pace-maker has a constant failure rate of =8.167109hr.
a) What is the probability that it will fail during the first year of operation?
b) What is the probability that it will fail within 5 years of operation?
c) What is the MTTF?
13. An automatic teller machine manufacturer determines that his product has a constant failure rate of =77.16 per 106 hours in normal use. For how long should the warranty be set if no more than 5% of the machines are to be returned to the manufacturer for repair?
14. A car manufacturer estimates that the reliability of his product is 99% during the first 7 years.
a) How many cars will need a repair during the first year?
b) What is the MTTF?
Page 2
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+ (c) Show that if & is countable, then f(. ) is countable.

Answered: 1 week ago

Question

Identify five strategies to prevent workplace bullying.

Answered: 1 week ago