A high-precision electric energy detection circuit
By combining current conversion module, voltage conversion module, multiplication module and comparison module, the problem of insufficient accuracy of existing power detection circuits under different conditions is solved, realizing high-precision real-time detection of battery power and improving the reliability of power management system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-05
- Publication Date
- 2026-03-17
AI Technical Summary
Existing power detection circuits struggle to achieve high-precision real-time detection under various operating conditions, especially affected by changes in load current and temperature, resulting in inaccurate detection results.
The current conversion module and voltage conversion module are used to independently sample and convert the power current and supply voltage respectively. The multiplication module performs calculations on the two converted currents to generate a voltage signal proportional to the actual output power of the battery. The comparison module performs level conversion and outputs a power status indicator signal. The output module generates a power status indicator.
Under different load current and temperature conditions, it can stably and accurately reflect the actual electrical energy state of the battery, realize real-time high-precision detection of battery power, and improve the accuracy and reliability of detection.
Smart Images

Figure CN121254115B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery management technology, and in particular to a high-precision power detection circuit. Background Technology
[0002] With the widespread use of various portable devices, mobile terminals, and energy storage devices, batteries, as the primary power source, directly affect the user experience and operational stability of these devices. To ensure reliable operation, a power detection circuit is typically installed in the battery power supply system to monitor the battery's power status in real time and issue prompts to the user or control the charging process when the power is insufficient.
[0003] Existing power detection circuits mainly fall into two categories. The first type determines the state of power by detecting the battery's supply voltage. This type of circuit has a simple structure but low detection accuracy. This is because the battery's supply voltage is not only related to the remaining energy but is also affected by various factors such as load current, operating temperature, and battery aging. Under different load or temperature conditions, even with the same voltage value, the actual remaining energy of the battery may vary significantly. Therefore, detection results based solely on voltage are often inaccurate. The second type of power detection circuit detects the battery's supply current using a coulomb counter. It calculates the outflow of charge by integrating the battery's output current, thereby estimating the battery's remaining energy. While this approach improves detection accuracy to some extent, small errors in the current measurement process accumulate over time, requiring periodic calibration of the coulomb counter. Furthermore, when the operating current of the electrical equipment is high, the battery's internal resistance increases, the supply voltage decreases, and the actual usable energy decreases. In this case, relying solely on charge estimation cannot accurately reflect the battery's true state of power. Therefore, existing power detection solutions still struggle to achieve high-precision real-time detection of battery energy under various operating conditions. Summary of the Invention
[0004] The purpose of this invention is to provide a high-precision power detection circuit to achieve real-time and accurate detection of battery power under various operating conditions, thereby improving the reliability and detection accuracy of the power management system.
[0005] According to a first aspect of the present invention, a high-precision power detection circuit is provided, comprising:
[0006] A current conversion module, connected to a power circuit, is used to convert the power current IP flowing through the power circuit into a first conversion current IC.
[0007] A voltage conversion module, connected to the power supply battery, is used to convert the power supply voltage VIN of the power supply battery into a corresponding second conversion current IV;
[0008] The multiplication module is connected to the current conversion module and the voltage conversion module respectively, and is used to perform multiplication operations on the first conversion current IC and the second conversion current IV, and output a first voltage signal VM that is proportional to the real-time output power of the power supply battery.
[0009] The comparison module, connected to the multiplication module, is used to perform level conversion on the first voltage signal VM and compare it with a preset threshold, and output the comparison result signal VF;
[0010] An output module, connected to the comparison module, is used to output a power status indication signal based on the comparison result signal VF to characterize the real-time power status of the power supply battery.
[0011] In one possible implementation, the current conversion module includes:
[0012] The current conversion switch MC has its current input terminal connected to the current input terminal of the power switch MP of the power circuit, and its current output terminal is connected to the multiplication module to output the first conversion current IC.
[0013] In one possible implementation, the power switch MP and the current conversion switch MC form a K:1 current mirror structure.
[0014] In one possible implementation, in the voltage conversion module, the supply voltage VIN is grounded sequentially through a first resistor R1 and a first switch M1, and the supply voltage VIN is also grounded sequentially through a second switch M2 and a third switch M3.
[0015] The control terminal of the first switch M1 is connected to the control terminal of the third switch M3, and both are connected to the current input terminal of the first switch M1.
[0016] The voltage conversion module further includes a fourth switch M4. The current input terminal of the fourth switch M4 is connected to the power supply voltage VIN. The current output terminal of the fourth switch M4 is connected to the output terminal of the voltage conversion module. The control terminal of the fourth switch M4 is connected to the control terminal of the second switch M2, and together they are connected to the current output terminal of the second switch M2.
[0017] In one possible implementation, in the voltage conversion module, the supply voltage VIN is also grounded sequentially through the fifth switch M5, the sixth switch M6 and the seventh switch M7, the supply voltage VIN is also grounded sequentially through the eighth switch M8, the ninth switch M9 and the second resistor R2, and the supply voltage VIN is also grounded sequentially through the third resistor R3 and the tenth switch M10.
[0018] The control terminal of the seventh switch M7 is connected to the current input terminal of the seventh switch M7. The control terminal of the sixth switch M6 is connected to the control terminal of the ninth switch M9, and they are both connected to the current input terminal of the ninth switch M9. The current input terminal of the ninth switch M9 is also connected to the control terminal of the tenth switch M10.
[0019] The voltage conversion module also includes an eleventh switch M11 and a twelfth switch M12. The current input terminal of the eleventh switch M11 is connected to the current output terminal of the fifth switch M5. The control terminals of the twelfth switch M12, the fifth switch M5, and the eighth switch M8 are all connected and jointly connected to the current input terminal of the eleventh switch M11. The current output terminal of the eleventh switch M11 is grounded. The control terminal of the eleventh switch M11 is connected to the current input terminal of the tenth switch M10.
[0020] The current input terminal of the twelfth switch is connected to the supply voltage VIN, and the current output terminal of the twelfth switch M12 is connected to the output terminal of the voltage conversion module. The output terminal of the voltage conversion module outputs the second conversion current IV.
[0021] In one possible implementation, the parameters of the first switch M1 and the seventh switch M7 are the same, the resistance values of the first resistor R1 and the second resistor R2 are equal, and the formula for the second switching current IV is:
[0022] ;
[0023] Wherein, VGS1 is the gate-source voltage difference of the first switch M1, and VGS7 is the gate-source voltage difference of the seventh switch M7.
[0024] In one possible implementation, the multiplication module includes a thirteenth switch M13, a fourteenth switch M14, a fifteenth switch M15, a sixteenth switch M16, a seventeenth switch M17, a first transistor Q1, and a second transistor Q2.
[0025] The current input terminal of the thirteenth switch M13 is connected to the first conversion current IC, the current input terminal of the fourteenth switch M14 is connected to the current output terminal of the sixteenth switch M16, and the current input terminal of the fifteenth switch M15 is connected to the second conversion current IV.
[0026] The control terminals of the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 are all connected and together connected to the current input terminal of the thirteenth switch M13. The current output terminals of the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 are all connected.
[0027] The control terminal of the sixteenth switch M16 is connected to the control terminal of the seventeenth switch M17, and they are both connected to the current output terminal of the sixteenth switch M16. The current input terminal of the sixteenth switch M16 is connected to the current input terminal of the seventeenth switch M17, and the current output terminal of the seventeenth switch M17 is connected to the collector of the first transistor Q1.
[0028] The base of the first transistor Q1 is connected to the collector of the first transistor Q1, the emitter of the first transistor Q1 is connected to the collector of the second transistor Q2, the collector of the second transistor Q2 is also connected to the current input terminal of the fifteenth switch M15, the base of the second transistor Q2 is connected to the collector of the second transistor Q2, and the emitter of the second transistor Q2 is connected to the current output terminal of the fifteenth switch M15.
[0029] In one possible implementation, the multiplication module further includes an eighteenth switch M18, a nineteenth switch M19, a twentieth switch M20, a twenty-first switch M21, a twenty-second switch M22, a twenty-third switch M23, a first current source B1, a third transistor Q3, and a fourth transistor Q4.
[0030] The current input terminals of the eighteenth switch M18, the nineteenth switch M19, the twentieth switch M20, and the twenty-third switch M23 are all connected to the current input terminal of the seventeenth switch M17. The control terminals of the eighteenth switch M18, the nineteenth switch M19, and the twentieth switch M20 are all connected and jointly connected to the current output terminal of the eighteenth switch M18.
[0031] The current output terminal of the eighteenth switch M18 is connected to the input terminal of the first current source B1, and the output terminal of the first current source B1 is connected to the emitter of the second transistor Q2.
[0032] The current output terminal of the nineteenth switch M19 is connected to the current input terminal of the twenty-first switch M21. The current output terminal of the twenty-first switch M21 is connected to the output terminal of the first current source B1. The control terminal of the twenty-first switch M21 is connected to the control terminal of the twenty-second switch M22 and is also connected to the current input terminal of the twenty-first switch M21. The current input terminal of the twenty-second switch M22 is connected to the collector of the fourth transistor Q4. The current output terminal of the twenty-second switch M22 is connected to the current output terminal of the twenty-first switch M21.
[0033] The current output terminal of the twentieth switch transistor M20 is connected to the collector of the third transistor Q3, the base of the third transistor Q3 is connected to the collector of the first transistor Q1, the emitter of the third transistor Q3 is connected to the collector of the fourth transistor Q4, and the emitter of the fourth transistor Q4 is connected to the current output terminal of the twentieth switch transistor M22.
[0034] The current output terminal of the 23rd switching transistor M23 is connected to both the base and collector of the fourth transistor Q4.
[0035] In one possible implementation, the multiplication module further includes a twenty-fourth switch M24, a twenty-fifth switch M25, a fourth resistor R4, and a fifth transistor Q5;
[0036] The current input terminals of the 24th switch M24 and the 25th switch M25 are both connected to the current input terminal of the 23rd switch M23. The control terminals of the 23rd switch M23, the 24th switch M24 and the 25th switch M25 are all connected and together connected to the current output terminal of the 24th switch M24.
[0037] The current output terminal of the 24th switching transistor M24 is also connected to the collector of the fifth transistor Q5, the emitter of the fifth transistor Q5 is connected to the emitter of the fourth transistor Q4, and the base of the fifth transistor Q5 is connected to the base of the fourth transistor Q4.
[0038] The current output terminal of the 25th switching transistor M25 is connected to the first terminal of the fourth resistor R4, and the second terminal of the fourth resistor R4 is connected to the emitter of the fifth transistor Q5. The current output terminal of the 25th switching transistor M25 serves as the output terminal of the multiplication module, outputting the first voltage signal VM.
[0039] In one possible implementation, the formula for the first voltage signal VM is:
[0040] ;
[0041] Wherein, IB1 is the current of the first current source B1, D is the positive correlation coefficient between the power current IP and the supply current of the power supply battery, and PT is the real-time output power of the power supply battery.
[0042] In one possible implementation, in the comparison module, the supply voltage VIN is grounded sequentially through the 26th switch M26, the 27th switch M27 and the fifth resistor R5. The supply voltage VIN is also grounded sequentially through the 28th switch M28 and the first capacitor C1. The control terminal of the 26th switch M26 is connected to the control terminal of the 28th switch M28 and together they are connected to the current output terminal of the 26th switch M26.
[0043] The comparison module further includes an operational amplifier A1 and a first comparator F1. The positive input terminal of the operational amplifier A1 is connected to the first voltage signal VM, the negative input terminal of the operational amplifier A1 is connected to the current output terminal of the 27th switching transistor M27, and the output terminal of the operational amplifier A1 is connected to the control terminal of the 27th switching transistor M27.
[0044] The positive input terminal of the first comparator F1 is connected to the reference voltage VR, the negative input terminal of the first comparator F1 is connected to the current output terminal of the 28th switch M28, and the output terminal of the first comparator F1 serves as the output terminal of the comparison module, outputting the comparison result signal VF.
[0045] In one possible implementation, in the output module, the supply voltage VIN is grounded sequentially through the 29th switch M29, the 6th resistor R6, and the LED, and the control terminal of the 29th switch M29 is connected to the comparison result signal VF.
[0046] According to a second aspect of the present invention, a battery power supply circuit is provided, comprising a power supply battery, a power circuit, and a high-precision power detection circuit as described above, all interconnected.
[0047] In one possible implementation, in the power circuit, the supply voltage VIN of the power supply battery is grounded through the power switch MP, the first power resistor RP1, and the second power resistor RP2 in sequence.
[0048] The control terminal of the power switch MP is connected to the control terminal of the current conversion switch MC of the current conversion module in the high-precision power detection circuit, and the current output terminal of the power switch MP is connected to the electrical equipment.
[0049] The power circuit also includes a power operational amplifier AP. The positive input terminal of the operational amplifier AP is connected between the first power resistor RP1 and the second power resistor RP2. The negative input terminal of the operational amplifier AP is connected to a reference voltage VRP. The output terminal of the operational amplifier AP is connected to the control terminal of the power switch MP.
[0050] According to the present invention, high-precision real-time detection of the battery's energy state is achieved through the division of labor and cooperation of multiple modules. The current conversion module and voltage conversion module independently sample and convert the power current and supply voltage, respectively, enabling the simultaneous acquisition of two key parameters reflecting the battery's output power. The multiplication module processes the two converted currents to obtain a voltage signal proportional to the battery's actual output power, thus accurately reflecting the battery's energy output level under its current operating state. The comparison module performs level conversion on the voltage signal output by the multiplication module, compares it with a preset threshold, and outputs a result signal. The output module generates an energy state indication signal based on this result signal, thereby achieving the identification and intuitive output of the battery's energy state. Through the above structural design, the high-precision energy detection circuit of the present invention can effectively avoid the influence of changes in the current of the electrical equipment on the battery's supply voltage, thus stably and accurately reflecting the actual energy state of the battery under different load current conditions, achieving real-time high-precision detection of battery energy.
[0051] Furthermore, by incorporating a current conversion module, the power current can be proportionally converted into a detection signal, thereby accurately reflecting the actual current changes in the circuit without affecting the normal operation of the power circuit. By incorporating a voltage conversion module, the battery's supply voltage is converted into a corresponding current signal, and a multi-stage mirror structure maintains consistency across all detection branches, making voltage signal acquisition more accurate and stable. Therefore, the high-precision energy detection circuit of this invention can simultaneously acquire high-precision current and voltage information, accurately reflecting the real-time energy state of the battery under different load current or temperature conditions, significantly improving the accuracy and reliability of the detection.
[0052] Furthermore, by setting up a multiplication module, the first converted current from the current conversion module and the second converted current from the voltage conversion module are precisely multiplied to generate a voltage signal proportional to the real-time output power of the battery. This multiplication module employs a multi-stage switching transistor and transistor mirror and feedback structure to achieve precise replication and superposition of the input current signal, resulting in high linearity and stability of the multiplication operation. Simultaneously, a current mirror structure ensures matching between branches, reducing the impact of current deviation on calculation accuracy. This guarantees that the output voltage signal accurately and stably reflects the real-time power of the power supply battery, providing a reliable basis for subsequent comparisons and indications.
[0053] Furthermore, the comparison module processes the voltage signal output from the multiplication module using a combination of operational amplifiers, switching transistors, resistors, and capacitors. It then compares the processed signal with a reference voltage to determine the battery's real-time power state. The result is converted into a voltage level and transmitted to the output module. The output module drives an indicator device, such as an LED, using a switching transistor to generate an intuitive power status indicator. This visualizes the battery's power status, allowing users to clearly and in real-time monitor its operation, thus improving the convenience and safety of power management.
[0054] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, the preferred embodiments of the present invention are described in detail below. Attached Figure Description
[0055] Figure 1 A schematic diagram of a high-precision power detection circuit according to an embodiment of the present invention is shown;
[0056] Figure 2 A circuit topology diagram of a current conversion module according to an embodiment of the present invention is shown;
[0057] Figure 3 A circuit topology diagram of a voltage conversion module according to an embodiment of the present invention is shown;
[0058] Figure 4 A circuit topology diagram of a multiplication module according to an embodiment of the present invention is shown;
[0059] Figure 5 A circuit topology diagram of a comparison module according to an embodiment of the present invention is shown;
[0060] Figure 6 A circuit topology diagram of an output module according to an embodiment of the present invention is shown;
[0061] Figure 7 A schematic diagram of a battery-powered circuit according to an embodiment of the present invention is shown;
[0062] Figure 8 A circuit topology diagram of a power circuit according to an embodiment of the present invention is shown. Detailed Implementation
[0063] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, it should be noted that, for ease of description, only the parts relevant to this application are shown in the accompanying drawings, not the entire structure. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this application.
[0064] The terms “comprising” and “having”, and any variations thereof, used in this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0065] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0066] Figure 1 A schematic diagram of a high-precision power detection circuit 300 according to an embodiment of the present invention is shown. Figure 1 As shown, the high-precision power detection circuit 300 includes a current conversion module 310, a voltage conversion module 320, a multiplication module 330, a comparison module 340, and an output module 350. The current conversion module 310 is connected to the power circuit 200 and converts the power current IP flowing through the power circuit 200 into a first conversion current IC. The voltage conversion module 320 is connected to the power supply battery 100 and converts the supply voltage VIN of the power supply battery 100 into a corresponding second conversion current IV. The multiplication module 330 is connected to both the current conversion module 310 and the voltage conversion module 320 and performs a multiplication operation on the first conversion current IC and the second conversion current IV, outputting a first voltage signal VM that is proportional to the real-time output power of the power supply battery 100. The comparison module 340 is connected to the multiplication module 330 and performs a level conversion on the first voltage signal VM, compares it with a preset threshold, and outputs a comparison result signal VF. The output module 350 is connected to the comparison module 340 and is used to output a power status indication signal according to the comparison result signal VF to characterize the real-time power status of the power supply battery 100.
[0067] According to the above embodiments, high-precision real-time detection of the power state of the power supply battery 100 is achieved through the division of labor and cooperation of multiple modules. The current conversion module 310 and voltage conversion module 320 independently sample and convert the power current and supply voltage, respectively, enabling the simultaneous acquisition of two key parameters reflecting the battery's output power. The multiplication module 330 processes the two converted currents to obtain a voltage signal proportional to the battery's actual output power, thus accurately reflecting the battery's energy output level under the current operating state. The comparison module 340 performs level conversion on the voltage signal output by the multiplication module 330, compares it with a preset threshold, and outputs a result signal. The output module 350 generates a power state indication signal based on this result signal, thereby realizing the judgment and intuitive output of the battery's energy state. Through the above structural design, the high-precision power detection circuit 300 of the present invention can effectively avoid the influence of changes in the current of the electrical equipment on the battery's supply voltage, thus stably and accurately reflecting the actual power state of the battery under different load current conditions, achieving real-time high-precision detection of battery power.
[0068] Figure 2 A circuit topology diagram of a current conversion module 310 according to an embodiment of the present invention is shown. Figure 2 As shown, the current conversion module 310 includes a current conversion switch MC. The current input terminal of the current conversion switch MC is connected to the current input terminal of the power switch MP of the power circuit 200, and the current output terminal of the current conversion switch MC is connected to the multiplication module 330 to output the first conversion current IC.
[0069] In one embodiment, the power switch MP and the current conversion switch MC form a K:1 current mirror structure.
[0070] According to the above embodiment, by constructing a K:1 current mirror structure between the power switch MP and the current conversion switch MC, the current conversion switch MC can accurately replicate the conduction current of the power switch MP proportionally, thereby obtaining a detection signal proportional to the power current without directly interfering with the operation of the power circuit 200. The relationship between the first conversion current IC output by the current conversion switch MC and the power current IP output by the power switch MP is as follows: This enables proportional extraction and stable conversion of power current, providing a high-precision current input basis for subsequent multiplication operations.
[0071] Figure 3 A circuit topology diagram of a voltage conversion module 320 according to an embodiment of the present invention is shown. Figure 3As shown, in the voltage conversion module 320, the supply voltage VIN is grounded sequentially through a first resistor R1 and a first switching transistor M1. The supply voltage VIN is also grounded sequentially through a second switching transistor M2 and a third switching transistor M3. The control terminal of the first switching transistor M1 is connected to the control terminal of the third switching transistor M3, and both are connected to the current input terminal of the first switching transistor M1. The voltage conversion module 320 also includes a fourth switching transistor M4. The current input terminal of the fourth switching transistor M4 is connected to the supply voltage VIN, the current output terminal of the fourth switching transistor M4 is connected to the output terminal of the voltage conversion module 320, and the control terminal of the fourth switching transistor M4 is connected to the control terminal of the second switching transistor M2, and both are connected to the current output terminal of the second switching transistor M2.
[0072] In one embodiment, reference Figure 3 In the voltage conversion module 320, the supply voltage VIN is also grounded sequentially through the fifth switch M5, the sixth switch M6, and the seventh switch M7; the supply voltage VIN is also grounded sequentially through the eighth switch M8, the ninth switch M9, and the second resistor R2; and the supply voltage VIN is also grounded sequentially through the third resistor R3 and the tenth switch M10. The control terminal of the seventh switch M7 is connected to the current input terminal of the seventh switch M7. The control terminals of the sixth switch M6 and the ninth switch M9 are connected and jointly connected to the current input terminal of the ninth switch M9. The current input terminal of the ninth switch M9 is also connected to the control terminal of the tenth switch M10. The voltage conversion module 320 also includes an eleventh switch M11 and a twelfth switch M12. The current input terminal of the eleventh switch M11 is connected to the current output terminal of the fifth switch M5. The control terminals of the twelfth switch M12, the fifth switch M5, and the eighth switch M8 are all connected and jointly connected to the current input terminal of the eleventh switch M11. The current output terminal of the eleventh switch M11 is grounded, and the control terminal of the eleventh switch M11 is connected to the current input terminal of the tenth switch M10. The current input terminal of the twelfth switch M12 is connected to the supply voltage VIN, and the current output terminal of the twelfth switch M12 is connected to the output terminal of the voltage conversion module 320. The output terminal of the voltage conversion module 320 outputs a second conversion current IV.
[0073] In one embodiment, the first switch M1 and the third switch M3 form a 1:1 current mirror structure, the second switch M2 and the fourth switch M4 form a 1:1 current mirror structure, and the fifth switch M5, the eighth switch M8 and the twelfth switch M12 form a 1:1:1 current mirror structure.
[0074] In one embodiment, the parameters of the first switch M1 and the seventh switch M7 are the same, and the resistance values of the first resistor R1 and the second resistor R2 are equal. Then, the formula for the second switching current IV is:
[0075] ;
[0076] Wherein, VGS1 is the gate-source voltage difference of the first switch M1, and VGS7 is the gate-source voltage difference of the seventh switch M7.
[0077] According to the above embodiment, the working principle of the voltage conversion module 320 is as follows: After the circuit is powered on, the first resistor R1 pulls up the control terminal voltage of the first switch M1 and the third switch M3, turning on the first switch M1 and the third switch M3. At this time, the third switch M3 pulls down the control terminal voltage of the second switch M2 and the fourth switch M4, thus turning on the second switch M2 and the fourth switch M4. Simultaneously, the third resistor R3 pulls up the control terminal voltage of the eleventh switch M11, turning on the eleventh switch M11. After the eleventh switch M11 turns on, it pulls down the control terminal voltage of the twelfth switch M12, the fifth switch M5, and the eighth switch M8, thus turning on the twelfth switch M12, the fifth switch M5, and the eighth switch M8. After turning on, the eighth switch M8 pulls up the control terminal voltage of the sixth switch M6, the ninth switch M9, and the tenth switch M10 to the supply voltage VIN, turning on the ninth switch M9 and the tenth switch M10. Since the supply voltage VIN is higher than the sum of the turn-on threshold voltages of the sixth switch M6 and the seventh switch M7, the sixth switch M6 and the seventh switch M7 are also turned on. Subsequently, the tenth switch M10 pulls down the control terminal voltage of the eleventh switch M11, causing the eleventh switch M11 to turn off. Because the resistance of the third resistor R3 is relatively large, typically at least in the megaohm range, only a very small current flows through the branch consisting of the third resistor R3 and the tenth switch M10 when the voltage conversion module 320 is operating normally.
[0078] At this point, since the first switch M1 and the third switch M3 form a 1:1 current mirror structure, and the second switch M2 and the fourth switch M4 also form a 1:1 current mirror structure, the current flowing through the first switch M1 is equal to the current flowing through the fourth switch M4, which is current IV1. Combining this with the branch consisting of the first resistor R1 and the first switch M1, we know that the current flowing through the first switch M1 is equal to... Where VGS1 represents the gate-source voltage difference of the first switching transistor M1, from which the current can be obtained. Simultaneously, since the fifth switch M5, the eighth switch M8, and the twelfth switch M12 form a 1:1:1 current mirror structure, the currents flowing through them are equal. Consequently, the currents flowing through the sixth switch M6 and the ninth switch M9 are equal, and their gate-source voltage differences are equal. Therefore, their source voltages are equal. Furthermore, since the source voltage of the sixth switch M6 is equal to the gate-source voltage difference VGS7 of the seventh switch M7, the voltage difference across the second resistor R2 is VGS7, and the current flowing through the second resistor R2 is... From this, the current can be obtained. .
[0079] Therefore, the second conversion current IV output by the voltage conversion module 320 can be expressed as: In this configuration, the first switch M1 and the seventh switch M7 are switch transistors with identical parameters, therefore their gate-source voltage difference is equal, i.e., VGS1 = VGS7. Furthermore, when the first resistor R1 and the second resistor R2 are designed to have equal resistance values, the second conversion current can be further obtained. .
[0080] According to the above embodiments, by setting the current conversion module 310, the power current can be proportionally converted into a first conversion current IC, thereby accurately reflecting the actual current changes in the circuit without affecting the normal operation of the power circuit 200. By setting the voltage conversion module 320, the battery supply voltage is converted into a corresponding second conversion current IV, and a multi-stage mirror structure is used to maintain the consistency of each detection branch, making the voltage signal acquisition more accurate and stable. Thus, the high-precision power detection circuit 300 of the present invention can simultaneously acquire high-precision current and voltage information, and can still accurately reflect the real-time power status of the battery under different load current or temperature conditions, significantly improving the accuracy and reliability of detection.
[0081] Figure 4 A circuit topology diagram of a multiplication module 330 according to an embodiment of the present invention is shown. Figure 4As shown, the multiplication module 330 includes a thirteenth switch M13, a fourteenth switch M14, a fifteenth switch M15, a sixteenth switch M16, a seventeenth switch M17, a first transistor Q1, and a second transistor Q2. The current input terminal of the thirteenth switch M13 is connected to the first conversion current IC, the current input terminal of the fourteenth switch M14 is connected to the current output terminal of the sixteenth switch M16, and the current input terminal of the fifteenth switch M15 is connected to the second conversion current IV. The control terminals of the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 are all connected and share a common connection to the current input terminal of the thirteenth switch M13. The current output terminals of the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 are all connected. The control terminal of the sixteenth switch M16 is connected to the control terminal of the seventeenth switch M17, and both are connected to the current output terminal of the sixteenth switch M16. The current input terminal of the sixteenth switch M16 is connected to the current input terminal of the seventeenth switch M17. The current output terminal of the seventeenth switch M17 is connected to the collector of the first transistor Q1. The base of the first transistor Q1 is connected to the collector of the first transistor Q1. The emitter of the first transistor Q1 is connected to the collector of the second transistor Q2. The collector of the second transistor Q2 is also connected to the current input terminal of the fifteenth switch M15. The base of the second transistor Q2 is connected to the collector of the second transistor Q2. The emitter of the second transistor Q2 is connected to the current output terminal of the fifteenth switch M15.
[0082] In one embodiment, reference Figure 4The multiplication module 330 also includes an eighteenth switch M18, a nineteenth switch M19, a twentieth switch M20, a twenty-first switch M21, a twenty-second switch M22, a twenty-third switch M23, a first current source B1, a third transistor Q3, and a fourth transistor Q4. The current input terminals of the eighteenth switch M18, the nineteenth switch M19, the twentieth switch M20, and the twenty-third switch M23 are all connected to the current input terminal of the seventeenth switch M17. The control terminals of the eighteenth switch M18, the nineteenth switch M19, and the twentieth switch M20 are all connected and jointly connected to the current output terminal of the eighteenth switch M18. The current output terminal of the eighteenth switch M18 is connected to the input terminal of the first current source B1, and the output terminal of the first current source B1 is connected to the emitter of the second transistor Q2. The current output terminal of the nineteenth switch M19 is connected to the current input terminal of the twenty-first switch M21. The current output terminal of the twenty-first switch M21 is connected to the output terminal of the first current source B1. The control terminal of the twenty-first switch M21 is connected to the control terminal of the twenty-second switch M22 and is also connected to the current input terminal of the twenty-first switch M21. The current input terminal of the twenty-second switch M22 is connected to the collector of the fourth transistor Q4, and the current output terminal of the twenty-second switch M22 is connected to the current output terminal of the twenty-first switch M21. The current output terminal of the twentieth switch M20 is connected to the collector of the third transistor Q3. The base of the third transistor Q3 is connected to the collector of the first transistor Q1. The emitter of the third transistor Q3 is connected to the collector of the fourth transistor Q4, and the emitter of the fourth transistor Q4 is connected to the current output terminal of the twenty-second switch M22. The current output terminal of the twenty-third switch M23 is connected to both the base and collector of the fourth transistor Q4.
[0083] In one embodiment, reference Figure 4The multiplication module 330 also includes a 24th switch M24, a 25th switch M25, a fourth resistor R4, and a fifth transistor Q5. The current input terminals of both the 24th and 25th switches M24 and M25 are connected to the current input terminal of the 23rd switch M23. The control terminals of the 23rd, 24th, and 25th switches M25 are all connected and jointly connected to the current output terminal of the 24th switch M24. The current output terminal of the 24th switch M24 is also connected to the collector of the fifth transistor Q5. The emitter of the fifth transistor Q5 is connected to the emitter of the fourth transistor Q4, and the base of the fifth transistor Q5 is connected to the base of the fourth transistor Q4. The current output terminal of the 25th switch M25 is connected to the first terminal of the fourth resistor R4, and the second terminal of the fourth resistor R4 is connected to the emitter of the fifth transistor Q5. The current output terminal of the 25th switch M25 serves as the output terminal of the multiplication module 330, outputting the first voltage signal VM.
[0084] In one embodiment, the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 form a 1:1:1 current mirror structure; the sixteenth switch M16 and the seventeenth switch M17 form a 1:1 current mirror structure; the eighteenth switch M18, the nineteenth switch M19, and the twentieth switch M20 form a 1:1:1 current mirror structure; the twenty-first switch M21 and the twenty-second switch M22 form a 1:1 current mirror structure; and the twenty-third switch M23, the twenty-fourth switch M24, and the twenty-fifth switch M25 form a 1:1:1 current mirror structure.
[0085] The formula for the first voltage signal VM is:
[0086] ;
[0087] Wherein, IB1 is the current of the first current source B1, D is the positive correlation coefficient between the power current IP and the supply current of the power supply battery 100, and PT is the real-time output power of the power supply battery 100.
[0088] According to the above embodiment, the working principle of the multiplication module 330 is as follows: When the first conversion current IC and the second conversion current IV are input to the multiplication module 330, since the thirteenth switch M13, the fourteenth switch M14, and the fifteenth switch M15 form a 1:1:1 current mirror structure, and the sixteenth switch M16 and the seventeenth switch M17 form a 1:1 current mirror structure, the current flowing out of the seventeenth switch M17 is equal to the first conversion current IC. Furthermore, since the seventeenth switch M17 is connected in series with the first transistor Q1, and the base current of the first transistor Q1 is negligible, according to the transistor formula, Where V1 is the collector voltage / base voltage of the first transistor Q1, and V2 is the emitter voltage of the first transistor Q1. At this time, since the current flowing through the fifteenth switch M15 is equal to the first switching current IC, and the current output by the first transistor Q1 is also equal to the first switching current IC, the second switching current IV flows entirely into the second transistor Q2. Therefore, according to the transistor formula, at this time, Therefore, .
[0089] The current generated in the first current source B1 is IB1. At this time, the current flowing through the twentieth switching transistor M20 is equal to the current IB1 in the first current source B1. Therefore, the current flowing through the third transistor Q3 is equal to the current IB1. According to the transistor formula, we know... Where V3 is the emitter voltage of the fourth switch Q4. And from... Figure 4 From the circuit structure, we know that the current flowing through the twenty-second switch M22 is also equal to the current IB1. Therefore, all the current in the third transistor Q3 flows into the twenty-second switch M22. At this point, let the current flowing through the twenty-third switch M23 be denoted as IM. Since the base current of the fourth transistor Q4 is relatively small and can be ignored, we can conclude that the current flowing into the fourth transistor Q4 is the same as the current IM flowing through the twenty-third switch M23. According to the transistor formula, ... Therefore, the voltage V1 can also be expressed as .
[0090] From the above analysis, it can be seen that, Therefore, it can be concluded that... At this time, since the current flowing through the 25th switch M25 is also equal to the current IM, the first voltage signal output by the multiplication module 330 is... ,in, The value of is the multiplication coefficient of the multiplication module 330. At this time, the resistance value of the fourth resistor R4 and the magnitude of the output current IB1 of the first current source B1 can be reasonably set according to the actual application requirements of the multiplication module 330, so as to flexibly adjust the output amplitude of the multiplication module 330 and realize the accurate reflection of the real-time power of the battery.
[0091] When the first conversion current IC and the second conversion current IV are input into the multiplication module 330, the first voltage signal output by the multiplication module 330 is... Therefore, it can be seen that the output voltage VM is directly proportional to the product of the power current IP and the input voltage VIN. According to common knowledge in the art, although the power current IP is not necessarily strictly equal to the battery supply current in different circuit topologies, the power current IP is necessarily positively correlated with the load current. Since the current in the control circuit is extremely small relative to the load current and can be ignored, the load current can be considered as the battery supply current. Thus, it can be concluded that the power current IP is necessarily positively correlated with the battery supply current. Therefore, in practical circuit applications, those skilled in the art can determine the positive correlation coefficient D between the power current IP and the battery supply current based on the specific circuit topology. At this point, the following can be obtained: The positive correlation coefficient D between the real-time output power of the battery and the output voltage VM of the multiplication module 330 can be used to deduce that there is a definite positive correlation coefficient between the output voltage VM of the multiplication module 330 and the real-time output power PT of the battery. That is, at this time, the output voltage of the multiplication module 330 Therefore, the output voltage VM of the multiplication module 330 can accurately reflect the real-time output power of the battery, realizing the analog detection of power signals and the conversion of voltage signals.
[0092] According to the above embodiment, by setting up a multiplication module 330, the first converted current from the current conversion module 310 and the second converted current from the voltage conversion module 320 are precisely multiplied to generate a voltage signal proportional to the real-time output power of the battery. This multiplication module 330 employs a multi-stage switching transistor and transistor mirror and feedback structure to achieve precise replication and superposition of the input current signal, resulting in high linearity and stability of the multiplication operation. Simultaneously, the current mirror structure ensures matching between branches, reducing the impact of current deviation on calculation accuracy, thereby ensuring that the output voltage signal accurately and stably reflects the real-time power of the power supply battery 100, providing a reliable basis for subsequent comparison and indication.
[0093] Figure 5 A circuit topology diagram of a comparison module 340 according to an embodiment of the present invention is shown. Figure 5As shown, in the comparison module 340, the supply voltage VIN is grounded sequentially through the 26th switch M26, the 27th switch M27, and the fifth resistor R5. The supply voltage VIN is also grounded sequentially through the 28th switch M28 and the first capacitor C1. The control terminals of the 26th switch M26 and the 28th switch M28 are connected and jointly connected to the current output terminal of the 26th switch M26. The comparison module 340 also includes an operational amplifier A1 and a first comparator F1. The positive input terminal of operational amplifier A1 is connected to the first voltage signal VM, the negative input terminal of operational amplifier A1 is connected to the current output terminal of the 27th switch M27, and the output terminal of operational amplifier A1 is connected to the control terminal of the 27th switch M27. The positive input terminal of the first comparator F1 is connected to the reference voltage VR, the negative input terminal of the first comparator F1 is connected to the current output terminal of the 28th switch M28, and the output terminal of the first comparator F1 serves as the output terminal of the comparison module 340, outputting the comparison result signal VF.
[0094] In one embodiment, the twenty-sixth switch M26 and the twenty-eighth switch M28 form a 1:1 current mirror structure.
[0095] According to the above embodiment, the working principle of the comparison module 340 is as follows: After the circuit is powered on, the first voltage signal VM output by the multiplication module 330 is input to the positive input terminal of the operational amplifier A1, while the negative input terminal of the operational amplifier A1 is grounded through the fifth resistor R5. Therefore, the operational amplifier A1 outputs a high level, driving the twenty-seventh switch M27 to conduct. As the twenty-seventh switch M27 conducts, its output terminal pulls down the control terminal voltages of the twenty-sixth switch M26 and the twenty-eighth switch M28, causing the twenty-sixth switch M26 and the twenty-eighth switch M28 to conduct. At this time, current flows through the branch composed of the twenty-seventh switch M27, the twenty-sixth switch M26, and the fifth resistor R5, causing the terminal voltage of the fifth resistor R5 to gradually increase. When the terminal voltage of the fifth resistor R5 rises to a level higher than the voltage of the first voltage signal VM, the output level of the operational amplifier A1 flips to a low level, the twenty-seventh switch M27 turns off, and the terminal voltage of the fifth resistor R5 decreases. As the voltage decreases, operational amplifier A1 outputs a high level again, and the twenty-seventh switch M27 turns on again. Therefore, under the adjustment of operational amplifier A1, the voltage across the fifth resistor R5 stabilizes to be equal to the voltage of the first voltage signal VM. At this time, the current flowing through the fifth resistor R5 is equal to... Since the 26th switch M26 and the 28th switch M28 form a current mirror with a current coefficient of 1, the current IQ flowing out of the 28th switch M28 is... At this time, the current IQ charges the first capacitor C1, so the amount of charge in the first capacitor C1 can be obtained. Where WT is the integral of the battery's real-time output power PT with respect to time, which is the electrical energy released by the battery. The voltage at the current output terminal of the twenty-eighth switch M28 is denoted as the fourth voltage V4. Therefore, we can obtain... .
[0096] Therefore, the fourth voltage V4 is directly proportional to the energy released by the battery. A lower fourth voltage V4 indicates less energy has been released, meaning the battery has sufficient power; conversely, a higher fourth voltage V4 indicates more energy has been released, suggesting potentially insufficient battery power. Based on this characteristic, the fourth voltage V4 and the reference voltage VR are input to the first comparator F1 for comparison. When the circuit first starts operating, the battery has sufficient power, the fourth voltage V4 is low, and the comparison result signal VF of the first comparator F1 is high. As the circuit continues to operate, the battery continuously releases energy, and the fourth voltage V4 gradually increases. When the fourth voltage V4 rises above the reference voltage VR, the comparison result signal VF of the first comparator F1 flips to low. Therefore, the high / low level switching point of the comparison result signal VF output by the first comparator F1 is... At this point, the battery has already released electrical energy. This threshold corresponds to the critical point of the battery's state of energy, and is used to realize the real-time identification and monitoring of the battery's state of energy.
[0097] Figure 6 A circuit topology diagram of an output module 350 according to an embodiment of the present invention is shown. The output module 350 indicates the real-time power status of the battery based on the comparison result signal VF output by the comparison module 340. The output module 350 can adopt any of the prior art circuit forms for power status display, such as LED indicator circuit, display screen circuit, or buzzer prompting circuit, to achieve intuitive display or prompting of the battery power status. Figure 6 The output module 350 shown is merely an illustrative embodiment, and the present invention is not limited thereto. Figure 6 As shown, in the output module 350, the power supply voltage VIN is grounded through the 29th switch M29, the 6th resistor R6 and the LED in sequence, and the control terminal of the 29th switch M29 is connected to the comparison result signal VF.
[0098] In this embodiment, the output module 350 works as follows: when the battery has sufficient power, that is, when the battery has released sufficient power... Less than When the first comparator F1 outputs a high-level comparison result signal VF, the twenty-ninth switch M29 is turned off, and the LED light turns off. When the battery power is insufficient, i.e., the battery has already released its energy... Greater than When the first comparator F1 outputs a low-level comparison result signal VF, the twenty-ninth switch M29 turns on, and the LED lights up. The sixth resistor R6 acts as a current-limiting resistor, limiting the current flowing through the LED to prevent overcurrent damage. Thus, the LED provides a direct indication of the battery's remaining power; when the LED is lit, it indicates that the battery is low and needs to be charged.
[0099] According to the above embodiment, the comparison module 340 processes the voltage signal output by the multiplication module 330 by setting a combination structure of operational amplifier, switching transistor, resistor, and capacitor, and compares the processed signal with a reference voltage to determine the real-time power state of the battery. Simultaneously, the determination result is converted into a level signal and transmitted to the output module 350. The output module 350 drives an indicator device, such as an LED, through the switching transistor to generate an intuitive power status indicator, realizing a visual display of the battery's power status. This allows users to clearly and in real-time grasp the battery's operating status, thereby improving the convenience and safety of power management.
[0100] Figure 7 A schematic diagram of a battery-powered circuit according to an embodiment of the present invention is shown. Figure 7 As shown, the battery power supply circuit includes a power supply battery 100, a power circuit 200, and the aforementioned high-precision energy detection circuit 300, all interconnected. In this embodiment, the battery power supply circuit achieves real-time monitoring and indication of the power supply battery's output power and energy status by coordinating the high-precision energy detection circuit 300 with the power circuit 200 and the power supply battery 100.
[0101] Figure 8 A circuit topology diagram of a power circuit 200 according to an embodiment of the present invention is shown. The specific topology of the power circuit 200 can adopt any existing topology that is compatible with the circuit described above. Figure 8 The examples shown are merely illustrative embodiments. Figure 8 As shown, in the power circuit 200, the supply voltage VIN of the power supply battery 100 is grounded sequentially through the power switch MP, the first power resistor RP1, and the second power resistor RP2. The control terminal of the power switch MP is connected to the control terminal of the current conversion switch MC of the current conversion module 310 in the high-precision power detection circuit 300, and the current output terminal of the power switch MP is connected to the power-consuming equipment. The power circuit 200 also includes a power operational amplifier AP. The positive input terminal of the operational amplifier AP is connected between the first power resistor RP1 and the second power resistor RP2, the negative input terminal of the operational amplifier AP is connected to the reference voltage VRP, and the output terminal of the operational amplifier AP is connected to the control terminal of the power switch MP.
[0102] As is known from existing technology, the power consumption of devices such as LEDs in the power operational amplifier AP, other control circuits, and output module 350 is extremely small. Therefore, the current flowing from the power supply battery 100 to the power operational amplifier AP, other control circuits, and output module 350 can be ignored. Simultaneously, since the first power resistor RP1 and the second power resistor RP2 are typically large resistors, at least in the megaohm range, the current flowing through them is extremely small. Therefore, the current flowing from the power switch MP to the first power resistor RP1 and the second power resistor RP2 can also be ignored. Thus, it can be considered that the battery supply current is equal to the power current IP and the output current IOUT. Combining the foregoing analysis, the positive correlation coefficient D between the power current IP in the power circuit 200 and the battery supply current is 1, meaning that the real-time output power PT of the battery at this time is... .
[0103] According to the above embodiments, the high-precision power detection circuit 300 provided by the present invention, through its coordinated operation with the power circuit 200, achieves high-precision detection of the real-time output power and released power of the battery. The technical solution of the present invention has a clear structure, strong adaptability, accurately reflects the battery's energy state, and the output results can be intuitively presented through the indicator module, facilitating users to monitor the battery's operating status in real time.
[0104] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0105] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A high-precision electrical energy detection circuit, characterized in that, The application relates to a power supply circuit, which comprises the following parts: a current conversion module connected with a power circuit, used for converting a power current IP flowing in the power circuit into a first conversion current IC; a voltage conversion module connected with a power supply battery, used for converting a power supply voltage VIN of the power supply battery into a corresponding second conversion current IV; a multiplication module connected with the current conversion module and the voltage conversion module respectively, used for multiplying the first conversion current IC and the second conversion current IV, and outputting a first voltage signal VM proportional to real-time output power of the power supply battery; a comparison module connected with the multiplication module, used for comparing the first voltage signal VM after level conversion with a preset threshold, and outputting a comparison result signal VF; an output module connected with the comparison module, used for outputting an electric energy state indication signal according to the comparison result signal VF, so as to represent the real-time electric energy state of the power supply battery; the multiplication module comprises a thirteenth switch tube M13, a fourteenth switch tube M14, a fifteenth switch tube M15, a sixteenth switch tube M16, a seventeenth switch tube M17, a first triode Q1 and a second triode Q2; a current input end of the thirteenth switch tube M13 is connected with the first conversion current IC, a current input end of the fourteenth switch tube M14 is connected to a current output end of the sixteenth switch tube M16, and a current input end of the fifteenth switch tube M15 is connected with the second conversion current IV; control ends of the thirteenth switch tube M13, the fourteenth switch tube M14 and the fifteenth switch tube M15 are connected together and are commonly connected to the current input end of the thirteenth switch tube M13, and current output ends of the thirteenth switch tube M13, the fourteenth switch tube M14 and the fifteenth switch tube M15 are connected together; a control end of the sixteenth switch tube M16 is connected with a control end of the seventeenth switch tube M17, and is commonly connected to the current output end of the sixteenth switch tube M16, a current input end of the sixteenth switch tube M16 is connected with a current input end of the seventeenth switch tube M17, and a current output end of the seventeenth switch tube M17 is connected with a collector of the first triode Q1; a base of the first triode Q1 is connected with the collector of the first triode Q1, an emitter of the first triode Q1 is connected with a collector of the second triode Q2, the collector of the second triode Q2 is also connected to the current input end of the fifteenth switch tube M15, a base of the second triode Q2 is connected to the collector of the second triode Q2, and an emitter of the second triode Q2 is connected to the current output end of the fifteenth switch tube M15; the multiplication module further comprises a first current source B1 and a fourth resistor R4, a first end of the fourth resistor R4 is used as an output end of the multiplication module to output the first voltage signal VM, a second end of the fourth resistor R4 is connected with the first current source B1, and a formula of the first voltage signal VM is as follows: ; wherein IB1 is a current of the first current source B1.
2. The high precision power detection circuit of claim 1, wherein, the current conversion module comprises: A current conversion switch tube MC, a current input end of which is connected with a current input end of the power switch tube MP of the power circuit, a current output end of the current conversion switch tube MC is connected with the multiplication module, and the first conversion current IC is output.
3. The high precision power detection circuit of claim 2, wherein, The power switch tube MP and the current conversion switch tube MC form a current mirror structure of K:
1.
4. The high precision power detection circuit of claim 3, wherein, In the voltage conversion module, the power supply voltage VIN is sequentially grounded through a first resistor R1 and a first switch tube M1, and the power supply voltage VIN is also sequentially grounded through a second switch tube M2 and a third switch tube M3; A control end of the first switch tube M1 is connected with a control end of the third switch tube M3, and is commonly connected to a current input end of the first switch tube M1; The voltage conversion module further comprises a fourth switch tube M4, a current input end of the fourth switch tube M4 is connected to the power supply voltage VIN, a current output end of the fourth switch tube M4 is connected to an output end of the voltage conversion module, and a control end of the fourth switch tube M4 is connected with a control end of the second switch tube M2, and is commonly connected to a current output end of the second switch tube M2.
5. The high accuracy power detection circuit of claim 4, wherein, In the voltage conversion module, the power supply voltage VIN is also sequentially grounded through a fifth switch tube M5, a sixth switch tube M6 and a seventh switch tube M7, the power supply voltage VIN is also sequentially grounded through an eighth switch tube M8, a ninth switch tube M9 and a second resistor R2, and the power supply voltage VIN is also sequentially grounded through a third resistor R3 and a tenth switch tube M10; A control end of the seventh switch tube M7 is connected to a current input end of the seventh switch tube M7, a control end of the sixth switch tube M6 is connected with a control end of the ninth switch tube M9, and is commonly connected to a current input end of the ninth switch tube M9, and the current input end of the ninth switch tube M9 is also connected with a control end of the tenth switch tube M10; The voltage conversion module further comprises an eleventh switch tube M11 and a twelfth switch tube M12, a current input end of the eleventh switch tube M11 is connected with a current output end of the fifth switch tube M5, control ends of the twelfth switch tube M12, the fifth switch tube M5 and the eighth switch tube M8 are connected and commonly connected to a current input end of the eleventh switch tube M11, a current output end of the eleventh switch tube M11 is grounded, and a control end of the eleventh switch tube M11 is connected to a current input end of the tenth switch tube M10; A current input end of the twelfth switch tube is connected to the power supply voltage VIN, a current output end of the twelfth switch tube M12 is connected to an output end of the voltage conversion module, and the output end of the voltage conversion module outputs the second conversion current IV.
6. The high accuracy power detection circuit of claim 5, wherein, The first switch tube M1 and the seventh switch tube M7 have the same parameters, the first resistor R1 and the second resistor R2 have the same resistance, and the formula of the second conversion current IV is: ; Wherein, VGS1 is a gate-source voltage difference of the first switch tube M1, and VGS7 is a gate-source voltage difference of the seventh switch tube M7.
7. The high accuracy power detection circuit of claim 6, wherein, The multiplication module further comprises an eighteenth switch tube M18, a nineteenth switch tube M19, a twentieth switch tube M20, a twenty-first switch tube M21, a twenty-second switch tube M22, a twenty-third switch tube M23, a third triode Q3 and a fourth triode Q4; Current input ends of the eighteenth switch tube M18, the nineteenth switch tube M19, the twentieth switch tube M20 and the twenty-third switch tube M23 are connected to a current input end of the seventeenth switch tube M17, control ends of the eighteenth switch tube M18, the nineteenth switch tube M19 and the twentieth switch tube M20 are connected together and are commonly connected to a current output end of the eighteenth switch tube M18; The current output end of the eighteenth switch tube M18 is connected to an input end of the first current source B1, and an output end of the first current source B1 is connected to an emitter of the second triode Q2; A current output end of the nineteenth switch tube M19 is connected to a current input end of the twenty-first switch tube M21, a current output end of the twenty-first switch tube M21 is connected to an output end of the first current source B1, a control end of the twenty-first switch tube M21 and a control end of the twenty-second switch tube M22 are connected together and are commonly connected to the current input end of the twenty-first switch tube M21, a current input end of the twenty-second switch tube M22 is connected to a collector of the fourth triode Q4, and a current output end of the twenty-second switch tube M22 is connected to the current output end of the twenty-first switch tube M21; A current output end of the twentieth switch tube M20 is connected to a collector of the third triode Q3, a base of the third triode Q3 is connected to a collector of the first triode Q1, an emitter of the third triode Q3 is connected to a collector of the fourth triode Q4, and an emitter of the fourth triode Q4 is connected to the current output end of the twenty-second switch tube M22; A current output end of the twenty-third switch tube M23 is connected to the base of the fourth triode Q4 and the collector of the fourth triode Q4.
8. The high accuracy power detection circuit of claim 7, wherein, The multiplication module further comprises a twenty-fourth switch tube M24, a twenty-fifth switch tube M25 and a fifth triode Q5; Current input ends of the twenty-fourth switch tube M24 and the twenty-fifth switch tube M25 are connected to a current input end of the twenty-third switch tube M23, control ends of the twenty-third switch tube M23, the twenty-fourth switch tube M24 and the twenty-fifth switch tube M25 are connected together and are commonly connected to a current output end of the twenty-fourth switch tube M24; The current output end of the twenty-fourth switch tube M24 is further connected to a collector of the fifth triode Q5, an emitter of the fifth triode Q5 is connected to an emitter of the fourth triode Q4, and a base of the fifth triode Q5 is connected to the base of the fourth triode Q4; A current output end of the twenty-fifth switch tube M25 is connected to a first end of the fourth resistor R4, and a second end of the fourth resistor R4 is connected to the emitter of the fifth triode Q5.
9. The high accuracy power detection circuit of claim 8, wherein, The formula of the first voltage signal VM is: ; Wherein, D is a positive correlation coefficient between the power current IP and the power supply current of the power supply battery, and PT is the real-time output power of the power supply battery.
10. The high accuracy power detection circuit of claim 9, wherein, In the comparison module, the power supply voltage VIN is grounded through a twenty-sixth switch tube M26, a twenty-seventh switch tube M27 and a fifth resistor R5 in sequence, and the power supply voltage VIN is also grounded through a twenty-eighth switch tube M28 and a first capacitor C1 in sequence, a control end of the twenty-sixth switch tube M26 is connected with a control end of the twenty-eighth switch tube M28, and the control ends are commonly connected to a current output end of the twenty-sixth switch tube M26; The comparison module further comprises an operational amplifier A1 and a first comparator F1, a positive input end of the operational amplifier A1 is connected to the first voltage signal VM, a negative input end of the operational amplifier A1 is connected to a current output end of the twenty-seventh switch tube M27, and an output end of the operational amplifier A1 is connected to a control end of the twenty-seventh switch tube M27; A positive input end of the first comparator F1 is connected to a reference voltage VR, a negative input end of the first comparator F1 is connected to a current output end of the twenty-eighth switch tube M28, and an output end of the first comparator F1 serves as an output end of the comparison module and outputs the comparison result signal VF.
11. The high accuracy power detection circuit of claim 10, wherein, In the output module, the power supply voltage VIN is grounded through a twenty-ninth switch tube M29, a sixth resistor R6 and an LED lamp in sequence, and a control end of the twenty-ninth switch tube M29 is connected to the comparison result signal VF.
12. A battery powered circuit, characterized by The high-precision electric energy detection circuit comprises a power supply battery, a power circuit and the high-precision electric energy detection circuit according to any one of claims 1-11.
13. The battery powered circuit of claim 12, wherein, In the power circuit, the power supply voltage VIN of the power supply battery is grounded through a power switch tube MP, a first power resistor RP1 and a second power resistor RP2 in sequence; A control end of the power switch tube MP is connected to a control end of a current conversion switch tube MC of a current conversion module in the high-precision electric energy detection circuit, and a current output end of the power switch tube MP is connected to an electric device; The power circuit further comprises a power operational amplifier AP, a positive input end of the operational amplifier AP is connected between the first power resistor RP1 and the second power resistor RP2, a negative input end of the operational amplifier AP is connected to a reference voltage VRP, and an output end of the operational amplifier AP is connected to the control end of the power switch tube MP.
Citation Information
Patent Citations
Electric energy measuring system
CN105334386A
Digital converter for electric signal
CN2219499Y