A dynamic power management method and chip
By detecting and adjusting the charging current in real time, the problem of unreasonable power distribution in the charging system is solved, dynamic power management is realized, ensuring that the device automatically replenishes power when the main power supply is insufficient, extending the life of the adapter and ensuring the normal operation of the device.
Patent Information
- Application Number
- CN202410658466.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In existing products where the charging system and load equipment coexist, the power supply cannot be distributed reasonably, resulting in high load or overload of the adapter, affecting its lifespan. When the main power supply is insufficient, the power cannot be replenished, affecting the normal operation of the equipment.
By detecting the main power supply and charging current status in real time, using differential amplifiers, non-inverting amplifiers and comparators to determine the current mode, and adjusting the charging current in real time according to the mode, dynamic adjustment of power management is achieved to ensure that the system automatically replenishes power when the main power supply is insufficient.
It improves the system's power utilization, extends the service life of adapters and products, and ensures that the equipment can work normally in various environments.
Smart Images

Figure CN118249488B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuits, and in particular to a dynamic power management method and chip. Background Art
[0002] At present, in products or integrated circuits where the charging system and load equipment coexist, the battery is charged with a fixed current in constant current mode. Although the system supports path switching, only one of the main power supply path and the battery power supply path can be opened. When the external power supply is used, the battery cannot supply power, that is, the system can only have one power supply path. When the system consumption and load consumption approach or exceed the maximum power of the adapter, the system cannot reasonably distribute the current, and the adapter will enter the protection state due to high load or overload, which will seriously affect the life of the adapter and even damage the adapter. It will also affect the normal operation of the product and seriously damage the equipment. When the power supply capacity of the main power supply is certain, except for the fixed power required for system charging, the power supply capacity of the main power supply to the back-end equipment is compressed. Once the load power consumption is too large, the main power supply is insufficient, and the system cannot be recharged, the back-end equipment will work abnormally, which will seriously affect the user experience. Summary of the invention
[0003] The present invention provides a method and chip for dynamically adjusting power management to solve the technical problem that the existing products where charging systems and load devices coexist cannot reasonably distribute power, which affects the service life of adapters and products and has great limitations.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides a method for dynamically adjusting power management, including:
[0005] Detect input current in real time, and detect the input current according to the first detection module to obtain the current state of the main power supply path; the first detection module includes a first differential amplifier, a first non-inverting amplifier and a first comparator;
[0006] Detecting the charging current in real time, and detecting the charging current according to the second detection module to obtain the current state of the main power supply path; the second detection module includes a second differential amplifier, a second non-inverting amplifier and a second comparator;
[0007] The current mode is determined according to the main power path current state, the charging path current state and a preset dynamic adjustment current, and the charging current is adjusted in real time according to the current mode and a preset first charging current.
[0008] The present invention detects the current state of the main power supply path and the current state of the charging path in real time through a differential amplifier, a common-direction amplifier and a comparator, thereby determining the current mode in the circuit, and adjusting the charging current in real time according to the current mode to achieve dynamic regulation of the power supply current. The power management circuit dynamically adjusts the charging current through a simple circuit to improve the utilization rate of the power supply by the system, has a wide range of applications and high feasibility; and when the main power supply is insufficient to support the operation of the load equipment, the system will automatically supplement the power to ensure the normal operation of the equipment.
[0009] Furthermore, the real-time detection of input current and the detection of the input current according to the first detection module to obtain the current state of the main power supply path are specifically as follows:
[0010] Detecting input current in real time according to the first sampling resistor, and inputting the input current into the first differential amplifier, the first non-inverting amplifier and the first comparator in sequence;
[0011] amplifying the input current by converting the voltage difference between the two ends of the first sampling resistor according to the first differential amplifier;
[0012] amplifying the input current according to the first unidirectional amplifier and a preset first multiple;
[0013] The first comparator determines whether the input current amplified by the first common-direction amplifier exceeds a preset dynamic adjustment current, thereby obtaining the current state of the main power supply path.
[0014] Furthermore, the real-time detection of the charging current and the detection of the charging current according to the second detection module to obtain the current state of the main power supply path are specifically as follows:
[0015] Detecting the charging current in real time according to the second sampling resistor, and inputting the charging current into the second differential amplifier, the second non-inverting amplifier and the second comparator in sequence;
[0016] amplifying the charging current by converting the voltage difference between the two ends of the second sampling resistor according to the second differential amplifier;
[0017] amplifying the charging current according to the second in-phase amplifier and a preset second multiple;
[0018] The second comparator determines whether the charging current amplified by the second non-inverting amplifier exceeds a preset charging current, thereby obtaining a current state of the charging path.
[0019] Further, the current mode is determined according to the main power path current state, the charging path current state and the preset dynamic adjustment current, and the charging current is adjusted in real time according to the current mode and the preset first charging current, specifically:
[0020] If the sum of the current charging current and the output load current is less than or equal to the dynamic adjustment current, the current mode is the first mode;
[0021] If the sum of the current charging current and the output load current is greater than the dynamic adjustment current, and the output load current is less than the dynamic adjustment current, the current mode is the second mode;
[0022] If the output load current is equal to the dynamic adjustment current, the current mode is the third mode;
[0023] If the output load current is greater than the dynamic adjustment current, the current mode is the fourth mode.
[0024] Furthermore, the real-time adjustment of the charging current according to the current mode is specifically as follows:
[0025] If the current mode is the first mode, the PWM duty cycle is kept unchanged;
[0026] If the current mode is the second mode, the PWM duty cycle is reduced to reduce the charging current so that the charging current is less than the first charging current;
[0027] If the current mode is the third mode, the PWM duty cycle is adjusted to 0, and the charging current is reduced to 0;
[0028] If the current mode is the fourth mode, the PWM duty cycle is maintained at 0, and the battery output path switch is turned on to flip the level signal of the first P-MOS tube.
[0029] In a second aspect, the present invention provides a dynamic adjustment power management chip for implementing the dynamic adjustment power management method, comprising: a detection module, an MCU single chip, an internal battery, a P-MOS tube and an external power supply;
[0030] The MCU single chip is arranged in series with the detection module, the internal battery and the P-MOS tube;
[0031] The detection module is connected to the input end of the external power supply, and the P-MOS tube is connected to the output end of the external power supply;
[0032] The detection module is used to detect the circuit current state and feed back to the MCU; the MCU is used to receive the MCU feedback from the detection module and adjust the circuit current by controlling the internal battery and the P-MOS tube.
[0033] Further, the detection module includes a first detection branch and a second detection branch;
[0034] The first detection branch is used to detect the input current of the external power supply;
[0035] The second detection branch is used to detect the charging current of the internal battery.
[0036] Furthermore, the dynamic adjustment power management chip further includes a first sampling resistor and a second sampling resistor;
[0037] The first sampling resistor is connected to the input end of the first detection branch;
[0038] The second sampling resistor is connected to the input end of the second detection branch.
[0039] Further, the first detection branch includes a first differential amplifier, a first non-inverting amplifier and a first comparator;
[0040] The first differential amplifier, the first non-inverting amplifier and the first comparator are arranged in series;
[0041] The first differential amplifier includes a first operational amplifier, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor; the third resistor is arranged in series with the first input terminal of the first operational amplifier; the fourth resistor is arranged in series with the second input terminal of the first operational amplifier; one end of the fifth resistor is connected to the third resistor, and the other end is connected to the ground line; and one end of the sixth resistor is connected to the fourth resistor, and the other end is connected to the output terminal of the first operational amplifier in series;
[0042] The first non-inverting amplifier includes a second operational amplifier, a seventh resistor and an eighth resistor; the first input terminal of the second operational amplifier is connected to the output terminal of the first operational amplifier; the seventh resistor and the eighth resistor are arranged in series at the output terminal of the second operational amplifier, and the seventh resistor and the eighth resistor are connected to the ground wire;
[0043] The first input terminal of the first comparator is connected to the ninth resistor and the tenth resistor; the second input terminal of the first comparator is connected to the output terminal of the second operational amplifier.
[0044] Furthermore, the second detection branch includes a second differential amplifier, a second non-inverting amplifier and a second comparator;
[0045] The second differential amplifier, the second non-inverting amplifier and the second comparator are arranged in series;
[0046] The second differential amplifier includes a third operational amplifier, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a fourteenth resistor; the eleventh resistor is arranged in series with the first input terminal of the third operational amplifier; the twelfth resistor is arranged in series with the second input terminal of the third operational amplifier; one end of the thirteenth resistor is connected to the eleventh resistor, and the other end is connected to the ground line; and one end of the fourteenth resistor is connected to the twelfth resistor, and the other end is connected to the output terminal of the third operational amplifier in series;
[0047] The second non-inverting amplifier includes a fourth operational amplifier, a fifteenth resistor and a sixteenth resistor; the first input terminal of the fourth operational amplifier is connected to the output terminal of the third operational amplifier; the fifteenth resistor and the sixteenth resistor are arranged in series at the output terminal of the fourth operational amplifier, and the fifteenth resistor and the sixteenth resistor are connected to the ground line;
[0048] The first input terminal of the second comparator is connected to the seventeenth resistor and the eighteenth resistor; the second input terminal of the second comparator is connected to the output terminal of the fourth operational amplifier. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of a flow chart of a method for dynamically adjusting power management provided by an embodiment of the present invention;
[0050] Figure 2 A schematic diagram of a circuit structure of a method for dynamically adjusting power management provided by an embodiment of the present invention;
[0051] Figure 3 A schematic diagram of a circuit structure of a dynamically regulating power management chip provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] Embodiment 1
[0054] Please refer to Figure 1 , Figure 1 A flowchart of a method for dynamically adjusting power management provided by an embodiment of the present invention includes steps 101 to 103, which are specifically as follows:
[0055] Step 101: Detect input current in real time, and detect the input current according to a first detection module to obtain a current state of a main power supply path; the first detection module includes a first differential amplifier, a first non-inverting amplifier and a first comparator;
[0056] Please refer to Figure 2 , Figure 2 A schematic diagram of a circuit structure of a dynamic power management method provided by an embodiment of the present invention.
[0057] In this embodiment, the real-time detection of the input current and the detection of the input current according to the first detection module to obtain the current state of the main power supply path are specifically as follows:
[0058] Detecting input current in real time according to the first sampling resistor, and inputting the input current into the first differential amplifier, the first non-inverting amplifier and the first comparator in sequence;
[0059] amplifying the input current by converting the voltage difference between the two ends of the first sampling resistor according to the first differential amplifier;
[0060] amplifying the input current according to the first unidirectional amplifier and a preset first multiple;
[0061] The first comparator determines whether the input current amplified by the first common-direction amplifier exceeds a preset dynamic adjustment current, thereby obtaining the current state of the main power supply path.
[0062] In this embodiment, the system input current (I Sys ) is sampled by the first sampling resistor R1, converted into the difference between the voltages at both ends of the first sampling resistor R1 by the first differential amplifier, then amplified by a preset first multiple by the first unidirectional amplifier, and then judged by the first comparator whether the main power path current exceeds the preset dynamic adjustment current, and the judgment result is fed back to the MCU.
[0063] Step 102: Detect the charging current in real time, and detect the charging current according to the second detection module to obtain the current state of the main power supply path; the second detection module includes a second differential amplifier, a second non-inverting amplifier and a second comparator;
[0064] In this embodiment, the real-time detection of the charging current and the detection of the charging current according to the second detection module to obtain the current state of the main power supply path are specifically as follows:
[0065] Detecting the charging current in real time according to the second sampling resistor, and inputting the charging current into the second differential amplifier, the second non-inverting amplifier and the second comparator in sequence;
[0066] amplifying the charging current by converting the voltage difference between the two ends of the second sampling resistor according to the second differential amplifier;
[0067] amplifying the charging current according to the second in-phase amplifier and a preset second multiple;
[0068] The second comparator determines whether the charging current amplified by the second non-inverting amplifier exceeds a preset charging current, thereby obtaining a current state of the charging path.
[0069] In this embodiment, the charging current (I Batin ) is sampled by the second sampling resistor R2, converted into the difference between the voltages at both ends of the second sampling resistor R2 by the second differential amplifier, then amplified by a preset second multiple by the second unidirectional amplifier, and then judged by the second comparator circuit whether the charging path current exceeds the set charging current, and the judgment result is fed back to the MCU.
[0070] Step 103: Determine a current mode according to the main power path current state, the charging path current state and a preset dynamic adjustment current, and adjust the charging current in real time according to the current mode and a preset first charging current.
[0071] In this embodiment, the current mode is determined according to the main power path current state, the charging path current state and the preset dynamic adjustment current, and the charging current is adjusted in real time according to the current mode and the preset first charging current, specifically:
[0072] If the sum of the current charging current and the output load current is less than or equal to the dynamic adjustment current, the current mode is the first mode;
[0073] If the sum of the current charging current and the output load current is greater than the dynamic adjustment current, and the output load current is less than the dynamic adjustment current, the current mode is the second mode;
[0074] If the output load current is equal to the dynamic adjustment current, the current mode is the third mode;
[0075] If the output load current is greater than the dynamic adjustment current, the current mode is the fourth mode.
[0076] In this embodiment, the real-time adjustment of the charging current according to the current mode is specifically as follows:
[0077] If the current mode is the first mode, the PWM duty cycle is kept unchanged;
[0078] If the current mode is the second mode, the PWM duty cycle is reduced to reduce the charging current so that the charging current is less than the first charging current;
[0079] If the current mode is the third mode, the PWM duty cycle is adjusted to 0, and the charging current is reduced to 0;
[0080] If the current mode is the fourth mode, the PWM duty cycle is maintained at 0, and the battery output path switch is turned on to flip the level signal of the first P-MOS tube.
[0081] Please refer to Table 1, which is a current mode state table of the dynamic power management method provided by an embodiment of the present invention.
[0082] In this embodiment, I Sys is the current flowing through the first sampling resistor R1, which is the total input current of the system; I Batin I is the current flowing through the second sampling resistor R2, the battery charging current; Boostout I is the output current of the boost path, which is the current output by the Boost circuit to the load; Batset is the first charging current, which is a custom-set charging current; I Sysset is the set dynamic adjustment current, which is the custom set dynamic adjustment current; I Out is the output load current, which is the total current output by the system to the load.
[0083] Table 1
[0084]
[0085] In this embodiment, after receiving the current sampling signals of the main power path and the charging path, the MCU determines the circuit current mode and takes corresponding actions on the PWM Control and MOS_EN signals according to the current mode to adjust the charging current and control the battery output path switch.
[0086] In this embodiment, when I Batin +I Out ≤I Sysmax When the maximum input current of the system meets the sum of the charging and load consumption currents, the entire system maintains normal working state, and the current mode is the first mode; at this time, the battery output path switch Q1 is kept closed, and I Batin +I Out ≤I Sysmax ;
[0087] In this embodiment, when I Batin +I Out >I Sysmax , and I Out <I SysmaxWhen the maximum input current supported by the system does not meet the sum of the charging and load consumption currents, and the load consumption current is less than the maximum input current supported by the system, the current mode is the second mode; at this time, the PWM duty cycle is reduced through the MUC, and the charging current will be reduced from the current I Batset Reduced to the next state I Batin , that is I Batin <I Batset , keep the battery output path switch Q1 closed, at this time I Batin +I Out =I Sysmax ;
[0088] In this embodiment, when I Out =I Sysmax When the maximum input current of the system can only meet the consumption of the load, the current mode is the third mode; the PWM duty cycle will be adjusted to 0 by the MCU, so that the charging current will be changed from the current I Batin Reduced to the next state of 0, that is, I Batin =0, keep the battery output path switch Q1 closed, at this time I Out =I Sysmax ;
[0089] In this embodiment, when I Out >I Sysmax , that is, at this time, the maximum input current of the system can no longer meet the consumption of the load, and the current mode is the fourth mode; at this time, keep the PWM duty cycle at 0, and the charging current will maintain the current state of 0, that is, I Batin =0, since the maximum input current of the system can no longer meet the consumption of the load, the battery will supplement the load, the MCU will control the MOS_EN signal level of the first P-MOS tube to flip, the battery output path switch Q1 will be turned on, and the boost path output current will increase from the current state of 0 to the next state of I Boostout , that is I Boostout >0, at this time I Sysmax +I Boostout =I Out ;
[0090] In this embodiment, an operational amplifier and peripheral circuits are combined with a microcontroller unit to implement a power management circuit method to intelligently adjust the charging current. When the main power supply is insufficient to support the operation of the load device, the system will automatically replenish the power, allowing the product to work more normally in various environments.
[0091] In this embodiment, the current state of the main power path and the current state of the charging path are detected in real time through a differential amplifier, a common-direction amplifier and a comparator, so as to determine the current mode in the circuit, and adjust the charging current in real time according to the current mode to achieve dynamic adjustment of the power current. The power management circuit dynamically adjusts the charging current through a simple circuit to improve the utilization rate of the power supply in the system, with a wide range of applications and high feasibility; and when the main power supply is insufficient to support the operation of the load equipment, the system will automatically supplement the power to ensure the normal operation of the equipment.
[0092] Please refer to Figure 3 , Figure 3 A schematic diagram of a circuit structure of a dynamically regulating power management chip provided in an embodiment of the present invention.
[0093] In this embodiment, the dynamic adjustment power management chip is used to implement the dynamic adjustment power management method, including: a detection module, an MCU microcontroller, an internal battery, a P-MOS tube and an external power supply;
[0094] The MCU single chip is arranged in series with the detection module, the internal battery and the P-MOS tube;
[0095] The detection module is connected to the input end of the external power supply, and the P-MOS tube is connected to the output end of the external power supply;
[0096] The detection module is used to detect the circuit current state and feed back to the MCU; the MCU is used to receive the MCU feedback from the detection module and adjust the circuit current by controlling the internal battery and the P-MOS tube.
[0097] In this embodiment, the detection module includes a first detection branch and a second detection branch;
[0098] The first detection branch is used to detect the input current of the external power supply;
[0099] The second detection branch is used to detect the charging current of the internal battery.
[0100] In this embodiment, the first detection branch includes a first differential amplifier, a first non-inverting amplifier and a first comparator;
[0101] The first differential amplifier, the first non-inverting amplifier and the first comparator are arranged in series;
[0102] The first differential amplifier includes a first operational amplifier U4, a third resistor R11, a fourth resistor R12, a fifth resistor R13 and a sixth resistor R14; the third resistor R11 is arranged in series with the first input terminal of the first operational amplifier U4; the fourth resistor R12 is arranged in series with the second input terminal of the first operational amplifier U4; one end of the fifth resistor R13 is connected to the third resistor R11, and the other end is connected to the ground line; and one end of the sixth resistor R14 is connected to the fourth resistor R12, and the other end is connected to the output terminal of the first operational amplifier U4 in series;
[0103] The first non-inverting amplifier includes a second operational amplifier U5, a seventh resistor R15 and an eighth resistor R16; the first input terminal of the second operational amplifier U5 is connected to the output terminal of the first operational amplifier U4; the seventh resistor R15 and the eighth resistor R16 are arranged in series at the output terminal of the second operational amplifier U5, and the seventh resistor R15 and the eighth resistor R16 are connected to the ground line;
[0104] The first input terminal of the first comparator U6 is connected to the ninth resistor R17 and the tenth resistor R18; the second input terminal of the first comparator U6 is connected to the output terminal of the second operational amplifier.
[0105] In this embodiment, the first operational amplifier U4 combines with the third resistor R11, the fourth resistor R12, the fifth resistor R13 and the sixth resistor R14 to form a differential amplifier; the second operational amplifier U5 combines with the seventh resistor R15 and the eighth resistor R16 to form a unidirectional amplifier, and the first comparator is used to determine the relationship between the system current and the set dynamic adjustment current, and set the dynamic adjustment current through the ninth resistor R17 and the tenth resistor R18.
[0106] In this embodiment, in the first detection branch, the system input current (I Sys ) is sampled by the first sampling resistor R1, converted into the difference between the voltages at both ends of the first sampling resistor R1 by the first differential amplifier U4, and then amplified by the first unidirectional amplifier U5 by (R15+R16) / R16 times, and then judged by the first comparator U6 comparator circuit whether the main power path current exceeds the set dynamic adjustment current, and the judgment result is fed back to the MCU.
[0107] In this embodiment, the second detection branch includes a second differential amplifier, a second non-inverting amplifier and a second comparator;
[0108] The second differential amplifier, the second non-inverting amplifier and the second comparator are arranged in series;
[0109] The second differential amplifier includes a third operational amplifier U1, an eleventh resistor R3, a twelfth resistor R4, a thirteenth resistor R5 and a fourteenth resistor R6; the eleventh resistor R3 is arranged in series with the first input terminal of the third operational amplifier U1; the twelfth resistor R4 is arranged in series with the second input terminal of the third operational amplifier U1; one end of the thirteenth resistor R5 is connected to the eleventh resistor R3, and the other end is connected to the ground line; and one end of the fourteenth resistor R6 is connected to the twelfth resistor R4, and the other end is connected to the output terminal of the third operational amplifier U1 in series;
[0110] The second non-inverting amplifier includes a fourth operational amplifier U2, a fifteenth resistor R7 and a sixteenth resistor R8; the first input terminal of the fourth operational amplifier U2 is connected to the output terminal of the third operational amplifier U1; the fifteenth resistor R7 and the sixteenth resistor R8 are arranged in series at the output terminal of the fourth operational amplifier U2, and the fifteenth resistor R7 and the sixteenth resistor R8 are connected to the ground line;
[0111] The first input terminal of the second comparator U3 is connected to the seventeenth resistor R9 and the eighteenth resistor R10; the second input terminal of the second comparator U3 is connected to the output terminal of the fourth operational amplifier U2.
[0112] In this embodiment, the third operational amplifier U1 combines with the eleventh resistor R3, the twelfth resistor R4, the thirteenth resistor R5 and the fourteenth resistor R6 to form a differential amplifier; the fourth operational amplifier U2 combines with the fifteenth resistor R7 and the sixteenth resistor R8 to form a common-mode amplifier; the second comparator is used to determine the relationship between the system current and the set dynamic adjustment current, and sets the dynamic adjustment current through the fifteenth resistor R7 and the sixteenth resistor R8.
[0113] In this embodiment, the second detection branch is a charging path, and the charging current (I Batin ) is sampled by the second sampling resistor R2, converted into the voltage difference between the two ends of the second sampling resistor R2 by the second differential amplifier, and then amplified by the second unidirectional amplifier U2 out =U2 + * (R7 + R8) / R8 times, and then the second comparator U3 determines whether the charging path current exceeds the set charging current, and feeds back the judgment result to the MCU.
[0114] In this embodiment, after the MCU receives the current sampling signals of the main power path and the charging path, it takes corresponding actions on the PWMControl and MOS_EN signals to adjust the charging current and control the battery output path switch, thereby realizing the intelligent adjustment of the charging current by the power management circuit and its chip through the operational amplifier and peripheral circuits combined with the microcontroller unit. When the main power supply is insufficient to support the operation of the load equipment, the system will automatically replenish the power, so that the product can work normally in various environments more perfectly.
[0115] In this embodiment, the operational amplifier and its peripheral circuits are used to collect changes in the circuit to monitor the circuit, and the power management circuit and its chip dynamically adjust the charging current through a simple circuit. The circuit is simple and responsive. The operational amplifier has a fast flip speed and a response time of microseconds. When the main power supply is insufficient to support the operation of the load device, the system will automatically supplement the power to ensure the normal operation of the device.
[0116] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for dynamically adjusting power management, characterized in that: include: Detect input current in real time, and detect the input current according to the first detection module to obtain the current state of the main power supply path; The first detection module includes a first differential amplifier, a first non-inverting amplifier and a first comparator; Detecting the charging current in real time, and detecting the charging current according to the second detection module to obtain the current state of the charging path; The second detection module includes a second differential amplifier, a second non-inverting amplifier and a second comparator; The current mode is determined according to the main power path current state, the charging path current state and the preset dynamic adjustment current, specifically: if the sum of the current charging current and the output load current is less than or equal to the dynamic adjustment current, the current mode is the first mode; if the sum of the current charging current and the output load current is greater than the dynamic adjustment current, and the output load current is less than the dynamic adjustment current, the current mode is the second mode; If the output load current is equal to the dynamic adjustment current, the current mode is the third mode; if the output load current is greater than the dynamic adjustment current, the current mode is the fourth mode; and adjusting the charging current in real time according to the current mode and the preset first charging current, specifically: if the current mode is the first mode, keeping the PWM duty cycle unchanged; If the current mode is the second mode, the PWM duty cycle is adjusted to be small and the charging current is reduced so that the charging current is less than the first charging current; if the current mode is the third mode, the PWM duty cycle is adjusted to 0 and the charging current is reduced to 0; if the current mode is the fourth mode, the PWM duty cycle is maintained at 0 and the battery output path switch is turned on to flip the level signal of the first P-MOS tube.
2. The method for dynamically adjusting power management according to claim 1, characterized in that: The real-time detection of input current and the detection of the input current according to the first detection module to obtain the current state of the main power supply path are specifically as follows: Detecting input current in real time according to the first sampling resistor, and inputting the input current into the first differential amplifier, the first non-inverting amplifier and the first comparator in sequence; amplifying the input current by converting the voltage difference between the two ends of the first sampling resistor according to the first differential amplifier; amplifying the input current according to the first unidirectional amplifier and a preset first multiple; The first comparator determines whether the input current amplified by the first unidirectional amplifier exceeds a preset dynamic adjustment current, thereby obtaining the current state of the main power supply path.
3. The method for dynamically adjusting power management according to claim 1, characterized in that: The real-time detection of the charging current and the detection of the charging current according to the second detection module to obtain the current state of the charging path are specifically as follows: Detecting the charging current in real time according to the second sampling resistor, and inputting the charging current into the second differential amplifier, the second non-inverting amplifier and the second comparator in sequence; amplifying the charging current by converting the voltage difference between the two ends of the second sampling resistor according to the second differential amplifier; amplifying the charging current according to the second in-phase amplifier and a preset second multiple; The second comparator determines whether the charging current amplified by the second non-inverting amplifier exceeds a preset first charging current, thereby obtaining a current state of the charging path.
4. A dynamic power management chip, used to implement the dynamic power management method according to any one of claims 1 to 3, characterized in that: include: Detection module, MCU, internal battery, P-MOS tube and external power supply; The MCU single chip is arranged in series with the detection module, the internal battery and the P-MOS tube; The detection module is connected to the input end of the external power supply, and the P-MOS tube is connected to the output end of the external power supply; The detection module is used to detect the circuit current state and feed back to the MCU; the MCU is used to receive the MCU feedback from the detection module and adjust the circuit current by controlling the internal battery and the P-MOS tube.
5. The dynamically adjustable power management chip according to claim 4, characterized in that: The detection module includes a first detection branch and a second detection branch; The first detection branch is used to detect the input current of the external power supply; The second detection branch is used to detect the charging current of the internal battery.
6. The dynamically adjustable power management chip according to claim 5, characterized in that: The dynamic adjustment power management chip further includes a first sampling resistor and a second sampling resistor; The first sampling resistor is connected to the input end of the first detection branch; The second sampling resistor is connected to the input end of the second detection branch.
7. The dynamically adjustable power management chip according to claim 6, characterized in that: The first detection branch includes a first differential amplifier, a first non-inverting amplifier and a first comparator; The first differential amplifier, the first non-inverting amplifier and the first comparator are arranged in series; The first differential amplifier includes a first operational amplifier, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor; the third resistor is arranged in series with the first input terminal of the first operational amplifier; the fourth resistor is arranged in series with the second input terminal of the first operational amplifier; one end of the fifth resistor is connected to the third resistor, and the other end is connected to the ground line; and one end of the sixth resistor is connected to the fourth resistor, and the other end is connected to the output terminal of the first operational amplifier in series; The first non-inverting amplifier includes a second operational amplifier, a seventh resistor and an eighth resistor; the first input terminal of the second operational amplifier is connected to the output terminal of the first operational amplifier; the seventh resistor and the eighth resistor are arranged in series at the output terminal of the second operational amplifier, and the seventh resistor and the eighth resistor are connected to the ground wire; The first input terminal of the first comparator is connected to the ninth resistor and the tenth resistor; the second input terminal of the first comparator is connected to the output terminal of the second operational amplifier.
8. The dynamically adjustable power management chip according to claim 7, characterized in that: The second detection branch includes a second differential amplifier, a second non-inverting amplifier and a second comparator; The second differential amplifier, the second non-inverting amplifier and the second comparator are arranged in series; The second differential amplifier includes a third operational amplifier, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a fourteenth resistor; the eleventh resistor is arranged in series with the first input terminal of the third operational amplifier; the twelfth resistor is arranged in series with the second input terminal of the third operational amplifier; one end of the thirteenth resistor is connected to the eleventh resistor, and the other end is connected to the ground line; and one end of the fourteenth resistor is connected to the twelfth resistor, and the other end is connected to the output terminal of the third operational amplifier in series; The second non-inverting amplifier includes a fourth operational amplifier, a fifteenth resistor and a sixteenth resistor; the first input terminal of the fourth operational amplifier is connected to the output terminal of the third operational amplifier; the fifteenth resistor and the sixteenth resistor are arranged in series at the output terminal of the fourth operational amplifier, and the fifteenth resistor and the sixteenth resistor are connected to the ground line; The first input terminal of the second comparator is connected to the seventeenth resistor and the eighteenth resistor; the second input terminal of the second comparator is connected to the output terminal of the fourth operational amplifier.
Citation Information
Patent Citations
Charging control device and charging control system
CN102480150A
Adapter and charging control method
JP2018532358A
Battery charging circuit and charging method thereof
US20190252890A1
