A parallel battery management method, device, electronic device and storage medium
By determining the environmental status and working condition mode in the electric-assisted bicycle, obtaining the battery voltage status, and formulating a load balancing strategy, the problem of inconsistent battery capacity between batteries is solved, balancing charging and discharging between batteries is achieved, and the output power stability and battery life of the electric-assisted bicycle are improved.
Patent Information
- Application Number
- CN202411622103.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-14
AI Technical Summary
In electric power bicycles connected in parallel with multiple batteries, the power supply between batteries is inconsistent, resulting in limited output power, affecting the riding experience and battery life.
By determining the environmental state and working condition mode of the electric power bicycle, obtaining the source voltage and drain voltage of the battery detection unit, determining the working condition of the battery, and formulating a load balancing strategy based on the working condition and working condition mode to achieve battery balancing between batteries.
Through an adaptive load balancing strategy, we ensure battery balance between batteries, improve the output power stability of the electric power bicycle, extend the battery life, and improve the riding experience.
Smart Images

Figure CN119142209B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a parallel battery management method, device, electronic equipment and storage medium. Background Art
[0002] With the development of motor and battery technology, electric-assisted bicycles came into being. Electric-assisted bicycles are different from traditional two-wheeled electric vehicles. They are small in size, light in weight, and can be driven by both human power and electricity. The electric-assisted components on electric-assisted bicycles can provide additional electric assistance when users are riding, helping users cope with various road conditions.
[0003] In some electric-assisted bicycle solutions, in order to ensure technical indicators such as modularity, battery life, and charging and discharging efficiency, multiple batteries in parallel are used as a solution. During charging and discharging, the parallel batteries can provide the input and output power required by the user. However, in the solution of multiple batteries in parallel, the charging and discharging levels of the batteries may be inconsistent. The inconsistent power limits the output power, which may result in the failure to provide the power required by the user during riding, and will also affect the battery life. Summary of the invention
[0004] The problem solved by the present invention is how to perform energy management on parallel batteries to balance the power among the batteries.
[0005] In order to solve the above problems, the present invention provides a parallel battery management method, which is applied to an electric-assisted bicycle, wherein the batteries of the electric-assisted bicycle are connected in parallel, and the parallel battery management method comprises:
[0006] Determining the environmental state of the electric-assisted bicycle;
[0007] Determining a working mode of the electric-assisted bicycle according to the environmental state;
[0008] Acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used to detect a working state of the battery;
[0009] Determine the working status of all batteries according to the source voltage and the drain voltage;
[0010] A load balancing strategy for the batteries is determined according to the working states and the working modes of all the batteries.
[0011] Optionally, determining the environmental state of the electric-assisted bicycle includes:
[0012] Obtaining a static acceleration component of the electric-assisted bicycle when it is static;
[0013] Acquiring a current acceleration of the electric-assisted bicycle, and when the current acceleration is less than a first acceleration threshold, determining a gravity acceleration component according to a static acceleration component;
[0014] The slope angle of the electric-assisted bicycle is determined according to the gravity acceleration component, and the environmental state is determined according to the slope angle, wherein the environmental state includes a first environmental state and a second environmental state, the first environmental state includes uphill and complex road sections, and the second environmental state includes downhill and flat roads.
[0015] Optionally, determining the operating mode of the electric-assisted bicycle according to the environmental state includes:
[0016] Acquiring a control signal, wherein the control signal includes at least one of a mode switching signal, a braking signal, and a driving signal;
[0017] When the control signal is a mode switching signal, the driving mode of the electric-assisted bicycle is switched to a target mode indicated by the mode switching signal; when the target mode is a first mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to a first operating mode, wherein the first operating mode includes: the motor determines the output torque according to the driving signal;
[0018] When the target mode is the second mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to the second operating mode, and the second operating mode includes: the motor outputs at a maximum torque.
[0019] Optionally, determining the operating mode of the electric-assisted bicycle according to the environmental state includes:
[0020] When the control signal is a braking signal, a target braking acceleration is determined according to the braking signal; when the target braking acceleration is higher than a preset braking acceleration, the operating mode is switched to a third operating mode, wherein the third operating mode includes: charging the battery through a kinetic energy recovery module, and performing joint braking through a kinetic energy recovery module and a braking module; when the target braking acceleration is less than or equal to the preset braking acceleration, the operating mode is switched to a fourth operating mode, wherein the fourth operating mode includes: charging the battery through a kinetic energy recovery module;
[0021] When the control signal is a driving signal, the target driving acceleration is determined according to the driving signal; when the target driving acceleration is higher than the preset driving acceleration, the operating mode is switched to the second operating mode; when the target driving acceleration is less than or equal to the preset driving acceleration, the operating mode is switched to the first operating mode.
[0022] Optionally, determining the working status of all batteries according to the source voltage and the drain voltage includes:
[0023] Acquiring the source voltage and the drain voltage of the detection unit;
[0024] Determining whether the source voltage is greater than the drain voltage, and if the source voltage is less than or equal to the drain voltage, determining the working state of the battery to be a low power consumption state;
[0025] If the source voltage is greater than the drain voltage, the working state of the battery is determined to be a normal operating state.
[0026] Optionally, after determining the working state of the battery as a normal operating state, the method further includes:
[0027] The source voltage and the drain voltage are subtracted to obtain a voltage difference value, and when the voltage difference value is greater than a preset voltage difference, the working state is determined as a waiting-for-balancing operation state;
[0028] When the pressure difference value is less than or equal to the preset pressure difference, the working state is determined as the normal operating state.
[0029] Optionally, the determining of a load balancing strategy for batteries according to the working states and the working modes of all batteries includes:
[0030] When the operating mode is the first operating mode, the batteries in the working state to be balanced are discharged until all the batteries are in the normal operating state;
[0031] When the operating mode is the second operating mode, all batteries are discharged together, and the battery whose working state is the to-be-balanced operating state is discharged according to a preset discharge strategy, wherein the preset discharge strategy includes determining a discharge power according to the magnitude of the pressure difference value, and the pressure difference value is positively correlated with the discharge power;
[0032] When the operating mode is the third operating mode, all batteries are charged together, and the battery in the normal operating state is charged according to a preset charging strategy, wherein the preset charging strategy includes determining the charging power according to the magnitude of the pressure difference value, and the pressure difference value is negatively correlated with the charging power;
[0033] When the operating mode is the fourth operating mode, the battery in the normal operating state is charged.
[0034] In a second aspect, the present invention further provides a parallel battery management device, which is applied to an electric-assisted bicycle, wherein the batteries of the electric-assisted bicycle are connected in parallel, and comprises:
[0035] An environment determination module, used to determine the environment state of the electric-assisted bicycle;
[0036] A mode determination module, used for determining the working mode of the electric-assisted bicycle according to the environmental state;
[0037] An acquisition module, used for acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used for detecting a working state of the battery;
[0038] A state determination module, used to determine the working state of all batteries according to the source voltage and the drain voltage;
[0039] The balancing module is used to determine the load balancing strategy of the battery according to the working status and the working mode of all the batteries.
[0040] In a third aspect, the present invention further provides an electronic device, comprising a memory and a processor;
[0041] The memory is used to store computer programs;
[0042] The processor is used to implement the parallel battery management method as described above when executing the computer program.
[0043] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the parallel battery management method as described above is implemented.
[0044] The beneficial effects of the parallel battery management method of the present invention are:
[0045] By determining the environmental state of the electric-assisted bicycle and determining the working mode based on the environmental state, the electric-assisted bicycle can adaptively determine the load balancing strategy according to different environmental states when implementing the battery load balancing strategy; the working mode can comprehensively consider the working conditions of different components in the electric-assisted bicycle and determine the load balancing strategy that is more suitable for the current working conditions; the source voltage and drain voltage of the detection unit are obtained, and the working state of the corresponding battery is determined according to the magnitude of the source voltage and the drain voltage, wherein the working mode is used to affect the strategy of the battery's charge and discharge efficiency; the working state is used to affect the strategy of the battery's charge and discharge mode. By determining the battery's load balancing strategy based on both the charge and discharge efficiency and the charge and discharge mode, the battery's charge and discharge can be actively intervened more accurately to balance the charge between batteries. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of a parallel battery management method according to an embodiment of the present invention;
[0047] Figure 2 An exemplary diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0049] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0050] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0051] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0052] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0053] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a parallel battery management method, device, electronic device and storage medium.
[0054] like Figure 1As shown, a parallel battery management method provided by an embodiment of the present invention is applied to an electric-assisted bicycle, and the parallel battery management method includes:
[0055] Step S100, determining the environmental state of the electric-assisted bicycle.
[0056] Since electric-assisted bicycles are light in weight, small in size, and have a flexible power mode, they are widely applicable. They can be driven on both paved and unpaved roads. The road conditions are complex, and the working modes required for each road condition are also different. The embodiment of the present invention preliminarily determines the environment in which the electric-assisted bicycle is located by determining the environmental state in which the electric-assisted bicycle is located, and further determines the working modes of the motor and the battery according to the environment to better manage the energy of the battery. For example, when the environmental state is uphill or complex road conditions, the motor requires a higher output power or greater torque, and it needs to dispatch the battery together to meet the power demand; when the environmental state is downhill or flat, the output pressure of the motor is not large, and the battery management strategy can be more biased towards balanced discharge.
[0057] Step S200: determining the operating mode of the electric-assisted bicycle according to the environmental state.
[0058] In one embodiment, the operating mode required for the electric-assisted bicycle is determined according to the objective environmental state, wherein the operating mode includes the operating mode of the motor, battery or other components of the electric-assisted bicycle to better manage the battery. For example, during acceleration, the motor drives the wheel output, and the battery needs to discharge. During rapid acceleration, the motor needs to drive the wheel output with high power, and all batteries need to discharge together to meet the required power. During deceleration, the motor does not drive the wheel output, and the kinetic energy recovery module works at this time to convert kinetic energy into electrical energy and store it in the battery. During rapid deceleration, if the kinetic energy recovery module cannot independently meet the braking demand, it needs to brake together with the braking module to meet the deceleration demand.
[0059] Step S300, obtaining a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit includes a transistor, and the transistor is used to detect a working state of the battery.
[0060] In one embodiment, the electric-assisted bicycle has a plurality of batteries connected in parallel, and each battery has a corresponding battery detection unit for detecting the current state of the battery, including current, voltage, temperature, etc.
[0061] Specifically, in the circuit, the battery detection unit includes a MOSFET tube, and the source, gate, and drain of the MOSFET tube are electrically connected to the ideal diode controller respectively. The ideal diode controller is used to determine the input and output current of the corresponding battery through the voltage difference between the source and the gate, thereby controlling the input and output power of the battery.
[0062] Step S400, determining the working status of all batteries according to the source voltage and the drain voltage.
[0063] In one embodiment, the working state of the corresponding battery is determined by the source voltage and the drain voltage, and the battery power can be determined based on the working state; the working state of all batteries is obtained in the same way, and the input and output power of the battery is determined according to the battery power, thereby realizing a balanced charge and discharge strategy for the battery.
[0064] Step S500: determining a load balancing strategy for batteries according to the working states and the working modes of all batteries.
[0065] In one embodiment, the operating mode is used to influence the strategy of battery charge and discharge efficiency; the working state is used to influence the strategy of battery charge and discharge mode. By determining the load balancing strategy of the battery based on both the charge and discharge efficiency and the charge and discharge mode, the charge and discharge of the battery can be actively intervened more accurately, which can avoid the occurrence of imbalance when the battery power is balanced, and can also ensure the user's riding experience and protect the battery when the battery power is uneven.
[0066] In this embodiment, by determining the environmental state of the electric-assisted bicycle and determining the working mode according to the environmental state, the electric-assisted bicycle can adaptively determine the load balancing strategy according to different environmental states when implementing the battery load balancing strategy; the working mode can comprehensively consider the working conditions of different components in the electric-assisted bicycle and determine a load balancing strategy that is more suitable for the current working conditions; the source voltage and drain voltage of the battery detection unit are obtained, and the working state of the battery is determined according to the obtained voltage. The working mode is used to affect the strategy of the battery charging and discharging efficiency; the working state is used to affect the strategy of the battery charging and discharging mode. By determining the battery load balancing strategy in terms of both charging and discharging efficiency and charging and discharging mode, the battery charging and discharging can be actively intervened more accurately to balance the power between batteries.
[0067] Optionally, determining the environmental state of the electric-assisted bicycle includes:
[0068] Obtain a static acceleration component of the electric-assisted bicycle when it is static.
[0069] The current acceleration of the electric-assisted bicycle is acquired, and when the current acceleration is less than a first acceleration threshold, a gravity acceleration component is determined according to a static acceleration component.
[0070] The slope angle of the electric-assisted bicycle is determined according to the gravity acceleration component, and the environmental state is determined according to the slope angle, wherein the environmental state includes a first environmental state and a second environmental state, the first environmental state includes uphill and complex road sections, and the second environmental state includes downhill and flat roads.
[0071] Specifically, the current acceleration of the electric-assisted bicycle is determined based on the six-axis gyroscope, and determining the gravity acceleration component requires that the current acceleration component is less than a first acceleration threshold. If the current acceleration is less than the first acceleration threshold, the gravity acceleration component can be determined based on the static acceleration component, and thus the slope angle of the current electric-assisted bicycle is determined based on the gravity acceleration component, and then the environmental state is determined by the slope angle, wherein the first environmental state includes uphill and complex sections that require the motor to provide more output power, and the second environmental state includes flat roads or downhill sections that require relatively less output power.
[0072] Since electric-assisted bicycles are highly versatile, unpaved sections or more complex mountain sections must also be considered when setting environmental conditions. By determining whether the preset conditions are met within the preset time period, it can be further determined whether the current section is a complex section, and unique driving and braking strategies can be formulated for complex sections, thereby improving the accuracy of electric-assisted bicycle mode switching.
[0073] Optionally, determining the operating mode of the electric-assisted bicycle according to the environmental state includes:
[0074] Acquiring a control signal, wherein the control signal includes at least one of a mode switching signal, a braking signal, and a driving signal;
[0075] When the control signal is a mode switching signal, the driving mode of the electric-assisted bicycle is switched to a target mode indicated by the mode switching signal; when the target mode is a first mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to a first operating mode, wherein the first operating mode includes: the motor determines the output torque according to the driving signal;
[0076] When the target mode is the second mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to the second operating mode, and the second operating mode includes: the motor outputs at a maximum torque.
[0077] In one embodiment, the working mode of the electric-assisted bicycle can be changed under different conditions according to different control signals. When the control signal is a mode switching signal, the driving mode of the electric-assisted bicycle is changed according to the instruction of the control signal. When the target mode is the first mode, if the environmental state is uphill, complex road section, flat road or downhill, the motor determines the output torque by the driving force indicated by the driving signal; when the target mode is the second mode, the working mode is switched to the second working mode so that the motor outputs with maximum torque. Specifically, the user can actively switch modes according to needs. When actively switching to the first mode, the motor outputs power by the driving signal. When actively switching to the second mode, the motor outputs maximum torque for rapid driving.
[0078] Optionally, determining the operating mode of the electric-assisted bicycle according to the environmental state includes:
[0079] When the control signal is a braking signal, a target braking acceleration is determined according to the braking signal; when the target braking acceleration is higher than a preset braking acceleration, the operating mode is switched to a third operating mode, wherein the third operating mode includes: charging the battery through a kinetic energy recovery module, and performing joint braking through a kinetic energy recovery module and a braking module; when the target braking acceleration is less than or equal to the preset braking acceleration, the operating mode is switched to a fourth operating mode, wherein the fourth operating mode includes: charging the battery through a kinetic energy recovery module;
[0080] When the control signal is a driving signal, the target driving acceleration is determined according to the driving signal; when the target driving acceleration is higher than the preset driving acceleration, the operating mode is switched to the second operating mode; when the target driving acceleration is less than or equal to the preset driving acceleration, the operating mode is switched to the first operating mode.
[0081] When the control signal is a braking signal, the target braking acceleration is determined according to the braking signal, that is, the maximum braking acceleration expected to be achieved during braking. When the target braking acceleration is higher than the preset braking acceleration, it means that the current target braking acceleration is too large, and the kinetic energy recovery module cannot complete braking independently. The kinetic energy recovery module and the braking module are used to jointly brake, and the recovered kinetic energy is converted into electrical energy and stored in the battery. When the target braking acceleration is less than or equal to the preset braking acceleration, it means that the kinetic energy recovery module can complete braking independently, and the operating mode is switched to the fourth operating mode. The kinetic energy recovery module is used to recover kinetic energy, and the kinetic energy is converted into electrical energy and stored in the battery.
[0082] When the control signal is a driving signal, the target driving acceleration is determined according to the driving signal, that is, the maximum driving acceleration expected to be achieved during driving. When the target driving acceleration is higher than the preset driving acceleration, it means that the current target driving acceleration is too large and the required power is correspondingly large. The operating mode is switched to the second operating mode to meet the larger driving power. When the target driving acceleration is less than or equal to the preset driving acceleration, the operating mode is switched to the first operating mode and the driving force is determined according to the driving signal.
[0083] Optionally, determining the working status of all batteries according to the source voltage and the drain voltage includes:
[0084] Acquiring the source voltage and the drain voltage of the detection unit;
[0085] Determining whether the source voltage is greater than the drain voltage, and if the source voltage is less than or equal to the drain voltage, determining the working state of the battery to be a low power consumption state;
[0086] If the source voltage is greater than the drain voltage, the working state of the battery is determined to be a normal operating state.
[0087] In one embodiment, the battery power is determined by judging the magnitude of the source voltage and the drain voltage. When the source voltage is less than or equal to the drain voltage, the battery is in a low power state, and the working state of the battery is determined to be a low power state. In the low power state, other batteries are discharged first. When all batteries are in a low power state, all batteries are discharged together.
[0088] When the source voltage is greater than the drain voltage, the battery can provide full power output, the working state of the battery is determined to be a normal operating state, and the battery in the normal operating state is discharged preferentially.
[0089] Optionally, after determining the working state of the battery as a normal operating state, the method further includes:
[0090] The source voltage and the drain voltage are subtracted to obtain a voltage difference value, and when the voltage difference value is greater than a preset voltage difference, the working state is determined as a waiting-for-balancing operation state;
[0091] When the pressure difference value is less than or equal to the preset pressure difference, the working state is determined as the normal operating state.
[0092] In one embodiment, the source voltage and the drain voltage are subtracted. The larger the voltage difference is, the higher the power of the battery can be. When the voltage difference is greater than the preset voltage difference, it means that the voltage difference of the battery exceeds the normal range and needs to be balanced. The working state is determined as the waiting for balanced operation state. When discharging, the discharge power of the battery needs to exceed the battery power of the normal operating state. When there is a voltage difference, but the voltage difference is less than or equal to the preset voltage difference, it means that the voltage difference is still in the normal range, and the working state is determined as the normal operating state.
[0093] Optionally, the determining of a load balancing strategy for batteries according to the working states and the working modes of all batteries includes:
[0094] When the operating mode is the first operating mode, the batteries in the working state to be balanced are discharged until all the batteries are in the normal operating state;
[0095] When the operating mode is the second operating mode, all batteries are discharged together, and the battery whose working state is the to-be-balanced operating state is discharged according to a preset discharge strategy, wherein the preset discharge strategy includes determining a discharge power according to the magnitude of the pressure difference value, and the pressure difference value is positively correlated with the discharge power;
[0096] When the operating mode is the third operating mode, all batteries are charged together, and the battery in the normal operating state is charged according to a preset charging strategy, wherein the preset charging strategy includes determining the charging power according to the magnitude of the pressure difference value, and the pressure difference value is negatively correlated with the charging power;
[0097] When the operating mode is the fourth operating mode, the battery in the normal operating state is charged.
[0098] When the working mode is the first working mode, it means that the current electric power-assisted bicycle does not need the highest power output, then the battery in the state of balanced operation can be used for discharge first, which can meet most of the power output requirements under the first working condition, and all batteries can enter the normal operating state at the fastest speed. When the working mode is the second working mode, all batteries are discharged together to meet the high power output requirements, and the battery in the working state of balanced operation is discharged first. Specifically, the preset discharge strategy includes taking the size of the pressure difference value as an indicator affecting the discharge power. For example, when the pressure difference of the first battery with the largest pressure difference value is 50mV and the second battery with the smallest pressure difference value is 30mV, the output power of the first battery is higher than the output power of the second battery. The output power of the second battery is slightly greater than the output power of the battery in the normal operating state, and its specific value can be determined according to specific needs. For example, the output power of the battery in the normal operating state is 40 watts, then in this embodiment, the output power of the second battery is 45 watts, and the output power of the first battery is 70 watts, and the output power of the first battery and the output power of the second battery are proportional to the pressure difference value.
[0099] When the operating mode is the third operating mode, it means that the braking demand is strong and the kinetic energy recovery power is high under the current circumstances, then all batteries will be charged to prevent the charging power of a single battery from being too high and affecting the battery life. The preset charging strategy is similar to the preset discharging strategy, with the pressure difference as an indicator affecting the charging power. The charging power of the battery in normal operating state is slightly higher than the power of the battery in the balanced operating state, and its specific value can be determined according to specific needs. Through the preset charging strategy and the preset discharging strategy, the input and output requirements under different operating modes can be met, and the battery power can be balanced more quickly.
[0100] A parallel battery management device provided in an embodiment of the present invention is applied to an electric-assisted bicycle, wherein the batteries of the electric-assisted bicycle are connected in parallel, and comprises:
[0101] An environment determination module, used to determine the environment state of the electric-assisted bicycle;
[0102] A mode determination module, used for determining the working mode of the electric-assisted bicycle according to the environmental state;
[0103] An acquisition module, used for acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used for detecting a working state of the battery;
[0104] A state determination module, used to determine the working state of all batteries according to the source voltage and the drain voltage;
[0105] The balancing module is used to determine the load balancing strategy of the battery according to the working status and the working mode of all the batteries.
[0106] like Figure 2 As shown, an electronic device 200 provided by an embodiment of the present invention includes a memory 210 and a processor 220; the memory 210 is used to store a computer program; the processor 220 is used to implement the parallel battery management method as described above when executing the computer program.
[0107] In other words, an electronic device 200 includes a memory 210 and a processor 220 coupled to the memory 210; the memory 210 is configured to store a computer program; and the processor 220 is configured to perform the following operations when executing the computer program:
[0108] Determining the environmental state of the electric-assisted bicycle;
[0109] Determining a working mode of the electric-assisted bicycle according to the environmental state;
[0110] Acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used to detect a working state of the battery;
[0111] Determine the working status of all batteries according to the source voltage and the drain voltage;
[0112] A load balancing strategy for the batteries is determined according to the working states and the working modes of all the batteries.
[0113] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the parallel battery management method as described above is implemented.
[0114] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:
[0115] Determining the environmental state of the electric-assisted bicycle;
[0116] Determining a working mode of the electric-assisted bicycle according to the environmental state;
[0117] Acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used to detect a working state of the battery;
[0118] Determine the working status of all batteries according to the source voltage and the drain voltage;
[0119] A load balancing strategy for the batteries is determined according to the working states and the working modes of all the batteries.
[0120] An electronic device 200 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 200 is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 200 can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.
[0121] The electronic device 200 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0122] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0123] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A parallel battery management method, characterized in that: Applied to an electric-assisted bicycle, the batteries of the electric-assisted bicycle are connected in parallel, and the parallel battery management method includes: Determining the environmental state of the electric-assisted bicycle; Determining a working mode of the electric-assisted bicycle according to the environmental state; Acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used to detect a working state of the battery; Determine the working status of all batteries according to the source voltage and the drain voltage; Determine a load balancing strategy for the batteries according to the working states and the working modes of all the batteries; Determining the working mode of the electric-assisted bicycle according to the environmental state includes: Acquiring a control signal, wherein the control signal includes at least one of a mode switching signal, a braking signal, and a driving signal; When the control signal is a mode switching signal, the driving mode of the electric-assisted bicycle is switched to a target mode indicated by the mode switching signal; when the target mode is a first mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to a first operating mode, wherein the first operating mode includes: the motor determines the output torque according to the driving signal; When the target mode is the second mode and the environmental state is the first environmental state or the second environmental state, the operating mode is switched to the second operating mode, wherein the second operating mode includes: the motor outputs at a maximum torque; Determining the working mode of the electric-assisted bicycle according to the environmental state includes: When the control signal is a braking signal, a target braking acceleration is determined according to the braking signal; when the target braking acceleration is higher than a preset braking acceleration, the operating mode is switched to a third operating mode, wherein the third operating mode includes: charging the battery through a kinetic energy recovery module, and performing joint braking through a kinetic energy recovery module and a braking module; when the target braking acceleration is less than or equal to the preset braking acceleration, the operating mode is switched to a fourth operating mode, wherein the fourth operating mode includes: charging the battery through a kinetic energy recovery module; When the control signal is a driving signal, a target driving acceleration is determined according to the driving signal, and when the target driving acceleration is higher than a preset driving acceleration, the operating mode is switched to the second operating mode; when the target driving acceleration is less than or equal to the preset driving acceleration, the operating mode is switched to the first operating mode; Determining the working status of all batteries according to the source voltage and the drain voltage includes: Acquiring the source voltage and the drain voltage of the detection unit; Determining whether the source voltage is greater than the drain voltage, and if the source voltage is less than or equal to the drain voltage, determining the working state of the battery to be a low power consumption state; If the source voltage is greater than the drain voltage, determining the working state of the battery as a normal operating state; After determining the working state of the battery as a normal operating state, the method further includes: The source voltage and the drain voltage are subtracted to obtain a voltage difference value, and when the voltage difference value is greater than a preset voltage difference, the working state is determined as a waiting-for-balancing operation state; When the pressure difference value is less than or equal to the preset pressure difference, determining the working state as the normal operating state; The step of determining a load balancing strategy for batteries according to the working states and the working modes of all batteries includes: When the operating mode is the first operating mode, the batteries in the working state to be balanced are discharged until all the batteries are in the normal operating state; When the operating mode is the second operating mode, all batteries are discharged together, and the battery whose working state is the to-be-balanced operating state is discharged according to a preset discharge strategy, wherein the preset discharge strategy includes determining a discharge power according to the magnitude of the pressure difference value, and the pressure difference value is positively correlated with the discharge power; When the operating mode is the third operating mode, all batteries are charged together, and the battery in the normal operating state is charged according to a preset charging strategy, wherein the preset charging strategy includes determining the charging power according to the magnitude of the pressure difference value, and the pressure difference value is negatively correlated with the charging power; When the operating mode is the fourth operating mode, the battery in the normal operating state is charged.
2. The parallel battery management method according to claim 1, characterized in that: Determining the environmental state of the electric-assisted bicycle includes: Obtaining a static acceleration component of the electric-assisted bicycle when it is static; Acquire the current acceleration of the electric-assisted bicycle, and when the current acceleration is less than a first acceleration threshold, determine the gravity acceleration component according to the static acceleration component; The slope angle of the electric-assisted bicycle is determined according to the gravity acceleration component, and the environmental state is determined according to the slope angle, wherein the environmental state includes a first environmental state and a second environmental state, the first environmental state includes uphill and complex road sections, and the second environmental state includes downhill and flat roads.
3. A parallel battery management device, characterized in that: The method is used to implement the parallel battery management method as claimed in claim 1, and is applied to an electric-assisted bicycle, wherein the batteries of the electric-assisted bicycle are connected in parallel, and comprises: An environment determination module, used to determine the environment state of the electric-assisted bicycle; A mode determination module, used for determining the working mode of the electric-assisted bicycle according to the environmental state; An acquisition module, used for acquiring a source voltage and a drain voltage of a detection unit of a battery of the electric-assisted bicycle, wherein the detection unit comprises a transistor, and the transistor is used for detecting a working state of the battery; A state determination module, used to determine the working state of all batteries according to the source voltage and the drain voltage; The balancing module is used to determine the load balancing strategy of the battery according to the working status and the working mode of all the batteries.
4. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the parallel battery management method as claimed in claim 1 or 2 when executing the computer program.
5. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the parallel battery management method as claimed in claim 1 or 2 is implemented.
Citation Information
Patent Citations
Intelligent multi-mode electric energy recovery and management system
CN118478749A