A method, system, device and medium for diagnosing electric vehicle charging failure
By extracting and analyzing the charging data of electric vehicles, diagnosing the causes of charging failures, solving the diagnostic problems of electric vehicles' charging failures, and improving user experience and charging station management efficiency.
Patent Information
- Application Number
- CN202210182357.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-25
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-02-25
AI Technical Summary
The prior art cannot effectively diagnose and analyze the causes of electric vehicle charging failure, resulting in user experience and difficulty in managing charging stations.
By extracting the charging segment data and vehicle charging alarm data for a continuous period of time, each charging segment is given a unique number, calculate the charging segment distance, cluster to determine the public charging station, fuse the data to obtain the charging failure factor, and build a diagnostic model to diagnose charging failure. reason.
It has achieved accurate diagnosis of the causes of electric vehicle charging failure, helping enterprises improve product quality, improve user experience, and improve the operation and service capabilities of charging stations.
Smart Images

Figure CN114519235B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular to a method, system, equipment and medium for diagnosing charging failure of an electric vehicle. Background Art
[0002] Data shows that in November 2021, the number of new energy vehicles exceeded 6 million. In just 11 months, the number increased by 2 million, and in just 4 months, it increased by 1 million. It can be seen that the period of rapid growth of new energy vehicles has arrived. With the explosive growth of new energy vehicles, the demand for charging in public places by new energy vehicle users will continue to increase rapidly.
[0003] However, due to the fact that there are many problems such as chaotic management and mismatch between vehicles and charging piles in the public charging stations currently in operation, and the charging vehicles themselves may also have charging failures, electric vehicle charging failures occur frequently, which directly affects the user experience of electric vehicle users and even seriously affects travel. On the other hand, it also causes charging order chaos and management difficulties in charging stations. However, there is currently no better method to fully diagnose and count charging failure events and analyze the causes of charging failures.
[0004] Therefore, there is an urgent need for a method that can diagnose the cause of electric vehicle charging failure. Summary of the invention
[0005] Based on this, it is necessary to provide a diagnostic method, system, device and medium for electric vehicle charging failure in response to the above technical problems.
[0006] A method for diagnosing charging failure of an electric vehicle comprises the following steps: extracting charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assigning a unique number to each charging segment; determining a charging segment distance according to the charging segment data, clustering the charging segment distances, determining a public charging station, and constructing a public charging station information table; fusing the vehicle charging alarm data, charging segment data, and static data, screening out charging segment information occurring at a public charging station, and obtaining a corresponding charging failure factor; constructing a public charging failure diagnosis model according to the charging failure factor, diagnosing whether a charging segment has failed to charge according to the public charging failure diagnosis model, and outputting the charging failure cause.
[0007] In one of the embodiments, the extracting of charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assigning a unique number to each charging segment, specifically includes: in the new energy vehicle monitoring and management platform, extracting vehicle charging segment data for a continuous period of time, and assigning a unique number to each charging segment, the charging segment data includes a unique number, a vehicle unique identifier, a segment start time, a segment end time, a segment start state of charge, a segment end state of charge, a segment start longitude, a segment start latitude, a voltage list, and a current list; in the new energy vehicle monitoring and management platform, extracting vehicle charging alarm data for the same continuous period of time, the vehicle charging alarm data includes a vehicle unique identifier, a segment start time, a segment end time, and an alarm code; in the new energy vehicle monitoring and management platform, extracting static data of the vehicle corresponding to the charging segment data and the vehicle charging alarm data, the static data includes a vehicle unique identifier, a vehicle model announcement number, and a vehicle model common name.
[0008] In one of the embodiments, before determining the charging segment distance according to the charging segment data, clustering the charging segment distance, determining the public charging station, and constructing the public charging station information table, the method further includes: calculating the distance between any two charging segments according to the starting longitude and starting latitude of the charging segment, and the formula is:
[0009]
[0010] Among them, lng i is the starting longitude, lat i is the starting latitude, Indicates c j With c k The distance between them, 1≤j≤n, 1≤k≤n, a=lat j -lat k ; b = lng j -lng k ; 6378.137 is the radius of the earth, in kilometers; the distances between all charging segments are calculated according to formula (1) to obtain the charging segment distance matrix.
[0011] In one of the embodiments, the method of determining the charging segment distance according to the charging segment data, clustering the charging segment distance, determining the public charging station, and constructing the public charging station information table specifically includes: hierarchically clustering the charging segments according to the charging segment distance matrix and the preset distance to obtain multiple clusters; extracting the vehicle unique identifier corresponding to the charging segment occurring in each cluster, de-duplicating and counting the charging segments according to the vehicle unique identifier to obtain the number of charging vehicles in each cluster; performing statistics according to the vehicle unique identifier occurring in each cluster to obtain the number of charging segments corresponding to each cluster; when the relationship between the number of charging vehicles and the number of charging segments meets the preset rules, determining that the corresponding cluster is a public charging station, and numbering the public charging station to obtain the station number; obtaining the charging segments occurring in the public charging station, calculating the mean longitude according to the starting longitude of the charging segment to obtain the station longitude, and calculating the mean latitude according to the starting latitude of the charging segment to obtain the station latitude; constructing the public charging station information table according to the station number, station longitude, station latitude, number of charging vehicles and number of charging segments.
[0012] In one embodiment, the preset rule is that the number of charging segments is greater than three times the number of charging vehicles and greater than a preset number.
[0013] In one of the embodiments, the vehicle charging alarm data, charging segment data and static data are integrated to screen out the charging segment information occurring in the public charging station, and obtain the corresponding charging failure factor, which specifically includes: the charging failure factor includes the charging time, the charge change state, whether a critical alarm occurs, whether the current during the charging process is 0, and whether the voltage during the charging process is stable; the charging time is calculated according to the segment start time and the segment end time; the charge change state is calculated according to the segment start charge state and the segment end charge state; whether a critical alarm occurs is analyzed according to the following formula:
[0014]
[0015] Among them, 1 represents a critical alarm, and 0 represents no critical alarm. code =12 or alarm code =17 represents insulation alarm or high-voltage interlock alarm; obtain the current list in the charging segment data, determine whether all currents in the current list are 0, if so, determine that the charging process current is 0, if not, determine that the charging process current is not 0; obtain the voltage list in the charging segment data, calculate the standard deviation of the voltage value according to the voltage list, compare the standard deviation with the preset standard deviation, when the standard deviation is less than the preset standard deviation, determine that the voltage is stable, and when the standard deviation is greater than or equal to the preset standard deviation, determine that the voltage is not stable.
[0016] In one of the embodiments, constructing a public place charging failure diagnosis model according to the charging failure factor, diagnosing whether a charging segment fails to charge according to the public place charging failure diagnosis model, and outputting the reason for the charging failure, specifically includes: constructing a public place charging failure diagnosis model according to the charging failure factor, diagnosing whether a charging segment fails to charge according to the public place charging failure diagnosis model, and outputting the reason; wherein, when the charging time is less than a preset time, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as too short a charging time; or when the charge change state is less than or equal to 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as abnormal charge state; or when a critical alarm occurs in the charging segment, it is determined that the charging segment fails to charge, and the reason for the charging failure is abnormal charging; or when the charging current of the charging segment is 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as the charging current is 0; or when the voltage during the charging process is not stable, it is determined that the charging segment fails to charge, and the reason for the charging failure is unstable charging voltage.
[0017] A diagnostic system for electric vehicle charging failure, comprising: a data extraction module, used to extract charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assign a unique number to each charging segment; a distance clustering module, used to determine the charging segment distance according to the charging segment data, cluster the charging segment distances, determine public charging stations, and construct a public charging station information table; a factor acquisition module, used to fuse the vehicle charging alarm data, charging segment data and static data, filter out the charging segment information occurring in the public charging station, and obtain the corresponding charging failure factor; a charging diagnosis module, used to construct a public charging failure diagnosis model according to the charging failure factor, diagnose whether the charging segment fails to charge according to the public charging failure diagnosis model, and output the charging failure cause.
[0018] A device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the electric vehicle charging failure diagnosis method described in the above-mentioned embodiments are implemented.
[0019] A medium stores a computer program, which, when executed by a processor, implements the steps of the electric vehicle charging failure diagnosis method described in the above-mentioned embodiments.
[0020] Compared with the prior art, the advantages and beneficial effects of the present invention are: the present invention can extract charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assign a unique number to each charging segment, determine the charging segment distance according to the charging segment data, cluster the charging segment distances, determine the public charging stations, construct a public charging station information table, merge the vehicle charging alarm data, charging segment data and static data, screen out the charging segment information occurring in the public charging stations, obtain the corresponding charging failure factors, construct a public place failure diagnosis model according to the charging failure factors, diagnose whether the charging segment has failed to charge according to the public place failure diagnosis model, and output the charging failure reasons, so that enterprises can make corresponding improvements according to the failure reasons, improve product quality, and improve user experience, while facilitating better management of charging piles and improving the operational service capabilities of charging stations. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic flow chart of a method for diagnosing charging failure of an electric vehicle in one embodiment;
[0022] Figure 2 A schematic diagram of the structure of a diagnostic system for charging failure of an electric vehicle in one embodiment;
[0023] Figure 3 Schematic diagram of the internal structure of a device in one embodiment. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below through specific implementation methods in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0025] Before describing the specific implementation methods of the present invention, the electric vehicle of the present invention will be described first. The electric vehicle in the present invention refers to an electric vehicle. Charging failure refers to a charging behavior of an electric vehicle that fails to charge successfully. The reasons for charging failure include multiple aspects such as charging pile damage, vehicle-pile mismatch, and charging failure of the vehicle itself. Among them, vehicle-pile mismatch means that certain models cannot be successfully charged when the charging pile is not damaged; vehicle-charge failure means that the charging pile is not damaged and the vehicle-pile can be matched, but the charging vehicle fails to charge because of some fault in itself.
[0026] In one embodiment, Figure 1 As shown, a method for diagnosing electric vehicle charging failure is provided, comprising the following steps:
[0027] Step S101, extracting charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assigning a unique number to each charging segment.
[0028] Specifically, in the new energy vehicle monitoring and management platform, charging segment data and vehicle charging alarm data for a continuous period of time, such as three consecutive months, are extracted, a unique number is assigned to each charging segment of the charging segment data, and static information of the corresponding vehicle is obtained based on the charging segment data and vehicle charging alarm data.
[0029] Among them, the charging segment data includes the vehicle unique identification, segment start time, segment end time, segment start charge state, segment end charge state, segment start longitude and latitude, voltage list, current list, etc. The vehicle charging alarm data includes the vehicle unique identification, segment start and end time and alarm code. Static data includes the vehicle unique identification, vehicle model announcement number and vehicle model common name, etc.
[0030] Step S102, determining charging segment distances according to the charging segment data, clustering the charging segment distances, determining public charging stations, and constructing a public charging station information table.
[0031] Specifically, based on the charging segment data, the distance between the charging segments is calculated to obtain the charging segment distance, the charging segments are clustered according to the distance between the charging segments to obtain multiple clusters, and the number of charging vehicles and the number of charging segments in the corresponding clusters are counted, and the public charging station is determined based on the corresponding number of charging vehicles and the number of charging segments in the cluster, and the station information corresponding to the public charging station is obtained, and a public charging station information table is constructed based on all the station information.
[0032] Step S103: The vehicle charging alarm data, charging segment data and static data are integrated to filter out the charging segment information occurring at the public charging station and obtain the corresponding charging failure factor.
[0033] Specifically, the acquired vehicle charging alarm data, charging segment data and static data are integrated to filter out the charging segment information of the public charging station in the above public charging station information table, and analyze and obtain the corresponding charging failure factor based on the charging segment information. The charging failure factor may include multiple factors, such as insufficient charging time, unchanged state of charge, zero current or unstable voltage during charging, etc.
[0034] Step S104, constructing a public place charging failure diagnosis model according to the charging failure factor, diagnosing whether the charging segment has failed according to the public place charging failure diagnosis model, and outputting the charging failure cause.
[0035] Specifically, according to the charging failure factor obtained above, a charging failure diagnosis model for public places is constructed. According to the charging failure diagnosis model for public places, it is diagnosed whether the charging segment has failed, and the reason for the charging failure is output. For example, if the current is always 0 during the charging process, it is determined that the charging has failed, and the reason for the charging failure is output as the current is 0.
[0036] In this embodiment, by extracting charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assigning a unique number to each charging segment, the charging segment distance is determined according to the charging segment data, the charging segment distances are clustered, the public charging stations are determined, and a public charging station information table is constructed. The vehicle charging alarm data, charging segment data and static data are integrated, the charging segment information occurring at the public charging stations is screened out, the corresponding charging failure factors are obtained, and a public place failure diagnosis model is constructed according to the charging failure factors. According to the public place failure diagnosis model, whether the charging segment fails to charge is diagnosed, and the charging failure cause is output, so that the enterprise can make corresponding improvements according to the failure cause, improve product quality, and improve user experience. At the same time, it is convenient to better manage the charging piles and improve the operation and service capabilities of the charging stations.
[0037] Among them, step S101 specifically includes: in the new energy vehicle monitoring and management platform, extracting vehicle charging segment data within a continuous period of time, and assigning a unique number to each charging segment, the charging segment data includes a unique number, a vehicle unique identifier, a segment start time, a segment end time, a segment start charge state, a segment end charge state, a segment start longitude, a segment start latitude, a voltage list and a current list; in the new energy vehicle monitoring and management platform, extracting vehicle charging alarm data within the same continuous period of time, the vehicle charging alarm data includes a vehicle unique identifier, a segment start time, a segment end time and an alarm code; in the new energy vehicle monitoring and management platform, extracting static data of the vehicle corresponding to the charging segment data and the vehicle charging alarm data, the static data includes a vehicle unique identifier, a vehicle model announcement number and a vehicle model common name.
[0038] Specifically, the electric vehicle charging failure diagnosis method of the present application is based on the actual vehicle operation data of the new energy vehicle monitoring and management platform. For example, in the new energy vehicle monitoring and management platform, the charging segment data for three consecutive months is extracted, and each charging segment is assigned a unique number; at the same time, in the platform, the vehicle charging alarm data for the same three consecutive months is extracted; and the static data of the corresponding vehicle in the charging segment data is extracted, so as to obtain all relevant information about the vehicle charging, which is convenient for subsequent charging failure analysis based on the relevant information of the vehicle charging.
[0039] Before step S102, the method further includes: calculating the distance between any two charging segments according to the starting longitude and starting latitude of the charging segments, and the formula is:
[0040]
[0041] Among them, lng i is the starting longitude, lat i is the starting latitude, Indicates c j With c k The distance between them, 1≤j≤n, 1≤k≤n, a=lat j -lat k , b = lng j -lng k , 6378.137 is the radius of the earth, in kilometers; the distances between all charging segments are calculated according to formula (1) to obtain the charging segment distance matrix.
[0042] Specifically, the starting longitude and starting latitude of the charging segment are obtained according to the charging segment data, and the distance between any two charging segments is calculated according to the starting longitude and starting latitude, and all charging segment distances are obtained to form a charging segment distance matrix, so as to facilitate the subsequent determination of the public charging station according to the charging segment distance matrix.
[0043] Among them, step S102 specifically includes: hierarchically clustering the charging segments according to the charging segment distance matrix and the preset distance to obtain multiple clusters; extracting the vehicle unique identifier corresponding to the charging segments occurring in each cluster, deduplicating and counting the charging segments according to the vehicle unique identifier, and obtaining the number of charging vehicles in each cluster; performing statistics according to the vehicle unique identifier occurring in each cluster to obtain the number of charging segments corresponding to each cluster; when the relationship between the number of charging vehicles and the number of charging segments meets the preset rules, determining that the corresponding cluster is a public charging station, and numbering the public charging stations to obtain the station number; obtaining the charging segments occurring in the public charging station, calculating the mean longitude according to the starting longitude of the charging segment, obtaining the station longitude, and calculating the mean latitude according to the starting latitude of the charging segment, obtaining the station latitude; constructing a public charging station information table according to the station number, station longitude, station latitude, number of charging vehicles and number of charging segments.
[0044] Specifically, according to the distance between each charging segment obtained by the above calculation, the charging segments are clustered in an enclosed layer. For example, when the preset distance is set to 300, the corresponding clustering condition is that the distance between the charging segments is less than 300 meters, and multiple clusters are obtained after clustering; the vehicle unique identification corresponding to the charging segment occurring in each cluster is obtained according to the charging segment data, and the charging segments are deduplicated and counted according to the vehicle unique identification to obtain the number of charging vehicles corresponding to each cluster. At the same time, the number of charging segments corresponding to each cluster is counted, and according to the preset rules, it is determined whether the cluster is a public charging station, and the public charging stations are numbered to obtain the station number.
[0045] Among them, the preset rule is that the number of charging segments is greater than three times the number of charging vehicles and greater than the preset number.
[0046] For example, the preset number is set to 24, the number of charging vehicles in a cluster is 100, and the number of charging segments in the cluster is 400 according to the unique identification of the vehicle, and 400 is greater than 3*100 and greater than 24, that is, the cluster is a public charging station. Of course, the preset rules and preset numbers can be modified accordingly according to actual conditions.
[0047] Based on the public charging station, all charging segments occurring in the public charging station are screened out from the charging segment data, and the longitude mean is calculated based on the starting longitude of all charging segments to obtain the station longitude; at the same time, the latitude mean is calculated based on the starting latitude of all charging segments to obtain the station latitude. Similarly, the information of all public charging stations is calculated according to the above method, and a public charging station information table is constructed based on the station number, station latitude, station longitude, number of charging vehicles and charging segment data, so as to analyze the reasons for charging failure at the corresponding public charging station.
[0048] Among them, step S103 specifically includes: the charging failure factors include charging time, charge change state, whether a critical alarm occurs, whether the current during the charging process is 0, and whether the voltage during the charging process is stable; the charging time is calculated according to the segment start time and the segment end time; the charge change state is calculated according to the segment start charge state and the segment end charge state; whether a critical alarm occurs is analyzed according to the following formula:
[0049]
[0050] Among them, 1 represents a critical alarm, and 0 represents no critical alarm. code =12 or alarm code=17 represents insulation alarm or high-voltage interlock alarm; obtain the current list in the charging segment data, and determine whether all currents in the current list are 0. If so, it is determined that the charging process current is 0, if not, it is determined that the charging process current is not 0; obtain the voltage list in the charging segment data, calculate the standard deviation of the voltage value according to the voltage list, and compare the standard deviation with the preset standard deviation. When the standard deviation is less than the preset standard deviation, it is determined that the voltage is stable, and when the standard deviation is greater than or equal to the preset standard deviation, it is determined that the voltage is not stable.
[0051] Specifically, according to the charging segment information occurring at the public charging station, the corresponding charging failure factors are analyzed. The charging failure factors include the charging duration, charge change status, whether a critical alarm occurs, whether the current during the charging process is 0, and whether the voltage during the charging process is stable.
[0052] According to the charging segment data, the segment start time and segment end time are obtained, and the charging duration is calculated; according to the segment start charge state and the segment end charge state, the charge change state is calculated; according to whether the insulation alarm or high-voltage interlock alarm occurs, whether the critical alarm occurs is determined; the current list in the charging segment data is obtained, and the current values in the current list are compared with 0 in turn. If all are equal to 0, the charging process current is determined to be 0, and if there is a current that is not equal to 0, the charging process current is determined to be not 0; according to the voltage list in the charging segment, the standard deviation of the voltage value is calculated, and the standard deviation is compared with the preset standard deviation, such as 50. When the standard deviation is less than 50, the voltage value of the charging segment is stable, otherwise, it is not stable. For example, the standard deviations of segments 1, 2, and 3 are 33, 113, and 18 respectively, then the voltages of segments 1 and 3 are stable, and the voltage of segment 2 is not stable.
[0053] Among them, step S104 specifically includes: constructing a charging failure diagnosis model in public places according to the charging failure factor, diagnosing whether the charging segment fails to charge according to the charging failure diagnosis model in public places, and outputting the reason; wherein, when the charging time is less than the preset time, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as too short a charging time; or when the charge change state is less than or equal to 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as abnormal charge state; or when a critical alarm occurs in the charging segment, it is determined that the charging segment fails to charge, and the reason for the charging failure is abnormal charging; or when the charging current of the charging segment is 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as the charging current is 0; or when the voltage during the charging process is not stable, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as unstable charging voltage.
[0054] Specifically, based on the acquired charging failure factors, a charging failure diagnosis model for public places is constructed. Based on the charging failure diagnosis model for public places, it is diagnosed whether the charging segment has failed to charge, and the reason for the charging failure is output. Based on the reason for the charging failure, it is convenient for car companies to improve product quality and user experience in a targeted manner; at the same time, it helps charging stations to better manage charging piles, and timely detect and repair abnormal charging piles, thereby improving the operational service capabilities of charging stations. For example, when the charging time is less than 180 seconds, it is considered a charging failure, and the reason for the charging failure is output as too short a charging time. If none of the charging failure factors meet the corresponding conditions, the charging is deemed to be successful.
[0055] like Figure 2 As shown, a diagnostic system 20 for electric vehicle charging failure is provided, comprising: a data extraction module 21, a distance clustering module 22, a factor acquisition module 23 and a charging diagnosis module 24, wherein:
[0056] The data extraction module 21 is used to extract charging segment data and vehicle charging alarm data for a continuous period of time, as well as static data of the corresponding vehicle, and assign a unique number to each charging segment;
[0057] A distance clustering module 22, configured to determine charging segment distances according to charging segment data, cluster charging segment distances, determine public charging stations, and construct a public charging station information table;
[0058] The factor acquisition module 23 is used to integrate the vehicle charging alarm data, charging segment data and static data, filter out the charging segment information occurring in the public charging station, and obtain the corresponding charging failure factor;
[0059] The charging diagnosis module 24 is used to construct a public place charging failure diagnosis model according to the charging failure factor, diagnose whether the charging segment has failed according to the public place charging failure diagnosis model, and output the charging failure reason.
[0060] In one embodiment, the data extraction module 21 is specifically used for: in the new energy vehicle monitoring and management platform, extracting vehicle charging segment data within a continuous period of time, and assigning a unique number to each charging segment, the charging segment data includes a unique number, a vehicle unique identifier, a segment start time, a segment end time, a segment start state of charge, a segment end state of charge, a segment start longitude, a segment start latitude, a voltage list and a current list; in the new energy vehicle monitoring and management platform, extracting vehicle charging alarm data within the same continuous period of time, the vehicle charging alarm data includes a vehicle unique identifier, a segment start time, a segment end time and an alarm code; in the new energy vehicle monitoring and management platform, extracting static data of the vehicle corresponding to the charging segment data and the vehicle charging alarm data, the static data includes a vehicle unique identifier, a vehicle model announcement number and a vehicle model common name.
[0061] In one embodiment, the distance clustering module 22 is specifically used to: hierarchically cluster the charging segments according to the charging segment distance matrix and the preset distance to obtain multiple clusters; extract the vehicle unique identifier corresponding to the charging segments occurring in each cluster, deduplicate the charging segments according to the vehicle unique identifier, and obtain the number of charging vehicles in each cluster; perform statistics according to the vehicle unique identifier occurring in each cluster to obtain the number of charging segments corresponding to each cluster; when the relationship between the number of charging vehicles and the number of charging segments meets the preset rules, determine that the corresponding cluster is a public charging station, and number the public charging stations to obtain the station number; obtain the charging segments occurring in the public charging station, calculate the mean longitude according to the starting longitude of the charging segment, obtain the station longitude, and calculate the mean latitude according to the starting latitude of the charging segment, obtain the station latitude; construct a public charging station information table according to the station number, station longitude, station latitude, number of charging vehicles and number of charging segments.
[0062] In one embodiment, the charging diagnosis module 24 is specifically used to: construct a charging failure diagnosis model for public places according to the charging failure factor, and diagnose whether the charging segment fails to charge according to the charging failure diagnosis model for public places, and output the reason; wherein, when the charging time is less than the preset time, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as too short a charging time; or when the charge change state is less than or equal to 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as abnormal charge state; or when a critical alarm occurs in the charging segment, it is determined that the charging segment fails to charge, and the reason for the charging failure is abnormal charging; or when the charging current of the charging segment is 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as the charging current is 0; or when the voltage during the charging process is not stable, it is determined that the charging segment fails to charge, and the reason for the charging failure is output as unstable charging voltage.
[0063] In one embodiment, a device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the device is used to provide computing and control capabilities. The memory of the device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the device is used to store configuration templates and can also be used to store target web page data. The network interface of the device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for diagnosing electric vehicle charging failure is implemented.
[0064] Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0065] In one embodiment, a storage medium may be provided, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the aforementioned embodiment. The computer may be part of the above-mentioned electric vehicle charging failure diagnostic system.
[0066] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0067] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer storage medium (ROM / RAM, magnetic disk, optical disk) and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Therefore, the present invention is not limited to any specific combination of hardware and software.
[0068] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the scope of protection of the present invention.
Claims
1. A method for diagnosing charging failure of an electric vehicle, characterized in that: The following steps are involved: Extract charging segment data and vehicle charging alarm data for a continuous period of time, as well as static data of the corresponding vehicle, and assign a unique number to each charging segment; Determine charging segment distances according to the charging segment data, cluster the charging segment distances, determine public charging stations, and construct a public charging station information table; The vehicle charging alarm data, charging segment data and static data are integrated to filter out the charging segment information occurring in the public charging station, and obtain the corresponding charging failure factor, which includes charging time, charge change status, whether a critical alarm occurs, whether the current during the charging process is 0, and whether the voltage during the charging process is stable. The charging time is calculated based on the segment start time and the segment end time; the charge change status is calculated based on the segment start charge status and the segment end charge status; and whether a critical alarm occurs is analyzed based on the following formula: Among them, 1 represents a critical alarm, and 0 represents no critical alarm. code =12 or alarm code =17 represents insulation alarm or high-voltage interlock alarm; obtain the current list in the charging segment data, determine whether all currents in the current list are 0, if so, determine that the charging process current is 0, if not, determine that the charging process current is not 0; obtain the voltage list in the charging segment data, calculate the standard deviation of the voltage value according to the voltage list, compare the standard deviation with the preset standard deviation, when the standard deviation is less than the preset standard deviation, determine that the voltage has stability, when the standard deviation is greater than or equal to the preset standard deviation, determine that the voltage has no stability; A charging failure diagnosis model for public places is constructed according to the charging failure factor. According to the charging failure diagnosis model for public places, whether a charging segment fails to charge is diagnosed, and the reason for the charging failure is output, including: when the charging duration is less than a preset duration, the charging segment is determined to have failed to charge, and the reason for the charging failure is output as too short a charging duration; or when the charge change state is less than or equal to 0, the charging segment is determined to have failed to charge, and the reason for the charging failure is output as abnormal charge state; or when a critical alarm occurs in the charging segment, the charging segment is determined to have failed to charge, and the reason for the charging failure is abnormal charging; or when the charging current of the charging segment is 0, the charging segment is determined to have failed to charge, and the reason for the charging failure is output as the charging current is 0; or when the voltage during the charging process is not stable, the charging segment is determined to have failed to charge, and the reason for the charging failure is output as unstable charging voltage.
2. A method for diagnosing charging failure of an electric vehicle according to claim 1, characterized in that: The extracting of charging segment data and vehicle charging alarm data for a continuous period of time, and static data of the corresponding vehicle, and assigning a unique number to each charging segment, specifically includes: In the new energy vehicle monitoring and management platform, extract the vehicle charging segment data within a continuous period of time, and assign a unique number to each charging segment, wherein the charging segment data includes a unique number, a vehicle unique identifier, a segment start time, a segment end time, a segment start state of charge, a segment end state of charge, a segment start longitude, a segment start latitude, a voltage list, and a current list; In the new energy vehicle monitoring and management platform, extracting vehicle charging alarm data within the same continuous period of time, wherein the vehicle charging alarm data includes a vehicle unique identifier, a segment start time, a segment end time, and an alarm code; In the new energy vehicle monitoring and management platform, static data of the vehicle corresponding to the charging segment data and the vehicle charging alarm data is extracted, and the static data includes the vehicle unique identification, vehicle model announcement number and vehicle model common name.
3. A method for diagnosing charging failure of an electric vehicle according to claim 2, characterized in that: Before determining the charging segment distance according to the charging segment data, clustering the charging segment distance, determining the public charging station, and constructing the public charging station information table, the method further includes: According to the starting longitude and latitude of the charging segment, the distance between any two charging segments is calculated using the formula: Among them, lng i is the starting longitude, lat i is the starting latitude, Indicates c j With c k The distance between them, 1≤j≤n, 1≤k≤n, a=lat j -lat k ; b = lng j -lng k ; 6378.137 is the radius of the earth, in kilometers; The distances between all charging segments are calculated according to formula (2) to obtain the charging segment distance matrix.
4. A method for diagnosing charging failure of an electric vehicle according to claim 3, characterized in that: The step of determining charging segment distances according to the charging segment data, clustering the charging segment distances, determining public charging stations, and constructing a public charging station information table specifically includes: hierarchically clustering the charging segments according to the charging segment distance matrix and the preset distance to obtain a plurality of clusters; Extract the unique vehicle identifier corresponding to the charging segment occurring in each cluster, perform deduplication counting on the charging segments according to the unique vehicle identifier, and obtain the number of charging vehicles in each cluster; According to the unique identification of the vehicles in each cluster, the number of charging segments corresponding to each cluster is obtained; When the relationship between the number of charging vehicles and the number of charging segments meets a preset rule, determining that the corresponding cluster is a public charging station, and numbering the public charging stations to obtain station numbers; Obtain the charging segments occurring at the public charging station, calculate the mean longitude according to the starting longitude of the charging segments, obtain the longitude of the station, and calculate the mean latitude according to the starting latitude of the charging segments, and obtain the latitude of the station; A public charging station information table is constructed according to the station number, station longitude, station latitude, number of charging vehicles and number of charging segments.
5. A method for diagnosing charging failure of an electric vehicle according to claim 4, characterized in that: The preset rule is that the number of charging segments is greater than three times the number of charging vehicles and greater than a preset number.
6. A diagnostic system for electric vehicle charging failure, characterized in that: include: A data extraction module is used to extract charging segment data and vehicle charging alarm data for a continuous period of time, as well as static data of the corresponding vehicle, and assign a unique number to each charging segment; A distance clustering module, configured to determine charging segment distances according to the charging segment data, cluster the charging segment distances, determine public charging stations, and construct a public charging station information table; The factor acquisition module is used to integrate the vehicle charging alarm data, charging segment data and static data, screen out the charging segment information occurring in the public charging station, and obtain the corresponding charging failure factor, wherein the charging failure factor includes charging duration, charge change status, whether a critical alarm occurs, whether the current during the charging process is 0, and whether the voltage during the charging process is stable. The charging duration is calculated based on the segment start time and the segment end time; the charge change status is calculated based on the segment start charge status and the segment end charge status; and whether a critical alarm occurs is analyzed based on the following formula: Among them, 1 represents a critical alarm, and 0 represents no critical alarm. code =12 or alarm code =17 represents insulation alarm or high-voltage interlock alarm; obtain the current list in the charging segment data, determine whether all currents in the current list are 0, if so, determine that the charging process current is 0, if not, determine that the charging process current is not 0; obtain the voltage list in the charging segment data, calculate the standard deviation of the voltage value according to the voltage list, compare the standard deviation with the preset standard deviation, when the standard deviation is less than the preset standard deviation, determine that the voltage has stability, when the standard deviation is greater than or equal to the preset standard deviation, determine that the voltage has no stability; A charging diagnosis module is used to construct a public place charging failure diagnosis model according to the charging failure factor, and diagnose whether a charging segment fails to charge according to the public place charging failure diagnosis model, and output the reason for the charging failure, including: when the charging time is less than a preset time, it is determined that the charging segment fails to charge, and the reason for the charging failure is that the charging time is too short; or when the charge change state is less than or equal to 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is abnormal charge state; or when a critical alarm occurs in the charging segment, it is determined that the charging segment fails to charge, and the reason for the charging failure is abnormal charging; or when the charging current of the charging segment is 0, it is determined that the charging segment fails to charge, and the reason for the charging failure is that the charging current is 0; or when the voltage during the charging process is not stable, it is determined that the charging segment fails to charge, and the reason for the charging failure is unstable charging voltage.
7. A diagnostic device for electric vehicle charging failure, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
