Using MATLAB For Signal Analysis PDF
Using MATLAB For Signal Analysis PDF
Time
Session Title
08:00
08:20
08:50
09:30
10:00
10:30
Morning Tea
11:00
11:30
12:00
Pathways to Production Taking MATLAB and Simulink Algorithms from Research and Design to
Production
12:30
12:35
Lunch
Workshops (held concurrently)
13:30
14:30
15:40
16:00
End
1
Daryl Ning
Applications Engineer
MathWorks Australia
Level 5, Tower 1
495 Victoria Ave
CHATSWOOD NSW 2067
Files
Data Analysis
& Modeling
Software
Algorithm
Development
Share
Reporting and
Documentation
Hardware
Application
Development
Deployment
Automate
4
Agenda
Data Access
Data Acquisition
Communicating with Instruments
Physiological Signals
EEG, ECG, EMG
Geophysical signals
Seismic or tidal data
Communications
SDR, RADAR
Images or Video
Medical, Surveillance, Security
Audio
Speech, Music
Signal transforms
fft, dct, czt, hilbert, fwht,
Signal Analysis
& Visualization
Windowing methods
hamming, hann, bartlett, rectwin,
Algorithm
Development
Application
Development
Multirate operations
interp, decimate,resample,upfirdn,
FIR Filters
fir1,fir2,fircls,firpm,intfilt,
Signal Analysis
& Visualization
Application
Development
Band-stop Filter
Interactive Tools
SPTOOL
10
Interactive Tools
FDATOOL*
*Some advanced features requires Filter Design HDL Coder, Fixed Point Toolbox and/or DSP System Toolbox.
11
12
Solution
Use the MATLAB product family to develop a sound
quality analysis tool and deploy SQ metrics to the
company and its worldwide suppliers
Results
Improved quality of Ford products
Development time reduced by six months
Source code control
13
Solution
Use MATLAB and related toolboxes to develop a highly
sensitive microsensor that can be incorporated into a
wide range of instruments
Results
Solution
Use MATLAB and Simulink to design and simulate the
LTE physical layer, verify the FPGA implementation,
and analyze test results
Results
Internal test coverage increased to over 90%
Test harness reused throughout the project
life cycle
Development effort reduced by 2530%
15
Challenge
Determine the severity of burn injuries more quickly and
accurately
Images of a first-degree
burn, generated in three
wavelengths from a
spectroscopic camera.
Solution
Infrared point
spectroscopy
probe on the
tip of a finger.
Results
Effective, noninvasive tool for accessing burns
Flexible test environment
Accelerated algorithm development process
approach.
Dr. Lorenzo Leonardi
Institute for Biognostics, Canada
16
Challenge
Design audio codec filters to rigorous signal-to-noise ratio
and total harmonic distortion standards while minimizing
power consumption and silicon area
Solution
Design individual filters in MATLAB and Filter Design
Toolbox and use Filter Design HDL Coder to generate
synthesizable RTL code
Results
RTL development cycle reduced from three months
to less than two weeks
System modifications made in days, not weeks
Evaluation of multiple filter architectures accelerated
uncovered no problems
whatsoever with the digital
portion of the audio codec. This
meant that our team was free to
lend a hand with the analog parts
17
Summary
Explore and Discover
Filter Design
Filter Implementation
Agenda
Data Access
Data Acquisition
Communicating with Instruments
19
Software
Instruments/Devices
20
MATLAB
Interfaces for communicating
with everything
21
Demonstration Setup
Analog Waveform
Windows Sound
Card (A/D)
Agilent 33120A
Arbitrary Waveform
Generator
22
Demonstration Part 1:
Working with an Agilent Arbitrary Waveform Generator
Demonstration Part 2:
Acquiring Data with the Data Acquisition Toolbox
24
GPIB Boards
Agilent Technologies
CONTEC
Keithley
National Instruments
National Instruments
Tektronix
Network Protocols
TCP/IP and UDP
MATLAB Instrument
Driver
Vendor Instrument
Driver
(IVI or VXIplug&play)
29
Acqiris*
ADLINK*
Agilent*
Advantech
CONTEC*
Data Translation*
g.tec*
IOTech*
Keithley
Measurement Computing (MCC)
National Instruments
Ono Sokki*
United Electronic Industries*
VXI Technology
* Denotes that the hardware manufacturer made the investment to provide this support
For a full support listing, visit: www.mathworks.com.au/products/daq
30
31
Frame grabbers
Matrox Imaging
Data Translation
DALSA Coreco
National Instruments
Digital cameras
Hamamatsu
Qimaging
DCAM-compatible cameras (IIDC 1394-based digital camera
specification)
OPC Toolbox
Connect MATLAB And Simulink applications to OPC servers.
33
34
Software used:
MATLAB
Data Acquisition
Toolbox
Instrument Control
Toolbox
Newport Corporation
35
Summary
Data Access
36
Agenda
Data Access
Data Acquisition
Communicating with Instruments
37
38
Batch Processing
Load the entire data set and process it all at once
MATLAB
Data
Files
Memory
Signal
Processing
Algorithm
39
Batch Processing
Loads entire dataset
into workspace
40
Stream Processing
Load a frame of the signal and process it before moving
on to the next frame
MATLAB
Stream
Source
Memory
Stream
Processing
41
Explicit indexing
%% Processing in the loop
index= 1;
while index < (num_samples-frame_size+1)
data = wavread(filename,[index index+frame_size-1]);
[datafilt,filtState] = filter(filtCoeff,1,data,filtState);
output(index:index+frame_size-1) = datafilt;
index = index + frame_size;
end
wavplay(output,Fs);
Need to maintain output buffer
42
43
d(n)
s(n) + z(n)
+
Z(n)
Correlated
to noise
Adaptive
filter
Adapting
algorithm
y(n)
Clean
signal
e(n)
d(n) y(n)
For details, see "Adaptive Filter Theory", 3rd Ed. by S. Haykin, Prentice-Hall 1996.
44
dsp.<objectname>
dsp.DigitalFilter
hFilt = dsp.DigitalFilter
46
Summary
System Objects for Streaming Applications
47
Agenda
Data Access
Data Acquisition
Communicating with Instruments
48
Files
Data Analysis
& Modeling
Software
Algorithm
Development
Share
Reporting and
Documentation
Hardware
Application
Development
Deployment
Automate
49
Summary
Using MATLAB for Signal Analysis
50
Further Information
Technical Literature:
http://www.mathworks.com.au/dsp/technicalliterature.html
Email: info@mathworks.com.au
Phone: 02 8669 4700
51
22 24 MATLAB Fundamentals
27
MATLAB for Data Processing and Visualisation
28
MATLAB Programming Techniques
29
MATLAB for Building Graphical User Interfaces
Aug
2 4 MATLAB Fundamentals
18 19 Signal Processing with MATLAB
22 23 Simulink for System and Algorithm Modelling
Jul
20
Interfacing MATLAB with C Code
26 28 MATLAB Fundamentals
Aug
20
21
22
Oct
25 27 MATLAB Fundamentals
15 17 MATLAB Fundamentals
Aug
Sep
68
MATLAB Fundamentals
55
30
31
Sep
56