Electric vehicle charging facility fault diagnosis method, equipment and medium
By preprocessing and deep learning network training of charging data of electric vehicle charging facilities, combined with multi-frequency testing methods and data compression processing, the speed and accuracy of fault diagnosis of charging piles are improved, and the slow fault diagnosis speed in the existing technology is solved. And the accuracy is not high.
Patent Information
- Application Number
- CN202410891497.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-07-01
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-15
AI Technical Summary
Existing charging pile fault diagnosis methods based on deep learning are slow in diagnosis and have low accuracy.
Preprocessing by obtaining charging data from electric vehicle charging facilities, including formatting, feature extraction and mapping to sample space points, inputting fault diagnosis models for diagnosis, using deep learning network training and testing, combined with multi-frequency testing methods and data compression processing , improve diagnosis speed and accuracy.
The fault diagnosis speed is accelerated, the diagnosis accuracy is improved, and the problems of slow fault diagnosis speed and low accuracy in the existing technology are solved.
Smart Images

Figure CN118779701A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicles, and in particular to a method, device and medium for diagnosing faults of electric vehicle charging facilities. Background Art
[0002] Electric vehicles refer to vehicles that use onboard power as a power source, use motors to drive wheels, and comply with various requirements of road traffic and safety regulations. As the impact on the environment is relatively small compared to traditional vehicles, the prospects of electric vehicles are widely optimistic. With the widespread promotion of electric vehicles, their charging facilities such as charging piles have also appeared in every corner of the city. The input end of the charging pile is directly connected to the AC power grid, and the output end is equipped with a charging plug for charging electric vehicles. Charging piles generally provide two charging methods: conventional charging and fast charging. The charging pile display can display data such as charging capacity, cost, and charging time.
[0003] Electric vehicle charging facilities such as charging piles may fail during use, resulting in the inability to charge. Based on this, the prior art proposes a charging pile fault diagnosis method based on deep learning to achieve automatic fault diagnosis of charging piles, but the speed of fault diagnosis is slow and the accuracy is not high. Summary of the invention
[0004] The purpose of this application is to provide an electric vehicle charging facility fault diagnosis method, device and medium to solve the problem that the existing charging pile fault diagnosis method based on deep learning has a slow fault diagnosis speed and low accuracy.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In a first aspect, the present application provides a method for diagnosing faults of electric vehicle charging facilities, comprising:
[0007] Obtain target charging data of target electric vehicle charging facilities;
[0008] Performing a first preprocessing on the target charging data of the target electric vehicle charging facility;
[0009] The first preprocessing includes: formatting as required; extracting features from the formatted target charging data and mapping them to sample space points to obtain sample space point data of the target charging data;
[0010] The data obtained by performing a first preprocessing on the target charging data is input into a charging facility fault diagnosis model to perform fault diagnosis on the electric vehicle charging facility.
[0011] Optionally, the charging facility fault diagnosis model is trained according to the following training process:
[0012] Establish a charging circuit fault diagnosis simulation system to simulate the circuit state of the electric vehicle charging facility when it is in different fault modes, obtain the first simulated charging data under each fault mode, and obtain a fault sample set of the electric vehicle charging facility;
[0013] Performing a first preprocessing on the first simulated charging data in the electric vehicle charging facility fault sample set to obtain sample space point data of the first simulated charging data in each fault mode to form a sample space set of the first simulated charging data;
[0014] The data obtained by performing a first preprocessing on the first simulated charging data under each fault mode is input into a deep learning network, and after training and testing are completed, the charging facility fault diagnosis model is obtained.
[0015] Optionally, during the training process of the charging facility fault diagnosis model, testing is performed according to the following process:
[0016] Applying the same conditions as those used to generate the electric vehicle charging facility fault sample set by a multi-frequency test method, and then using the charging circuit fault diagnosis simulation system to simulate the fault modes included in the electric vehicle charging facility fault sample set, to obtain second simulated charging data under each fault mode;
[0017] Performing a first preprocessing on the second simulated charging data under each fault mode to obtain sample space point data of the second simulated charging data under each fault mode to form a sample space set of the second simulated charging data;
[0018] The data obtained by performing a first preprocessing on the second simulated charging data under each fault mode is input into the trained deep learning network to test its fault diagnosis capability for electric vehicle charging facilities.
[0019] Optionally, the first preprocessing further includes:
[0020] Perform data compression processing on the sample space point data.
[0021] Optionally, performing a first preprocessing on the first simulated charging data further includes:
[0022] De-redundancy processing is performed on the sample space point data in the sample space set of the first simulated charging data to obtain a feature vector under each fault mode.
[0023] Optionally, the redundancy removal process includes:
[0024] Using the charging circuit fault diagnosis simulation system to simulate the fault modes contained in the electric vehicle charging facility fault sample set again, and obtain third simulated charging data under each fault mode;
[0025] Formatting, feature extracting and mapping the third simulated charging data under each fault mode to sample space points, obtaining sample space point data of the third simulated charging data under each fault mode, and forming a sample space set of the third simulated charging data;
[0026] A comparative analysis is performed on the sample space point data corresponding one to one in the sample space sets of the first simulated charging data and the third simulated charging data, and the same features in the corresponding sample space point data of the first simulated charging data and the sample space point data of the third simulated charging data are retained to obtain the feature vectors under each fault mode.
[0027] Optionally, performing a first preprocessing on the first simulated charging data further includes:
[0028] Data compression is performed on the feature vectors under each fault mode.
[0029] Optionally, the deep learning network adopts a BP neural network.
[0030] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the above-mentioned electric vehicle charging facility fault diagnosis methods.
[0031] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the above-mentioned electric vehicle charging facility fault diagnosis methods.
[0032] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0033] The present application provides a method, device and medium for diagnosing faults of a charging facility for an electric vehicle. After acquiring target charging data of a target electric vehicle charging facility and formatting it, a first preprocessing is performed on the target charging data of the target electric vehicle charging facility. The first preprocessing includes: formatting as required; extracting features of the formatted target charging data and mapping them to sample space points; inputting the data obtained by the first preprocessing into a charging facility fault diagnosis model to perform fault diagnosis of the electric vehicle charging facility; obtaining effective fault features after feature extraction, and then constructing high-dimensional sample space points with the effective features and inputting them into the charging facility fault diagnosis model, thereby avoiding the influence of circuit information that is useless for fault diagnosis on the speed and accuracy of fault diagnosis, speeding up the speed of fault diagnosis while improving the accuracy of fault diagnosis, and solving the problem that the existing charging pile fault diagnosis method based on deep learning has a slow fault diagnosis speed and low accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 This is a flow chart of a method for diagnosing faults in an electric vehicle charging facility in one embodiment of the present application;
[0036] Figure 2 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0039] The present application embodiment provides a method for diagnosing faults in electric vehicle charging facilities. The method is executed by a computer device, and can be executed by a computer device such as a terminal or a server alone, or by a terminal and a server together. Figure 1 As shown, the steps include steps 101 to 103. Among them:
[0040] Step 101, obtaining target charging data of a target electric vehicle charging facility.
[0041] In the embodiment of the present application, the target charging data includes but is not limited to the charging message, charging mode, A+ voltage, A- voltage and charging electrical parameters of the target electric vehicle charging facility, the charging electrical parameters include at least one of charging power, charging voltage and charging current, and the charging mode includes the fast charging mode and slow charging mode of the electric vehicle charging facility, so as to comprehensively obtain various charging data of the electric vehicle charging facility, improve the accuracy of fault diagnosis, and be able to diagnose faults of electric vehicle charging facilities under different charging modes. It should be noted that the frequency and data length of the target charging data of the target electric vehicle charging facility obtained by this application can be set according to actual needs and are not specifically limited here.
[0042] Step 102, performing a first preprocessing on the target charging data of the target electric vehicle charging facility, including:
[0043] Step 1021, formatting as required;
[0044] Step 1022 , extracting features from the formatted target charging data and mapping them to sample space points to obtain sample space point data of the target charging data.
[0045] The embodiment of the present application is formatted as required, that is, the input data is formatted according to the requirements of a processor such as a computer device, so that the formatted charging data can be used for program execution such as feature extraction.
[0046] Step 103 , inputting data obtained by performing a first preprocessing on the target charging data, namely, sample space point data of the target charging data, into a charging facility fault diagnosis model to perform fault diagnosis of the electric vehicle charging facility.
[0047] Implement the above-mentioned steps 101 to 103, input the data obtained by the first preprocessing into the charging facility fault diagnosis model, and perform fault diagnosis of the electric vehicle charging facility; after feature extraction, obtain effective fault features, and then directly input the effective features into the charging facility fault diagnosis model to avoid the circuit information that is useless for fault diagnosis affecting the fault diagnosis speed and accuracy, effectively speeding up the fault diagnosis speed while improving the fault diagnosis accuracy.
[0048] In an exemplary embodiment, in order to ensure that the trained charging facility fault diagnosis model can accurately diagnose all possible faults of the electric vehicle charging facility, when training the charging facility fault diagnosis model, a charging circuit fault diagnosis simulation system is established to simulate the circuit state of the electric vehicle charging facility in different fault modes. The charging facility fault diagnosis model is trained according to the training process including the following steps 201 to 203. Among them:
[0049] Step 201 , establish a charging circuit fault diagnosis simulation system, simulate the circuit state of the electric vehicle charging facility when it is in different fault modes, obtain the first simulated charging data under each fault mode, and obtain the electric vehicle charging facility fault sample set.
[0050] In the embodiment of the present application, according to the fault modes that have occurred in the operation of the electric vehicle charging facility in actual work, the established charging circuit fault diagnosis simulation system is used to simulate circuit faults and record data, which can simulate more circuit states, and the obtained fault sample set breaks the limitations of the fault history data of the electric vehicle charging facility. The first simulated charging data includes but is not limited to the charging message, charging mode, A+ voltage, A- voltage and charging electrical parameters of the simulated circuit of the electric vehicle charging facility, and the charging electrical parameters include at least one of charging power, charging voltage and charging current.
[0051] Step 202, performing a first preprocessing on the first simulated charging data in the electric vehicle charging facility fault sample set, comprising:
[0052] Step 2021, format as required;
[0053] Step 2022 , extracting features from the formatted first simulated charging data and mapping them to sample space points, obtaining sample space point data of the first simulated charging data under each fault mode, and forming a sample space set of the first simulated charging data.
[0054] In an embodiment of the present application, each sample space point corresponds to a fault mode. Since the fault sample set of the present application contains sample data of multiple fault modes, the first simulated charging data under each fault mode is formatted, and then feature extracted and mapped to the sample space point to obtain a sample space set of the first simulated charging data. The sample space set can be used completely as a training set, or it can be divided into a training set and a test set to facilitate subsequent training and testing processes.
[0055] It should be noted that when diagnosing faults in electric vehicle charging facilities, it is necessary to monitor the circuit, warn and discover circuit faults during the charging process of the electric vehicle. Therefore, the charging data is collected according to the set frequency and data length. Therefore, each sample space point data is high-dimensional data.
[0056] Step 203, input the data obtained by performing a first preprocessing on the first simulated charging data under each fault mode into a deep learning network, and after training and testing are completed, the charging facility fault diagnosis model is obtained.
[0057] In the embodiment of the present application, since the electric vehicle charging facility fault sample set obtained by simulation is used for training, the obtained charging facility fault diagnosis model can further effectively improve the fault diagnosis speed and accuracy.
[0058] In another exemplary embodiment of the present application, in order to more accurately test the fault diagnosis capability of the charging facility fault diagnosis model, it is tested according to a test process including the following steps 301 to 303. Among them:
[0059] Step 301, applying the same conditions as those used to generate the electric vehicle charging facility fault sample set through a multi-frequency test method, and then using the charging circuit fault diagnosis simulation system to simulate the fault modes included in the electric vehicle charging facility fault sample set to obtain second simulated charging data under each fault mode.
[0060] In the embodiment of the present application, through the method of step 301, it is achieved that different simulation methods are used to simulate the same fault mode. The multi-frequency test method uses sinusoidal signals of different frequencies to stimulate the simulated circuit under test, which is compatible with different data representations of the same fault mode of different electric vehicle charging facilities, so as to more accurately test the fault diagnosis capability of the trained model, and improve the diagnostic accuracy and robustness of the charging facility fault diagnosis model obtained after the test is completed.
[0061] In an embodiment of the present application, the second simulated charging data includes but is not limited to a charging message, a charging mode, an A+ voltage, an A- voltage and charging electrical parameters of a simulation circuit of an electric vehicle charging facility, wherein the charging electrical parameters include at least one of a charging power, a charging voltage and a charging current.
[0062] Step 302, performing first preprocessing on the second simulated charging data in each fault mode, including:
[0063] Step 3021, formatting as required;
[0064] Step 3022 , extracting features from the formatted second simulated charging data and mapping them to sample space points, obtaining sample space point data of the second simulated charging data under each fault mode, and forming a sample space set of the second simulated charging data.
[0065] Step 303: input the data obtained by performing a first preprocessing on the second simulated charging data under each fault mode into the trained deep learning network to test its fault diagnosis capability for the electric vehicle charging facility.
[0066] In another exemplary embodiment of the present application, in order to improve the speed and accuracy of the charging facility fault diagnosis model for fault diagnosis, the first preprocessing of the target charging data of the target electric vehicle charging facility includes:
[0067] Step 1021, formatting as required;
[0068] Step 1022, extracting features from the formatted target charging data and mapping them to sample space points to obtain sample space point data of the target charging data;
[0069] Step 1023: perform data compression processing on the sample space point data of the target charging data.
[0070] In the embodiment of the present application, the data compression processing may adopt quantization compression transformation. Since the data mapped to the sample space point is high-dimensional data, the bandwidth required for storing and transmitting the data is relatively high. Therefore, the sample space point data is further compressed to retain the key information of the data while reducing the number of bits of the data.
[0071] In another exemplary embodiment of the present application, in order to improve the speed and accuracy of fault diagnosis of the trained charging facility fault diagnosis model, the first preprocessing of the first simulated charging data under each fault mode during the training process includes:
[0072] Step 221, formatting as required;
[0073] Step 2022, extracting features from the formatted first simulated charging data and mapping them to sample space points, obtaining sample space point data of the first simulated charging data under each fault mode, and forming a sample space set of the first simulated charging data;
[0074] Step 2023: perform data compression processing on the sample space point data in the sample space set of the first simulated charging data.
[0075] In another exemplary embodiment of the present application, in order to improve the speed and accuracy of fault diagnosis of the trained charging facility fault diagnosis model, during the test, the first preprocessing of the second simulated charging data under each fault mode includes:
[0076] Step 3021, formatting as required;
[0077] Step 3022, extracting features from the formatted second simulated charging data and mapping them to sample space points, obtaining sample space point data of the second simulated charging data under each fault mode, and forming a sample space set of the second simulated charging data;
[0078] Step 3023: perform data compression processing on the sample space point data in the sample space set of the second simulated charging data.
[0079] In another exemplary embodiment of the present application, in order to further improve the fault diagnosis speed and accuracy of the charging facility fault diagnosis model, the first preprocessing of the first simulated charging data under each fault mode during the training process includes:
[0080] Step 221, formatting as required;
[0081] Step 2022, extracting features from the formatted first simulated charging data and mapping them to sample space points, obtaining sample space point data of the first simulated charging data under each fault mode, and forming a sample space set of the first simulated charging data;
[0082] Step 2023 , performing redundancy removal processing on the sample space point data in the sample space set of the first simulated charging data to obtain a feature vector under each fault mode.
[0083] Furthermore, the de-redundancy process includes the following steps 401 to 403. Among them:
[0084] Step 401 : Use a charging circuit fault diagnosis simulation system to simulate the fault modes contained in the electric vehicle charging facility fault sample set again to obtain third simulated charging data under each fault mode.
[0085] In an embodiment of the present application, the third simulated charging data includes but is not limited to the charging message, charging mode, A+ voltage, A- voltage and charging electrical parameters of the analog circuit of the electric vehicle charging facility, and the charging electrical parameters include at least one of the charging power, charging voltage and charging current.
[0086] Step 402 , formatting, feature extracting and mapping the third simulated charging data under each fault mode to sample space points, obtaining sample space point data of the third simulated charging data under each fault mode, and forming a sample space set of the third simulated charging data.
[0087] Step 403 , performing comparative analysis on the sample space point data corresponding one to one in the sample space set of the first simulated charging data and the sample space point data of the third simulated charging data, retaining the same features in the corresponding sample space point data of the first simulated charging data and the sample space point data of the third simulated charging data, and obtaining feature vectors under each fault mode.
[0088] In an embodiment of the present application, the above-mentioned de-redundancy processing flow simulates the same fault mode again, and compares the third simulated charging data obtained by re-simulation with the first simulated charging data used for training, determines the fixed fault characteristics corresponding to each fault mode, deletes useless information, retains the fault characteristics with the greatest correlation with each fault mode, and improves the fault diagnosis speed and accuracy.
[0089] It should be noted that the first simulated charging data, the second simulated charging data and the third simulated charging data simulated in the present application can be the general term for charging data obtained by performing multiple simulations, and are not specifically limited to one simulation. The specific number of simulations is set according to actual needs and is not specifically limited here.
[0090] In another exemplary embodiment of the present application, in order to further improve the fault diagnosis speed and accuracy of the charging facility fault diagnosis model, the first preprocessing of the first simulated charging data during the training process includes:
[0091] Step 221, formatting as required;
[0092] Step 2022, extracting features from the formatted first simulated charging data and mapping them to sample space points, obtaining sample space point data of the first simulated charging data under each fault mode, and forming a sample space set of the first simulated charging data;
[0093] Step 2023, performing redundancy removal processing on the sample space point data in the sample space set of the first simulated charging data to obtain a feature vector under each fault mode;
[0094] Step 2024: Perform data compression processing on the characteristic vectors in each fault mode. The relevant introduction of data compression processing can be found in the above records, which will not be repeated here.
[0095] In another exemplary embodiment of the present application, in order to improve the speed and accuracy of the charging facility fault diagnosis model for fault diagnosis, the de-redundancy processing further includes:
[0096] Before comparing and analyzing the one-to-one corresponding sample space point data in the sample space set of the first simulated charging data and the sample space set of the third simulated charging data under each fault mode, data compression processing is performed on the sample space point data in the sample space set of the first simulated charging data and the sample space set of the third simulated charging data. Comparative analysis is performed using the data after data compression processing.
[0097] In another exemplary embodiment of the present application, the deep learning network used to train the charging facility fault diagnosis model adopts a BP neural network.
[0098] The BP neural network has strong nonlinear mapping capabilities and a flexible network structure. The number of intermediate layers and the number of neurons in each layer of the network can be arbitrarily set according to the specific situation. Based on the second simulated charging data simulated in the embodiment of the present application, when diagnosing electric vehicle charging facility faults during the test, the BP neural network can perform more comparisons, match faults faster, and quickly obtain fault diagnosis results with high speed and accuracy.
[0099] As an optional implementation, during the training and testing process of the charging facility fault diagnosis model, the trial and error method is used to determine the optimal number of hidden nodes. When the trial and error method is implemented, a small number of hidden nodes is first set, and then the number of hidden nodes is gradually increased, and the same fault sample set is used for training to determine the number of hidden nodes corresponding to the minimum network error.
[0100] As an optional implementation, during the training process of the charging facility fault diagnosis model, the number of fault modes that can be diagnosed is binary-coded, and the number of bits of the data with the largest binary code value is used as the number of neuron nodes in the output layer.
[0101] As an optional implementation, the number of nodes in the input layer, hidden layer and output layer of the deep learning network is the product of the number of nodes in the corresponding input layer, hidden layer and output layer during the test and the test frequency.
[0102] The test frequency refers to the frequency at which the model is evaluated during training (i.e., run on a validation set or test set to check its performance). The model may be evaluated on the validation set every certain number of training iterations (e.g., every 100 iterations), and this frequency depends on the size of the training set and the complexity of the model, so as to obtain sufficient feedback during training without interrupting training too frequently, because each test consumes computing resources, so the test frequency can be set by the number of iterations. At the same time, the model is tested at the end of each epoch. An epoch means that the model has completely traversed the training set once, which ensures that the model is evaluated only after seeing all the training samples, thereby obtaining more stable performance indicators, so the test frequency can be set by the number of epochs. In some cases, the test frequency can also be time-based, such as testing once every 24 hours or every weekend, so the test frequency can also be set at fixed intervals. In some training strategies, the test frequency may be adjusted dynamically, and the choice of the test frequency depends on multiple factors, including the availability of computing resources, the size of the training set, the complexity of the model, and the urgency of the task. Too high a frequency of testing may interfere with the training process and increase unnecessary computing overhead; too low a frequency may make it impossible to find problems in training in a timely manner, such as overfitting or underfitting. For example, when the learning curve of the model tends to be flat, the test frequency can be reduced to save resources. Therefore, the test frequency can also be an adaptive test frequency. The specific test frequency is determined according to actual needs and is not limited here.
[0103] The present application also provides an application scenario, which applies the above-mentioned electric vehicle charging facility fault diagnosis method. Specifically: The electric vehicle charging facility fault diagnosis method provided in this embodiment can be applied to the electric vehicle charging facility operation scenario. When the electric vehicle charging facility is working, it will charge the electric vehicle with a certain charging mode, charging current, charging voltage and charging power and generate charging messages. When different faults occur in the electric vehicle charging facility, the charging data such as the charging current, charging voltage, charging power and charging message generated are different from those when it is working normally. By training the charging facility fault diagnosis model, the charging data differences under the normal operation and different fault modes of the electric vehicle charging facility are learned, and the charging facility fault diagnosis model is used to diagnose the charging data during the charging process of the electric vehicle charging facility obtained according to a certain frequency and data length, so as to realize fault monitoring and fault diagnosis during the charging process of the electric vehicle charging facility.
[0104] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 2 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer 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 computer device is used to store video tag processing data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer 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 faults in electric vehicle charging facilities is implemented.
[0105] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0106] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0107] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0108] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0109] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0110] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0111] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0112] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0113] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for diagnosing faults in electric vehicle charging facilities, characterized in that: The electric vehicle charging facility fault diagnosis method comprises: Obtain target charging data of target electric vehicle charging facilities; Performing a first preprocessing on the target charging data of the target electric vehicle charging facility; The first preprocessing includes: formatting as required; extracting features from the formatted target charging data and mapping them to sample space points to obtain sample space point data of the target charging data; The data obtained by performing a first preprocessing on the target charging data is input into a charging facility fault diagnosis model to perform fault diagnosis on the electric vehicle charging facility.
2. The electric vehicle charging facility fault diagnosis method according to claim 1, characterized in that: The charging facility fault diagnosis model is trained according to the following training process: Establish a charging circuit fault diagnosis simulation system to simulate the circuit state of the electric vehicle charging facility when it is in different fault modes, obtain the first simulated charging data under each fault mode, and obtain a fault sample set of the electric vehicle charging facility; Performing a first preprocessing on the first simulated charging data in the electric vehicle charging facility fault sample set to obtain sample space point data of the first simulated charging data in each fault mode to form a sample space set of the first simulated charging data; The data obtained by performing a first preprocessing on the first simulated charging data under each fault mode is input into a deep learning network, and after training and testing are completed, the charging facility fault diagnosis model is obtained.
3. The electric vehicle charging facility fault diagnosis method according to claim 2, characterized in that: During the training process of the charging facility fault diagnosis model, the test is performed according to the following process: Applying the same conditions as when generating the electric vehicle charging facility fault sample set by a multi-frequency test method, and then using the charging circuit fault diagnosis simulation system to simulate the fault modes included in the electric vehicle charging facility fault sample set, to obtain second simulated charging data under each fault mode; Performing a first preprocessing on the second simulated charging data under each fault mode to obtain sample space point data of the second simulated charging data under each fault mode to form a sample space set of the second simulated charging data; The data obtained by performing a first preprocessing on the second simulated charging data under each fault mode is input into the trained deep learning network to test its fault diagnosis capability for electric vehicle charging facilities.
4. The electric vehicle charging facility fault diagnosis method according to any one of claims 1 to 3, characterized in that: The first preprocessing further comprises: Perform data compression processing on the sample space point data.
5. The electric vehicle charging facility fault diagnosis method according to claim 2, characterized in that: Performing a first preprocessing on the first simulated charging data in each fault mode further includes: De-redundancy processing is performed on the sample space point data in the sample space set of the first simulated charging data to obtain a feature vector under each fault mode.
6. The electric vehicle charging facility fault diagnosis method according to claim 5, characterized in that: The de-redundancy processing includes: Using the charging circuit fault diagnosis simulation system to simulate the fault modes contained in the electric vehicle charging facility fault sample set again, and obtain third simulated charging data under each fault mode; Formatting, feature extracting and mapping the third simulated charging data under each fault mode to sample space points, obtaining sample space point data of the third simulated charging data under each fault mode, and forming a sample space set of the third simulated charging data; A comparative analysis is performed on the sample space point data corresponding one to one in the sample space sets of the first simulated charging data and the third simulated charging data, and the same features in the corresponding sample space point data of the first simulated charging data and the sample space point data of the third simulated charging data are retained to obtain the feature vectors under each fault mode.
7. The electric vehicle charging facility fault diagnosis method according to claim 5 or 6, characterized in that: Performing a first preprocessing on the first simulated charging data further includes: Data compression is performed on the feature vectors under each fault mode.
8. The electric vehicle charging facility fault diagnosis method according to claim 2, 3, 5 or 6, characterized in that: The deep learning network adopts BP neural network.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the electric vehicle charging facility fault diagnosis method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the electric vehicle charging facility fault diagnosis method described in any one of claims 1-8 are implemented.
Citation Information
Patent Citations
Electronic equipment fault diagnosis system
CN112101431A
Electric vehicle high-power direct current charging equipment fault diagnosis method based on Tri-Training and deep learning
CN114091183A
