Conductor size on-line detection and automatic feedback adjustment system and method

Through the conductor size online detection and automatic feedback adjustment system, the Kalman filter is used to correct the observation error, achieving accurate detection of the conductor diameter and adaptive control parameter setting, solving the problems of conductor size detection accuracy and production equipment control accuracy in the existing technology. , improving the accuracy and consistency of conductor production.

CN118550192AActive Publication Date: 2024-08-27SUZHOU GUANLONG MAGNET WIRE

Patent Information

Application Number
CN202410600393.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

In the existing technology, conductor size detection relies on manual measurement or offline automatic measurement, which is difficult to meet accuracy requirements. Moreover, production equipment causes diameter deviations due to wear and aging, and lacks an adaptive intelligent control system.

Method used

Design an online conductor size detection and automatic feedback adjustment system, including a sample data collection module, a size prediction model training module, a parameter control model training module and a Kalman filter feedback module. The prediction is trained through polynomial regression model and encoder-decoder architecture. Conductor diameter and control parameters, use Kalman filter to correct observation errors to generate adaptive control parameters.

Benefits of technology

It effectively solves the problem of misjudgment caused by single sensor data deviation and noise, achieves accurate detection of conductor diameter and adaptive control parameter setting, and improves the accuracy and consistency of conductor production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550192A
    Figure CN118550192A
Patent Text Reader

Abstract

The invention discloses a conductor size online detection and automatic feedback adjustment system and method, and relates to the technical field of conductor size detection.A sample data collection module is arranged to collect process training sample data, equipment control training sample data and diameter label data, and a size prediction model training module is arranged to train a size prediction model; a parameter control model training module is set to train a parameter control model, a monitoring data collection module is set to collect the observation diameter, real-time process parameter data and real-time equipment control parameter data in the current unit time, and a Kalman filtering feedback module is set to use a Kalman filtering method. Correcting the observation error and generating an equipment control parameter of the next unit time for the conductor production equipment; the method solves the problem that error judgment is easy to generate due to data deviation and noise of a single sensor, and provides a theoretical basis for setting control parameters of the conductor diameter in the next unit time according to the corrected conductor diameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of conductor size detection, and in particular to a conductor size online detection and automatic feedback adjustment system and method. Background Art

[0002] In modern manufacturing, the dimensional accuracy of conductors plays a vital role in the quality and performance of the entire product. For example, in the production of precision metal wires such as wires and cables, medical catheters, etc., the dimensional accuracy of conductors is extremely demanding. In the prior art, the detection of conductor dimensions mostly relies on manual measurement or offline automatic measurement systems. In particular, because the conductors are in a high temperature state during the production process, the diameter of the conductor can only be measured by remote observation. However, the accuracy of remote observation equipment is generally difficult to meet the dimensional accuracy requirements, and the production equipment of conductors often has problems with conductor diameter deviations due to wear, aging, etc.; and further, the current adjustment of the control parameters of conductor production equipment is often manually controlled, lacking an adaptive intelligent control system.

[0003] Therefore, a method is needed to correct the error of conductor size and adaptively adjust the conductor production control parameters according to the corrected conductor size.

[0004] To this end, the present invention proposes a conductor size online detection and automatic feedback adjustment system and method. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a conductor size online detection and automatic feedback adjustment system and method, which solves the problem that the single sensor data has deviation and noise, which is easy to cause misjudgment, and provides a theoretical basis for setting the control parameters of the conductor diameter of the next unit time according to the conductor diameter after correction.

[0006] To achieve the above purpose, a conductor size online detection and automatic feedback adjustment system is proposed, which includes a sample data collection module, a size prediction model training module, a parameter control model training module, a monitoring data collection module and a Kalman filter feedback module; wherein each module is electrically connected;

[0007] A sample data collection module is used to collect pre-process dimension data, training sample data, equipment control training sample data and diameter label data from the test environment in advance;

[0008] The method of pre-collecting the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment is as follows:

[0009] Select N1 conductor production equipment as test equipment, and use each test equipment to produce test conductors, and in each process of producing test conductors, collect the process parameter training feature set and the equipment control parameter training feature set at each unit time, and use the dimension measuring equipment to measure the diameter of the conductor as the diameter label after the conductor is produced at each unit time, and before the conductor is produced at each unit time, the current diameter of the conductor is the dimension at the previous moment; wherein N1 is the number of selected test equipment; all process parameter training feature sets at unit times constitute process training sample data, and all equipment control parameter training feature sets constitute process training sample data; all dimensions at previous moments constitute dimension data at previous moments, and all diameter labels constitute diameter label data;

[0010] The process parameter training feature set includes parameter values ​​of process parameters related to the process, environment and conductor material that affect the conductor length;

[0011] The equipment control parameter training feature set includes parameter values ​​of equipment control parameters that need to be controlled by the conductor production equipment when manufacturing the conductor;

[0012] The sample data collection module sends the previous moment size data, process training sample data, equipment control training sample data and diameter label data to the size prediction model training module and the parameter control model training module;

[0013] A size prediction model training module is used to train a size prediction model for predicting the conductor diameter at the next unit moment based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data;

[0014] The method of the size prediction model for predicting the conductor diameter at the next unit time by base training is:

[0015] The previous moment size, process parameter training feature set, and equipment control parameter training feature set of each moment are combined into a set of size prediction feature vectors;

[0016] The dimension prediction feature vector of each unit time is used as the input of the dimension prediction model, the dimension prediction model takes the predicted value of the conductor diameter at the next moment after the behavior at that moment as the output, takes the diameter label at the next moment after the behavior at that moment as the prediction target, takes the difference between the predicted value of the conductor diameter and the diameter label at the next moment as the first prediction error, and takes minimizing the sum of squares of the first prediction errors as the training target; the dimension prediction model is trained until the sum of squares of the first prediction errors reaches convergence, and the training is stopped; the dimension prediction model is a polynomial regression model; the sum of squares of the prediction errors is a mean square error;

[0017] The size prediction model training module sends the size prediction model to the Kalman filter feedback module;

[0018] A parameter control model training module is used to train a parameter control model that outputs device control parameters based on previous moment dimension data, process training sample data, device control training sample data, and diameter label data;

[0019] The training output device control parameter parameter control model comprises the following steps:

[0020] Step 11: The previous dimension data of each unit time, the process training sample data and the diameter label data are combined into a set of equipment control input vectors;

[0021] Step 12: Using a vector-to-vector encoder-decoder architecture, model the parameter control model for the device control parameter control process;

[0022] The parameter control model is modeled as follows:

[0023] The encoder is an MLP encoder;

[0024] The decoder is an MLP decoder;

[0025] Step 13: construct N2 output heads at the output end of the decoder, and jointly learn N2 prediction tasks; specifically, each of the output heads corresponds to an equipment control parameter, such as production mechanism tension and production mechanism speed, and each output head is used to output the expected equipment control parameter of the conductor production equipment;

[0026] Step 14: Set the parameters to control the comprehensive loss function of the model;

[0027] The comprehensive loss function is set as follows:

[0028] For each device control parameter, the difference between the actual value and the predicted value is measured using the squared loss function;

[0029] The weighted sum of the square loss functions of the control parameters of each device is used as the comprehensive loss function of the parameter control model;

[0030] Step 15: Using each group of device control input vectors as input of the parameter control model, the parameter control model is trained until the comprehensive loss function of the parameter control model converges;

[0031] The parameter control model training module sends the parameter control model to the Kalman filter feedback module;

[0032] A monitoring data collection module is used to collect the observed diameter per unit time in real time for the conductor to be monitored using a remote dimension assessment instrument, and to collect real-time process parameter data and real-time equipment control parameter data;

[0033] The method of using the remote size assessment instrument to collect the observed diameter per unit time in real time is:

[0034] The remote dimensional assessment instrument is an optical image capture device;

[0035] Using an optical image capture device to collect real-time pictures of the conductor to be monitored, and using computer vision technology to evaluate the current diameter of the conductor to be monitored as an observed diameter;

[0036] The method of collecting real-time process parameter data and real-time equipment control parameter data is:

[0037] By using the physical sensors corresponding to the various process parameters, the real-time parameter values ​​of the various process parameters are collected in real time, and the real-time parameter values ​​of the various process parameters per unit time constitute the real-time process parameter data;

[0038] Reading the real-time parameter values ​​of each device control parameter from the control terminal of the conductor production equipment to form real-time device control parameter data;

[0039] The monitoring data collection module sends the observed diameter of the conductor to be monitored, the real-time process parameter data and the real-time equipment control parameter data to the Kalman filter feedback module in real time;

[0040] A Kalman filter feedback module is used to correct the observation error and generate the equipment control parameters for the conductor production equipment for the next unit time by using the Kalman filter method based on the size prediction model, the parameter control model, the observed diameter of the conductor to be monitored, the real-time process parameter data and the real-time equipment control parameter data;

[0041] The method of using the Kalman filter method to correct the observation error and generate the device control parameters for the next unit time of the conductor production equipment is as follows:

[0042] Denote each unit of time as t;

[0043] Obtain a size prediction model, the function expression corresponding to the size prediction model is expressed as d t+1 =F(d t , C, K); where d t+1 and d t are the observed diameters of the conductor to be monitored at the t+1th moment and the tth moment respectively, C is the set of constants corresponding to the real-time process parameter data, and K is the set of constants corresponding to the real-time equipment control parameter data;

[0044] Define a state transfer equation, the form of the state transfer equation is:

[0045] x(t+1)=d t+1 +ε(t); where x(t+1) is the state posterior estimate and ε(t) is the process noise;

[0046] The observed diameter of the conductor to be monitored at the tth unit time is marked as g t ;

[0047] Define the observation equation Z(t+1)=g t +δ(t);

[0048] ε(t) is the process noise; δ(t) is the observation error;

[0049] Initialize x(0) and P(0); where x(0) is the initial diameter of the conductor to be monitored, and P(0) is the initial diameter estimation variance, with an initial value of 0; Set Represents the estimated value of the conductor diameter for the t-th unit time; Set to x(0);

[0050] For any integer t greater than 0, the loop executes the following steps:

[0051] Step 21: Calculate the prior estimate The calculation formula is as follows:

[0052]

[0053] Step 22: Calculate the prior estimated covariance P(t+1|t), the calculation formula is as follows:

[0054]

[0055] Step 23: Calculate the Kalman gain K(t+1), the calculation formula is as follows:

[0056]

[0057] Step 24: Update the state posterior estimate The calculation formula is as follows:

[0058]

[0059] It can be understood that the state posterior estimation x(t+1) is the real diameter of the conductor at the current moment. In the actual production process, it can be used to determine whether there is an abnormality in production, and it can also be used to guide the production of the next unit time.

[0060] Step 25: Update the posterior estimated covariance P(t+1), where the calculation formula is as follows:

[0061] P(t+1)=(1-K(t+1))×P(t+1|t);

[0062] Step 26: Collect the expected diameter for the next unit time, combine the state posterior estimate x(t+1), the expected diameter for the next unit time and the real-time process parameter data into a set of real-time equipment control input vectors, input the real-time equipment control input vectors into the parameter control model, obtain the parameter values ​​of each equipment control parameter output by the parameter control model, and use the output parameter values ​​of each equipment control parameter as the control parameters of the conductor production equipment for the next unit time.

[0063] A conductor size online detection and automatic feedback adjustment method is proposed, comprising the following steps:

[0064] Step 1: Collect the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance;

[0065] Step 2: Based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data, a size prediction model for predicting the conductor diameter at the next unit moment is trained;

[0066] Step 3: Based on the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data, a parameter control model for outputting equipment control parameters is trained;

[0067] Step 4: For the conductor to be monitored, use a remote dimension assessment instrument to collect the observed diameter per unit time in real time, and collect real-time process parameter data and real-time equipment control parameter data;

[0068] Step 5: Based on the size prediction model, parameter control model, observed diameter of the conductor to be monitored, real-time process parameter data and real-time equipment control parameter data, the Kalman filter method is used to correct the observation error and generate the equipment control parameters for the conductor production equipment for the next unit time.

[0069] An electronic device is proposed, comprising: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;

[0070] The processor executes the above-mentioned conductor size online detection and automatic feedback adjustment method by calling the computer program stored in the memory.

[0071] A computer-readable storage medium is provided, on which a rewritable computer program is stored;

[0072] When the computer program is run on a computer device, the computer device is enabled to execute the above-mentioned method for online detection and automatic feedback adjustment of conductor size.

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

[0074] The present invention sets a sample data collection module to collect process training sample data, equipment control training sample data and diameter label data from a test environment in advance, sets a size prediction model training module to train a size prediction model for predicting the conductor diameter of the next unit time based on the size data of the previous moment, the process training sample data, the equipment control training sample data and the diameter label data, sets a parameter control model training module to train a parameter control model for outputting equipment control parameters based on the size data of the previous moment, the process training sample data, the equipment control training sample data and the diameter label data, sets a monitoring data collection module to collect the observed diameter of the current unit time in real time for the conductor to be monitored using a remote size evaluation instrument, and collects real-time process parameter data and real-time equipment control training data. The Kalman filter feedback module uses the Kalman filter method to correct the observation error and generate the equipment control parameters for the conductor production equipment for the next unit time based on the size prediction model, the parameter control model, the observed diameter of the conductor to be monitored, the real-time process parameter data and the real-time equipment control parameter data; by training the size prediction model, the theoretical predicted value of the conductor diameter size is obtained, and then the observed value of the conductor diameter size is obtained by using the remote size assessment instrument, so as to solve the problem of single sensor data having deviation and noise, which is easy to cause misjudgment by using the Kalman filter method, and further by training the parameter control model, it is realized that according to the conductor diameter after correction, a theoretical basis is provided for setting the control parameters of the conductor diameter for the next unit time. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 This is a module connection diagram of a conductor size online detection and automatic feedback adjustment system in Example 1 of the present invention;

[0076] Figure 2 This is a flow chart of a conductor size online detection and automatic feedback adjustment method in Embodiment 2 of the present invention;

[0077] Figure 3 This is a schematic diagram of the structure of an electronic device in Embodiment 3 of the present invention;

[0078] Figure 4 This is a schematic diagram of the computer-readable storage medium structure in Example 4 of the present invention. DETAILED DESCRIPTION

[0079] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0080] Example 1

[0081] like Figure 1 As shown, a conductor size online detection and automatic feedback adjustment system includes a sample data collection module, a size prediction model training module, a parameter control model training module, a monitoring data collection module and a Kalman filter feedback module; wherein each module is electrically connected to each other.

[0082] Among them, the sample data collection module is mainly used to collect pre-time dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance.

[0083] Specifically, the method of collecting the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance is:

[0084] Select N1 conductor production equipment as test equipment, and use each test equipment to produce test conductors. In each process of producing test conductors, collect the process parameter training feature set and the equipment control parameter training feature set at each unit moment, and use the dimension measuring equipment to measure the diameter of the conductor as the diameter label after the conductor is produced at each unit moment, and before the conductor is produced at each unit moment, the current diameter of the conductor is the dimension at the previous moment; wherein N1 is the number of selected test equipment; all process parameter training feature sets at unit moments constitute process training sample data, and all equipment control parameter training feature sets constitute process training sample data; all previous moment dimensions constitute previous moment dimension data, and all diameter labels constitute diameter label data.

[0085] It should be noted that conductors are produced in an assembly line form during the production process. The metal conductor passes through the assembly line like a long yellow bar. Therefore, the diameter of the conductor produced at each unit time is the current diameter label, and the current diameter label of the conductor produced at the previous moment is the size at the previous moment.

[0086] It should be noted that the dimension measuring device should be a high-precision length measuring instrument to ensure the accuracy of the diameter label.

[0087] Among them, the process parameter training feature set includes parameter values ​​of process parameters related to the process, environment and conductor material that affect the conductor length. The process parameters include but are not limited to conductor temperature, conductor tension, ambient temperature, ambient humidity, atmospheric pressure, radiation heat flux intensity, cooling medium temperature / flow rate, lubricant / additive parameters, metal structure parameters, conductor material thermal conductivity, conductor material thermal expansion coefficient, conductor material density, conductor material specific heat capacity, conductor material yield strength, conductor material elastic modulus, etc.

[0088] Among them, the equipment control parameter training feature set includes parameter values ​​of equipment control parameters that need to be controlled by conductor production equipment when manufacturing conductors; it can be understood that by controlling the equipment control parameters, a conductor with a desired diameter can be manufactured; specifically, the equipment control parameter training feature set includes production mechanism tension and production mechanism speed.

[0089] The sample data collection module sends the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data to the dimension prediction model training module and the parameter control model training module.

[0090] Among them, the size prediction model training module is mainly used to train a size prediction model for predicting the conductor diameter at the next unit moment based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data.

[0091] The method of training the size prediction model for predicting the conductor diameter at the next unit moment based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data is as follows:

[0092] The previous moment size, process parameter training feature set, and equipment control parameter training feature set of each moment are combined into a set of size prediction feature vectors.

[0093] The dimension prediction feature vector of each unit time is used as the input of the dimension prediction model. The dimension prediction model takes the predicted value of the conductor diameter at the next moment after the behavior at that moment as the output, takes the diameter label at the next moment after the behavior at that moment as the prediction target, takes the difference between the predicted value of the conductor diameter and the diameter label at the next moment as the first prediction error, and takes minimizing the sum of squares of the first prediction errors as the training target; the dimension prediction model is trained until the sum of squares of the first prediction errors reaches convergence, and the training is stopped, and a dimension prediction model is trained to predict the conductor diameter at the next moment based on the dimension prediction feature vector and the output conductor under the premise of the current diameter, process parameters and equipment control parameters; the dimension prediction model is a polynomial regression model; and the sum of squares of the prediction errors is the mean square error.

[0094] The size prediction model training module sends the size prediction model to the Kalman filter feedback module.

[0095] Specifically, the parameter control model training module is mainly used to train a parameter control model that outputs device control parameters based on previous moment dimension data, process training sample data, device control training sample data and diameter label data.

[0096] Specifically, the training of the parameter control model for outputting the device control parameters based on the previous moment dimension data, the process training sample data, the device control training sample data and the diameter label data comprises the following steps:

[0097] Step 11: The previous dimension data of each unit time, the process training sample data and the diameter label data are combined into a set of equipment control input vectors.

[0098] Step 12: Use a vector-to-vector encoder-decoder architecture to model the parameter control model of the device control parameter control process.

[0099] The parameter control model is modeled as follows:

[0100] The encoder is an MLP encoder;

[0101] The decoder is a MLP decoder.

[0102] Step 13: construct N2 output heads at the output end of the decoder and jointly learn N2 prediction tasks; specifically, each of the output heads corresponds to an equipment control parameter, such as production mechanism tension and production mechanism speed, etc., and each output head is used to output the expected equipment control parameters of the conductor production equipment.

[0103] Step 14: Set the parameters to control the comprehensive loss function of the model.

[0104] Specifically, the comprehensive loss function is set as follows:

[0105] For each device control parameter, the difference between the actual value and the predicted value is measured using a squared loss function.

[0106] The weighted sum of the square loss functions of the control parameters of each device is taken as the comprehensive loss function of the parameter control model.

[0107] Step 15: Use each group of device control input vectors as the input of the parameter control model, and train the parameter control model until the comprehensive loss function of the parameter control model converges.

[0108] It can be understood that the parameter control model is mainly used to provide an expected conductor diameter for the next unit time based on the conductor diameter at the current moment, and then combine the process parameters to calculate the parameter values ​​of various equipment control parameters required to set the conductor production equipment to achieve the required conductor diameter in the next unit time.

[0109] The parameter control model training module sends the parameter control model to the Kalman filter feedback module.

[0110] The monitoring data collection module is mainly used to collect the observed diameter per unit time in real time for the conductor to be monitored using a remote dimension assessment instrument, and to collect real-time process parameter data and real-time equipment control parameter data.

[0111] Specifically, the method of using the remote size assessment instrument to collect the observed diameter per unit time in real time is:

[0112] The remote dimensional assessment instrument is an optical image capture device.

[0113] An optical image capture device is used to collect real-time pictures of the conductor to be monitored, and a current diameter of the conductor to be monitored is evaluated as an observed diameter using computer vision technology.

[0114] It is understandable that the remote dimension assessment instrument is a non-contact diameter assessment instrument. Compared with the direct diameter measurement using a high-precision length measuring instrument, there may be errors in its accuracy and precision. Therefore, it is necessary to use the Kalman filtering method to revise the observation error of the remote dimension assessment instrument and further feedback the equipment control parameters that need to be adjusted to the conductor production equipment.

[0115] Specifically, the method of collecting real-time process parameter data and real-time equipment control parameter data is:

[0116] By using the physical sensors corresponding to the various process parameters, the real-time parameter values ​​of the various process parameters are collected in real time, and the real-time parameter values ​​of the various process parameters per unit time constitute the real-time process parameter data.

[0117] The real-time parameter values ​​of each device control parameter are read from the control terminal of the conductor production equipment to form real-time device control parameter data.

[0118] The monitoring data collection module sends the observed diameter of the conductor to be monitored, real-time process parameter data and real-time equipment control parameter data to the Kalman filter feedback module in real time.

[0119] Among them, the Kalman filter feedback module is mainly used to correct the observation error and generate the equipment control parameters for the next unit time for the conductor production equipment based on the size prediction model, parameter control model, the observed diameter of the conductor to be monitored, real-time process parameter data and real-time equipment control parameter data, using the Kalman filter method.

[0120] Specifically, the method of using the Kalman filter method to correct the observation error and generate the equipment control parameters for the next unit time for the conductor production equipment based on the size prediction model, the parameter control model, the observed diameter of the conductor to be monitored, the real-time process parameter data and the real-time equipment control parameter data is as follows:

[0121] Denote each unit of time as t.

[0122] Obtain a size prediction model, the function expression corresponding to the size prediction model is expressed as d t+1 =F(d t , C, K); where d t+1 and d t are the observed diameters of the conductor to be monitored at the t+1th moment and the tth moment respectively, C is the constant set corresponding to the real-time process parameter data, and K is the constant set corresponding to the real-time equipment control parameter data.

[0123] Define a state transfer equation, the form of the state transfer equation is:

[0124] x(t+1)=d t+1 +ε(t); where x(t+1) is the state posterior estimate and ε(t) is the process noise.

[0125] The observed diameter of the conductor to be monitored at the tth unit time is marked as g t .

[0126] Define the observation equation Z(t+1)=g t +δ(t).

[0127] Generally, ε(t) is process noise. Generally, the process noise is white noise with a mean of 0 and a variance of R. Process noise is often caused by insufficient refinement of conductor production equipment or a large amount of friction between the conductor and the mechanism, resulting in errors in conductor diameter. R can be obtained by statistically analyzing the errors between the expected diameters and the actual diameters of all conductors produced by the conductor production equipment.

[0128] δ(t) is the observation error. Generally, the observation error is white noise with a mean of 0 and a variance of Q. The observation error is caused by the inaccuracy of the measurement of the remote dimension assessment instrument. Therefore, it can be obtained by statistically analyzing the error between the expected diameter and the observed diameter of all produced conductors measured by the remote dimension assessment instrument.

[0129] Initialize x(0) and P(0); where x(0) is the initial diameter of the conductor to be monitored, and P(0) is the initial diameter estimation variance, with an initial value of 0; Set Represents the estimated value of the conductor diameter for the t-th unit time; Set to x(0).

[0130] For any integer t greater than 0, the loop executes the following steps:

[0131] Step 21: Calculate the prior estimate The calculation formula is as follows:

[0132]

[0133] Step 22: Calculate the prior estimated covariance P(t+1|t), the calculation formula is as follows:

[0134]

[0135] Step 23: Calculate the Kalman gain K(t+1), the calculation formula is as follows:

[0136]

[0137] Step 24: Update the state posterior estimate The calculation formula is as follows:

[0138]

[0139] Step 25: Update the posterior estimated covariance P(t+1), the calculation formula is as follows:

[0140] P(t+1)=(1-K(t+1))×P(t+1|t).

[0141] Step 26: Collect the expected diameter for the next unit time and estimate the state posteriorly The expected diameter for the next unit time and the real-time process parameter data constitute a set of real-time equipment control input vectors. The real-time equipment control input vectors are input into the parameter control model to obtain the parameter values ​​of each equipment control parameter output by the parameter control model. The output parameter values ​​of each equipment control parameter are used as the control parameters of the conductor production equipment for the next unit time.

[0142] It should be noted that the expected diameter for the next unit time is the diameter of the conductor expected for the next unit time according to the current progress in the conductor production drawing. For example, when the conductor is a rod with uniform diameter, the expected diameter for each unit time is the same, and when the conductor is a rod with non-uniform diameter, the expected diameter for each unit time can be set in advance according to the actual shape.

[0143] Example 2

[0144] like Figure 2 As shown, a conductor size online detection and automatic feedback adjustment method includes the following steps:

[0145] Step 1: Collect the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance.

[0146] Step 2: Based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data, a size prediction model for predicting the conductor diameter at the next unit moment is trained.

[0147] Step 3: Based on the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data, a parameter control model for outputting equipment control parameters is trained.

[0148] Step 4: For the conductor to be monitored, use a remote dimension assessment instrument to collect the observed diameter per unit time in real time, and collect real-time process parameter data and real-time equipment control parameter data.

[0149] Step 5: Based on the size prediction model, parameter control model, observed diameter of the conductor to be monitored, real-time process parameter data and real-time equipment control parameter data, the Kalman filter method is used to correct the observation error and generate the equipment control parameters for the conductor production equipment for the next unit time.

[0150] Example 3

[0151] Figure 3 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, according to another aspect of the present application, an electronic device 100 is also provided. The electronic device 100 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the above-mentioned conductor size online detection and automatic feedback adjustment method can be executed.

[0152] The method or device according to the embodiment of the present application can also be used by Figure 3 The electronic device architecture shown in FIG. Figure 3As shown, the electronic device 100 may include a bus 101, one or more CPUs 102, ROM 103, RAM 104, a communication port 105 connected to a network, an input / output component 106, a hard disk 107, etc. The storage device in the electronic device 100, such as ROM 103 or hard disk 107, may store a conductor size online detection and automatic feedback adjustment method provided in the present application. A conductor size online detection and automatic feedback adjustment method may, for example, include the following steps:

[0153] Furthermore, the electronic device 100 may further include a user interface 108. Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.

[0154] Example 4

[0155] Figure 4 Schematic diagram of a computer-readable storage medium structure provided by an embodiment of the present application. Figure 4 As shown, a computer-readable storage medium 200 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 200. When the computer-readable instructions are executed by the processor, a method for online detection and automatic feedback adjustment of conductor size according to an embodiment of the present application described with reference to the above figures can be executed. The computer-readable storage medium 200 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0156] In addition, according to the implementation of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, the non-transitory machine-readable storage medium stores machine-readable instructions, the machine-readable instructions can be run by a processor to execute instructions corresponding to the method steps provided by the present application, and when the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.

[0157] The methods, apparatuses, and devices of the present application may be implemented in many ways. For example, the methods, apparatuses, and devices of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers recording media storing programs for executing the method according to the present application.

[0158] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.

[0159] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0160] The above preset parameters or preset thresholds are all set by technicians in this field according to actual conditions or obtained through large-scale data simulation.

[0161] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A conductor size online detection and automatic feedback adjustment system, characterized in that: It includes a sample data collection module, a size prediction model training module, a parameter control model training module, a monitoring data collection module and a Kalman filter feedback module; wherein each module is electrically connected; A sample data collection module is used to collect the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance, and send the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data to the dimension prediction model training module and the parameter control model training module; A size prediction model training module is used to train a size prediction model for predicting the conductor diameter at the next unit moment based on the size data at the previous moment, the process training sample data, the equipment control training sample data and the diameter label data, and send the size prediction model to the Kalman filter feedback module; A parameter control model training module is used to train a parameter control model of output device control parameters based on previous moment dimension data, process training sample data, device control training sample data and diameter label data, and send the parameter control model to a Kalman filter feedback module; A monitoring data collection module is used to collect the observed diameter of the conductor to be monitored per unit time in real time using a remote dimension assessment instrument, collect real-time process parameter data and real-time equipment control parameter data, and send the observed diameter, real-time process parameter data and real-time equipment control parameter data of the conductor to be monitored to a Kalman filter feedback module; The Kalman filter feedback module is used to correct the observation error and generate the equipment control parameters for the next unit time for the conductor production equipment using the Kalman filter method based on the size prediction model, the parameter control model, the observed diameter of the conductor to be monitored, the real-time process parameter data and the real-time equipment control parameter data.

2. A conductor size online detection and automatic feedback adjustment system according to claim 1, characterized in that: The method of pre-collecting the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment is as follows: Select N1 conductor production equipment as test equipment, and use each test equipment to produce test conductors, and in each process of producing test conductors, collect the process parameter training feature set and the equipment control parameter training feature set at each unit time, and use the dimension measuring equipment to measure the diameter of the conductor as the diameter label after the conductor is produced at each unit time, and before the conductor is produced at each unit time, the current diameter of the conductor is the dimension at the previous moment; wherein N1 is the number of selected test equipment; all process parameter training feature sets at unit times constitute process training sample data, and all equipment control parameter training feature sets constitute process training sample data; all dimensions at previous moments constitute dimension data at previous moments, and all diameter labels constitute diameter label data; The process parameter training feature set includes parameter values ​​of process parameters related to the process, environment and conductor material that affect the conductor length; The equipment control parameter training feature set includes parameter values ​​of equipment control parameters that need to be controlled by the conductor production equipment when manufacturing the conductor.

3. A conductor size online detection and automatic feedback adjustment system according to claim 2, characterized in that: The method of training the size prediction model for predicting the conductor diameter at the next unit moment based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data is as follows: The previous moment size, process parameter training feature set, and equipment control parameter training feature set of each moment are combined into a set of size prediction feature vectors; The size prediction feature vector of each unit time is used as the input of the size prediction model. The size prediction model takes the predicted value of the conductor diameter at the next moment after the behavior at that moment as the output, takes the diameter label at the next moment after the behavior at that moment as the prediction target, takes the difference between the predicted value of the conductor diameter and the diameter label at the next moment as the first prediction error, and takes minimizing the sum of squares of the first prediction errors as the training target; the size prediction model is trained until the sum of squares of the first prediction errors reaches convergence and the training is stopped; the size prediction model is a polynomial regression model; the sum of squares of the prediction errors is the mean square error.

4. A conductor size online detection and automatic feedback adjustment system according to claim 3, characterized in that: The training output device control parameter parameter control model comprises the following steps: Step 11: The previous dimension data of each unit time, the process training sample data and the diameter label data are combined into a set of equipment control input vectors; Step 12: Using a vector-to-vector encoder-decoder architecture, model the parameter control model for the device control parameter control process; Step 13: Construct N2 output heads at the decoder output and jointly learn N2 prediction tasks; Step 14: Set the parameters to control the comprehensive loss function of the model; The comprehensive loss function is set as follows: For each device control parameter, the difference between the actual value and the predicted value is measured using the squared loss function; The weighted sum of the square loss functions of the control parameters of each device is used as the comprehensive loss function of the parameter control model; Step 15: Use each group of device control input vectors as the input of the parameter control model, and train the parameter control model until the comprehensive loss function of the parameter control model converges.

5. A conductor size online detection and automatic feedback adjustment system according to claim 4, characterized in that: The method of using the remote size assessment instrument to collect the observed diameter per unit time in real time is: The remote dimensional assessment instrument is an optical image capture device; An optical image capture device is used to collect real-time pictures of the conductor to be monitored, and a current diameter of the conductor to be monitored is evaluated as an observed diameter using computer vision technology.

6. A conductor size online detection and automatic feedback adjustment system according to claim 5, characterized in that: The method of collecting real-time process parameter data and real-time equipment control parameter data is: By using the physical sensors corresponding to the various process parameters, the real-time parameter values ​​of the various process parameters are collected in real time, and the real-time parameter values ​​of the various process parameters per unit time constitute the real-time process parameter data; The real-time parameter values ​​of each device control parameter are read from the control terminal of the conductor production equipment to form real-time device control parameter data.

7. A conductor size online detection and automatic feedback adjustment system according to claim 6, characterized in that: The method of using the Kalman filter method to correct the observation error and generate the device control parameters for the next unit time of the conductor production equipment is as follows: Denote each unit of time as t; Obtain a size prediction model, the function expression corresponding to the size prediction model is d t+1 =F(d t , C, K); where d t+1 and d t are the observed diameters of the conductor to be monitored at the t+1th unit time and the tth unit time, respectively; C is a set of constants corresponding to the real-time process parameter data; and K is a set of constants corresponding to the real-time equipment control parameter data; Define a state transfer equation, the form of the state transfer equation is: x(t+1)=d t+1 +ε(t); where x(t+1) is the state posterior estimate and ε(t) is the process noise; The observed diameter of the conductor to be monitored at the tth unit time is marked as g t ; Define the observation equation Z(t+1)=g t +δ(t); where δ(t) is the observation error; Initialize x(0) and P(0); where x(0) is the initial diameter of the conductor to be monitored, and P(0) is the initial diameter estimation variance, with an initial value of 0; Set Represents the estimated value of the conductor diameter for the t-th unit time; Set to x(0); For any integer t greater than 0, the loop executes the following steps: Step 21: Calculate the prior estimate The calculation formula is as follows: Step 22: Calculate the prior estimated covariance P(t+1|t), the calculation formula is as follows: Step 23: Calculate the Kalman gain K(t+1), the calculation formula is as follows: Step 24: Update the state posterior estimate The calculation formula is as follows: Step 25: Update the posterior estimated covariance P(t+1), the calculation formula is as follows: P(t+1)=(1-K(t+1))×P(t+1|t); Step 26: Collect the expected diameter for the next unit time and estimate the state posteriorly The expected diameter for the next unit time and the real-time process parameter data constitute a set of real-time equipment control input vectors. The real-time equipment control input vectors are input into the parameter control model to obtain the parameter values ​​of each equipment control parameter output by the parameter control model. The output parameter values ​​of each equipment control parameter are used as the control parameters of the conductor production equipment for the next unit time.

8. A conductor size online detection and automatic feedback adjustment method, which is implemented based on the conductor size online detection and automatic feedback adjustment system according to any one of claims 1 to 7, characterized in that: The following steps are involved: Step 1: Collect the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data from the test environment in advance; Step 2: Based on the previous moment size data, process training sample data, equipment control training sample data and diameter label data, a size prediction model for predicting the conductor diameter at the next unit moment is trained; Step 3: Based on the previous moment dimension data, process training sample data, equipment control training sample data and diameter label data, a parameter control model for outputting equipment control parameters is trained; Step 4: For the conductor to be monitored, use a remote dimension assessment instrument to collect the observed diameter per unit time in real time, and collect real-time process parameter data and real-time equipment control parameter data; Step 5: Based on the size prediction model, parameter control model, observed diameter of the conductor to be monitored, real-time process parameter data and real-time equipment control parameter data, the Kalman filter method is used to correct the observation error and generate the equipment control parameters for the conductor production equipment for the next unit time.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the method for online detection and automatic feedback adjustment of conductor size as claimed in claim 8 in the background by calling the computer program stored in the memory.

10. A computer-readable storage medium, characterized in that: A rewritable computer program is stored thereon; When the computer program is run on a computer device, the computer device executes the method for online detection and automatic feedback adjustment of conductor size as claimed in claim 8 in the background.

Citation Information

Patent Citations

  • On-line calibration process

    CA2418226A1

  • Production parameter determination method, device and system, storage medium and electronic equipment

    CN111209609A

  • Precision numerical control machining method based on Kalman filtering algorithm

    CN111538290A

  • Automatic control method and device for crystal diameter growth, electronic equipment and storage medium

    CN113584576A

  • Production system control method, device, system and equipment and storage medium

    CN116165976A

Cited By

  • Copper flat conductor size regulation and control method and system based on machine vision

    CN120953349A

  • A method and system for controlling the size of copper flat conductors based on machine vision

    CN120953349B