Intelligent detection method for optical cable connector box

The sensor collects optical cable splice box data and uses the ridge regression model optimized by the Sparrow search algorithm for intelligent detection, which solves the problem of long time and high cost of the existing optical cable splice box detection method, achieves fast and automated fault detection and early warning, and improves Improve equipment stability and management efficiency.

CN118606904APending Publication Date: 2024-09-06ANSHAN POWER SUPPLY COMPANY OF STATE GRID LIAONING ELECTRIC POWER COMPANY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410565209.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing optical cable splice box detection methods are cumbersome, time-consuming, and require a lot of manual intervention, resulting in high costs and low troubleshooting efficiency in optical fiber networks with large-scale coverage areas, especially under extreme weather conditions.

Method used

Sensors are used to collect temperature and humidity, vibration amplitude, frequency and offset angle data of the optical cable connector box, and intelligent detection is carried out through the ridge regression model optimized based on the Sparrow search algorithm to achieve data preprocessing and fault warning.

Benefits of technology

It realizes rapid and automated detection of optical cable connector boxes, reduces labor costs and detection time, improves equipment stability and troubleshooting efficiency, and reduces the incidence of faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606904A
    Figure CN118606904A
Patent Text Reader

Abstract

The invention relates to an intelligent detection method for an optical cable connector box, and the method comprises the steps: collecting the temperature, humidity, vibration amplitude, frequency and deviation angle of the optical cable connector box through a sensor, carrying out the data preprocessing, and building an intelligent fault detection model for the optical cable connector box based on the SSA optimization ridge regression. The pre-processed data are utilized to train the built network model to obtain an optimal model, the collected real-time data are input into the optimal model to be judged, whether the optical cable connector box breaks down or not is judged, and fault early warning is carried out; by collecting the temperature and humidity, the vibration amplitude and frequency and the deviation angle of the optical cable connector box, operation and maintenance personnel can comprehensively monitor and analyze the optical cable connector box, and optimal optimization is performed on a ridge coefficient by using a sparrow search algorithm, so that an optical cable connector box fault intelligent detection model based on ridge regression is optimized, abnormity of equipment is found in time, and the fault detection efficiency is improved. Therefore, the fault occurrence rate is reduced, and the stability and reliability of the equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power equipment detection, and in particular to an intelligent detection method for an optical cable junction box. Background Art

[0002] At present, communication optical cables are widely used in power systems. Their supporting accessories and connector terminals have become the focus of equipment inspections due to the possibility of failure. Especially in the autumn and winter in northern regions, the freezing of communication optical fibers in the connector boxes causes the operating optical fiber attenuation to increase, resulting in communication failures. In addition, during the strong winds in spring, the connector boxes are at risk of posture deviation and falling, which may also cause communication failures. Traditional optical cable connector box detection methods have cumbersome detection methods, long detection time, and require a lot of manual intervention and operation, which will consume a lot of time and labor costs. Especially in optical fiber networks covering large areas, these problems will be particularly obvious. Therefore, the detection of optical cable connector boxes is an issue that needs to be solved urgently. Summary of the invention

[0003] The present invention provides an intelligent detection method for optical cable junction boxes, which can not only save time and labor costs, but also help operation and maintenance personnel to timely grasp the equipment status, troubleshoot faults, and take corresponding measures, thereby improving the performance and management level of the power system.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] An intelligent detection method for an optical cable splice box comprises the following steps:

[0006] 1) Use sensors to collect temperature, humidity, vibration amplitude, frequency, and offset angle of the optical cable junction box, and perform data preprocessing;

[0007] 2) Build an intelligent detection model for optical cable junction box faults based on sparrow search algorithm SSA optimized ridge regression;

[0008] 3) Use the preprocessed data to train the built network model to obtain the optimal model;

[0009] 4) Input the collected real-time data into the optimal model to determine whether the optical cable junction box is faulty and issue a fault warning.

[0010] Furthermore, the sensors in step 1) include temperature and humidity sensors, vibration sensors and angle sensors.

[0011] Furthermore, the data preprocessing uses a min-max standardization method to perform data normalization processing.

[0012] Furthermore, the step 2) specifically includes the following steps:

[0013] 1) Standard multivariate linear regression: Find the optimal regression coefficient by minimizing the loss function so that the sum of squared residuals between the model's predicted values ​​and the actual observed values ​​is minimized;

[0014] 2) Ridge regression is used as the basic structure to predict the data of optical cable splice box;

[0015] 3) Use the sparrow search algorithm to find the best ridge coefficient;

[0016] 4) The ridge coefficient is brought into the ridge regression model for training to obtain the optimal intelligent detection model for optical cable junction box faults based on ridge regression.

[0017] Furthermore, in step 4), the optical cable junction box is interrupted to determine whether there is a fault, and the temperature and humidity, vibration amplitude, frequency, and offset angle of the optical cable junction box are set to respective corresponding thresholds. When the output value of the optimal model exceeds the corresponding threshold, the optical cable junction box is judged to be abnormal, otherwise it is judged to be normal.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] 1) By collecting the temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable splice box, the operation and maintenance personnel can conduct comprehensive monitoring and analysis of the optical cable splice box;

[0020] 2) The sparrow search algorithm is used to find the best ridge coefficient, thereby optimizing the ridge regression optical cable junction box fault intelligent detection model, timely discovering equipment anomalies, timely troubleshooting, reducing the occurrence of faults, and improving equipment stability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0022] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings:

[0023] See Figure 1 , is a flow chart of the method of the present invention. The present invention provides an intelligent detection method for an optical cable splice box, comprising the following steps:

[0024] 1) Use sensors to collect temperature, humidity, vibration amplitude, frequency, and offset angle of the optical cable junction box, and perform data preprocessing;

[0025] Excessive temperature and humidity inside the optical cable junction box will affect the communication status and service life of the optical cable. In addition, due to the risk of posture deviation and falling of the optical cable junction box in windy weather, it may also cause communication failure. Therefore, the status detection of the optical cable junction box requires the collection of temperature and humidity, vibration amplitude and frequency, and deviation angle data inside the optical cable junction box;

[0026] Because the units of various influencing factors are different, it will have an adverse effect on the final classification results. Therefore, the data needs to be normalized. The min-max normalization method is used to normalize the data. The data is mapped to [0, 1] through the min-max normalization method. The formula is as follows:

[0027]

[0028] in, x * They are the data samples before and after transformation and normalization, x min 、x max are the minimum and maximum values ​​in the collected data samples respectively.

[0029] 2) Building an intelligent detection model for optical cable junction box faults based on sparrow search algorithm SSA optimized ridge regression, which specifically includes the following steps:

[0030] (1) Standard multivariate linear regression: Find the optimal regression coefficient by minimizing the loss function so that the sum of squared residuals between the model's predicted values ​​and the actual observed values ​​is minimized;

[0031] By establishing a linear model, it is possible to predict the value of the dependent variable by giving the value of the independent variable. The mathematical model of the standard multiple linear regression is:

[0032]

[0033] Among them, y is the dependent variable, which is the target variable that you want to predict or explain, and x1 to x m is the temperature and humidity, vibration amplitude and frequency, and offset angle data inside the optical cable junction box, β0, β1,…, β m are all related to x1,x2,…,x m Unrelated unknown parameters, where β0 is the intercept or bias term, which represents the expected value of the dependent variable when all independent variables are zero, β1,β2,…,β m are regression coefficients, which represent the m The influence of the dependent variable y, ε is the error term, and ε obeys the normal distribution N(0,σ 2 ), which means that the error term ε has a mean of 0 and a variance of σ 2 There are random errors in the normal distribution of

[0034] Now we have n independent observation data (y i ,x i1 ,…,x im ),i=1,…,n,n>m, where x im is the value of the mth independent variable at observation data point i, y i represents the value of the dependent variable of the ith observation data, obtained from formula (1):

[0035]

[0036]

[0037] ε=[ε1…ε n ] T ,β=[β0β1…β m ] T

[0038] Formula (1) is expressed as:

[0039] Among them, E n is the n-order identity matrix, and the parameters β0,β1,…,β in formula (1) are m When using the least squares method to estimate, the estimated value should be selected Make When j=0,1,2,…,m, the error sum of squares RSS is:

[0040]

[0041] To achieve the minimum, we need to:

[0042]

[0043] Among them, Q is the error sum of squares RSS:

[0044]

[0045] After sorting, it is transformed into the following normal equations:

[0046]

[0047] The matrix form of the normal equations is:

[0048] X T Xβ=X T Y (9)

[0049] Among them, X is the feature matrix, which contains all the independent variables of the sample data, X Tis the transposed matrix of the feature matrix X, Y is the observation matrix of the sample data dependent variable; β represents the unknown parameter vector in the linear regression model, also known as the regression coefficient vector, which includes all the parameters in the regression model;

[0050] When the feature matrix X has full column rank, X T X is a reversible matrix, and the solution of (8) is:

[0051]

[0052] in, represents the least squares estimate vector of regression coefficients, Substituting back into the original model we get an estimate of y:

[0053]

[0054] in, Represents the estimated value of the dependent variable y, also known as the predicted value of the regression model. is the estimated value of the intercept or bias term of the regression model, which indicates the value of m The estimated expected value of the dependent variable y when all the values ​​of are zero. are the independent variables x1,x2,...,x m The estimated values ​​of the coefficients of , which represent the estimated impact of each independent variable on the dependent variable y;

[0055] (2) Ridge regression is used as the basic structure to predict the data of the optical cable splice box. Ridge regression is used in the matrix X T Adding L2 regularization terms to the diagonal elements of X can reduce the impact of the correlation between features on the coefficient estimation, thereby improving the stability of the model;

[0056] Ridge regression on matrix X T Add a small constant value λ to the diagonal elements of X, and then take its inverse to get the coefficients:

[0057]

[0058] Wherein, matrix X is the independent variable matrix, which represents the vector matrix of all collected data on temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable joint box in the present invention, and I n is the unit matrix, the diagonal is all 1, similar to a "mountain", λ is the ridge coefficient, also known as the L2 regularization parameter, L2 refers to the second norm, and the square of the L2 norm is also often used as a regularization term, that is, L2 regularization. It is the coefficient vector obtained by ridge regression, which represents the coefficient estimate of each independent variable in the ridge regression model. Changing its value can change the value of the diagonal of the unit matrix.

[0059] Then, the cost function J β (β) adds a penalty on the coefficient value based on the error square sum RSS, which becomes:

[0060]

[0061] The matrix form is:

[0062] Among them, β j is the coefficient of the jth feature among the total p features, and λ is the L2 regularization parameter used to control the j The degree of penalty, the larger the value of λ, the simpler the generated model. The ideal value of λ should be obtained through debugging like other hyperparameters, ||β|| 2 is the L2 norm, λ||β|| 2 It is a shrinkage penalty term because it tries to "shrink" the model and reduce the variance of the linear regression model. It is also called the regularized L2 norm.

[0063] As with standard linear regression, the size of the regression coefficient β is also sought to minimize the cost function of ridge regression:

[0064]

[0065] in, It means solving β and finding the β value that minimizes the cost function;

[0066] Will Substituting back into the original model we get an estimate of y:

[0067]

[0068] That is, in the present invention, we predict the fault condition inside the optical cable joint box by inputting the temperature and humidity inside the optical cable joint box, the vibration amplitude and frequency, and the offset angle data of the optical cable joint box, namely X;

[0069] (3) Use the sparrow search algorithm to find the best ridge coefficient;

[0070] The sparrow search algorithm contains three types of sparrow individuals, namely, finders, joiners, and vigilants. The three types correspond to three behaviors. The finder is dominant in the sparrow group, accounting for 10%-20% of the group. It is responsible for finding food for the entire group and providing the direction of food and the area with food. The follower will always monitor the finder. Once the finder finds food, the joiner will immediately follow the finder to grab the food. In addition, sparrows can flexibly switch between finders and predators. Sparrows in the center sometimes approach nearby sparrows to reduce their danger range.

[0071] The sentinel is responsible for monitoring the area around the foraging area. When a predator appears around the foraging area, the sentinel will immediately issue an early warning. If the early warning signal exceeds the warning value, the entire population will move to find the next foraging location under the leadership of the discoverer. The specific steps include the following:

[0072] 3.1 Initialize the population and related parameters, and calculate the fitness value of the initial population;

[0073] 3.2 Update the finder location

[0074]

[0075] Among them, i represents the current iteration number, j represents the dimension of the problem, and the acquired data are five kinds of data: temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable joint box, so the dimension is 5. is the position of the jth dimension of the ith individual in the (t+1)th iteration, is the position of the (j)th dimension of the (i)th individual in the (t)th iteration, Q is the parameter controlling the individual distance, L represents a random number uniformly distributed in the interval ([0,1]), α is the control parameter, i.e., the learning rate, iter max is the maximum number of iterations, R2 is the warning value, ST is the safety value, that is, the threshold. When the warning value R2 < safety value ST, it means that it is safe, and the search range of the discoverer is relatively large; when the warning value R2 ≥ safety value ST, it means that there are a certain number of predators and they need to move to a safe area.

[0076] 3.3 Update the joiner location:

[0077]

[0078] in, is the position of the worst individual in the ((t)th iteration, N is the size of the population, A + is the acceleration factor;

[0079] 3.4 Updated Sentinel position:

[0080]

[0081] is the position of the best individual in the (t)th iteration, f i represents the fitness value of the (i)th individual, f w is the worst fitness value, f g is the global optimal fitness value, ε is a small positive number to avoid division by zero, β is the parameter controlling the position update of the sentinel, and K is the parameter controlling the moving distance of the sentinel;

[0082] 3.5 Determine whether the stopping condition is met. If so, output the optimal sparrow position, otherwise return to step 3.2;

[0083] (4) The ridge coefficient is introduced into the ridge regression model for training to obtain the optimal intelligent detection model for optical cable splice box faults based on ridge regression;

[0084] In ridge regression, the ridge coefficient λ is used to control the complexity of the model to avoid overfitting. The cost function J β (β) adds a penalty on the coefficient value based on the error square sum RSS to penalize the complexity of the model. This penalty will make the model tend to choose a smaller regression coefficient, thereby reducing the model's sensitivity to noise in the data and improving the model's generalization ability. By adjusting the size of λ, the degree of model fitting can be controlled, thereby balancing the model's deviation and variance to obtain better prediction performance. The sparrow search algorithm is used to optimize the ridge coefficient λ, that is, after all iterations in the sparrow search algorithm are completed, Best X best That is the optimal λ ridge coefficient, which is brought into the ridge regression model for training, and the optimal optical cable joint box fault intelligent detection model based on ridge regression is obtained.

[0085] 3) Use the preprocessed data to train the built network model to obtain the optimal model;

[0086] 4) Input the collected real-time data into the optimal model for judgment to determine whether the optical cable junction box is faulty, and set corresponding thresholds for the temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable junction box. When the output value of the optimal model exceeds the corresponding threshold, the optical cable junction box is judged to be abnormal and a fault warning is issued, otherwise it is judged to be normal.

[0087] The above embodiments are implemented based on the technical solution of the present invention, and detailed implementation methods and specific operation processes are given, but the protection scope of the present invention is not limited to the above embodiments. The methods used in the above embodiments are conventional methods unless otherwise specified.

Claims

1. An intelligent detection method for an optical cable splice box, characterized in that: The steps include: 1) Use sensors to collect temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable junction box, and perform data preprocessing; 2) Build an intelligent detection model for optical cable junction box faults based on sparrow search algorithm SSA optimized ridge regression; 3) Use the preprocessed data to train the built network model to obtain the optimal model; 4) Input the collected real-time data into the optimal model to determine whether the optical cable junction box is faulty and issue a fault warning.

2. The optical cable splice box intelligent detection method according to claim 1, characterized in that: The sensors in step 1) include temperature and humidity sensors, vibration sensors and angle sensors.

3. The intelligent detection method for optical cable splice box according to claim 1, characterized in that: The data preprocessing adopts the min-max standardization method to perform data normalization processing.

4. The intelligent detection method for optical cable splice box according to claim 1, characterized in that: The step 2) specifically comprises the following steps: 1) Standard multivariate linear regression: Find the optimal regression coefficient by minimizing the loss function so that the sum of squared residuals between the model's predicted values ​​and the actual observed values ​​is minimized; 2) Ridge regression is used as the basic structure to predict the data of optical cable splice box; 3) Use the sparrow search algorithm to find the best ridge coefficient; 4) The ridge coefficient is brought into the ridge regression model for training to obtain the optimal intelligent detection model for optical cable junction box faults based on ridge regression.

5. The optical cable splice box intelligent detection method according to claim 1, characterized in that: In the step 4), the optical cable junction box is interrupted to determine whether there is a fault, and the temperature and humidity, vibration amplitude and frequency, and offset angle of the optical cable junction box are set to respective corresponding thresholds. When the output value of the optimal model exceeds the corresponding threshold, the optical cable junction box is judged to be abnormal, otherwise it is judged to be normal.