CN207691768U - A kind of calibration circuit of the time constant of active filter - Google Patents

A kind of calibration circuit of the time constant of active filter Download PDF

Info

Publication number
CN207691768U
CN207691768U CN201820160141.3U CN201820160141U CN207691768U CN 207691768 U CN207691768 U CN 207691768U CN 201820160141 U CN201820160141 U CN 201820160141U CN 207691768 U CN207691768 U CN 207691768U
Authority
CN
China
Prior art keywords
capacitance
circuit
ref
resistance
cbank
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201820160141.3U
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.)
Shanghai Aerospace Rui Rui Electronic Technology Co Ltd
Original Assignee
Shanghai Aerospace Rui Rui Electronic Technology Co Ltd
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 Shanghai Aerospace Rui Rui Electronic Technology Co Ltd filed Critical Shanghai Aerospace Rui Rui Electronic Technology Co Ltd
Priority to CN201820160141.3U priority Critical patent/CN207691768U/en
Application granted granted Critical
Publication of CN207691768U publication Critical patent/CN207691768U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Networks Using Active Elements (AREA)

Abstract

一种有源滤波器的时间常数校准电路,包括被校准电容阵列、产生斜坡电压的积分器、比较器和数字逻辑电路。本实用新型克服了有源滤波器电路由于工艺制造参数偏差而造成的时间常数的变化的问题,能实现对有源滤波器电路时间常数校准电路的自动校准。

A time constant calibrating circuit of an active filter includes a capacitor array to be calibrated, an integrator generating a slope voltage, a comparator and a digital logic circuit. The utility model overcomes the problem of the change of the time constant of the active filter circuit due to the deviation of process manufacturing parameters, and can realize the automatic calibration of the time constant calibration circuit of the active filter circuit.

Description

一种有源滤波器的时间常数的校准电路A Calibration Circuit of Time Constant of Active Filter

技术领域technical field

本实用新型涉及有源滤波器,特别是一种有源滤波器的时间常数的校准电路。The utility model relates to an active filter, in particular to a calibration circuit for the time constant of the active filter.

背景技术Background technique

有源滤波器由于有较好的线性度、动态范围及噪声性能,实现方法简单,广泛地运用于通信系统。为满足系统对频率精度±3%内的要求,需要滤波器的时间常数满足精度的要求。在集成电路电路制造过程中,电阻值和电容值随制造工艺参数的变化而出现的偏差可高达±20%,从而导致滤波器的时间常数的漂移,因此必须对有源滤波器的时间常数进行校准。Active filters are widely used in communication systems due to their good linearity, dynamic range and noise performance, and simple implementation methods. In order to meet the system's requirement for frequency accuracy within ±3%, the time constant of the filter needs to meet the accuracy requirement. In the manufacturing process of integrated circuit circuits, the deviation of the resistance value and capacitance value with the change of the manufacturing process parameters can be as high as ±20%, which leads to the drift of the time constant of the filter. Therefore, the time constant of the active filter must be adjusted. calibration.

集成电路相同类型器件的匹配精确较高,如电阻的匹配精度可达1%或者更小,电容的匹配精度可达到0.1%或更小。可以利用这个特点来设计校准电路,在有源滤波器电路、校准电路中使用相同类型的电阻和电容,并且版图布局时选取相同物理尺寸的单位电阻和单位电容。校准电路和数字滤波器电路一般使用开关电阻或开关电容来实现校准时间常数,但由于电容的匹配精度高于电阻,所以本实用新型基于数字滤波器和开关电容实现时间常数的校准。The matching accuracy of the same type of integrated circuit devices is relatively high, for example, the matching accuracy of resistors can reach 1% or less, and the matching accuracy of capacitors can reach 0.1% or less. This feature can be used to design calibration circuits, using the same type of resistors and capacitors in active filter circuits and calibration circuits, and selecting unit resistors and unit capacitors of the same physical size during layout layout. Calibration circuits and digital filter circuits generally use switched resistors or switched capacitors to calibrate the time constant, but because the matching accuracy of capacitors is higher than that of resistors, the utility model realizes the calibration of time constants based on digital filters and switched capacitors.

滤波器时间常数校准方法很多,但普遍存在校准精度不够、校准速度偏慢的问题。There are many methods for calibrating the filter time constant, but there are generally problems of insufficient calibration accuracy and slow calibration speed.

实用新型内容Utility model content

本实用新型的目的是提供一种有源滤波器的时间常数的自动校准电路,该自动校准电路克服了有源滤波器电路由于工艺参数在制造过程发生偏差时而造成的时间常数的变化,防止有源滤波器的特征频率的漂移对系统产生的影响,具有校准精度高、校准速度快的特点。The purpose of this utility model is to provide an automatic calibration circuit of the time constant of the active filter, which overcomes the change of the time constant of the active filter circuit due to the deviation of the process parameters in the manufacturing process, and prevents the The influence of the drift of the characteristic frequency of the source filter on the system has the characteristics of high calibration accuracy and fast calibration speed.

本实用新型的技术方案如下:The technical scheme of the utility model is as follows:

一种有源滤波器的时间常数自动校准电路,包括模拟部分的被校准电容阵列电路CBANK、产生斜坡电压的积分器电路、比较器电路和数字部分的逻辑电路,其中被校准电容阵列电路CBANK由N个可选电容的并联而成,产生斜坡电压的积分器电路包括电流源产生电路、电流镜像电路和开关控制电路,比较器为CMP,数字逻辑电路产生开关控制信号S1/S1n/S2、放电控制信号RST、电容阵列充电周期T、电容阵列控制信号。A time constant automatic calibration circuit of an active filter, comprising a calibrated capacitor array circuit CBANK of an analog part, an integrator circuit generating a slope voltage, a comparator circuit and a logic circuit of a digital part, wherein the calibrated capacitor array circuit CBANK is composed of N optional capacitors are connected in parallel. The integrator circuit that generates the slope voltage includes a current source generation circuit, a current mirror circuit and a switch control circuit. The comparator is CMP, and the digital logic circuit generates a switch control signal S 1 /S 1n /S 2. Discharge control signal RST, capacitor array charging cycle T, capacitor array control signal.

被校准电容阵列CBANK包括N个电容C1~CN以及N个NMOS开关N1~NN构成,N为大于1的自然数,电容C1和N1串联,电容C2和N2串联,依次类推,电容CN和NN串联,这些电容和NMOS开关形成的串联支路再并联;所述的电容C1的设计容值Cu,电容C2的设计容值2Cu,电容C3的设计容值4Cu,依次类推,电容CN的设计容值2N-1Cu,所述电容C1~CN的公共端为被校准电容阵列CBANK的输入端,NMOS开关N1~NN的公共端为被校准电容阵列CBANK的输出端,NMOS开关N1~NN的栅极由数字逻辑电路输出的N位被校准电容阵列控制信号C[N-1:0]控制;所述被校准电容阵列CBANK与有源滤波器的电阻R构成有源滤波器时间常数。The calibrated capacitor array CBANK consists of N capacitors C 1 ~C N and N NMOS switches N 1 ~N N , where N is a natural number greater than 1, capacitors C 1 and N 1 are connected in series, capacitors C 2 and N 2 are connected in series, sequentially By analogy, capacitors C N and N N are connected in series, and the series branches formed by these capacitors and NMOS switches are then connected in parallel; the design capacitance of capacitor C 1 is C u , the design capacitance of capacitor C 2 is 2C u , and the design capacitance of capacitor C 3 is The design capacitance is 4C u , and so on, the design capacitance of the capacitor C N is 2 N-1 C u , the common terminal of the capacitor C 1 ~ CN is the input terminal of the capacitor array CBANK to be calibrated, and the NMOS switches N 1 ~N The common end of N is the output end of the capacitor array CBANK to be calibrated, and the gates of the NMOS switches N 1 to N N are controlled by the calibration capacitor array control signal C[N-1:0] of the N bits output by the digital logic circuit; The calibrated capacitor array CBANK and the resistor R of the active filter constitute the time constant of the active filter.

产生斜坡电压的积分器电路包括电流源产生电路、电流镜像电路和开关控制电路,其中电流源产生电路包括运算放大器Opamp、电阻REF、NMOS管M1,电流镜像电路包括PMOS管P0、P1,开关控制电路包括NMOS互补开关M2/M3和放电NMOS开关M4,所述的运算放大器Opamp的正相输入端接带隙电压VREF,所述的运算放大器Opamp的反相输入端接电阻REF,电阻REF另一端接地,运算放大器Opamp的输出端接NMOS管M1的栅极,NMOS管M1的源极接运算放大器Opamp的反相输入端,NMOS管M1的漏极接PMOS管P0的漏极,PMOS管P0的栅极分别与自身的漏极以及PMOS管P1的栅极连接,PMOS管P0、P1的源极接电源,PMOS管P1的漏极接互补开关M2/M3的公共端,开关M3另一端接被校准电容阵列CBANK的输入端,开关M2另一端接地;被校准电容阵列CBANK输出端接地,放电开关M4的一端接被校准电容阵列CBANK的输入端,另一端接地。The integrator circuit that generates the slope voltage includes a current source generating circuit, a current mirror circuit and a switch control circuit, wherein the current source generating circuit includes an operational amplifier Opamp, a resistor REF, and an NMOS transistor M1, and the current mirror circuit includes PMOS transistors P0 and P1, and the switch control circuit The circuit includes an NMOS complementary switch M 2 /M 3 and a discharge NMOS switch M 4 , the non-inverting input terminal of the operational amplifier Opamp is connected to the bandgap voltage V REF , the inverting input terminal of the operational amplifier Opamp is connected to a resistor REF, The other end of the resistor REF is grounded, the output terminal of the operational amplifier Opamp is connected to the gate of the NMOS transistor M1, the source of the NMOS transistor M1 is connected to the inverting input terminal of the operational amplifier Opamp, and the drain of the NMOS transistor M1 is connected to the drain of the PMOS transistor P0. The gate of the PMOS transistor P0 is connected to its own drain and the gate of the PMOS transistor P1 respectively, the sources of the PMOS transistors P0 and P1 are connected to the power supply, and the drain of the PMOS transistor P1 is connected to the common terminal of the complementary switch M2 / M3 . The other end of the switch M3 is connected to the input end of the calibrated capacitor array C BANK , the other end of the switch M2 is grounded; the output end of the calibrated capacitor array CBANK is grounded, one end of the discharge switch M4 is connected to the input end of the calibrated capacitor array CBANK, and the other end grounded.

所述的比较器的正相端接带隙电压VREF,比较器的负相端接被校准电容阵列的输入端,比较器的输出信号ERR送入数字逻辑电路。The positive terminal of the comparator is connected to the bandgap voltage V REF , the negative terminal of the comparator is connected to the input terminal of the calibrated capacitor array, and the output signal ERR of the comparator is sent to a digital logic circuit.

所述的被校准电容阵列CBANK中的可选电容C1~CN均由相同版图形状、版图布局位置紧相邻的单位电容Cu并联而成,工艺参数在制造过程发生偏差时对所述的电容C1~CN容值影响因子相等,设为βc,若Cu表示单位电容设计值,C'u表示受芯片制造工艺参数偏移影响后的实际单位电容值,则C'u=βc·Cu The optional capacitors C 1 to C N in the calibrated capacitor array CBANK are formed by parallel connection of unit capacitors C u with the same layout shape and layout positions immediately adjacent to each other. When the manufacturing process deviates, the process parameters will affect the The capacitances C 1 ~C N have the same influence factor, which is set to β c . If C u represents the design value of the unit capacitance, and C' u represents the actual unit capacitance value affected by the offset of the chip manufacturing process parameters, then C' uβc · Cu

电阻REF与有源滤波器的电阻R是相同材料类型的电阻,且均由相同版图形状、版图位置对称的单位电阻构成,工艺参数在制造过程发生偏差时对所述的电阻REF设计阻值RREF和所述的有源滤波器电阻R的设计阻值RR影响因子相等,设为βr,若RREF表示所述电阻RREF设计阻值、RR表示所述电阻R设计阻值、R'REF表示所述电阻RREF受芯片制造工艺参数偏移影响后的实际阻值、R'R表示所述电阻R受芯片制造工艺参数偏移影响后的实际阻值,则R'REF=βr·RREF、R'R=βr·RR;且RREF为m倍RR,m为大于或等于1的自然数。The resistor REF and the resistor R of the active filter are resistors of the same material type, and both are composed of unit resistors with the same layout shape and symmetrical layout position. When the process parameters deviate during the manufacturing process, the resistance value R of the resistor REF is designed REF and the design resistance R R of the active filter resistor R are equal, set as β r , if R REF represents the design resistance of the resistance RREF, R R represents the design resistance of the resistance R, and R ' REF represents the actual resistance value of the resistor RREF affected by the offset of the chip manufacturing process parameters, R' R represents the actual resistance value of the resistor R affected by the offset of the chip manufacturing process parameters, then R'REF = β r · R REF , R' R = β r · R R ; and R REF is m times R R , m is a natural number greater than or equal to 1.

本实用新型的有益效果在于:The beneficial effects of the utility model are:

本实用新型克服了有源滤波器电路由于工艺参数在制造过程发生偏差时而造成的时间常数的变化,防止有源滤波器的特征频率的漂移对系统产生的影响,具有校准精度高、校准速度快的特点。The utility model overcomes the change of the time constant of the active filter circuit due to the deviation of the process parameters in the manufacturing process, prevents the drift of the characteristic frequency of the active filter from affecting the system, and has high calibration accuracy and fast calibration speed specialty.

附图说明Description of drawings

图1是本实用新型有源滤波器时间常数校准电路。Fig. 1 is the utility model active filter time constant calibration circuit.

图2本实用新型有源滤波器电容阵列。Fig. 2 is the capacitor array of the active filter of the utility model.

图3本实用新型的数字逻辑电路框图。Fig. 3 is the digital logic circuit block diagram of the utility model.

图4本实用新型的数字滤波器电路框图。Figure 4 is a block diagram of the digital filter circuit of the utility model.

图5本实用新型的单次校准时序图。Fig. 5 is a sequence diagram of a single calibration of the utility model.

图6本实用新型的完整校准时序图。Fig. 6 is a complete calibration sequence diagram of the utility model.

图7本实用新型的校准过程示例图。Fig. 7 is an example diagram of the calibration process of the utility model.

具体实施方式Detailed ways

为让本实用新型的上述目的、特征和优点能明显易懂,以下结合附图和实施例对本实用新型作详细说明,但不应以此限制本实用新型的保护范围。In order to make the above-mentioned purposes, features and advantages of the utility model understandable, the utility model will be described in detail below in conjunction with the accompanying drawings and embodiments, but the protection scope of the utility model should not be limited thereby.

参考图1,图1是本实用新型有源滤波器时间常数校准电路。由图可见,本实用新型有源滤波器时间常数自动校准电路,包括模拟部分的被校准电容阵列电路CBANK、产生斜坡电压的积分器电路、比较器电路和数字逻辑电路。With reference to Fig. 1, Fig. 1 is the utility model active filter time constant calibration circuit. It can be seen from the figure that the active filter time constant automatic calibration circuit of the present invention includes the calibrated capacitor array circuit CBANK of the analog part, the integrator circuit for generating the slope voltage, the comparator circuit and the digital logic circuit.

被校准电容阵列CBANK采用可选电容阵列并联的形式,参见图2,图2本实用新型有源滤波器电容阵列CBANK部分。电容阵列CBANK包括N个电容C1~CN以及N个NMOS开关N1~NN构成,N为大于1的自然数,电容C1和N1串联,电容C2和N2串联,依次类推,电容CN和NN串联,这些电容和NMOS开关形成的串联支路再并联;所述的电容C1的设计容值Cu,电容C2的设计容值2Cu,电容C3的设计容值4Cu,依次类推,电容CN的设计容值2N-1Cu,所述电容C1~CN和Cfix的公共端为被校准电容阵列CBANK的输入端,NMOS开关N1~NN的公共端为被校准电容阵列CBANK的输出端,NMOS开关N1~NN的栅极与所述的数字逻辑电路输出端C[N-1:0]相连,的N位被校准电容阵列控制信号C[N-1:0]控制;N的取值根据校准精度要求来确定。The capacitor array CBANK to be calibrated adopts the form of parallel connection of optional capacitor arrays, see Fig. 2, and Fig. 2 is part of the capacitor array CBANK of the active filter of the utility model. The capacitor array CBANK consists of N capacitors C 1 ~C N and N NMOS switches N 1 ~N N , where N is a natural number greater than 1, capacitors C 1 and N 1 are connected in series, capacitors C 2 and N 2 are connected in series, and so on. Capacitors C N and N N are connected in series, and the series branches formed by these capacitors and NMOS switches are connected in parallel; the design capacitance C u of the capacitance C 1 , the design capacitance 2C u of the capacitance C 2 , and the design capacitance C 3 The value is 4C u , and so on, the design capacitance of the capacitor C N is 2 N-1 C u , the common terminal of the capacitors C 1 ~C N and C fix is the input terminal of the capacitor array CBANK to be calibrated, and the NMOS switches N 1 ~ The common terminal of N N is the output terminal of the calibrated capacitor array CBANK, the gates of the NMOS switches N 1 ~ NN are connected to the output terminal C[N-1:0] of the digital logic circuit, and the N bits of the calibrated capacitor The array control signal C[N-1:0] controls; the value of N is determined according to the calibration accuracy requirements.

产生斜坡电压的积分器电路包括电流源产生电路、电流镜像电路和开关控制电路,其中电流源产生电路包括运算放大器Opamp、电阻REF、NMOS管M1,电流镜像电路包括PMOS管P0、P1,开关控制电路包括NMOS互补开关M2/M3和放电NMOS开关M4,所述的运算放大器Opamp的正相输入端接带隙电压VREF,所述的运算放大器Opamp的反相输入端接电阻REF,电阻REF另一端接地,运算放大器Opamp的输出端接NMOS管M1的栅极,NMOS管M1的源极接运算放大器Opamp的反相输入端,NMOS管M1的漏极接PMOS管P0的漏极,PMOS管P0的栅极分别与自身的漏极以及PMOS管P1的栅极连接,PMOS管P0-P1的源极接电源,PMOS管P1的漏极接互补开关M2/M3的公共端,开关M3另一端接被校准电容阵列CBANK的输入端,开关M2另一端接地;被校准电容阵列CBANK输出端接地,放电开关M4的一端接被校准电容阵列CBANK的输入端,另一端接地。The integrator circuit that generates the slope voltage includes a current source generating circuit, a current mirror circuit and a switch control circuit, wherein the current source generating circuit includes an operational amplifier Opamp, a resistor REF, and an NMOS transistor M1, and the current mirror circuit includes PMOS transistors P0 and P1, and the switch control circuit The circuit includes an NMOS complementary switch M 2 /M 3 and a discharge NMOS switch M 4 , the non-inverting input terminal of the operational amplifier Opamp is connected to the bandgap voltage V REF , the inverting input terminal of the operational amplifier Opamp is connected to a resistor REF, The other end of the resistor REF is grounded, the output terminal of the operational amplifier Opamp is connected to the gate of the NMOS transistor M1, the source of the NMOS transistor M1 is connected to the inverting input terminal of the operational amplifier Opamp, and the drain of the NMOS transistor M1 is connected to the drain of the PMOS transistor P0. The gate of the PMOS transistor P0 is connected to its own drain and the gate of the PMOS transistor P1 respectively, the sources of the PMOS transistors P0-P1 are connected to the power supply, and the drain of the PMOS transistor P1 is connected to the common terminal of the complementary switch M 2 /M 3 , The other end of the switch M3 is connected to the input end of the calibrated capacitor array C BANK , the other end of the switch M2 is grounded; the output end of the calibrated capacitor array C BANK is grounded, and one end of the discharge switch M4 is connected to the input end of the calibrated capacitor array C BANK , The other end is grounded.

所述的比较器的正相端接带隙电压VREF,比较器的负相端接被校准电容阵列的输入端,比较器的输出信号ERR送入数字逻辑电路。The positive terminal of the comparator is connected to the bandgap voltage V REF , the negative terminal of the comparator is connected to the input terminal of the calibrated capacitor array, and the output signal ERR of the comparator is sent to a digital logic circuit.

参考图3所示,数字逻辑电路包括数字滤波器102和时序控制电路101。所述的时序控制电路由数字算法编写Verilog HDL程序,并根据相关软件综合得到具体电路,由其产生周期性的开关控制信号S1、S1n、S2、放电控制信号RST和电容阵列充电周期T。Referring to FIG. 3 , the digital logic circuit includes a digital filter 102 and a timing control circuit 101 . The sequence control circuit is written by digital algorithm Verilog HDL program, and the specific circuit is synthesized according to related software, which generates periodic switch control signals S 1 , S 1n , S 2 , discharge control signal RST and capacitor array charging cycle T.

参考图4所示,所述的数字滤波器101包括触发器201、积分器202、增益模块203、IIR滤波器204、增益模块05、增益模块211、增益模块221、微分器212和加法器206,其中触发器201和积分器202依次连接,触发器201在时钟CLK的作用下采样比较器CMP的输出的误差信号Err并将输出送给积分器202,积分器202的输出送至增益模块203和增益模块211以及增益模块221,增益模块203、IIR滤波器204和增益模块205依次连接到加法器206,增益模块211和微分器212依次序连接到加法器206,增益模块221连到加法器206,该加法器206输出N位控制字C[N-1:0],该N位控制字C[N-1:0]依次输出到被校准电容阵列CBANK的。With reference to shown in Figure 4, described digital filter 101 comprises flip-flop 201, integrator 202, gain module 203, IIR filter 204, gain module 05, gain module 211, gain module 221, differentiator 212 and adder 206 , wherein the flip-flop 201 and the integrator 202 are connected in sequence, the flip-flop 201 samples the error signal Err output by the comparator CMP under the action of the clock CLK and sends the output to the integrator 202, and the output of the integrator 202 is sent to the gain module 203 The sum gain module 211 and the gain module 221, the gain module 203, the IIR filter 204 and the gain module 205 are connected to the adder 206 in turn, the gain module 211 and the differentiator 212 are connected to the adder 206 in sequence, and the gain module 221 is connected to the adder 206. The adder 206 outputs an N-bit control word C[N-1:0], and the N-bit control word C[N-1:0] is sequentially output to the capacitor array CBANK to be calibrated.

所述的电阻REF与有源滤波器的电阻R是相同工艺材料类型的电阻,且均由相同版图形状、版图位置对称的单位电阻构成,工艺参数在制造过程发生偏差时对所述的电阻REF设计阻值RREF和所述的有源滤波器电阻R的设计阻值RR影响因子相等,设为βr,若RREF表示所述电阻RREF设计阻值、RR表示所述电阻R设计阻值、R'REF表示受工艺制造参数偏差影响后的所述电阻REF的阻值、R'R表示受工艺制造参数偏差影响后所述电阻R受芯片制造工艺参数偏移影响后的实际阻值,则R'REF=βr·RREF、R'R=βr·RR,且RREF为m倍RR,其中m为大于或等于1的自然数。The resistor REF and the resistor R of the active filter are resistors of the same process material type, and both are composed of unit resistors with the same layout shape and symmetrical layout position. When the process parameters deviate from the manufacturing process, the resistance REF The design resistance R REF and the design resistance R R influence factor of the active filter resistor R are equal, set to β r , if R REF represents the design resistance of the resistance R REF, and R R represents the design resistance of the resistance R Resistance value, R' REF represents the resistance value of the resistor REF affected by the deviation of the process manufacturing parameters, R' R represents the actual resistance of the resistor R after being affected by the deviation of the chip manufacturing process parameters after being affected by the deviation of the process manufacturing parameters value, then R' REFr ·R REF , R' Rr · RR , and R REF is m times R R , where m is a natural number greater than or equal to 1.

所述的图2为被校准电容阵列CBANK,所述电容C1~CN由相同版图形状、版图布局位置紧相邻的单位电容Cu并联而成,工艺参数在制造过程发生偏差时对所述的电容C1~CN容值影响因子相等,设为βc,若Cu表示单位电容设计容值,C'u表示受工艺制造参数偏差影响后所述单位电容的容值,则C'u=βc·Cu 2 is the capacitor array CBANK to be calibrated. The capacitors C 1 to C N are formed by parallel connection of unit capacitors C u with the same layout shape and layout positions immediately adjacent to each other. The above-mentioned capacitors C 1 to C N have equal influence factors, which are set to β c . If C u represents the design capacitance value of the unit capacitor, and C' u represents the capacitance value of the unit capacitor after being affected by the deviation of the process manufacturing parameters, then C ' u =β c ·C u

通过控制电容阵列的开关,增加或减少电容阵列的单位电容数量,从而调整CBANK电容值。By controlling the switch of the capacitor array, the number of unit capacitors of the capacitor array is increased or decreased, thereby adjusting the capacitance value of CBANK.

被校准的有源滤波器电容阵列CBANK设计容值的表达式为:The expression of the design capacitance of the calibrated active filter capacitor array CBANK is:

上述表达式中的C[i]为所述的数字逻辑电路输出的C[N-1:0]的某一位。C[i] in the above expression is a certain bit of C[N-1:0] output by the digital logic circuit.

由上可知,有源滤波器电容阵列CBANK最多可由2N个单位电容并联而成,以N=8为类,则表示电容阵列CBANK最多包含255个单位电容;It can be seen from the above that the active filter capacitor array CBANK can be formed by connecting 2 N unit capacitors in parallel at most, and taking N=8 as a class, it means that the capacitor array CBANK contains at most 255 unit capacitors;

若CBANK的设计容值为CBANK=27·Cu+25·Cu+24·Cu+22·Cu=180·Cu,因电容阵列的最大电容数量是255,因此CBANK可调整范围:108Cu~252Cu用百分比ζ表示CBANK容值可调整范围:60%≤ζ≤140%,由于数字逻辑电路输出控制字C[N-1:0]最小分辨率是1,因此校准精度η高于If the design capacitance of CBANK is C BANK =2 7 ·C u +2 5 ·C u +2 4 ·C u +2 2 ·C u =180·C u , since the maximum number of capacitors in the capacitor array is 255, therefore CBANK adjustable range: 108Cu~252Cu expressed in percentage ζ Adjustable range of CBANK capacitance: 60%≤ζ≤140%, since the minimum resolution of the digital logic circuit output control word C[N-1:0] is 1, so the calibration Accuracy η higher than

自动校准工作过程如下:The working process of automatic calibration is as follows:

1、将有源滤波器主体电路经第五NMOS管的漏极、源极、电阻R接所述的校准电容阵列CBANK的输入端,所述的第五NMOS管栅极与所述的数字逻辑电路S2信号输出端相连,1. Connect the main circuit of the active filter to the input terminal of the calibration capacitor array CBANK through the drain, source and resistor R of the fifth NMOS transistor, the grid of the fifth NMOS transistor and the digital logic The signal output terminal of circuit S2 is connected,

2、校准过程中,参见图5,当数字逻辑电路输出的S2信号为低电平时,被校准电容阵列CBANK与有源滤波器主体电路分离;2. During the calibration process, see Figure 5, when the S2 signal output by the digital logic circuit is at a low level, the calibrated capacitor array CBANK is separated from the main circuit of the active filter;

当S1出现第一次高电平脉冲时,所述镜像电流I对被校准电容阵列CBANK进行第一次恒流充电,在充电时间T结束后,S1由高电平变为低电平,第一次充电终止,此时所述的被校准电容阵列CBANK的两端电压为:When S 1 appears the first high-level pulse, the mirror current I charges the calibrated capacitor array CBANK for the first time with a constant current, and after the charging time T is over, S 1 changes from high level to low level , the first charge is terminated, at this time the voltage across the calibrated capacitor array CBANK is:

其中,C'BANK表示校准前的所述电容阵列CBANK容值;Wherein, C' BANK represents the capacitance value of the capacitor array CBANK before calibration;

R'REF表示受工艺制造参数偏差影响后的所述电阻REF的阻值: R'REF represents the resistance value of the resistor REF affected by the manufacturing parameter deviation:

R'REF=RREF·βr R' REF = R REF ·β r

R'R表示受工艺制造参数偏差影响后所述的电阻R的阻值:R' R represents the resistance value of the resistor R after being affected by the deviation of the process manufacturing parameters:

R'R=βr·RR R' R =β r R R

所述的比较器CMP将Vo与VREF进行比较、并将比较结果ERR保持,所述的数字逻辑电路对ERR进行单次采样并运算处理,更新电容阵列选通信号C[N-1:0]的值,并将其反馈到被校准电容阵列的控制开关,修改被校准电容阵列CBANK的电容值,完成第一次校准,The comparator CMP compares V o with V REF and keeps the comparison result E RR , and the digital logic circuit performs single sampling and operation processing on E RR to update the capacitance array gate signal C[N- 1:0], and feed it back to the control switch of the calibrated capacitor array, modify the capacitance value of the calibrated capacitor array CBANK, and complete the first calibration,

当放电控制信号RST为高电平时,被校准电容阵列CBANK被完全放电,自动进入第二次校准过程,第二次校准过程与第一次完全一样;依次类推,进行第三次、第四次、…、第M次校准,每次校准后Vo与VREF的误差逐渐缩小。When the discharge control signal RST is at a high level, the calibrated capacitor array CBANK is completely discharged, and automatically enters the second calibration process, which is exactly the same as the first calibration process; and so on, the third and fourth times , ..., the Mth calibration, the error between V o and V REF is gradually reduced after each calibration.

参照图6时序,整个校准过程由若干连续单次校准组成,假设经过M次校准后,可实现V0逼近于VREF,此后,数字滤波器不再调整电容阵列CBANK的电容选通信号,系统达到稳定,且数字滤波器送出的电容阵列选通信号C[N-1:0]为最终的稳定值,C[N-1:0]被送至有源滤波器的电容阵列CBANK的选通开关以获得校准结束后的最终容值CCBANK,充电结束时,Vo≈VREF,根据Referring to the timing sequence in Figure 6, the entire calibration process consists of several consecutive single calibrations. Assume that after M calibrations, V 0 can be close to V REF . After that, the digital filter no longer adjusts the capacitance gating signal of the capacitor array CBANK, and the system Stability is reached, and the capacitor array gating signal C[N-1:0] sent by the digital filter is the final stable value, and C[N-1:0] is sent to the gating of the capacitor array CBANK of the active filter switch to obtain the final capacitance C CBANK after calibration, at the end of charging, V o ≈ V REF , according to

可知: It can be seen that:

τ表示有源滤波器时间常数;因此充电时间T、RREF与RR的比值m就可以表征有源滤波器时间常数;校准结束后,有源滤波器的时间常数总是为且与工艺制造参数无关。校准结束后数字逻辑电路输出S2高电平控制信号,将CBANK接入到有源滤波器主体电路,完成了自动校准过程。校准次数M与所述数字滤波器的环路带宽等参数相关,且可由系统仿真工具获得,本实用新型中M=64;τ represents the time constant of the active filter; therefore, the ratio m of the charging time T, R REF and RR can represent the time constant of the active filter; after the calibration, the time constant of the active filter is always And has nothing to do with the process manufacturing parameters. After the calibration, the digital logic circuit outputs the S 2 high-level control signal, connects CBANK to the main circuit of the active filter, and completes the automatic calibration process. The number of times of calibration M is related to parameters such as the loop bandwidth of the digital filter, and can be obtained by a system simulation tool, M=64 in the utility model;

单次充电时间T=k·TCLK(k为单次充电时间T所占时钟周期数,TCLK为时钟信号CLK的周期),根据有源滤波器的时间常数要求,可方便设计出相应的T。Single charging time T=k T CLK (k is the number of clock cycles occupied by single charging time T, T CLK is the cycle of the clock signal CLK), according to the time constant requirements of the active filter, it is convenient to design the corresponding T.

本实用新型中CLK频率为200KHz,k=10,校准时间则为:CLK frequency is 200KHz among the utility model, k=10, and calibration time is then:

M·k·TCLK=64×10×5us=3.2msM·k·T CLK =64×10×5us=3.2ms

上面公式进一步表明:经自动校准后,有源滤波器的时间常数由常数m、k、TCLK决定,而与工艺制造参数无关。The above formula further shows that after automatic calibration, the time constant of the active filter is determined by the constants m, k, and T CLK , and has nothing to do with the manufacturing parameters of the process.

图7所示,工艺偏差所引起的滤波器时间常数与设计偏差为+22.2%时的系统校准过程.如图7所示,经自动校准后的电容阵列所含单位电容数量为140,此时的校准范围为180-140/180=22.2%,校准时间3.2ms.As shown in Figure 7, the system calibration process when the filter time constant caused by process deviation and the design deviation is +22.2%. As shown in Figure 7, the number of unit capacitors contained in the capacitor array after automatic calibration is 140. At this time The calibration range is 180-140/180=22.2%, and the calibration time is 3.2ms.

虽然本实用新型已较佳实施例揭示如上,然其并非用于限制本实用新型,任何本领域技术人员在不脱离本实用新型的精神和范围内,做出若干简单推演或替换,都应当视为属于本实用新型的保护范围。Although the preferred embodiments of the present invention have been disclosed above, they are not intended to limit the present invention. Any person skilled in the art who makes some simple deductions or replacements without departing from the spirit and scope of the present invention should be regarded as For belonging to the scope of protection of the present utility model.

Claims (4)

1. a kind of calibration circuit of the time constant of active filter, it is characterised in that:It is calibrated electricity including active filter Integrator circuit, comparator circuit and the Digital Logical Circuits held array circuit (CBANK), generate ramp voltage,
The capacitor array circuit (CBANK) that is calibrated includes N number of capacitance (C1~CN) and N number of NMOS switch (N1~NN), N is Natural number more than 1, the 1st capacitance (C1) and 1NMOS switches (N1) series connection, the 2nd capacitance (C2) and 2NMOS switches (N2) string Connection ..., N capacitances (CN) and NNMOS switches (NN) series connection, the series arm that N number of capacitance and N number of NMOS switch are formed is again simultaneously Connection;1st capacitance (the C1) design capacitance be Cu, the 2nd capacitance (C2) design capacitance be 2Cu, the 3rd capacitance (C3) design Capacitance is 4Cu..., N capacitances (CN) design capacitance be 2N-1Cu, all capacitance (C1~CN) common end be calibrated capacitance The input terminal of array (CBANK), N number of NMOS switch (N1~NN) common end be the output for being calibrated capacitor array (CBANK) End, N number of NMOS switch (N1~NN) grid and the Digital Logical Circuits control signal C [N-1:0] output end phase Even;It is described to be calibrated resistance (R) composition active filter time constant of the capacitor array (CBANK) with active filter;
The integrator circuit of the generation ramp voltage includes electric current source generating circuit, current mirror circuit and switch control electricity Road, the electric current source generating circuit include operational amplifier (Opamp), resistance (REF) and the first NMOS tube (M1), described Current mirror circuit includes two PMOS tube (P0, P1), and the ON-OFF control circuit includes by the second NMOS tube (M2), third NMOS tube (M3) drain electrode be connected and constitute complementary switch and the 4th NMOS tube (M4) constitute discharge switch;The operation amplifier The normal phase input end of device (Opamp) meets a reference voltage (VREF), one end of anti-phase input terminating resistor (REF), the resistance (REF) other end ground connection, the output of operational amplifier (Opamp) terminate the grid of the first NMOS tube (M1), the first NMOS tube (M1) source electrode connects the inverting input of operational amplifier (Opamp), and the drain electrode of the first NMOS tube (M1) connects the first PMOS tube (P0) grid of drain electrode, the first PMOS tube (P0) is connect with the grid of the drain electrode of itself and the second PMOS tube (P1) respectively, The source electrode of first PMOS tube (P0) and the second PMOS tube (P1) connects power supply (VDD), second PMOS tube (P1) Drain electrode meets the second NMOS tube (M of complementary switch2) and third NMOS tube (M3) drain electrode common end, the second NMOS tube (M2) source Pole is grounded, third NMOS tube (M3) source electrode connect the input terminal for being calibrated capacitor array (CBANK), described is calibrated capacitance battle array Arrange the output end ground connection of (CBANK), the 4th NMOS tube (M4) drain electrode connect the input for being calibrated capacitor array (CBANK) End, the 4th NMOS tube (M4) source electrode ground connection;
Reference voltage (V described in the positive termination of the comparator (CMP)REF), the negative of comparator (CMP) is terminated by school The input terminal of pseudo-capacitance array (CBANK), the output end and the error signal of the Digital Logical Circuits of comparator (CMP) are defeated Enter end (ERR) be connected;
The Digital Logical Circuits includes digital filter (102) and sequential control circuit (101), the digital filter (102) signal input part connects the output end of the comparator (CMP), the positions N of the output end output of digital filter (102) Control word C [N-1:0] N number of NMOS tube (N of the calibration circuit capacitance array (CBANK) is met successively respectively1~NN) grid, The control signal that the sequential control circuit (101) generates includes S1, S1n, S2, S3, RST and T, S1n control letters Number, S1 control signals and RST control signals be respectively applied to the second NMOS tube (M2) grid, third NMOS tube (M3) Grid and the 4th NMOS tube (M3) grid, S2 be active filter be calibrated capacitor array (CBANK) and active filter The control signal of main body circuit separation, T are capacitor array charge cycle, and CLK is consequently exerted at the timing control of Digital Logical Circuits Signal.
2. the calibration circuit of the time constant of active filter according to claim 1, it is characterised in that:The benchmark Voltage is the good band gap voltage of temperature characterisitic, and the voltage value of the reference voltage is 1.25v.
3. the calibration circuit of the time constant of active filter according to claim 1, it is characterised in that:It is described by school Capacitance (C1~C in pseudo-capacitance array (CBANK)N) by identical layout shape, the tight adjacent specific capacitance C in laying out pattern positionu It is formed in parallel, technological parameter is when deviation occurs for manufacturing process to the capacitance (C1~CN) capacitance impact factor is equal, it is set as βcIf CuIndicate that specific capacitance designs capacitance, C'uIndicate the effective unit capacitance after being influenced by chip manufacturing process parameter shift It is worth, then C'uc·Cu
4. the calibration circuit of the time constant of active filter according to claim 1, it is characterised in that:The resistance RREFResistance R with active filter is the resistance of same process material type, and by identical layout shape, domain position pair The unit resistance of title is constituted, and technological parameter is when deviation occurs for manufacturing process, to resistance REF resistances and the active power filtering The resistance value impact factor of device resistance R is equal, is set as βrIf RREFIndicate the resistance RREFDesign resistance value, RRIndicate the resistance R Design resistance value, R'REFIndicate the resistance RREFActual resistance, R' after being influenced by chip manufacturing process parameter shiftRIndicate institute Actual resistance after stating resistance R and being influenced by chip manufacturing process parameter shift, then R'REFr·RRE、R'Rr·RR, and RREF For m times of RR, wherein m is the natural number more than or equal to 1.
CN201820160141.3U 2018-01-30 2018-01-30 A kind of calibration circuit of the time constant of active filter Expired - Fee Related CN207691768U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820160141.3U CN207691768U (en) 2018-01-30 2018-01-30 A kind of calibration circuit of the time constant of active filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820160141.3U CN207691768U (en) 2018-01-30 2018-01-30 A kind of calibration circuit of the time constant of active filter

Publications (1)

Publication Number Publication Date
CN207691768U true CN207691768U (en) 2018-08-03

Family

ID=62992247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820160141.3U Expired - Fee Related CN207691768U (en) 2018-01-30 2018-01-30 A kind of calibration circuit of the time constant of active filter

Country Status (1)

Country Link
CN (1) CN207691768U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111146A (en) * 2018-01-30 2018-06-01 上海航天芯锐电子科技有限公司 The auto-calibration circuits of the time constant of active filter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111146A (en) * 2018-01-30 2018-06-01 上海航天芯锐电子科技有限公司 The auto-calibration circuits of the time constant of active filter

Similar Documents

Publication Publication Date Title
CN108111146B (en) Automatic calibration circuit for time constant of active filter
CN106130557B (en) A kind of comparator imbalance voltage self-correcting positive circuit
US6842710B1 (en) Calibration of integrated circuit time constants
US6888482B1 (en) Folding analog to digital converter capable of calibration and method thereof
CN111030630B (en) Circuit and method for calibrating RC time constant on chip by using switched capacitor
CN106301284B (en) A kind of adjustable filter circuit of bandwidth based on memristor and its operating method
CN103036538A (en) Circuit and method for correcting offset voltage of comparator
CN109643139B (en) Impedance adjusting circuit, chip and reference voltage generating circuit
CN109743036B (en) Calibration circuit and method
CN107134979B (en) RC oscillator
CN109194328B (en) High-precision on-chip oscillator
CN207691768U (en) A kind of calibration circuit of the time constant of active filter
CN103259532A (en) Resistor-capacitor filter calibrating circuit
WO2006104671A1 (en) A digital time constant tracking technique and apparatus
CN110113028A (en) Constant calibrates circuit when the partial pressure integral form of on-chip active RC filter
CN114614819B (en) Source following reference buffer with offset voltage self-correction function
US7339442B2 (en) Baseband RC filter pole and on-chip current tracking system
CN112667022A (en) On-chip reference current generation circuit
CN107370463B (en) Offset self-correction operational amplifier based on back gate effect and channel length modulation effect
US20160042203A1 (en) Charge measurement
CN101330284B (en) Time constant correction device and related method
CN106506006B (en) Special sampling error calibration circuit and calibration method for bioelectric sensor
CN111555736B (en) Monostable trigger of hybrid circuit and control method thereof
CN210666857U (en) Memristor bridge type touch-projection working mode configuration circuit
CN102710233B (en) Self-adaptive tuning system of continuous time filter

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180803

CF01 Termination of patent right due to non-payment of annual fee