Mould frame pressing method for safety shoe production line and shoe mould frame

Through the SVM regression model and automatic differentiation method combined with the discrete PID controller, the intelligent dynamic adjustment of the shoe mold frame compression device of the labor insurance shoe production line is realized, which solves the problem of mismatch between the expansion time of different sole raw materials and the pressure of the compression device. , improving production efficiency and product quality.

CN118596453AInactive Publication Date: 2024-09-06ZHEJIANG BAISHUN SHOES CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411080991.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The shoe mold frame compression device of the existing labor protection shoe production line cannot intelligently and dynamically adjust the pressure, resulting in a mismatch between the expansion time of different sole materials and the pressure of the compression device, which can easily cause sole damage or the formation of foaming cavities.

Method used

The SVM regression model is used to predict the relationship between the expansion time of the shoe sole material and the pressure applied, and combined with the automatic differential method and the discretized PID controller, the applied pressure of the hydraulic cylinder is adjusted in real time to achieve intelligent dynamic adjustment of the shoe mold frame compression device. .

Benefits of technology

It improves production efficiency, reduces sole damage and the formation of foaming cavities, improves product quality and the automation level of the production line, and adapts to different batches and production specifications of sole raw materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118596453A
    Figure CN118596453A
Patent Text Reader

Abstract

The invention discloses a mold frame pressing method for a safety shoe production line and a shoe mold frame. The invention relates to the technical field of safety shoe production. Comprising a prediction function f (x) in a regression form, expansion time serving as a dependent variable x serves as input of the prediction function f (x), the prediction function f (x) executes dot product operation on a support vector xi based on a radial basis kernel function K (x, xi), and prediction output serves as an expected value r of thrust of a dependent variable y; the independent variable xK value and the dependent variable yK value at the K moments in the step S1 are recorded, and the input sequence is updated; at the current moment, calculating the gradient G of a current prediction function f (x) for the input sequence by using an automatic differential method; according to the method, the SVM regression model and the automatic differential method are introduced, so that intelligent dynamic adjustment of the pressing force of the pressing device is realized. The adjusting mechanism can accurately adjust the pressure applying force in real time according to the expansion time of different sole raw materials, and uncertainty caused by the fact that a traditional method depends on experience or a trial and error method is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of labor insurance shoe production, specifically to the technical field of shoe mold frames for labor insurance shoes, and particularly to a mold frame pressing method and a shoe mold frame used in a labor insurance shoe production line. Background Art

[0002] The soles of safety shoes are preferably made of polyurethane material, which has extremely high wear resistance and is usually more than 6 times more wear-resistant than rubber, ensuring that the safety shoes can remain in good condition after long-term use. At the same time, the specific gravity of polyurethane soles is only 0.3~0.8, which is much lighter than commonly used sole materials, making the safety shoes lighter and convenient for workers to wear for a long time.

[0003] The preparation of the soles of labor protection shoes usually relies on a shoe mold frame, which is mainly composed of an upper mold, a lower mold, a shoe last, and a clamping device. The current sole production process mainly includes the following steps: first, inject polyurethane material into the mold core of the lower mold; then insert the shoe last and close the mold, at which time a foaming cavity is formed between the shoe last and the mold core; the polyurethane material is cooled and formed in this foaming cavity. Since polyurethane will expand during the foaming process, a clamping device is required to apply pressure to the shoe mold frame to prevent the upper mold from being pushed open when the polyurethane expands.

[0004] However, due to the differences in raw material additives of different soles, these raw materials have different thermal expansion coefficients, and thus the expansion time in the shoe mold frame is also different. When the traditional shoe mold frame pressing device applies force, if the force is insufficient, the expansion of polyurethane may push the upper mold open or leave a foaming cavity inside the sole. In order to avoid this problem, the existing technology generally tends to adjust the pressure too large, but this is likely to cause damage to the sole or produce flash.

[0005] To address this challenge, the current solution is to set a subjective force value for different sole materials through empirical methods or trial and error. However, when faced with sole materials from different batches and production specifications, this traditional subjective value assignment method seems to be inadequate. For example: (1) CN202222604497.0 discloses a shoe mold frame clamping device for a shoe production line (publication date: 2023-01-03), which is intended to prevent the channel steel from simultaneously driving all the pressing plates to separate from the shoe mold frame, resulting in the failure of individual soles made of different raw materials to expand. However, the device still relies on manual subjective operation, which is not only inefficient, but also unable to effectively handle the nonlinear relationship of the thermal expansion coefficient of the raw materials and make corresponding effective adjustments.

[0006] (2) CN202023274971.5 discloses a shoe mold frame clamping device for a shoe production line (publication date: 2021-11-09), which can more firmly fix the shoe mold. However, if the manual operation is improper and excessive force is applied, it is easy to cause the sole to be damaged.

[0007] (3) CN201620587462.2 discloses a shoe mold frame clamping device for an automated shoe production line (publication date: 2016-12-21), which uses the pressure of an external cylinder to lock the upper and lower molds of the shoe mold frame on the automated polyurethane shoe production line. However, this method that relies solely on external force also lacks an intelligent adjustment mechanism, and excessive thrust may also cause damage to the sole.

[0008] To this end, the present invention provides a mold frame pressing method and a shoe mold frame for a labor protection shoe production line. Summary of the invention

[0009] In view of this, the present invention hopes to provide a mold frame pressing method and a shoe mold frame for a labor protection shoe production line to solve or alleviate the technical problems existing in the prior art, namely, how to deal with the expansion time of different sole materials and the pressure of the pressing device, and then intelligently and dynamically adjust the pressure, and at least provide a beneficial option for this; the technical solution of the present invention is implemented as follows: First, the mold frame pressing method for labor protection shoes production line: 1. Overview: The present invention aims to solve the above technical problems. The relationship between the expansion time and pressure of the sole material is predicted by using the SVM regression model, the expected value is dynamically adjusted by the automatic differentiation method, and the pressure of the hydraulic cylinder is controlled in real time in combination with the discrete PID controller, so as to realize the intelligent dynamic adjustment of the mold frame pressing device on the labor protection shoe production line to cope with the difference in the expansion time of different sole materials, improve production efficiency and reduce the damage of the sole and the formation of foaming cavity.

[0010] (II) Improvement ideas: 2.1 Introduction of PID controller theory: The hydraulic cylinder of the clamping device of the traditional mold frame is based on PLC program control. Based on this hardware, a continuous PID controller algorithm can be introduced into the hydraulic cylinder: ; Where: e(τ) is the deviation value at time t; τ is an integral variable (time point); K p , K i and K dThey are proportional gain, integral gain and differential gain respectively. u(t) is the control electrical signal at time t; e(t) is the deviation between the set value and the actual value: e(t) = r(t)-y(t); where r(t) is the set value and y(t) is the actual value.

[0011] 2.2 Discrete PID controller: Considering the actual application scenario of the present invention, in order to dynamically adjust the pressure of the hydraulic cylinder, a correction term that changes dynamically with the discrete step length is introduced. The expression of the corrected and discrete PID controller is: ; Where: u(k) is the (control) electrical signal at sampling time k. e(k) and e(k-1) are the deviations at sampling time k and k-1 respectively; e(j) represents the deviation value at sampling time j: ; Where: r(j) is the set value (expected value) at sampling time j, and y(j) is the actual value at the same sampling time j.

[0012] This mode allows the hydraulic servo system to dynamically adjust according to the current expansion time of the sole material in the shoe mold frame to optimize the control effect. For example, when the expansion time is long, r(j) can be increased to amplify the thrust (pressure) of the hydraulic cylinder to prevent the foaming cavity from forming; conversely, r(j) can be reduced to reduce the pressure of the hydraulic cylinder to avoid damage to the sole.

[0013] At this point, the technical context of this solution has been made clear: how to dynamically assign the expected value r(j).

[0014] (III) Technical solution: In order to dynamically assign the correction factor α(k), the present invention selects to introduce the SVM regression model to perform the regression task. The specific technical solution includes the following steps S1 to S3.

[0015] 3.1 Step S1, read the SVM regression model: The prediction function f(x) is a regression-type prediction function. The expansion time as the dependent variable x is used as the input of the prediction function f(x). The prediction function f(x) is based on the radial basis kernel function K(x,x i ) for the support vector x i A dot product operation is performed to predict and output the expected value r of the thrust as the dependent variable y, which specifically includes the following steps S100-S101.

[0016] 3.1.1 Step S100, prediction: The prediction method of the prediction function f(x) is: ; Where: α i and is the Lagrange multiplier; b is the bias term; x i is the ith support vector, and n is the number of support vectors.

[0017] 3.1.2 Step S101, dot product operation: Radial basis kernel function K(x,x i ) performs the dot product operation as follows: ; Where: Υ is a hyperparameter; σ is the control radial basis kernel function K(x,x i )'s radial range of action. ||xx i || 2 are the independent variables x and the support vectors x i The square of the Euclidean distance between them; the radial basis kernel function K(x,x i ) is responsible for mapping the input independent variable x into a high-dimensional space and combining it with the support vector x i Performs a dot product operation to handle complex nonlinear relationships between independent variables x and dependent variables y.

[0018] 3.2 Method of training SVM regression model: Although the SVM regression model is used in step S1 above, the model still needs to be trained before it can be actually deployed; the training method is as follows: 3.2.1 The first step, data engineering: Collect historical data of the soles that have neither foaming cavity nor damage, extract different expansion time a (i.e., independent variable x) and their corresponding pressure b (i.e., dependent variable y), and form a data set D: D=[(a1,b1),(a2,b2),...,(a m ,b m )]; Among them, (a i ,b i ) is the i-th sample, and m is the number of samples.

[0019] 3.2.2 The second step is to establish the optimization problem: Find a hyperplane (determine its position by finding a normal vector W) that divides all the data points in the dataset D and form support vectors x from it i At the same time, the radial basis kernel function K(x,x) in step S101 is introduced. i ) to implicitly implement the dot product operation in high-dimensional space; At the same time, the ε-insensitive loss function is introduced to constrain the convex optimization problem. When the absolute value of the difference between the predicted value and the true value is less than or equal to the radius ε, the prediction is considered accurate and the loss is 0. Once the absolute value of the difference between the predicted value and the true value exceeds this range, the loss will accumulate linearly.

[0020] 3.2.3 The third step, training: The k-fold cross-validation method is introduced in the training to continuously solve the above optimization problem; the data set D is randomly divided into k subsets of equal size (D1, D2, ..., D k ), the loop executes the following steps: (1) Update and select a subset D i As the test set D test , and the remaining subsets are combined as training set D train ; (2) In the training set D train In the optimization problem, the QP algorithm is used to solve the optimization problem; it is responsible for finding a set of Lagrange multipliers α i and α i *, and determine the position of the hyperplane W; (3) Use the test set D test Test the trained SVM model and record the recall rate; (4) Select the model hyperparameters obtained from the round of training that minimizes the mean square error (MSE) as the optimal model hyperparameters; that is, the Lagrange multiplier α i and α i *, normal vector W, bias term b, penalty coefficient C and hyperparameter Υ; (5) Stop training when the model converges or reaches the predetermined number of iterations.

[0021] 3.3 Step S2, execute prediction compensation mechanism: Record the independent variable x in step S1 at K moments K value and dependent variable y K value, and update the input sequence; At the current moment, use the automatic differentiation method to calculate the gradient G of the current prediction function f(x) for the input sequence; Each time step S2 is executed, the adaptive learning rate α is updated according to the automatic differentiation method; At each moment j, the expected value r is corrected and updated to the expected value r(j)' according to the calculated gradient G and the adaptive learning rate α.

[0022] 3.3.1 Step S200, calculate the gradient G: The gradient G is a vector whose elements represent the partial derivative of the prediction function f(x) with respect to the independent variable x: ; 3.3.2 Step S201, update the adaptive learning rate α according to the AdaGrad algorithm of automatic differentiation method: The AdaGrad algorithm dynamically updates the learning rate α by accumulating the sum of squares of all previous gradients i : ; in: is the i-th adaptive learning rate in the t-th iteration; η is a global learning rate, which is a positive decimal; g i,k It is the i-th gradient corresponding to the prediction function f(x) at the k-th iteration; It is a very small positive number (generally assigned to 10 to the negative power of 8 in the field of automatic differentiation) used to prevent the denominator from being zero and to ensure numerical stability.

[0023] 3.3.3 Step S202, based on the calculated gradient G and adaptive learning rate , update the input sequence: Assume that the input sequence mentioned above is C, and apply the gradient descent method to it: ; in: It is the partial derivative of the input of the prediction function f(x) with respect to the expected value r.

[0024] The automatic differentiation method can calculate the gradient of the prediction function f(x) relative to each control input, and realize the adaptive learning rate by dynamically adjusting the learning rate of each control input. In the case of sparse data or uneven feature distribution, the calculated gradient and adaptive learning rate are used to update the control input sequence, and the deviation of the dependent variable y (that is, the error of the historical expected value r) is continuously corrected, so as to gradually approach the optimal solution.

[0025] 3.4 Step S3, execute PID controller: As described in 2.2 above, based on the expected value r(j)', a PID controller is applied to first calculate the deviation value e(j): ; Where: r(j)' is the expected value obtained in step S2 at sampling time j, and y(j) is the actual value at the same sampling time (which can be a preset value or the expected value at the previous time); Then, the discretized PID controller is applied to obtain the electrical signal u(k): ; Where: u(k) is the (control) electrical signal at sampling time k. e(k) and e(k-1) are the deviations at sampling time k and k-1 respectively. K p , K i and K d They are proportional gain, integral gain and differential gain respectively. After obtaining the electrical signal u(k), the hydraulic cylinder of the mold frame is controlled.

[0026] 3. Mechanisms for solving technical problems: The present invention first uses the SVM (support vector machine) regression model to predict the most suitable expected value of the pressure according to the expansion time of the sole material (as an input variable). This prediction process fully considers the nonlinear relationship of the thermal expansion coefficient of the raw material, ensuring the accuracy of the prediction result. Through the automatic differentiation method, the present invention can calculate the gradient of the prediction function with respect to the expansion time in real time, and then dynamically adjust the expected value according to the gradient information to achieve intelligent adaptive adjustment. This mechanism ensures that the pressure can be quickly and accurately adjusted to the optimal state under different expansion times.

[0027] The discrete PID controller is introduced to combine the above adjustment mechanism with the actual control of the hydraulic cylinder. The PID controller continuously calculates the deviation between the set value and the actual value, and performs feedback adjustment based on the three gains of proportion, integration and differentiation, and finally outputs a control electrical signal to the hydraulic cylinder to achieve precise control of the pressure. This closed-loop control system ensures that the pressure can be dynamically adjusted as the expansion time of the sole material changes, effectively avoiding sole damage and the formation of foaming cavities.

[0028] Second, shoe mold frames for labor protection shoes production lines: It comprises a frame and a receiving cavity for receiving a mold frame, the frame is slidably matched with a moving frame, a cylinder body and a piston rod of a servo electric cylinder are respectively fixed on the frame and the moving frame, and when the piston rod of the servo electric cylinder is extended or retracted, the moving frame can be controlled to move away from or close to the receiving cavity; A hydraulic cylinder with a piston rod facing downward is provided in the movable frame, and a pressing plate for pressing the upper die of the die frame is fixed to the piston rod of the hydraulic cylinder, and the pressing plate is adapted to the accommodating cavity; The mold frame clamping device also includes a processor and a memory connected to the processor, wherein program instructions are stored in the memory. When the program instructions are executed by the processor, the processor executes the mold frame clamping method as described above, and the generated electrical signal u(k) will be transmitted to a PLC controller, which will control the hydraulic cylinder.

[0029] Compared with the prior art, the present invention has the following beneficial effects: 1. Intelligent dynamic adjustment: The present invention realizes intelligent dynamic adjustment of the pressure of the clamping device by introducing the SVM regression model and automatic differentiation method. The adjustment mechanism can adjust the pressure in real time and accurately according to the expansion time of different sole materials, avoiding the uncertainty caused by relying on experience or trial and error in traditional methods.

[0030] Second, reduce the defective rate: Since the pressure can be controlled, the present invention reduces the probability of sole damage and foaming cavity formation caused by improper force application. It can not only reduce the defective rate and production costs, but also improve product quality.

[0031] 3. Improve production flexibility: Faced with different batches and different production specifications of sole materials, the present invention can quickly adapt and adjust the pressure without manual intervention or frequent changes in equipment parameters. The high flexibility enables the production line to respond to different production tasks more flexibly, improving production efficiency and response speed.

[0032] 4. Improve the level of automation: This invention further improves the level of automation of the production line by introducing PID controller and automatic adjustment mechanism, which not only reduces the skill requirements for operators, but also reduces the labor intensity of workers and improves the safety and comfort of the working environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 It is a schematic diagram of the method flow of the present invention; Figure 2 It is a three-dimensional schematic diagram of the shoe mold frame of the present invention; Figure 3 Schematic diagram of the training method of the SVM regression model of the present invention; Figure 4 It is a schematic diagram of finite element simulation of stress of the control group of the test example of the present invention; Figure 5 It is a schematic diagram of finite element simulation of stress of an experimental group of a test example of the present invention; Figure 6 It is a schematic diagram for deformation comparison between the experimental group and the control group of the test example of the present invention.

[0035] Figure numerals: 1, frame, 101, accommodating chamber; 2, moving frame; 3, mechanical arm; 4, servo electric cylinder; 5, hydraulic cylinder; 6, pressure plate. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below; It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0037] Example 1: Please refer to Figure 1 This embodiment discloses a mold frame pressing method for a labor protection shoe production line; in actual application, this method needs to be implemented based on the shoe mold frame disclosed in Example 5 as a hardware carrier. When the method is executed, it includes the following steps S1 to S3.

[0038] In this embodiment, regarding step S1, the SVM regression model is read: in the mold frame pressing process of the safety shoe production line, in order to intelligently and dynamically adjust the pressure of the pressing device to adapt to the expansion time changes of different sole materials, this embodiment introduces a support vector machine (SVM) regression model. The model can predict the optimal expected value of the pressure (as the output variable y) based on the expansion time of the sole material (as the input variable x); it specifically includes the following steps S100~S101.

[0039] Specifically, step S100, prediction: In the SVM regression model, the prediction function f(x) plays a core role, which predicts the output variable y (i.e., the expected value r of the thrust) based on the input variable x (i.e., the expansion time of the sole material). The specific form of the prediction function f(x) is as follows: ; Where: α i and is a Lagrange multiplier obtained by the training method of Example 2, and is used to indicate the contribution of each support vector to the prediction result; b is a bias term, and is used to adjust the baseline of the prediction result; x i is the i-th support vector, which is also obtained through the training method in Example 2, and they together constitute the decision boundary of the model; n is the number of support vectors.

[0040] It should be noted that the prediction function f(x) is calculated by comparing the input variable x with all support vectors x i The similarity between them (through the radial basis kernel function K(x,x i ) is implemented), and weighted summation is performed to finally obtain the predicted value of the output variable y. This mechanism enables the model to handle complex nonlinear relationships, thereby more accurately predicting the optimal pressure under different expansion times.

[0041] Specifically, in step S101, in the prediction function f(x), the radial basis kernel function K(x,xi) is responsible for performing the dot product operation, and its specific form is as follows: ; Among them: Υ is a hyperparameter; σ is the width parameter of the radial range of the control function. ||xx i || 2 are the independent variables x and the support vectors x i The square of the Euclidean distance between them; the radial basis kernel function K(x,x i ) is responsible for mapping the input independent variable x into a high-dimensional space and combining it with the support vector x i Perform dot product operations to handle complex nonlinear relationships.

[0042] It should be noted that the radial basis kernel function K(x,x i ) by calculating the input variable x and the support vector x i The kernel function takes the Euclidean distance between the input variables x and maps it to a high-dimensional space. In this high-dimensional space, points with higher similarity (i.e., points with closer distance) will get larger kernel function values, while points with lower similarity (i.e., points with farther distance) will get smaller kernel function values. In this way, the kernel function can capture the complex nonlinear relationship between the input variable x and different support vectors, and pass this information to the prediction function f(x) to achieve more accurate predictions.

[0043] It can be understood that by introducing the SVM regression model, this embodiment can intelligently and dynamically adjust the pressure of the pressing device according to the expansion time of the sole material. Specifically, the model can predict the expected value of the pressure required to achieve the best molding effect under different expansion times. This dynamic adjustment mechanism significantly improves the flexibility and adaptability of the production line and reduces the problem of sole foaming cavity or damage caused by improper pressure.

[0044] The mechanism is that the model is trained based on a large amount of historical data (including different expansion times and their corresponding optimal pressure forces), so as to learn the complex relationship between expansion time and pressure force. By mapping the input variables to a high-dimensional space through the radial basis kernel function and performing dot product operations, the model can handle complex nonlinear relationships and improve the accuracy of predictions. During the model training process, by continuously iteratively optimizing the Lagrange multiplier and bias term, the model can adaptively adjust the prediction results to better adapt to changes in actual production.

[0045] Furthermore, the Python program form of the SVM regression model in step S1 is as follows: import numpy as np class SVMRegressor: def __init__(self, support_vectors, alphas, b, gamma, sigma): """ :param support_vectors: support vector array, shape is (n_support_vectors, n_features) :param alphas: Lagrange multiplier array, shape (n_support_vectors,) :param b: bias term :param gamma: hyperparameter Υ :param sigma: controls the width of the radial range of the function """ self.support_vectors = support_vectors self.alphas = np.array(alphas) self.b = b self.gamma = gamma self.sigma = sigma def predict(self, x): """ Make predictions for the input variable x :param x: input variable array, shape is (n_samples, n_features) :return: prediction result array, shape is (n_samples,) """ n_samples, _ = x.shape n_support_vectors = self.support_vectors.shape[0] K_x_xi = np.zeros((n_samples, n_support_vectors)) # Calculate the radial basis kernel function K(x, xi) for i in range(n_support_vectors): dist_sq = np.sum((x - self.support_vectors[i, :]) ** 2,axis=1) K_x_xi[:, i] = np.exp(-self.gamma * dist_sq / (2 *self.sigma ** 2)) # Calculate the prediction function f(x) f_x = np.dot(K_x_xi, (self.alphas - self.alphas[::-1])) +self.b return f_x support_vectors = np.array([[...], [...], ...]) alphas = np.array([...]) b = ... gamma = ... sigma = ... # Create a model instance # model = SVMRegressor(support_vectors, alphas, b, gamma, sigma) # predictions = model.predict(test_data) # test_data is the test data In the above program: (1) In the __init__ method, the model accepts support vectors, Lagrange multipliers, bias terms, hyperparameters Υ, and width parameters σ as inputs, and the SVM regression model is encapsulated in the SVMRegressor class. This class is responsible for initializing the model parameters (including support vectors, Lagrange multipliers, bias terms, hyperparameters Υ, and width parameters σ) and provides a predict method to perform the prediction task.

[0046] (2) The predict method receives an input variable array x, which contains multiple samples, each with the same feature dimension. The method first calculates the square of the Euclidean distance between the input variable x and each support vector, and then uses these distances to calculate the value of the radial basis kernel function K(x, xi). Then, the prediction result f(x) is obtained by weighted summation (the weight is the difference of Lagrange multipliers) and adding a bias term.

[0047] (3) When it is necessary to predict the pressure applied to a new sole material during its expansion time, the expansion time can be passed as an input variable to the predict method to obtain the expected value of the predicted pressure.

[0048] The training data of the SVM regression model used in step S1 is derived from the historical records of the safety shoes production line, which contain examples of various sole materials that did not produce foaming cavities and were not damaged during the mold frame pressing process. However, it is difficult to obtain all of the above examples in practice. Therefore, in this specific sparse parameter environment, this embodiment further introduces step S2 to correct the SVM regression model.

[0049] In this embodiment, regarding step S2, the prediction compensation mechanism is intended to achieve precise control of the pressure applied by the hydraulic cylinder by dynamically adjusting the expected value r by calculating the gradient of the prediction function f(x) in real time and combining it with an adaptive learning rate α.

[0050] First, record the independent variable x in step S1 (i.e., SVM regression model prediction) at K moments K (swelling time of the sole material) value and dependent variable y K (The corresponding expected value of the applied pressure). As time goes by, new data points are added and the input sequence is updated to reflect the latest relationship between expansion time and applied pressure.

[0051] Each time step S2 is executed, the adaptive learning rate α is updated according to the automatic differentiation method; at each time j, the expected value r is corrected and updated to the expected value r(j)' according to the calculated gradient G and the adaptive learning rate α. It specifically includes the following steps S200-S202.

[0052] Specifically, step S200 calculates the gradient G: the gradient G is a vector, each element of which represents the partial derivative of the prediction function f(x) with respect to the independent variable x: ; In which, each component of G represents the K Under this condition, the dependent variable (i.e., the expected value of the pressure intensity f(x K ))Sensitivity to expansion time.

[0053] Specifically, step S201, according to the AdaGrad algorithm, the adaptive learning rate α is updated: the learning rate α is dynamically updated by accumulating the square sum of all previous gradients i : ; in: is the i-th adaptive learning rate in the t-th iteration; η is a global learning rate, which is a positive decimal; g i,k It is the i-th gradient corresponding to the prediction function f(x) at the k-th iteration; Only in this step is it a very small positive number (generally assigned to 10 to the power of -8 in the field of automatic differentiation) used to prevent the denominator from being zero and ensure numerical stability.

[0054] The algorithm dynamically adjusts the learning rate of each parameter by accumulating the sum of squares of all previous gradients, so that the learning rate of frequently updated parameters gradually decreases, while the learning rate of sparsely updated parameters is relatively high. This mechanism helps to improve the training effect and generalization ability of the model by dynamically adjusting the learning rate when the data is sparse or the features are unevenly distributed. The principle is: The AdaGrad algorithm maintains a gradient history by accumulating the sum of squares of all previous gradients. The accumulated value reflects the degree and importance of the change. The algorithm automatically adjusts the learning rate based on the size of the accumulated gradient. Control inputs with large accumulated gradients have a lower learning rate because the input has been updated more in previous iterations; conversely, control inputs with small accumulated gradients have a relatively high learning rate for further exploration and optimization. The global learning rate η controls the basic magnitude of the learning rate, while ϵ, as a small positive number, ensures that the denominator is not zero, thus avoiding numerical instability.

[0055] Specifically, in step S202, during each iteration, the system calculates the gradient G calculated by the automatic differentiation method and the adaptive learning rate obtained by the AdaGrad algorithm. To update the input sequence (ie, the expected value r), update the input sequence: ; in: It is the partial derivative of the input of the prediction function f(x) with respect to the expected value r.

[0056] It can be understood that the automatic differentiation method is used to calculate the gradient of the prediction function f(x) with respect to each control input, including the expected value r. This gradient information reflects the direction and degree of influence of the current control input on the system output. The AdaGrad algorithm dynamically adjusts the learning rate for each control input based on the historical gradient information. For control inputs that have been fully updated, the learning rate will be reduced; for those control inputs that still need further exploration, the learning rate will be relatively high. Using the calculated gradient and adaptive learning rate, the system updates the input sequence (i.e., the expected value r). This process aims to gradually reduce the deviation between the actual value and the set value by adjusting the expected value, thereby optimizing the output of the system.

[0057] Therefore, in practice, by adaptively adjusting the expected value r, the system can more accurately dynamically adjust the pressure of the hydraulic cylinder according to the current sole material expansion time and the actual pressure feedback. This helps to improve control accuracy and reduce sole quality problems caused by overpressure or underpressure. In the case of sparse data or uneven feature distribution, the introduction of adaptive learning rate enables the system to cope with various production environments more stably. By dynamically adjusting the learning rate, the system can avoid system oscillations caused by excessive changes in a single control input. In addition, the intelligent dynamic adjustment mechanism enables the system to adapt to different sole materials and production conditions more quickly, thereby improving production efficiency and product quality. At the same time, it reduces the time and labor costs required for manual parameter adjustment.

[0058] Furthermore, the Python execution program of step S2 is as follows: import numpy as np def gradient_f(x, w): # Predict the gradient of the function f(x) with respect to x return w # Parameters of the AdaGrad algorithm eta = 0.1 # global learning rate epsilon = 1e-8 # Prevent small positive numbers with zero denominator # Initialization parameters w = np.array([0.1, 0.2]) # weight parameter b = 0.0 # Bias term G_sq = np.zeros_like(w) # Accumulation of squared gradients # Input x and true value y x = np.array([..., ...]) y = ... # true value # Iteration process (only shown once here) for t in range(1): # Calculate predicted values r = f(x, w, b) # Calculate the gradient of the prediction function with respect to r grad_r = np.array([1.0]) # AdaGrad algorithm updates the learning rate G_sq += np.square(grad_r) alpha = eta / np.sqrt(G_sq + epsilon) # Update the input sequence (update the expected value r) # Adjust model parameters to approximate r w -= alpha * grad_r # Update In the above program, the gradient of the prediction function with respect to the input x is calculated by the function gradient_f. The learning rate is dynamically adjusted based on the accumulation of historical gradient squares using the AdaGrad algorithm. For each control input, there is a corresponding learning rate. Finally, the control input sequence is updated based on the calculated gradient and the adaptive learning rate.

[0059] In this embodiment, regarding step S3, a PID controller is executed: First calculate the deviation value e(j): ; Where: r(j)' is the expected value obtained in step S2 at sampling time j, which takes into account the effect of the expansion time of the sole material on the pressure and makes corresponding corrections. And y(j) is the actual value at the same sampling time, which can be a preset value or the expected value at the previous time (if the system needs continuous adjustment).

[0060] Then, the discretized PID controller is applied: ; Where: u(k) is the (control) electrical signal at sampling time k, which is used to control the pressure of the hydraulic cylinder. e(k) and e(k-1) are the deviations at sampling time k and k-1 respectively. K p , K i and K d They are proportional gain, integral gain and differential gain respectively.

[0061] After the control electrical signal u(k) is calculated, it can be applied to the control system of the hydraulic cylinder to dynamically adjust the pressure of the hydraulic cylinder. According to the output of the PID controller, the control system can respond to the expansion of the sole material in the shoe mold frame in real time and adjust the pressure to prevent the foaming cavity from forming or the sole from being damaged.

[0062] It is understandable that by introducing the PID controller and SVM regression model, the system can adjust the pressure in real time according to the expansion time of the sole material to achieve intelligent dynamic control. This control method can significantly improve the adaptability and flexibility of the production line to cope with different types of sole materials. Accurate pressure control helps to reduce the deformation and damage of the sole during the production process and improve the qualified rate of the product. At the same time, by avoiding the molding of the foaming cavity, the appearance quality and comfort of the product can be improved. Dynamic adjustment of the pressure can reduce unnecessary energy waste and reduce production costs. In addition, by improving product quality and qualified rate, the additional cost caused by defective product processing can also be reduced.

[0063] Furthermore, the Python execution program of step S3 is as follows: import numpy as np import time #PID parameters Kp = 1.0 # Proportional gain Ki = 0.1 # Integral gain Kd = 0.05 # Differential gain # Initialize variables previous_error = 0 integral = 0 # r_prime is the predicted value, y_actual is the actual value r_prime = [100, 105, 110, 108, 102] # Prediction value sequence y_actual = [95, 102, 109, 107, 100] # Actual value sequence #PLC communication function def send_to_plc(control_signal): print(f"Sending control signal to PLC: {control_signal}") # Execute PID control for j in range(len(r_prime)): error = r_prime[j] - y_actual[j] # Calculate the deviation integral += error # Update the integral term derivative = error - previous_error # Calculate the derivative # Calculate the control electrical signal u_k = Kp * error + Ki * integral + Kd * derivative # Send control electrical signal to PLC send_to_plc(u_k) # Update the error value previous_error = error # The sampling interval is 1 second time.sleep(1) In the above program, at each sampling moment, the deviation, integral term and differential term are calculated. The PID formula is applied to calculate the control electrical signal u(k). The control electrical signal is sent using the PLC communication function send_to_plc (pymodbus library). The error value is updated for use at the next sampling moment. The sampling interval is set to 1 second.

[0064] Embodiment 2: Figure 3 Although step S1 in the first embodiment uses the SVM regression model, the model still needs to be trained before use; the training method includes the following three steps: Step 1, Data Engineering: The data comes from the historical records of the labor protection shoes production line. These records include a variety of cases where the sole materials did not produce foaming cavities and were not damaged during the mold frame pressing process. From these historical records, the sole material expansion time (recorded as a, i.e., the independent variable x) and the corresponding pressure (recorded as b, i.e., the dependent variable y) of each successful case were extracted to form the data set D: D=[(a1,b1),(a2,b2),...,(a m ,b m )]; Among them, (a i ,b i ) is the i-th sample, and m is the number of samples.

[0065] It is understandable that some conventional data preprocessing operations may also be performed on the data set D, including removing erroneous values, missing values, normalization, etc.

[0066] The second step is to establish the optimization problem: The aim is to find an optimal hyperplane (defined by its normal vector W) to divide the data points in the data set D through mathematical programming methods, and at the same time introduce the radial basis kernel function to deal with the complex relationship between data points in high-dimensional space: ; Where: C is the penalty coefficient, which is used to control the trade-off between model complexity and fitting data. i and i * is a slack variable that allows some data points of some samples in the dataset D to deviate from the hyperplane to a certain extent. Φx i is to x i Functions mapped to high-dimensional space; in order to handle the complex relationship of data in high-dimensional space: ; The symbol “< >” represents the dot product operation, which means calculating the dot product of any two vectors x in the high-dimensional space. i and x j The similarity of i It performs linear partitioning of high-dimensional space in a specific form.

[0067] By establishing an optimization problem and introducing the radial basis kernel function, the SVM regression model can more accurately capture the complex relationship between expansion time and pressure, thereby improving prediction accuracy. The optimization problem solving process enables the model to automatically learn the underlying laws in the data and maintain good prediction performance on new data.

[0068] It is understandable that this optimization problem essentially states: (1) Nonlinear mapping and dot product operation: The radial basis kernel function maps the data into a high-dimensional space and performs a dot product operation in this space, thereby achieving effective processing of nonlinear relationships.

[0069] (2) Slack variables and penalty coefficients: By introducing slack variables and penalty coefficients, the optimization problem allows data points to deviate from the hyperplane to a certain extent, while controlling the balance between the complexity of the model and the fitting data, thereby enhancing the robustness and generalization ability of the model.

[0070] Constrained convex optimization problem: Introducing the ε-insensitive loss function L ε (y',f(x)) to constrain the convex optimization problem. The purpose of this step is to further regulate the model's tolerance to prediction errors by defining a specific loss function, thereby optimizing the model's prediction performance: ; Where y' is the true value of the dilation time a. ε refers to the radius of the insensitive region, which is used to control the model's tolerance to prediction errors.

[0071] When the absolute value of the difference between the predicted value f(x) and the true value y' is less than or equal to ε, the prediction is considered accurate and the loss is 0. This means that within this range, the model has a high tolerance for prediction errors and will not incur losses due to small errors. When the absolute value of the difference between the predicted value f(x) and the true value y' exceeds ε, the loss accumulates linearly. This means that outside this range, the model has a low tolerance for prediction errors and will calculate the loss based on the size of the error. Therefore, after the introduction of the ε-insensitive loss function, the original optimization problem will be constrained by this loss function, and in the solution process, the model will try to make accurate predictions within the ε range as much as possible, while punishing prediction errors that exceed the ε range.

[0072] It is understandable that by introducing the ε-insensitive loss function, the model's tolerance for prediction errors is controlled to a certain extent, thereby improving the robustness of the model. Even if there is a certain deviation between the predicted value and the actual value in some cases, as long as this deviation is within the ε range, the model will not be penalized too much. The solution process of the constrained convex optimization problem enables the model to predict as accurately as possible within the ε range, while effectively penalizing prediction errors that exceed the ε range, thereby optimizing the model's prediction performance.

[0073] Step 3: Training: The k-fold cross-validation method is introduced in the training to continuously solve the above optimization problem; the data set D is randomly divided into k subsets of equal size (D1, D2, ..., D k ), the loop executes the following steps: (1) Update and select a subset D i As the test set D test , and the remaining subsets are combined as training set D train ; (2) In the training set D train In the optimization problem, the QP algorithm is used to solve the optimization problem; it is responsible for finding a set of Lagrange multipliers α i and α i *, and determine the position of the hyperplane W by: Assume a Lagrangian function L and introduce a set of Lagrangian multipliers ,in : ; Where l is the number of samples in the training set Dtrain; About L Find the partial derivative and set it to 0, and we get: ; Substituting these relations into the Lagrangian function, we obtain a function that only contains the Lagrangian multiplier α i and α i * and solve the dual problem to obtain the optimal Lagrange multiplier α i and . Then use them to determine the position of the hyperplane W (which can be determined by α i and α i * and the corresponding support vector x i At the same time, we can also use the support vector x i To directly obtain the value of the bias term b.

[0074] (3) Use the test set D test Test the trained SVM model and record the recall rate.

[0075] (4) Select the model hyperparameters obtained from the round of training that minimizes the mean square error (MSE) as the optimal model hyperparameters; that is, the Lagrange multiplier α i and α i *, normal vector W, bias term b, penalty coefficient C and hyperparameter Υ; (5) Stop training when the model converges or reaches the predetermined number of iterations.

[0076] Furthermore, the Python execution program of the training method of this embodiment is as follows: class SVMRegressor(BaseEstimator, RegressorMixin): def __init__(self, C=1.0, epsilon=0.1, kernel='rbf', gamma='scale', degree=3, coef0=0.0, tol=1e-3, nu=0.5, shrinking=True, cache_size=200, verbose=False, max_iter=-1, random_state=None): """ Initialize the SVM regression model :param C: penalty coefficient :param epsilon: ε in the ε-insensitive loss function :param kernel: kernel function type, default is 'rbf' :param gamma: kernel function coefficient, default is 'scale' :param degree: degree of the polynomial kernel function :param coef0: independent terms of polynomial kernel and sigmoid kernel :param tol: Error limit for stopping training :param nu: ν - ν parameter of SVR :param shrinking: whether to use heuristic shrinking :param cache_size: kernel function cache size :param verbose: whether to enable verbose output :param max_iter: maximum number of iterations, -1 means unlimited :param random_state: The seed for the random number generator """ self.C = C self.epsilon = epsilon self.kernel = kernel self.gamma = gamma self.degree = degree self.coef0 = coef0 self.tol = tol self.nu = nu self.shrinking = shrinking self.cache_size = cache_size self.verbose = verbose self.max_iter = max_iter self.random_state = random_state self.svr = None def fit(self, X, y): """ Training the model :param X: feature matrix of training data :param y: target value of training data :return: The fitted model """ # Data standardization scaler = StandardScaler() X_scaled = scaler.fit_transform(X) # Use k-fold cross validation kf = KFold(n_splits=5, shuffle=True, random_state=self.random_state) best_mse = float('inf') best_model = None for train_index, test_index in kf.split(X_scaled, y): X_train, X_test = X_scaled[train_index], X_scaled[test_index] y_train, y_test = y[train_index], y[test_index] # Instantiate SVR and train model = SVR(C=self.C, epsilon=self.epsilon, kernel=self.kernel, gamma=self.gamma, degree=self.degree, coef0=self.coef0, tol=self.tol, nu=self.nu, shrinking=self.shrinking, cache_size=self.cache_size, verbose=self.verbose, max_iter=self.max_iter, random_state=self.random_state) model.fit(X_train, y_train) # Evaluate the model y_pred = model.predict(X_test) mse = mean_squared_error(y_test, y_pred) # Save the best model if mse < best_mse: best_mse = mse best_model = model self.svr = best_model return self def predict(self, X): """ Using the model to make predictions :param X: feature matrix of test data :return: prediction result """ if self.svr is None: raise ValueError("Model is not fitted yet. Call 'fit'with appropriate arguments before using this method.") scaler = StandardScaler() X_scaled = scaler.fit_transform # Note: The same scaler used in training should be used for conversion in the predict method # But since the state of the scaler has been saved in the fit method, the transform method can be used directly X_scaled = self.scaler.transform(X) # scaler is an attribute of the class and has been initialized in fit return self.svr.predict(X_scaled) # Initialize scaler in fit method def fit(self, X, y): self.scaler = StandardScaler() X_scaled = self.scaler.fit_transform(X) # SVMRegressor class (including scaler) class SVMRegressorWithScaler(BaseEstimator, RegressorMixin): def __init__(self, *args, **kwargs): # Initialize SVR parameters and scaler self.svr = SVR(*args, **kwargs) self.scaler = StandardScaler() def fit(self, X, y): # Data standardization and model training X_scaled = self.scaler.fit_transform(X) self.svr.fit(X_scaled, y) return self def predict(self, X): # Use the same scaler to transform the test data and use the trained model for prediction X_scaled = self.scaler.transform(X) return self.svr.predict(X_scaled) # use model = SVMRegressorWithScaler(C=1.0, epsilon=0.1, kernel='rbf') model.fit(X_train, y_train) predictions = model.predict(X_test) In the above program, the sklearn.svm library is used to internally complete the construction of the SVM regression model, the construction of the OP algorithm, and the construction of the convex optimization objective, and the model parameters are automatically updated in the library. The SVMRegressorWithScaler class creates both the SVR model and the StandardScaler object at the time of initialization. In the fit method, the scaler is first fitted using the training data, and then the scaled data is passed to the SVR for training. In the predict method, it uses the same scaler to transform the new test data and uses the trained SVR model for prediction.

[0077] Embodiment 3: In step S201 of embodiment 1, the adaptive learning rate It is impossible to distribute importance during each gradient update, which leads to unsatisfactory robustness. This embodiment further provides an adaptive learning rate The correction method makes the adaptive learning rate Further "adaptation". The methods include: S2010, calculate feature entropy value: for each feature (historical independent variable x(t)), calculate its entropy value. The entropy value reflects the uncertainty or degree of variation of the feature. Use the entropy value to calculate the entropy weight w of each feature i The larger the weight, the more important the feature is in the optimization process. i The calculation steps are: S20100, calculate the probability p of the i-th feature ij (j represents the index of the data sample, and all samples are considered as a whole when calculating the entropy weight): ; Among them, x ij is the value of the i-th feature on the j-th sample, and m is the total number of samples.

[0078] S20101, calculate the entropy value e of the i-th feature i : ; S20102, calculate the difference coefficient d of the i-th feature i : ; Among them, for p ij = 0, it is agreed that 0 ln 0 = 0.

[0079] S20103, calculate the entropy weight w of the i-th feature i : ; S2011, Modified Adaptive Learning Rate: The calculated feature weights are used to modify the adaptive learning rate , so that important features receive more attention during the optimization process.

[0080] Suppose there are n features, and the adaptive learning rate of each control input at time t is (Before correction), the corresponding entropy weight is w i , then the modified adaptive learning rate Expressed as : ; Then, the modified adaptive learning rate can be The corresponding operation is carried out in step S202. This correction process enables those features that have a significant impact on the output results and a large degree of variation (i.e., features with a high entropy weight) to have a larger learning rate adjustment space during the optimization process, so that the optimal solution can be approached more quickly and accurately when adjusting the control input. In the mold pressing method of the labor protection shoe production line, the system can more intelligently dynamically adjust the pressure according to the characteristics of different sole materials and real-time data in the production process to achieve better control effects.

[0081] Embodiment 4: Based on Embodiment 1, this embodiment further introduces an adaptive correction mechanism for the SVM regression model used in step S1: Considering that in a production batch of labor protection shoes, step S1 requires the overall technical solution to be executed multiple times for the production batch. The dependent variable y regressed in each round can indirectly use its historical credible information and use the DS evidence theory to make a certain amount of correction to the final predicted value at the current time step; this solution is called step S102 in this embodiment, which divides the predicted dependent variable y' and the corresponding actual dependent variable y'' (need to be detected at the previous moment) into evidence A and evidence B, performs the merger through Dempster's combination principle, and outputs the joint trust function Bel(A∪B); maps the joint trust function Bel(A∪B) to an interval value between [0,1] as the correction factor δ, and performs correction on the prediction function f(x) of step S1. It includes the following steps S1020~S1023: In this embodiment, regarding step S1020, evidence A and evidence B in the form of a collection are collected in a time series: Evidence A is the dependent variable y' predicted by the previous 5 time steps (t-1~t-5) under the current time step t: A=[y'(t-1),y'(t-2),y'(t-3),y'(t-4),y'(t-5)]; Evidence B is the actual gelatinization degree measured in the previous 5 time steps (t-1~t-5) at the current time step t: B=[y''(t-1),y''(t-2),y''(t-3),y''(t-4),y''(t-5)]; Specifically, step S1020 collects evidence A and evidence B, both of which contain information from the past five time steps, thereby providing a rich data basis for subsequent corrections.

[0082] In this embodiment, regarding step S1021, Dempster's combination principle is implemented: for all elements (subsets) A in evidence A and evidence B i and B i , Dempster's combination rule computes the set of combined confidence assignments Bel(C), where C is the possible hypothesis or state space. In addition, the combined uncertainty assignment Pl(C) is computed: (1) Combined trust distribution Bel(C): ; (2) Combined uncertainty allocation Pl(C): ; Among them, A i and B i are a subset of evidence A and evidence B respectively; mass is the weight (a value of 0.5 is sufficient, but if some evidence is special, a subjective value can be assigned); C is the "possible set"; the symbol " " represents the empty set; (3) Get the joint trust function Bel(A∪B): ; Bel(A) and Pl(A) are the confidence and uncertainty distributions of the set of evidence A; Bel(B) and Pl(B) are the confidence and uncertainty distributions of the set of evidence B; (Pl(A)∩Pl(B)) is the uncertainty distribution of the intersection of evidence A and evidence B: ; Specifically, among them, Represents any subset of evidence A and a subset of evidence B The intersection of is not empty. That is, it finds a subset A i , the mass of this subset in the set of evidence A is not zero, and there is also a subset B i , the mass of this subset in B is also not zero, that is, the two subsets have an intersection.

[0083] It is understandable that Responsible for finding some elements in hypothesis set C that are supported by both evidence A and evidence B. , then when calculating the combined trust distribution Bel(C), these common elements must be taken into account because they contribute to the support of the hypothesis set C.

[0084] Furthermore, after the above concept is visualized, it is equivalent to judging whether any element in evidence A and evidence B at the same time step t has the same "index"; if they do not have the same "index", it is considered that the current evidence A and evidence B do not support each other, which means that the regression of the prediction function f(x) may have a certain deviation, and the correction factor δ of the subsequent mapping will further bias the weighting. On the contrary, it proves that the regression of the prediction function f(x) has no deviation, and the correction factor δ is kept as 1 as possible, that is, no correction.

[0085] Specifically, the trust assignments from different evidence sources are combined to combine the trust assignments of evidence A and evidence B, thereby obtaining the above-mentioned joint trust function Bel(A∪B). This process takes into account the intersection and union between evidences, as well as their respective uncertainty assignments, thus ensuring the comprehensiveness and accuracy of the correction process.

[0086] In this embodiment, regarding step S1022, the joint trust function Bel(A∪B) is mapped to an interval value between [0,1] as the correction factor δ through the sigmoid function: ; Where e is the base of natural logarithms; Specifically, the sigmoid function is chosen to ensure that the correction factor δ can change smoothly between 0 and 1, thereby achieving continuous correction of the predicted value. This mapping method not only simplifies the calculation process, but also makes the correction factor γ intuitively interpretable.

[0087] It can be understood that the joint trust function Bel(A∪B) reflects the trust distribution between evidence A and evidence B, which comprehensively considers the matching degree between the predicted value and the actual value. In the weighted correction process, the correction factor δ is used as a weight to scale the output of the prediction function f(x). Specifically, the correction factor δ can dynamically adjust the weight of the SVM regression model output according to the matching degree between the predicted value and the actual value.

[0088] In this embodiment, regarding step S1023, the correction is: scaling the prediction function f(x): ; Specifically, the prediction function f(x) is scaled according to the correction factor δ. This correction method not only takes into account the contribution of different prediction models, but also realizes dynamic adjustment of the prediction value through the correction factor δ. This adaptive correction helps to improve the accuracy and flexibility of production control.

[0089] For example, when the predicted value is close to the actual value, the value of the joint trust function Bel(A∪B) will be higher, resulting in a higher value of the correction factor δ, that is, the weight of the model output will be greatly enhanced, making the corrected predicted value closer to the actual value. On the contrary, when the predicted value is significantly different from the actual value, the value of the joint trust function Bel(A∪B) will be lower, and the value of the correction factor δ will be reduced accordingly, thereby reducing the weight of the model output and preventing the corrected predicted value from deviating too far from the law of change of the actual value.

[0090] The effectiveness of this adaptive correction mechanism lies in its ability to adjust the weight of the prediction model output according to the degree of match between the real-time prediction value and the actual value. This makes the correction process more flexible and accurate, and can adapt to changes in different production batches and product characteristics. By continuously adjusting the correction factor δ, the mold frame clamping method can improve accuracy while maintaining stability, thereby ensuring the best quality of labor protection shoes.

[0091] Embodiment 5: Figure 2 As shown, this embodiment discloses a shoe mold frame of a labor protection shoe production line, and the pressing device includes a frame 1 and a receiving cavity 101 opened thereon for receiving the mold frame; It should be noted that the size of the accommodating cavity 101 can be opened according to mold frames of different models and sizes, and its structure must match the injection molding functions of the upper mold, lower mold, and shoe last (such as leaving a flow channel for polyurethane material). The structure of the mold frame can be in the form of a traditional mold frame, consisting of an upper mold, a shoe last, and a lower mold.

[0092] The frame 1 is slidably matched with the mobile frame 2, and the cylinder body and piston rod of the servo electric cylinder 4 are fixed on the frame 1 and the mobile frame 2 respectively. When the piston rod of the servo electric cylinder 4 is extended or retracted, the mobile frame 2 can be controlled to move away from or close to the accommodating chamber 101; when the molded sole needs to be taken out, the mobile frame 2 is away from the accommodating chamber 101 and handed over to the externally arranged mechanical arm 3 to clamp it out. The specific running trajectory of the mechanical arm 3 can be programmed and controlled by a traditional mechanical arm control algorithm, which will not be repeated here.

[0093] Specifically, a hydraulic cylinder 5 with a piston rod facing downward is provided in the mobile frame 2, and a pressing plate 6 for pressing the upper die of the die frame is fixed to the piston rod of the hydraulic cylinder 5, and the pressing plate 6 is adapted to the accommodating cavity 101; In this embodiment, the mold frame clamping device also includes a processor and a memory connected to the processor. The memory stores program instructions. When the program instructions are executed by the processor, the processor executes the mold frame clamping method described in the above-mentioned embodiment 1, and the generated electrical signal u(k) will be transmitted to a PLC controller, which will control the hydraulic cylinder 5.

[0094] Test example: 1. Purpose: The purpose of this example is to compare the control effect of the hydraulic cylinder in the mold frame pressing process on the labor protection shoe production line between the experimental group and the control group, and to verify the superiority of the intelligent adjustment method using the Siemens S7-200 CPU 226 PLC controller to execute the PID controller algorithm in improving the pressing effect and reducing the flash of the sole compared with the traditional manual subjective control method.

[0095] 2. Experimental materials and equipment: 2.1 Materials of experimental and control groups: One set of shoe mold frames (including an upper mold, a lower mold, a shoe last and a pressing device) as described in the fifth embodiment; Siemens S7-200 CPU 226 PLC controller (for experimental group only); 2.2 Controller software and programming environment: Autodesk Inventor assembly environment simulation software, and its own finite element analysis tool.

[0096] 3. Experimental design and methods 3.1 Experimental group settings: Use Siemens S7-200 CPU 226 PLC controller and program it according to the PID controller algorithm in the reference material to achieve intelligent adjustment of the hydraulic cylinder.

[0097] The PID controller parameters were pre-optimized using the critical proportionality method before the experiment to ensure optimal control effect.

[0098] The pressurization process of the hydraulic system is simulated in the Autodesk Inventor assembly environment, and the stress and deformation data of the sole during the pressing process are recorded and analyzed.

[0099] 3.2 Control group setting: The operator manually controls the hydraulic cylinder based on experience to perform the clamping operation.

[0100] The hydraulic system's pressurization process is simulated in the same Autodesk Inventor assembly environment, and the sole stress and deformation data during the pressurization process are recorded and analyzed.

[0101] 3.3 Experimental steps: Preparation: Install and debug all equipment for the experimental and control groups.

[0102] Simulate the compaction process: Perform compaction simulation on the experimental group and the control group in the Autodesk Inventor assembly environment, record the stress value and deformation data at each time point, process the experimental data, and draw a stress and deformation comparison curve.

[0103] (IV) Experimental results: 4.1 Comparison of stress effects: like Figure 4 and Figure 5 As shown in the figure (the numerical unit is MPa), the stress applied by the hydraulic cylinder in the experimental group is more uniform and stable, and the stress fluctuation range is smaller through the intelligent adjustment of the PID controller algorithm. In contrast, the stress fluctuation in the control group is larger due to the subjectivity and instability of manual control, and stress concentration occurs in some areas.

[0104] 4.2 Deformation (flash effect) comparison: like Figure 6 As shown in the figure, the deformation data comparison curve obtained by simulation shows that the flash effect of the sole of the experimental group is significantly smaller than that of the control group. Due to the uniform stress distribution in the experimental group, the local deformation of the sole caused by stress concentration is reduced, thereby reducing the possibility of flash.

[0105] 5. Conclusion This experiment compared the control effect of the hydraulic cylinder in the mold frame pressing process on the labor protection shoe production line between the experimental group and the control group, and verified that the intelligent adjustment method using the Siemens S7-200 CPU 226 PLC controller to execute the PID controller algorithm has significant advantages over the traditional manual subjective control method. The experimental results show that the intelligent adjustment method not only improves the pressing effect, but also significantly reduces the generation of sole flash, which is conducive to improving product quality and production efficiency.

[0106] The above specific embodiments only express the embodiments of the relevant practical applications of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.

[0107] For those skilled in the art, it can be further appreciated that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0108] At the same time, those skilled in the art can understand that all or part of the processes in all the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

Claims

1. A mold frame pressing method for a labor protection shoe production line, characterized in that: The steps include: S1, read the SVM regression model: the expansion time as the dependent variable x is used as the input of the prediction function f(x), which is based on the radial basis kernel function K(x, x) i ) for the support vector x i Perform a dot product operation and predict the output as the expected value r of the thrust of the dependent variable y; S2, execute the prediction compensation mechanism: record the independent variable x of S1 at K moments K value and dependent variable y K value; at the current moment, use the automatic differentiation method to calculate the gradient G of the current prediction function f(x), and correct and update the expected value r to the expected value r(j)'; S3, executing the PID controller: calculating the deviation value e(j) at time j, applying the PID controller based on the expected value r(j)' to obtain the electrical signal u(k), and then controlling the hydraulic cylinder of the mold frame.

2. The mold frame pressing method according to claim 1, characterized in that: In S1, the prediction method of the prediction function f(x) is: ; Where: α i and is the Lagrange multiplier; b is the bias term; x i is the ith support vector, and n is the number of support vectors.

3. The mold frame pressing method according to claim 2, characterized in that: In S1, the radial basis kernel function K(x,x i ) The method for performing the dot product operation is: ; Where: Υ is a hyperparameter; σ is the control of the radial basis kernel function K(x,x i )'s radial range of action width parameter; || xx i || 2 are the independent variable x and the support vector x i The square of the Euclidean distance between them.

4. The mold frame pressing method according to claim 1, characterized in that: Each time S2 is executed, the adaptive learning rate α is updated according to the automatic differentiation method; at each time j, the expected value r is updated to the expected value r(j)' according to the calculated gradient G and the adaptive learning rate α.

5. The mold frame pressing method according to claim 4, characterized in that: In S2, the degree G is obtained by calculating the partial derivative of the prediction function f(x) with respect to the independent variable x; and the adaptive learning rate α is updated by: ; in: is the i-th adaptive learning rate in the t-th iteration; η is the global learning rate; g i,k is the i-th gradient corresponding to the prediction function f(x) at the k-th iteration; is a positive number.

6. The mold frame pressing method according to claim 5, characterized in that: In S2, the correction and update method is: ; in: is the partial derivative of the input of the prediction function f(x) with respect to the expected value r.

7. The mold frame pressing method according to claim 1, 2 or 4, characterized in that: In S3, the method for obtaining the deviation value e(j) is: ; Where: y(j) is the actual value of the PID controller at the same sampling time j.

8. The mold frame pressing method according to claim 7, characterized in that: In S3, the PID controller is discrete, and the implementation method is: ; Where: e(k) and e(k-1) are the deviations at sampling time k and k-1 respectively; K p , K i and K d They are proportional gain, integral gain and differential gain respectively.

9. The shoe mold frame used in the production line of labor protection shoes is characterized by: It comprises a hydraulic cylinder (5) and a pressing plate (6) driven by its piston rod and used for pressing the upper die; It also includes a processor and a memory connected to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the mold frame clamping method according to any one of claims 1 to 8, and the generated electrical signal u(k) will be transmitted to a PLC controller, so that the PLC controller controls the hydraulic cylinder (5).

10. The shoe mold frame according to claim 9, characterized in that: The clamping device comprises a frame (1) and a receiving cavity (101) provided thereon for receiving the mold frame, the frame (1) being slidably matched with a movable frame (2), the cylinder body and piston rod of a servo electric cylinder (4) being respectively fixed on the frame (1) and the movable frame (2), and when the piston rod of the servo electric cylinder (4) is extended or retracted, the movable frame (2) can be controlled to move away from or close to the receiving cavity (101); The movable frame (2) is provided with the hydraulic cylinder (5) with the piston rod facing downward, and the pressure plate (6) is adapted to the accommodating cavity (101).

Citation Information

Patent Citations

  • A shoe mold puts up closing device for automizing shoemaking production line

    CN205818309U

  • Shoe mold frame pressing device for shoe production line

    CN214630396U

  • Shoe mold frame pressing device for shoemaking production line

    CN218196505U

  • Foaming defect diagnosis method, device and equipment and storage medium

    CN114462576A

  • Foaming process optimization method, device and equipment and storage medium

    CN114565150A