CN100492898C - Transmission Line Termination Compensation Circuit - Google Patents
Transmission Line Termination Compensation Circuit Download PDFInfo
- Publication number
- CN100492898C CN100492898C CNB2005100076105A CN200510007610A CN100492898C CN 100492898 C CN100492898 C CN 100492898C CN B2005100076105 A CNB2005100076105 A CN B2005100076105A CN 200510007610 A CN200510007610 A CN 200510007610A CN 100492898 C CN100492898 C CN 100492898C
- Authority
- CN
- China
- Prior art keywords
- impedance
- circuit
- resistors
- terminal
- comparison
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000005540 biological transmission Effects 0.000 title claims description 20
- 238000004519 manufacturing process Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000008054 signal transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035755 proliferation Effects 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Images
Landscapes
- Logic Circuits (AREA)
- Dc Digital Transmission (AREA)
- Networks Using Active Elements (AREA)
Abstract
Description
技术领域 technical field
本发明是关于传输线终端电阻,尤其是有关于一种数字调校方式的终端电阻补偿电路。The present invention relates to a terminal resistance of a transmission line, in particular to a terminal resistance compensation circuit in a digital adjustment mode.
背景技术 Background technique
过去二十年间,在激增的各种运算装置的推波助澜下,运算能力是以几何级数的速度成长。随着运算能力的提升,现今各种装置之间信号传输的速度也都开始达到GHz以上,而在这样高速下,任何信号传输的导线,像是同轴电缆、微带线(microstrip line)等,都可视为有电阻成份与电感成份串联、导线间有电容成份与电导成份并联的所谓的传输线(transmission line)。In the past two decades, fueled by the proliferation of various computing devices, computing power has grown at a geometric progression rate. With the improvement of computing power, the speed of signal transmission between various devices has also begun to reach above GHz, and at such a high speed, any wire for signal transmission, such as coaxial cable, microstrip line, etc. , can be regarded as a so-called transmission line with a resistance component and an inductance component connected in series, and a capacitance component and a conductance component connected in parallel between the wires.
当信号在传输线上高速奔驰抵达终点而欲进入终端元件(如CPU、memory等IC)内工作时,传输线本身的特性阻抗(characteristicsimpedance)必须要与终端元件内部的阻抗相匹配,才会使得反射系数为零,而不致引起信号的回响(ringing)与失真(distortion)。一般而言,要做到对传输线的阻抗匹配是在传输线的终端对地提供一个阻抗相同的终端电阻(termination resistor),如图1所示,如果传输线T的特性阻抗Zo是28欧姆(ohm),而终端电阻R的阻抗Zt也是28欧姆(ohm),信号S就会经历最小的反射与失真,因此可以大幅提升高速传输下信号的完整性(integrity)。但是这样的安排会信号S只有50%的功率会到达传输线的终点,所以实务上会对终端电阻的阻抗做更仔细的安排,以期能在功率、失真等几个条件因素内取得一个平衡。When the signal reaches the end point at high speed on the transmission line and wants to enter the terminal component (such as CPU, memory, etc. IC) to work, the characteristic impedance of the transmission line itself must match the internal impedance of the terminal component to make the reflection coefficient is zero, so as not to cause signal reverberation (ringing) and distortion (distortion). Generally speaking, the impedance matching of the transmission line is to provide a termination resistor with the same impedance at the end of the transmission line to the ground, as shown in Figure 1, if the characteristic impedance Zo of the transmission line T is 28 ohms (ohm) , and the impedance Zt of the terminal resistor R is also 28 ohms (ohm), the signal S will experience minimal reflection and distortion, so the integrity of the signal under high-speed transmission can be greatly improved. However, with such an arrangement, only 50% of the power of the signal S will reach the end of the transmission line, so in practice, more careful arrangements will be made for the impedance of the terminal resistor in order to achieve a balance within several conditions such as power and distortion.
公知的终端电阻的设置方式有芯片外(off-chip)与芯片内(on-chip或on-die)两种。芯片外的做法会增加电路板布局的复杂度,同时因为电路(trace)的不同,会有所谓阻抗不连续(impedance discontinuity)的情形,而这些阻抗不连续之处,就会造成反射的发生。相对的,芯片内的做法则一般有较好的信号完整性以及适合更高速的应用。采用芯片内的终端电阻的关键点是要能准确调校(calibrate)终端电阻的阻抗,可是因为温度、制程、以及电压(受到噪声的影响)上的变异,一般公知的采用CMOS制程的终端电阻的误差可达到30%。There are two known configurations of terminal resistors: off-chip and on-chip or on-die. The off-chip approach will increase the complexity of the circuit board layout. At the same time, due to the difference in the circuit (trace), there will be a so-called impedance discontinuity, and these impedance discontinuities will cause reflections to occur. In contrast, the on-chip approach generally has better signal integrity and is suitable for higher-speed applications. The key point of using the terminal resistor in the chip is to be able to accurately adjust (calibrate) the impedance of the terminal resistor, but because of the variation in temperature, process, and voltage (affected by noise), generally known terminal resistors using CMOS process The error can reach 30%.
发明内容 Contents of the invention
本发明的主要目的是在提出一种终端电阻的补偿电路,以解决公知的芯片内的终端电阻的缺点。本发明所提出的终端电阻补偿电路,可以产生精确的终端阻抗,以补偿因为制程、温度、电压的变化等所造成的终端阻抗的误差。The main purpose of the present invention is to propose a compensation circuit for terminal resistors to solve the disadvantages of known internal terminal resistors. The terminal resistance compensation circuit proposed by the present invention can generate accurate terminal impedance to compensate the error of terminal impedance caused by changes in manufacturing process, temperature and voltage.
本发明的另一目的是在提出一种终端电阻的补偿电路,所产生的终端阻抗是外部阻抗Rext(亦即所要匹配的传输线特性阻抗)的k/m倍(k>0,m≥1),而不限于仅能产生等于外部阻抗、或是外部阻抗的一个固定倍数的终端阻抗,因此可以在设计上权衡功率、失真等因素时有更大的弹性。Another object of the present invention is to propose a compensation circuit for terminal resistance, the terminal impedance produced is k/m times (k>0, m≥1) of the external impedance Re ext ( that is, the characteristic impedance of the transmission line to be matched) ), not limited to only produce a terminal impedance equal to the external impedance, or a fixed multiple of the external impedance, so there is greater flexibility in the design when weighing factors such as power and distortion.
本发明的最大特点是以数字的方式调校包含n+1(n≥1)个电阻并联的电阻数组,这n+1个电阻分别具有20×k×r、21×k×r、22×k×r、...、2n×k×r等阻抗值,其中r、k是事先决定好的一个阻抗值与倍数。本发明藉由打开或关闭和这n+1个电阻串联的n+1个开关装置,而使得这个电阻数组呈现Rext×k/m的终端阻抗。The biggest feature of the present invention is to digitally adjust the resistor array comprising n+1 (n≥1) resistors connected in parallel, and the n+1 resistors have 2 0 ×k×r, 2 1 ×k×r, 2 2 ×k×r, ..., 2 n ×k×r and other impedance values, where r and k are impedance values and multiples determined in advance. In the present invention, the n+1 switch devices connected in series with the n+1 resistors are turned on or off, so that the resistor array exhibits a terminal impedance of R ext ×k/m.
兹配合所附附图、具体实施例来详细对本发明进行说明。The present invention will be described in detail in conjunction with the accompanying drawings and specific embodiments.
附图说明 Description of drawings
图1显示一传输线及终端电阻的示意图;FIG. 1 shows a schematic diagram of a transmission line and a terminating resistor;
图2是依据本发明一实施例的终端电阻数组的示意图;2 is a schematic diagram of a terminal resistor array according to an embodiment of the present invention;
图3是依据本发明一实施例的调校电路的示意图。FIG. 3 is a schematic diagram of a calibration circuit according to an embodiment of the invention.
图中in the picture
1 芯片1 chip
10 开关装置 12 开关装置10
20 电阻 22 电阻20
30 接触垫 40 比较计数装置30
50 参考电阻 60 电阻50
VDD 内部电源 70 电阻V DD
Ro 终端阻抗 b0~bn 控制信号 R oTerminal impedance b 0 ~b nControl signal
S 信号 Ro1 阻抗S signal R o1 impedance
Zt 终端电阻阻抗 Zo 传输线特性阻抗Zt Termination Resistance Impedance Zo Transmission Line Characteristic Impedance
具体实施方式 Detailed ways
本发明所提出的终端电阻补偿电路,是实施于芯片1内部以提供匹配这个芯片外部高速I/O传输线的终端阻抗。这个终端电阻补偿电路主要包含一调校电路、以及一终端电阻数组。The terminal resistance compensation circuit proposed by the present invention is implemented inside the
图2是依据本发明一实施例的终端电阻数组的示意图。如图2所示,本发明的终端电阻数组,是包含n+1(n≥1)个并联的电阻20,这n+1个电阻20的阻抗分别为20×k×r、21×k×r、22×k×r、...、2n×k×r(k,r>O),这n+1个电阻20按照阻抗大小依序排列。每个电阻20各自串联一个开关装置10。这n+1个开关装置10可以是以PMOS或是NMOS所实施的切换开关,这些开关10是呈短路或是断路的状态,是分别由b0、b1、b2、...、bn控制信号所控制。Ro则是这个电阻数组由芯片外部看进去、用以补偿外部阻抗Rext的终端阻抗。接触垫(pad)30则是传输线(未标号)与芯片1的接点。FIG. 2 is a schematic diagram of a termination resistor array according to an embodiment of the invention. As shown in Figure 2, the terminal resistor array of the present invention includes n+1 (n≥1)
请注意到,控制信号b0、b1、b2、...、bn是由调校电路所输出的,也就是说,每个开关装置的开启或关闭是由调校电路所决定的。比如说,如果调校电路输出的信号是b0短路、b1断路、b2断路、b3~bn都短路的话,本发明所产生的终端阻抗Ro就会是20×k×r、23×k×r、24×k×r、...、2n×k×r并联的结果。而以下将详细说明的调校电路会使得Ro和外部阻抗Rext之间,具有下列的关系:Please note that the control signals b 0 , b 1 , b 2 ,..., b n are output by the tuning circuit, that is to say, the opening or closing of each switching device is determined by the tuning circuit . For example, if the output signal of the adjustment circuit is b 0 short circuit, b 1 open circuit, b 2 open circuit, and b 3 ~ b n are all short circuited, the terminal impedance R o generated by the present invention will be 2 0 × k × r , 2 3 ×k×r, 2 4 ×k×r, ..., 2 n ×k×r are connected in parallel. The tuning circuit described in detail below will make R o and the external impedance R ext have the following relationship:
Ro=Rext×k/mR o =R ext ×k/m
其中m(m≥1)、k均是事先决定好的参数。藉由适当的选择这些参数值,可以使得本发明所产生的终端阻抗Ro能依设计者的需要而有弹性的变化。因此本发明不限于仅能产生等于外部阻抗Rext、或是外部阻抗Rext的一个固定倍数的终端阻抗Ro,所以在设计上可以平衡功率、失真等因素而有更大的弹性。Among them, m (m≥1) and k are parameters determined in advance. By properly selecting these parameter values, the terminal impedance R o generated by the present invention can be flexibly changed according to the needs of the designer. Therefore , the present invention is not limited to generating the terminal impedance R o equal to the external impedance R ext or a fixed multiple of the external impedance R ext , so the design can balance factors such as power and distortion and have greater flexibility.
图3是依据本发明一实施例的调校电路的示意图。如3图所示,调校电路也包含有一个和终端电阻数组相同架构的比较电阻数组,这个比较电阻数组也包含n+1个并联的电阻22,这n+1个电阻22的阻抗分别为20×r、21×r、22×r、...、2n×r,这n+1个电阻22按照阻抗大小依序排列。每个电阻22各自串联一个开关装置12。这n+1个开关装置12和图2所示的开关装置10均由控制信号b0、b1、b2、...、bn开关。Ro1是这个电阻数组所表现出来的阻抗。请注意到,终端电阻数组的电阻20和比较电阻数组的电阻22二者的排列是依照相同的大小顺序,因此控制信号bj(0≤j≤n)同时控制和电阻2j×k×r串连的开关装置10、以及和电阻2j×r串连的开关装置12。FIG. 3 is a schematic diagram of a calibration circuit according to an embodiment of the invention. As shown in Figure 3, the calibration circuit also includes a comparison resistor array with the same structure as the terminal resistor array. This comparison resistor array also includes n+1
调校电路的其它部份则构成一个比较计数电路(未标号),其中的比较计数装置40是以A、B两点的电压为输入,而以控制开关装置10、12的控制信号b0、b1、b2、...、bn为输出。比较计数装置40内含有一个计数器(未图标),计数器在A、B两点的电压不等时,会由0开始递增计数,比较计数装置40会将计数器的值以二进制的方式由b0、b1、b2、...、bn输出。也就是说,比较计数装置40从b0、b1、b2、...、bn循序输出000..000、000...001、000...010、000...011、等等。而b0、b1、b2、...、bn会导致各别开关装置12的短路或断路,进而改变比较电阻数组的阻抗Ro1。计数器会继续计数直到Ro1到达某一数值、使得A、B两点的电压相等。The other parts of the calibration circuit constitute a comparison and counting circuit (not labeled), wherein the comparison and counting
在比较计数电路中,电阻50是采用所欲匹配的外部阻抗Rext相同的阻抗,电阻70是采用电阻60的1/m(m≥1)。藉由这样的安排,以及前述计数器的动作,因此当A、B两点的电压相等时,b0、b1、b2、...、bn所造成的各个开关装置12的短路或断路会致使:In the comparison and counting circuit, the
Ro1=Rext/mR o1 = R ext /m
而且因为终端电阻数组的每一个电阻20都是比较电阻数组里位置对应的电阻22的k倍,而且两者共享控制信号b0、b1、b2、...、bn,所以:And because each
Ro=Rext×k/mRo=Rext×k/m
比较计数电路可有多种实施方式,比如说比较计数装置40的计数器可以采用任何适当的计数器电路,电压的比较可以采用差分放大器等公知的技术,相关领域具一般技术人员可以轻易推知,故于此不予赘述。电阻50、60、70可以采用PMOS或其它适当的实施方式。The comparison and counting circuit can have multiple implementations. For example, the counter of the comparison and counting
总体来说,本发明藉由b0、b1、b2、...、bn控制信号来开关比较电阻数组里的二进制方式排列的各个电阻22,使得比较电阻数组的阻抗逼近于Rext/m。进而利用同样的b0、b1、b2、...、bn控制信号,使得终端电阻数组表现出Rext×k/m的阻抗,以适当的匹配外部阻抗Rext。In general, the present invention uses b 0 , b 1 , b 2 , . /m. Furthermore, the same control signals of b 0 , b 1 , b 2 , .
藉由以上较佳具体实施例的详述说明,希望能更加清楚描述本发明的特征与精神,而并非以上述所揭露的较佳具体实施例来对本发明的范围加以限制。相反地,其目的是希望能涵盖各种改变及具相等性的变形都属于本发明的保护范围。Through the above detailed description of the preferred embodiments, it is hoped that the characteristics and spirit of the present invention can be described more clearly, and the scope of the present invention is not limited by the preferred embodiments disclosed above. On the contrary, the intention is to cover various changes and equivalent modifications all falling within the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100076105A CN100492898C (en) | 2005-02-06 | 2005-02-06 | Transmission Line Termination Compensation Circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100076105A CN100492898C (en) | 2005-02-06 | 2005-02-06 | Transmission Line Termination Compensation Circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1815884A CN1815884A (en) | 2006-08-09 |
CN100492898C true CN100492898C (en) | 2009-05-27 |
Family
ID=36907907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100076105A Expired - Lifetime CN100492898C (en) | 2005-02-06 | 2005-02-06 | Transmission Line Termination Compensation Circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100492898C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113381206A (en) * | 2020-03-10 | 2021-09-10 | 富泰华工业(深圳)有限公司 | Mobile terminal antenna impedance compensation method, mobile terminal and impedance compensation device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5666078A (en) * | 1996-02-07 | 1997-09-09 | International Business Machines Corporation | Programmable impedance output driver |
US6762620B2 (en) * | 2002-05-24 | 2004-07-13 | Samsung Electronics Co., Ltd. | Circuit and method for controlling on-die signal termination |
-
2005
- 2005-02-06 CN CNB2005100076105A patent/CN100492898C/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5666078A (en) * | 1996-02-07 | 1997-09-09 | International Business Machines Corporation | Programmable impedance output driver |
US6762620B2 (en) * | 2002-05-24 | 2004-07-13 | Samsung Electronics Co., Ltd. | Circuit and method for controlling on-die signal termination |
Also Published As
Publication number | Publication date |
---|---|
CN1815884A (en) | 2006-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5312453B2 (en) | Input / output buffer operating impedance control | |
US7928757B2 (en) | Calibration methods and circuits to calibrate drive current and termination impedance | |
US6636821B2 (en) | Output driver impedance calibration circuit | |
US7382153B2 (en) | On-chip resistor calibration for line termination | |
US7973553B1 (en) | Techniques for on-chip termination | |
US7135884B1 (en) | Voltage mode transceiver having programmable voltage swing and external reference-based calibration | |
TWI655844B (en) | Termination resistance calibration circuit and control method thereof | |
Markandey et al. | Multispectral constraints for optical flow computation | |
US7714608B1 (en) | Temperature-independent, linear on-chip termination resistance | |
US20120194215A1 (en) | Semiconductor apparatus and impedance calibration circuit for the same | |
CN111427812A (en) | Impedance calibration circuit and calibration control method for physical interface of computer flash memory device | |
US8854078B1 (en) | Dynamic termination-impedance control for bidirectional I/O pins | |
CN105453435A (en) | Integrated circuit chip and impedance calibration method thereof | |
US6417675B1 (en) | Receiver impedance calibration arrangements in full duplex communication systems | |
CN100492898C (en) | Transmission Line Termination Compensation Circuit | |
US7772878B2 (en) | Parallel resistor circuit, on-die termination device having the same, and semiconductor memory device having the on-die termination device | |
US8362870B2 (en) | Impedance calibration circuit with uniform step heights | |
CN113515160B (en) | Calibration circuit | |
CN111077938B (en) | Self-adaptive calibratable ODT circuit applied to FPGA | |
Esch et al. | Design of CMOS IO drivers with less sensitivity to process, voltage, and temperature variations | |
CN215297645U (en) | Calibration device | |
US20060202710A1 (en) | Transmission line termination impedance compensation circuit | |
CN114610666A (en) | On-chip terminal matching resistance circuit and chip | |
US20200266818A1 (en) | Dynamic impedance control for input/output buffers | |
US11621024B2 (en) | Calibration device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20150915 Address after: Nangang Road, Nangang District Taipei city Taiwan Chinese 3 No. 48 7 floor Patentee after: PROLIFIC TECHNOLOGY INC. Address before: Hsinchu City, Taiwan, China Patentee before: MOAI ELECTRONICS Corp. |
|
CX01 | Expiry of patent term |
Granted publication date: 20090527 |
|
CX01 | Expiry of patent term |