Electric quantity calculation method of hybrid system, hybrid system and storage medium

CN122776071APending Publication Date: 2026-09-18SHENZHEN HELLO TECH ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610970342.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-09-18

AI Technical Summary

Technical Problem

[0002]现有混合系统大多采用磷酸铁锂电池作为储能主体,磷酸铁锂电池的开路电压-荷电状态特性曲线极为平坦,在20%-80%电量区间内电压变化极小,导致传统电压查表校准方式完全失效,行业内只能长期依赖安时积分法进行电量估算

Benefits of technology

[0008] In the hybrid system power calculation method, hybrid system, and computer-readable storage medium provided in this application embodiment, a second battery with an approximately linear relationship between voltage and remaining power is additionally set and connected in series with the first battery. Then, when the hybrid system is fully charged and depleted, the first power range of the second battery is mapped to the preset power range of the hybrid system, thereby constructing a power mapping relationship between the second battery and the hybrid system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122776071A_ABST
    Figure CN122776071A_ABST
Patent Text Reader

Abstract

This application discloses a method for calculating the power consumption of a hybrid system, the hybrid system itself, and a storage medium, applicable to the field of power consumption calculation technology for hybrid systems. The hybrid system includes a first battery and a second battery. The voltage of the second battery has an approximately linear relationship with its remaining power. The method includes acquiring the first voltage of the second battery when the hybrid system is fully charged and the second voltage when the hybrid system is depleted; based on the linear relationship, determining a first power consumption value corresponding to the first voltage and a second power consumption value corresponding to the second voltage; mapping a first power consumption range formed by the first and second power consumption values ​​to a preset power consumption range to obtain a mapping relationship; and calibrating the current power consumption of the first battery based on the current voltage of the second battery. Power consumption calculation for the hybrid system can be achieved by additionally connecting a second battery, whose voltage has an approximately linear relationship with the remaining power, in series with the first battery, thereby improving the accuracy of power consumption estimation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of energy calculation technology for energy storage power supplies, and particularly relates to a method for calculating the energy of a hybrid system, the hybrid system, and a computer-readable storage medium. Background Technology

[0002] Most existing hybrid systems use lithium iron phosphate (LFP) batteries as the primary energy storage source. The open-circuit voltage-state-of-charge (POC) characteristic curve of LFP batteries is extremely flat, with minimal voltage variation within the 20%-80% charge range. This renders traditional voltage lookup calibration methods completely ineffective, forcing the industry to rely on the ampere-hour integration method for energy estimation. However, the ampere-hour integration method has inherent cumulative errors, requiring a long period of static recovery before calibration can be completed. LFP batteries exhibit slow voltage recovery and long static calibration cycles, failing to meet the demands for rapid and routine calibration. Consequently, the accuracy of energy estimation significantly decreases after long-term operation.

[0003] Therefore, there is an urgent need for a solution that can guarantee the accuracy of power estimation during long-term use. Summary of the Invention

[0004] This application aims to address at least one of the technical problems existing in the prior art. To this end, this application proposes a method for calculating the power consumption of a hybrid system, a hybrid system, and a computer-readable storage medium. The power consumption calculation can be achieved by connecting a second battery, whose voltage has an approximately linear relationship with the remaining power consumption, in series with the first battery, thereby improving the accuracy of power consumption estimation.

[0005] In a first aspect, this application provides a method for calculating the power capacity of a hybrid system, the hybrid system comprising a first battery and a second battery, wherein the voltage of the second battery has an approximately linear relationship with the remaining power capacity, the method comprising: Collect the first voltage of the second battery when the hybrid system is fully charged and the second voltage of the second battery when the hybrid system is depleted; Determine the first charge value of the second battery at the first voltage and the second charge value of the second battery at the second voltage; A third charge value of the second battery is obtained based on the current voltage of the second battery. A fourth charge value of the second battery is obtained by mapping the first charge value, the second charge value, and the third charge value. The fourth charge value is the charge value of the hybrid system.

[0006] Secondly, this application provides a hybrid system comprising: The first battery and the second battery, wherein the voltage of the second battery has an approximately linear relationship with the remaining charge; The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power calculation method for the hybrid system described above.

[0007] Thirdly, this application provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the power calculation method of the above-mentioned hybrid system.

[0008] In the hybrid system power calculation method, hybrid system, and computer-readable storage medium provided in this application embodiment, a second battery with an approximately linear relationship between voltage and remaining power is additionally set and connected in series with the first battery. Then, when the hybrid system is fully charged and depleted, the first power range of the second battery is mapped to the preset power range of the hybrid system, thereby constructing a power mapping relationship between the second battery and the hybrid system.

[0009] By constructing a dynamic scale based on the linear voltage characteristics of the second battery, it is not affected by the flat voltage plateau and aging of the first battery. Even if the first battery is severely aged, the current charge of the hybrid system (i.e., the fourth charge value) can be determined based on the current voltage of the second battery. This can reduce the overall charge estimation error of the hybrid system and significantly improve the estimation accuracy throughout its entire life cycle.

[0010] Furthermore, the hybrid system does not require static calibration, has a fast response speed, and is free from the traditional ampere-hour integration error accumulation and reliance on long-term static storage. After the device is powered on, it can quickly calculate the power level through the second battery voltage to complete the initial power calculation of the hybrid system, adapting to scenarios with frequent device start-stop and normal operation.

[0011] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0012] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a schematic diagram illustrating an application scenario of the control method provided in some embodiments of this application; Figure 2 This is a schematic diagram of the structure of a hybrid system provided in some embodiments of this application; Figure 3 This is a first flowchart illustrating the control method provided in certain embodiments of this application; Figure 4 This is a second flowchart illustrating the control method provided in certain embodiments of this application; Figure 5 This is a schematic diagram of a control device provided in some embodiments of this application. Detailed Implementation

[0013] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0014] Please see Figure 1 , Figure 1 This is an application scenario diagram of a power calculation method for a hybrid system provided in an embodiment of this application. The application scenario provided in this application includes a hybrid system 100 and an electronic device 200.

[0015] The hybrid system 100 can be an energy storage power source, which refers to a device capable of storing electrical energy. It typically includes a rechargeable battery. By storing a large amount of energy in the battery, the energy storage power source can output the stored energy when needed.

[0016] Hybrid systems come in various types, categorized by application scenario: (1) Portable energy storage: It is generally a small hybrid system that uses lithium-ion batteries, etc. It is easy to carry and can be used for outdoor camping, emergency charging and other scenarios. It can power mobile phones, computers, lighting equipment and other devices.

[0017] (2) Home energy storage: Used in homes to store solar power or electricity generated during off-peak hours of the power grid for use by home electrical equipment, achieving the purpose of peak shaving and valley filling, saving electricity costs, etc.

[0018] (3) Industrial and commercial energy storage: Used in factories, data centers, shopping malls and other places, it can be used for load regulation, demand-side management, power quality improvement, etc., to help users reduce electricity costs and improve power supply reliability.

[0019] (4) Grid energy storage: It is widely used in power systems to regulate the peak-valley difference of the power grid, smooth the fluctuations of renewable energy generation, and improve the stability and reliability of the power grid. Common types include large lithium-ion battery energy storage power stations, flow battery energy storage power stations, and pumped storage power stations.

[0020] In order to adapt to the increasingly diverse power consumption scenarios, portable energy storage power supplies have emerged. Portable energy storage power supplies, also known as portable lithium-ion battery energy storage power supplies or outdoor power supplies, usually refer to backup or emergency power supplies weighing no more than 18 kg. They use lithium-ion batteries as energy storage components and have AC or DC input charging interfaces as well as AC or DC output interfaces.

[0021] In one alternative embodiment, the hybrid system 100 includes a battery 10, a main control board 20, a battery management system 30, an inverter 40, and a real-time clock module 50.

[0022] Among them, battery 10 is the energy core of the hybrid system and is the component that stores electrical energy in the hybrid system.

[0023] In one alternative embodiment, the battery 10 includes a first battery 11 and a second battery 12, wherein the voltage of the second battery 12 is approximately linearly related to the remaining charge.

[0024] Among them, the first battery 11 is the core energy storage module of the hybrid system. Its voltage-capacity curve is flat, and the capacity cannot be directly calibrated by voltage, which easily leads to integral accumulation error.

[0025] Among them, the second battery 12 is the calibration reference module of the hybrid system. Its core characteristic is that the voltage and the remaining power have an approximately linear relationship. The voltage changes uniformly with the power, and it can be used as a precise power scale.

[0026] In one alternative embodiment, the first battery 11 includes at least one lithium battery and the second battery 12 includes at least one sodium battery.

[0027] The first battery 11 is an energy storage module containing at least one lithium battery, such as a lithium iron phosphate battery (LFP), with a flat voltage-capacity curve. The second battery 12 is a calibration module containing at least one sodium battery, with high voltage-capacity linearity, serving as a benchmark for capacity calculation.

[0028] By limiting the cell material type of the dual-module, a heterogeneous hybrid topology of "lithium battery energy storage + sodium battery calibration" is constructed. The linear characteristics of sodium batteries are used to make up for the lack of voltage calibration of lithium batteries, providing a hardware foundation for power mapping calibration.

[0029] In one example, the first battery 11 consists of 32 lithium iron phosphate batteries connected in series, serving as the main energy storage unit; the second battery 12 consists of 8 sodium batteries connected in series, providing a linear voltage scale throughout and providing a reference parameter for energy calculation.

[0030] In one optional embodiment, the first battery 11 and the second battery 12 are connected in series, and the total voltage after series connection is within a preset operating voltage range.

[0031] Among them, the preset working voltage range is the safe working voltage window for the hybrid system to adapt to the high voltage system, for example, 320V-400V for a 400V platform and 640V-800V for an 800V platform.

[0032] The first battery 11 and the second battery 12 adopt a series topology. By matching the ratio of the number of dual modules in series, the defect of the second battery 12 having an excessively wide voltage window is offset, so that the total voltage after series connection is stably within the preset working voltage range, which is compatible with the existing high-voltage electrical architecture and does not require modification of the back-end equipment.

[0033] In one example, a series combination of 32 lithium batteries and 8 sodium batteries is used, and the total series voltage of the whole machine is always maintained within the preset working voltage range of 320V-400V, which is fully compatible with the motor controller, compressor and other load equipment of the 400V high voltage platform.

[0034] In an optional embodiment, the hybrid system further includes a clamping circuit 13 connected in parallel with the second battery 12. The clamping circuit 13 is used to clamp the voltage of the second battery 12 so that the voltage of the second battery 12 does not exceed a preset voltage threshold.

[0035] Among them, clamping circuit 13 is a voltage control circuit connected in parallel with the second battery 12, used to limit the maximum operating voltage of the second battery 12.

[0036] Among them, the preset voltage threshold is the maximum safe voltage that the second battery 12 is allowed to operate at, which is used to prevent overcharging and overvoltage.

[0037] To address the issue of the second battery 12 having an excessively wide voltage range and being prone to overvoltage, a clamping circuit 13 is connected in parallel across the two ends of the second battery 12 to monitor the module voltage in real time. When the voltage is about to exceed the limit (i.e., higher than the preset voltage threshold), clamping and current limiting are performed to ensure that the voltage of the second battery 12 never exceeds the preset voltage threshold, thus guaranteeing the safety of the total series voltage.

[0038] In one example, the preset voltage threshold is set to 3.5V per cell. When the voltage of the second battery 12 rises to 3.5V at the end of charging, the clamping circuit 13 is activated, consuming excess charging energy and limiting the voltage from rising further, thus preventing the second battery 12 from being overcharged and the total voltage of the device from exceeding the 400V safety limit.

[0039] In one alternative embodiment, the clamping circuit 13 includes a switch 131 and a resistor 132 connected in series, wherein the switch 131 is turned on when the voltage of the second battery 12 reaches a preset voltage threshold.

[0040] Among them, the switching device 131 is an electronic switching device that can be controlled to be turned on / off (such as a MOS transistor (metal-oxide-semiconductor field-effect transistor), a relay, etc.).

[0041] Among them, resistor 132 is an energy-consuming current-limiting device used to consume excess electrical energy to achieve voltage clamping.

[0042] The clamping circuit 13 is composed of a switch 131 and a resistor 132 connected in series. Under normal conditions, the switch 131 is open and the circuit does not work. When the voltage of the second battery 12 reaches the preset voltage threshold, the controller (such as the battery management system 30) controls the switch 131 to conduct, and the resistor 132 is connected to the parallel circuit to consume energy and reduce voltage, thereby achieving voltage clamping. When the voltage drops, the switch is opened, which does not affect normal charging and discharging.

[0043] In one example, each sodium cell of the second battery 12 is provided with a corresponding clamping circuit 13, which is connected in parallel across the sodium cells of the second battery 12. When the voltage is ≥3.5V, the switch 131 is turned on, and the resistor 132 consumes energy to reduce the voltage; when the voltage is <3.5V, the switch 131 is turned off, and the circuit is in sleep mode with no power consumption.

[0044] In another example, the clamping circuit 13 can be connected in parallel across the two ends of the second battery 12. If the second battery 12 contains 10 sodium batteries, then when the voltage is ≥3.5*10V, the switch 131 is turned on and the resistor 132 consumes energy to reduce the voltage; when the voltage is <35V, the switch 131 is turned off and the circuit is in sleep mode with no power consumption.

[0045] The main control board 20 is the control core of the hybrid system. The system's wake-up, shutdown, charging judgment and power consumption management are all controlled by the main control board 20.

[0046] Among them, the Battery Management System (BMS) 30 is an electronic system used to monitor, protect, optimize and manage batteries (such as lithium batteries, lead-acid batteries, etc.). Its core function is to ensure that the battery works efficiently within a safe range, extend its service life, and provide stable power output to the equipment.

[0047] For example, the battery management system 30 can control the charging and discharging switches to achieve charging and discharging control; and achieve battery balancing by detecting the electrical parameters of each cell in the battery.

[0048] Inverter 40 is a power electronic device that converts direct current (DC) to alternating current (AC). Inverter 40 can convert AC power input from the grid into DC power to charge the battery of a hybrid system or directly power the load.

[0049] Among them, the Real-Time Clock Module 50 (RTC module) is an electronic module specifically designed to accurately record and maintain time information. It can continue to operate when the device is powered off or in a low-power state, providing a stable and accurate time reference for various electronic systems.

[0050] In an optional embodiment, the hybrid system 100 is able to communicate with the electronic device 200 to cooperate with the electronic device 200 to implement the power calculation method of the hybrid system of this application.

[0051] Optionally, the electronic device 200 includes at least one of a terminal and a server.

[0052] The terminal may include, but is not limited to: smartphones (such as Android phones, iOS phones, etc.), tablet computers, laptops, desktop computers, smart speakers, smartwatches, portable personal computers, mobile internet devices (MIDs), smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, wearable devices, etc., but this application embodiment does not limit the scope of the terminal.

[0053] The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This application does not limit this.

[0054] The power calculation method of the hybrid system in this application can be implemented by the hybrid system alone, or the hybrid system can be implemented in conjunction with electronic devices, and there is no limitation on this.

[0055] Based on the above technical background and application scenarios, this application provides a method for calculating the power consumption of a hybrid system. The control method is described in detail below: Please see Figure 2 This application provides a method for calculating the power consumption of a hybrid system, which is implemented by steps 011 to 014, as described in detail below.

[0056] Step 011: Collect the first voltage of the second battery when the hybrid system is fully charged and the second voltage of the second battery when the hybrid system is depleted; Step 012: Determine the first charge value of the second battery at the first voltage and the second charge value of the second battery at the second voltage; Step 013: Obtain the third charge value of the second battery based on the current voltage of the second battery, and obtain the fourth charge value of the second battery based on the mapping of the first charge value, the second charge value and the third charge value. The fourth charge value is the charge value of the hybrid system.

[0057] Wherein, the first voltage is the real-time voltage value of the second battery when the hybrid system is fully charged.

[0058] Among them, the second voltage is the real-time voltage value of the second battery when the hybrid system is in a state of low charge.

[0059] In one alternative embodiment, a fully charged hybrid system includes the total voltage of the hybrid system reaching a maximum voltage, or the first battery being fully charged. In one alternative embodiment, hybrid system depletion includes the total voltage of the hybrid system reaching a lower limit voltage, or the first battery becoming depleted.

[0060] Among them, the upper limit voltage is the maximum safe operating voltage allowed for the entire hybrid system.

[0061] The lower limit voltage is the minimum safe operating voltage allowed for the entire hybrid system.

[0062] The conditions for determining that the hybrid system is fully charged include any of the following: the total voltage of the whole machine reaches the upper limit voltage, or the first battery is fully charged.

[0063] The criteria for determining a hybrid system to be out of power include any of the following: if any one of the following conditions is met, it is determined to be out of power: the total voltage of the whole machine reaches the lower limit voltage, or the second battery is out of power.

[0064] In one alternative embodiment, a fully charged and a depleted hybrid system are the first battery being fully charged and the first battery being depleted, respectively.

[0065] It is understandable that the first battery is the main power supply module, and the criteria for determining whether it is fully charged or depleted can be based on whether the first battery is fully charged or depleted, so as to ensure the service life of the first battery.

[0066] In one alternative embodiment, a fully charged and a depleted hybrid system are defined as the total voltage of the system reaching its upper limit and lower limit, respectively.

[0067] The total voltage of the hybrid system can be used to determine whether it is fully charged or depleted, thus ensuring the accuracy of the determination and making full use of the power of the first and second batteries.

[0068] In one alternative embodiment, a fully charged and a depleted hybrid system are defined as the total voltage of the system reaching its upper limit and the first battery being depleted, respectively.

[0069] In this way, the over-discharge of the first battery can be avoided as much as possible, thus extending the life of the first battery while ensuring the accuracy of full charge.

[0070] In one alternative embodiment, a fully charged and a depleted hybrid system are defined as a fully charged first battery and a total system voltage reaching a lower limit voltage, respectively.

[0071] In this way, overcharging of the first battery can be avoided as much as possible, thus extending the life of the first battery while ensuring the accuracy of the discharge rate.

[0072] In one example, the hybrid system has an upper limit voltage of 400V and a lower limit voltage of 320V. During charging, the system is considered fully charged when the total voltage reaches 400V or the first battery is fully charged, and the first voltage is recorded. During discharging, the system is considered depleted when the total voltage drops to 320V or the first battery is completely discharged, and the second voltage is recorded.

[0073] Among them, the first power value is determined based on the linear relationship of the second battery, which determines the percentage of remaining power corresponding to the first voltage.

[0074] Among them, the second power value is determined based on the linear relationship of the second battery, which determines the percentage of remaining power corresponding to the second voltage.

[0075] The first power range is the actual effective working power range of the second battery, which is composed of the first power value and the second power value. When the hybrid system is discharged from full charge to depletion, the power of the second battery changes from the first power value to the second power value.

[0076] The preset power range is the standard power range for hybrid systems, which is fixed at 0%-100%.

[0077] The linear relationship is used to characterize the mapping relationship between the current voltage and the current charge of the second battery. For example, the linear relationship can be an OCV-SOC table.

[0078] Among them, the mapping relationship is a mathematical correspondence that linearly converts the actual working power range of the second battery into the standard power range of the hybrid system, which is used for cross-module power calculation.

[0079] Specifically, the boundary voltage parameters of the second battery are first collected to obtain the first voltage of the second battery when the hybrid system is fully charged and the second voltage of the second battery when the hybrid system is depleted. Based on the linear relationship between the voltage and charge of the second battery, the first charge value corresponding to the first voltage and the second charge value corresponding to the second voltage are calculated respectively to determine the effective working range of the second battery, i.e., the first charge range. Then, the first battery level range is linearly mapped to the preset battery level range (0%-100%), establishing a unique mapping relationship.

[0080] In one optional embodiment, power mapping can be performed based on linear interpolation to obtain the power value corresponding to each power value in the first power range, and the mapping formula is as follows: ; in, This is the mapped battery level value. For any energy value within the first energy range, This is the maximum value within the first power range. This is the minimum value within the first power range.

[0081] Finally, during equipment operation, the current voltage of the second battery is collected in real time, and the third charge value is determined by combining the linear relationship. Then, by combining the mapping relationship, the current charge value of the hybrid system (i.e., the fourth charge value) is accurately calculated.

[0082] In one example, the hybrid system consists of a first battery (lithium iron phosphate module) and a second battery (sodium-ion module). The voltage and charge of the second battery are linearly related. When the hybrid system is fully charged, the first voltage of the second battery is detected as 3.5V, corresponding to a first charge value of 90%. When the hybrid system is depleted, the second voltage of the second battery is detected as 2.5V, corresponding to a second charge value of 20%. Therefore, the first charge range is determined to be 20%-90%. This range is linearly mapped to a preset charge range of 0%-100%, generating the mapping formula: Fourth charge value = (Third charge value - 20%) / 70% × 100%.

[0083] When the device is running, the current voltage of the second battery is collected (3.15V), corresponding to a current charge value of 52%. The current charge of the hybrid system is determined through the mapping relationship.

[0084] In an optional embodiment, step 013, obtaining a third charge value of the second battery based on its current voltage, and mapping a fourth charge value of the second battery based on the first, second, and third charge values, includes: Step 0131: Determine the third electrical quantity value based on the current voltage and linear relationship; Step 0132: Map the first power range formed by the first power value and the second power value to the preset power range of the hybrid system to obtain the mapping relationship; Step 0133: Based on the third energy value and the mapping relationship, determine the fourth energy value of the hybrid system.

[0085] Specifically, the second battery's charge level (i.e., the third charge level) is first determined by the current voltage and linear relationship of the second battery; then, the overall current charge level of the hybrid system (i.e., the fourth charge level) is calculated by using the established mapping relationship.

[0086] This is understandable, because the first and second batteries are connected in series, so when the hybrid system discharges, the discharge amount of the first and second batteries is actually the same.

[0087] In the power calculation method of the hybrid system provided in this application embodiment, a second battery with an approximately linear relationship between voltage and remaining power is set and connected in series with the first battery. Then, when the hybrid system is fully charged and depleted, the first power range of the second battery is mapped to the preset power range of the hybrid system to construct the power mapping relationship between the second battery and the hybrid system.

[0088] By constructing a dynamic scale based on the linear voltage characteristics of the second battery, it is not affected by the flat voltage plateau and aging of the first battery. Even if the first battery is severely aged, the current charge of the hybrid system (i.e., the fourth charge value) can be determined based on the current voltage of the second battery. This can reduce the overall charge estimation error of the hybrid system and significantly improve the estimation accuracy throughout its entire life cycle.

[0089] Furthermore, the hybrid system does not require static calibration, has a fast response speed, and is free from the traditional ampere-hour integration error accumulation and reliance on long-term static storage. After the device is powered on, it can quickly calculate the power level through the second battery voltage to complete the initial power calculation of the hybrid system, adapting to scenarios with frequent device start-stop and normal operation.

[0090] In some embodiments, the power calculation method further includes: Step 015: During the charging process, the third energy value is corrected based on the preset Extended Kalman Filter (EKF) model. The observation noise covariance of the Extended Kalman Filter model is dynamically adjusted based on the charging current.

[0091] Among them, the extended Kalman filter model is a filtering algorithm used to dynamically correct battery power and suppress estimation errors caused by charging polarization.

[0092] Among them, the observation noise covariance is a core parameter of the filtering model, used to characterize the noise reliability of voltage observations.

[0093] In one alternative embodiment, the observation noise covariance is determined based on the charging current: ; in, To observe the noise covariance, =0.01V² is the static reference noise, and α=0.005 is an empirical coefficient. This is the charging current.

[0094] When the second battery is charged with a high current, severe polarization and large voltage fluctuations occur, resulting in poor filtering accuracy with fixed noise parameters. This application dynamically adjusts the observed noise covariance based on the real-time charging current. The higher the current, the stronger the polarization noise. By dynamically adapting the filtering parameters, the current charge level of the second battery is corrected in real time, improving the accuracy of dynamic operating condition calibration.

[0095] For example, the observation noise covariance is positively correlated with the charging current.

[0096] The larger the charging current, the more severe the polarization effect of the second battery, the higher the voltage sampling jitter and observation noise, and the lower the reliability of the voltage observation value. The algorithm reduces the dependence on real-time voltage observation values ​​by synchronously increasing the observation noise covariance, weakening noise interference, and improving the stability of SOC (State of Charge) estimation.

[0097] In some embodiments, the power calculation method further includes: Step 016: Obtain the first aging parameter of the first battery and the second aging parameter of the second battery. The first aging parameter is used to characterize the aging degree of the first battery, and the second aging parameter is used to characterize the aging degree of the second battery. Step 017: Determine the aging difference factor based on the first aging parameter and the second aging parameter; Step 018: Based on the aging difference factor, expand or shrink the first charge range to update the mapping relationship.

[0098] Among them, the first aging parameter is a parameter that characterizes the degree of aging of the first battery, and is determined based on aging-related parameters such as the number of cycles, internal resistance increment, and capacity decay rate of the first battery.

[0099] Among them, the second aging parameter is a parameter that characterizes the degree of aging of the second battery. It is determined based on aging-related parameters such as the number of cycles, internal resistance increment, and capacity decay rate of the second battery.

[0100] Among them, the aging difference factor is the core parameter that quantifies the aging difference between the first battery and the second battery.

[0101] Specifically, the first aging parameter and the second aging parameter can be collected first to characterize the aging degree of the dual modules respectively; then, the aging difference factor can be calculated based on the dual aging parameters to determine the degree of inconsistency in the aging of the dual modules, such as calculating the ratio or difference between the first aging parameter and the second aging parameter.

[0102] In an optional embodiment, the aging difference factor is determined based on the following formula:

[0103] Where C is the available capacity and R is the DC internal resistance.

[0104] If the first battery ages faster, when the hybrid system discharges from full charge to depletion, the proportion of the second battery's discharge to its total capacity decreases compared to a scenario where the aging level is the same as the first battery. Therefore, the first charge range can be narrowed to improve its correspondence with the charge range of the first battery from full charge to depletion. Conversely, if the second battery ages faster, the first charge range can be widened to further improve its correspondence with the charge range of the first battery from full charge to depletion. The adjusted first charge range is then remapped to a preset charge range to update the mapping relationship, adapting to the aging differences between the first and second batteries and calibrating the mapping relationship.

[0105] In one example, the preset aging difference factor threshold is 0.9-1.1. If an aging difference factor of 1.15 is detected, exceeding the threshold, the second battery is determined to age faster. The original first battery capacity range of 20%-90% is adaptively expanded to 17%-93%, and the mapping relationship is updated. If an aging difference factor of 0.85 is detected, also exceeding the threshold, the first battery is determined to age faster. The original first battery capacity range of 20%-90% is adaptively reduced to 23%-87%, and the mapping relationship is updated.

[0106] By using an aging difference factor, when the aging difference between the first or second battery is too large, the range of the first charge level is expanded or contracted to update the mapping relationship and avoid inaccurate mapping caused by aging differences.

[0107] To facilitate understanding, the overall workflow of the power calculation method is illustrated below.

[0108] After the device is powered on and reset, the system collects the first voltage and the second voltage of the second battery under the conditions of full charge and low charge of the hybrid system, obtains the first charge value and the second charge value based on the linear relationship, and establishes a mapping relationship between the first charge range and the preset charge range; when the device is running normally, the current voltage of the second battery is collected in real time and the current charge of the hybrid system is calculated.

[0109] During the charging process, the power error is corrected by an extended Kalman filter model based on dynamic noise covariance; Throughout the entire lifecycle, the system monitors the aging parameters of the dual modules in real time, calculates the aging difference factor, and adaptively expands or shrinks the first power range and updates the mapping relationship to achieve full lifecycle, no-static, and high-precision hybrid system power calculation.

[0110] This application embodiment also provides a control device 300 for executing the steps in the above-described power calculation method for a hybrid system. See also... Figure 5 , Figure 5 This is a schematic diagram of a control device 300 provided in an embodiment of this application. The control device 300 includes: The data acquisition module 301 is used to acquire the first voltage of the second battery when the hybrid system is fully charged and the second voltage of the second battery when the hybrid system is depleted. The determining module 302 is used to determine the first charge value of the second battery when it is at the first voltage and the second charge value of the second battery when it is at the second voltage. The mapping module 303 is used to obtain the third charge value of the second battery based on the current voltage of the second battery, and to map the first charge value, the second charge value and the third charge value to obtain the fourth charge value of the second battery. The fourth charge value is the charge value of the hybrid system.

[0111] It should be noted that the specific details of each module unit in the control device 300 have been described in detail in the embodiments of the control method, and will not be repeated here.

[0112] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0113] In some embodiments, the control device in this application can be implemented in hardware, such as in a hybrid system or as a component in a hybrid system, such as an integrated circuit or a chip; the control device can also be implemented in software, such as as a terminal or an application installed in a hybrid system.

[0114] In some embodiments, the hybrid system includes a first battery, a second battery, a memory, and a processor. The voltage of the second battery has an approximately linear relationship with the remaining power. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the various processes of the above-described embodiments of the power calculation method running on the hybrid system and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0115] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described embodiment of the power calculation method for the hybrid system and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0116] The processor can be the processor in the hybrid system described in the above embodiments. The computer-readable storage medium can be a computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.

[0117] Computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types.

[0118] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the power calculation method for the hybrid system described above. The processor may be the processor in the hybrid system described above. When executed by the processor, the computer program implements various processes of the embodiments of the power calculation method for the hybrid system described above, and achieves the same technical effects; therefore, to avoid repetition, these will not be described again here.

[0119] It is understood that in the specific implementation of this application, data related to user identity or characteristics is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0120] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A method of calculating electric power of a hybrid system, characterized by, The hybrid system includes a plurality of first batteries and a plurality of second batteries connected in series, wherein the voltage of the second batteries has an approximately linear relationship with the remaining charge, and the method includes: Collect the first voltage of the second battery when the hybrid system is fully charged and the second voltage of the second battery when the hybrid system is depleted; Determine the first charge value of the second battery at the first voltage and the second charge value of the second battery at the second voltage; A third charge value of the second battery is obtained based on the current voltage of the second battery. A fourth charge value of the second battery is obtained by mapping the first charge value, the second charge value, and the third charge value. The fourth charge value is the charge value of the hybrid system.

2. The power calculation method according to claim 1, characterized in that, The first battery is a lithium battery, and the second battery is a sodium battery.

3. The power calculation method according to claim 1 or 2, characterized in that, The total voltage of a number of the first batteries and a number of the second batteries connected in series is within a preset operating voltage range.

4. The power calculation method according to claim 2, characterized in that, The hybrid system also includes a clamping circuit connected in parallel with the second battery. The clamping circuit is used to clamp the voltage of the second battery so that the voltage of the second battery does not exceed a preset voltage threshold.

5. The power calculation method according to claim 4, characterized in that, The clamping circuit includes a switch and a resistor connected in series. When the voltage of the second battery reaches the preset voltage threshold, the switch is turned on.

6. The power calculation method according to claim 1, characterized in that, The hybrid system being fully charged includes the total voltage of the hybrid system reaching the upper limit voltage, or the first battery being fully charged. The term "hybrid system depletion" refers to the total voltage of the hybrid system reaching a lower limit voltage, or the first battery becoming depleted.

7. The power calculation method according to claim 1 or 6, characterized in that, The process of obtaining a third charge value for the second battery based on its current voltage, and mapping the first charge value, the second charge value, and the third charge value to obtain a fourth charge value for the second battery, includes: The third electrical quantity value is determined based on the current voltage and the linear relationship; The first power range formed by the first power value and the second power value is mapped to the preset power range of the hybrid system to obtain a mapping relationship; Based on the third energy value and the mapping relationship, the fourth energy value of the hybrid system is determined.

8. The power calculation method according to claim 7, characterized in that, Also includes: During the charging process, the third energy value is corrected based on a preset extended Kalman filter model, and the observation noise covariance of the extended Kalman filter model is dynamically adjusted based on the charging current.

9. The power calculation method according to claim 7, characterized in that, Also includes: Obtain a first aging parameter of the first battery and a second aging parameter of the second battery. The first aging parameter is used to characterize the aging degree of the first battery, and the second aging parameter is used to characterize the aging degree of the second battery. Based on the first aging parameter and the second aging parameter, determine the aging difference factor; Based on the aging difference factor, the first electrical range is expanded or contracted to update the mapping relationship.

10. A hybrid system, characterized in that, include: The first battery and the second battery, wherein the voltage of the second battery has an approximately linear relationship with the remaining charge; A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1-9.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-9.