Control method, device and equipment for storage battery of vehicle, medium and program product
Through the intelligent battery sensor collecting data and generating alarm information, the problem of reduced applicability of traditional fuel vehicle battery management solutions is solved, and the effective management of traditional fuel vehicle batteries is achieved, which extends the battery life and reduces the number of breakdowns.
Patent Information
- Application Number
- CN202510058220.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art battery management solutions are not applicable to traditional fuel vehicles, resulting in a decrease in the applicability of the battery management solutions.
The intelligent battery sensor collects battery parameter data, judges the data validity, selects the remaining power information, determines whether the battery has a fault, and generates an alarm message when the target residual power is less than the threshold and there is no fault, and prompts the user terminal that the battery is out of power through the Internet of Vehicles platform.
No power batteries are required, which improves the applicability of battery management, effectively avoids deep discharge of the battery, extends the battery life, and reduces the number of vehicle breakdowns due to battery reasons.
Smart Images

Figure CN119881714A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle batteries, and in particular to a control method, device, equipment, medium and program product for a vehicle battery. Background Art
[0002] When the vehicle is turned off and all power is turned off, the electronic control components and anti-theft system on the vehicle are still working and consume a certain amount of power. At this time, the battery is also continuously discharging. The capacity of the battery is affected by the temperature. If the vehicle is parked for a long time, the battery is prone to low power, causing the vehicle to be unable to start. Therefore, by prompting the driver of the battery power status after the vehicle is turned off, deep discharge of the battery can be avoided, the battery life can be extended, and the number of vehicle breakdowns due to battery problems can be reduced.
[0003] In the prior art, the management method of the battery is: after detecting that the battery power is low, starting the high-voltage system to charge the battery through the power battery.
[0004] However, in the prior art, fuel vehicles are not equipped with power batteries, and the battery management solutions of the prior art are not suitable for traditional fuel vehicles, resulting in reduced applicability of the battery management solutions. Summary of the invention
[0005] The embodiments of the present application provide a control method, device, equipment, medium and program product for a vehicle battery, which are used to solve the problem that the battery management solution in the prior art is not suitable for traditional fuel vehicles, resulting in reduced applicability of the battery management solution.
[0006] In a first aspect, an embodiment of the present application provides a method for controlling a battery of a vehicle, wherein the vehicle includes a battery, an intelligent battery sensor, a vehicle controller, and an additional controller; the intelligent battery sensor is used to collect battery parameter data of the battery; the method is applied to the vehicle controller, including:
[0007] Receiving battery parameter data sent by the intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery;
[0008] Determine whether the battery parameter data is valid according to the validity flag information, and obtain a validity determination result;
[0009] According to the validity determination result, target remaining power information is selected from the first remaining power information and the second remaining power information, wherein the second remaining power information is calculated for the battery and received from the additional controller;
[0010] Determining whether the battery has a fault according to the fault parameter information;
[0011] If the target remaining power information is less than a preset threshold and the battery has no faults, generating an alarm message;
[0012] The warning information is sent to the additional controller, so that the additional controller sends the warning information to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the warning information to the user terminal to prompt the user that the battery is low on power.
[0013] In a possible implementation, the target remaining power information is selected from the first remaining power information and the second remaining power information based on the validity determination result, including: if the determination result is that the battery parameter data is valid, recording the first remaining power information as the target remaining power information; if the determination result is that the battery parameter data is invalid, obtaining the second remaining power information calculated and generated by the additional controller for the battery; comparing the second remaining power information with the first remaining power information, selecting the power information with the smallest value between the first remaining power information and the second remaining power information, and recording it as the target remaining power information.
[0014] In a possible implementation manner, the additional controller calculates a formula for generating the second remaining power information for the battery as follows:
[0015]
[0016]
[0017] In the formula, Indicates the remaining power information stored in EEPROM after power off; Indicates the battery current; Indicates the power-off time of the attached controller; Indicates the rated capacity of the battery; Indicates the initial remaining power information when the additional controller is powered on; Indicates the second remaining power information calculated and generated by the additional controller.
[0018] In a possible implementation, after receiving the battery parameter data sent by the intelligent battery sensor, it also includes: obtaining the discharge current in the battery parameter data; determining whether the discharge current is less than a preset current value; if the discharge current is less than the preset current value, obtaining abnormal power usage sign information in the battery parameter data; sending the abnormal power usage sign information to the additional controller, so that the additional controller sends the abnormal power usage sign information to the Internet of Vehicles platform, so that the Internet of Vehicles platform generates prompt information according to the abnormal power usage sign information, and sends the prompt information to the user terminal.
[0019] In a possible implementation, before receiving the battery parameter data sent by the smart battery sensor, it also includes: when the vehicle is powered off, sending a preset wake-up time interval to the additional controller, so that the additional controller reads the LIN data and remaining power information obtained by the smart battery sensor according to the preset wake-up time interval; receiving the LIN data and remaining power information sent by the additional controller, and judging whether the battery is low on power based on the LIN data and the remaining power information; if the battery is in a low-power state, generating an alarm message, and sending the alarm message to the user terminal to prompt the user that the battery is low on power.
[0020] In a second aspect, an embodiment of the present application provides a control device for a battery of a vehicle, wherein the vehicle includes a battery, an intelligent battery sensor, a vehicle controller, and an additional controller; the intelligent battery sensor is used to collect battery parameter data of the battery; the device is applied to the vehicle controller, and includes:
[0021] A first receiving module, used for receiving battery parameter data sent by the intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery;
[0022] A first judgment module, used for judging whether the battery parameter data is valid according to the validity flag information, and obtaining a validity judgment result;
[0023] a selection module, configured to select target remaining power information from the first remaining power information and the second remaining power information according to the validity determination result, wherein the second remaining power information is calculated for the battery and received from the additional controller;
[0024] A determination module, used for determining whether the battery has a fault according to the fault parameter information;
[0025] A first generating module, configured to generate an alarm message if the target remaining power information is less than a preset threshold and the battery has no faults;
[0026] The first sending module is used to send the alarm information to the additional controller, so that the additional controller sends the alarm information to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the alarm information to the user terminal to prompt the user that the battery is low.
[0027] In a possible implementation, the selection module includes: a recording unit, used to record the first remaining power information as the target remaining power information if the determination result is that the battery parameter data is valid; an acquisition unit, used to acquire the second remaining power information calculated and generated by the additional controller for the battery if the determination result is that the battery parameter data is invalid; and a comparison unit, used to compare the second remaining power information with the first remaining power information, select the power information with the smallest value between the first remaining power information and the second remaining power information, and record it as the target remaining power information.
[0028] In a third aspect, an embodiment of the present application provides a control device for a battery of a vehicle, including: a memory, a processor;
[0029] The memory stores computer-executable instructions;
[0030] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0031] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0032] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0033] The control method, device, equipment, medium and program product of the vehicle battery provided in the embodiments of the present application obtain battery parameter data of the battery through an intelligent battery sensor, judge whether the battery parameter data is valid according to the validity flag information in the battery parameter data, generate a judgment result, select target remaining power information from the first remaining power information and the second remaining power information according to the judgment result, determine whether the battery has a fault according to the fault parameter information, and if the battery has no fault and the target remaining power information is less than a preset threshold, generate an alarm message, send the alarm message to the additional controller, the additional controller sends the alarm message to the Internet of Vehicles platform, and the Internet of Vehicles platform sends an alarm message to the user terminal to remind the user that the battery is low on power, thereby solving the problem of battery management of fuel vehicles in the prior art, eliminating the need for a power battery, and improving the applicability of battery management. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] Figure 1 A schematic diagram of a scenario of a method for controlling a battery of a vehicle provided in an embodiment of the present application;
[0036] Figure 2 A schematic flow chart of a method for controlling a battery of a vehicle provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of the structure of a control device for a battery of a vehicle provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of the structure of the battery control device of the vehicle provided in this application.
[0039] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0040] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0041] When all power sources of the vehicle are turned off and the engine is turned off, the electronic control components and anti-theft system on the vehicle are still working and consume a certain amount of electricity. At this time, the battery is also continuously discharging. The capacity of the battery is affected by the temperature. If the vehicle is parked for a long time, the battery is easily depleted, causing the vehicle to be unable to start. Therefore, by prompting the driver of the battery power status after the vehicle is turned off, deep discharge of the battery can be avoided, the battery life can be extended, and the number of times the vehicle breaks down due to battery reasons can be reduced. In the prior art, the battery management method is: after detecting that the battery power is low, the high-voltage system is started to charge the battery through the power battery. However, in the prior art, fuel vehicles are not equipped with power batteries, and the battery management scheme of the prior art is not suitable for traditional fuel vehicles, resulting in reduced applicability of the battery management scheme.
[0042] In order to solve the above technical problems, the embodiments of the present application propose the following technical concepts: the inventor considers using an intelligent battery sensor to collect battery parameter data of a battery, judging whether the battery parameter data is valid according to the validity flag information in the battery parameter data, obtaining a validity judgment result, selecting target remaining power information from the first remaining power information and the second remaining power information according to the judgment result, determining whether the battery is faulty according to the fault parameter information in the battery parameter data, and generating an alarm message if the target remaining power information is less than a preset threshold and the battery is not faulty, by sending the alarm message to an additional controller, the additional controller sends the alarm message to the Internet of Vehicles platform, and the Internet of Vehicles platform sends the alarm message to the user terminal, prompting the user that the battery is low on power. The following is a detailed description using a detailed embodiment.
[0043] Figure 1 A schematic diagram of a scenario of a method for controlling a battery of a vehicle provided in an embodiment of the present application, such as Figure 1 As shown, the application scenario includes a smart battery sensor 101, a vehicle controller 102, an additional controller 103, a vehicle networking platform 104 and a user terminal 105.
[0044] Specifically, the vehicle controller 102 receives the battery parameter data sent by the intelligent battery sensor 101, determines whether the battery parameter data is valid according to the validity flag information in the battery parameter data, and obtains a determination result. The vehicle controller 102 selects the target remaining power information from the first remaining power information and the second remaining power information according to the determination result, and determines whether the battery has a fault according to the fault parameter information. If the target remaining power information is less than a preset threshold and the battery has no fault, an alarm message is generated, and the vehicle controller 102 sends the alarm message to the additional controller 103. The additional controller 103 sends the alarm message to the Internet of Vehicles platform 104. The vehicle network platform 104 sends the alarm message to the user terminal 105 to prompt the user that the battery is low on power.
[0045] Figure 2 This is a flow chart of a method for controlling a battery of a vehicle provided in an embodiment of the present application. The execution subject of this embodiment may be a vehicle controller, and this embodiment is not particularly limited here. Figure 2 As shown, the method includes:
[0046] S201: Receive battery parameter data sent by an intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery.
[0047] In this embodiment, the first remaining power information is the SOC (State of Charge) value of the battery collected by the intelligent battery sensor.
[0048] In this embodiment, the battery parameter data acquired by the intelligent battery sensor IBS (Inteligent Battery Sensor, referred to as IBS) includes but is not limited to measuring the charging or discharging current flowing through the battery, the voltage between the battery terminals, and the battery temperature. In this embodiment, the battery parameter data acquired by the intelligent battery sensor is returned to the intelligent battery sensor in the form of a data packet via the LIN bus.
[0049] S202: Determine whether the battery parameter data is valid according to the validity flag information, and obtain a validity determination result.
[0050] In this embodiment, the validity flag information is a battery self-calibration flag.
[0051] Specifically, if the battery self-calibration flag is equal to 1, the battery parameter data is valid; if the battery self-calibration flag is equal to 0, the battery parameter data is invalid.
[0052] S203: According to the validity determination result, target remaining power information is selected from the first remaining power information and the second remaining power information, wherein the second remaining power information is calculated for the battery and received from the additional controller.
[0053] Specifically, if the determination result is that the battery parameter data is valid, the first remaining power information is recorded as the target remaining power information.
[0054] Specifically, if the determination result is that the battery parameter data is invalid, the additional controller calculates and generates the second remaining power information, compares the first remaining power information and the second remaining power information, and takes the minimum value and records it as the target remaining power information.
[0055] S204: Determine whether the battery has a fault based on the fault parameter information.
[0056] In this embodiment, the fault parameter information includes but is not limited to the internal fault variable of the smart battery sensor, the LIN transmission fault variable and the battery fault variable.
[0057] Specifically, if all fault variables in the fault parameter information are 0, it is determined that the battery has no fault; if at least one fault variable in the fault parameter information is 1, it is determined that the battery has a fault.
[0058] S205: If the target remaining power information is less than a preset threshold and the battery has no faults, an alarm message is generated.
[0059] Specifically, if the target remaining power information is less than a preset SOC threshold, a high-power consumption flag is obtained and an alarm message is generated.
[0060] S206: Sending an alarm message to the additional controller, so that the additional controller sends the alarm message to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the alarm message to the user terminal to remind the user that the battery is low on power.
[0061] In this embodiment, the vehicle network platform sends warning information to the user terminal in the form of, but not limited to, text messages, phone calls, and in-application notifications.
[0062] It can be seen from the above embodiments that the battery parameter data of the battery is obtained through the intelligent battery sensor, and whether the battery parameter data is valid is determined according to the validity flag information in the battery parameter data, and a judgment result is generated. According to the judgment result, the target remaining power information is selected from the first remaining power information and the second remaining power information, and whether the battery is faulty is determined according to the fault parameter information. If the battery is not faulty and the target remaining power information is less than a preset threshold, an alarm message is generated and sent to the additional controller. The additional controller sends the alarm message to the Internet of Vehicles platform, and the Internet of Vehicles platform sends an alarm message to the user terminal to remind the user that the battery is low on power, which solves the problem of battery management of fuel vehicles in the prior art, does not require a power battery, and improves the applicability of battery management.
[0063] In one embodiment of the present application, step S203 includes:
[0064] S2031: If the determination result is that the battery parameter data is valid, the first remaining power information is recorded as the target remaining power information.
[0065] In this embodiment, the first remaining power information is the SOC value of the battery acquired by the intelligent battery sensor.
[0066] S2032: If the determination result is that the battery parameter data is invalid, obtain the second remaining power information calculated and generated by the additional controller for the battery.
[0067] In this embodiment, the additional controller calculates and generates a formula for the second remaining power information for the battery as follows:
[0068]
[0069]
[0070] In the formula, Indicates the remaining power information stored in EEPROM after power off; Indicates the battery current; Indicates the power-off time of the attached controller; Indicates the rated capacity of the battery; Indicates the initial remaining power information when the additional controller is powered on; Indicates the second remaining power information calculated and generated by the additional controller.
[0071] S2033: Compare the second remaining power information with the first remaining power information, select the power information with the smallest value between the first remaining power information and the second remaining power information, and record it as the target remaining power information.
[0072] Specifically, the numerical values of the first remaining power information and the second remaining power information are compared, and the minimum value between the two is taken and recorded as the target remaining power information.
[0073] It can be seen from the above embodiments that if the battery parameter data is invalid, the second remaining power information is calculated for the battery through an additional controller, the numerical values of the first remaining power information and the second remaining power information are compared, the minimum value is recorded as the target remaining power information, and the SOC is calculated by the ampere-hour integration method after the intelligent battery sensor fails, and the low-power judgment is made based on the calculated SOC value to avoid false low-power alarms from the system; if the battery parameter data is valid, the SOC in the battery parameter data is directly used to make a low-power judgment, which improves the speed of judgment.
[0074] In one embodiment of the present application, after step S201, the following steps are further included:
[0075] S301: Obtain discharge current from battery parameter data.
[0076] In this embodiment, the unit of the discharge current is ampere or milliampere.
[0077] S302: Determine whether the discharge current is smaller than a preset current value.
[0078] Specifically, it is compared whether the numerical value of the discharge current exceeds the preset current value, or whether the unit of the collected current value exceeds the unit of the preset current value.
[0079] S303: If the discharge current is smaller than the preset current value, abnormal power usage mark information in the battery parameter data is obtained.
[0080] In this embodiment, the content recorded in the abnormal power usage mark information includes but is not limited to the abnormal current value of the abnormal power usage, the component information causing the abnormality, and the abnormality log.
[0081] S304: Send abnormal power usage mark information to the additional controller, so that the additional controller sends the abnormal power usage mark information to the Internet of Vehicles platform, so that the Internet of Vehicles platform generates prompt information according to the abnormal power usage mark information, and sends the prompt information to the user terminal.
[0082] In this embodiment, the form of sending the prompt information includes but is not limited to text messages, phone calls, and notifications within the application.
[0083] From the above embodiments, it can be seen that by monitoring the discharge current in the battery parameter data, determining the size of the discharge current to obtain abnormal power usage sign information, and sending prompt information to the user terminal, the impact of irregular power usage on battery life can be avoided.
[0084] In one embodiment of the present application, before step S201, the method further includes:
[0085] S401: When the vehicle is powered off, a preset wake-up time interval is sent to the additional controller, so that the additional controller reads the LIN data and remaining power information obtained by the intelligent battery sensor according to the preset wake-up time interval.
[0086] In this embodiment, when the whole vehicle is powered off or the additional controller is powered off, the remaining battery power information of the battery will be stored in an EEPROM (Electrically Erasable Programmable read only memory).
[0087] S402: Receive LIN data and remaining power information sent by the additional controller, and determine whether the battery is low on power based on the LIN data and the remaining power information.
[0088] Specifically, after the additional controller is powered on, the LIN data sent by the intelligent battery sensor and the data in the EEPROM are read to obtain the remaining power information.
[0089] S403: If the battery is in a low-power state, an alarm message is generated and sent to a user terminal to remind the user that the battery is low-power.
[0090] In this embodiment, the forms of sending the alarm information to the user terminal include but are not limited to text messages, phone calls, and notifications within applications.
[0091] It can be seen from the above embodiments that the additional controller is woken up regularly to obtain data from the intelligent battery sensor to determine whether the battery is low on power, thereby avoiding power loss caused by long-term parking after the vehicle is powered off and turned off.
[0092] Figure 3 A schematic diagram of the structure of a battery control device for a vehicle provided in an embodiment of the present application, such as Figure 3 As shown, the vehicle battery control device 30 provided in this embodiment includes: a first receiving module 301, a first judging module 302, a selecting module 303, a determining module 304, a first generating module 305 and a first sending module 306.
[0093] The first receiving module 301 is used to receive battery parameter data sent by the intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery.
[0094] The first judgment module 302 is used to judge whether the battery parameter data is valid according to the validity mark information to obtain a validity judgment result.
[0095] The selection module 303 is used to select target remaining power information from the first remaining power information and the second remaining power information according to the validity determination result, wherein the second remaining power information is calculated for the battery and received from the additional controller.
[0096] The determination module 304 is used to determine whether the battery has a fault according to the fault parameter information.
[0097] The first generating module 305 is configured to generate an alarm message if the target remaining power information is less than a preset threshold and the battery has no faults.
[0098] The first sending module 306 is used to send alarm information to the additional controller, so that the additional controller sends the alarm information to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the alarm information to the user terminal to prompt the user that the battery is low on power.
[0099] In a possible implementation, the selection module 303 includes:
[0100] The recording unit 3031 is configured to record the first remaining power information as the target remaining power information if the determination result is that the battery parameter data is valid.
[0101] The acquisition unit 3032 is used to acquire the second remaining power information calculated and generated by the additional controller for the battery if the determination result is that the battery parameter data is invalid.
[0102] The comparison unit 3033 is used to compare the second remaining power information with the first remaining power information, select the power information with the smallest value between the first remaining power information and the second remaining power information, and record it as the target remaining power information.
[0103] In a possible implementation manner, the additional controller in the acquisition unit 3032 calculates and generates a formula for the second remaining power information for the battery:
[0104]
[0105]
[0106] In the formula, Indicates the remaining power information stored in EEPROM after power off; Indicates the battery current; Indicates the power-off time of the attached controller; Indicates the rated capacity of the battery; Indicates the initial remaining power information when the additional controller is powered on; Indicates the second remaining power information calculated and generated by the additional controller.
[0107] In a possible implementation manner, the control device 30 of the battery of the vehicle further includes:
[0108] The first acquisition module 307 is used to acquire the discharge current in the battery parameter data.
[0109] The second determination module 308 is used to determine whether the discharge current is smaller than a preset current value.
[0110] The second acquisition module 309 is used to acquire abnormal power usage mark information in the battery parameter data if the discharge current is smaller than a preset current value.
[0111] The second sending module 310 is used to send abnormal power usage mark information to the additional controller, so that the additional controller sends the abnormal power usage mark information to the Internet of Vehicles platform, so that the Internet of Vehicles platform generates prompt information according to the abnormal power usage mark information and sends the prompt information to the user terminal.
[0112] In a possible implementation manner, the control device 30 of the battery of the vehicle further includes:
[0113] The third sending module 311 is used to send a preset wake-up time interval to the additional controller when the vehicle is powered off, so that the additional controller reads the LIN data and remaining power information obtained by the intelligent battery sensor according to the preset wake-up time interval.
[0114] The second receiving module 312 is used to receive the LIN data and the remaining power information sent by the additional controller, and determine whether the battery is low on power according to the LIN data and the remaining power information.
[0115] The second generating module 313 is used to generate an alarm message if the battery is in a low-power state, and send the alarm message to the user terminal to remind the user that the battery is low-power.
[0116] The control device for the vehicle battery provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail in this embodiment.
[0117] Figure 4 This is a schematic diagram of the structure of the battery control device of the vehicle provided in this application. Figure 4As shown, the vehicle battery control device 40 provided in this embodiment includes: at least one processor 401 and a memory 402. Optionally, the vehicle battery control device 40 also includes a communication component 403. The processor 401, the memory 402 and the communication component 403 are connected via a bus 404.
[0118] In a specific implementation process, at least one processor 401 executes the computer execution instructions stored in the memory 402, so that at least one processor 401 executes the above-mentioned vehicle battery control method.
[0119] The specific implementation process of the processor 401 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0120] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0121] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0122] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0123] The present application also provides a computer program product, including a computer program, which implements the above-mentioned vehicle battery control method when executed by a processor.
[0124] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above-mentioned vehicle battery control method is implemented.
[0125] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0126] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0127] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0130] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0131] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0132] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for controlling a battery of a vehicle, characterized in that: The vehicle includes a battery, an intelligent battery sensor, a vehicle controller and an additional controller; the intelligent battery sensor is used to collect battery parameter data of the battery; The method is applied to the vehicle controller, comprising: Receiving battery parameter data sent by the intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery; Determine whether the battery parameter data is valid according to the validity flag information, and obtain a validity determination result; According to the validity determination result, target remaining power information is selected from the first remaining power information and the second remaining power information, wherein the second remaining power information is calculated for the battery and received from the additional controller; Determining whether the battery has a fault according to the fault parameter information; If the target remaining power information is less than a preset threshold and the battery has no faults, generating an alarm message; The warning information is sent to the additional controller, so that the additional controller sends the warning information to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the warning information to the user terminal to prompt the user that the battery is low on power.
2. The method according to claim 1, characterized in that The selecting target remaining power information from the first remaining power information and the second remaining power information according to the validity determination result includes: If the determination result is that the battery parameter data is valid, recording the first remaining power information as target remaining power information; If the determination result is that the battery parameter data is invalid, obtaining second remaining power information calculated and generated by the additional controller for the battery; The second remaining power information is compared with the first remaining power information, and the power information with the smallest value between the first remaining power information and the second remaining power information is selected and recorded as the target remaining power information.
3. The method according to claim 2, characterized in that The additional controller calculates and generates a formula for the second remaining power information for the battery: In the formula, Indicates the remaining power information stored in EEPROM after power off; Indicates the battery current; Indicates the power-off time of the attached controller; Indicates the rated capacity of the battery; Indicates the initial remaining power information when the additional controller is powered on; Indicates the second remaining power information calculated and generated by the additional controller.
4. The method according to claim 1, characterized in that: After receiving the battery parameter data sent by the intelligent battery sensor, the method further includes: Obtaining the discharge current in the battery parameter data; Determining whether the discharge current is less than a preset current value; If the discharge current is smaller than the preset current value, abnormal power usage flag information in the battery parameter data is obtained; The abnormal power usage sign information is sent to the additional controller, so that the additional controller sends the abnormal power usage sign information to the Internet of Vehicles platform, so that the Internet of Vehicles platform generates prompt information according to the abnormal power usage sign information, and sends the prompt information to the user terminal.
5. The method according to any one of claims 1 to 4, characterized in that: Before receiving the battery parameter data sent by the intelligent battery sensor, the method further includes: When the vehicle is powered off, a preset wake-up time interval is sent to the additional controller, so that the additional controller reads the LIN data and remaining power information obtained by the intelligent battery sensor according to the preset wake-up time interval; Receiving LIN data and remaining power information sent by the additional controller, and judging whether the battery is low on power according to the LIN data and the remaining power information; If the battery is in a low-power state, an alarm message is generated and sent to a user terminal to remind the user that the battery is low-power.
6. A control device for a battery of a vehicle, characterized in that: The vehicle includes a battery, an intelligent battery sensor, a vehicle controller and an additional controller; the intelligent battery sensor is used to collect battery parameter data of the battery; The device is applied to the vehicle controller, comprising: A first receiving module, used for receiving battery parameter data sent by the intelligent battery sensor, wherein the battery parameter data includes validity mark information, first remaining power information and fault parameter information of the battery; A first judgment module, used for judging whether the battery parameter data is valid according to the validity flag information, and obtaining a validity judgment result; a selection module, configured to select target remaining power information from the first remaining power information and the second remaining power information according to the validity determination result, wherein the second remaining power information is calculated for the battery and received from the additional controller; A determination module, used for determining whether the battery has a fault according to the fault parameter information; A first generating module, configured to generate an alarm message if the target remaining power information is less than a preset threshold and the battery has no faults; The first sending module is used to send the alarm information to the additional controller, so that the additional controller sends the alarm information to the Internet of Vehicles platform, so that the Internet of Vehicles platform sends the alarm information to the user terminal to prompt the user that the battery is low.
7. The device according to claim 6, characterized in that The selection module comprises: a recording unit, configured to record the first remaining power information as target remaining power information if the determination result is that the battery parameter data is valid; an acquisition unit, configured to acquire second remaining power information calculated and generated by the additional controller for the battery if the determination result is that the battery parameter data is invalid; A comparison unit is used to compare the second remaining power information with the first remaining power information, select the power information with the smallest value between the first remaining power information and the second remaining power information, and record it as the target remaining power information.
8. A control device for a battery of a vehicle, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method for controlling a battery of a vehicle according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for controlling a battery of a vehicle as described in any one of claims 1 to 5.
10. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the method for controlling a battery of a vehicle as claimed in any one of claims 1 to 5.