Advanced Signal Processing & Communications

advertisement
Advanced Signal Processing and Communications
with MATLAB and SIMULINK
Marc Barberis – Application Engineering Group, MathWorks Inc.
AGENDA
• Advanced Signal Processing and Communication Capabilities
– What are system toolboxes?
– Signal Processing with the DSP System Toolbox
– Communications with the Communications System Toolbox
• Designing a Multi-Gigabyte Transmission System (SERDES)
– Extracting RF Parameters from the backplane
– Modeling the backplane
– Developing Clock Recovery and Equalization algorithms
• Conclusion
Advanced Signal Processing and
Communication Capabilities
System Toolboxes
Filter Design
Toolbox
Signal Processing
Blockset
DSP
System Toolbox
Communications
Toolbox
Communications
Blockset
Communications
System Toolbox
Video and Image
Processing
Blockset
New Features
Computer Vision
System Toolbox
System Objects
• What are system objects?
State-based algorithms optimized for streaming simulations...
…that support fixed-point arithmetic and C code generation.
• System objects bring advanced design options and implementation-oriented
system modeling to MATLAB
>> Demo
Basic Tools for Signal Processing Design
For Analysis and Algorithms: Signal Processing Toolbox
• Time and frequency domain signal analysis and visualization
• Waveforms, linear prediction, time-series, and spectral estimation
• Industry-standard analog and digital FIR and IIR filter design
For Systems: DSP System Toolbox
• Streaming and multi-rate algorithms for real-time DSP systems
• Fixed-point, C/HDL code generation, and hardware connectivity
• Multi-rate and adaptive filter design; signal and spectrum scopes
DSP System Toolbox
Over 300 algorithms for
–
–
–
–
Advanced filter design
FFTs
Multirate DSP
Linear algebra routines
Algorithm libraries in MATLAB
Algorithm libraries in Simulink
Demo:
Adaptive Noise Cancellation of Streaming Audio
Use System objects to maintain filter states automatically
Visualize changing filter coefficients as they adapt to input signal
Listen to output audio in real-time
Modeling real-time signal processing systems
• Streaming algorithms in DSP System Toolbox provide
Implicit data buffering, state management and indexing
Simulation speed-up by reducing overhead
MATLAB
Stream
Source
Memory
Stream
Processing
Model Dynamic Systems in MATLAB:
System Toolboxes and System objects
Represent dynamic systems
•
Multiple tasks: validation, initialize, output, reset, terminate
Separate Declaration from Execution
•
•
Declaration: State initializations, Parameter validation
Execution: Output computation (step)
Benefits of System Objects
• Rich set of algorithms for design in MATLAB or Simulink
• Stream and batch signal processing
• Fixed-point and floating point support
• C code generation from MATLAB or Simulink
Communications System Toolbox
Over 100 algorithms for
–
–
–
–
Modulation, Interleaving, Channels, Source Coding
Error Coding and Correction
MIMO, Equalizers, Synchronization
Sources and Sinks, SDR hardware
Algorithm libraries in MATLAB
Algorithm libraries in Simulink
4G Building blocks
•
•
•
•
QPSK Modulation
Turbo Code (Soft Decision)
OFDM
MIMO (Space Time Block Codes)
h1,1
X
h2,1
Multiple Input
h1,2
h4,4
Y
Multiple Output
System Toolboxes
• Rich set of algorithms for design in MATLAB or Simulink
• Stream and batch signal processing
• Fixed-point and floating point support
• C code generation from MATLAB or Simulink
• Growing HDL code generation support
Designing a Multi-Gigabyte
Transmission System (SERDES)
What is a SERDES?
SerializerDeserializer
Goal: Transfer data at very high speed using a Multi-Gigabit Serial Link
(backplane)
Extract the RF Characteristics of the Gigabit Link
•
•
•
•
Connect Vector Network Analyzer to back plane
control VNA measurement with Instrument Control Toolbox
measure S-parameters
optionally de-embed test fixture effects
with MATLAB and RF Toolbox
Instrument Control Toolbox
Control and communicate with scientific instruments
• Integrate instruments into MATLAB
applications and Simulink models
• Interactive tool for detecting and
controlling instruments
• Automatic code generation for faster and
easier implementation
• Support for IVI, VXIplug&play, and MATLAB
instrument drivers
• Support for common communication
protocols
Analyzing S-Parameters with RF Toolbox
• Visualize frequency
domain responses for
magnitude and phase
• Rational fitting calculated
for a port-pair
configuration
• Export generated rational
functions to a Verilog-A
file, a Simulink model or
RF data object
• De-embed test fixture
effect
Model from previous
steps (RF Toolbox)
Mixed-Domain Simulation
Benefits of Simulink for System Modeling
• Fast Simulation engine
• Mixed-Domain simulation
– Discrete and analog signals
• Interactivity
• Rich set of libraries to draw from
• Integration with MATLAB
MATLAB and Simulink for
Signal Processing and Communications
• System Toolboxes
– Advanced algorithms
– Streaming, fixed-point and C code generation support
• Mixed-Domain Simulation
– Fast simulation of mixed analog & digital systems
– Modeling of RF parts
Download