Laser power supply component performance detection method and system
By sampling and processing performance indicators, environment and state of charge data in laser power dynamic power test, using LOF algorithm and BP neural network model, the problem that existing testing methods fail to effectively consider external factors is solved, and the measurement results are improved. accuracy.
Patent Information
- Application Number
- CN202411561878.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-05
AI Technical Summary
The existing laser power dynamic power testing methods fail to effectively consider external influencing factors, such as environmental interference and battery status, resulting in a deviation between the measurement results and the real situation.
By connecting the power to be detected to the dimmer and power meter, the brightness of the dimmer is dynamically adjusted, and the performance index parameters, dimmer brightness values, environmental parameters and state of charge values are sampled. The LOF algorithm is used to filter and remove abnormal data, perform normalization processing, and a BP neural network model is built for training to obtain the predicted values of performance indicator parameters and calculate the correction coefficient.
By considering external factors such as environmental interference and battery status, the measurement results are corrected to reduce the deviation between the measurement results and the real situation, improve the accuracy of the measurement results, and truly reflect the dynamic power performance of the detected laser power supply.
Smart Images

Figure CN119064820B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser power supply detection, and in particular to a method and system for detecting performance of a laser power supply component. Background Art
[0002] Laser power supply is a device that can convert electrical energy into light energy. It is widely used in laser communication, laser display, laser cutting, laser welding and other fields. In order to ensure the performance and reliability of laser power supply, a series of performance tests including static power test, dynamic power test, efficiency test, stability test, noise test, etc. are required.
[0003] Among them, dynamic power test is a method to evaluate the dynamic power performance of laser power supply. At present, dimmer is usually used for measurement. During the test, the laser power supply is connected to the dimmer and power meter, the brightness of the dimmer is dynamically adjusted, and the brightness reading and power meter reading are recorded. The rated power, actual power, efficiency and other performance indicators of the power supply are evaluated based on the obtained brightness and power values.
[0004] However, the existing test methods do not take into account the influence of external factors, such as environmental interference and battery status, on the measurement process, resulting in a deviation between the measurement results and the actual situation, and cannot truly reflect the dynamic power performance of the laser power supply being tested. To this end, we propose a laser power supply component performance detection method and system. Summary of the invention
[0005] The main purpose of the present invention is to provide a method and system for detecting the performance of a laser power supply assembly, which can effectively solve the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] A method for detecting performance of a laser power supply assembly, comprising:
[0008] Connect the power supply to be tested to the dimmer and power meter, dynamically adjust the brightness of the dimmer, and set the power supply to be tested from the upper limit of the state of charge SOC max Continue to discharge to the lower limit of charge state SOC min The performance index parameters and the brightness value, environmental parameters and state of charge value of the dimmer during the process are sampled, wherein the performance index parameters include rated power, actual power and conversion efficiency; the environmental parameters include the operating temperature of the power supply to be tested and the humidity of the environment; the upper limit SOC of the state of charge max The value range is [0.8,0.9], and the lower limit of the state of charge SOC min The value range of is [0.15,0.2];
[0009] The LOF algorithm is used to calculate the local outlier factor in the performance indicator parameter, and the j-th sampling value x of the i-th performance indicator is calculated using the obtained local outlier factor. ij Whether it is abnormal data is determined, and abnormal data in the performance indicator parameter sampling values is screened and removed. The determination process includes the following steps:
[0010] Calculate the sample value x respectively ij With the rest of the sample values x iq The distance between i(j-q) , the calculation formula is: Among them, j, q∈N, and q≠j, N is the total amount of sampled data;
[0011] The distance value D i(j-q) Sort by small to large, let x ij The closest k-th element is x ip , p∈N, and p≠j, get the sample value x ij With the sample value x ip The kth distance value d k (x ij ),in,
[0012] According to the kth distance value d k (x ij ) Determine the sampling value x ij The kth distance neighborhood N k (x ij );
[0013] Get the sample value x ij The kth reachable distance of k (x ij , x ip )=max[d k (x ij ),d(x ij ,x ip )],d k (x ij , x ip ) is the sampling value x ij The kth reachable distance; max[d k (x ij ),d(x ij ,x ip )] is to take d k (x ij )、d(x ij ,x ip ) in the maximum value operation; d(x ij , x ip ) is the sampling value x ij With the kth distance neighbor Nk (x ij ) is a set of distance values between all elements in ;
[0014] Get the sample value x ij The local reachable density is defined as:
[0015]
[0016] Calculate the sampling value x based on the local reachable density obtained ij The local outlier factor is calculated as:
[0017]
[0018] Where LOF k (x ij ) is the sampling value x ij The local outlier factor of k (x ip ) is the sampling value x ip The local reachable density of
[0019] Use the local outlier factor obtained to analyze the sample value x ij The abnormal situation is judged according to the following principles:
[0020] When LOF k (x ij )>1, indicating the sampling value x ij It may be abnormal data, and when LOF k (x ij )The larger the value, the greater the possibility of data anomaly;
[0021] When LOF k (x ij ) is close to 1, indicating that the sample value x ij It may belong to the same cluster as the neighboring points and is normal data;
[0022] When LOF k (x ij )<1, indicating the sampling value x ij are dense data points;
[0023] The screened performance index parameters, dimmer brightness value, environmental parameters, and state of charge value are normalized to the interval [0, 1], and the normalization formula is:
[0024]
[0025] In the formula, x' represents the data value after normalization; x represents the data value before normalization; x max 、xmin They are respectively represented as the maximum and minimum values of the data before normalization. The dimmer brightness value, environmental parameters, and charge state sampling values after normalization are used as input data, and the corresponding performance index parameter sampling values after normalization are used as output data. A BP neural network model is constructed, and the established neural network model is trained. The target error and maximum number of cycles of the network model are set. The number of hidden layers of the model is adjusted according to the error of the training result until the prediction accuracy is not lower than the expected value. The neural network model for predicting the performance index parameters is obtained. The calculation formula for the expected value of the prediction accuracy is,
[0026]
[0027] Among them, E(Y) represents the expected value of prediction accuracy; Q represents the input sample size of the neural network; f(X k ) is represented as the output function of the neural network; X k Represented as the kth output sample of the neural network;
[0028] The constructed neural network model is used to obtain the predicted values of the power supply performance index parameters to be tested, and the correction coefficient k of each performance index parameter is calculated based on the obtained predicted values. i , the calculation formula is: In the formula, Q represents the input sample size of the neural network; x' ij It is expressed as the predicted value of the performance index parameter obtained by the neural network model, and the correction coefficient k i Correct the sampled values of the performance indicator parameters to obtain the corrected values of each performance indicator parameter. The calculation formula is:
[0029] A laser power supply component performance detection system includes a dimmer, a power meter, a dynamic adjustment module, an environmental parameter acquisition module, a charge state acquisition module, a data processing module, a neural network construction module, and a data correction module;
[0030] The dimmer is connected to the power supply to be detected, and is used to obtain the state of charge upper limit SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The dimmer brightness sampling value during the process;
[0031] The power meter is connected to the power supply to be detected, and is used to obtain the state of charge upper limit SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The process includes sampling values of performance index parameters such as rated power, actual power, and conversion efficiency;
[0032] The dynamic adjustment module is used to adjust the state of charge SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min During the process, the brightness value of the dimmer is dynamically adjusted;
[0033] The environmental parameter acquisition module is used to obtain the upper limit SOC of the state of charge of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The process includes sampling values of environmental parameters such as the operating temperature of the power supply to be tested and the humidity of the environment in which it is located;
[0034] The state of charge acquisition module is used to acquire a sample value of the state of charge of the power supply to be detected;
[0035] The data processing module is used to calculate the local outlier factor in the performance indicator parameter using the LOF algorithm, and use the obtained local outlier factor to calculate the jth sampling value x of the i-th performance indicator. ij Determine whether it is abnormal data, filter and remove abnormal data in the performance indicator parameter sampling values;
[0036] The neural network construction module is used to construct a BP neural network model with the normalized dimmer brightness value, environmental parameters, and charge state sampling values as input data, and the corresponding normalized performance index parameter sampling values as output data, and train the established neural network model, set the target error and maximum number of cycles of the network model, and adjust the number of hidden layers of the model according to the error of the training result until the prediction accuracy is not lower than the expected value, so as to obtain a neural network model for predicting the performance index parameter;
[0037] The data correction module is used to obtain the predicted value of the power performance index parameter to be detected by using the constructed neural network model, and calculate the correction coefficient k of each performance index parameter according to the obtained predicted value. i , the calculation formula is: In the formula, Q represents the input sample size of the neural network; x' ij It is expressed as the predicted value of the performance index parameter obtained by the neural network model, and the correction coefficient k i Correct the sampled values of the performance indicator parameters to obtain the corrected values of each performance indicator parameter. The calculation formula is:
[0038] The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0039] The present invention has the following beneficial effects:
[0040] Compared with the prior art, the power supply to be detected is set to the upper limit of the state of charge SOC max Continue to discharge to the lower limit of charge state SOC min The performance index parameters and the brightness value, environmental parameters, and state of charge value of the dimmer in the process are sampled, and the abnormal data in the performance index parameter sampling values are screened and eliminated for normalization. The normalized dimmer brightness value, environmental parameters, and state of charge sampling values are used as input data, and the corresponding normalized performance index parameter sampling values are used as output data. A BP neural network model is constructed and trained. The constructed neural network model is used to obtain the predicted values of the performance index parameters of the power supply to be detected, and the correction coefficient k of each performance index parameter is calculated based on the obtained predicted values. i , through the correction factor k i The sampling values of the performance indicator parameters are corrected to obtain the corrected values of various performance indicator parameters. This scheme fully considers the influence of external factors such as environmental interference and battery status on the dynamic power performance measurement process of the laser power supply. By correcting the measurement results, the deviation between the measurement results and the actual situation can be reduced, and the accuracy of the measurement results can be improved, thereby truly reflecting the dynamic power performance of the laser power supply being tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flow chart of a method for detecting performance of a laser power supply assembly according to the present invention;
[0042] Figure 2 This is a structural block diagram of a laser power supply component performance detection system of the present invention;
[0043] Figure 3 This is a structural diagram of the neural network constructed in the solution of the present invention. DETAILED DESCRIPTION
[0044] The present invention will be further described below in conjunction with specific implementation methods, wherein the accompanying drawings are only used for exemplary descriptions and represent only schematic diagrams rather than actual drawings, and should not be understood as limiting the present invention. In order to better illustrate the specific implementation methods of the present invention, some parts of the accompanying drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product.
[0045] The specific implementation process of the technical solution of the present invention includes the following steps:
[0046] Step 1: Connect the power supply to be tested to the dimmer and power meter, dynamically adjust the brightness of the dimmer, and adjust the power supply to be tested from the upper limit of the state of charge SOC max Continue to discharge to the lower limit of charge state SOC min The performance index parameters of the process and the brightness value, environmental parameters and charge state value of the dimmer are sampled;
[0047] Among them, the performance index parameters include rated power, actual power, and conversion efficiency; the environmental parameters include the operating temperature of the power supply to be tested and the humidity of the environment; the upper limit of the state of charge SOC max The value range is [0.8,0.9], and the lower limit of the state of charge SOC min The value range of is [0.15,0.2];
[0048] The specific steps for using a power meter to measure the rated power, actual power, and efficiency of a power supply are as follows:
[0049] Check whether the power meter is intact and ensure that there is no damage, corrosion, looseness, etc. Ensure that the power supply voltage is stable and the power cord is firmly connected. Avoid installing the power meter in an environment affected by vibration, moisture and high temperature to ensure stable operation of the equipment;
[0050] According to the characteristics of the circuit and the requirements of the power meter, select the appropriate connection method, such as series or parallel connection, and correctly connect the circuit to be tested to the input terminal of the power meter to ensure that the connection is firm and the contact is good;
[0051] Before using the power meter, it must be calibrated to ensure accuracy and set measurement parameters such as power range, sampling rate, display format, etc. according to actual needs;
[0052] Stabilize circuit operation, avoid interference and fluctuations, and select measurement functions;
[0053] Read the measurement results and pay attention to whether the display is stable to avoid measurement errors caused by jitter or instability;
[0054] Record the monitored data and calculate the rated power and actual power of the power supply, as well as the efficiency.
[0055] The formula for calculating power efficiency is: η=P out / P in × 100%, where P out is the output power of the power supply, P in It is the input power of the power supply. During the measurement process, the output voltage and current can be directly measured using a power meter to obtain the output power, while the input voltage and current can be measured to obtain the input power.
[0056] Step 2: Use the LOF algorithm to calculate the local outlier factor in the performance indicator parameters, and use the obtained local outlier factor to calculate the jth sampling value x of the i-th performance indicator. ij Whether it is abnormal data is determined, and abnormal data in the performance indicator parameter sampling values is screened and removed. The determination process includes the following steps:
[0057] Step 21: Calculate the sample values x respectively ijWith the rest of the sample values x iq The distance between i(j-q) , the calculation formula is: Among them, j, q∈N, and q≠j, N is the total amount of sampled data;
[0058] Step 22: Get the distance value D i(j-q) Sort by small to large, let x ij The closest k-th element is x ip , p∈N, and p≠j, get the sample value x ij With the sample value x ip The kth distance value d k (x ij ),in,
[0059] Step 23: According to the kth distance value d k (x ij ) Determine the sampling value x ij The kth distance neighborhood N k (x ij );
[0060] Step 24: Get the sample value x ij The kth reachable distance of k (x ij , x ip )=max[d k (x ij ),d(x ij ,x ip )],d k (x ij , x ip ) is the sampling value x ij The kth reachable distance; max[d k (x ij ),d(x ij ,x ip )] is to take d k (x ij )、d(x ij ,x ip ) in the maximum value operation; d(x ij , x ip ) is the sampling value x ij With the kth distance neighbor N k (x ij ) is a set of distance values between all elements in ;
[0061] Step 25: Get the sample value x ij The local reachable density is defined as:
[0062]
[0063] Step 26: Calculate the sampling value x based on the obtained local reachability density ij The local outlier factor is calculated as:
[0064]
[0065] Where LOF k (x ij ) is the sampling value x ij The local outlier factor of k (x ip ) is the sampling value x ip The local reachable density of
[0066] Step 27: Use the obtained local outlier factor to analyze the sample value x ij The abnormal situation is judged according to the following principles:
[0067] When LOF k (x ij )>1, indicating the sampling value x ij It may be abnormal data, and when LOF k (x ij )The larger the value, the greater the possibility of data anomaly;
[0068] When LOF k (x ij ) is close to 1, indicating that the sample value x ij It may belong to the same cluster as the neighboring points and is normal data;
[0069] When LOF k (x ij )<1, indicating the sampling value x ij are dense data points;
[0070] Step 3: Normalize the selected performance index parameters and dimmer brightness value, environmental parameters, and state of charge value to the [0, 1] interval. The normalization formula is:
[0071]
[0072] In the formula, x' represents the value after normalization; x represents the data value before normalization; x max 、x minThey are respectively represented as the maximum and minimum values of the data before normalization. The normalized dimmer brightness value, environmental parameters, and state of charge sampling values are used as input data, and the corresponding normalized performance index parameter sampling values are used as output data. A BP neural network model is constructed, and the established neural network model is trained. The target error and maximum number of cycles of the network model are set. According to the error of the training result, the number of hidden layers of the model is adjusted until the prediction accuracy is not lower than the expected value. The neural network model for predicting the performance index parameters is obtained. The calculation formula for the expected value of the prediction accuracy is,
[0073]
[0074] Among them, E(Y) represents the expected value of prediction accuracy; Q represents the input sample size of the neural network; f(X k ) is represented as the output function of the neural network; X k Represented as the kth output sample of the neural network;
[0075] For the BP neural network model in this scheme, the input layer includes the dimmer brightness value, the operating temperature of the power supply to be detected, the humidity of the environment, and the state of charge. The number of neuron nodes in the input layer is 4. The output layer includes the rated power, actual power, and conversion efficiency. The number of neuron nodes in the output layer is 3. The number of neuron nodes in the intermediate layer can be determined according to the empirical formula, which is: Where a is a constant from 1 to 9. Expressed as a pair The calculation result is rounded up, so that the structure of the neural network can be determined as an input layer of 4 neuron nodes, an intermediate layer of s neuron nodes, and an output layer of 3 neuron nodes, as shown in Figure 3 As shown;
[0076] In this embodiment, taking the use of MATLAB software to construct a neural network model as an example, the network is trained using a standard BP neural network algorithm, the target error and the maximum number of cycles are set, the transfer function of the hidden layer neurons is selected to be the S-type tangent function tansig, the transfer function of the output layer neurons is selected to be the S-type logarithmic function logsig, the traingdx function is selected as the training function, and the number of intermediate layer neuron nodes is continuously adjusted so that the prediction accuracy is not lower than the expected value, and the neural network model for predicting performance index parameters can be obtained;
[0077] Step 4: Use the constructed neural network model to obtain the predicted values of the power supply performance index parameters to be tested, and calculate the correction coefficient k of each performance index parameter based on the obtained predicted values i , the calculation formula is: In the formula, Q represents the input sample size of the neural network; x'ij It is expressed as the predicted value of the performance index parameter obtained by the neural network model, and the correction coefficient k i Correct the sampled values of the performance indicator parameters to obtain the corrected values of each performance indicator parameter. The calculation formula is:
[0078] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A method for detecting the performance of a laser power supply assembly, characterized in that: include: Connect the power supply to be tested to the dimmer and power meter, dynamically adjust the brightness of the dimmer, and set the power supply to be tested from the upper limit of the state of charge SOC max Continue to discharge to the lower limit of charge state SOC min The performance index parameters of the process and the brightness value, environmental parameters and charge state value of the dimmer are sampled; The LOF algorithm is used to calculate the local outlier factor in the performance indicator parameter, and the j-th sampling value x of the i-th performance indicator is calculated using the obtained local outlier factor. ij Determine whether it is abnormal data, filter and remove abnormal data in the performance indicator parameter sampling values; The screened performance index parameters and dimmer brightness value, environmental parameters, and state of charge value are normalized to the interval [0, 1], the normalized dimmer brightness value, environmental parameters, and state of charge sampling values are used as input data, and the corresponding normalized performance index parameter sampling values are used as output data, a BP neural network model is constructed, the established neural network model is trained, the target error and maximum number of cycles of the network model are set, and the number of hidden layers of the model is adjusted according to the error of the training result until the prediction accuracy is not lower than the expected value, so as to obtain a neural network model for predicting the performance index parameters; The constructed neural network model is used to obtain the predicted values of the power supply performance index parameters to be tested, and the correction coefficient k of each performance index parameter is calculated based on the obtained predicted values. i , the calculation formula is: In the formula, Q represents the input sample size of the neural network; x' ij It is expressed as the predicted value of the performance index parameter obtained by the neural network model, and the correction coefficient k i Correct the sampled values of the performance indicator parameters to obtain the corrected values of each performance indicator parameter. The calculation formula is: The abnormal data determination process in the performance indicator parameter sampling value includes the following steps: Calculate the sample value x respectively ij With the rest of the sample values x iq The distance between i(j-q) , the calculation formula is: Among them, j, q∈N, and q≠j, N is the total amount of sampled data; The distance value D i(j-q) Sort by small to large, let x ij The closest k-th element is x ip , p∈N, and p≠j, get the sample value x ij With the sample value x ip The kth distance value d k (x ij ),in, According to the kth distance value d k (x ij ) Determine the sampling value x ij The kth distance neighborhood N k (x ij ); Get the sample value x ij The kth reachable distance of k (x ij , x ip )=max[d k (x ij ),d(x ij ,x ip )],d k (x ij , x ip ) is the sampling value x ij The kth reachable distance; max[d k (x ij ),d(x ij ,x ip )] is to take d k (x ij )、d(x ij ,x ip ) in the maximum value operation; d(x ij , x ip ) is the sampling value x ij With the kth distance neighbor N k (x ij ) is a set of distance values between all elements in ; Get the sample value x ij The local reachable density is defined as: Calculate the sampling value x based on the local reachable density obtained ij The local outlier factor is calculated as: In the formula, LOF k (x ij ) is the sampling value x ij The local outlier factor of k (x ip ) is the sampling value x ip The local reachable density of Use the local outlier factor obtained to analyze the sample value x ij The abnormal situation is judged according to the following principles: When LOF k (x ij )>1, indicating the sampling value x ij It may be abnormal data, and when LOF k (x ij )The larger the value, the greater the possibility of data anomaly; When LOF k (x ij ) is close to 1, indicating that the sample value x ij It may belong to the same cluster as the neighboring points and is normal data; When LOF k (x ij )<1, indicating the sampling value x ij are dense data points.
2. A method for detecting performance of a laser power supply assembly according to claim 1, characterized in that: The performance index parameters include rated power, actual power, and conversion efficiency; The environmental parameters include the operating temperature of the power supply to be detected and the humidity of the environment in which it is located.
3. A method for detecting performance of a laser power supply assembly according to claim 1, characterized in that: The data normalization formula is: In the formula, x' represents the data value after normalization; x represents the data value before normalization; x max 、x min They are respectively represented as the maximum and minimum values in the data before normalization.
4. A method for detecting performance of a laser power supply assembly according to claim 1, characterized in that: The calculation formula for the expected value of prediction accuracy is: Among them, E(Y) represents the expected value of prediction accuracy; Q represents the input sample size of the neural network; f(X k ) is represented as the output function of the neural network; X k Represented as the kth output sample of the neural network.
5. A method for detecting performance of a laser power supply assembly according to claim 1, characterized in that: State of charge upper limit SOC max The value range is [0.8,0.9], and the lower limit of the state of charge SOC min The value range is [0.15,0.2].
6. A laser power supply component performance detection system, characterized in that: It includes a dimmer, a power meter, a dynamic adjustment module, an environmental parameter acquisition module, a charge state acquisition module, a data processing module, a neural network construction module, and a data correction module; The dimmer is connected to the power supply to be detected, and is used to obtain the state of charge upper limit SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The dimmer brightness sampling value during the process; The power meter is connected to the power supply to be detected, and is used to obtain the state of charge upper limit SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The process includes sampling values of performance index parameters such as rated power, actual power, and conversion efficiency; The dynamic adjustment module is used to adjust the state of charge SOC of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min During the process, the brightness value of the dimmer is dynamically adjusted; The environmental parameter acquisition module is used to obtain the upper limit SOC of the state of charge of the power supply to be detected. max Continue to discharge to the lower limit of charge state SOC min The process includes the environmental parameter sampling values of the operating temperature of the power supply to be tested and the humidity of the environment in which it is located, among which the upper limit of the state of charge SOC max The value range is [0.8,0.9], and the lower limit of the state of charge SOC min The value range of is [0.15,0.2]; The state of charge acquisition module is used to acquire a sample value of the state of charge of the power supply to be detected; The data processing module is used to calculate the local outlier factor in the performance indicator parameter using the LOF algorithm, and use the obtained local outlier factor to calculate the jth sampling value x of the i-th performance indicator. ij Whether it is abnormal data is determined, and abnormal data in the performance indicator parameter sampling values is screened and removed. The determination process includes the following steps: Calculate the sample value x respectively ij With the rest of the sample values x iq The distance between i(j-q) , the calculation formula is: Among them, j, q∈N, and q≠j, N is the total amount of sampled data; The distance value D i(j-q) Sort by small to large, let x ij The closest k-th element is x ip , p∈N, and p≠j, get the sample value x ij With the sample value x ip The kth distance value d k (x ij ),in, According to the kth distance value d k (x ij ) Determine the sampling value x iq The kth distance neighborhood N k (x ij ); Get the sample value x ij The kth reachable distance of k (x ij , x ip )=max[d k (x ij ),d(x ij ,x ip )],d k (x ij , x ip ) is the sampling value x ij The kth reachable distance; max[d k (x ij ),d(x ij ,x ip )] is to take d k (x ij )、d(x ij ,x ip ) in the maximum value operation; d(x ij , x ip ) is the sampling value x ij With the kth distance neighbor N k (x ij ) is a set of distance values between all elements in ; Get the sample value x ij The local reachable density is defined as: Calculate the sampling value x based on the local reachable density obtained ij The local outlier factor is calculated as: In the formula, LOF k (x ij ) is the sampling value x ij The local outlier factor of k (x ip ) is the sampling value x ip The local reachable density of Use the local outlier factor obtained to analyze the sample value x ij The abnormal situation is judged according to the following principles: When LOF k (x ij )>1, indicating the sampling value x ij It may be abnormal data, and when LOF k (x ij )The larger the value, the greater the possibility of data anomaly; When LOF k (x ij ) is close to 1, indicating that the sample value x ij It may belong to the same cluster as the neighboring points and is normal data; When LOF k (x ij )<1, indicating the sampling value x ij are dense data points; The neural network construction module is used to construct a BP neural network model with the normalized dimmer brightness value, environmental parameters, and charge state sampling values as input data, and the corresponding normalized performance index parameter sampling values as output data, and train the established neural network model, set the target error and maximum number of cycles of the network model, and adjust the number of hidden layers of the model according to the error of the training result until the prediction accuracy is not lower than the expected value, so as to obtain a neural network model for predicting the performance index parameter; The data correction module is used to obtain the predicted value of the power performance index parameter to be detected by using the constructed neural network model, and calculate the correction coefficient k of each performance index parameter according to the obtained predicted value. i , the calculation formula is: In the formula, Q represents the input sample size of the neural network; x' ij It is expressed as the predicted value of the performance index parameter obtained by the neural network model, and the correction coefficient k i Correct the sampled values of the performance indicator parameters to obtain the corrected values of each performance indicator parameter. The calculation formula is:
7. A laser power supply component performance detection system according to claim 6, characterized in that: The system comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the steps of the method according to any one of claims 1 to 5 are implemented when the processor executes the program.
Citation Information
Patent Citations
Laser power supply testing system and method
CN109031158A
Life prediction method and system of laser power supply, and storage medium
CN116882303A