A power calculation device for a multi-path DCDC system with battery pack

By coordinating the main power system and the auxiliary power system, the path status and parameters of the multi-channel DC-DC system are detected and statistically analyzed, thus realizing power metering, solving the problem of high power metering cost of multi-channel DC-DC systems, and reducing power metering costs.

CN117214525BActive Publication Date: 2026-11-20ZHUHAI ISMARTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311242160.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2026-11-20
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

Existing multi-channel DC-DC system power metering solutions are costly.

Method used

The system employs a main power system and multiple auxiliary power systems. By detecting the working indicators, charging and discharging status, and circuit parameters of each path, the main power system performs cumulative statistics to achieve power metering.

Benefits of technology

This reduces the power metering cost of multi-channel DC-DC systems, requiring only a single Power chip with power metering capabilities to achieve metering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117214525B_ABST
    Figure CN117214525B_ABST
Patent Text Reader

Abstract

The application discloses a power calculation device for a multi-path DCDC system with a battery pack, and belongs to the technical field of power calculation. The power calculation device accumulates the charging and discharging states and circuit parameters of each working path of the multi-path DCDC system with the battery pack through a main Power system, and performs power calculation based on the accumulation result. Only one Power chip with a power calculation function needs to be arranged to realize the calculation, and the power calculation cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power metering technology, and in particular to a power calculation device for a multi-channel DC-DC system with a battery pack. Background Technology

[0002] As smartphones, tablets, laptops, power banks, and other battery-powered devices become increasingly integrated into people's lives, and with the improvement of processor speed and performance, the use of higher-definition screens, and the upgrading of fast charging technology, the technology for monitoring the remaining battery power is becoming increasingly important for users to have a better experience.

[0003] The existing solution typically uses multiple Power chips with power metering capabilities to measure the power of each channel, which is relatively expensive. Summary of the Invention

[0004] The purpose of this invention is to provide a power calculation device for a multi-channel DC-DC system with a battery pack, so as to reduce the cost of power metering in the multi-channel DC-DC system with a battery pack.

[0005] To achieve the above objectives, the present invention provides the following solution:

[0006] This invention provides a power calculation device for a multi-channel DC-DC system with a battery pack, the device comprising a main power system and multiple auxiliary power systems;

[0007] The main power system and the multiple auxiliary power systems are arranged on different paths of the multi-channel DC-DC system; the battery pack is connected to each of the DC-DC converters in the multi-channel DC-DC system to form a path, and the path in operation is the working path.

[0008] The main power system is connected to each of the secondary power systems;

[0009] The secondary power system is used to detect the operating status, charging / discharging status, and circuit parameters of the paths connected to it, and sends them to the primary power system;

[0010] The main power system is used to detect the operating status, charging / discharging status, and circuit parameters of the connected pathways, and performs statistical analysis of the charging / discharging status and circuit parameters using the following steps:

[0011] Based on the working flag of each channel in the multi-channel DC-DC system, the number of working channels N in the multi-channel DC-DC system is determined by counting the working channels in the multi-channel DC-DC system.

[0012] The circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system.

[0013] The power consumption of the multi-channel DC-DC system is measured based on the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system.

[0014] Optionally, when the value of N is greater than or equal to 2, the circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including:

[0015] Let n be 2, set the charging and discharging state of the first working path to the charging and discharging state of the cumulative path, and set the circuit parameters of the first working path to the circuit parameters of the cumulative path.

[0016] When the charging and discharging state of the cumulative path is inconsistent with the charging and discharging state of the nth working path, calculate the absolute value of the difference between the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the circuit parameters of the new cumulative path. The charging and discharging state of the path with the larger circuit parameters among the cumulative path and the nth working path is taken as the charging and discharging state of the new cumulative path.

[0017] When the charging and discharging state of the cumulative path is consistent with the charging and discharging state of the nth working path, the sum of the circuit parameters of the cumulative path and the circuit parameters of the nth working path is calculated as the circuit parameters of the new cumulative path, and the charging and discharging state of the cumulative path or the nth working path is taken as the charging and discharging state of the new cumulative path.

[0018] Increment the value of n by 1, and return to the step of "when the charging / discharging state of the cumulative path is inconsistent with the charging / discharging state of the nth working path, calculate the absolute value of the difference between the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the new circuit parameters of the cumulative path, and use the charging / discharging state of the path with the larger circuit parameters of the cumulative path and the nth working path as the new charging / discharging state of the cumulative path", or return to the step of "when the charging / discharging state of the cumulative path is consistent with the charging / discharging state of the nth working path, calculate the sum of the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the new circuit parameters of the cumulative path, and use the charging / discharging state of the cumulative path or the nth working path as the new charging / discharging state of the cumulative path", until the value of n is N, and output the final circuit parameters and charging / discharging state of the cumulative path as the total circuit parameters and final charging / discharging state of the multi-channel DC-DC system.

[0019] Optionally, when N equals 1, the circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including:

[0020] The charging and discharging states and circuit parameters of the working path are determined as the overall circuit parameters and final charging and discharging states of the multi-channel DC-DC system.

[0021] Optionally, multiple sub-power systems are connected sequentially;

[0022] The secondary power system is also used to send the operating status, charge / discharge status and circuit parameters of the paths connected to it to the next secondary power system connected to the secondary power system.

[0023] The main power system is also used to obtain the operating flag, charging / discharging status, and circuit parameters of the i-th path from the next sub-power system connected to the sub-power system on the i-th path when the operating flag, charging / discharging status, and circuit parameters of the i-th path cannot be obtained.

[0024] Optionally, the circuit parameters are battery terminal current or battery terminal power.

[0025] Optionally, the main power system includes a communication unit, a data processing unit, and a power metering unit;

[0026] The communication unit is connected to the multiple sub-Power systems and the data processing unit, respectively.

[0027] The data processing unit is connected to the power metering unit. The data processing unit is used to count the working channels in the multi-channel DC-DC system according to the working flag of each channel in the multi-channel DC-DC system, determine the number N of working channels in the multi-channel DC-DC system, and accumulate the circuit parameters and charging / discharging states of the N working channels in sequence to obtain the total circuit parameters and final charging / discharging state of the multi-channel DC-DC system.

[0028] The power metering unit is used to measure the power of the multi-channel DC-DC system based on the total circuit parameters and the final charge / discharge state of the multi-channel DC-DC system.

[0029] Optionally, the main power system uses a Charger chip, and the secondary power system uses a Buck chip, a Boost chip, a BuckBoost chip, or an LDO chip.

[0030] Optionally, the device further includes an MCU module, through which the main power system is connected to multiple secondary power systems.

[0031] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0032] This invention provides a power calculation device for a multi-channel DC-DC system with a battery pack. The device includes a main power system and multiple auxiliary power systems. The main power system and the multiple auxiliary power systems are arranged on different paths of the multi-channel DC-DC system. The battery pack is connected to each of the DC-DC channels in the multi-channel DC-DC system to form a path, and the path in operation is called the working path. The main power system is connected to each of the auxiliary power systems. The auxiliary power systems are used to detect the working status, charge / discharge status, and circuit parameters of the paths connected to them and send them to the main power system. The main power system is used to detect the working status, charge / discharge status, and circuit parameters of the paths connected to it, and performs the following steps to count the charge / discharge status and circuit parameters: based on the working status of each path in the multi-channel DC-DC system, the number of working paths N in the multi-channel DC-DC system is counted to determine the number of working paths N in the multi-channel DC-DC system; the circuit parameters and charge / discharge status of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge status of the multi-channel DC-DC system; and the power of the multi-channel DC-DC system is measured based on the total circuit parameters and final charge / discharge status of the multi-channel DC-DC system. This invention accumulates the charging and discharging status and circuit parameters of each working path of a multi-channel DC-DC system with a battery pack through the main power system, and performs power metering based on the accumulated results. Metering can be achieved by setting up only one power chip with power metering function, which saves power metering costs. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of a power metering device for a multi-channel DC-DC system with a battery pack, provided by an embodiment of the present invention.

[0035] Figure 2 A flowchart of the power metering method provided in an embodiment of the present invention;

[0036] Figure 3 This is another schematic diagram of a power metering device for a multi-channel DC-DC system with a battery pack, provided by an embodiment of the present invention;

[0037] Figure 4 This is a flowchart illustrating the operation of a power metering device for a multi-channel DC-DC system with a battery pack, as provided in an embodiment of the present invention. Detailed Implementation

[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0039] The purpose of this invention is to provide a power calculation device for a multi-channel DC-DC system with a battery pack, so as to reduce the cost of power metering in the multi-channel DC-DC system with a battery pack.

[0040] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0041] Example 1

[0042] Embodiment 1 of the present invention provides a power calculation device for a multi-channel DC-DC system with a battery pack, such as Figure 1 As shown, the device includes a main power system and multiple auxiliary power systems; the main power system and the multiple auxiliary power systems are arranged on different paths of a multi-channel DC-DC system; the battery pack is connected to each of the DC-DC converters in the multi-channel DC-DC system to form a path, and the path in operation is the working path; the main power system is connected to each of the auxiliary power systems; the auxiliary power systems are used to detect the working status, charge / discharge status, and circuit parameters of the paths connected to them, and send them to the main power system; the main power system is used to detect the working status, charge / discharge status, and circuit parameters of the paths connected to it, and performs charge / discharge status and circuit parameter statistics using the following steps (e.g. Figure 2 As shown):

[0043] Step 101: Based on the working flag of each channel in the multi-channel DC-DC system, count the working channels in the multi-channel DC-DC system to determine the number N of working channels in the multi-channel DC-DC system.

[0044] For example, when the working flag of the main power system or any other auxiliary power system is set to 1, the working path counter is incremented by 1 to obtain the number of working paths in the multi-channel DC-DC system at the current time.

[0045] Step 102: The circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system.

[0046] The specific implementation steps of step 102 in this embodiment of the invention are as follows:

[0047] When the value of N is greater than or equal to 2, the circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including:

[0048] Let n be 2, set the charging and discharging state of the first working path to the charging and discharging state of the cumulative path, and set the circuit parameters of the first working path to the circuit parameters of the cumulative path.

[0049] When the charging / discharging state of the cumulative path is inconsistent with the charging / discharging state of the nth working path, the absolute value of the difference between the circuit parameters of the cumulative path and the circuit parameters of the nth working path is calculated as the new circuit parameters of the cumulative path. The charging / discharging state of the path with the larger circuit parameters among the cumulative path and the nth working path is taken as the new charging / discharging state of the cumulative path.

[0050] When the charge / discharge state of the cumulative path is consistent with the charge / discharge state of the nth working path, the sum of the circuit parameters of the cumulative path and the circuit parameters of the nth working path is calculated as the circuit parameters of the new cumulative path, and the charge / discharge state of the cumulative path or the nth working path is taken as the charge / discharge state of the new cumulative path.

[0051] Increment the value of n by 1, and return to the step of "when the charging / discharging state of the cumulative path is inconsistent with the charging / discharging state of the nth working path, calculate the absolute value of the difference between the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the new circuit parameters of the cumulative path, and use the charging / discharging state of the path with the larger circuit parameters of the cumulative path and the nth working path as the new charging / discharging state of the cumulative path", or return to the step of "when the charging / discharging state of the cumulative path is consistent with the charging / discharging state of the nth working path, calculate the sum of the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the new circuit parameters of the cumulative path, and use the charging / discharging state of the cumulative path or the nth working path as the new charging / discharging state of the cumulative path", until the value of n is N, and output the final circuit parameters and charging / discharging state of the cumulative path as the total circuit parameters and final charging / discharging state of the multi-channel DC-DC system.

[0052] When N equals 1, the circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including:

[0053] The charging and discharging states and circuit parameters of the working path are determined as the overall circuit parameters and final charging and discharging states of the multi-channel DC-DC system.

[0054] In this embodiment of the invention, the circuit parameters are battery terminal current or battery terminal power.

[0055] Step 103: Measure the power of the multi-channel DC-DC system based on the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system.

[0056] In this embodiment of the invention, after obtaining the total circuit parameters (total current at the battery terminal) and the final charge / discharge status (final charge / discharge status at the battery terminal) of the multi-channel DC-DC system, the status and current value are sent to the power metering unit for power calculation.

[0057] Furthermore, upon receiving a battery fully charged signal from any working channel, the final battery level will be set to 100%; upon receiving a battery discharged signal from any working channel, the final battery level will be set to 0%.

[0058] The secondary power system in this embodiment of the invention uses DCDC chips such as buck chips, boost chips, buckboost chips, and LDO chips. There may be one or more buck chips.

[0059] For example, such as Figure 3 As shown, the device in this embodiment of the invention also includes an MCU module. The MCU module is mainly responsible for collecting data from the secondary power system and communicating with the main power system through the communication unit to send the data to the main power system.

[0060] The main power system is a charger chip that internally includes a communication unit, a data processing unit, and a power metering unit. The communication unit is mainly responsible for periodically receiving data from the MCU. The main power system receives data from the MCU module through the communication unit and processes the data through the data processing unit.

[0061] As one specific implementation method, the data processing unit operates as follows:

[0062] The data processing unit periodically acquires data from the communication unit.

[0063] When the working flag of the main power system or any one of the auxiliary power systems is set to 1, the working path counter of the data processing unit is incremented by 1 to obtain the number of working paths in the system at the current moment.

[0064] The data processing unit takes the path where the main power system is located as the first path, and the paths where multiple secondary power systems are located as the second path, the third path, etc., in sequence. Taking any path with the lowest sequence number and the working flag bit set to 1 (hereinafter referred to as the first working path) as the basis, it calculates the battery terminal current of the remaining paths with the working flag bit set to 1 (hereinafter referred to as the second working path, the third working path, etc.) in sequence.

[0065] The specific calculation method is as follows:

[0066] If the current charging / discharging state of the first working path is charging, the current charging / discharging state of the second working path is discharging, and the battery terminal current of the first working path (hereinafter referred to as the first working current) is greater than the battery terminal current of the second working path (hereinafter referred to as the second working current), then it is determined that the current charging / discharging state of the multi-channel DC-DC system is charging, and the battery terminal current is the difference between the first working current and the second working current.

[0067] If the first working path is currently in a charging state, the second working path is currently in a discharging state, and the first working current is less than the second working current, then the current charging and discharging state of the multi-channel DC-DC system is determined to be discharging, and the battery terminal current is the difference between the second working current and the first working current.

[0068] If the first working path is currently in a discharging state, the second working path is currently in a charging state, and the first working current is greater than the second working current, then the current charging and discharging state of the multi-channel DC-DC system is determined to be discharging, and the battery terminal current is the difference between the first working current and the second working current.

[0069] If the first working path is currently in a discharging state, the second working path is currently in a charging state, and the first working current is less than the second working current, then the current charging state of the multi-channel DC-DC system is determined to be charging, and the battery terminal current is the difference between the second working current and the first working current.

[0070] If both the first and second working paths are in a charging state, then the current charging and discharging state of the multi-channel DC-DC system is determined to be charging, and the battery terminal current is the sum of the first and second working currents.

[0071] If both the first and second working paths are in a discharge state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be discharge, and the battery terminal current is the sum of the first and second working currents.

[0072] Based on the above calculations, the data processing unit obtains the current charging / discharging state and operating current of the multi-channel DC-DC system, and increments the counter by 1 upon completion of the calculation. This process continues until the counter value is reduced by 1 from the operating channel counter value, thus obtaining the charging / discharging state and current magnitude of the entire system's battery terminal.

[0073] After obtaining the charging and discharging status and current magnitude of the battery in the entire system, the data processing unit sends the status and current value to the power metering unit for power calculation.

[0074] If the data processing unit receives a battery fully charged signal from any working path from the communication unit, it will send the signal to the power metering unit, which will set the final power level to 100%. If the data processing unit receives a battery discharged signal from any working path from the communication unit, it will send the signal to the power metering unit, which will set the final power level to 0%.

[0075] In another implementation, the circuit parameter in this embodiment of the invention is the battery terminal power, which can be achieved through the input / output terminal voltage and input / output terminal current. The specific implementation method is as follows:

[0076] If the first working path is currently in a charging state and the second working path is currently in a discharging state, the input and output power is obtained by multiplying the input and output voltages and the input and output currents. The input and output power is then converted to battery power through efficiency testing. By comparing the battery power of the first and second working paths, if the battery power of the first working path (hereinafter referred to as the first working power) is greater than the battery power of the second working path (hereinafter referred to as the second working power), the current charging and discharging state of the multi-channel DC-DC system is determined to be charging, and the battery power is the difference between the first working power and the second working power. If the first working power is less than the second working power, the current charging and discharging state of the multi-channel DC-DC system is determined to be discharging, and the battery power is the difference between the second working power and the first working power.

[0077] If the first working path is currently in a discharging state and the second working path is currently in a charging state, and if the first working power is greater than the second working power, then the current charging state of the multi-channel DC-DC system is determined to be discharging, and the battery power is the difference between the first working power and the second working power; if the first working power is less than the second working power, then the current charging state of the multi-channel DC-DC system is determined to be charging, and the battery power is the difference between the second working power and the first working power.

[0078] If both the first and second working paths are currently in a charging state, then the current charging and discharging state of the multi-channel DC-DC system is determined to be charging, and the battery power is the first working power plus the first working power.

[0079] If both the first and second working paths are currently in a discharge state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be discharge, and the battery terminal power is the first working power plus the first working power.

[0080] Based on the above calculations, the data processing unit obtains the current charging and discharging status and the current operating current of the multi-channel DC-DC system, and increments the counter by 1 upon completion of the calculation. This process continues until the counter value is reduced by 1 from the operating channel counter value, thus obtaining the charging and discharging status and battery power of the entire system's battery. This information is then sent to the power metering unit for power measurement and display.

[0081] As another implementation, if there are three working paths (including the path where the main power system is located), the data processing unit uses the path where the main power system is located as the first working path, and the two secondary power systems as the second and third working paths respectively. The first and second working paths are processed first, such as... Figure 4 As shown.

[0082] If the current charging / discharging state of the first working path is charging and the current charging / discharging state of the second working path is discharging, the comparator determines the magnitude of the battery terminal current (hereinafter referred to as ibat) of the first working path and the battery terminal current (hereinafter referred to as extIbat1) of the second working path. If ibat is greater than extIbat1, the current charging / discharging state of the multi-channel DC-DC system is determined to be charging, and the difference between ibat and extIbat1 is calculated using a subtractor to obtain the first calculated working current (hereinafter referred to as ibatCal). If ibat is less than extIbat1, the current charging / discharging state of the multi-channel DC-DC system is determined to be discharging, and the difference between extIbat1 and ibat of the second working path is calculated using a subtractor to obtain ibatCal.

[0083] If the current charging / discharging state of the first working path is discharging and the current charging / discharging state of the second working path is charging, the comparator compares ibat with extIbat1. If ibat is greater than extIbat1, the current charging / discharging state of the multi-channel DC-DC system is determined to be discharging, and the difference between ibat and extIbat1 is calculated using a subtractor to obtain ibatCal. If ibat is less than extIbat1, the current charging / discharging state of the multi-channel DC-DC system is determined to be charging, and the difference between extIbat1 and ibat is calculated using a subtractor to obtain ibatCal.

[0084] If both the first and second working paths are currently in a charging state, then the current charging state of the multi-channel DC-DC system is determined to be charging. The sum of ibat and extIbat1 is calculated using an adder to obtain ibatCal.

[0085] If both the first and second working paths are currently in a discharge state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be discharge. The sum of ibat and extIbat1 is calculated using an adder to obtain ibatCal.

[0086] Then, the results processed by the first and second working paths are used to perform calculations and judgments with the third working path.

[0087] If the overall charging / discharging state of the first and second working paths is charging, and the charging / discharging state of the third working path is discharging, the comparator compares the calculated operating current ibatCal with the battery terminal current of the third working path (hereinafter referred to as extIbat2). If ibatCal is greater than extIbat2, the current charging / discharging state of the multi-channel DC-DC system is determined to be charging, and the difference between ibatCal and extIbat2 is calculated using a subtractor to obtain the total system battery terminal current (hereinafter referred to as ibatSystem). If ibatCal is less than extIbat2, the current charging / discharging state of the multi-channel DC-DC system is determined to be discharging, and the difference between extIbat2 and ibatCal is calculated using a subtractor to obtain ibatSystem.

[0088] If the overall charge / discharge state of the first and second working paths is discharging, and the charge / discharge state of the third working path is charging, the comparator compares ibatCal with extIbat2. If ibatCal is greater than extIbat2, the current charge / discharge state of the multi-channel DC-DC system is determined to be discharging, and the difference between ibatCal and extIbat2 is calculated using a subtractor to obtain ibatSystem. If ibatCal is less than extIbat2, the current charge / discharge state of the multi-channel DC-DC system is determined to be charging, and the difference between extIbat2 and ibatCal is calculated using a subtractor to obtain ibatSystem.

[0089] If the overall charge / discharge state of the first and second working paths and the current charge / discharge state of the third working path are both in the charging state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be charging. The sum of ibatCal and extIbat2 is calculated using an adder to obtain ibatSystem.

[0090] If the overall charge / discharge state of the first and second working paths and the current charge / discharge state of the third working path are both in the discharge state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be in the discharge state. The sum of ibatCal and extIbat2 is calculated using an adder to obtain ibatSystem.

[0091] After the above processing, the data processing unit obtains the charging and discharging status and current of the entire system's battery terminal, and sends the status and current value to the power metering unit for corresponding power calculation.

[0092] If only two working paths are active, the data processing unit will determine whether the first working path is in a charging state and the second working path is in a discharging state. It will then use a comparator to compare the battery terminal current (ibat) of the first working path with the battery terminal current (extIbat) of the second working path. If ibat is greater than extIbat, the current charging / discharging state of the multi-channel DC-DC system is determined to be charging. A subtractor is used to calculate the difference between ibat and extIbat to obtain the total system battery terminal current ibatSystem. If ibat is less than extIbat, the current charging / discharging state of the multi-channel DC-DC system is determined to be discharging. A subtractor is used to calculate the difference between extIbat and ibat of the second working path to obtain ibatSystem.

[0093] If the current charging / discharging state of the first working path is discharging and the current charging / discharging state of the second working path is charging, the comparator determines ibat and extIbat. If ibat is greater than extIbat, the current charging / discharging state of the multi-channel DC-DC system is determined to be discharging, and the difference between ibat and extIbat is calculated using a subtractor to obtain ibatSystem. If ibat is less than extIbat, the current charging / discharging state of the multi-channel DC-DC system is determined to be charging, and the difference between extIbat and ibat is calculated using a subtractor to obtain ibatSystem.

[0094] If both the first and second working paths are currently in a charging state, then the current charging state of the multi-channel DC-DC system is determined to be charging. The sum of ibat and extIbat is calculated using an adder to obtain ibatSystem.

[0095] If both the first and second working paths are currently in a discharge state, then the current charge / discharge state of the multi-channel DC-DC system is determined to be discharge. The sum of ibat and extIbat is calculated using an adder to obtain ibatSystem.

[0096] In another implementation, if only one working path is in operation, the battery terminal current of the multi-channel DC-DC system is the current of that working path, and the charging and discharging state of the multi-channel DC-DC system is the charging and discharging state of that working path.

[0097] After the above processing, the data processing unit obtains the final charge / discharge status of the multi-channel DC-DC system and the battery terminal current. The final charge / discharge status and battery terminal current are then sent to the power metering unit for corresponding power calculation and power display.

[0098] In one preferred embodiment, but not limited to this embodiment, multiple secondary power systems are connected sequentially; each secondary power system is further configured to send the operating flag, charge / discharge status, and circuit parameters of the path connected to it to the next secondary power system connected to the secondary power system; the primary power system is further configured to obtain the operating flag, charge / discharge status, and circuit parameters of the i-th path from the next secondary power system connected to the secondary power system on the i-th path when it is unable to obtain the operating flag, charge / discharge status, and circuit parameters of the i-th path.

[0099] In summary, implementing the embodiments of the present invention has the following beneficial effects:

[0100] This invention utilizes a power chip with a built-in fuel gauge function to communicate with an MCU or other power chips via a communication module to obtain data from other channels (including but not limited to battery voltage, battery current, input / output voltage, and input / output current). The data processing module performs calculations and judgments to obtain the total charging and discharging current or total power of the system's battery and the system's final charging and discharging state. This data is used to estimate the power level of the power chip with the built-in fuel gauge function, saving chip material costs compared to directly using a dedicated fuel gauge chip.

[0101] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0102] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A power calculation device for a multi-channel DC-DC system with a battery pack, characterized in that, The device includes a main power system and multiple auxiliary power systems; The main power system and the multiple auxiliary power systems are arranged on different paths of the multi-channel DC-DC system; The battery pack is connected to each of the DC-DC converters in the multi-channel DC-DC system to form a path, and the path in operation is the working path. The main power system is connected to each of the secondary power systems; The secondary power system is used to detect the operating status, charging / discharging status, and circuit parameters of the paths connected to it, and sends them to the primary power system; The main power system is used to detect the operating status, charging / discharging status, and circuit parameters of the connected pathways, and performs statistical analysis of the charging / discharging status and circuit parameters using the following steps: Based on the working flag of each channel in the multi-channel DC-DC system, the number of working channels N in the multi-channel DC-DC system is determined by counting the working channels in the multi-channel DC-DC system. The circuit parameters and charge / discharge states of the N working paths are sequentially accumulated to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including: When the charging / discharging state of the cumulative path is inconsistent with the charging / discharging state of the nth working path, calculate the absolute value of the difference between the circuit parameters of the cumulative path and the circuit parameters of the nth working path, and use it as the new circuit parameters of the cumulative path. The charging / discharging state of the path with the larger circuit parameters between the cumulative path and the nth working path is taken as the new charging / discharging state of the cumulative path; n=2,3,...,N; When the charging and discharging state of the cumulative path is consistent with the charging and discharging state of the nth working path, the sum of the circuit parameters of the cumulative path and the circuit parameters of the nth working path is calculated as the circuit parameters of the new cumulative path, and the charging and discharging state of the cumulative path or the nth working path is taken as the charging and discharging state of the new cumulative path. The power consumption of the multi-channel DC-DC system is measured based on the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system.

2. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, When the value of n is 2, the charging and discharging state of the first working path is set to the charging and discharging state of the cumulative path, and the circuit parameters of the first working path are set to the circuit parameters of the cumulative path. When the value of n is N, the circuit parameters and charge / discharge status of the final accumulated path are output as the total circuit parameters and final charge / discharge status of the multi-channel DC-DC system.

3. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, When N equals 1, the circuit parameters and charge / discharge states of the N working paths are accumulated sequentially to obtain the total circuit parameters and final charge / discharge state of the multi-channel DC-DC system, specifically including: The charging and discharging states and circuit parameters of the working path are determined as the overall circuit parameters and final charging and discharging states of the multi-channel DC-DC system.

4. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, Multiple sub-power systems are connected sequentially; The secondary power system is also used to send the operating status, charge / discharge status and circuit parameters of the paths connected to it to the next secondary power system connected to the secondary power system. The main power system is also used to obtain the operating flag, charging / discharging status, and circuit parameters of the i-th path from the next sub-power system connected to the sub-power system on the i-th path when the operating flag, charging / discharging status, and circuit parameters of the i-th path cannot be obtained.

5. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, The circuit parameters are battery terminal current or battery terminal power.

6. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, The main power system includes a communication unit, a data processing unit, and a power metering unit; The communication unit is connected to the multiple sub-Power systems and the data processing unit, respectively. The data processing unit is connected to the power metering unit. The data processing unit is used to count the working channels in the multi-channel DC-DC system according to the working flag of each channel in the multi-channel DC-DC system, determine the number N of working channels in the multi-channel DC-DC system, and accumulate the circuit parameters and charging / discharging states of the N working channels in sequence to obtain the total circuit parameters and final charging / discharging state of the multi-channel DC-DC system. The power metering unit is used to measure the power of the multi-channel DC-DC system based on the total circuit parameters and the final charge / discharge state of the multi-channel DC-DC system.

7. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, The main power system uses a Charger chip, and the secondary power system uses a Buck chip, a Boost chip, a BuckBoost chip, or an LDO chip.

8. The power calculation device for a multi-channel DC-DC system with a battery pack according to claim 1, characterized in that, The device also includes an MCU module, through which the main power system is connected to multiple secondary power systems.

Citation Information

Patent Citations

  • An energy management system applied to photovoltaic energy storage systems

    CN109066749A

  • Many strings of battery pack management system

    CN207117205U