EDA365电子工程师网

标题: pcie AC耦合电容放置位置请教 [打印本页]

作者: xiaoyu19890210    时间: 2016-2-4 14:13
标题: pcie AC耦合电容放置位置请教
1.发送端和接受端都在同一个板子上,AC耦合电容应该放在哪个位置?
1 `$ Q$ ?6 M) w4 {; r  d3 R) C  p, M
2.发送端和接受端在不同的板子上,AC耦合电容应放在哪个位置?
作者: 菩提老树    时间: 2016-2-4 16:43
1、一般都是靠近发送端发,但是也有靠近接收端放的,我们经常放在接收端;2 、放在靠近连接器的位置;仅供参考,其实没有多大影响
作者: xiaoyu19890210    时间: 2016-2-4 17:12
菩提老树 发表于 2016-2-4 16:43
) U- c1 @) a8 `# {4 V& P/ V1、一般都是靠近发送端发,但是也有靠近接收端放的,我们经常放在接收端;2 、放在靠近连接器的位置;仅供 ...
% x1 A7 h. a; D: \& h
十分感谢版主的回答,那:8 F& L% s- W! z" n6 v% J+ Q. b" _
1.靠近发送端或者接受端,而不是中间,为什么?
8 ]: }/ t5 n, G5 M' |1 H/ v; p- U1 v) Y2.靠近接插件放置,为什么?
作者: 超級狗    时间: 2016-2-4 22:40
AC Coupling
& y8 q; g+ b" |, q4 c1 nPCI Express signaling requires AC coupling between the transmitter and the receiver. The capacitor value must be between 75 nF and 200 nF. The 0402 package size and 100 nF value are recommended. The AC coupling capacitors should be placed near the transmitter of the device or the connector to minimize discontinuity effects.
( w' B+ c9 z: L5 l
" v! H$ X6 o9 {& G$ `
作者: 菩提老树    时间: 2016-2-6 11:41
xiaoyu19890210 发表于 2016-2-4 17:122 H5 L* P4 M, W4 g+ p8 G
十分感谢版主的回答,那:# O$ }9 D; L( R! k" P
1.靠近发送端或者接受端,而不是中间,为什么?
. L+ [" g- n' w. A: f6 U4 }$ _2.靠近接插件放置,为什么?
; O& I( c% T7 k& u  T8 p
2个问题都没有为什么,只是布线通道的问题和减少阻抗不连续距离的考虑,另外,我都说了位置没有明显的影响。至少从我的项目上来看没有什么影响,无太多理论依据
; \0 q# `9 x. `/ s
作者: xiaoyu19890210    时间: 2016-2-6 16:59
超級狗 发表于 2016-2-4 22:40
& F4 u8 f, P, R+ K/ r" D6 b- R; xAC Coupling5 j. T/ c3 a* b. Z" _2 V* J1 r/ r0 A3 O
PCI Express signaling requires AC coupling between the transmitter and the receiver. Th ...

  f* Z) e& D& m+ ~多谢超级狗版主,看一些协议或者设计指导,总会有些建议但未给出原因,我就是特别想知道是什么原因,既然给出建议不会是毫无根据的,像这个pcie ac耦合电容,协议中说靠近发送端或者接插件可以减小阻抗不连续对信号的影响,可为什么呢,难道是仿真对比得出这样结论?请原谅我的固执。
作者: xiaoyu19890210    时间: 2016-2-6 17:10
xiaoyu19890210 发表于 2016-2-6 16:59
  [. s5 d; K) f! j+ d3 L7 L多谢超级狗版主,看一些协议或者设计指导,总会有些建议但未给出原因,我就是特别想知道是什么原因,既然 ...
+ K5 X% E+ t$ ~7 x# U# G; J6 v8 T  }
发送端breakout和接插件一般情况下都是会导致阻抗变大的突变区域,ac耦合电容一般情况下会导致阻抗变小,难道是因为这个原因要把阻抗变小的突变因素靠近阻抗变大的突变因素以中和阻抗突变的影响?0 \. L7 U2 E" x9 C
又或者是将阻抗突变的区域进行集中,有利于减少阻抗突变的影响?
作者: 超級狗    时间: 2016-2-7 23:40
% l$ ]- d9 {# U) y% u$ w) y1 [
用心思考一下,樓主可以的。8 ]6 F2 U5 Q6 V/ O3 Y' W6 n
9 m: J( P0 l. K/ i4 v
; |7 P' P- ?( m% J

作者: xiaoyu19890210    时间: 2016-3-9 22:06
超級狗 发表于 2016-2-7 23:40
& L& m; _/ R/ [
  • 阻抗不匹配對高速訊號的影響是什麼?
  • 傳輸線阻抗大好,還是阻抗小好?
  • 不匹配點離發射端的遠 ...
  •   z+ v# g7 Z1 `7 Q3 k  R
    阻抗变大突变有正反射系数,使得往前传播的信号幅值增加,在接受端接受端看到的是信号上冲,如果阻抗偏大的突变靠近接受端,那接受端的信号边沿可以更陡峭,尤其长距离传输时体现更加明显,有点像信号预加重?如果这个偏大的突变靠近发送端,就会导致这个上冲在信号上升沿延后一点位置,对信号上升沿没有啥帮助。ac耦合电容应该会导致阻抗变大,所以在不考虑接插件等因素,靠近接受端会让信号边沿更好,刚好弥补长距离传输时边沿的退化?
    # ~* o, @+ y! |7 }这么想对不?纯属个人瞎想,望狗版主指点,要是再能从您的粮仓里刨出点干货就更好啦。
    作者: 超級狗    时间: 2016-3-9 23:18
    本帖最后由 超級狗 于 2016-3-10 08:54 编辑
    + R3 j; n' \! u5 @% j; F% Q
    xiaoyu19890210 发表于 2016-3-9 22:06
    " ]4 E$ x; A* ~" ~: r阻抗变大突变有正反射系数,使得往前传播的信号幅值增加,在接受端接受端看到的是信号上冲,如果阻抗偏大 ...

    / G* K( i+ l! o) V: T8 s& j大哥講得沒錯啦!但可以想得再簡單些。$ A6 ^. H: ?9 \# r- P7 J
    4 T4 `' V- k# w) B" ~& H
    反射路徑短的話,反射訊號和發射訊號相位Phase)差很小,可以視為同一訊號,對原傳送訊號產生的干擾最小。' b- K: x7 H* G3 O8 f- ^

    0 p! t7 Z, U6 \' v! y' ]6 p如果應用上有連接器,那連接器阻抗不匹配的反射是無法避免的。AC 耦合電容靠近連接器,同樣可讓二者的反射訊號相位Phase)差很小,可被視為一次反射。而不是 AC 耦合電容反射一次,到了連接器又反射第二次。
    $ j0 o0 ~& ]: r% F9 Q" q3 |% L! H  \- U5 M
    僅為小弟愚見!  P8 B4 O0 k- l; y! L

      b/ F, p$ ^3 J5 Q/ \1 z4 W& v5 |
    ' ^4 n; a( j' [: t) l
    作者: xiaoyu19890210    时间: 2016-3-10 08:48
    超級狗 发表于 2016-3-9 23:18, {1 P3 M3 h4 X+ |2 J9 t; y, j
    大哥講得沒錯啦!但可以想得再簡單些。
      u1 d% N2 a. O6 t& F7 R2 h( m7 i
    反射路徑短的話,反射訊號和發射訊號相位(Phase)差很小,可 ...

    ! I3 W3 a$ Q; i狗版主,您就不要逗我啦,我才是小弟,不对,是小小弟。关于信号反射和相位相关的概念以前没怎么在资料上看过,可否麻烦您从您的粮仓里翻点料出来让小小弟学习学习?万分感谢!
    作者: 超級狗    时间: 2016-3-10 09:16
    僅為小弟愚見!

      ~9 I8 Q+ B2 @* H& M0 {3 E" g2 C* k) M5 U. e! _/ s# Z1 |
    不是說了嗎?大家一定要這樣搞?3 w3 |" Z2 I! H) F6 W( {
      B) A: Q* d& c3 N; q0 j
    看我被土石流活埋很精彩就對了。% E6 _7 ]& O! F- G, ^# Q# u9 H3 t$ E

    ) X$ i) H& R( K. T( o
    8 v4 f1 o0 i$ T5 M  ?& d$ s2 \: i
    % j5 n5 e- C/ e) R9 h( M黃金狗大︰
    3 Y. ?9 k, X$ t0 r  M1 g" f9 f- h2 n  Q+ `+ \
    請你們的救難犬待命,如果我明早還沒回來的話,就開始挖吧!
    $ O" ]  m/ n" L# l- E# D! Q
    , X* V' Q7 I1 I! f& d% _- C
    作者: xiaoyu19890210    时间: 2016-3-10 09:46
    超級狗 发表于 2016-3-10 09:16
    - P8 `( p1 ~" X2 C, ]. N/ D. j不是說了嗎?大家一定要這樣搞?, ?& V2 Z9 }8 m

    9 W3 w# Y& J# k看我被土石流活埋很精彩就對了。
    9 ?( ^8 c3 u) h1 Q: w/ S4 R

    ; ?, Z3 j6 q7 k8 F3 ?6 h" G加油,相信您可以顺利刨出来
    作者: jacklee_47pn    时间: 2016-3-10 14:08
    超級狗 发表于 2016-3-10 09:169 \! B* i8 P& @
    不是說了嗎?大家一定要這樣搞?
    & O3 z% x7 l. |- L2 h/ V4 I6 g5 Y$ G, F# W! O9 _' |
    看我被土石流活埋很精彩就對了。
    ' ~2 m* P9 G0 c
    飓风营救4 (Taken 4)  馬上開演。# A2 g' h& w+ q% q1 k2 i% L) t

    作者: 超級狗    时间: 2016-3-10 21:20
    PCIe Return Loss
    - N4 `1 A3 G& Q4 v4 T9 i' M6 I1 V2 d  G! L

    PCIe Return Loss.jpg (68.32 KB, 下载次数: 16)

    PCIe Return Loss.jpg

    作者: 超級狗    时间: 2016-3-10 21:26
    本帖最后由 超級狗 于 2017-5-18 13:28 编辑
    % o! d# D" h( V% F; U8 G( g' \% \1 E$ T; C6 W* m" |1 v; k( U
    樓主的洋文兒還不錯吧?; @: {- P1 y! Y$ ]# {4 B
    $ V$ F4 M; g, a& Y& v& c$ g
    有個洋人在花旗國網站上,問了同樣的問題。# x# K5 |8 m: @+ Z6 s# |) k9 b& {

    " }5 H; }1 x. k結果………
    $ x0 }# k6 J4 t$ ^6 W3 r& {# A5 @# L# V" }" u9 L
    7 s8 p- u& H+ T( v; h  p  e6 i

    , ?8 ^5 `# f+ O! v
    2 d# U$ W% @- P& ^) i
    4 S, o3 I/ u' v" E; k
    Where should I put AC coupled capacitors?
    . P1 T  W7 j2 H& V3 s/ G( U1 e
    5 `- H6 e. d+ J& m5 r
    The coupling capacitors are usually placed close tothe transmitter source.; G3 y. U8 B( e, F
    + S% z; G; ]7 q5 e$ Y0 M7 @

    / [6 F5 b$ W7 J& O$ q) N- IGoing along with Dr. Johnson, we need to figure out the distance. The propagation velocity of signals on most FR4 types of board isabout c/2. This equates to around 170ps per inch for internal layers and morelike 160 ps per inch for external layers.
    - H! x" p7 {+ w8 \4 p7 W+ o* z; i1 U- E9 _
    ; t6 F' i- B0 S
    Using a standard interface running at 2.5Gb/sec, the unit interval is 400ps, so according to that, we should be much less than 200ps away from the transmitter. If this interface has been implemented in an IC,then you need to remember that the bond wires are part of this distance. Belowis a slightly more in-depth look at the issue.% w9 `6 b* H2 @& j) [

    3 O* I2 I- d$ n- L9 ~) r

    & G& M) s0 w, V0 V- c5 ZIn practice, coupling devices are placed as close as possible to the transmitter device. This location naturally varies depending onthe device.
    5 W2 v' d# o; x7 _! n) ~
    6 ]: N6 s/ I( M3 `
    ' b. \% m. V7 g9 R
    Now the capacitors. This is an RLC device at these speeds, and most devices are well above self-resonance in multi-gigabit applications. This means you may well have a significant impedance that ishigher than the transmission line.
    9 z4 M1 r1 t# n0 y% Y* x6 E$ I3 P# ^. P' [4 ^- \% f! W' [
    9 W3 ?  S- }  P4 Y
    For reference, the self inductance for a few devicesizes: 0402 ~ 0.7nH 0603 ~ 0.9nH 0805 ~ 1.2nH
    5 P; ~: C. p: u9 G1 Y9 T; X8 }5 W0 Y& L: z

    # g8 [. M' P4 WTo get around high impedance device problems (a majorissue in PCI express due to the nature of link training), we sometimes useso-called reverse geometry devices because the self inductance of the parts issignificantly lower. Reverse geometry is just what it says: An 0402 device hasthe contacts 04 apart, where an 0204 device uses the 02 as the distance betweenthe contacts. An 0204 part has a typical self inductance value of 0.3nH, significantly reducing the effective impedance of the device.
    : I- s& R: q7 U* `0 u9 O6 e; Y1 Q, m& Y2 C0 y6 L- I
    / j$ y- u  b! b  f( i2 d+ g/ H: i
    Now to that discontinuity: it will produce reflections. The further away that reflection, the larger the impact on thesource (and energy loss, see below) within the distance range of 1/2 of the transition time of the signal; beyond that makes little difference. # n- b, m. E0 I% r/ f
    3 q' k( w; k, S+ g0 C

    ) t' y4 `+ [- G7 @9 Z+ y6 jAt a distance of 1/2 the transition time or furtherfrom the source, the reflection can be calculated using the reflection coefficient equation ([Zl - Zs]/[Zl + Zs]). If the reflection is generated closer such that the effective reflection is lower than this, we have effectively reduced the reflection coefficient and reduced lost energy. Thecloser any known reflection may be situated with respect to the transmitter,the less effect on the system it will have. This is the reason that break-outvias under BGA devices with high speed interfaces is done as close to the ballas possible. It is all about reducing the effect of reflections.
    4 T6 f- Z7 U$ j& E* C+ T. H3 ^; A# ]4 _6 ?# s( F

    # W% i/ {: q8 _6 g. }$ \As an example, if I place the coupling capacitor (forthe 2.5Gb/sec link) at 0.1 inch from the source, then the distance equates to a time of 17ps. As the transition time of these signals is usually limited to no faster than 100 picoseconds, the reflection coefficient is therefore 17%. Note that this transition time equates to 5GHz signaling artifacts. If we place thedevice further away (beyond the transition time / 2 limit), and use the typical values for 0402 100nH, we have Z(cap) = 22 ohms, Z(track) about 50 ohms, and wetherefore have a reflection coefficient of about 40%. The actual reflection will be worse due to the device pads.4 w8 G" B' o4 ^- ]/ \% D

    9 d. `; ~# x+ m. b/ Z
    7 S/ f/ y0 [4 _* C

    作者: xiaoyu19890210    时间: 2016-3-10 21:34
    超級狗 发表于 2016-3-10 21:20
    + c0 H, V4 {# L; e0 Y6 n' m. cPCIe Return Loss
    # K. r/ [! a9 s. M  w  C
    狗版主啊,这个和您之前说的信号反射、相位啥的有啥关系吗???$ y& z2 ?; E- Y  s$ i

    5 k, S" Z3 B$ ^- R, v. W# T* W0 f8 f; {3 p2 F( g
    PS:要是不爽了就当没看到,,,求别埋。。。拜谢。。。
    ) p' k' V5 ~" n4 b7 c2 K7 G$ W, h
    作者: xiaoyu19890210    时间: 2016-3-10 21:35
    超級狗 发表于 2016-3-10 21:26
    " d7 @# [, d5 b4 M樓主的洋文兒還不錯吧?
      O8 d) N2 U2 m, r' A0 T
    - S; J% X4 e7 L4 C% I+ l9 [7 Z有個洋人在花旗國網站上,問了同樣的問題。
    " d, R/ b( [% e4 m
    sorry,这么大段,才看到。。。
    % T( k  _8 a+ v. s$ o5 A
    作者: xiaoyu19890210    时间: 2016-3-10 22:02
    超級狗 发表于 2016-3-10 21:26
    , g9 u- M' f0 f# a樓主的洋文兒還不錯吧?' n% H4 o! ?/ A9 ~5 a4 O: g3 X

      p) O8 k5 w/ ^4 r! P有個洋人在花旗國網站上,問了同樣的問題。
    ' {' h  {  c9 s# {2 i
    狗版主,看了这么大段,彻底惊呆了,,,实在不能狗同啊。。。2 K5 d. L2 ~: S9 ?3 y
    As the transition time of these signals is usually limited to nofaster than 100 picoseconds, the reflection coefficient is therefore 17%,,,这怎么得出来了' Z( U: p" X" w# e

    作者: 荒村战士    时间: 2017-5-18 11:10
    超級狗 发表于 2016-3-10 21:26
    3 l3 v6 r' c: X# n" Z9 h' o樓主的洋文兒還不錯吧?
      u) z9 h$ a- l
    $ L% Y/ z, {- l有個洋人在花旗國網站上,問了同樣的問題。

    ! w, P: [( p, z  Z' A7 h我也请教个问题,PCIE gen1,2的AC耦合电容值推荐为0.1uf,而PCIE3.0以后推荐的AC耦合电容为0.22uf,有如下问题,期待大神解答:2 g+ |% q" E, A: }( d! g
    问题1:Gen1,2的速率比Gen3低,为啥耦合电容Gen3的要大呢?电容越大,边沿会越缓,个人理解。/ j. d9 F9 W& A) j4 H# \3 s) {
    问题2:Gen3向后兼容Gen1,2,那当用0.22uf的耦合电容时,在Gen3的链路上跑Gen1,2,是不是就不符合规范推荐的AC耦合电容值啦?
    # e8 Q! R* E7 D
    & ~6 {; B* I3 l$ y0 e; ~
    作者: 超級狗    时间: 2017-5-18 13:24
    问题 1:Gen1,2 的速率比 Gen3 低,为啥耦合电容 Gen3 的要大呢?电容越大,边沿会越缓,个人理解。
    % l8 H. u6 r* N6 ]電容並聯l落地(GND),充放電效應的確會造成此結果,但 AC 耦合電容式串接在訊號線上。  E' D, p4 H4 y1 L

    2 o' @8 m( v" L; D$ Z+ @问题 2:Gen3 后兼容 Gen1,2,那当用 0.22uF 的耦合电容时,在 Gen3 的链路上跑 Gen1,2,是不是就不符合规范推荐的 AC 耦合电容值啦?5 L% C( \, \' B2 s* @# F: v, \
    根據容抗計算公式 Xc = 1 / jwC,電容越大容抗越小。高頻減少一些容抗,讓相差、衰減及反射都小一些,似乎也沒什麼不對。5 ]+ }2 z) y/ w9 ]& ~$ D

    ; V% A/ @" R" Q  ?9 j8 @僅為小弟淺見!
    $ J3 K. k6 S+ d/ ~, M, `& p( q
    3 d7 \! l6 f$ P! h* T5 H* |
    作者: diff    时间: 2018-3-10 11:58
    听说是有座子就在连接器,没有在tx段




    欢迎光临 EDA365电子工程师网 (https://bbs.elecnest.cn/) Powered by Discuz! X3.2