High-voltage MOSFET bidirectional current sampling circuit, power management chip and mobile electronic device

Through the cooperation of the parallel current mirror module and the main control module, the existing current detection method solves the problems of low accuracy and high power consumption when temperature changes and small currents occur, and achieves high-precision and low-power current sampling, which is suitable for many applications. voltage conditions.

CN116338281BActive Publication Date: 2024-10-22辰芯半导体(深圳)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310316830.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-22
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

Existing current detection methods have large errors, low sampling accuracy when temperature changes, and high power loss when the current is small, making it difficult to achieve high-precision and low-power current sampling.

Method used

Multiple parallel current mirror modules are used for mirror processing, and the working status of the current mirror module is adjusted through the main control module to reduce the internal resistance when connecting in parallel at high currents, avoiding the influence of offset voltage and working alone at low currents, achieving high current and low power. Consumption and low current high-precision sampling.

Benefits of technology

It achieves low-power consumption detection of large currents and high-precision sampling of small currents. It is suitable for current collection of conventional and high input voltages, avoids the need for external resistors, and expands the applicable scope of the current sampling circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116338281B_ABST
    Figure CN116338281B_ABST
Patent Text Reader

Abstract

The present invention discloses a high-voltage MOSFET bidirectional current sampling circuit, a power management chip and a mobile electronic device. The high-voltage MOSFET bidirectional current sampling circuit comprises: a plurality of current mirror modules, wherein the plurality of current mirror modules are connected in parallel between the first sampling end and the second sampling end, and are respectively used for processing the connected mirror current; a main control module, which is respectively electrically connected to the first sampling end and the second sampling end; a selection output circuit, wherein the first input end and the first controlled end of the selection output circuit are respectively connected to the first output ends of the plurality of current mirror modules, and the second input end and the second controlled end of the selection output circuit are respectively connected to the second output ends of the plurality of current mirror modules; and the circuit is used for respectively outputting the mirror current connected to the first input end and the second input end under the control of the plurality of current mirror modules; the present invention aims to provide a bidirectional current sampling circuit with a large range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile power supply, and in particular to a high-voltage MOSFET bidirectional current sampling circuit, a power management chip and a mobile electronic device. Background Art

[0002] At present, there are usually two ways of current detection. One is to connect a small resistor in series on the off-chip signal path to convert the current into voltage. However, the resistance of the resistor will change with the increase of temperature, which makes the resistance detection error large and the sampling accuracy low. The second is to use the parasitic resistance of the inductor, that is, RDC sampling. This sampling depends on the inductor and has great limitations. In addition, the existing current sampling is generally performed on the power tube through which the current flows. In order to reduce power loss when collecting large currents, the on-resistance of the power tube is generally reduced as much as possible when a large current flows through the power tube. However, the smaller the on-resistance, the smaller the voltage difference generated at both ends of the power tube when the current flowing through the power tube is small. At this time, the offset voltage at the input end of the operational amplifier has a greater impact on the sampling accuracy. If the sampling accuracy is improved, an operational amplifier with a very small offset voltage needs to be used, which will increase the difficulty of circuit design and the cost of current sampling. Summary of the invention

[0003] The main purpose of the present invention is to provide a high-voltage MOSFET bidirectional current sampling circuit, a power management chip and a mobile electronic device, aiming to provide a bidirectional current sampling circuit with a large range.

[0004] To achieve the above object, the high-voltage MOSFET bidirectional current sampling circuit proposed in the present invention is applied to a power management chip, comprising:

[0005] The first sampling terminal and the second sampling terminal are respectively used to access the sampling current;

[0006] A plurality of current mirror modules, wherein the plurality of current mirror modules are connected in parallel between the first sampling terminal and the second sampling terminal, and are respectively used to perform signal processing on the connected mirror current, and when the first sampling terminal is connected to the sampling current, the processed mirror current is output through the first output terminal, and when the second sampling terminal is connected to the sampling current, the processed mirror current is output through the second output terminal; wherein the mirror current outputted from the second output terminal has the same direction as the mirror current outputted from the first output terminal;

[0007] A main control module, electrically connected to the first sampling end and the second sampling end respectively, and electrically connected to the controlled ends of the multiple current mirror modules respectively, for controlling the corresponding current mirror module to work according to the size of the sampling current, so as to adjust the detection range of the current mirror module;

[0008] An output circuit is selected, wherein the first input terminal and the first controlled terminal of the output circuit are respectively connected to the first output terminals of the plurality of current mirror modules, and the second input terminal and the second controlled terminal of the output circuit are respectively connected to the second output terminals of the plurality of current mirror modules; and the circuit is used to respectively output the mirror currents connected to the first input terminal and the second input terminal under the control of the plurality of current mirror modules.

[0009] Optionally, the current mirror module includes a first resistor, a second resistor, a first MOS transistor, a second MOS transistor and a third MOS transistor;

[0010] The source of the first MOS tube and the source of the second MOS tube are electrically connected to the first sampling end respectively, the drain of the first MOS tube and the drain of the third MOS tube are electrically connected to the second sampling end respectively, the gate of the first MOS tube, the gate of the second MOS tube and the gate of the third MOS tube are electrically connected to the main control unit respectively, the drain of the second MOS tube is the first output end of the current mirror module and is connected to the first end of the first resistor; the second end of the first resistor is connected to the first controlled end of the selection output circuit; the source of the third MOS tube is the second output end of the current mirror module and is connected to the first end of the second resistor; the second end of the second resistor is connected to the second controlled end of the selection output circuit.

[0011] Optionally, there are two current mirror modules, namely a first current mirror module and a second current mirror module;

[0012] The channel length-to-width ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the first current mirror module is N:1:1;

[0013] The channel length-to-width ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the second current mirror module is M:1:1;

[0014] Among them, M>N>1, and M and N are positive integers.

[0015] Optionally, the high-voltage MOSFET bidirectional current sampling circuit further includes:

[0016] A trimming module, wherein an input end of the trimming module is connected to an output end of the current mirror module, and a controlled end of the trimming module is electrically connected to the main control module;

[0017] The main control module is also used to output a trimming control signal to the trimming module according to the connected sampling current, so as to control the trimming module to trim the connected mirror current and then output it, so as to reduce the error of the mirror current.

[0018] Optionally, the trimming module includes a pull-down resistor, a first trimmable resistor, a second trimmable resistor, a conversion resistor, a second amplifier, a third amplifier, a fourth MOS tube and a fifth MOS tube;

[0019] The non-inverting input terminal of the second amplifier is respectively connected to the first terminal of the pull-down resistor and the output terminal of the current mirror module, the inverting input terminal of the second amplifier is connected to the first terminal of the first adjustable resistor, and the output terminal of the second amplifier is connected to the gate of the fourth MOS tube; the source of the fourth MOS tube is connected to the second terminal of the first adjustable resistor, and the drain of the fourth MOS tube is connected to the second terminal of the second adjustable resistor; the first terminal of the second adjustable resistor is used to access a DC power supply and is connected to the first terminal of the conversion resistor r, and the third terminal of the second adjustable resistor is connected to the non-inverting input terminal of the third amplifier; the second terminal of the conversion resistor r is respectively connected to the inverting input terminal of the third amplifier and the source terminal of the fifth MOS tube, and the third terminal of the conversion resistor is the controlled terminal of the adjustment module; the gate of the fifth MOS tube is connected to the output terminal of the three amplifiers, and the drain of the fifth MOS tube is the output terminal of the adjustment module; the second terminal of the pull-down resistor and the third terminal of the first adjustable resistor are respectively grounded.

[0020] Optionally, the channel duty ratios of the first MOS tube, the second MOS tube and the third MOS tube in the current mirror module are N:1:1; the relationship between the output current io and the sampling current in is:

[0021]

[0022] Among them, R is the resistance value of the conversion resistor when the channel duty ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the current mirror module is N:1:1, and R0 is the resistance value of the pull-down resistor.

[0023] Optionally, the main control module includes:

[0024] A charge pump module, electrically connected to the first sampling terminal and the second sampling terminal respectively, and configured to output a corresponding range control signal according to a voltage value of a connected sampling current;

[0025] A logic control circuit, wherein the first output end of the logic control circuit is connected to the controlled end of the trimming module, and the second output end of the logic control circuit is connected to the controlled end of the charge pump module. The logic control circuit is used to output a trimming control signal to the trimming module to control the trimming module to perform corresponding trimming processing on the sampling current; and to output a range selection signal to the charge pump module to control the charge pump module to adjust the detection range of the current mirror module.

[0026] Optionally, the selection output circuit includes:

[0027] a selection control circuit, wherein a first input end of the selection control circuit is respectively connected to the first output ends of the plurality of current mirror modules, a second input end of the selection control circuit is respectively connected to the second output ends of the plurality of current mirror modules, and the selection control circuit is used to output a first selection control signal when receiving a first selection trigger signal, and output a second selection control signal when receiving a second selection trigger signal;

[0028] A forward switch circuit and a reverse switch circuit, wherein the controlled end of the forward switch circuit and the controlled end of the reverse switch circuit are respectively electrically connected to the selection control circuit, the input end of the forward switch circuit is connected to the first output end of the selection output circuit, the input end of the reverse switch circuit is connected to the second output end of the selection output circuit, and the output end of the forward switch circuit and the output end of the reverse switch circuit are respectively connected to the input end of the adjustment module;

[0029] The forward switch circuit is used to output the connected mirror current when receiving the first selection trigger signal, and the reverse switch circuit is used to output the connected mirror current when receiving the second selection trigger signal.

[0030] The present invention also provides a power management chip, comprising the above-mentioned high-voltage MOSFET bidirectional current sampling circuit.

[0031] The present invention further provides a mobile electronic device, comprising the above-mentioned high-voltage MOSFET bidirectional current sampling circuit, or comprising the above-mentioned power management chip.

[0032] The technical solution of the present invention uses a plurality of current mirror modules connected in parallel to perform mirror processing on the sampling current connected to the first sampling end or the second sampling end, so that the current direction of the sampling current is unified after the mirroring, and because the plurality of current mirror modules are connected in parallel, when the plurality of current mirror modules work at the same time, the equivalent internal resistance of the current mirror module is reduced after being connected in parallel, so that low-power consumption detection under large current can be achieved, and when a small current is connected to the first sampling end or the second sampling end, the main control module controls a current mirror module to work alone, and at this time, the current mirror modules are not connected in parallel, so the internal resistance is not reduced, thereby avoiding the problem that the offset voltage in the subsequent circuit accounts for too high a proportion, resulting in reduced detection accuracy, so that the current sampling circuit does not need an external resistor, has a wide range of applications, can be used for current collection of conventional voltage and high input voltage, and can achieve bidirectional current sampling. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] 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 only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0034] Figure 1 A schematic diagram of a module of an embodiment of a high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0035] Figure 2 A schematic diagram of a module of another embodiment of a high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0036] Figure 3 A schematic diagram of a module of another embodiment of a high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0037] Figure 4 A circuit structure diagram of an embodiment of a high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0038] Figure 5 A circuit structure diagram of another embodiment of a high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0039] Figure 6 It is an equivalent schematic diagram of the MOS tube resistor in the high-voltage MOSFET bidirectional current sampling circuit of the present invention;

[0040] Figure 7 It is a current function diagram in the high-voltage MOSFET bidirectional current sampling circuit of the present invention.

[0041] Description of Figure Numbers:

[0042] Label name Label name 110 The first sampling terminal 430 Reverse switch circuit 120 The second sampling terminal 500 Adjustment module 200 Current mirror module R1~R2 First resistor~Second resistor 300 Main control module M1~M5 The first MOS tube to the fifth MOS tube 310 Charge Pump Module R0 Pull-down resistor 320 Logic control circuit Ra The first adjustable resistor 400 Select output circuit R The second adjustable resistor 410 Selecting the control circuit r Conversion resistor 420 Forward Switching Circuit op1~op3 First Amplifier to Third Amplifier

[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0045] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0046] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0047] The present invention provides a high-voltage MOSFET bidirectional current sampling circuit, which is applied to a power management chip.

[0048] At present, there are usually two ways of current detection. One is to connect a small resistor in series on the off-chip signal path to convert the current into voltage. However, the resistance of the resistor will change with the increase of temperature, which makes the resistance detection error large and the sampling accuracy low. The second is to use the parasitic resistance of the inductor, that is, RDC sampling. This sampling depends on the inductor and has great limitations. In addition, the existing current sampling is generally performed on the power tube through which the current flows. In order to reduce power loss when collecting large currents, the on-resistance of the power tube is generally reduced as much as possible when a large current flows through the power tube. However, the smaller the on-resistance, the smaller the voltage difference generated at both ends of the power tube when the current flowing through the power tube is small. At this time, the offset voltage at the input end of the operational amplifier has a greater impact on the sampling accuracy. If the sampling accuracy is improved, an operational amplifier with a very small offset voltage needs to be used, which will increase the difficulty of circuit design and the cost of current sampling.

[0049] To solve the above problems, refer to Figure 1 In one embodiment, the high-voltage MOSFET bidirectional current sampling circuit includes:

[0050] The first sampling terminal 110 and the second sampling terminal 120 are respectively used to access the sampling current;

[0051] A plurality of current mirror modules 200, wherein the plurality of current mirror modules 200 are connected in parallel between the first sampling terminal 110 and the second sampling terminal 120, and are respectively used to perform signal processing on the connected mirror current, and when the first sampling terminal 110 is connected to the sampling current, the processed mirror current is output through the first output terminal, and when the second sampling terminal 120 is connected to the sampling current, the processed mirror current is output through the second output terminal; wherein the mirror current output from the second output terminal has the same direction as the mirror current output from the first output terminal;

[0052] A main control module 300, electrically connected to the first sampling terminal 110 and the second sampling terminal 120, respectively, and electrically connected to the controlled terminals of the plurality of current mirror modules 200, respectively, for controlling the operation of the corresponding current mirror module 200 according to the size of the sampling current, so as to adjust the detection range of the current mirror module 200;

[0053] An output circuit 400 is selected, wherein the first input terminal and the first controlled terminal of the output circuit 400 are respectively connected to the first output terminals of the plurality of current mirror modules 200, and the second input terminal and the second controlled terminal of the output circuit 400 are respectively connected to the second output terminals of the plurality of current mirror modules 200; and the output circuit 400 is used to respectively output the mirror currents connected to the first input terminal and the second input terminal under the control of the plurality of current mirror modules 200.

[0054] In this embodiment, the current mirror module 200 is a current mirror circuit composed of multiple MOS tubes; the selection output circuit 400 can be a switching circuit composed of multiple switching tubes or multiple power switches; the internal resistance of the multiple current mirror modules 200 can be the same or different.

[0055] The present invention uses a plurality of current mirror modules 200 connected in parallel to perform mirror processing on the sampling current connected to the first sampling terminal 110 or the second sampling terminal 120, so that the current direction of the sampling current is unified after the mirroring, and because the plurality of current mirror modules 200 are connected in parallel, when the plurality of current mirror modules 200 work simultaneously, the equivalent internal resistance of the current mirror module 200 is reduced after being connected in parallel, so that low-power consumption detection under large current can be achieved, and when a small current is connected to the first sampling terminal 110 or the second sampling terminal 120, the main control module 300 controls one current mirror module 200 to work alone, and at this time, the current mirror module 200 is not connected in parallel, so the internal resistance is not reduced, thereby avoiding the problem that the offset voltage in the subsequent circuit accounts for too high a proportion, resulting in reduced detection accuracy, thereby improving the sampling accuracy when collecting small currents, reducing the power loss when collecting large currents, and achieving large-range and bidirectional sampling of the measured current.

[0056] Specifically, when the current sampling circuit is working, the user can connect the power supply to the current sampling circuit in a positive or reverse connection through the first sampling terminal 110 and the second sampling terminal 120. When a current is connected to the current sampling circuit, the main control module 300 can determine the size of the connected sampling current through interactive components such as a host computer and a touch screen, or through the load voltage of the subsequent circuit. When the current sampling circuit detects a small current, the main control module 300 outputs a start control signal to a current mirror module 200. When the internal resistance of multiple current mirror modules 200 is the same, the current mirror module 200 can be any current mirror module 200. When the internal resistance of multiple current mirror modules 200 is different, the current mirror module 200 is the current mirror module 200 with the largest internal resistance. The current mirror module 200 performs mirror processing on the connected sampling current, reduces it to a suitable current range and outputs it, so as to reduce power consumption and facilitate the processing of the next level.

[0057] Wherein, when the power supply under test is positively connected to the current sampling circuit, that is, the positive output terminal of the power supply under test is connected to the first sampling terminal 110, and the reverse output terminal of the power supply under test is connected to the second sampling terminal 120, at this time, the current mirror module 200 directly performs mirror processing on the sampling current, and outputs a mirror current of appropriate size through the first output terminal. When the power supply under test is reversely connected to the current sampling circuit, that is, the positive output terminal of the power supply under test is connected to the second sampling terminal 120, and the reverse output terminal of the power supply under test is connected to the first sampling terminal 110, at this time, the current mirror module 200 performs mirror processing on the sampling current and processes the direction of the sampling current, so that the mirror current output through the second output terminal is reversed.

[0058] When the current sampling circuit detects a large current, the main control module 300 outputs a multi-channel start-up control signal to a plurality of current mirror modules 200 to connect the internal resistances of the plurality of current mirror modules 200 in parallel, so that the internal resistance of the current mirror module 200 is reduced after being connected in parallel, and low power consumption detection under large current can be achieved. In addition, the larger the sampling current, the more current mirror modules 200 enter the working mode, so that the internal resistance of the current mirror module 200 after being connected in parallel is smaller, so as to reduce the circuit power consumption when detecting a large current. A large range and bidirectional sampling of the measured current is achieved.

[0059] The present invention uses a plurality of current mirror modules 200 connected in parallel to perform mirror processing on the sampling current connected to the first sampling terminal 110 or the second sampling terminal 120, so that the current direction of the sampling current is unified after the mirroring, and because the plurality of current mirror modules 200 are connected in parallel, when the plurality of current mirror modules 200 work simultaneously, the equivalent internal resistance of the current mirror module 200 is reduced after being connected in parallel, so that low power consumption detection under large current can be achieved, and when a small current is connected to the first sampling terminal 110 or the second sampling terminal 120, the main control module 300 controls one current mirror module 200 to work alone, and at this time, the current mirror module 200 is not connected in parallel, so the internal resistance is not reduced, thereby avoiding the problem that the offset voltage in the subsequent circuit accounts for too high a proportion, resulting in reduced detection accuracy, so that the current sampling circuit does not need an external resistor, has a wide range of applications, can be used for current collection of conventional voltage and high input voltage, and can achieve bidirectional current sampling.

[0060] Reference Figure 1 and Figure 4 In one embodiment, the current mirror module 200 includes a first resistor R1, a second resistor R2, a first MOS transistor M1, a second MOS transistor M2 and a third MOS transistor M3;

[0061] The source of the first MOS transistor M1 and the source of the second MOS transistor M2 are electrically connected to the first sampling terminal 110, respectively; the drain of the first MOS transistor M1 and the drain of the third MOS transistor M3 are electrically connected to the second sampling terminal 120, respectively; the gate of the first MOS transistor M1, the gate of the second MOS transistor M2 and the gate of the third MOS transistor M3 are electrically connected to the main control unit, respectively; the drain of the second MOS transistor M2 is the first output terminal of the current mirror module 200, and is connected to the first end of the first resistor R1; the second end of the first resistor R1 is connected to the first controlled end of the selection output circuit 400; the source of the third MOS transistor M3 is the second output terminal of the current mirror module 200, and is connected to the first end of the second resistor R2; the second end of the second resistor R2 is connected to the second controlled end of the selection output circuit 400.

[0062] In this embodiment, the first MOS transistor M1 and the second MOS transistor M2 form a positive mirror circuit, and the first MOS transistor M1 and the third MOS transistor M3 form a negative mirror circuit.

[0063] When a current is connected to the current sampling circuit, the main control module 300 performs a voltage boost process on the connected sampling current and outputs it to the gate of the first MOS tube M1, the gate of the second MOS tube M2, and the gate of the third MOS tube M3, wherein the output voltage of the sampling current after the voltage boost process is greater than the sum of the conduction voltage drop of the MOS tube and the sampling current, that is, when the conduction voltage drop of the MOS tube is 3.7V, the output voltage can be Vin+5V, wherein Vin is the voltage value of the sampling current. Thus, when the first MOS tube M1, the second MOS tube M2, and the third MOS tube M3 are connected to the sampling current, the voltage difference between the source and the gate is still greater than the conduction voltage drop of the MOS tube, so that the MOS tube remains in a working state.

[0064] When the power supply under test is connected to the current sampling circuit in a forward direction, the source of the first MOS tube M1 and the source of the second MOS tube M2 are connected to the sampling current, and the second MOS tube M2 mirrors the sampling current, and reduces the sampling current to a suitable current value according to the internal resistance, and then outputs it. When the power supply under test is connected to the current sampling circuit in a reverse direction, the source and drain of the first MOS tube M1 and the third MOS tube M3 are interchanged, and at this time, the original drain of the first MOS tube M1 and the original drain of the third MOS tube M3 are connected to the sampling current, and the third MOS tube M3 mirrors the sampling current, and reduces the sampling current to a suitable current value according to the internal resistance, and then outputs it. In this way, the mirror current output by the second MOS tube M2 and the third MOS tube M3 has the same direction, and bidirectional current sampling is realized.

[0065] In addition, the current mirror module 200 adopts Kelvin routing, and the sampling output terminals of the first MOS tube M1, the second MOS tube M2 and the third MOS tube M3 are respectively connected to the first resistor R1 and the second resistor R2, wherein the resistance of the first resistor R1 and the resistance of the second resistor R2 are both one unit order of magnitude greater than the internal resistance of the power tube. Two wires are connected to the drain terminal of the mirror current mirror, one of which is connected to the gate of the operational amplifier. Theoretically, the resistance of the gate is infinite, so no current will flow through this line, and the current will all flow along the current routing, separating the current and voltage loops and eliminating the error of the resistance on the line;

[0066] In theory, Kelvin routing can eliminate the voltage drop caused by the wires in the circuit. However, in the actual layout, the internal resistance loss of the metal routing is inevitable. The Kelvin routing method reduces the internal resistance loss on the line, but because the internal resistance of the MOS tube used is as small as tens of milliohms, the tiny internal resistance on the line will also produce a relatively large voltage drop, which will cause errors in current collection. Therefore, a resistor that is one unit larger than the internal resistance of the power tube is connected in series on the voltage line on the Kelvin routing to form a parallel connection with the current routing. According to the parallel shunt principle, the collected current is allowed to flow through the current routing as much as possible. The other end of the resistor is connected to the gate of the MOS tube with a large internal resistance, which is equivalent to a virtual disconnection, and the voltage values ​​at both ends of the resistor are equal. More effective collection of current and voltage reduces collection errors.

[0067] Reference Figure 1 and Figure 4 In one embodiment, the current mirror module 200 is specifically two, namely a first current mirror module 200 and a second current mirror module 200;

[0068] The first MOS transistor M in the first current mirror module 200 11 , the second MOS tube M 12 And the third MOS tube M 13 The channel length-to-width ratio is N:1:1;

[0069] The first MOS transistor M in the second current mirror module 200 21 , the second MOS tube M 22 And the third MOS tube M 23 The channel length-to-width ratio is M:1:1;

[0070] Among them, M>N>1, and M and N are positive integers.

[0071] In this embodiment, the larger the width-to-length ratio of the MOS tube, the smaller its resistance value. The second current mirror module 200 is a small resistance MOS tube group connected in parallel when collecting large currents. A small resistor is needed to reduce power consumption. In addition, the resistance value of two resistors in parallel is ≈ the resistance value of the small resistor. However, when the multiple of the large resistor relative to the small resistor is larger, the parallel result is closer to the resistance value of the small resistor, reducing the error.

[0072] Traditional technical solutions such as Figure 6 , a fixed small resistor Rm0 is connected between the Vin voltage (considering power consumption); the scheme of the present invention is as follows Figure 4, two resistors are connected between the vin voltage to divide the gears, Rm1>Rm2. When collecting small currents, only one current mirror module 200 is turned on. At this time, only Rm1 with a larger resistance is connected to the current detection circuit, thereby increasing the voltage, that is, increasing the voltage difference across the power tube to reduce the impact of the large proportion of offset voltage when the current is small; when collecting large currents, the resistance value is the result of Rm1 and Rm2 in parallel, and the resistance value after parallel connection is close to the small resistance Rm2, thereby reducing the high power brought by the large current by reducing the resistance.

[0073] For example, the current collection range is 0.1A~5A, Rm0=0.5Ω, Rm1=2.1Ω, Rm2=0.3Ω; their specific parameters are as follows:

[0074]

[0075]

[0076] From the above table we know:

[0077] The traditional type chooses small resistance to balance power. However, when collecting small current, such as 100mA, the voltage difference of the power tube is only 50mv. If the next-stage op amp produces an error of 3mv, it will cause a 6% error. The error ratio is too large, and the current sampling accuracy is greatly reduced.

[0078] When collecting large current, for example 5A, the voltage difference on the power tube is 2.5V, and the power consumption is as high as 12.5W; at this time, in order to reduce power consumption, the fixed resistance value must be reduced, but as the resistance value decreases, the error at small currents will be greater and the accuracy will be lower.

[0079] After the improvement, the resistance value can be flexibly selected. When collecting small current, for example, 100mA, a large resistance R1 is selected, and the voltage difference of the power tube is increased from 50mv to 210mv. If the next-level op amp also produces an error of 3mv, the error caused is reduced from 6% to 1.4%, the error ratio is reduced, and the accuracy is improved.

[0080] When collecting large current, for example 5A, the resistance value = Rm1 / / Rm2≈Rm2, the voltage difference on the power tube drops from 2.5v to 1.5v, and the power consumption drops from 12.5w to 7.5w, a decrease of 40%, which is proportional to the resistance values ​​of Rm0 and Rm2; and the resistance values ​​of Rm1 and Rm2 can be flexibly set in size and multiples according to circuit requirements, and even more groups of resistance gears can be added to refine the use of resistors with different gears to collect current values ​​in corresponding areas.

[0081] Reference Figure 1 and Figure 3 In one embodiment, the high-voltage MOSFET bidirectional current sampling circuit further includes:

[0082] A trimming module 500, wherein an input end of the trimming module 500 is connected to an output end of the current mirror module 200, and a controlled end of the trimming module 500 is electrically connected to the main control module 300;

[0083] The main control module 300 is further used to output a trimming control signal to the trimming module according to the connected sampling current, so as to control the trimming module 500 to trim the connected mirror current and then output it, so as to reduce the error of the mirror current.

[0084] In this embodiment, the current conversion module is used to adjust the mirror current output by the current mirror module 200. The current mirror module 200 is composed of a plurality of MOS tubes. During the production of the device, the channel aspect ratio of the MOS tube may deviate from the standard value due to reasons such as imprecise production process, resulting in a large error in the output mirror current.

[0085] Therefore, by setting up the adjustment module 500, a test current is connected when the power management chip is produced, and by adjusting the adjustment module 500, the current detection circuit in the power management chip outputs a mirror current that is equal to the output current in the design, thereby realizing the adjustment of the current output by the current mirror module 200.

[0086] Reference Figures 1 to 3 In one embodiment, the trimming module 500 includes a pull-down resistor R0, a first trimmable resistor Ra, a second trimmable resistor Rb, a conversion resistor r, a second amplifier op2, a third amplifier op3, a fourth MOS tube M4 and a fifth MOS tube M5;

[0087] The in-phase input terminal of the second amplifier op2 is respectively connected to the first end of the pull-down resistor R0 and the output terminal of the current mirror module 200, the inverting input terminal of the second amplifier op2 is connected to the first end of the first adjustable resistor Ra, and the output terminal of the second amplifier op2 is connected to the gate of the fourth MOS tube M4; the source of the fourth MOS tube M4 is connected to the second end of the first adjustable resistor Ra, and the drain of the fourth MOS tube M4 is connected to the second end of the second adjustable resistor Rb; the first end of the second adjustable resistor Rb is used to access a DC power supply and is connected to the converter The first end of the resistor r is connected, the third end of the second adjustable resistor Rb is connected to the non-inverting input end of the third amplifier op3; the second end of the conversion resistor r is respectively connected to the inverting input end of the third amplifier op3 and the source of the fifth MOS tube M5, and the third end of the conversion resistor r is the controlled end of the adjustment module 500; the gate of the fifth MOS tube M5 is connected to the output end of the three amplifiers op3, and the drain of the fifth MOS tube M5 is the output end of the adjustment module 500; the second end of the pull-down resistor R0 and the third end of the first adjustable resistor Ra are grounded respectively.

[0088] In this embodiment, the mirror current is is converted into the output current io, wherein the second amplifier op2 loop controls the value of v1 to be equal to vsen (v1=vsen=is*R0); the adjustable resistor Ra and the adjustable resistor Rb improve the circuit accuracy, are equal in size, and are completely symmetrical, so that v2=vdda-v1=vdda-is*R0; the third amplifier op3 loop controls the value of v3 to be equal to v2 (v3=v2=vdda-v1=vdda-is*R0); when the control module only outputs VG1, the conversion resistance value is R, and when the control module outputs VG1 and VG2 at the same time, the conversion resistance value is The voltage drop on the conversion resistor r is Vr = vdda-v3 = vdda-(vdda-v1) = v1 = is*R0; output current

[0089] Reference Figures 1 to 4 In one embodiment, the channel duty ratios of the first MOS transistor, the second MOS transistor, and the third MOS transistor in the current mirror module 200 are N:1:1; the relationship between the output current io and the sampling current in is:

[0090]

[0091] Wherein, R is the resistance value of the conversion resistor when the channel duty ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the current mirror module 200 is N:1:1, and R0 is the resistance value of the pull-down resistor.

[0092] In this embodiment, the power supply under test is positively connected to the current detection circuit. At this time, Vin1>Vin2. If the collected current is a small current, the control module only outputs VG1, and the first MOS tube M in the small current mirror module 11 And the second MOS tube M 12 , and the first loop control current collection formed by selecting the first output terminal of the output circuit, the conversion resistor r takes a value of R, and the first MOS tube M 11 And the second MOS tube M 12 The width-to-length ratio of the conduction channel is M 11 :M 12 =N:1, so the sampled current isen1 is the input current in times, that is

[0093] At this time, the first controlled end of the selected output circuit receives the control signal, so that the first output end is turned on, and the mirror current is=isen1;

[0094] The mirror current is flows through the voltage divider resistor R0 to generate a voltage vsen=is*R0;

[0095] The second amplifier op2 makes v1 = vsen;

[0096] The first adjustable resistor Ra and the second adjustable resistor Rb divide the voltage so that v2 = vdda - v1;

[0097] The third amplifier op3 makes v3=v2;

[0098] Get the output current

[0099] Then we get the relationship between the output current io and the input current in:

[0100] If the collected current is a large current, the control module outputs VG1 and VG2 at the same time, and the first MOS tube M in the small current mirror module 11 And the second MOS tube M 12 , the first MOS tube M in the large current mirror module 21 And the second MOS tube M 22 , and select the first output terminal of the output circuit to form a first loop control current collection, the conversion resistor r value The first MOS tube M in the small current mirror module 11 and the first MOS tube M in the large current mirror module 21 The power tube formed by the small current mirror module and the second MOS tube M 12 and the second MOS tube M in the large current mirror module 22The aspect ratio (M 11 +M 21 ) of the conducting channel of the formed power transistor:(M 12 +M 22 ) = M + N:2. Therefore, the sampled current isen1 is times that of the input current in, that is

[0101] Similarly, for the output current

[0102] Thus, the relationship between the output current io and the input current in is obtained That is

[0103] When the power supply under test is connected reversely to the current detection circuit, at this time Vin1 < Vin2. If the collected current is a small current, the control module only outputs VG1. The first MOS transistor M 11 and the third MOS transistor M 13 in the small current mirror module, and the first loop control current acquisition formed by the first output terminal of the selection output circuit. The conversion resistance r takes the value of R. The aspect ratio M 11 of the conducting channels of the first MOS transistor M 13 and the second MOS transistor M 11 :M 13 = N:1. Therefore, the sampled current isen2 is times that of the input current -in, that is

[0104] At this time, the second controlled terminal of the selection output circuit receives a control signal to turn on the second output terminal, and the current is = isen2;

[0105] The output current of the current detection circuit is obtained

[0106] Similarly, the relationship between the output current io and the input current in is further obtained:

[0107] If the collected current is a large current, the control module outputs VG1 and VG2 simultaneously. The first MOS transistor M 11 and the third MOS transistor M 13 in the small current mirror module, the first MOS transistor M 21 and the third MOS transistor M 23 in the large current mirror module, and the first loop control current acquisition formed by the second output terminal of the selection output circuit. The conversion resistance r takes the value The first MOS transistor M 11 in the small current mirror module and the first MOS transistor M 21The power tube formed by the small current mirror module and the third MOS tube M 13 and the third MOS tube M in the large current mirror module 23 The width-to-length ratio of the conduction channel of the power tube (M 11 +M 21 ):(M 13 +M 23 )=M+N:2, so the sampled current isen2 is the input current -in times, that is

[0108] Similarly, the output current expression is:

[0109] Thus, the relationship between the output current io and the input current in is obtained:

[0110] In summary, ignoring the current direction, the output current io and the input current in are linearly related, and their expressions are

[0111] The resistance value of resistor R0, the small current resistance value R of resistor R, and the sizes of proportional multiples M and N can all be flexibly adjusted according to needs to balance power consumption and increase the scope of use of the circuit.

[0112] Reference Figures 1 to 7 In one embodiment, the main control module 300 includes:

[0113] A charge pump module 310 is electrically connected to the first sampling terminal 110 and the second sampling terminal 120 respectively, and the charge pump module 310 is used to output a corresponding range control signal according to the voltage value of the connected sampling current;

[0114] A logic control circuit 320, wherein a first output end of the logic control circuit 320 is connected to a controlled end of the trimming module 500, and a second output end of the logic control circuit 320 is connected to a controlled end of the charge pump module 310. The logic control circuit 320 is used to output a trimming control signal to the trimming module 500 to control the trimming module 500 to perform corresponding trimming processing on the sampling current; and to output a range selection signal to the charge pump module 310 to control the charge pump module 310 to adjust the detection range of the current mirror module 200.

[0115] In this embodiment, the charge pump module 310 may be an energy storage device such as a capacitor, and operates according to an external clock signal.

[0116] When the current sampling circuit is connected to the sampling current, the input end of the charge pump module 310 is also connected to the sampling current. At this time, the charge pump module 310 performs a voltage boost process on the sampling current, and uses the voltage value Vin1 or Vin2 of the sampling current as the reference voltage, and raises the output voltage by charging and discharging the capacitor in the charge pump module 310. The output voltage of the sampling current after the voltage boost process is greater than the sum of the conduction voltage drop of the MOS tube and the sampling current, that is, when the conduction voltage drop of the MOS tube is 3.7V, the output voltage can be Vin+5V, thereby controlling the gate voltage of each MOS tube to ensure that different ranges of input voltage Vin values, especially high input voltage, can work normally.

[0117] The logic control circuit 320 is used to determine the size of the connected sampling current according to the interactive components such as the host computer, the touch screen, or the load voltage of the subsequent circuit. When the sampling current is a small current, the logic control circuit 320 outputs a small current selection signal to the charge pump circuit, so that the charge pump module 310 outputs a start control signal VGA to the corresponding current mirror module 200. When the sampling current is a large current, the logic control circuit 320 outputs a large current selection signal to the charge pump circuit, so that the charge pump module 310 outputs multiple start control signals VGA and VGB to the corresponding current mirror module 200.

[0118] Reference Figures 1 to 5 In one embodiment, the main control module 300 includes:

[0119] A selection control circuit 410, wherein a first input terminal of the selection control circuit 410 is respectively connected to the first output terminals of the plurality of current mirror modules 200, and a second input terminal of the selection control circuit 410 is respectively connected to the second output terminals of the plurality of current mirror modules 200, and the selection control circuit 410 is configured to output a first selection control signal when receiving a first selection trigger signal, and output a second selection control signal when receiving a second selection trigger signal;

[0120] A forward switch circuit 420 and a reverse switch circuit 430, wherein the controlled end of the forward switch circuit 420 and the controlled end of the reverse switch circuit 430 are respectively electrically connected to the selection control circuit 410, the input end of the forward switch circuit 420 is connected to the first output end of the selection output circuit 400, the input end of the reverse switch circuit 430 is connected to the second output end of the selection output circuit 400, and the output end of the forward switch circuit 420 and the output end of the reverse switch circuit 430 are respectively connected to the input end of the trimming module 500;

[0121] The forward switch circuit 420 is used to output the connected mirror current when receiving the first selection trigger signal, and the reverse switch circuit 430 is used to output the connected mirror current when receiving the second selection trigger signal.

[0122] In this embodiment, the selection control circuit 410 includes a first amplifier op1, which is a high GBW (gain bandwidth product) operational amplifier rather than a high bandwidth operational amplifier. The high GBW operational amplifier has a fast response and a sensitive response, and can collect the current flowing through the Vin terminal in real time with higher accuracy; the forward switch circuit 420 is a sixth MOS tube M6, and the reverse switch circuit 430 is a seventh MOS tube M7, wherein the in-phase input terminal of the first amplifier op1 is respectively connected to the second ends of the first resistors of the plurality of current mirror modules 200, and the inverting input terminal of the first amplifier op1 is respectively connected to the second ends of the first resistors of the plurality of current mirror modules 200, and the inverting input terminal of the first amplifier op1 is connected to the second ends of the first resistors of the plurality of current mirror modules 200. The first output end of the first amplifier op1 is connected to the gate of the sixth MOS tube M6, and the second output end of the first amplifier op1 is connected to the gate of the seventh MOS tube M7; the drain of the sixth MOS tube M6 is connected to the drain of the second MOS tube of the current mirror module 200, the drain of the seventh MOS tube M7 is connected to the drain of the third MOS tube of the current mirror module 200, and the source of the sixth MOS tube M6 and the source of the seventh MOS tube M7 are used to connect to the input end of the subsequent circuit.

[0123] When the current detection circuit is working, if the current detection circuit is positively connected to the power supply under test, the second MOS tube M2 of the current mirror module 200 will output a positive mirror current. At this time, the voltage of the second MOS tube M2 is connected to the in-phase output terminal of the first amplifier op1 because the current mirror module 200 adopts Kelvin wiring. At this time, the voltage of the in-phase output terminal of the first amplifier op1 is vs1. Since the first amplifier op1 is used to perform loop control on the drain terminal voltage vs1 of the sampling tube M2 so that vs1 and Vin2 voltage are consistent, vs1 is greater than Vin2 after amplification by the first amplifier op1, so that a voltage difference is formed between the gate and the drain of the sixth MOS tube M6 to control the conduction of the sixth MOS tube M6, and the current output by the second MOS tube M2 is output through the sixth MOS tube M6.

[0124] If the current detection circuit is reversely connected to the power supply under test, the third MOS tube M3 of the current mirror module 200 will output a reverse mirror current. At this time, the voltage of the third MOS tube M3 is connected to the inverting output terminal of the first amplifier op1 because the current mirror module 200 adopts Kelvin wiring. At this time, the voltage of the inverting output terminal of the first amplifier op1 is vs2. Similarly, the first amplifier op1 performs loop control on the source terminal voltage vs2 of the sampling tube M3 to keep vs2 consistent with the voltage of Vin1. Therefore, vs2 is greater than Vin1 after being amplified by the first amplifier op1, so that the gate and drain of the seventh MOS tube M7 form a voltage difference to control the conduction of the seventh MOS tube M7, and the current output by the third MOS tube M3 is output through the seventh MOS tube M7.

[0125] The present invention also proposes a power management chip, including the above-mentioned high-voltage MOSFET bidirectional current sampling circuit; the power management chip includes the above-mentioned high-voltage MOSFET bidirectional current sampling circuit, and the specific structure of the high-voltage MOSFET bidirectional current sampling circuit refers to the above-mentioned embodiment. Since this power management chip adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.

[0126] The present invention also proposes a mobile electronic device, including the above-mentioned high-voltage MOSFET bidirectional current sampling circuit, or including the above-mentioned power management chip; the mobile electronic device includes the above-mentioned high-voltage MOSFET bidirectional current sampling circuit, and the specific structure of the high-voltage MOSFET bidirectional current sampling circuit refers to the above-mentioned embodiment. Since the mobile electronic device adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.

[0127] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. A high-voltage MOSFET bidirectional current sampling circuit, applied to a power management chip, characterized in that: include: The first sampling terminal and the second sampling terminal are respectively used to access the sampling current; A plurality of current mirror modules, wherein the plurality of current mirror modules are connected in parallel between the first sampling terminal and the second sampling terminal, and are respectively used to perform signal processing on the connected mirror current, and when the first sampling terminal is connected to the sampling current, the processed mirror current is output through the first output terminal, and when the second sampling terminal is connected to the sampling current, the processed mirror current is output through the second output terminal; wherein the mirror current outputted from the second output terminal has the same direction as the mirror current outputted from the first output terminal; A main control module, electrically connected to the first sampling end and the second sampling end respectively, and electrically connected to the controlled ends of the multiple current mirror modules respectively, for controlling the corresponding current mirror module to work according to the size of the sampling current, so as to adjust the detection range of the current mirror module; An output circuit is selected, wherein the first input terminal and the first controlled terminal of the output circuit are respectively connected to the first output terminals of the plurality of current mirror modules, and the second input terminal and the second controlled terminal of the output circuit are respectively connected to the second output terminals of the plurality of current mirror modules; and the circuit is used to respectively output the mirror currents connected to the first input terminal and the second input terminal under the control of the plurality of current mirror modules.

2. The high voltage MOSFET bidirectional current sampling circuit according to claim 1, characterized in that: The current mirror module includes a first resistor, a second resistor, a first MOS transistor, a second MOS transistor and a third MOS transistor; The source of the first MOS tube and the source of the second MOS tube are electrically connected to the first sampling end respectively, the drain of the first MOS tube and the drain of the third MOS tube are electrically connected to the second sampling end respectively, the gate of the first MOS tube, the gate of the second MOS tube and the gate of the third MOS tube are electrically connected to the main control module respectively, the drain of the second MOS tube is the first output end of the current mirror module and is connected to the first end of the first resistor; the second end of the first resistor is connected to the first controlled end of the selection output circuit; the source of the third MOS tube is the second output end of the current mirror module and is connected to the first end of the second resistor; the second end of the second resistor is connected to the second controlled end of the selection output circuit.

3. The high voltage MOSFET bidirectional current sampling circuit according to claim 2, characterized in that: There are two current mirror modules, namely a first current mirror module and a second current mirror module; The channel length-to-width ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the first current mirror module is N:1:1; The channel length-to-width ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the second current mirror module is M:1:1; Among them, M>N>1, and M and N are positive integers.

4. The high voltage MOSFET bidirectional current sampling circuit according to claim 1, characterized in that: The high-voltage MOSFET bidirectional current sampling circuit also includes: A trimming module, wherein an input end of the trimming module is connected to an output end of the current mirror module, and a controlled end of the trimming module is electrically connected to the main control module; The main control module is also used to output a trimming control signal to the trimming module according to the connected sampling current, so as to control the trimming module to trim the connected mirror current and then output it, so as to reduce the error of the mirror current.

5. The high-voltage MOSFET bidirectional current sampling circuit according to claim 4, characterized in that: The trimming module includes a pull-down resistor, a first trimmable resistor, a second trimmable resistor, a conversion resistor, a second amplifier, a third amplifier, a fourth MOS tube and a fifth MOS tube; The non-inverting input terminal of the second amplifier is respectively connected to the first terminal of the pull-down resistor and the output terminal of the current mirror module, the inverting input terminal of the second amplifier is connected to the first terminal of the first adjustable resistor, and the output terminal of the second amplifier is connected to the gate of the fourth MOS tube; the source of the fourth MOS tube is connected to the second terminal of the first adjustable resistor, and the drain of the fourth MOS tube is connected to the second terminal of the second adjustable resistor; the first terminal of the second adjustable resistor is used to access a DC power supply and is connected to the first terminal of the conversion resistor r, and the third terminal of the second adjustable resistor is connected to the non-inverting input terminal of the third amplifier; the second terminal of the conversion resistor r is respectively connected to the inverting input terminal of the third amplifier and the source terminal of the fifth MOS tube, and the third terminal of the conversion resistor is the controlled terminal of the adjustment module; the gate of the fifth MOS tube is connected to the output terminal of the three amplifiers, and the drain of the fifth MOS tube is the output terminal of the adjustment module; the second terminal of the pull-down resistor and the third terminal of the first adjustable resistor are respectively grounded.

6. The high-voltage MOSFET bidirectional current sampling circuit according to claim 5, characterized in that: The channel duty ratios of the first MOS tube, the second MOS tube and the third MOS tube in the current mirror module are N:1:1; the relationship between the output current io and the sampling current in is: this = ; Among them, R is the resistance value of the conversion resistor when the channel duty ratio of the first MOS transistor, the second MOS transistor and the third MOS transistor in the current mirror module is N:1:1, and R0 is the resistance value of the pull-down resistor.

7. The high voltage MOSFET bidirectional current sampling circuit according to claim 4, characterized in that: The main control module comprises: A charge pump module, electrically connected to the first sampling terminal and the second sampling terminal respectively, and configured to output a corresponding range control signal according to a voltage value of a connected sampling current; A logic control circuit, wherein the first output end of the logic control circuit is connected to the controlled end of the trimming module, and the second output end of the logic control circuit is connected to the controlled end of the charge pump module. The logic control circuit is used to output a trimming control signal to the trimming module to control the trimming module to perform corresponding trimming processing on the sampling current; and to output a range selection signal to the charge pump module to control the charge pump module to adjust the detection range of the current mirror module.

8. The high-voltage MOSFET bidirectional current sampling circuit according to claim 4, characterized in that: The selection output circuit comprises: a selection control circuit, wherein a first input end of the selection control circuit is respectively connected to the first output ends of the plurality of current mirror modules, a second input end of the selection control circuit is respectively connected to the second output ends of the plurality of current mirror modules, and the selection control circuit is used to output a first selection control signal when receiving a first selection trigger signal, and output a second selection control signal when receiving a second selection trigger signal; A forward switch circuit and a reverse switch circuit, wherein the controlled end of the forward switch circuit and the controlled end of the reverse switch circuit are respectively electrically connected to the selection control circuit, the input end of the forward switch circuit is connected to the first output end of the selection output circuit, the input end of the reverse switch circuit is connected to the second output end of the selection output circuit, and the output end of the forward switch circuit and the output end of the reverse switch circuit are respectively connected to the input end of the adjustment module; The forward switch circuit is used to output the connected mirror current when receiving the first selection trigger signal, and the reverse switch circuit is used to output the connected mirror current when receiving the second selection trigger signal.

9. A power management chip, characterized in that: It comprises a high-voltage MOSFET bidirectional current sampling circuit as described in any one of claims 1 to 8.

10. A mobile electronic device, characterized in that: It comprises the high-voltage MOSFET bidirectional current sampling circuit as described in any one of claims 1 to 8, or comprises the power management chip as described in claim 9.