An abnormality detection method and system during parking of a vehicle
By monitoring the CAN network status in real time and recording the cumulative activation time, the system enables quick detection of vehicle battery depletion during parking, and achieves automatic identification of CAN network anomalies and battery aging, thereby improving detection efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING CHANGAN TECH CO LTD
- Filing Date
- 2023-05-26
- Publication Date
- 2026-07-28
AI Technical Summary
Existing technologies lack a quick method for detecting vehicle battery depletion during parking, resulting in the inability to promptly identify CAN network anomalies and battery aging, thus impacting user experience.
By monitoring the CAN network status in real time while the vehicle is parked, recording the power-on and power-off times and battery level, recording the cumulative activation time using a CAN working duration recorder, and judging CAN network anomalies within a set threshold T, further checking the battery, using the DTC library to cache data, and remotely judging the cause of battery depletion in the cloud.
It achieves efficient and automatic identification of CAN network anomalies, saving manual intervention. It can directly and remotely determine the cause of power loss when CAN network anomalies occur, reducing dependence on cloud signals and improving the efficiency of anomaly detection during parking.
Smart Images

Figure CN116593919B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle inspection technology, and more specifically, to a method and system for detecting anomalies during vehicle parking. Background Technology
[0002] The most basic requirement for a car is that it can start normally. However, if the vehicle's battery is depleted, the vehicle's various controllers will not function, and the entire vehicle will fail to start. With the development and iterative updates of automotive intelligence, vehicle-cloud collaboration has become the foundation for realizing automotive intelligence.
[0003] Vehicle network anomaly identification is an important research direction for vehicle network data, as vehicle network anomalies are the main cause of vehicle battery depletion.
[0004] There are currently two common methods for monitoring CAN network activity during parking.
[0005] One approach is to use an external CAN device to monitor the vehicle's network status. This method has the following drawbacks: problems can only be investigated after they have already occurred; monitoring of intermittent problems takes a long time; CAN devices are expensive; one-on-one tracking by personnel is required; and the user experience is poor.
[0006] Another method involves using the vehicle's 4G module to transmit network data from the vehicle to a cloud server. By uploading signals from embedded points on the vehicle to the cloud, the operational status of the vehicle's CAN bus can be identified.
[0007] There is a method for determining whether a vehicle's CAN network should be in sleep mode or experiencing abnormal wake-up. The method uses information such as power-down and locking to determine whether the vehicle should be in sleep mode normally; if data is still being uploaded after locking, the CAN network is considered abnormal. If no data is received for an extended period, data loss is considered.
[0008] Another method for identifying abnormal vehicle sleep and wake-up is as follows: if the vehicle does not sleep normally, abnormal sleep data is recorded; if the vehicle is awakened abnormally after sleep, abnormal wake-up data is recorded. Both abnormal sleep and abnormal wake-up data are stored in the DID of the local controller. This information can be read using a diagnostic tool.
[0009] However, existing technologies lack a method for quickly detecting vehicle battery depletion during parking. How to invent a method for quickly detecting vehicle battery depletion during parking is a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0010] To address the lack of a quick method for detecting vehicle battery depletion during parking, this invention provides a method and system for detecting anomalies during vehicle parking, which saves on manual labor.
[0011] To achieve the above-mentioned objectives of this invention, the technical solution adopted is as follows:
[0012] An anomaly detection method for a vehicle during parking includes the following specific steps:
[0013] When the vehicle is parked, record the time when the vehicle loses power and the amount of power at that time.
[0014] Real-time monitoring of CAN network status during vehicle power-off: If the CAN network is activated during vehicle power-off, start the CAN working duration recording timer to record the cumulative activation time of the CAN network;
[0015] When the vehicle is powered on, record the time of power-on and the battery level at that time.
[0016] Compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine if the vehicle is low on battery:
[0017] If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally.
[0018] If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times;
[0019] If the cumulative activation time of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated.
[0020] If the cumulative activation time of the CAN network during parking is less than the set threshold T, it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.
[0021] Preferably, the further inspection of the battery for abnormalities specifically includes:
[0022] The system determines whether the parking time exceeds the set parking time threshold based on the vehicle's power-off and power-on times.
[0023] If the parking time exceeds the set parking time threshold, it is determined that the battery is depleted due to excessive parking time, and the battery is normal.
[0024] If the parking time does not exceed the set parking time threshold, the battery is determined to be faulty and needs to be replaced.
[0025] Furthermore, the method for obtaining the threshold T is as follows:
[0026] N1, retrieves the maximum power consumption W of the storage battery;
[0027] N2. Retrieve the low-voltage power P of the vehicle and obtain the threshold T by T = P / W.
[0028] Furthermore, the cumulative activation time of the CAN network is recorded. Specifically, the CAN working duration recording timer sends a cumulative number at fixed intervals, and the cumulative number increases sequentially; it is sent to the vehicle bus in a service manner.
[0029] Furthermore, after the vehicle bus receives the cumulative activation time from the CAN network, if the vehicle is not connected to a communication signal at this time, the cumulative activation time record of the CAN network will be cached in the DTC library.
[0030] Furthermore, if the vehicle is connected to a communication signal, the cumulative activation time record of the CAN network cached in the DTC library will be sent to the cloud.
[0031] Furthermore, after the vehicle bus receives the cumulative activation time of the CAN network, if the vehicle is connected to the communication signal, it will directly send the cumulative activation time of the CAN network to the cloud.
[0032] Furthermore, if the cloud receives a message indicating that the cumulative working time during parking exceeds a set threshold T, it will alert the user to a network anomaly.
[0033] Furthermore, when a network anomaly occurs, a notification will be sent to the user's vehicle app.
[0034] An anomaly detection system during vehicle parking includes a parking time recording module, a CAN network monitoring module, and a judgment module;
[0035] The parking time recording module is used to record the time when the vehicle is powered off and the battery level when the vehicle is powered off when the vehicle is parked; and to record the time when the vehicle is powered on and the battery level when the vehicle is powered on.
[0036] The CAN network monitoring module is used to monitor the CAN network status in real time during vehicle power-off: if the CAN network is activated during vehicle power-off, the CAN working duration recording timer is started to record the cumulative activation time of the CAN network.
[0037] The aforementioned determination module is used to compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine whether the vehicle is low on battery.
[0038] If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally.
[0039] If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times;
[0040] If the cumulative activation time of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated.
[0041] If the cumulative activation time of the CAN network during parking is less than the set threshold T, it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.
[0042] The beneficial effects of this invention are as follows:
[0043] This invention discloses an anomaly detection method during vehicle parking. During vehicle parking, the CAN network status is monitored in real time, and based on the CAN network status and parking time, anomalies are detected. This invention can efficiently and automatically identify the cumulative activation time of the CAN network during parking to determine whether the battery drain is due to a CAN network anomaly. If the cumulative CAN network wake-up time during parking is less than a set threshold T, it is not necessary to investigate CAN network problems; instead, the method is to determine whether the battery drain is due to aging and whether battery replacement is necessary.
[0044] Compared to existing technologies, this invention:
[0045] 1. By directly sending the cumulative activation time record of the CAN network to the cloud when there is a cloud signal, the root cause of power loss can be determined remotely without the need for manual waiting to reproduce the problem;
[0046] 2. By caching the cumulative activation time records to the CAN network into the DTC library, the demand for cloud signals for anomaly detection is reduced, and the specific cause can be found when there is a power loss in areas with poor cloud signals;
[0047] 3. To address the issue of frequent sleep / wake-up, the total network anomaly time can be directly queried by querying the cumulative activation time of the CAN network recorded by the CAN working duration record timer, thus making it convenient to determine whether there is an anomaly.
[0048] Therefore, the method proposed in this invention solves the problem of the lack of a quick detection method for vehicle battery depletion during parking, and also has the advantage of saving manpower. Attached Figure Description
[0049] Figure 1 This is a flowchart illustrating an anomaly detection method for a vehicle during parking, according to the present invention.
[0050] Figure 2 This is a schematic diagram illustrating the specific process of determining vehicle abnormalities in an abnormality detection method during vehicle parking according to the present invention.
[0051] Figure 3 This is a schematic diagram of network activity during parking, as described in the present invention's method for anomaly detection during vehicle parking.
[0052] Figure 4 This is a flowchart of the CAN network operation record during parking, which is part of the anomaly detection method for vehicles during parking according to the present invention.
[0053] Figure 5 This is a schematic diagram of the CAN network operation record during parking, which is part of the anomaly detection method for vehicles during parking according to the present invention.
[0054] Figure 6 This is a schematic diagram of the system modules of an anomaly detection system during vehicle parking according to the present invention. Detailed Implementation
[0055] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0056] Example 1
[0057] like Figure 1 As shown, an anomaly detection method during vehicle parking includes the following specific steps:
[0058] Step 1: When the vehicle is parked, record the time when the vehicle loses power and the battery level at that time;
[0059] Step 2: Monitor the CAN network status in real time during vehicle power-off: If the CAN network is activated during vehicle power-off, start the CAN working duration recording timer to record the cumulative activation time of the CAN network.
[0060] Step 3: When the vehicle is powered on, record the time of power-on and the battery level at that time;
[0061] Compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine if the vehicle is low on battery:
[0062] Step 4.1: If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally.
[0063] Step 4.2: If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off time and power-on time;
[0064] Step 5.1: If the cumulative activation time of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated.
[0065] Step 5.2: If the cumulative activation time of the CAN network during parking is less than the set threshold T, then it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.
[0066] In this embodiment, the recorded times of vehicle power-off and power-on are Beijing time.
[0067] In this embodiment, CAN network activation includes other ECUs waking up the CAN and the CAN itself waking up the CAN.
[0068] In this embodiment, the CAN operating duration recording timer records the cumulative activation time of the CAN network in seconds until the CAN bus goes into sleep mode.
[0069] In this embodiment, the CAN operating duration recording timer stops recording when the vehicle is powered on.
[0070] This invention discloses a method for detecting anomalies during vehicle parking. During vehicle parking, the CAN network status is monitored in real time, and based on the CAN network status and parking time, anomalies are detected. This invention can efficiently and automatically identify the cumulative activation time of the CAN network during parking to determine whether the battery drain is due to a CAN network anomaly. If the cumulative CAN network wake-up time during parking is less than a set threshold T, it is not necessary to investigate the CAN network problem; instead, the problem is determined whether the battery drain is due to aging and whether battery replacement is necessary. The method proposed in this invention solves the problem of the lack of a quick detection method for vehicle battery drain during parking and also saves manpower.
[0071] Example 2
[0072] More specifically, in one particular embodiment, such as Figure 2 As shown, the specific procedure for determining vehicle abnormalities is as follows:
[0073] Determine if the vehicle is out of power: If the vehicle is not out of power, then the vehicle is considered to be normal.
[0074] If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times;
[0075] The system determines whether the parking time exceeds the set parking time threshold based on the vehicle's power-off and power-on times.
[0076] If the parking time exceeds the set parking time threshold, it is determined that the battery is depleted due to excessive parking time, and the battery is normal.
[0077] If the parking time does not exceed the set parking time threshold, the battery is determined to be faulty and needs to be replaced.
[0078] Therefore, this invention addresses the problem of frequent sleep / wake-up. By querying the cumulative activation time of the CAN network recorded by the CAN working duration record timer, the total network abnormal time can also be directly queried, thereby making it convenient to determine whether there is an abnormality.
[0079] In this embodiment, the recorded time is Beijing time.
[0080] In this embodiment, the threshold T = 1 hour; however, it can be set according to actual needs.
[0081] When the CAN network is activated and operational (including CAN wake-up by other ECUs and CAN wake-up itself), the CAN operation duration recording timer restarts and continues until the CAN bus goes into sleep mode again. The timer stops upon receiving an unlock signal. The timer starts as long as the network is active while the vehicle is parked.
[0082] like Figure 3 As shown, in one specific embodiment, the power-off time of the vehicle is the time it takes for the vehicle signal to change from unlocked to locked.
[0083] In one specific embodiment, the vehicle's power-on time is the time it takes for the vehicle signal to change from locked to unlocked.
[0084] In one specific embodiment, the threshold T is obtained as follows:
[0085] N1, retrieves the maximum power consumption W of the storage battery;
[0086] N2. Retrieve the low-voltage power P of the vehicle and obtain the threshold T by T = P / W.
[0087] In one specific embodiment, such as Figure 4 As shown, the cumulative activation time of the CAN network is recorded. Specifically, the CAN working duration recording timer sends the cumulative number once at fixed intervals, and the cumulative number increases sequentially; it is sent to the vehicle bus in a service manner.
[0088] In this embodiment, when the vehicle is powered off and the vehicle enters the locked state, the power-off timestamp is recorded, and the cumulative activation time of the infoCAN network is recorded to the bus.
[0089] In this embodiment, the fixed time is 1 minute, 10 seconds, 30 seconds, etc., and can be set according to actual needs.
[0090] In this embodiment, the power-off locking time is also sent to the vehicle's bus in a service manner; when no power-on unlock signal is received, the end time signal sent is 00.
[0091] In this embodiment, when the vehicle signal changes from locked to unlocked, and the vehicle switches from locked to unlocked state, the power-on timestamp is recorded, and the recording of the cumulative activation time of the infoCAN network to the bus is stopped.
[0092] In this embodiment, after the vehicle bus receives the cumulative activation time from the CAN network, if the vehicle is not connected to a 4G / 5G signal and cannot obtain Beijing time, it will directly send the most recently received valid time value. In this case, the cumulative activation time record from the CAN network will be cached in the DTC library.
[0093] In this embodiment, the recorded data needs to be cached in the DTC library (EEPROM), and then uploaded to the cloud when there is a network connection, using the DTC upload channel.
[0094] In this embodiment, the cache will store at least 30 days of data.
[0095] In this embodiment, if the vehicle regains 4G / 5G signal connectivity, the cumulative activation time record of the CAN network cached in the DTC library will be sent to the cloud.
[0096] Therefore, by caching the cumulative activation time records of the CAN network into the DTC library, this invention reduces the demand for cloud signals for anomaly detection, and the specific cause can be found when the power is low in areas with poor cloud signals.
[0097] In this embodiment, the device can also directly read the cumulative activation time data of the CAN network cached in the DTC library.
[0098] In one specific embodiment, after the vehicle bus receives the cumulative activation time of the CAN network, if the vehicle is connected to the communication signal, the cumulative activation time of the CAN network is directly recorded and sent to the cloud.
[0099] In one specific embodiment, when the cloud receives a message indicating that the cumulative working time during parking exceeds a set threshold T, it alerts the user to a network anomaly.
[0100] In one specific embodiment, when a user is alerted to a network anomaly, an anomaly notification is sent to the user's vehicle app, notifying them to request repairs.
[0101] Therefore, this invention can directly and remotely determine the root cause of power loss, eliminating the need for manual intervention to wait for the problem to reproduce.
[0102] The method proposed in this invention solves the problem of the lack of a quick detection method for vehicle battery depletion during parking, and also has the advantage of saving manpower.
[0103] Example 3
[0104] More specifically, in this embodiment, such as Figure 5 As shown, the vehicle was powered off at 17:00 on February 20, 2023, and powered on at 17:00 on February 21, 2023. The cumulative activation time of the CAN network during this period is N. At this time, anomalies were detected during vehicle parking.
[0105] Compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine if the vehicle is low on battery:
[0106] If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally.
[0107] If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times;
[0108] If the cumulative activation time N of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated.
[0109] If the cumulative activation time N of the CAN network during parking is less than the set threshold T, it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.
[0110] In one specific embodiment, the further check for battery abnormalities specifically includes:
[0111] The system determines whether the parking time exceeds the set parking time threshold based on the vehicle's power-off and power-on times.
[0112] If the parking time exceeds the set parking time threshold X, it is determined that the battery is depleted due to excessive parking time, and the battery is normal.
[0113] If the parking time does not exceed the set parking time threshold X, the battery is determined to be faulty and needs to be replaced.
[0114] Example 4
[0115] like Figure 6 As shown, an anomaly detection system during vehicle parking includes a parking time recording module, a CAN network monitoring module, and a judgment module.
[0116] The parking time recording module is used to record the time when the vehicle is powered off and the battery level when the vehicle is powered off when the vehicle is parked; and to record the time when the vehicle is powered on and the battery level when the vehicle is powered on.
[0117] In this embodiment, the time when the vehicle is powered off and the amount of electricity at the time of power off, and the time when the vehicle is powered on and the amount of electricity at the time of power on are input into the determination module for judgment.
[0118] The CAN network monitoring module is used to monitor the CAN network status in real time during vehicle power-off: if the CAN network is activated during vehicle power-off, the CAN working duration recording timer is started to record the cumulative activation time of the CAN network.
[0119] In this embodiment, the cumulative activation time of the CAN network is input into the determination module for determination;
[0120] In this embodiment, the determination module determines the cause of the CAN network's power depletion based on the input vehicle power-off time and power level, vehicle power-on time and power level, and the cumulative activation time of the CAN network.
[0121] The aforementioned determination module is used to compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine whether the vehicle is low on battery.
[0122] If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally.
[0123] If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times;
[0124] If the cumulative activation time of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated.
[0125] If the cumulative activation time of the CAN network during parking is less than the set threshold T, it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.
[0126] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the claims of the present invention.
Claims
1. An abnormality detection method during parking of a vehicle, characterized by: The specific steps include the following: When the vehicle is parked, record the time when the vehicle loses power and the amount of power at that time. Real-time monitoring of the CAN network status during vehicle power-off: If the CAN network is activated during vehicle power-off, a CAN working duration recording timer is started to record the cumulative activation time of the CAN network; the CAN working duration recording timer sends a cumulative number to the vehicle bus in a service manner at fixed intervals, and the cumulative number increments sequentially; after receiving the cumulative activation time, if the vehicle does not have a communication signal at this time, the vehicle bus caches the cumulative activation time in the DTC library; When the vehicle is powered on, record the time of power-on and the battery level at that time. Compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine if the vehicle is low on power. If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally. If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times; If the cumulative activation time of the CAN network during parking exceeds the threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated. The threshold T is obtained by: retrieving the maximum power consumption W of the battery; retrieving the low-voltage power P of the vehicle; and calculating the threshold T by T=P / W. If the cumulative activation time of the CAN network during parking is less than the set threshold T, the CAN network is considered to be normal. Further, the parking time is determined based on the vehicle's power-off and power-on times to see if the parking time exceeds the set parking time threshold. If the parking time exceeds the set parking time threshold, it is determined that the battery is depleted due to excessive parking time, and the battery is normal. If the parking time does not exceed the set parking time threshold, the battery is determined to be abnormal and needs to be replaced.
2. The abnormality detection method during parking of a vehicle according to claim 1, characterized by: If the vehicle is connected to the communication signal, the cumulative activation time record of the CAN network cached in the DTC library will be sent to the cloud.
3. The abnormality detection method during parking of a vehicle according to claim 1, characterized by: After the vehicle bus receives the cumulative activation time of the CAN network, if the vehicle is connected to the communication signal, it will directly send the cumulative activation time of the CAN network to the cloud.
4. The abnormality detection method during parking of a vehicle according to claim 3, characterized by: If the cloud receives a message indicating that the cumulative activation time during parking exceeds a set threshold T, it will alert the user to a network error.
5. The abnormality detection method during parking of a vehicle according to claim 4, characterized by: When a user experiences a network error, a notification will be sent to the user's vehicle app.
6. An abnormality detection system during parking of a vehicle, characterized by: The method for implementing the method as described in any one of claims 1 to 5 includes a parking time recording module, a CAN network monitoring module, and a determination module; The parking time recording module is used to record the time when the vehicle is powered off and the battery level when the vehicle is powered off when the vehicle is parked; and to record the time when the vehicle is powered on and the battery level when the vehicle is powered on. The CAN network monitoring module is used to monitor the CAN network status in real time during vehicle power-off: if the CAN network is activated during vehicle power-off, the CAN working duration recording timer is started to record the cumulative activation time of the CAN network. The aforementioned determination module is used to compare the vehicle's battery level when it is powered on with the battery level when it is powered off to determine whether the vehicle is low on battery. If the vehicle does not show signs of battery depletion, then the vehicle is considered to be functioning normally. If the vehicle's battery is low, check the cumulative activation time of the CAN network between the vehicle's power-off and power-on times; If the cumulative activation time of the CAN network during parking exceeds the set threshold T, the CAN network is determined to be abnormal, and the cause of the CAN network abnormality is investigated. If the cumulative activation time of the CAN network during parking is less than the set threshold T, it is determined that there is no abnormality in the CAN network, and the battery is further checked for abnormality.