Q15Real Time Systems
Question
Describe the different types of timing constraints in real-time systems.
Answer
A rigorous classification of Timing Constraints. Explains the strict mathematical physics governing Stimulus-Response (latency), Response-Response (jitter), and the absolute enforcement of Deadlines in deterministic architecture.
An RTS is completely governed by mathematical timing constraints. These constraints strictly define the physical boundaries within which the system must execute to avoid catastrophic failure.
The absolute most critical constraint. It mathematically defines the maximum physical time allowed between an external event (Stimulus) and the system's output (Response).
- Example: In an automotive braking system, when the driver physically slams the pedal (Stimulus), the hydraulic calipers must engage the brake pads (Response) within a strict of 50 milliseconds. If , the car crashes.
This mathematically governs the variance between consecutive outputs.
- Example: A robotic arm welding a car chassis must receive a motor pulse exactly every 10ms. If the pulses arrive at 9ms, 12ms, and 8ms, the physical weld will be catastrophically warped. The system must enforce a strict bound on this variance (Jitter).
This defines the mathematical physics of the external environment.
- Example: The system assumes that an external hardware interrupt (like a sensor pulse) will NOT fire faster than a minimum time interval . If the hardware physically malfunctions and blasts interrupts faster than , it will violently overwhelm the CPU. The RTS architecture must mathematically enforce rate-limiting to survive.
A Relative deadline is the duration from the release time (e.g., "finish within 10ms of waking up"). An Absolute deadline is the exact physical wall-clock time (e.g., "must finish exactly at 14:00:00.000").