CN104734645A - Method for eliminating variable gain amplifier circuit DC offset by adopting current DAC - Google Patents
Method for eliminating variable gain amplifier circuit DC offset by adopting current DAC Download PDFInfo
- Publication number
- CN104734645A CN104734645A CN201510093261.7A CN201510093261A CN104734645A CN 104734645 A CN104734645 A CN 104734645A CN 201510093261 A CN201510093261 A CN 201510093261A CN 104734645 A CN104734645 A CN 104734645A
- Authority
- CN
- China
- Prior art keywords
- current
- offset voltage
- analog
- dac
- voltage value
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F1/00—Details of amplifiers with only discharge tubes, only semiconductor devices or only unspecified devices as amplifying elements
- H03F1/30—Modifications of amplifiers to reduce influence of variations of temperature or supply voltage or other physical parameters
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
本发明公开了一种采用电流DAC消除可变增益放大器电路直流失调的方法,将可变增益放大器的差分输入端短接,可变增益放大电路的输出信号即为直流失调电压,使用模数转换器对直流失调电压进行采样检测和模数转换,得到直流失调电压的数字值,采用改进的逐位比较算法对直流失调电压的数字值进行处理,得到控制电流DAC的控制字,最后通过电流DAC对对应可变增益放大器的输入端进行反馈校准,以消除直流失调电压。本发明改进了传统的数字辅助直流失调消除技术中的逐位校准的方式,并采用模数转换器直接检测直流失调电压,提高了校准的速度。
The invention discloses a method for eliminating the DC offset of a variable gain amplifier circuit by using a current DAC. The differential input terminals of the variable gain amplifier are short-circuited, and the output signal of the variable gain amplifier circuit is the DC offset voltage. The device performs sampling detection and analog-to-digital conversion on the DC offset voltage to obtain the digital value of the DC offset voltage. The improved bit-by-bit comparison algorithm is used to process the digital value of the DC offset voltage to obtain the control word for controlling the current DAC, and finally through the current DAC. Feedback calibration is performed on the input of the corresponding variable gain amplifier to cancel the dc offset voltage. The invention improves the bit-by-bit calibration method in the traditional digital-assisted DC offset elimination technology, and uses an analog-to-digital converter to directly detect the DC offset voltage, thereby increasing the calibration speed.
Description
技术领域 technical field
本发明涉及一种采用电流DAC消除可变增益放大电路直流失调的方法,是应用在无线收发机的中频放大器中的重要技术,涉及无线通信领域的中频放大技术和数字基带技术。 The invention relates to a method for eliminating DC offset of a variable gain amplifier circuit by using a current DAC, which is an important technology applied in an intermediate frequency amplifier of a wireless transceiver, and relates to an intermediate frequency amplification technology and a digital baseband technology in the field of wireless communication.
背景技术 Background technique
在CMOS工艺中,噪声和失调是限制模拟集成电路精度的主要因素。事实上随着沟道长度变小失调会越加严重,因此失调是成为限制精度的主导因素。失调是由相同放置的晶体管间的不匹配所造成的。尤其在差分可变增益放大器的设计过程中,由于晶体管的不匹配造成失调电压,当放大器的增益较大时,等效在放大器输入的直流失调电压会被放大,从而使得高增益运放产生比较大的误差,甚至当失调较大的时候会湮没有效信号,造成信号通路的阻塞。一般电路的失调用输入失调电压来定义:使输出电压为零时的两端输入电压之差。在一个双端放大器中,失调电压常常是毫伏级的,在CMOS工艺中,失调电压有可能会增大到至少10倍以上。而可变增益放大器通常具有较高的增益,因此,如何有效的消除可变增益放大器的失调电压是在电路设计时必须考虑的一个重要问题。 In CMOS processes, noise and offset are the main factors that limit the accuracy of analog integrated circuits. In fact, as the channel length becomes smaller, the offset will become more serious, so the offset is the dominant factor that limits the accuracy. Offset is caused by mismatches between identically placed transistors. Especially in the design process of the differential variable gain amplifier, due to the offset voltage caused by the mismatch of the transistor, when the gain of the amplifier is large, the DC offset voltage equivalent to the input of the amplifier will be amplified, thus making the high-gain op amp produce a comparative A large error, even when the offset is large, will annihilate the effective signal, resulting in the blockage of the signal path. The offset of a general circuit is defined by the input offset voltage: the difference between the input voltage at both ends when the output voltage is zero. In a two-terminal amplifier, the offset voltage is usually on the millivolt level, and in a CMOS process, the offset voltage may increase by at least a factor of 10. The variable gain amplifier usually has a higher gain, so how to effectively eliminate the offset voltage of the variable gain amplifier is an important issue that must be considered in circuit design.
直流失调消除的方法比较多,比如反馈和前馈、开关电容、数字校正等。评价直流失调消除技术的性能可以从如下几个指标进行:直流消除的建立时间,即输出信号直流分量稳定到一定的精度所需的时间;直流失调的衰减程度,即输出信号直流分量与输入信号直流分量的比值;电路功耗、面积、稳定性等。直流失调消除最简单的方法是交流耦合:将大电容放在两级电路之间,实现隔直流通交流的目的。这种方法实现相对简单,但是当电路工作在低频状态下需要很大的电容才能实现较低的交流信号的衰减,很大的隔直电容如果在片内实现会占用很大的面积。在一些采用具有高通特性的电路取代直接的交流耦合,另外考虑到大电阻和大电容占用的面积较大,在一些电路中采用MOS管来实现电容和电阻。另外的方法是采用反馈消失调,基本原理是在在正向放大通路上并联一个低通的负反馈回路,从而实现闭环传递函数的高通特性。传统的模拟直流失调消除技术都需要用到大电容,并且具有很慢的建立时间,另外采用反馈的方式也易引起电路的稳定性问题。 There are many ways to eliminate DC offset, such as feedback and feedforward, switched capacitors, and digital correction. The performance of the DC offset cancellation technology can be evaluated from the following indicators: the establishment time of the DC offset, that is, the time required for the DC component of the output signal to stabilize to a certain accuracy; the attenuation degree of the DC offset, that is, the DC component of the output signal and the input signal The ratio of the DC component; circuit power consumption, area, stability, etc. The simplest way to eliminate DC offset is AC coupling: place a large capacitor between two circuits to achieve the purpose of blocking DC and AC. This method is relatively simple to implement, but when the circuit works at low frequencies, a large capacitor is required to attenuate low AC signals. If a large DC blocking capacitor is implemented on-chip, it will occupy a large area. In some circuits, circuits with high-pass characteristics are used to replace direct AC coupling. In addition, considering the large area occupied by large resistors and capacitors, MOS transistors are used to realize capacitors and resistors in some circuits. Another method is to use feedback vanishing tone. The basic principle is to connect a low-pass negative feedback loop in parallel on the forward amplification path, so as to realize the high-pass characteristic of the closed-loop transfer function. The traditional analog DC offset cancellation technology needs to use a large capacitor and has a very slow settling time. In addition, the feedback method is easy to cause stability problems of the circuit.
因此在现在的一些电路设计中,主要采用数字辅助的直流失调消除的技术。数字辅助的校准方法的基本过程是:首先将放大器的差分输入短接,检测可变增益放大器的输出失调电压,然后通过一个逐次比较的算法,计算失调校准值,最后通过一个校准DAC 将失调消除。这种方法的直流失调消除电路占用很小的芯片面积并且每个增益级的失调都能得到校准。其中比较输出失调电压通常是采用比较器实现,对比较器的要求比较高,需要自身失调很小的比较器才能得到准确的校准。在传统的数字辅助直流失调校准算法中,由于采用的校准DAC是二进制DAC,若有一位DAC的校准发生错误,则后面的校准难以将失调重新校准过来。在一些文献中,采用了亚二进制的DAC,即DAC每一位的加权小于二。这样可以有效防止校准出错,但是这样相同位数的DAC校准的失调电压较小。 Therefore, in some current circuit designs, the technology of digitally assisted DC offset elimination is mainly used. The basic process of the digital-assisted calibration method is: first, short the differential input of the amplifier, detect the output offset voltage of the variable gain amplifier, then calculate the offset calibration value through a successive comparison algorithm, and finally eliminate the offset through a calibration DAC . The DC offset cancellation circuit of this method occupies a small chip area and the offset of each gain stage can be calibrated. Among them, comparing the output offset voltage is usually achieved by using a comparator, which has relatively high requirements on the comparator, and requires a comparator with a small offset to obtain accurate calibration. In the traditional digital-assisted DC offset calibration algorithm, since the calibration DAC used is a binary DAC, if an error occurs in the calibration of a DAC, it will be difficult to recalibrate the offset in subsequent calibrations. In some literatures, a sub-binary DAC is used, that is, the weight of each bit of the DAC is less than two. This can effectively prevent calibration errors, but the offset voltage of DAC calibration with the same number of bits is small.
发明内容 Contents of the invention
发明目的:为了消除直流失调电压对可变增益放大器性能的影响,本发明提供一种采用电流DAC消除可变增益放大电路直流失调的方法,能够在较短的时间内实现数字自动直流失调校准;本发明采用改进的逐步校准算法控制校准DAC,以消除可变增益放大器的等效输入失调电压;本发明方法能够将失调校准到很小的数量级,校准失调电压范围大,校准准确性高,校准速度快。 Purpose of the invention: In order to eliminate the influence of the DC offset voltage on the performance of the variable gain amplifier, the present invention provides a method for eliminating the DC offset of the variable gain amplifier circuit by using a current DAC, which can realize digital automatic DC offset calibration in a relatively short period of time; The invention adopts an improved step-by-step calibration algorithm to control and calibrate the DAC to eliminate the equivalent input offset voltage of the variable gain amplifier; high speed.
技术方案:为实现上述目的,本发明采用的技术方案为: Technical scheme: in order to achieve the above object, the technical scheme adopted in the present invention is:
一种采用电流DAC消除可变增益放大电路直流失调的方法,该可变增益放大电路共有三个放大级,即由三个可变增益放大器串联构成可变增益放大电路,每个可变增益放大器均连接一个直流失调调节用的电流DAC(即校准DAC),可变增益放大电路的输出端接入模数转换器的输入端,模数转换器的输出端接入直流失调消除模块进行数字处理,得到的数字控制字分别连接控制各个电流DAC;工作过程为:将可变增益放大电路的差分输入端短接,可变增益放大电路的输出信号即为直流失调电压,使用模数转换器对直流失调电压进行采样检测和模数转换,得到直流失调电压的数字值,采用改进的逐位比较算法对直流失调电压的数字值进行处理,得到控制电流DAC的控制字,最后通过电流DAC对对应可变增益放大器的输入端进行反馈校准,以消除直流失调电压;在直流失调电压消除后,将可变增益放大电路的差分输入端断开,即可进行交流信号的放大,也即可变增益放大电路进入正常的放大模式。 A method for eliminating the DC offset of a variable gain amplifier circuit by using a current DAC. The variable gain amplifier circuit has three amplification stages, that is, three variable gain amplifiers are connected in series to form a variable gain amplifier circuit. Each variable gain amplifier Both are connected to a current DAC for DC offset adjustment (ie calibration DAC), the output end of the variable gain amplifier circuit is connected to the input end of the analog-to-digital converter, and the output end of the analog-to-digital converter is connected to the DC offset elimination module for digital processing , the obtained digital control words are respectively connected to control each current DAC; the working process is: the differential input terminals of the variable gain amplifier circuit are short-circuited, the output signal of the variable gain amplifier circuit is the DC offset voltage, and the analog-to-digital converter is used to Sampling detection and analog-to-digital conversion of the DC offset voltage are performed to obtain the digital value of the DC offset voltage, and the improved bit-by-bit comparison algorithm is used to process the digital value of the DC offset voltage to obtain the control word of the control current DAC, and finally the corresponding The input terminal of the variable gain amplifier performs feedback calibration to eliminate the DC offset voltage; after the DC offset voltage is eliminated, the differential input terminal of the variable gain amplifier circuit is disconnected to amplify the AC signal, that is, the variable gain The amplifier circuit enters the normal amplification mode.
所述电流DAC共有(N+1)个电流支路,其中第二个电流支路到第(N+1)个电流支路的电流按二进制加权增加,分别为I0、2×I0、…、2n×I0、…、2(N-1)×I0,第一个电流支路的电流为I0;电流DAC的电流输出端口有两个,分别连接到对应可变增益放大器的差分输入端的两个端口,记电流DAC的两个电流输出端口输出的电流信号分别为 Ioutn和Ioutp;第二个电流支路到第(N+1)个电流支路上均设置有一个开关,每个开关均由两个并联的NMOS管构成,对于第(n+1)个电流支路,两个NMOS管的控制信号为B[n]和经过反相器的采用控制信号B[n]的所有电流支路和第一个电流直流相连后输出Ioutn,采用经过反相器的的所有电流支路相连后输出Ioutp,即: The current DAC has (N+1) current branches in total, wherein the currents from the second current branch to the (N+1)th current branch are increased by binary weighting, which are respectively I 0 , 2×I 0 , ..., 2 n ×I 0 , ..., 2 (N-1) ×I 0 , the current of the first current branch is I 0 ; there are two current output ports of the current DAC, which are respectively connected to the corresponding variable gain amplifier The two ports of the differential input end of the current DAC, the current signals output by the two current output ports of the current DAC are respectively I outn and I outp ; the second current branch to the (N+1)th current branch are provided with a Each switch is composed of two NMOS transistors connected in parallel. For the (n+1)th current branch, the control signal of the two NMOS transistors is B[n] and the All the current branches using the control signal B[n] are directly connected to the first current and then output I outn , using the All current branches of are connected to output I outp , namely:
Ioutn=2NI0-(B[0]I0+2B[1]I0+…+2(N-1)B[N-1]I0) I outn =2 N I 0 -(B[0]I 0 +2B[1]I 0 +…+2 (N-1) B[N-1]I 0 )
其中,B[0:N-1]记为电流DAC的控制字;电流DAC流入可变增益放大器的校准电流为Ioutn-Ioutp,校准电流的变化范围为(-2NI0,2NI0),变化的精度为I0。 Among them, B[0:N-1] is recorded as the control word of the current DAC; the calibration current that the current DAC flows into the variable gain amplifier is I outn -I outp , and the variation range of the calibration current is (-2 N I 0 ,2 N I 0 ), the precision of the change is I 0 .
所述改进的逐位比较算法为:根据模数转换器的当前检测的直流失调电压值和上一状态的直流失调电压值来逐位调整电流DAC的控制字:当当前检测的直流失调电压不在模数转换器的检测范围内时,从电流DAC的高位到低位逐位比较调整,首先调整第一级的可变增益放大器,调整完成后调整第二级的可变增益放大器,调整完成后调整第三级的可变增益放大器;当当前检测的直流失调电压在模数转换器的检测范围内时,通过当前检测的直流失调电压值和当前可变增益放大电路的增益值进行换算,直接调节电流DAC的控制字,实现直流失调电压的快速调整; The improved bit-by-bit comparison algorithm is: adjust the control word of the current DAC bit by bit according to the currently detected DC offset voltage value of the analog-to-digital converter and the DC offset voltage value of the previous state: when the currently detected DC offset voltage is not in the When the analog-to-digital converter is within the detection range, compare and adjust bit by bit from the high bit to the low bit of the current DAC. First, adjust the variable gain amplifier of the first stage. After the adjustment is completed, adjust the variable gain amplifier of the second stage. After the adjustment is completed, adjust The third-stage variable gain amplifier; when the currently detected DC offset voltage is within the detection range of the analog-to-digital converter, it is directly adjusted by converting the currently detected DC offset voltage value and the gain value of the current variable gain amplifier circuit The control word of the current DAC realizes the rapid adjustment of the DC offset voltage;
其中,上一状态的直流失调电压值即电流DAC控制字改变的前一状态的直流失调电压值;从电流DAC的高位到低位逐位比较调整的基本过程是:电流DAC的初始控制字为B[N-1:0]=<100…0>,即最高位为1,其余的(N-1)位均为低位,此时各级可变增益放大器的校准电流为0;根据当前检测的直流失调电压值和上一状态的直流失调电压值:若当前的直流失调电压值和上一状态的直流失调电压值均在模数转换器的检测范围内,直流失调电压消除校准停止,电流DAC的控制字保持不变,此时可变增益放大电路可以进入正常的放大模式;若当前的直流失调电压值低于模数转换器的检测范围,上一状态的直流失调电压值高于模数转换器的检测范围,电流DAC的当前控制位变为高;若当前的直流失调电压值高于模数转换器的检测范围,上一状态的直流失调电压值低于模数转换器的检测范围,电流DAC的当前控制位变为低;若当前的直流失调电压值低于模数转换器的检测范围,上一状态的直流失调电压值低于模数转换器的检测范围,电 流DAC的当前控制位变为高,上一控制位变为高;若当前的直流失调电压值高于模数转换器的检测范围,上一状态的直流失调电压值高于模数转换器的检测范围,电流DAC的当前控制位变为低,上一控制位变为低;通过上述方式比较当前状态和上一状态,采用逐步改变一位或改变两位控制位的方式,能够有效解决直流失调电压校准过程中发生的错位和冗余问题,使得直流失调电压得到准确的校准。 Among them, the DC offset voltage value of the previous state is the DC offset voltage value of the previous state after the current DAC control word is changed; the basic process of comparing and adjusting bit by bit from the high bit to the low bit of the current DAC is: the initial control word of the current DAC is B [N-1:0]=<100...0>, that is, the highest bit is 1, and the remaining (N-1) bits are all low bits. At this time, the calibration current of variable gain amplifiers at all levels is 0; according to the currently detected DC offset voltage value and the DC offset voltage value of the previous state: If the current DC offset voltage value and the DC offset voltage value of the previous state are both within the detection range of the analog-to-digital converter, the DC offset voltage elimination calibration stops, and the current DAC At this time, the variable gain amplifier circuit can enter the normal amplification mode; if the current DC offset voltage value is lower than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is higher than the modulus The detection range of the converter, the current control bit of the current DAC becomes high; if the current DC offset voltage value is higher than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is lower than the detection range of the analog-to-digital converter , the current control bit of the current DAC becomes low; if the current DC offset voltage value is lower than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is lower than the detection range of the analog-to-digital converter, and the current DAC’s The current control bit becomes high, and the previous control bit becomes high; if the current DC offset voltage value is higher than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is higher than the detection range of the analog-to-digital converter, The current control bit of the current DAC becomes low, and the previous control bit becomes low; by comparing the current state with the previous state in the above way, the method of gradually changing one or two control bits can effectively solve the problem of DC offset voltage calibration. The misalignment and redundancy problems that occur during the process allow the DC offset voltage to be accurately calibrated.
有益效果:本发明提供的采用电流DAC消除可变增益放大电路直流失调的方法,改进了传统的数字辅助直流失调消除技术中的逐位校准的方式,并采用模数转换器直接检测直流失调电压,提高了校准的速度;并且本发明采用采用的数字辅助的直流失调消除的方式,可以有效减小芯片占用的版图的面积;本发明的直流失调消除方法,具有准确性和快速性。 Beneficial effects: The method for eliminating the DC offset of a variable gain amplifier circuit provided by the present invention improves the bit-by-bit calibration method in the traditional digital-assisted DC offset elimination technology, and uses an analog-to-digital converter to directly detect the DC offset voltage , improving the calibration speed; and the present invention adopts the digital-assisted DC offset elimination method, which can effectively reduce the layout area occupied by the chip; the DC offset elimination method of the present invention has accuracy and rapidity.
附图说明 Description of drawings
图1为采用本发明方法的可变增益放大电路的结构框图和电路DAC电路图; Fig. 1 is the structural block diagram and the circuit DAC circuit diagram of the variable gain amplifier circuit that adopts the inventive method;
图2为从电流DAC的高位到低位逐位比较调整的流程图; Figure 2 is a flow chart of comparing and adjusting bit by bit from the high bit to the low bit of the current DAC;
图3为采用本发明方法的可变增益放大电路在不同增益模式下的直流失调电压消除的过程波形。 FIG. 3 is a process waveform of DC offset voltage elimination in different gain modes of the variable gain amplifier circuit adopting the method of the present invention.
具体实施方式 Detailed ways
下面结合附图对本发明作更进一步的说明。 The present invention will be further described below in conjunction with the accompanying drawings.
本发明提供的采用电流DAC消除可变增益放大器电路直流失调的方法,采用了数字辅助的直流失调电压消除技术。该数字辅助的直流失调电压消除技术采用可变增益放大电路输出的直流失调电压,通过电流DAC在可变增益放大器的输入端进行校准消除,最终使得可变增益放大电路的输出信号的直流失调电压在能接受的范围甚至是达到零。在校准过程中,若经过放大器后的直流失调过大,会超过模数转换器的检测范围,因此需要在直流失调消除的过程中采用逐位比较的方法。本发明改进了传统的数字直流失调消除技术逐位逼近算法,能有效防止直流失调消除过程中的位的丢失和冗余,使得直流失调电压能够得到有效的消除。 The method for eliminating the direct current offset of the variable gain amplifier circuit provided by the present invention adopts the digital auxiliary direct current offset voltage elimination technology. The digital-assisted DC offset voltage elimination technology uses the DC offset voltage output by the variable gain amplifier circuit to calibrate and eliminate the input terminal of the variable gain amplifier through the current DAC, and finally makes the DC offset voltage of the output signal of the variable gain amplifier circuit It can even reach zero in the acceptable range. During the calibration process, if the DC offset after the amplifier is too large, it will exceed the detection range of the analog-to-digital converter. Therefore, it is necessary to use a bit-by-bit comparison method in the process of eliminating the DC offset. The invention improves the bit-by-bit approximation algorithm of the traditional digital DC offset elimination technology, can effectively prevent the loss and redundancy of bits in the process of eliminating the DC offset, and enables the DC offset voltage to be effectively eliminated.
一种采用电流DAC消除可变增益放大器电路直流失调的方法,如图1和图2所示该可变增益放大电路共有三个放大级,即由三个可变增益放大器串联构成可变增益放大电路,每个可变增益放大器均连接一个直流失调调节用的电流DAC(即校准DAC),可变增益放大电路的输出端接入模数转换器的输入端,模数转换器的输出端接入直流失调消除模块进行数字处理,得到的数字控制字分别连接到各个电流DAC;工作过程为:将可变增益放大器的差分输入端短接,可变增益放大电路的输出信号即为直流失调电 压,使用模数转换器对直流失调电压进行采样检测和模数转换,得到直流失调电压的数字值,采用改进的逐位比较算法对直流失调电压的数字值进行处理,得到控制电流DAC的控制字,最后通过电流DAC对对应可变增益放大器的输入端进行反馈校准,以消除直流失调电压;在直流失调电压消除后,将可变增益放大电路的差分输入端断开,即可进行交流信号的放大,也即可变增益放大电路进入正常的放大模式。 A method of eliminating the DC offset of a variable gain amplifier circuit by using a current DAC. As shown in Figure 1 and Figure 2, the variable gain amplifier circuit has three amplification stages, that is, three variable gain amplifiers are connected in series to form a variable gain amplifier circuit, each variable gain amplifier is connected to a current DAC for DC offset adjustment (ie calibration DAC), the output terminal of the variable gain amplifier circuit is connected to the input terminal of the analog-to-digital converter, and the output terminal of the analog-to-digital converter is connected to Input the DC offset elimination module for digital processing, and the obtained digital control words are respectively connected to each current DAC; the working process is: short the differential input terminals of the variable gain amplifier, and the output signal of the variable gain amplifier circuit is the DC offset voltage Voltage, use analog-to-digital converter to sample detection and analog-to-digital conversion of DC offset voltage, get the digital value of DC offset voltage, use the improved bit-by-bit comparison algorithm to process the digital value of DC offset voltage, and obtain the control current DAC Finally, the current DAC is used to perform feedback calibration on the input terminal of the corresponding variable gain amplifier to eliminate the DC offset voltage; after the DC offset voltage is eliminated, the differential input terminal of the variable gain amplifier circuit is disconnected to perform AC signal The amplification, that is, the variable gain amplifier circuit enters the normal amplification mode.
所述电流DAC共有(N+1)个电流支路,其中第二个电流支路到第(N+1)个电流支路的电流按二进制加权增加,分别为I0、2×I0、…、2n×I0、…、2(N-1)×I0,第一个电流支路的电流为I0;电流DAC的电流输出端口有两个,分别连接到对应可变增益放大器的差分输入端的两个端口,记电流DAC的两个电流输出端口输出的电流信号分别为Ioutn和Ioutp;第二个电流支路到第(N+1)个电流支路上均设置有一个开关,每个开关均由两个并联的NMOS管构成,对于第(n+1)个电流支路,两个NMOS管的控制信号为B[n]和经过反相器的采用控制信号B[n]的所有电流支路和第一个电流直流相连后输出Ioutn,采用经过反相器的的所有电流支路相连后输出Ioutp,即: The current DAC has (N+1) current branches in total, wherein the currents from the second current branch to the (N+1)th current branch are increased by binary weighting, which are respectively I 0 , 2×I 0 , ..., 2 n ×I 0 , ..., 2 (N-1) ×I 0 , the current of the first current branch is I 0 ; there are two current output ports of the current DAC, which are respectively connected to the corresponding variable gain amplifier The two ports of the differential input end of the current DAC, the current signals output by the two current output ports of the current DAC are respectively I outn and I outp ; the second current branch to the (N+1)th current branch are provided with a Each switch is composed of two NMOS transistors connected in parallel. For the (n+1)th current branch, the control signal of the two NMOS transistors is B[n] and the All the current branches using the control signal B[n] are directly connected to the first current and then output I outn , using the All current branches of are connected to output I outp , namely:
Ioutn=2NI0-(B[0]I0+2B[1]I0+…+2(N-1)B[N-1]I0) I outn =2 N I 0 -(B[0]I 0 +2B[1]I 0 +…+2 (N-1) B[N-1]I 0 )
其中,B[0:N-1]记为电流DAC的控制字;电流DAC流入可变增益放大器的校准电流为Ioutn-Ioutp,校准电流的变化范围为(-2NI0,2NI0),变化的精度为I0。 Among them, B[0:N-1] is recorded as the control word of the current DAC; the calibration current that the current DAC flows into the variable gain amplifier is I outn -I outp , and the variation range of the calibration current is (-2 N I 0 ,2 N I 0 ), the precision of the change is I 0 .
所述改进的逐位比较算法为:根据模数转换器的当前检测的直流失调电压值和上一状态的直流失调电压值来逐位调整电流DAC的控制字:当当前检测的直流失调电压不在模数转换器的检测范围内时,从电流DAC的高位到低位逐位比较调整,首先调整第一级的可变增益放大器,调整完成后调整第二级的可变增益放大器,调整完成后调整第三级的可变增益放大器;当当前检测的直流失调电压在模数转换器的检测范围内时,通过当前检测的直流失调电压值和当前可变增益放大电路的增益值进行换算,直接调节电流DAC的控制字,实现直流失调电压的快速调整。 The improved bit-by-bit comparison algorithm is: adjust the control word of the current DAC bit by bit according to the currently detected DC offset voltage value of the analog-to-digital converter and the DC offset voltage value of the previous state: when the currently detected DC offset voltage is not in the When the analog-to-digital converter is within the detection range, compare and adjust bit by bit from the high bit to the low bit of the current DAC. First, adjust the variable gain amplifier of the first stage. After the adjustment is completed, adjust the variable gain amplifier of the second stage. After the adjustment is completed, adjust The third-stage variable gain amplifier; when the currently detected DC offset voltage is within the detection range of the analog-to-digital converter, it is directly adjusted by converting the currently detected DC offset voltage value and the gain value of the current variable gain amplifier circuit The control word of the current DAC realizes the fast adjustment of the DC offset voltage.
其中,上一状态的直流失调电压值即电流DAC控制字改变的前一状态的直流失调 电压值;从电流DAC的高位到低位逐位比较调整的基本过程是:电流DAC的初始控制字为B[N-1:0]=<100…0>,即最高位为1,其余的(N-1)位均为低位,此时各级可变增益放大器的校准电流为0;根据当前检测的直流失调电压值和上一状态的直流失调电压值:若当前的直流失调电压值和上一状态的直流失调电压值均在模数转换器的检测范围内,直流失调电压消除校准停止,电流DAC的控制字保持不变,此时可变增益放大电路可以进入正常的放大模式;若当前的直流失调电压值低于模数转换器的检测范围,上一状态的直流失调电压值高于模数转换器的检测范围,电流DAC的当前控制位变为高;若当前的直流失调电压值高于模数转换器的检测范围,上一状态的直流失调电压值低于模数转换器的检测范围,电流DAC的当前控制位变为低;若当前的直流失调电压值低于模数转换器的检测范围,上一状态的直流失调电压值低于模数转换器的检测范围,电流DAC的当前控制位变为高,上一控制位变为高;若当前的直流失调电压值高于模数转换器的检测范围,上一状态的直流失调电压值高于模数转换器的检测范围,电流DAC的当前控制位变为低,上一控制位变为低;通过上述方式比较当前状态和上一状态,采用逐步改变一位或改变两位控制位的方式,能够有效解决直流失调电压校准过程中发生的错位和冗余问题,使得直流失调电压得到准确的校准。 Among them, the DC offset voltage value of the previous state is the DC offset voltage value of the previous state after the current DAC control word is changed; the basic process of comparing and adjusting bit by bit from the high bit to the low bit of the current DAC is: the initial control word of the current DAC is B [N-1:0]=<100...0>, that is, the highest bit is 1, and the remaining (N-1) bits are all low bits. At this time, the calibration current of variable gain amplifiers at all levels is 0; according to the currently detected DC offset voltage value and the DC offset voltage value of the previous state: If the current DC offset voltage value and the DC offset voltage value of the previous state are both within the detection range of the analog-to-digital converter, the DC offset voltage elimination calibration stops, and the current DAC At this time, the variable gain amplifier circuit can enter the normal amplification mode; if the current DC offset voltage value is lower than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is higher than the modulus The detection range of the converter, the current control bit of the current DAC becomes high; if the current DC offset voltage value is higher than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is lower than the detection range of the analog-to-digital converter , the current control bit of the current DAC becomes low; if the current DC offset voltage value is lower than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is lower than the detection range of the analog-to-digital converter, and the current value of the current DAC The control bit becomes high, and the last control bit becomes high; if the current DC offset voltage value is higher than the detection range of the analog-to-digital converter, the DC offset voltage value of the previous state is higher than the detection range of the analog-to-digital converter, and the current The current control bit of the DAC becomes low, and the previous control bit becomes low; by comparing the current state with the previous state in the above way, the method of gradually changing one or two control bits can effectively solve the DC offset voltage calibration process. The misalignment and redundancy problems that occur in the circuit allow the DC offset voltage to be accurately calibrated.
如图3为采用本发明方法的可变增益放大电路在不同增益模式下的直流失调电压消除的过程波形,电路根据直流失调电压的值逐步校准,从图中通过逐步校准最终可以使得可变增益放大电路的直流失调在能接受的范围内,仿真的结果差分两端的直流失调信号最终能校准到小于15mV。当增益模式发生切换的时候,直流失调进行重新调整。由于直流失调是根据模数转换器的采样值进行调节,因此直流失调的校准速度与模数转换器的采样率有关,这里采样率为16MHz。从仿真结果可以看出直流失调的校准时间可以控制在10us之内。 Figure 3 is the process waveform of the DC offset voltage elimination of the variable gain amplifier circuit using the method of the present invention in different gain modes, the circuit is gradually calibrated according to the value of the DC offset voltage, and the variable gain can be finally made by gradually calibrating from the figure The DC offset of the amplifying circuit is within an acceptable range, and the simulation results show that the DC offset signal at both ends of the differential can be calibrated to be less than 15mV in the end. When the gain mode is switched, the DC offset is readjusted. Since the DC offset is adjusted according to the sampling value of the analog-to-digital converter, the calibration speed of the DC offset is related to the sampling rate of the analog-to-digital converter, where the sampling rate is 16MHz. It can be seen from the simulation results that the calibration time of the DC offset can be controlled within 10us.
本发明的采用电流DAC消除可变增益放大器直流失调的技术,改进了传统数字辅助直流失调消除技术易错误较不准的缺点,具有响应快速、准确的特点。采用二进制加权的电流DAC,具有校准范围大,精度高的特点。 The technology of the present invention adopting the current DAC to eliminate the direct current offset of the variable gain amplifier improves the disadvantages of the traditional digital auxiliary direct current offset elimination technology, which is prone to errors and is inaccurate, and has the characteristics of fast and accurate response. Using binary weighted current DAC, it has the characteristics of large calibration range and high precision.
以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also possible. It should be regarded as the protection scope of the present invention.
Claims (3)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510093261.7A CN104734645B (en) | 2015-03-02 | 2015-03-02 | A kind of method that variable-gain amplification circuit DC maladjustment is eliminated using current DAC |
PCT/CN2016/072560 WO2016138806A1 (en) | 2015-03-02 | 2016-01-28 | Method for using current dac to eliminate dc offset in variable-gain amplifier circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510093261.7A CN104734645B (en) | 2015-03-02 | 2015-03-02 | A kind of method that variable-gain amplification circuit DC maladjustment is eliminated using current DAC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104734645A true CN104734645A (en) | 2015-06-24 |
CN104734645B CN104734645B (en) | 2017-11-17 |
Family
ID=53458169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510093261.7A Active CN104734645B (en) | 2015-03-02 | 2015-03-02 | A kind of method that variable-gain amplification circuit DC maladjustment is eliminated using current DAC |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104734645B (en) |
WO (1) | WO2016138806A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016138806A1 (en) * | 2015-03-02 | 2016-09-09 | 东南大学 | Method for using current dac to eliminate dc offset in variable-gain amplifier circuit |
CN106026956A (en) * | 2016-05-06 | 2016-10-12 | 北京中电华大电子设计有限责任公司 | Direct current offset calibration method and circuit for high gain amplification circuit |
CN106559043A (en) * | 2016-11-09 | 2017-04-05 | 东南大学 | The system and method for the DC maladjustment of limiting amplifier in a kind of calibration RSSI circuits using gradually comparison algorithm |
CN106856405A (en) * | 2015-12-08 | 2017-06-16 | 清华大学 | A kind of switching current device and the digital analog converter based on the device |
CN110518929A (en) * | 2019-07-19 | 2019-11-29 | 广州润芯信息技术有限公司 | RF receiving circuit DC maladjustment calibration method, electronic equipment, medium and device |
CN111030623A (en) * | 2019-12-25 | 2020-04-17 | 武汉邮电科学研究院有限公司 | Adjustable gain amplifier for calibrating direct current offset |
CN114675072A (en) * | 2022-03-23 | 2022-06-28 | 上海艾为电子技术股份有限公司 | Calibration quantity determining method and current sampling circuit of chip |
WO2023280142A1 (en) * | 2021-07-06 | 2023-01-12 | 华为技术有限公司 | Dc offset current cancellation circuit and method, related device, and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030148749A1 (en) * | 2002-02-04 | 2003-08-07 | Fujitsu Limited | DC offset cancel circuit |
CN1764062A (en) * | 2004-10-19 | 2006-04-26 | 联发科技股份有限公司 | DC offset correction device |
CN101494443A (en) * | 2008-01-23 | 2009-07-29 | 财团法人工业技术研究院 | DC offset correction circuit and method |
CN103607209A (en) * | 2013-11-11 | 2014-02-26 | 清华大学 | DC imbalance calibration system and DC imbalance calibration method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7477100B2 (en) * | 2004-04-27 | 2009-01-13 | Broadcom Corporation | Method and system for single ended to differential ended demodulation |
CN102270971A (en) * | 2011-04-15 | 2011-12-07 | 上海迦美信芯通讯技术有限公司 | Low-power-consumption and high-integration-level automatic gain control amplifier |
CN202455317U (en) * | 2011-12-20 | 2012-09-26 | 西安航天民芯科技有限公司 | Low temperature drift maladjustment self-correcting operational amplifier circuit |
CN103036517A (en) * | 2012-12-19 | 2013-04-10 | 天津大学 | Data bit (dB) linear variable gain amplifier |
CN104734645B (en) * | 2015-03-02 | 2017-11-17 | 东南大学 | A kind of method that variable-gain amplification circuit DC maladjustment is eliminated using current DAC |
-
2015
- 2015-03-02 CN CN201510093261.7A patent/CN104734645B/en active Active
-
2016
- 2016-01-28 WO PCT/CN2016/072560 patent/WO2016138806A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030148749A1 (en) * | 2002-02-04 | 2003-08-07 | Fujitsu Limited | DC offset cancel circuit |
CN1764062A (en) * | 2004-10-19 | 2006-04-26 | 联发科技股份有限公司 | DC offset correction device |
CN101494443A (en) * | 2008-01-23 | 2009-07-29 | 财团法人工业技术研究院 | DC offset correction circuit and method |
CN103607209A (en) * | 2013-11-11 | 2014-02-26 | 清华大学 | DC imbalance calibration system and DC imbalance calibration method |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016138806A1 (en) * | 2015-03-02 | 2016-09-09 | 东南大学 | Method for using current dac to eliminate dc offset in variable-gain amplifier circuit |
CN106856405B (en) * | 2015-12-08 | 2019-10-18 | 清华大学 | A switch current device and a digital-to-analog converter based on the device |
CN106856405A (en) * | 2015-12-08 | 2017-06-16 | 清华大学 | A kind of switching current device and the digital analog converter based on the device |
CN106026956B (en) * | 2016-05-06 | 2018-10-02 | 深圳华大北斗科技有限公司 | A kind of DC maladjustment calibration method and circuit for plus and blowup circuit |
CN106026956A (en) * | 2016-05-06 | 2016-10-12 | 北京中电华大电子设计有限责任公司 | Direct current offset calibration method and circuit for high gain amplification circuit |
CN106559043A (en) * | 2016-11-09 | 2017-04-05 | 东南大学 | The system and method for the DC maladjustment of limiting amplifier in a kind of calibration RSSI circuits using gradually comparison algorithm |
CN106559043B (en) * | 2016-11-09 | 2019-10-18 | 东南大学 | A system and method for calibrating DC offset of limiting amplifier in RSSI circuit using successive comparison algorithm |
CN110518929A (en) * | 2019-07-19 | 2019-11-29 | 广州润芯信息技术有限公司 | RF receiving circuit DC maladjustment calibration method, electronic equipment, medium and device |
CN110518929B (en) * | 2019-07-19 | 2021-06-04 | 广州润芯信息技术有限公司 | Radio frequency receiving circuit direct current offset calibration method, electronic equipment, medium and device |
CN111030623A (en) * | 2019-12-25 | 2020-04-17 | 武汉邮电科学研究院有限公司 | Adjustable gain amplifier for calibrating direct current offset |
WO2023280142A1 (en) * | 2021-07-06 | 2023-01-12 | 华为技术有限公司 | Dc offset current cancellation circuit and method, related device, and system |
CN114675072A (en) * | 2022-03-23 | 2022-06-28 | 上海艾为电子技术股份有限公司 | Calibration quantity determining method and current sampling circuit of chip |
CN114675072B (en) * | 2022-03-23 | 2025-02-28 | 上海艾为电子技术股份有限公司 | A calibration quantity determination method and a current sampling circuit of a chip |
Also Published As
Publication number | Publication date |
---|---|
WO2016138806A1 (en) | 2016-09-09 |
CN104734645B (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104734645B (en) | A kind of method that variable-gain amplification circuit DC maladjustment is eliminated using current DAC | |
JP6871934B2 (en) | Auto gain control circuit interleaved with linear gain sign | |
JP4927664B2 (en) | Preamplifier circuit | |
CN109388173B (en) | Current Compensation Circuit | |
JP2013531938A (en) | Differential comparison circuit with wide common mode input range | |
KR20160005431A (en) | Buffer amplifier and trans impedance amplifier including buffer amplifier | |
CN102497216A (en) | Configurable received signal strength indicating circuit | |
CN104393845B (en) | A kind of current-mode variable gain amplifier | |
CN103929139A (en) | Transimpedance Preamplifier for Optical Receiver with High Accuracy Automatic Gain Control | |
TWI459716B (en) | Amplifier | |
CN102780663A (en) | Continuous time balance circuit applied to high-speed serial interface | |
CN102857183A (en) | Ultrawide band high-precision variable gain amplifier | |
CN110650105A (en) | Adaptive continuous time linear equalization broadband active linear equalizer circuit | |
CN106921384B (en) | Sensor readout circuit | |
CN109450485B (en) | Analog baseband amplitude and phase calibration and local oscillator leakage suppression circuit | |
CN107769737A (en) | A kind of operational amplifier calibration method and circuit | |
CN106647909A (en) | Output adjustable driver circuit | |
JP2012028859A (en) | Variable gain differential amplifier circuit | |
CN101488778B (en) | Line Driver with Automatic Output Impedance Adjustment | |
CN113595533B (en) | A DC offset automatic calibration circuit for high-speed and high-bandwidth comparators | |
CN105897183B (en) | Circuit and amplifier with deterministic noise cancellation | |
US20060028268A1 (en) | Method and apparatus for calibrating center frequency of power amplifier | |
CN210380781U (en) | Automatic gain control system applied to radio frequency signal receiver | |
CN106506005A (en) | Background Calibration Circuit and Method for Eliminating Breakpoints in Transmission Curve of Pipeline Analog-to-Digital Converter | |
JP2008227712A (en) | Variable gain amplifier circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |