A mold pressure protection monitoring method and system for injection molding machine

By constructing multiple binary trees in the anti-pressure monitoring of the injection molding machine mold, the abnormal performance weight and contribution of the pressure data are calculated, which solves the problem of the isolated forest algorithm being affected by noise and improves the accuracy of abnormal data identification.

CN118205180BActive Publication Date: 2024-09-27HUBEI BAIJUN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410273533.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-11
Publication Date
2024-09-27
Estimated Expiration
2044-03-11

AI Technical Summary

Technical Problem

In injection molding machine mold anti-pressure monitoring, the isolation forest algorithm is easily affected by data noise, leading to data overfitting and affecting the accuracy of abnormal data identification.

Method used

By constructing multiple different binary trees, calculate the abnormal performance weight and contribution of each pressure data in each binary tree, comprehensively consider the data characteristics and binary tree characteristics, calculate the final abnormality score, and determine whether the data is abnormal.

Benefits of technology

It effectively avoids the impact of noise on detection results, reduces the possibility of over-fitting, and improves the accuracy of abnormal data identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118205180B
    Figure CN118205180B
Patent Text Reader

Abstract

The present invention relates to the field of data monitoring technology, and more specifically, to a mold pressure protection monitoring method and system for an injection molding machine. The method comprises: collecting multiple pressure data of an injection molding machine, constructing multiple different binary trees, obtaining the excellence of each binary tree according to the pressure data distribution on the left and right sides of the root node of the binary tree and the average path length from the root node to the leaf node, obtaining the contribution degree of each pressure data to each binary tree according to the height of each pressure data in each binary tree and the distance between each pressure data and the root node of each binary tree, obtaining the abnormal performance weight of each pressure data in each binary tree based on the contribution degree and the excellence of the binary tree, calculating the final abnormal score value of each pressure data according to the abnormal performance weight, judging whether the multiple pressure data are abnormal according to the final abnormal score value, and having high accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the field of data monitoring technology, and more specifically, to a mold pressure protection monitoring method and system for an injection molding machine. Background Art

[0002] In the context of intelligent manufacturing, the degree of automation and intelligence of injection molding machines is gradually improving. The mold is one of the core components of the injection molding machine. Damage to the mold will lead to production interruption and replacement costs. By performing anti-pressure monitoring on the mold, abnormal conditions can be discovered in time to prevent the mold from being damaged due to excessive force and extend the service life of the mold. In addition, the production efficiency of the injection molding machine is directly affected by the performance of the mold. Through anti-pressure monitoring, the injection molding process can be optimized, production efficiency can be improved, and the scrap rate can be reduced. It can be seen that anti-pressure monitoring is of great significance.

[0003] The mold pressure protection monitoring of the injection molding machine mainly monitors the pressure data, which needs to be efficient and accurate. The isolation forest algorithm is a relatively efficient algorithm for identifying abnormal data. Therefore, the isolation forest algorithm can be used to monitor the pressure data. However, the isolation forest algorithm is easily affected by the noise in the data, resulting in data overfitting, which in turn affects the accuracy of the abnormal data identification results. Summary of the invention

[0004] In order to solve one or more of the above technical problems, the present invention proposes a mold pressure protection monitoring method and system for an injection molding machine, which can accurately monitor the mold pressure data of the injection molding machine. The following technical scheme is specifically adopted: A mold pressure protection monitoring method for an injection molding machine, comprising:

[0005] Collect multiple pressure data of the injection molding machine over a period of time;

[0006] constructing a plurality of different binary trees for the plurality of pressure data, wherein each binary tree contains the same pressure data but has a different distribution of the pressure data;

[0007] Obtaining the excellence of each binary tree according to the pressure data distribution on the left and right sides of the root node of each binary tree and the average path length from the root node to the leaf node;

[0008] Obtaining the contribution of each pressure data to each binary tree according to the height of each pressure data in each binary tree and the distance between each pressure data and the root node of each binary tree;

[0009] Based on the contribution degree of each pressure data to each binary tree and the excellence of each binary tree, the abnormal performance weight of each pressure data in each binary tree is obtained;

[0010] Calculate the final abnormal score value of each pressure data by using the abnormal performance weight of each pressure data in each binary tree and the abnormal score value of each pressure data;

[0011] Whether the plurality of pressure data are abnormal is determined according to a final abnormality score value of each pressure data.

[0012] Furthermore, the final abnormal score value of each pressure data satisfies the following relationship:

[0013]

[0014] In the formula, i is the serial number of the pressure data, is the final abnormal score value of the i-th pressure data, is the i-th pressure data The anomaly score value in the Sth binary tree, is the i-th pressure data The weight of abnormal performance in the Sth binary tree, is the total number of binary trees, S is the sequence number of the binary tree, and its value is all integers in the range [1, N].

[0015] Furthermore, the abnormal score value of each pressure data is obtained by using an isolation forest algorithm.

[0016] Furthermore, the abnormal performance weight of each pressure data in each binary tree satisfies the following relationship:

[0017]

[0018] In the formula, is the i-th pressure data The weight of abnormal performance in the Sth binary tree, is the contribution of the i-th pressure data to the S-th binary tree, is the goodness of the Sth binary tree, is the i-th pressure data, is the mean of the pressure data, is the injection molding machine voltage corresponding to the i-th pressure data collection, is the average voltage of the injection molding machine during the period of time when all pressure data are collected, is the normalization function.

[0019] Furthermore, the contribution of each pressure data to each binary tree satisfies the following relationship:

[0020]

[0021] In the formula, is the contribution of the i-th pressure data to the S-th binary tree, is the distance between the i-th pressure data and the root node of the S-th binary tree, is the maximum value of the node height contained in the Sth binary tree, is the node height of the ith data point in the Sth binary tree.

[0022] Furthermore, the goodness of each binary tree satisfies the following relationship:

[0023]

[0024] In the formula, is the goodness of the Sth binary tree, is the variance of all pressure data on the left side of the root node of the Sth binary tree, is the variance of all pressure data on the right side of the root node of the Sth binary tree, is the total number of leaf nodes of the Sth binary tree, is the total number of leaf nodes to the right of the root node of the Sth binary tree, is the total number of leaf nodes on the left side of the root node of the Sth binary tree, is the sequence number of the leaf node of the Sth binary tree, Take all ] all integers in the range is the root node of the Sth binary tree and the The distance between leaf nodes, is an exponential function with base e.

[0025] Further, judging whether the plurality of pressure data are abnormal according to the final abnormality score value of each pressure data is as follows:

[0026] Preset score value thresholds;

[0027] If the final abnormal score value of a certain pressure data among the multiple pressure data is greater than the threshold value of the preset score value, the multiple pressure data are abnormal and an early warning is issued; otherwise, the pressure data are not abnormal.

[0028] The present invention also provides a mold pressure monitoring system for an injection molding machine, the mold pressure monitoring system comprising a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps described in any of the above methods.

[0029] The present invention has the following effects:

[0030] The present invention obtains the abnormal performance of the same pressure data in different multiple isolated forest binary trees based on the position characteristics of the same pressure data in multiple different binary trees, including the height of the pressure data on each binary tree and the distance between the pressure data and each binary tree node, based on the position characteristics and the excellence of each binary tree itself, and weights the abnormal performance of the same pressure data in different multiple isolated forest binary trees to obtain the final abnormal score value of the pressure data, comprehensively considers the characteristics of the pressure data and the characteristics of the binary tree itself, obtains the corresponding weight from two aspects of the current data itself and the binary tree in which it is located, avoids the influence of noise on the detection result, reduces the possibility of overfitting, and improves the accuracy of abnormal data recognition results. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0032] Figure 1 It is a schematic flow chart of the method of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0034] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0035] Reference Figure 1 , a mold pressure protection monitoring method for an injection molding machine, comprising steps S1-S7, specifically as follows:

[0036] S1: Collect multiple pressure data of the injection molding machine over a period of time.

[0037] In this embodiment, the data collection time interval is set to 2s, and a total of 1 minute of pressure data of the injection molding machine mold during the production operation process is collected. The time interval and collection time are empirical values ​​and can be adjusted according to actual conditions.

[0038] S2: constructing a plurality of different binary trees for the plurality of pressure data, wherein each binary tree contains the same pressure data but has a different distribution of the pressure data.

[0039] When monitoring the abnormal pressure data of the injection molding machine mold, the injection molding machine may go through different production stages during operation, such as mold closing, injection molding, pressure holding, cooling, etc. The mold pressure behavior in each stage may be significantly different, that is, the currently collected mold pressure data has a certain trend of change and the existence of noise data is inevitable during the data collection process. Therefore, when building an isolated forest binary tree to identify abnormal data, a single tree structure is easily affected by the changing trend of the data itself and the existence of noise data, which leads to overfitting of the data and reduces the robustness of the model. Therefore, multiple independent tree structures are introduced, and the distribution characteristics of pressure data in multiple different tree structures are comprehensively analyzed to improve the accuracy of pressure data abnormal monitoring.

[0040] Therefore, this embodiment builds N binary trees for all the collected pressure data. The building method is the same as the method of building binary trees for data in the isolation forest algorithm. For the N built binary trees, each binary tree contains all the pressure data, and all the pressure data are distributed on the nodes of the binary tree, that is, the pressure data contained in multiple binary trees are the same. The difference is that the structures of the multiple binary trees are different, so the distribution characteristics of the pressure data on the multiple binary trees are different.

[0041] S3: Obtain the quality of each binary tree according to the pressure data distribution on the left and right sides of the root node of each binary tree and the average path length from the root node to the leaf node.

[0042] The goodness of each binary tree satisfies the following relationship:

[0043]

[0044] In the formula, is the goodness of the Sth binary tree, is the variance of all pressure data on the left side of the root node of the Sth binary tree, is the variance of all pressure data on the right side of the root node of the Sth binary tree, is the total number of leaf nodes of the Sth binary tree, is the total number of leaf nodes to the right of the root node of the Sth binary tree, is the total number of leaf nodes on the left side of the root node of the Sth binary tree, is the sequence number of the leaf node of the Sth binary tree, Take all ] all integers in the range is the root node of the Sth binary tree and the The distance between leaf nodes, is an exponential function with base e.

[0045] Indicates the uniformity of the distribution of pressure data on the left and right sides of the root node of the Sth binary tree. is the root node of the Sth binary tree and the The distance between leaf nodes, represents the average path length from the root node of the Sth binary tree to all leaf nodes, is an exponential function with base e.

[0046] It should be noted that in the isolation forest algorithm, the primary purpose is to make the binary tree better able to segment out abnormal data. It is generally believed that a good binary tree should be able to effectively partition the data so that the samples are evenly distributed in different parts of the tree, which helps the tree better capture data anomalies. The specific evaluation of the quality of a binary tree includes the following aspects: A good binary tree should have a shorter average path length, which means that the average path from the root node to the leaf node is shorter, making it easier for abnormal data to be isolated to the leaf nodes of the binary tree. Therefore, the uniformity of the pressure data distribution on the left and right sides of the root node of the binary tree and the root node of the binary tree can be used to evaluate the quality of each pressure data. The average path length from the point to the leaf node is used to determine the goodness of the binary tree where the pressure data is located, and the goodness is used to evaluate the quality of a binary tree. More specifically, the uniformity of the distribution of the pressure data on the left and right sides of the root node of the binary tree where each pressure data is located can be characterized based on the difference in the variance of the pressure data on the left and right sides of the root node of the binary tree. The smaller the difference in the variance of the pressure data on the left and right sides of the root node of the binary tree, the more uniform the distribution of the pressure data in the binary tree. At the same time, the number of leaf nodes on the left and right sides of the root node of the binary tree reflects the isolation of the data on the left and right sides of the root node of the binary tree. The more leaf nodes there are on one side, the higher the isolation of the pressure data on that side, and the more credible the corresponding variance is.

[0047] Therefore, this embodiment evaluates the quality of the binary tree by obtaining the goodness of each binary tree. The goodness of the binary tree itself will affect the accuracy of the abnormal pressure data identification results. The lower the goodness of the binary tree, the lower the accuracy of abnormal pressure data identification. When the goodness of a binary tree is high, the greater the contribution of each pressure data on the binary tree to the binary tree, the more reliable the abnormal data identification results will be.

[0048] S4: Obtain the contribution of each pressure data to each binary tree according to the height of each pressure data in each binary tree and the distance between each pressure data and the root node of each binary tree.

[0049] The contribution of each pressure data to each binary tree satisfies the following relationship:

[0050]

[0051] In the formula, is the contribution of the i-th pressure data to the S-th binary tree, is the distance between the i-th pressure data and the root node of the S-th binary tree, is the maximum value of the node height contained in the Sth binary tree, is the node height of the ith data point in the Sth binary tree, is the normalization function, So The logarithmic function with base .

[0052] It should be noted that the abnormal performance of the current data in the binary tree is not only related to the goodness of the binary tree itself, but also to the contribution of the current data itself to the binary tree it is in. The goodness of the binary tree will affect the accuracy of the abnormal data results segmented by the binary tree. The higher the goodness of the binary tree, the higher the accuracy of the abnormal data results segmented. The abnormal performance of each pressure data in different binary trees is different. In the process of obtaining the abnormal performance weight of each pressure data in each binary tree, the specific weight depends on the contribution of the pressure data to the binary tree it is in. The higher the contribution of the pressure data to the binary tree it is in, the higher the accuracy of the abnormal data results segmented. The higher the pressure data is, the higher the quality of the binary tree where the pressure data is located is, and the higher the weight of the abnormal performance of the pressure data in the binary tree is. The contribution of a pressure data to the binary tree where it is located is mainly reflected by the height (number of layers) of the pressure data in the binary tree and the path length (distance) between the pressure data and the root node of the binary tree. The lower the height of the pressure data in the binary tree, the earlier the pressure data will be isolated, and the abnormality of the pressure data may contribute more to the entire isolated forest. The shorter the path length of the pressure data from the root node of the binary tree, the easier it is for the current data to be isolated, and the higher the contribution to the binary tree. At the same time, under the premise of the higher quality of the binary tree where the pressure data is located, the corresponding weight of the abnormal performance of the pressure data in the binary tree is also greater.

[0053] S5: Based on the contribution of each pressure data to each binary tree and the quality of each binary tree, the abnormal performance weight of each pressure data in each binary tree is obtained.

[0054] The abnormal performance weight of each pressure data in each binary tree satisfies the following relationship:

[0055]

[0056] In the formula, is the i-th pressure data The weight of abnormal performance in the Sth binary tree, is the contribution of the i-th pressure data to the S-th binary tree, is the goodness of the Sth binary tree, is the i-th pressure data, is the mean of the pressure data, is the injection molding machine voltage corresponding to the i-th pressure data collection, is the average voltage of the injection molding machine during the period of time when all pressure data are collected, is the normalization function, Indicates the credibility of the contribution of the i-th pressure data to the S-th binary tree.

[0057] It should be noted that the smaller the noise level of the pressure data, the higher the credibility of its contribution. The noise level mainly depends on the difference between the pressure data and the mean of all pressure data. , and the difference between the voltage data of the injection molding machine at the time of pressure data collection and the voltage average value of the overall pressure data collection period , the smaller the difference between these two differences, that is, The smaller the value is, the smaller the noise level of the pressure data is, and thus the higher the contribution level of the pressure data is, and the higher the credibility of the weight is. This embodiment compares the difference between a pressure data and the mean of all pressure data with the difference between the voltage data of the injection molding machine corresponding to the pressure data collection moment and the voltage mean of all pressure data corresponding to the collection time period, so as to avoid the noise performance of the pressure data being caused by the change of the injection mold operation state, and thus avoid amplifying the noise performance of normal data, so as to improve the accuracy of the noise performance result.

[0058] From S3-S5, we can see that the higher the height of a pressure data in the binary tree and the shorter the path distance between the pressure data and the root node of the binary tree, the greater the contribution of the pressure data to the binary tree. At the same time, if the superiority of the binary tree where the pressure data is located is also higher, the corresponding weight of the abnormal performance of the pressure data in the binary tree will be greater. In addition, the smaller the noise level of the pressure data, the higher the credibility of its corresponding weight.

[0059] S6: Calculate the final abnormal score value of each pressure data by using the abnormal performance weight of each pressure data in each binary tree and the abnormal score value of each pressure data.

[0060] The final abnormal score value of each pressure data satisfies the following relationship:

[0061]

[0062] In the formula, i is the serial number of the pressure data, is the final abnormal score value of the i-th pressure data, is the i-th pressure data The anomaly score value in the Sth binary tree is obtained by the isolation forest algorithm. When detecting data anomalies, the isolation forest algorithm will give an anomaly score value for each abnormal data, and finally perform anomaly detection based on the anomaly score value. Therefore, the i-th pressure data is first obtained by the isolation forest algorithm. The anomaly score value in the Sth binary tree, is the i-th pressure data The weight of abnormal performance in the Sth binary tree, is the total number of binary trees, S is the serial number of the binary tree, and its value is all integer values ​​in the range [1, N]. The meaning of is to obtain the sum of the abnormal performance weights of the i-th pressure data in N binary trees.

[0063] S7: Determine whether the multiple pressure data are abnormal according to the final abnormality score value of each pressure data.

[0064] Wherein, judging whether the plurality of pressure data are abnormal according to the final abnormality score value of each pressure data is performed by:

[0065] The threshold of the preset score value is set to This value is an empirical value and can be set by yourself without specific restrictions. If the final abnormal score value of a certain pressure data among the multiple pressure data is greater than the threshold of the preset score value, then the multiple pressure data are abnormal, and an early warning is issued to notify relevant staff to make adjustments. Otherwise, the pressure data is not abnormal.

[0066] The present invention also provides a mold pressure protection monitoring system for an injection molding machine. The system includes a memory and a processor, and a computer program is stored in the memory. The computer program can implement the function of the mold pressure protection monitoring method for an injection molding machine. When the computer program is executed, the pressure data of the injection molding machine is evaluated based on the mold pressure protection monitoring method for an injection molding machine to determine whether there is an abnormality in the pressure data. If there is an abnormality, an early warning prompt is issued.

[0067] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0068] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A mold pressure protection monitoring method for an injection molding machine, It is characterized in that include: Collect multiple pressure data of the injection molding machine over a period of time; Constructing a plurality of different binary trees for the plurality of pressure data, wherein each binary tree contains the same pressure data but has a different distribution of the pressure data; According to the pressure data distribution on the left and right sides of the root node of each binary tree and the average path length from the root node to the leaf node, the goodness of each binary tree is obtained: , is the goodness of the Sth binary tree, is the variance of all pressure data on the left side of the root node of the Sth binary tree, is the variance of all pressure data on the right side of the root node of the Sth binary tree, is the total number of leaf nodes of the Sth binary tree, is the total number of leaf nodes to the right of the root node of the Sth binary tree, is the total number of leaf nodes on the left side of the root node of the Sth binary tree, is the sequence number of the leaf node of the Sth binary tree, Take all ] all integers in the range is the root node of the Sth binary tree and the The distance between leaf nodes, For An exponential function with base ; According to the height of each pressure data in each binary tree and the distance between each pressure data and the root node of each binary tree, the contribution degree of each pressure data to each binary tree is obtained: , is the contribution of the i-th pressure data to the S-th binary tree, is the distance between the i-th pressure data and the root node of the S-th binary tree, is the maximum value of the node height contained in the Sth binary tree, is the node height of the ith data point in the Sth binary tree; Based on the contribution of each pressure data to each binary tree and the excellence of each binary tree, the abnormal performance weight of each pressure data in each binary tree is obtained: , is the i-th pressure data The weight of abnormal performance in the Sth binary tree, is the i-th pressure data, is the mean of the pressure data, is the injection molding machine voltage corresponding to the i-th pressure data collection, is the average voltage of the injection molding machine during the period of time when all pressure data are collected, is the normalization function; The final abnormal score value of each pressure data is calculated by the abnormal performance weight of each pressure data in each binary tree and the abnormal score value of each pressure data: , is the sequence number of the pressure data, is the final abnormal score value of the i-th pressure data, is the i-th pressure data The anomaly score value in the Sth binary tree, is the total number of binary trees, S is the sequence number of the binary tree, and its value is any integer in the range of [1, N]. The anomaly score value is obtained by the isolation forest algorithm; Whether the plurality of pressure data are abnormal is determined according to a final abnormality score value of each pressure data.

2. A mold pressure protection monitoring method for an injection molding machine according to claim 1, It is characterized in that Judging whether the plurality of pressure data are abnormal according to the final abnormality score value of each pressure data, the method is: Preset score value thresholds; If the final abnormal score value of a certain pressure data among the multiple pressure data is greater than the threshold value of the preset score value, the multiple pressure data are abnormal and an early warning is issued; otherwise, the pressure data are not abnormal.

3. A mold pressure monitoring system for an injection molding machine, It is characterized in that The mold pressure protection monitoring system includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps described in any one of claims 1-2.