matlab -based scope automation and data analysis sw - part b final presentation

40
Matlab -based Scope Automation and data analysis SW - Part B Final presentation 15/7/2013 Presents by- Abed Mahmoud & Hasan Natoor Supervisor– Avi Biran TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY High Speed Digital Systems Lab

Upload: ramya

Post on 18-Jan-2016

25 views

Category:

Documents


0 download

DESCRIPTION

TECHNION - ISRAEL INSTITUTE OF TECHNOLOGY High Speed Digital Systems Lab. Matlab -based Scope Automation and data analysis SW - Part B Final presentation. 15/7/2013. Presents by- Abed Mahmoud & Hasan Natoor Supervisor– Avi Biran. Agenda. Introduction Project’s Goals Project’s scheme - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 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

Page 2: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Introduction Project’s Goals Project’s scheme Flowchart of the functions Setting of scope Signal analysis

Advanced jitter analysis

Embedded signal generator automation

Agenda

Page 3: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 4: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 5: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 6: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Project scheme

GP

IB c

able

BNC cable

Display of analysis results

Page 7: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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.

Page 8: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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.

Page 9: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 10: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 11: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Scope GUI display

LAN interface, allows for

embedded/remote utilizations

Page 12: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Generator GUI display

GPIB interface for remote utilization only- IP address not required

Page 13: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 14: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

To set the amplitude :

To set the frequency:

Automation of Tabor generator

Page 15: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 16: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 17: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 18: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 19: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 20: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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]

Page 21: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 22: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 23: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 24: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 25: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 26: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

AWG feature required to feed user defined signals and using appropriate SW (custom MATLAB base SW was used in the project).

AWG implementation

Page 27: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Program diagram

AWG-Arbitrary Waveform Generator

Page 28: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Real time test :clock 10[MHz]

Clock signal-histogram

Page 29: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 30: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 31: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 32: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 33: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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]

Page 34: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 35: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 36: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Real time test :Periodic jitter AWG clock 0.8[MHz]

Clock signal-extra periodic jitter Sin freq=0.064 [MHz]

Page 37: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 38: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 39: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

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

Page 40: Matlab  -based Scope Automation and data analysis SW - Part B Final presentation

Additional analysis of signals according to specific requirements (e.g. PSK and other).

What’s next?