Energy consumption and quality coordination monitoring method and equipment in injection molding process and medium
The sparse autoencoder network is used to perform feature extraction and correlation analysis on energy consumption and quality parameters in the injection molding process, solving the problem of coordinated monitoring of energy consumption and quality in the injection molding process, achieving a balance between energy consumption and quality, reducing production costs and avoiding Waste of resources.
Patent Information
- Application Number
- CN202410574701.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, coordinated monitoring of energy consumption and product quality during the injection molding manufacturing process is difficult to achieve. As a result, product quality may be reduced when energy is reduced, or energy consumption may be increased when product quality is improved, making it impossible to effectively balance the two.
A sparse autoencoder network is used for feature extraction and correlation analysis of energy consumption and quality parameters. Through dynamic optimization of KL divergence and regularization technology, the intrinsic relationship between energy consumption and quality is constructed to achieve coordinated monitoring.
It effectively achieves the dynamic balance between energy consumption and quality during the injection molding process, reduces production costs, avoids waste of resources, and improves production efficiency.
Smart Images

Figure CN118536701A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, equipment and medium for coordinated monitoring of energy consumption and quality in an injection molding process. Background Art
[0002] Energy consumption and quality control are two key challenges in the injection molding manufacturing industry, which directly affect production efficiency, product quality and environmental sustainability. In the existing technology, energy consumption monitoring and quality control are generally separated and operated independently. This separation method often ignores the inherent connection between energy consumption and product quality, resulting in the possibility of reducing product quality when taking certain measures to reduce energy consumption, or increasing energy consumption when taking certain measures to improve product quality. How to effectively coordinate and monitor energy consumption and quality in the injection molding production process is a key step in achieving a dynamic balance between energy consumption and quality in the injection molding production process. Summary of the invention
[0003] The present invention provides a method, device and medium for coordinated monitoring of energy consumption and quality during an injection molding process, so as to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0004] In a first aspect, a method for coordinated monitoring of energy consumption and quality during an injection molding process is provided, the method comprising:
[0005] Obtain energy consumption parameters and quality parameters during the injection molding process and perform standardization;
[0006] The trained sparse autoencoder network is used to extract features of the standardized energy consumption parameters and quality parameters to obtain corresponding energy consumption feature data and quality feature data;
[0007] Performing typical correlation analysis on the energy consumption characteristic data and the quality characteristic data to obtain an energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix;
[0008] The energy consumption and quality coordination monitoring result is determined based on the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix.
[0009] Furthermore, the energy consumption parameters include energy consumption in the mold closing stage, energy consumption in the filling stage, energy consumption in the pressure holding stage, energy consumption in the cooling stage, energy consumption in the demoulding stage and time-varying unit total energy consumption.
[0010] Furthermore, the quality parameters include in-mold pressure, filling pressure, holding pressure, nozzle temperature, injection speed, screw displacement and holding time.
[0011] Furthermore, the sparse autoencoder network includes a sequentially connected encoder, a fully connected layer and a decoder, the encoder includes multiple hidden layers, KL divergence is introduced in the multiple hidden layers for dynamic sparse optimization, and regularization and nonlinear transformation are introduced in the fully connected layer for feature enhancement.
[0012] Furthermore, the Adam optimization algorithm is used to train the sparse autoencoder network to update the network parameters. The objective function used in the training process is:
[0013]
[0014]
[0015]
[0016] Among them, J(θ) is the objective function, is the non-sparse objective function, X is the network input data, is the network output data, β(t+1) is the sparsity constraint weight used in the t+1th iteration, and h a is the number of hidden layers, s a is the total number of neurons in the ath hidden layer, ρ r is the average activation of the rth neuron in the ath hidden layer, ρ(t+1) is the sparsity parameter used in the t+1th iteration, K(·) refers to the KL divergence, β(t) is the sparsity constraint weight used in the tth iteration, and λ β To adjust the learning rate of β, represents the influence of the change of β on J, ρ(t) is the sparsity parameter used in the tth iteration, and λ ρ To adjust the learning rate of ρ, represents the influence of the change of ρ on J, n is the number of data sets contained in X, x i is the i-th group of data contained in X, for The i-th group of data is included, λ is the weight attenuation coefficient, s a+1 is the total number of neurons in the a+1th hidden layer, W rq is the weight coefficient between the rth neuron contained in the ath hidden layer and the qth neuron contained in the a+1th hidden layer.
[0017] Furthermore, the internal processing of the sparse autoencoder network is represented by the following mathematical model:
[0018] X s =Sigmoid(W1X+b1);
[0019] X t=Sigmoid(W2X s +b2);
[0020]
[0021] X tran =Relu(W3X tn +b3);
[0022]
[0023] X′ s =X s +X tran ·E;
[0024]
[0025] Among them, W1 is the weight of the encoder, b1 is the bias of the encoder, and X s is the output of the encoder, W2 is the first weight of the fully connected layer, b2 is the first bias of the fully connected layer, and X t is the intermediate result of the fully connected layer, x t_i For X t contains the i-th group of data, ε is the control parameter used to stabilize the regularization results, X tn is the regularization result, W3 is the second weight of the fully connected layer, b3 is the second bias of the fully connected layer, and X tran is the result of the first nonlinear transformation, x tran_i For X tran The i-th group of data is included, δ is the weight change coefficient, E is the result of the second nonlinear transformation, X′ s is the output of the fully connected layer, W4 is the weight of the decoder, and b4 is the bias of the decoder.
[0026] Furthermore, the energy consumption characteristic data and the quality characteristic data are subjected to typical correlation analysis to obtain an energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix, including:
[0027] Determine a covariance matrix and a cross-covariance matrix according to the energy consumption characteristic data and the quality characteristic data, and then determine a second objective function and its constraint conditions;
[0028] Determining a correlation evaluation matrix according to the covariance matrix and the cross-covariance matrix;
[0029] According to the second objective function and the constraint conditions, singular value decomposition is performed on the correlation evaluation matrix to obtain an optimal energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix.
[0030] Further, the determining of the energy consumption and quality coordination monitoring result according to the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix includes:
[0031] Determine a T2 statistic and a Q statistic according to the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix;
[0032] Obtaining a first control limit on the T2 statistic and a second control limit on the Q statistic;
[0033] When it is determined that the T2 statistic exceeds the first control limit and the Q statistic exceeds the second control limit, a first monitoring result indicating that both energy consumption and quality are abnormal is generated;
[0034] When it is determined that the T2 statistic exceeds the first control limit and the Q statistic does not exceed the second control limit, a second monitoring result is generated that indicates that the quality is abnormal and affects energy consumption;
[0035] When it is determined that the T2 statistic does not exceed the first control limit and the Q statistic exceeds the second control limit, a third monitoring result is generated indicating that energy consumption is abnormal and affects quality;
[0036] When it is determined that the T2 statistic does not exceed the first control limit and the Q statistic does not exceed the second control limit, a fourth monitoring result indicating that both energy consumption and quality are normal is generated.
[0037] In a second aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method for coordinated monitoring of energy consumption and quality during the injection molding process as described in the first aspect.
[0038] In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for coordinated monitoring of energy consumption and quality in an injection molding process as described in the first aspect is implemented.
[0039] The present invention has at least the following beneficial effects: by constructing a sparse autoencoder network and introducing KL divergence in its encoder for dynamic sparse optimization, and introducing nonlinear transformation and regularization in its fully connected layer for feature enhancement processing, it is beneficial to extract more key feature information from the quality parameters and energy consumption parameters generated in the injection molding process; by performing typical correlation analysis on the quality feature data and energy consumption feature data extracted by the network, in order to explore the intrinsic relationship between energy consumption and quality in the injection molding process, it is possible to effectively and reliably achieve coordinated monitoring of energy consumption and quality in the injection molding process, which helps to reduce production costs and avoid waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0041] Figure 1 is a flow chart of a method for coordinated monitoring of energy consumption and quality during an injection molding process in an embodiment of the present invention;
[0042] Figure 2 It is a schematic diagram of the hardware structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the system or the order in the flow chart. The terms "first", "second", "third", "fourth", etc. in the specification of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, such as processes, methods, systems, products or devices that include a series of steps or units, which are not necessarily limited to those steps or units clearly listed, but may include other steps or units inherent to these processes, methods, products or devices that are not clearly listed.
[0045] First, some of the terms involved in the present invention are explained as follows:
[0046] Canonical correlation analysis is a multivariate statistical analysis method that uses the correlation between pairs of comprehensive variables to reflect the overall correlation between two groups of indicators. Its basic implementation principle is: extract two representative comprehensive variables U1 and V1 (linear combinations of the variables in the two groups of variables, respectively) from the two groups of variables, and use the correlation between these two comprehensive variables to reflect the overall correlation between the two groups of indicators.
[0047] Singular value decomposition (SVD) is a matrix decomposition technique in linear algebra. Its basic implementation principle is: decompose a matrix into the product of an orthogonal matrix U, a diagonal matrix ∑ and an orthogonal matrix V. The column vectors of the orthogonal matrix U are called left singular vectors, the column vectors of the orthogonal matrix V are called right singular vectors, and the elements on the diagonal of the diagonal matrix ∑ are called singular values and are usually arranged in descending order. The core of singular value decomposition is to reveal the important features of the original matrix, that is, by retaining larger singular values and their corresponding left and right singular vectors, data dimensionality reduction can be achieved and the main features of the data can be extracted.
[0048] KL divergence (Kullback-Leibler Divergence), also known as relative entropy, is a measurement method used to measure the difference between two probability distributions. Its essence is to measure the information loss or error introduced when one distribution is used to approximate another distribution.
[0049] Please refer to Figure 1 , Figure 1 1 is a flow chart of a method for coordinated monitoring of energy consumption and quality in an injection molding process provided by an embodiment of the present invention, wherein the method comprises the following steps:
[0050] Step S110, obtaining energy consumption parameters and quality parameters in the injection molding process and performing standardization processing;
[0051] Step S120: Using the trained sparse autoencoder network to perform feature extraction on the standardized energy consumption parameters and quality parameters to obtain corresponding energy consumption feature data and quality feature data;
[0052] Step S130, performing typical correlation analysis on the energy consumption characteristic data and the quality characteristic data to obtain an energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix;
[0053] Step S140, determining the energy consumption and quality coordination monitoring result according to the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix.
[0054] In some embodiments of the present invention, the above method is mainly applied to a TOYO motor-driven injection molding machine, whose main performance parameters include a maximum holding pressure of 186.2 MPa, a maximum injection speed of 400 mm / s, a maximum injection pressure of 215.6 MPa, and an injection rate of 503 cm 3 / s, ejection force 34.3kN and heater power 7.95kW; the injection molding process performed by the TOY0 motor-driven injection molding machine is a typical intermittent cycle operation process, which mainly uses pressurization, injection, cooling, separation and other process methods to produce semi-finished products of a certain shape, which can be applied to the field of plastic product production. The entire injection molding process mainly includes the following:
[0055] The first step is mold closing, which means using a certain closing force to tightly close the two mold plates in the mold, so that the raw material or molten material fills the mold cavity and solidifies into shape;
[0056] The second step is filling, which is the starting stage of the injection molding cycle. From the time the mold is closed and injection begins until the mold cavity is filled to about 95%, the molten plastic inside the mold begins to cool and solidify and gradually forms the shape and size of the product. It is necessary to ensure that the molten plastic completely fills the mold cavity and avoid defects such as bubbles and weld lines as much as possible.
[0057] The third step is pressure holding, which is to compact the molten plastic by continuously applying pressure to increase its density and compensate for shrinkage. This not only increases the material density, but also helps the plastic part to form until the gate is solidified and closed. At this time, the pressure inside the mold cavity reaches its maximum value.
[0058] The fourth step is cooling. The plastic product needs to be cooled to be rigid enough before demoulding to prevent deformation due to external forces, and the cooling stage accounts for about 70% to 80% of the entire production cycle.
[0059] The fifth step is demoulding, which is to remove the solidified plastic product in the mold from the mold through mechanical or pneumatic force. It is necessary to ensure that the product can be evenly stressed during demoulding to minimize defects such as deformation.
[0060] In some embodiments of the present invention, the energy consumption parameters mentioned in the above step S110 mainly include the energy consumption E1 generated in the mold closing stage, the energy consumption E2 generated in the filling stage, the energy consumption E3 generated in the pressure holding stage, the energy consumption E4 generated in the cooling stage, the energy consumption E5 generated in the demoulding stage, and the time-varying unit total energy consumption E v The quality parameters mainly include holding time t, injection speed v, in-mold pressure P1, nozzle temperature T, screw displacement L, filling pressure P2 and holding pressure P3.
[0061] It should be noted that during the injection molding process, when the holding time t is too long, it is easy to cause the internal stress of the plastic part to increase and cause cracking or deformation; when the injection speed v is too fast, it is easy to cause the molten plastic to enter the mold at high speed, and the air does not have time to be discharged from the mold cavity, thus forming pores or voids; when the holding pressure P3 is too large, it may cause the molten plastic to be squeezed out from the tiny gap of the mold, resulting in defects such as burrs.
[0062] The following description is given for each energy consumption value included in the energy consumption parameter:
[0063] A. The calculation formula for the energy consumption E1 generated during the mold closing stage is: E1=∫P1A1dS, where P1 represents the liquid pressure in the hydraulic cylinder during the mold closing process, A1 represents the difference between the piston area and the piston rod area of the hydraulic cylinder during the mold closing process, and S represents the stroke of the piston rod;
[0064] B. The calculation formula for the energy consumption E2 generated in the filling stage is: E2 = ∫P2Q1dt1, P2 represents the filling pressure, Q1 represents the volume flow rate of the melt during the injection molding filling process, and t1 represents the time required to complete the filling stage;
[0065] C. The calculation formula for the energy consumption E3 generated in the holding stage is: E3=∫P3Q2dt2, where P3 represents the holding pressure during the holding process, Q2 represents the volume flow rate of the melt during the holding process, and t2 represents the time required to complete the holding stage;
[0066] D. The calculation formula for the energy consumption E4 generated in the cooling stage is: E4=∫P4Q3dt3, where P4 represents the output pressure of the water pump during the cooling process, Q3 represents the output flow rate of the water pump during the cooling process, and t3 represents the time required to complete the cooling stage;
[0067] E. The calculation formula for the energy consumption E5 generated during the demoulding stage is: E5=∫P5A2dS, where P5 represents the liquid pressure in the hydraulic cylinder during the demoulding process, A2 represents the difference between the piston area and the piston rod area of the hydraulic cylinder during the demoulding process, and S represents the stroke of the piston rod;
[0068] F. About the time-varying unit total energy consumption E v The calculation formula is: E v =∑ i P im t im , P im represents the power of time-varying unit i in the mth processing state, t im represents the sequential time of time-varying unit i in the mth processing state.
[0069] In some embodiments of the present invention, the sparse autoencoder network mentioned in the above step S120 includes an encoder, a decoder and a fully connected layer, the output end of the encoder is connected to the input end of the fully connected layer, and the output end of the fully connected layer is connected to the input end of the decoder; the encoder includes multiple hidden layers, the encoder and the decoder are preferably set to a symmetrical structure, and the decoder includes multiple hidden layers of the same number; as an improved preferred scheme, dynamic sparse optimization is performed by introducing KL divergence in the multiple hidden layers included in the encoder, and feature enhancement processing is performed by introducing nonlinear transformation and regularization in the fully connected layer.
[0070] In actual application, when the sparse autoencoder network receives parameter information, the encoder extracts key features from the parameter information and encodes them into a compactly represented feature vector, the fully connected layer enhances the feature vector, and the decoder reconstructs the enhanced feature vector to obtain parameter feature information output.
[0071] More specifically, the internal processing of the sparse autoencoder network is represented by a corresponding mathematical model as follows:
[0072] X s =Sigmoid(W1X+b1);
[0073] X t =Sigmoid(W2X s +b2),
[0074]
[0075] X tran =Relu(W3X tn +b3),
[0076]
[0077] X′ s =X s +X tran ·E;
[0078]
[0079] Where, X s is the output result of the encoder, W1 is the weight of the encoder, X is the network input data, b1 is the bias of the encoder, X t is the intermediate result of the fully connected layer, W2 is the first weight of the fully connected layer, b2 is the first bias of the fully connected layer, X tn is the regularization result, xt_i is the intermediate result X t The i-th group of data included, ε is a pre-set control parameter and a very small integer to ensure that the regularized parameters remain stable, X tran is the result of the first nonlinear transformation, W3 is the second weight of the fully connected layer, b3 is the second bias of the fully connected layer, E is the result of the second nonlinear transformation, δ is the weight change coefficient, x tran_i is the first nonlinear transformation result X tran The i-th group of data contained, X′ s is the output result of the fully connected layer, is the network output data, W4 is the weight of the decoder, b4 is the bias of the decoder; when the network input data X contains n groups of data obtained at different sampling times, for the i-th group of data x i , x t_i It should be understood as x i The intermediate characteristic data reflected, x tran_i It should be understood as x i The first nonlinear transformation characteristic data reflected; It should be noted that when the network input data X is the energy consumption parameter, each set of data includes six parameters (i.e., E1, E2, E3, E4, E5, E v ), when the network input data X is the quality parameter, each set of data contains specific values of seven parameters (i.e., t, v, P1, T, L, P2, P3).
[0080] In addition, the following constraints are imposed on the number of hidden layers included in the encoder:
[0081]
[0082] In the formula, h a is the number of multiple hidden layers contained in the encoder, h1 is the dimension of the input data of the sparse autoencoder network, h2 is the dimension of the output data of the sparse autoencoder network, c is an adjustable parameter and c∈(1,10); It should be noted that the number of multiple hidden layers contained in the encoder h a During the network training process, fine-tuning can be done based on the above constraints.
[0083] As a preferred implementation scheme, the objective function used in the training process of the sparse autoencoder network is specifically described below:
[0084] First, determine the objective function used by the standard autoencoder during training:
[0085]
[0086] In the formula, is the non-sparse objective function, Output data for the network The i-th group of data contained, It should be understood as x i The output feature data reflected, λ is the weight attenuation coefficient, s a is the total number of neurons in the ath hidden layer of the encoder, s a+1 is the total number of neurons in the a+1th hidden layer of the encoder, W rg is the weight coefficient between the rth neuron included in the ath hidden layer included in the encoder and the qth neuron included in the a+1th hidden layer included in the encoder;
[0087] Secondly, KL divergence is selected in the standard autoencoder to add a sparsity constraint condition, so that it is updated to the sparse autoencoder network and the initial objective function used in the training process is determined to be:
[0088]
[0089]
[0090]
[0091] Where J0(θ) is the initial objective function, θ is the network parameter and θ = {W1, W4, b1, b4}, β is the pre-set sparsity constraint weight, K(·) represents the KL divergence, ρ is the pre-set sparsity parameter, and ρ r is the average activation of the rth neuron contained in the ath hidden layer of the encoder for the network input data X, a r (x i ) is the i-th group of data x contained in the network input data X by the r-th neuron contained in the a-th hidden layer contained in the encoder i The amount of activation generated;
[0092] Finally, feedback regulation is added to the sparse autoencoder network to adjust the network sparsity in real time through the feedback mechanism during the network iterative training process, that is, it is proposed to dynamically update and adjust the sparsity parameter ρ and the sparsity constraint weight β originally represented statically, so as to ensure that the sparse autoencoder network can be adaptively adjusted according to the network training performance, thereby improving the network robustness. At this time, the objective function used by the sparse autoencoder network in the training process is determined as:
[0093]
[0094]
[0095] Where J(θ) is the objective function, β(t+1) is the sparsity constraint weight used in the t+1th network iteration training process, β(t) is the sparsity constraint weight used in the tth network iteration training process, ρ(t+1) is the sparsity parameter used in the t+1th network iteration training process, ρ(t) is the sparsity parameter used in the tth network iteration training process, and λ β To adjust the learning rate of the sparsity constraint weight β, λ ρ To adjust the learning rate of the sparsity parameter ρ, Indicates the influence of the change of sparsity constraint weight β on the objective function J, It indicates the influence of the change of sparsity parameter ρ on the objective function J.
[0096] In some embodiments of the present invention, the sparse autoencoder network is trained by the Adam optimization algorithm to update the network parameter θ. The Adagrad algorithm and the RMSPro algorithm are integrated in the Adam optimization algorithm, which can process both network sparse gradients and non-steady-state data, and is suitable for processing energy consumption data and quality data generated during the injection molding process. The network training process is further described below:
[0097] Initialize two all-zero first-order estimation matrices m and second-order estimation matrices v, and determine a very small control parameter σ = 10 -8 As well as hyperparameter β1, hyperparameter β2 and learning rate η;
[0098] During each network iteration training process, the gradient value of the objective function J(θ) is calculated Then update the first-order estimation matrix m and the second-order estimation matrix v:
[0099]
[0100]
[0101] In order to eliminate the deviation caused by initialization to zero, the first-order estimation matrix m after the current update t and the second-order estimation matrix v t To perform bias correction:
[0102]
[0103] Finally, the first-order estimation matrix after current deviation correction is used and the second-order estimation matrix Update the network parameters θ:
[0104]
[0105] It should be noted that the present invention preferably adopts a DOE (Design of Experiment) method to determine the specific values of the hyperparameter β1, the hyperparameter β2 and the learning rate η:
[0106] A full factorial experiment was used, and the experimental design range is shown in Table 1:
[0107] Table 1 DOE experimental parameter design
[0108]
[0109] According to the three values corresponding to each of the above parameters, 27 groups of experiments can be designed and all experimental results can be analyzed by ANOVA (Analysis of Variance), wherein each group of experiments should cover these three parameters, and the values of the three parameters covered by different groups of experiments are not exactly the same; in each group of experiments, the objective function J(θ) is used as the response variable, and finally a P value is obtained to describe whether the three parameters have a significant effect on the response variable;
[0110] The significance level is pre-set to 0.05, and all experiments with P values lower than the significance level are screened out from the 27 groups of experiments. Then, a single group of experiments that minimizes the response variable is screened out from all the experiments. Finally, the optimal values of the hyperparameter β1, the hyperparameter β2, and the learning rate η are determined based on the values of the three parameters covered by the single group of experiments.
[0111] In some embodiments of the present invention, the canonical correlation analysis method is converted into an optimization problem for solving the objective function. The implementation process of the above step S130 includes but is not limited to the following:
[0112] Step S131: Determine a cross-covariance matrix and a covariance matrix based on the quality characteristic data and the energy consumption characteristic data:
[0113] Specifically, firstly, the mean of the quality characteristic data and the mean of the energy consumption characteristic data are calculated, and then the energy consumption characteristic data and the mean thereof are used to calculate the first covariance matrix of the energy consumption parameter and recorded as ∑ 11 , the second covariance matrix of the quality parameter is calculated by using the quality feature data and its mean and recorded as ∑ 22, the energy consumption characteristic data and its mean and the quality characteristic data and its mean are used to calculate the cross-covariance matrix used to characterize the internal relationship between the energy consumption parameter and the quality parameter and recorded as ∑ 12 ;
[0114] Step S132: Based on the cross-covariance matrix and the covariance matrix, determine the second objective function as J k =max(A T ∑ 12 B), and its corresponding constraints are: A T ∑ 11 A=B T ∑ 22 B = 1, where A is the energy consumption correlation matrix and B is the quality correlation matrix;
[0115] Step S133: Based on the mutual covariance matrix and the covariance matrix, determine the correlation evaluation matrix as:
[0116] Step S134: Based on the second objective function and the constraint condition, singular value decomposition is performed on the correlation evaluation matrix to obtain the optimal quality correlation matrix, energy consumption correlation matrix and comprehensive correlation matrix. The mathematical expression used in this implementation process is:
[0117] γ=ΓΛΔ T ,
[0118]
[0119] Λ κ =diag{λ1, ..., λ κ},κ=rank(γ),
[0120]
[0121] Where Γ is the left singular vector, Δ is the right singular vector, s is the amount of data contained in the corresponding singular vector, Λ is the diagonal matrix, T is the matrix transpose symbol, and Λ κ is the comprehensive correlation matrix, and κ is the reference dimension.
[0122] In some embodiments of the present invention, the implementation process of step S140 includes but is not limited to the following:
[0123] Step S141, determining a Q statistic and a T2 statistic based on the quality characteristic data, the energy consumption characteristic data, the quality correlation matrix, the energy consumption correlation matrix and the comprehensive correlation matrix;
[0124] Specifically, based on the energy consumption characteristic data and the energy consumption correlation matrix, the T2 statistic is calculated as:
[0125]
[0126] Based on the quality feature data, the energy consumption feature data, the quality correlation matrix, the energy consumption correlation matrix and the comprehensive correlation matrix, the residual vector is calculated as:
[0127] R=BY ts -Λ κ A T X ts ;
[0128] Based on the residual vector and the comprehensive correlation matrix, the Q statistic is calculated as:
[0129]
[0130] Where, X ts is the energy consumption characteristic data, Y ts is the quality characteristic data, T is the matrix transposition symbol, -1 is the matrix inversion symbol, and I is the unit vector;
[0131] Step S142, obtaining a first control limit corresponding to the T2 statistic and a second control limit corresponding to the Q statistic;
[0132] It should be noted that the first control limit and the second control limit are obtained by the user through preliminary testing in a normal injection molding process (i.e., both energy consumption and quality are normal), and are upper limit values for determining when the current injection molding process is about to deviate from the normal state;
[0133] Step S143: Based on the relationship between the T2 statistic and the first control limit and the relationship between the Q statistic and the second control limit, a corresponding energy consumption and quality coordination monitoring result is generated, which is specifically divided into the following four cases:
[0134] When the T2 statistic is greater than the first control limit and the Q statistic is greater than the second control limit, generating a first monitoring result to indicate that both energy consumption and quality are abnormal;
[0135] When the T2 statistic is greater than the first control limit and the Q statistic is less than or equal to the second control limit, a second monitoring result is generated to indicate that the quality is abnormal and thus affects energy consumption;
[0136] When the T2 statistic is less than or equal to the first control limit and the Q statistic is greater than the second control limit, a third monitoring result is generated to indicate that energy consumption is abnormal and thus affects quality;
[0137] When the T2 statistic is less than or equal to the first control limit, and the Q statistic is less than or equal to the second control limit, a fourth monitoring result is generated to indicate that both energy consumption and quality are normal, which indicates that the injection molding process is running normally.
[0138] In an embodiment of the present invention, by building a sparse autoencoder network and introducing KL divergence in its encoder for dynamic sparse optimization, and introducing nonlinear transformation and regularization in its fully connected layer for feature enhancement processing, it is beneficial to extract more key feature information from the quality parameters and energy consumption parameters generated in the injection molding process; by performing typical correlation analysis on the quality feature data and energy consumption feature data extracted by the network to explore the intrinsic relationship between energy consumption and quality in the injection molding process, it is possible to effectively and reliably achieve coordinated monitoring of energy consumption and quality in the injection molding process, which helps to reduce production costs and avoid waste of resources.
[0139] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, a method for coordinated monitoring of energy consumption and quality in an injection molding process in the above embodiment is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. In other words, the storage device includes any medium that stores or transmits information in a readable form by a device (such as a computer, a mobile phone, etc.), which can be a read-only memory, a disk or an optical disk, etc.
[0140] also, Figure 2 3 is a schematic diagram of the hardware structure of a computer device provided in an embodiment of the present invention, wherein the computer device includes a processor 320, a memory 330, an input unit 340, a display unit 350 and other devices. Those skilled in the art can understand that Figure 2The device structure device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 330 can be used to store the computer program 310 and various functional modules, and the processor 320 runs the computer program 310 stored in the memory 330, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include an internal memory and an external memory. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory may include a hard disk, a floppy disk, a U disk, a magnetic tape, etc. The memory 330 disclosed in the embodiment of the present invention includes but is not limited to the above-mentioned types of memory. The memory 330 disclosed in the embodiment of the present invention is only an example and not a limitation.
[0141] The input unit 340 is used to receive the input of the signal and the keyword input by the user. The input unit 340 may include a touch panel and other input devices. The touch panel can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a pre-set program; other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a playback control key, a switch key, etc.), a trackball, a mouse, a joystick, etc. The display unit 350 can be used to display the information input by the user or the information provided to the user and various menus of the terminal device. The display unit 350 can be in the form of a liquid crystal display, an organic light emitting diode, etc. The processor 320 is the control center of the terminal device, which uses various interfaces and lines to connect various parts of the entire device, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 330, and calling data stored in the memory 330.
[0142] As an embodiment, the computer device includes a processor 320, a memory 330 and a computer program 310, wherein the computer program 310 is stored in the memory 330 and is configured to be executed by the processor 320, and the computer program 310 is configured to execute a method for coordinated monitoring of energy consumption and quality in an injection molding process in the above-mentioned embodiment.
[0143] Although the description of the present application has been quite detailed and specifically describes several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope of the present application. In addition, the above description of the present application is based on the embodiments foreseeable by the inventor, and its purpose is to provide a useful description, and those non-substantial changes to the present application that have not yet been foreseen may still represent equivalent changes to the present application.
Claims
1. A method for monitoring energy consumption and quality coordination during injection molding, characterized in that: The method comprises: Obtain energy consumption parameters and quality parameters during the injection molding process and perform standardization; The trained sparse autoencoder network is used to extract the features of the standardized energy consumption parameters and quality parameters to obtain the corresponding energy consumption feature data and quality feature data; Performing typical correlation analysis on the energy consumption characteristic data and the quality characteristic data to obtain an energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix; The energy consumption and quality coordination monitoring result is determined based on the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix.
2. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 1, characterized in that: The energy consumption parameters include energy consumption in the mold closing stage, energy consumption in the filling stage, energy consumption in the pressure holding stage, energy consumption in the cooling stage, energy consumption in the demoulding stage and time-varying unit total energy consumption.
3. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 1, characterized in that: The quality parameters include mold pressure, filling pressure, holding pressure, nozzle temperature, injection speed, screw displacement and holding time.
4. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 1, characterized in that: The sparse autoencoder network includes a sequentially connected encoder, a fully connected layer and a decoder, the encoder includes multiple hidden layers, KL divergence is introduced in the multiple hidden layers for dynamic sparse optimization, and regularization and nonlinear transformation are introduced in the fully connected layer for feature enhancement.
5. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 4, characterized in that: The Adam optimization algorithm is used to train the sparse autoencoder network to update the network parameters. The objective function used in the training process is: Among them, J(θ) is the objective function, is the non-sparse objective function, X is the network input data, is the network output data, β(t+1) is the sparsity constraint weight used in the t+1th iteration, and h a is the number of hidden layers, s α is the total number of neurons in the ath hidden layer, ρ r is the average activation of the rth neuron in the ath hidden layer, ρ(t+1) is the sparsity parameter used in the t+1th iteration, K(·) refers to the KL divergence, β(t) is the sparsity constraint weight used in the tth iteration, and λ β To adjust the learning rate of β, represents the influence of the change of β on J, ρ(t) is the sparsity parameter used in the tth iteration, and λ ρ To adjust the learning rate of ρ, represents the influence of the change of ρ on J, n is the number of data sets contained in X, x i is the i-th group of data contained in X, for The i-th group of data is included, λ is the weight attenuation coefficient, s a+1 is the total number of neurons in the a+1th hidden layer, W rg is the weight coefficient between the rth neuron contained in the ath hidden layer and the qth neuron contained in the a+1th hidden layer.
6. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 5, characterized in that: The internal processing of the sparse autoencoder network is represented by the following mathematical model: X s =Sigmoid(W1X+b1); X t =Sigmoid(W2X s +b2); X tran =Railway(W3X tn +b3) X′ s =X s +X tran ·E; Among them, W1 is the weight of the encoder, b1 is the bias of the encoder, and X s is the output of the encoder, W2 is the first weight of the fully connected layer, b2 is the first bias of the fully connected layer, and X t is the intermediate result of the fully connected layer, x t_i For X t contains the i-th group of data, ε is the control parameter used to stabilize the regularization results, X tn is the regularization result, W3 is the second weight of the fully connected layer, b3 is the second bias of the fully connected layer, and X tran is the result of the first nonlinear transformation, x tran_i For X tran The i-th group of data is included, δ is the weight change coefficient, E is the result of the second nonlinear transformation, X′ s is the output of the fully connected layer, W4 is the weight of the decoder, and b4 is the bias of the decoder.
7. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 1, characterized in that: The performing of typical correlation analysis on the energy consumption characteristic data and the quality characteristic data to obtain an energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix comprises: Determine a covariance matrix and a cross-covariance matrix according to the energy consumption characteristic data and the quality characteristic data, and then determine a second objective function and its constraint conditions; Determining a correlation evaluation matrix according to the covariance matrix and the cross-covariance matrix; According to the second objective function and the constraint conditions, singular value decomposition is performed on the correlation evaluation matrix to obtain an optimal energy consumption correlation matrix, a quality correlation matrix and a comprehensive correlation matrix.
8. The method for coordinated monitoring of energy consumption and quality during injection molding according to claim 1, characterized in that: Determining the energy consumption and quality coordination monitoring result according to the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix includes: Determine a T2 statistic and a Q statistic according to the energy consumption characteristic data, the quality characteristic data, the energy consumption correlation matrix, the quality correlation matrix and the comprehensive correlation matrix; Obtaining a first control limit on the T2 statistic and a second control limit on the Q statistic; When it is determined that the T2 statistic exceeds the first control limit and the Q statistic exceeds the second control limit, a first monitoring result indicating that both energy consumption and quality are abnormal is generated; When it is determined that the T2 statistic exceeds the first control limit and the Q statistic does not exceed the second control limit, a second monitoring result is generated that indicates that the quality is abnormal and affects energy consumption; When it is determined that the T2 statistic does not exceed the first control limit and the Q statistic exceeds the second control limit, a third monitoring result is generated indicating that energy consumption is abnormal and affects quality; When it is determined that the T2 statistic does not exceed the first control limit and the Q statistic does not exceed the second control limit, a fourth monitoring result indicating that both energy consumption and quality are normal is generated.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: The processor executes the computer program to implement the method for coordinated monitoring of energy consumption and quality during injection molding as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for coordinated monitoring of energy consumption and quality during injection molding according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Intelligent energy consumption management optimization system in welded pipe production process
CN120975605A
Intelligent energy consumption management optimization system for welded pipe production process
CN120975605B
