Three periodic tasks run under fixed-priority interrupts on a controller
PHYSICS · Multi-part · Fermi University Physics · Electronics, Instrumentation & Communication · Digital electronics, embedded systems and data acquisition · Digital electronics, embedded systems and data acquisition
Inside the Instrument, Ch Microcontrollers and programmable logic for measurement
Problem
Three periodic tasks run under fixed-priority interrupts on a controller, with periods T1=2ms, T2=8ms, T3=20ms and worst-case execution times C1=0.3ms, C2=1.0ms, C3=3.0ms. The controller nests interrupts, so every task is fully pre-emptive and none is ever blocked; each deadline equals its period, and priorities are in rate-monotonic order.
((a)) Compute the total utilisation ∑Ci/Ti.
((b)) Compare it with the rate-monotonic bound n(21/n−1) for n=3 (quoted as 0.780), and state whether the set is guaranteed schedulable.
((c)) Now run the same tasks on a controller that does not nest interrupts, so a task already running cannot be pre-empted. Find task 1's worst-case response time and decide whether it meets its deadline.