Matlab -based Scope Automation and data analysis SW - Part B Final presentation
description
Transcript of Matlab -based Scope Automation and data analysis SW - Part B Final presentation
Matlab -based Scope Automation and data analysis SW - Part B
Final presentation15/7/2013
Presents by- Abed Mahmoud & Hasan Natoor
Supervisor– Avi Biran
TECHNION - ISRAEL INSTITUTE OF TECHNOLOGYHigh Speed Digital Systems Lab
Introduction Project’s Goals Project’s scheme Flowchart of the functions Setting of scope Signal analysis
Advanced jitter analysis
Embedded signal generator automation
Agenda
The development of core SW for automation of the Infiniuum scope platform and the acquired data signal processing (of either CW or periodic clock signals) was accomplished in Part A of the project
The PART A application was intended for use by experienced users, whereas in Part B an interactive GUI was added as means of communication between an arbitrary user and the software core
Controlling the built-in signals generated by “Tabor”-made function-generator from within the GUI required development of a specific automation SW used to control the instrument.
Introduction-automation
Jitter is a short-term deviation of the digital signal from it’s ideal value and is a very important factor in defining of waveform’s Signal Integrity. It harms the credibility of the signal and generates an upper bound to the frequency in many communication systems.
During the project, we acquired a thorough understanding of the phenomenon and its components, and learned different methods to measure these symptoms and implement them
Introduction-data processing
Project goals Part A
Remote control of platform settings On/off -line data processingPart B Building a user-friendly GUI Extension: embedded signal generator
automation Advanced jitter processing
Project’s Goals
Project scheme
GP
IB c
able
BNC cable
Display of analysis results
Methodology
Building a GUI for part A of the project using MATLAB utilities
Utilization of the Matlab Instrumentation Control Toolbox as the SW platform to communicate with the generator through GPIB interface.
Using Matlab signal-processing and display functions for on-line analysis of the captured waveforms and provide graphical displays of the post-processed parameters.
Using methods: Eye diagram ,histogram to analyze the jitter effects and displaying the results within MATLAB environment.
Methodology
Building a GUI for part A of the project using MATLAB utilities
Utilization of the Matlab Instrumentation Control Toolbox as the SW platform to communicate with the generator through GPIB interface.
Using Matlab signal-processing and display functions for on-line analysis of the captured waveforms and provide graphical displays of the post-processed parameters.
Using methods: Eye diagram ,histogram to analyze the jitter effects and displaying the results within MATLAB environment.
Part A:Automation of Infiniuum settings and data
acquisition, including built-in AGC.Calculation SNR & Jitter on “real-life” captured
signals.
Part B:Building a user-friendly GUI “Tabor” Signal generator automationStudying advanced Jitter analysis (including non-
periodic PSK signals) – and subsequent SW development
Main accomplishment
Flowchart of the functions
Parameters definition:1)Sampling rate2)Acquisition mode (ASCii-Byte-Word)3)Data processing type (CW/Clock)4)Active channels5)Length record6)Trigger levels7)Ext./Int. generator
Scope GUI
Generator GUI
Running the main function
All the function from part A of the project will
be running here
Optional
Scope GUI display
LAN interface, allows for
embedded/remote utilizations
Generator GUI display
GPIB interface for remote utilization only- IP address not required
Using GBIP interface to connect the generator to the main scope platform.
Setting the generator parameters from within the extended GUI: To set the function:
Automation of Tabor generator
To set the amplitude :
To set the frequency:
Automation of Tabor generator
Signal-processing: Jitter simulator for clock and PSK
signals
Rectangle signal
Random / periodic
noise addition
Histogram display
Compute deviation from estimated time span between
any two ZC points
Estimate the ZC points
Eye diagram
calculation and display
Clock signal-histogram
Simulator output - random noise
-0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.50
10
20
30
40
50
60Histogram:Difference from average bit time
0 50 100 150 200 250-1.5
-1
-0.5
0
0.5
1
1.5Eye Diagram
ampl
itude
Clock signal-eye diagram
Simulator output - random noise
Digital PSK signal-histogram
Simulator output - random noise
-0.1 -0.08 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 0.08 0.10
2
4
6
8
10
12
14
16Histogram:Difference from average bit time
0 50 100 150 200 250-1.5
-1
-0.5
0
0.5
1
1.5Eye Diagram
ampl
itude
Digital PSK signal-eye diagram
Simulator output - random noise
Clock signal – jitter spectral response
Simulator output – periodic jitter
Jitter characteristics: sine freq. 80kHz; amplitude 0.01 rect. clock freq. 1 MHz
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1-120
-110
-100
-90
-80
-70
-60
-50Periodic jitter spectral response
fr[MHz]
Am
pl[d
B]
Clock signal – jitter time domain response
Simulator output – periodic jitter
0 10 20 30 40 50 60 70
-4
-3
-2
-1
0
1
2
3
4
x 10-3 Jitter T.D.response
time[usec]
Am
pl
Simulator output – periodic jitter
-5 -4 -3 -2 -1 0 1 2 3 4 5
x 10-3
0
5
10
15
20
25
30Histogram:Difference from average bit time
Clock signal-histogram
Simulator output – periodic jitter + random noise
Jitter characteristics: sine freq. 5kHz; amplitude 0.01 v rect. clock freq. 1 MHz STD 0.0031 v
-5 -4 -3 -2 -1 0 1 2 3 4 5
x 10-3
0
1
2
3
4
5
6Histogram:Difference from average bit time
Simulator output – periodic jitter + random noise
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1-140
-130
-120
-110
-100
-90
-80
-70
-60
-50Periodic jitter spectral response
fr[MHz]
Am
pl[d
B]
Clock signal – jitter spectral response
Simulator output – periodic jitter + random noise
0 100 200 300 400 500 600 700-5
-4
-3
-2
-1
0
1
2
3
4
5x 10
-3 Jitter T.D.response
time[usec]
Am
plClock signal – jitter time domain response
AWG feature required to feed user defined signals and using appropriate SW (custom MATLAB base SW was used in the project).
AWG implementation
Program diagram
AWG-Arbitrary Waveform Generator
Real time test :clock 10[MHz]
Clock signal-histogram
Real time test :Generator clock 10[MHz]
-60 -40 -20 0 20 40 600
10
20
30
40
50
60
[psec]
[# o
f sa
mpl
es]
Signal TIE diagram
Jitter mean=-0.022098psecJitter std=15.2825psec
Clock signal-histogram
Real time test :clock 10[MHz]
0 50 100 150 200 250-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1Eye Diagram
ampl
itude
Clock signal-eye diagram
Real time test : Simulated AWG signal, clock 0.8[MHz]
Clock signal-histogram SNR=46 [dB]
-150 -100 -50 0 50 100 1500
10
20
30
40
50
60
70
80
[psec]
[# o
f sa
mpl
es]
Simulated signal TIE diagram
Jitter mean=0.0099324psecJitter std=31.0653psec
Real time test : Measured AWG signal, clock 0.8[MHz]
Clock signal-histogram
-200 -150 -100 -50 0 50 100 150 2000
5
10
15
20
25
30
35
40
[psec]
[# o
f sa
mpl
es]
Signal TIE diagram
Jitter mean=-0.075628psecJitter std=50.093psec
Real time test :Periodic jitter AWG signal, clock 0.8[MHz]
Clock signal-Signal histogram
-200 -150 -100 -50 0 50 100 150 2000
5
10
15
20
25
30
35
[psec]
[# o
f sa
mpl
es]
Signal TIE diagram
Jitter mean=0.0022824psecJitter std=50.2557psec
Sin freq.=0.064 [MHz]
Real time test :Periodic jitter AWG signal, clock 0.8[MHz]
Clock signal-Signal spectral response Sin freq=0.064 [MHz]
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4-25
-20
-15
-10
-5
0
5
X: 0.06194Y: 2.596
[MHz]
[dB
]
Signal spectral responce
Real time test :Periodic jitter AWG signal, clock 0.8[MHz]
Clock signal-Signal eye diagram Sin freq=0.064 [MHz]
0 500 1000 1500 2000 2500 3000 3500-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1Eye Diagram
ampl
itude
Real time test :Periodic jitter AWG clock 0.8[MHz]
Clock signal-extra periodic jitter Sin freq=0.064 [MHz]
Real time test :Periodic jitter AWG clock 0.8[MHz]
Clock signal-extra periodic jitter Sin freq=0.064 [MHz]
-600 -400 -200 0 200 400 6000
5
10
15
20
25
[psec]
[# o
f sa
mpl
es]
Signal TIE diagram
Jitter mean=0.37198psecJitter std=303.0458psec
Real time test :Periodic jitter AWG clock 0.8[MHz]
Clock signal-extra periodic jitter Sin freq=0.064 [MHz]
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4-20
-15
-10
-5
0
5
10
15
20
25
X: 0.06194Y: 22.14
[MHz]
[dB
]
Signal spectral responce
Real time test :Periodic jitter AWG clock 0.8[MHz]
Clock signal-extra periodic jitter Sin freq=0.064 [MHz]
0 500 1000 1500 2000 2500 3000 3500-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1Eye Diagram
ampl
itude
Additional analysis of signals according to specific requirements (e.g. PSK and other).
What’s next?