找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 2474|回复: 1
打印 上一主题 下一主题

去嵌入如何提高测量精度,by tektronix

[复制链接]

184

主题

778

帖子

7831

积分

EDA365特邀版主

Rank: 6Rank: 6

积分
7831
跳转到指定楼层
1#
发表于 2010-11-2 09:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
本帖最后由 stupid 于 2010-11-2 10:36 编辑 & ^$ S( n- ]/ @; n+ t3 t% f: }

. c2 m3 E+ R7 m+ lDe-embedding improves measurement accuracyEngineers can compensate for signal loss in cables, connectors, and test fixtures.3 J/ N8 E8 q, Z% g: k. n

8 n1 r5 z* c  g' G' H& UBy Randy White, Tektronix -- Test & Measurement World, 11/1/2010 12:00:00 AM8 |: A% v: C4 x7 w8 f8 f/ y! U
5 W6 f* G( \! V( {, P% w/ W1 [
0 B- z' R& z# l+ e
7 h7 o( I* _9 n. C6 P. Z
. |+ V, c4 B5 f! d7 i
See also:: A+ [1 d. _. `/ Y3 \  S# A- n
How oscilloscopes derive de-embed filters

( Z  x# l% G( t8 U! [- QThe relentless increase in serial-data rates forces engineers to understand the effects that test fixtures and transmission channels have on eye-diagram measurements. As data rates increase, losses in fixtures and transmission channels can produce an inaccurate eye diagram. Removing, or de-embedding, the fixture and channel effects from a measurement lets you view an eye diagram that is closer to the true signal.
& U8 S/ s2 ]. [; u  g2 X( F6 g$ c! l
As a high-speed signal travels, it loses fidelity, especially if the transmission channel medium is inexpensive FR-4 PCB (printed-circuit board) material. Cables, connectors, and text fixtures also contribute to signal degradation. The result: a closed (or nonexistent) eye diagram at the far end of a transmission channel.) p5 G1 _$ D7 T

9 B& p3 i! X  ~2 CMaking characterization measurements is a fundamental part of producing a robust design. When you can't connect an oscilloscope directly to a device's pins and you need to measure the transmitter through a fixture, you'll find that the fixture impacts the measurements. If you're accustomed to making signal-integrity measurements without concern about fixture or channel effects, then you may not realize how much signal loss occurs at data rates of 5 Gbps and higher. At those speeds, you can no longer assume that if the transmitter output meets the eye-diagram mask limit, the system will work flawlessly. In most cases, you must consider the complete link when making a signal measurement.9 f: y5 W" |) p; a" X0 k! k

3 s, G0 H+ o: w

+ \8 ?; c3 I9 N, u: f1 D. N& W
  W6 n) v8 S# F5 V7 \
Figure 1. Serial-data links use equalization at the receiver end to compensate for signal loss and reopen a closed eye after it travels through a channel.
3 c- {) _0 v( F9 D$ p
Transmitters and receivers can compensate for channel loss in communications systems. Pre-emphasis in the transmitter reduces eye closure caused by loss and dispersion, particularly at speeds of 2.5 Gbps and above. A receiver equipped with equalization is capable of decoding signals even when an eye diagram is completely closed. The receiver's equalizer opens the eye to a point where the receiver can interpret the stream's data. Figure 1 shows how a transmission channel can degrade a serial data stream. An open eye at the transmitter closes as the signal travels through the channel, but then the receiver's equalizer reopens the eye enough to make the system reliable.
" c/ r5 L7 S( Z7 z# K7 a. ~6 w: ^* C6 h6 c) f6 f+ U& X
The interaction between a transmitted signal's true shape and the channel parameters is complex and difficult to predict. You can observe the performance of the whole serial link when you connect the transmitter's output to the channel and observe how the signal degrades along the path.
# f- W; m" A0 H% T) L  h5 y8 n) w. X4 a3 y
You can also emulate a channel in software based on the channel's network parameters. Thus, the channel doesn't have to be physically present for you to understand how it degrades a signal. You can emulate the channel using S-parameters in the frequency domain or with a network description using time-domain techniques. You can measure the signal at the end of the emulated channel with or without pre-emphasis or de-emphasis.2 P: V0 S$ @) k8 A
; V! m, i1 O" P  t- r* M
Often, you can't probe a receiver directly at its pins. Board layouts may force you to measure signals with several inches of trace between your preferred measurement point and your actual test point. This results in lower-quality measurements and loss of transmitter margin. Therefore, you must characterize the transmission channel and the path from the desired measurement point to the oscilloscope. With that, you can de-embed test fixture and cabling effects, especially for data streams over 5 Gbps.
3 L) l% z" B( r% n2 v. p) a) L, _* Q8 Q2 t5 ^
How does de-embedding work?2 e5 ^4 }# i' \9 w6 e$ ?
De-embedding lets you remove fixturing and instrumentation effects from signal-integrity measurements. By removing the degrading effects of a signal path, you essentially make measurements at the desired point. You've moved the reference plane of a measurement closer to the DUT (device under test).
5 @) {8 n3 q; y4 |- s1 g' B- t/ K. j3 Y8 p+ T+ i2 @
Measuring S-parameters requires you to use a standard calibration procedure that has well-controlled physical properties. Physical properties include known impedances such as a short, open, load (reference impedance, usually 50 Ω) and a thru or transmission standard. This is referred to as a SOLT (short–open–load–thru) calibration.
1 K  `$ h+ B* Y4 }% @3 ?4 T/ }; S4 @8 S1 I- q
Once you have a calibrated instrument, you can measure a serial-data fixture using either time-domain reflectometry or frequency-domain measurements, then develop a multiport Z-parameter or S-parameter interconnect model. With this model, you can measure the DUT signal and de-embed the impact of the fixture measurement from it.! I. ]; W2 z5 c; q: Z* U
, f7 `' v6 W9 ?/ C& f" s, O$ M
(a)
(b)
Figure 2. Using an S-parameter file to compute an inverse filter can turn what looks like a failure (the white areas in image a) into an eye diagram in which the eye doesn't hit the mask (b).
Knowing the fixture's characteristics lets you remove the fixture's effects from the acquired signal—packaging effects, PCB trace loss, and test-fixture effects—when performing high-speed measurements such as jitter or eye height. This approach lets you "probe" virtual test points such as those underneath packages or several inches from an edge connector.
' b' ~2 C) ?3 ?5 |9 `2 T
, B% b( @2 t$ Z  X9 ^/ D
Most oscilloscope software tools can import S-parameter files and so use a channel's frequency response data. Software can then de-convolve, or de-embed, the interconnect effects over the frequency range of interest. An IFFT (inverse fast Fourier transform) is the basis for the process. (See "How oscilloscopes derive de-embed filters".)# h& f$ @0 \% L' @) @

! L8 f) P$ u6 m7 Y( k/ J- g3 p9 `Figures 2a and 2b show how de-embedding can open an eye diagram so it doesn't appear to have failed an eye-mask test. By removing signal degradations caused by fixtures, you'll minimize the failures, which are highlighted in white in Figure 2a; the failures don't appear in Figure 2b because the eye clears the mask. 8 ^# a7 s2 R4 `; ^8 ?! E

2 `& Y4 _! c' j/ r( J. v( ^/ ^

& k4 S; |. Z# F$ W( EFigure 3. An inverse filter at 10 GHz produces a filter response (yellow trace) that exceeds the oscilloscope's dynamic range (blue line). The green trace is the original response of the filter.
De-embedding a fixture's effects will remove some of the fixture-caused ISI (intersymbol interference) degradation, but it will also amplify noise. To minimize the noise amplification and optimize SNR (signal-to-noise ratio), you also need to apply a low-pass filter. You can apply a fixed-loss-level or threshold (in decibels) filter to a data stream to reduce noise. For example, if you need to measure a 5-Gbps data signal across a cable that produces a –6-dB loss at 7.5 GHz, you'll find that after applying a 7.5-GHz low-pass filter, the de-embedded response has about 3 dB of loss at 7.5 GHz (–6 dB original + 6 dB from inversion – 3 dB filter).1 q( ~% f1 ^% _3 Y6 d) k
0 C$ {  H% q) R0 ?1 O* `9 U# e
You can also select the cutoff frequency based in the fifth harmonic of the signal's fundamental frequency. A 5-Gbps signal has a 2.5-GHz fundamental frequency whose fifth harmonic is at 12.5 GHz. In most systems, most of the signal energy is contained within the fundamental, third, and fifth harmonics.2 J9 x8 a0 }9 q4 u9 D" E+ W

) u0 `; S1 C, G  H: DThe channel model is a critical factor in filter cutoff selection. You need well-behaved time-domain or S-parameter data. You should also consider whether the frequency spacing and time window of the channel model will allow transient events (such as reflections) to settle and whether DC is included in the data set. These conditions may not be factors for short fixture traces, but for longer structures, the conditions may well affect your measurements, depending on the distance between impedance mismatches.
$ {: P( U0 K7 {) r  F6 }4 a, T5 V
8 }9 V' o% V' |! h2 L! C

0 A! N$ I* f1 ]1 c
Figure 4. An inverse filter with a 5-GHz bandwidth keeps the signal within the oscilloscope's dynamic range.
Reflections can cause significant frequency nulls or dips that, after you apply an inverse function, could produce signals that exceed an oscilloscope's SNR. Assume that a cable has a large dip in its frequency-response plot at 9 GHz. If the de-embed filter consists of a low-pass filter with a cutoff frequency of 10 GHz, you can see a boost of about 60 dB, which is well above the noise floor of most oscilloscopes (Figure 3). A better approach that balances SNR and a high-frequency signal uses a filter with a 5-GHz cutoff frequency. The resulting spectrum (Figure 4) doesn't have the peaks that were visible in Figure 3.
& M) q. ]& ~, @2 x9 r0 O4 ^6 O4 f  j$ N* S/ {" x
De-embedding guidelines8 Z$ h& g# l9 Z, V% B% B
Here are a few guidelines that you can use when you need to de-embed a channel or fixture from your measurements.6 O8 ~$ s" L# u# v* M

% n3 {" }! B9 ?. t8 PKnow the signal's spectrum. To obtain accurate de-embedding, you need an accurate model of the channel's response all the way to your test point. The model must cover beyond the highest frequency of the spectrum that still carries significant energy. In practice, if you can estimate the spectrum bandwidth, you'll optimize the de-embedding effort.; {4 Q9 n$ X9 h% W" c( R7 C# {
: Q2 c. ?% w. K) e' S, h2 B
Theoretically, the spectrum of an NRZ (non-return-to-zero) signal can have enough energy to impact an eye diagram even beyond the seventh harmonic. If you need to de-embed the impact of a fixture from a 5-Gbps (2.5-GHz) signal, your fixture measurements must be accurate beyond 12.5 GHz (the signal's fifth harmonic).$ Y& b4 S. e$ g* |9 |& h. v8 I! z% Y

& a, H' E& H" }/ ?8 I* U; p7 \•  Know the de-embedding filter's dynamic range. Assume the spectrum of the original signal multiplied by the channel loss must be within the oscilloscope's dynamic range. Real-time 8-bit oscilloscopes typically have 30 dB of dynamic range at their highest frequency. Sampling oscilloscopes can achieve 40-dB or 50-dB resolution at the high end of their frequency range.
# x" {4 W1 l* N; u; C0 Y. J
3 s& S$ h7 w% ^2 ^) j! x- r5 x+ DThe following equation shows a filter's input signal, r(t), and output signal, s(t):( }$ O" G1 D4 n4 t1 o

! K* |4 F& B  l. q, k
$ I0 H6 w+ ~! @, m
2 _! H1 D. o6 o. I" U
For the s(t) expression to be accurate to a certain frequency, the measurement of a channel's or fixture's response, HS21, and the input signal, r(t), must be known to a sufficiently high frequency and dynamic range. At the maximum frequency, the spectra of the signal is 20 dB below the first harmonic, and you measure this signal through a fixture that has a 20-dB loss at this highest frequency. The highest frequency part of the signal's spectrum will be 40 dB below that of the first harmonic.% p2 c1 p9 [, n' U6 L) S5 i

' B' @. K0 `! ]) ]
- f" G1 U3 [  E6 r$ D
Figure 5. A correct time window lets reflections from the original (tall) pulse settle.
With an 8-bit digitizer, the high-frequency components of a signal will be indistinguishable from noise. Averaging can help increase the dynamic range of digitizers by increasing the effective number of bits and improving the SNR./ ~, P. T4 u& Y6 j3 S3 o$ C& [

5 k" d  A' N/ C7 I9 SGet the right frequency range and timing resolution.When developing a filter, you must calculate its time constant (t), the time that represents the sum of the delay, and measure the fixture or channel's impulse response. If the captured waveform doesn't contain enough samples to account for the filter's transient delay, significant distortion will occur and the resulting filtered waveform data will be meaningless. A general rule of thumb is to set the oscilloscope's memory depth to at least 10 times the filter length. For example, a filter length of 1000 coefficients would require at least 10,000 waveform samples. ! R! u, ~) V; o4 S' e

$ t! G; K. d) R2 U9 P* A+ ~, VAlso, consider the signal's bandwidth of relevance (BWREL). This is the bandwidth at the measurement point where the spectral amplitude is about –20 dB for real-time oscilloscopes and –40 dB for sampling oscilloscopes relative to the instrument's dynamic range. The value of BWREL lets you calculate the absolute minimum number of frequency domain points, P, that you must collect to represent the S-parameters over the range of DC to BWREL:2 W5 O0 E& q8 z" X8 g

) [9 g0 H2 U$ O1 @
' M) m: A( @) B( s/ K. s: q
1 {; p% [# M' u) r- h. N
P is the number of points that you should measure on a vector network analyzer or on a time-domain reflectometer.4 ?5 t" I' z' h
Additionally, you must ensure that the filter provides enough low-frequency resolution to capture the lowest expected frequencies. This often will dictate the frequency step between measurements. The frequency spacing, Δf, setting for the S-parameters will be:
. F6 y2 {' h2 h/ G5 E7 u; I. o& d  p4 H3 i

3 F9 z, b) C% s" v4 s( j

7 N5 {0 U8 E4 y- v9 p1 p7 T; ~9 L8 yOscilloscopes have enough processing power to perform de-embedding once you provide them with sufficient data. Through de-embedding, you can get a clearer view of the signal that appears at an IC's pins when you can't probe the pins directly. De-embedding also lets you model a transmission channel so you can see how it can affect signal integrity before you have a physical sample to test.
  E: W. U: U5 Y/ b/ d  ?5 D: M+ N+ V& n" t4 F; F9 u

Randy White is the serial applications technical marketing manager at Tektronix. He has given seminars on high-speed serial measurements and is actively involved in many working groups for high-speed serial standards. He holds a BSEE from Oregon State University
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 支持!支持! 反对!反对!

184

主题

778

帖子

7831

积分

EDA365特邀版主

Rank: 6Rank: 6

积分
7831
2#
 楼主| 发表于 2010-11-2 09:35 | 只看该作者
本帖最后由 stupid 于 2010-11-2 11:14 编辑 ( S: R2 T5 t2 p5 T7 T. Z
3 p- S9 `" Q" S* ]; M
How oscilloscopes derive de-embed filtersYou must de-embed the effects of signal degradation to get accurate measurements.
  G0 W+ f+ E: y' W4 CRandy White, Tektronix -- Test & Measurement World, 11/1/2010 12:00:00 AM: H9 Q# u. i  M9 Q
8 a" [8 O) k" a1 {0 B: ]6 X5 U

Fixture or channel de-embedding compensates for signal degradation in a transmission. When the physical acquisition point is far from the transmitter and the desired observation plane is closer to the transmitter, you must de-embed the effects of the degradation to get accurate measurements. # `9 [3 q" {9 R/ v2 q6 `

Let the signal at the acquisition plane (the acquired waveform) be r(t) in the time domain or R(s) in the frequency domain. Let the signal at the desired measurement point be s(t) or S(s), and let the transfer function between the two be H(s). The signal at the acquiring measurement plane in the frequency domain is defined as: ) P) o+ t& n. a8 I0 `9 s

$ J! z6 j0 L# D, W. |; Q% Y9 MThe signal at the desired observation plane is
9 R# ^: ]1 r& ~: }
9 D  j9 v& N! J$ wIt is typically necessary to extend the H(s) described by the S-parameter matrix and to roll-off the extended part with an acceptable filter, HBW(s): + h. W% Q  e  ^& Y! R# e
/ D% @# t, ]! Q9 g
That is,
  t: A2 `) @. y. `+ ] 2 I5 i5 T# I" U4 V% C$ Q9 b
To calculate the time-domain response, the filter can be recalculated using this equation:
$ K1 A  [7 q5 b8 T- Y" ~+ Q3 W 0 u7 f: ~& j7 C
and the response at the desired observation plane in time domain is then
; |5 O$ w7 |7 X$ h, o & y# i. D4 V2 \2 T
That is, the inverse of the characteristic impulse response of the channel will be convolved with the acquired source waveform data, r(t). Also, a bandwidth-limiting filter will be convolved with the acquired waveform data. ! W$ h& Q5 `. [6 f- J" o9 `" O
Here is the step-by-step procedure that an oscilloscope uses to derive the de-embed filter; the

/ l8 v9 _# l; J3 e4 vfigure below shows a graphical representation of the process:
9 g$ R& B, H; `
, g- o) S  b( T$ f/ D8 a& k


    2 q7 t3 q* Y9 u* K8 Q
    " u$ [2 T* n4 s: l/ ^
  • Obtain the S-parameters for the channel (fixture or cable).
  • Extract the appropriate S-parameter transmission response.
  • If the S-parameter start frequency does not include DC or if the start frequency is not equal to the spacing, then extrapolate to DC and interpolate and resample if necessary to ensure that frequency samples are an integer multiple of the sample rate. If the S-parameter data does not go up to Nyquist, then extend it by point replication so that last point that still satisfies Nyquist.
  • Divide s21 in the frequency domain into the bandwidth-limit filter response.
  • Create a complex conjugate set of the S-parameter from DC to the Nyquist frequency mirrored around that point.
  • Compute an IFFT (inverse fast Fourier transform) to obtain the impulse response of the embed filter.
  • Remove leading zeros and shorten the length of the decay side by an amount that still yields sufficient accuracy (some tools use a threshold of about 0.001 of the peak).
    2 q1 J0 T  A' K; w

2 o0 u2 ?: z7 e

" \8 y1 w1 H! ^2 m4 i/ \5 Q1 S# |) G; d4 P1 [7 l  v6 P2 ?
The process for creating a de-embed-filter consists of several steps.

8 P4 [  y$ T. r3 s3 K5 n

1 v' y- Y6 u- P2 }! U) G+ i5 t- C
9 j# V$ y9 A5 c: L
Randy White
[size=1em]is the serial applications technical marketing manager at Tektronix. He has given seminars on high-speed serial measurements and is actively involved in many working groups for high-speed serial standards. He holds a BSEE from Oregon State University.
1 m7 z! {8 ?' _( F! [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2024-12-27 19:01 , Processed in 0.061255 second(s), 32 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表