Detection circuit, system and method with common mode locking function
By using the adaptive first common mode locking module and the second common mode locking module in the power management circuit, adjusting the voltage threshold and output compensation voltage, the system caused by the voltage signal exceeding the common mode input range in the traditional power management circuit is solved. The stability problem has achieved stability of load voltage and improved system stability.
Patent Information
- Application Number
- CN202210846593.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-07-19
AI Technical Summary
In traditional power management circuits, directly controlling the output voltage of the detection circuit will cause the system control loop to be unstable and cannot effectively keep the detected voltage signal within the common mode input voltage range.
Adopting the first common mode locking module and the second common mode locking module with adaptive adaptive, the voltage threshold value of the input terminal of the voltage detection module is adjusted, and the voltage threshold value output by the error amplifier module is output to ensure that The load voltage is within the preset second common mode input voltage range to realize the common mode locking function.
By adaptively adjusting the voltage threshold and compensation voltage, the load voltage is stabilized within the second common mode input voltage range, while improving the stability of the system and avoiding the problem of instability of the control loop.
Smart Images

Figure CN115219774B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of power management circuits, and in particular to a detection circuit, system and method with a common mode locking function. Background Art
[0002] Some power management circuits, such as voltage regulators or current regulators, usually require the use of detection circuits such as error amplifiers or comparators to detect and amplify the voltage signal or current signal of the load in the voltage regulator or current regulator, and output analog signals or digital signals for use by subsequent circuits. However, the detection circuit has certain common-mode input voltage requirements, that is, the voltage input to the detection circuit needs to be within the expected range.
[0003] There are two traditional solutions. One is to design a detection circuit with a very wide common-mode input voltage range so that the detected voltage signal is always within the common-mode input voltage range. However, this circuit structure is very complex, which increases the design difficulty and chip area. Another solution is to add a common-mode locking circuit to detect the range of the voltage signal. When the detected voltage signal exceeds the common-mode input voltage range of the detection circuit, the output voltage of the detection circuit is directly limited by the common-mode locking circuit. However, in actual situations, the output end of the detection circuit also needs to be connected to a compensation network. Then, directly controlling the output voltage of the detection circuit will cause instability in the entire system control loop.
[0004] Therefore, a new detection circuit with common-mode locking function is urgently needed. Summary of the invention
[0005] In order to solve the problem that the traditional solution of directly controlling the voltage of the detection circuit will cause instability of the entire system control loop, the embodiments of the present invention provide a detection circuit, system and method with a common mode locking function.
[0006] In a first aspect, an embodiment of the present invention provides a detection circuit with a common mode locking function, comprising: a voltage detection module, a first common mode locking module, a threshold setting module, an error amplifier module, and a second common mode locking module;
[0007] The two input ends of the voltage detection module are respectively connected to the two ends of the external unit to be tested, the output end of the voltage detection module is connected to an input end of the error amplifier module, the power supply end of the voltage detection module is connected to the external power supply, and the voltage detection module is used to detect and output the voltage difference between the two ends of the unit to be tested; the unit to be tested at least includes a load;
[0008] The input end of the first common-mode locking module is connected to the connection line of any input end of the voltage detection module, the output end of the first common-mode locking module is connected to the threshold setting module, and the first common-mode locking module is used to receive the voltage value inputted by the corresponding input end of the voltage detection module, and adjust the voltage threshold inputted by the threshold setting module to the other input end of the error amplifier module according to the received voltage value and the preset first common-mode input voltage range;
[0009] The input end of the second common-mode locking module is connected to the connection line between the first common-mode locking module and the corresponding input end of the voltage detection module, the output end of the second common-mode locking module is connected to the output end of the error amplifier module, and the second common-mode locking module is used to receive the voltage value inputted by the corresponding input end of the voltage detection module, and output the adjustment voltage to the error amplifier module according to the received voltage value and a preset second common-mode input voltage range; the second common-mode input voltage range covers the first common-mode input voltage range;
[0010] The error amplifier module is used to output a compensation voltage to an external control drive and power transmission module according to the input values of the two input terminals and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value at both ends of the unit under test gradually stabilize within the second common-mode input voltage range.
[0011] In a possible design, when the detection circuit is used to detect the voltage across the load, two input terminals of the voltage detection module are respectively connected to the two terminals of the load;
[0012] When the detection circuit is used to detect the current at both ends of the load, the unit to be tested further includes a sampling element connected in series with the load, and two input ends of the voltage detection module are respectively connected to both ends of the sampling element.
[0013] In one possible design, the first common-mode locking module is specifically used to reduce the voltage threshold output by the threshold setting module when the received voltage value is greater than the maximum value in the first common-mode input voltage range; and to increase the voltage threshold output by the threshold setting module when the received voltage value is less than the minimum value in the first common-mode input voltage range.
[0014] In a possible design, when one PMOS tube is connected in series between the two input terminals of the voltage detection module and the power supply terminal respectively, the first common mode locking module includes: a PMOS tube M21 and a PMOS tube M22;
[0015] The PMOS tube M22 has a gate connected to a connection line at the inverting input end of the voltage detection module;
[0016] The PMOS tube M21 has a drain connected to the source of the PMOS tube M22, and a gate connected to a connection line between the drain of the PMOS tube M21 and the source of the PMOS tube M22;
[0017] The threshold setting module includes: a current source I1 and a resistor R1;
[0018] The current source I1 has one end connected to the power supply, and the other end connected to the source of the PMOS tube M21;
[0019] The resistor R1 has one end connected to the connection line between the drain of the PMOS tube M22 and the in-phase input terminal of the error amplifier module, and the other end connected to the ground.
[0020] In a possible design, when one PMOS tube is connected in series between the two input terminals of the voltage detection module and the power supply terminal respectively, the first common-mode locking module includes: a current source I3, an NMOS tube M23, an NMOS tube M24, a PMOS tube M21 and a PMOS tube M22;
[0021] The current source I3 has one end connected to the power supply, and the other end connected to the drain and gate of the NMOS tube M23 and the gate of the NMOS tube M24 respectively;
[0022] The NMOS tube M23 has a gate connected to the current source I3, a gate of the NMOS tube M24 and a drain of the NMOS tube M23, and a source connected to the ground and the source of the NMOS tube M24;
[0023] The drain of the NMOS tube M24 is connected to the drain of the PMOS tube M22;
[0024] The PMOS tube M22 has a gate connected to the connection line of the inverting input terminal of the voltage detection module, and a source connected to the connection line between the gate and the drain of the PMOS tube M21;
[0025] The source of the PMOS tube M21 is connected to the power supply;
[0026] The threshold setting module includes: a current source I1, an NMOS tube M25 and a resistor R1;
[0027] The current source I1 has one end connected to the source of the PMOS tube M21 and the connection line of the power supply, and the other end connected to the drain of the NMOS tube M25;
[0028] The NMOS tube M25 has a gate connected to a connection line between the drain of the PMOS tube M22 and the drain of the NMOS tube M24, and a source connected to a connection line between the resistor R1 and the in-phase input terminal of the error amplifier module;
[0029] The other end of the resistor R1 is connected to a connection line between the source of the NMOS transistor M24 and the source of the NMOS transistor M23 .
[0030] In one possible design, the error amplifier module has an input offset voltage for affecting the compensation voltage;
[0031] When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module exceeds the second common-mode input voltage range, the second common-mode locking module outputs an adjustment voltage for achieving pull-down, so that the error amplifier module outputs a compensation voltage after pull-down, and further causes the control drive and power transmission module to stop providing power to the load.
[0032] In a possible design, the second common-mode locking module includes: a current source I2, an NMOS transistor M2, an NMOS transistor M3, an NMOS transistor M4, a PMOS transistor M1, a PMOS transistor M5 and an NMOS transistor M6;
[0033] The current source I2 has one end connected to the power supply, and the other end connected to the drain and gate of the NMOS tube M2 and the gate of the NMOS tube M3 respectively;
[0034] The gate of the NMOS tube M2 is respectively connected to the current source I2, the gate of the NMOS tube M3 and the drain of the NMOS tube M2, and the source is grounded and connected to the source of the NMOS tube M3;
[0035] The drain of the NMOS tube M3 is connected to the drain of the PMOS tube M1;
[0036] The PMOS tube M1 has a gate connected to the connection line of the inverting input end of the voltage detection module, and a source connected to the power supply;
[0037] The NMOS tube M4 has a gate connected to the connection line between the drain and the gate of the NMOS tube M2, and a source connected to the connection line between the source of the NMOS tube M2 and the source of the NMOS tube M3;
[0038] The PMOS tube M5 has a gate connected to the connection line between the drain of the PMOS tube M1 and the drain of the NMOS tube M3, a source connected to the connection line between the source of the PMOS tube M1 and the power supply, and a drain connected to the drain of the NMOS tube M4;
[0039] The NMOS tube M6 has a gate connected to the connection line between the drain of the NMOS tube M4 and the drain of the PMOS tube M5, a source connected to the ground line of the NMOS tube M4, and a drain connected to the output end of the error amplifier module and the connection line of the control drive and power transmission module.
[0040] In a second aspect, an embodiment of the present invention further provides a detection system with a common mode locking function, comprising: a control drive and power transmission module, a unit to be tested, a power supply, and a detection circuit as described in any embodiment of this specification; the unit to be tested includes at least a load;
[0041] The detection circuit is connected to the power supply and the unit to be tested respectively;
[0042] The control drive and power transmission module is used to adjust the power provided to the load according to the compensation voltage output by the detection circuit, so that the voltage value across the unit under test gradually stabilizes within a preset second common mode input voltage range.
[0043] In a third aspect, an embodiment of the present invention further provides a detection method based on the detection circuit described in any embodiment of this specification, comprising:
[0044] Using the voltage detection module to detect the voltage difference between the two ends of the external unit to be tested;
[0045] Utilize the first common-mode locking module to detect the voltage value of any input terminal of the voltage detection module, and adjust the voltage threshold output by the threshold setting module according to the detected voltage value and a preset first common-mode input voltage range; wherein the first common-mode input voltage range is determined by the circuit structure of the first common-mode locking module;
[0046] A second common-mode locking module is used to detect a voltage value at the same input terminal as that of the voltage detection module detected by the first common-mode locking module, and an adjustment voltage is output to the error amplifier module according to the detected voltage value and a preset second common-mode input voltage range; wherein the second common-mode input voltage range is determined by the circuit structure of the second common-mode locking module, and the second common-mode input voltage range covers the first common-mode input voltage range.
[0047] The error amplifier module is used to output a compensation voltage to an external control drive and power transmission module according to the voltage difference across the external unit to be tested, the voltage threshold output by the threshold setting module and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value across the unit to be tested gradually stabilized within the second common-mode input voltage range.
[0048] In one possible design, the error amplifier module has an input offset voltage for affecting the compensation voltage;
[0049] When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module exceeds the second common-mode input voltage range, the second common-mode locking module outputs an adjustment voltage for achieving pull-down, so that the error amplifier module outputs a compensation voltage after pull-down, and further causes the control drive and power transmission module to stop providing power to the load.
[0050] The embodiment of the present invention provides a detection circuit, system and method with a common mode locking function, which detects the voltage value of any input terminal of the voltage detection module by using a first common mode locking module, and adjusts the voltage threshold output by the threshold setting module according to the detected voltage value and the preset first common mode input voltage range, and at the same time detects the input terminal of the voltage detection module that is the same as the first common mode locking module by using a second common mode locking module, and outputs the adjustment voltage to the output terminal of the error amplifier module according to the received voltage value and the preset second common mode input voltage range; finally, the error amplifier module outputs a compensation voltage to the external control drive and power transmission module according to the voltage difference at both ends of the external unit to be tested, the voltage threshold output by the threshold setting module and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value at both ends of the unit to be tested gradually stabilized within the second common mode input voltage range. In this solution, the power provided to the load by the detection circuit is adjusted by the adaptive first common mode locking module and the second common mode locking module, so as to realize the common mode locking function and greatly improve the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1A detection circuit diagram with a common mode locking function provided by an embodiment of the present invention;
[0053] Figure 2 is another detection circuit diagram with a common mode locking function provided by an embodiment of the present invention;
[0054] Figure 3 It is another detection circuit diagram with a common mode locking function provided by an embodiment of the present invention;
[0055] Figure 4 This is a control result diagram of the traditional solution provided by the present invention;
[0056] Figure 5 It is a control result diagram of a detection circuit diagram with a common mode locking function provided by an embodiment of the present invention;
[0057] Figure 6 is a flow chart of a detection method with a common mode locking function provided by an embodiment of the present invention;
[0058] Among them, 11, voltage detection module; 12, first common mode locking module; 13, threshold setting module; 14, error amplifier module; 15, second common mode locking module. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0060] As mentioned above, the second solution in the traditional solution is to add a common-mode locking circuit to detect the range of the voltage signal, and directly connect the output of the common-mode locking circuit to the output of the error amplifier, that is, the output of the detection circuit. When the detected voltage signal exceeds the preset common-mode input voltage range of the detection circuit, the output voltage of the detection circuit is directly limited by the common-mode locking circuit. However, in actual situations, the output of the detection circuit also needs to be connected to a compensation network, so directly controlling the output voltage of the detection circuit will cause instability in the control loop of the entire system.
[0061] In order to solve the above technical problems, the inventors can consider using the voltage threshold output by the threshold setting module as the voltage threshold of the voltage at both ends of the unit to be tested, and adjusting the voltage at both ends of the unit to be tested by adaptively adjusting the set voltage threshold. Therefore, the voltage value at any end of the unit to be tested is monitored by the first common-mode locking module, and when the voltage value exceeds the first common-mode input voltage range, the voltage threshold output by the threshold setting module is adjusted; in order to strengthen the common-mode locking capability of the detection circuit, a second common-mode locking module is set to detect the voltage value at the same end of the unit to be tested as detected by the first common-mode locking module, and a second common-mode input voltage range covering the first common-mode input voltage range is preset, and an adjustment voltage is output to the output end of the error amplifier module according to the received voltage value and the second common-mode input voltage range; finally, the error amplifier module is used to output a compensation voltage to the external control drive and power transmission module according to the input values of the two input ends and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value at both ends of the unit to be tested gradually stabilize within the second common-mode input voltage range. This solution does not simply directly control the output voltage of the detection circuit and will not affect the stability of the entire system control loop.
[0062] The specific implementation of the above concept is described below.
[0063] Please refer to Figure 1 , an embodiment of the present invention provides a detection circuit with a common mode locking function, the circuit comprising: a voltage detection module 11, a first common mode locking module 12, a threshold setting module 13, an error amplifier module 14 and a second common mode locking module 15;
[0064] The two input ends of the voltage detection module 11 are respectively connected to the two ends of the external unit to be tested, the output end of the voltage detection module 11 is connected to an input end of the error amplifier module 14, and the power supply end of the voltage detection module 11 is connected to the external power supply, for detecting and outputting the voltage difference between the two ends of the unit to be tested; the unit to be tested includes at least a load;
[0065] The input end of the first common-mode locking module 12 is connected to the connection line of any input end of the voltage detection module 11, and the output end of the first common-mode locking module 12 is connected to the threshold setting module 13, which is used to receive the voltage value inputted from the corresponding input end of the voltage detection module 11, and adjust the voltage threshold inputted from the threshold setting module 13 to the other input end of the error amplifier module 14 according to the received voltage value and the preset first common-mode input voltage range;
[0066] The input end of the second common-mode locking module 15 is connected to the connection line between the first common-mode locking module 12 and the corresponding input end of the voltage detection module 11, and the output end of the second common-mode locking module 15 is connected to the output end of the error amplifier module 14. The second common-mode locking module 15 is used to receive the voltage value inputted from the corresponding input end of the voltage detection module 11, and output the adjustment voltage to the error amplifier module 14 according to the received voltage value and the preset second common-mode input voltage range; the second common-mode input voltage range covers the first common-mode input voltage range;
[0067] The error amplifier module 14 is used to output a compensation voltage to an external control drive and power transmission module according to the input values of the two input terminals and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value at both ends of the unit to be tested gradually stabilized within the second common-mode input voltage range.
[0068] In the embodiment of the present invention, the voltage value of any input terminal of the voltage detection module is detected by using the first common mode locking module, and the voltage threshold output by the threshold setting module is adjusted according to the detected voltage value and the preset first common mode input voltage range, and the second common mode locking module is used to detect the input terminal of the voltage detection module that is the same as the first common mode locking module, and the adjustment voltage is output to the output terminal of the error amplifier module according to the received voltage value and the preset second common mode input voltage range; finally, the error amplifier module outputs the compensation voltage to the external control drive and power transmission module according to the voltage difference at both ends of the external unit to be tested, the voltage threshold output by the threshold setting module and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value at both ends of the unit to be tested gradually stabilized within the second common mode input voltage range. In this solution, the power provided to the load by the detection circuit is adjusted by the adaptive first common mode locking module and the second common mode locking module, and the common mode locking function is realized, while greatly improving the stability of the system.
[0069] According to the following Figure 1 The circuit diagram shown is explained.
[0070] It should be noted that when the detection circuit is used to detect the voltage across the load, the two input ends of the voltage detection module 11 are respectively connected to the two ends of the load; and when the detection circuit is used to detect the current across the load, the unit to be tested also includes a sampling element connected in series with the load, and the two input ends of the voltage detection module 11 are respectively connected to the two ends of the sampling element.
[0071] In the embodiment of the present invention, the detection circuit is used to detect the current at both ends of the load as an example for explanation. Figure 1 As shown, two input terminals of the voltage detection module 11 are respectively connected to two terminals of the sampling element.
[0072] In the figure, VDD is the power supply voltage value of the external power supply to the detection circuit, SENSE+ and SENSE- represent the two ends of the external unit to be tested. COMP is the output end of the detection circuit output compensation voltage, that is, the output end of the error amplifier module 14.
[0073] In the embodiment of the present invention, Figure 1 As shown, the detection circuit includes: a voltage detection module 11 , a first common-mode locking module 12 , a threshold setting module 13 , an error amplifier module 14 and a second common-mode locking module 15 .
[0074] Among them, the voltage detection module 11, the in-phase input terminal and the inverting input terminal are respectively connected to the two ends of the external sampling element, the output terminal is connected to the inverting input terminal of the error amplifier module 14, and the power supply terminal of the voltage detection module 11 is connected to the external power supply. The voltage detection module 11 is used to detect and output the voltage difference between the two ends of the sampling element;
[0075] The first common-mode locking module 12 has an input end connected to the inverting input end of the voltage detection module 11, that is, detecting the SENSE-end voltage value, and an output end connected to the input end of the threshold setting module 13, for receiving the voltage value inputted from the corresponding input end of the voltage detection module 11, and adjusting the voltage threshold inputted from the threshold setting module 13 to the positive input end of the error amplifier module 14 according to the received voltage value and a preset first common-mode input voltage range; wherein, the first common-mode input voltage range is determined by the circuit structure of the first common-mode locking module 12, and the specific calculation method of the first common-mode input voltage range will be described later.
[0076] The second common-mode locking module 15 has an input end connected to the inverting input end of the voltage detection module 11, that is, detecting the voltage value of the SENSE-end, and an output end connected to the output end of the error amplifier module 14. The second common-mode locking module 15 outputs an adjustment voltage to the output end of the error amplifier module 14 according to the detected voltage value of the SENSE-end and a preset second common-mode input voltage range; wherein the second common-mode input voltage range is determined by the circuit structure of the second common-mode locking module 15, and the specific calculation method of the second common-mode input voltage range will be described later, and the second common-mode input voltage range covers the first common-mode input voltage range;
[0077] The error amplifier module 14 is used to output a compensation voltage to the external control drive and power transmission module according to the voltage difference across the sampling element output by the voltage detection module 11, the voltage threshold output by the threshold setting module 13, and the adjustment voltage output by the second common mode locking module 15, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value across the unit under test gradually stabilize within the second common mode input voltage range.
[0078] It should be noted that the common-mode input voltage range of the detection circuit, that is, the common-mode input voltage range of the voltage detection module 11 is determined by the circuit structure of the voltage detection module 11, and both the first common-mode input voltage range and the second common-mode input voltage range need to be set according to the common-mode input voltage range of the voltage detection module 11. Specifically, the second common-mode input voltage range may be less than or equal to the common-mode input voltage range of the voltage detection module 11, and the first common-mode input voltage range needs to be less than the second common-mode input voltage range.
[0079] Next, the working principles of the first common mode locking module 12 and the second common mode locking module 15 are described respectively.
[0080] First, the working principle of the first common mode locking module 12 is described.
[0081] The voltage detection module 11 detects the voltage difference between the two ends of the external sampling element (the voltage difference between SENSE+ and SENSE-), and then compares it with the voltage threshold set by the threshold setting module 13. When the detected voltage difference is lower than the set voltage threshold, the COMP output is high, and the power output is provided to the load by controlling the drive and power transmission module; when the detected voltage difference is higher than the set voltage threshold, the COMP output is low, and no power is output to the load end. The voltage threshold is set manually, and when the detected SENSE- voltage value exceeds the first common mode input voltage range, the first common mode locking module 12 turns on the common mode locking function, that is, adjusts the output of the COMP end by adjusting the voltage threshold.
[0082] In an embodiment of the present invention, the first common-mode locking module 12 is specifically used to reduce the voltage threshold output by the threshold setting module 13 when the received voltage value is greater than the maximum value in the first common-mode input voltage range; and to increase the voltage threshold output by the threshold setting module 13 when the received voltage value is less than the minimum value in the first common-mode input voltage range.
[0083] Specifically, the first common-mode locking module 12 detects the voltage value of the SENSE-terminal, and then compares it with the first common-mode input voltage range. When the received voltage value is greater than the maximum value in the first common-mode input voltage range, the voltage threshold output by the threshold setting module 13 is reduced. The voltage threshold corresponds to the threshold of the voltage difference between the two ends of the sampling element. Therefore, the voltage threshold is reduced, the output compensation voltage is also reduced, and the power provided by the control drive and power transmission module to the load is also reduced. Therefore, the voltage of SENSE- is reduced and returns to the first common-mode input voltage range of the voltage detection module 11. Similarly, when the received voltage value is less than the minimum value in the first common-mode input voltage range, the voltage threshold output by the threshold setting module 13 is increased, the output compensation voltage is also increased, and the power provided by the control drive and power transmission module to the load is also increased. Therefore, the voltage of SENSE- is increased and returns to the first common-mode input voltage range of the voltage detection module 11. At this time, the common-mode locking function of the first common-mode locking module 12 is turned off, and the voltage threshold output by the threshold setting module 13 gradually returns to the set voltage threshold.
[0084] In addition, the common-mode input voltage range of the voltage detection module 11 is related to the circuit structure of the voltage detection module 11. Specifically, at least one PMOS tube can be connected in series between the two input terminals of the voltage detection module 11 and the power supply terminal. When one PMOS tube is connected in series, the common-mode input voltage range of the voltage detection module 11 is 0V to (VDD-Vthp), where Vthp is the threshold voltage of the PMOS tube connected in series; when two PMOS tubes are connected in series, the common-mode input voltage range of the voltage detection module 11 is 0V to (VDD-Vthp1-Vthp2).
[0085] It can be understood that the first common-mode input voltage range is smaller than the common-mode input voltage range of the voltage detection module 11. Therefore, the number of PMOS tubes connected in series between the input terminal and the power supply terminal in the first common-mode locking module 12 and the threshold voltage of each PMOS tube need to be determined according to the number of PMOS tubes connected in series between the two input terminals and the power supply terminal in the voltage detection module 11 and the threshold voltage of each PMOS tube.
[0086] In the embodiment of the present invention, two circuit structures of the first common-mode locking module 12 and the threshold setting module 13 are listed when a PMOS tube is connected in series between the two input terminals of the voltage detection module 11 and the power supply terminal respectively.
[0087] The circuit structure of the voltage detection module 11 is as follows: Figure 2 As shown, the SENSE-end is connected to the gate of the PMOS tube M31, and the source of the PMOS tube M31 is connected to the power supply end VDD through the resistor R31; the SENSE+end is connected to the gate of the PMOS tube M32, and the source of the PMOS tube M32 is connected to the power supply end VDD through the resistor R32.
[0088] It can be seen that the common mode input voltage range of the voltage detection module 11 is 0V to (VDD-Vthp), wherein Vthp is the threshold voltage of the PMOS tube M31 and the PMOS tube M32, and the threshold voltages of the PMOS tube M31 and the PMOS tube M32 are the same.
[0089] It should be noted that, in order to facilitate the explanation of the calculation method of the common-mode input voltage range, it is assumed that the threshold voltages of the PMOS tubes in the voltage detection module 11 , the first common-mode locking module 12 and the second common-mode locking module 15 are the same and are Vthp.
[0090] The two circuit structures of the first common mode locking module 12 and the threshold setting module 13 are described below respectively.
[0091] First, structure 1 will be described.
[0092] In this structure, if Figure 2 As shown, when one PMOS tube is connected in series between the two input terminals of the voltage detection module 11 and the power supply terminal respectively, the first common mode locking module 12 includes: a PMOS tube M21 and a PMOS tube M22;
[0093] A PMOS tube M22, the gate of which is connected to the connection line of the inverting input terminal of the voltage detection module;
[0094] A PMOS tube M21, a drain connected to a source of the PMOS tube M22, and a gate connected to a connection line between the drain of the PMOS tube M21 and the source of the PMOS tube M22;
[0095] The threshold setting module 13 includes: a current source I1 and a resistor R1;
[0096] A current source I1, one end of which is connected to the power supply, and the other end of which is connected to the source of the PMOS tube M21;
[0097] The resistor R1 has one end connected to the connection line between the drain of the PMOS tube M22 and the non-inverting input terminal of the error amplifier module, and the other end connected to the ground.
[0098] It can be seen that the first common-mode input voltage range of the first common-mode locking module 11 is 0V to (VDD-2Vthp), wherein the threshold voltages of the PMOS transistor M21 and the PMOS transistor M22 are both Vthp.
[0099] refer to Figure 2When the SENSE-terminal is greater than the maximum value of the first common-mode input voltage range, the PMOS tube M22 is controlled to be turned off, and the current flowing into the resistor R1 is reduced, thereby reducing the threshold voltage output by the threshold setting module 13. Similarly, when the SENSE-terminal is less than the minimum value of the first common-mode input voltage range, the PMOS tube M22 is controlled to be turned on, and the current flowing into the resistor R1 is increased, thereby increasing the threshold voltage output by the threshold setting module 13.
[0100] Then, structure 2 is described.
[0101] In this structure 2, if Figure 3 As shown, when one PMOS tube is connected in series between the two input terminals of the voltage detection module 11 and the power supply terminal respectively, the first common mode locking module 12 includes: a current source I3, an NMOS tube M23, an NMOS tube M24, a PMOS tube M21 and a PMOS tube M22;
[0102] A current source I3, one end of which is connected to the power supply, and the other end of which is respectively connected to the drain and gate of the NMOS tube M23 and the gate of the NMOS tube M24;
[0103] The NMOS tube M23 has a gate connected to the current source I3, the gate of the NMOS tube M24 and the drain of the NMOS tube M23, and a source connected to the ground and the source of the NMOS tube M24;
[0104] The drain of the NMOS tube M24 is connected to the drain of the PMOS tube M22;
[0105] A PMOS tube M22, the gate of which is connected to the connection line of the inverting input terminal of the voltage detection module, and the source of which is connected to the connection line of the gate and the drain of the PMOS tube M21;
[0106] The source of the PMOS tube M21 is connected to the power supply;
[0107] The threshold setting module 13 includes: a current source I1, an NMOS tube M25 and a resistor R1;
[0108] A current source I1, one end of which is connected to the connection line between the source of the PMOS tube M21 and the power supply, and the other end of which is connected to the drain of the NMOS tube M25;
[0109] An NMOS tube M25, whose gate is connected to the connection line between the drain of the PMOS tube M22 and the drain of the NMOS tube M24, and whose source is connected to the connection line between the resistor R1 and the in-phase input terminal of the error amplifier module;
[0110] The other end of the resistor R1 is connected to a connection line between the source of the NMOS transistor M24 and the source of the NMOS transistor M23 .
[0111] refer to Figure 3 When the SENSE-terminal is greater than the maximum value of the first common-mode input voltage range of the first common-mode locking module 11, the PMOS tube M22 is controlled to be turned off, the drain voltage of the NMOS tube M24 is reduced, and the gate of the NMOS tube M25 is pulled down, thereby reducing the threshold voltage output by the threshold setting module 13. Similarly, when the SENSE-terminal is less than the minimum value of the first common-mode input voltage range, the PMOS tube M22 is controlled to be turned on, the drain voltage of the NMOS tube M24 is increased, and the gate of the NMOS tube M25 is pulled up, thereby increasing the threshold voltage output by the threshold setting module 13.
[0112] It should be noted that Figure 2 and Figure 3 When two input terminals of the voltage detection module 11 are connected in series with a PMOS tube respectively, two implementations of the first common mode locking module 12 and the threshold setting module 13 are provided. It can be understood that the circuit structures of the first common mode locking module 12 and the threshold setting module 13 are not limited to the two implementations of the present specification. Figure 2 and Figure 3 Other implementation methods.
[0113] Finally, the working principle of the second common mode locking module 15 is described.
[0114] It should be noted that in actual system applications, due to device size mismatch and threshold voltage mismatch, there is a certain input offset voltage at the two input ends of the error amplifier module 14. Even if the voltage threshold output by the threshold setting module is 0, due to the existence of the input offset voltage, there will still be a certain amount of power output to the load. When the load is relatively small or unloaded, the power generated by the input offset voltage is sufficient to cause the voltage at both ends of the sampling element to rise, thereby causing the entire detection system to collapse or even damage the load.
[0115] In this embodiment, if Figure 2 For the error amplifier module 14 shown, the input offset voltage can be calculated by the following formula:
[0116]
[0117] Where, ΔV THP is the difference between the threshold voltages of the PMOS tube M41 and the PMOS tube M42; V OVP is the overdrive voltage of M41 and M42; It is the ratio of the difference between the actual width-to-length ratio of M41 and M42 to the ideal width-to-length ratio of M41 and M42; g mN is the transconductance of NMOS tube M43 and NMOS tube M44; g mP is the transconductance of M41 and M42; ΔV THNis the difference between the threshold voltages of M43 and M44; V OVN is the overdrive voltage of M43 and M44; It is the ratio of the difference between the actual width-to-length ratio of M43 and M44 to the ideal width-to-length ratio of M43 and M44.
[0118] In the embodiment of the present invention, the error amplifier module 14 has an input offset voltage for affecting the compensation voltage. When the power generated by the input offset voltage is less than the power of the load, the power generated by the input offset voltage will not affect the voltage across the sampling element, and the offset voltage at this time can be ignored. Then, when the voltage value at the SENSE-terminal exceeds the first common-mode input voltage range but does not exceed the second common-mode input voltage range, the first common-mode locking module 12 can adjust the voltage value across the sampling element by adjusting the voltage threshold output by the threshold setting module 13 so that it is within the first common-mode input voltage range.
[0119] It should be noted that when the power generated by the input offset voltage is greater than the power of the load, the common-mode locking function of the detection circuit cannot be achieved only by the first common-mode locking module 12. Even if the voltage threshold output by the threshold setting module 13 is adjusted to 0 by the first common-mode locking module 12, due to the existence of the input offset voltage, the COMP terminal of the detection circuit will output a compensation voltage corresponding to the offset voltage value. At this time, the power generated by the input offset voltage is sufficient to cause the voltage at both ends of the sampling element to rise.
[0120] Therefore, if Figure 2 As shown, a second common-mode locking module 15 is provided. When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module 15 exceeds the second common-mode input voltage range, the second common-mode locking module 15 outputs an adjustment voltage for achieving pull-down, so that the error amplifier module 14 outputs a compensation voltage after pull-down, and further causes the control drive and power transmission module to stop providing power to the load.
[0121] By adaptively adjusting the power provided to the load through the first common-mode locking module and the second common-mode locking module, the common-mode locking function can be realized, and at the same time, the stability of the system when the power generated by the input offset voltage is less than the power of the load and the reliability of the system when the power generated by the input offset voltage is greater than the power of the load are greatly improved.
[0122] In the embodiment of the present invention, the second common mode locking module 15 includes: a current source I2, an NMOS transistor M2, an NMOS transistor M3, an NMOS transistor M4, a PMOS transistor M1, a PMOS transistor M5 and an NMOS transistor M6;
[0123] A current source I2, one end of which is connected to the power supply, and the other end of which is respectively connected to the drain and gate of the NMOS tube M2 and the gate of the NMOS tube M3;
[0124] The gate of the NMOS tube M2 is respectively connected to the current source I2, the gate of the NMOS tube M3 and the drain of the NMOS tube M2, and the source is grounded and connected to the source of the NMOS tube M3;
[0125] The drain of the NMOS tube M3 is connected to the drain of the PMOS tube M1;
[0126] A PMOS tube M1, the gate of which is connected to the connection line of the inverting input terminal of the voltage detection module, and the source of which is connected to the power supply;
[0127] NMOS tube M4, the gate of which is connected to the connection line between the drain and the gate of NMOS tube M2, and the source of which is connected to the connection line between the source of NMOS tube M2 and the source of NMOS tube M3;
[0128] A PMOS tube M5, whose gate is connected to the connection line between the drain of the PMOS tube M1 and the drain of the NMOS tube M3, whose source is connected to the connection line between the source of the PMOS tube M1 and the power supply, and whose drain is connected to the drain of the NMOS tube M4;
[0129] The NMOS tube M6 has a gate connected to the connection line between the drain of the NMOS tube M4 and the drain of the PMOS tube M5, a source connected to the ground line of the NMOS tube M4, and a drain connected to the output end of the error amplifier module and the connection line of the control drive and power transmission module.
[0130] In this embodiment, the second common-mode input voltage range is the same as the common-mode input voltage range of the voltage detection module 11 , both of which are 0V to (VDD-Vthp).
[0131] refer to Figure 2 When the voltage value at the SENSE-terminal exceeds the second common-mode input voltage range of the second common-mode locking module 15, the voltage at both ends of the NMOS tube M3 decreases, and the PMOS tube M5 is pulled down. At this time, the driving current of M5 increases, and the gate of the NMOS tube M6 is pulled up, so the adjustment voltage output by the second common-mode locking module 15 is pulled down, and the compensation voltage output by the COMP terminal will be pulled down, so as to avoid the power generated by the input offset voltage causing the voltage at both ends of the sampling element to continue to rise, thereby causing the entire detection system to collapse or even damage the load.
[0132] In the embodiment of the present invention, when the power of the load is greater than or equal to the power generated by the input offset voltage of the error amplifier module 14, the first common-mode locking module 12 is used to adaptively ensure that the sampling voltage SENSE- is always within the first common-mode input voltage range. When the power of the load is less than the power generated by the input offset voltage of the error amplifier module 14, the output of the error amplifier module 14 is limited by the second common-mode locking module 15 to reduce the voltage across the unit to be tested, ensuring that the sampling voltage SENSE- is always within the second common-mode input voltage range, and avoiding the voltage across the unit to be tested from rising endlessly, thereby causing the entire detection system to collapse or even damage the load. This solution can realize the common-mode locking function while greatly improving the stability of the system when the power generated by the input offset voltage is less than the power of the load and the reliability of the system when the power generated by the input offset voltage is greater than the power of the load.
[0133] It can be understood that the circuit structure of the second common mode locking module 15 is not limited to the implementation of this specification, and there are other embodiments. Figure 2 Other implementation methods.
[0134] In addition, in order to prove the difference between this embodiment and the conventional solution, the detection circuit of the compensation voltage output by the common mode locking module directly controlling the COMP terminal in the conventional method and ... Figure 2 When the power of the load in the detection circuit shown is greater than the power generated by the input offset voltage of the error amplifier module, the current and voltage at the OUT terminal connected to the load are monitored. The waveforms of the current and voltage in the conventional solution and the solution provided by the embodiment of the present invention are shown as follows: Figure 4 and Figure 5 shown.
[0135] from Figure 4 and Figure 5 It can be seen that the waveforms of the current and voltage at the OUT end in the traditional solution are disordered, and the waveforms of the current and voltage at the OUT end in the solution provided by the embodiment of the present invention are stable. The current and voltage at the OUT end in the solution provided by the embodiment of the present invention are significantly more stable than the current and voltage at the OUT end in the traditional solution; in addition, when the power of the load is less than the power generated by the input offset voltage of the error amplifier module, the voltage at both ends of the unit to be tested is limited by limiting the output of the error amplifier module, ensuring that the sampling voltage SENSE- is always within the second common-mode input voltage range, avoiding the voltage at both ends of the unit to be tested from rising endlessly, thereby causing the entire detection system to collapse or even damage the load. Therefore, this solution uses the adaptive first common-mode locking module and the second common-mode locking module to jointly adjust the power provided to the load, which can realize the common-mode locking function while greatly improving the stability of the system when the power generated by the input offset voltage is less than the power of the load and the reliability of the system when the power generated by the input offset voltage is greater than the power of the load.
[0136] This embodiment also provides a detection system with a common mode locking function, comprising: a control drive and power transmission module, a unit to be tested, a power supply, and a detection circuit with a common mode locking function as described in any embodiment in the specification; the unit to be tested at least includes a load;
[0137] The detection circuit is connected to the power supply and the unit to be tested respectively;
[0138] The control driving and power transmission module is used to adjust the power provided to the load according to the compensation voltage output by the detection circuit, so that the voltage value at both ends of the unit to be tested gradually stabilizes within a preset second common-mode input voltage range.
[0139] like Figure 6 As shown, this embodiment also provides a detection method based on the detection circuit described in this specification, the method comprising:
[0140] Step 600, using a voltage detection module to detect a voltage difference between two ends of an external unit to be tested;
[0141] Step 602, using the first common-mode locking module to detect the voltage value of any input terminal of the voltage detection module, and adjusting the voltage threshold output by the threshold setting module according to the detected voltage value and a preset first common-mode input voltage range; wherein the first common-mode input voltage range is determined by the circuit structure of the first common-mode locking module;
[0142] Step 604, using the second common-mode locking module to detect the voltage value of the same input terminal of the voltage detection module as that detected by the first common-mode locking module, and outputting an adjustment voltage to the error amplifier module according to the detected voltage value and a preset second common-mode input voltage range; wherein the second common-mode input voltage range is determined by the circuit structure of the second common-mode locking module, and the second common-mode input voltage range covers the first common-mode input voltage range;
[0143] Step 606, using the error amplifier module to output a compensation voltage to the external control drive and power transmission module according to the voltage difference across the external unit to be tested, the voltage threshold output by the threshold setting module and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, and further makes the voltage value across the unit to be tested gradually stabilized within the second common-mode input voltage range.
[0144] In an embodiment of the present invention, the error amplifier module has an input offset voltage for affecting the compensation voltage;
[0145] When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module exceeds the second common-mode input voltage range, the second common-mode locking module outputs an adjustment voltage for achieving pull-down, so that the error amplifier module outputs a compensation voltage after pull-down, further causing the control drive and power transmission module to stop providing power to the load.
[0146] It should be noted that, in this article, 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 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, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A detection circuit with a common mode locking function, characterized in that: include: A voltage detection module, a first common mode locking module, a threshold setting module, an error amplifier module, and a second common mode locking module; The two input ends of the voltage detection module are respectively connected to the two ends of the external unit to be tested, the output end of the voltage detection module is connected to an input end of the error amplifier module, the power supply end of the voltage detection module is connected to the external power supply, and the voltage detection module is used to detect and output the voltage difference between the two ends of the unit to be tested; the unit to be tested at least includes a load; The input end of the first common-mode locking module is connected to the connection line of any input end of the voltage detection module, the output end of the first common-mode locking module is connected to the threshold setting module, and the first common-mode locking module is used to receive the voltage value inputted by the corresponding input end of the voltage detection module, and adjust the voltage threshold inputted by the threshold setting module to the other input end of the error amplifier module according to the received voltage value and the preset first common-mode input voltage range; The input end of the second common-mode locking module is connected to the connection line between the first common-mode locking module and the corresponding input end of the voltage detection module, the output end of the second common-mode locking module is connected to the output end of the error amplifier module, and the second common-mode locking module is used to receive the voltage value inputted from the corresponding input end of the voltage detection module, and output an adjustment voltage to the error amplifier module according to the received voltage value and a preset second common-mode input voltage range; The second common-mode input voltage range covers the first common-mode input voltage range; The error amplifier module is used to output a compensation voltage to an external control drive and power transmission module according to input values of two input terminals and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, so that the voltage value at both ends of the unit under test gradually stabilizes within the second common-mode input voltage range; When the detection circuit is used to detect the voltage across the load, the two input terminals of the voltage detection module are connected to the two terminals of the load respectively; When the detection circuit is used to detect the current at both ends of the load, the unit to be tested further includes a sampling element connected in series with the load, and the two input ends of the voltage detection module are respectively connected to both ends of the sampling element; The first common-mode locking module is specifically used to reduce the voltage threshold output by the threshold setting module when the received voltage value is greater than the maximum value in the first common-mode input voltage range; and to increase the voltage threshold output by the threshold setting module when the received voltage value is less than the minimum value in the first common-mode input voltage range.
2. The detection circuit according to claim 1, characterized in that: When one PMOS tube is connected in series between the two input terminals of the voltage detection module and the power supply terminal respectively, the first common mode locking module includes: a PMOS tube M21 and a PMOS tube M22; The PMOS tube M22 has a gate connected to a connection line at the inverting input end of the voltage detection module; The PMOS tube M21 has a drain connected to the source of the PMOS tube M22, and a gate connected to a connection line between the drain of the PMOS tube M21 and the source of the PMOS tube M22; The threshold setting module includes: a current source I1 and a resistor R1; The current source I1 has one end connected to the power supply, and the other end connected to the source of the PMOS tube M21; The resistor R1 has one end connected to the connection line between the drain of the PMOS tube M22 and the in-phase input terminal of the error amplifier module, and the other end connected to the ground.
3. The detection circuit according to claim 1, characterized in that: When one PMOS tube is connected in series between the two input terminals of the voltage detection module and the power supply terminal respectively, the first common mode locking module includes: a current source I3, an NMOS tube M23, an NMOS tube M24, a PMOS tube M21 and a PMOS tube M22; The current source I3 has one end connected to the power supply, and the other end connected to the drain and gate of the NMOS tube M23 and the gate of the NMOS tube M24 respectively; The NMOS tube M23 has a gate connected to the current source I3, a gate of the NMOS tube M24 and a drain of the NMOS tube M23, and a source connected to the ground and the source of the NMOS tube M24; The drain of the NMOS tube M24 is connected to the drain of the PMOS tube M22; The PMOS tube M22 has a gate connected to the connection line of the inverting input terminal of the voltage detection module, and a source connected to the connection line between the gate and the drain of the PMOS tube M21; The source of the PMOS tube M21 is connected to the power supply; The threshold setting module includes: a current source I1, an NMOS tube M25 and a resistor R1; The current source I1 has one end connected to the source of the PMOS tube M21 and the connection line of the power supply, and the other end connected to the drain of the NMOS tube M25; The NMOS tube M25 has a gate connected to the connection line between the drain of the PMOS tube M22 and the drain of the NMOS tube M24, and a source connected to the connection line between the resistor R1 and the in-phase input terminal of the error amplifier module; The other end of the resistor R1 is connected to a connection line between the source of the NMOS transistor M24 and the source of the NMOS transistor M23 .
4. The detection circuit according to claim 1, characterized in that: The error amplifier module has an input offset voltage for affecting the compensation voltage; When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module exceeds the second common-mode input voltage range, the second common-mode locking module outputs an adjustment voltage for achieving pull-down, so that the error amplifier module outputs a compensation voltage after pull-down, so that the control drive and power transmission module stops providing power to the load.
5. The detection circuit according to claim 4, characterized in that: The second common mode locking module includes: a current source I2, an NMOS tube M2, an NMOS tube M3, an NMOS tube M4, a PMOS tube M1, a PMOS tube M5 and an NMOS tube M6; The current source I2 has one end connected to the power supply, and the other end connected to the drain and gate of the NMOS tube M2 and the gate of the NMOS tube M3 respectively; The gate of the NMOS tube M2 is respectively connected to the current source I2, the gate of the NMOS tube M3 and the drain of the NMOS tube M2, and the source is grounded and connected to the source of the NMOS tube M3; The drain of the NMOS tube M3 is connected to the drain of the PMOS tube M1; The PMOS tube M1 has a gate connected to the connection line of the inverting input end of the voltage detection module, and a source connected to the power supply; The NMOS tube M4 has a gate connected to the connection line between the drain and the gate of the NMOS tube M2, and a source connected to the connection line between the source of the NMOS tube M2 and the source of the NMOS tube M3; The PMOS tube M5 has a gate connected to the connection line between the drain of the PMOS tube M1 and the drain of the NMOS tube M3, a source connected to the connection line between the source of the PMOS tube M1 and the power supply, and a drain connected to the drain of the NMOS tube M4; The NMOS tube M6 has a gate connected to the connection line between the drain of the NMOS tube M4 and the drain of the PMOS tube M5, a source connected to the ground line of the NMOS tube M4, and a drain connected to the output end of the error amplifier module and the connection line of the control drive and power transmission module.
6. A detection system with common mode locking function, characterized in that: include: A control drive and power transmission module, a unit to be tested, a power supply and a detection circuit as described in any one of claims 1 to 5; the unit to be tested at least includes a load; The detection circuit is connected to the power supply and the unit to be tested respectively; The control drive and power transmission module is used to adjust the power provided to the load according to the compensation voltage output by the detection circuit, so that the voltage value across the unit under test gradually stabilizes within a preset second common mode input voltage range.
7. A detection method based on the detection circuit according to any one of claims 1 to 5, characterized in that: include: Using the voltage detection module to detect the voltage difference between the two ends of the external unit to be tested; Utilize the first common-mode locking module to detect the voltage value of any input terminal of the voltage detection module, and adjust the voltage threshold output by the threshold setting module according to the detected voltage value and a preset first common-mode input voltage range; wherein the first common-mode input voltage range is determined by the circuit structure of the first common-mode locking module; A second common-mode locking module is used to detect a voltage value at the same input terminal as that at which the first common-mode locking module detects the voltage detection module, and an adjustment voltage is output to the error amplifier module according to the detected voltage value and a preset second common-mode input voltage range; wherein the second common-mode input voltage range is determined by the circuit structure of the second common-mode locking module, and the second common-mode input voltage range covers the first common-mode input voltage range; The error amplifier module is used to output a compensation voltage to an external control drive and power transmission module according to the voltage difference across the external unit to be tested, the voltage threshold output by the threshold setting module and the adjustment voltage, so that the control drive and power transmission module adjusts the power provided to the load according to the compensation voltage, so that the voltage value across the unit to be tested gradually stabilizes within the second common-mode input voltage range.
8. The detection method according to claim 7, characterized in that: The error amplifier module has an input offset voltage for affecting the compensation voltage; When the power generated by the input offset voltage is greater than the power of the load so that the voltage value received by the second common-mode locking module exceeds the second common-mode input voltage range, the second common-mode locking module outputs an adjustment voltage for achieving pull-down, so that the error amplifier module outputs a compensation voltage after pull-down, so that the control drive and power transmission module stops providing power to the load.
