CN107070450A - Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting - Google Patents

Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting Download PDF

Info

Publication number
CN107070450A
CN107070450A CN201611083839.1A CN201611083839A CN107070450A CN 107070450 A CN107070450 A CN 107070450A CN 201611083839 A CN201611083839 A CN 201611083839A CN 107070450 A CN107070450 A CN 107070450A
Authority
CN
China
Prior art keywords
circuit
bit
delay
calibration
code
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.)
Withdrawn
Application number
CN201611083839.1A
Other languages
Chinese (zh)
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.)
Huangshan University
Original Assignee
Huangshan University
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 Huangshan University filed Critical Huangshan University
Priority to CN201611083839.1A priority Critical patent/CN107070450A/en
Publication of CN107070450A publication Critical patent/CN107070450A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/002Provisions or arrangements for saving power, e.g. by allowing a sleep mode, using lower supply voltage for downstream stages, using multiple clock domains or by selectively turning on stages when needed
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/10Calibration or testing
    • H03M1/1009Calibration
    • H03M1/1014Calibration at one point of the transfer characteristic, i.e. by adjusting a single reference value, e.g. bias or gain error
    • H03M1/1023Offset correction
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters
    • H03M1/70Automatic control for modifying converter range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

Circuit is calibrated the invention provides a kind of multichannel DAC phase errors based on charge-domain signal transacting, it is characterized in that including:Current sense resistor Rd, reference clock generation circuit, phase discriminator, loop filter, charge-domain voltage amplifier circuit, K charge-domain analog-digital converters, control circuit and 1~delay circuit of delay circuit M.The error calibration circuit includes calibration mode and compensation model, and calibration mode is introduced into when circuit works, compensation model is entered afterwards.The charge-domain Small Current Signal amplifying circuit can be widely applied in the detection and amplification system of all kinds of electric signals.

Description

基于电荷域信号处理的多通道DAC相位误差校准电路Multi-channel DAC Phase Error Calibration Circuit Based on Charge Domain Signal Processing

技术领域technical field

本发明涉及一种误差校准电路,具体来说是一种采用电荷域信号处理技术的对多通道DAC之间的相位误差进行自校准的电路。The invention relates to an error calibration circuit, in particular to a circuit for self-calibration of phase errors between multi-channel DACs using charge domain signal processing technology.

背景技术Background technique

数模转换器(DAC)是将输入数字信号转换成输出模拟信号的电子电路。由输入到DAC 的数字信号表示的数值相当于由DAC 输出的模拟信号的幅度。各种因素决定了DAC 的性能,包括速度、分辨率以及噪音。A digital-to-analog converter (DAC) is an electronic circuit that converts an input digital signal into an output analog signal. The value represented by the digital signal input to the DAC is equivalent to the amplitude of the analog signal output by the DAC. Various factors determine the performance of a DAC, including speed, resolution, and noise.

电流舵数模转换器是目前最为流行的高速高精度数模转换器结构,其一般包括译码电路、锁存器阵列和电流元阵列。其中,译码电路通常将输入的二进制数字信号转化为温度计编码的数字信号,并输入给锁存器阵列,锁存器利用时钟信号对译码电路输出的数字信号做同步处理,并将同步后的数字信号传输给电流元,电流元根据输入的数字信号决定其自身电流的流向,至此,数模转换器完成了从输入数字信号到输出模拟信号的转换。The current steering digital-analog converter is the most popular high-speed and high-precision digital-analog converter structure, which generally includes a decoding circuit, a latch array and a current element array. Among them, the decoding circuit usually converts the input binary digital signal into a thermometer-encoded digital signal, and inputs it to the latch array, and the latch uses the clock signal to synchronize the digital signal output by the decoding circuit, and the synchronized The digital signal is transmitted to the current element, and the current element determines the flow direction of its own current according to the input digital signal. So far, the digital-to-analog converter has completed the conversion from the input digital signal to the output analog signal.

然而由于锁存器阵列和电流元阵列中存在不匹配,不同电流元单元的输出存在延时差,而此延时差大大降低了数模转换器的动态性能,因此需要一定的校正方法加以去除。特别是多通道DAC在同一颗芯片集成时,不同通道DAC之间的延时和相位不同步会非常明显,这种相位不同步对于雷达和多通道无线通信等系统性能有着很大影响。因此设计可对多通道DAC之间相位误差进行自校准的电路很有现实意义。However, due to the mismatch between the latch array and the current element array, there is a delay difference in the output of different current element units, and this delay difference greatly reduces the dynamic performance of the digital-to-analog converter, so a certain correction method is required to remove it. . Especially when multi-channel DACs are integrated on the same chip, the delay and phase asynchrony between different channel DACs will be very obvious. This phase asynchronization has a great impact on the performance of systems such as radar and multi-channel wireless communication. Therefore, it is very meaningful to design a circuit that can self-calibrate the phase error between multi-channel DACs.

发明内容Contents of the invention

本发明的目的是克服现有技术中存在的不足,提供一种对多通道DAC之间的相位误差进行自校准的电路。The purpose of the present invention is to overcome the deficiencies in the prior art and provide a circuit for self-calibrating the phase error between multi-channel DACs.

本发明的目的可以通过以下技术方案实现:The purpose of the present invention can be achieved through the following technical solutions:

一种基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是包括:电流检测电阻Rd,参考时钟产生电路、鉴相器、环路滤波器、电荷域电压放大电路、K位电荷域模数转换器、控制电路以及一组延迟电路;A multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that it includes: a current detection resistor Rd, a reference clock generation circuit, a phase detector, a loop filter, a charge domain voltage amplification circuit, and a K-bit charge domain An analog-to-digital converter, a control circuit, and a set of delay circuits;

上述电路的连接关系为:电流检测电阻Rd连接M通道待校准N位数模转换器的差分电流输出端,并分别连接到鉴相器的第一和第二输入端;参考时钟产生电路的控制输入端连接到控制电路的K位选择码输出端口,参考时钟产生电路的基准时钟输出端连接到鉴相器的第三输入端;鉴相器的相位误差信号输出端Vp连接到环路滤波器的输入端;环路滤波器的输出电压Vi被输入到电荷域电压放大电路的模拟信号输入端;电荷域电压放大电路的差分信号输出端连接到K位电荷域模数转换器的差分电压输入端;K位电荷域模数转换器的K位量化码输出到控制电路的误差输入端口;控制电路的N位校准码和K位延迟码输出端分别连接到所有延迟电路的第一和第二输入端口,控制电路的校准控制信号时钟X链接到延迟电路X的第三输入端口,控制电路的校准控制信号Ctrl输出端口同时连接到鉴相器、环路滤波器、电荷域电压放大电路和K位电荷域模数转换器的校准控制信号Ctrl输入端口;N位输入码X连接到延迟电路X的第四输入端口,延迟电路X的输出端口连接到N位数模转换器X的译码电路;The connection relationship of the above-mentioned circuit is: the current detection resistor Rd is connected to the differential current output terminal of the N-digit analog converter to be calibrated in the M channel, and is respectively connected to the first and second input terminals of the phase detector; the control of the reference clock generation circuit The input terminal is connected to the K bit selection code output port of the control circuit, the reference clock output terminal of the reference clock generation circuit is connected to the third input terminal of the phase detector; the phase error signal output terminal Vp of the phase detector is connected to the loop filter The input terminal of the loop filter; the output voltage Vi of the loop filter is input to the analog signal input terminal of the charge domain voltage amplifying circuit; the differential signal output terminal of the charge domain voltage amplifying circuit is connected to the differential voltage input of the K-bit charge domain analog-to-digital converter terminal; the K-bit quantization code of the K-bit charge domain analog-to-digital converter is output to the error input port of the control circuit; the N-bit calibration code and K-bit delay code output terminals of the control circuit are respectively connected to the first and second of all delay circuits Input port, the calibration control signal clock X of the control circuit is linked to the third input port of the delay circuit X, and the calibration control signal Ctrl output port of the control circuit is connected to the phase detector, loop filter, charge domain voltage amplification circuit and K at the same time The calibration control signal Ctrl input port of the bit charge domain analog-to-digital converter; the N-bit input code X is connected to the fourth input port of the delay circuit X, and the output port of the delay circuit X is connected to the decoding circuit of the N-bit digital-to-analog converter X ;

其中,N和M为任意正整数,K为不大于N的正整数,X为不大于M的正整数。Wherein, N and M are any positive integers, K is a positive integer not greater than N, and X is a positive integer not greater than M.

所述基于电荷域信号处理的多通数模转换器相位误差校准电路,其特征是包括校准模式和补偿模式;并且在电路工作时先进入校准模式,后进入补偿模式;The multi-pass digital-to-analog converter phase error calibration circuit based on charge domain signal processing is characterized in that it includes a calibration mode and a compensation mode; and when the circuit is working, it first enters the calibration mode and then enters the compensation mode;

在进入校准模式时,所有N位输入码和K位延迟码无效,N位校准码输入到所有延迟电路,所述基于电荷域信号处理的多通道DAC相位误差校准电路依次对M通道的N位数模转换器进行相位误差校准;在进入补偿模式时,N位输入码X输入到延迟电路X,N位校准码无效,K位延迟码有效,所述基于电荷域信号处理的多通道DAC相位误差校准电路同时对M通道的N位数模转换器进行相位补偿。When entering the calibration mode, all N-bit input codes and K-bit delay codes are invalid, and N-bit calibration codes are input to all delay circuits, and the multi-channel DAC phase error calibration circuit based on charge domain signal processing sequentially performs N-bit M channel The digital-to-analog converter performs phase error calibration; when entering the compensation mode, the N-bit input code X is input to the delay circuit X, the N-bit calibration code is invalid, and the K-bit delay code is valid. The multi-channel DAC phase based on charge domain signal processing The error calibration circuit performs phase compensation to the N-bit digital-to-analog converter of the M channel at the same time.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是当进入校准模式时,电路的工作顺序如下:The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that when entering the calibration mode, the working order of the circuit is as follows:

控制电路首先控制鉴相器、环路滤波器、电荷域电压放大电路和K位电荷域模数转换器进入校准模式,同时输出K位选择码给参考时钟产生电路也进入校准模式;另外,输出校准控制信号时钟1信号到延迟电路1控制延迟电路1进入校准模式,开始进行N位数模转换器电路1的相位误差校准;The control circuit first controls the phase detector, the loop filter, the charge domain voltage amplifier circuit and the K-bit charge domain analog-to-digital converter to enter the calibration mode, and at the same time outputs the K-bit selection code to the reference clock generation circuit to enter the calibration mode; in addition, the output Calibrate the control signal clock 1 signal to the delay circuit 1 to control the delay circuit 1 to enter the calibration mode, and start the phase error calibration of the N-digit digital-to-analog converter circuit 1;

控制电路然后产生第一组N位校准码和第一组K位选择码;第一组N位校准码进入延迟电路并得到N位转换码,N位转换码进入待校准的N位数模转换器电路1;参考时钟产生电路得到与N位校准码对应的第一个基准时钟;鉴相器电路的第一和第二输入端会得到一个输入差分电压,并通过比较输入差分电压和第一基准时钟得到相位误差信号Vp;Vp信号经过环路滤波器进行过滤并被电荷域电压放大电路放大得到误差电压;K位电荷域模数转换器将误差电压进行模数转换,可以得到第一组K位量化码并输出到控制电路;控制电路将接收得到第一组K位量化码存储在其内部的K位寄存器组中,完成一种校准码条件下的相位误差量化;The control circuit then generates the first group of N-bit calibration codes and the first group of K-bit selection codes; the first group of N-bit calibration codes enters the delay circuit and obtains N-bit conversion codes, and the N-bit conversion codes enter the N-bit digital-to-analog conversion to be calibrated The reference clock generation circuit obtains the first reference clock corresponding to the N-bit calibration code; the first and second input terminals of the phase detector circuit will obtain an input differential voltage, and compare the input differential voltage with the first The reference clock obtains the phase error signal Vp; the Vp signal is filtered by the loop filter and amplified by the charge domain voltage amplifier circuit to obtain the error voltage; the K-bit charge domain analog-to-digital converter performs analog-to-digital conversion on the error voltage to obtain the first group The K-bit quantization code is output to the control circuit; the control circuit stores the received first group of K-bit quantization codes in its internal K-bit register set, and completes phase error quantization under a calibration code condition;

依次循环,当控制器产生第L组N位校准码和第L组K位选择码,并得到第L组K位量化码,并存储在其内部的K位寄存器组中后,控制电路内部的运算电路将会对存储在K位寄存器组中的L组K位量化码进行计算得到第一组K位延迟码;控制电路此时会将第一组K位补偿码输出到延迟电路1中,并保持第一组K位补偿码不变,完成N位数模转换器电路1的相位误差校准;Cycle in turn, when the controller generates the L group of N-bit calibration codes and the L-th group of K-bit selection codes, and obtains the L-th group of K-bit quantization codes, and stores them in its internal K-bit register group, the control circuit internal The operation circuit will calculate the L groups of K-bit quantization codes stored in the K-bit register group to obtain the first group of K-bit delay codes; the control circuit will output the first group of K-bit compensation codes to the delay circuit 1 at this time, And keep the first group of K-bit compensation codes unchanged, and complete the phase error calibration of the N-bit digital-to-analog converter circuit 1;

紧接着,控制电路输出校准控制信号时钟2信号控制延迟电路2进入校准模式,开始进行N位数模转换器电路2的相位误差校准;所述基于电荷域信号处理的多通道DAC相位误差校准电路采用和N位数模转换器电路1相同的校准过程得到第二组K位延迟码;控制电路同样将第二组K位补偿码输出到延迟电路2中,并保持第二组K位补偿码不变,完成N位数模转换器电路2的相位误差校准;Immediately afterwards, the control circuit outputs the calibration control signal clock 2 signal to control the delay circuit 2 to enter the calibration mode, and begins to perform phase error calibration of the N-bit digital-to-analog converter circuit 2; the multi-channel DAC phase error calibration circuit based on charge domain signal processing The second group of K-bit delay codes is obtained by the same calibration process as that of the N-digit digital-to-analog converter circuit 1; the control circuit also outputs the second group of K-bit compensation codes to the delay circuit 2, and maintains the second group of K-bit compensation codes unchanged, the phase error calibration of the N-digit digital-to-analog converter circuit 2 is completed;

依照同样的校准方式,控制电路将第Y组K位补偿码输出到延迟电路Y中,并保持第Y组K位补偿码不变;当控制电路将第M组K位补偿码输出到延迟电路M中,并保持第M组K位补偿码不变,所述基于电荷域信号处理的多通道DAC相位误差校准电路的校准模式结束;According to the same calibration method, the control circuit outputs the Y-th group of K-bit compensation codes to the delay circuit Y, and keeps the Y-th group of K-bit compensation codes unchanged; when the control circuit outputs the M-th group of K-bit compensation codes to the delay circuit In M, and keep the M group of K-bit compensation codes unchanged, the calibration mode of the multi-channel DAC phase error calibration circuit based on charge domain signal processing ends;

其中,L为不大于2K的正整数,Y为大于1且小于M的正整数。Wherein, L is a positive integer not greater than 2 K , and Y is a positive integer greater than 1 and less than M.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是当进入补偿模式时,电路的工作顺序如下:控制电路将所有延迟电路同时设置成补偿模式,开始对M通道的N位数模转换器的相位误差进行补偿;最后,控制电路关断N位校准码,关闭鉴相器、环路滤波器、电荷域电压放大电路、K位电荷域模数转换器和参考时钟产生电路。The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that when entering the compensation mode, the working sequence of the circuit is as follows: the control circuit sets all the delay circuits to the compensation mode at the same time, and starts to adjust the N bit of the M channel The phase error of the digital-to-analog converter is compensated; finally, the control circuit turns off the N-bit calibration code, turns off the phase detector, the loop filter, the charge domain voltage amplifier circuit, the K-bit charge domain analog-to-digital converter and the reference clock generation circuit .

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是:当电路进入校准模式时,控制电路同时产生的每一组输出到补偿电路的N位校准码和输出到参考时钟产生电路的K位选择码必须一一对应,即:第J组N位校准码必须和第J组K位选择码必须配合使用;The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that: when the circuit enters the calibration mode, each group of N-bit calibration codes output to the compensation circuit and output to the reference clock generated by the control circuit simultaneously The K-bit selection codes of the circuit must be in one-to-one correspondence, that is, the J-th group of N-bit calibration codes must be used in conjunction with the J-th group of K-bit selection codes;

其中,J为不大于L的正整数。Wherein, J is a positive integer not greater than L.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是所述的K位电荷域模数转换器包括: P级基于电荷域信号处理技术的流水线子级电路,其用于对采样得到的电荷包进行各种处理完成模数转换和余量放大,并将每一个子级电路的输出数字码输入到延时同步寄存器,且每一个子级电路输出的电荷包进入下一级重复上述过程;最后一级(第P+1级)A-bit Flash 模数转换器电路,其将第N级传输过来的电荷包重新转换成电压信号,并进行最后一级的模数转换工作,并将本级电路的输出数字码输入到延时同步寄存器,该级电路只完成模数转换,不进行余量放大;延时同步寄存器,其用于对每个子流水级输出的数字码进行延时对准,并将对齐的数字码输入到数字校正模块;数字校正电路模块,其用于接收同步寄存器的输出数字码,将接收的数字码进行移位相加,以得到模数转换器的R位数字输出码;The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that the K-bit charge domain analog-to-digital converter includes: P-level pipeline sub-level circuits based on charge domain signal processing technology, which are used for The sampled charge packets are processed to complete analog-to-digital conversion and margin amplification, and the output digital codes of each sub-level circuit are input to the delay synchronization register, and the charge packets output by each sub-level circuit enter the next level Repeat the above process; the last stage (P+1 stage) A-bit Flash analog-to-digital converter circuit, which reconverts the charge packet transmitted from the Nth stage into a voltage signal, and performs the final stage of analog-to-digital conversion , and input the output digital code of this stage circuit to the delay synchronization register, this stage circuit only completes the analog-to-digital conversion, and does not perform margin amplification; the delay synchronization register is used to perform digital code output by each sub-pipeline stage delay alignment, and input the aligned digital code to the digital correction module; the digital correction circuit module is used to receive the output digital code of the synchronous register, and shift and add the received digital code to obtain an analog-to-digital converter The R-bit digital output code;

其中,P和A均为不大于K任意正整数。Wherein, P and A are any positive integers not greater than K.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是所述参考时钟产生电路包括:一个可编程频率调整电路和一个可编程占空比调整电路;所述可编程频率调整电路和所述可编程占空比调整电路均受K位选择码控制;在K位选择码的控制下,频率和占空比固定的输入时钟先后经过所述可编程频率调整电路和所述可编程占空比调整电路之后,即可得到不同频率和占空比的基准时钟。The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that the reference clock generation circuit includes: a programmable frequency adjustment circuit and a programmable duty ratio adjustment circuit; the programmable frequency adjustment circuit and the programmable duty ratio adjustment circuit are all controlled by the K-bit selection code; under the control of the K-bit selection code, the input clock with a fixed frequency and duty ratio passes through the programmable frequency adjustment circuit and the programmable clock successively. After the duty ratio adjustment circuit, the reference clocks with different frequencies and duty ratios can be obtained.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是所述延迟电路内部包括:一组延时缓冲单元和一组K位延迟寄存器;The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that the delay circuit includes: a set of delay buffer units and a set of K-bit delay registers;

所有K位延迟寄存器的延迟码输入端全部连接到K位延迟码,控制信号输入端全部连接到时钟X;延时缓冲单元X的延迟码输入端连接到K位延迟寄存器X的延迟码输出端,延时缓冲单元X的数据输出端连接到第X位转换码并输出,延时缓冲单元X的第一控制信号输入端连接到Ctrln,延时缓冲单元X的第二控制信号输入端连接到时钟X;The delay code input terminals of all K-bit delay registers are all connected to the K-bit delay code, and the control signal input terminals are all connected to the clock X; the delay code input terminals of the delay buffer unit X are connected to the delay code output terminals of the K-bit delay register X , the data output end of the delay buffer unit X is connected to the X-bit conversion code and output, the first control signal input end of the delay buffer unit X is connected to Ctrln, and the second control signal input end of the delay buffer unit X is connected to clock x;

其中,时钟X和Ctrln为反向时钟。Among them, clock X and Ctrln are reverse clocks.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是所述延迟电路可工作于校准和补偿模式两种模式;在校准模式下时,时钟X信号有效,第Z位输入码无效,输入码对于N位转换码的输出无任何影响,第Z位校准码经延时缓冲电路Z后得到第Z位转换码并输出,K位延迟码被输入到K位延迟寄存器Z中并被锁存保持不变;在补偿模式下时,Ctrln信号有效,第Z位输入码有效,并经延时缓冲电路后得到第Z位转换码并输出,第Z位校准码无效,K位延迟寄存器Z中所存储的K位延迟码被输入到延时缓冲电路Z中进行延时补偿;其中,Z为不大于N的任意正整数。The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that the delay circuit can work in two modes of calibration and compensation mode; in the calibration mode, the clock X signal is valid, and the Z-bit input code Invalid, the input code has no effect on the output of the N-bit conversion code, the Z-bit calibration code is passed through the delay buffer circuit Z to obtain the Z-bit conversion code and output, the K-bit delay code is input into the K-bit delay register Z and It is latched and remains unchanged; in the compensation mode, the Ctrln signal is valid, the Z-bit input code is valid, and the Z-bit conversion code is obtained and output after the delay buffer circuit, the Z-bit calibration code is invalid, and the K-bit delay The K-bit delay code stored in the register Z is input to the delay buffer circuit Z for delay compensation; wherein, Z is any positive integer not greater than N.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,其特征是所述控制电路包括:核心控制电路、校准码产生电路、选择码产生电路、运算电路、K位寄存器组、一组延迟码输出寄存器和通道选择电路;所述控制电路的连接关系为:The multi-channel DAC phase error calibration circuit based on charge domain signal processing is characterized in that the control circuit includes: a core control circuit, a calibration code generation circuit, a selection code generation circuit, an arithmetic circuit, a K-bit register group, a set of delay A code output register and a channel selection circuit; the connection relationship of the control circuit is:

核心控制电路的第一输出端连接到校准码产生电路的输入端,核心控制电路的第二输出端连接到通道选择电路的控制输入端,核心控制电路的第三输出端连接到运算电路的控制输入端,核心控制电路的第四输出端连接到选择码产生电路的控制输入端,核心控制电路的第五输出端连接到K位寄存器组的控制输入端,核心控制电路的第W输出端产生校准控制信号时钟X,核心控制电路的输入端连接到校准启动控制信号;The first output end of the core control circuit is connected to the input end of the calibration code generation circuit, the second output end of the core control circuit is connected to the control input end of the channel selection circuit, and the third output end of the core control circuit is connected to the control circuit of the arithmetic circuit. Input, the fourth output of the core control circuit is connected to the control input of the selection code generation circuit, the fifth output of the core control circuit is connected to the control input of the K-bit register group, and the W output of the core control circuit generates Calibration control signal clock X, the input end of the core control circuit is connected to the calibration start control signal;

校准码产生电路根据核心控制电路的控制指令产生N位校准码;运算电路的数据输入端接收K位寄存器组输出端发送的数据,并根据核心控制电路的控制指令产生K位误差码;所有延迟码输出寄存器的数据输入端全部连接到运算电路的K位误差码输出端,延迟码输出寄存器X的控制信号输入端连接校准控制信号时钟X,延迟码输出寄存器X的输出端连接到通道选择电路的第X数据输入端;通道选择电路根据核心控制电路的控制指令输出K位延迟码到所述延迟电路X;选择码产生电路根据核心控制电路的控制指令产生K位选择码;K位寄存器组的数据输入端接收所述K位电荷域模数转换器的输出端发送的K位量化码,并根据核心控制电路的控制指令将存储在其内部寄存器内的数据发送给运算电路;The calibration code generation circuit generates N-bit calibration codes according to the control instructions of the core control circuit; the data input terminal of the arithmetic circuit receives the data sent by the output terminal of the K-bit register group, and generates a K-bit error code according to the control instructions of the core control circuit; all delays The data input terminals of the code output register are all connected to the K-bit error code output terminal of the arithmetic circuit, the control signal input terminal of the delay code output register X is connected to the calibration control signal clock X, and the output terminal of the delay code output register X is connected to the channel selection circuit The X data input terminal of the X; the channel selection circuit outputs the K-bit delay code to the delay circuit X according to the control instruction of the core control circuit; the selection code generation circuit generates the K-bit selection code according to the control instruction of the core control circuit; the K-bit register group The data input end receives the K-bit quantization code sent by the output end of the K-bit charge domain analog-to-digital converter, and sends the data stored in its internal register to the arithmetic circuit according to the control instruction of the core control circuit;

其中,W为大于5且小于M+5的任意正整数。Wherein, W is any positive integer greater than 5 and less than M+5.

本发明的优点是:所提出的高精度相位误差校准电路可根据系统精度和硬件开销自动折衷选择校准精度,并且具有低功耗特点。The invention has the advantages that the proposed high-precision phase error calibration circuit can automatically trade off the calibration precision according to system precision and hardware overhead, and has the characteristics of low power consumption.

附图说明Description of drawings

图 1为本发明基于电荷域信号处理的多通道DAC相位误差校准电路框图。Fig. 1 is a block diagram of a multi-channel DAC phase error calibration circuit based on charge domain signal processing in the present invention.

图 2 为本发明鉴相器电路原理示意图。Fig. 2 is a schematic diagram of the circuit principle of the phase detector of the present invention.

图 3 为本发明电荷域电压放大电路原理图。Fig. 3 is a schematic diagram of the charge domain voltage amplification circuit of the present invention.

图 4 为本发明电荷域电压放大电路工作波形图。Fig. 4 is a working waveform diagram of the charge domain voltage amplifying circuit of the present invention.

图 5 为本发明电荷域模数转换器电路框图。Fig. 5 is a circuit block diagram of the charge domain analog-to-digital converter of the present invention.

图 6 为本发明电荷域流水线子级电路框图。Fig. 6 is a circuit block diagram of the charge domain pipeline sub-stage of the present invention.

图 7 为本发明参考时钟产生电路结构框图。Fig. 7 is a structural block diagram of the reference clock generation circuit of the present invention.

图 8 为本发明延时电路结构框图。Fig. 8 is a structural block diagram of the delay circuit of the present invention.

图 9 为本发明控制电路框图。Fig. 9 is a block diagram of the control circuit of the present invention.

具体实施方式detailed description

下面将结合附图对本发明优选实施方案进行详细说明。The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

图 1所示为本发明基于电荷域信号处理的多通道DAC相位误差校准电路框图。所述基于电荷域信号处理的多通道DAC相位误差校准电路包括:电流检测电阻Rd,参考时钟产生电路、鉴相器、环路滤波器、电荷域电压放大电路、K位电荷域模数转换器、控制电路以及一组延迟电路。Fig. 1 is a block diagram of a multi-channel DAC phase error calibration circuit based on charge domain signal processing in the present invention. The multi-channel DAC phase error calibration circuit based on charge domain signal processing includes: current detection resistor Rd, reference clock generation circuit, phase detector, loop filter, charge domain voltage amplification circuit, K-bit charge domain analog-to-digital converter , a control circuit and a set of delay circuits.

上述电路的连接关系为:电流检测电阻Rd的两端连接M通道待校准N位数模转换器的差分电流输出端,并分别连接到鉴相器的第一和第二输入端;参考时钟产生电路的控制输入端连接到控制电路的K位选择码输出端口,参考时钟产生电路的基准时钟输出端连接到鉴相器的第三输入端;鉴相器的相位误差信号输出端Vp连接到环路滤波器的输入端;环路滤波器的输出电压Vi被输入到电荷域电压放大电路的模拟信号输入端;电荷域电压放大电路的差分信号输出端连接到K位电荷域模数转换器的差分电压输入端;K位电荷域模数转换器的K位量化码输出到控制电路的误差输入端口;控制电路的N位校准码和K位延迟码输出端分别连接到延迟电路1~延迟电路M的第一和第二输入端口,控制电路的校准控制信号时钟1~时钟M信号端口分别链接到延迟电路1~延迟电路M的第三输入端口,控制电路的校准控制信号Ctrl输出端口同时连接到鉴相器、环路滤波器、电荷域电压放大电路和K位电荷域模数转换器的校准控制信号Ctrl输入端口;N位输入码1~N位输入码M分别连接到延迟电路1~延迟电路M的第四输入端口,延迟电路1~延迟电路M的输出端口分别连接到N位数模转换器1~N位数模转换器M的译码电路。The connection relationship of the above circuit is as follows: the two ends of the current detection resistor Rd are connected to the differential current output terminals of the N-digit digital-to-analog converter to be calibrated in the M channel, and are respectively connected to the first and second input terminals of the phase detector; the reference clock is generated The control input terminal of the circuit is connected to the K bit selection code output port of the control circuit, the reference clock output terminal of the reference clock generation circuit is connected to the third input terminal of the phase detector; the phase error signal output terminal Vp of the phase detector is connected to the loop The input terminal of the loop filter; the output voltage Vi of the loop filter is input to the analog signal input terminal of the charge domain voltage amplifying circuit; the differential signal output terminal of the charge domain voltage amplifying circuit is connected to the K-bit charge domain analog-to-digital converter The differential voltage input terminal; the K-bit quantization code of the K-bit charge domain analog-to-digital converter is output to the error input port of the control circuit; the N-bit calibration code and K-bit delay code output terminals of the control circuit are respectively connected to the delay circuit 1 ~ delay circuit The first and second input ports of M, the calibration control signal clock 1 ~ clock M signal ports of the control circuit are respectively connected to the third input port of the delay circuit 1 ~ delay circuit M, and the calibration control signal Ctrl output port of the control circuit is connected simultaneously The calibration control signal Ctrl input port to the phase detector, loop filter, charge domain voltage amplifying circuit and K-bit charge domain analog-to-digital converter; N-bit input codes 1 to N-bit input codes M are respectively connected to delay circuits 1 to The fourth input port of the delay circuit M, and the output ports of the delay circuit 1 to the delay circuit M are respectively connected to the decoding circuits of the N-bit digital-to-analog converters 1 to N-bit digital-to-analog converters M.

所述基于电荷域信号处理的多通道DAC相位误差校准电路,包括校准模式和补偿模式两种工作模式。在电路工作时先进入校准模式,后进入补偿模式;在进入校准模式时,N位输入码和K位延迟码无效,N位校准码输入到延迟电路1~延迟电路M,所述基于电荷域信号处理的多通道DAC相位误差校准电路依次对N位数模转换器1~N位数模转换器M进行相位误差校准;在进入补偿模式时,N位输入码1~N位输入码M分别输入到延迟电路1~延迟电路M,N位校准码无效, K位延迟码有效,所述基于电荷域信号处理的多通道DAC相位误差校准电路同时对N位数模转换器1~N位数模转换器M进行相位补偿。The multi-channel DAC phase error calibration circuit based on charge domain signal processing includes two working modes: calibration mode and compensation mode. When the circuit is working, enter the calibration mode first, and then enter the compensation mode; when entering the calibration mode, the N-bit input code and the K-bit delay code are invalid, and the N-bit calibration code is input to the delay circuit 1 ~ delay circuit M. The multi-channel DAC phase error calibration circuit for signal processing performs phase error calibration on the N-bit digital-to-analog converter 1 to the N-bit digital-to-analog converter M in turn; when entering the compensation mode, the N-bit input code 1 to the N-bit input code M are respectively Input to delay circuit 1~delay circuit M, N-bit calibration code is invalid, K-bit delay code is valid, and the multi-channel DAC phase error calibration circuit based on charge domain signal processing simultaneously performs N-digit digital-to-analog converter 1-N digital The analog-to-analog converter M performs phase compensation.

上述电路的工作原理为:当校准模式开启时,控制电路通过Ctrl信号首先控制鉴相器、环路滤波器、电荷域电压放大电路和K位电荷域模数转换器进入校准模式,同时输出K位选择码给参考时钟产生电路也进入校准模式;另外,输出校准控制信号时钟1信号到延迟电路1控制第1个延迟电路进入校准模式,开始进行N位数模转换器电路1的相位误差校准。The working principle of the above circuit is: when the calibration mode is turned on, the control circuit first controls the phase detector, the loop filter, the charge domain voltage amplifier circuit and the K-bit charge domain analog-to-digital converter to enter the calibration mode through the Ctrl signal, and simultaneously outputs K The bit selection code is given to the reference clock generation circuit and enters the calibration mode; in addition, the calibration control signal clock 1 is output to the delay circuit 1 to control the first delay circuit to enter the calibration mode, and the phase error calibration of the N-digit digital-to-analog converter circuit 1 is started .

控制电路然后产生第一组N位校准码cali(1)和第一组K位选择码;第一组N位校准码cali(1)进入延迟电路并得到N位转换码,N位转换码进入待校准的N位数模转换器电路1,经数模转换得到与N位校准码对应的差分输出电流;参考时钟产生电路在第一组K位选择码的控制下得到的与N位校准码对应的第一个基准时钟;由于电流检测电阻Rd分别连接数模转换器的差分电流输出端,那么鉴相器电路的第一和第二输入端会得到一个大小为Voutp-Voutn的输入差分电压;由于待校准N位数模转换器存在失调误差,鉴相器通过比较输入差分电压和第一基准时钟得到相位误差信号Vp;Vp信号经过环路滤波器进行过滤可以得到误差电压Vi;Vi被输出到电荷域电压放大电路并将被大,可以得到误差电压Vop-Von;K位电荷域模数转换器将误差电压Vop-Von进行模数转换,可以得到第一组K位量化码并输出到控制电路;控制电路将接收得到第一组K位量化码存储在其内部的K位寄存器组中,完成一种校准码条件下的相位误差量化。The control circuit then generates the first group of N-bit calibration codes cali(1) and the first group of K-bit selection codes; the first group of N-bit calibration codes cali(1) enters the delay circuit and obtains N-bit conversion codes, and the N-bit conversion codes enter The N-digit digital-to-analog converter circuit 1 to be calibrated obtains the differential output current corresponding to the N-bit calibration code through digital-to-analog conversion; the reference clock generation circuit obtains the N-bit calibration code under the control of the first K-bit selection code Corresponding to the first reference clock; since the current detection resistor Rd is respectively connected to the differential current output terminals of the digital-to-analog converter, the first and second input terminals of the phase detector circuit will obtain an input differential voltage of Voutp-Voutn ; Since there is an offset error in the N-digit digital-to-analog converter to be calibrated, the phase detector obtains the phase error signal Vp by comparing the input differential voltage with the first reference clock; the Vp signal is filtered by the loop filter to obtain the error voltage Vi; Vi is obtained by Output to the charge domain voltage amplification circuit and be amplified to obtain the error voltage Vop-Von; the K-bit charge domain analog-to-digital converter converts the error voltage Vop-Von to analog-digital conversion to obtain the first group of K-bit quantization codes and output to the control circuit; the control circuit stores the received first group of K-bit quantization codes in its internal K-bit register group, and completes the phase error quantization under the condition of a calibration code.

紧接着,控制电路会产生第二组N位校准码cali(2)和第二组K位选择码,第二组N位校准码cali(2)进入延迟电路1并得到N位转换码,N位转换码进入待校准的N位数模转换器电路,经数模转换得到与第二组N位校准码对应的差分输出电流;参考时钟产生电路在K位选择码的控制下得到的与第二组N位校准码对应的第二基准时钟;鉴相器通过比较第二组输入差分电压和第二基准时钟得到第二相位误差信号,经过环路滤波器和电荷域电压放大电路可以得到第二组误差电压Vop-Von;K位电荷域模数转换器将第二组误差电压Vop-Von进行模数转换,可以得到第二组K位量化码并输出到控制电路;控制电路将接收得到第二组K位量化码存储在其内部的K位寄存器组中,完成第二种校准码条件下的相位误差量化。Immediately afterwards, the control circuit will generate a second group of N-bit calibration code cali(2) and a second group of K-bit selection codes, and the second group of N-bit calibration code cali(2) enters the delay circuit 1 to obtain an N-bit conversion code, N The bit conversion code enters the N-bit digital-to-analog converter circuit to be calibrated, and the differential output current corresponding to the second group of N-bit calibration codes is obtained through digital-to-analog conversion; the reference clock generation circuit is obtained under the control of the K-bit selection code. The second reference clock corresponding to the two sets of N-bit calibration codes; the phase detector obtains the second phase error signal by comparing the second set of input differential voltages with the second reference clock, and the second phase error signal can be obtained through the loop filter and the charge domain voltage amplification circuit. Two sets of error voltage Vop-Von; the K-bit charge domain analog-to-digital converter converts the second set of error voltage Vop-Von to analog-digital conversion, and the second set of K-bit quantization codes can be obtained and output to the control circuit; the control circuit will receive The second group of K-bit quantization codes is stored in its internal K-bit register group to complete phase error quantization under the second calibration code condition.

然后,控制电路会产生第三组N位校准码cali(3)和第三组K位选择码,并得到第三组K位量化码,并存储在其内部的K位寄存器组中。依次循环,当控制器产生第L组N位校准码cali(L)和第L组K位选择码,并得到第L组K位量化码,并存储在其内部的K位寄存器组中后,控制电路内部的运算电路将会对存储在K位寄存器组中的L组K位量化码进行计算得到第一组K位延迟码。控制电路此时会将第一组K位补偿码输出到延迟电路1中,并保持第一组K位补偿码不变。Then, the control circuit will generate a third group of N-bit calibration codes cali(3) and a third group of K-bit selection codes, and obtain a third group of K-bit quantization codes, and store them in its internal K-bit register group. Cycle in turn, when the controller generates the L group of N-bit calibration code cali(L) and the L-th group of K-bit selection codes, and obtains the L-th group of K-bit quantization codes, and stores them in its internal K-bit register group, The arithmetic circuit inside the control circuit will calculate the L groups of K-bit quantization codes stored in the K-bit register group to obtain the first group of K-bit delay codes. At this time, the control circuit will output the first group of K-bit compensation codes to the delay circuit 1 and keep the first group of K-bit compensation codes unchanged.

紧接着,控制电路输出校准控制信号时钟2信号到延迟电路2控制第2个延迟电路进入校准模式,开始进行N位数模转换器电路2的相位误差校准;所述基于电荷域信号处理的多通道DAC相位误差校准电路采用和N位数模转换器电路1相同的校准过程得到第二组K位延迟码;控制电路同样将第二组K位补偿码输出到延迟电路2中,并保持第二组K位补偿码不变。依照同样的校准方式,当控制电路将第M组K位补偿码输出到延迟电路M中,并保持第M组K位补偿码不变,所述基于电荷域信号处理的多通道DAC相位误差校准电路的校准模式结束。Immediately afterwards, the control circuit outputs the calibration control signal clock 2 signal to the delay circuit 2 to control the second delay circuit to enter the calibration mode, and begins to perform phase error calibration of the N-digit digital-to-analog converter circuit 2; The channel DAC phase error calibration circuit adopts the same calibration process as the N-digit digital-to-analog converter circuit 1 to obtain the second group of K-bit delay codes; the control circuit also outputs the second group of K-bit compensation codes to the delay circuit 2, and keeps the first The two sets of K-bit compensation codes remain unchanged. According to the same calibration method, when the control circuit outputs the M-th group of K-bit compensation codes to the delay circuit M, and keeps the M-th group of K-bit compensation codes unchanged, the multi-channel DAC phase error calibration based on charge domain signal processing The calibration mode of the circuit ends.

控制电路将延迟电路1~延迟电路M同时设置成补偿模式,开始对N位数模转换器1~N位数模转换器M的相位误差进行补偿。最后,控制电路关断N位校准码,关闭鉴相器、环路滤波器、电荷域电压放大电路、K位电荷域模数转换器和参考时钟产生电路,所述基于电荷域信号处理的多通道DAC相位误差校准电路进入补偿模式。The control circuit simultaneously sets the delay circuit 1 to the delay circuit M to the compensation mode, and starts to compensate the phase errors of the N-digit digital-to-analog converters 1 to N-digit digital-to-analog converters M. Finally, the control circuit turns off the N-bit calibration code, turns off the phase detector, the loop filter, the charge domain voltage amplifier circuit, the K-bit charge domain analog-to-digital converter, and the reference clock generation circuit. The channel DAC phase error calibration circuit enters compensation mode.

上述说明中,N为任意正整数,K为不大于N的正整数,L为不大于2K的正整数,M为任意正整数。上述相位误差校准过程中,控制电路同时产生的每一组输出到延迟电路的N位校准码和输出到参考时钟产生电路的K位选择码必须一一对应,即:第J组N位校准码必须和第J组K位选择码必须配合使用,J为不大于L的正整数。本发明所述数模转换器的相位误差校准电路在实际使用过程中,对相位误差校准的精度、硬件开销大小和校准时间长短可以根据选择不同的K和L值进行设置,以满足不同精度和速度数模转换器的校准精度和速度要求。In the above description, N is any positive integer, K is a positive integer not greater than N, L is a positive integer not greater than 2 K , and M is any positive integer. In the above-mentioned phase error calibration process, each group of N-bit calibration codes output to the delay circuit and K-bit selection codes output to the reference clock generation circuit simultaneously generated by the control circuit must correspond one-to-one, that is, the J-th group of N-bit calibration codes It must be used in conjunction with the K-bit selection code of the J-th group, and J is a positive integer not greater than L. During the actual use of the phase error calibration circuit of the digital-to-analog converter of the present invention, the accuracy of phase error calibration, the size of hardware overhead and the length of calibration time can be set according to the selection of different K and L values to meet different accuracy and Calibration accuracy and speed requirements for speed DACs.

图2所示为本发明所述鉴相器电路的一种实现方式。该电路由信号整形模块和一个减法器子模块构成。信号整形模块将输入差分信号Voutp和Voutn进行整形得到输入相位,参考时钟输出的基准时钟作为参考相位,减法器子模块将输入相位和参考相位进行相减,得到相位误差信号Vp。FIG. 2 shows an implementation of the phase detector circuit of the present invention. The circuit consists of a signal shaping block and a subtractor sub-block. The signal shaping module shapes the input differential signals Voutp and Voutn to obtain the input phase, the reference clock output by the reference clock is used as the reference phase, and the subtractor sub-module subtracts the input phase from the reference phase to obtain the phase error signal Vp.

图3所示为本发明所述电荷域电压放大电路原理图。电荷域电压放大电路包括:第一正端电荷存储节点Nip、第一负端电荷存储节点Nin、第二正端电荷存储节点Nop和第二负端电荷存储节点Non、一个连接在第一和第二正端电荷存储节点Nip和Nop之间的正端电荷传输控制开关301、一个连接在第一和第二负端电荷存储节点Nin和Non之间的负端电荷传输控制开关302、连接到第一正端电荷存储节点Nip的正端电容303、连接到第二正端电荷存储节点Nop的正端容值可编程电容309、连接到第一负端电荷存储节点Nin的负端电容304、连接到第二负端电荷存储节点Non的负端容值可编程电容310、连接到第一正端电荷存储节点Nip的第一正端电压传输开关305、连接到第一正端电荷存储节点Nip的第二正端电压传输开关307、连接到第二正端电荷存储节点Nop的第三正端电压传输开关313和连接到第二正端电荷存储节点Nop的第四正端电压传输开关311、连接到第一负端电荷存储节点Nin的第一负端电压传输开关306、连接到第一负端电荷存储节点Nin的第二负端电压传输开关308、连接到第二负端电荷存储节点Non的第三负端电压传输开关314和连接到第二负端电荷存储节点Non的第四负端电压传输开关312。对于本发明实施例,电荷域电压放大电路的两个模拟电压输入端中任意一端连接Vi,另外一端接基准信号即可实现。FIG. 3 is a schematic diagram of the charge domain voltage amplification circuit of the present invention. The charge domain voltage amplifying circuit includes: a first positive terminal charge storage node Nip, a first negative terminal charge storage node Nin, a second positive terminal charge storage node Nop, and a second negative terminal charge storage node Non, one connected between the first and the second A positive-end charge transfer control switch 301 between two positive-end charge storage nodes Nip and Nop, a negative-end charge transfer control switch 302 connected between the first and second negative-end charge storage nodes Nin and Non, connected to the first A positive terminal capacitor 303 connected to the positive terminal charge storage node Nip, a positive terminal capacitance programmable capacitor 309 connected to the second positive terminal charge storage node Nop, a negative terminal capacitor 304 connected to the first negative terminal charge storage node Nin, connected to The negative terminal capacity programmable capacitor 310 connected to the second negative terminal charge storage node Non, the first positive terminal voltage transmission switch 305 connected to the first positive terminal charge storage node Nip, the first positive terminal charge storage node Nip connected to The second positive terminal voltage transmission switch 307, the third positive terminal voltage transmission switch 313 connected to the second positive terminal charge storage node Nop, and the fourth positive terminal voltage transmission switch 311 connected to the second positive terminal charge storage node Nop, connected The first negative terminal voltage transmission switch 306 to the first negative terminal charge storage node Nin, the second negative terminal voltage transmission switch 308 connected to the first negative terminal charge storage node Nin, the second negative terminal voltage transmission switch 308 connected to the second negative terminal charge storage node Non The third negative terminal voltage transmission switch 314 and the fourth negative terminal voltage transmission switch 312 connected to the second negative terminal charge storage node Non. For the embodiment of the present invention, any one of the two analog voltage input terminals of the charge domain voltage amplifying circuit is connected to Vi, and the other terminal is connected to a reference signal.

图4所示为图3所示电路的工作时序控制波形示意图。控制时钟Clk和Clkn为相位相反时钟,开关控制信号Clkr、Clks和Clkt为相位不交叠时钟。FIG. 4 is a schematic diagram of a working sequence control waveform of the circuit shown in FIG. 3 . The control clocks Clk and Clkn are clocks with opposite phases, and the switch control signals Clkr, Clks and Clkt are clocks with non-overlapping phases.

在t0时刻以前,所有电荷存储节点上存储着各自独立的电荷,所有电压传输开关和电荷传输控制开关均处于关闭状态,电路处于未启动。Before time t0, all charge storage nodes store independent charges, all voltage transfer switches and charge transfer control switches are in the off state, and the circuit is not started.

当t0时刻到来时,Clkr的状态发生变化,Clkr由低电平向高电平切换,第一正端电压传输开关307、第三正端电压传输开关311、第一负端电压传输开关308和第三负端电压传输开关312导通;第一正端电荷存储节点Nip被第一正端电压传输开关复位到基准电压1Vr1;第二正端电荷存储节点Nop被第三正端电压传输开关复位到基准电压2 Vr2;第一负端电荷存储节点Nin被第一负端电压传输开关复位到基准电压1 Vr1;第二负端电荷存储节点Non被第三负端电压传输开关复位到基准电压2 Vr2。When time t0 arrives, the state of Clkr changes, Clkr switches from low level to high level, the first positive terminal voltage transmission switch 307, the third positive terminal voltage transmission switch 311, the first negative terminal voltage transmission switch 308 and The third negative terminal voltage transmission switch 312 is turned on; the first positive terminal charge storage node Nip is reset to the reference voltage 1Vr1 by the first positive terminal voltage transmission switch; the second positive terminal charge storage node Nop is reset by the third positive terminal voltage transmission switch to the reference voltage 2 Vr2; the first negative-end charge storage node Nin is reset to the reference voltage 1 Vr1 by the first negative-end voltage transfer switch; the second negative-end charge storage node Non is reset to the reference voltage 2 by the third negative-end voltage transfer switch Vr2.

当t1时刻到来时,Clkr和Clks的状态发生变化,Clkr变为低电平,Clks由低电平向高电平切换;第一正端电压传输开关307、第三正端电压传输开关311、第一负端电压传输开关308和第三负端电压传输开关312关断,第二正端和负端电压传输开关导通;第一正端电荷存储节点Nip被第二正端电压传输开关连接到输入电压Vip;第一负端电荷存储节点Nin被第二负端电压传输开关连接到输入电压Vin;第二正端和第二负端电荷存储节点No保持Vr2不变。When time t1 arrives, the states of Clkr and Clks change, Clkr becomes low level, and Clks switches from low level to high level; the first positive terminal voltage transmission switch 307, the third positive terminal voltage transmission switch 311, The first negative terminal voltage transmission switch 308 and the third negative terminal voltage transmission switch 312 are turned off, the second positive terminal and the negative terminal voltage transmission switch are turned on; the first positive terminal charge storage node Nip is connected by the second positive terminal voltage transmission switch to the input voltage Vip; the first negative terminal charge storage node Nin is connected to the input voltage Vin by the second negative terminal voltage transmission switch; the second positive terminal and the second negative terminal charge storage node No keep Vr2 unchanged.

当t2时刻到来时,控制时钟Clks、Clk和Clkn的状态发生变化,Clks变为低电平,Clkn由低电平向高电平切换,Clk由高电平向低电平切换,此时由于各电荷存储节点上连接的电容上所存储电荷不会发生突变,所有电荷存储节点上的电压就会发生阶跃变化,第一正端和第一负端电荷存储节点上的电压被拉低,而第二正端和第二负端电荷存储节点上的电压被拉高,由于此时电荷存储节点上的电荷不存在泄放通路,第一正端和第二正端电荷存储节点上的电压将保持不变并且存在一个明显的电压差,第一负端和第二负端电荷存储节点上的电压将保持不变并且也存在一个明显的电压差。When time t2 arrives, the states of the control clocks Clks, Clk and Clkn change, Clks becomes low level, Clkn switches from low level to high level, and Clk switches from high level to low level. The charges stored in the capacitors connected to each charge storage node will not change abruptly, the voltages on all charge storage nodes will undergo a step change, and the voltages on the first positive terminal and the first negative terminal charge storage node will be pulled down, And the voltage on the charge storage node of the second positive terminal and the second negative terminal is pulled up, because there is no discharge path for the charge on the charge storage node at this time, the voltage on the charge storage node of the first positive terminal and the second positive terminal will remain constant and have a significant voltage difference, and the voltages on the first negative and second negative charge storage nodes will remain constant and also have a significant voltage difference.

当t3时刻到来时,电荷传输控制开关的开关控制信号Clkt变为高电平,电荷传输控制开关301导通,第一正端和第二正端电荷存储节点间便存在一个电荷泄放通路,第一负端和第二负端电荷存储节点间便存在一个电荷泄放通路,由于此时电荷存储节点上的电压存在一个明显的电压差,即VNip小于VNop,VNin小于VNon,该电压差的存在会导致存储节点之间产生感生电场,导致电荷存储节点上存储的电荷在感生电场的作用下发生转移,假设电荷以电子的形式运动,则会引起第一正端和第一负端电荷存储节点的电压升高,第二正端和第二负端电荷存储节的电压降低,随着电荷的不断转移两电荷存储节点之间的电压差不断减小,引起电荷存储节点之间的感生电场逐渐减小,电荷转移速度不断降低,电压变化速率也随之降低,若两个电荷传输控制开关一直导通,则该电荷传输转移过程将会一直持续,直到电荷存储节点Nip和Nop以及Nin和Non之间的电压相等,感生电场为0。When time t3 arrives, the switch control signal Clkt of the charge transfer control switch becomes high level, the charge transfer control switch 301 is turned on, and there is a charge discharge path between the first positive terminal and the second positive terminal charge storage node, There is a charge discharge path between the first negative terminal and the second negative terminal charge storage node, because there is an obvious voltage difference between the voltage on the charge storage node at this time, that is, V Nip is smaller than V Nop , V Nin is smaller than V Non , The existence of the voltage difference will cause an induced electric field between the storage nodes, causing the charge stored on the charge storage node to transfer under the action of the induced electric field. Assuming that the charge moves in the form of electrons, it will cause the first positive terminal and The voltage of the first negative terminal charge storage node increases, the voltage of the second positive terminal and the second negative terminal charge storage node decreases, and as the charge continues to transfer, the voltage difference between the two charge storage nodes continues to decrease, causing charge storage The induced electric field between the nodes gradually decreases, the charge transfer speed decreases, and the voltage change rate also decreases. If the two charge transfer control switches are always turned on, the charge transfer process will continue until the charge storage The voltages between nodes Nip and Nop and Nin and Non are equal, and the induced electric field is zero.

随着t4时刻的到来,Clkt变为低电平,电荷传输控制开关关断,电荷存储节点之间存在电荷泄放通路被断开,电荷存储节点之间的电荷转移工作结束。由于不存在泄放通路,电荷存储节点上的电压将保持不变。电荷由第一正端和第一负端电荷存储节点向第二正端和第二负端电荷存储节点的传输工作完成。With the arrival of time t4, Clkt becomes low level, the charge transfer control switch is turned off, the charge discharge path between the charge storage nodes is disconnected, and the charge transfer between the charge storage nodes ends. Since there is no bleeder path, the voltage on the charge storage node will remain constant. The charge is transferred from the first positive terminal and the first negative terminal charge storage node to the second positive terminal and the second negative terminal charge storage node.

上述过程中,若电荷传输过程中没有损失,假设正端电容和正端容值可编程电容的电容值分别为C303和C309,根据电荷守恒定理,t 1t 4之间电荷有效传输,计算C 303上传出的电荷Q SIn the above process, if there is no loss in the charge transfer process, assuming that the capacitance values of the positive terminal capacitor and the positive terminal capacitance programmable capacitor are C 303 and C 309 respectively, according to the charge conservation principle, the charge is effectively transferred between t 1 and t 4 , Calculate the outgoing charge Q S on C 303 .

(1) (1)

经整理后,可得:After finishing, we can get:

(2) (2)

其中,V LV PV S均为固定电压,V L为t3时刻前Nip点的电压,V P为t3时刻前Nop点的电压;V S为t4时刻Nip点的电压。在电路完成设计之后,忽略基准电压变化带来的扰动,Q T为一个常数。对公式(2)进行差分处理后,由于电路结构为差分结构,正端电容和负端电容的容值大小相等,正端和负端容值可编程电容的电容值也相等,Q T将被消去,得到下式:in, , V L , VP and V S are all fixed voltages, V L is the voltage at point Nip before t3, VP is the voltage at Nop before t3; V S is the voltage at Nip at t4. After the circuit is designed, the disturbance caused by the change of the reference voltage is ignored, and Q T is a constant. After performing differential processing on formula (2), since the circuit structure is a differential structure, the capacitance values of the positive terminal capacitor and the negative terminal capacitor are equal, and the capacitance values of the positive terminal and negative terminal capacitance programmable capacitors are also equal, Q T will be Eliminate to get the following formula:

(3) (3)

(4) (4)

电压传输完成之后,输出电压与输入电压的关系为放大系数为-C303/C309的线性关系。After the voltage transmission is completed, the relationship between the output voltage and the input voltage is a linear relationship with an amplification factor of -C 303 /C 309 .

本发明中所述的电荷传输控制开关可以采用发明号为201010291245.6的发明专利中所述的实施方式来实现,所述的电压传输开关可以采用通用MOS管或者BJT开关实现。The charge transmission control switch described in the present invention can be realized by the implementation method described in the invention patent with the invention number 201010291245.6, and the voltage transmission switch can be realized by a general MOS transistor or a BJT switch.

如图5所示,本发明设计的K位电荷域模数转换器包括:P级基于电荷域信号处理技术的流水线子级电路、最后一级(第P+1级)A-bit Flash 模数转换器电路、延时同步寄存器和数字校正电路模块。另外工作模式控制模块也是模数转换器工作所必须的辅助工作模块,该模块未在图中标识出来。图5中电荷域模数转换器电路中相邻两级子级电路的工作受两组多相时钟的控制,工作状态完全互补,并且子级电路的级数和每级电路的位数k均可灵活调整。例如对于K=14的14位模数转换器,可以采用12级1.5bit/级+1级2bit Flash共13级的结构,也可以采用4级2.5bit/级+3级1.5bit/级+1级3bit Flash共8级的结构。As shown in Figure 5, the K-bit charge domain analog-to-digital converter designed in the present invention includes: P-level pipeline sub-level circuits based on charge domain signal processing technology, the last level (P+1 level) A-bit Flash modulus Converter circuit, delay synchronous register and digital correction circuit module. In addition, the working mode control module is also an auxiliary working module necessary for the operation of the analog-to-digital converter, which is not marked in the figure. In the charge domain analog-to-digital converter circuit in Figure 5, the work of two adjacent sub-level circuits is controlled by two sets of multi-phase clocks, the working states are completely complementary, and the number of sub-level circuits and the number of bits k of each level circuit are the same Can be adjusted flexibly. For example, for a 14-bit analog-to-digital converter with K=14, a structure of 12 levels of 1.5bit/level + 1 level of 2bit Flash with a total of 13 levels can be used, or 4 levels of 2.5bit/level + 3 levels of 1.5bit/level + 1 level of 3bit Flash can be used A total of 8 levels of structure.

本发明设计的电荷域模数转换器包括以下内容:P级基于电荷域信号处理技术的电荷域流水线子级电路,其用于对采样得到的电荷包进行各种处理完成模数转换和余量放大,并将每一个子级电路的输出数字码输入到延时同步寄存器,且每一个子级电路输出的电荷包进入下一级重复上述过程;最后一级(第P+1级)A-bit Flash 模数转换器电路,其将第P级传输过来的电荷包重新转换成电压信号,并进行最后一级的模数转换工作,并将本级电路的输出数字码输入到延时同步寄存器,该级电路只完成模数转换,不进行余量放大;延时同步寄存器,其用于对每个子流水级输出的数字码进行延时对准,并将对齐的数字码输入到数字校正模块;数字校正电路模块,其用于接收同步寄存器的输出数字码,将接收的数字码进行移位相加,以得到模数转换器的R位数字输出码。The charge domain analog-to-digital converter designed by the present invention includes the following contents: P-level charge domain pipeline sub-level circuit based on charge domain signal processing technology, which is used to perform various processes on the sampled charge packets to complete analog-to-digital conversion and margin Amplify, and input the output digital code of each sub-level circuit to the delay synchronization register, and the charge packet output by each sub-level circuit enters the next level to repeat the above process; the last level (P+1 level) A- bit Flash Analog-to-digital converter circuit, which reconverts the charge packet transmitted by the P-level into a voltage signal, and performs the last-level analog-to-digital conversion work, and inputs the output digital code of the current-level circuit to the delay synchronization register , the circuit at this stage only completes the analog-to-digital conversion without margin amplification; the delay synchronization register is used to delay align the digital codes output by each sub-pipeline stage, and input the aligned digital codes to the digital correction module ; A digital correction circuit module, which is used to receive the output digital code of the synchronous register, and shift and add the received digital code to obtain the R-bit digital output code of the analog-to-digital converter.

图6所示即为电荷域流水线子级电路原理图。电路由全差分的信号处理通道构成,整个电路包括:2个本级电荷传输控制开关、2个电荷存储节点、6个连接到电荷存储节点的电荷存储电容、C个电荷比较器,C个受比较器输出结果控制的基准信号选择电路,2B+2个电压传输开关,其中B为正整数。电路正常工作时,前级差分电荷包首先通过电荷传输控制开关传输并存储在本级电荷存储节点,比较器对差分电荷包输入所引起的节点之间的电压差变化量与基准电压3和基准电压4进行比较,得到本级C位量化输出数字码D1~DB;数字输出码D1~DB将输出到延时同步寄存器,同时D1~DB还将会分别控制本级的基准信号选择电路,使它们分别产生一对互补的基准信号分别控制本级正负端电荷加减电容底板,对由前级传输到本级的差分电荷包进行相应大小的加减处理,得到本级差分余量电荷包;最后,电路完成本级差分余量电荷包由本级向下一级传输,基准电压2对本级差分电荷存储节点进行复位,完成电荷域流水线子级电路一个完整时钟周期的工作。其中,C为正整数。Figure 6 shows the schematic diagram of the sub-stage circuit of the charge domain pipeline. The circuit is composed of a fully differential signal processing channel. The whole circuit includes: 2 current-stage charge transfer control switches, 2 charge storage nodes, 6 charge storage capacitors connected to the charge storage nodes, C charge comparators, and C receivers The reference signal selection circuit controlled by the output result of the comparator, 2B+2 voltage transmission switches, where B is a positive integer. When the circuit is working normally, the front-stage differential charge packet is first transmitted through the charge transmission control switch and stored in the charge storage node of the current stage. Voltage 4 is compared to obtain the C-bit quantized output digital codes D1~DB of this stage; the digital output codes D1~DB will be output to the delay synchronization register, and at the same time D1~DB will also control the reference signal selection circuit of the stage respectively, so that They respectively generate a pair of complementary reference signals to respectively control the charge addition and subtraction capacitor bottom plate of the positive and negative terminals of the current stage, and perform corresponding addition and subtraction processing on the differential charge packets transmitted from the previous stage to the current stage to obtain the differential residual charge packets of the current stage ; Finally, the circuit completes the transmission of the differential residual charge packet of the current stage from the current stage to the next stage, the reference voltage 2 resets the differential charge storage node of the current stage, and completes the work of a complete clock cycle of the sub-stage circuit of the charge domain pipeline. Among them, C is a positive integer.

图6中可以看出本发明电荷域流水线子级电路除,其单端形式包括:一个电荷传输控制开关,电荷传输控制开关的一端接上一级电荷域流水线子级电路的电荷存储节点,另一端是本级电路的电荷存储节点,所述本级电路的电荷存储节点分别通过第一电容连接控制时钟,通过第二电容连接基准信号,同时还连接到一个或多个比较器的输入端,并通过一个电压传输开关连接到基准电压,所述基准信号由一个受比较器结果控制的基准信号选择电路产生;所述电荷域子级流水线电路除最后一级的全差分形式由两组连接方式相同的上述单端形式电荷域子级流水线电路互补连接构成,控制时钟的工作相位和单端形式相同。It can be seen from Fig. 6 that the charge domain pipeline sub-stage circuit of the present invention has a single-ended form including: a charge transfer control switch, one end of the charge transfer control switch is connected to the charge storage node of the charge domain pipeline sub-stage circuit of the upper stage, and the other One end is the charge storage node of the current-level circuit, the charge storage node of the current-level circuit is respectively connected to the control clock through the first capacitor, connected to the reference signal through the second capacitor, and also connected to the input terminals of one or more comparators, And connected to the reference voltage through a voltage transmission switch, the reference signal is generated by a reference signal selection circuit controlled by the result of the comparator; the full differential form of the charge domain sub-stage pipeline circuit except the last stage is composed of two groups of connection methods The above-mentioned single-ended form charge domain sub-stage pipeline circuit is formed by complementary connection, and the working phase of the control clock is the same as that of the single-ended form.

对于图5中本发明设计的电荷域流水线模数转换器的最后一级(第P+1级)基于电荷域信号处理技术的流水线子级电路A-bit Flash 模数转换器电路,该子级电路将只需对接收到的电荷包进行最后一级的模数转换工作,并将本级电路输出数字码输入到延时同步寄存器,而不进行余量处理。去掉图6中的基准信号选择电路和受基准信号选择电路控制的4个电容即可。上述说明中,P和A均为不大于K任意正整数。For the last stage (P+1 stage) of the charge domain pipeline analog-to-digital converter designed by the present invention in Fig. 5, the pipeline sub-stage circuit A-bit Flash analog-to-digital converter circuit based on the charge domain signal processing technology, the sub-stage The circuit only needs to perform the final analog-to-digital conversion on the received charge packet, and input the output digital code of this stage circuit to the delay synchronous register without margin processing. Just remove the reference signal selection circuit in Figure 6 and the 4 capacitors controlled by the reference signal selection circuit. In the above description, both P and A are any positive integers not greater than K.

图 7 所示为本发明所述参考时钟产生电路结构框图。所述参考时钟产生电路包括:一个可编程频率调整电路和一个可编程占空比调整电路。所述可编程频率调整电路和所述可编程占空比调整电路均受K位选择码控制。在K位选择码的控制下,频率和占空比固定的输入时钟先后经过所述可编程频率调整电路和所述可编程占空比调整电路之后,即可得到不同频率和占空比的基准时钟Clkref。Fig. 7 is a structural block diagram of the reference clock generation circuit of the present invention. The reference clock generation circuit includes: a programmable frequency adjustment circuit and a programmable duty cycle adjustment circuit. Both the programmable frequency adjustment circuit and the programmable duty cycle adjustment circuit are controlled by a K-bit selection code. Under the control of the K-bit selection code, after the input clock with fixed frequency and duty ratio passes through the programmable frequency adjustment circuit and the programmable duty ratio adjustment circuit successively, the reference clocks with different frequencies and duty ratios can be obtained Clock Clkref.

图 8 所示为本发明所述延迟电路结构框图。所述延迟电路内部包括:延时缓冲单元1~延时缓冲单元N和K位延迟寄存器1~K位延迟寄存器N。K位延迟寄存器1~K位延迟寄存器N的延迟码输入端全部连接到K位延迟码,控制信号输入端全部连接到时钟X,X为不大于M的正整数;延时缓冲单元1~延时缓冲单元N的延迟码输入端分别连接到K位延迟寄存器1~K位延迟寄存器N的延迟码输出端,延时缓冲单元1~延时缓冲单元N的数据输出端分别连接到第1位转换码~第N位转换码并输出,延时缓冲单元1~延时缓冲单元N的第一控制信号输入端全部连接到Ctrln,延时缓冲单元1~延时缓冲单元N的第二控制信号输入端全部连接到时钟X。其中,时钟X和Ctrln为反向时钟,时钟X为控制电路所输出校准控制信号时钟1~时钟M中的任意一个。Fig. 8 is a structural block diagram of the delay circuit of the present invention. The delay circuit includes: a delay buffer unit 1 to a delay buffer unit N and a K-bit delay register 1 to a K-bit delay register N. The delay code input ends of the K-bit delay register 1~K-bit delay register N are all connected to the K-bit delay code, and the control signal input terminals are all connected to the clock X, where X is a positive integer not greater than M; the delay buffer unit 1~delay The delay code input terminals of the time buffer unit N are respectively connected to the delay code output terminals of the K-bit delay register 1 to the K-bit delay register N, and the data output terminals of the delay buffer unit 1 to the delay buffer unit N are respectively connected to the first bit Conversion code to Nth bit conversion code and output, the first control signal input terminals of delay buffer unit 1 to delay buffer unit N are all connected to Ctrln, the second control signal of delay buffer unit 1 to delay buffer unit N The inputs are all connected to clock X. Wherein, clock X and Ctrln are reverse clocks, and clock X is any one of the calibration control signal clock 1 to clock M output by the control circuit.

延迟电路在时钟X信号的控制下可工作于校准和补偿模式两种模式。在校准模式下时,时钟X信号有效,第1位转换码~第N位输入码无效,输入码对于N位转换码的输出无任何影响,第1位校准码~第N位校准码分别经延时缓冲电路1~延时缓冲电路N后得到第1位转换码~第N位转换码并输出,K位延迟码被输入到K位延迟寄存器1~K位延迟寄存器N中并被锁存保持不变。在补偿模式下时,Ctrln信号有效,第1位转换码~第N位输入码有效,并经延时缓冲电路后得到第1位转换码~第N位转换码并输出,第1位校准码~第N位校准码无效,K位延迟寄存器1~K位延迟寄存器N中所存储的K位延迟码被输入到延时缓冲电路1~延时缓冲电路N中进行延时补偿The delay circuit can work in two modes of calibration and compensation under the control of the clock X signal. In the calibration mode, the clock X signal is valid, the 1st to Nth input code is invalid, and the input code has no effect on the output of the N-bit conversion code, and the 1st to Nth calibration codes are respectively passed After the delay buffer circuit 1 ~ delay buffer circuit N, the conversion code of the 1st bit to the Nth bit is obtained and output, and the K-bit delay code is input into the K-bit delay register 1 ~ K-bit delay register N and latched constant. In the compensation mode, the Ctrln signal is valid, the conversion code of the 1st digit to the input code of the Nth digit is valid, and the conversion code of the 1st digit to the Nth digit is obtained and output after the delay buffer circuit, and the calibration code of the first digit ~The Nth calibration code is invalid, and the K-bit delay code stored in the K-bit delay register 1~K-bit delay register N is input to the delay buffer circuit 1~Delay buffer circuit N for delay compensation

图 9 所示为本发明所述控制电路框图。所述控制电路包括:核心控制电路、校准码产生电路、选择码产生电路、运算电路、K位寄存器组、延迟码输出寄存器1~延迟码输出寄存器M和通道选择电路。Fig. 9 is a block diagram of the control circuit of the present invention. The control circuit includes: a core control circuit, a calibration code generation circuit, a selection code generation circuit, an operation circuit, a K-bit register group, delay code output register 1 to delay code output register M and a channel selection circuit.

所述控制电路的连接关系为:核心控制电路的第一输出端连接到校准码产生电路的输入端,核心控制电路的第二输出端连接到通道选择电路的控制输入端,核心控制电路的第三输出端连接到运算电路的控制输入端,核心控制电路的第四输出端连接到选择码产生电路的控制输入端,核心控制电路的第五输出端连接到K位寄存器组的控制输入端,核心控制电路的第六~第M+5输出端产生校准控制信号时钟1~时钟M,核心控制电路的输入端连接到校准启动控制信号;The connection relationship of the control circuit is: the first output end of the core control circuit is connected to the input end of the calibration code generation circuit, the second output end of the core control circuit is connected to the control input end of the channel selection circuit, and the first output end of the core control circuit is connected to the input end of the channel selection circuit. The three output ends are connected to the control input end of the arithmetic circuit, the fourth output end of the core control circuit is connected to the control input end of the selection code generation circuit, the fifth output end of the core control circuit is connected to the control input end of the K-bit register group, The sixth to M+5th output ends of the core control circuit generate calibration control signal clock 1 to clock M, and the input end of the core control circuit is connected to the calibration start control signal;

校准码产生电路根据核心控制电路的控制指令产生N位校准码;运算电路的数据输入端接收K位寄存器组输出端发送的数据,并根据核心控制电路的控制指令产生K位误差码;延迟码输出寄存器1~延迟码输出寄存器M的数据输入端全部连接到运算电路的K位误差码输出端,延迟码输出寄存器1~延迟码输出寄存器M的控制信号输入端分别连接校准控制信号时钟1~时钟M,延迟码输出寄存器1~延迟码输出寄存器M的输出端分别连接到通道选择电路的第1~第M数据输入端;通道选择电路根据核心控制电路的控制指令输出K位延迟码到所述延迟电路1~延迟电路M;选择码产生电路根据核心控制电路的控制指令产生K位选择码;K位寄存器组的数据输入端接收所述K位电荷域模数转换器的输出端发送的K位量化码,并根据核心控制电路的控制指令将存储在其内部寄存器内的数据发送给运算电路。The calibration code generation circuit generates N-bit calibration codes according to the control instructions of the core control circuit; the data input terminal of the arithmetic circuit receives the data sent by the output terminal of the K-bit register group, and generates a K-bit error code according to the control instructions of the core control circuit; the delay code The data input ends of output register 1 ~ delay code output register M are all connected to the K-bit error code output end of the arithmetic circuit, and the control signal input ends of delay code output register 1 ~ delay code output register M are respectively connected to the calibration control signal clock 1 ~ The clock M, the output terminals of delay code output register 1 ~ delay code output register M are respectively connected to the 1st ~ M data input terminals of the channel selection circuit; the channel selection circuit outputs K-bit delay codes to all channels according to the control instructions of the core control circuit Delay circuit 1 ~ delay circuit M; selection code generating circuit generates K-bit selection code according to the control instruction of the core control circuit; the data input terminal of the K-bit register group receives the output terminal of the K-bit charge domain analog-to-digital converter. K-bit quantization code, and send the data stored in its internal register to the operation circuit according to the control instruction of the core control circuit.

图9所示电路中所述的K位寄存器组,其内部K位寄存器的个数与本发明所述数模转换器的相位误差校准电路对单通道N位数模转换器相位误差检测次数相同,必须为L。所述校准控制信号时钟1~时钟M在校准模式下,任意时刻仅有一个信号有效。所述的运算电路对于L个K位寄存器中所存储的L个K位量化码的处理计算,可以采用量化码误差统计和求平均数的方式计算出最佳的误差补偿量,并产生K位误差码。The K-bit register group described in the circuit shown in Figure 9 has the same number of internal K-bit registers as the phase error calibration circuit of the digital-to-analog converter of the present invention to the single-channel N-bit digital-to-analog converter phase error detection times. , must be L. In the calibration mode of the calibration control signals clock 1 to clock M, only one signal is valid at any time. For the processing and calculation of the L K-bit quantized codes stored in the L K-bit registers, the operation circuit can calculate the best error compensation amount by means of quantizing code error statistics and averaging, and generate K-bit error code.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1. Multichannel DAC phase error calibration circuit based on charge domain signal processing, characterized by includes: the circuit comprises a current detection resistor Rd, a reference clock generating circuit, a phase discriminator, a loop filter, a charge domain voltage amplifying circuit, a K-bit charge domain analog-to-digital converter, a control circuit and a group of delay circuits;
the connection relationship of the circuits is as follows: two ends of the current detection resistor Rd are respectively connected to a first input end and a second input end of the phase discriminator; the control input end of the reference clock generating circuit is connected to the K bit selection code output port of the control circuit, and the reference clock output end of the reference clock generating circuit is connected to the third input end of the phase discriminator; the phase error signal output end Vp of the phase discriminator is connected to the input end of the loop filter; the output voltage Vi of the loop filter is input to the analog signal input end of the charge domain voltage amplifying circuit; the differential signal output end of the charge domain voltage amplifying circuit is connected to the differential voltage input end of the K-bit charge domain analog-to-digital converter; the K bit quantization code of the K bit charge domain analog-to-digital converter is output to an error input port of the control circuit; the output ends of an N-bit calibration code and a K-bit delay code of the control circuit are respectively connected to the first input port and the second input port of all the delay circuits, a calibration control signal clock X of the control circuit is linked to a third input port of the delay circuit X, and the output port of a calibration control signal Ctrl of the control circuit is simultaneously connected to the input ports of a phase discriminator, a loop filter, a charge domain voltage amplification circuit and a calibration control signal Ctrl of a K-bit charge domain analog-to-digital converter; the N-bit input code X is connected to a fourth input port of the delay circuit X, and an output port of the delay circuit X is connected to a decoding circuit of the N-bit digital-to-analog converter X;
wherein N and M are any positive integer, K is a positive integer not greater than N, and X is a positive integer not greater than M.
2. The phase error calibration circuit of a multi-pass digital-to-analog converter based on charge domain signal processing as claimed in claim 1, characterized by comprising a calibration mode and a compensation mode; when the circuit works, the circuit firstly enters a calibration mode and then enters a compensation mode;
when the multi-channel digital-to-analog converter enters a calibration mode, all N-bit input codes and K-bit delay codes are invalid, the N-bit calibration codes are input into all delay circuits, and the multi-channel DAC phase error calibration circuit based on charge domain signal processing sequentially performs phase error calibration on the N-bit digital-to-analog converters of M channels; when the multi-channel DAC enters a compensation mode, an N-bit input code X is input into a delay circuit X, an N-bit calibration code is invalid, a K-bit delay code is valid, and the multi-channel DAC phase error calibration circuit based on charge domain signal processing simultaneously carries out phase compensation on an N-bit digital-to-analog converter of an M channel.
3. A multi-channel DAC phase error calibration circuit based on charge domain signal processing as claimed in claim 2, characterised in that when entering the calibration mode the circuit operates in the following sequence:
the control circuit firstly controls the phase discriminator, the loop filter, the charge domain voltage amplifying circuit and the K-bit charge domain analog-to-digital converter to enter a calibration mode, and simultaneously outputs a K-bit selection code to the reference clock generating circuit and also enters the calibration mode; in addition, a clock 1 signal of a calibration control signal is output to the delay circuit 1 to control the delay circuit 1 to enter a calibration mode, and the phase error calibration of the N-bit digital-to-analog converter circuit 1 is started;
the control circuit then generates a first set of N-bit calibration codes and a first set of K-bit selection codes; the first group of N-bit calibration codes enter a delay circuit and obtain N-bit conversion codes, and the N-bit conversion codes enter an N-bit digital-to-analog converter circuit 1 to be calibrated; a reference clock generating circuit obtains a first reference clock corresponding to the N-bit calibration code; the first input end and the second input end of the phase discriminator circuit can obtain an input differential voltage, and a phase error signal Vp is obtained by comparing the input differential voltage with a first reference clock; the Vp signal is filtered by a loop filter and amplified by a charge domain voltage amplifying circuit to obtain an error voltage; the K-bit charge domain analog-to-digital converter performs analog-to-digital conversion on the error voltage to obtain a first group of K-bit quantization codes and outputs the first group of K-bit quantization codes to the control circuit; the control circuit stores the received first group of K-bit quantization codes in a K-bit register group inside the control circuit to finish phase error quantization under the condition of a calibration code;
sequentially circulating, when the controller generates an L-th group of N-bit calibration codes and an L-th group of K-bit selection codes, an L-th group of K-bit quantization codes are obtained and stored in a K-bit register group in the controller, an operation circuit in the control circuit calculates the L-th group of K-bit quantization codes stored in the K-bit register group to obtain a first group of K-bit delay codes; the control circuit outputs the first group of K-bit compensation codes to the delay circuit 1 at the moment, and keeps the first group of K-bit compensation codes unchanged to finish the phase error calibration of the N-bit digital-to-analog converter circuit 1;
next, the control circuit outputs a calibration control signal clock 2 signal to control the delay circuit 2 to enter a calibration mode, and starts to perform phase error calibration of the N-bit digital-to-analog converter circuit 2; the multichannel DAC phase error calibration circuit based on charge domain signal processing obtains a second group of K-bit delay codes by adopting the same calibration process as the N-bit digital-to-analog converter circuit 1; the control circuit outputs the second group of K-bit compensation codes to the delay circuit 2, and keeps the second group of K-bit compensation codes unchanged, so as to finish the phase error calibration of the N-bit digital-to-analog converter circuit 2;
according to the same calibration mode, the control circuit outputs the Y-th group of K-bit compensation codes to the delay circuit Y and keeps the Y-th group of K-bit compensation codes unchanged; when the control circuit outputs the Mth group of K bit compensation codes to the delay circuit M and keeps the Mth group of K bit compensation codes unchanged, the calibration mode of the multi-channel DAC phase error calibration circuit based on the charge domain signal processing is ended;
wherein L is not more than 2KY is a positive integer greater than 1 and less than M.
4. A multi-channel DAC phase error calibration circuit based on charge domain signal processing as claimed in claim 2, characterised in that when entering the compensation mode the circuit operates in the following sequence:
the control circuit sets all the delay circuits to be in a compensation mode simultaneously and starts to compensate the phase error of the N-bit digital-to-analog converter of the M channel;
and finally, the control circuit turns off the N-bit calibration code, and closes the phase discriminator, the loop filter, the charge domain voltage amplification circuit, the K-bit charge domain analog-to-digital converter and the reference clock generation circuit.
5. A multi-channel DAC phase error calibration circuit based on charge domain signal processing as claimed in claim 3, characterized by:
when the circuit enters the calibration mode, each group of the N-bit calibration codes output to the compensation circuit and the K-bit selection codes output to the reference clock generation circuit, which are simultaneously generated by the control circuit, must correspond to one another, namely: the J-th group of N-bit calibration codes and the J-th group of K-bit selection codes must be matched for use;
wherein J is a positive integer not greater than L.
6. The multi-channel DAC phase error calibration circuit based on charge domain signal processing as claimed in claim 1, wherein said K-bit charge domain analog-to-digital converter comprises: the P-stage pipeline sub-stage circuit based on the charge domain signal processing technology is used for carrying out various processing on the charge packets obtained by sampling to complete analog-to-digital conversion and margin amplification, inputting the output digital code of each sub-stage circuit into a delay synchronous register, and enabling the charge packets output by each sub-stage circuit to enter the next stage to repeat the process; the last stage (P +1 stage) A-bit Flash analog-to-digital converter circuit converts the charge packet transmitted by the Nth stage into a voltage signal again, performs analog-to-digital conversion work of the last stage, inputs the output digital code of the stage circuit into a delay synchronous register, and only completes analog-to-digital conversion without margin amplification; the delay synchronous register is used for carrying out delay alignment on the digital code output by each sub-flow water level and inputting the aligned digital code to the digital correction module; the digital correction circuit module is used for receiving the output digital code of the synchronous register and carrying out shift addition on the received digital code to obtain an R-bit digital output code of the analog-to-digital converter;
wherein, P and A are any positive integer not more than K.
7. The multi-channel DAC phase error calibration circuit based on charge domain signal processing as claimed in claim 1, wherein said reference clock generation circuit comprises: a programmable frequency adjustment circuit and a programmable duty cycle adjustment circuit; the programmable frequency adjusting circuit and the programmable duty cycle adjusting circuit are both controlled by a K-bit selection code; under the control of the K-bit selection code, the input clock with fixed frequency and duty ratio passes through the programmable frequency adjusting circuit and the programmable duty ratio adjusting circuit in sequence, and then the reference clocks with different frequencies and duty ratios can be obtained.
8. The multi-channel DAC phase error calibration circuit based on charge domain signal processing according to claim 1, wherein said delay circuit internally comprises: a group of delay buffer units and a group of K-bit delay registers;
the delay code input ends of all the K-bit delay registers are all connected to the K-bit delay codes, and the control signal input ends are all connected to the clock X;
the input end of a delay code of the delay buffer unit X is connected to the output end of a delay code of the K-bit delay register X, the data output end of the delay buffer unit X is connected to the X-th conversion code and outputs the X-th conversion code, the first control signal input end of the delay buffer unit X is connected to Ctrln, and the second control signal input end of the delay buffer unit X is connected to the clock X;
where the clocks X and ctrl n are inverted clocks.
9. The multi-channel DAC phase error calibration circuit based on charge domain signal processing according to claim 8, wherein said delay circuit is operable in both calibration and compensation modes;
in the calibration mode, a clock X signal is valid, a Z-th bit input code is invalid, the input code has no influence on the output of the N-bit conversion code, the Z-th bit calibration code obtains the Z-th bit conversion code after passing through a delay buffer circuit Z and is output, and a K-bit delay code is input into a K-bit delay register Z and is latched and kept unchanged;
in the compensation mode, the Ctrln signal is valid, the Z-th bit input code is valid, the Z-th bit conversion code is obtained and output after passing through the delay buffer circuit, the Z-th bit calibration code is invalid, and the K-bit delay code stored in the K-bit delay register Z is input into the delay buffer circuit Z for delay compensation;
wherein Z is any positive integer not greater than N.
10. The charge domain signal processing based multi-channel DAC phase error calibration circuit of claim 1, wherein the control circuit comprises: the device comprises a core control circuit, a calibration code generating circuit, a selection code generating circuit, an arithmetic circuit, a K-bit register group, a group of delay code output registers and a channel selection circuit; the connection relation of the control circuit is as follows:
a first output end of the core control circuit is connected to an input end of the calibration code generating circuit, a second output end of the core control circuit is connected to a control input end of the channel selection circuit, a third output end of the core control circuit is connected to a control input end of the arithmetic circuit, a fourth output end of the core control circuit is connected to a control input end of the selection code generating circuit, a fifth output end of the core control circuit is connected to a control input end of the K-bit register group, a Wth output end of the core control circuit generates a calibration control signal clock X, and an input end of the core control circuit is connected to a calibration starting control signal;
the calibration code generating circuit generates an N-bit calibration code according to a control instruction of the core control circuit; the data input end of the arithmetic circuit receives the data sent by the output end of the K-bit register group and generates a K-bit error code according to a control instruction of the core control circuit; the data input ends of all delay code output registers are all connected to the K-bit error code output end of the arithmetic circuit, the control signal input end of a delay code output register X is connected with a calibration control signal clock X, and the output end of the delay code output register X is connected to the Xth data input end of the channel selection circuit; the channel selection circuit outputs a K-bit delay code to the delay circuit X according to a control instruction of the core control circuit; the selection code generating circuit generates a K-bit selection code according to a control instruction of the core control circuit; the data input end of the K-bit register group receives the K-bit quantization code sent by the output end of the K-bit charge domain analog-to-digital converter, and sends the data stored in the internal register of the K-bit charge domain analog-to-digital converter to the arithmetic circuit according to the control instruction of the core control circuit;
wherein W is any positive integer greater than 5 and less than M + 5.
CN201611083839.1A 2016-11-30 2016-11-30 Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting Withdrawn CN107070450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611083839.1A CN107070450A (en) 2016-11-30 2016-11-30 Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611083839.1A CN107070450A (en) 2016-11-30 2016-11-30 Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting

Publications (1)

Publication Number Publication Date
CN107070450A true CN107070450A (en) 2017-08-18

Family

ID=59618741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611083839.1A Withdrawn CN107070450A (en) 2016-11-30 2016-11-30 Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting

Country Status (1)

Country Link
CN (1) CN107070450A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108233906A (en) * 2018-02-07 2018-06-29 中国电子科技集团公司第三十八研究所 A kind of booting certainty delayed time system and method based on ADC
CN108631783A (en) * 2018-06-08 2018-10-09 中国电子科技集团公司第五十八研究所 A kind of reference voltage mismatch calibration circuit for multichannel ADC
CN108768396A (en) * 2018-06-08 2018-11-06 中国电子科技集团公司第五十八研究所 A kind of clock phase mismatch calibration circuit for multichannel ADC
CN108768395A (en) * 2018-06-08 2018-11-06 中国电子科技集团公司第五十八研究所 A kind of gain mismatch errors for multichannel ADC calibrate circuit
CN109660254A (en) * 2018-12-05 2019-04-19 南京国博电子有限公司 A kind of resistance calibration device and method for digital analog converter
CN111812619A (en) * 2020-06-23 2020-10-23 深圳市精嘉微电子有限公司 Device and method for measuring edge arrival time of picosecond-level resolution electric signal
CN112737573A (en) * 2020-12-21 2021-04-30 南京极景微半导体有限公司 Clock skew calibration system, method and equipment based on daisy chain and computer storage medium
CN112924849A (en) * 2021-01-27 2021-06-08 胜达克半导体科技(上海)有限公司 Error compensation calculation method applied to phase adjustment circuit
CN113125940A (en) * 2021-04-16 2021-07-16 桥弘数控科技(上海)有限公司 Circuit board correction method and device and electronic equipment
CN114499147A (en) * 2022-02-24 2022-05-13 浙江赛思电子科技有限公司 Calibration circuit, calibration method, calibration device and medium of delay circuit

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108233906A (en) * 2018-02-07 2018-06-29 中国电子科技集团公司第三十八研究所 A kind of booting certainty delayed time system and method based on ADC
CN108631783B (en) * 2018-06-08 2021-07-06 中国电子科技集团公司第五十八研究所 Reference voltage mismatch calibration circuit for multichannel ADC
CN108631783A (en) * 2018-06-08 2018-10-09 中国电子科技集团公司第五十八研究所 A kind of reference voltage mismatch calibration circuit for multichannel ADC
CN108768396A (en) * 2018-06-08 2018-11-06 中国电子科技集团公司第五十八研究所 A kind of clock phase mismatch calibration circuit for multichannel ADC
CN108768395A (en) * 2018-06-08 2018-11-06 中国电子科技集团公司第五十八研究所 A kind of gain mismatch errors for multichannel ADC calibrate circuit
CN108768396B (en) * 2018-06-08 2022-05-06 中国电子科技集团公司第五十八研究所 Clock phase mismatch calibration circuit for multichannel ADC
CN108768395B (en) * 2018-06-08 2021-09-07 中国电子科技集团公司第五十八研究所 Gain mismatch error calibration circuit for multi-channel ADC
CN109660254A (en) * 2018-12-05 2019-04-19 南京国博电子有限公司 A kind of resistance calibration device and method for digital analog converter
CN111812619A (en) * 2020-06-23 2020-10-23 深圳市精嘉微电子有限公司 Device and method for measuring edge arrival time of picosecond-level resolution electric signal
CN111812619B (en) * 2020-06-23 2023-03-21 深圳市精嘉微电子有限公司 Device and method for measuring edge arrival time of picosecond-level resolution electric signal
CN112737573A (en) * 2020-12-21 2021-04-30 南京极景微半导体有限公司 Clock skew calibration system, method and equipment based on daisy chain and computer storage medium
CN112924849A (en) * 2021-01-27 2021-06-08 胜达克半导体科技(上海)有限公司 Error compensation calculation method applied to phase adjustment circuit
CN112924849B (en) * 2021-01-27 2023-02-28 胜达克半导体科技(上海)有限公司 Error compensation calculation method applied to phase adjustment circuit
CN113125940A (en) * 2021-04-16 2021-07-16 桥弘数控科技(上海)有限公司 Circuit board correction method and device and electronic equipment
CN113125940B (en) * 2021-04-16 2022-08-23 桥弘数控科技(上海)有限公司 Circuit board correction method and device and electronic equipment
CN114499147A (en) * 2022-02-24 2022-05-13 浙江赛思电子科技有限公司 Calibration circuit, calibration method, calibration device and medium of delay circuit

Similar Documents

Publication Publication Date Title
CN107070450A (en) Multichannel DAC phase errors calibration circuit based on charge-domain signal transacting
CN106788429B (en) DAC offset error calibration circuit based on charge domain signal processing
US8487803B1 (en) Pipelined analog-to-digital converter having reduced power consumption
US9660660B1 (en) Analog to digital converter with high precision offset calibrated integrating comparators
US7307572B2 (en) Programmable dual input switched-capacitor gain stage
CN104967451B (en) Gradual approaching A/D converter
CN106953637B (en) Charge domain amplitude error calibration circuit and DDS circuit adopting same
US8174423B2 (en) Pipelined analog-to-digital converter and sub-converter stage
US9059730B2 (en) Pipelined successive approximation analog-to-digital converter
US20150162926A1 (en) Successive approximation register analog-to-digital converter
US8004446B2 (en) A/D converter and A/D conversion method
CN109361390A (en) Module and method for sampling time error correction between time interleaved ADC channels
EP3570436B1 (en) Mismatch and reference common-mode offset insensitive single-ended switched capacitor gain stage with reduced capacitor mismatch sensitivity
US6859158B2 (en) Analog-digital conversion circuit
JP2012244521A (en) Comparator and ad converter
CN106933299B (en) Low-power DDS circuit with amplitude and phase error self-calibration
AU756364B2 (en) Floating-point analog-to-digital converter
CN106936433B (en) Charge domain phase error calibration circuit and DDS circuit adopting same
CN101072031A (en) Comparator, Analog-to-Digital Converter and Its Circuit Layout Method
CN101431334B (en) Time-interleaved analog-to-digital converter and its self-calibration method
TWI777464B (en) Signal converting apparatus and signal converting method
CN106506005A (en) Background Calibration Circuit and Method for Eliminating Breakpoints in Transmission Curve of Pipeline Analog-to-Digital Converter
CN115733496A (en) Input sectional type assembly line successive approximation type analog-to-digital converter
Abozeid et al. 8-bit 22nW SAR ADC using output offset cancellation technique
Mantyniemi et al. A low power 10-bit 300 kS/s RSD coded pipeline A/D-converter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170818

WW01 Invention patent application withdrawn after publication