A charging pile fault diagnosis method, computer readable medium and device

Through K-layer characteristic mode decomposition and importance characterization index screening, combined with the tuna swarm optimization kernel extreme learning machine model, the problem of modal aliasing and noise interference after signal decomposition in charging pile fault diagnosis is solved, and a higher level of diagnosis is achieved. Accuracy and immunity to interference.

CN117520803BActive Publication Date: 2024-10-18STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311378586.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2024-10-18
Estimated Expiration
2043-10-23

AI Technical Summary

Technical Problem

Existing charging pile fault diagnosis methods are difficult to effectively screen out the characteristic information related to the fault after signal decomposition. There are problems of modal aliasing and noise interference, resulting in insufficient diagnosis accuracy and anti-interference performance.

Method used

K-layer eigenmodal decomposition combined with importance characterization indicators is used to screen modal components, and the tuna swarm optimization algorithm is used to optimize the kernel parameters and regularization coefficients of the kernel extreme learning machine model to extract effective features of charging pile signals, reduce noise interference, and improve Accuracy of fault diagnosis.

Benefits of technology

By automatically determining the number of decomposition layers and screening modal components, human intervention is reduced, the accuracy and anti-interference of charging pile fault diagnosis are improved, and the classification accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117520803B_ABST
    Figure CN117520803B_ABST
Patent Text Reader

Abstract

The present application provides a charging pile fault diagnosis method, computer-readable medium and device, wherein the method is a charging pile fault diagnosis method based on adaptive feature mode decomposition and kernel extreme learning machine (AFMD‑KELM), including: (1) data acquisition and preparation; (2) signal adaptive decomposition; (3) fault feature screening; (4) charging pile fault diagnosis model construction and training; (5) charging pile fault diagnosis. The present invention can adaptively decompose the collected charging pile sensor signal into multiple feature components, select the important features according to the importance characterization index, extract the effective information in the signal and reduce the interference of noise. The extracted features are classified using the kernel extreme learning machine optimized by tuna school, so as to further improve the accuracy of charging pile fault diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of charging piles, and in particular to a charging pile fault diagnosis method, computer-readable medium and device. Background Art

[0002] As an important way for the transformation and upgrading of the automobile industry, electric vehicles have achieved explosive growth in recent years. Charging piles are essential as the main charging facilities for electric vehicles. However, various faults may occur in charging piles during use, which may cause economic losses and casualties in serious cases. Therefore, it is urgent to monitor the status of charging piles and build an intelligent and efficient charging pile fault diagnosis method, so that when a fault occurs, it can quickly alarm and identify the specific fault type, which is convenient for maintenance personnel to inspect and maintain, and effectively ensure the safety of property and personnel.

[0003] The signal decomposition method is to separate the components of the original signal to obtain regular simple modes for analysis in the time domain and frequency domain. As a classic method of signal decomposition, empirical mode decomposition is widely used in various fields. However, it is prone to problems such as mode aliasing and boundary effects. Therefore, methods such as ensemble empirical mode decomposition, local mean decomposition, and variational mode decomposition have emerged, but these methods also have certain defects. Characteristic mode decomposition (FMD) introduces adaptive decomposition and deconvolution theory, iteratively updates the filter coefficients, and decomposes non-stationary multi-component signals into several signals. It has a good processing effect on nonlinear signals such as the collected charging pile voltage and current signals. However, its parameters need to be pre-set based on experience.

[0004] In previous practice, the modal components obtained after signal decomposition are directly used for classification in the subsequent classifier. However, these contain many irrelevant components and noise interference in the signal. It is necessary to screen the characteristic components through a certain algorithm to obtain a more accurate and differentiated feature database to improve the accuracy and anti-interference ability of charging pile fault diagnosis. Summary of the invention

[0005] The present application provides a charging pile fault diagnosis method, computer-readable medium and device, which have the advantages of decomposing and filtering the charging pile voltage signal, extracting effective information from the signal, training the charging pile fault diagnosis model through the filtered signal and diagnosing the charging pile fault, reducing noise interference and improving the accuracy of charging pile fault diagnosis.

[0006] The technical solution of this application is as follows:

[0007] On the one hand, the present application provides a charging pile fault diagnosis method, comprising the following steps:

[0008] Data acquisition and preparation: Collect voltage signals of charging piles under normal, overcurrent, loss of current, overvoltage, loss of voltage, and overload operation, and divide the collected signals into training sets and test sets;

[0009] Signal adaptive decomposition: Perform K-layer eigenmode decomposition on the signal to obtain K modal components;

[0010] Fault feature screening: Based on the importance characterization index IRI as the standard for selecting modal components, the important components in the signal with a high degree of correlation with the fault information are screened;

[0011] Building and training a charging pile fault diagnosis model: Building a nuclear extreme learning machine model based on tuna swarm optimization, inputting the training set data obtained in the fault feature screening step into the model for training to obtain a trained charging pile fault diagnosis model;

[0012] Charging pile fault diagnosis: The test set data obtained in the fault feature screening step is input into the model to output the predicted charging pile fault type.

[0013] Furthermore, in the data acquisition and preparation step: voltage signals of the charging pile under normal, overcurrent, loss of current, overvoltage, loss of pressure, and overload operation are collected. 60 signals are collected for each charging pile state, and the 360 ​​groups of signals collected are divided into training set and test set according to the ratio of 7:3.

[0014] Furthermore, in the data acquisition and preparation step: each signal can be expressed as x = (x1, x2, ..., x N ), x i Represents the i-th sampling point of the voltage signal x, 1≤i≤N, N is the total number of sampling points of the signal, set to 1000.

[0015] Furthermore, in the signal adaptive decomposition step: K is the optimal decomposition layer number, and the method for determining the optimal decomposition layer number K is:

[0016] First, perform k-layer eigenmode decomposition on the signal, where k = 2, 3, ..., 8. For the k modal components [u1, u2, ..., u k ], calculate its time domain kurtosis value and its envelope spectrum kurtosis value respectively, and calculate the joint kurtosis value according to the following formula:

[0017] γ k =mean(K u,x,k ·K u,e,k )(1)

[0018] Among them, mean represents the mean, K u,x,k is the time domain kurtosis of the kth mode, K u,e,k is the envelope spectrum kurtosis of the kth mode, and its calculation formula is as follows:

[0019]

[0020] in, represents the mean of the kth modal data, σ ik is the standard deviation of the kth modal data; where, represents the mean value of the kth modal data envelope spectrum, σ ek is the standard deviation of the kth modal data envelope spectrum;

[0021] Calculate the γ corresponding to each decomposition level k After that, select γ k The k value corresponding to the maximum is the optimal decomposition layer number K of the signal

[0022] Then, the signal x is subjected to K-layer eigenmode decomposition to obtain K modal components [u1,u2,…,u K ].

[0023] Furthermore, in the fault feature screening step, the importance characterization index IRI is defined as follows:

[0024] IRI=D e +D c (3)

[0025] Among them, D e represents the normalized Euclidean distance between two modal components, D c Represents the normalized cosine distance between two modal components, and its value is calculated according to the following steps:

[0026] Assume that any two modal components obtained after decomposition are IMFs p (t) = [x p1 ,x p2 ,…,x pN ] and IMF′ p (t) = [x′ p1 ,x′ p2 ,…,x′ pN ], where p∈[1,K], then the distance-based similarity measure d e for:

[0027]

[0028] Normalized to get the similarity index D e for:

[0029]

[0030] The similarity measure d is calculated based on the angle between the two modal components. c for:

[0031]

[0032] Normalized similarity index D c for:

[0033]

[0034] Calculate the K modal components [u1,u2,…,u K ], and obtain the importance measurement matrix:

[0035]

[0036] The data of each row in the matrix are added and sorted. The sum of each row of data represents the importance of a modal component. The top three modal components are selected. IRI1 ,u IRI2 ,u IRI3 ] as the output of this step.

[0037] Furthermore, in the charging pile fault diagnosis model construction and training steps, the kernel matrix and output equation of the kernel extreme learning machine model are as follows:

[0038]

[0039] Among them, H is the output matrix of the hidden layer neurons, C is the regularization coefficient, I is the unit matrix, T is the data label value, K(x N ,x N ) represents the value of x N With x N The kernel function is Gaussian radial basis kernel function, and the expression is as follows:

[0040]

[0041] There are two important parameters in the kernel extreme learning machine: the regularization coefficient C and the kernel parameter gamma, which have a great influence on the classification results. The tuna swarm optimization algorithm is used to optimize these two parameters. The optimization steps are as follows:

[0042] First, the initial tuna group is randomly and uniformly generated in the preset parameter search space, and the regularization coefficient C and the kernel parameter gamma in the kernel extreme learning machine are used as the initial position, as shown in the following formula:

[0043]

[0044] in, is the i-th initial tuna individual, specifically ub and lb are the upper and lower boundaries of the search space, NP is the number of tuna populations, and rand is a uniformly distributed random vector in the range of (0,1);

[0045] Then set the parameters a and z, where a is a constant that determines the degree to which the tuna follows the best individual and the previous individual when the population is initialized; z is the probability that a certain tuna individual will regenerate the initial position;

[0046] Define the fitness function as the classification accuracy of the kernel extreme learning machine and calculate the fitness function value at the initial position of the tuna school as follows:

[0047]

[0048] If rand<z, regenerate the individual positions of the tuna school according to equation (11).

[0049] If rand ≥ z and rand < 0.5 and t / t max <rand, then update the individual positions of the tuna group according to the following formula:

[0050]

[0051] If rand ≥ z and rand < 0.5 and t / t max ≥rand, the individual positions of the tuna group are updated according to the following formula:

[0052]

[0053] in, β=e bl ·cos(2πb), is the i-th tuna individual in the t+1-th iteration; is the current best individual, which is where the food is located; α1 and α2 are weight coefficients that control the individual's tendency to move toward the best individual and the previous individual; t represents the current number of iterations; t max represents the maximum number of iterations of the algorithm; b is a random number uniformly distributed between (0,1);

[0054] If rand ≥ z and rand ≥ 0.5, the individual positions of the tuna group are updated according to the following formula:

[0055]

[0056] in, TF is a random number with a value of 1 or -1;

[0057] Each iteration determines whether the fitness function value of the current parameter position is higher than the fitness function value of the position before the update. If so, update the optimal solution position; repeat the above process until the maximum number of iterations t is reached max , record the value of the kernel parameter gamma and the regularization coefficient C at the optimal solution and the fitness function value at this time;

[0058] The obtained optimal solution of parameters is used to train the kernel extreme learning machine model with the feature vector obtained in the fault feature screening step to obtain a trained charging pile fault diagnosis model.

[0059] On the other hand, the present application provides a computer-readable medium, which stores a computer program. When the computer program is called by a computer, it executes the charging pile fault diagnosis method described in the above solution.

[0060] On the other hand, the present application provides a device, characterized in that it includes a memory and a processor, the memory stores a computer program, and when the computer program is called by the processor, it executes the charging pile fault diagnosis method described in the above scheme.

[0061] In summary, the beneficial effects of this application are:

[0062] 1. In view of the problem that the number of decomposition layers of the signal needs to be pre-set when it undergoes characteristic mode decomposition, the joint kurtosis index is used to automatically determine the number of decomposition layers, reducing human intervention and expert experience, while extracting effective features from the charging pile signal;

[0063] 2. In order to solve the problem that the modal components obtained by signal decomposition still contain modal parts with less correlation with the signal, the importance characterization index is used to further screen the modal components obtained by decomposition, mine more accurate feature data sets related to faults, remove redundant information, and improve the accuracy of charging pile fault classification;

[0064] 3. In view of the problem that it is difficult to simultaneously ensure the optimality of the kernel parameters and regularization coefficients in the kernel extreme learning machine, the tuna swarm optimization algorithm is used to optimize it and improve the accuracy of charging pile fault classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a flow chart of the charging pile fault diagnosis method in this application;

[0066] Figure 2 This is a diagram of the tuna swarm optimization kernel extreme learning machine process in this application. DETAILED DESCRIPTION

[0067] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.

[0068] Example: Reference Figure 1 The present application embodiment provides a charging pile fault diagnosis method, which is a charging pile fault diagnosis method based on adaptive feature mode decomposition and kernel extreme learning machine (AFMD-KELM), and includes the following steps:

[0069] Step (1): Data acquisition and preparation

[0070] A charging pile data acquisition and fault simulation system was built, and voltage sensors were used to collect voltage signals of charging piles in normal, overcurrent, loss of current, overvoltage, loss of voltage, and overload operation. The sensor acquisition frequency was 10Hz. 60 signals were collected for each charging pile state, and each signal can be expressed as x=(x1,x2,…,x N ), x i It represents the i-th sampling point of the voltage signal x, 1≤i≤N, N is the total number of sampling points of the signal, which is set to 1000. The 360 ​​sets of signals collected are divided into training sets and test sets in a ratio of 7:3 for subsequent charging pile fault diagnosis model training and evaluation.

[0071] Step (2) Signal adaptive decomposition

[0072] Signal adaptive decomposition is to determine the optimal eigenmode decomposition layer K according to the joint kurtosis index. First, the signal is decomposed into k layers of eigenmodes. Where k = 2, 3, ..., 8. For the k modal components [u1, u2, ..., u k ], calculate its time domain kurtosis value and its envelope spectrum kurtosis value respectively, and calculate the joint kurtosis value according to the following formula.

[0073] γ k =mean(K u,x,k ·K u,e,k )(1)

[0074] Among them, mean represents the mean, K u,x,k is the time domain kurtosis of the kth mode, K u,e,k is the envelope spectrum kurtosis of the kth mode, and its calculation formula is as follows:

[0075]

[0076] in, represents the mean of the kth modal data, σ ik is the standard deviation of the kth modal data; where, represents the mean value of the kth modal data envelope spectrum, σ ek is the standard deviation of the kth modal data envelope spectrum;

[0077] When a charging pile fails, its voltage signal will inevitably have an impact component, the kurtosis value will increase significantly, and the voltage impact amplitude under different faults is different. When the charging pile works normally, its voltage signal is a stable signal with a small amplitude change. The time domain kurtosis of the signal is sensitive to the pulse of the fault, and the kurtosis of the envelope spectrum can focus on the periodic changes of the impact. The joint kurtosis constructed by the two can determine the optimal decomposition layer number K, so as to maximize the extraction of fault information. Therefore, after obtaining the γ corresponding to each decomposition layer number, k After that, select γ k The k value corresponding to the maximum is the optimal decomposition modal layer number K of the signal.

[0078] Then, the signal x is subjected to K-layer eigenmode decomposition to obtain K modal components [u1,u2,…,u K ].

[0079] Step (3): Fault feature screening

[0080] The K modal components [u1,u2,…,u K ], which contains many components and interference items that are irrelevant to the charging pile fault. The importance characterization index IRI is used as the standard for selecting modal components to screen important components with a high degree of correlation with fault information. The importance characterization index IRI is defined as follows:

[0081] IRI=D e +D c (3)

[0082] Among them, D e represents the normalized Euclidean distance between two modal components, D c Represents the normalized cosine distance between two modal components, and its value is calculated according to the following steps:

[0083] Assume that any two modal components obtained after decomposition are IMFs p (t) = [x p1 ,x p2 ,...,x pN ] and IMF′ p (t) = [x′ p1 ,x′ p2 ,…,x′ pN ], where p∈[1,K]. Then the distance-based similarity measure d e for:

[0084]

[0085] Normalized to get the similarity index D e for:

[0086]

[0087] The similarity measure d is calculated based on the angle between the two modal components. c for:

[0088]

[0089] Normalized similarity index D c for:

[0090]

[0091] Calculate the K modal components [u1,u2,…,u K ], and obtain the importance measurement matrix:

[0092]

[0093] The data of each row in the matrix are added and sorted. The sum of each row of data represents the importance of a modal component. The top three modal components are selected. IRI1 ,u IRI2 ,u IRI3 ] is taken as the output of this step and is input into the subsequent classifier model as the charging pile fault feature vector for training and evaluation.

[0094] Step (4): Building and training the charging pile fault diagnosis model

[0095] Build a kernel extreme learning machine model based on tuna swarm optimization. The specific optimization process is as follows: Figure 2 As shown. The important modal components of each charging pile operating state extracted in step (3) are input into the model for training.

[0096] The kernel extreme learning machine (KELM) is based on the extreme learning machine. It uses the kernel function to replace the feature map of the hidden layer in the extreme learning machine. By mapping the input vector into a high-dimensional kernel space, more efficient and accurate classification is achieved. The kernel matrix and output equation of the kernel extreme learning machine are as follows:

[0097]

[0098] Among them, H is the output matrix of the hidden layer neurons, C is the regularization coefficient, I is the unit matrix, T is the data label value, K(x N ,x N ) represents the value of x N With x N The kernel function is selected as the Gaussian radial basis kernel function, and the expression is as follows:

[0099]

[0100] There are two important parameters in the kernel extreme learning machine: the regularization coefficient C and the kernel parameter gamma, which have a great influence on the classification results. Tuna schools have two optimization processes: spiral foraging and parabolic foraging, which can converge quickly in a short time. The tuna school optimization algorithm is used to optimize these two parameters. The optimization steps are as follows:

[0101] First, the initial tuna group is randomly and uniformly generated in the preset parameter search space, and the regularization coefficient C and the kernel parameter gamma in the kernel extreme learning machine are used as the initial position, as shown in the following formula:

[0102]

[0103] in, is the i-th initial tuna individual, specifically ub and lb are the upper and lower boundaries of the search space, NP is the number of tuna populations, and rand is a uniformly distributed random vector in the range of (0,1).

[0104] Then the parameters a and z are set, where a is a constant that determines the extent to which the tuna follows the best individual and the previous individual when the population is initialized; z is the probability that a certain tuna individual will regenerate the initial position.

[0105] Define the fitness function as the classification accuracy of the kernel extreme learning machine and calculate the fitness function value at the initial position of the tuna school as follows:

[0106]

[0107] If rand<z, regenerate the individual positions of the tuna school according to equation (11).

[0108] If rand ≥ z and rand < 0.5 and t / t max <rand, then update the individual positions of the tuna group according to the following formula:

[0109]

[0110] If rand ≥ z and rand < 0.5 and t / t max ≥rand, the individual positions of the tuna group are updated according to the following formula:

[0111]

[0112] in, β=e bl ·cos(2πb), is the i-th tuna individual in the t+1-th iteration; is the current best individual, which is where the food is located; α1 and α2 are weight coefficients that control the individual's tendency to move toward the best individual and the previous individual; t represents the current number of iterations; t max represents the maximum number of iterations of the algorithm; b is a random number uniformly distributed between (0,1).

[0113] If rand ≥ z and rand ≥ 0.5, the individual positions of the tuna group are updated according to the following formula:

[0114]

[0115] in, TF is a random number with a value of 1 or -1.

[0116] Each iteration determines whether the fitness function value of the current parameter position is higher than the fitness function value of the position before the update. If so, the optimal solution position is updated. Repeat the above process until the maximum number of iterations t is reached. max , record the value of the kernel parameter gamma and the regularization coefficient C at the optimal solution and the value of the fitness function at this time.

[0117] The obtained optimal solution of parameters is used to train the kernel extreme learning machine model with the feature vector obtained in step (3) to obtain a trained charging pile fault diagnosis model.

[0118] Step (5): Charging pile fault diagnosis

[0119] After completing the training of the charging pile fault diagnosis model based on the nuclear extreme learning machine optimized by tuna swarm, the data extraction features of the test set are input into the model to output the predicted charging pile fault type.

[0120] An embodiment of the present application further provides a computer-readable medium, wherein the computer-readable medium stores a computer program, and when the computer program is called by a computer, the charging pile fault diagnosis method as described in the above scheme is executed.

[0121] An embodiment of the present application also provides a device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is called by the processor, the charging pile fault diagnosis method as described in the above scheme is executed.

[0122] The above is only a preferred implementation of the present application. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the inventive concept of the present application, and these all fall within the scope of protection of the present application.

Claims

1. A charging pile fault diagnosis method, characterized in that: The steps include: Data acquisition and preparation: Collect voltage signals of charging piles under normal, overcurrent, loss of current, overvoltage, loss of voltage, and overload operation, and divide the collected signals into training sets and test sets; Signal adaptive decomposition: Perform K-layer eigenmode decomposition on the signal to obtain K modal components; Fault feature screening: Based on the importance characterization index IRI as the standard for selecting modal components, the important components in the signal with a high degree of correlation with the fault information are screened; Building and training a charging pile fault diagnosis model: Building a nuclear extreme learning machine model based on tuna swarm optimization, inputting the training set data obtained in the fault feature screening step into the model for training to obtain a trained charging pile fault diagnosis model; Charging pile fault diagnosis: input the test set data obtained in the fault feature screening step into the model to output the predicted charging pile fault type; In the signal adaptive decomposition step: K is the optimal decomposition layer number, and the method for determining the optimal decomposition layer number K is: First, perform k-layer eigenmode decomposition on the signal, where k = 2, 3, ..., 8. For the k modal components [u1, u2, ..., u k ], calculate its time domain kurtosis value and its envelope spectrum kurtosis value respectively, and calculate the joint kurtosis value according to the following formula: γ k =mean(K u,x,k ·K u,e,k )(1) Among them, mean represents the mean, K u,x,k is the time domain kurtosis of the kth mode, K u,e,k is the envelope spectrum kurtosis of the kth mode, and its calculation formula is as follows: in, represents the mean of the kth modal data, σ ik is the standard deviation of the kth modal data; where, represents the mean value of the kth modal data envelope spectrum, σ ek is the standard deviation of the kth modal data envelope spectrum; Calculate the γ corresponding to each decomposition level k After that, select γ k The k value corresponding to the maximum is the optimal decomposition layer number K of the signal; Then, the signal x is subjected to K-layer eigenmode decomposition to obtain K modal components [u1,u2,…,u K ]; In the fault feature screening step, the importance characterization index IRI is defined as follows: <h2 style=";text-align:left;direction:ltr">IRI=D<h2 style=";text-align:left;direction:ltr"> e <h2 style=";text-align:left;direction:ltr"> +D<h2 style=";text-align:left;direction:ltr"> c <h2 style=";text-align:left;direction:ltr"> (3) Among them, D e represents the normalized Euclidean distance between two modal components, D c Represents the normalized cosine distance between two modal components, and its value is calculated according to the following steps: Assume that any two modal components obtained after decomposition are IMFs p (t) = [x p1 ,x p2 ,…,x pN ] and IMF′ p (t) = [x′ p1 ,x′ p2 ,…,x′ pN ], where p∈[1,K], then the distance-based similarity measure d e for: Normalized to get the similarity index D e for: The similarity measure d is calculated based on the angle between the two modal components. c for: Normalized similarity index D c for: Calculate the K modal components [u1,u2,...,u K ], and obtain the importance measurement matrix: The data of each row in the matrix are added and sorted. The sum of each row of data represents the importance of a modal component. The top three modal components are selected. IRI1 ,u IRI2 ,u IRI3 ] as the output of this step; In the charging pile fault diagnosis model construction and training steps, the kernel matrix and output equation of the kernel extreme learning machine model are as follows: Among them, H is the output matrix of the hidden layer neurons, C is the regularization coefficient, I is the unit matrix, T is the data label value, K(x N ,x N ) represents the value of x N With x N The kernel function is Gaussian radial basis kernel function, and the expression is as follows: There are two important parameters in the kernel extreme learning machine: the regularization coefficient C and the kernel parameter gamma, which have a great influence on the classification results. The tuna swarm optimization algorithm is used to optimize these two parameters. The optimization steps are as follows: First, the initial tuna group is randomly and uniformly generated in the preset parameter search space, and the regularization coefficient C and the kernel parameter gamma in the kernel extreme learning machine are used as the initial position, as shown in the following formula: in, is the i-th initial tuna individual, specifically ub and lb are the upper and lower boundaries of the search space, NP is the number of tuna populations, and rand is a uniformly distributed random vector in the range of (0,1); Then set the parameters a and z, where a is a constant that determines the degree to which the tuna follows the best individual and the previous individual when the population is initialized; z is the probability that a certain tuna individual will regenerate the initial position; Define the fitness function as the classification accuracy of the kernel extreme learning machine and calculate the fitness function value at the initial position of the tuna school as follows: If rand < z, regenerate the individual positions of the tuna school according to formula (11); If rand ≥ z and rand < 0.5 and t / t max <rand, then update the individual positions of the tuna group according to the following formula: If rand ≥ z and rand < 0.5 and t / t max ≥rand, the individual positions of the tuna group are updated according to the following formula: in, β=e bl ·cos(2πb), is the i-th tuna individual in the t+1-th iteration; is the current best individual, which is where the food is located; α1 and α2 are weight coefficients that control the individual's tendency to move toward the best individual and the previous individual; t represents the current number of iterations; t max represents the maximum number of iterations of the algorithm; b is a random number uniformly distributed between (0,1); If rand ≥ z and rand ≥ 0.5, the individual positions of the tuna group are updated according to the following formula: in, TF is a random number with a value of 1 or -1; Each iteration determines whether the fitness function value of the current parameter position is higher than the fitness function value of the position before the update. If so, update the optimal solution position; repeat the above process until the maximum number of iterations t is reached max , record the value of the kernel parameter gamma and the regularization coefficient C at the optimal solution and the fitness function value at this time; The obtained optimal solution of parameters is used to train the kernel extreme learning machine model with the feature vector obtained in the fault feature screening step to obtain a trained charging pile fault diagnosis model.

2. The charging pile fault diagnosis method according to claim 1, characterized in that: In the data acquisition and preparation steps: voltage signals of the charging pile under normal, overcurrent, loss of current, overvoltage, loss of pressure, and overload operation are collected. 60 signals are collected for each charging pile state. The 360 ​​sets of signals collected are divided into training set and test set according to the ratio of 7:

3.

3. The charging pile fault diagnosis method according to claim 2, characterized in that: In the data acquisition and preparation step: each signal can be expressed as x = (x1, x2, ..., x N ), x i Represents the i-th sampling point of the voltage signal x, 1≤i≤N, N is the total number of sampling points of the signal, set to 1000.

4. A computer-readable medium, characterized in that The computer-readable medium stores a computer program, and when the computer program is called by a computer, the charging pile fault diagnosis method according to any one of claims 1 to 3 is executed.

5. A device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the computer program is called by the processor, the charging pile fault diagnosis method according to any one of claims 1 to 3 is executed.

Citation Information

Patent Citations

  • Rolling bearing fault diagnosis method and system, computer equipment and storage medium

    CN115876476A

  • Wind turbine generator fault diagnosis method and system based on WOA-KELM algorithm

    CN116738308A

  • Electric vehicle charging pile equipment fault diagnosis method

    CN116842463A

  • Energy storage battery fault diagnosis method based on whale optimized kernel extreme learning machine

    CN117388709A