Part6 SI TroubleShooting Measurement
Part6 SI TroubleShooting Measurement
1
1. Review of Electrical
Signals and Signal
Representation
• Each of the signal type above in turn can be classified into Periodic and
Non-periodic signals.
• Non-periodic signals (their period is infinite) include a class of signals
called random signals which are of interest to telecommunication.
2
Electrical Signals
Electric Signals
Inter-related
E B
t
Periodic Non-Periodic
H J D
t
D v
t
B 0
Deterministic Random (Non-Deterministic)
No
information!!!
t t
1/T
𝑉 cos 𝜔𝑡 𝑉 cos 𝜔𝑡 + 𝜋 Vo
f
Negative /(rad or o)
Frequency-Domain
Positive
t f
0
Another graphical form
June 2023 ©2016-2023 Fabian Kung Wai Lee 6
3
Signal Representations – General Periodic
Signals
• From Fourier Series principle every periodic signals can be considered as
being constructed from sinusoids with frequencies in harmonic relationship.
• An example of digital pulses with T = 0.02s (f = 50 Hz), up to 9th harmonics.
• The magnitude vs frequency plot is also called the Spectra of the signal.
Fundamental DC Fundamental Magnitude vs Frequency
DC
(Spectra)
2nd Harmonic
3rd Harmonic
3rd Harmonic
2nd Harmonic 4th Harmonic
v1(t)
Phase vs Frequency
T=0.02s
𝑣 𝑡 = 𝑐 𝑒
Periodic
𝑐 = ∫ T
Fourier Series of Periodic
Signal
Time-Domain Frequency-Domain
𝑣 𝑡 = 𝑉 𝜔 𝑒 𝑑𝜔 Continuous Spectra
Non-Periodic
𝑉 𝜔 = 𝑣 𝑡 𝑒 𝑑𝑡 T is very big!
2. Measurement Domains
and Instrumentation
5
Measurement Domains and Instruments (1)
Signal Representation
Narrow-band
Time Domain Frequency Domain
Wide-band
Network
Analyzer
June 2023
(Active)
©2016-2023 Fabian Kung Wai Lee 11
Sweep
Frequency
FFT
Time
Sweep
Time-Domain
June 2023 ©2016-2023 Fabian Kung Wai Lee Frequency-Domain 12
6
Passive and Active Measurements (1)
• Measurement without stimulus (Passive measurement).
Electrical
Device under test Energy Measurement
(DUT) Instrument
Power
Power
Stimulus
Device under test
(DUT) Reflection
Measurement Measurement
Typical stimulus signals for Instrument
Active measurement:
Continuous
The
1
Sine Wave Resultant 1 Steady-state FD response.
t
Modulated
Output Related by:
2 2 Modulated FD response.
t
Sine Wave Fourier
Transform (FFT)
3 Impulse Input 3 Impulse TD response.
t
7
Passive and Active Measurements (3)
• Transmission Measurement – Network analyser, vector network
analyser.
• Used for checking the quality of the signal path (loss/attenuation,
distortion), components or systems with inputs/outputs (e.g. filters,
amplifiers, splitters, combiners).
• Reflection Measurement – Time-domain reflectometer, vector network
analyser.
• Used for checking the ‘matching’ between components and signal path,
antenna etc. A good matching between the component and signal
source will have very small reflected signal power.
The measurement
instrument
Control
Main control unit
8
TD Measurement Instruments (1)
• Digital Sampling Oscilloscope (DSO) – Uses an ADC to digitize the
electrical signal on its inputs (usually called the channels), store the
digitized signal in memory and subsequently show on a display.
Be careful, this could be
Main DSO criteria: the cumulative rate for
• Input bandwidth. all input channels.
9
FD Measurement Instruments (1)
• Spectrum Analyser (SA) – For observing the spectra of signals. Two
basic approaches, sweep-frequency and real-time. Classical sweep-
frequency type SA architecture is shown below.
Down-converter1 Down-converter2
Input
Attenuator Upper BPF1 Lower BPF2 Amp1 In modern SA this part is
LPF1 injection injection
Sets the bandwidth taken over by ADC and
of the instrument digital signal processor
Microprocessor
LO1 LO2
Module
Envelope Video
LO1 produces low LO1 produces high Down-converter3 Detector Filter
frequency here frequency here
t
Display
LO3
Sweep Generator f
Fundamental
3rd Harmonic Spectrum
5th Harmonic Analyzer (SA)
f
0 fo 3fo 5fo
Phase (Radian)
Vector Signal
Analyzer (VSA)
f
TD 0 fo 3fo 5fo
FD
Note: when used in VSA mode, today (e.g. 2016-2023) commercial
instruments can measure up to 750 MHz bandwidth
June 2023 ©2016-2023 Fabian Kung Wai Lee 20
10
FD Measurement Instruments (3)
• Spectrum Analyzer (SA) – For observing the spectra of signals.
• Vector Signal Analyzer (VSA) – Possesses basic functions of the SA. In
addition it can measure the phase of sinusoidal components (usually for
the fundamental component only). This is useful for analysing modulated
signals (it can demodulate the signals).
• Vector Network Analyzer (VNA) – Similar to the sweep frequency SA, the
VNA has built-in sinusoidal signal source and can measure the relative
magnitude and phase of signals between its ports. Useful for
characterizing the frequency response of system or components.
Note, hybrid instruments:
• Modern FD instruments can
combine SA and VSA into one
machine or
• SA and VNA functions into one
Machine or
• SA, VNA and VSA into one
machine.
June 2023 ©2016-2023 Fabian Kung Wai Lee 21
Rigol RSA5065-TG
R&S FSVA Spectrum & Signal (100 kHz to 6.5
Analyzer (2 Hz to 44 GHz) GHz) Pico VNA108
PC based VNA
(300 kHz to 8.5 GHz)
Tracking Generator
output
11
FD Measurement Instruments (5)
• FD instrument basic criteria:
– Input bandwidth.
– Analysis bandwidth.
– Input power dynamic range.
– Detector ADC resolution (can go as high as 24-bits).
– Display average noise level (DANL).
– Phase noise.
– Amplitude accuracy.
– Phase accuracy.
– Sweeping speed.
N = number of bits
2N
Tperiod
f/MHz
1 MHz
Time-Domain
Frequency-Domain (power)
June 2023 ©2016-2023 Fabian Kung Wai Lee 24
12
Example 2.2 - Measured Non-Periodic and
Random Signals
10 MHz
1MHz NRZ
Time-Domain
Frequency-Domain (power)
June 2023 ©2016-2023 Fabian Kung Wai Lee 25
13
Example 2.3 – Measured Non-Periodic,
Random and Multi-Carriers Signals
• Example of 8-carriers OFDM signal. Each peak represents one
carrier
Frequency-Domain (power)
(using SA)
Time-Domain (using DSO)
Summary of Section 2
• Presently measurement instrument can be grouped into time-domain,
frequency-domain and mixed (hybrid) domain.
• Modern instruments uses digital sampling, with FFT and digital filtering
to perform signal analysis.
• In each of this group, the instrument is capable of standard passive type
measurement. With addition of a signal source some instruments can
also perform active type measurement.
14
3. Electrical Probes and
Probing
1:1 (1MΩ)
10:1 10MΩ
15
Single-Ended Passive Oscilloscope Probe
Construction
• A best guess of the equivalent electrical model of a 10:1 passive
oscilloscope probe.* Image source: ‘Silicon Chips”, Oct 2009.
D. Ford, “Secret world of oscilloscope probes”
The centre conductor
in the cable is usually
made of Nichrome alloy.
*Oscilloscope probes
construction are trade secret
June 2023 ©2016-2023 Fabian Kung Wai Lee 31
Magnitude
Bandwidth
16
Single-Ended Active Oscilloscope Probe
17
Oscilloscope Probe - Effect of Ground Clip
Wire Length on Probe Bandwidth (1)
• The ground clip inductance depends on the loop area formed by the probe
and ground clip wire. This area can be reduced (hence the inductance) by
using a short ground wire.
Current Flow
Current Flow
Bandwidth
Using crocodile
Using Custom short Ground clip
Wire ground clip
18
Oscilloscope Probe - Reducing Ground
Clip Stray Inductance
• Most high bandwidth oscilloscope probes provide a few options of ground
clip wire, and you can also DIY if necessary.
Commercial ‘Coil-Type’
short ground
clip wire
Pogo pin
19
On-Board Wideband Passive 20:1
Oscilloscope Probe
• Built-in co-axial end launcher.
• Effective up to microwave and millimetre wave frequencies.
Zo = 50Ω microstrip
line
Zo = 50Ω 953Ω
To instrument
with 50Ω Zin 1000Ω
termination
953Ω thin film
0402 size resistor 20:1 passive probe
Summary of Section 3
Probe Type Characteristics When to Use
Passive 10:1 Probe • DC input impedance is 10M. • For low-to-mid range
• Voltage signal is attenuated frequency probing, DC to
by 10X, low SNR. 500 MHz.
• Small loading effect (if used • Set scope Zin to 1M.
within stipulated bandwidth)
Active 1:1 Probe • DC input impedance is 1M. • For low-to-high range
• Voltage signal is not frequency probing, DC to
attenuated, high SNR. 3000 MHz.
• Small loading effect. • Set scope Zin to 50.
Wideband Passive 10:1 • DC input impedance is 450. • For low-to-very high range
(20:1) Probe • Voltage signal is attenuated frequency probing, DC to 9
by 10X, low SNR. GHz.
• Medium loading effect. • Set scope Zin to 50.
20
Example 3.1 – Measured Distortion Caused
by Ground Clip Wire Inductance (1)
• Here we have a simple circuit consisting of a ‘microstrip’ transmission
line, termination and clock source.
10 MHz Clock Source
140 mm
+
Zo=50Ω vp = 1.632108 50Ω 0.8 mm thick FR4 PCB
(GND plane on the bottom
- side)
21
Probe for Spectrum Analyser (SA) - Near-
Field Probes (Non-Contact Probes)
Magnetic field probe
Magnetic field
• The near-field probes are designed to probe (0.1 to
(10 MHz to 3 GHz)
‘pick’ up static or quasi-static electric and 150 MHz)
magnetic fields near the surface of the
PCB (with circuits powered up of course!).
• Usually used together with SA and pre-
amplifier.
• E field probe is useful for capturing Magnetic field probe
emissions from conductors with high (0.4 to 600 MHz)
voltage fluctuation (high impedance
traces). Whereas H field probe is for
capturing emission from large current
fluctuation (low impedance traces).
22
4. Measurements Examples
To DSO (TD)
6 dB
1.2 ns
1.8 ns
ME1400 EMC/
EMI Demo Board
23
TFD Observing the Spectra of Digital Clock
Signal (2)
• Comparison of pulse with different rise time in time and frequency domain
using DSO and Spectrum Analyzer.
Lower harmonics
60 mils
(1.524 mm)
FR4 1.0 mm
140 mm
24
TD Effect of Rise/Fall Time and Termination on
Digital Signal (1)
• Long PCB trace (10 cm) driven with 1.2 ns rise/fall time 10MHz pulses.
Zc = 50
133
50
Terminated trace Partially terminated
Ringing
Zc = 50 Zc = 50
25
TD Effect of Ringing on Near-Field Magnetic
Spectra
• We can also use spectra measurement to detect
anomaly.
Need to use
high quality
co-axial cable
Take note and connectors
26
FD Measuring Copper Trace Transmission
Loss and Dispersion
Bandwidth of
copper Trace Increased attenuation
S21 (about 3 GHz) at high frequencies
Handheld
Vector Network
Analyzer
Propagation Delay
TD
Measuring Random NRZ Bit-Stream (1)
• Single-ended synchronous digital bit-stream.
100 nsec
Data change
on positive
clock edge
27
TD
Measuring Random NRZ Bit-Stream (2)
• Differential synchronous digital bit-stream.
Non-inverting (V+)
Inverting (V-)
Data change
on positive Maths Output
clock edge V+ - V-
TD
Crosstalk Measurement (1)
• The setup.
50Ω broadband
termination
Pulse generator
board
28
TD
Crosstalk Measurement (2)
• Time-domain measurement sample results.
Can see significant drop in crosstalk
10 Mbps ‘high-speed’ signal on active
trace
level as trace separation increases
Near-end crosstalk
Crosstalk level captured with DSO Crosstalk level captured with DSO
0.5 mm trace spacing 1.0 mm trace spacing
TD
Generating an Eye Diagram
A pseudorandom Tx A Tx/Rx System Rx
bit stream (PRBS)
generator
‘1’ A group of
‘0’ ‘0’
Bits = 010 3 bits
1 unit interval
Bits = 101 A Binary Eye Pattern
Bits = 000
NRZ binary signal Image Source: C. Filip, “Overview of channel equalization techniques for
serial interfaces”, Siemens 2021.
June 2023 ©2016-2023 Fabian Kung Wai Lee 58
29
TD
Eye-Mask and Jitter
• The opening of the eye-mask indicates 1) The max. bit-rate achievable
2) The optimum level of sampling and 3) The threshold levels.
• Eye diagram can also be generated for multi-level digital signal.
1 unit interval (UI)
t/ps
Clock / 3
Trigger signal to Channel 1 for DSO to
Produce Eye-Diagram (3.333 MHz)
Data change
on positive Data (10 Mbps)
clock edge
30
TFD
Modulated Signals Measurement with VSA
TD measurement
using Oscilloscope
FD measurement
using VSA
31
TD Ground Bounce/Power Bounce
Measurement (2)
Next
Slide
Ground Bounce
Vchip
32
TD Ground Bounce/Power Bounce
Measurement (4)
Ground Bounce
Vchip
VCC5
0 0
JPWR U1 R1
2 1
Vin Vout
1 5
3 4k7
ON/OFF
K
C2
A
CONN-SIL2 2
1 D2 C1 GND Bypass
4 1
2.2uF D1
1SR154-400
22uF LP2985 JATT2
C3 LED_SOD110 RP2
A
2
K
Red
0.1uF 1
953
3
JATT1 SMA LAUNCHER
RP1
2 3 2
1 VCC5 VCC5
953
2
SMA LAUNCHER
U3 RS1 J4
JIN1 U2 SINGLE TRANSMISSION LINE 1 4
OE Y
3 1 4 50 uStripline 2 5 2
OE Y A VCC 51
3 2 2 5 3 1 3
A VCC GND
1 3
GND
RT1 3
SMA LAUNCHER
NL17SZ125DTT1G C4
CONN-SIL3 NL17SZ125DTT1G C5 51
0.1uF
0.1uF
R2
4 4
10k
JATT4
RP6 2
1
953
JATT3 3
5 SMA LAUNCHER5
VCC5
3
RP3 RT4 VCC5
1
953 51
2
SMA LAUNCHER
6 U5 J7 6
U4 RS2 2
JIN2 50 uStripline COUPLED TRANSMISSION LINE 1
OE Y
4
1 4 2 5 1
OE Y A VCC 51
3 2 5 3 3
A VCC GND
2 3 SMA LAUNCHER
GND
1 50 uStripline NL17SZ125DTT1G
NL17SZ125DTT1G
7 7
CONN-SIL3 C6 C7
0.1uF 0.1uF
R3
10k
8 8
J8 J9
3
2
1
1
9 2 9
SMA LAUNCHER 3
SMA LAUNCHER
A B C D E F G H I J
33
Crosstalk and ‘Ringing’ Demo – The
PCB
• Our demo PCB.
High-speed CMOS NOT gate Wide band on-board High-speed CMOS NOT gate
(NC7SZ04) 20:1 passive probe system
Decoupling
Capacitor
145 mm
High-speed
CMOS NOT gate
Coupled micro-strip line
High-speed
CMOS NOT gate
Parallel
Termination
Resistor
Termination
Zin 1000Ω Resistor Zin 1000Ω
CH1 20:1 Probe 20:1 Probe CH2
51Ω
145 mm
10Ω
External 2:1 Probe
Pulse +
Zin 100Ω
Source Zo=50Ω vp = 1.632108
16 mils
-
Zo=50Ω vp = 1.632108 Zin 50Ω
34
Crosstalk and ‘Ringing’ Demo –
Captured Waveforms
• Driven with 50 MHz square wave generator.
Received
Signal
Transmitted
Signal
Near-end Near-end
Crosstalk Crosstalk
35
To Show…
• Time-domain waveforms and spectra.
• Probing method in time-domain.
• Time delay due to signal propagation.
• Impedance matching.
• Using near-field probe with spectrum analyser.
• Comparing measurement with circuit simulation.
5. Conclusion
36
Important Considerations
• Interference sources and signal integrity mechanisms can be divided into
narrow-band and wideband.
• Mitigation and defensive design approaches can also be divided into
narrow-band and wideband methods.
• Matching the correct method to the source or mechanisms is thus
crucial.
• Examples of narrow-band method – Band-pass filtering, notch filter,
tuning, or usage frequency dependent network. Some bypass and
decoupling capacitors only work within a range of frequencies. Also
interaction between components and system physical structures can
result in narrow-band response.
• Examples of wideband method – Shielding with metallic enclosure,
isolation using physical separation, termination with resistor, physical
design of signal transmission path.
2. Built test PCB with test structures and traces, with built-in high
bandwidth probe, then check the performance of the test structures.
37
Trouble-Shooting Sequences After a
System is Build (1)
1. Check stability and integrity of on-board power supply, probe using
oscilloscope.
2. Write a test program for the controller to generate a known periodic
signal at TX, then:
– Probe the transmitter and receiver side with oscilloscope and
suitable probes to check the integrity and shape of the signal.
– If oscilloscope bandwidth is not sufficient, we can measure the
spectra of the signal using SA and observe for anomaly spectra.
– Validate functionality of system.
3. Write a test program for TX to generate pseudo-random bit sequence,
with very high bandwidth oscilloscope we can perform BER test and
capture eye diagram at the receiver at the same time. Use eye
diagram to detect for interconnection loss, crosstalk and reflection.
Note: To show the setup diagram for PCI-Express debugging from LeCroy’s Webinar
“How to debug PCI Express Link Training and other dynamic link behaviors” March 2023
38
APPENDIX
39
The Importance of Magnitude and Phase
Integrity in Frequency Domain (1)
• By combining sinusoidal signals of frequencies fo, 3fo, 5fo and so forth with
the correct magnitude and phase we can create a periodic square wave.
1
1.5
1 Typically the
fo magnitudes for the
1
Tperiod FD quantities are
Vint( i t ) 0.5
expressed in
Frequency-Domain (FD)
log scale, in dB.
0
Tperiod
0.5
0 10 20 30 40 t
i
Time-Domain (TD)
June 2023 ©2016-2023 Fabian Kung Wai Lee 79
Fundamental
2nd Harmonic f
0 fo 3fo 5fo
3rd Harmonic
5fo f
0 fo 3fo
FD
TD
40
Co-Axial Probes
• Co-axial probes from Pasternack.
Actual signal
t
If sampling rate = 20 Gs/s, = 50 nsec
41
Microstrip Trace Design
• Calculations for microstrip line.
r 1 1
eff 1 1
2 10d
1
w
1
377 w
0.172
w
Zc 1.98
eff d d
1
vp
eff o
42
Pre-Emphasis, De-Emphasis And
Equalization (1)
• Pre-emphasis is applied at the transmitter (TX).
• De-emphasis in principle can be applied at transmitter and receiver
(RX), but for modern digital system it is also applied at the TX (more
effective if applied at TX).
• Pre-emphasis amplifies the high-frequency component of the digital
signal, and can be viewed as a active high-pass filter.
• High-frequency component of a signal is associated with transition, so
pre-emphasis magnifies the signal transition.
• De-emphasis attenuates the low-frequency component of the digital
signal, and can be viewed as a low-pass filter.
• Low-frequency component of a signal is associated with the steady-state
voltage level, so de-emphasis attenuate the steady-state voltage level.
• Both pre and de-emphasis operations are usually implemented in
discrete time, with interval similar to unit interval (or fractional internal)
using FIR (finite impulse response) blocks.
June 2023 ©2016-2023 Fabian Kung Wai Lee 85
*Note: in signal integrity this continuous time analog network is usually called
Continuous Time Linear Equalization (CTLE).
43
Pre-Emphasis, De-Emphasis And
Equalization (3)
• A sample equalization network frequency response employing one
zeros and two poles.
C0 > 1
t B
Bias C0 < 1
44
Typical Usage of Emphasis, Equalization and Other
Compensation in Digital Transmission
Slicer means the decoder
For bit-rate DFE: Decision
< 2.5 Gbps
Feedback Equalization
FFE: Feed Forward
For bit-rate
Equalization
between
2.5-5 Gbps
For bit-rate
between
5-50 Gbps
Latest for
bit-rate above
50 Gbps
Demo Setup
45
Using FFT Function of Keysight MSOX
Oscilloscope
The default sampling rate
is determined by the
horizontal time-base
selected by user
46