Power battery anti-floating charge method, electronic equipment and storage medium
By setting the anti-float charge flag in the power battery system and adjusting the charging strategy according to the state of charge, the problem of repeated charging of the power battery in the high state of charge is solved, reducing the risk of overcharging, and improving the charging safety and service life of the battery.
Patent Information
- Application Number
- CN202310288112.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-03-22
AI Technical Summary
The power battery is repeatedly charged within the high-charge state interval, resulting in the risk of overcharging and affecting battery performance and safety.
In response to the charging command, the first flag of the anti-float charging flag is determined, if it is the true value, the charging is stopped and a reminder is generated, if it is the false value, the charging process is performed, and the flag is adjusted when the full-charge state is detected to ensure that the battery avoids repeated charging in the high-charge state interval.
Reduces the risk of overcharging, improves the charging safety of the power battery, extends the battery life and avoids false reminders.
Smart Images

Figure CN116278832B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power batteries, and in particular to a power battery anti-floating charge method, electronic equipment, and storage medium. Background Art
[0002] Electric vehicles are powered by an onboard power source, with motors driving the wheels. Power batteries provide the electric vehicle with electrical energy. After the power battery is consumed, it can be recharged to replenish the energy.
[0003] After the power battery is fully charged, the power level will decrease due to consumption by the external load. If the charging process is entered again when the power level decreases less, the power battery will be repeatedly charged in the high power range, posing a risk of overcharging. Irreversible damage will occur to the interior of the power battery, seriously damaging the power battery performance and affecting the safety and life of the power battery. Summary of the Invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a power battery anti-floating charge method, electronic equipment and storage medium to solve the problem of repeated charging of the power battery in a high state of charge range, reduce the risk of overcharging, and improve the charging safety of the power battery.
[0005] The present invention provides a method for preventing floating charge of a power battery, comprising:
[0006] In response to a charging instruction, determining a first flag corresponding to an anti-floating charge flag;
[0007] If the first flag is a true value, stopping charging the power battery, generating an anti-floating charge reminder, and sending the anti-floating charge reminder to a target module;
[0008] If the first flag is a false value, the power battery is charged, and when it is detected that the charge state of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value.
[0009] Optionally, after stopping charging the power battery, generating an anti-floating charge reminder, and sending the anti-floating charge reminder to a target module, the method further includes:
[0010] Obtain the state of charge of the power battery. If the state of charge drops to a preset power level, adjust the first flag to a false value, and charge the power battery. When it is detected that the state of charge of the power battery is fully charged, adjust the second flag corresponding to the full charge flag to a true value, and adjust the first flag corresponding to the anti-floating charge flag to a true value.
[0011] Optionally, after adjusting the second flag corresponding to the full charge flag bit to a true value, the method further includes:
[0012] The state of charge of the power battery is obtained, and if the state of charge is not fully charged, the second flag is adjusted to a false value.
[0013] Optionally, also include:
[0014] When the power battery is fully charged, determining the state of charge of the power battery is fully charged, and determining the full charge quantity of the power battery when fully charged;
[0015] The preset power is determined according to the full charge power and the difference between the full charge power and the preset charge power.
[0016] Optionally, also include:
[0017] Determine the state of charge of the power battery in real time based on a preset state of charge detection algorithm;
[0018] Among them, the state of charge determined by the preset state of charge detection algorithm does not change after software flashing, power-on and power-off; the state of charge determined by the preset state of charge detection algorithm changes smoothly; the state of charge determined by the preset state of charge detection algorithm is prohibited from rising during the discharge process of the power battery and is prohibited from falling during the charging process of the power battery; the state of charge determined by the preset state of charge detection algorithm remains unchanged when the charge and discharge current is zero.
[0019] Optionally, also include:
[0020] In response to the stop charging instruction, charging of the power battery is stopped, and the first flag corresponding to the anti-floating charge flag and the second flag corresponding to the full charge flag are kept unchanged.
[0021] Optionally, before responding to the charging instruction, the method further includes:
[0022] When detecting that the charging gun is inserted, generating the charging instruction;
[0023] Accordingly, before responding to the instruction to stop charging, the method further includes:
[0024] When it is detected that the charging gun is pulled out, the charging stop instruction is generated.
[0025] Optionally, also include:
[0026] Determine the number of changes of the first flag corresponding to the anti-floating charge flag within a preset time;
[0027] If the number of changes exceeds a preset number, a repeated charging reminder is generated and sent to the target module.
[0028] The application embodiment further provides an electronic device, comprising:
[0029] processor and memory;
[0030] The processor is configured to execute the steps of the power battery anti-floating charge method described in any embodiment of the present application by calling the program or instruction stored in the memory.
[0031] An embodiment of the present application further provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of the power battery anti-floating charge method described in any embodiment.
[0032] In summary, the present application proposes a method for preventing floating charge of a power battery, which determines the first flag corresponding to the anti-floating charge flag in response to a charging instruction. If the first flag is a true value, the power battery is stopped from being charged, an anti-floating charge reminder is generated, and the anti-floating charge reminder is sent to the target module to prevent the power battery from being repeatedly charged in a high power range. If the first flag is a false value, the power battery is charged, and when it is detected that the charge state of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value, so as to accurately adjust the first flag and the second flag, thereby solving the problem of repeated charging of the power battery in a high charge state range, reducing the risk of overcharging, and improving the charging safety of the power battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a flow chart of a method for preventing floating charge of a power battery provided in an embodiment of the present application;
[0034] Figure 2 This is a flow chart of another method for preventing floating charge of a power battery provided in an embodiment of the present application;
[0035] Figure 3 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the relevant invention and are not intended to limit the invention. It should also be noted that, for ease of description, only portions relevant to the invention are shown in the accompanying drawings.
[0037] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0038] As mentioned in the background technology, in response to the problems in the existing technology, this application proposes a method for preventing floating charge of power batteries, which solves the problem of repeated charging of power batteries in a high state of charge range, reduces the risk of overcharging, and improves the charging safety of power batteries.
[0039] Figure 1 This is a flow chart of a method for preventing floating charge of a power battery provided by an embodiment of the present application. Figure 1 The power battery anti-floating charge method specifically includes:
[0040] S110 : In response to a charging instruction, determine a first flag corresponding to an anti-floating charge flag.
[0041] The charging instruction may be an instruction for triggering charging of the vehicle's power battery. The anti-floating charge flag may be a pre-set flag indicating whether the anti-floating charge function is activated, i.e., whether charging is controlled. The first flag is a specific flag value of the anti-floating charge flag, which may be a true value or a false value. It is understood that a true value indicates that the anti-floating charge function is triggered, and a false value indicates that the anti-floating charge function is not triggered.
[0042] Specifically, when a charging instruction is received, a response may be made to the charging instruction, and a value corresponding to the anti-floating charge flag is obtained and recorded as the first flag.
[0043] S120: If the first flag is a true value, stop charging the power battery, generate an anti-floating charge reminder, and send the anti-floating charge reminder to the target module.
[0044] The power battery can be the vehicle's driving force and the power source for various electronic devices within the vehicle. The anti-floating charge reminder can be used to remind the user that the battery is currently in a high state of charge range and that charging is prohibited. The reminder can be in the form of text, voice, animation, etc. The target module can be an on-board module for displaying the anti-floating charge reminder. For example, if the anti-floating charge reminder is a text reminder, the target module can be an instrument; if it is a voice reminder, the target module can be a speaker; if it is an animation reminder, the target module can be the on-board display screen.
[0045] Specifically, if the first flag is a true value, it indicates that the anti-floating charge function is triggered, that is, the current state of charge is in a higher state of charge range, and repeated charging will cause damage to the power battery. Therefore, the power battery is stopped from charging, and an anti-floating charge reminder is generated and sent to the target module, so that the anti-floating charge reminder is displayed through the target module to remind the user that the current state of charge of the power battery is high and charging is prohibited. For example: an anti-floating charge reminder message is sent to the instrument through the vehicle CAN (Controller Area Network) network, and the instrument displays a prompt "Because the current power battery SOC (State of Charge) is high, charging is prohibited", informing the user of the current vehicle situation and preventing complaints from car users.
[0046] S130. If the first flag is a false value, the power battery is charged, and when it is detected that the state of charge of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value.
[0047] The state of charge (SOC) is the current charge level of the power battery, expressed as the ratio of the current capacity to the total capacity of the power battery, and is usually expressed as a percentage. A full charge can be understood as a SOC of 100%. The full charge flag can be a pre-set flag that indicates whether the power battery is fully charged. The second flag is the specific flag value of the full charge flag, which can be a true value or a false value. It is understood that a true value indicates that the power battery is currently fully charged, and a false value indicates that the power battery is currently not fully charged.
[0048] Specifically, if the first flag is a false value, it indicates that the anti-floating charge function has not been triggered, that is, the current state of charge is not in a higher state of charge range and charging can be performed, so the power battery is charged. During the charging process, the state of charge of the power battery can be obtained. When the state of charge of the power battery is detected to be fully charged, it indicates that the power battery charging is complete and there is no need to continue charging. At this time, charging can be stopped, and the second flag corresponding to the full charge flag is adjusted to a true value to indicate that the power battery is currently fully charged. The first flag corresponding to the anti-floating charge flag is adjusted to a true value to trigger the anti-floating charge function, thereby avoiding the situation where charging continues after using a small amount of electricity.
[0049] Optionally, the state of charge of the power battery can be obtained in the following ways:
[0050] Based on the preset state of charge detection algorithm, the state of charge of the power battery is determined in real time.
[0051] The preset state of charge detection algorithm may be an algorithm for detecting the state of charge of a power battery.
[0052] Optionally, the state of charge determined by the preset state of charge detection algorithm does not change after software flashing, power-on, and power-off; the state of charge determined by the preset state of charge detection algorithm changes smoothly; the state of charge determined by the preset state of charge detection algorithm is prohibited from rising during the discharge process of the power battery and is prohibited from falling during the charging process of the power battery; the state of charge determined by the preset state of charge detection algorithm remains unchanged when the charge and discharge current is zero.
[0053] The above requirements for the preset state of charge detection algorithm are mainly to ensure that the anti-floating charge function can be activated stably and accurately to effectively protect the power battery.
[0054] Specifically, the preset state of charge detection algorithm can obtain battery parameters in real time and calculate the state of charge of the power battery, so as to facilitate the subsequent judgment of whether the power battery is fully charged and whether to trigger or release the anti-floating charge.
[0055] Optionally, you can determine whether there is a problem of repeated charging by the following methods:
[0056] Within a preset time, the number of changes of the first flag corresponding to the anti-floating charge flag is determined; if the number of changes exceeds the preset number, a repeated charging reminder is generated and sent to the target module.
[0057] The preset time can be a pre-set duration used to measure whether repeated charging is a problem. The number of changes can be the number of times the first flag changes, including changes from a true value to a false value or vice versa. The repeated charging reminder can be used to remind the user that repeated charging is currently occurring and to be careful to unplug the charging cable. The preset number of changes can be the maximum number of times the first flag changes during normal charging within a preset time.
[0058] Specifically, the number of changes of the first mark within a preset time is counted. When the number of changes exceeds the preset number, it can be determined that there is a problem of repeated charging. Therefore, a repeated charging reminder is generated and sent to the target module to enable the user to discover the problem in time and deal with it, such as immediately unplugging the charging gun.
[0059] The power battery anti-floating charge method provided in the embodiment of the present application determines the first flag corresponding to the anti-floating charge flag in response to a charging instruction. If the first flag is a true value, the power battery is stopped from being charged, an anti-floating charge reminder is generated, and the anti-floating charge reminder is sent to the target module to prevent the power battery from being repeatedly charged in a high power range. If the first flag is a false value, the power battery is charged, and when it is detected that the charge state of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value, so as to accurately adjust the first flag and the second flag, thereby solving the problem of repeated charging of the power battery in a high charge state range, reducing the risk of overcharging, and improving the charging safety of the power battery.
[0060] Figure 2 This is a flow chart of another method for preventing floating charge of a power battery provided by an embodiment of the present application. Based on the above embodiments, the processing of the anti-floating charge flag after stopping charging and the subsequent charging process and the processing of the full charge flag and the anti-floating charge flag after starting charging are exemplified. Figure 2 The power battery anti-floating charge method specifically includes:
[0061] S210 : In response to a charging instruction, determine a first flag corresponding to an anti-floating charge flag.
[0062] Optionally, after responding to the charging instruction and before determining the first flag corresponding to the anti-floating charge flag, the BMS (Battery Management System) may be initialized and a preliminary check may be performed to determine whether the charging conditions are met. Specifically, the initialization may be:
[0063] Initialize the battery management system, and after the initialization is completed, check whether there is a charging fault; if there is a charging fault, stop charging the power battery; if there is no charging fault, execute the step of determining the first flag corresponding to the anti-floating charge flag.
[0064] Among them, the battery management system can monitor the battery status in real time, manage the vehicle's power battery, enhance battery efficiency, prevent overcharge and overdischarge, and extend the battery life. A charging fault can be any fault that prevents charging.
[0065] Specifically, after responding to the charging instruction, the battery management system can be initialized to start the battery management system so that the battery management system can perform subsequent power battery management, etc. Furthermore, after the initialization is completed, the power battery and the vehicle are self-checked to determine whether there is a fault that hinders charging, that is, a charging fault. If there is a charging fault, the power battery on the vehicle cannot be charged, so the charging of the power battery is stopped. A fault reminder can also be generated to remind the user that charging is currently impossible due to a fault, so that the user can handle it in time. If there is no charging fault, it indicates that the subsequent step of determining the first flag corresponding to the anti-floating charge flag can be executed to determine whether charging is to be performed by judging the first flag.
[0066] S220 , determine whether the first flag is a true value, if so, execute S230 ; if not, execute S250 .
[0067] S230: Stop charging the power battery, generate an anti-floating charge reminder, send the anti-floating charge reminder to the target module, and execute S240.
[0068] S240, obtaining the state of charge of the power battery. If the state of charge drops to a preset power level, adjusting the first flag to a false value, and charging the power battery. When it is detected that the state of charge of the power battery is fully charged, adjusting the second flag corresponding to the full charge flag to a true value, and adjusting the first flag corresponding to the anti-floating charge flag to a true value, and executing S260.
[0069] Among them, the preset power level can be a pre-set power level for releasing the anti-floating charge function, such as: 97%, 95%, etc. The specific value can be set according to actual needs and is not specifically limited here.
[0070] Specifically, when the first flag is true, charging of the power battery is stopped and the power battery's state of charge is obtained. Because electronic devices within the vehicle consume electrical energy, causing the state of charge to decrease, when the state of charge decreases to a preset level, the first flag is adjusted to a false value, the anti-floating charge function is disabled, and the power battery is charged to full charge. Furthermore, when the power battery's state of charge is detected to be fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, indicating that the power battery is fully charged, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value, enabling the anti-floating charge function. It is understood that the anti-floating charge reminder can be disabled during the charging process to reduce false alerts.
[0071] Optionally, the preset power level can be determined by:
[0072] When the power battery is fully charged, the state of charge of the power battery is determined to be fully charged, and the full charge capacity of the power battery when fully charged is determined; and the preset capacity is determined based on the difference between the full charge capacity and the preset charge capacity.
[0073] The full charge capacity can be used to represent the charge stored when the power battery cannot be charged any further. The preset charge difference value can be the difference between the charge corresponding to the full charge and the charge when the first flag corresponding to the anti-floating charge flag is triggered.
[0074] Specifically, when the power battery is fully charged, the state of charge of the power battery is determined to be full, i.e., 100%. Furthermore, the charge stored in the power battery when fully charged, i.e., the full charge, can be determined. Since the charge corresponding to 100% is the full charge, the charge corresponding to the difference between the full charge and the preset charge can be determined, and the state of charge corresponding to this charge is set as the preset charge.
[0075] For example, let the full charge be C, the preset charge difference be C', then the preset charge is (C-C') / C.
[0076] S250, charging the power battery, and when detecting that the state of charge of the power battery is fully charged, adjusting the second flag corresponding to the full charge flag to a true value, and adjusting the first flag corresponding to the anti-floating charge flag to a true value, and executing S260.
[0077] S260: Obtain the state of charge of the power battery. If the state of charge is not fully charged, adjust the second flag to a false value.
[0078] Specifically, after the power battery is fully charged and the second flag corresponding to the full charge flag is true, the electronic equipment in the vehicle consumes power, resulting in a decrease in the state of charge, and the state of charge of the power battery is no longer fully charged. At this time, the second flag can be adjusted to a false value to indicate that the current power battery is not fully charged.
[0079] It is understandable that if the stop charging instruction is not received, the process may continue to return to S210 to continuously determine the first flag corresponding to the anti-floating charge flag and the current state of charge, and continue to charge the power battery. If the stop charging instruction is received, the following steps may be executed:
[0080] In response to the stop charging instruction, charging of the power battery is stopped, and the first flag corresponding to the anti-floating charge flag and the second flag corresponding to the full charge flag are kept unchanged.
[0081] The stop charging instruction may be an instruction for controlling the stop of charging of the power battery.
[0082] Specifically, when a stop charging instruction is received, the battery can respond to the stop charging instruction and stop charging the power battery. At this time, the first flag and the second flag should be kept unchanged to avoid affecting the next charging failure.
[0083] Based on the above example, the charging instruction and the charging stop instruction can be issued by detecting the status of the charging gun, which can be:
[0084] Before responding to the charging instruction, a charging instruction is generated when insertion of the charging gun is detected.
[0085] Among them, the charging gun can be used to charge the power battery of electric vehicles.
[0086] Specifically, when the charging gun is inserted into the corresponding interface, a charging gun insertion signal can be detected, and accordingly, a charging instruction can be generated to execute the step of determining whether to charge according to the first flag.
[0087] Before responding to the stop charging instruction, if it is detected that the charging gun is pulled out, a stop charging instruction is generated.
[0088] Specifically, when the charging gun is unplugged from the interface, a charging gun unplugging signal can be detected, and accordingly, a stop charging instruction can be generated to execute the step of stopping charging the power battery.
[0089] The power battery anti-floating charge method provided in the embodiment of the present application determines the first flag corresponding to the anti-floating charge flag bit in response to the charging instruction. If the first flag is a true value, the power battery is stopped from being charged, an anti-floating charge reminder is generated, and the anti-floating charge reminder is sent to the target module to obtain the state of charge of the power battery. If the state of charge drops to a preset power level, the first flag is adjusted to a false value, and the power battery is charged. When it is detected that the state of charge of the power battery is fully charged, the second flag corresponding to the full charge flag bit is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag bit is adjusted to a true value, so as to prevent the power battery from being charged at a high power level. The battery is repeatedly charged in the range and the first flag and the second flag are accurately adjusted according to the state of charge. If the first flag is a false value, the power battery is charged, and when it is detected that the state of charge of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value, so as to accurately adjust the first flag and the second flag, and then, obtain the state of charge of the power battery. If the state of charge is not fully charged, the second flag is adjusted to a false value, which solves the problem of repeated charging of the power battery in the high state of charge range, reduces the risk of overcharging, and improves the charging safety of the power battery.
[0090] Based on the above embodiment, another method for preventing floating charge of a power battery is provided, which specifically includes:
[0091] 1. After the BMS is awakened by the charging gun, it starts to initialize.
[0092] 2. After BMS initialization is completed, check whether the charging conditions are met and detect whether the anti-floating charge flag is set.
[0093] 3. If the BMS detects that the anti-floating charge flag is not set (the first flag corresponding to the anti-floating charge flag is a false value), charging is started according to the normal charging process to charge the power battery.
[0094] 4. If the BMS detects that the anti-floating charge flag is set (the first flag corresponding to the anti-floating charge flag is true), the charging process is exited. The BMS sends a message (anti-floating charge reminder) to the instrument and other related modules (target modules) through the vehicle CAN network based on the current anti-floating charge flag.
[0095] 5. After the meter receives the message and parses the anti-floating charge flag, it displays the prompt "Charging is prohibited due to the current high power battery SOC", informing the user that the current vehicle condition is: charging is prohibited due to anti-floating charge.
[0096] It should be noted that the BMS sets the anti-floating charge flag according to the following conditions:
[0097] (1) After the SOC reaches 100% (full charge), the BMS sets the full charge flag and the anti-floating charge flag at the same time (adjusting the second flag corresponding to the full charge flag to a true value and adjusting the first flag corresponding to the anti-floating charge flag to a true value).
[0098] (2) After the SOC reaches 100% (full charge), when the power battery is powered by high voltage, the displayed SOC drops by 3% (the state of charge drops to the preset power), the anti-floating charge flag is cleared (the first flag is adjusted to a false value), and the power battery is allowed to charge again.
[0099] It should also be noted that in order to ensure that the anti-floating charge strategy can effectively protect the battery, the display SOC algorithm has the following requirements:
[0100] (1) Before and after software flashing, the display SOC is not allowed to change;
[0101] (2) After the vehicle is powered on and off again, the SOC cannot jump. The displayed SOC needs to be smoothed and no jump is allowed (except for full charge correction);
[0102] (3) The SOC of the power battery is not allowed to increase during discharge (the current is positive), and the SOC of the power battery is not allowed to decrease during charging (the current is negative);
[0103] (4) When the power battery charge and discharge current is 0, the displayed SOC is not allowed to change.
[0104] When charging the power battery, whether using AC or DC charging, the anti-floating charge function can be triggered or released through the anti-floating charge flag.
[0105] The power battery anti-float charge method provided in the embodiments of the present application utilizes a battery management system based on a SOC algorithm to avoid the problem of repeated charging of the power battery in the high SOC range. This method can be implemented without any hardware changes, resulting in high reliability and low cost. Furthermore, by setting an anti-float charge strategy using an anti-float charge flag, the service life of the power battery can be extended and the risk of overcharging can be reduced. Furthermore, by setting the anti-float charge flag, the user is reminded that the vehicle cannot be charged, thus avoiding complaints.
[0106] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device 300 includes one or more processors 301 and a memory 302 .
[0107] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
[0108] The memory 302 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the power battery anti-floating charge method of any embodiment of the present application described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.
[0109] In one example, the electronic device 300 may further include an input device 303 and an output device 304, which are interconnected via a bus system and / or other connection mechanisms (not shown). The input device 303 may include, for example, a keyboard, a mouse, etc. The output device 304 may output various information to the outside, including warning information, braking force, etc. The output device 304 may include, for example, a display, a speaker, a printer, a communication network, and remote output devices connected thereto.
[0110] Of course, to simplify, Figure 3 Only some of the components related to the present application in the electronic device 300 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, the electronic device 300 may further include any other appropriate components according to specific application scenarios.
[0111] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the power battery anti-floating charge method provided in any embodiment of the present application.
[0112] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0113] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the power battery anti-floating charge method provided in any embodiment of the present application.
[0114] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0115] It should be noted that the terms used in this application are only for describing specific embodiments and are not intended to limit the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates an exception, the words "one", "an", "a kind of" and / or "the" do not specifically refer to the singular and may also include the plural. The terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "comprise a..." do not exclude the presence of other identical elements in the process, method or device comprising the elements.
[0116] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be a communication between the internal parts of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0117] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression, there are objectively infinite specific structures. For ordinary technicians in this technical field, without departing from the principles of the present invention, they can also make several improvements, modifications or changes, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.
Claims
1. A method for preventing floating charge of a power battery, characterized in that: include: In response to a charging instruction, determining a first flag corresponding to an anti-floating charge flag; If the first flag is true, stop charging the power battery, generate an anti-floating charge reminder, and send the anti-floating charge reminder to the target module; obtaining the state of charge of the power battery, and if the state of charge drops to a preset power level, adjusting the first flag to a false value and charging the power battery; and if it is detected that the state of charge of the power battery is fully charged, adjusting the second flag corresponding to the full charge flag to a true value and adjusting the first flag corresponding to the anti-floating charge flag to a true value; If the first flag is a false value, the power battery is charged, and when it is detected that the charge state of the power battery is fully charged, the second flag corresponding to the full charge flag is adjusted to a true value, and the first flag corresponding to the anti-floating charge flag is adjusted to a true value.
2. The method according to claim 1, characterized in that After adjusting the second flag corresponding to the full charge flag bit to a true value, the method further includes: The state of charge of the power battery is obtained, and if the state of charge is not fully charged, the second flag is adjusted to a false value.
3. The method according to claim 1, characterized in that Also includes: When the power battery is fully charged, determining the state of charge of the power battery is fully charged, and determining the full charge quantity of the power battery when fully charged; The preset power is determined according to the full charge power and the difference between the full charge power and the preset charge power.
4. The method according to claim 1, wherein Also includes: Determine the state of charge of the power battery in real time based on a preset state of charge detection algorithm; The state of charge determined by the preset state of charge detection algorithm does not change after software flashing, power-on, and power-off; the state of charge determined by the preset state of charge detection algorithm changes smoothly; the state of charge determined by the preset state of charge detection algorithm is prohibited from increasing during the discharge process of the power battery and is prohibited from decreasing during the charging process of the power battery; The state of charge determined by the preset state of charge detection algorithm remains unchanged when the charge and discharge current is zero.
5. The method according to claim 1, wherein Also includes: In response to the stop charging instruction, charging of the power battery is stopped, and the first flag corresponding to the anti-floating charge flag and the second flag corresponding to the full charge flag are kept unchanged.
6. The method according to claim 5, characterized in that Before responding to the charging instruction, the method further includes: When detecting that the charging gun is inserted, generating the charging instruction; Accordingly, before responding to the instruction to stop charging, the method further includes: When it is detected that the charging gun is pulled out, the charging stop instruction is generated.
7. The method according to claim 1, characterized in that Also includes: Determine the number of changes of the first flag corresponding to the anti-floating charge flag within a preset time; If the number of changes exceeds a preset number, a repeated charging reminder is generated and sent to the target module.
8. An electronic device, characterized in that: The electronic device comprises: processor and memory; The processor is configured to execute the steps of the power battery floating charge prevention method according to any one of claims 1 to 7 by calling the program or instructions stored in the memory.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program or instruction, which enables a computer to execute the steps of the power battery floating charge prevention method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent modular charger
CN109617200A
Charging control method and device of battery, and terminal
CN110364775A
Method and device for preventing battery from being overcharged, and storage medium
CN110581578A
Charging control method and control system of electric automobile and automobile
CN110901466A