Method and device for preventing power shortage of storage battery and electronic equipment
By monitoring the vehicle's on-board network and disconnecting the abnormal nodes to supply power, the problem of battery power loss in the existing technology affecting user experience, and precisely preventing power loss and power supply recovery are achieved to ensure the normal use of the vehicle and the efficiency of problem investigation.
Patent Information
- Application Number
- CN202411068124.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-22
AI Technical Summary
The prior art prevents the vehicle battery from losing power, which can easily affect the user's user experience and it is difficult to accurately locate and solve the power head.
By monitoring the vehicle's on-board network, disconnecting the abnormal nodes in the wake-up state to supply power, and restoring the power supply when a hard-wire wake-up signal is received, ensuring the accuracy and reliability of battery power supply.
It realizes accurate prevention of vehicle battery loss, avoids unnecessary power loss, ensures that users can use the vehicle normally, and records abnormal information for subsequent inspections.
Smart Images

Figure CN118991650A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to vehicle technology, and in particular to a method, device, electronic device, computer-readable storage medium and computer program product for preventing battery power failure. Background Art
[0002] With the development of intelligent, connected and electrified vehicles, vehicles have more and more functions and more complex demand scenarios, which puts higher requirements on the vehicle's power supply system. When the vehicle's charging system is not working, the vehicle's power source usually comes from the battery (such as a 12V lead-acid battery). After the vehicle is powered off, in order to avoid unnecessary power loss, some measures are usually taken to prevent the battery from running out of power.
[0003] In the solutions provided by the related art, some electronic control units (ECU) and loads are usually hung under the battery relay, and the battery is prevented from running out of power by disconnecting the relay. However, this one-size-fits-all approach may affect the user's use of the vehicle, for example, the user cannot enter the vehicle due to disconnection of the Bluetooth key or remote control key; if the Bluetooth key or remote control key is not disconnected, it will cause the problem of power running out. Summary of the invention
[0004] The present application provides a method, device, electronic device, computer-readable storage medium and computer program product for preventing battery power failure, which can accurately prevent battery power failure while ensuring that the vehicle can be used.
[0005] The technical solution of this application is implemented as follows:
[0006] The present application provides a method for preventing battery power failure, comprising:
[0007] After the vehicle is powered off, the vehicle network is monitored and processed; wherein the vehicle network includes a plurality of nodes;
[0008] When there is an abnormal node in the awakened state in the vehicle network, disconnecting the power supply of the battery of the vehicle to the abnormal node;
[0009] When a hard-wired wake-up signal for the vehicle is received, power supply from the battery to the abnormal node is restored.
[0010] The present application provides a battery power failure prevention device, comprising:
[0011] A monitoring module, used for monitoring the vehicle's in-vehicle network after the vehicle is powered off; wherein the in-vehicle network includes a plurality of nodes;
[0012] A disconnection module, used for disconnecting the power supply from the battery of the vehicle to the abnormal node when there is an abnormal node in the awakened state in the vehicle network;
[0013] A recovery module is used to restore the power supply of the battery to the abnormal node when a hard-line wake-up signal for the vehicle is received.
[0014] The present application provides an electronic device, including:
[0015] A memory for storing executable instructions;
[0016] The processor is used to implement the method for preventing battery power failure provided by the present application when executing the executable instructions stored in the memory.
[0017] The present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement the method for preventing battery power failure provided by the present application.
[0018] The present application provides a computer program product, which includes executable instructions for causing a processor to execute and implement the method for preventing battery power failure provided by the present application.
[0019] This application has the following beneficial effects:
[0020] This application monitors and processes the vehicle's on-board network after the vehicle is powered off. When there is an abnormal node in the on-board network that is in the awake state, the vehicle's battery power supply to the abnormal node is disconnected, so that the source of the power shortage (i.e., the abnormal node) can be accurately located and the power supply can be disconnected, accurately and effectively solving the battery power shortage problem. When a hard-line wake-up signal for the vehicle is received, the battery power supply to the abnormal node is restored, thus providing users with an effective way to restore power supply and ensuring that users can use the vehicle normally. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a first schematic diagram of the architecture of a battery power failure prevention system provided in an embodiment of the present application;
[0023] Figure 2 is a structural schematic diagram of a vehicle-mounted device provided in an embodiment of the present application;
[0024] Figure 3AThis is a first flow chart of a method for preventing battery power failure provided by an embodiment of the present application;
[0025] Figure 3B This is a second flow chart of the method for preventing battery power failure provided by an embodiment of the present application;
[0026] Figure 3C It is a third flow chart of the method for preventing battery power failure provided in the embodiment of the present application;
[0027] Figure 3D This is a fourth flow chart of the method for preventing battery power failure provided by the embodiment of the present application;
[0028] Figure 4 This is a fifth flow chart of the method for preventing battery power failure provided by the embodiment of the present application;
[0029] Figure 5 is a schematic diagram of the vehicle network topology provided by an embodiment of the present application;
[0030] Figure 6 This is a second schematic diagram of the battery power failure prevention system provided in an embodiment of the present application;
[0031] Figure 7 This is a third schematic diagram of the architecture of the battery power failure prevention system provided in the embodiment of the present application;
[0032] Figure 8 This is a fourth schematic diagram of the battery power failure prevention system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0034] In the following description, reference is made to "some embodiments", which describes a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. In the following description, reference is made to the term "multiple" to mean at least two.
[0035] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0037] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for preventing battery power failure, which can accurately prevent power failure while ensuring that the vehicle can be used. The following describes an exemplary application of the electronic device provided in the embodiments of the present application. The electronic device provided in the embodiments of the present application can be implemented as various types of vehicle-mounted devices (referring to electronic devices deployed in the vehicle) or as a server.
[0038] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the battery power failure prevention system 100 provided in an embodiment of the present application, wherein the vehicle-mounted device 400 is connected to the server 200 via the network 300, wherein the network 300 may be a wide area network or a local area network, or a combination of the two.
[0039] In some embodiments, taking the electronic device as an on-board device as an example, the method for preventing battery power failure provided in the embodiments of the present application can be implemented by the on-board device. For example, the on-board device 400 monitors and processes the vehicle's on-board network after the deployed vehicle is powered off; when there is an abnormal node in the on-board network that is in an awake state, the vehicle's battery is disconnected from the power supply to the abnormal node; when a hard-line wake-up signal for the vehicle is received, the battery is restored to power the abnormal node. In this way, the control strategy for preventing power failure is integrated locally in the on-board device 400, which can improve applicability, that is, power failure can also be prevented in the absence of a network or a poor network environment. In some embodiments, the above-mentioned operations implemented by the on-board device 400 can be specifically implemented by the master control node in the on-board device 400, wherein the master control node includes any one of a gateway and a central domain controller.
[0040] In some embodiments, the method for preventing battery power failure provided in the embodiments of the present application can be implemented collaboratively by an on-board device and a server. For example, the on-board device 400 monitors and processes the vehicle's on-board network after the vehicle is powered off, and sends the monitoring results (such as network management messages in the on-board network) to the server 200; the server 200 analyzes whether there are nodes in the on-board network that are in an awake state based on the monitoring results, and when there are abnormal nodes in the on-board network that are in an awake state, the on-board device 400 is notified to disconnect the battery of the vehicle from supplying power to the abnormal node; when the on-board device 400 receives a hard-wired wake-up signal for the vehicle, it restores the battery's power supply to the abnormal node. In the above manner, part of the control strategy for preventing power failure is integrated into the server 200, that is, the server 200 acts as a telematics service provider (TSP) of the on-board device 400, which can effectively reduce the local computing resource consumption of the on-board device 400.
[0041] In some embodiments, the vehicle-mounted device 400 or the server 200 can implement the method for preventing battery power loss provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP, and the small program can be controlled to run or closed by the user. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0042] Taking the electronic device provided in the embodiment of the present application as an example, which is a vehicle-mounted device, it can be understood that in the case where the electronic device is a server, Figure 2 Parts of the structure shown in FIG. 1 (such as a user interface, a presentation module, and an input processing module) may be omitted. Figure 2 , Figure 2 is a structural diagram of a vehicle-mounted device 400 provided in an embodiment of the present application, Figure 2 The vehicle-mounted device 400 shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the vehicle-mounted device 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not described in detail. Figure 2 Various buses are labeled as bus system 440 .
[0043] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0044] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a touch screen display, a camera, other input buttons and controls.
[0045] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0046] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0047] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0048] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0049] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0050] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0051] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0052] In some embodiments, the battery power failure prevention device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 The battery power failure prevention device 455 stored in the memory 450 is shown, which can be software in the form of a program and a plug-in, including the following software modules: a monitoring module 4551, a disconnection module 4552, and a recovery module 4553. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0053] The method for preventing battery power failure provided by the embodiment of the present application will be explained in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application.
[0054] See also Figure 3A , Figure 3A This is a flow chart of a method for preventing battery power failure provided by an embodiment of the present application. The method for preventing battery power failure provided by an embodiment of the present application can be implemented by an electronic device, such as an on-board device, or by a on-board device and a server in collaboration. Figure 3A The steps shown are explained.
[0055] In step 101, the vehicle network of the vehicle is monitored after the vehicle is powered off; wherein the vehicle network includes a plurality of nodes.
[0056] Here, after the vehicle is powered off (for example, the vehicle's power state changes from non-OFF to OFF), the vehicle's battery supplies power to the on-board network. In order to prevent the battery from running out of power, the vehicle's on-board network is monitored to determine whether there are any nodes in the on-board network that are in an awake state. The on-board network includes multiple nodes, and a node can refer to an ECU or various types of sensors, controllers, or actuators.
[0057] For example, the in-vehicle network is implemented based on the AUTOSAR architecture, which defines the standard ECU sleep and wake-up process. Therefore, the network management messages in the in-vehicle network can be monitored, and the network management messages can be used to identify which ECUs are currently requesting the network. These ECUs requesting the network are in the awake state.
[0058] In step 102, when there is an abnormal node in the awakened state in the vehicle network, the power supply of the vehicle battery to the abnormal node is disconnected.
[0059] When there are awake nodes in the vehicle network, the awake nodes consume battery power, which may cause the battery to run low. Therefore, the awake nodes are identified as (marked as) abnormal nodes, and the battery power supply to the abnormal nodes is disconnected.
[0060] In some embodiments, the power supply of the battery to the abnormal node can be controlled (disconnected / restored) by an electronic fuse eFuse. The electronic fuse has programmable and diagnosable characteristics, can meet different needs, and can be well compatible with the vehicle's intelligent system, so it can well implement the control strategy of preventing power failure in the embodiment of the present application, while ensuring the safety of the circuit.
[0061] In some embodiments, the above-mentioned disconnection of the vehicle's battery from supplying power to abnormal nodes can be achieved in the following manner: when the vehicle meets safety conditions, the battery's power supply to abnormal nodes is disconnected; wherein the safety conditions include at least one of the following: the vehicle is powered off; the vehicle's speed is less than a speed threshold; the vehicle's gear is in the parking gear; the vehicle is in a guarded state; the vehicle's openable and closable components are in a closed state.
[0062] Here, based on the abnormal nodes that have been determined, it is also determined whether the vehicle meets the safety conditions. When the vehicle does not meet the safety conditions, if the battery's power supply to the abnormal node is disconnected rashly, it may affect the user's current normal use of the vehicle, or may cause a safety accident. Therefore, the battery continues to maintain the power supply to the abnormal node; when the vehicle meets the safety conditions, it is proved that the operation of disconnecting the battery's power supply to the abnormal node is safe and risk-free, so the battery's power supply to the abnormal node is disconnected.
[0063] Among them, the safety conditions include at least one of the following: the vehicle is powered off; the vehicle speed is less than the speed threshold, such as 5km / h; the vehicle gear is in the parking gear (i.e., P gear); the vehicle is in the fortified state; the vehicle's openable and closable parts (such as four doors and two covers) are in the closed state. The safety conditions can be set according to the safety requirements in the actual application scenario. The higher the safety requirements, the more and more complex the conditions in the safety conditions. Of course, the safety conditions are not limited to the above examples, and more conditions can be added in the actual application scenario.
[0064] Through the above method, the safety of power supply disconnection can be guaranteed, avoiding affecting the user's current normal use of the vehicle and avoiding causing safety accidents.
[0065] In some embodiments, when the power supply of the battery of the vehicle to the abnormal node is disconnected, the method for preventing the battery from running out of power also includes: sending a prompt message of disconnecting the power supply of the battery to the abnormal node to a user terminal device of a user corresponding to the vehicle.
[0066] Here, when the battery power supply to the abnormal node is disconnected, a prompt message of disconnecting the battery power supply to the abnormal node can be sent to the user terminal device of the corresponding user of the vehicle, for example, in the form of an APP message or a text message, so that the user can be informed of the power supply disconnection operation to avoid confusion and complaints from the user. The prompt message may include at least one of the abnormal node identification (such as name) and wake-up method (such as hard line wake-up); the user terminal device can be bound to the vehicle in advance, and the number of user terminal devices bound to the vehicle can be one or more, and there is no limitation on this.
[0067] In some embodiments, the above-mentioned prompt information of disconnecting the battery's power supply to the abnormal node is sent to the user terminal device of the user corresponding to the vehicle in the following manner: when the abnormal node is a node entering the system, the prompt information of disconnecting the battery's power supply to the abnormal node is sent to the user terminal device of the user corresponding to the vehicle.
[0068] Here, when the abnormal node is not a node entering the system, since disconnecting the battery's power supply to the abnormal node will not affect the user's subsequent normal use of the vehicle, no prompt information may be sent, thereby reducing disturbance to the user, that is, preventing power outage in a way that the user is not aware of; when the abnormal node is a node entering the system, a prompt information will be sent to the user terminal device of the user corresponding to the vehicle, thereby avoiding confusion and complaints from the user.
[0069] It is worth mentioning that the node entering the system refers to the node required for the vehicle to be powered on. For example, when a user uses a Bluetooth key to open the car door, the Bluetooth module in the vehicle must be used (the Bluetooth module is an ECU). If the Bluetooth module does not work, the user cannot open the door or power on the vehicle. Therefore, the Bluetooth module is the node entering the system.
[0070] In some embodiments, when there is an abnormal node in the awake state in the vehicle network, the method for preventing battery depletion also includes: recording abnormal information of the abnormal node; wherein the abnormal information of the abnormal node includes at least one of the following: an identification of the abnormal node, a network wake-up source of the abnormal node, a network maintenance source of the abnormal node, and the time when the abnormal node is in the awake state.
[0071] Here, when it is determined that there is an abnormal node in the vehicle network that is in the awake state, the abnormal information of the abnormal node is recorded, for example, the abnormal information of the abnormal node can be stored locally in the vehicle, and / or the abnormal information of the abnormal node can be sent to the server for storage. The abnormal information of the abnormal node includes at least one of the following: the identification of the abnormal node (such as the name), the network wake-up source of the abnormal node, the network maintenance source of the abnormal node, and the time when the abnormal node is in the awake state. Among them, the network wake-up source of the abnormal node refers to the node that makes the abnormal node enter the awake state, for example, the network wake-up source sends a message to the abnormal node after the vehicle is powered off, so that the abnormal node enters the awake state; the network maintenance source of the abnormal node refers to the node that makes the abnormal node maintain the awake state, for example, the network maintenance source continues to send messages to the abnormal node after the vehicle is powered off, so that the abnormal node maintains the awake state for a long time; the network wake-up source and the network maintenance source of the abnormal node can be the same or different, and there is no limitation on this.
[0072] The above method can facilitate subsequent troubleshooting and resolution of problems by recording the abnormal information of the abnormal node. For example, the internal logic of the abnormal node can be rewritten so that it does not respond to messages after the vehicle is powered off and directly enters a sleep state; for another example, the internal logic of the network wake-up source and / or network maintenance source of the abnormal node can be rewritten to prohibit it from sending messages to the abnormal node after the vehicle is powered off.
[0073] In step 103 , when a hard-wired wake-up signal for the vehicle is received, the battery is restored to supply power to the abnormal node.
[0074] Here, when a hard-wired wake-up signal for the vehicle is received, it proves that the user needs to use the vehicle at this time, so the battery is restored to power the abnormal node. This method can be applied to both situations: the abnormal node is a node entering the system, and the abnormal node is not a node entering the system.
[0075] It is worth noting that the hard-wire wake-up signal is a level-changing signal transmitted through a physical line (i.e., a hard wire), which is used to wake up an electronic device or system in a dormant state. In the embodiment of the present application, it is used to restore the battery's power supply to abnormal nodes. Compared with the wake-up method based on network communication, the hard-wire wake-up signal does not rely on complex network communication protocols, so it has higher reliability and stability, and a faster response speed. The embodiment of the present application does not limit the triggering method of the hard-wire wake-up signal. For example, it can be triggered by an external switch of the vehicle, such as long pressing the door handle switch or the tailgate switch to trigger the hard-wire wake-up signal.
[0076] In some embodiments, in the case where the abnormal node is a node entering the system, the power supply of the battery to the abnormal node can be restored through step 103 .
[0077] For ease of understanding, the Bluetooth module in the vehicle network is taken as an example for explanation. The Bluetooth module in the vehicle network is used to trigger the vehicle door to open when a Bluetooth signal sent by the user through a Bluetooth key is received.
[0078] In the embodiment of the present application, there may be two situations after the vehicle is powered off. The first situation is that the Bluetooth module is in a dormant state. At this time, the vehicle's battery will not disconnect the power supply to the Bluetooth module. The Bluetooth module in a dormant state can still receive the Bluetooth signal sent by the user through the Bluetooth key, that is, the user can open the car door through the Bluetooth key; the second situation is that the Bluetooth module is in an awake state. At this time, the vehicle's battery will disconnect the power supply to the Bluetooth module to prevent the battery from running low. The Bluetooth module with power disconnected cannot work, that is, the user cannot open the car door through the Bluetooth key. For this situation, the embodiment of the present application introduces a hardwire wake-up mechanism. The hardwire wake-up mechanism refers to restoring the battery's power supply to the Bluetooth module when a hardwire wake-up signal for the vehicle is received. The Bluetooth module with power restored can receive the Bluetooth signal sent by the user through the Bluetooth key, that is, the user can open the car door through the Bluetooth key.
[0079] In some embodiments, the abnormal node is not a node entering the system; after disconnecting the power supply of the vehicle's battery to the abnormal node, the method for preventing battery power shortage further includes: when the vehicle is powered on, restoring the power supply of the battery to the abnormal node. Here, when the abnormal node is not a node entering the system, disconnecting the power supply of the battery to the abnormal node does not affect the powering on of the vehicle, and therefore, the power supply of the battery to the abnormal node can be restored when the vehicle is powered on.
[0080] In some embodiments, the method for preventing battery power failure provided in the embodiments of the present application can be implemented by a master control node in the vehicle network, wherein the master control node includes any one of a gateway and a central domain controller.
[0081] In some embodiments, the power supply of the battery to the abnormal node can be controlled by the intelligent power distribution system (IPDS) in the master control node, thereby improving the automation and intelligence level of power supply control.
[0082] In some embodiments, the method for preventing battery power failure provided in the embodiments of the present application can be implemented collaboratively by the master control node and the server. For example, the master control node monitors and processes the vehicle's on-board network after the vehicle is powered off, and sends the monitoring results (such as network management messages in the on-board network) to the server; the server analyzes whether there are abnormal nodes in the on-board network in an awakened state based on the monitoring results, and when there are abnormal nodes in the on-board network in an awakened state, the master control node is notified to disconnect the battery from supplying power to the abnormal node; when the master control node receives a hard-wired wake-up signal for the vehicle, it restores the battery from supplying power to the abnormal node. In this way, integrating some control strategies into the server can effectively reduce the computing resource consumption of the master control node. Among them, there is no limitation on the communication method between the master control node and the server, for example, communication can be carried out through the on-board TBOX.
[0083] like Figure 3A As shown, the embodiment of the present application monitors and processes the vehicle's on-board network after the vehicle is powered off. When there is an abnormal node in the on-board network that is in the awake state, the vehicle's battery power supply to the abnormal node is disconnected, so that the source of the power shortage (i.e., the abnormal node) can be accurately located and the power supply can be disconnected, accurately and effectively solving the battery power shortage problem. When a hard-line wake-up signal for the vehicle is received, the battery power supply to the abnormal node is restored, thus providing users with an effective way to restore power supply and ensuring that users can use the vehicle normally.
[0084] In some embodiments, see Figure 3B , Figure 3B is a flow chart of a method for preventing battery power failure provided by an embodiment of the present application, Figure 3A The illustrated step 101 may be updated to step 201 , in which the duration for which the vehicle network is in the awake state after the vehicle is powered off is timed.
[0085] Here, the vehicle may be equipped with a delayed shutdown function, allowing nodes in the vehicle network to continue to operate for a period of time after the vehicle is powered off to complete data recording, fault detection or other tasks. Based on this, the duration of the vehicle network being in an awake state is timed after the vehicle is powered off, where the vehicle network being in an awake state means that at least some of the nodes in the vehicle network are in an awake state (or the gateway in the vehicle network is in an awake state, because if the gateway is in an awake state, it proves that at least some of the nodes are communicating with the network through the gateway).
[0086] In some embodiments, when a clearing condition is met, the maintenance time is cleared and the timing is stopped; wherein the clearing condition includes any one of the following: the vehicle is powered on; the vehicle network is in a dormant state.
[0087] On the premise that the maintenance duration has been timed, when the reset condition is met, the maintenance duration is reset and the timing is stopped to ensure the accuracy of the maintenance duration. The reset condition includes any of the following: the vehicle is powered on; the vehicle network is in a dormant state (or the gateway in the vehicle network is in a dormant state, because if the gateway is in a dormant state, it proves that all nodes in the vehicle network are in a dormant state).
[0088] exist Figure 3B middle, Figure 3A The illustrated step 102 may be updated to step 202. In step 202, when the maintenance duration is greater than the duration threshold, an abnormal node in the vehicle network that is in the awake state is determined, and the power supply of the vehicle battery to the abnormal node is disconnected.
[0089] When the maintenance duration is less than or equal to the duration threshold, considering that the tasks of some nodes in the vehicle network may not be completed, the maintenance duration of the vehicle network in the awake state continues to be counted, and the abnormal nodes are not marked to avoid affecting the normal execution of the task; when the maintenance duration is greater than the duration threshold, it is confirmed that the node in the awake state in the vehicle network is abnormal, it is marked as an abnormal node, and the battery is disconnected from the abnormal node. Among them, the duration threshold can be set according to the needs of the actual application scenario, such as 30 minutes.
[0090] like Figure 3B As shown, the embodiment of the present application reserves a time threshold for nodes in the vehicle network to perform tasks after the vehicle is powered off, thereby avoiding affecting the normal execution of the task and ensuring the availability of the delayed shutdown function of the vehicle. If there are still nodes in the awake state after the time threshold has passed after the vehicle is powered off, it proves that an abnormality has occurred, so the awakened nodes are marked as abnormal nodes, thereby improving the accuracy of monitoring abnormal nodes.
[0091] In some embodiments, see Figure 3C , Figure 3C is a flow chart of a method for preventing battery power failure provided by an embodiment of the present application, Figure 3A At the same time as step 101 is shown, in step 301, the power level of the battery of the vehicle is monitored after the vehicle is powered off.
[0092] Here, in addition to monitoring the vehicle's onboard network after the vehicle is powered off, the battery power level is also monitored. For example, the battery power level can be determined by an Electronic Battery Sensor (EBS).
[0093] exist Figure 3C middle, Figure 3AThe illustrated step 102 may be updated to step 302 . In step 302 , when there is an abnormal node in the awakened state in the vehicle network and the power level of the battery is less than the power threshold, the power supply of the battery to the abnormal node is disconnected.
[0094] Based on the abnormal nodes that have been determined, when the battery power is greater than or equal to the power threshold, it proves that the battery power is sufficient, so the battery power continues to be monitored and processed, and the battery power supply to the abnormal node is not disconnected; when the battery power is less than the power threshold, in order to avoid the battery power shortage, the battery power supply to the abnormal node is disconnected. Among them, the power threshold can be set according to the needs of the actual application scenario, such as 30%.
[0095] like Figure 3C As shown, the embodiment of the present application monitors and processes the vehicle's on-board network and the battery power after the vehicle is powered off. When there is a node in the on-board network in an awake state, the node in the awake state is determined as an abnormal node, and the battery power supply to the abnormal node is disconnected when the battery power is less than a power threshold, thereby increasing the necessity of disconnecting the power supply and avoiding user complaints due to disconnection of the power supply when the power is sufficient.
[0096] In some embodiments, see Figure 3D , Figure 3D is a flow chart of a method for preventing battery power failure provided by an embodiment of the present application, Figure 3A The illustrated step 102 may be updated to step 401, in which, when there is an abnormal node in the vehicle network in an awakened state, a first driving instruction is sent to the regional controller so that the regional controller disconnects the battery from supplying power to the abnormal node through an electronic fuse; wherein the regional controller is used to manage the power supply of the abnormal node.
[0097] The regional controller is an important part of the vehicle's electrical and electronic architecture, used to provide power distribution, data connection, and I / O acquisition and drive requirements for nodes inside the vehicle. A vehicle usually includes multiple regional controllers, each of which is responsible for managing several nodes.
[0098] Based on this, when there is an abnormal node in the awakened state in the vehicle network, the first drive instruction (or power-off drive instruction) is sent to the regional controller used to manage the abnormal node, so that the regional controller disconnects the battery power supply to the abnormal node through the electronic fuse.
[0099] exist Figure 3D middle, Figure 3AThe illustrated step 103 may be updated to step 402 , in which, when a hard-wired wake-up signal for the vehicle is received, a second driving instruction is sent to the regional controller so that the regional controller restores the battery power supply to the abnormal node through the electronic fuse.
[0100] Similarly, when a hard-line wake-up signal for the vehicle is received, a second drive instruction (or power supply drive instruction) is sent to the regional controller for managing abnormal nodes, so that the regional controller restores the battery power supply to the abnormal node through the electronic fuse.
[0101] In some embodiments, the first drive instruction and the second drive instruction may be sent through an intelligent power distribution module, which facilitates configuration of the sending logic of the drive instruction and can enhance the automation and intelligence of power supply control.
[0102] like Figure 3D As shown, the embodiment of the present application realizes power supply control based on the regional controller architecture of the vehicle itself, without adding additional control components, and the implementation cost is low; at the same time, the electronic fuse eFuse is used to control (disconnect / restore) the power supply of the battery to the abnormal node. Since the electronic fuse has programmable and diagnosable characteristics, it can meet different needs and can be well compatible with the vehicle's intelligent system. Therefore, the control strategy for preventing power failure in the embodiment of the present application can be well implemented, and the safety of the circuit can be ensured.
[0103] Below, we will explain the exemplary application of the embodiment of the present application in a practical application scenario. For ease of understanding, we will take the case where the battery is a 12V lead-acid battery and the node is an ECU as an example. Figure 4 Each step shown is described.
[0104] Step 1: After the vehicle is powered off, the master control node monitors and processes the vehicle's on-board network.
[0105] Here, when the power state of the vehicle changes from non-OFF to OFF, the master control node in the vehicle continuously monitors and processes the vehicle network to determine whether there are ECUs in the vehicle network that are in an awake state. It is worth noting that after the vehicle is powered off, under normal circumstances, each ECU will enter a sleep state one after another. If a certain ECU continues to request network maintenance after the vehicle is powered off, it will cause the vehicle network to be unable to enter a sleep state for a long time. Vehicles generally use AUTOSAR network management, which defines the standard ECU sleep and wake-up process. The master control node can identify which ECUs are currently requesting the network through the network management messages in the vehicle network. These ECUs requesting the network are in an awake state. As an example, taking the master control node as a gateway, the embodiment of the present application provides the following Figure 5A schematic diagram of the vehicle network topology is shown in Figure 1. Figure 5 The CAN in the text refers to the Controller Area Network (CAN).
[0106] At the same time, the master control node will start a timer to record the duration Timer1 that the vehicle network is in the awake state after the vehicle is powered off. It is worth noting that the start conditions of the timer include any of the following: the vehicle's power state changes from non-OFF to OFF, that is, the vehicle is powered off; the vehicle's power state is OFF, and the vehicle network jumps from the sleep state to the awake state. The reset conditions for the timer to be reset and stop timing include any of the following: the vehicle's power state changes from OFF to non-OFF; the vehicle network is in the sleep state.
[0107] At the same time, the master node receives the power of the 12V lead-acid battery sent by the EBS through the Local Interconnect Network (LIN), such as Figure 6 shown.
[0108] Step 2: If the vehicle network is abnormal, the master control node records the abnormal information of the abnormal ECU and proceeds to step 3; if the vehicle network is normal, the process ends.
[0109] When Timer1 is greater than T1 (corresponding to the duration threshold above), the master control node considers that the vehicle network is abnormal, marks the ECU in the awake state in the vehicle network at this time as an abnormal ECU, and records the abnormal information of the abnormal ECU, such as uploading the abnormal information of the abnormal ECU to the big data background (taking the TSP background as an example), or storing the abnormal information of the abnormal ECU locally, such as storing it in the local EERPOM / Flash, so as to facilitate subsequent troubleshooting and resolution of the problem; when Timer1 is less than or equal to T1 and the vehicle network enters the sleep state, there is no abnormality in the vehicle network and the process ends.
[0110] The abnormal information of the abnormal ECU may include the abnormal ECU's identification, network wake-up source, network maintenance source, and the time the abnormal ECU is in the wake-up state, etc. If the number of abnormal ECUs includes multiple, the abnormal information of each abnormal ECU must be uploaded and stored.
[0111] It is worth mentioning that for vehicles without TBOX, the control strategy for preventing power failure can be integrated into the local main control node of the vehicle; for vehicles with TBOX, in addition to being integrated into the local vehicle, the control strategy for preventing power failure can also be integrated into the TSP background. For example, the main control node sends the abnormal information of the abnormal ECU to the TSP background through TBOX (or the main control node sends the network management message in the vehicle network to the TSP background through TBOX, and the TSP background determines the abnormal ECU based on the network management message and stores the abnormal information of the abnormal ECU). For another example, the TSP background sends relevant instructions (such as power-off instructions) to the main control node through TBOX, and the main control node executes the instructions. Taking the main control node as a gateway as an example, the embodiment of the present application provides the following Figure 7 A schematic diagram of the communication between the vehicle and the cloud is shown.
[0112] Step 3: When the power level of the 12V lead-acid battery is less than the power threshold, proceed to step 4; otherwise, continue to monitor the power level of the 12V lead-acid battery.
[0113] Step 4: The master control node sends a power-off drive command through the internal intelligent power distribution module to disconnect the 12V lead-acid battery from supplying power to the abnormal ECU, and records the power-off information (such as the abnormal ECU's identification, power-off time, etc.). If the abnormal ECU is related to the entry system, proceed to Step 5 and Step 6; otherwise, the process ends.
[0114] like Figure 6 As shown, the intelligent power distribution module can control (disconnect / restore) the power supply of the 12V lead-acid battery to the abnormal ECU through the electronic fuse eFuse.
[0115] In the vehicle's electrical and electronic architecture, the zone controller (ZCU) is an important component, which is used to provide power distribution, data connection, and I / O acquisition and drive requirements for the ECU inside the vehicle. Therefore, taking the master control node as an example, such as the central domain controller Figure 8 As shown, the intelligent power distribution module can send a power-off drive instruction to the regional controller used to manage abnormal ECUs, and the regional controller disconnects the 12V lead-acid battery from supplying power to the abnormal ECU through the electronic fuse eFuse. For example, the regional controller changes the power distribution of the abnormal ECU from 1 to 0, where 1 indicates power on and 0 indicates power off.
[0116] It is worth noting that the above-mentioned entry system refers to the one related to vehicle power-on. For example, the ECU of the entry system includes the Smart Bluetooth Module (SBM), the Body Control Module (BCM), and the Passive Entry Passive Start (PEPS) module, while the ECU related to the instrument / host is not the ECU of the entry system.
[0117] In some embodiments, the master control node sends a power-off drive instruction through the internal intelligent power distribution module when the vehicle meets the safety conditions. Among them, the safety conditions include: the power state of the vehicle is OFF; the speed of the vehicle is less than 5km / h; the gear position of the vehicle is P gear; the vehicle is in a fortified state; the four doors and two covers of the vehicle are in a closed state. In this way, the safety of power supply disconnection can be guaranteed, avoiding affecting the normal use of the user's current vehicle, and also avoiding causing safety accidents.
[0118] Step 5: The intelligent power distribution module sends the prompt information to the user terminal device through the TSP background.
[0119] If the abnormal ECU is related to the entry system, a prompt message will be sent to the user's terminal device through the TSP background. The prompt message may be such as "The 12V lead-acid battery is low and the vehicle has automatically been powered off. You can press the door handle switch or tailgate switch for more than 5 seconds to restore the vehicle's power supply." There is no limitation on the sending form, for example, it can be in the form of an APP message or SMS. If the abnormal ECU is not related to the entry system, disconnecting the power supply will not affect the user's normal use of the vehicle, so there is no need to prompt the user.
[0120] Step 6: When receiving a hard-line wake-up signal triggered by a user through a hard-line wake-up switch (such as a door handle switch or a tailgate switch), the intelligent power distribution module sends a power supply drive instruction to restore the power supply of the 12V lead-acid battery to the abnormal ECU.
[0121] Here, the abnormal ECU is related to the entry system. After the power supply is disconnected, the user needs to press the hard-wire wake-up switch to trigger the hard-wire wake-up signal. When the intelligent power distribution module receives the hard-wire wake-up signal, it sends a power supply drive instruction to restore the 12V lead-acid battery to supply power to the abnormal ECU, ensuring that the user can enter and use the vehicle normally.
[0122] It is worth mentioning that after the vehicle is powered on, the intelligent power distribution module will power on all ECUs by default.
[0123] The embodiments of the present application have at least the following technical effects:
[0124] 1) Fundamentally solve the problem of 12V lead-acid battery running out of power due to software design bugs or hardware occasional bugs that cause the vehicle to not sleep.
[0125] 2) The cost is very advantageous and can be realized based on the existing architecture of the vehicle. It is applicable to the case where the 12V lead-acid battery does not have a built-in battery management system (BMS).
[0126] 3) Accurately identify abnormal ECUs and disconnect the power supply, avoiding a one-size-fits-all power outage, ensuring that vehicle functions can be used normally as much as possible, and improving the user experience.
[0127] 4) A hard-wired wake-up method is provided for ECUs related to the entry system to ensure that users can enter and use the vehicle normally.
[0128] 5) By recording the abnormal information of abnormal ECU, it is convenient for after-sales to troubleshoot problems, improve efficiency and save labor costs.
[0129] The following is a description of an exemplary structure of a battery power failure prevention device 455 provided in an embodiment of the present application implemented as a software module. In some embodiments, for example, Figure 2 As shown, the software modules in the battery power failure prevention device 455 stored in the memory 450 may include: a monitoring module 4551, used to monitor and process the vehicle's on-board network after the vehicle is powered off; wherein the on-board network includes multiple nodes; a disconnection module 4552, used to disconnect the vehicle's battery from supplying power to the abnormal node when there is an abnormal node in the on-board network that is in a wake-up state; and a recovery module 4553, used to restore the battery's power supply to the abnormal node when a hard-line wake-up signal for the vehicle is received.
[0130] In some embodiments, the monitoring module 4551 is also used to: time the duration that the vehicle network is in the awake state after the vehicle is powered off; when the duration is greater than the duration threshold, determine the abnormal nodes in the vehicle network that are in the awake state.
[0131] In some embodiments, the monitoring module 4551 is also used to: when the clearing condition is met, clear the maintenance time and stop timing; wherein the clearing condition includes any one of the following: the vehicle is powered on; the vehicle network is in a dormant state.
[0132] In some embodiments, the monitoring module 4551 is also used to monitor the battery power after the vehicle is powered off; the disconnection module 4552 is also used to disconnect the battery from supplying power to abnormal nodes when the battery power is less than a power threshold.
[0133] In some embodiments, the disconnect module 4552 is also used to: when the vehicle meets safety conditions, disconnect the battery from supplying power to abnormal nodes; wherein the safety conditions include at least one of the following: the vehicle is powered off; the vehicle speed is less than a speed threshold; the vehicle gear is in the parking gear; the vehicle is in a guarded state; the vehicle's openable and closable components are in a closed state.
[0134] In some embodiments, the disconnection module 4552 is also used to: send a first drive instruction to the regional controller so that the regional controller disconnects the battery's power supply to the abnormal node through the electronic fuse; wherein the regional controller is used to manage the power supply of the abnormal node; the recovery module 4553 is also used to: send a second drive instruction to the regional controller so that the regional controller restores the battery's power supply to the abnormal node through the electronic fuse.
[0135] In some embodiments, the battery power failure prevention device 455 also includes a prompt module, which is used to send a prompt message of disconnecting the battery from supplying power to the abnormal node to a user terminal device corresponding to the user of the vehicle.
[0136] In some embodiments, the battery power shortage prevention device 455 also includes a recording module for: recording abnormal information of abnormal nodes; wherein the abnormal information of abnormal nodes includes at least one of the following: an identification of the abnormal node, a network wake-up source of the abnormal node, a network maintenance source of the abnormal node, and the time when the abnormal node is in the wake-up state.
[0137] The embodiment of the present application provides a computer program product or a computer program, which includes executable instructions stored in a computer-readable storage medium. The processor of the electronic device reads the executable instructions from the computer-readable storage medium, and the processor executes the executable instructions, so that the electronic device executes the battery power failure prevention method described in the embodiment of the present application.
[0138] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the method for preventing battery power failure provided in the embodiment of the present application.
[0139] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0140] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0141] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0142] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0143] The above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for preventing battery power failure, characterized in that: include: After the vehicle is powered off, the vehicle network is monitored and processed; wherein the vehicle network includes a plurality of nodes; When there is an abnormal node in the awakened state in the vehicle network, disconnecting the power supply of the battery of the vehicle to the abnormal node; When a hard-wired wake-up signal for the vehicle is received, power supply from the battery to the abnormal node is restored.
2. The method according to claim 1, characterized in that The monitoring process of the vehicle's onboard network after the vehicle is powered off includes: timing the duration for which the vehicle network is in an awake state after the vehicle is powered off; When the maintenance time is greater than the time threshold, an abnormal node in the vehicle network that is in the awakened state is determined.
3. The method according to claim 2, characterized in that The method further comprises: When the reset condition is met, the maintenance time is reset and the timing is stopped; The clearing condition includes any one of the following: the vehicle is powered on; the vehicle network is in a dormant state.
4. The method according to claim 1, characterized in that: The method further comprises: After the vehicle is powered off, the power level of the battery is monitored; The step of disconnecting the power supply from the battery of the vehicle to the abnormal node includes: When the power level of the storage battery is less than a power threshold, the power supply of the storage battery to the abnormal node is disconnected.
5. The method according to claim 1, characterized in that The step of disconnecting the power supply from the battery of the vehicle to the abnormal node includes: When the vehicle meets the safety condition, disconnecting the battery from supplying power to the abnormal node; Among them, the safety conditions include at least one of the following: the vehicle is powered off; the vehicle speed is less than a speed threshold; the gear position of the vehicle is the parking gear; the vehicle is in a guarded state; the openable and closable components of the vehicle are in a closed state.
6. The method according to claim 1, characterized in that The step of disconnecting the power supply from the battery of the vehicle to the abnormal node includes: Sending a first driving instruction to a regional controller so that the regional controller disconnects the power supply of the battery to the abnormal node through an electronic fuse; wherein the regional controller is used to manage the power supply of the abnormal node; The restoring the power supply of the storage battery to the abnormal node includes: A second driving instruction is sent to the regional controller, so that the regional controller restores the power supply of the battery to the abnormal node through the electronic fuse.
7. The method according to claim 1, characterized in that When the power supply from the battery of the vehicle to the abnormal node is disconnected, the method further includes: A prompt message for disconnecting the battery from supplying power to the abnormal node is sent to a user terminal device corresponding to the vehicle.
8. The method according to claim 1, characterized in that The method further comprises: Recording abnormal information of the abnormal node; The abnormal information of the abnormal node includes at least one of the following: an identifier of the abnormal node, a network wake-up source of the abnormal node, a network maintenance source of the abnormal node, and a time when the abnormal node is in the wake-up state.
9. A battery power failure prevention device, characterized in that: include: A monitoring module, used for monitoring the vehicle's in-vehicle network after the vehicle is powered off; wherein the in-vehicle network includes a plurality of nodes; A disconnection module, used for disconnecting the power supply from the battery of the vehicle to the abnormal node when there is an abnormal node in the awakened state in the vehicle network; A recovery module is used to restore the power supply of the battery to the abnormal node when a hard-line wake-up signal for the vehicle is received.
10. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 8 when executing the executable instructions stored in the memory.
11. A computer-readable storage medium, characterized in that: Executable instructions are stored, and when executed by a processor, the method described in any one of claims 1 to 8 is implemented.
12. A computer program product, characterized in that The method comprises executable instructions for implementing the method according to any one of claims 1 to 8 when executed by a processor.
Citation Information
Patent Citations
Vehicle control system, method and device, vehicle and storage medium
CN111086482A
Vehicle power shortage monitoring method and system and medium
CN111579996A
Vehicle anomaly detection method, device and equipment and storage medium
CN112380045A
Automobile static power supply management system and method, electricity lack prevention device and equipment and medium
CN114954309A
Abnormality detection method and device and vehicle
CN115474227A
