Current sampling compensation circuit, power management module and current monitoring device
By utilizing the differential operational amplifier circuit and compensation output circuit of the temperature compensation circuit module, the accuracy problem of the current sampling circuit under increased temperature and load is solved, thus realizing high-precision current monitoring in the intelligent power management module.
Patent Information
- Application Number
- CN202522241384.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-23
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2035-10-23
AI Technical Summary
The output accuracy of the current sampling circuit cannot meet the preset sampling accuracy requirements when the temperature rises and the load increases. Especially in the intelligent power management module, the current sampling tube and the main tube have a large difference in area, which causes the sampling results to be affected by the operating current density and temperature, resulting in a decrease in accuracy.
A current sampling compensation circuit is adopted, and the temperature compensation circuit module uses the difference between the constant temperature voltage and the temperature coefficient voltage to perform temperature compensation on the compensation current, thereby increasing the compensation current to meet the preset accuracy. It includes a combination design of current stabilization control circuit, differential operational amplifier circuit and compensation output circuit.
When the temperature rises and the load increases, the accuracy of the sampling current is compensated, the current sampling accuracy is improved, the error range requirement of ±2% is met, and the system stability and safety are improved.
Smart Images

Figure CN224958016U_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of circuit sampling technology, and particularly to a current sampling compensation circuit, a power management module, and a current monitoring device. Background Technology
[0002] Current sampling circuits are often used to monitor current. In practical applications, the current sampling circuit is affected by the operating current density and temperature, which causes the output sampling current to decrease as the temperature rises and the current increases. As a result, the output accuracy of the current sampling circuit cannot meet the preset sampling accuracy requirements. Utility Model Content
[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims. Embodiments of this application provide a current sampling compensation circuit that can compensate for the sampling current when the temperature rises and the load increases, thereby improving the current sampling accuracy.
[0004] In a first aspect, the current sampling compensation circuit according to the embodiments of this application includes: A current sampling circuit module is provided, which includes a compensation control terminal and a sampling output terminal; the sampling output terminal is used to output the sampled current, and the compensation control terminal is used to output a compensation current for the sampled current. A temperature compensation circuit module is provided, which has an inverting input terminal, a forward input terminal, and a sampling input terminal. The sampling input terminal of the temperature compensation circuit is electrically connected to the compensation control terminal. The inverting input terminal is used to input a preset constant temperature voltage, and the forward input terminal is used to input a temperature coefficient voltage that varies with temperature. The temperature compensation circuit is configured to perform temperature compensation on the compensation current based on the constant temperature voltage and the temperature coefficient voltage when the temperature coefficient voltage is greater than the constant temperature voltage, and to superimpose the compensated compensation current onto the sampling current at the sampling output terminal.
[0005] Therefore, the above embodiments of this application have at least the following beneficial effects: by using the compensation current determined by the sampling current of the current sampling circuit module to input the temperature compensation circuit module, the temperature compensation circuit module has an input current information that is positively correlated with the load. The positive input terminal of the temperature compensation circuit module is input as a constant temperature voltage with a positive temperature coefficient, and the reverse input terminal of the temperature compensation circuit module is input as a temperature coefficient voltage with a zero temperature coefficient. As the temperature rises, the temperature coefficient voltage at the positive input terminal increases with the temperature, and the compensation current also increases with the temperature. This achieves temperature compensation of the compensation current required for the sampling current, so that the compensated sampling current meets the preset sampling accuracy. Therefore, compared with related technologies, the current sampling compensation circuit of this application embodiment can compensate the sampling current when the temperature rises and the load increases, thereby improving the sampling accuracy of the current.
[0006] According to some embodiments of the first aspect of this application, the temperature compensation circuit module includes a current stabilization control circuit submodule, a differential operational amplifier circuit submodule, and a compensation output circuit submodule. The current input terminal of the current stabilization control circuit submodule is electrically connected to the compensation control terminal, the current output terminal of the current stabilization control circuit submodule is connected to the differential operational amplifier circuit submodule, and the differential terminal of the differential operational amplifier circuit submodule is electrically connected to the compensation output circuit submodule. The current stabilization control circuit submodule is used to stabilize the output of the compensation current. The differential operational amplifier circuit submodule is configured to perform micro-temperature compensation on the compensation current based on the difference between the constant temperature voltage and the temperature coefficient voltage when the temperature coefficient voltage is greater than the constant temperature voltage. The compensation output circuit submodule is used to superimpose the temperature-compensated compensation current onto the sampled current.
[0007] According to some embodiments of the first aspect of this application, the current stabilization control circuit submodule includes a first MOSFET and a first mirror transistor. The gate of the first MOSFET is connected to the gate of the first mirror transistor. The sources of both the first MOSFET and the first mirror transistor are grounded. The drain of the first MOSFET is connected to the compensation control terminal as the current input terminal. The drain of the first mirror transistor is connected to the differential operational amplifier circuit submodule as the current output terminal.
[0008] According to some embodiments of the first aspect of this application, the differential operational amplifier circuit submodule includes a second MOSFET, a third MOSFET, a fourth MOSFET, and a fifth MOSFET. The sources of the second MOSFET and the third MOSFET are connected and both are connected to the current output terminal. The drain of the second MOSFET and the gate of the fourth MOSFET are connected. The drain of the fourth MOSFET and the drain of the fifth MOSFET are connected. The gate of the fifth MOSFET and the drain of the third MOSFET are connected. The source of the fifth MOSFET is grounded. The source of the fourth MOSFET is connected to a preset power supply voltage. The gate of the second MOSFET is connected to a temperature coefficient voltage. The gate of the third MOSFET is connected to a constant temperature voltage. The connection point between the drains of the fourth MOSFET and the fifth MOSFET serves as the differential terminal.
[0009] According to some embodiments of the first aspect of this application, the differential operational amplifier circuit submodule further includes a second image transistor, a third image transistor, a fourth image transistor, and a fifth image transistor. The drain of the second image transistor is connected to the drain of the second MOS transistor. The gate of the second image transistor is connected to the drain of the second image transistor and the gate of the fourth MOS transistor. The drain of the third image transistor is connected to the drain of the third MOS transistor. The gate of the third image transistor is connected to the drain of the third image transistor and the gate of the fourth image transistor. The drain of the fourth image transistor is connected to the drain of the fifth image transistor. The gate of the fifth image transistor is connected to the drain of the fifth image transistor and the gate of the fifth MOS transistor. The source of the fifth image transistor is grounded, and the sources of the third and fourth image transistors are both connected to the power supply voltage.
[0010] According to some embodiments of the first aspect of this application, the compensation output circuit submodule includes a sixth MOS transistor, a sixth mirror transistor, a seventh MOS transistor, and a seventh mirror transistor; the drain of the sixth MOS transistor is connected to the differential terminal, the gate of the sixth MOS transistor is connected to the gate of the sixth mirror transistor, and the sources of both the sixth MOS transistor and the sixth mirror transistor are grounded; the drain of the sixth mirror transistor is connected to the drain of the seventh MOS transistor, the gate of the seventh MOS transistor is connected to the gate of the seventh mirror transistor, and the drain of the seventh mirror transistor is connected to the sampling output terminal; the sources of the seventh MOS transistor and the seventh mirror transistor are connected to a preset power supply voltage.
[0011] According to some embodiments of the first aspect of this application, the compensation current output by the compensation control terminal is the sampling current of a preset compensation ratio, wherein the preset compensation ratio is less than 1.
[0012] According to some embodiments of the first aspect of this application, the current sampling compensation circuit further includes a first zero temperature coefficient resistor and a second zero temperature coefficient resistor, wherein a first end of the first zero temperature coefficient resistor is connected to a constant temperature current and a second end of the first zero temperature coefficient resistor is connected to the inverting input terminal; a first end of the second zero temperature coefficient resistor is connected to a temperature coefficient current that varies with temperature and a second end of the second zero temperature coefficient resistor is connected to the positive input terminal.
[0013] Secondly, the power management module proposed according to the embodiments of this application includes the current sampling compensation circuit described in any of the first aspects.
[0014] Thirdly, the current monitoring device according to the embodiments of this application includes the current sampling compensation circuit described in any of the first aspects. Attached Figure Description
[0015] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0016] Figure 1 A schematic diagram of a circuit module of one embodiment of the current sampling compensation circuit provided in this application; Figure 2 The diagram shown is a schematic diagram of the circuit principle of one embodiment of the current sampling compensation circuit provided in this application. Figure 3 This is provided by the embodiments of this application. Figure 2 The diagram shows the simulation effect of the current sampling compensation circuit. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application. The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0019] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0020] The following are the Chinese and English definitions of the terms used in the embodiments of this application: A Smart Power Stage (SPS) is a power management module that integrates current and temperature monitoring functions. It is mainly used in multiphase DC / DC systems and uses built-in sensors to monitor current and temperature in real time, thereby improving system stability and safety.
[0021] Current sampling circuits are often used to monitor current. In practical applications, the output sampling current decreases as temperature and load increase due to the influence of operating current density and temperature. This results in the output accuracy of the current sampling circuit failing to meet the preset sampling accuracy requirements. For example, the SPS (Smart PowerStage) integrates multiple functions such as temperature detection, current sampling, and error reporting. The current sampling function has high accuracy requirements, such as meeting an error range of ±2% under different loads and temperatures. Although the current sampling circuit is designed with accuracy requirements in mind, and the circuit is made as symmetrical and matched as possible to reduce sampling errors, the large area of the SPS main tube means that the analog area only occupies about 15% of the chip area. This area limitation leads to a large difference between the sampling tube and the main tube area, causing the sampling tube in the current sampling circuit to be affected by the operating current density and temperature. The output current sampling result decreases as temperature and load increase, sometimes even failing to meet the design requirements. Based on this, this application provides a current sampling compensation circuit that can compensate for the sampling current when the temperature rises and the load increases, thereby improving the current sampling accuracy.
[0022] Reference Figure 1 As shown, in a first aspect, the current sampling compensation circuit according to an embodiment of this application includes: The current sampling circuit module is equipped with a compensation control terminal and a sampling output terminal; the sampling output terminal is used to output the sampled current, and the compensation control terminal is used to output the compensation current for the sampled current. The temperature compensation circuit module has an inverting input terminal, a non-inverting input terminal, and a sampling input terminal. The sampling input terminal and the compensation control terminal of the temperature compensation circuit are electrically connected. The inverting input terminal is used to input a preset constant temperature voltage, and the non-inverting input terminal is used to input a temperature coefficient voltage that varies with temperature. The temperature compensation circuit is configured to perform temperature compensation on the compensation current based on the difference between the constant temperature voltage and the temperature coefficient voltage when the temperature coefficient voltage is greater than the constant temperature voltage, and to superimpose the compensated current onto the sampling current at the sampling output terminal.
[0023] Therefore, by using the compensation current determined by the sampling current of the current sampling circuit module and inputting it to the temperature compensation circuit module, the temperature compensation circuit module obtains an input current information that is positively correlated with the load. The positive input terminal of the temperature compensation circuit module is a constant temperature voltage with a positive temperature coefficient, and the reverse input terminal is a temperature coefficient voltage with a zero temperature coefficient. As the temperature increases, the temperature coefficient voltage at the positive input terminal increases, and the compensation current also increases with the temperature. This achieves temperature compensation for the required compensation current of the sampling current, ensuring that the compensated sampling current meets the preset sampling accuracy. Therefore, the current sampling compensation circuit of this embodiment can compensate the sampling current when the temperature rises and the load increases, thereby improving the current sampling accuracy.
[0024] This application embodiment does not specify the circuit structure of the current sampling circuit module. Those skilled in the art can set the corresponding sampling resistor according to actual needs and sample the current passing through the sampling resistor.
[0025] The embodiments of this application do not limit the temperature compensation circuit module. For example, in some embodiments, the temperature compensation circuit module can be set as a five-transistor operational amplifier circuit module.
[0026] This application does not limit how the compensation current output by the compensation control terminal of the current sampling circuit module is determined. In some embodiments, a preset compensation ratio can be used, and the product of this compensation ratio and the sampling current at the sampling output terminal of the current sampling circuit module can be used as the compensation current. In other embodiments, a target sampling current can be set, and the difference between the target sampling current and the sampling current at the sampling output terminal can be used as the compensation current. This application does not limit this approach. The compensation current output by the compensation control terminal represents the magnitude of the current that the sampling current output by the current sampling circuit module should compensate for when it does not change with temperature.
[0027] For example, taking the current sampling compensation circuit integrated inside the SPS as an example, since the sampling circuit inside the SPS collects the inductor current information of each phase, it proportionally converts the inductor current information to obtain the current. as follows: ; in, For load current, For current sensing resistor; This represents the fine-tuning resistor. Taking the initial sampling current, which is the compensation current as the preset compensation ratio, as an example, refer to... Figure 1 As shown, the sampling current output by the current sampling circuit module is... Multiply by a compensation ratio Afterwards, As a compensation current input to the temperature compensation circuit module, the positive and negative input terminals of the temperature compensation circuit module respectively input a temperature coefficient voltage Vpt and a constant temperature voltage Vzt, where Vpt and Vzt are a positive temperature coefficient voltage that increases with temperature and a zero temperature coefficient voltage that does not change with temperature, respectively. In some embodiments, Vpt can be obtained by multiplying a positive temperature coefficient current Ipt that increases with temperature by a resistor R1, and in some embodiments, Vzt can be obtained by multiplying a zero temperature coefficient current Izt that does not change with temperature by a resistor R1. Vpt and Vzt are equal at room temperature. At this time, the temperature compensation circuit module can determine the temperature compensation current based on the temperature-related current and the load-related current. The temperature compensation current is superimposed on the sampling current to obtain the target sampling current, which meets the preset sampling accuracy.
[0028] Understandably, referring to Figure 2 As shown, the temperature compensation circuit module includes a current stabilization control circuit submodule, a differential operational amplifier circuit submodule, and a compensation output circuit submodule. The current input terminal of the current stabilization control circuit submodule is electrically connected to the compensation control terminal, the current output terminal of the current stabilization control circuit submodule is connected to the differential operational amplifier circuit submodule, and the differential terminal of the differential operational amplifier circuit submodule is electrically connected to the compensation output circuit submodule. The current stabilization control circuit submodule is used to stabilize the output of the compensation current. The differential operational amplifier circuit submodule is configured to perform temperature compensation on the compensation current based on the difference between the constant temperature voltage and the temperature coefficient voltage when the temperature coefficient voltage is greater than the constant temperature voltage. The compensation output circuit submodule is used to superimpose the temperature-compensated compensation current onto the sampled current.
[0029] The current stabilization control circuit submodule can use two MOS transistors to mirror and stabilize the compensation current. In other embodiments, the current stabilization control circuit submodule can also achieve voltage stabilization of the compensation current by setting a current source. This application does not limit the implementation of this embodiment, and those skilled in the art can selectively set it according to actual needs.
[0030] Understandably, referring to Figure 2As shown, the current stabilization control circuit submodule includes a first MOSFET and a first mirror transistor. The gate of the first MOSFET is connected to the gate of the first mirror transistor. The sources of both the first MOSFET and the first mirror transistor are grounded. The drain of the first MOSFET is connected to the compensation control terminal as the current input terminal. The drain of the first mirror transistor is connected to the differential operational amplifier circuit submodule as the current output terminal.
[0031] For example, taking the first MOSFET as M0 and the first image transistor as M1 as an example, refer to... Figure 2 As shown, the gates of M0 and M1 are interconnected, and the drain of M0 is connected as the current input terminal and the compensation control terminal. The drain of M1 is connected as the current output terminal and the differential operational amplifier circuit submodule. The sources of M0 and M1 are grounded to VSS.
[0032] Understandably, referring to Figure 2 As shown, the differential operational amplifier circuit submodule includes a second MOSFET, a third MOSFET, a fourth MOSFET, and a fifth MOSFET. The sources of the second and third MOSFETs are connected and both are connected to the current output terminal. The drain of the second MOSFET is connected to the gate of the fourth MOSFET. The drain of the fourth MOSFET is connected to the drain of the fifth MOSFET. The gate of the fifth MOSFET is connected to the drain of the third MOSFET. The source of the fifth MOSFET is grounded. The source of the fourth MOSFET is connected to a preset supply voltage. The gate of the second MOSFET is connected to a temperature coefficient voltage. The gate of the third MOSFET is connected to a constant temperature voltage. The connection point between the drains of the fourth and fifth MOSFETs serves as the differential terminal.
[0033] For example, taking the second MOSFET as M2, the third MOSFET as M3, the fourth MOSFET as M7, and the fifth MOSFET as M9, where the isothermal voltage is Vzt and the temperature coefficient voltage is Vpt, then refer to... Figure 2 As shown, the gate of M2 is connected to Vpt, and the gate of M3 is connected to a constant temperature voltage. The sources of M2 and M3 are interconnected and connected to the drain of M1. The drain of M3 is electrically connected to the gate of M9, the drain of M2 is connected to the gate of M7, and the drains of M7 and M9 are interconnected. At this time, the connection point of the drains of M7 and M9 serves as a differential terminal and is electrically connected to the compensation output circuit submodule.
[0034] Understandably, referring to Figure 2As shown, the differential operational amplifier circuit submodule also includes a second image transistor, a third image transistor, a fourth image transistor, and a fifth image transistor. The drain of the second image transistor is connected to the drain of the second MOSFET. The gate of the second image transistor, the drain of the second image transistor, and the gate of the fourth MOSFET are all connected. The drain of the third image transistor is connected to the drain of the third MOSFET. The gate of the third image transistor is connected to the drain of the third image transistor and the gate of the fourth image transistor. The drain of the fourth image transistor and the drain of the fifth image transistor are connected. The gate of the fifth image transistor is connected to the drain of the fifth image transistor and the gate of the fifth MOSFET. The source of the fifth image transistor is grounded. The sources of the third and fourth image transistors are both connected to the power supply voltage.
[0035] By adding a second, third, fourth, and fifth image transistor, the differential operational amplifier circuit submodules are arranged symmetrically.
[0036] For example, taking the second MOSFET as M2, the third MOSFET as M3, the fourth MOSFET as M7, the fifth MOSFET as M9, and the second image transistor as M4, the third image transistor as M5, the fourth image transistor as M6, and the fifth image transistor as M8 as an example, refer to... Figure 2 As shown, the drains of M4 and M2 are connected to each other, the gate of M4 is connected to the drain of M2 and the gate of M7, the drains of M3 and M5 are connected to each other, the gates of M5 and M6 are connected to each other and the gate of M5 is connected to the drain of M5; the drains of M6 and M8 are connected to each other, the gates of M8 and M9 are connected to each other and the gate of M8 is connected to the drain of M8. In this case, as... Figure 2 As shown, when Vpt≤Vzt, the current is as follows Figure 2 As shown by the solid arrow in the middle, I M2 ≤I M3 When Vpt > Vzt, the current flow is as follows: Figure 2 As shown by the dashed arrow in the image, I M2 >I M3 .
[0037] Understandably, the compensation output circuit submodule includes a sixth MOSFET, a sixth mirror MOSFET, a seventh MOSFET, and a seventh mirror MOSFET; the drain of the sixth MOSFET is connected to the differential terminal, the gate of the sixth MOSFET is connected to the gate of the sixth mirror MOSFET, and the sources of both the sixth MOSFET and the sixth mirror MOSFET are grounded; the drain of the sixth mirror MOSFET is connected to the drain of the seventh MOSFET, the gate of the seventh MOSFET is connected to the gate of the seventh mirror MOSFET, and the drain of the seventh mirror MOSFET is connected to the sampling output terminal; the sources of the seventh MOSFET and the seventh mirror MOSFET are connected to a preset power supply voltage.
[0038] For example, taking the sixth MOSFET as M10, the sixth image transistor as M11, the seventh MOSFET as M12, and the seventh image transistor as M13 as an example, then refer to... Figure 2As shown, M10 is connected at the drain of M7 and M9 in series. The gate of M11 is connected to the gate of M10. The drain of M11 is connected to the drain of M12. The gate of M12 is connected to the gate of M13. The drain of M13 is connected to the sampling output terminal of the current sampling circuit module. The sources of M4, M5, M6, M7, M12, and M12 are all connected to the power supply voltage VCC. The sources of M0, M1, M8, M9, M10, and M11 are all grounded to VSS.
[0039] For example, such as Figure 2 As shown, with the compensation current as Taking the sampling current at the sampling output terminal as an example, the input current of the temperature compensation module... It is a sampling current that varies with the load current. The second MOSFET M2, the third MOSFET M3, the fourth MOSFET M7, the second image transistor M4, the third image transistor M5, the first MOSFET M0, the first image transistor M1, and the fifth MOSFET M9 satisfy the following formula: ; ; ; in, , , , , , , , The drain currents of M0, M1, M2, M3, M4, M7, M9, and M13 are respectively.
[0040] Differential input signal : ;in, Represented as temperature coefficient voltage, Indicates constant temperature voltage; Then the drain currents of M2 and M3 are:
[0041] Then, at low temperatures, when Vpt ≤ Vzt, , ; When the temperature rises and Vpt > Vzt, , This yields a compensation current Icps that is related to both temperature and load current.
[0042] It is understandable that the compensation current output by the compensation control terminal is the sampling current of the preset compensation ratio, which is less than 1.
[0043] Understandably, the current sampling compensation circuit also includes a first zero temperature coefficient resistor and a second zero temperature coefficient resistor. The first end of the first zero temperature coefficient resistor is connected to a constant temperature current, and the second end of the first zero temperature coefficient resistor is connected to the inverting input terminal. The first end of the second zero temperature coefficient resistor is connected to a temperature coefficient current that varies with temperature, and the second end of the second zero temperature coefficient resistor is connected to the positive input terminal.
[0044] For example, refer to Figure 3 As shown, taking load currents IL of 0, 20, 40, and 60 as examples, Figure 3 As shown, at 44℃, Vpt > Vzt, differential signal Reaching -2.413mV, the compensation current Icps under four different load conditions all begin current compensation. Therefore, the current sampling compensation circuit of this embodiment generates a current positively correlated with the load and temperature through the current sampling circuit module and the temperature compensation circuit module, which compensates the sampling current of the original current sampling circuit module. This reduces the output accuracy error of the current sampling circuit module, achieving a deviation of ±2% within the operating temperature range and operating load range.
[0045] Secondly, the power management module proposed according to the embodiments of this application includes any of the current sampling compensation circuits in the first aspect.
[0046] For example, a power management module such as SPS.
[0047] Thirdly, the current monitoring device according to the embodiments of this application includes any of the current sampling compensation circuits in the first aspect.
[0048] Examples include current monitoring devices that integrate SPS. This application will not elaborate on each of these examples, but those skilled in the art can selectively configure them according to actual conditions.
[0049] The above is a detailed description of the preferred embodiments of this application. However, this application is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A current sampling compensation circuit, characterized in that, include: A current sampling circuit module is provided, which includes a compensation control terminal and a sampling output terminal; the sampling output terminal is used to output the sampled current, and the compensation control terminal is used to output a compensation current for the sampled current. A temperature compensation circuit module is provided, which has an inverting input terminal, a forward input terminal, and a sampling input terminal. The sampling input terminal of the temperature compensation circuit is electrically connected to the compensation control terminal. The inverting input terminal is used to input a preset constant temperature voltage, and the forward input terminal is used to input a temperature coefficient voltage that varies with temperature. The temperature compensation circuit is configured to perform temperature compensation on the compensation current based on the constant temperature voltage and the temperature coefficient voltage when the temperature coefficient voltage is greater than the constant temperature voltage, and to superimpose the compensated compensation current onto the sampling current at the sampling output terminal.
2. The current sampling compensation circuit according to claim 1, characterized in that, The temperature compensation circuit module includes a current stabilization control circuit submodule, a differential operational amplifier circuit submodule, and a compensation output circuit submodule. The current input terminal of the current stabilization control circuit submodule is electrically connected to the compensation control terminal, the current output terminal of the current stabilization control circuit submodule is connected to the differential operational amplifier circuit submodule, and the differential terminal of the differential operational amplifier circuit submodule is electrically connected to the compensation output circuit submodule. The current stabilization control circuit submodule is used to stabilize the output of the compensation current. The differential operational amplifier circuit submodule is configured to perform micro-temperature compensation on the compensation current based on the difference between the constant temperature voltage and the temperature coefficient voltage. The compensation output circuit submodule is used to superimpose the temperature-compensated compensation current onto the sampled current.
3. The current sampling compensation circuit according to claim 2, characterized in that, The current stabilization control circuit submodule includes a first MOSFET and a first mirror transistor. The gate of the first MOSFET is connected to the gate of the first mirror transistor. The sources of both the first MOSFET and the first mirror transistor are grounded. The drain of the first MOSFET serves as the current input terminal and is connected to the compensation control terminal. The drain of the first mirror transistor serves as the current output terminal and is connected to the differential operational amplifier circuit submodule.
4. The current sampling compensation circuit according to claim 2, characterized in that, The differential operational amplifier circuit submodule includes a second MOSFET, a third MOSFET, a fourth MOSFET, and a fifth MOSFET. The sources of the second MOSFET and the third MOSFET are connected and both are connected to the current output terminal. The drain of the second MOSFET and the gate of the fourth MOSFET are connected. The drain of the fourth MOSFET and the drain of the fifth MOSFET are connected. The gate of the fifth MOSFET and the drain of the third MOSFET are connected. The source of the fifth MOSFET is grounded. The source of the fourth MOSFET is connected to a preset power supply voltage. The gate of the second MOSFET is connected to a temperature coefficient voltage. The gate of the third MOSFET is connected to a constant temperature voltage. The connection point between the drains of the fourth and fifth MOSFETs serves as the differential terminal.
5. The current sampling compensation circuit according to claim 4, characterized in that, The differential operational amplifier circuit submodule further includes a second image transistor, a third image transistor, a fourth image transistor, and a fifth image transistor. The drain of the second image transistor is connected to the drain of the second MOS transistor. The gate of the second image transistor is connected to the drain of the second image transistor and the gate of the fourth MOS transistor. The drain of the third image transistor is connected to the drain of the third MOS transistor. The gate of the third image transistor is connected to the drain of the third image transistor and the gate of the fourth image transistor. The drain of the fourth image transistor is connected to the drain of the fifth image transistor. The gate of the fifth image transistor is connected to the drain of the fifth image transistor and the gate of the fifth MOS transistor. The source of the fifth image transistor is grounded. The sources of the third and fourth image transistors are both connected to the power supply voltage.
6. The current sampling compensation circuit according to claim 2, characterized in that, The compensation output circuit submodule includes a sixth MOS transistor, a sixth mirror transistor, a seventh MOS transistor, and a seventh mirror transistor. The drain of the sixth MOS transistor is connected to the differential terminal, the gate of the sixth MOS transistor is connected to the gate of the sixth mirror transistor, and the sources of both the sixth MOS transistor and the sixth mirror transistor are grounded. The drain of the sixth mirror transistor is connected to the drain of the seventh MOS transistor, the gate of the seventh MOS transistor is connected to the gate of the seventh mirror transistor, and the drain of the seventh mirror transistor is connected to the sampling output terminal. The sources of the seventh MOS transistor and the seventh mirror transistor are connected to a preset power supply voltage.
7. The current sampling compensation circuit according to claim 2, characterized in that, The compensation current output by the compensation control terminal is the sampling current with a preset compensation ratio, where the preset compensation ratio is less than 1.
8. The current sampling compensation circuit according to claim 1, characterized in that, The current sampling compensation circuit further includes a first zero temperature coefficient resistor and a second zero temperature coefficient resistor. The first end of the first zero temperature coefficient resistor is connected to a constant temperature current, and the second end of the first zero temperature coefficient resistor is connected to the inverting input terminal. The first end of the second zero temperature coefficient resistor is connected to a temperature coefficient current that varies with temperature, and the second end of the second zero temperature coefficient resistor is connected to the positive input terminal.
9. A power management module, characterized in that, Includes the current sampling compensation circuit as described in any one of claims 1 to 8.
10. A current monitoring device, characterized in that, Includes the current sampling compensation circuit as described in any one of claims 1 to 8.
