



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Dr. S.E. AZOUG (^) Master 1 – Embedded Systems Electronics – UBBA
Syllabus ■ (^) Description: ▪ (^) Study of the architecture of digital signal processors (DSP) ■ (^) Objectives: ▪ (^) Know the internal architecture of a DSP ▪ (^) Master its development tools (software / hardware) ▪ (^) Master the workflow for implementing a signal- processing algorithm on a DSP
Syllabus ■ (^) Prerequisites: ▪ (^) Microprocessor systems ▪ (^) Digital signal processing (DSP theory) ▪ (^) Programming in assembly language and in C/C++ language ■ (^) Course load: ▪ (^) Lectures: 3h00 / week ▪ (^) Tutorials (TD): 1h30 / week ▪ (^) Lab work (TP): 1h30 / week
Syllabus ■ (^) Recommended books: ▪ (^) R. Chassaing, D. Reay, Digital Signal Processing and Applications with the TMS320C6713 and TMS320C DSK, John Wiley & Sons, 2008 ▪ (^) T.B. Welch, C.H.G. Wright and M.G. Morrow, Real-Time Digital Signal Processing from MATLAB to C with TMS320C6x DSPs, CRC Press, 2012 ▪ (^) N. Kehtarnavaz, N. Kim, Real Time Digital Signal Processing Based on TMS320C6000, Newnes, 2004 ▪ (^) M. Pinard, Les DSP, famille ADSP 218X: Principes et applications (The DSPs, ADSP 218X family: Principles and applications), Dunod, 2000
Syllabus ■ (^) IDE for lab sessions: ▪ (^) Code Composer Studio 5.x (Free): https://goo.gl/zNGdH
Syllabus ■ (^) Other web resources:
■ (^) Contact:
Outline
▪ (^) Introduction ▪ (^) Advantages / disadvantages ▪ (^) Application domains ▪ (^) Main algorithms ▪ (^) Implementation constraints
▪ (^) Definition ▪ (^) Architecture: MAC unit, Harvard, memories, instruction set ▪ (^) Internal peripherals ▪ (^) History ▪ (^) Different classes ▪ (^) Different families ▪ (^) Existing alternatives
Digital Signal Processing (DSP theory) Question: why go through a digital signal processing system if the system's input and output are purely analog?
➜ ADC^ ➜
➜ DAC^ ➜
ADC = Analog-to-Digital Converter · DAC = Digital-to-Analog Converter
Main Algorithms
Application Domains
SONAR / SAR / GPS
Machines / motors / robots
Implementation Constraints
▪ (^) Data stream processing: real-time or not (offline)? ▪ (^) Precision: fixed-point or floating-point? ▪ (^) Sampling: fₛ ≥ 2·fₘₐₓ (Nyquist); ADC speed vs. resolution trade-off ▪ (^) High bandwidth → complex memory management!
A system is real-time if the execution time of the processing is shorter than the sampling period (waiting time ≥ 0) Execution time ≤ Tₛ = 1 / fₛ ▪ (^) Cycles available per sample ≈ f_clock / fₛ ( MHz / 8 kHz ≈ 12,500) ▪ (^) Fast, repetitive computation (in a loop) ▪ (^) Minimal output/input latency (depends on fₛ and the application)
▪ (^) Low cost / low power / small footprint (mobility) ▪ (^) Towards an architecture dedicated to DSP?
Implementation Constraints: Number Representation
▪ (^) Smaller dynamic range: −32768 …
▪ (^) Overflow risk: 200 × 350 = 70, ▪ (^) Q15 format: integer = x · 2¹⁵, x ∈ [−1, 1[ (0.5 → 16384) ▪ (^) Q15 × Q15 gives Q30: shift right by 15 ▪ (^) Cheaper and smaller, but harder to program
▪ (^) Much larger dynamic range, no scaling needed ▪ (^) Easier to program, faster time to market ▪ (^) Higher power consumption, sometimes higher cost ▪ (^) Needed for high precision, wide dynamic range, high SNR
▪ (^) Quantization: SNR ≈ 6.02·N + 1.76 dB for an N-bit ADC ▪ (^) Coefficient quantization: IIR poles may leave the unit circle (instability) ▪ (^) Rounding noise and overflow → scaling, saturation
The MAC Unit (Multiply-ACcumulate)
× + Accumulator (Acc)
Harvard Architecture
CPU Memory program + data single bus CPU Program memory Data memory program bus data bus