Professional Documents
Culture Documents
Topic Outline:
BBAC Source
BBAC Capture
BBAC Pattern
BBAC Programming in VBT
BBAC Source
BBAC Capture
/
IG-XL Signals
Source Signals:
Abstract information about
the desired signal at the
DIB/device (shape, amplitude)
Constraints on the instrument
allowing you to refine how the
signal should be produced
Instrument register and
sample loading control and
Start/Stop control.
Capture Signal:
Constraints on the instrument
allowing you to refine how the
signal should be captured
Instrument register loading
control and (analog) Trigger
control
Placeholder for captured data
(DSPWave)
IG-XL Code
' Set up source signal
With thehdw.DCVI.Pins("in")
.Source.Signals.Add ("SrcSig")
With .Source.Signals("SrcSig")
.WaveDefinitionName = Ramp*
.Amplitude = 45
.SampleRate = 100000
.Samplesize = 64
.Range = 50
.Mode = tlDCVIModeVoltage
Software
Registers
Hardware
DCVI Instrument Board
Source Mem
Voltage to in
45V
SrcSig
.LoadSettings
D
U
T
64 Samples
Current from in
.LoadSettings
Channel 1
.Capture.Signals.Add(CapSig)
With .Capture.Signals(CapSig)
.SampleRate = 10000
.Samplesize = 50
.Mode = tlDCVIMeterCurrent
.Range = 1
.LoadSettings
Capture Mem
CapSig
.LoadSettings
50 Samples
Measure Current
End With
thehdw.DCVI.Pins("in").Source.Signals("SrcSig").Start
thehdw.DCVI.Pins("in").Capture.Signals(CapSig").Trigger
/
DCVI Source/Capture
Waveform Sourcing/Capturing
Source .
Capture .
SampleRate =
SampleRate =
SampleSize =
Signals (InPin) .
SampleSize =
IsCaptureDone
StopOnModeAlarm
ExtraSamples =
Signals (OutPin) .
These parameters
are specific to DCVI
DCVI Source
TheHdw.DCVI(Ch1AH).Capture.Signals.Add (CapSig)
TheHdw.DCVI(Ch1AH).Capture.Signals(CapSig).
These parameters
are specific to DCVI
DCVI Capture
8
3a
3b
2
3b
10
Ramp
Excel
Range
Sine
Multitone
Lab
Staircase
Pulse
VBT
12
Source/capture controls
in DCVI Debug Display
13
14
.ExtraSamples =10
15
Waveforms can be built quickly and easily to perform many tests in one
waveform burst.
Thresholds can be found by ramping up either current or voltage and
monitoring output of the device.
16
Strobe
17
/
BBAC
19
Psets
Parameter
Sets Memory
uCode
DGS
PPMU
PPMU
PPMU
4Meg SMEM
SOURCE
Offset
Level
Support
Board
High BW DataPort
PPMU
PPMU
1 Meg CMEM
CAPTURE
Offset
Range
DIB
Access
POS
NEG
REF
DGS
DIB
Access
POS
NEG
DGS
PPMU
PPMU
PPMU
4Meg SMEM
SOURCE
Offset
Level
DIB
Access
POS
NEG
REF
DGS
PPMU
PPMU
1 Meg CMEM
CAPTURE
Offset
Range
DIB
Access
POS
NEG
20
NOTE:
Performance of the instrument to ESSD specifications limits the instrument connectivity
to a subset of legal combinations.
21
DC 15MHz
5Ksps 1Gsps
+5.0V, -2.5V
Maximum AC
+6.0Vpk, -5.0Vpk
Output Impedance
50W 0.4W
> 52 mA
22
Frequency Range
DC 15MHz
5Ksps 50Msps
1 Msample
0 3/4 * Fs/2
5/4 * Fs/2
Input Impedance
AC Coupling
Maximum DC Input
LF cutoff, precharge OFF
30 Vdc (typical)
< 140Hz (typical)
23
BBAC Programming
Developing a Test Program:
Pattern Control
PSets
24
1
Pin Map
7
Specification Sheets
Mixed-Signal
Calls
Global
Specs
2
Visual Basic
Interpose
Functions
Channel Map
Tester
channel
AC Specs
Pin
name
Procedures
User defined
procedures
via PDE tool
Returns
Pin Levels
0 Microcode
Wave
Definitions
Wave
Designer
Tool
DC Specs
Pattern
6a
ASCII
file
Calls
Returns
6b
Calls
Mixed-Signal
Workshop
Tool
1
2
3
Pattern Tools
Mixed-Signal
Timing
Editor
Debugger
Time Sets
Returns
9
Visual Basic
Interpose
Functions
Invoke TDE
for Hardware Displays
Test
Instances
Order
Tests
10
Flow
Table
Opcode (sequencing)
Default
Worksheets
Programming Sequence:
1 to 6
8 to 10
Additional
Worksheets
Worksheets
and PDE
Pattern
Tools
Worksheets
and PDE
25
Example Device
This example device, a differential CODEC, will be used to highlight the use of
the BBAC source and capture.
Shown below is an example of the recommended connections for this device:
27
28
29
Note:
The BBAC Source AWG capability allows the instrument to generate a
wide variety of waveforms. Typically, these waveforms are defined on
the Wave Definitions sheet using the available primitive types.
30
WaveDesigner Tool
Tip: The WaveDesigner tool can be useful for viewing the waveform that will
result when timing and amplitude parameters are applied.
31
Tip: The Mixed Signal Workshop Tool generates source timing solutions that
meet the required sample rate and sample size conditions for the desired signal.
Tip: If the capture sampling parameters have been programmed to specify the
expected capture frequency, the BBAC Source Solver can be used to generate
the source sample rate and sample size parameters to achieve this frequency.
32
1.
2.
3.
Target Source
Frequency
Source Frequency
33
34
Connect the Source Pos and Neg outputs to the DUT (typically differential output is optimal for the
BBAC)
Connect the Source reference to Channel Card Ground (only for the purpose of this lab. Typically,
connect to DIB ground or suitable analog reference/ground)
Load values determined in the Mixed Signal Workshop (see previous slide)
35
VBT Example
Source and Capture
Setup
A)
A
B
VBT Function
Prototype
C
B)
Local variable
declarations
C)
Connect BBAC
Source
D)
E)
Connect BBAC
Capture
F)
Set up BBAC
Capture instrument
and signal
37
38
C
D
39
5- Data Analysis
At the end of the capture sequence the capture data must be bound to a local
DSPWave object so it can be passed to a DSP function for analysis. Typical
values calculated are THD, SNR.
Site 0
Site 1
Site 2
DUT
DUT
DUT
Site 3
The DSPWave node of the capture signal is a multisite object, containing one
DSPWave per site.
DSP Wave Object
DU
T
Capture_WV
Site 0
Site 1
Site 2
Site 3
40
41
42
43
Signals for all of the Start and Trigger labels must be defined in VBT before pattern burst.
If blank start or trigger labels are used, the default signal must be specified.
By adding the following lines of code we can load and run the pattern.
Note: At the beginning of any program that uses a pattern, you must apply levels and timing for the HSD
thehdw.Digital.ApplyLevelsTiming True, False, True
44
<SignalName>
START1
<SignalName>
STARTE
<SignalName>
START1E <SignalName>
STOP
RESYNC
PSET
<PSetName>
<SignalName>
RESYNC
<PSetName>
ENABLE_INST_COND
DISABLE_INST_COND
ENABLE_ALARM
DISABLE_ALARM
PSET
46
47
48
49