Systems For Digital Signal Processing: 1 - Introduction
Systems For Digital Signal Processing: 1 - Introduction
Processing
1 - Introduction
• Educational objectives and reasons
• DSP for mechatronics: a functional perspective
• Course syllabus & references
• Definitions and basic properties of signals and systems
• Why is digital better than analog?
• Overview of DSP technologies
1
Course objectives
• Mathematical representation of digital signals and systems
• Theoretical aspects
Implementation
Theoretical aspects DSP issues
Source: Wikipedia
3
DSP and mechatronics applications
4
DSP in Mechatronic systems: a
functional perspective
• Digital control
• Digital filtering
• Transforms
• Analog filtering • Parameter estimation
• Feature extractions • D/A conversion
• Amplification
• Optimization • Power Amplification
• A/D conversion
«Embedded» Output signal
Input Signal
Signals Processing conditioning
Sensors conditioning
(MCU, μP, FPGA, & interfacing
& interfacing
PLC, DSP)
Of «external» quantities
(i.e. related to the Signals DSP • Electric valves
environment) • Motors (electric, pneumatic, hydraulic)
of «internal»
quantities (i.e. related Mechanical
to the system) Sensors system Actuators
(gears, axles, …)
Signals
7
Types of signalsQuantization &
coding
Amplitude
Continuous Discrete ↓
Continuous continuous-time
analog signals
signals
Time
discrete-time
Sampling → Discrete digital signals
signals
Analog/continuous-time signals Discrete-time/digital signals (sequences)
x(t) -- f: R R or R Z x(n) -- f: Z R or Z Z
x(t) x(n)
3 4 5 6 7 t 3 4 5 6 7 n
-6 -5 -4-3 -2 -1 1 2 8 9 10 -8 -7 -6 -5 -4-3 -2 -1 1 2 8 9 10
8
Overview on A/D Conversion
•The Analog-to-Digital Converters are the interface between the analog and the digital
domains
•Usually the ADCs are the performance bottleneck in processing analog data
9
Digital signal processing types
Digital signal processing can be off-line or on-line
• Off-line (batch) processing: Signal acquisition from outside world
and processing can occur at distinct times. Suitable if timing is not an
issue (e.g. biomedical signals and photographic image processing)
10
Real-time systems classifications
Residual
Computation Time Time
Release
time Period Deadline
12
Examples
13
General system properties - 1
• Linearity: a system is linear if the superimposition principle holds, i.e.
14
General system properties - 2
Stability: a system is stable in a bounded-input/bounded-output
(BIBO) sense if the following condition holds
Examples
Ideal delay y (n) = x(n − nd ) Linear, time-invariant, not always causal
k =M 2 Linear, time-
Moving Average y (n ) = ∑
x (n − k )
1 invariant, not
M 1 + M 2 + 1 k =− M always causal
(depends on M1)
1
n
Accumulator y ( n) = ∑ x(k )
k = −∞
Linear, time-invariant, causal
Limitations
– Bandwidth limited by ADCs and DACs sampling rates
– Limited dynamic range
– Round-off and quantization errors
16
DSP computational requirements
• DSP processing algorithms typically relies on Multiply-And-Accumulate
(MAC) operations
Y = Σ ai * xi
17
Overview of DSP technologies
Cost Role of SW/HW on performance
-
• Single-core μP and high-end microcontrollers (μC) SW HW
18
A typical multi-core DSP platform
General μA of
a DSP platform
Texas Instrument
TNETV3020
19
Design options
• At first glance DSP architectures look similar but major differences exist
integration level (on-chip peripherals, memory sizes)
system cost
energy efficiency (power consumption)
ease of software and hardware development
available licensable software
21