[go: up one dir, main page]

CN114826177A - Analog front-end circuit capable of dynamically adjusting gain - Google Patents

Analog front-end circuit capable of dynamically adjusting gain Download PDF

Info

Publication number
CN114826177A
CN114826177A CN202110087116.3A CN202110087116A CN114826177A CN 114826177 A CN114826177 A CN 114826177A CN 202110087116 A CN202110087116 A CN 202110087116A CN 114826177 A CN114826177 A CN 114826177A
Authority
CN
China
Prior art keywords
gain
circuit
fine
adjustment
coarse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110087116.3A
Other languages
Chinese (zh)
Other versions
CN114826177B (en
Inventor
吴健铭
曾崇铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202110087116.3A priority Critical patent/CN114826177B/en
Publication of CN114826177A publication Critical patent/CN114826177A/en
Application granted granted Critical
Publication of CN114826177B publication Critical patent/CN114826177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Abstract

An analog front end circuit capable of dynamically adjusting gain comprises a programmable gain amplifier circuit, a plurality of sensors, a calculation circuit, a gain coarse control circuit, a gain fine control circuit and an analog-digital converter. The programmable gain amplifier circuit includes an amplifier, a coarse gain adjustment circuit, and a fine gain adjustment circuit. The gain coarse adjustment circuit is controlled by the coarse control signal and adjusts the gain at a coarse pitch based on the initial gain. The gain fine adjustment circuit is controlled by a fine control signal in a data mode to adjust the gain at a fine pitch. The calculating circuit calculates a primary gain adjustment amount and a secondary gain adjustment amount. The coarse gain control circuit generates a coarse control signal according to the primary gain adjustment amount, and the fine gain control circuit generates a fine control signal according to the secondary gain adjustment amount.

Description

可动态调整增益的模拟前端电路Analog front-end circuit with dynamically adjustable gain

技术领域technical field

本发明涉及一种模拟前端电路,特别是涉及一种可避免动态调整增益时造成的SNR剧烈变化的可动态调整增益的模拟前端电路。The present invention relates to an analog front-end circuit, in particular to an analog front-end circuit with dynamically adjustable gain which can avoid the drastic change of SNR caused by dynamically adjusting the gain.

背景技术Background technique

在现有的模拟前端(Analog Front-End,AFE)系统中,在接收到输入信号后,会对输入信号进行放大或缩小,以使信号的信噪比(Signal-Noise Ratio,SNR)最佳化,同时亦会避免输出信号产生截波(clipping)或饱和(saturation)现象。In the existing analog front-end (AFE) system, after receiving the input signal, the input signal is amplified or reduced to make the signal-to-noise ratio (SNR) optimal. It also avoids clipping or saturation of the output signal.

当在AFE系统在交握(Hand-shake)模式下依据信号大小决定了初始增益后,即固定以初始增益放大输入信号。此时,若AFE系统受到温度飘移影响,导致信号强度改变,进而可能影响整个AFE系统的SNR最佳化,更甚至使输出信号产生截波或饱和现象,导致AFE系统的SNR急遽下降。若以通信系统来举例,则可能造成封包遗失。When the initial gain is determined according to the signal size in the hand-shake mode of the AFE system, the input signal is fixed at the initial gain to amplify. At this time, if the AFE system is affected by temperature drift, the signal strength will change, which may affect the SNR optimization of the entire AFE system, and even cause clipping or saturation of the output signal, resulting in a sharp drop in the SNR of the AFE system. Taking a communication system as an example, it may cause packet loss.

然而,若在正常运行下任意调整AFE系统的增益,在增益的转换过程中,将产生各种暂态响应而使得SNR会瞬间变化。对通信系统而言,则是造成立即的封包遗失。虽然在AFE系统稳定后可完成SNR最佳化,然而,切换增益导致的暂态响应早已造成无可弥补的封包遗失,且若持续动态调整系统增益,则会持续造成封包遗失。However, if the gain of the AFE system is adjusted arbitrarily under normal operation, various transient responses will be generated during the gain conversion process, and the SNR will change instantaneously. For communication systems, it results in immediate packet loss. Although the SNR optimization can be completed after the AFE system is stabilized, the transient response caused by switching the gain has already caused irreparable packet loss, and if the system gain is continuously adjusted dynamically, it will continue to cause packet loss.

因此,如何改良增益调整机制,来避免动态调整增益时造成的系统SNR剧烈变化,并克服上述的缺陷,已成为该项事业所欲解决的重要课题之一。Therefore, how to improve the gain adjustment mechanism to avoid the drastic change of the system SNR when the gain is dynamically adjusted, and to overcome the above-mentioned defects, has become one of the important issues to be solved by this project.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题在于,针对现有技术的不足提供一种可避免动态调整增益时造成的SNR剧烈变化的可动态调整增益的模拟前端电路。The technical problem to be solved by the present invention is to provide an analog front-end circuit with dynamically adjustable gain, which can avoid the sharp change of SNR caused by dynamically adjusting the gain, aiming at the deficiencies of the prior art.

为了解决上述的技术问题,本发明所采用的其中一技术方案是提供一种可动态调整增益的模拟前端电路,适用于从一信号源接收一输入信号,该模拟前端电路包括可编程增益放大器电路、多个感测器、计算电路、增益粗略控制电路、增益精细控制电路及模拟数字转换器。一可编程增益放大器电路,包括放大器、增益粗略调整电路及增益精细调整电路。放大器用于接收并放大该输入信号。增益粗略调整电路连接于该放大器,经配置以由一粗略控制信号控制,依据在一交握模式下决定的一初始增益,以一粗略级距调整该可编程增益放大器电路的增益。增益精细调整电路连接于该放大器,经配置以在该交握模式结束后的一数据模式中,由一精细控制信号控制,以一精细级距调整该可编程增益放大器电路的该增益。多个感测器经配置以在该数据模式中,分别进行感测以产生多个感测信号。计算电路连接于所述感测器,经配置以依据在该初始增益计算一主要增益调整量,以及依据所述感测信号计算一次要增益调整量。增益粗略控制电路经配置以依据该主要增益调整量产生该粗略控制信号。增益精细控制电路经配置以依据该次要增益调整量产生该精细控制信号。模拟数字转换器,经配置以将经放大的该输入信号模拟数字转换后以产生一输出信号。其中,该粗略级距是在一粗略调整范围内,该精细级距是在一精细调整范围内,且该粗略调整范围大于该精细调整范围。In order to solve the above-mentioned technical problems, one of the technical solutions adopted by the present invention is to provide an analog front-end circuit with dynamically adjustable gain, which is suitable for receiving an input signal from a signal source, and the analog front-end circuit includes a programmable gain amplifier circuit , a plurality of sensors, a calculation circuit, a coarse gain control circuit, a fine gain control circuit, and an analog-to-digital converter. A programmable gain amplifier circuit includes an amplifier, a coarse gain adjustment circuit and a gain fine adjustment circuit. An amplifier is used to receive and amplify the input signal. The gain coarse adjustment circuit is connected to the amplifier and is configured to be controlled by a coarse control signal to adjust the gain of the programmable gain amplifier circuit by a coarse step according to an initial gain determined in a handshake mode. The gain fine adjustment circuit is connected to the amplifier and is configured to adjust the gain of the programmable gain amplifier circuit in a fine step by a fine control signal in a data mode after the handshake mode ends. The plurality of sensors are configured to sense, respectively, to generate a plurality of sensing signals in the data mode. The calculation circuit is connected to the sensor and configured to calculate a primary gain adjustment according to the initial gain, and to calculate a secondary gain adjustment according to the sensing signal. The gain coarse control circuit is configured to generate the coarse control signal according to the main gain adjustment amount. The gain fine control circuit is configured to generate the fine control signal according to the secondary gain adjustment amount. An analog-to-digital converter configured to convert the amplified input signal from analog to digital to generate an output signal. Wherein, the coarse level distance is within a rough adjustment range, the fine level distance is within a fine adjustment range, and the rough adjustment range is larger than the fine adjustment range.

本发明的其中一有益效果在于,本发明所提供的模拟前端电路,当系统因温度漂移而有些微变动时,计算电路可依据温度变化计算次要增益调整量,进而可通过增益精细调整电路来进行调整,并控制其调整速度,可在解决温度飘移问题的同时,大幅减少系统瞬态下的负担。One of the beneficial effects of the present invention is that, in the analog front-end circuit provided by the present invention, when the system slightly changes due to temperature drift, the calculation circuit can calculate the secondary gain adjustment amount according to the temperature change, and then the gain fine adjustment circuit can be used to adjust Tuning, and controlling its tuning speed, can significantly reduce the burden on the system during transients while addressing temperature drift.

更进一步来说,在本发明所提供的模拟前端电路中,通过增益精细控制电路随着系统状态变化调整增益时,以不同于增益粗略控制电路的编码方式进行增益切换,可限制在较小的范围进行调整,进而在动态调整增益时降低系统SNR剧烈变化的可能性。Furthermore, in the analog front-end circuit provided by the present invention, when the gain is adjusted by the fine gain control circuit with the change of the system state, the gain switching is performed in a coding manner different from the coarse gain control circuit, which can be limited to a smaller value. range to reduce the likelihood of dramatic changes in the system SNR when dynamically adjusting the gain.

为使能更进一步了解本发明的特征及技术内容,请参阅以下有关本发明的详细说明与附图,然而所提供的附图仅用于提供参考与说明,并非用来对本发明加以限制。For further understanding of the features and technical content of the present invention, please refer to the following detailed description and accompanying drawings of the present invention. However, the accompanying drawings are only for reference and description, not for limiting the present invention.

附图说明Description of drawings

图1为本发明实施例的模拟前端电路的功能方框图。FIG. 1 is a functional block diagram of an analog front-end circuit according to an embodiment of the present invention.

图2至图5分别为根据本发明实施例的可编程增益放大器电路的第一至第四电路布局图。2 to 5 are respectively first to fourth circuit layout diagrams of a programmable gain amplifier circuit according to an embodiment of the present invention.

图6为根据本发明实施例的增益精细控制电路与增益精细调整电路之间的细节方框示意图。FIG. 6 is a detailed block diagram between the gain fine control circuit and the gain fine adjustment circuit according to an embodiment of the present invention.

符号说明Symbol Description

1:模拟前端电路1: Analog front-end circuit

10:可编程增益放大器电路10: Programmable gain amplifier circuit

12:计算电路12: Computational circuits

14:增益粗略控制电路14: Gain rough control circuit

16:增益精细控制电路16: Gain fine control circuit

18:模拟数字转换器18: Analog to Digital Converter

20:去噪声电路20: Denoising circuit

22:开关驱动器22: Switch driver

100:放大器100: Amplifier

102:增益粗略调整电路102: Gain rough adjustment circuit

104:增益精细调整电路104: Gain fine adjustment circuit

11-1、11-2、…11-n:感测器11-1, 11-2, ... 11-n: Sensors

CH:高通电容CH: high pass capacitor

CL:低通电容CL: low pass capacitance

Cv1:第一可变电容电路Cv1: first variable capacitance circuit

Cv2:第二可变电容电路Cv2: Second Variable Capacitance Circuit

Gi:初始增益Gi: initial gain

Gp:主要增益调整量Gp: main gain adjustment amount

Gs:次要增益调整量Gs: Secondary gain adjustment amount

HPF:高通滤波器HPF: high pass filter

LPF:低通滤波器LPF: Low Pass Filter

RH:高通电阻RH: high pass resistance

RL:低通电阻RL: low pass resistance

Rv1:第一可变电阻电路Rv1: first variable resistance circuit

Rv2:第二可变电阻电路Rv2: Second variable resistance circuit

Rv3:第三可变电阻电路Rv3: Third variable resistance circuit

Rv4:第四可变电阻电路Rv4: Fourth variable resistance circuit

S01、S02、…S0n:感测信号S01, S02,...S0n: Sensing signal

S1:粗略控制信号S1: Coarse control signal

S2:精细控制信号S2: Fine control signal

S21、S22:控制信号S21, S22: control signal

Sin:输入信号Sin: input signal

Sin':经放大的输入信号Sin': Amplified input signal

Sout:输出信号Sout: output signal

Ss:信号源Ss: signal source

具体实施方式Detailed ways

以下是通过特定的具体实施例来说明本发明所公开有关“可动态调整增益的模拟前端电路”的实施方式,本领域技术人员可由本说明书所公开的内容了解本发明的优点与效果。本发明可通过其他不同的具体实施例加以施行或应用,本说明书中的各项细节也可基于不同观点与应用,在不背离本发明的构思下进行各种修改与变更。另外,本发明的附图仅为简单示意说明,并非依实际尺寸的描绘,事先声明。以下的实施方式将进一步详细说明本发明的相关技术内容,但所公开的内容并非用以限制本发明的保护范围。另外,本文中所使用的术语“或”,应视实际情况可能包括相关联的列出项目中的任一个或者多个的组合。The following is a specific embodiment to illustrate the implementation of the "analog front-end circuit with dynamically adjustable gain" disclosed in the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are merely schematic illustrations, and are not drawn according to the actual size, and are stated in advance. The following embodiments will further describe the related technical contents of the present invention in detail, but the disclosed contents are not intended to limit the protection scope of the present invention. In addition, the term "or", as used herein, should include any one or a combination of more of the associated listed items, as the case may be.

参阅图1所示,本发明实施例提供一种可动态调整增益的模拟前端电路1,适用于从一信号源Ss接收一输入信号Sin,该模拟前端电路包括可编程增益放大器电路10、多个感测器11-1、11-2、…11-n、计算电路12、增益粗略控制电路14、增益精细控制电路16及模拟数字转换器18。Referring to FIG. 1, an embodiment of the present invention provides an analog front-end circuit 1 with dynamically adjustable gain, which is suitable for receiving an input signal Sin from a signal source Ss. The analog front-end circuit includes a programmable gain amplifier circuit 10, a plurality of Sensors 11 - 1 , 11 - 2 , . . . 11 - n , a calculation circuit 12 , a coarse gain control circuit 14 , a fine gain control circuit 16 , and an analog-to-digital converter 18 .

可编程增益放大器(Programmable Gain Amplifier,PGA)电路10为一种具有高通用性的放大器,其放大倍数可以根据需要进行控制。可编程增益放大器电路10包括放大器100、增益粗略调整电路102及增益精细调整电路104。The programmable gain amplifier (Programmable Gain Amplifier, PGA) circuit 10 is an amplifier with high versatility, and its amplification factor can be controlled as required. The programmable gain amplifier circuit 10 includes an amplifier 100 , a gain coarse adjustment circuit 102 and a gain fine adjustment circuit 104 .

放大器100可用于接收并放大输入信号Sin,可例如为运算放大器。增益粗略调整电路102连接于放大器100,经配置以由粗略控制信号S1控制,依据在交握(Hand-shaking)模式下决定的初始增益Gi,以粗略级距调整可编程增益放大器电路10的增益。The amplifier 100 may be used to receive and amplify the input signal Sin, and may be, for example, an operational amplifier. The gain rough adjustment circuit 102 is connected to the amplifier 100 and is configured to be controlled by the rough control signal S1 to adjust the gain of the programmable gain amplifier circuit 10 in rough steps according to the initial gain Gi determined in the hand-shaking mode .

另一方面,增益精细调整电路104连接于放大器100,经配置以在交握(Hand-shaking)模式结束后的数据模式(Data mode)中,由精细控制信号S2所控制,以精细级距调整可编程增益放大器电路10的增益。On the other hand, the gain fine adjustment circuit 104 is connected to the amplifier 100, and is configured to be controlled by the fine control signal S2 in the data mode after the hand-shaking mode is ended, and adjusted with fine pitch The gain of the programmable gain amplifier circuit 10.

举例而言,包括可编程增益放大器电路10的电子装置可与包括信号源Ss的电子装置预先进行交握(Hand-shaking)模式,通过检测彼此的信号大小,进而决定所要使用的初始增益,并据此进入数据模式以传输数据。For example, the electronic device including the programmable gain amplifier circuit 10 and the electronic device including the signal source Ss can perform a hand-shaking mode in advance, and determine the initial gain to be used by detecting the magnitudes of the signals of each other, and Enter data mode accordingly to transfer data.

然而,若AFE系统的状态改变,例如,受到温度飘移影响,导致信号强度改变,此时,本发明通过配置多个感测器11-1、11-2、…11-n,以在数据模式中分别进行感测,并依据感测结果产生多个感测信号S01、S02、…S0n。举例而言,感测器11-1、11-2、…11-n可包括一温度感测器,用以感测系统温度。However, if the state of the AFE system changes, for example, is affected by temperature drift, resulting in a change in signal strength, at this time, the present invention configures the plurality of sensors 11-1, 11-2, . . . 11-n to operate in the data mode Sensing is performed respectively in the above-mentioned, and a plurality of sensing signals S01 , S02 , . . . S0n are generated according to the sensing results. For example, the sensors 11-1, 11-2, . . . 11-n may include a temperature sensor for sensing the system temperature.

计算电路12连接于感测器11-1、11-2、…11-n,经配置以依据初始增益Gi计算主要增益调整量Gp,以及依据感测信号S01、S02、…S0n计算次要增益调整量Gs。详细而言,本发明的增益粗略调整电路102及增益精细调整电路104都具有增益调整机制,不同之处在于,增益粗略调整电路102负担大部分的增益范围,增益精细调整电路104则是负责小部分的增益范围。换言之,粗略级距可在一粗略调整范围内,精细级距可在精细调整范围内,且粗略调整范围大于精细调整范围。因此,当系统因温度漂移而有些微变动时,计算电路12可依据温度变化计算次要增益调整量Gs,进而可通过增益精细调整电路104来进行调整,并控制其调整速度,可在解决温度飘移问题的同时,大幅减少系统瞬态下的负担。The calculation circuit 12 is connected to the sensors 11-1, 11-2, ... 11-n, and is configured to calculate the primary gain adjustment amount Gp according to the initial gain Gi, and calculate the secondary gain according to the sensing signals S01, S02, ... S0n Adjustment amount Gs. In detail, both the gain coarse adjustment circuit 102 and the gain fine adjustment circuit 104 of the present invention have a gain adjustment mechanism. part of the gain range. In other words, the coarse gradation can be within a coarse adjustment range, the fine gradation can be within the fine adjustment range, and the coarse adjustment range is larger than the fine adjustment range. Therefore, when the system slightly changes due to temperature drift, the calculation circuit 12 can calculate the secondary gain adjustment amount Gs according to the temperature change, and then can adjust the gain fine adjustment circuit 104 and control the adjustment speed, which can solve the temperature problem. While eliminating the drift problem, the burden of the system under transient conditions is greatly reduced.

续言之,增益粗略控制电路14经配置以依据主要增益调整量Gp产生粗略控制信号S1,增益精细控制电路则经配置以依据次要增益调整量Gs产生精细控制信号S2,进而使可编程增益放大器电路10输出经放大的输入信号Sin’。Continuing, the gain coarse control circuit 14 is configured to generate the coarse control signal S1 according to the primary gain adjustment amount Gp, and the gain fine control circuit is configured to generate the fine control signal S2 according to the secondary gain adjustment amount Gs, thereby enabling the programmable gain The amplifier circuit 10 outputs the amplified input signal Sin'.

模拟数字转换器18则将经放大的输入信号Sin’进行模拟数字转换后,以产生输出信号Sout。The analog-to-digital converter 18 performs analog-to-digital conversion on the amplified input signal Sin' to generate an output signal Sout.

可进一步参考图2至图5,其分别为根据本发明实施例的可编程增益放大器电路的第一至第四电路布局图。如图2所示,可编程增益放大器电路10可进一步包括低通滤波器LPF及高通滤波器HPF。低通滤波器连接于放大器100的第一输入端(例如图2所示的负输入端)及输出端之间,高通滤波器HPF连接于放大器100的第一输入端(例如图2所示的负输入端)。放大器100的第二输入端(例如图2所示的正输入端)则是接地。Further reference may be made to FIG. 2 to FIG. 5 , which are respectively first to fourth circuit layout diagrams of a programmable gain amplifier circuit according to an embodiment of the present invention. As shown in FIG. 2, the programmable gain amplifier circuit 10 may further include a low pass filter LPF and a high pass filter HPF. The low-pass filter is connected between the first input terminal (eg, the negative input terminal shown in FIG. 2 ) and the output terminal of the amplifier 100 , and the high-pass filter HPF is connected to the first input terminal of the amplifier 100 (eg, the negative input terminal shown in FIG. 2 ) negative input). The second input terminal (eg, the positive input terminal shown in FIG. 2 ) of the amplifier 100 is grounded.

在图2的实施例中,低通滤波器LPF可包括第一可变电阻电路Rv1、第二可变电阻电路Rv2及低通电容CL,高通滤波器HPF则包括高通电阻RH及高通电容CH。需要说明的是,增益粗略调整电路102可为低通滤波器LPF中的第一可变电阻电路Rv1,增益精细调整电路104为低通滤波器LPF中的第二可变电阻电路Rv2,且第一可变电阻电路Rv1及第二可变电阻电路Rv2分别由前述的粗略控制信号S1及精细控制信号S2所控制,且第一可变电阻电路Rv1及第二可变电阻电路Rv2为串联的。因此,通过精细控制信号S2控制第二可变电阻电路Rv2的电阻值,可控制位于放大器100的负反馈路径上的低通滤波器LPF的电阻值,借此调整可编程增益放大器电路10的增益。In the embodiment of FIG. 2 , the low-pass filter LPF may include a first variable resistance circuit Rv1 , a second variable resistance circuit Rv2 and a low-pass capacitor CL, and the high-pass filter HPF may include a high-pass resistor RH and a high-pass capacitor CH. It should be noted that the gain coarse adjustment circuit 102 may be the first variable resistance circuit Rv1 in the low-pass filter LPF, the gain fine adjustment circuit 104 may be the second variable resistance circuit Rv2 in the low-pass filter LPF, and the first variable resistance circuit Rv2 in the low-pass filter LPF. A variable resistance circuit Rv1 and a second variable resistance circuit Rv2 are controlled by the aforementioned coarse control signal S1 and fine control signal S2 respectively, and the first variable resistance circuit Rv1 and the second variable resistance circuit Rv2 are connected in series. Therefore, by controlling the resistance value of the second variable resistance circuit Rv2 by the fine control signal S2, the resistance value of the low-pass filter LPF on the negative feedback path of the amplifier 100 can be controlled, thereby adjusting the gain of the programmable gain amplifier circuit 10 .

在图3的实施例中,可编程增益放大器电路10的架构基本上与图2所示的相同,不同之处在于第一可变电阻电路Rv1及第二可变电阻电路Rv2为并联的。因此,通过精细控制信号S2控制第二可变电阻电路Rv2的电阻值,可控制位于放大器100的负反馈路径上的低通滤波器LPF的电阻值,借此调整可编程增益放大器电路10的增益。In the embodiment of FIG. 3 , the structure of the programmable gain amplifier circuit 10 is basically the same as that shown in FIG. 2 , except that the first variable resistance circuit Rv1 and the second variable resistance circuit Rv2 are connected in parallel. Therefore, by controlling the resistance value of the second variable resistance circuit Rv2 by the fine control signal S2, the resistance value of the low-pass filter LPF on the negative feedback path of the amplifier 100 can be controlled, thereby adjusting the gain of the programmable gain amplifier circuit 10 .

如图4所示,可编程增益放大器电路10亦包括低通滤波器LPF及高通滤波器HPF。低通滤波器连接于放大器100的第一输入端(例如图2所示的负输入端)及输出端之间,高通滤波器HPF连接于放大器100的第一输入端(例如图2所示的负输入端)。As shown in FIG. 4 , the programmable gain amplifier circuit 10 also includes a low-pass filter LPF and a high-pass filter HPF. The low-pass filter is connected between the first input terminal (eg, the negative input terminal shown in FIG. 2 ) and the output terminal of the amplifier 100 , and the high-pass filter HPF is connected to the first input terminal of the amplifier 100 (eg, the negative input terminal shown in FIG. 2 ) negative input).

在图4的实施例中,低通滤波器LPF可包括低通电阻RL及低通电容CL,高通滤波器HPF则包括第一可变电容电路Cv1、第二可变电容电路Cv2及高通电阻RH。需要说明的是,增益粗略调整电路102可为高通滤波器HPF中的第一可变电容电路Cv1,增益精细调整电路104可为高通滤波器HPF中的第二可变电容电路Cv2,且第一可变电容电路Cv1及第二可变电容电路Cv2分别由前述的粗略控制信号S1及精细控制信号S2所控制。因此,通过精细控制信号S2可控制放大器100的高通滤波器HPF的电容值,借此调整可编程增益放大器电路10的增益。In the embodiment of FIG. 4 , the low-pass filter LPF may include a low-pass resistor RL and a low-pass capacitor CL, and the high-pass filter HPF may include a first variable capacitor circuit Cv1 , a second variable capacitor circuit Cv2 and a high-pass resistor RH . It should be noted that the gain coarse adjustment circuit 102 may be the first variable capacitance circuit Cv1 in the high-pass filter HPF, the gain fine adjustment circuit 104 may be the second variable capacitance circuit Cv2 in the high-pass filter HPF, and the first The variable capacitance circuit Cv1 and the second variable capacitance circuit Cv2 are controlled by the aforementioned coarse control signal S1 and fine control signal S2, respectively. Therefore, the capacitance value of the high-pass filter HPF of the amplifier 100 can be controlled by the fine control signal S2 , thereby adjusting the gain of the programmable gain amplifier circuit 10 .

在图5的实施例中,可编程增益放大器电路10的架构基本上与图4所示的相同,不同之处在于高通滤波器HPF包括第三可变电阻电路Rv3、第四可变电阻电路Rv4及高通电容CH。在此实施例中,增益粗略调整电路102为高通滤波器HPF中的第三可变电阻电路Rv3,增益精细调整电路104为高通滤波器HPF的第四可变电阻电路Rv4。In the embodiment of FIG. 5 , the structure of the programmable gain amplifier circuit 10 is basically the same as that shown in FIG. 4 , except that the high-pass filter HPF includes a third variable resistance circuit Rv3 and a fourth variable resistance circuit Rv4 and high-pass capacitor CH. In this embodiment, the gain coarse adjustment circuit 102 is the third variable resistance circuit Rv3 in the high-pass filter HPF, and the gain fine adjustment circuit 104 is the fourth variable resistance circuit Rv4 in the high-pass filter HPF.

需要说明的是,上述作为增益粗略调整电路102及增益精细调整电路104的可变电阻电路及可变电容电路可包括多个开关元件,借此切换可变电阻电路的整体电阻值或可变电容电路的整体电容值,且这些开关元件是可以二进位制来进行控制的。It should be noted that the above-mentioned variable resistance circuit and variable capacitance circuit as the gain coarse adjustment circuit 102 and the gain fine adjustment circuit 104 may include a plurality of switching elements, thereby switching the overall resistance value of the variable resistance circuit or the variable capacitance The overall capacitance value of the circuit, and these switching elements can be controlled in a binary system.

举例来说,当增益粗略控制电路14及增益精细控制电路16均采用二进位制来产生粗略控制信号S1及精细控制信号S2时,以图4调整高通滤波器HPF的电容值来举例,将所要切换的电容值比例排列如下:For example, when the gain coarse control circuit 14 and the gain fine control circuit 16 both use the binary system to generate the coarse control signal S1 and the fine control signal S2, take the example of adjusting the capacitance value of the high-pass filter HPF in FIG. The switched capacitor values are scaled as follows:

设定增益粗略控制电路14可切换5B,对应于512:256:128:64:32;The set gain rough control circuit 14 can switch 5B, corresponding to 512:256:128:64:32;

设定增益精细控制电路16可切换6b,对应于64:32:16:8:4:2;The set gain fine control circuit 16 can switch 6b, corresponding to 64:32:16:8:4:2;

因此,增益粗略控制电路14总共可切换电容值为:Therefore, the total switchable capacitance value of the gain rough control circuit 14 is:

512+256+128+64+32=992,亦即,992个单元。512+256+128+64+32=992, that is, 992 cells.

另一方面,增益精细控制电路16总共可切换电容值为:On the other hand, the total switchable capacitance values of the gain fine control circuit 16 are:

64+32+16+8+4+2=126,亦即,126个单元。64+32+16+8+4+2=126, that is, 126 cells.

因此,前述的粗略调整范围即是992个单元,而粗略级距则在992个单元内,另一方面,精细级距则在精细调整范围,亦即,126个单元内,且粗略调整范围(992)大于精细调整范围(126)。当切换时,增益精细控制电路16瞬间最大可切换的精细级距(即是可切换的电容量)可由011111切换至100000,一共可切换126个单元。因此,由于以增益精细控制电路16随着系统状态变化调整增益时,可限制在较小的范围进行调整,可在动态调整增益时降低系统SNR剧烈变化的可能性。Therefore, the aforementioned coarse adjustment range is 992 units, and the coarse step is within 992 units. On the other hand, the fine step is within the fine adjustment range, that is, 126 units, and the coarse adjustment range ( 992) is greater than the fine adjustment range (126). When switching, the maximum switchable fine pitch (ie, switchable capacitance) of the gain fine control circuit 16 can be switched from 011111 to 100000 instantaneously, and a total of 126 units can be switched. Therefore, when the gain fine control circuit 16 adjusts the gain as the system state changes, the adjustment can be limited to a small range, and the possibility of a sharp change in the system SNR can be reduced when the gain is dynamically adjusted.

在其他的实施例中,增益粗略控制电路14及增益精细控制电路16也可采用不同方式来编码,例如,让增益精细控制电路16采用温度计编码(thermometer code)。In other embodiments, the gain coarse control circuit 14 and the gain fine control circuit 16 may also be coded in different ways, for example, the gain fine control circuit 16 may use thermometer code.

类似的,在此情况下,将所要切换的电容值比例排列如下:Similarly, in this case, the ratio of the capacitance values to be switched is arranged as follows:

设定增益粗略控制电路14可切换5B,对应于512:256:128:64:32;The set gain rough control circuit 14 can switch 5B, corresponding to 512:256:128:64:32;

设定增益精细控制电路16可切换64T,对应于2*63;The setting gain fine control circuit 16 can switch 64T, corresponding to 2*63;

因此,增益粗略控制电路14总共可切换电容值为:Therefore, the total switchable capacitance value of the gain rough control circuit 14 is:

512+256+128+64+32=992,亦即,992个单元。512+256+128+64+32=992, that is, 992 cells.

另一方面,增益精细控制电路16总共可切换电容值为:On the other hand, the total switchable capacitance values of the gain fine control circuit 16 are:

2*63=126,亦即,126个单元。2*63=126, that is, 126 cells.

然而,使用温度计编码时,增益精细控制电路16在一个调整周期内(例如,依据系统时钟+1时),仅允许最大调整量限制,例如,2个单元,因此,可让每一次的变化量更小,使得系统瞬间负担减少,更进一步降低SNR剧烈变化的几率。However, when using thermometer coding, the gain fine control circuit 16 is only allowed to limit the maximum adjustment amount within one adjustment period (eg, according to the system clock +1), for example, 2 units. If it is smaller, the instantaneous burden of the system is reduced, and the probability of drastic changes in SNR is further reduced.

需要说明的是,虽然上述实施例中采用了二进位制及温度计编码,然而,本发明不限于此,亦可使用格雷码(Grey Code)以类似方式来调整增益。It should be noted that although the binary system and thermometer coding are used in the above-mentioned embodiments, the present invention is not limited to this, and the gain can also be adjusted in a similar manner by using a Gray Code.

除此之外,除了通过上述编码方式之外,还可通过电路平整化技术来降低切换增益时对系统造成的影响。可进一步参考图6,其为根据本发明实施例的增益精细控制电路与增益精细调整电路之间的细节方框示意图。如图所示,模拟前端电路1可进一步包括去噪声电路20及开关驱动器22。In addition, in addition to the above coding method, the circuit flattening technique can also be used to reduce the influence on the system when the gain is switched. Further reference may be made to FIG. 6 , which is a detailed block diagram between the gain fine control circuit and the gain fine adjustment circuit according to an embodiment of the present invention. As shown in the figure, the analog front end circuit 1 may further include a denoising circuit 20 and a switch driver 22 .

去噪声电路20连接于增益精细调整电路104及增益精细控制电路16之间,且经配置以去除精细控制信号S2的噪声。举例而言,去噪声电路20可例如为一D型触发器(D flipflop,DFF),其可依据系统时钟将精细控制信号S2与之敲齐,并将可能产生的噪声消除,并可使后端的模拟数字转换器18在进行模拟数字转换时能够取样在最佳的位置。The denoising circuit 20 is connected between the gain fine adjustment circuit 104 and the gain fine control circuit 16, and is configured to remove noise of the fine control signal S2. For example, the denoising circuit 20 can be, for example, a D flipflop (DFF), which can knock out the fine control signal S2 according to the system clock, eliminate the noise that may be generated, and enable the The analog-to-digital converter 18 at the end can sample at the optimum position when performing analog-to-digital conversion.

另一方面,开关驱动器22可连接于增益精细调整电路104及增益精细控制电路16之间,且经配置以依据精细控制信号S2产生精细控制信号组,包括多个控制信号S21、S22、…,此处,开关驱动器22除了可协调控制信号S21、S22、…,使增益精细调整电路104中对应的开关元件在切换过程中不致误导通,同时还可避免增益精细调整电路104中的接地端不与放大器100的第一输入端(亦即负输入端)同时导通造成短路。On the other hand, the switch driver 22 can be connected between the gain fine adjustment circuit 104 and the gain fine control circuit 16, and is configured to generate a fine control signal group according to the fine control signal S2, including a plurality of control signals S21, S22, . . . , Here, in addition to coordinating the control signals S21 , S22 , . . . , the switch driver 22 can prevent the corresponding switching elements in the gain fine adjustment circuit 104 from being misconnected during the switching process, and can also prevent the ground terminal in the gain fine adjustment circuit 104 from being disconnected. Turning on at the same time as the first input terminal (ie, the negative input terminal) of the amplifier 100 results in a short circuit.

而需要说明的是,去噪声电路20及开关驱动器22可同时使用,亦可如图6所示,仅使用其中之一,但本发明不限于此。再者,在前述实施例中提到的计算电路12、增益粗略控制电路14、增益精细控制电路16及开关驱动器22均可以一或多个处理单元、微控制器、微处理器及/或数字信号处理器来实现其功能,且上述所有电路均可以硬件、软件或固件的形式实现。It should be noted that the denoising circuit 20 and the switch driver 22 may be used simultaneously, or only one of them may be used as shown in FIG. 6 , but the present invention is not limited thereto. Furthermore, the calculation circuit 12, the coarse gain control circuit 14, the fine gain control circuit 16 and the switch driver 22 mentioned in the foregoing embodiments may all be one or more processing units, microcontrollers, microprocessors and/or digital A signal processor to achieve its functions, and all the above circuits can be implemented in the form of hardware, software or firmware.

[实施例的有益效果][Advantageous effects of the embodiment]

本发明的其中一有益效果在于,本发明所提供的模拟前端电路,当系统因温度漂移而有些微变动时,计算电路可依据温度变化计算次要增益调整量,进而可通过增益精细调整电路来进行调整,并控制其调整速度,可在解决温度飘移问题的同时,大幅减少系统瞬态下的负担。One of the beneficial effects of the present invention is that in the analog front-end circuit provided by the present invention, when the system slightly changes due to temperature drift, the calculation circuit can calculate the secondary gain adjustment amount according to the temperature change, and then the gain fine adjustment circuit can be used to adjust the amount of gain. Tuning, and controlling its tuning speed, can significantly reduce the burden on the system during transients while addressing temperature drift.

更进一步来说,在本发明所提供的模拟前端电路中,通过增益精细控制电路随着系统状态变化调整增益时,以不同于增益粗略控制电路的编码方式进行增益切换,可限制在较小的范围进行调整,进而在动态调整增益时降低系统SNR剧烈变化的可能性。Furthermore, in the analog front-end circuit provided by the present invention, when the gain is adjusted by the fine gain control circuit with the change of the system state, the gain switching is performed in a coding manner different from the coarse gain control circuit, which can be limited to a smaller value. range to reduce the likelihood of dramatic changes in the system SNR when dynamically adjusting the gain.

以上所公开的内容仅为本发明的优选可行实施例,并非因此局限本发明的权利要求,所以凡是运用本发明说明书及附图内容所做的等效技术变化,均包含于本发明的权利要求内。The contents disclosed above are only preferred feasible embodiments of the present invention, and are not intended to limit the claims of the present invention. Therefore, any equivalent technical changes made by using the contents of the description and drawings of the present invention are included in the claims of the present invention. Inside.

Claims (10)

1.一种可动态调整增益的模拟前端电路,适用于从一信号源接收一输入信号,该模拟前端电路包括:1. An analog front-end circuit with dynamically adjustable gain, suitable for receiving an input signal from a signal source, the analog front-end circuit comprising: 一可编程增益放大器电路,包括:A programmable gain amplifier circuit comprising: 一放大器,用于接收并放大该输入信号;an amplifier for receiving and amplifying the input signal; 一增益粗略调整电路,连接于该放大器,经配置以由一粗略控制信号控制,依据在一交握模式下决定的一初始增益,以一粗略级距调整该可编程增益放大器电路的增益;及a gain coarse adjustment circuit, connected to the amplifier, configured to be controlled by a coarse control signal to adjust the gain of the programmable gain amplifier circuit by a coarse step according to an initial gain determined in a handshake mode; and 一增益精细调整电路,连接于该放大器,经配置以在该交握模式结束后的一数据模式中,由一精细控制信号控制,以一精细级距调整该可编程增益放大器电路的该增益;a gain fine adjustment circuit, connected to the amplifier, and configured to adjust the gain of the programmable gain amplifier circuit with a fine pitch in a data mode after the handshake mode ends, controlled by a fine control signal; 多个感测器,经配置以在该数据模式中,分别进行感测以产生多个感测信号;a plurality of sensors configured to sense respectively to generate a plurality of sensing signals in the data mode; 一计算电路,连接于所述感测器,经配置以依据在该初始增益计算一主要增益调整量,以及依据所述感测信号计算一次要增益调整量;a calculation circuit, connected to the sensor, configured to calculate a primary gain adjustment according to the initial gain, and to calculate a secondary gain adjustment according to the sensing signal; 一增益粗略控制电路,经配置以依据该主要增益调整量产生该粗略控制信号;a gain coarse control circuit configured to generate the coarse control signal according to the main gain adjustment; 一增益精细控制电路,经配置以依据该次要增益调整量产生该精细控制信号;以及a gain fine control circuit configured to generate the fine control signal according to the secondary gain adjustment amount; and 一模拟数字转换器,经配置以将经放大的该输入信号模拟数字转换后以产生一输出信号,an analog-to-digital converter configured to convert the amplified input signal from analog to digital to generate an output signal, 其中该粗略级距是在一粗略调整范围内,该精细级距是在一精细调整范围内,且该粗略调整范围大于该精细调整范围。Wherein, the rough level distance is within a rough adjustment range, the fine level distance is within a fine adjustment range, and the rough adjustment range is larger than the fine adjustment range. 2.如权利要求1所述的模拟前端电路,其中该增益精细控制电路是采用温度计编码来产生该精细控制信号以控制该增益精细调整电路的该精细级距。2 . The analog front-end circuit of claim 1 , wherein the fine gain control circuit uses thermometer coding to generate the fine control signal to control the fine pitch of the gain fine adjustment circuit. 3 . 3.如权利要求2所述的模拟前端电路,其中在该增益精细调整电路以该精细级距调整该可编程增益放大器电路的该增益时,该增益精细调整电路在一调整周期中具有一最大调整量限制。3. The analog front-end circuit of claim 2, wherein when the gain fine adjustment circuit adjusts the gain of the programmable gain amplifier circuit with the fine pitch, the gain fine adjustment circuit has a maximum value in an adjustment period Adjustment limit. 4.如权利要求1所述的模拟前端电路,其中该可编程增益放大器电路包括:4. The analog front-end circuit of claim 1, wherein the programmable gain amplifier circuit comprises: 一低通滤波器,连接于该放大器的一第一输入端及一输出端之间;及a low-pass filter connected between a first input terminal and an output terminal of the amplifier; and 一高通滤波器,连接于该放大器的该第一输入端。A high-pass filter is connected to the first input end of the amplifier. 5.如权利要求4所述的模拟前端电路,其中该增益粗略调整电路为该低通滤波器的一第一可变电阻电路,该增益精细调整电路为该低通滤波器的一第二可变电阻电路。5. The analog front-end circuit of claim 4, wherein the gain coarse adjustment circuit is a first variable resistance circuit of the low-pass filter, and the gain fine adjustment circuit is a second variable resistance circuit of the low-pass filter varistor circuit. 6.如权利要求4所述的模拟前端电路,其中该增益粗略调整电路为该高通滤波器的一第一可变电容电路,该增益精细调整电路为该高通滤波器的一第二可变电容电路。6. The analog front-end circuit of claim 4, wherein the gain coarse adjustment circuit is a first variable capacitor circuit of the high-pass filter, and the gain fine adjustment circuit is a second variable capacitor of the high-pass filter circuit. 7.如权利要求4所述的模拟前端电路,其中该增益粗略调整电路为该高通滤波器的一第三可变电阻电路,该增益精细调整电路为该高通滤波器的一第四可变电阻电路。7. The analog front-end circuit of claim 4, wherein the gain coarse adjustment circuit is a third variable resistor circuit of the high-pass filter, and the gain fine adjustment circuit is a fourth variable resistor of the high-pass filter circuit. 8.如权利要求1所述的模拟前端电路,其中所述感测器包括一温度感测器,经配置以感测一系统温度,该计算电路依据该系统温度计算该次要增益调整量。8. The analog front-end circuit of claim 1, wherein the sensor comprises a temperature sensor configured to sense a system temperature, and the calculation circuit calculates the secondary gain adjustment amount according to the system temperature. 9.如权利要求1所述的模拟前端电路,还包括一去噪声电路,连接于该增益精细调整电路及该增益精细控制电路之间,且经配置以去除该精细控制信号的噪声。9. The analog front end circuit of claim 1, further comprising a noise removal circuit connected between the gain fine adjustment circuit and the gain fine control circuit and configured to remove noise from the fine control signal. 10.如权利要求1所述的模拟前端电路,其中该增益精细调整电路包括多个开关元件,且该模拟前端电路还包括一开关驱动器,连接于该增益精细调整电路及该增益精细控制电路之间,且经配置以依据该精细控制信号产生一精细控制信号组。10. The analog front-end circuit of claim 1, wherein the gain fine adjustment circuit comprises a plurality of switching elements, and the analog front end circuit further comprises a switch driver connected between the gain fine adjustment circuit and the gain fine control circuit and is configured to generate a fine control signal group according to the fine control signal.
CN202110087116.3A 2021-01-22 2021-01-22 Analog front-end circuit capable of dynamically adjusting gain Active CN114826177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110087116.3A CN114826177B (en) 2021-01-22 2021-01-22 Analog front-end circuit capable of dynamically adjusting gain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110087116.3A CN114826177B (en) 2021-01-22 2021-01-22 Analog front-end circuit capable of dynamically adjusting gain

Publications (2)

Publication Number Publication Date
CN114826177A true CN114826177A (en) 2022-07-29
CN114826177B CN114826177B (en) 2025-07-18

Family

ID=82523908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110087116.3A Active CN114826177B (en) 2021-01-22 2021-01-22 Analog front-end circuit capable of dynamically adjusting gain

Country Status (1)

Country Link
CN (1) CN114826177B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032109A (en) * 1996-10-21 2000-02-29 Telemonitor, Inc. Smart sensor module
US20090063081A1 (en) * 2007-09-05 2009-03-05 Accel Semiconductor (Shanghai) Limited Bridge sensor calibration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6032109A (en) * 1996-10-21 2000-02-29 Telemonitor, Inc. Smart sensor module
US20090063081A1 (en) * 2007-09-05 2009-03-05 Accel Semiconductor (Shanghai) Limited Bridge sensor calibration

Also Published As

Publication number Publication date
CN114826177B (en) 2025-07-18

Similar Documents

Publication Publication Date Title
US9525940B1 (en) Multi-path analog front end and analog-to-digital converter for a signal processing system
US9543975B1 (en) Multi-path analog front end and analog-to-digital converter for a signal processing system with low-pass filter between paths
CN105745641B (en) A Curve Fitting Circuit, Analog Predistorter and RF Signal Transmitter
CN100492912C (en) A signal processing method and device
US10263630B2 (en) Multi-path analog front end with adaptive path
US10545561B2 (en) Multi-path digitation based on input signal fidelity and output requirements
CN108809271B (en) ALC circuit and radio frequency signal source
CN101286961B (en) Apparatus and method for calibrating DC offset of device output
US20210333310A1 (en) Current sensing circuit
JP2011205362A (en) High frequency amplifier circuit
TWI774196B (en) Analog front-end circuit capable of dynamically adjusting gain
TW201308883A (en) Gain stage with DC offset compensation and method thereof
JP2015530024A (en) MEMS microphone and method for driving MEMS microphone
CN103780303A (en) Optical module and detection circuit thereof
CN118801827B (en) A small signal processing circuit
CN114826177A (en) Analog front-end circuit capable of dynamically adjusting gain
US10069483B1 (en) Multi-path analog system with multi-mode high-pass filter
WO2019036579A1 (en) Multi-path analog system with multi-mode high-pass filter
WO2019178740A1 (en) Touch sensing circuit, touch panel, touch apparatus and touch method
CN104931996A (en) Signal conditioning system of large-dynamic short pulses in radiation detection
JP2016012856A (en) Optical receiving circuit, optical transceiver, and method for controlling cross point of reception output waveform
CN115290949A (en) Analog Front End Chips and Oscilloscopes
US9413539B2 (en) Analog front-end transmitter and a connection method of an X-digital subscriber line having a pre-distortion mechanism
CN103078638A (en) Noise buffering circuit and over-sampling analogue-digital converter comprising same
US11777546B2 (en) Receiver with improved noise immunity

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
GR01 Patent grant