[go: up one dir, main page]

CN114513191A - Correction device and method - Google Patents

Correction device and method Download PDF

Info

Publication number
CN114513191A
CN114513191A CN202011280443.2A CN202011280443A CN114513191A CN 114513191 A CN114513191 A CN 114513191A CN 202011280443 A CN202011280443 A CN 202011280443A CN 114513191 A CN114513191 A CN 114513191A
Authority
CN
China
Prior art keywords
filter circuit
actual
gain
time constant
input signal
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.)
Pending
Application number
CN202011280443.2A
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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202011280443.2A priority Critical patent/CN114513191A/en
Publication of CN114513191A publication Critical patent/CN114513191A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H11/00Networks using active elements
    • H03H11/02Multiple-port networks
    • H03H11/04Frequency selective two-port networks

Landscapes

  • Networks Using Active Elements (AREA)

Abstract

A correction device comprises a signal generator and a processor. The signal generator is used for providing an input signal to a filter circuit, wherein the filter circuit has an actual time constant and is used for receiving the input signal to output an output signal. The processor is used for calculating an actual gain according to the output signal and the input signal, comparing the actual gain with a target gain to obtain a comparison result, and judging whether to adjust the actual time constant of the filter circuit according to the comparison result. The invention also provides a correction method.

Description

校正装置与方法Correction device and method

技术领域technical field

本发明申请是关于一种校正装置与方法,特别是指一种适用于滤波器电路的校正装置与方法。The present application relates to a calibration device and method, and particularly to a calibration device and method suitable for filter circuits.

背景技术Background technique

一般来说,滤波器为无线通信系统内不可或缺的一环。然而,滤波器的频率响应极有可能因为制程变化而与原先设计的设定值产生偏差,进而影响信号解调的质量。Generally speaking, filters are an integral part of wireless communication systems. However, the frequency response of the filter is very likely to deviate from the original design setting due to process changes, thereby affecting the quality of signal demodulation.

为解决上述问题,传统上会额外提供校正电路,该校正电路具有与待校正的滤波器电路相同的时间常数。通过调整该校正电路中电容的电容值,使该校正电路的时间常数达到目标值。最终,将与该目标值相对应的电容设定提供给该滤波器电路,以完成校正。然而,上述方法仅能补偿电容或电阻因制程变化而造成的偏差,并无法进一步地补偿其他组件(例如:运算放大器)因制程变化而造成的偏差。因此,有必要对传统的校正方法进行改善。To solve the above-mentioned problems, a correction circuit is conventionally additionally provided, the correction circuit having the same time constant as the filter circuit to be corrected. By adjusting the capacitance value of the capacitor in the correction circuit, the time constant of the correction circuit can reach the target value. Finally, the capacitance setting corresponding to the target value is provided to the filter circuit to complete the correction. However, the above method can only compensate for the variation of capacitance or resistance caused by process variation, and cannot further compensate for variation of other components (eg, operational amplifier) due to variation of manufacturing process. Therefore, it is necessary to improve the traditional correction method.

发明内容SUMMARY OF THE INVENTION

本发明申请一方面提供了一种校正装置。该校正装置包括信号产生器以及处理器。该信号产生器用以提供输入信号至滤波器电路,其中,该滤波器电路具有实际时间常数,并用以接收该输入信号以输出输出信号。该处理器用以根据该输出信号与该输入信号计算出实际增益,比对该实际增益以及目标增益,以得到比对结果,并根据该比对结果判断是否要调整该滤波器电路的该实际时间常数。本发明申请同时提供一种校正方法。One aspect of the present application provides a correction device. The correction device includes a signal generator and a processor. The signal generator is used for providing an input signal to a filter circuit, wherein the filter circuit has a real time constant and is used for receiving the input signal to output an output signal. The processor is used for calculating the actual gain according to the output signal and the input signal, comparing the actual gain and the target gain to obtain a comparison result, and judging whether to adjust the actual time of the filter circuit according to the comparison result constant. The present application also provides a calibration method.

本发明申请另一方面提供了一种校正方法。该校正方法包括:提供输入信号至滤波器电路,其中该滤波器电路具有实际时间常数;接收来自该滤波器电路的输出信号;根据该输出信号与该输入信号计算出实际增益;比对该实际增益以及目标增益,以得到比对结果;以及根据该比对结果判断是否要调整该滤波器电路的该实际时间常数。Another aspect of the present application provides a calibration method. The correction method includes: providing an input signal to a filter circuit, wherein the filter circuit has an actual time constant; receiving an output signal from the filter circuit; calculating an actual gain according to the output signal and the input signal; gain and target gain to obtain a comparison result; and determine whether to adjust the actual time constant of the filter circuit according to the comparison result.

综上,本发明申请的校正装置以及校正方法,通过直接比对滤波器电路的实际增益与目标增益,对滤波器电路进行调整,来补偿滤波器电路中各种组件(例如:电阻、电容或运算放大器)因制程变化而产生的偏差。如此一来,滤波器电路便可被校正回原先设计的设定值,以利信号的解调。To sum up, the calibration device and calibration method of the present invention can adjust the filter circuit by directly comparing the actual gain and the target gain of the filter circuit to compensate for various components in the filter circuit (such as resistors, capacitors or op amps) due to process variations. In this way, the filter circuit can be corrected back to the originally designed setting value to facilitate signal demodulation.

附图说明Description of drawings

图1是根据本发明申请的部分实施例绘示一种校正装置的方块图。FIG. 1 is a block diagram illustrating a calibration apparatus according to some embodiments of the present application.

图2A是根据本发明申请的部分实施例绘示一种受制程变化影响的滤波器电路的频率响应示意图。2A is a schematic diagram illustrating a frequency response of a filter circuit affected by process variation according to some embodiments of the present application.

图2B是根据本发明申请的部分实施例绘示一种受制程变化影响的滤波器电路经校正过后的频率响应示意图。2B is a schematic diagram illustrating a corrected frequency response of a filter circuit affected by process variations according to some embodiments of the present application.

图3是根据本发明申请的部分实施例绘示另一种受制程变化影响的滤波器电路的频率响应示意图。3 is a schematic diagram illustrating the frequency response of another filter circuit affected by process variation according to some embodiments of the present application.

图4是根据本发明申请的部分实施例绘示一种滤波器电路的电路图。FIG. 4 is a circuit diagram illustrating a filter circuit according to some embodiments of the present application.

图5是根据本发明申请的部分实施例绘示一种校正方法的流程图。FIG. 5 is a flowchart illustrating a calibration method according to some embodiments of the present application.

符号说明Symbol Description

10:滤波器电路10: Filter circuit

100:校正装置100: Correction device

102:信号产生器102: Signal generator

104:处理器104: Processor

VIN:输入信号VIN: input signal

VOUT:输出信号VOUT: output signal

gmr:实际增益gmr: actual gain

gm0:目标增益gm0: target gain

f1:实际中心频率f 1 : actual center frequency

f0:默认中心频率f 0 : default center frequency

A:放大器A: Amplifier

R:电阻R: resistance

C:电容C: Capacitor

Iin+:第一输入信号I in+ : the first input signal

Iin-:第二输入信号I in- : the second input signal

Qin+:第三输入信号Q in+ : the third input signal

Qin-:第四输入信号Q in- : the fourth input signal

Iout+:第一输出信号I out+ : the first output signal

Iout-:第二输出信号I out- : the second output signal

Qout+:第三输出信号Q out+ : the third output signal

Qout-:第四输出信号Q out- : Fourth output signal

S210、S220、S230、S240、S250、S260:步骤S210, S220, S230, S240, S250, S260: Steps

具体实施方式Detailed ways

下文是举例配合附图作详细说明,但所描述的具体实施例仅用以解释本发明,并不用来限定本发明,而结构操作的描述非用以限制其执行的顺序,任何由组件重新组合的结构,所产生具有均等功效的装置,皆为本发明申请所涵盖的范围。The following is a detailed description with examples and accompanying drawings, but the described specific embodiments are only used to explain the present invention, not to limit the present invention, and the description of structural operations is not used to limit the order of its execution, any recombination of components The structure of the present invention and the resulting device with equal efficacy are all within the scope of the present application.

在本公开说明书与权利要求书所使用术语(terms),除有特别注明外,通常具有每个术语在此领域中通用的含义、以及在被公开的内容中与特殊内容中的通用含义。The terms used in the present disclosure and the claims, unless otherwise specified, generally have the common meaning of each term in the field, as well as the common meaning in the disclosed content and the specific content.

另外,关于本文中所使用的“耦接”或“连接“”,均可指两个或多个组件相互直接作实体或电性接触,或是相互间接作实体或电性接触,也可指两个或多个组件相互操作或动作。In addition, "coupled" or "connected" as used herein may refer to two or more components in direct physical or electrical contact with each other, or in indirect physical or electrical contact with each other, or may refer to Two or more components operate or act upon each other.

请参阅图1,本发明申请的其中一个实施例是关于一种校正装置100。校正装置100包括信号产生器102以及处理器104,并是用以校正受制程变化影响的滤波器电路10。Referring to FIG. 1 , one embodiment of the present application relates to a calibration device 100 . The calibration device 100 includes a signal generator 102 and a processor 104, and is used for calibrating the filter circuit 10 affected by process variations.

在本实施例中,滤波器电路10可为带通滤波器,且是被设计以具有默认中心频率f0以及与默认中心频率f0对应的预设时间常数τ0。然而,在制程变化的影响下,滤波器电路10的时间常数与原先设计的数值产生了差异,进而导致滤波器电路10的带宽与中心频率也与原先设计的数值产生了差异。举例而言,受制程变化影响的滤波器电路10具有不同于预设时间常数τ0的实际时间常数τ1以及不同于默认中心频率f0的实际中心频率f1In this embodiment, the filter circuit 10 can be a band-pass filter, and is designed to have a default center frequency f 0 and a predetermined time constant τ 0 corresponding to the default center frequency f 0 . However, under the influence of process variation, the time constant of the filter circuit 10 is different from the originally designed value, and the bandwidth and center frequency of the filter circuit 10 are also different from the originally designed value. For example, the filter circuit 10 affected by the process variation has an actual time constant τ 1 different from the preset time constant τ 0 and an actual center frequency f 1 different from the default center frequency f 0 .

结构上,信号产生器102耦接于滤波器电路10,而处理器104耦接于信号产生器102与滤波器电路10。在本实施例中,信号产生器102可包括晶体振荡器(图中未示)以及低通滤波器(图中未示),而处理器104可为中央处理单元或计算器芯片。Structurally, the signal generator 102 is coupled to the filter circuit 10 , and the processor 104 is coupled to the signal generator 102 and the filter circuit 10 . In this embodiment, the signal generator 102 may include a crystal oscillator (not shown in the figure) and a low-pass filter (not shown in the figure), and the processor 104 may be a central processing unit or a calculator chip.

为能更好地理解本发明,将在以下段落中结合附图讨论校正装置100的操作。如图1所示,信号产生器102根据来自于处理器104的指令(图中未示)提供输入信号VIN至滤波器电路10,其中,输入信号VIN的频率等同于滤波器电路10原先设计的默认中心频率f0For a better understanding of the present invention, the operation of the correction device 100 will be discussed in the following paragraphs in conjunction with the accompanying drawings. As shown in FIG. 1 , the signal generator 102 provides an input signal V IN to the filter circuit 10 according to an instruction (not shown) from the processor 104 , wherein the frequency of the input signal V IN is equal to the original frequency of the filter circuit 10 . The default center frequency f 0 of the design.

滤波器电路10接收输入信号VIN,以输出输出信号VOUT至处理器104。处理器104接收输出信号VOUT,并根据输出信号VOUT与输入信号VIN计算出实际增益gmr。具体而言,处理器104将输出信号VOUT除以输入信号VIN以产生比值,并将该比值的绝对值作为实际增益gmrThe filter circuit 10 receives the input signal V IN to output the output signal V OUT to the processor 104 . The processor 104 receives the output signal V OUT and calculates the actual gain gm r according to the output signal V OUT and the input signal V IN . Specifically, the processor 104 divides the output signal V OUT by the input signal V IN to generate a ratio, and uses the absolute value of the ratio as the actual gain gm r .

在本实施例中,滤波器电路10在原先设计的默认中心频率f0处具有目标增益gm0。可以理解的是,目标增益gm0即为滤波器电路10在原先设计的默认中心频率f0处所应当具有的最大增益值。举一个实际应用的例子来说,滤波器电路10被设计在300MHz(即默认中心频率f0)处的增益值为1.5(即目标增益gm0)。也就是说,当输入信号VIN的该频率为300MHz时,理想情况下输出信号VOUT在300MHz处的强度应为输入信号VIN的1.5倍。In this embodiment, the filter circuit 10 has a target gain gm 0 at the originally designed default center frequency f 0 . It can be understood that the target gain gm 0 is the maximum gain value that the filter circuit 10 should have at the originally designed default center frequency f 0 . As an example of practical application, the filter circuit 10 is designed to have a gain value of 1.5 (ie, the target gain gm 0 ) at 300 MHz (ie, the default center frequency f 0 ). That is, when the frequency of the input signal V IN is 300 MHz, the output signal V OUT should ideally be 1.5 times stronger than the input signal V IN at 300 MHz.

然而,受制程变化影响的滤波器电路10具有不同于默认中心频率f0的实际中心频率f1。也就是说,滤波器电路10的最大增益值变更为发生在实际中心频率f1处。此时,若将具有默认中心频率f0的输入信号VIN输入至滤波器电路10,处理器104所计算出的实际增益gmr将不会是滤波器电路10原先设计的最大增益值。以上述实际应用的例子来说,输出信号VOUT在300MHz处的强度将未达输入信号VIN的1.5倍,换言之,实际增益gmr小于1.5(即目标增益gm0)。However, the filter circuit 10 subject to process variation has an actual center frequency f 1 that is different from the default center frequency f 0 . That is, the maximum gain value change of the filter circuit 10 occurs at the actual center frequency f1. At this time, if the input signal V IN with the default center frequency f 0 is input to the filter circuit 10 , the actual gain gm r calculated by the processor 104 will not be the originally designed maximum gain value of the filter circuit 10 . Taking the above practical application example, the strength of the output signal V OUT at 300MHz will be less than 1.5 times that of the input signal V IN , in other words, the actual gain gm r is less than 1.5 (ie, the target gain gm 0 ).

在实际增益gmr计算出来之后,处理器104可用以比对实际增益gmr以及目标增益gm0,以得到比对结果。在理想情况下,处理器104通过比对实际增益gmr与目标增益gm0,得到在默认中心频率f0处的实际增益gmr等于目标增益gm0的结果。然而,若滤波器电路10受制程变化影响,处理器104通过比对实际增益gmr与目标增益gm0,将得到在默认中心频率f0处的实际增益gmr不等于目标增益gm0的结果。After the actual gain gm r is calculated, the processor 104 can compare the actual gain gm r with the target gain gm 0 to obtain a comparison result. Ideally, the processor 104 obtains a result that the actual gain gm r at the default center frequency f 0 is equal to the target gain gm 0 by comparing the actual gain gm r with the target gain gm 0 . However, if the filter circuit 10 is affected by process variations, the processor 104 will obtain the result that the actual gain gm r at the default center frequency f 0 is not equal to the target gain gm 0 by comparing the actual gain gm r with the target gain gm 0 .

据此,处理器104更可用以根据该比对结果判断是否要调整滤波器电路10的时间常数,以将滤波器电路10的频率响应校正至原先设计的数值。Accordingly, the processor 104 can further determine whether to adjust the time constant of the filter circuit 10 according to the comparison result, so as to correct the frequency response of the filter circuit 10 to the originally designed value.

具体而言,请参阅图2A,在本实施例中,滤波器电路10的频率响应(以虚线示意)受制程变化影响,使得实际中心频率f1小于默认中心频率f0。如图2A所示,处理器104比对实际增益gmr与目标增益gm0,并得到实际增益gmr小于目标增益gm0的结果。以上述实际应用的例子来说,实际中心频率f1可为小于300MHz的100MHz,而实际增益gmr可为小于1.5的0.75。当实际增益gmr小于目标增益gm0时,处理器104可用以调整滤波器电路10中至少一个电容(图中未示)的电容值(或者滤波器电路10中至少一个电阻(图中未示)的电阻值),以调整滤波器电路10的实际时间常数τ1,进而改变滤波器电路10的实际中心频率f1与实际增益gmrSpecifically, referring to FIG. 2A , in this embodiment, the frequency response of the filter circuit 10 (indicated by the dotted line) is affected by process variation, so that the actual center frequency f 1 is smaller than the default center frequency f 0 . As shown in FIG. 2A , the processor 104 compares the actual gain gm r with the target gain gm 0 , and obtains a result that the actual gain gm r is smaller than the target gain gm 0 . Taking the above practical application example as an example, the actual center frequency f 1 may be 100 MHz which is less than 300 MHz, and the actual gain gm r may be 0.75 which is less than 1.5. When the actual gain gm r is less than the target gain gm 0 , the processor 104 can be used to adjust the capacitance value of at least one capacitor (not shown in the figure) in the filter circuit 10 (or at least one resistor (not shown in the figure) in the filter circuit 10 ) to adjust the actual time constant τ 1 of the filter circuit 10 , thereby changing the actual center frequency f 1 and the actual gain gm r of the filter circuit 10 .

经过数次比对与调整后,实际增益gmr将愈来愈接近目标增益gm0。举例来说,处理器104可以数字的方式将该至少一个电容的电容值由64法拉(farad)开始依序调整为32法拉、16法拉、8法拉与4法拉。随着该至少一个电容的电容值逐渐变小,滤波器电路10的实际中心频率f1与实际增益gmr也会逐渐变大。以上述实际应用的例子来说,随着该至少一个电容的电容值逐渐变小,实际中心频率f1可从100MHz逐渐增加至300MHz,而在默认中心频率f0处的实际增益gmr可从0.75逐渐增加至1.5。After several comparisons and adjustments, the actual gain gm r will be closer and closer to the target gain gm 0 . For example, the processor 104 may digitally adjust the capacitance value of the at least one capacitor from 64 farads to 32 farads, 16 farads, 8 farads, and 4 farads in sequence. As the capacitance value of the at least one capacitor gradually decreases, the actual center frequency f 1 and the actual gain gm r of the filter circuit 10 also gradually increases. Taking the above practical application example, as the capacitance value of the at least one capacitor gradually decreases, the actual center frequency f 1 can be gradually increased from 100MHz to 300MHz, and the actual gain gm r at the default center frequency f 0 can be from 0.75 gradually increased to 1.5.

接着,请参阅图2B,当处理器104比对实际增益gmr与目标增益gm0,并得到实际增益gmr等于目标增益gm0的结果时,处理器104便不再调整滤波器电路10的实际时间常数τ1。此时,经过校正的滤波器电路10的实际时间常数τ1与实际中心频率f1刚好等同于原先设计时的预设时间常数τ0与默认中心频率f0。以上述实际应用的例子来说,在滤波器电路10经过校正后,实际中心频率f1可为300MHz,而在默认中心频率f0处的实际增益gmr可为1.5。值得注意的是,该至少一个电容的电容值即为受制程变化影响的滤波器电路10所需的设定值。Next, referring to FIG. 2B , when the processor 104 compares the actual gain gm r with the target gain gm 0 and obtains the result that the actual gain gm r is equal to the target gain gm 0 , the processor 104 no longer adjusts the filter circuit 10 The actual time constant τ 1 . At this time, the corrected actual time constant τ 1 and the actual center frequency f 1 of the filter circuit 10 are exactly equal to the preset time constant τ 0 and the default center frequency f 0 in the original design. Taking the above practical application example as an example, after the filter circuit 10 is calibrated, the actual center frequency f 1 may be 300 MHz, and the actual gain gm r at the default center frequency f 0 may be 1.5. It is worth noting that the capacitance value of the at least one capacitor is the set value required by the filter circuit 10 affected by process variations.

请参阅图3,在其他部分实施例中,滤波器电路10的频率响应(以虚线示意)受制程变化影响,使得实际中心频率f1大于默认中心频率f0。此时,处理器104比对实际增益gmr与目标增益gm0,仍得到实际增益gmr小于目标增益gm0的结果。以上述实际应用的例子来说,实际中心频率f1可为大于300MHz的500MHz,而实际增益gmr可为小于1.5的0.75。类似地,处理器104可以数字的方式将该至少一个电容的电容值逐渐调大(举例来说,由4法拉开始依序调整为8法拉、16法拉、32法拉与64法拉),使滤波器电路10的实际中心频率f1逐渐变小,且滤波器电路10的实际增益gmr逐渐变大。以上述实际应用的例子来说,随着该至少一个电容的电容值逐渐变大,实际中心频率f1可从500MHz逐渐减少至300MHz,而在默认中心频率f0处的实际增益gmr可从0.75逐渐增加至1.5。接着,当处理器104得到实际增益gmr等于目标增益gm0的结果(如图2B所示)时,处理器104便不再调整滤波器电路10的实际时间常数τ1。此时,该至少一个电容的电容值即为受制程变化影响的滤波器电路10所需的设定值。Referring to FIG. 3 , in other embodiments, the frequency response of the filter circuit 10 (indicated by a dotted line) is affected by process variations, so that the actual center frequency f 1 is greater than the default center frequency f 0 . At this time, the processor 104 compares the actual gain gm r with the target gain gm 0 , and still obtains the result that the actual gain gm r is smaller than the target gain gm 0 . Taking the above practical application example as an example, the actual center frequency f 1 may be 500 MHz which is greater than 300 MHz, and the actual gain gm r may be 0.75 which is less than 1.5. Similarly, the processor 104 can digitally increase the capacitance value of the at least one capacitor gradually (for example, from 4 Farads to 8 Farads, 16 Farads, 32 Farads, and 64 Farads in sequence), so that the filter The actual center frequency f 1 of the circuit 10 gradually becomes smaller, and the actual gain gm r of the filter circuit 10 gradually becomes larger. Taking the above practical application example, as the capacitance value of the at least one capacitor increases gradually, the actual center frequency f 1 can be gradually reduced from 500MHz to 300MHz, and the actual gain gm r at the default center frequency f 0 can be from 0.75 gradually increased to 1.5. Next, when the processor 104 obtains the result that the actual gain gm r is equal to the target gain gm 0 (as shown in FIG. 2B ), the processor 104 no longer adjusts the actual time constant τ 1 of the filter circuit 10 . At this time, the capacitance value of the at least one capacitor is the set value required by the filter circuit 10 affected by the process variation.

在其他部分实施例中,处理器104可通过数字算法(例如:二位搜寻算法)调整该至少一个电容的电容值。In some other embodiments, the processor 104 may adjust the capacitance value of the at least one capacitor through a digital algorithm (eg, a two-bit search algorithm).

请参阅图4,在其他部分实施例中,滤波器电路10可为复数带通滤波器(ComplexBandpass Filter)包括复数个放大器A、复数个电阻R以及复数个电容C。针对如图4所示的滤波器电路10,信号产生器102所产生的输入信号VIN包括第一差动输入信号(包含第一输入信号Iin +以及第二输入信号Iin -)以及第二差动输入信号(包含第三输入信号Qin +以及第四输入信号Qin -),其中,该第一差动输入信号的相位与该第二差动输入信号的相位相差90度。此外,滤波器电路10输出的输出信号VOUT包括第一差动输出信号(包含第一输出信号Iout +以及第二输出信号Iout -)以及第二差动输出信号(包含第三输出信号Qout +以及第四输出信号Qout -)。其中,校正装置100校正如图4所示的滤波器电路10的说明类似于上述实施例,所以不在此赘述。Referring to FIG. 4 , in other embodiments, the filter circuit 10 may be a complex bandpass filter including a plurality of amplifiers A, a plurality of resistors R and a plurality of capacitors C. For the filter circuit 10 shown in FIG. 4 , the input signal V IN generated by the signal generator 102 includes a first differential input signal (including the first input signal I in + and the second input signal I in ) and the first differential input signal Two differential input signals (including the third input signal Q in + and the fourth input signal Q in ), wherein the phase of the first differential input signal and the phase of the second differential input signal are different by 90 degrees. In addition, the output signal V OUT output by the filter circuit 10 includes the first differential output signal (including the first output signal I out + and the second output signal I out ) and the second differential output signal (including the third output signal) Q out + and the fourth output signal Q out ). The description of the calibration device 100 for calibrating the filter circuit 10 shown in FIG. 4 is similar to the above-mentioned embodiment, so it is not repeated here.

请参阅图5,其绘示本发明申请的其中一个实施例的校正方法200的流程图。校正方法200可以在如图1所示的校正装置100上执行。Please refer to FIG. 5 , which is a flowchart of a calibration method 200 according to one embodiment of the present application. The calibration method 200 may be performed on the calibration device 100 as shown in FIG. 1 .

在步骤S210中,提供输入信号VIN至受制程影响的滤波器电路10,其中,滤波器电路10具有实际时间常数τ1。在步骤S220中,接收来自滤波器电路10的输出信号VOUT。在步骤S230中,根据输入信号VIN与输出信号VOUT计算出实际增益gmrIn step S210, the input signal V IN is provided to the filter circuit 10 affected by the process, wherein the filter circuit 10 has an actual time constant τ 1 . In step S220, the output signal V OUT from the filter circuit 10 is received. In step S230, the actual gain gm r is calculated according to the input signal V IN and the output signal V OUT .

在步骤S240~S260中,比对实际增益gmr与目标增益gm0(即滤波器电路10在原先设计的默认中心频率f0处所具有的最大增益值),以得到比对结果,并根据该比对结果判断是否要调整滤波器电路10的实际时间常数τ1。具体而言,在步骤S240中,比对实际增益gmr是否等于目标增益gm0。若该比对结果显示为“否”,则进入步骤S250,调整滤波器电路10的实际时间常数τ1In steps S240-S260, the actual gain gm r is compared with the target gain gm 0 (that is, the maximum gain value of the filter circuit 10 at the originally designed default center frequency f 0 ) to obtain the comparison result, and according to the The comparison results determine whether the actual time constant τ 1 of the filter circuit 10 should be adjusted. Specifically, in step S240, it is compared whether the actual gain gm r is equal to the target gain gm 0 . If the comparison result shows "No", then go to step S250 to adjust the actual time constant τ 1 of the filter circuit 10 .

在调整过滤波器电路10的实际时间常数τ1后,程序回到步骤S210中,提供输入信号VIN至被调整过的滤波器电路10,以再次执行步骤S220~S240。简言之,只要在步骤S240中得到实际增益gmr不等于目标增益gm0的结果,就会进入步骤S250中调整滤波器电路10的实际时间常数τ1,并再次执行步骤S210~S240。After adjusting the actual time constant τ 1 of the filter circuit 10 , the procedure returns to step S210 to provide the input signal V IN to the adjusted filter circuit 10 to execute steps S220 - S240 again. In short, as long as it is obtained in step S240 that the actual gain gm r is not equal to the target gain gm 0 , the process proceeds to step S250 to adjust the actual time constant τ 1 of the filter circuit 10 , and steps S210 to S240 are performed again.

若步骤S240的该比对结果显示为“是”,则进入步骤S260,不调整滤波器电路10的实际时间常数τ1(此时的实际时间常数τ1等于滤波器电路10原先设计的默认时间常数τ0),并结束校正方法200。If the comparison result in step S240 shows "Yes", then go to step S260, do not adjust the actual time constant τ 1 of the filter circuit 10 (the actual time constant τ 1 at this time is equal to the default time originally designed by the filter circuit 10 ) constant τ 0 ), and the calibration method 200 ends.

综上,本发明申请的校正装置100以及校正方法200,通过直接比对滤波器电路10的实际增益gmr与目标增益gm0,对滤波器电路10进行调整,来补偿滤波器电路10中各种组件(例如:电阻、电容或运算放大器)因制程变化而产生的偏差。如此一来,滤波器电路10便可被校正回原先设计的设定值(即,默认中心频率f0、默认时间常数τ0与目标增益gm0),以利信号的解调。To sum up, the correction device 100 and the correction method 200 of the present invention adjust the filter circuit 10 by directly comparing the actual gain gm r of the filter circuit 10 with the target gain gm 0 to compensate for each of the filter circuits 10 . Variations due to process variations in components such as resistors, capacitors, or op amps. In this way, the filter circuit 10 can be corrected back to the originally designed setting values (ie, the default center frequency f 0 , the default time constant τ 0 and the target gain gm 0 ) to facilitate signal demodulation.

虽然本发明申请内容已通过具体实施方式公开如上,但是该多个实施例并非用以限定本发明申请内容,本领域普通技术人员在不脱离本发明申请内容的构思和范围,可依据本发明申请的明示或隐含的内容对本发明申请的技术方案作修改或调整,凡此种种变化均可能属于本发明申请所寻求的专利保护范畴,换言之,因此本发明申请内容的保护范围当视权利要求书所界定的范围为准。Although the application content of the present invention has been disclosed above through specific embodiments, the multiple embodiments are not intended to limit the application content of the present invention. Those of ordinary skill in the art can apply for the application according to the present invention without departing from the concept and scope of the application content of the present invention. Modifications or adjustments to the technical solutions of the present application, all such changes may belong to the scope of patent protection sought by the present application. The defined range shall prevail.

Claims (10)

1. A calibration device, characterized in that the calibration device comprises:
a signal generator for providing an input signal to a filter circuit, wherein the filter circuit has an actual time constant and is configured to receive the input signal to output an output signal; and
and the processor is used for calculating actual gain according to the output signal and the input signal, comparing the actual gain with a target gain to obtain a comparison result, and judging whether to adjust the actual time constant of the filter circuit according to the comparison result.
2. The calibration apparatus of claim 1, wherein the processor adjusts the actual time constant of the filter circuit to adjust the actual gain when the comparison shows that the actual gain is not equal to the target gain.
3. The correction device of claim 2, wherein the processor adjusts the capacitance value of at least one capacitor in the filter circuit or the resistance value of at least one resistor in the filter circuit by a digital algorithm to adjust the actual time constant of the filter circuit.
4. The calibration apparatus of claim 1, wherein the processor does not adjust the actual time constant of the filter circuit when the comparison result indicates that the actual gain is equal to the target gain.
5. The correction apparatus as claimed in claim 4, wherein said filter circuit is designed to have a preset time constant and a default center frequency, and to have said target gain at said default center frequency;
when the comparison result shows that the actual gain is equal to the target gain, the actual time constant of the filter circuit is equal to the preset time constant, and the frequency of the input signal is equal to the default center frequency of the filter circuit.
6. A correction method, characterized in that the correction method comprises:
providing an input signal to a filter circuit, wherein the filter circuit has an actual time constant;
receiving an output signal from the filter circuit;
calculating an actual gain according to the output signal and the input signal;
comparing the actual gain with the target gain to obtain a comparison result; and
and judging whether to adjust the actual time constant of the filter circuit according to the comparison result.
7. The calibration method of claim 6, wherein determining whether to adjust the actual time constant of the filter circuit according to the comparison comprises:
and when the comparison result shows that the actual gain is not equal to the target gain, adjusting the actual time constant of the filter circuit to adjust the actual gain.
8. The correction method of claim 7, wherein adjusting the actual time constant of the filter circuit comprises:
adjusting a capacitance value of at least one capacitor in the filter circuit or a resistance value of at least one resistor in the filter circuit by a digital algorithm.
9. The calibration method of claim 6, wherein determining whether to adjust the actual time constant of the filter circuit according to the comparison comprises:
and when the comparison result shows that the actual gain is equal to the target gain, not adjusting the actual time constant of the filter circuit.
10. The correction method of claim 9, wherein the filter circuit is designed to have a preset time constant and a default center frequency, and to have the target gain at the default center frequency;
when the comparison result shows that the actual gain is equal to the target gain, the actual time constant of the filter circuit is equal to the preset time constant, and the frequency of the input signal is equal to the default center frequency of the filter circuit.
CN202011280443.2A 2020-11-16 2020-11-16 Correction device and method Pending CN114513191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011280443.2A CN114513191A (en) 2020-11-16 2020-11-16 Correction device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011280443.2A CN114513191A (en) 2020-11-16 2020-11-16 Correction device and method

Publications (1)

Publication Number Publication Date
CN114513191A true CN114513191A (en) 2022-05-17

Family

ID=81546103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011280443.2A Pending CN114513191A (en) 2020-11-16 2020-11-16 Correction device and method

Country Status (1)

Country Link
CN (1) CN114513191A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060245132A1 (en) * 2005-04-28 2006-11-02 Kabushiki Kaisha Toshiba Time constant automatic adjusting circuit, filter circuit system, and method of automatically adjusting time constant
CN101242164A (en) * 2007-02-08 2008-08-13 联发科技(新加坡)私人有限公司 Method and apparatus for tuning an active filter
US7761067B1 (en) * 2003-05-15 2010-07-20 Marvell International Ltd. Iterative filter circuit calibration
CN102095904A (en) * 2009-09-30 2011-06-15 特克特朗尼克公司 Signal acquisition system having a compensation digital filter
CN102244503A (en) * 2010-05-11 2011-11-16 台湾积体电路制造股份有限公司 Method, apparatus and circuit for correcting resistor-capacitor filter
US20140266440A1 (en) * 2013-03-15 2014-09-18 Megachips Corporation Offset cancellation with minimum noise impact and gain-bandwidth degradation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761067B1 (en) * 2003-05-15 2010-07-20 Marvell International Ltd. Iterative filter circuit calibration
US20060245132A1 (en) * 2005-04-28 2006-11-02 Kabushiki Kaisha Toshiba Time constant automatic adjusting circuit, filter circuit system, and method of automatically adjusting time constant
CN101242164A (en) * 2007-02-08 2008-08-13 联发科技(新加坡)私人有限公司 Method and apparatus for tuning an active filter
CN102095904A (en) * 2009-09-30 2011-06-15 特克特朗尼克公司 Signal acquisition system having a compensation digital filter
CN102244503A (en) * 2010-05-11 2011-11-16 台湾积体电路制造股份有限公司 Method, apparatus and circuit for correcting resistor-capacitor filter
US20140266440A1 (en) * 2013-03-15 2014-09-18 Megachips Corporation Offset cancellation with minimum noise impact and gain-bandwidth degradation

Similar Documents

Publication Publication Date Title
US7738904B1 (en) Systems and methods for calibrating power regulated communication circuitry
US7932844B1 (en) Circuits and methods for calibrating a frequency response of a filter
US10425062B2 (en) Polyphase filter and filter circuit
CN101534131B (en) Calibration circuit and corresponding method
CN1289479A (en) Apparatus and methods for tuning bandpass filters
KR100459714B1 (en) DC offset compensation circuit and method of closed loop operational amplifier
US6646498B2 (en) High frequency tunable filter
CN108667438B (en) Bandwidth Compensable Electronic Device and Related Method
CN101124721A (en) Digital Time Constant Tracking Technology and Device
CN114513191A (en) Correction device and method
TW202114349A (en) Adjusting system and adjusting method thereof for equalization processing
CN117931539B (en) Batch trimming chip configuration seeking method and device
TWI788728B (en) Calibration device and method
CN111865238A (en) Gain stage with offset cancellation circuit for fixed high pass pole
CN113098402B (en) Low-power-consumption band-pass amplifying circuit with self-calibration center frequency
US6587017B1 (en) Method and apparatus for calibrated phase-shift networks
TW202010250A (en) Matching network circuit with tunable impedance and tuning method thereof
WO2014120457A1 (en) Tuning circuitry and method for active filters
TWI763174B (en) Parameter correction method and semiconductor device utilizing the same
US12445093B2 (en) Switched capacitor amplifying apparatus and method having gain adjustment mechanism
CN114650013B (en) Parameter correction method and semiconductor device
US10097140B1 (en) Method and system for amplifier calibration
US20220407475A1 (en) Switched capacitor amplifying apparatus and method having gain adjustment mechanism
JP6723476B2 (en) Variable gain amplifier
CN118264214A (en) Multiple gain stage circuit and related correction method

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