Control method and system of vertical three-in-one production line for PCB production
By deploying vibration sensors and long-term memory network prediction models on the PCB production line and adjusting process parameters in real time, the problems of vibration response lag and process parameter optimization in PCB production are solved, and more efficient production line control and product quality improvement are achieved.
Patent Information
- Application Number
- CN202510556115.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-29
AI Technical Summary
The prior art has a problem of vibration response lag in PCB production, resulting in untimely adjustment of process parameters, affecting product quality. In the process of optimization of process parameters, it is difficult to determine whether there is a need to continue optimization, and abnormal vibrations may not be completely eliminated, affecting production line equipment and product quality.
The vertical three-in-one production line control method is adopted to obtain the production line vibration signals in real time by deploying vibration sensors, and use the long and short-term memory network to establish a vibration signal prediction model to predict future vibration signals, adjust process parameters based on the prediction results and real-time signals to optimize the vibration control of the production line.
It realizes timely response to abnormal vibrations, reduces the impact on PCB product quality, and dynamically optimizes process parameters to suppress abnormal vibrations, improves the stability of production line equipment and the product quality of PCB boards.
Smart Images

Figure CN120065887A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of PCB production control, and particularly relates to a control method and system for a vertical three-in-one production line for PCB production. Background Art
[0002] In the production of PCBs, especially when it comes to PCB slag removal, punching, and electroplating production, generally the PCB boards are placed flat on the respective production lines for slag removal, punching, and electroplating, and the processed PCB boards are transferred in sequence; this method requires manual or mechanical handling of the PCB boards between each process, which not only increases the production time but also may cause damage, contamination, or oxidation of the boards during handling, affecting the quality of the final product; in addition, since the boards are placed flat, the fluidity of the liquid medicine is limited during the copper plating and electroplating processes, which easily leads to uneven distribution of the coating, affecting the electrical conductivity and reliability, increasing the production cost, and reducing the overall production efficiency; Moreover, during the operation of the PCB production line, normal vibration is an inherent physical phenomenon during the production process and will not have a substantial impact on production efficiency and equipment stability. However, if the vibration is high, that is, abnormal vibration may have an adverse impact on PCB processing accuracy, coating uniformity, and equipment operation status. Therefore, it is necessary to effectively monitor and analyze the vibration state; the existing method is to collect the vibration signals of the production line in real time through high-precision sensors and analyze the spectral characteristics of the vibration signals using Fourier transform, focusing on the energy distribution changes in the high-frequency and low-frequency regions; if an abnormal vibration mode is detected, the system will automatically adjust relevant production process parameters, such as transmission speed, liquid flow pressure, and the pressure of the fixture fixing the PCB board, to optimize the production environment, reduce vibration interference, and ensure the stability of the PCB production process and product quality.
[0003] However, there is a problem with the above solution. Fourier transform needs to collect enough vibration data through a certain time window and perform spectral conversion before evaluating the vibration state; when abnormal vibration occurs, the response lag of the system may cause the process parameters to not be adjusted in time, thus affecting the quality of PCB production; in addition, sometimes during the process of optimizing process parameters, only one optimization may not achieve the final expectation. If it is impossible to judge whether it is necessary to continue optimizing the process parameters during PCB slag removal, punching, and electroplating production according to the actual situation, the abnormal vibration may not be completely eliminated, which may have a potential impact on the equipment of the production line and result in low quality of PCB boards. Summary of the Invention
[0004] The object of the present invention is to solve the above-mentioned problems and provide a control method and system for a vertical three-in-one production line for PCB production.
[0005] In the first aspect of the implementation of the present invention, a control method for a vertical three-in-one production line for PCB production is first proposed. The method includes: Deploy vibration sensors on the PCB vertical three-in-one production line to obtain vibration signals on the production line in real time. During the process of producing PCB on the PCB vertical three-in-one production line, the PCB board is clamped to be in a vertically suspended placement state, and slag removal, drilling, and electroplating are continuously completed on the production line. Utilize the historical vibration data of the PCB vertical three-in-one production line when producing PCB, establish a prediction model of vibration signals through a long short-term memory network, predict the future vibration signals of the current production line when producing PCB, and adjust and optimize the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards. Obtain the vibration signals of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed, and calculate the optimization effect coefficient to evaluate whether the process parameter optimization is effective. If the process parameter optimization is effective, obtain the vibration signals of the production line again, and judge whether it is necessary to continue optimizing the process parameters according to the vibration signal prediction results and the vibration signals of the production line, so as to achieve the control of the vibration of the production line.
[0006] Optionally, the step of adjusting and optimizing the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards is as follows: Compare the predicted vibration signal with the real-time obtained vibration signal, and calculate the deviation value between them. Once the deviation value is not less than the preset maximum allowable deviation value, immediately adjust and optimize the production process parameters to control the production line to produce PCB boards.
[0007] Optionally, the step of adjusting and optimizing the production process parameters to control the production line to produce PCB boards is as follows: The production process parameters include transmission speed, liquid flow pressure, and the pressure of the fixture fixing the PCB board. Take the deviation value between the predicted vibration signal and the real-time vibration signal as the input item of fuzzy logic, and divide them into fuzzy sets respectively. Take the production process parameters as the output item of fuzzy logic, and divide them into different fuzzy sets. Formulate fuzzy rules to describe the influence of the deviation value between the predicted vibration signal and the real-time vibration signal on the production process parameters. Conduct fuzzy reasoning according to the fuzzy rules to optimize the production process parameters of the current production line and control the production line to produce PCB boards.
[0008] Optionally, the step of obtaining the vibration signals of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed and calculating the optimization effect coefficient is as follows: Obtain the real-time vibration signal before adjusting the process parameters, and calculate the average error before optimization ; Obtain the real-time vibration signal within a period of time after adjusting the process parameters, and calculate the average error after optimization ; Calculate the root mean square error after optimization and the root mean square error after optimization ; According to , , , calculate the error attenuation coefficient , and the calculation formula is: ; Calculate the vibration standard deviation before and after optimization and , and according to and calculate the standard deviation ratio , which is used to measure the degree of vibration dispersion: the calculation formula is: ; According to the error attenuation coefficient and the standard deviation ratio calculate the vibration optimization effectiveness coefficient , and the calculation formula is: ; Calculate the optimization effect coefficient according to the vibration optimization effectiveness coefficient and the working current of the production line.
[0009] Optionally, the steps to calculate the optimization effect coefficient according to the vibration optimization effectiveness coefficient and the working current of the production line are as follows: Obtain the motor currents of the production line at multiple moments before the process parameter optimization , and subtract the motor current at the previous moment from the motor current at the current moment to obtain the current change rate at the corresponding moment before optimization , indicating the current change rate at the th moment before optimization; Obtain the motor currents of the production line at multiple moments after the process parameter optimization , and subtract the motor current at the previous moment from the motor current at the current moment to obtain the current change rate at the corresponding moment after optimization , indicating the current change rate at the th moment after optimization; Divide and into intervals, calculate the probability distribution of each interval, and the calculation formula is: , , where and represent the probabilities that the current change rates before and after optimization fall within the th interval respectively; Calculate the information entropy before and after optimization respectively. The calculation formula is: , , where and are the information entropies before and after optimization respectively; Calculate the ratio of the information entropy before and after optimization. The calculation formula is: , if is less than 1, it indicates that the optimization reduces the disorder degree of the system and the optimization effect is good; Calculate the optimization order degree improvement coefficient. The calculation formula is: , where is the optimization order degree improvement coefficient; Calculate the optimization effect coefficient according to the vibration optimization effective coefficient and the optimization order degree improvement coefficient.
[0010] Optionally, the steps to calculate the optimization effect coefficient according to the vibration optimization effective coefficient and the optimization order degree improvement coefficient are: ; where is the optimization effect coefficient, and are the vibration optimization effective coefficient and the optimization order degree improvement coefficient respectively, are and 's preset proportional values respectively, and are both greater than 0.
[0011] Optionally, evaluating whether the process parameter optimization is effective includes: Compare the optimization effect coefficient with the preset optimization effect coefficient threshold. If the optimization effect coefficient is not less than the preset optimization effect coefficient threshold, it indicates that the process parameter optimization to reduce the abnormal vibration of the production line is effective; If the optimization effect coefficient is less than the preset optimization effect coefficient threshold, it indicates that the process parameter optimization to reduce the abnormal vibration of the production line is ineffective. At this time, control the production line to stop running and send out an alarm signal.
[0012] Optionally, the steps to judge whether it is necessary to continue optimizing the process parameters according to the vibration signal prediction result and the vibration signal of the production line to control the vibration of the production line are: Calculate the deviation value between the predicted vibration signal and the real-time vibration signal after optimizing the process parameters. If the deviation value is still not less than the preset maximum allowable deviation value, continue to adjust and optimize the production process parameters until the deviation value is less than the preset maximum allowable deviation value, and the optimization effect coefficient after optimizing the process parameters again is not less than the preset optimization effect coefficient threshold. Then, control the production line to produce PCB boards according to the corresponding production process parameters.
[0013] In the second aspect of the implementation of the present invention, a control system for a vertical three-in-one production line for PCB production is proposed. The system includes: Data acquisition module: Deploy vibration sensors on the PCB vertical three-in-one production line to obtain the vibration signals on the production line in real time. During the process of producing PCB on the PCB vertical three-in-one production line, the PCB board is clamped and placed in a vertically suspended state, and slag removal, drilling, and electroplating are continuously completed on the production line. Preliminary optimization module: Utilize the historical vibration data of the PCB vertical three-in-one production line during PCB production to establish a prediction model of vibration signals through a long short-term memory network, predict the future vibration signals of the current production line during PCB production, and adjust and optimize the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards. Judgment and evaluation module: Obtain the vibration signals of the production line and the working current of the production line within a period of time after the adjustment of the process parameters is completed, and calculate the optimization effect coefficient to evaluate whether the optimization of the process parameters is effective. Optimization control module: If the optimization of the process parameters is effective, obtain the vibration signals of the production line again, and judge whether it is necessary to continue to optimize the process parameters according to the vibration signal prediction results and the vibration signals of the production line, so as to realize the control of the vibration of the production line.
[0014] Advantages of the present invention: 1. The present invention proposes a control method and system for a vertical three-in-one production line for PCB production. By vertically suspending the PCB board and continuously completing slag removal, drilling, and electroplating on the same production line, not only the manual or mechanical handling links are eliminated, significantly reducing the production time, but also the plating solution can evenly cover the entire board surface, improving the consistency of the coating quality and electrical performance; it can significantly improve production efficiency and reduce costs.
[0015] 2. When abnormal vibration occurs on the production line, the system can respond in a timely manner and adjust the process parameters in a timely manner, thereby reducing the impact on the quality of PCB production; in addition, it can dynamically optimize the process parameters during slag removal, drilling, and electroplating of PCB according to the actual situation, achieving the ultimate goal of suppressing abnormal vibration, reducing the possibility of potential impact on the equipment of the production line, and improving the quality of PCB boards. Description of the Drawings
[0016] The following further describes the present invention with reference to the accompanying drawings.
[0017] Figure 1 It is a flowchart of a control method for a vertical three-in-one production line for PCB production; Figure 2 It is a framework diagram of a control system for a vertical three-in-one production line for PCB production. Specific embodiments
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0019] Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0020] The embodiments of the present invention provide a control method for a vertical three-in-one production line for PCB production. Refer to Figure 1 , Figure 1 It is a flowchart of a control method for a vertical three-in-one production line for PCB production provided by the embodiments of the present invention. The method includes the following steps: Deploy vibration sensors on the PCB vertical three-in-one production line to obtain vibration signals on the production line in real time; during the process of producing PCB on the PCB vertical three-in-one production line, the PCB board is clamped and placed in a vertically suspended state, and slag removal, drilling, and electroplating are continuously completed on the production line; Utilize the historical vibration data of the PCB vertical three-in-one production line during the production of PCB, establish a prediction model of vibration signals through a long short-term memory network, predict the future vibration signals of the current production line during the production of PCB, and adjust and optimize the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards; Obtain the vibration signals of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed to calculate the optimization effect coefficient, which is used to evaluate whether the process parameter optimization is effective; If the process parameter optimization is effective, obtain the vibration signals of the production line again, and judge whether it is necessary to continue to optimize the process parameters according to the vibration signal prediction results and the vibration signals of the production line to achieve the control of the vibration of the production line.
[0021] Based on the control method of a vertical three-in-one production line for PCB production provided by the embodiments of the present invention, through the above method, when abnormal vibration occurs, the system can respond in a timely manner, adjust the process parameters in a timely manner, thereby reducing the impact on the quality of PCB production; in addition, sometimes during the process parameter optimization, the process parameters during PCB slag removal, punching and electroplating production can be dynamically optimized according to the actual situation, achieving the ultimate expectation of suppressing abnormal vibration, reducing the possibility of potential impact on the equipment of the production line, and improving the quality of PCB boards.
[0022] In one embodiment, the steps of deploying vibration sensors on the PCB vertical three-in-one production line and obtaining vibration signals on the production line in real time are as follows: Determine the acquisition target of the vibration signal: First, it is necessary to clarify which part of the PCB vertical three-in-one production line to install vibration sensors to obtain vibration signals in real time; these signals should include key parts related to the operation state of the production line, such as the vibration characteristics of the transmission device, fixture fixing points, copper plating tank, electroplating tank, etc.; it is also necessary to determine the vibration frequency range and signal strength to be monitored.
[0023] Select a suitable vibration sensor: According to the frequency, amplitude of the vibration signal and the sensitivity required by the sensor, select a suitable accelerometer, displacement sensor or velocity sensor; generally, the vibration frequency range of the PCB production line is between dozens of Hz and hundreds of Hz, and a sensor suitable for this range is selected; according to the vibration characteristics of the equipment in each production process, reasonably select the sensor installation position to ensure that the most important vibration signals can be captured; a three-axis accelerometer can be selected to capture vibration signals in three-dimensional directions. For specific processes, single-axis or multi-axis sensors can be selected according to needs. And transmit the output signal of the sensor to the data acquisition system through a suitable cable and connector. When wiring, it is necessary to ensure avoiding mechanical interference and interference with other parts of the production line.
[0024] Deploy a data acquisition system to receive and store vibration signals collected by sensors in real time; these signals can be analog or digital, and are processed using an appropriate analog-to-digital conversion (ADC) device depending on the output type of the sensor. Ensure that the data acquisition frequency is high enough to capture key vibration changes; in addition, the real-time transmission of sensor signals can use wireless transmission technology (such as Wi-Fi, Bluetooth) or wired transmission technology (such as RS485, Ethernet) to transmit the signal to the data processing platform in real time; the data acquisition system should have certain signal processing functions (such as denoising, filtering) to ensure signal stability during transmission; monitor the vibration signals of the production line in real time through the data processing platform, and sample, store and preliminarily analyze the vibration data. This process should minimize signal delays to ensure real-time data transmission and feedback.
[0025] Vibration signal feature extraction: Extract key features from real-time vibration signals, such as root mean square (RMS) value, peak value, spectral characteristics, etc. These features will serve as input for subsequent vibration prediction models.
[0026] In one embodiment, the historical vibration data of the PCB vertical three-in-one production line during normal operation of the PCB production is used to establish a vibration signal prediction model through a long short-term memory network to predict the vibration signal of the current production line in the future when producing PCBs, and the production process parameters are adjusted and optimized according to the vibration signal prediction results and the real-time vibration signal to control the production line to produce PCB boards; Among them, the historical vibration data of the PCB vertical three-in-one production line when producing qualified PCBs is used to establish a prediction model of vibration signals through a long short-term memory network. The specific steps for predicting the vibration signal of the current production line in the future when producing PCBs are as follows: First, collect historical vibration data of the production line; this data usually includes timestamp, raw data of vibration signals (such as acceleration, velocity or displacement), sensor location, etc.; make sure the data covers a period of time in order to capture the periodic characteristics and trends of the vibration signal.
[0027] Data cleaning and denoising: Clean the collected vibration data, remove missing values and outliers, and perform normalization to eliminate the influence of different dimensions, so that the contribution of each feature to the model is more balanced.
[0028] The collected historical data is divided into training set, validation set and test set. Usually, the training set is used to train the model, the validation set is used for hyperparameter tuning and mid-term evaluation, and the test set is used to verify the final model performance. The data division ratio is generally 70% (training set), 15% (validation set) and 15% (test set).
[0029] Define the input and output structure: According to the time series characteristics of vibration signals, design the input and output structure of the LSTM model. Assuming that the goal of the model is to predict vibration signals in the future for a certain period of time, a certain time step (such as vibration data in the past 10 minutes or 30 minutes) can be selected as the input, and the output is the predicted value of vibration in the future for 1 minute, 10 minutes or longer. For example, the input of the model may include vibration data of several past time steps, and the output is the vibration value of future time steps (such as vibration acceleration or speed in the future 1 minute).
[0030] Design the number of layers and neurons of the LSTM network. The number of layers of the LSTM model generally ranges from 1 to 3 layers, and the number of neurons in each layer can be adjusted according to the complexity of the data. Usually, more complex data may require more LSTM layers and a larger number of neurons. For example, use 2 layers of LSTM, with 128 neurons in each layer.
[0031] Select activation functions and optimizers: The activation functions in the LSTM model usually use the tanh and sigmoid functions. The former is used for the hidden state, and the latter is used for the forget gate. The Adam optimizer is often selected as the optimizer because it can adaptively adjust the learning rate and performs stably during training. The loss function usually uses the mean squared error (MSE) for regression tasks.
[0032] Use the training set data to train the LSTM model. The goal is to adjust the weights and biases in the network through the backpropagation algorithm to minimize the error between the predicted vibration signal and the true vibration signal. The training process will process data in batches, and update the model parameters once for each training.
[0033] Iterative optimization: Through multiple rounds of training, use the training set data to continuously optimize the model parameters. During training, the change of the loss function can be monitored to ensure that the model converges to a better solution. Usually, after each round of training, evaluate the performance of the model on the validation set, and adjust hyperparameters such as the learning rate and batch size to avoid overfitting or underfitting.
[0034] By using the early stopping strategy, monitor the performance on the validation set. When the loss on the validation set no longer improves, stop training. At the same time, regularization methods such as dropout layers or L2 regularization can also be used to avoid the model overfitting the training data.
[0035] Evaluate the model: Judge the prediction effect of the model by evaluating the model on the validation set and the test set. Evaluation metrics such as the mean squared error (MSE) and mean absolute error (MAE) can be calculated to measure the prediction error. The better the performance of the model, the stronger its ability to predict future vibration signals.
[0036] Vibration signal prediction: After the training is completed, the trained LSTM model is used to predict the vibration signals in the future time period. By inputting the vibration data at the current moment, the model will generate the predicted values of the vibration signals for future time steps. These predicted values can be used to evaluate the vibration trend during the production process, predict future vibration changes, predict the vibration signals of the current production line during the production of PCBs in the future for a period of time, and adjust and optimize the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCBs; Among them, the steps of adjusting and optimizing the production process parameters according to the vibration signal prediction results and real-time vibration signals to control the production line to produce PCBs are as follows: Compare the predicted vibration signal with the real-time obtained vibration signal, and calculate the deviation value between them. Once the deviation value is not less than the preset maximum allowable deviation value, immediately adjust and optimize the production process parameters to control the production line to produce PCBs.
[0037] It should be noted that the preset maximum allowable deviation value is set by professionals according to the actual situation, and no specific limitation and elaboration are made.
[0038] In one implementation method, through the above method, it is possible to timely discover and respond to potential production anomalies based on the combination of real-time data and prediction information, rather than relying solely on historical data or static rules, thereby improving the stability and efficiency of the production process; when abnormal vibrations occur, the system can respond in a timely manner to ensure that the process parameters can be adjusted in a timely manner to reduce the impact on the production quality of PCBs; by dynamically adjusting the process parameters, the production line can maintain the optimal performance in a fluctuating working environment, not only reducing equipment failures caused by vibration problems, but also ensuring that the quality of the produced PCBs is more consistent, improving the overall production efficiency and product qualification rate; at the same time, this closed-loop control method helps with real-time feedback and optimization, reduces the risks in the production process, and increases the adaptability and intelligence level of the production line.
[0039] In one embodiment, the steps of adjusting and optimizing the production process parameters to control the production line to produce PCBs are as follows: The production process parameters include transmission speed, liquid flow pressure, and the pressure of the fixture fixing the PCB. Take the deviation value between the predicted vibration signal and the real-time vibration signal as the input item of fuzzy logic, and divide them into fuzzy sets respectively. Take the production process parameters as the output item of fuzzy logic and divide them into different fuzzy sets. Formulate fuzzy rules to describe the influence of the deviation value between the predicted vibration signal and the real-time vibration signal on the production process parameters. Fuzzy inference is carried out according to fuzzy rules to optimize the production process parameters of the current production line and control the production of PCB boards on the production line.
[0040] It should be noted that the steps of adjusting and optimizing the production process parameters, combined with the specific implementation process of fuzzy logic control, can be specifically divided into the following key links: 1. Calculation of vibration signal deviation value and fuzzy set division; First, it is necessary to compare the future vibration signal predicted by the long short-term memory network (LSTM) model with the vibration signal collected in real time, and calculate the deviation value between the two. This deviation value represents the difference between the actual vibration and the predicted vibration, reflecting the working state of the production line. If the deviation value is large, it indicates that the current production state deviates from the expected target, which may lead to abnormal vibration. Next, this deviation value is input into the fuzzy logic system and divided into different fuzzy sets according to the preset criteria, such as: "small deviation", "medium deviation" and "large deviation".
[0041] 2. Fuzzy set division of production process parameters; In fuzzy logic control, the production process parameters (transmission speed, liquid flow pressure and fixture fixing pressure) are used as output items and need to be divided into different fuzzy sets. For example: Transmission speed: can be divided into "slow", "moderate" and "high speed"; Liquid flow pressure: can be divided into "low pressure", "moderate" and "high pressure"; Fixture fixing pressure: can be divided into "light pressure", "moderate" and "heavy pressure".
[0042] These fuzzy sets represent the adjustment ranges of different process parameters and are used to control the vibration impact during the production process.
[0043] 3. Formulation of fuzzy rules: According to the actual production experience and experimental data, formulate fuzzy rules to describe the relationship between the deviation value and the process parameters. These rules will guide how to adjust the production process parameters according to the size of the deviation value. For example: If the deviation value is "large deviation", then "reduce the transmission speed", "increase the liquid flow pressure" and "increase the fixture fixing pressure" should be taken to reduce the vibration; If the deviation value is "medium deviation", then "appropriately reduce the transmission speed" and "adjust the liquid flow pressure" can be taken; If the deviation value is "small deviation", then it may not be necessary to adjust the process parameters and keep the existing state.
[0044] The fuzzy rules are based on the experience accumulation in production and put forward corresponding process adjustment suggestions for different vibration states.
[0045] 4. Fuzzy Inference and Process Parameter Optimization; Fuzzy inference is to perform inference calculations on the input fuzzy values (i.e., deviation values) and fuzzy rules to obtain the corresponding output fuzzy set (i.e., the optimized production process parameters); for example, inputting "large deviation" may result in "low speed", "high pressure", and "heavy pressure" as the output of the optimized process parameters. Through the results of fuzzy inference, the optimized production process parameters can adjust the operating state of the production line, control the vibration during the production process, and reduce the impact of abnormal vibration on production quality and efficiency.
[0046] 5. Process Parameter Control and Vibration Monitoring; Finally, the optimized process parameters obtained through fuzzy inference are fed back into the production line to adjust parameters such as transmission speed, liquid flow pressure, and fixture fixing pressure, so that the production line is in a more stable working state. Vibration signals are monitored in real time to ensure the effectiveness of the optimization measures. If the optimized process parameters still cannot significantly reduce vibration, re-optimization is required; Among them, fuzzy inference is calculated based on the input fuzzy values (i.e., deviation values) and the set fuzzy rules to derive the optimized production process parameters. This process is mainly implemented through a fuzzy inference system (Fuzzy Inference System, FIS). Common methods include Mamdani-type fuzzy inference and Sugeno-type fuzzy inference. In this process, the deviation value is used as the input, and inference is performed with relevant fuzzy rules, and the corresponding output is obtained through the intersection and union operations of fuzzy sets. For example, if the deviation value of the vibration signal is "large deviation", it may indicate that the production line is in an abnormal state. Then, according to the rule inference, the optimized production process parameters may be "low-speed transmission", "high-pressure liquid flow", and "heavy-pressure fixture". The specific inference steps are as follows: Fuzzification: First, convert the input precise data (such as the deviation value of the vibration signal) into a fuzzy set. For example, the deviation value between 0 and 100 may be divided into "small deviation", "medium deviation", and "large deviation". These fuzzy values are calculated through a membership function, which maps the numerical value to the corresponding fuzzy set. Common types of membership functions include triangular, trapezoidal, Gaussian, etc.
[0047] Rule Base Application: Based on the input fuzzy values and the formulated fuzzy rules, the output is inferred; the rules can be derived through a fuzzy inference algorithm (such as Mamdani-type inference) to determine the output fuzzy set.
[0048] Defuzzification: Through the defuzzification operation, the output value of the fuzzy set is converted into specific and operable process parameters. Commonly used defuzzification methods include the centroid method and the max membership method. For example, the process parameter "low speed" calculated by the centroid method may be quantified as a specific transmission speed, such as 2 meters per minute, and "high pressure" may be quantified as a specific liquid flow pressure value, such as 15 bar.
[0049] Through these steps, fuzzy inference can effectively optimize production process parameters, enabling the production line to quickly take adjustment measures in case of abnormal vibration, avoiding further quality problems and efficiency reduction.
[0050] In one implementation, this production process optimization based on fuzzy logic control can not only respond to changes in vibration signals in real time, but also make flexible adjustments according to the continuously changing state in the actual production process, improving production efficiency, ensuring the quality of PCB boards, and reducing potential risks brought by abnormal vibration.
[0051] In one embodiment, within a period of time after the process parameters are adjusted, the vibration signal of the production line and the working current of the production line are used to calculate the optimization effect coefficient to evaluate whether the process parameter optimization is effective; Among them, the steps of calculating the optimization effect coefficient by using the vibration signal of the production line and the working current of the production line within a period of time after the process parameters are adjusted are as follows: Obtain the real-time vibration signal before the process parameters are adjusted , and calculate the average error before optimization, that is, the deviation between the measured vibration data and the predicted vibration data. The calculation formula is: ; In the formula, is the average error before optimization, is the th real-time vibration signal before optimization, is the predicted th vibration signal before optimization, represents the number of sampling points before optimization; Obtain the real-time vibration signal within a period of time after the process parameters are adjusted , and calculate the average error after optimization, that is, the deviation between the measured vibration data and the predicted vibration data. The calculation formula is: ; In the formula, is the average error after optimization, is the th real-time vibration signal after optimization, is the predicted th vibration signal after optimization, represents the number of sampling points after optimization; Calculate the root mean square error (RMSE) before and after optimization to measure the overall deviation of vibration, which can amplify larger errors. The calculation formula is: , where is the RMSE before optimization; ; is the RMSE after optimization; RMSE calculates the square root of the mean of the squared errors, which can reduce the influence of small errors and highlight the contribution of large errors.
[0052] The RMSE after optimization should be lower than that before optimization, indicating that the optimization reduces the vibration deviation; Calculate the error attenuation coefficient , and the calculation formula is: ; Calculate the standard deviation of vibration before and after optimization and , and according to and calculate the standard deviation ratio to measure the degree of dispersion of vibration. The calculation formula is: ; According to the error attenuation coefficient and the standard deviation ratio calculate the vibration optimization effectiveness coefficient , and the calculation formula is: ; Calculate the optimization effect coefficient according to the vibration optimization effectiveness coefficient and the working current of the production line.
[0053] It should be noted that the smaller the error attenuation coefficient and the smaller the standard deviation ratio, the better the optimization effect of the process parameter vibration. It is used to measure the degree of error reduction. The smaller it is, the more effective the optimization; It is used to measure the stability of vibration. The smaller it is, the more effective the optimization; It should be noted that the real-time vibration signals before and after the adjustment of process parameters can be obtained through the installed sensors; the predicted vibration signals before and after optimization can be directly obtained through the output of the trained model; It should be noted that the larger the vibration optimization effective coefficient and the closer it is to 1, the smaller the impact of the vibration of the production line after adjusting the process parameters on the production line and the production of PCB boards. The vibration optimization effective coefficient is jointly determined by the error attenuation coefficient and the vibration stability. Among them, the error attenuation coefficient reflects the reduction of the vibration error after optimization, and the vibration stability measures the dispersion degree of the vibration signal. If the vibration optimization effective coefficient is close to 1, it indicates that the vibration error after optimization is significantly reduced, the vibration signal tends to be stable, and the impact on the production equipment and the production of PCB boards is significantly reduced, and the optimization effect is ideal; on the contrary, if the optimization effective coefficient is small, it indicates that the effect of the optimization measures is not good, the vibration is still relatively intense or the error attenuation is not obvious. Combining the root mean square error, standard deviation ratio and error attenuation coefficient of the vibration before and after optimization, the optimization effect of the process parameter adjustment on the vibration signal can be comprehensively evaluated, so as to guide further parameter optimization and improve the stability of the production process and product quality.
[0054] In one implementation, by calculating the average error and root mean square error of the vibration signal, the deviation of the vibration signal before and after the process adjustment can be measured, and then the change of the vibration state of the production line before and after optimization can be revealed. This calculation method can effectively highlight large errors and reduce the interference of small errors, so that the significant changes in the optimization process are more prominent and easy to identify and analyze. Secondly, by calculating the error attenuation coefficient, the actual effect of the optimization measures in reducing the vibration deviation can be understood, while the standard deviation ratio helps to evaluate the volatility and dispersion degree of the vibration after optimization, which is crucial for judging whether the optimization measures bring a more stable production environment. Finally, by comprehensively calculating these indicators to obtain the vibration optimization effective coefficient, the comprehensive effect of the optimization measures can be fully reflected, ensuring that the vibration of the production line is more stable through process adjustment, so as to provide data support for subsequent optimization decisions.
[0055] In one embodiment, the steps of calculating the optimization effect coefficient according to the vibration optimization effective coefficient and the working current of the production line are as follows: Obtain the motor current of the production line at multiple moments before the process parameters are optimized , and subtract the motor current at the previous moment from the motor current at the current moment to obtain the current change rate at the corresponding moment before optimization , indicating the current change rate at the th moment before optimization; Obtain the motor current of the production line at multiple moments after the process parameters are optimized , and subtract the motor current at the previous moment from the motor current at the current moment to obtain the current change rate at the corresponding moment after optimization , indicating the current change rate at the th moment after optimization; Divide and into intervals, calculate the probability distribution of each interval, and the calculation formula is: , , where and respectively represent the probabilities that the current change rates before and after optimization fall into the th interval; represents the number of divided intervals (which can be selected according to the data distribution); Calculate the information entropy before and after optimization respectively, and the calculation formula is: , , where and are the information entropies before and after optimization respectively; Calculate the ratio of the information entropy before and after optimization, and the calculation formula is: , if is less than 1, it indicates that the optimization reduces the disorder degree of the system and the optimization effect is good; Calculate the optimization order degree improvement coefficient, and the calculation formula is: , where is the optimization order degree improvement coefficient; Calculate the optimization effect coefficient according to the vibration optimization effective coefficient and the optimization order degree improvement coefficient.
[0056] It should be noted that the current sensors or power monitoring devices on the production line will collect the current values of the motor at different time points and store them in the database or industrial control system (such as SCADA or PLC); subsequently, data cleaning is performed through data processing software or programming languages (such as Python, MATLAB) to remove outliers, and the current change rate between adjacent moments is calculated in chronological order. Then, statistical analysis is performed on the data, and the current change rate is divided into different intervals using the histogram or kernel density estimation method to calculate the probability distribution. Finally, the change in the disorder degree of the system before and after optimization is calculated through the information entropy formula, so as to obtain the optimization order degree improvement coefficient.
[0057] It should be noted that the larger the optimization order degree improvement coefficient is, the smaller the impact of the vibration of the production line after adjusting the process parameters on the production line and the production of PCB boards. Because the decrease in information entropy means that the uncertainty or disorder within the system has been effectively controlled, which in turn makes the current change rate more stable and consistent. This stable current change usually indicates that the production line is more stable in the optimized operating state, and can reduce mechanical shocks, vibrations and failures caused by irregular current fluctuations, thereby improving production efficiency and the production quality of PCB boards. In this way, the optimization not only improves the electrical performance of the production line, but also greatly reduces the potential negative impacts on equipment, processes and the final product, thus realizing a more accurate and efficient production process.
[0058] In one implementation method, by calculating the current change rate and dividing the interval to calculate the probability distribution, the patterns of current fluctuations before and after optimization can be intuitively understood, so as to better evaluate whether the optimization measures have produced substantial effects in reducing system volatility and improving system stability. Next, through the calculation of information entropy, the "disorder degree" of the system can be effectively quantified, and the change in the disorder degree of the system before and after optimization can be calculated through the ratio, which is very crucial for judging whether the process adjustment has brought more orderly and stable current fluctuations. And the situation where the information entropy ratio is less than 1 indicates that the optimization has indeed played a role in reducing system fluctuations and improving system stability. Finally, calculating the optimization order degree improvement coefficient can integrate these data, providing a comprehensive and clear quantitative result for the optimization effect of the production line, enabling further optimization decisions to be based on reliable data support.
[0059] In one embodiment, the steps for calculating the optimization effect coefficient according to the vibration optimization effective coefficient and the optimization order degree improvement coefficient are as follows: ; In the formula, is the optimization effect coefficient, and are the vibration optimization effective coefficient and the optimization order degree improvement coefficient respectively, are respectively and 's preset proportional values, and are both greater than 0; It should be noted that is set by professionals according to the actual situation. Generally, 's sum is 1. For example, can be 0.5, 0.5 respectively, or other numbers, and no specific limitation is made.
[0060] In one embodiment, within a period of time after the adjustment of process parameters is completed, the vibration signal of the production line and the working current of the production line are used to calculate an optimization effect coefficient to evaluate whether the optimization of process parameters is effective; Among them, evaluating whether the optimization of process parameters is effective includes: Comparing the optimization effect coefficient with a preset optimization effect coefficient threshold. If the optimization effect coefficient is not less than the preset optimization effect coefficient threshold, it indicates that the optimization of process parameters to reduce the abnormal vibration of the production line is effective; If the optimization effect coefficient is less than the preset optimization effect coefficient threshold, it indicates that the optimization of process parameters to reduce the abnormal vibration of the production line is ineffective. At this time, the production line is controlled to stop running and an alarm signal is issued.
[0061] It should be noted that the preset optimization effect coefficient threshold is set by professionals according to the actual situation, and specific details are not limited and will not be elaborated.
[0062] In one implementation manner, in the vertical three-in-one production line for PCB production, it is a key link for stable operation and efficient production.
[0063] By comparing the optimization effect coefficient with the preset optimization effect coefficient threshold, it is possible to scientifically and quantitatively judge whether the adjustment of process parameters has achieved the expected effect. If the optimization effect coefficient is not less than the preset threshold, it means that through the adjustment of process parameters, the abnormal vibration of the production line has been effectively suppressed, and the stability and operation efficiency of the production line have been improved; at this time, the production line can continue to operate efficiently and maintain its normal production rhythm.
[0064] On the contrary, if the optimization effect coefficient is less than the preset optimization effect coefficient threshold, it indicates that the adjustment of process parameters has not effectively reduced the vibration, and there are still large fluctuations in the production line, which may affect the production quality and even damage the equipment. In this case, in order to prevent greater losses, the control system will automatically stop the operation of the production line and issue an alarm signal to remind the staff to carry out maintenance; this measure can maximize the avoidance of continuing production in an unstable vibration environment, ensure the long-term safe operation of the equipment, and provide time and space for subsequent adjustment and optimization to further ensure the stability and production quality of the production line.
[0065] This evaluation method based on the optimization effect coefficient can not only detect problems in a timely manner and take measures, but also provide data support for the continuous optimization of process parameters, ultimately ensuring the efficient and stable operation of the vertical three-in-one production line during the PCB production process.
[0066] In one embodiment, if the optimization of process parameters is effective, the vibration signal of the production line is obtained again, and it is judged whether it is necessary to continue to optimize the process parameters according to the vibration signal prediction result and the vibration signal of the production line, so as to realize the control of the vibration of the production line; Among them, the steps of judging whether it is necessary to continue to optimize the process parameters according to the vibration signal prediction result and the vibration signal of the production line to realize the control of the production line vibration are as follows: Calculate the deviation value between the predicted vibration signal after optimizing the process parameters and the real-time vibration signal. If the deviation value is still not less than the preset maximum allowable deviation value, continue to adjust and optimize the production process parameters until the deviation value is less than the preset maximum allowable deviation value, and the optimization effect coefficient after optimizing the process parameters again is not less than the preset optimization effect coefficient threshold. Then, control the production line to produce PCB boards according to the corresponding production process parameters.
[0067] It should be noted that by calculating the deviation value between the predicted vibration signal after optimization and the real-time vibration signal, the vibration state in the current production process is judged. If the deviation value is still greater than the preset maximum allowable deviation value, it indicates that the current process parameters still cannot completely eliminate the vibration problem of the production line. Therefore, it is necessary to further adjust and optimize the production process parameters. Through this process, the production line can be continuously adjusted until the vibration deviation value drops within the preset range, and at the same time, the optimization effect coefficient must also reach the preset threshold to ensure that the optimization effect of the process parameters meets the expectations. When the vibration reaches the acceptable range and the optimization effect coefficient meets the requirements, the system will continue to control the operation of the production line according to the final production process parameters to complete the production of PCB boards.
[0068] In one implementation manner, the vibration is reduced by continuously optimizing the process parameters to avoid the decrease in production efficiency or equipment damage caused by vibration problems. Secondly, through refined control, the precision of PCB production can be greatly improved, ensuring the consistency and reliability of product quality. If not adjusted in time, excessive vibration may affect the quality of PCB boards and even cause the shutdown of the production line. Through this method, each step in the production process can be carried out under the most optimized process parameters, thereby improving the working efficiency of the production line, reducing the fluctuations in production, reducing the occurrence of rework and defective products, and ultimately enhancing the overall production efficiency.
[0069] Based on the same inventive concept, the embodiment of the present invention also provides a control system for a vertical three-in-one production line for PCB production. Refer to Figure 2 , Figure 2 which is a framework diagram of a control system for a vertical three-in-one production line for PCB production provided by the embodiment of the present invention. The system includes: Data acquisition module: Deploy vibration sensors on the PCB vertical three-in-one production line to obtain the vibration signals on the production line in real time; during the process of producing PCB on the PCB vertical three-in-one production line, the PCB board is clamped and placed in a vertically suspended state, and slag removal, drilling, and electroplating are continuously completed on the production line; Preliminary optimization module: Using the historical vibration data of the PCB vertical three-in-one production line when producing PCBs, a vibration signal prediction model is established through a long short-term memory network to predict the future vibration signals of the current production line when producing PCBs. The production process parameters are adjusted and optimized based on the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards; Judgment and evaluation module: Obtain the vibration signal of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed to calculate the optimization effect coefficient, which is used to evaluate whether the process parameter optimization is effective; Optimization control module: If the process parameter optimization is effective, the vibration signal of the production line is obtained again, and based on the vibration signal prediction result and the vibration signal of the production line, it is determined whether the process parameters need to be further optimized to achieve control of the production line vibration.
[0070] Based on a control system of a vertical three-in-one production line for PCB production provided by an embodiment of the present invention, through the above-mentioned method, when abnormal vibration occurs, the system can respond in time and adjust the process parameters in time, thereby reducing the impact on the PCB production quality; in addition, sometimes in the process of optimizing the process parameters, the process parameters of PCB slag removal, drilling and electroplating production can be dynamically optimized according to the actual situation, so as to achieve the ultimate expectation of suppressing abnormal vibration, reduce the possibility of potential impact on the equipment of the production line, and improve the production quality of PCB boards.
[0071] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be used to artificially limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.
Claims
1. A control method for a vertical three-in-one production line for PCB production, characterized in that: The following steps are involved: Vibration sensors are deployed on the PCB vertical three-in-one production line to obtain vibration signals on the production line in real time; during the production of PCBs, the PCB vertical three-in-one production line clamps the PCB boards so that they are placed in a vertical hanging state, and continuously completes slag removal, drilling and electroplating on the production line; Using the historical vibration data of the PCB vertical three-in-one production line when producing PCBs, a vibration signal prediction model is established through a long short-term memory network to predict the future vibration signals of the current production line when producing PCBs. The production process parameters are adjusted and optimized based on the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards; Obtain the vibration signal of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed to calculate the optimization effect coefficient, which is used to evaluate whether the process parameter optimization is effective; If the process parameter optimization is effective, the vibration signal of the production line is obtained again, and based on the vibration signal prediction result and the vibration signal of the production line, it is determined whether the process parameters need to be further optimized to achieve control of the production line vibration.
2. The control method of a vertical three-in-one production line for PCB production according to claim 1, characterized in that: According to the vibration signal prediction results and real-time vibration signals, the production process parameters are adjusted and optimized. The steps of controlling the production line to produce PCB boards are as follows: The predicted vibration signal is compared with the real-time vibration signal, and the deviation between them is calculated. Once the deviation is not less than the preset maximum deviation, the production process parameters are immediately adjusted and optimized to control the production line to produce PCB boards.
3. The control method of a vertical three-in-one production line for PCB production according to claim 2, characterized in that: The steps to adjust and optimize the production process parameters and control the production line to produce PCB boards are as follows: The production process parameters include transmission speed, liquid flow pressure and clamp fixing PCB board pressure; The deviation between the predicted vibration signal and the real-time vibration signal is used as the input item of fuzzy logic and divided into fuzzy sets respectively; Taking the production process parameters as the output items of fuzzy logic, they are divided into different fuzzy sets; Formulate fuzzy rules to describe the impact of the deviation between the predicted vibration signal and the real-time vibration signal on the production process parameters; Fuzzy reasoning is performed based on fuzzy rules to optimize the production process parameters of the current production line and control the production line to produce PCB boards.
4. The control method of a vertical three-in-one production line for PCB production according to claim 1, characterized in that: The steps for obtaining the vibration signal of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed and calculating the optimization effect coefficient are as follows: Obtain the real-time vibration signal before process parameter adjustment and calculate the average error before optimization ; Obtain the real-time vibration signal within a period of time after the process parameters are adjusted, and calculate the average error after optimization ; Calculate the optimized root mean square error And the optimized root mean square error ; according to , , , Calculating the Error Attenuation Factor , the calculation formula is: ; Calculate the vibration standard deviation before and after optimization and ,according to and Calculate the standard deviation ratio , used to measure the discreteness of vibration: the calculation formula is: ; According to the error attenuation coefficient and standard deviation ratio Calculation of vibration optimization effectiveness factors , the calculation formula is: ; The optimization effect coefficient is calculated based on the vibration optimization effectiveness coefficient and the working current of the production line.
5. The control method of a vertical three-in-one production line for PCB production according to claim 4, characterized in that: The steps to calculate the optimization effect coefficient based on the vibration optimization effectiveness coefficient and the working current of the production line are: Obtain the motor current of the production line at multiple times before process parameter optimization , and subtract the motor current at the previous moment from the current moment to obtain the current change rate at the corresponding moment before optimization , Indicates the optimization before The rate of change of current at a given moment; Obtain the motor current of the production line at multiple times after process parameter optimization , and subtract the motor current at the previous moment from the motor current at the current moment to obtain the current change rate at the corresponding moment after optimization , After optimization, The rate of change of current at a given moment; Will and Divide intervals, calculate the probability distribution of each interval, and the calculation formula is: , , where and Respectively indicate that the current change rate before and after optimization falls in The probability of an interval; The information entropy before and after optimization is calculated respectively, and the calculation formula is: , , where and are the information entropy before and after optimization respectively; Calculate the ratio of information entropy before and after optimization , the calculation formula is: ; Calculate the optimization order improvement coefficient, the calculation formula is: , where To optimize the orderliness improvement coefficient; The optimization effect coefficient is calculated based on the vibration optimization effectiveness coefficient and the optimization order improvement coefficient.
6. The control method of a vertical three-in-one production line for PCB production according to claim 5, characterized in that: The steps for calculating the optimization effect coefficient based on the vibration optimization effectiveness coefficient and the optimization order improvement coefficient are as follows: In the formula, To optimize the effect coefficient, and They are the vibration optimization effectiveness coefficient and the optimization order improvement coefficient, They are and The preset ratio value of Both are greater than 0.
7. The control method of a vertical three-in-one production line for PCB production according to claim 1, characterized in that: Evaluation of whether process parameter optimization is effective includes: The optimization effect coefficient is compared with the preset optimization effect coefficient threshold. If the optimization effect coefficient is not less than the preset optimization effect coefficient threshold, it means that the process parameter optimization is effective in reducing the abnormal vibration of the production line. If the optimization effect coefficient is less than the preset optimization effect coefficient threshold, it means that the process parameter optimization to reduce the abnormal vibration of the production line is ineffective. At this time, the production line is controlled to stop running and an alarm signal is issued.
8. The control method of a vertical three-in-one production line for PCB production according to claim 7, characterized in that: According to the vibration signal prediction results and the vibration signal of the production line, it is determined whether the process parameters need to be further optimized. The steps to control the vibration of the production line are as follows: Calculate the deviation between the predicted vibration signal and the real-time vibration signal after process parameter optimization. If the deviation is still not less than the preset maximum allowable deviation, continue to adjust and optimize the production process parameters until the deviation is still less than the preset maximum allowable deviation, and the optimization effect coefficient after optimizing the process parameters again is not less than the preset optimization effect coefficient threshold, then control the production line to produce PCB boards according to the corresponding production process parameters.
9. A control system for a vertical three-in-one production line for PCB production, used to implement a control method for a vertical three-in-one production line for PCB production as described in any one of claims 1 to 8, characterized in that: The system comprises: Data acquisition module: Vibration sensors are deployed on the PCB vertical three-in-one production line to obtain vibration signals on the production line in real time; during the production of PCBs, the PCB vertical three-in-one production line clamps the PCB board so that it is in a vertical hanging state, and continuously completes slag removal, drilling and electroplating on the production line; Preliminary optimization module: Using the historical vibration data of the PCB vertical three-in-one production line when producing PCBs, a vibration signal prediction model is established through a long short-term memory network to predict the future vibration signals of the current production line when producing PCBs. The production process parameters are adjusted and optimized based on the vibration signal prediction results and real-time vibration signals to control the production line to produce PCB boards; Judgment and evaluation module: Obtain the vibration signal of the production line and the working current of the production line within a period of time after the process parameter adjustment is completed to calculate the optimization effect coefficient, which is used to evaluate whether the process parameter optimization is effective; Optimization control module: If the process parameter optimization is effective, the vibration signal of the production line is obtained again, and based on the vibration signal prediction result and the vibration signal of the production line, it is determined whether the process parameters need to be further optimized to achieve control of the production line vibration.
Citation Information
Patent Citations
Automatic continuous electroplating method
CN105682377A
Urban scene electromagnetic medium parameter rapid inversion method
CN117131755A
Photovoltaic module production control method and system based on fuzzy control
CN118550262A
Method and system for controlling servo motor in servo system
CN118826583A
Precision machine tool spindle intelligent control system based on data analysis
CN119002371A
Cited By
Numerical control drilling method for double-sided printed circuit board production line
CN121397890A
A numerical control drilling method for double-sided printed circuit board production line
CN121397890B