Differential amplification circuit
By setting the first switch and the second switch in the differential amplifier circuit to absorb the charge when the feedback switch is turned off, the error problem caused by charge injection is solved, and the operation accuracy and reliability of the differential amplifier circuit are improved.
Patent Information
- Application Number
- CN202411019682.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-22
AI Technical Summary
The error problems caused by the charge released by the switch tube device in the differential amplifier circuit affect the accuracy of the signal difference and the calculation accuracy.
By providing the first switch and the second switch respectively absorb the charge released when the first feedback switch and the second feedback switch are turned off, the charges flowing in and out of the switch are cancelled out each other, and the additional error influence is eliminated.
The calculation accuracy and reliability of the differential amplifier circuit are improved to ensure accurate amplification of the input signal difference.
Smart Images

Figure CN119010812A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of charge injection, and in particular to a differential amplifier circuit. Background Art
[0002] A differential amplifier circuit is a circuit that determines the difference between two input signals and amplifies the difference to 1 or 0 that can be normally recognized by digital circuits. Since some types of differential amplifier circuits contain switching tube devices, when the switching tube is disconnected, charge will flow out of the switching tube. This phenomenon is called charge injection. The charge injection problem will cause the difference between the two input signals to be affected by the voltage, thereby introducing additional errors to the operation of the differential amplifier circuit.
[0003] Therefore, how to eliminate the error caused by the charge injection problem of the switch tube is a technical problem that technical personnel in this field need to solve. Summary of the invention
[0004] The object of the present invention is to provide a differential amplifier circuit, which can effectively cancel out the charges flowing into and out of the switches by setting a first switch and a second switch to absorb the charges released when the first feedback switch and the second feedback switch are disconnected, thereby eliminating the influence of additional errors, ensuring that the difference between the input signals can be accurately amplified, and improving the calculation accuracy and reliability of the differential amplifier circuit.
[0005] On the one hand, the present application provides a differential amplifier circuit, the differential amplifier circuit comprising an operational amplifier, a first feedback switch and a second feedback switch, a first switch and a second switch, wherein a first end of the first feedback switch is connected to a first input end of the operational amplifier, a second end of the first feedback switch is connected to an output end of the operational amplifier, a first end of the second feedback switch is connected to a second input end of the operational amplifier, and a second end of the second feedback switch is connected to an output end of the operational amplifier;
[0006] The first switch is used to absorb the charge released when the first feedback switch is turned off; the second switch is used to absorb the charge released when the second feedback switch is turned off.
[0007] In one embodiment, the first switch and the second switch further include:
[0008] a first input line and a second input line;
[0009] The first end of the first input line is connected to the first end of the first switch, and the common end of the connections serves as the first signal input end of the differential amplifier circuit, and the second end of the first input line is respectively connected to the second end of the first switch, the first end of the first feedback switch, and the first signal input end of the operational amplifier;
[0010] The first end of the second input line is connected to the first end of the second switch, and the common end of the connections serves as the second signal input end of the differential amplifier circuit, and the second end of the second input line is respectively connected to the second end of the second switch, the first end of the second feedback switch, and the second signal input end of the operational amplifier;
[0011] The control end of the first switch receives a first control signal, and the control end of the first feedback switch receives a second control signal, so as to control the first switch to be disconnected when the first feedback switch is turned on or the first switch to be turned on when the first feedback switch is turned off; the control end of the second switch receives a third control signal, and the control end of the second feedback switch receives a fourth control signal, so as to control the second switch to be disconnected when the second feedback switch is turned on or the second switch to be turned on when the second feedback switch is turned off.
[0012] In one embodiment, it also includes:
[0013] a first capacitor and a second capacitor;
[0014] The first end of the first capacitor serves as the first signal input end of the differential amplifier circuit, and the second end of the first capacitor is connected to the first end of the first input line and the first end of the first switch respectively;
[0015] The first end of the second capacitor serves as the second signal input end of the differential amplifier circuit, and the second end of the second capacitor is respectively connected to the first end of the second input line and the first end of the second switch.
[0016] In one embodiment, there is a preset inverse proportional relationship between the capacitance of the first capacitor and / or the second capacitor and the bandwidth of the operational amplifier.
[0017] In one embodiment, it further includes a pre-operational amplifier;
[0018] The first input terminal of the pre-operational amplifier serves as the first signal input terminal of the differential amplifier circuit, and the second input terminal of the pre-operational amplifier serves as the second signal input terminal of the differential amplifier circuit;
[0019] The first output terminal of the pre-operational amplifier is connected to the first terminal of the first input line and the first terminal of the first switch respectively;
[0020] The second output terminal of the pre-operational amplifier is connected to the first terminal of the second input line and the first terminal of the second switch respectively.
[0021] In one embodiment, further comprising a third switch;
[0022] A first end of the third switch is connected to a first input end of the pre-operational amplifier, and a second end of the third switch is connected to a second input end of the pre-operational amplifier;
[0023] The control end of the third switch is used to receive a pause instruction, so as to control the third switch to be opened when no pause instruction is received, and to be closed when the pause instruction is received.
[0024] In one embodiment, the switch width of the first switch is in a first preset proportional relationship with the switch width of the first feedback switch, the switch width of the second switch is in a first preset proportional relationship with the switch width of the second feedback switch, the switch length of the first switch is in a second preset proportional relationship with the switch length of the first feedback switch, and the switch length of the second switch is in a second preset proportional relationship with the switch length of the second feedback switch.
[0025] In one embodiment, a post differential amplifier is further included, and the output end of the operational amplifier includes a first output end and a second output end;
[0026] The first input end of the post differential amplifier is respectively connected to the first output end of the operational amplifier and the second end of the first feedback switch, and the second input end of the post differential amplifier is respectively connected to the second output end of the operational amplifier and the second end of the second feedback switch;
[0027] The output end of the post differential amplifier serves as the signal output end of the differential amplifier circuit.
[0028] In one embodiment, further comprising a fourth switch, a fifth switch, a third transmission line, and a fourth transmission line;
[0029] The first end of the third input line is respectively connected to the first end of the fourth switch, the first output end of the operational amplifier and the second end of the first feedback switch, and the second end of the third input line is respectively connected to the second end of the fourth switch and the first input end of the post differential amplifier;
[0030] The first end of the fourth input line is respectively connected to the first end of the fifth switch, the second output end of the operational amplifier and the second end of the second feedback switch, and the second end of the fourth input line is respectively connected to the second end of the fifth switch and the second input end of the post differential amplifier;
[0031] The control signals received by the control ends of the fourth switch and the fifth switch make the on-off states of the fourth switch consistent with those of the first switch, and the on-off states of the fifth switch consistent with those of the second switch.
[0032] On the other hand, the present application also provides an electronic system, including the differential amplifier circuit described above.
[0033] The beneficial effect of the present application is that a differential amplifier circuit and an electronic system are provided, and for a differential amplifier circuit having a feedback switch inside, a first switch and a second switch are provided, which are connected to the first feedback switch and the second feedback switch respectively. By providing the first switch and the second switch to absorb the charge released when the first feedback switch and the second feedback switch are disconnected respectively, the charge flowing into and out of the switch can be effectively offset, thereby eliminating the influence of additional errors, ensuring that the difference between the input signals can be accurately amplified, and improving the calculation accuracy and reliability of the differential amplifier circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 A schematic diagram of the structure of a differential amplifier circuit provided in this application;
[0036] Figure 2 A schematic diagram of the structure of a virtual switch provided in this application. DETAILED DESCRIPTION
[0037] The core of the present invention is to provide a differential amplifier circuit, which can effectively cancel out the charges flowing into and out of the switches by setting a first switch and a second switch to absorb the charges released when the first feedback switch and the second feedback switch are disconnected, thereby eliminating the influence of additional errors, ensuring that the difference between the input signals can be accurately amplified, and improving the operational accuracy and reliability of the differential amplifier circuit.
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] The charge injection problem refers to the problem of charge changes caused by the change of on-off state of some switching devices, especially MOS (Metal-Oxide-Semiconductor Field-Effect Transistor). Specifically, when the MOS is disconnected, if there is charge in its path (such as parasitic charge between the gate and the drain), these charges may be released. This released charge will cause instantaneous current outflow, and this process may cause additional errors in the circuit.
[0040] In the differential amplifier circuit, because the difference between the two input signals needs to be calculated, when the current outflow problem occurs due to the switch tube being turned off, the voltage value of one of the input signals will change, resulting in an error in the calculated signal difference. Furthermore, since the differential amplifier circuit also needs to amplify the signal difference, the impact of the error will be amplified as the signal difference is amplified, resulting in a larger error. Therefore, how to eliminate the impact of the charge injection problem on the differential amplifier circuit is a technical problem that needs to be solved at present.
[0041] Please refer to Figure 1 , Figure 1 A structural schematic diagram of a differential amplifier circuit provided by the present application, the differential amplifier circuit includes an operational amplifier OP1, a first feedback switch G1 and a second feedback switch G2, a first switch S1 and a second switch S2, a first end of the first feedback switch G1 is connected to a first input end of the operational amplifier OP1, a second end of the first feedback switch G1 is connected to an output end of the operational amplifier OP1, a first end of the second feedback switch G2 is connected to a second input end of the operational amplifier OP1, and a second end of the second feedback switch G2 is connected to an output end of the operational amplifier OP1;
[0042] The first switch S1 is used to absorb the charge released when the first feedback switch G1 is turned off; the second switch S2 is used to absorb the charge released when the second feedback switch G2 is turned off.
[0043] In this embodiment, the charge injection problem of the first feedback switch G1 and the second feedback switch G2 is solved. The first feedback switch G1 and the second feedback switch G2 may release charges when the switches are disconnected. In this embodiment, the first switch S1 and the second switch S2 are designed to absorb the released charges. Through this mechanism, the differential amplifier circuit can effectively eliminate the error effect that may be introduced by charge injection in the signal amplification process, thereby improving the calculation accuracy and stability of the circuit.
[0044] In one embodiment, the first switch and the second switch further include:
[0045] a first input line and a second input line;
[0046] The first end of the first input line is connected to the first end of the first switch S1 and the common end of the connection serves as the first signal input end of the differential amplifier circuit, and the second end is respectively connected to the second end of the first switch S1, the first end of the first feedback switch G1 and the first signal input end of the operational amplifier OP1;
[0047] The first end of the second input line is connected to the first end of the second switch S2, and the common end of the connection serves as the second signal input end of the differential amplifier circuit, and the second end is respectively connected to the second end of the second switch S2, the first end of the second feedback switch G2, and the second signal input end of the operational amplifier OP1;
[0048] The control end of the first switch S1 receives the first control signal, and the control end of the first feedback switch G1 receives the second control signal, so as to control the first switch S1 to be disconnected when the first feedback switch is turned on, or the first switch S1 to be turned on when the first feedback switch G1 is turned off; the control end of the second switch S2 receives the third control signal, and the control end of the second feedback switch G2 receives the fourth control signal, so as to control the second switch S2 to be disconnected when the second feedback switch G2 is turned on, or the second switch S2 to be turned on when the second feedback switch G2 is turned off.
[0049] For the current differential amplifier circuits with switches in the internal devices, the internal switches are usually connected in parallel with the input and output of the differential amplifier to be used as feedback switches. For example, in a two-input two-output differential amplifier circuit, two switches are set inside, the first feedback switch G1 is connected in parallel between the first input terminal and the first output terminal of the differential amplifier circuit, the first end of the first feedback switch G1 is connected to the first input terminal of the differential amplifier circuit, and the second end of the first feedback switch G1 is connected to the first output terminal of the differential amplifier circuit; the second feedback switch G2 is similarly connected in parallel between the second input terminal and the second output terminal of the differential amplifier circuit.
[0050] In order to eliminate the influence of the two switches on the differential amplifier in the differential amplifier circuit, a first switch S1 and a second switch S2 are respectively provided, and the two switches are respectively connected in parallel to the two input lines of the differential amplifier, and the specific position is before the first end of the feedback switch provided on the input line. Based on the principle of charge injection, the on-off state of the first switch S1 and the second switch S2 is completely opposite to the on-off state of the feedback switch, because the first switch S1 and the first feedback switch G1 are both located at the first input end of the operational amplifier OP1, and the on-off state of the first switch S1 and the first feedback switch G1 is opposite, when the first feedback switch G1 is turned on, the first switch S1 is turned off, and when the first feedback switch G1 is turned off, the first switch S1 is turned on.
[0051] In this way, even if the problem of current outflow occurs when the feedback switch is disconnected, when the first feedback switch G1 is disconnected, charges will flow out of the first feedback switch G1, causing the voltage of the first input terminal of the operational amplifier OP1 to increase. At this time, since the first switch S1 is turned on, the first switch S1 will absorb the charges of the first feedback switch G1 flow, that is, the charges flowing out of the first feedback switch G1 flow into the first switch S1, causing the voltage of the first input terminal of the operational amplifier OP1 to decrease; when the number of charges flowing out of the first feedback switch G1 is consistent with the number of charges flowing into the first switch S1, the problem of the increase in the voltage of the first input terminal of the operational amplifier OP1 caused by the charge outflow when the first feedback switch G1 is disconnected is offset, thereby ensuring the voltage stability of the first input terminal of the operational amplifier OP1. The situation of the second feedback switch G2 and the second switch S2 is the same as the above content.
[0052] Specifically, the first switch S1, the second switch S2, the first feedback switch G1 and the second feedback switch G2 involved in the present application are all three-terminal switches, two ends of which serve as input and output ends, and the other end is a control end. The on-off state of each switch is determined by the control signal received by the control end.
[0053] Here, the on-off state of the first switch S1 is controlled by the first control signal received by the control end of the first switch S1, and the on-off state of the first feedback switch G1 is controlled by the second control signal received by the first feedback switch G1. When the two switches (the first switch S1 and the first feedback switch G1) are of the same type (such as both switches that are turned on by high-level control, such as NMOS), the first control signal and the second control signal are opposite; when the two switches are of different types (such as one switch that is turned on by high-level control (such as NMOS) and the other switch that is turned on by low-level control (such as PMOS), the first control signal and the second control signal are the same. In short, the purpose of the first control signal and the second control signal is to make the switch states of the first switch S1 and the first feedback switch G1 opposite. The same is true for the second switch S2 and the second feedback switch G2, which will not be repeated here.
[0054] Furthermore, in order to ensure that the number of charges flowing out of the feedback switch (the first feedback switch G1 and the second feedback switch G2) is consistent with the number of charges flowing into the switch (the first switch S1 or the second switch S2) provided in the present application, it can be achieved according to the charge conservation principle, taking the first feedback switch G1 and the first switch S1 as an example, as follows:
[0055] ;
[0056] Wherein, Vck represents the external input voltage, W1 represents the width of the first feedback switch G1, Cov1 represents the capacitance value of the parasitic capacitance of the first feedback switch G1, W2 represents the width of the first switch S1, Cov2 represents the capacitance value of the parasitic capacitance of the first switch S1, and CH represents the capacitance of the two input terminals of the operational amplifier OP1 connected in series and the capacitance equivalent to the ground of the virtual device. When W2=0.5W1 in the above formula, and the lengths of the first feedback switch G1 and the first switch S1 are the same, the charge injection problem generated by the first feedback switch G1 can be completely offset.
[0057] It should be noted that the first switch S1 and the second switch S2 set in the present application are virtual switches, which will not release charge when disconnected, so the switches S1 and S2 introduced in the present application will not introduce the charge injection problem. Specifically, the virtual switch will not release charge when disconnected because of its own unique structure. Figure 2 As shown in FIG. 1 ), the structure is that after the source and drain of the MOS tube are connected to each other, the common end of the connection is connected to the corresponding first input line or the second input line, and the gate of the MOS tube (as the control end of the first switch S1 and the second switch S2) is used to receive the control signal, which is equivalent to the entire MOS tube being connected in parallel with the input line. The conduction state of the MOS field effect tube is controlled by the gate. When the gate is applied with a suitable voltage, a conductive path is formed between the drain and source of the MOS tube, allowing charge carriers (such as electrons or holes) to flow between the two ports, thereby realizing the conduction of current. When the voltage of the control gate no longer turns on the MOS tube, the conductive path between the drain and the source is cut off. In this case, the internal structure and physical properties of the MOS tube determine that they will not release a large amount of charge to the external environment.
[0058] Correspondingly, when the first feedback switch G1 and the second feedback switch G2 of the present application are MOS tubes, they release charge when disconnected because the connection design of the MOS tube is: the source and the drain are respectively connected to the circuit and the circuit is connected in series, for example, the first end (drain) of G1 is connected to the first input end of the operational amplifier OP1, and the second end (source) of G1 is connected to the first output end of the operational amplifier OP1. When the voltage change on the gate of the MOS tube causes the MOS tube to switch from the on state to the off state, the charge carriers (such as electrons or holes) inside the MOS tube may be released. This is because during the switching process of the MOS tube, the distribution and movement state of the charge carriers between the drain and the source change, causing part of the charge to be released into the environment, and the released charge may cause additional voltage or current fluctuations.
[0059] It should be noted that the first feedback switch G1 and the second feedback switch G2 of the present application do not have current inflow or outflow when they are turned on, because when the MOS is turned on, its internal inversion layer forms a conductive channel, allowing current to flow from the source to the drain. In this on-state, the flow of current is determined by the externally applied gate-source voltage and gate-drain voltage, and does not involve the direct flow of charge into or out of the MOS. Electrons (or holes, depending on the MOSFET type) are injected from the source, through the channel to the drain, forming a current in the on-state (that is, the on-current, not the current inflow or outflow caused by the MOS turn-on moment).
[0060] In summary, by setting the first switch S1 and the second switch S2 and two input lines, the two input lines are respectively connected to the two signal input terminals of the operational amplifier OP1, and are also respectively connected to the first terminals of the two feedback switches G1 / G2, the first switch S1 is connected in parallel with the first input line, the second switch S2 is connected in parallel with the second input line, the first switch S1 is disconnected when the first feedback switch G1 is turned on and is turned on when it is disconnected, and the second switch S2 is also disconnected when the second feedback switch G2 is turned on and is turned on when it is disconnected. By setting two switches whose on-off states are completely opposite to the on-off states of the feedback switches in the differential amplifier circuit, based on the principle of charge injection, the charge flowing out of the first feedback switch G1 or the second feedback switch G2 and the charge flowing into the first switch S1 and the second switch S2 are offset against each other, thereby eliminating the error caused by the charge injection problem and ensuring the operation accuracy of the differential amplifier circuit.
[0061] Based on the above embodiments:
[0062] In some embodiments, it also includes:
[0063] A first capacitor C1 and a second capacitor C2;
[0064] The first end of the first capacitor C1 serves as the first signal input end of the differential amplifier circuit, and the second end is respectively connected to the first end of the first input line and the first end of the first switch S1;
[0065] The first end of the second capacitor C2 serves as the second signal input end of the differential amplifier circuit, and the second end is respectively connected to the first end of the second input line and the first end of the second switch S2.
[0066] In order to improve the calculation accuracy of the differential amplifier circuit, in the present application, a capacitor is connected in series at the two output ends of the operational amplifier OP1 in the differential amplifier circuit, and the specific setting position of the capacitor is located before the first switch S1 or the second switch S2 mentioned in the above embodiment.
[0067] In one embodiment, the capacitance of the first capacitor and / or the second capacitor is in a preset inverse proportional relationship with the bandwidth of the operational amplifier. Specifically, in the present application, the capacitance of C1 and C2 is equal, and the capacitance is determined according to the bandwidth of the operational amplifier application scenario. Specifically, the capacitance value needs to match the bandwidth of the operational amplifier. If the capacitance value of the capacitor is too large, the bandwidth will become smaller accordingly. Therefore, the capacitance value of the capacitor is in a preset inverse proportional relationship with the bandwidth of the operational amplifier. The preset expression is: C / K=B; wherein C is the capacitance value of the first capacitor and / or the second capacitor, K is greater than 1, and B is the bandwidth of the operational amplifier.
[0068] By setting the capacitor in series, the capacitor is equivalent to the input filter of the operational amplifier OP1, filtering out the high-frequency signal in the external input voltage, and improving the signal-to-noise ratio of the voltage signal received by the input end of the operational amplifier OP1. In addition, when the number of charges flowing into and out of the first feedback switch G1 and the first switch S1 due to the charge injection problem is inconsistent, such as when there is too much charge flowing out of the first feedback switch G1 (that is, the first switch S1 cannot completely absorb this part of the charge), the capacitor can also absorb this part of the charge. In this way, the capacitor can further improve the stability of the voltage signal received by the operational amplifier OP1, thereby improving the calculation accuracy of the differential amplifier circuit.
[0069] In some embodiments, a pre-operational amplifier OP2 is also included;
[0070] The first input terminal of the preamplifier OP2 is used as the first signal input terminal of the differential amplifier circuit, and the second input terminal of the preamplifier OP2 is used as the second signal input terminal of the differential amplifier circuit;
[0071] A first output terminal of the pre-operational amplifier OP2 is connected to a first terminal of the first input line and a first terminal of the first switch S1 respectively;
[0072] The second output terminal of the pre-operational amplifier OP2 is connected to the first terminal of the second input line and the first terminal of the second switch S2 respectively.
[0073] In order to improve the voltage gain, in this application, it is considered that the application scenario of the differential amplifier circuit is usually to make a difference between two voltage signals, amplify the difference and then output it. When the two voltage signals themselves are small, the difference signal obtained after the difference may be even smaller, resulting in the situation that it may still not be recognized by the normal digital circuit after amplification. Therefore, in order to further amplify the signal, another operational amplifier OP2 is provided before the operational amplifier OP1, and the two operational amplifiers are connected in series. At this time, the role of the operational amplifier OP1 changes from differential operation to amplification. Specifically, the pre-operational amplifier OP2 first receives two voltage signals input from the outside, then makes a difference between the two voltage signals, and then outputs a differential signal with opposite phases and the same amplitude to the operational amplifier OP1 through two output terminals after the amplification. The operational amplifier OP1 further amplifies the differential signal, and the strength of the final difference signal is greater than that when the pre-operational amplifier OP2 is not provided, which can reduce the situation that the normal digital circuit cannot recognize the difference signal.
[0074] In some embodiments, a third switch S3 is further included;
[0075] A first end of the third switch S3 is connected to a first input end of the pre-operational amplifier OP2, and a second end of the third switch S3 is connected to a second input end of the pre-operational amplifier OP2;
[0076] The control end of the third switch S3 is used to receive a pause instruction, so as to control the third switch to be opened when no pause instruction is received, and to be closed when a pause instruction is received.
[0077] In order to realize fault detection and control output, in the present application, a third switch S3 is also provided between the two input terminals of the preamplifier OP2. The control terminal of the third switch is closed when a pause instruction is received, and is opened when no pause instruction is received. Specifically, when the third switch S3 is opened, the two input terminals of the preamplifier OP2 normally receive the external voltage signal; when the third switch S3 is closed, it is equivalent to short-circuiting the subsequent circuit, and the two input terminals of the preamplifier OP2 are both 0. It should be understood here that the third switch is also a three-terminal switch, in which two input terminals are connected to the circuit, and the control terminal is used to control the on and off of the third switch S3 according to whether a pause instruction is received.
[0078] This is because the differential amplifier circuit has a wide range of applications. In some household fields, such as sound amplification and signal amplification, users have the need to temporarily mute and temporarily shield signals. By controlling the on and off of the third switch S3, when the third switch S3 is closed, it is equivalent to the pre-stage operational amplifier OP2 and the operational amplifier OP1 being cut off, that is, the output is temporarily cut off, thereby meeting the needs of temporarily muting and temporarily shielding signals.
[0079] In addition, when the third switch S3 is closed, the theoretical inputs of the two input terminals of the pre-operational amplifier OP2 are both 0, and the theoretical output is also 0; in practical applications, if the output is not detected to be 0, it can be indicated that there is an abnormality or fault. By setting the third switch S3, fault detection can also be achieved.
[0080] In some embodiments, the switch width of the first switch is in a first preset proportional relationship with the switch width of the first feedback switch, the switch width of the second switch is in a first preset proportional relationship with the switch width of the second feedback switch, the switch length of the first switch is in a second preset proportional relationship with the switch length of the first feedback switch, and the switch length of the second switch is in a second preset proportional relationship with the switch length of the second feedback switch.
[0081] Specifically, the switch width refers to the width of the conductive channel of the MOS tube, and the switch length refers to the length of the conductive channel of the MOS tube. The width and length of the conductive channel of the MOS tube directly affect its electrical characteristics (such as on-resistance and current capacity), and the width and length of the conductive channel determine the on-current capacity and voltage characteristics of the MOS tube. By reasonably designing these ratios, the current distribution of the circuit can be optimized, ensuring the reasonable flow of current during the operation of the circuit, and preventing overload or imbalance.
[0082] Specifically, in this embodiment, by setting a preset proportional relationship, it is possible to ensure that the electrical characteristics of the first switch S1 and the second switch S2 match the feedback switch when turned on and off. Specifically, by defining the proportional relationship of the conductive channel size of the first switch S1 and the second switch S2 and the feedback switch, it is possible to ensure that the charge injection effects cancel each other out when the switches are in action. In this way, the charge released when the feedback switch is turned off can be effectively absorbed by the first switch S1 and the second switch S1, thereby reducing the impact of charge injection on the circuit and improving the accuracy of the differential amplifier circuit.
[0083] In some embodiments, a post differential amplifier OP3 is also included;
[0084] The first input terminal of the post differential amplifier OP3 is respectively connected to the positive phase differential output terminal of the operational amplifier OP1 and the second terminal of the first feedback switch G1, and the second input terminal is respectively connected to the negative phase differential output terminal of the operational amplifier OP1 and the second terminal of the second feedback switch G2;
[0085] The output end of the post differential amplifier OP2 serves as the signal output end of the differential amplifier circuit.
[0086] In order to further improve the voltage gain, in this application, combined with the above embodiments, it can be seen that the application scenario of the differential amplifier circuit is usually to make a difference between two voltage signals. When the two voltage signals themselves are small, there may be a situation where they cannot be recognized by a normal digital circuit; even if a pre-operational amplifier OP2 is added, in some cases where the input signal is very small, there is still a certain possibility that the digital circuit will recognize it. In this regard, a post-differential amplifier OP3 is also provided behind the operational amplifier OP1 to amplify the output of the operational amplifier OP1 again.
[0087] In the case of adding a post differential amplifier OP3, the functions of the pre-operational amplifier OP2 and the operational amplifier OP1 need to be adjusted. The pre-operational amplifier OP2 receives an external voltage signal, assuming it is Vin1 and Vin2, and the pre-operational amplifier OP2 differentially amplifies Vin1 and Vin2, and outputs two differential signals Vout1 and Vout2, which have opposite phases and the same amplitude. Then the operational amplifier OP1 amplifies Vout1 and Vout2 in phase to obtain Vout1 and Vout2 after gain amplification. Finally, the post differential amplifier OP3 differentially amplifies Vout1 and Vout2 to obtain the final output differential signal Vout, which is equivalent to a further amplified version of the differential signal of Vin1 and Vin2.
[0088] Furthermore, in the existing comparator structure, the comparator structure based on IOS or OOS to eliminate offset is a structure that uses capacitors and switches to calibrate the comparator input offset voltage and input bias current for the comparator structure based on IOS to eliminate offset. This comparator has high accuracy and resolution. While for the comparator structure based on OOS to eliminate offset, it is also a structure that uses capacitors and switches to calibrate the comparator input offset voltage and input bias current, which can effectively reduce the offset voltage without affecting the speed and power of the comparator.
[0089] Since the performance of these two comparator structures is good, this comparator structure is usually used to implement various functions. However, if the differential amplifier circuit is to be connected to these two comparator structures, the gain of the differential amplifier circuit needs to be high enough to ensure effective amplification and transmission of the signal. In the present application, after the external voltage signal is amplified by OP2, OP1 and OP3, its signal gain is sufficient to meet the requirements. Therefore, the present application is compatible with these two comparator structures and has strong versatility.
[0090] In this way, the differential signal of the external voltage signal is amplified three times, which can ensure that normal digital circuits can normally receive Vout and ensure the effectiveness of the differential amplifier circuit.
[0091] In some embodiments, further comprising a fourth switch S4, a fifth switch S5, a third transmission line, and a fourth transmission line;
[0092] The first end of the third input line is respectively connected to the first end of the fourth switch S4, the positive phase differential output end of the operational amplifier OP1 and the second end of the first feedback switch G1, and the second end is respectively connected to the second end of the fourth switch S4 and the first input end of the post differential amplifier OP3;
[0093] The first end of the fourth input line is respectively connected to the first end of the fifth switch S5, the inverting differential output end of the operational amplifier OP1 and the second end of the second feedback switch G2, and the second end is respectively connected to the second end of the fifth switch S5 and the second input end of the post differential amplifier OP3;
[0094] The control signals received by the control terminals of the fourth switch S4 and the fifth switch S5 make the on-off states of the fourth switch consistent with those of the first switch S1 , and the on-off states of the fifth switch S5 consistent with those of the second switch S2 .
[0095] In order to further offset the charge injection problem, since the second ends of the first feedback switch G1 and the second feedback switch G2 are connected to the two output ends of the operational amplifier OP1, that is, the two input ends of the post differential amplifier OP3, when the first feedback switch G1 and the second feedback switch G2 are turned on and off, the input of the post differential amplifier OP3 will also be affected, thereby generating an error. Therefore, between the connection point between the feedback switch and the output end of the operational amplifier OP1 and the input end of the post differential amplifier OP3, a switch, namely the fourth switch S4 and the fifth switch S5, is also connected in parallel.
[0096] The fourth switch S4 and the fifth switch S5 are also three-terminal switches, wherein two ends are used as input and output ends, and the other end is a control end. The on-off state of the switch is determined by a control signal received by the control end.
[0097] Specifically, the on-off state of the fourth switch S4 is controlled by the third control signal received by the control end of the fourth switch S4, and the on-off state of the fifth switch S5 is controlled by the fourth control signal received by the control end of the fifth switch S5. The on-off states of these two switches are opposite to the on-off states of the feedback switches on the lines where they are located, that is, the switch states of S4 and S1 are consistent, and the switch states of S5 and S2 are consistent.
[0098] In a specific embodiment, if the switch types of S4 and S1 are the same (such as switches that are both controlled by high level, such as NMOS), the third control signal of S4 can be consistent with the first control signal of S1; similarly, if the switch types of S5 and S2 are the same (such as switches that are both controlled by high level, such as NMOS), the fourth control signal of S5 can be consistent with the second control signal of S2; if the switch types of S4 and S1 are opposite, and the switch types of S5 and S2 are opposite (such as one is a switch that is controlled by high level (such as NMOS) and the other is a switch that is controlled by low level (such as PMOS)), the third control signal of S4 can be opposite to the first control signal of S1, and similarly, the fourth control signal of S5 is opposite to the second control signal of S2. S4 and S5 are based on the principle of charge injection to make the number of charges flowing out of the feedback switch and flowing into the virtual switch cancel each other, thereby eliminating the influence of charge injection on OP3.
[0099] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0100] It should also be noted that, in this specification, relational terms such as first and second, etc. 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 "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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 device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0101] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A differential amplifier circuit, characterized in that: The differential amplifier circuit includes an operational amplifier, a first feedback switch and a second feedback switch, a first switch and a second switch, wherein a first end of the first feedback switch is connected to a first input end of the operational amplifier, a second end of the first feedback switch is connected to an output end of the operational amplifier, a first end of the second feedback switch is connected to a second input end of the operational amplifier, and a second end of the second feedback switch is connected to an output end of the operational amplifier; The first switch is used to absorb the charge released when the first feedback switch is turned off; the second switch is used to absorb the charge released when the second feedback switch is turned off.
2. The differential amplifier circuit according to claim 1, characterized in that: The first switch and the second switch further include: a first input line and a second input line; The first end of the first input line is connected to the first end of the first switch, and the common end of the connections serves as the first signal input end of the differential amplifier circuit, and the second end of the first input line is respectively connected to the second end of the first switch, the first end of the first feedback switch, and the first signal input end of the operational amplifier; The first end of the second input line is connected to the first end of the second switch, and the common end of the connections serves as the second signal input end of the differential amplifier circuit, and the second end of the second input line is respectively connected to the second end of the second switch, the first end of the second feedback switch, and the second signal input end of the operational amplifier; The control end of the first switch receives a first control signal, and the control end of the first feedback switch receives a second control signal, so as to control the first switch to be disconnected when the first feedback switch is turned on or the first switch to be turned on when the first feedback switch is turned off; the control end of the second switch receives a third control signal, and the control end of the second feedback switch receives a fourth control signal, so as to control the second switch to be disconnected when the second feedback switch is turned on or the second switch to be turned on when the second feedback switch is turned off.
3. The differential amplifier circuit as claimed in claim 2, characterized in that: Also includes: a first capacitor and a second capacitor; The first end of the first capacitor serves as the first signal input end of the differential amplifier circuit, and the second end of the first capacitor is connected to the first end of the first input line and the first end of the first switch respectively; The first end of the second capacitor serves as the second signal input end of the differential amplifier circuit, and the second end of the second capacitor is respectively connected to the first end of the second input line and the first end of the second switch.
4. The differential amplifier circuit as claimed in claim 3, characterized in that: The capacitance of the first capacitor and / or the second capacitor is in a preset inverse proportional relationship with the bandwidth of the operational amplifier.
5. The differential amplifier circuit as claimed in claim 2, characterized in that: Also included is a pre-operational amplifier; The first input terminal of the pre-operational amplifier serves as the first signal input terminal of the differential amplifier circuit, and the second input terminal of the pre-operational amplifier serves as the second signal input terminal of the differential amplifier circuit; The first output terminal of the pre-operational amplifier is connected to the first terminal of the first input line and the first terminal of the first switch respectively; The second output terminal of the pre-operational amplifier is connected to the first terminal of the second input line and the first terminal of the second switch respectively.
6. The differential amplifier circuit as claimed in claim 5, characterized in that: Also including a third switch; A first end of the third switch is connected to a first input end of the pre-operational amplifier, and a second end of the third switch is connected to a second input end of the pre-operational amplifier; The control end of the third switch is used to receive a pause instruction, so as to control the third switch to be opened when no pause instruction is received, and to be closed when the pause instruction is received.
7. The differential amplifier circuit according to claim 1, wherein: A switch width of the first switch is in a first preset proportional relationship with a switch width of the first feedback switch, a switch width of the second switch is in a first preset proportional relationship with a switch width of the second feedback switch, a switch length of the first switch is in a second preset proportional relationship with a switch length of the first feedback switch, and a switch length of the second switch is in a second preset proportional relationship with a switch length of the second feedback switch.
8. The differential amplifier circuit according to any one of claims 1 to 7, characterized in that: Also includes a post differential amplifier, the output end of the operational amplifier includes a first output end and a second output end; The first input end of the post differential amplifier is respectively connected to the first output end of the operational amplifier and the second end of the first feedback switch, and the second input end of the post differential amplifier is respectively connected to the second output end of the operational amplifier and the second end of the second feedback switch; The output end of the post differential amplifier serves as the signal output end of the differential amplifier circuit.
9. The differential amplifier circuit as claimed in claim 8, characterized in that Also comprising a fourth switch, a fifth switch, a third transmission line and a fourth transmission line; The first end of the third input line is respectively connected to the first end of the fourth switch, the first output end of the operational amplifier and the second end of the first feedback switch, and the second end of the third input line is respectively connected to the second end of the fourth switch and the first input end of the post differential amplifier; The first end of the fourth input line is respectively connected to the first end of the fifth switch, the second output end of the operational amplifier and the second end of the second feedback switch, and the second end of the fourth input line is respectively connected to the second end of the fifth switch and the second input end of the post differential amplifier; The control signals received by the control ends of the fourth switch and the fifth switch make the on-off states of the fourth switch consistent with those of the first switch, and the on-off states of the fifth switch consistent with those of the second switch.
10. An electronic system, characterized in that: The differential amplifier circuit comprises the differential amplifier circuit described in any one of claims 1 to 9.
