Digital Signal Processing

Chapter 15
Real-Time DSP Engineering, Applications and Governance

Post Graduate Program in Electrical Engineering
Digital Signal Processing   •   Post Graduate

Real-Time DSP Engineering, Applications and Governance

Introduction

Digital signal processing becomes real-time when correctness depends not only on numerical results but also on when those results are produced. A filter that computes the right output after its deadline is operationally incorrect. Real-time DSP therefore integrates signal-processing theory with timing analysis, processor architecture, embedded software, verification, safety, cybersecurity and governance.

Real-time systems occur in motor drives, radar, communications, biomedical instruments, hearing aids, industrial monitoring, autonomous platforms and power-electronic protection. Their constraints differ: an audio effect may tolerate occasional degradation, whereas a protection relay or flight-control function requires demonstrable timing and safety assurance.

A real-time guarantee is stronger than a high average processing speed. It requires bounded execution, communication and queuing times under specified operating conditions. Engineering such systems involves managing trade-offs among signal quality, latency, throughput, energy, cost, reliability and regulatory obligations.

Learning Objectives

After studying this chapter, the reader should be able to:

  1. distinguish hard, firm and soft real-time DSP requirements;
  2. construct timing and latency budgets for sample- and block-based systems;
  3. analyse periodic DSP tasks using utilization and response-time methods;
  4. select suitable processors, memory structures, scheduling policies and numeric representations;
  5. evaluate filtering, buffering and multirate operations in relation to latency;
  6. design measurement-based and analytical verification strategies;
  7. assess representative real-time DSP applications;
  8. apply safety, security, privacy and lifecycle-governance principles; and
  9. critically evaluate contemporary AI-enabled and heterogeneous DSP systems.

1. Real-Time Correctness

A real-time DSP system repeatedly acquires signals, computes transformations and delivers outputs to an actuator, communication interface, display or storage service. Its correctness has two dimensions:

  • Functional correctness: the computed output satisfies the signal-processing specification.
  • Temporal correctness: the output is available within its permitted time window.

A deadline is the latest permissible completion time relative to an event or release. A period is the nominal interval between task releases. A task's worst-case execution time (WCET) is an upper bound on its processor execution demand under stated hardware and software assumptions.

Real-time requirements are commonly classified as follows:

ClassConsequence of missing a deadlineExample
Hard real-timeA miss is unacceptable and may create a hazardous failurePower-converter protection
Firm real-timeA late result has no useful value, although rare misses may be tolerableFrame-based machine inspection
Soft real-timeUtility degrades progressively with latenessAudio streaming

Hard real-time does not mean fast in an absolute sense. A task with a 100 ms deadline may be hard real-time, while a 1 ms multimedia task may be soft real-time. Classification depends on consequences and assurance obligations.

Determinism and jitter

Latency is the elapsed time from a defined input event to a defined output event. Jitter is variation in the timing of nominally periodic events or variation in latency. Both definitions require explicit reference points—for example, ADC sampling instant to DAC update—not vague statements such as system delay.

Sampling jitter can create amplitude error. For a sinusoid of frequency fin, a commonly used small-jitter approximation for the jitter-limited signal-to-noise ratio is

SNRjitter ≈ -20 log10(2π fin σt) dB

where σt is the RMS sampling-time jitter in seconds. This approximation assumes small, zero-mean timing errors and a sinusoidal input. It shows that high-frequency inputs require especially low clock jitter.

2. End-to-End Architecture and Timing Budgets

A practical signal path may contain sensing, analog conditioning, conversion, DMA transfer, buffering, computation, communication, output conversion and actuation.

End-to-end real-time DSP signal path Sensor andanalog front endADCDMA andbuffersDSPtasksDAC orinterfaceActuator Clock synchronization, monitoring and governance span the path
End-to-end real-time DSP signal path
Figure: End-to-end real-time DSP signal path

Figure: Representative end-to-end real-time DSP architecture.

For serial stages without overlap, a conservative end-to-end bound is

LE2E ≤ Lsense+Lconv+Lbuffer+Lqueue+Lcompute+Lcomm+Lout+Lplant

Each term is a worst-case latency contribution in seconds. If stages overlap through pipelining, simply summing complete stage times can be pessimistic; event-based analysis must then account for release relations and resource contention. Conversely, omitting queuing, clock-domain crossing or operating-system delays makes the estimate unsafe.

Buffering latency

For a sampling frequency fs and a block containing B samples, the block release interval is

TB = B/fs

The elapsed time from acquisition of the first sample to acquisition of the last sample in that block is

Lcollect = (B-1)/fs

assuming uniformly spaced sampling instants and immediate availability of each converted sample. If sample arrivals are observed at arbitrary positions in a block, their mean waiting time to the final sample is approximately (B-1)/(2fs). These quantities must not be confused with execution time after block completion.

Larger blocks reduce interrupt and function-call overhead per sample and can improve SIMD efficiency. They also increase collection latency and memory use. Ping-pong buffering permits one block to be processed while another is filled, increasing throughput but not eliminating the initial block-collection delay.

Algorithmic delay of linear-phase FIR filters

A causal FIR filter of order M has length M+1 and transfer function

H(z)=∑k=0M h[k]z-k

If its coefficients have the appropriate symmetry or antisymmetry for linear phase, its constant group delay is M/2 samples over frequencies where the phase is defined. The corresponding delay in seconds is

τg = M/(2fs)

Thus, M/2 and M/(2fs) have different dimensions. For odd M, the delay is a half-integer number of samples; this is still a valid frequency-domain group delay. A general FIR filter without linear-phase symmetry does not necessarily have constant group delay.

Example. A 65-tap symmetric FIR has M=64. At fs=48,000 Hz, its group delay is 32 samples, or

τg = 32/48000 = 0.0006667 s ≈ 0.667 ms

This delay exists independently of processor execution time.

3. Computational Demand and Processor Selection

For an FIR filter of length N, direct-form processing requires approximately N multiplications and N-1 additions per output sample. At sample rate fs, its multiplication rate is approximately

Rmult=Nfs

This counts arithmetic operations, not instruction cycles. A processor may perform several operations per cycle through SIMD or fused multiply–accumulate instructions, while cache misses, address generation and data movement can reduce achieved throughput.

Processor selection should consider:

  • sustained rather than peak arithmetic throughput;
  • interrupt latency and context-switch behavior;
  • memory bandwidth, cache predictability and DMA;
  • floating-point, fixed-point and vector support;
  • energy, thermal and cost constraints;
  • toolchain maturity and WCET analysability;
  • lifecycle availability and certification evidence.

Common platforms include microcontrollers, DSP processors, CPUs, GPUs, FPGAs and heterogeneous systems-on-chip. GPUs offer high throughput but can be difficult to bound tightly because of shared caches, scheduling and data-transfer variability. FPGAs provide deterministic parallel pipelines but require explicit resource, timing and numeric design. Dedicated DSPs often balance efficient arithmetic with predictable control.

Roofline-style reasoning

Performance may be limited by computation or memory traffic. If an algorithm performs O operations while transferring D bytes, its arithmetic intensity is

I=O/D

in operations per byte. If processor peak throughput is Pmax operations/s and sustainable memory bandwidth is β bytes/s, an approximate upper performance bound is

P ≤ min(Pmax, βI)

This is a performance model, not a hard real-time proof. It helps identify whether coefficient reuse, tiling or local memory can improve implementation.

4. Task Scheduling and Schedulability Analysis

A periodic task τi is often represented by (Ci,Ti,Di), where:

  • Ci is its WCET;
  • Ti is its period;
  • Di is its relative deadline.

All quantities must use consistent time units. The processor utilization due to independent periodic tasks is

U=∑i=1n Ci/Ti

Utilization greater than 1 is impossible on a single processor, but utilization below 1 does not by itself prove schedulability under every policy.

Rate-monotonic and earliest-deadline-first scheduling

Rate-monotonic (RM) scheduling assigns higher fixed priority to shorter-period tasks. For n independent, preemptible periodic tasks with Di=Ti, zero blocking and negligible overhead, the Liu–Layland sufficient condition is

U ≤ n(21/n-1)

The bound is sufficient but not necessary: task sets exceeding it may still be schedulable. Under ideal preemptive earliest-deadline-first (EDF) scheduling on one processor, independent periodic tasks with Di=Ti are schedulable if and only if U≤1. These results do not directly cover shared-resource blocking, release jitter, non-preemptive sections or multicore interference.

Fixed-priority response-time analysis

For a single-processor, preemptive fixed-priority system, the worst-case response time of task τi can be found iteratively from

Ri(q+1)=Ci+Bi+∑j∈hp(i) ⌈(Ri(q)+Jj)/Tj⌉Cj

Here Bi is blocking from lower-priority non-preemptive critical sections, Jj is higher-priority release jitter, and hp(i) is the set of tasks with higher priority. A common initial value is Ri(0)=Ci+Bi. Iteration stops when it converges or exceeds Di. The analysis assumes valid WCET bounds and a scheduling model compatible with the recurrence.

Corrected worked response-time calculation

Consider three independent periodic tasks on one preemptive processor. Deadlines equal periods, release jitter and blocking are zero, and RM priority is used.

TaskWCET CiPeriod/deadline Ti=DiPriority
A0.20 ms1.00 msHighest
B0.30 ms2.00 msMiddle
C0.80 ms5.00 msLowest

The utilization is

U=0.20/1.00+0.30/2.00+0.80/5.00=0.51

For task A, RA=0.20 ms. For task B,

RB(0)=0.30
RB(1)=0.30+⌈0.30/1.00⌉0.20=0.50 ms
RB(2)=0.30+⌈0.50/1.00⌉0.20=0.50 ms

For task C,

RC(0)=0.80 ms
RC(1)=0.80+⌈0.80/1.00⌉0.20+⌈0.80/2.00⌉0.30=1.30 ms
RC(2)=0.80+⌈1.30/1.00⌉0.20+⌈1.30/2.00⌉0.30
=0.80+2(0.20)+1(0.30)=1.50 ms
RC(3)=0.80+⌈1.50/1.00⌉0.20+⌈1.50/2.00⌉0.30=1.50 ms

The recurrence converges at 1.50 ms, which is below task C's 5.00 ms deadline. All three tasks are schedulable under the stated assumptions. Execution overheads, DMA contention or blocking would need explicit inclusion in a deployment analysis.

5. Numeric Representation and Signal Integrity

Fixed-point arithmetic

A signed fixed-point format allocates bits to sign, integer magnitude and fraction. Quantization step ∆ determines resolution. For rounding of a sufficiently varying signal, the quantization error is often modelled as uniformly distributed on [-∆/2,∆/2), giving

σe2=∆2/12

This noise model is an approximation; it may fail for low-level, periodic or strongly correlated signals. For an ideal b-bit uniform ADC driven by a full-scale sinusoid, the widely used approximation is

SNRQ ≈ 6.02b+1.76 dB

It assumes an ideal converter, a full-scale sine wave and quantization-noise assumptions. It is not a universal SNR formula.

Fixed-point design requires range analysis, scaling, rounding and overflow policy. Saturation usually produces bounded distortion, while wrap-around can create severe discontinuities. Accumulators commonly need guard bits. For an FIR filter with bounded input |x[n]|≤Xmax, a conservative output bound is

|y[n]| ≤ Xmax∑k=0M|h[k]|

This follows from the triangle inequality and supports accumulator sizing, although it may be pessimistic.

Floating point and finite precision

Floating point provides wide dynamic range but does not eliminate round-off, cancellation, non-associativity or overflow. Compiler transformations and fused operations can change bit-level results. Reproducibility requirements should therefore specify tolerances or exact arithmetic conditions.

Coefficient quantization moves filter poles and zeros. In IIR filters, pole displacement can reduce stability margin, while internal rounding can cause zero-input limit cycles. Cascaded second-order sections with deliberate scaling are usually more robust than one high-order direct form.

6. Concurrency, Data Movement and Overload

DMA reduces processor involvement in routine transfers, but it can contend with instruction and data accesses. Cache coherency must be maintained when both DMA and a CPU access a buffer. Incorrect ownership transitions can produce stale or partially updated data.

Safe patterns include:

  • ping-pong buffers with explicit ownership states;
  • lock-free single-producer/single-consumer queues where applicable;
  • bounded critical sections;
  • memory barriers and cache maintenance required by the architecture;
  • sequence numbers or timestamps for loss and reordering detection.

Priority inversion occurs when a high-priority task waits for a resource held by a lower-priority task. Priority inheritance or priority-ceiling protocols can bound inversion when their assumptions are met.

Overload must be designed, not discovered accidentally. Policies may include dropping obsolete frames, reducing algorithmic quality, disabling noncritical diagnostics or entering a safe state. Unbounded queues are dangerous because they convert transient overload into escalating latency and memory exhaustion. Graceful degradation must preserve safety-critical channels and be documented in the hazard analysis.

7. Verification, Measurement and Assurance

Average execution time is inadequate for deadline assurance. WCET estimation may combine static analysis, measurement and architectural reasoning. Measurement alone cannot prove that an unobserved path is harmless, while highly pessimistic static bounds may be unusable on complex hardware. Evidence should match system criticality.

A rigorous verification strategy includes:

  1. Reference modelling: validate algorithms using high-precision or analytically understood models.
  2. Back-to-back testing: compare embedded outputs with the reference under defined numeric tolerances.
  3. Boundary testing: exercise maximum amplitudes, rates, block sizes and coefficient ranges.
  4. Timing instrumentation: use hardware timers, trace units or logic analysers with calibrated probe overhead.
  5. Stress testing: combine interrupts, DMA, communications, thermal conditions and worst-case traffic.
  6. Fault injection: test corrupt samples, clock loss, buffer overruns and processor faults.
  7. Long-duration testing: detect rare races, drift, leakage and counter rollover.
  8. Requirements traceability: connect hazards and requirements to implementation and verification evidence.

Timing results should report the measurement point, workload, clock rate, cache state, compiler options, firmware version and environmental conditions. Percentiles are useful for operational characterization but do not by themselves establish a hard upper bound.

Frequency-domain performance and timing must be verified together. A faster approximation is unacceptable if it violates attenuation, phase or stability requirements; a spectrally excellent design is unacceptable if it misses deadlines.

8. Application Domains

Communications

Receivers implement synchronization, channelization, FFTs, equalization, decoding and beamforming. Throughput and frame deadlines are often dominant. Adaptive algorithms must converge quickly without destabilizing the data path. SDR platforms also require secure update and spectrum-compliance controls.

Industrial control and power electronics

DSP controllers estimate states and generate actuation commands at fixed rates. Sampling-to-actuation delay introduces phase lag and can reduce stability margins. Timing variation must therefore be represented in control-system analysis rather than treated only as a software concern.

Biomedical and wearable systems

ECG, EEG, ultrasound and hearing devices require low power and high signal integrity. Patient safety, privacy, explainability and data retention become governance requirements. Alarm algorithms require careful control of false positives and false negatives.

Radar, sonar and autonomous sensing

Large arrays and wide bandwidths create heavy computational and data-movement demands. Detection accuracy, bounded latency and calibration interact. AI classifiers may assist interpretation, but deterministic preprocessing, confidence monitoring and fallback behavior remain essential.

9. Detailed Illustrative Case: Low-Latency Hearing Device

Background

This fictional case concerns a binaural hearing device sampling each channel at 48 kHz. Its pipeline performs microphone conditioning, a 65-tap linear-phase FIR, frequency-dependent gain, feedback suppression and output limiting. The product team specifies an end-to-end target below 5 ms because excessive delay can create comb filtering between direct and amplified sound.

Problem

An initial implementation processes 128-sample blocks. Although processor utilization is only 42%, users report an audible hollow quality. The engineering team initially interprets the low utilization as proof of adequate real-time performance.

Analysis

The block interval is

TB=128/48000=2.667 ms

The time from the first to the last sample of a block is

Lcollect=127/48000=2.646 ms

The 65-tap FIR has order 64 and group delay

τg=64/(2×48000)=0.667 ms

Measured worst-case post-block computation is 0.85 ms. Conversion, interface and output staging contribute a combined worst-case 0.70 ms. Using a conservative serial budget from first-sample acquisition gives

LE2E≈2.646+0.667+0.850+0.700=4.863 ms

This leaves only 0.137 ms of margin and does not include occasional wireless synchronization activity. Low utilization therefore does not imply a comfortable latency margin.

Approach

The block size is reduced to 64 samples, while SIMD optimization and DMA ping-pong buffering limit the increase in overhead. The new collection delay is

Lcollect=63/48000=1.3125 ms

After optimization, worst-case computation is 0.58 ms. The revised bound is

LE2E≈1.3125+0.667+0.580+0.700=3.2595 ms

The design team also:

  • assigns the audio path higher priority than telemetry;
  • bounds shared-bus interference through stress tests and analysis;
  • signs firmware updates and separates clinical settings from user controls;
  • performs fixed-point saturation and acoustic-output tests;
  • records configuration changes without storing unnecessary raw audio; and
  • defines a safe fallback gain profile if adaptive feedback suppression fails.

Outcome

The revised system provides approximately 1.74 ms of margin relative to the 5 ms target. Listening tests improve, while trace testing confirms no missed audio deadlines under the specified workload. Privacy review removes an unnecessary raw-audio diagnostic mode from production firmware.

Learning Points

  1. Processor utilization and end-to-end latency answer different questions.
  2. Block size can dominate latency even when computation is efficient.
  3. FIR group delay is algorithmic and cannot be removed merely by using a faster processor.
  4. Timing, acoustic safety, cybersecurity and privacy must be governed together.

10. Governance, Safety and Regulation

Governance establishes who may approve requirements, algorithms, data use, releases and residual risk. It spans the entire lifecycle rather than being a final compliance inspection.

A practical governance model includes:

  • documented intended use and operating boundaries;
  • hazard analysis and risk controls;
  • requirements-to-test traceability;
  • configuration and change control;
  • independent review proportionate to criticality;
  • secure development and vulnerability management;
  • field monitoring, incident response and rollback;
  • supplier and component lifecycle management; and
  • retirement and data-disposal procedures.

Relevant standards depend on sector and jurisdiction. Examples include IEC 61508 for functional safety, ISO 26262 for road vehicles, IEC 62304 for medical-device software and DO-178C for airborne software. Data protection laws such as the EU General Data Protection Regulation may apply when personal data are processed. Compliance with one standard does not automatically satisfy another, nor does certification replace sound engineering.

Safety and security interaction

Security failures can become safety failures. Malicious coefficient updates, replayed sensor frames or denial-of-service traffic may alter physical behavior. Controls include authenticated boot, signed updates, least privilege, protected debug ports, secure key storage, freshness checks and bounded processing of untrusted input.

Security controls also consume time and memory. Cryptographic verification and packet inspection must be included in timing budgets. Safety mechanisms should fail predictably when authentication or communication fails.

Privacy and ethics

DSP systems can infer speech, location, health state or identity from signals even if raw data are not permanently stored. Responsible design applies data minimization, purpose limitation, retention controls and access auditing. Edge processing can reduce exposure but does not guarantee privacy if derived features remain identifying.

Ethical evaluation also considers unequal performance across populations, accessibility, surveillance risks and whether users can contest automated decisions. Performance claims should state datasets, conditions, confidence intervals and known limitations.

11. AI-Enabled and Contemporary DSP

Neural networks increasingly supplement conventional DSP in denoising, source separation, modulation recognition, condition monitoring and sensor fusion. Their real-time deployment introduces model execution time, accelerator contention, memory footprint and input-distribution sensitivity.

Useful techniques include quantization-aware training, pruning, structured sparsity, knowledge distillation and operator fusion. However, reduced average inference time is not equivalent to bounded WCET. Dynamic routing, sparse execution and shared accelerators may produce input-dependent timing.

Governed deployment requires model versioning, dataset provenance, subgroup evaluation, confidence monitoring, rollback and a defined fallback when inputs are outside the validated operating domain. Hybrid architectures are often effective: deterministic DSP performs calibration, filtering and physical constraint enforcement, while machine learning handles pattern recognition.

Other contemporary developments include chiplet-based heterogeneous processing, time-sensitive networking, edge-cloud partitioning, approximate computing and digital twins. Cloud services can support fleet analytics but should not be placed in a hard real-time control loop unless communication delay and loss are bounded by an appropriate architecture.

12. Engineering Best Practices

A defensible workflow is to:

  1. define signal-quality, latency, throughput, safety and security requirements quantitatively;
  2. identify end-to-end events and construct a latency budget;
  3. select algorithms with explicit computational and algorithmic-delay estimates;
  4. partition functions across hardware and software;
  5. establish WCET, blocking, release jitter and communication assumptions;
  6. perform schedulability analysis before implementation is frozen;
  7. design bounded buffers and explicit overload behavior;
  8. verify numerical range, precision, stability and saturation;
  9. measure on representative hardware under worst-case interference;
  10. maintain traceability, configuration control and post-deployment monitoring.

Margins should be explicit rather than hidden. A design that passes only under nominal conditions is not robust. At the same time, excessive conservatism can increase cost and energy use; postgraduate engineering requires justified bounds, not arbitrary overdesign.

Chapter Summary

Real-time DSP correctness combines valid signal processing with deadline satisfaction. End-to-end delay includes conversion, buffering, scheduling, computation, communication, algorithmic group delay and actuation. Block processing improves efficiency but adds collection delay; a linear-phase FIR of order M has group delay M/2 samples, equal to M/(2fs) seconds.

Schedulability requires assumptions to be stated. Utilization tests offer useful screening, while fixed-priority response-time analysis incorporates interference, blocking and release jitter. WCET, data movement and resource contention are as important as arithmetic counts. Numeric implementation requires range, quantization, overflow and stability analysis.

Professional engineering combines reference modelling, timing measurement, stress testing, fault injection and traceability. Governance addresses safety, cybersecurity, privacy, ethical use, configuration control and field monitoring. Heterogeneous processors and AI expand capabilities but complicate timing assurance and lifecycle accountability.

Key Terms

Algorithmic delay: Delay inherent in a signal-processing operation, independent of processor speed.

Blocking time: Time for which a task waits because a lower-priority task holds a required non-preemptible resource.

Deadline: Latest permissible time for completing an operation after its release.

DMA: Hardware mechanism that transfers data without continuous processor intervention.

End-to-end latency: Elapsed time between defined input and output events across the complete system.

Firm real-time: Timing class in which a late result has no value, although occasional misses may be tolerated.

Group delay: Negative derivative of phase with respect to angular frequency; for a linear-phase FIR it is constant where phase is defined.

Hard real-time: Timing class in which deadline misses are unacceptable.

Jitter: Variation in event timing or latency relative to nominal timing.

Latency budget: Allocation or accounting of permitted delay among system stages.

Priority inversion: Condition in which a high-priority task is delayed by a lower-priority resource holder.

Quantization: Mapping of a continuous or high-resolution value to a finite set of representable levels.

Release jitter: Variation in the time at which a task becomes ready relative to its nominal release.

Response time: Time from task release to task completion.

Schedulability: Ability of a task set to meet all deadlines under stated assumptions.

Soft real-time: Timing class in which lateness reduces utility rather than immediately invalidating the system.

Throughput: Quantity of data, samples or frames processed per unit time.

WCET: A justified upper bound on execution time under specified conditions.

Review Questions

Short Answer Questions

  1. Distinguish functional correctness from temporal correctness.
  2. Why can low processor utilization coexist with excessive end-to-end latency?
  3. State the group delay, in samples and seconds, of a symmetric linear-phase FIR filter of order M.
  4. What is priority inversion?
  5. Why are average execution times insufficient for hard real-time assurance?

Long Answer Questions

  1. Explain how buffering, scheduling, algorithmic delay and hardware interfaces contribute to an end-to-end latency budget.
  2. Compare fixed-point and floating-point arithmetic for a safety-relevant embedded DSP implementation.
  3. Discuss the assumptions and limitations of RM utilization bounds, EDF utilization analysis and fixed-priority response-time analysis.
  4. Develop a verification strategy covering signal quality, timing, overload and fault behavior.
  5. Critically evaluate the interaction among functional safety, cybersecurity and privacy in a biomedical DSP product.

Analytical / Application Questions

  1. A 49-tap symmetric FIR operates at 24 kHz. Calculate its group delay in samples and milliseconds. Explain how this delay differs from execution time.
  2. For tasks (C,T,D) of (0.4, 2, 2), (0.7, 5, 5) and (1.2, 10, 10) ms, apply RM response-time analysis under zero blocking and jitter. Determine whether all deadlines are met.
  3. Design a latency and governance plan for an AI-assisted industrial vibration monitor. Include block-size selection, overload policy, model monitoring, secure updating and evidence required before deployment.

Multiple Choice Questions with Answers

Question 1

Which statement best defines correctness in a real-time DSP system?

A. The output must be numerically exact, regardless of completion time.

B. The system must have low average processor utilization.

C. The output must satisfy both functional and timing requirements.

D. Every operation must complete in less than one millisecond.

Correct Answer: C. The output must satisfy both functional and timing requirements.

Question 2

A symmetric linear-phase FIR filter has 65 taps and operates at 48 kHz. What is its group delay?

A. 32 samples, approximately 0.667 ms

B. 32.5 samples, approximately 0.677 ms

C. 64 samples, approximately 1.333 ms

D. 65 samples, approximately 1.354 ms

Correct Answer: A. 32 samples, approximately 0.667 ms

Question 3

A 64-sample block is acquired at 48 kHz. What is the elapsed time from acquisition of the first sample to acquisition of the last sample?

A. 1.0000 ms

B. 1.3125 ms

C. 1.3333 ms

D. 2.6667 ms

Correct Answer: B. 1.3125 ms

Question 4

Under the assumptions of the chapter's response-time example, at what value does the response time of task C converge?

A. 1.30 ms

B. 1.40 ms

C. 1.50 ms

D. 1.60 ms

Correct Answer: C. 1.50 ms

Question 5

Which condition is required for the classic Liu–Layland rate-monotonic utilization bound stated in the chapter?

A. Deadlines equal periods and tasks are independent and preemptible.

B. Tasks execute non-preemptively with arbitrary deadlines.

C. All tasks share a single unprotected resource.

D. Release jitter must exceed one task period.

Correct Answer: A. Deadlines equal periods and tasks are independent and preemptible.

Question 6

For an ideal single-processor EDF system with independent preemptible periodic tasks and Di=Ti, which utilization condition is necessary and sufficient?

A. U≤0.5

B. U≤ln(2)

C. U≤n(21/n-1)

D. U≤1

Correct Answer: D. U≤1

Question 7

Under the uniform rounding-error model, what is the quantization-error variance for quantization step ∆?

A. ∆/2

B. ∆2/12

C. ∆2/2

D. 12∆2

Correct Answer: B. ∆2/12

Question 8

Which measure directly captures delay from a specified ADC sampling event to a specified actuator event?

A. Arithmetic intensity

B. Processor utilization

C. End-to-end latency

D. Quantization resolution

Correct Answer: C. End-to-end latency

Question 9

Why are unbounded queues unsuitable for real-time DSP overload management?

A. They always reduce arithmetic precision.

B. They can convert overload into growing latency and memory use.

C. They prevent DMA transfers from occurring.

D. They make FIR filters nonlinear.

Correct Answer: B. They can convert overload into growing latency and memory use.

Question 10

Which practice is most appropriate for governing an AI-enabled safety-relevant DSP system?

A. Deploy every model update automatically if average accuracy increases.

B. Store all raw sensor data indefinitely.

C. Use model versioning, monitored operating boundaries and a defined fallback.

D. Replace deterministic preprocessing with an unrestricted cloud service.

Correct Answer: C. Use model versioning, monitored operating boundaries and a defined fallback.

Digital Signal Processing
Chapter 15 of 15