[go: up one dir, main page]

CN103853226B - Fixed current generating circuit and fixed current generating method - Google Patents

Fixed current generating circuit and fixed current generating method Download PDF

Info

Publication number
CN103853226B
CN103853226B CN201210508870.0A CN201210508870A CN103853226B CN 103853226 B CN103853226 B CN 103853226B CN 201210508870 A CN201210508870 A CN 201210508870A CN 103853226 B CN103853226 B CN 103853226B
Authority
CN
China
Prior art keywords
current
generating circuit
circuit
chip
current generating
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.)
Active
Application number
CN201210508870.0A
Other languages
Chinese (zh)
Other versions
CN103853226A (en
Inventor
吴健铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201210508870.0A priority Critical patent/CN103853226B/en
Publication of CN103853226A publication Critical patent/CN103853226A/en
Application granted granted Critical
Publication of CN103853226B publication Critical patent/CN103853226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Control Of Electrical Variables (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The invention discloses a fixed current generating circuit and a related fixed current generating method, which are applied to a chip, wherein the chip comprises a first current generating circuit and a second current generating circuit, the second current generating circuit comprises a transistor and an adjustable resistor, and the fixed current generating method comprises the following steps: connecting an external resistor to the first current generating circuit so that the first current generating circuit generates a first current by using the external resistor; generating a second current using the second current generating circuit; the resistance value of the adjustable resistor is adjusted according to the first current and the second current, so that the second current is substantially equal to the first current and is used as a fixed current used in the chip.

Description

固定电流产生电路及固定电流产生方法Fixed current generating circuit and fixed current generating method

技术领域technical field

本发明有关于一种固定电流产生电路,尤指一种使用芯片内部校正过后的电阻来产生固定电流的固定电流产生电路及相关的固定电流产生方法。The present invention relates to a fixed current generating circuit, in particular to a fixed current generating circuit and a related fixed current generating method which uses a calibrated resistance inside a chip to generate a fixed current.

背景技术Background technique

在芯片内部一般都会需要一个精准电流源,以提供一个固定的电流供元件使用,然而,因为芯片内部的电阻值可能无法作到很准确,因此精准电流源的实现的方式通常是使用一能带隙电压(bandgapvoltage)加上一外部电阻来产生。如上所述,由于需要一个额外的外部电阻,因此会造成芯片相关设计上增加额外的成本。Generally, a precision current source is required inside the chip to provide a fixed current for the components to use. However, because the resistance value inside the chip may not be very accurate, the way to realize the precision current source is usually to use an energy band Gap voltage (bandgapvoltage) plus an external resistor to generate. As mentioned above, since an additional external resistor is required, additional cost will be added on the chip-related design.

发明内容Contents of the invention

因此,本发明的目的之一在于提供一种固定电流产生电路与相关的固定电流产生方法,其可以使用芯片内部校正过后的电阻来产生固定电流,且不需要额外的校正电路,以解决上述的问题。Therefore, one of the objects of the present invention is to provide a fixed current generating circuit and a related fixed current generating method, which can use the calibrated resistance inside the chip to generate a fixed current without requiring an additional correction circuit to solve the above problems question.

依据本发明一实施例,一种设置于一芯片内的固定电流产生电路包含有一第一电流产生电路、一第二电流产生电路、一电流镜、一开关模块以及一校正电路,其中该第一电流产生电路包含有一第一晶体管,其中该第一晶体管耦接于该芯片的一接点,且于一芯片测试阶段时,该接点用来连接一外部电阻以供该第一电流产生电路产生一第一电流;该第二电流产生电路包含有一第二晶体管以及一可调电阻,且用来产生一第二电流;该开关模块耦接于该第一电流产生电路、该第二电流产生电路与该电流镜之间,且用以选择性地将该第一电流产生电路与该第二电流产生电路连接至该电流镜,以使得该电流镜复制该第一电流或是该第二电流;该校正电路耦接于该电流镜,且用以依据该电流镜所复制的该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流实质上等于该第一电流,且该第二电流作为该芯片内所使用的一固定电流。According to an embodiment of the present invention, a fixed current generating circuit disposed in a chip includes a first current generating circuit, a second current generating circuit, a current mirror, a switch module and a correction circuit, wherein the first The current generating circuit includes a first transistor, wherein the first transistor is coupled to a contact of the chip, and during a chip testing stage, the contact is used to connect an external resistor for the first current generating circuit to generate a first transistor. A current; the second current generating circuit includes a second transistor and an adjustable resistance, and is used to generate a second current; the switch module is coupled to the first current generating circuit, the second current generating circuit and the Between the current mirrors, and for selectively connecting the first current generating circuit and the second current generating circuit to the current mirror, so that the current mirror replicates the first current or the second current; the correction The circuit is coupled to the current mirror, and is used for adjusting the resistance value of the adjustable resistor according to the first current and the second current copied by the current mirror, so that the second current is substantially equal to the first current , and the second current is used as a fixed current in the chip.

依据本发明另一实施例,揭示一种应用于一芯片中的固定电流产生方法,其中该芯片包含有一第一电流产生电路以及一第二电流产生电路,该第二电流产生电路包含有一晶体管以及一可调电阻,该固定电流产生方法包含有:将一外部电阻连接至该第一电流产生电路,以使得该第一电流产生电路使用该外部电阻来产生一第一电流;使用该第二电流产生电路来产生一第二电流;依据该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流实质上等于该第一电流,且该第二电流作为该芯片内所使用的一固定电流。According to another embodiment of the present invention, a fixed current generating method applied in a chip is disclosed, wherein the chip includes a first current generating circuit and a second current generating circuit, and the second current generating circuit includes a transistor and An adjustable resistor, the fixed current generating method includes: connecting an external resistor to the first current generating circuit, so that the first current generating circuit uses the external resistor to generate a first current; using the second current generating circuit to generate a second current; adjust the resistance value of the adjustable resistor according to the first current and the second current, so that the second current is substantially equal to the first current, and the second current serves as the A fixed current used in the chip.

附图说明Description of drawings

图1为依据本发明一实施例的一固定电流产生电路的示意图。FIG. 1 is a schematic diagram of a constant current generating circuit according to an embodiment of the invention.

图2为在一芯片测试阶段时固定电流产生电路产生第一电流及相对应的第一数字码的示意图。FIG. 2 is a schematic diagram of a fixed current generating circuit generating a first current and a corresponding first digital code during a chip testing phase.

图3为在一芯片测试阶段时固定电流产生电路产生第二电流及相对应的第二数字码的示意图。FIG. 3 is a schematic diagram of a second current and a corresponding second digital code generated by the fixed current generating circuit during a chip testing phase.

图4为依据本发明一实施例的固定电流产生方法的流程图。FIG. 4 is a flowchart of a method for generating a constant current according to an embodiment of the invention.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

100固定电流产生电路100 fixed current generating circuit

102运算放大器102 operational amplifier

110第一电流产生电路110 first current generating circuit

120第二电流产生电路120 second current generating circuit

130电流镜130 current mirror

140校正电路140 correction circuit

142发送电路142 sending circuit

144接收电路144 receiving circuit

146数字信号处理器146 digital signal processor

148电子保险丝148 electronic fuse

M1、M2晶体管M1, M2 transistors

Rext外部电阻Rext external resistor

Rc可调电阻Rc adjustable resistance

SW1_1、SW1_2、SW2_1、SW2_2开关SW1_1, SW1_2, SW2_1, SW2_2 switches

N1、N2端点N1, N2 endpoints

400~406步骤400~406 steps

具体实施方式detailed description

在说明书及后续的申请专利权利要求范围当中使用了某些词汇来指称特定的元件。所属领域中技术人员应可理解,硬件制造商可能会用不同的名词来称呼同一个元件。本说明书及后续的申请专利权利要求范围并不以名称的差异来作为区分元件的方式,而是以元件在功能上的差异来作为区分的准则。在通篇说明书及后续的请求项当中所提及的“包含”为一开放式的用语,故应解释成“包含但不限定于”。此外,“耦接”一词在此包含任何直接及间接的电气连接手段,因此,若文中描述一第一装置耦接于一第二装置,则代表该第一装置可直接电气连接于该第二装置,或者通过其他装置或连接手段间接地电气连接至该第二装置。Certain terms are used in the specification and subsequent patent claims to refer to particular elements. Those skilled in the art should understand that hardware manufacturers may use different terms to refer to the same component. The scope of this specification and subsequent patent claims does not use the difference in name as the way to distinguish components, but the difference in function of the components as the criterion for distinguishing. The "comprising" mentioned throughout the specification and subsequent claims is an open term, so it should be interpreted as "including but not limited to". In addition, the term "coupled" here includes any direct and indirect electrical connection means. Therefore, if it is described in the text that a first device is coupled to a second device, it means that the first device can be directly electrically connected to the second device. The second device, or indirectly electrically connected to the second device through other devices or connection means.

请参考图1,图1为依据本发明一实施例的一固定电流产生电路100的示意图。如图1所示,固定电流产生电路100用来产生一固定电流Ic,且包含有一运算放大器102、一第一电流产生电路110、一第二电流产生电路120、一电流镜130、一开关模块(于本实施例中,开关模块包含了开关SW1_1、SW1_2、SW1_3、SW1_4)以及一校正电路140,其中第一电流产生电路110包含有一晶体管M1,第二电流产生电路120包含有一晶体管M2以及一可调电阻Rc,校正电路140包含有一发送电路142、一接收电路144以及一数字信号处理器146,其中数字信号处理器146中包含多个电子保险丝(Electricalfuse,Efuse)148。Please refer to FIG. 1 , which is a schematic diagram of a constant current generating circuit 100 according to an embodiment of the present invention. As shown in Figure 1, the fixed current generating circuit 100 is used to generate a fixed current Ic, and includes an operational amplifier 102, a first current generating circuit 110, a second current generating circuit 120, a current mirror 130, and a switch module (In this embodiment, the switch module includes switches SW1_1, SW1_2, SW1_3, SW1_4) and a calibration circuit 140, wherein the first current generating circuit 110 includes a transistor M1, and the second current generating circuit 120 includes a transistor M2 and a The adjustable resistor Rc, the calibration circuit 140 includes a sending circuit 142 , a receiving circuit 144 and a digital signal processor 146 , wherein the digital signal processor 146 includes a plurality of electrical fuses (Electrical fuses, Efuses) 148 .

于本实施例中,固定电流产生电路100位于一芯片中,而图1所示的接点N1为该芯片的一接点,且于一芯片测试阶段时,接点N1用来连接一外部电阻Rext以供第一电流产生电路110产生一第一电流;此外,图1所示的接点N2为该芯片的一信号输出接点,用来将发送电路142所输出的信号经由接点N2传送至该芯片外。In this embodiment, the fixed current generating circuit 100 is located in a chip, and the contact N1 shown in FIG. The first current generating circuit 110 generates a first current; in addition, the contact N2 shown in FIG. 1 is a signal output contact of the chip, which is used to transmit the signal output by the sending circuit 142 to the outside of the chip through the contact N2.

于本发明的一实施例中,固定电流产生电路100所应用的该芯片为一网络芯片,而发送电路142与接收电路144本身为该芯片的一模拟前端(AnalogFrontEnd,AFE)电路。此外,发送电路142本身可以使用一数字模拟转换器(Digital-to-AnalogConverter,DAC)来实际使用,且用来接收来自数字信号处理器146的网络数据,并将所接收到的网络数据处理后经由接点N2传送至该芯片外的一传输线;另外,接收电路144本身可以使用一模拟数字转换器(Analog-to-DigitalConverter,ADC)来实际使用,且用来自接点N2接收网络数据,并将所接收到的网络数据作模拟数字转换后传送到数字信号处理器146进行后续处理。In an embodiment of the present invention, the chip used by the fixed current generating circuit 100 is a network chip, and the sending circuit 142 and the receiving circuit 144 are themselves an Analog Front End (AFE) circuit of the chip. In addition, the sending circuit 142 itself can use a digital-to-analog converter (Digital-to-Analog Converter, DAC) for actual use, and is used to receive network data from the digital signal processor 146, and process the received network data It is transmitted to a transmission line outside the chip through the contact N2; in addition, the receiving circuit 144 itself can use an analog-to-digital converter (Analog-to-Digital Converter, ADC) for practical use, and is used to receive network data from the contact N2, and convert the The received network data is converted from analog to digital and sent to the digital signal processor 146 for subsequent processing.

在一芯片测试阶段时,请参考图2,首先,固定电流产生电路100会先经由接点N1连接至外部电阻Rext,开关SW1_1与SW1_2经由控制信号VC1的控制而导通,而开关SW2_1与SW2_2则经由控制信号VC2的控制而处于未导通状态,其中控制信号VC1、VC2可以由数字信号处理器146或是其他来源所产生。此时,由于运算放大器102的正极连接到一能带隙电压(bandgapvoltage)Vbg,因此,第一电流产生电路110会产生具有电流值(Vbg/Rext)的一第一电流I1,而电流镜130复制第一电流I1以产生一复制电流IBX。之后,发送电路142依据数字信号处理器146所给的一参考数据Di以将复制电流IBX转换为一第一电压值Vox,其中参考数据Di是用来决定发送电路142在将复制电流IBX转换为第一电压值Vox的比例;之后,接收电路144再接着将第一电压值Vox转换为一第一数字码Dox,而第一数字码Dox接着传送至数字信号处理器146,并储存于其中。In a chip testing stage, please refer to FIG. 2 , firstly, the fixed current generating circuit 100 is first connected to the external resistor Rext through the contact N1, the switches SW1_1 and SW1_2 are turned on under the control of the control signal V C1 , and the switches SW2_1 and SW2_2 Then it is in a non-conducting state under the control of the control signal V C2 , wherein the control signals V C1 and V C2 can be generated by the digital signal processor 146 or other sources. At this time, since the anode of the operational amplifier 102 is connected to a bandgap voltage Vbg, the first current generating circuit 110 will generate a first current I 1 with a current value (Vbg/Rext), and the current mirror 130 replicates the first current I1 to generate a replicated current IBX. Afterwards, the transmitting circuit 142 converts the replica current IBX into a first voltage value Vox according to a reference data Di given by the digital signal processor 146, wherein the reference data Di is used to determine when the transmitting circuit 142 converts the replica current IBX to The ratio of the first voltage value Vox; afterward, the receiving circuit 144 converts the first voltage value Vox into a first digital code Dox, and the first digital code Dox is then sent to the digital signal processor 146 and stored therein.

接着,在第一数字码Dox储存至数字信号处理器146之后,请参考图3,开关SW1_1与SW1_2经由控制信号VC1的控制而处于未导通状态,而开关SW2_1与SW2_2则经由控制信号VC2的控制而导通。此时,由于运算放大器102的正极连接到一能带隙电压(bandgapvoltage)Vbg,因此,第二电流产生电路120会产生具有电流值(Vbg/Rc)的一第二电流I2,而电流镜130复制第二电流I2以产生一复制电流IBC。之后,发送电路142依据数字信号处理器146所给的参考数据Di以将复制电流IBC转换为一第二电压值Voc,接收电路144再接着将第二电压值Voc转换为一第二数字码Doc,而第二数字码Doc接着传送至数字信号处理器146,并储存于其中。Next, after the first digital code Dox is stored in the digital signal processor 146, please refer to FIG. The control of C2 is turned on. At this time, since the anode of the operational amplifier 102 is connected to a bandgap voltage Vbg, the second current generating circuit 120 will generate a second current I 2 with a current value (Vbg/Rc), and the current mirror 130 replicates the second current I2 to generate a replicated current IBC. Afterwards, the sending circuit 142 converts the replica current IBC into a second voltage value Voc according to the reference data Di given by the digital signal processor 146, and the receiving circuit 144 then converts the second voltage value Voc into a second digital code Doc , and the second digital code Doc is then sent to the digital signal processor 146 and stored therein.

接着,由于数字信号处理器146中所储存的第一数字码Dox与第二数字码Doc分别用来表示第一电流I1与第二电流I2的大小,因此,数字信号处理器146可以依据第一数字码Dox与第二数字码Doc以产生一校正码Dcc来调整可调电阻Rc的电阻值,以使得第二电流产生电路120所产生的电流可以尽可能的接近第一电流产生电路110所产生的电流。举例来说,数字信号处理器146可以依据第一数字码Dox与第二数字码Doc的码值或是差异值,以自一对照表中决定出校正码Dcc以调整可调电阻Rc的电阻值;或是数字信号处理器146可以持续地产生不同的校正码Dcc以调整可调电阻Rc的电阻值,以使得第二电流产生电路120所产生的电流I2与相对应的第二数字码Doc持续的改变直到第二数字码Doc很接近第一数字码Dox为止。Next, since the first digital code Dox and the second digital code Doc stored in the digital signal processor 146 are used to represent the magnitudes of the first current I1 and the second current I2 respectively, the digital signal processor 146 can be based on The first digital code Dox and the second digital code Doc generate a correction code Dcc to adjust the resistance value of the adjustable resistor Rc, so that the current generated by the second current generating circuit 120 can be as close as possible to the first current generating circuit 110 the resulting current. For example, the digital signal processor 146 can determine the correction code Dcc from a comparison table according to the code value or difference value between the first digital code Dox and the second digital code Doc to adjust the resistance value of the adjustable resistor Rc or the digital signal processor 146 can continuously generate different correction codes Dcc to adjust the resistance value of the adjustable resistor Rc, so that the current I 2 generated by the second current generating circuit 120 is the same as the corresponding second digital code Doc The change is continued until the second digital code Doc is very close to the first digital code Dox.

经由上述的调整,可调电阻Rc的电阻值会很接近外部电阻Rext的电阻值,因此,第二电流产生电路120所产生的电流I2也会很接近第一电流产生电路110所产生的电流I1,此时,数字信号处理器146会使用电子保险丝148来记录此时的校正码Dcc,因此,在芯片后续的使用上,由于校正码Dcc已经由电子保险丝148固定了,因此可调电阻Rc的电阻值也会是固定的,芯片便可以利用第二电流产生电路120来产生所需的一固定电流Ic。由于在后续的使用上不再需要使用外部电阻,因此可以降低后续的制造成本。Through the above adjustment, the resistance value of the adjustable resistor Rc will be very close to the resistance value of the external resistor Rext, therefore, the current I2 generated by the second current generating circuit 120 will also be very close to the current generated by the first current generating circuit 110 I 1 , at this time, the digital signal processor 146 will use the electronic fuse 148 to record the correction code Dcc at this time. Therefore, in the subsequent use of the chip, since the correction code Dcc has been fixed by the electronic fuse 148, the adjustable resistance The resistance value of Rc is also fixed, and the chip can use the second current generating circuit 120 to generate a required fixed current Ic. Since there is no need to use an external resistor for subsequent use, subsequent manufacturing costs can be reduced.

此外,由于固定电流产生电路100中的校正电路140是以芯片本身的发送电路142与接收电路144来实作,因此不需要在芯片中增加额外的校正电路,可以节省芯片设计与制作上的成本。In addition, since the correction circuit 140 in the fixed current generating circuit 100 is implemented by the sending circuit 142 and the receiving circuit 144 of the chip itself, there is no need to add an additional correction circuit in the chip, which can save the cost of chip design and production. .

然而,需注意的是,虽然于图2所示的实施例中,校正电路140是以芯片本身的发送电路142、接收电路144来实作,但本发明并不以此为限。于本发明的其他实施例中,但校正电路140亦可以为芯片中独立的校正电路,且可以有其他型式的设计,而并非使用芯片本身的发送电路142与接收电路144,这些设计上的变化均应隶属于本发明的范畴。However, it should be noted that although in the embodiment shown in FIG. 2 , the calibration circuit 140 is implemented by the sending circuit 142 and the receiving circuit 144 of the chip itself, the present invention is not limited thereto. In other embodiments of the present invention, the correction circuit 140 can also be an independent correction circuit in the chip, and can have other types of designs instead of using the sending circuit 142 and receiving circuit 144 of the chip itself. These design changes All should belong to the category of the present invention.

请参考图4,图4为依据本发明一实施例的固定电流产生方法的流程图,参考图1~4以及以上有关于图1~3的揭示内容,流程叙述如下:Please refer to FIG. 4. FIG. 4 is a flow chart of a method for generating a fixed current according to an embodiment of the present invention. Referring to FIGS.

步骤400:提供一芯片,其中该芯片包含有一第一电流产生电路以及一第二Step 400: Provide a chip, wherein the chip includes a first current generating circuit and a second

电流产生电路,该第二电流产生电路包含有一晶体管以及一可调电阻;A current generating circuit, the second current generating circuit includes a transistor and an adjustable resistance;

步骤402:将一外部电阻连接至该第一电流产生电路,以使得该第一电流产生电路使用该外部电阻来产生一第一电流;Step 402: Connect an external resistor to the first current generating circuit, so that the first current generating circuit uses the external resistor to generate a first current;

步骤404:使用该第二电流产生电路来产生一第二电流;Step 404: using the second current generating circuit to generate a second current;

步骤406:依据该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流实质上等于该第一电流,且该第二电流是作为该芯片内所使用的一固定电流。Step 406: Adjust the resistance value of the adjustable resistor according to the first current and the second current, so that the second current is substantially equal to the first current, and the second current is used in the chip a fixed current.

简要归纳本发明,于本发明的固定电流产生电路与相关的固定电流产生方法中,将芯片内部的一可调电阻的电阻值校正为接近一外部电阻的电阻值,以使得芯片可以使用内部校正过后的电阻来产生一可靠的固定电流,由于不需要外部电阻,故可以确实降低后续的制造成本。此外,本发明的固定电流产生电路中的校正电路可以使用芯片本身的发送电路与接收电路来实作,因此不需要设计额外的校正电路,以进一步节省芯片设计与制造上的成本。To briefly summarize the present invention, in the fixed current generating circuit and related fixed current generating method of the present invention, the resistance value of an adjustable resistor inside the chip is calibrated to be close to the resistance value of an external resistor, so that the chip can use the internal correction A reliable constant current is generated by a subsequent resistor. Since no external resistor is required, subsequent manufacturing costs can be reduced indeed. In addition, the correction circuit in the fixed current generating circuit of the present invention can be implemented by using the sending circuit and receiving circuit of the chip itself, so there is no need to design an additional correction circuit to further save the cost of chip design and manufacturing.

以上所述仅为本发明的较佳实施例,凡依本发明申请专利权利要求范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the patent claims of the present invention shall fall within the scope of the present invention.

Claims (11)

1.一种固定电流产生电路,设置于一芯片内,包含有:1. A fixed current generating circuit, which is arranged in a chip and includes: 一第一电流产生电路,包含有一第一晶体管,其中该第一晶体管耦接于该芯片的一接点,且于一芯片测试阶段时,该接点是用来连接一外部电阻以供该第一电流产生电路产生一第一电流;A first current generating circuit, comprising a first transistor, wherein the first transistor is coupled to a contact of the chip, and during a chip testing stage, the contact is used to connect an external resistor for the first current The generating circuit generates a first current; 一第二电流产生电路,包含有一第二晶体管以及一可调电阻,用来产生一第二电流;A second current generating circuit, including a second transistor and an adjustable resistor, used to generate a second current; 一电流镜;a current mirror; 一开关模块,耦接于该第一电流产生电路、该第二电流产生电路与该电流镜之间,用以选择性地将该第一电流产生电路与该第二电流产生电路连接至该电流镜,以使得该电流镜复制该第一电流或是该第二电流;以及a switch module, coupled between the first current generating circuit, the second current generating circuit and the current mirror, for selectively connecting the first current generating circuit and the second current generating circuit to the current mirror, so that the current mirror replicates either the first current or the second current; and 一校正电路,耦接于该电流镜,用以依据该电流镜所复制的该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流尽可能的接近该第一电流,且该第二电流作为该芯片内所使用的一固定电流;a correction circuit, coupled to the current mirror, for adjusting the resistance value of the adjustable resistor according to the first current and the second current copied by the current mirror, so that the second current is as close as possible to the the first current, and the second current is used as a fixed current in the chip; 其中,该校正电路包含有:Among them, the correction circuit includes: 一发送电路,用来接收该电流镜所复制的该第一电流以产生一第一电压值,以及接收该电流镜所复制的该第二电流以产生一第二电压值;a sending circuit, used to receive the first current copied by the current mirror to generate a first voltage value, and receive the second current copied by the current mirror to generate a second voltage value; 一接收电路,耦接于该发送电路,用以接收该第一电压值以产生一第一数字码,以及接收该第二电压值以产生一第二数字码;以及a receiving circuit, coupled to the transmitting circuit, for receiving the first voltage value to generate a first digital code, and receiving the second voltage value to generate a second digital code; and 一数字信号处理器,耦接于该接收电路,包含有多个电子保险丝,且该数字信号处理器依据该第一数字码与该第二数字码以控制该多个电子保险丝产生一校正码,且该校正码用来调整该可调电阻的电阻值。A digital signal processor, coupled to the receiving circuit, includes a plurality of electronic fuses, and the digital signal processor controls the plurality of electronic fuses to generate a correction code according to the first digital code and the second digital code, And the correction code is used to adjust the resistance value of the adjustable resistor. 2.如权利要求1所述的固定电流产生电路,其中该校正电路包含该芯片的一模拟前端电路。2. The fixed current generating circuit as claimed in claim 1, wherein the calibration circuit comprises an analog front-end circuit of the chip. 3.如权利要求1所述的固定电流产生电路,其中于该芯片测试阶段时,该开关模块将该第一电流产生电路连接于该电流镜,并使该第二电流产生电路不连接至该电流镜,且该校正电路接收该电流镜所复制的该第一电流;以及该开关模块另将该第二电流产生电路连接于该电流镜,并使该第一电流产生电路不连接至该电流镜,且该校正电路接收该电流镜所复制的该第二电流;以及该校正电路依据该电流镜所复制的该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流尽可能的接近该第一电流。3. The fixed current generating circuit as claimed in claim 1, wherein during the chip testing stage, the switch module connects the first current generating circuit to the current mirror, and makes the second current generating circuit not connected to the current mirror. a current mirror, and the correction circuit receives the first current copied by the current mirror; and the switch module further connects the second current generating circuit to the current mirror, and makes the first current generating circuit not connected to the current mirror, and the correction circuit receives the second current copied by the current mirror; and the correction circuit adjusts the resistance value of the adjustable resistor according to the first current and the second current copied by the current mirror, so that The second current is as close as possible to the first current. 4.如权利要求1所述的固定电流产生电路,其中该芯片为一网络芯片,且该发送电路与该接收电路分别为该网络芯片中用来发送与接收网络相关信号的电路。4. The fixed current generating circuit as claimed in claim 1, wherein the chip is a network chip, and the sending circuit and the receiving circuit are circuits for sending and receiving network-related signals in the network chip, respectively. 5.如权利要求1所述的固定电流产生电路,该数字信号处理器依据该第一数字码与该第二数字码的差异值,自一对照表中决定出一校正码,以调整该可调电阻的电阻值。5. The fixed current generating circuit as claimed in claim 1, wherein the digital signal processor determines a correction code from a comparison table according to the difference between the first digital code and the second digital code, so as to adjust the possible Adjust the resistance value of the resistor. 6.如权利要求4所述的固定电流产生电路,其中该发送电路为一数字模拟转换器,用来接收来自该数字信号处理器的网络数据。6. The fixed current generating circuit as claimed in claim 4, wherein the sending circuit is a digital-to-analog converter for receiving network data from the digital signal processor. 7.如权利要求1所述的固定电流产生电路,还包括运算放大器,该运算放大器的正极连接到一能带隙电压,该运算放大器的负极通过该开关模块耦接于该第一电流产生电路、该第二电流产生电路。7. The fixed current generating circuit as claimed in claim 1, further comprising an operational amplifier, the positive pole of the operational amplifier is connected to a bandgap voltage, and the negative pole of the operational amplifier is coupled to the first current generating circuit through the switch module , the second current generating circuit. 8.如权利要求7所述的固定电流产生电路,该开关模块包括:8. The fixed current generating circuit as claimed in claim 7, the switch module comprising: 第一开关,耦接于该第一电流产生电路与该电流镜之间;a first switch, coupled between the first current generating circuit and the current mirror; 第二开关,耦接于该第二电流产生电路与与该电流镜之间;a second switch, coupled between the second current generating circuit and the current mirror; 第三开关,耦接于该运算放大器的负极与第一电流产生电路之间;a third switch, coupled between the negative pole of the operational amplifier and the first current generating circuit; 第四开关,耦接于该运算放大器的负极与第二电流产生电路之间。The fourth switch is coupled between the negative pole of the operational amplifier and the second current generating circuit. 9.一种固定电流产生方法,应用于一芯片中,其中该芯片包含有一第一电流产生电路以及一第二电流产生电路,该第二电流产生电路包含有一晶体管以及一可调电阻,该固定电流产生方法包含有:9. A method for generating a fixed current, applied in a chip, wherein the chip includes a first current generating circuit and a second current generating circuit, the second current generating circuit includes a transistor and an adjustable resistor, the fixed Current generation methods include: 将一外部电阻连接至该第一电流产生电路,以使得该第一电流产生电路使用该外部电阻来产生一第一电流;connecting an external resistance to the first current generating circuit, so that the first current generating circuit uses the external resistance to generate a first current; 使用该第二电流产生电路来产生一第二电流;using the second current generating circuit to generate a second current; 依据该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流尽可能的接近该第一电流,且该第二电流是作为该芯片内所使用的一固定电流;Adjusting the resistance value of the adjustable resistor according to the first current and the second current, so that the second current is as close as possible to the first current, and the second current is used as a fixed current in the chip current; 其中,依据该第一电流以及该第二电流来调整该可调电阻的电阻值,以使得该第二电流尽可能的接近该第一电流的步骤包含有:Wherein, the step of adjusting the resistance value of the adjustable resistor according to the first current and the second current so that the second current is as close as possible to the first current includes: 接收该第一电流以产生一第一电压值;receiving the first current to generate a first voltage value; 接收该第一电压值以产生一第一数字码;receiving the first voltage value to generate a first digital code; 接收该第二电流以产生一第二电压值;receiving the second current to generate a second voltage value; 接收该第二电压值以产生一第二数字码;以及receiving the second voltage value to generate a second digital code; and 依据该第一数字码与该第二数字码以调整该可调电阻的电阻值,包含有:依据该第一数字码与该第二数字码以控制该芯片中的多个电子保险丝来产生一校正码,且该校正码用来调整该可调电阻的电阻值。Adjusting the resistance value of the adjustable resistor according to the first digital code and the second digital code includes: controlling a plurality of electronic fuses in the chip according to the first digital code and the second digital code to generate a a correction code, and the correction code is used to adjust the resistance value of the adjustable resistor. 10.如权利要求9所述的固定电流产生方法,其中产生该第一电压值、该第一数字码、该第二电压值以及该第二数字码的步骤包含有:10. The fixed current generating method as claimed in claim 9, wherein the step of generating the first voltage value, the first digital code, the second voltage value and the second digital code comprises: 使用该芯片的一模拟前端电路以产生该第一电压值、该第一数字码、该第二电压值以及该第二数字码。An analog front-end circuit of the chip is used to generate the first voltage value, the first digital code, the second voltage value and the second digital code. 11.如权利要求10所述的固定电流产生方法,其中产生该第一电压值、该第一数字码、该第二电压值以及该第二数字码的步骤包含有:11. The fixed current generating method as claimed in claim 10, wherein the step of generating the first voltage value, the first digital code, the second voltage value and the second digital code comprises: 使用该芯片的一发送电路来接收该第一电流以产生该第一电压值,以及接收该第二电流以产生该第二电压值;using a transmitting circuit of the chip to receive the first current to generate the first voltage value, and receive the second current to generate the second voltage value; 使用该芯片的一接收电路来接收该第一电压值以产生该第一数字码,以及接收该第二电压值以产生该第二数字码;using a receiving circuit of the chip to receive the first voltage value to generate the first digital code, and receive the second voltage value to generate the second digital code; 其中该芯片为一网络芯片,且该发送电路与该接收电路分别为该网络芯片中用来发送与接收网络相关信号的电路。Wherein the chip is a network chip, and the sending circuit and the receiving circuit are circuits for sending and receiving network related signals in the network chip respectively.
CN201210508870.0A 2012-11-30 2012-11-30 Fixed current generating circuit and fixed current generating method Active CN103853226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210508870.0A CN103853226B (en) 2012-11-30 2012-11-30 Fixed current generating circuit and fixed current generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210508870.0A CN103853226B (en) 2012-11-30 2012-11-30 Fixed current generating circuit and fixed current generating method

Publications (2)

Publication Number Publication Date
CN103853226A CN103853226A (en) 2014-06-11
CN103853226B true CN103853226B (en) 2016-06-01

Family

ID=50861012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210508870.0A Active CN103853226B (en) 2012-11-30 2012-11-30 Fixed current generating circuit and fixed current generating method

Country Status (1)

Country Link
CN (1) CN103853226B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104181473A (en) * 2014-08-25 2014-12-03 长沙瑞达星微电子有限公司 Current source calibrating circuit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747508B2 (en) * 2002-01-25 2004-06-08 Richtek Technology Corp. Resistance mirror circuit
CN1900923A (en) * 2005-08-19 2007-01-24 威盛电子股份有限公司 Applied to the adjustable terminal resistance device on the integrated circuit chip
US7345503B2 (en) * 2006-06-30 2008-03-18 International Business Machines Corporation Method and apparatus for impedance matching in transmission circuits using tantalum nitride resistor devices
CN101630170A (en) * 2009-08-18 2010-01-20 上海艾为电子技术有限公司 Adaptive control device internally and externally set with constant current and method thereof
CN102183989A (en) * 2011-04-14 2011-09-14 上海艾为电子技术有限公司 Self-adaptive current control device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373266B1 (en) * 2000-03-31 2002-04-16 Agere Systems Guardian Corp. Apparatus and method for determining process width variations in integrated circuits
US6590441B2 (en) * 2001-06-01 2003-07-08 Qualcomm Incorporated System and method for tuning a VLSI circuit
TW538602B (en) * 2001-10-24 2003-06-21 Realtek Semi Conductor Co Ltd Circuit and method for automatically changing matching resistance
US6862714B2 (en) * 2002-04-19 2005-03-01 Intel Corporation Accurately tuning resistors
US6836170B2 (en) * 2003-04-17 2004-12-28 Kabushiki Kaisha Toshiba Impedance trimming circuit
KR100545711B1 (en) * 2003-07-29 2006-01-24 주식회사 하이닉스반도체 Reference voltage generator that can output various levels of reference voltage using fuse trimming
JP4095987B2 (en) * 2004-12-16 2008-06-04 富士通株式会社 Clock generating circuit, signal multiplexing circuit, optical transmitter, and clock generating method
US7514954B2 (en) * 2006-05-10 2009-04-07 Micron Technology, Inc. Method and apparatus for output driver calibration
US20080246537A1 (en) * 2007-04-03 2008-10-09 Broadcom Corporation Programmable discontinuity resistors for reference ladders
TWI469512B (en) * 2010-12-20 2015-01-11 Ic Plus Corp Impendence tuning apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747508B2 (en) * 2002-01-25 2004-06-08 Richtek Technology Corp. Resistance mirror circuit
CN1900923A (en) * 2005-08-19 2007-01-24 威盛电子股份有限公司 Applied to the adjustable terminal resistance device on the integrated circuit chip
US7345503B2 (en) * 2006-06-30 2008-03-18 International Business Machines Corporation Method and apparatus for impedance matching in transmission circuits using tantalum nitride resistor devices
CN101630170A (en) * 2009-08-18 2010-01-20 上海艾为电子技术有限公司 Adaptive control device internally and externally set with constant current and method thereof
CN102183989A (en) * 2011-04-14 2011-09-14 上海艾为电子技术有限公司 Self-adaptive current control device

Also Published As

Publication number Publication date
CN103853226A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
TWI499885B (en) Constant current generating circuit and associated constant current generating method
KR100532426B1 (en) Semiconductor device for compensating for on-chip termination mismatch
US7698802B2 (en) Method for manufacturing a calibration device
KR101047062B1 (en) Impedance adjustment circuit and semiconductor device using same
EP2111709A2 (en) Differential receiver with common-gate input stage
CN102566644A (en) Impedance adjusting device
US8786323B2 (en) Driver with resistance calibration capability
US10795389B2 (en) Low leakage low dropout regulator with high bandwidth and power supply rejection, and associated methods
US20140347141A1 (en) Resistance adjusting circuit and resistance adjusting method
US7084662B1 (en) Variable impedance output driver
US20160277026A1 (en) Integrated circuit chip and its impedance calibration method
US20090251192A1 (en) Self-calibration circuit for usb chips and method thereof
US11296698B2 (en) Impedance calibration circuit
CN111751693A (en) Method and circuit for detecting current amplification factor of bipolar transistor
CN103853226B (en) Fixed current generating circuit and fixed current generating method
US9484912B2 (en) Resistance element generator and output driver using the same
US7724040B2 (en) Network overclock control circuit
CN107171650A (en) Variable gain amplifier circuit
TWI612771B (en) Interface circuit with configurable variable supply voltage for transmitting signals
US7330075B2 (en) Output impedance control circuit and control method thereof
CN101510106B (en) Current Control Devices Applied to Transistors
CN100539409C (en) Output impedance control circuit device, control method thereof, and output stage circuit device
US6667892B1 (en) Voltage-averaged temperature compensation method and corresponding circuit thereof
CN113765513B (en) Impedance correction circuit
US6788100B2 (en) Resistor mirror

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