Vehicle battery swap anomaly diagnosis method and system, electronic device, and storage medium
By monitoring and analyzing radio frequency communication data, and combining it with UDS-like protocol interaction, radio frequency anomalies in electric vehicle battery swapping stations can be diagnosed. This solves the problem of quickly and accurately identifying the root cause of the fault, and improves the efficiency of battery swapping anomaly diagnosis and system robustness.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-12
- Publication Date
- 2026-04-14
AI Technical Summary
In electric vehicle battery swapping stations, when radio frequency communication is abnormal, it is difficult to quickly and accurately determine the root cause of the fault, especially in scenarios with multiple battery swapping bays, where it is difficult to distinguish between abnormalities caused by faults in the vehicle's own radio frequency module, problems with the battery swapping bay equipment, or interference from the external environment.
By monitoring the radio frequency communication between vehicles and battery swapping bays within a preset monitoring area, radio frequency communication datasets are obtained, radio frequency transmission cycles and frame loss rates are analyzed, and anomaly types are diagnosed by using a UDS-like protocol to interact with vehicles and battery swapping bays, including vehicle anomalies, battery swapping bay anomalies, external radio frequency interference, and other battery swapping bay interference.
It improves the diagnostic efficiency of vehicle battery swapping anomalies, accurately identifies the anomaly type, reduces troubleshooting time, and enhances the efficiency of the battery swapping process and the system's anti-interference capability.
Smart Images

Figure CN121124978B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to a diagnostic method, system, electronic device, and storage medium for vehicle battery swapping anomalies. Background Technology
[0002] In electric vehicle battery swapping stations, vehicles and swapping bays rely on radio frequency (RF) communication for identification and data exchange, ensuring the efficient operation of the swapping process. Especially in scenarios with multiple swapping bays, the RF environment becomes increasingly complex, and communication anomalies occur frequently. However, current technologies often lack effective diagnostic tools when communication anomalies occur, relying primarily on manual troubleshooting. When communication fails or becomes inefficient, maintenance personnel struggle to quickly and accurately determine the root cause. Specifically, current technologies often fail to differentiate between anomalies caused by a faulty RF module in the vehicle itself, a problem with the swapping bay equipment, or interference from unknown RF signals in the external environment. Therefore, current technologies suffer from low diagnostic efficiency for vehicle battery swapping anomalies. Summary of the Invention
[0003] To address the aforementioned technical problems, this application provides a diagnostic method, system, electronic device, and storage medium for vehicle battery swapping anomalies.
[0004] Firstly, this application provides a diagnostic method for vehicle battery swapping anomalies, comprising: monitoring the radio frequency communication between a group of vehicles and a group of battery swapping bays within a preset monitoring area to obtain a radio frequency communication dataset; analyzing the radio frequency communication dataset to obtain analysis results, wherein the analysis results include the radio frequency transmission period and frame loss rate of each battery swapping bay; when there is an anomaly in battery swapping between the target vehicle and the target battery swapping bay, diagnosing the target anomaly type based on the analysis results, wherein the target anomaly type includes at least one of the following: target vehicle anomaly, target battery swapping bay anomaly, external radio frequency interference, and other battery swapping bay interference, wherein a group of vehicles includes the target vehicle, a group of battery swapping bays includes the target battery swapping bay and other battery swapping bays, external radio frequency interference is used to indicate radio frequency interference emitted by external devices other than a group of battery swapping bays and a group of vehicles, and the target vehicle is the vehicle to be swapped.
[0005] By adopting the above technical solution, the radio frequency communication between a group of vehicles and a group of battery swapping compartments is monitored to obtain the radio frequency communication dataset. The radio frequency transmission period and frame loss rate of the battery swapping compartments are analyzed, and the vehicle battery swapping anomaly type is diagnosed based on the analysis results. This can improve the diagnostic efficiency of vehicle battery swapping anomalies and accurately determine whether the battery swapping anomaly is caused by vehicle anomaly, battery swapping compartment anomaly, external radio frequency interference, or interference from other battery swapping compartments.
[0006] Optionally, the radio frequency communication dataset is analyzed to obtain the analysis results, including: obtaining the number of request frames sent by the target battery swapping compartment and the number of response frames sent by the target vehicle within a preset time period based on the radio frequency communication dataset; performing time analysis on the number of request frames to obtain the radio frequency transmission cycle of the target battery swapping compartment; and determining the frame loss rate of the target battery swapping compartment based on the number of request frames and the number of response frames.
[0007] By adopting the above technical solution, the number of request frames of the target battery swapping compartment and the number of response frames of the target vehicle in a preset time period are obtained based on the radio frequency communication dataset. The radio frequency transmission cycle of the target battery swapping compartment is obtained by performing time analysis on the number of request frames. The frame loss rate of the target battery swapping compartment is determined based on the number of request frames and the number of response frames. This provides key analytical data for subsequent diagnosis of vehicle battery swapping anomalies and helps to improve the diagnostic efficiency of vehicle battery swapping anomalies.
[0008] Optionally, the radio frequency communication dataset is analyzed to obtain the analysis results, including: obtaining the effective radio frequency data volume of the target battery swapping compartment within the preset communication duration from the radio frequency communication dataset; and calculating the communication efficiency of the target battery swapping compartment within the preset communication duration according to the effective radio frequency data volume, the preset communication duration, and the channel bandwidth in the following manner: Communication efficiency = Effective data volume / (Preset communication duration × Channel bandwidth).
[0009] By adopting the above technical solution, the effective radio frequency data volume of the target battery swapping compartment within the preset communication duration can be obtained from the radio frequency communication data set. Combined with the preset communication duration and channel bandwidth, the communication efficiency of the target battery swapping compartment can be calculated, and the radio frequency communication status between the vehicle and the battery swapping compartment can be effectively analyzed.
[0010] Optionally, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include radio frequency signals from external devices with the same agreed frequency as the target, and the frame loss rate of the target battery swapping compartment is greater than a first preset proportional threshold, the target anomaly type is determined to be external radio frequency interference, wherein the agreed frequency is used to represent the agreed radio frequency communication frequency between the target battery swapping compartment and the target vehicle.
[0011] By adopting the above technical solution, when the battery swapping of the target vehicle and the target battery swapping compartment is abnormal, if the analysis results show that there is an external device radio frequency signal with the same frequency as the target and the frame loss rate of the target battery swapping compartment is greater than the first preset ratio threshold, the target abnormality type can be determined to be external radio frequency interference, thereby improving the diagnostic efficiency of vehicle battery swapping abnormality.
[0012] Optionally, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping station, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include multiple request frames sent by a group of battery swapping stations at a first radio frequency in the first time period, multiple request frames sent by the target battery swapping station at a second radio frequency in the second time period, multiple response frames sent by the target vehicle in the second time period, and do not include response frames sent by a group of vehicles in the first time period, the target anomaly type is determined to be external radio frequency interference. In this case, the target battery swapping station is set to switch between the first radio frequency and the second radio frequency according to a preset period to send radio frequency communication data, and the time difference between the start time of the second time period and the end time of the first time period is equal to the duration corresponding to the preset period.
[0013] By adopting the above technical solution, when a battery swapping anomaly occurs, if the analysis results include multiple request frames sent by a group of battery swapping bays at a first radio frequency in the first time period, but do not include a group of response frames from vehicles in the first time period, and if the analysis results also include multiple request frames sent by the target battery swapping bay at a second radio frequency in the second time period and multiple response frames sent by the target vehicle in the second time period, the target anomaly type can be accurately determined to be external radio frequency interference, thus improving the diagnostic efficiency of vehicle battery swapping anomalies. This solves the problem of how to accurately identify interference at specific frequency points under a frequency hopping communication mechanism.
[0014] Optionally, when an anomaly occurs in the battery swapping process between the target vehicle and the target battery swapping station, the anomaly type is diagnosed based on the analysis results, including at least one of the following: when the analysis results indicate that the number of request frames sent by the target battery swapping station within a preset time period is greater than a preset frame number threshold and the number of response frames sent by the target vehicle within the preset time period is zero, a first interaction is performed with the target battery swapping station via a simulated UDS protocol to obtain a first interaction result, and a second interaction is performed with the target vehicle via a simulated UDS protocol to obtain a second interaction result; when the first interaction result indicates that the actual VIN information of the target vehicle does not match the stored VIN information obtained by the target battery swapping station, the anomaly type is determined to be the first anomaly, and the first anomaly indicates... The information stored in the host computer system of the target battery swapping station is incorrect. Specifically, the stored VIN information is the VIN information corresponding to the target vehicle obtained from the host computer system after the target battery swapping station identifies the target vehicle. The target battery swapping station anomaly includes the first anomaly. When the first interaction result does not include the interaction feedback information of the target vehicle, the target anomaly type is determined to be the second anomaly. The second anomaly indicates that the target battery swapping station has a problem of mistakenly scanning license plates. The target battery swapping station anomaly includes the second anomaly. When the second interaction result includes the target vehicle's own fault information, the target anomaly type is determined to be the third anomaly. The third anomaly indicates that the radio frequency module at the target vehicle end has a fault. The target vehicle anomaly includes the third anomaly.
[0015] By adopting the above technical solution, when the target vehicle and the target battery swapping station experience battery swapping anomalies, if the analysis results show that the number of request frames sent by the target battery swapping station within a preset time period exceeds a preset frame threshold and the number of response frames from the target vehicle is zero, the system interacts with both the target battery swapping station and the target vehicle separately via a simulated UDS protocol. Based on the first interaction result, if the actual VIN information of the target vehicle does not match the VIN information stored in the target battery swapping station, it can be determined that the information stored in the target battery swapping station's host computer system is incorrect; if the first interaction result shows no feedback from the target vehicle, it can be determined that the target battery swapping station has a problem with mis-scanning license plates; based on the second interaction result, if there is fault information from the target vehicle itself, it can be determined that the target vehicle's radio frequency module is faulty, thus improving the diagnostic efficiency of vehicle battery swapping anomalies and accurately distinguishing whether the anomaly is in the target vehicle or the target battery swapping station.
[0016] Optionally, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results indicate that the number of request frames sent by the target battery swapping compartment within a first preset time period is zero, obtaining image recognition results, wherein the image recognition results are obtained by the image recognition device in the target battery swapping compartment after recognizing the target vehicle; when the image recognition results indicate that the target vehicle is currently located in the recognition area of the target battery swapping compartment, performing a third interaction with the target battery swapping compartment through a simulated UDS protocol to obtain a third interaction result; when the third interaction result indicates that the target battery swapping compartment's host computer system does not include the target vehicle's VIN information, determining the target anomaly type as a fourth anomaly, the fourth anomaly indicating that the target vehicle is not in the battery swapping system, wherein the target vehicle anomaly includes the fourth anomaly; when the third interaction result includes the target battery swapping compartment's own fault information, determining the target anomaly type as a fifth anomaly, the fifth anomaly indicating that the target battery swapping compartment's radio frequency module is faulty, wherein the target battery swapping compartment anomaly includes the fifth anomaly.
[0017] By adopting the above technical solution, when the target vehicle experiences an abnormal battery swapping with the target battery swapping compartment, if the analysis result indicates that the target battery swapping compartment sends zero request frames within a first preset time period, the image recognition result is obtained. If the vehicle is within the battery swapping compartment's recognition area, a third interaction is performed with the battery swapping compartment via a simulated UDS protocol to obtain the third interaction result. If the third interaction result indicates that the target battery swapping compartment's host computer system does not include the target vehicle's VIN information, the target abnormality type can be determined as the fourth abnormality, i.e., the target vehicle is abnormal. If the third interaction result includes the target battery swapping compartment's own fault information, the target abnormality type can be determined as the fifth abnormality, i.e., the target battery swapping compartment's radio frequency module is faulty. Therefore, the specific type of vehicle battery swapping abnormality can be diagnosed quickly and accurately, improving the diagnostic efficiency of vehicle battery swapping abnormalities.
[0018] Optionally, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping station, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include multiple request frames from the target battery swapping station within a preset time period, multiple response frames from the target vehicle within a preset time period, and a frame loss rate of the target battery swapping station within a preset time period that is greater than a second preset ratio threshold, the target anomaly type is determined to be interference from other battery swapping stations. Interference from other battery swapping stations indicates interference caused by the consistent radio frequency transmission period between other battery swapping stations and the target battery swapping station.
[0019] By adopting the above technical solution, when the battery swapping is abnormal and the analysis results show that the target battery swapping compartment has multiple request frames within a preset time period, the target vehicle has multiple response frames, and the frame loss rate of the target battery swapping compartment is greater than the second preset ratio threshold, the target abnormality type can be determined to be interference from other battery swapping compartments, that is, interference caused by the radio frequency transmission cycle of other battery swapping compartments being consistent with that of the target battery swapping compartment. This can quickly and accurately distinguish the type of battery swapping abnormality and improve the diagnostic efficiency of vehicle battery swapping abnormalities.
[0020] Optionally, after determining that the target anomaly type is interference from other battery swapping stations, the above method further includes: sending a prompt message to the host computer system of the target battery swapping station, the prompt message being used to prompt for differentiated processing of the radio frequency transmission cycle and frequency hopping mode of other battery swapping stations and the target battery swapping station.
[0021] By adopting the above technical solution, after determining that the target anomaly is interference from other battery swapping compartments, a prompt message is sent to the host computer system of the target battery swapping compartment. This prompts for differentiated processing of the radio frequency transmission cycle and frequency hopping method between other battery swapping compartments and the target battery swapping compartment, thus solving the problem of low diagnostic efficiency for vehicle battery swapping anomalies, avoiding interference caused by the same radio frequency transmission cycle between other battery swapping compartments and the target battery swapping compartment, and improving the diagnostic efficiency for vehicle battery swapping anomalies.
[0022] In a second aspect of this application, a diagnostic system for vehicle battery swapping anomalies is also provided, comprising: a radio frequency (RF) monitoring module for monitoring the RF communication between a group of vehicles and a group of battery swapping bays within a preset monitoring area, and acquiring an RF communication dataset; an RF analysis module for analyzing the RF communication dataset and obtaining analysis results, wherein the analysis results include the RF transmission period and frame loss rate of each battery swapping bay; and a diagnostic module for diagnosing the target anomaly type based on the analysis results when an anomaly occurs between the target vehicle and the target battery swapping bay, wherein the target anomaly type includes at least one of the following: target vehicle anomaly, target battery swapping bay anomaly, external RF interference, and other battery swapping bay interference, wherein a group of vehicles includes the target vehicle, a group of battery swapping bays includes the target battery swapping bay and other battery swapping bays, external RF interference refers to RF interference emitted by external devices other than a group of battery swapping bays and a group of vehicles, and the target vehicle is the vehicle to be swapped.
[0023] In a third aspect of this application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the program to implement the method steps of any of the above claims.
[0024] In a fourth aspect of this application, a computer-readable storage medium is also provided, which stores instructions that, when executed, perform the method steps of any of the above claims.
[0025] In summary, one or more technical solutions provided in this application have at least the following technical effects or advantages:
[0026] 1. Monitor the radio frequency communication between a group of vehicles and a group of battery swapping compartments, obtain the radio frequency communication dataset, analyze the radio frequency transmission period and frame loss rate of the battery swapping compartments, and then diagnose the type of vehicle battery swapping anomaly based on the analysis results. This can improve the diagnostic efficiency of vehicle battery swapping anomalies and accurately determine whether the battery swapping anomaly is caused by vehicle anomaly, battery swapping compartment anomaly, external radio frequency interference, or interference from other battery swapping compartments.
[0027] 2. When the battery swapping of the target vehicle and the target battery swapping compartment is abnormal, if the analysis results show that there is an external device radio frequency signal with the same frequency as the target and the frame loss rate of the target battery swapping compartment is greater than the first preset ratio threshold, the target abnormality type can be determined to be external radio frequency interference, which improves the diagnostic efficiency of vehicle battery swapping abnormality.
[0028] 3. When a battery swapping anomaly occurs, if the analysis results include multiple request frames sent by a group of battery swapping bays at a first radio frequency in the first time period, but do not include a group of response frames from vehicles in the first time period, and if the analysis results also include multiple request frames sent by the target battery swapping bay at a second radio frequency in the second time period and multiple response frames sent by the target vehicle in the second time period, the target anomaly type can be accurately determined to be external radio frequency interference, thus improving the diagnostic efficiency of vehicle battery swapping anomalies; this solves the problem of how to accurately identify interference at specific frequency points under the frequency hopping communication mechanism.
[0029] 4. When a battery swapping malfunction occurs between the target vehicle and the target battery swapping station, if the analysis results show that the number of request frames sent by the target battery swapping station within a preset time period exceeds a preset frame threshold and the number of response frames from the target vehicle is zero, the system interacts with both the target battery swapping station and the target vehicle via a simulated UDS protocol. Based on the first interaction result, if the actual VIN information of the target vehicle does not match the VIN information stored in the target battery swapping station, it can be determined that the information stored in the target battery swapping station's host computer system is incorrect; if the first interaction result shows no feedback from the target vehicle, it can be determined that the target battery swapping station has a problem with mis-scanning license plates; based on the second interaction result, if there is fault information from the target vehicle itself, it can be determined that the radio frequency module on the target vehicle side is faulty, thus improving the diagnostic efficiency of vehicle battery swapping malfunctions and accurately distinguishing whether the malfunction is in the target vehicle or the target battery swapping station. Attached Figure Description
[0030] Figure 1 This is a flowchart of a diagnostic method for vehicle battery swapping abnormalities provided in an embodiment of this application;
[0031] Figure 2 This is a schematic diagram of the installation method of the radio frequency detection module provided in the embodiments of this application;
[0032] Figure 3 This is a diagram of a diagnostic system architecture for vehicle battery swapping anomalies provided in an embodiment of this application;
[0033] Figure 4 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application.
[0034] Explanation of reference numerals in the attached drawings: 400 - Electronic device; 401 - Processor; 402 - Communication bus; 403 - User interface; 404 - Network interface; 405 - Memory. Detailed Implementation
[0035] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0036] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0037] In the description of the embodiments of this application, the term "multiple" means two or more. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0038] This application provides a diagnostic method for vehicle battery swapping abnormalities, referring to... Figure 1 , Figure 1 This is a flowchart of a diagnostic method for vehicle battery swapping anomalies provided in an embodiment of this application, including the following steps:
[0039] Step S101: Monitor the radio frequency communication between a group of vehicles and a group of battery swapping compartments within a preset monitoring area, and obtain the radio frequency communication dataset;
[0040] Step S102: Analyze the radio frequency communication dataset to obtain the analysis results, which include the radio frequency transmission cycle and frame loss rate of each battery swapping compartment.
[0041] Step S103: When there is an abnormality in the battery swapping between the target vehicle and the target battery swapping compartment, the target abnormality type is diagnosed based on the analysis results. The target abnormality type includes at least one of the following: target vehicle abnormality, target battery swapping compartment abnormality, external radio frequency interference, and other battery swapping compartment interference. Here, a group of vehicles includes the target vehicle, a group of battery swapping compartments includes the target battery swapping compartment and other battery swapping compartments, and external radio frequency interference is used to refer to radio frequency interference emitted by external devices other than a group of battery swapping compartments and a group of vehicles. The target vehicle is the vehicle to be swapped.
[0042] By listening to the radio frequency communication between a group of vehicles and a group of battery swapping compartments through the above steps, obtaining the radio frequency communication dataset, analyzing the radio frequency transmission period and frame loss rate of the battery swapping compartments, and then diagnosing the type of vehicle battery swapping anomaly based on the analysis results, the diagnostic efficiency of vehicle battery swapping anomalies can be improved, and the anomaly can be accurately determined whether it is caused by vehicle anomaly, battery swapping compartment anomaly, external radio frequency interference, or other battery swapping compartment interference.
[0043] Within the pre-defined monitoring area of the battery swapping station, radio frequency (RF) communication between vehicles and swapping bays is monitored. This is analogous to placing a "listener" in a communication "channel," collecting all RF communication signals transmitted between vehicles and swapping bays to form an RF communication dataset. This dataset contains various information about the communication between vehicles and swapping bays, essentially capturing RF communication data between all vehicles and all swapping bays within a designated area through a single monitoring device, forming a macroscopic RF communication dataset. This not only targets a single pair of devices experiencing an anomaly but covers an entire group. The collected RF communication dataset is analyzed to extract useful information, such as the RF signal transmission period of each swapping bay and the frame loss rate. These indicators form the basis for diagnosis. The RF transmission period refers to the time interval at which the swapping bay transmits RF signals, acting like a timer that specifies the frequency of signal transmission. The frame loss rate refers to the proportion of data frames lost during communication. Data frames can be understood as "data packets" transmitted in communication; a high loss rate indicates severe data loss during communication. When an anomaly occurs during battery swapping between the target vehicle and the target battery swapping station, the information obtained from the previous analysis, such as the radio frequency transmission period and frame loss rate, is used to diagnose the type of anomaly. Anomaly types include target vehicle anomalies, target battery swapping station anomalies, external radio frequency interference, and interference from other battery swapping stations. This helps determine whether the anomaly is caused by a problem with the vehicle itself, the battery swapping station, or external interference. A group of battery swapping stations can include a single station or multiple stations, and the target battery swapping station can be any one of the stations in that group. In related technologies, when battery swapping anomalies occur, troubleshooting typically relies on manual methods, leading to low diagnostic efficiency and a high risk of misjudgment. This embodiment transforms the original manual troubleshooting process into automated, data-driven intelligent diagnosis. Through global monitoring and data analysis, it can identify problems from a more macroscopic perspective, such as "interference from other battery swapping stations," which is difficult to detect from a single device's perspective. This significantly shortens troubleshooting time, reduces downtime or reduced efficiency at battery swapping stations, and improves overall operational efficiency. It can also clearly pinpoint the cause of the fault to specific equipment (target vehicle, target battery swapping station, other battery swapping stations) or the external environment, providing precise guidance for subsequent maintenance.
[0044] In an optional embodiment, the radio frequency communication dataset is analyzed to obtain the analysis results, including: obtaining the number of request frames sent by the target battery swapping compartment within a preset time period and the number of response frames sent by the target vehicle within the preset time period based on the radio frequency communication dataset; performing time analysis on the number of request frames to obtain the radio frequency transmission cycle of the target battery swapping compartment; and determining the frame loss rate of the target battery swapping compartment based on the number of request frames and the number of response frames.
[0045] In the above embodiments, the number of request frames of the target battery swapping compartment and the number of response frames of the target vehicle during a preset time period are obtained based on the radio frequency communication dataset. The radio frequency transmission cycle of the target battery swapping compartment is obtained by performing time analysis on the number of request frames. The frame loss rate of the target battery swapping compartment is determined based on the number of request frames and the number of response frames. This provides key analytical data for subsequent diagnosis of vehicle battery swapping anomalies and helps to improve the diagnostic efficiency of vehicle battery swapping anomalies.
[0046] By analyzing the number of request frames from the target battery swapping bay and the number of response frames from the target vehicle in the radio frequency (RF) communication data, the RF transmission cycle and frame loss rate of the target battery swapping bay are obtained. The RF transmission cycle is obtained through time analysis of the number of request frames, reflecting the time interval pattern of the target battery swapping bay's RF signal transmissions. For example, by performing sequence analysis ("time analysis") on the timestamps of "request frames," the time interval between adjacent request frames can be calculated, thus obtaining the actual operating cycle of the battery swapping bay. The frame loss rate is calculated based on the number of request frames and response frames, reflecting the proportion of data frames lost during communication. For example, if the battery swapping bay sends 100 request frames but only receives 90 response frames, the frame loss rate is 10%. This reflects how many data frames are not successfully transmitted during communication, thus assessing the reliability of communication and evaluating communication quality to determine if any anomalies exist. By obtaining the RF transmission cycle and frame loss rate of the target battery swapping bay, the operating status of the battery swapping equipment and the quality of the communication link can be intuitively understood. For example, an abnormal radio frequency transmission cycle may indicate a malfunction in the battery swapping equipment; an excessively high frame loss rate may suggest external radio frequency interference or other issues. This allows for more targeted troubleshooting and repair, reducing the time and cost of manual troubleshooting, improving the efficiency of battery swapping anomaly diagnosis, and ensuring the efficient operation of the battery swapping process.
[0047] In an optional embodiment, the radio frequency communication dataset is analyzed to obtain the analysis results, including: obtaining the effective radio frequency data volume of the target battery swapping compartment within a preset communication duration from the radio frequency communication dataset; and calculating the communication efficiency of the target battery swapping compartment within the preset communication duration according to the effective radio frequency data volume, the preset communication duration, and the channel bandwidth in the following manner: Communication efficiency = Effective data volume / (Preset communication duration × Channel bandwidth).
[0048] In the above embodiments, the effective radio frequency data volume of the target battery swapping compartment within a preset communication duration is obtained from the radio frequency communication data set, and the communication efficiency of the target battery swapping compartment is calculated in combination with the preset communication duration and channel bandwidth, which can effectively analyze the radio frequency communication status between the vehicle and the battery swapping compartment.
[0049] First, the effective radio frequency (RF) data volume of the target battery swapping bay within a preset communication duration (e.g., 1 minute, 5 minutes, or other durations) is extracted from the RF communication dataset. Effective RF data volume refers to the amount of data actually successfully transmitted during communication, excluding lost, damaged, or invalid data. This is the total effective data volume (usually measured in bits or bytes) truly used for vehicle-battery swapping bay identification and data exchange after removing invalid data (e.g., redundant codes, error frames, empty frames). Second, based on the fundamental logic of "channel capacity = duration × bandwidth" in the communication field, the theoretical maximum data transmission volume of the communication channel where the target battery swapping bay is located within this time period is calculated using "preset communication duration × channel bandwidth". Then, using the formula "communication efficiency = effective data volume / (preset communication duration × channel bandwidth)", the ratio of the actual effective data volume to the theoretical maximum transmission volume is calculated, ultimately yielding the communication efficiency of the target battery swapping bay within this time period. Typically presented as a percentage (e.g., 80% or 50%), this ratio intuitively reflects the percentage of actual communication throughput to theoretical channel capacity. Higher efficiency indicates more efficient channel utilization and better communication performance; low efficiency indicates a performance bottleneck. For example, when the communication efficiency of a target battery swapping station is lower than a preset communication efficiency threshold (e.g., 75%, or other values), it is considered that the target battery swapping station itself may have an anomaly. This transforms communication quality from a "qualitative description" to a "quantitative indicator," providing accurate data support for subsequent anomaly diagnosis. In practical applications, combining multiple indicators such as "frame loss rate" and "communication efficiency" for comprehensive diagnosis can greatly improve the accuracy of root cause analysis. For example, high packet loss rate + low efficiency: likely points to strong, continuous interference or equipment hardware failure; low packet loss rate + low efficiency: may point to equipment driver problems, protocol configuration errors, or minor but continuous interference.
[0050] In an optional embodiment, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include radio frequency signals from external devices with the same agreed frequency as the target, and the frame loss rate of the target battery swapping compartment is greater than a first preset proportional threshold, the target anomaly type is determined to be external radio frequency interference, wherein the agreed frequency is used to represent the agreed radio frequency communication frequency between the target battery swapping compartment and the target vehicle.
[0051] In the above embodiments, when the target vehicle and the target battery swapping compartment experience battery swapping anomalies, if the analysis results show an external device radio frequency signal with the same frequency as the target and the frame loss rate of the target battery swapping compartment is greater than a first preset ratio threshold, the target anomaly type can be determined to be external radio frequency interference, thereby improving the diagnostic efficiency of vehicle battery swapping anomalies.
[0052] When analyzing radio frequency (RF) communication data, the system detects the presence of external device RF signals at the same frequency agreed upon between the target battery swapping station and the target vehicle. This is analogous to detecting signals from other "intruders" on the communication "channel," in addition to the normal vehicle and battery swapping station communication signals. For example, the target agreed frequency might be 433MHz (or 434MHz, or other values). Simultaneously, the system checks if the frame loss rate of the target battery swapping station exceeds a first preset threshold. The frame loss rate is calculated using the previously mentioned request and response frame counts, representing the proportion of data frames lost during communication. If the frame loss rate exceeds a set threshold, such as 20% (or 30%, or other values), it indicates severe data loss during communication. When both conditions are met—the presence of external device RF signals at the same frequency as the target and the frame loss rate of the target battery swapping station exceeding the first preset threshold—the target anomaly is determined to be external RF interference. This is analogous to discovering interference from other signals of the same frequency during communication, causing severe data loss, thus identifying the anomaly as being caused by external interference. In related technologies, when communication anomalies occur during battery swapping, it is difficult to distinguish whether the cause is external radio frequency interference or a problem with the vehicle or battery swapping bay itself. Manual troubleshooting often requires checking each vehicle and battery swapping bay piece of equipment, which is time-consuming, labor-intensive, and prone to misjudgment. This embodiment, by detecting the radio frequency signal of an external device with the same agreed frequency as the target and combining it with frame loss rate analysis, can clearly distinguish anomalies caused by external radio frequency interference. This allows maintenance personnel to quickly locate the root cause of the problem, avoid misjudgment and unnecessary equipment inspection, and improve diagnostic efficiency. This method can promptly detect external radio frequency interference and accurately determine its impact on communication. This helps to take targeted anti-interference measures, such as adjusting the communication frequency and adding anti-interference equipment, thereby enhancing the anti-interference capability of the entire battery swapping system and improving the reliability of the battery swapping process. By accurately determining external radio frequency interference, maintenance personnel can focus their efforts on solving external interference problems, rather than blindly inspecting the vehicle and battery swapping bay equipment. This not only saves maintenance time and costs but also reduces equipment downtime caused by misjudgment, improving the operational efficiency of the battery swapping system.
[0053] In an optional embodiment, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping station, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include multiple request frames sent by a group of battery swapping stations at a first radio frequency in a first time period, multiple request frames sent by the target battery swapping station at a second radio frequency in a second time period, multiple response frames sent by the target vehicle in the second time period, and do not include response frames sent by a group of vehicles in the first time period, the target anomaly type is determined to be external radio frequency interference, wherein the target battery swapping station is configured to switch between the first radio frequency and the second radio frequency according to a preset period to send radio frequency communication data, and the time difference between the start time of the second time period and the end time of the first time period is equal to the duration corresponding to the preset period.
[0054] In the above embodiments, when a battery swapping anomaly occurs, if the analysis results include multiple request frames sent by a group of battery swapping bays at a first radio frequency in the first time period, but do not include a group of response frames from vehicles in the first time period, and if the analysis results also include multiple request frames sent by the target battery swapping bay at a second radio frequency in the second time period and multiple response frames sent by the target vehicle in the second time period, the target anomaly type can be accurately determined to be external radio frequency interference, thus improving the diagnostic efficiency of vehicle battery swapping anomalies. This solves the problem of how to accurately identify interference at specific frequency points under the frequency hopping communication mechanism.
[0055] The target battery swapping station is set to switch between a first radio frequency and a second radio frequency according to a preset period to send radio frequency communication data. This means that the target battery swapping station will switch between two different frequencies periodically, forming a "frequency hopping" mechanism. For example, the target battery swapping station first sends a request frame for a period of time on the first frequency (first period), and then switches to the second frequency to continue sending request frames (second period). Analyze the radio frequency communication dataset. Based on the analysis results, check whether a group of battery swapping stations sent multiple request frames at the first radio frequency during the first time period, and whether the target battery swapping station sent multiple request frames at the second radio frequency during the second time period. Simultaneously, check whether the target vehicle sent multiple response frames during the second time period, and whether there were no response frames from any group of vehicles during the first time period. That is, extract four key state features from the analysis results for matching: 1) During the first time period, all battery swapping stations (including the target battery swapping station) sent multiple request frames at the first radio frequency; 2) During the first time period, none of the vehicles (including the target vehicle) sent corresponding response frames (indicating no feedback under the first frequency); 3) During the second time period, the target battery swapping station switched to the second radio frequency and normally sent multiple request frames (indicating that the target battery swapping station's frequency hopping function and transmitting module are normal); 4) During the second time period, the target vehicle sent multiple response frames for the request frames at the second frequency (indicating that the target vehicle's receiving and responding modules are normal). If the above conditions are met, i.e., there are request frames in both the first and second time periods, and the target vehicle has response frames in the second time period but no response frames in the first time period, then the target anomaly type is determined to be external radio frequency interference. This indicates that the vehicle's inability to respond normally to the battery swapping bay's request at the first frequency may be due to communication failure caused by external interference. If the above conditions are met, i.e., there are request frames in both the first and second time periods, and the target vehicle responds with a frame in the second time period but not in the first time period, the target anomaly type is determined to be external radio frequency interference. This indicates that the vehicle's inability to respond normally to the battery swapping bay's request at the first frequency may be due to communication failure caused by external interference. This embodiment can accurately determine anomalies caused by external radio frequency interference by analyzing communication data during frequency switching in detail. This allows maintenance personnel to quickly locate the root cause of the problem, avoid misjudgments and unnecessary equipment checks, and improve diagnostic efficiency; this method can promptly detect external radio frequency interference and accurately determine its impact on communication. This helps to take targeted anti-interference measures, such as adjusting the communication frequency and adding anti-interference equipment, thereby enhancing the anti-interference capability of the entire battery swapping system and improving the reliability of the battery swapping process.
[0056] This embodiment provides a diagnostic method for judging external radio frequency interference, particularly suitable for scenarios employing frequency hopping technology. The logic is as follows: when the system detects that a battery swapping station is attempting communication on frequency A but the vehicle does not respond, the station switches to frequency B according to a preset cycle, and communication returns to normal. This pattern strongly suggests that frequency A is experiencing continuous interference. This solves the problem of accurately identifying interference at specific frequencies under frequency hopping communication mechanisms. Such interference is intermittent or frequency-specific, making manual troubleshooting extremely difficult. The method in this embodiment can capture and diagnose interference targeting specific frequencies, resulting in more accurate diagnosis. It also allows the diagnostic method to be compatible with and utilize the characteristics of advanced communication strategies such as frequency hopping, improving the applicability of the solution. The method in this embodiment can accurately identify the specific frequency affected by interference at a very low cost, providing direct evidence for frequency management and avoidance strategies. In practical applications, once interference is diagnosed at frequency A, the system can automatically make decisions, such as suspending the target battery swapping station from using frequency A for a period of time, or notifying the entire battery swapping station network to avoid the frequency, thereby improving the system's robustness in complex electromagnetic environments.
[0057] In an optional embodiment, when an anomaly occurs in the battery swapping between the target vehicle and the target battery swapping station, the target anomaly type is diagnosed based on the analysis results, including at least one of the following: when the analysis results indicate that the number of request frames sent by the target battery swapping station within a preset time period is greater than a preset frame number threshold and the number of response frames sent by the target vehicle within the preset time period is zero, a first interaction is performed with the target battery swapping station via a simulated UDS protocol to obtain a first interaction result, and a second interaction is performed with the target vehicle via a simulated UDS protocol to obtain a second interaction result; when the first interaction result indicates that the actual VIN information of the target vehicle does not match the stored VIN information obtained by the target battery swapping station, the target anomaly type is determined to be a first anomaly. The error typically indicates that the information stored in the host computer system of the target battery swapping station is incorrect. The stored VIN information is the VIN information corresponding to the target vehicle obtained from the host computer system after the target battery swapping station identifies the target vehicle. Target battery swapping station anomalies include the first type of anomaly. When the first interaction result does not include the target vehicle's interaction feedback information, the target anomaly type is determined to be the second type of anomaly. The second type of anomaly indicates that the target battery swapping station has a problem with mis-scanning license plates. Target battery swapping station anomalies include the second type of anomaly. When the second interaction result includes the target vehicle's own fault information, the target anomaly type is determined to be the third type of anomaly. The third type of anomaly indicates that the target vehicle's radio frequency module has a fault. Target vehicle anomalies include the third type of anomaly.
[0058] In the above embodiments, when the target vehicle experiences an abnormal battery swapping event with the target battery swapping station, if the analysis results show that the number of request frames sent by the target battery swapping station within a preset time period exceeds a preset frame count threshold and the number of response frames from the target vehicle is zero, the system interacts with both the target battery swapping station and the target vehicle via a simulated UDS protocol. Based on the first interaction result, if the actual VIN information of the target vehicle does not match the VIN information stored in the target battery swapping station, it can be determined that the information stored in the target battery swapping station's host computer system is incorrect. If the first interaction result shows no feedback from the target vehicle, it can be determined that the target battery swapping station has a problem with mis-scanning license plates. Based on the second interaction result, if there is fault information from the target vehicle itself, it can be determined that the target vehicle's radio frequency module is faulty, thus improving the diagnostic efficiency of vehicle battery swapping abnormalities and accurately distinguishing whether the abnormality is in the target vehicle or the target battery swapping station.
[0059] This embodiment provides a composite diagnostic method that combines passive monitoring and active interaction. When passive monitoring detects that "the battery swapping station is continuously sending requests, but the vehicle does not respond," for example, if the number of request frames sent by the target battery swapping station within a preset time period is greater than a preset frame threshold (such as 20 frames, or other frame numbers) and the number of response frames sent by the target vehicle within the preset time period is zero, the system will initiate active diagnosis. For example, it will simulate the UDS (Unified Diagnostic Services) diagnostic protocol and communicate with both the battery swapping station and the vehicle. Based on the interaction results of the UDS-like protocol, the target anomaly type can be diagnosed as at least one of the following: Firstly, if the stored Vehicle Identification Number (VIN) of the target battery swapping compartment does not match the actual vehicle, the target battery swapping compartment is considered to have a first anomaly, indicating an error in the host computer information. Secondly, if the target battery swapping compartment cannot provide vehicle interaction information, it is considered to have a second anomaly, indicating that the target battery swapping compartment has mistakenly scanned the license plate (identifying a nearby or incorrect vehicle). Thirdly, if the target vehicle returns its own fault information, it is considered to have a third anomaly, indicating a fault in the target vehicle's RF module. This solves the problem of not being able to distinguish between multiple possible causes behind the phenomenon of "vehicle unresponsiveness," enabling in-depth fault diagnosis: from the superficial phenomenon of "hardware communication failure," it delves into the root causes such as "software information errors," "identification errors," or "specific hardware module failures." This allows maintenance personnel to directly and specifically correct the host computer data, recalibrate the identification system, or replace the vehicle's RF module. This embodiment interacts with the battery swapping bay and vehicle via a simulated UDS protocol to obtain detailed interaction results, enabling accurate identification of anomaly types. This allows maintenance personnel to quickly pinpoint the root cause of problems, avoiding misjudgments and unnecessary equipment checks, thus improving diagnostic efficiency. This method can promptly detect and accurately diagnose faults in the battery swapping bay and vehicle, facilitating targeted maintenance measures, reducing battery swapping failures or inefficiencies caused by faults, and improving the reliability of the battery swapping system.
[0060] In an optional embodiment, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results, including at least one of the following: when the analysis results indicate that the number of request frames sent by the target battery swapping compartment within a first preset time period is zero, an image recognition result is obtained, wherein the image recognition result is obtained by the image recognition device in the target battery swapping compartment after recognizing the target vehicle; when the image recognition result indicates that the target vehicle is currently located in the recognition area of the target battery swapping compartment, a third interaction is performed with the target battery swapping compartment through a simulated UDS protocol to obtain a third interaction result; when the third interaction result indicates that the target battery swapping compartment's host computer system does not include the target vehicle's VIN information, the target anomaly type is determined to be a fourth anomaly, wherein the fourth anomaly indicates that the target vehicle is not in the battery swapping system, wherein the target vehicle anomaly includes the fourth anomaly; when the third interaction result includes the target battery swapping compartment's own fault information, the target anomaly type is determined to be a fifth anomaly, wherein the fifth anomaly indicates that the target battery swapping compartment's radio frequency module is faulty, wherein the target battery swapping compartment anomaly includes the fifth anomaly.
[0061] In the above embodiments, when the target vehicle experiences an abnormal battery swap with the target battery swapping compartment, if the analysis result indicates that the target battery swapping compartment sends zero request frames within a first preset time period, the image recognition result is obtained. If the vehicle is within the battery swapping compartment's recognition area, the target abnormality type can be diagnosed based on the interaction result of the simulated UDS protocol, including at least one of the following: a third interaction is performed with the battery swapping compartment through the simulated UDS protocol to obtain a third interaction result. If the third interaction result indicates that the target battery swapping compartment's host computer system does not include the target vehicle's VIN information, the target abnormality type can be determined as a fourth abnormality, i.e., a target vehicle abnormality. If the third interaction result includes the target battery swapping compartment's own fault information, the target abnormality type can be determined as a fifth abnormality, i.e., a fault exists in the target battery swapping compartment's radio frequency module. Therefore, the specific type of vehicle battery swapping abnormality can be diagnosed quickly and accurately, improving the diagnostic efficiency of vehicle battery swapping abnormalities.
[0062] This embodiment addresses scenarios where the target battery swapping station does not send any request frames. For example, if the analysis results indicate that the target battery swapping station sends zero request frames within a first preset time period (e.g., 30 seconds, or other durations), the system initiates diagnostics. Combining the image recognition results, it confirms that the target vehicle is indeed at the battery swapping station. It then simulates the UDS protocol to perform a third interaction with the target battery swapping station. When the third interaction result indicates that the target battery swapping station's host computer system does not include the target vehicle's VIN information, meaning the target battery swapping station's feedback system does not find the vehicle, the target anomaly type is determined to be the fourth anomaly, i.e., a target vehicle anomaly, such as the vehicle not being registered in the system, i.e., not being in the battery swapping system. When the third interaction result includes the target battery swapping station's own fault information, it is determined that the target battery swapping station's radio frequency module is faulty. This embodiment addresses the specific anomaly scenario of zero request frame transmission from the target battery swapping station. It employs a combined diagnostic logic of image recognition and protocol interaction to accurately distinguish between vehicle-side and battery swapping station-side anomalies. Image recognition results are obtained using the target battery swapping station's built-in image recognition device to determine if the target vehicle is actually within the station's recognition area. The core function of this step is to eliminate the normal situation where "the vehicle is not in place, causing the battery swapping station not to send a request." Only when the vehicle is indeed within the recognition area (indicating that the battery swapping station should have initiated communication but did not) does the subsequent fault location process begin. Then, based on the UDS-like protocol, a "third interaction" (standardized data interaction with the target battery swapping station) is performed. The interaction results are categorized into two types of anomalies: if the third interaction result shows "no VIN information for the target vehicle in the battery swapping station's host computer system," it is determined to be a "fourth anomaly" (the vehicle has not been entered into the battery swapping system, indicating a target vehicle anomaly). If the third interaction result contains "battery swapping compartment's own fault information," it is determined as "the fifth anomaly" (battery swapping compartment RF module failure, belonging to the target battery swapping compartment anomaly), realizing a closed loop from "anomaly scenario identification" to "fault root cause location." This embodiment designs diagnostic logic for the easily overlooked anomaly scenario of "battery swapping compartment zero request frame," filling the diagnostic gap of related technologies in this scenario. This enables the overall diagnostic method to cover multiple core anomaly scenarios such as "battery swapping compartment not sending requests," "no response to requests," and "low communication efficiency," adapting to the complex operational needs of battery swapping stations. Through image recognition and interactive diagnosis, detailed fault information can be obtained, such as whether the vehicle is within the identification area, whether the battery swapping compartment's host computer system contains vehicle VIN information, and whether the battery swapping compartment's RF module is faulty. This provides maintenance personnel with more specific operational guidelines, helping to quickly resolve problems and restore the normal operation of the battery swapping system.
[0063] In an optional embodiment, when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping station, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include multiple request frames from the target battery swapping station within a preset time period, multiple response frames from the target vehicle within a preset time period, and a frame loss rate of the target battery swapping station within a preset time period that is greater than a second preset ratio threshold, the target anomaly type is determined to be interference from other battery swapping stations, where interference from other battery swapping stations indicates interference caused by the consistent radio frequency transmission period between other battery swapping stations and the target battery swapping station.
[0064] In the above embodiments, when the battery swapping is abnormal and the analysis results show that the target battery swapping compartment has multiple request frames within a preset time period, the target vehicle has multiple response frames, and the frame loss rate of the target battery swapping compartment is greater than the second preset ratio threshold, the target abnormality type can be determined to be interference from other battery swapping compartments, that is, interference caused by the radio frequency transmission cycle of other battery swapping compartments being consistent with that of the target battery swapping compartment. This can quickly and accurately distinguish the type of battery swapping abnormality and improve the diagnostic efficiency of vehicle battery swapping abnormalities.
[0065] First, based on the basic communication status in the analysis results, it is confirmed that "the target battery swapping station sends multiple request frames" (indicating that its radio frequency transmission module is functioning normally and there is no silent equipment failure) and "the target vehicle sends multiple response frames" (indicating that the vehicle's radio frequency reception and response modules are normal and the communication interruption is not caused by a vehicle malfunction). These two conditions directly eliminate other abnormal scenarios such as "the target battery swapping station is completely malfunctioning" and "the target vehicle is unresponsive," focusing on the specific situation of "data loss in the communication link but not complete interruption." Second, the core quantitative indicator of "frame loss rate" is introduced and compared with the "second preset ratio threshold." The second preset ratio threshold is preset according to the normal communication standard in the multi-battery swapping station scenario, such as 20% (or 30%, or others). Exceeding this threshold means that the communication quality has seriously deteriorated. When the frame loss rate exceeds the standard, since both the target battery swapping station and the vehicle's own equipment are normal, the root cause of the anomaly can be identified as "interference from other battery swapping stations in the same period." This judgment is based on the basic characteristics of radio frequency communication: when multiple devices send signals in similar frequency bands with the same period, time slot resource competition will occur, causing signals to overlap and thus leading to data frame loss. This embodiment employs a three-layer verification process—"equipment normality elimination + indicator exceeding limits + interference feature matching"—to accurately pinpoint the specific root cause of "interference from other battery swapping stations within the same cycle," avoiding confusion with external interference or equipment malfunctions. For example, when both the target battery swapping station and the vehicle can transmit and receive frames normally, but the frame loss rate reaches 40% (exceeding the second threshold of 30%), it can be directly identified as interference from other battery swapping stations within the same cycle, eliminating the need to test all devices individually, significantly improving diagnostic accuracy. In complex scenarios with multiple battery swapping stations, traditional manual troubleshooting requires testing the transmission cycle and signal status of each station individually, taking several hours. This embodiment's solution only needs to analyze the collected communication data to complete the diagnosis, locating the interference source within minutes, greatly shortening troubleshooting time and reducing abnormal interruptions in the battery swapping process.
[0066] In an optional embodiment, after determining that the target anomaly type is interference from other battery swapping stations, the above method further includes: sending a prompt message to the host computer system of the target battery swapping station, the prompt message being used to prompt for differentiated processing of the radio frequency transmission cycle and frequency hopping method of other battery swapping stations and the target battery swapping station.
[0067] In the above embodiments, after determining that the target anomaly type is interference from other battery swapping compartments, a prompt message is sent to the host computer system of the target battery swapping compartment. This prompts for differentiated processing of the radio frequency transmission cycle and frequency hopping method between other battery swapping compartments and the target battery swapping compartment. This solves the problem of low diagnostic efficiency for vehicle battery swapping anomalies, avoids interference caused by the same radio frequency transmission cycle between other battery swapping compartments and the target battery swapping compartment, and improves the diagnostic efficiency for vehicle battery swapping anomalies.
[0068] Once the target anomaly type is determined to be "interference from other battery swapping stations," meaning that the same radio frequency transmission period between other battery swapping stations and the target battery swapping station leads to an excessive frame loss rate, this embodiment focuses on "how to resolve this interference." For example, a targeted prompt message is sent to the "host computer system of the target battery swapping station" through system interaction. The core of this prompt message is "differentiated processing": on the one hand, regarding the "radio frequency transmission period," the transmission periods of other battery swapping stations and the target battery swapping station need to be adjusted (e.g., the target battery swapping station's period is set to 100ms, and the other interfering battery swapping station's period is set to 150ms) to avoid signal conflicts caused by time slot overlap; on the other hand, regarding the "frequency hopping method," different frequency hopping sequences need to be configured for the two (e.g., the target battery swapping station hops according to "frequency A→B→C," and the other battery swapping stations hop according to "frequency C→A→B") to reduce the probability of frequency band overlap. By receiving the prompt and triggering the adjustment through the host computer system, the internal interference caused by "same period, same frequency band" is ultimately eliminated from the root, and the communication quality is restored. This embodiment eliminates interference within minutes without manual intervention. From diagnosing interference from other battery swapping bays to sending adjustment prompts, and then triggering differentiated parameter processing by the host computer, interference can be eliminated in minutes. This significantly shortens the duration of interference, avoids interruptions or efficiency reductions in the battery swapping process due to interference, and ensures continuous operation of the battery swapping station. When a new battery swapping bay is added to the station, if new interference occurs in the same period, this embodiment can quickly adapt through the "diagnosis-prompt-adjustment" process without redesigning the interference handling plan. This adapts to the operational needs of "multi-bay expansion" of the battery swapping station and enhances the long-term stability and adaptability of the system.
[0069] The present application will be described below with reference to specific embodiments. This application provides a radio frequency interference detection module and method. This module, through core technical solutions such as adding a monitoring node, UDS-like protocol interaction, and radio frequency information parsing and time analysis, can accurately address scenarios where electric vehicle battery swapping stations have radio frequency modules and require stable operation and interference prevention. It also plays a significant role in scenarios with frequent radio frequency interference, such as wireless communication base stations.
[0070] In electric vehicle battery swapping station scenarios, vehicles and swapping stations communicate via radio frequency (RF) modules to complete key operations such as vehicle identification, battery status information transmission, and battery swapping command issuance. However, the compact layout of multiple swapping compartments within a swapping station limits the transmission distance of RF signals, and interference between multiple compartments can easily occur, leading to a decrease in the success rate of information exchange.
[0071] The core technical solution of the radio frequency interference detection module of this invention is highly targeted in this scenario: the newly added monitoring node can monitor detailed parameters of radio frequency communication between the vehicle and the battery swapping station in real time without interfering with the original communication; the UDS protocol-like interaction can realistically simulate the vehicle-station communication process and accurately reflect the actual communication status; radio frequency information parsing and time analysis can analyze frame loss, periodic interference, and other issues in the communication. Through these technologies, the module can accurately locate the interference source and ensure the smooth battery swapping process.
[0072] To address the current problem of radio frequency (RF) module interference, this invention utilizes an RF interference detection module to simultaneously collect RF information from both the vehicle-side and the battery swapping station (or battery swapping warehouse) end, and then analyzes and calculates this information to test the cross-interference of RF signals. The specific technical solution is as follows:
[0073] (a) Adding a new monitoring node
[0074] The newly added monitoring node provides redundant support for the status monitoring layer of radio frequency communication between the vehicle and the station. At the station (i.e., the battery swapping station), in a multi-station environment, the monitoring node focuses on monitoring and evaluating the radio frequency communication efficiency of each station. When a station's radio frequency detection function malfunctions, it feeds back relevant anomaly monitoring information, providing data for overall communication evaluation. It can monitor the working status of the vehicle's radio frequency in real time during the battery swapping process and comprehensively evaluate the communication status of the original radio frequency logic. For example, if the original radio frequency module experiences data loss or errors when transmitting battery status information, the monitoring node can immediately detect the anomaly and feed back the relevant information to the vehicle's control system via the CAN bus, providing a basis for judging the communication status and taking countermeasures, ensuring the smooth operation of the battery swapping process.
[0075] At the same time, it can also be used as a third-party testing device. It does not affect the original RF main channel. It is connected to a computer host computer through a wiring harness. After analyzing parameters such as signal strength and frequency, it forwards data via serial port or CAN to support RF communication analysis. Figure 2 This diagram illustrates three installation methods for the radio frequency interference detection module, which can be installed on the vehicle end, station end, or third-party detection device. Figure 2 In this context, 1 and 2 indicate installation at the vehicle end and station end, respectively, and 3 indicates installation on a third-party detection device. Figure 2 Third-party testing equipment is not shown.
[0076] Installed at the station: The controller can communicate with the host computer at the station via CAN-to-Ethernet to detect the communication efficiency of all stations. Suitable for installation in dual-station or multi-station environments, it is used to determine the communication efficiency between multiple stations and whether the configuration is reasonable.
[0077] Third-party detection device: Installed on a third-party detection platform, it can analyze the current status via a wiring harness and a host computer. Suitable for relatively simple interactive logic at a single station, it is not necessarily fixed to a single station.
[0078] The existing station interactive radio frequency channel (main channel) is retained, and a new third-party radio frequency information reading node is added as a monitoring node. This monitoring node can parse parameters according to the communication protocol, including signal strength, frequency, modulation method, and data content, and forward them to the host computer for reading via serial port or CAN communication. In this way, more detailed information about radio frequency communication can be obtained without affecting the original communication, providing data support for subsequent analysis and processing.
[0079] (ii) UDS protocol-like interaction
[0080] Following the UDS protocol, a request command is sent to the vehicle and station via a fixed command radio frequency data frame to obtain some basic information about battery swapping from the vehicle and station. It should be noted that this interaction method can be interrupted by the battery swapping process at any time. However, since the format priority of the interaction frame is lower than that of normal battery swapping, this interaction will not affect the normal battery swapping process.
[0081] In the UDS protocol-simulated interaction scenario, by sending request commands to the vehicle and station via fixed command radio frequency data frames, it is possible not only to obtain basic information about battery swapping such as the vehicle's VIN number, battery pack data, and vehicle status, thus realistically simulating the actual working communication scenario of the vehicle and station systems and accurately detecting the performance of the radio frequency module under different working states; more importantly, this protocol can be used to obtain information from different angles—including key content not originally transmitted in radio frequency communication, such as the station's frequency hopping status and transmission frequency, and other core interaction parameters of the vehicle and station, providing multi-dimensional evidence for analyzing communication problems.
[0082] (III) Radio Frequency Information Analysis and Time Analysis
[0083] The radio frequency (RF) information from different stations is parsed and analyzed in terms of time. Specifically, this includes: analyzing the station's RF cycle and counting the number of request and response data packets; determining the continuity of successful RF transmissions based on the number of request and response data packets and the RF cycle at the swapping station. Communication efficiency is also calculated.
[0084] Packet loss rate: (Number of request frames - Number of response frames) / Number of request frames × 100%. This provides a clear picture of packet loss and helps assess communication reliability.
[0085] Communication efficiency: Based on the duration of effective radio frequency information, the proportion of effective data occupying the total communication time is analyzed to calculate the communication efficiency. Communication efficiency = Effective data volume / (Total communication time × Channel bandwidth). By calculating communication efficiency, the efficiency of radio frequency communication can be evaluated, providing a basis for optimizing communication performance.
[0086] The following examples illustrate several application scenarios of the radio frequency interference detection module in the embodiments of this application.
[0087] Battery swapping radio frequency interaction process:
[0088] After a vehicle arrives at the battery swapping station, the station automatically scans the vehicle's license plate. The system retrieves and downloads the vehicle's VIN (Vehicle Identification Number) from the cloud based on the license plate, encrypts the VIN information, and sends radio frequency signals to the vehicle at 200ms (configurable) intervals.
[0089] If the vehicle-mounted terminal can successfully parse the radio frequency signal and pass the verification, it will send back the corresponding radio frequency signal within 50ms (configurable) after receiving the information from the receiving station.
[0090] During the interaction, key data information from both the station and the vehicle will be included in this question-and-answer communication.
[0091] 1. Analysis of interaction in a single-site scenario (only one battery swapping station in the vicinity, with vehicles swapping batteries gradually):
[0092] The battery swapping station continuously sends station-side radio frequency information at a predetermined interval (200ms), and the vehicle responds to the station-side radio frequency after a predetermined time (50ms). In actual performance, battery swapping is normal and smooth, with no obvious lag, and the average frame drop rate is less than 5%.
[0093] This indicates normal operation of single-station RF interaction, suggesting no significant interference and good RF communication. 2. The battery swapping station continuously transmits station-side RF information according to a predetermined period (200ms). The RF interference detection module receives more than 20 frames of station-side RF information, but does not receive any vehicle-side RF information during this period.
[0094] Cause analysis: 1) The vehicle-side VIN and station-side VIN matching failed, which may be due to a problem with the station-side host computer's VIN retrieval; 2) The vehicle did not enter the battery swapping station, which may be due to a mistakenly scanned license plate causing the station to issue VIN information; 3) The vehicle-side radio frequency module is faulty.
[0095] Module functions and countermeasures:
[0096] 1) Read VIN information using a simulated UDS protocol to confirm the problem with the station's host computer retrieval; 2) Combine the actual vehicle location information to check if the license plate was scanned incorrectly; 3) Obtain the operating status of the vehicle-side radio frequency module using a simulated UDS protocol; if the vehicle's own fault information is obtained, then the vehicle-side radio frequency module is considered to be faulty.
[0097] 3. The battery swapping station continuously sends station-side radio frequency information at a predetermined interval (200ms). The vehicle responds to the station's radio frequency after a predetermined time (50ms). If a connection cannot be established suddenly, it will recover after a certain period (5s). Subsequent monitoring of the battery swapping station (with frequency hopping enabled) shows that multiple vehicles can only successfully establish a connection on a certain frequency.
[0098] Cause analysis: There are external interference devices targeting the original communication frequency in the vicinity;
[0099] Module Functions and Countermeasures: The module can monitor frequency interference and assist in adjusting the communication frequency to avoid interference.
[0100] 4. The battery swapping station continuously sends station-side radio frequency information according to a predetermined period (200ms), and the vehicle responds to the station-side radio frequency after a predetermined time (50ms). A sudden failure to establish a connection occurs, and the connection remains unrecovered for an extended period (10s).
[0101] Cause analysis: There are multi-frequency external interference devices nearby, covering the current communication frequency band;
[0102] Module Functions and Countermeasures: The module monitors multi-frequency interference and provides data reference for selecting a more stable communication frequency.
[0103] 5. When the battery swapping vehicle enters, the test equipment does not receive radio frequency information from the station within 30 seconds:
[0104] Cause analysis: 1) The battery swapping vehicle is not in the battery swapping system and VIN has not been issued; 2) The station-side radio frequency module is faulty.
[0105] Module functions and countermeasures:
[0106] The module combines vehicle entry monitoring information, vehicle registration data within the battery swapping system, and station equipment operation logs to make a comprehensive judgment and pinpoint the root cause of the problem.
[0107] Analysis of interaction in multi-site scenarios (multiple battery swapping stations exist in the same area, each operating independently):
[0108] 6. Only one side of the station has vehicle battery swapping: other battery swapping stations have no operational needs, and the current scenario is equivalent to single-station battery swapping.
[0109] 7. The battery swapping station continuously sends station-side radio frequency information at a predetermined interval (200ms), and the vehicle responds to the station-side radio frequency after a predetermined time (50ms). In actual performance, battery swapping is normal and smooth, with occasional stuttering, and the average frame drop rate is less than 20%.
[0110] Cause analysis: This is a normal state of multi-station interaction, and the frame loss is due to normal cross-interference of radio frequency signals from different stations;
[0111] Module Functions and Countermeasures: The station will subsequently correct the frame loss problem by adjusting the communication transmission cycle; the module will monitor the frame loss frequency and duration in real time to evaluate the effect of the station's pace correction.
[0112] 8. The battery swapping station continuously sends station-side radio frequency information at a predetermined interval (200ms), and the vehicle responds to the station-side radio frequency after a predetermined time (50ms). In practice, the battery swapping process is not smooth and there are stutters, with an average frame drop rate of more than 20%.
[0113] Cause analysis: The main reason is that the radio frequency transmission cycle of each battery swapping station is not uniformly adjusted, resulting in the cycle being the same (such as all being set to 200ms), which creates continuous signal interference and the vehicle cannot receive the signal normally.
[0114] Module functions and countermeasures: 1) Restarting the station may temporarily restore communication; 2) The sending cycle of each station needs to be adjusted differently (to avoid cycle overlap); 3) The module can detect such persistent interference in a timely manner and remind relevant personnel to adjust and optimize the cycle through alarms.
[0115] The embodiments of this application have at least the following technical effects:
[0116] (1) By relying on the technical solution of adding monitoring nodes, the parameters of vehicles and stations can be read through radio frequency technology, which can obtain rich and detailed information about radio frequency modules, including signal strength, frequency, modulation method, and data content. These parameters provide a solid data foundation for comprehensively evaluating the performance and interference of radio frequency modules, which is a qualitative improvement compared with the existing methods that can only detect signal strength. In addition, the method of adding monitoring nodes does not require modification of the original battery swapping equipment, meets market demand, and has low cost.
[0117] (2) Based on the UDS protocol-based interactive technology, the test module responds to the vehicle and station systems when using functions at the vehicle and station ends, which can realistically simulate the communication scenarios of the vehicle and station systems in actual operation. This simulation method effectively solves the problem of deviation between test results and actual conditions in related technologies, more accurately detects the performance of the RF module under different working states, and promptly detects interference problems caused by protocol incompatibility or communication abnormalities.
[0118] (3) By using radio frequency information parsing and time analysis technology, radio frequency information from different stations can be parsed and analyzed in time, accurately obtaining key information such as the transmission period, request frame count, and response frame count of the station's radio frequency. Through the analysis of this information, abnormal situations such as periodic interference, frame loss, or duplication of the radio frequency module can be detected in a timely manner. This technology provides a strong basis for optimizing the design and debugging of radio frequency modules and is an important support for ensuring the stability of radio frequency communication.
[0119] (4) By integrating technologies such as adding new monitoring nodes, UDS-like protocol interaction, and RF information parsing and time analysis, a complete RF interference detection system was constructed. This system can quickly and accurately locate the root cause of RF module interference problems and provide technicians with detailed fault diagnosis reports and troubleshooting suggestions. This comprehensive technical approach greatly shortens troubleshooting time, improves system reliability and stability, reduces maintenance costs, and fully demonstrates the advantages of the synergistic effect of various technical solutions.
[0120] This application also provides a diagnostic system for vehicle battery swapping anomalies, such as... Figure 3 As shown, Figure 3 This is a diagram illustrating the architecture of a diagnostic system for vehicle battery swapping anomalies, provided in an embodiment of this application. The system includes:
[0121] The radio frequency monitoring module is used to monitor the radio frequency communication between a group of vehicles and a group of battery swapping compartments within a preset monitoring area and obtain the radio frequency communication data set.
[0122] The radio frequency analysis module is used to analyze radio frequency communication datasets and obtain analysis results, including the radio frequency transmission cycle and frame loss rate of each battery swapping compartment.
[0123] The diagnostic module is used to diagnose the target anomaly type based on the analysis results when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment. The target anomaly type includes at least one of the following: target vehicle anomaly, target battery swapping compartment anomaly, external radio frequency interference, and other battery swapping compartment interference. Here, a group of vehicles includes the target vehicle, a group of battery swapping compartments includes the target battery swapping compartment and other battery swapping compartments, and external radio frequency interference is used to refer to radio frequency interference emitted by external devices other than a group of battery swapping compartments and a group of vehicles. The target vehicle is the vehicle to be swapped.
[0124] It should be noted that the devices or systems provided in the above embodiments are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept. Other device or system embodiments correspond to the aforementioned method embodiments. Other technical features are described in the previous embodiments and will not be repeated here.
[0125] This application also provides a computer-readable storage medium storing instructions that, when executed, perform the steps of any of the methods described above.
[0126] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0127] This application also discloses an electronic device. For example... Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. The electronic device 400 may include: at least one processor 401, at least one network interface 404, a user interface 403, a memory 405, and at least one communication bus 402.
[0128] The communication bus 402 is used to enable communication between these components.
[0129] The user interface 403 may include a display screen and a camera. Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0130] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0131] The processor 401 may include one or more processing cores. The processor 401 connects to various parts of the electronic device (such as a server) using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 405, and by calling data stored in memory 405. Optionally, the processor 401 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 401 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 401.
[0132] The memory 405 may include random access memory (RAM) or read-only memory. Optionally, the memory 405 may include a non-transitory computer-readable storage medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned processor 401. (Refer to...) Figure 4 The memory 405, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for diagnosing vehicle battery swapping anomalies.
[0133] exist Figure 4 In the illustrated electronic device 400, the user interface 403 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 401 can be used to call an application program for diagnosing vehicle battery swapping anomalies stored in the memory 405. When executed by one or more processors 401, the electronic device 400 performs one or more of the methods described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0134] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0135] In the various embodiments provided in this application, it should be understood that the disclosed apparatus or system can be implemented in other ways. For example, the apparatus or system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0136] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will be readily apparent to those skilled in the art upon consideration of the disclosure herein.
[0137] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art that are not described in this disclosure.
Claims
1. A diagnostic method for vehicle battery swapping anomalies, characterized in that, include: Monitor the radio frequency communication between a group of vehicles and a group of battery swapping compartments within a preset monitoring area, and obtain the radio frequency communication data set; The radio frequency communication dataset is analyzed to obtain analysis results, which include the radio frequency transmission period and frame loss rate of each battery swapping compartment. When there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results. The target anomaly type includes at least one of the following: target vehicle anomaly, target battery swapping compartment anomaly, external radio frequency interference, and other battery swapping compartment interference. The group of vehicles includes the target vehicle, the group of battery swapping compartments includes the target battery swapping compartment and the other battery swapping compartments, and the external radio frequency interference refers to radio frequency interference emitted by external devices other than the group of battery swapping compartments and the group of vehicles. The target vehicle is the vehicle to be swapped. The analysis of the radio frequency communication dataset yields the following results: obtaining the number of request frames sent by the target battery swapping station within a preset time period and the number of response frames sent by the target vehicle within the preset time period based on the radio frequency communication dataset; performing time analysis on the number of request frames to obtain the radio frequency transmission cycle of the target battery swapping station; and determining the frame loss rate of the target battery swapping station based on the number of request frames and the number of response frames. When there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, the target anomaly type is diagnosed based on the analysis results, including: when the analysis results include the radio frequency signal of the external device with the same frequency as the target, and the frame loss rate of the target battery swapping compartment is greater than a first preset ratio threshold, the target anomaly type is determined to be the external radio frequency interference, wherein the target agreed frequency is used to represent the agreed radio frequency communication frequency between the target battery swapping compartment and the target vehicle.
2. The diagnostic method for vehicle battery swapping anomalies according to claim 1, characterized in that, When an anomaly occurs during battery swapping between the target vehicle and the target battery swapping station, the anomaly type is diagnosed based on the analysis results, including: When the analysis results include multiple request frames sent by the group of battery swapping bays at a first radio frequency during a first time period, multiple request frames sent by the target battery swapping bay at a second radio frequency during a second time period, multiple response frames sent by the target vehicle during the second time period, and excluding the response frames sent by the group of vehicles during the first time period, the target anomaly type is determined to be external radio frequency interference. The target battery swapping bay is configured to switch between the first radio frequency and the second radio frequency according to a preset period to send radio frequency communication data. The time difference between the start time of the second time period and the end time of the first time period is equal to the duration corresponding to the preset period.
3. The diagnostic method for vehicle battery swapping abnormalities according to claim 1, characterized in that, When an anomaly occurs during battery swapping between the target vehicle and the target battery swapping station, the anomaly type is diagnosed based on the analysis results, including: When the analysis result indicates that the number of request frames sent by the target battery swapping station within the preset time period is greater than the preset frame number threshold and the number of response frames sent by the target vehicle within the preset time period is zero, a first interaction is performed with the target battery swapping station through the simulated UDS protocol to obtain a first interaction result, and a second interaction is performed with the target vehicle through the simulated UDS protocol to obtain a second interaction result. When the first interaction result indicates that the actual VIN information of the target vehicle does not match the stored VIN information obtained by the target battery swapping station, the target anomaly type is determined to be the first anomaly. The first anomaly indicates that the information stored in the host computer system of the target battery swapping station is incorrect. The stored VIN information is the VIN information corresponding to the target vehicle obtained from the host computer system after the target battery swapping station identifies the target vehicle. The target battery swapping station anomaly includes the first anomaly. When the first interaction result does not include the interaction feedback information of the target vehicle, the target anomaly type is determined to be the second anomaly. The second anomaly indicates that the target battery swapping compartment has a problem of mistakenly scanning license plates. The target battery swapping compartment anomaly includes the second anomaly. When the second interaction result includes the fault information of the target vehicle itself, the target anomaly type is determined to be the third anomaly. The third anomaly indicates that the radio frequency module of the target vehicle is faulty, and the target vehicle anomaly includes the third anomaly.
4. The diagnostic method for vehicle battery swapping abnormalities according to claim 1, characterized in that, When an anomaly occurs during battery swapping between the target vehicle and the target battery swapping station, the anomaly type is diagnosed based on the analysis results, including: When the analysis result indicates that the number of request frames sent by the target battery swapping compartment within a first preset time period is zero, an image recognition result is obtained, wherein the image recognition result is obtained by the image recognition device in the target battery swapping compartment after recognizing the target vehicle; When the image recognition result indicates that the target vehicle is currently located in the recognition area of the target battery swapping compartment, a third interaction is performed with the target battery swapping compartment through a UDS-like protocol to obtain a third interaction result; When the third interaction result indicates that the target vehicle's VIN information is not included in the host computer system of the target battery swapping station, the target anomaly type is determined to be the fourth anomaly. The fourth anomaly indicates that the target vehicle is not in the battery swapping system, wherein the target vehicle anomaly includes the fourth anomaly. When the third interaction result includes fault information of the target battery swapping compartment itself, the target anomaly type is determined to be the fifth anomaly. The fifth anomaly indicates that the radio frequency module of the target battery swapping compartment has a fault, wherein the target battery swapping compartment anomaly includes the fifth anomaly.
5. The diagnostic method for vehicle battery swapping anomalies according to claim 1, characterized in that, When an anomaly occurs during battery swapping between the target vehicle and the target battery swapping station, the anomaly type is diagnosed based on the analysis results, including: When the analysis results include multiple request frames of the target battery swapping station within the preset time period, multiple response frames of the target vehicle within the preset time period, and a frame loss rate of the target battery swapping station within the preset time period that is greater than a second preset proportion threshold, the target anomaly type is determined to be interference from other battery swapping stations. Interference from other battery swapping stations indicates interference caused by the RF transmission cycle of other battery swapping stations being consistent with that of the target battery swapping station.
6. A diagnostic system for vehicle battery swapping anomalies, characterized in that, include: The radio frequency monitoring module is used to monitor the radio frequency communication between a group of vehicles and a group of battery swapping compartments within a preset monitoring area and obtain the radio frequency communication data set. The radio frequency analysis module is used to analyze the radio frequency communication dataset and obtain analysis results, wherein the analysis results include the radio frequency transmission period and frame loss rate of each battery swapping compartment; The diagnostic module is used to diagnose the target anomaly type based on the analysis results when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment. The target anomaly type includes at least one of the following: target vehicle anomaly, target battery swapping compartment anomaly, external radio frequency interference, and other battery swapping compartment interference. The group of vehicles includes the target vehicle, the group of battery swapping compartments includes the target battery swapping compartment and the other battery swapping compartments, and the external radio frequency interference refers to radio frequency interference emitted by external devices other than the group of battery swapping compartments and the group of vehicles. The target vehicle is the vehicle to be swapped. The radio frequency analysis module is used to analyze the radio frequency communication dataset in the following ways to obtain analysis results: obtaining the number of request frames sent by the target battery swapping station within a preset time period and the number of response frames sent by the target vehicle within the preset time period based on the radio frequency communication dataset; performing time analysis on the number of request frames to obtain the radio frequency transmission cycle of the target battery swapping station; and determining the frame loss rate of the target battery swapping station based on the number of request frames and the number of response frames. The diagnostic module is used to diagnose the target anomaly type based on the analysis results when there is an anomaly in the battery swapping between the target vehicle and the target battery swapping compartment, in the following manner: when the analysis results include the radio frequency signal of the external device with the same agreed frequency as the target, and the frame loss rate of the target battery swapping compartment is greater than a first preset proportional threshold, the target anomaly type is determined to be the external radio frequency interference, wherein the agreed frequency is used to represent the agreed radio frequency communication frequency between the target battery swapping compartment and the target vehicle.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
ETC (Electronic Toll Collection) radio environment monitoring guarantee method, system, equipment and medium
CN114202817A
Fire-fighting emergency method and device for battery swap station, electronic equipment and medium
CN119078579A