Trim device for improving PGA common mode rejection ratio

By introducing the input common-mode sampling circuit and common-mode operational amplifier into the PGA, combined with the adjustable trimming resistor array, the problem of CMRR reduction caused by input resistance mismatch is solved, and the real-time calibration compensation and CMRR improvement of the PGA are realized, which is suitable for high-voltage applications. Designed for performance.

CN118449476BActive Publication Date: 2024-10-15JIANGSU XINKANG MICROELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410904141.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-15
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

As the process size of existing programmable amplifiers (PGAs) shrinks and device parameter deviations increase, the input resistance mismatch problem is serious, resulting in a reduction in common-mode rejection ratio (CMRR). Traditional solutions increase hardware overhead or fail to achieve real-time calibration. compensate.

Method used

Using a design that combines an input common-mode sampling circuit with a common-mode operational amplifier, the offset current caused by input resistance mismatch is offset by modifying the resistor array, locking the input terminal voltage to the reference voltage, and improving CMRR. The design includes an input common-mode sampling circuit, a common-mode operational amplifier and an adjustable trimming resistor. It uses a binary weighted resistor unit and a control switch to realize resistance value adjustment, covering the maximum mismatch range of process, voltage, and temperature changes.

Benefits of technology

It improves the real-time common mode rejection ratio of PGA, reduces input offset, has the advantages of wide compensation range, simple circuit, low power consumption, and easy integration, and is suitable for high-performance PGA design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449476B_ABST
    Figure CN118449476B_ABST
Patent Text Reader

Abstract

The present application relates to the field of analog integrated circuit design, and discloses a trimming device for improving the common-mode rejection ratio of a PGA. The device introduces a common-mode sampling circuit, a common-mode operational amplifier, and an adjustable trimming resistor, and transfers the common-mode rejection characteristics of the PGA from the feedback resistor to the trimming resistor. By adjusting the trimming resistor, the offset current caused by the mismatch of the PGA input stage resistor is compensated, and the common-mode voltage at the PGA input end is precisely adjusted and locked. The device realizes the decoupling of the PGA gain and the common-mode rejection ratio, and the PGA gain can be changed by encoding the feedback resistor, and the common-mode rejection ratio can be improved by trimming the trimming resistor, which greatly reduces the difficulty of trimming the common-mode rejection ratio in the PGA circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of analog integrated circuit design, and in particular to a trimming device for improving the common mode rejection ratio of a programmable amplifier. Background Art

[0002] A programmable gain amplifier (PGA) is an amplifier circuit that can adjust the gain through a digital control signal. It is widely used in various occasions that require variable gain, such as data acquisition systems, sensor signal conditioning circuits, etc. PGA usually adopts a differential input structure and has a high common mode rejection ratio (CMRR), which can effectively suppress common mode interference and reduce system noise.

[0003] However, the CMRR of PGA is affected by the offset of the input stage circuit, especially the mismatch of input resistance, which will cause the conversion of common-mode input signal to differential-mode signal, generate offset voltage, and reduce the CMRR of PGA. As the process size continues to shrink and the device parameter deviation increases, the problem of PGA input resistance mismatch becomes more prominent, becoming one of the bottlenecks restricting PGA performance.

[0004] In order to improve the CMRR of PGA, it is necessary to reduce the input stage offset. The traditional solutions are: 1. Use high-precision, high-matching resistor devices, but the cost is high; 2. Adjust the input resistance through the matching circuit, but an additional matching circuit is required, which increases the area and power consumption; 3. Use the automatic zero calibration circuit to calibrate when the amplifier is not working, but it cannot achieve real-time and continuous offset compensation.

[0005] Therefore, how to achieve real-time calibration compensation of PGA input offset without adding additional hardware overhead and improve the CMRR of PGA has become a technical problem that needs to be solved urgently. At the same time, in order to adapt to different application environments, the input offset calibration compensation range of PGA needs to be wide enough to cover the resistance mismatch changes caused by factors such as process, voltage, and temperature changes, and the compensation circuit should be easy to integrate without increasing the design complexity. Summary of the invention

[0006] The purpose of the present application is to provide a trimming device for improving the common mode rejection ratio of a PGA, so as to solve the problems raised in the above-mentioned background technology.

[0007] The present application discloses a trimming device for improving the common mode rejection ratio of a PGA, comprising:

[0008] An input common-mode sampling circuit is connected to two input terminals of the PGA through a pair of sampling resistors connected in series, and the middle node of the sampling resistor outputs the common-mode voltage of the PGA input signal;

[0009] A common-mode operational amplifier, whose input terminal is respectively connected to the common-mode voltage and the reference voltage, and whose output terminal is respectively connected to the two input terminals of the PGA through a pair of trimming resistors, so as to form a negative feedback circuit, and lock the two input terminals of the PGA to the reference voltage;

[0010] A pair of trimming resistors are respectively connected between the output terminal of the common-mode operational amplifier and the two input terminals of the PGA, and an adjustable trimming current is generated by adjusting the resistance value to offset the offset current caused by the input resistance mismatch of the two input terminals of the PGA.

[0011] In a preferred example, the PGA includes: a differential input terminal, a differential output terminal, a pair of input resistors and a pair of feedback resistors; the differential input terminal is respectively connected to the inverting and non-inverting input terminals of the operational amplifier through the input resistors, the output terminal of the operational amplifier is connected to the differential output terminal, and the feedback resistors are respectively connected between the output terminal and the input terminal of the operational amplifier to adjust the gain of the PGA.

[0012] In a preferred example, the input common-mode sampling circuit includes: a first sampling resistor, one end of which is connected to the first input terminal of the PGA, and the other end is connected to the common-mode voltage output node; a second sampling resistor, one end of which is connected to the common-mode voltage output node, and the other end is connected to the second input terminal of the PGA.

[0013] In a preferred example, the common-mode operational amplifier has a non-inverting input connected to the reference voltage, an inverting input connected to the common-mode voltage output node, and an output connected to two input terminals of the PGA through the trimming resistor to form negative feedback.

[0014] In a preferred example, the trimming resistor includes a first trimming resistor and a second trimming resistor; the first trimming resistor is connected between the output end of the common-mode operational amplifier and the first input end of the PGA, and the second trimming resistor is connected between the output end of the common-mode operational amplifier and the second input end of the PGA.

[0015] In a preferred example, the first trimming resistor and the second trimming resistor are respectively formed by connecting a plurality of unit resistors and a control switch in parallel, the resistance values ​​of the unit resistors are arranged in binary weighted manner, the ratio of the resistance values ​​of two adjacent unit resistors is 2, and the resistance values ​​of the trimming resistors are adjusted by controlling the conduction state of the control switch, thereby generating trimming currents of different sizes.

[0016] In a preferred example, the unit resistor includes n+1 sub-resistors connected in parallel, whose resistance values ​​are respectively R / 2, R, 2R, ... 2nR; except the R / 2 sub-resistor, the remaining n sub-resistors are connected in parallel with one control switch.

[0017] In a preferred example, the control switch is a MOS transistor.

[0018] In a preferred example, the total resistance adjustment range of the first trimming resistor and the second trimming resistor is R / 2 to (2^(n+1)-1)R / 2, so as to cover the maximum mismatch variation range of the PGA input stage resistance under the influence of process, voltage, temperature changes and device mismatch factors.

[0019] In a preferred example, the common-mode operational amplifier is a single-ended output operational amplifier, and one end of the trimming resistor is commonly connected to the output end of the operational amplifier.

[0020] This application mainly has the following technical effects:

[0021] Firstly, the common-mode voltage of the PGA input signal is sampled through the input common-mode sampling circuit and compared with the reference voltage. After being amplified by the common-mode operational amplifier, it is fed back to the PGA input through the trimming resistor, thereby locking the PGA input voltage at the reference voltage and improving the common-mode rejection ratio of the PGA.

[0022] Furthermore, a trimming resistor is connected between the common-mode operational amplifier and the PGA input terminal. An adjustable trimming current can be generated by adjusting the resistance value of the trimming resistor to offset the offset current caused by input resistance mismatch at the PGA input terminal, thereby further improving the common-mode rejection ratio of the PGA.

[0023] Furthermore, the trimming resistor is formed by connecting a plurality of unit resistors whose resistance values ​​are arranged in binary weighted manner in parallel with a control switch. The resistance value of the trimming resistor can be adjusted within a wider range by controlling the conduction state of the switch, covering the maximum mismatch variation range of the PGA input resistance under the influence of factors such as process, voltage, temperature changes and device mismatch, thereby ensuring a higher common-mode offset compensation capability.

[0024] Furthermore, the common-mode operational amplifier adopts a single-ended output structure, one end of the trimming resistor is commonly connected to its output end, the circuit structure is simple, and it is easy to integrate.

[0025] Furthermore, the entire trimming circuit is mainly composed of a common-mode sampling circuit, a common-mode amplifier, an adjustable trimming resistor, etc., does not require a complex auxiliary circuit, and the circuit is simple to implement, has low power consumption, and is easy to integrate with a PGA.

[0026] In summary, the present application can effectively improve the common-mode rejection ratio of the PGA and reduce input offset. It has the advantages of a wide compensation range, simple circuit, and easy integration, and is suitable for various high-performance PGA designs.

[0027] The specification of this application records a large number of technical features, which are distributed in various technical solutions. If all possible combinations of technical features (i.e., technical solutions) of this application are listed, the specification will be too long. In order to avoid this problem, the various technical features disclosed in the above invention content of this application, the various technical features disclosed in the various embodiments and examples below, and the various technical features disclosed in the drawings can be freely combined with each other to form various new technical solutions (these technical solutions are all deemed to have been recorded in this specification), unless such a combination of technical features is technically infeasible. For example, in one example, feature A+B+C is disclosed, and in another example, feature A+B+D+E is disclosed. Features C and D are equivalent technical means that play the same role. Technically, only one of them can be used, and it is impossible to use them at the same time. Feature E can be combined with feature C technically. Then, the solution of A+B+C+D should not be deemed to have been recorded because it is technically infeasible, while the solution of A+B+C+E should be deemed to have been recorded. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the circuit structure of a trimming device for improving the common-mode rejection ratio of a PGA according to the first embodiment of the present application.

[0029] Figure 2 It is a common-mode gain analysis model diagram of the adjustment device for improving the common-mode rejection ratio of the PGA according to the first embodiment of the present application.

[0030] Figure 3 This is a diagram of CMRR simulation results under different input resistance mismatch conditions of the adjustment device for improving the common mode rejection ratio of the PGA according to the first embodiment of the present application. DETAILED DESCRIPTION

[0031] In the following description, many technical details are provided to help readers better understand the present application. However, those skilled in the art can understand that the technical solution claimed in the present application can be implemented even without these technical details and various changes and modifications based on the following embodiments.

[0032] Description of some concepts:

[0033] Programmable Gain Amplifier (PGA): An amplifier circuit whose gain can be adjusted by a digital control signal.

[0034] Common-mode signal: refers to the signal of the same amplitude superimposed on both ends of the differential signal, usually a noise or interference signal.

[0035] Differential signal: refers to the difference signal between two signals with opposite phases, usually a useful signal.

[0036] Common Mode Rejection Ratio (CMRR): A measure of an amplifier's ability to reject common-mode signals. It is defined as the ratio of differential-mode gain to common-mode gain and is usually expressed in decibels (dB).

[0037] Trimming: During the integrated circuit production process, the circuit parameters are adjusted by physical or electrical means to compensate for process deviations and improve circuit performance.

[0038] Offset voltage: Ideally, when the input of the operational amplifier is zero, its output should be zero. But in reality, due to the asymmetry of its own input stage, a small DC voltage will appear at the output, which is called offset voltage.

[0039] Offset current: When the currents flowing into the two input terminals of an operational amplifier are of different magnitudes, the difference is called the offset current.

[0040] Single-ended input: The signal is input through only one input terminal, and the other input terminal is grounded or connected at a fixed level.

[0041] Differential input: A connection method in which the signal is input to the two input terminals of the amplifier at the same time in the form of two opposite phases.

[0042] Negative feedback: Feedback a portion of the amplifier's output signal to the input and subtract it from the input signal to reduce the difference between the input and output signals and improve the amplifier's linearity and stability.

[0043] Calibration Resistors (RC) are variable resistors used for circuit adjustment. They change the characteristics of the circuit by adjusting its resistance value, thereby achieving fine-tuning of the circuit performance.

[0044] Feedback resistor Rf: It is the resistor in the operational amplifier feedback network, and its resistance determines the closed-loop gain of the operational amplifier.

[0045] Input resistance Rin: It is the equivalent resistance of the input end of the operational amplifier. Its mismatch will affect the common mode rejection ratio CMRR of the operational amplifier.

[0046] Sampling resistor Rsns: A resistor used to sample voltage signals, usually used to build sampling circuits.

[0047] Common mode voltage Vcm (Common Mode Voltage): It is the average value of the voltage at the two ports of the operational amplifier input, indicating the DC bias of the input signal.

[0048] Reference potential Vref: It is a stable voltage source, often used as a comparison voltage or bias voltage.

[0049] Trimming Code: It is a set of digital signals used to control the on and off states of switches in the trimming circuit to adjust the circuit parameters.

[0050] The following is a brief description of some of the innovative features of this application:

[0051] In response to the technical problems mentioned above, the inventors of this application have proposed a trimming device after in-depth research and analysis. The device effectively locks the PGA input voltage to the reference voltage by introducing a unique design that combines input common-mode sampling circuits and common-mode operational amplifiers, significantly improving CMRR. At the same time, an adjustable trimming resistor array is used to offset the mismatch of input resistance by precisely controlling the trimming current, further enhancing the stability and adaptability of the device in different environments. In addition, the design also reduces power consumption and improves ease of integration by simplifying the circuit structure, allowing the PGA to exhibit superior performance in a wider range of applications.

[0052] According to the core concept of the present application, the proposed adjustment device for improving CMRR applied to PGA mainly includes an input common-mode sampling circuit, a common-mode operational amplifier, an adjustable resistor array and a PGA main circuit. Among them, the input of the PGA main circuit is connected to the input of the amplifier through a pair of input resistors, and is connected to the positive and negative outputs through feedback resistors. The input common-mode sampling circuit is connected between the two inputs of the amplifier through a pair of series resistors to sample the common-mode voltage of the input signal. The positive input of the common-mode operational amplifier is connected to the reference voltage, the negative input is connected to the sampled common-mode voltage, and the output is connected back to the two inputs of the amplifier through a pair of adjustment resistors, forming negative feedback, locking the input common-mode voltage of the amplifier at the reference voltage, thereby improving the common-mode rejection ratio of the PGA.

[0053] The adjustable resistor array is located at the output end of the common-mode operational amplifier and consists of n+1 resistor units arranged in binary weighted order. Except for the resistor unit with the smallest resistance value, the remaining n resistor units are controlled by n MOS switches. By controlling the conduction state of the switch, the resistance value of the trimming resistor can be adjusted within a wide range. The adjustment range needs to cover the maximum variation range of the PGA input resistance under process, voltage, temperature changes and Monte Carlo simulation, usually ±3σ, to compensate for the offset current caused by the mismatch of the PGA input stage resistance and further improve the common-mode rejection ratio.

[0054] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0055] In the specification of the present application, in order to make the expression clearer and more concise, some technical features are represented by English letter codes. It should be clarified that the technical features represented by letter codes only in this application have exactly the same meaning as the technical features represented by the corresponding Chinese names plus letter codes. For example, "Rf" and "feedback resistor Rf" refer to the same technical feature, "Rsns" and "sampling resistor Rsns" refer to the same technical feature, and other similar technical features represented by English letter codes are also equivalent to the technical features represented by their corresponding Chinese names plus letter codes. When reading and understanding this application, please treat the technical features represented only by letter codes as equivalent to the technical features represented by their corresponding Chinese names plus letter codes. The technical features involved with English letter codes include but are not limited to:

[0056] Feedback resistor Rf

[0057] Input resistance Rin

[0058] Adjustment resistor Rc

[0059] Sampling resistor Rsns

[0060] Common mode voltage Vcm

[0061] Common mode voltage output node Vcm_sns

[0062] Reference voltage Vref

[0063] Adjustment voltage Vc

[0064] The input voltage Vp, Vn of the operational amplifier AMP1

[0065] The first input terminal of PGA is Vin-

[0066] The second input terminal of PGA is Vin+

[0067] Common mode input signal Vin_cm

[0068] The non-inverting output terminal Vout of the operational amplifier AMP1

[0069] The small amount of input resistance mismatch ΔRin

[0070] The small adjustment amount ΔRc of the trimming resistor Rc

[0071] Common mode gain Acm

[0072] Differential mode gain Adm

[0073] Common Mode Rejection Ratio CMRR

[0074] The first embodiment of the present application relates to a trimming device for improving the common mode rejection ratio CMRR applied to a programmable gain amplifier PGA, and its structure is as follows: Figure 1 As shown, including:

[0075] An input common-mode sampling circuit is connected to two input terminals of the programmable gain amplifier PGA through a pair of sampling resistors Rsns connected in series, and an intermediate node of the sampling resistor Rsns outputs a common-mode voltage Vcm_sns of an input signal of the programmable gain amplifier PGA;

[0076] A common-mode operational amplifier, whose input end is respectively connected to the common-mode voltage Vcm_sns and the reference potential Vref, and whose output end is respectively connected to the two input ends of the programmable gain amplifier PGA through a pair of trimming resistors Rc, forming a negative feedback circuit, and locking the two input ends of the programmable gain amplifier PGA to the reference potential Vref;

[0077] A pair of trimming resistors Rc are respectively connected between the output end of the common-mode operational amplifier and the two input ends of the programmable gain amplifier PGA, and an adjustable trimming current is generated by adjusting the resistance value to offset the offset current caused by the mismatch of the input resistance Rin of the two input ends of the programmable gain amplifier PGA.

[0078] Optionally, the programmable gain amplifier PGA includes: a differential input terminal, a differential output terminal, a pair of input resistors Rin and a pair of feedback resistors Rf; the differential input terminal is respectively connected to the inverting input terminal and the non-inverting input terminal of the operational amplifier AMP1 through the input resistor Rin, the output terminal of the operational amplifier AMP1 is connected to the differential output terminal, and the feedback resistor Rf is respectively connected between the output terminal and the input terminal of the operational amplifier AMP1, and is used to adjust the gain of the programmable gain amplifier PGA.

[0079] Optionally, the input common-mode sampling circuit includes: a first sampling resistor Rsns1, one end of which is connected to the first input end of the programmable gain amplifier PGA, and the other end is connected to the common-mode voltage sampling node; a second sampling resistor Rsns2, one end of which is connected to the common-mode voltage sampling node, and the other end is connected to the second input end of the programmable gain amplifier PGA.

[0080] Optionally, the common-mode operational amplifier has a non-inverting input connected to the reference potential Vref, an inverting input connected to the common-mode voltage sampling node, and an output connected to two input terminals of a programmable gain amplifier PGA through the trimming resistor Rc to form negative feedback.

[0081] Optionally, the trimming resistor Rc includes a first trimming resistor Rc1 and a second trimming resistor Rc2; the first trimming resistor Rc1 is connected between the output end of the common-mode operational amplifier and the first input end of the programmable gain amplifier PGA, and the second trimming resistor Rc2 is connected between the output end of the common-mode operational amplifier and the second input end of the programmable gain amplifier PGA.

[0082] Optionally, the first trimming resistor Rc1 and the second trimming resistor Rc2 are respectively formed by connecting a plurality of unit resistors and a control switch in parallel, the resistance values ​​of the unit resistors are arranged in binary weighted manner, and the ratio of the resistance values ​​of two adjacent unit resistors is 2. The resistance value of the trimming resistor Rc is adjusted by controlling the conduction state of the control switch, thereby generating trimming currents of different sizes.

[0083] Optionally, the unit resistor includes n+1 parallel sub-resistors, whose resistance values ​​are R / 2, R, 2R, ...2 n R; except for the R / 2 sub-resistor, the remaining n sub-resistors are connected in parallel with one of the control switches.

[0084] Optionally, the control switch is a metal oxide semiconductor (MOS) transistor.

[0085] Optionally, the total resistance adjustment range of the first trimming resistor Rc1 and the second trimming resistor Rc2 is R / 2 to (2^(n+1)-1)R / 2, so as to cover the maximum mismatch variation range of the programmable gain amplifier PGA input stage resistance Rin under the influence of process, voltage, temperature PVT changes and device mismatch factors.

[0086] Optionally, the common-mode operational amplifier is a single-ended output operational amplifier, and one end of the trimming resistor Rc is commonly connected to the output end of the operational amplifier.

[0087] Working principle:

[0088] First, the input common-mode sampling circuit collects the differential voltage signal at the input end of the operational amplifier AMP1 through a pair of sampling resistors Rsns (including a first sampling resistor Rsns1 and a second sampling resistor Rsns2), and extracts the common-mode voltage Vcm_sns at the middle node of the sampling resistor Rsns. The common-mode voltage Vcm_sns represents the average potential of the voltages Vp and Vn at the input end of the operational amplifier AMP1 relative to the system ground, providing a reference for the control of subsequent circuits.

[0089] The input terminals of the common-mode operational amplifier are connected to the common-mode voltage Vcm_sns and the reference potential Vref, respectively. The reference potential Vref is the common-mode voltage expected by the system and is the benchmark for the entire control process. The common-mode operational amplifier outputs a trimming voltage by comparing the difference between the common-mode voltage Vcm_sns and the reference potential Vref. The trimming voltage is used to adjust the input terminal voltages Vp and Vn of the operational amplifier AMP1 to maintain them near the reference potential Vref. Specifically, when the common-mode voltage Vcm_sns is lower than the reference potential Vref, the trimming voltage will increase, thereby increasing the input terminal voltage of the operational amplifier AMP1 through the trimming resistor Rc, and vice versa.

[0090] The trimming resistor Rc (including the first trimming resistor Rc1 and the second trimming resistor Rc2) is connected to the output end of the common mode operational amplifier and is respectively connected to the input voltages Vp and Vn of the operational amplifier AMP1. The trimming resistor Rc can dynamically adjust its resistance value according to the change of the trimming voltage output by the common mode operational amplifier, thereby generating the required trimming current to offset the influence of the mismatch or change of the input resistor Rin. The trimming resistor Rc adopts a binary weighted resistor array structure, so that it can cover a wide range of resistance values ​​to adapt to different operating conditions and requirements.

[0091] Through the above mechanism, the adjustment device of the present invention can ensure that the input voltages Vp and Vn of the operational amplifier AMP1 are always stable around the reference potential Vref, thereby effectively improving the common mode rejection ratio CMRR of the programmable gain amplifier PGA and enhancing the system's signal processing capability and anti-interference performance. This automatic adjustment mechanism greatly simplifies the adjustment of the common mode rejection ratio CMRR in the programmable gain amplifier PGA circuit, making the device more reliable and easy to maintain.

[0092] The adjustment device of the above embodiment mainly has the following technical effects:

[0093] 1) The common-mode voltage of the PGA input signal is sampled through the input common-mode sampling circuit and compared with the reference voltage. After being amplified by the common-mode operational amplifier, it is fed back to the PGA input terminal through the trimming resistor, thereby locking the PGA input terminal voltage at the reference voltage and improving the common-mode rejection ratio of the PGA.

[0094] 2) The trimming resistor is connected between the common-mode operational amplifier and the PGA input. By adjusting the resistance of the trimming resistor, an adjustable trimming current can be generated to offset the offset current caused by the input resistance mismatch at the PGA input, thereby further improving the common-mode rejection ratio of the PGA.

[0095] 3) The trimming resistor is composed of multiple unit resistors arranged in binary weighted order and a control switch in parallel. The resistance of the trimming resistor can be adjusted within a wide range by controlling the conduction state of the switch, covering the maximum mismatch variation range of the PGA input resistor under the influence of process, voltage, temperature changes and device mismatch factors, ensuring a high common-mode offset compensation capability.

[0096] 4) The common-mode operational amplifier adopts a single-ended output structure, and one end of the trimming resistor is connected to its output end. The circuit structure is simple and easy to integrate.

[0097] 5) The entire trimming circuit is mainly composed of a common-mode sampling circuit, a common-mode amplifier, an adjustable trimming resistor, etc. It does not require a complex auxiliary circuit, the circuit is simple to implement, has low power consumption, and is easy to integrate with a PGA.

[0098] In summary, the above embodiments can effectively improve the common mode rejection ratio of the PGA and reduce input offset. They have the advantages of a wide compensation range, simple circuit, and easy integration, and are suitable for various high-performance PGA designs.

[0099] In order to better understand the technical solution of the present application, a specific example is provided below for illustration. The details listed in the example are mainly for ease of understanding and are not intended to limit the scope of protection of the present application.

[0100] The trimming device for improving the common-mode rejection ratio of the PGA proposed in this example introduces a loop and a pair of trimming resistors Rc at the PGA input end, thereby transferring the common-mode rejection characteristic of the PGA from the feedback resistor Rf to the trimming resistor Rc. The customer can change the gain of the PGA by encoding the feedback resistor Rf, and improve the common-mode rejection ratio CMRR by trimming the trimming resistor Rc, thereby greatly reducing the difficulty of trimming the CMRR in the PGA circuit.

[0101] like Figure 1 The trimming device for improving the common mode rejection ratio of the PGA in this example includes:

[0102] The input common mode sampling circuit is connected to the input terminal voltages Vp and Vn of the operational amplifier AMP1 through a pair of sampling resistors Rsns, and outputs its common mode voltage Vcm_sns;

[0103] A common-mode operational amplifier, whose input terminals are respectively connected to a common-mode voltage Vcm_sns and a reference potential Vref, and the input terminal voltages Vp and Vn of the operational amplifier AMP1 are locked at the reference potential Vref through negative feedback;

[0104] The trimming resistor array Rc can generate a trimming current to offset the offset current caused by the mismatch of the input resistance Rin.

[0105] More specifically, the input common-mode sampling circuit in this example is as follows Figure 1 As shown, its structure includes: a first sampling resistor Rsns, one end of which is connected to the input voltage Vn of the operational amplifier AMP1, and the other end is connected to the common mode voltage output node Vcm_sns; a second sampling resistor Rsns, one end of which is connected to the common mode voltage output node Vcm_sns, and the other end is connected to the input voltage Vp of the operational amplifier AMP1. When the system is in steady state, due to the high gain of the operational amplifier AMP1, its input voltages Vp and Vn will be clamped at the same potential, that is, Vp=Vn. At this time, the current on the sampling resistor Rsns is zero, so the potential of the middle node of the pair of sampling resistors Rsns is the common mode voltage of the input voltages Vp and Vn of the operational amplifier AMP1.

[0106] Furthermore, the common-mode operational amplifier circuit in this example is as follows: Figure 1 As shown, its structure includes: the inverting input terminal of the operational amplifier AMP2 is connected to the common mode voltage output node Vcm_sns, the non-inverting input terminal of the operational amplifier AMP2 is connected to the reference potential Vref, and the output terminal of the operational amplifier AMP2 outputs the trimming voltage Vc. One end of the first trimming resistor Rc is connected to the input terminal voltage Vn of the operational amplifier AMP1, and the other end is connected to the trimming voltage Vc. One end of the second trimming resistor Rc is connected to the trimming voltage Vc, and the other end is connected to the input terminal voltage Vp of the operational amplifier AMP1. When the input terminal voltage Vn of the operational amplifier AMP1 decreases, the common mode voltage Vcm_sns will be lower than the reference potential Vref, and the trimming voltage Vc will rise to pull up the input terminal voltage Vn of the operational amplifier AMP1; when the input terminal voltage Vn of the operational amplifier AMP1 increases, the common mode voltage Vcm_sns will be higher than the reference potential Vref, and the trimming voltage Vc will decrease to pull down the input terminal voltage Vn of the operational amplifier AMP1. Based on the high gain of the operational amplifier AMP2 , the common mode voltage Vcm_sns will be clamped at the reference potential Vref, that is, the common mode voltage of the input terminal voltages Vn and Vp of the operational amplifier AMP1 will be clamped at the reference potential Vref.

[0107] Furthermore, the trimming resistor array Rc in this example is as follows: Figure 1 As shown, its structure includes n+1 unit resistors, whose resistance values ​​are R / 2, R, 2R, 4R...2 n R; except for R / 2, the remaining n unit resistors are controlled by n control switches separately, and the control switches are all MOS transistors. The adjustment range of the trimming resistor Rc is R / 2 to (2^(n+1)-1)R / 2, which can cover the variation range of the input resistance Rin under the influence of process, voltage, temperature change and device mismatch of ±3σ, so as to have sufficient trimming capability.

[0108] Based on the adjustment device used to improve the common-mode rejection ratio of the PGA in this example, the common-mode gain analysis is as follows: Figure 2 As shown: the input voltages Vin- and Vin+ are both connected to the common-mode input signal Vin_cm, the upper input resistance is Rin+ΔRin, where ΔRin represents a small amount of resistance mismatch, and the upper trimming resistance is Rc+ΔRc, where ΔRc represents a small amount of trimming resistance Rc that needs to be adjusted to compensate for ΔRin. To simplify the common-mode gain analysis, the operational amplifier AMP1 is changed to a single-ended output, that is, the inverting output terminal of the operational amplifier AMP1 is grounded, and the non-inverting output terminal of the operational amplifier AMP1 outputs the voltage Vout.

[0109] Applying Kirchhoff's Current Law (KCL) to the input voltage Vn node of the operational amplifier AMP1, the sum of the currents flowing into the Vn node is equal to the sum of the currents flowing out of the Vn node: (1)

[0110] Among them: Vcm_in represents the common-mode input signal voltage, Vn represents the inverting input voltage of the operational amplifier AMP1, Rin represents the input resistance, ΔRin represents the small amount of input resistance mismatch, Vc represents the trimming voltage, Rc represents the trimming resistance, ΔRc represents the small amount of trimming resistance Rc that needs to be adjusted to compensate for ΔRin, Vout represents the non-inverting output voltage of the operational amplifier AMP1, and Rf represents the feedback resistance. This formula indicates that the current flowing into the inverting input terminal Vn of the operational amplifier AMP1, including the current flowing from Vcm_in through Rin+ΔRin and the current flowing from Vc through Rc+ΔRc, is equal to the current flowing from Vn through Rf to Vout.

[0111] Apply Kirchhoff’s Current Law (KCL) to the voltage Vp node at the input of the operational amplifier AMP1: (2)

[0112] Where: Vcm_in represents the common-mode input signal voltage, Vp represents the voltage at the non-inverting input terminal of the operational amplifier AMP1, Rin represents the input resistance, Vc represents the trimming voltage, Rc represents the trimming resistance, and Rf represents the feedback resistance. This formula indicates that the current flowing into the non-inverting input terminal Vp of the operational amplifier AMP1, including the current flowing from Vcm_in through Rin and the current flowing from Vc through Rc, is equal to the current flowing out from Vp through Rf to ground.

[0113] When the gains of operational amplifiers AMP1 and AMP2 are large enough: Vp = Vn = Vref (3)

[0114] Where: Vp represents the voltage at the non-inverting input terminal of the operational amplifier AMP1, Vn represents the voltage at the inverting input terminal of the operational amplifier AMP1, and Vref represents the reference voltage. This formula indicates that when the gains of the operational amplifier AMP1 and the common-mode operational amplifier AMP2 are large enough, negative feedback will force the voltages Vp and Vn at the two input terminals of the operational amplifier AMP1 to be locked at the reference voltage Vref.

[0115] Substituting formula (3) into formula (2) yields: (4)

[0116] Where: Vc represents the trimming voltage, Vref represents the reference voltage, Rc represents the trimming resistor, and Rf represents the feedback resistor

[0117] Rin represents the input resistance, and Vcm_in represents the common-mode input signal voltage.

[0118] Substituting equation (3) and equation (4) into equation (1) yields: (5)

[0119] Wherein: Vcm_in represents the common mode input signal voltage, Vref represents the reference voltage, Rin represents the input resistance, ΔRin represents the small amount of input resistance mismatch, Rc represents the trimming resistance, ΔRc represents the small amount of trimming resistance Rc that needs to be adjusted to compensate for ΔRin, Vout represents the in-phase output terminal voltage of the operational amplifier AMP1, and Rf represents the feedback resistance.

[0120] Apply the small amount approximation formula to the denominators Rin+ΔRin and Rc+ΔRc in formula (5), that is: (6)

[0121] The common mode gain Acm can be obtained: (7)

[0122] Wherein: Acm represents the common-mode gain, which is defined as the ratio of the output common-mode signal Vout to the input common-mode signal Vin_cm, Rf represents the feedback resistor of the PGA, Rin represents the input resistor of the PGA, ΔRin represents the small amount of input resistance mismatch, Rc represents the trimming resistor, and ΔRc represents the small amount of trimming resistor Rc that needs to be adjusted to compensate for ΔRin.

[0123] The differential mode gain Adm of PGA is: (8)

[0124] Wherein, Adm represents the differential mode gain, which is defined as the ratio of the differential mode output signal of the PGA to the differential mode input signal, Rf represents the feedback resistance of the PGA, and Rin represents the input resistance of the PGA.

[0125] Based on equations (7) and (8), the expression of common mode rejection ratio CMRR can be obtained: (9)

[0126] Wherein, CMRR represents the common mode rejection ratio, which is defined as the ratio of the differential mode gain Adm of the PGA to the common mode gain Acm, Adm represents the differential mode gain of the PGA, which is given by formula (8) and is equal to the ratio of the feedback resistor Rf to the input resistor Rin, Acm represents the common mode gain of the PGA, which is given by formula (7), Rin represents the input resistor, ΔRin represents the small amount of input resistance mismatch, Rc represents the trimming resistor, and ΔRc represents the small amount of trimming resistor Rc that needs to be adjusted to compensate for ΔRin.

[0127] Based on formula (9), it can be seen that in the proposed trimming device of this example, the common mode rejection ratio CMRR has nothing to do with the feedback resistor Rf, but is related to the matching relationship between the input resistor Rin and the trimming resistor Rc, that is, the mismatch of the input resistor Rin can be compensated by adjusting a small change ΔRc of the trimming resistor Rc, thereby obtaining a high common mode rejection ratio CMRR.

[0128] Compared with the prior art, the beneficial effects of this example are as follows:

[0129] In this example, a loop and trimming resistor Rc are introduced at the input end of the programmable gain amplifier PGA, and the common-mode rejection characteristic of the programmable gain amplifier PGA is transferred from the feedback resistor Rf to the trimming resistor Rc. The customer can change the gain of the programmable gain amplifier PGA by encoding the feedback resistor Rf, and improve the common-mode rejection ratio CMRR by adjusting the trimming resistor Rc, thereby greatly reducing the difficulty of adjusting the common-mode rejection ratio CMRR in the programmable gain amplifier PGA circuit.

[0130] The above example is further explained below.

[0131] In this example, a loop is introduced at the input end of the programmable gain amplifier PGA and a pair of trimming resistors Rc are introduced to transfer the common-mode rejection characteristic of the programmable gain amplifier PGA from the feedback resistor Rf to the trimming resistor Rc. The customer can change the gain of the programmable gain amplifier PGA by encoding the feedback resistor Rf, and improve the common-mode rejection ratio CMRR by adjusting the trimming resistor Rc, thereby greatly reducing the difficulty of trimming the common-mode rejection ratio CMRR in the programmable gain amplifier PGA circuit. To achieve the above purpose, this example provides the following technical solutions: a trimming device for improving the common-mode rejection ratio CMRR applied to a programmable gain amplifier PGA, comprising: an input common-mode sampling circuit, which is connected to the input terminal voltages Vp and Vn of the operational amplifier AMP1 through a pair of sampling resistors Rsns, and outputs its common-mode voltage Vcm_sns; a common-mode operational amplifier, whose input terminal is connected to the common-mode voltage Vcm_sns and a reference potential Vref, and the input terminal voltages Vp and Vn of the operational amplifier AMP1 are locked to the reference potential Vref through negative feedback; a trimming resistor array Rc, which can generate a trimming current to offset the offset current caused by the mismatch of the input resistor Rin.

[0132] The input common mode sampling circuit in this example is as follows Figure 1 As shown, its structure includes: a first sampling resistor Rsns, one end of which is connected to the input voltage Vn of the operational amplifier AMP1, and the other end is connected to the common mode voltage output node Vcm_sns; a second sampling resistor Rsns, one end of which is connected to the common mode voltage output node Vcm_sns, and the other end is connected to the input voltage Vp of the operational amplifier AMP1. When the system is in steady state, due to the high gain of the operational amplifier AMP1, its input voltages Vp and Vn will be clamped at the same potential, that is, Vp=Vn. At this time, the current on the sampling resistor Rsns is zero, so the potential of the middle node of the pair of sampling resistors Rsns is the common mode voltage of the input voltages Vp and Vn of the operational amplifier AMP1.

[0133] The common-mode operational amplifier circuit in this example is as follows Figure 1As shown, its structure includes: the inverting input terminal of the operational amplifier AMP2 is connected to the common mode voltage output node Vcm_sns, the non-inverting input terminal of the operational amplifier AMP2 is connected to the reference potential Vref, and the output terminal of the operational amplifier AMP2 outputs the trimming voltage Vc. One end of the first trimming resistor Rc is connected to the input terminal voltage Vn of the operational amplifier AMP1, and the other end is connected to the trimming voltage Vc. One end of the second trimming resistor Rc is connected to the trimming voltage Vc, and the other end is connected to the input terminal voltage Vp of the operational amplifier AMP1. When the input terminal voltage Vn of the operational amplifier AMP1 decreases, the common mode voltage Vcm_sns will be lower than the reference potential Vref, and the trimming voltage Vc will rise to pull up the input terminal voltage Vn of the operational amplifier AMP1; when the input terminal voltage Vn of the operational amplifier AMP1 increases, the common mode voltage Vcm_sns will be higher than the reference potential Vref, and the trimming voltage Vc will decrease to pull down the input terminal voltage Vn of the operational amplifier AMP1. Based on the high gain of the operational amplifier AMP2 , the common mode voltage Vcm_sns will be clamped at the reference potential Vref, that is, the common mode voltage of the input terminal voltages Vn and Vp of the operational amplifier AMP1 will be clamped at the reference potential Vref.

[0134] In this example, the trimming resistor array Rc is as follows Figure 1 As shown, its structure includes n+1 resistor units, whose resistance values ​​are R / 2, R, 2R, 4R...2 n

[0135] R; except for R / 2, the remaining n resistance units are controlled by n switches individually, and the switches are all MOS transistors. The resistance value of the trimming resistor array Rc has a trimming range of R / 2 to 2n+1R-R / 2, which can cover the range of ±3σ of the input resistance Rin under process, voltage, temperature change PVT and Monte Carlo simulation, so as to have sufficient trimming capability.

[0136] Based on this example, the common-mode gain analysis is as follows: Figure 2 According to the derivation of formulas (1)-(9), the common mode rejection ratio CMRR expression of the programmable gain amplifier PGA system based on the common mode rejection ratio CMRR adjustment device proposed in this application can be obtained:

[0137] Observing the above formula, we can know the following three points:

[0138] The common mode rejection ratio CMRR of this circuit has nothing to do with the feedback resistor Rf. The common mode rejection ratio CMRR indicator is converted into the matching problem between the input resistor Rin and the trimming resistor Rc.

[0139] If the trimming resistor Rc is equal to the input resistor Rin, then when the input resistor mismatch ΔRin is equal to the trimming resistor mismatch ΔRc, the common mode rejection ratio CMRR can be close to infinity in theory. As long as the mismatch change of the trimming resistor Rc and the input resistor Rin is suppressed and the values ​​are equal, even if affected by the trimming accuracy, this system can still obtain a higher common mode rejection ratio CMRR value (80dB, i.e. 10,000 times).

[0140] For a programmable gain amplifier (PGA) system, the amplifier gain can be programmed by changing the feedback resistor Rf, and the common mode rejection ratio (CMRR) of the system can be improved by adjusting the trimming resistor Rc, which greatly reduces the difficulty of trimming.

[0141] Based on this example, the performance is verified by simulation. When the mismatch value ΔRin of the input resistor Rin is -100 ohms, -70 ohms, -50 ohms, -25 ohms, 0 ohms, 25 ohms, 50 ohms, 70 ohms, and 100 ohms, the trimming code of the trimming resistor Rc is swept from 70 to 120 (corresponding to the trimming range of the trimming resistor Rc from 1.25 kilo ohms to 2.5 kilo ohms). The simulation results are as follows: Figure 3 As shown:

[0142] When the input resistance mismatch value ΔRin=100 ohms, the trimming code of the trimming resistor Rc is 78, and the common mode rejection ratio CMRR of the trimmed programmable gain amplifier PGA system is 88dB;

[0143] When the input resistance mismatch value ΔRin=70 ohms, the trimming code of the trimming resistor Rc is 84, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 94dB;

[0144] When the input resistance mismatch value ΔRin=50 ohms, the trimming code of the trimming resistor Rc is 87, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 88dB;

[0145] When the input resistance mismatch value ΔRin=25 ohms, the trimming code of the trimming resistor Rc is 92, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 100 dB;

[0146] When the input resistance mismatch value ΔRin=0 ohm, the trimming code of the trimming resistor Rc is 97, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 105dB;

[0147] When the input resistance mismatch value ΔRin=-25 ohms, the trimming code of the trimming resistor Rc is 102, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 107dB;

[0148] When the input resistance mismatch value ΔRin=-50 ohms, the trimming code of the trimming resistor Rc is 107, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 114dB;

[0149] When the input resistance mismatch value ΔRin=-70 ohms, the trimming code of the trimming resistor Rc is 111, and the common mode rejection ratio CMRR of the programmable gain amplifier PGA system after trimming is 99dB;

[0150] When the input resistance mismatch value ΔRin=-100 ohms, the trimming code of the trimming resistor Rc is 118, and the common mode rejection ratio CMRR of the trimmed programmable gain amplifier PGA system is 90 dB.

[0151] According to the above simulation results, under different input resistance Rin mismatch conditions, the adjustment device for improving the common mode rejection ratio of PGA in this example can obtain a common mode rejection ratio CMRR of more than 80dB, that is, a common mode rejection performance of more than 10,000 times.

[0152] Compared with the prior art, this example has the following beneficial effects:

[0153] In this example, a loop and trimming resistor Rc are introduced at the input end of the programmable gain amplifier PGA, and the common-mode rejection characteristic of the programmable gain amplifier PGA is transferred from the feedback resistor Rf to the trimming resistor Rc. The customer can change the gain of the programmable gain amplifier PGA by encoding the feedback resistor Rf, and improve the common-mode rejection ratio CMRR by adjusting the trimming resistor Rc, thereby greatly reducing the difficulty of adjusting the common-mode rejection ratio CMRR in the programmable gain amplifier PGA circuit.

[0154] The contents not described in detail in the present application specification belong to the prior art known to those skilled in the art.

[0155] It should be understood that the above embodiments are merely illustrative of the present application, rather than limiting the present application, and any inventions that do not exceed the substantial spirit and scope of the present application shall fall within the protection scope of the present application.

[0156] It should be noted that, in the application documents of the present invention, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the sentence "include one" do not exclude the existence of other identical elements in the process, method, article or equipment including the elements. In the application documents of the present invention, if it is mentioned that a certain action is performed according to a certain element, it means that the action is performed at least according to the element, which includes two situations: performing the action only according to the element and performing the action according to the element and other elements. Expressions such as multiple, multiple, and multiple include 2, 2 times, 2 kinds, and more than 2, more than 2 times, and more than 2 kinds.

[0157] All documents mentioned in this application are considered to be included in the disclosure of this application as a whole, so that they can be used as the basis for modification when necessary. In addition, it should be understood that after reading the above disclosure of this application, those skilled in the art can make various changes or modifications to this application, and these equivalent forms also fall within the scope of protection claimed in this application.

Claims

1. A trimming device for improving the common mode rejection ratio of a PGA, characterized in that: include: An input common-mode sampling circuit is connected to two input terminals of the PGA through a pair of sampling resistors connected in series, and the middle node of the sampling resistor outputs the common-mode voltage of the PGA input signal; A common-mode operational amplifier, whose input terminal is respectively connected to the common-mode voltage and the reference voltage, and whose output terminal is respectively connected to the two input terminals of the PGA through a pair of trimming resistors, so as to form a negative feedback circuit, and lock the two input terminals of the PGA to the reference voltage; A pair of trimming resistors, respectively connected between the output terminal of the common-mode operational amplifier and the two input terminals of the PGA, to generate an adjustable trimming current by adjusting the resistance value to offset the offset current caused by the input resistance mismatch of the two input terminals of the PGA; Wherein, the PGA comprises: a differential input terminal, a differential output terminal, a pair of input resistors and a pair of feedback resistors; the differential input terminal is respectively connected to the inverting and non-inverting input terminals of the operational amplifier through the input resistors, the output terminal of the operational amplifier is connected to the differential output terminal, and the feedback resistors are respectively connected between the output terminal and the input terminal of the operational amplifier to adjust the gain of the PGA; The first trimming resistor and the second trimming resistor are respectively formed by connecting a plurality of unit resistors and a control switch in parallel, wherein the resistance values ​​of the unit resistors are arranged in binary weighted manner, and the ratio of the resistance values ​​of two adjacent unit resistors is 2, and the resistance value of the trimming resistor is adjusted by controlling the conduction state of the control switch, thereby generating trimming currents of different magnitudes, and the unit resistor includes n+1 sub-resistors connected in parallel, and the resistance values ​​thereof are respectively R / 2, R, 2R, ... 2nR; except for the R / 2 sub-resistor, the remaining n sub-resistors are connected in parallel with one control switch; The total resistance adjustment range of the first trimming resistor and the second trimming resistor is R / 2 to (2^(n+1)-1)R / 2, so as to cover the maximum mismatch variation range of the PGA input stage resistance under the influence of process, voltage, temperature changes and device mismatch factors; The common-mode rejection ratio is independent of the feedback resistor and is only related to the matching of the input resistor and the trimming resistor. The common-mode rejection ratio of the PGA is improved by adjusting the trimming resistor to compensate for the input resistance mismatch, and the common-mode rejection characteristics of the PGA are transferred from the feedback resistor to the trimming resistor, thereby achieving decoupling of the PGA gain and common-mode rejection ratio.

2. The adjustment device according to claim 1, characterized in that: The input common-mode sampling circuit includes: a first sampling resistor, one end of which is connected to the first input end of the PGA, and the other end is connected to the common-mode voltage output node; a second sampling resistor, one end of which is connected to the common-mode voltage output node, and the other end is connected to the second input end of the PGA.

3. The adjustment device according to claim 1, characterized in that: The common-mode operational amplifier has a non-inverting input terminal connected to the reference voltage, an inverting input terminal connected to a common-mode voltage output node, and an output terminal connected to two input terminals of the PGA through the trimming resistor to form a negative feedback.

4. The adjustment device according to claim 1, characterized in that: The trimming resistor includes a first trimming resistor and a second trimming resistor; the first trimming resistor is connected between the output end of the common-mode operational amplifier and the first input end of the PGA, and the second trimming resistor is connected between the output end of the common-mode operational amplifier and the second input end of the PGA.

5. The adjustment device according to claim 4, characterized in that: The control switch is a MOS transistor.

6. The adjustment device according to any one of claims 1 to 5, characterized in that: The common-mode operational amplifier is a single-ended output operational amplifier, and one end of the trimming resistor is commonly connected to the output end of the operational amplifier.