An ultrasonic-based method for detecting the health status of the tie rod of an injection molding machine
By performing empirical mode decomposition and noise screening on ultrasonic data, the noise problem in traditional detection methods is solved, real-time health status detection of injection molding machine tie rods is realized, and detection accuracy and efficiency are improved.
Patent Information
- Application Number
- CN202410832236.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The traditional injection molding machine tie rod detection method has limitations, making it difficult to achieve real-time online measurement, and the ultrasonic data noise problem leads to inaccurate detection, affecting the accurate detection of the tie rod's health status.
Using the ultrasound-based health status detection method, the ultrasound data is decomposed into IMF components through empirical mode decomposition, the correlation, fluctuation degree and spectrogram characteristics of the IMF components are analyzed, the noise components are filtered and removed, and the denoised data is obtained. Check the health status of the tie rod.
The accuracy and efficiency of the tie rod health status detection are improved, the impact of noise is reduced, and the reliability of the detection results is enhanced.
Smart Images

Figure CN118395092B
Abstract
Description
Technical Field
[0001] The present application relates to the field of ultrasonic measurement technology, and in particular to a method for detecting the health status of a tie rod of an injection molding machine based on ultrasonic waves. Background Art
[0002] Injection molding machines occupy an important position in the plastic processing industry and are used to produce various plastic products. As a key component of the injection molding machine, the performance of the tie rod directly affects the production efficiency and product quality. Traditional tie rod detection methods, such as strain gauge detection, may have limitations, such as only being able to detect local areas, being sensitive to temperature changes, and being difficult to achieve real-time online measurement. With the development of industrial automation and intelligence, higher requirements are placed on the real-time health status detection of the tie rods of injection molding machines in order to detect problems in a timely manner and perform maintenance. By detecting the health status of the tie rods in real time, unexpected downtime can be reduced, production efficiency can be improved, and the safety of operators can be ensured.
[0003] Since the acquired ultrasonic data may contain noise, it may lead to wrong judgment results when analyzing based on ultrasonic data. Therefore, it is necessary to perform denoising on the acquired ultrasonic data. In view of the problem that the ultrasonic data cannot accurately judge the stress of the tie rod due to the noise, and thus the ultrasonic wave cannot accurately detect the health status of the tie rod, the ultrasonic data is denoised. Summary of the invention
[0004] In order to solve the technical problem of inaccurate ultrasonic measurement, the present application provides an ultrasonic-based method for detecting the health status of a tie rod of an injection molding machine. The technical solution adopted is as follows:
[0005] The present application proposes a method for detecting the health status of a tie rod of an injection molding machine based on ultrasound, the method comprising the following steps:
[0006] Collect ultrasonic data of each tie rod in a process, during the stress stage and the stress-free stage;
[0007] The ultrasonic data in the stress stage and the ultrasonic data in the non-stress stage are decomposed into a finite number of IMF components through empirical mode decomposition.
[0008] The possibility that the IMF component is noise is obtained based on the correlation between the IMF component and the ultrasonic data, the fluctuation degree of the IMF component, and the distribution of data points in the spectrum diagram corresponding to the IMF component;
[0009] The reference of the IMF component being noise is obtained based on the similarity between the ultrasonic data in the stressed stage and the ultrasonic data in the unstressed stage, the similarity between the IMF components of the same number of times in the stressed stage and the unstressed stage, and the possibility that the IMF component is noise;
[0010] According to the possibility that the IMF component is noise and the reference of the IMF component being noise, the IMF component that is noise is screened, and after the IMF component that is noise is eliminated, the denoised ultrasonic data of the stress stage and the stress-free stage are obtained;
[0011] The health status of the injection molding machine tie rod is detected based on the denoised ultrasonic data in the stress stage and the non-stress stage.
[0012] In the above scheme, the present application obtains the initial noise value of the IMF component based on the similarity between the IMF component and the original ultrasonic data. Taking into account the similarity between the IMF component and the original ultrasonic data, the noise content in the IMF component can be analyzed more intuitively to improve the detection accuracy; at the same time, based on the characteristics of the IMF component curve containing noise and not containing noise, the regularity of the IMF component data is further obtained, and the noise content of the IMF component is analyzed according to the impact of the noise characteristics on the IMF component, which can better analyze the noise content of the IMF component and improve the denoising effect; further, the degree of noise contained in the IMF component is obtained according to the distribution characteristics of the spectrum image of the IMF component, and the accuracy of the noise content obtained and analyzed by the IMF component is improved according to the frequency amplitude image analysis; finally, based on the similar characteristics of the ultrasonic data obtained by the stressed and unstressed in the scene, the IMF components of the two groups of ultrasonic data can be analyzed with each other to obtain the reference correction value of the noise data contained in the IMF component data, thereby improving the calculation accuracy of the noise content contained in the IMF component. By performing modal decomposition on the obtained ultrasonic data and analyzing the IMF components after modal decomposition to obtain the importance of the principal components of the IMF components, the IMF components are eliminated, and then the ultrasonic data is denoised, which greatly increases the accuracy of the rod tension obtained based on the ultrasonic data and improves the accuracy of the rod health status detection.
[0013] In one embodiment, the method for obtaining the possibility that the IMF component is noise according to the correlation between the IMF component and the ultrasonic data, the fluctuation degree of the IMF component, and the distribution of data points in the spectrum diagram corresponding to the IMF component is:
[0014] For the ultrasonic data of any one of the stress-free stage and the stress-treated stage, the ultrasonic data of each stage is taken as an ultrasonic sequence, the ultrasonic data of the stress-free stage is the mold-opening ultrasonic sequence, and the ultrasonic data of the stress-treated stage is the mold-closing ultrasonic sequence; the element values of two adjacent elements in the ultrasonic sequence are subtracted to obtain the differential sequence corresponding to any stage, and the initial noise value of the IMF component is obtained according to the correlation between the differential sequence and the IMF component;
[0015] For the IMF component, in the sliding window centered at each data point, the regularity of the IMF component is obtained based on the slope difference of the data points in the sliding window and the time difference between the peaks and troughs of the IMF component;
[0016] Obtain the spectrum of the IMF component, and obtain the noise level of the IMF component according to the distribution position of the data points in the spectrum;
[0017] The possibility that the IMF component is a noise component is obtained according to the initial noise value of the IMF component, the regularity of the IMF component and the noise degree of the IMF component.
[0018] In one embodiment, the method for obtaining the initial noise value of the IMF component according to the correlation between the difference sequence and the IMF component is:
[0019] The method for calculating the correlation between the difference sequence and each IMF component is the Pearson correlation coefficient. The correlation between each IMF component and the difference sequence is normalized and used as the initial noise value of the IMF component.
[0020] In one embodiment, a sliding window is constructed for each data point, and a method for obtaining the regularity of the IMF component according to the slope difference of the data points in the sliding window and the time difference between the peak and trough of the IMF component is as follows:
[0021] For the IMF component, a fitting curve is drawn through its discrete points, and the slope of each data point is obtained by taking the derivative of the fitting curve;
[0022] In each IMF component, a sliding window is constructed with each data point as the center. In the sliding window, the absolute value of the difference between the slopes of each data point and its two adjacent data points is calculated, and the average is taken as the slope difference of each data point in the sliding window; if a data point has only one adjacent data point, the absolute value of the difference between its slope and the adjacent data point is the slope difference of the data point; the average of the slope differences of all data points in the sliding window is taken as the slope change stability of the sliding window;
[0023] Calculate the mean of the slope change stability of all sliding windows in the IMF component as the change stability of the IMF component;
[0024] Get all the peaks and troughs of the IMF component, take the time difference between adjacent peaks and troughs as a peak-to-peak difference value, construct a sequence of all the peak-to-peak difference values in the IMF component as a periodic sequence, and calculate the variance of the periodic sequence;
[0025] Obtain the regularity of IMF components based on the stability of their changes and the variance of their corresponding periodic series;
[0026] The regularity of the IMF component is positively correlated with the stability of its change, and the regularity of the IMF component is negatively correlated with the variance of the corresponding periodic series of the IMF component.
[0027] In one embodiment, the method of obtaining the spectrum of the IMF component and obtaining the noise level of the IMF component according to the distribution positions of the data points in the spectrum is:
[0028] The IMF component is processed by Fourier transform to obtain the component spectrum corresponding to the IMF component. The amplitude of all data points in the component spectrum is processed by Otsu threshold method. All data points in the component spectrum are divided into two categories. The category with amplitude greater than the amplitude threshold is recorded as the first category, and the category with amplitude less than the threshold is recorded as the second category.
[0029] For all data points in the second category, the Otsu threshold method is used to divide all data points in the second category into two categories according to the frequency of the data points, and the data points in the second category with a frequency greater than the frequency threshold are recorded as the third category;
[0030] For all data points in each third category, the product of the horizontal and vertical coordinates of each data point is calculated, and the product is normalized by the maximum and minimum values as the noise value of each data point. The average of the noise values of all data points in the third category is taken as the noise degree of the IMF component.
[0031] In one embodiment, the method for obtaining the possibility that the IMF component is a noise component according to the initial noise value of the IMF component, the regularity of the IMF component and the noise degree of the IMF component is:
[0032] After multiplying the initial noise value of the IMF component by the noise degree of the IMF component, the ratio of the product to the regularity of the IMF component is linearly normalized to obtain the possibility that the IMF component is a noise component.
[0033] In one embodiment, the method for obtaining the reference of the IMF component being noise based on the similarity between the ultrasonic data in the stressed stage and the ultrasonic data in the unstressed stage, the similarity between the IMF components of the same number of times in the stressed stage and the unstressed stage, and the possibility that the IMF component is noise is:
[0034] Obtain the spectrum of each IMF component through Fourier transform;
[0035] The similarity between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is expressed by the inverse of the dtw value of the two. For the spectrum diagrams of the two IMF components, the Otsu threshold method is used to obtain the screening threshold based on the amplitude for all the data points in the two spectrum diagrams, and the data points greater than the screening threshold are screened out, and the screened data points are recorded as important points.
[0036] For two spectrograms, obtain the important points of each spectrogram, match the important points of the two spectrograms by the Hungarian algorithm, the similarity between the important points is the Euclidean distance of the frequency and amplitude between the important points, and take the average of the similarities between all the important points as the similarity of the spectrograms; calculate the difference in the number of important points in the two spectrograms and record it as the first quantitative difference;
[0037] The product of the similarity of the spectrum graph and the similarity of the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is recorded as the first product, and the ratio of the first product to the first quantity difference is taken as the similarity of the IMF component;
[0038] Obtain the noise reference correction value of the IMF component according to the similarity of the IMF component at the corresponding decomposition times and the possibility that the IMF component is a noise component;
[0039] The noise reference correction value of the IMF component is positively correlated with the similarity of the IMF component and the possibility that the IMF component is a noise component.
[0040] In one embodiment, the method for obtaining the noise reference correction value of the IMF component according to the similarity of the IMF component at the corresponding decomposition number and the possibility that the IMF component is a noise component is:
[0041] The similarity of the IMF component at the corresponding decomposition number and the product of the IMF component and the noise component are linearly normalized and used as the noise reference correction value of the IMF component.
[0042] In one embodiment, the method for screening the IMF components that are noise according to the possibility that the IMF components are noise and the reference that the IMF components are noise is:
[0043] The reciprocal of the possibility that the IMF component is a noise component is recorded as the first reciprocal, and the reciprocal of the noise reference correction value corresponding to the IMF component is recorded as the second reciprocal. The product of the first reciprocal and the second reciprocal is linearly normalized as the principal component importance of the IMF component.
[0044] The IMF components whose principal component importance is less than the preset noise threshold are recorded as noise components.
[0045] In one embodiment, the method for detecting the health status of the tie rod of the injection molding machine according to the denoised ultrasonic data in the stress stage and the non-stress stage is:
[0046] Select the denoised ultrasonic data of the mold opening and force-bearing stages corresponding to the process closest to the current moment;
[0047] The tensile stress of the pull rod during operation is obtained based on the denoised ultrasonic data in the stress-bearing stage and the stress-free stage;
[0048] Each tie rod is recorded as a target tie rod, and the tensile stress of the target tie rod is subtracted from that of all other tie rods, and the average value of the difference is calculated. The reciprocal of the average value is used as a health status evaluation index of the tie rod of the injection molding machine after linear normalization;
[0049] When the state evaluation index of the tie rod is greater than the health threshold, the health state of the tie rod is good; when the state evaluation index of the tie rod is less than or equal to the health threshold, the health state of the tie rod is poor.
[0050] The present invention has at least the following beneficial effects:
[0051] The present application obtains the initial noise value of the IMF component based on the similarity between the IMF component and the original ultrasonic data. Taking into account the similarity between the IMF component and the original ultrasonic data, the noise content in the IMF component can be analyzed more intuitively to improve the detection accuracy. At the same time, based on the analysis of the characteristics of the IMF component curve containing noise and not containing noise, the regularity of the IMF component data is further obtained, and the noise content of the IMF component is analyzed according to the impact of the noise characteristics on the IMF component, which can better analyze the noise content of the IMF component and improve the denoising effect. Further, the degree of noise contained in the IMF component is obtained according to the distribution characteristics of the spectrum image of the IMF component, and the accuracy of the noise content obtained and analyzed by the IMF component is improved according to the frequency amplitude image analysis. Finally, based on the similar characteristics of the ultrasonic data obtained by the stressed and unstressed in the scene, the IMF components of the two groups of ultrasonic data can be analyzed with each other to obtain the reference correction value of the noise data contained in the IMF component data, thereby improving the calculation accuracy of the noise content contained in the IMF component. By performing modal decomposition on the obtained ultrasonic data and analyzing the IMF components after modal decomposition to obtain the importance of the principal components of the IMF components, the IMF components are eliminated, and then the ultrasonic data is denoised, which greatly increases the accuracy of the rod tension obtained based on the ultrasonic data and improves the accuracy of the rod health status detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are 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 creative work.
[0053] Figure 1 A flow chart of a method for detecting the health status of a tie rod of an injection molding machine based on ultrasound provided in one embodiment of the present application;
[0054] Figure 2 A detailed flowchart for obtaining the probability that each IMF component is noise. DETAILED DESCRIPTION
[0055] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the ultrasonic-based injection molding machine tie rod health status detection method proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0056] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0057] An ultrasonic-based method for detecting the health status of a tie rod of an injection molding machine:
[0058] The specific scheme of the method for detecting the health status of a tie rod of an injection molding machine based on ultrasound provided by the present application is described in detail below with reference to the accompanying drawings.
[0059] See also Figure 1 , which shows a flow chart of a method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to an embodiment of the present application, the method comprising the following steps:
[0060] Step S001, collecting ultrasonic data of each tie rod in a process, in a stress-bearing stage and a stress-free stage.
[0061] During the injection molding process, the movable platen moves forward to close the mold, which is the mold closing stage. During the mold closing stage, the clamping force passes through the movable platen, the fixed platen, the mold adjusting base, and finally acts on the tie rod. At this time, the tie rod of the injection molding machine is subjected to tensile stress, so the mold closing stage is also recorded as the force-bearing stage; in the mold opening stage, the movable platen retreats and the clamping force returns to zero. At this time, the tie rod is not subjected to tensile stress, so the mold opening stage is also recorded as the non-stress stage.
[0062] In the large-scale industrial production process, the injection molding machine mold opens and closes alternately, and the tie rod is also subjected to alternating tensile stress.
[0063] An ultrasonic probe is placed at the pull rod position. When the injection molding machine is working, ultrasonic waves are emitted by the ultrasonic probe, and ultrasonic receiving equipment is used to obtain ultrasonic data. The obtained ultrasonic data is transmitted to a data analysis system, wherein the data collected by the ultrasonic probe is collected once every 1ns, and the ultrasonic data obtained in the stress stage and the unstressed stage are saved separately, that is, the ultrasonic data collected from the beginning of the unstressed stage to the end of the unstressed stage is the ultrasonic data under tensile stress, and the ultrasonic data collected from the beginning of the stress stage to the end of the stress stage is the ultrasonic data without tensile stress.
[0064] For each tie rod, the process from the stress stage to the unstressed stage is considered as a process. Each process includes a stress stage and a unstressed stage. Real-time ultrasonic data of a process is collected. The health status of the tie rod of the injection molding machine is detected through the real-time collected ultrasonic data of the unstressed stage and the stress stage.
[0065] At this point, real-time ultrasonic data of the unstressed stage and the stressed stage are obtained.
[0066] Step S002: Decompose the ultrasonic data in the stress-bearing stage and the ultrasonic data in the non-stressing stage into a finite number of IMF components by empirical mode decomposition.
[0067] For each pull rod, in one process, the ultrasonic data obtained in the unstressed stage is used as the mold opening ultrasonic sequence, and the ultrasonic data obtained in the stressed stage is used as the mold closing ultrasonic sequence. Empirical mode decomposition (EMD) is used for the mold opening ultrasonic sequence and the mold closing ultrasonic sequence, respectively, and the mold opening ultrasonic sequence and the mold closing ultrasonic sequence are decomposed into a finite number of intrinsic mode function (IMF) components.
[0068] For any sequence in the mold opening ultrasonic sequence and the mold closing ultrasonic sequence, obtain its upper and lower extreme points, draw the upper and lower envelopes respectively, calculate the average of the upper and lower envelopes, draw the mean envelope, subtract the mean envelope from the sequence to obtain the intermediate signal, and iterate through the intermediate signal to obtain the IMF component. The EMD algorithm is a well-known technology and will not be described in detail in this application.
[0069] Since there are noise components in the IMF components, further analysis is required to remove the noise components. In one embodiment, the number of IMF components is set to 7. It should be noted that the number of IMF components is not fixed and can be set by the implementer. The implementer can also take other numbers, such as 8.
[0070] So far, several IMF components have been obtained.
[0071] Step S003, obtaining the possibility that the IMF component is noise according to the correlation between the IMF component and the ultrasonic data, the fluctuation degree of the IMF component, and the distribution of data points in the spectrum diagram corresponding to the IMF component.
[0072] In view of the fact that there are components that only represent noise in the IMF components, it is necessary to analyze each IMF component to obtain the possibility that each IMF component is noise. The specific process is as follows: Figure 2 shown.
[0073] S1, obtaining an initial noise value of the IMF component according to the correlation between the IMF component and the differential sequence of the ultrasonic sequence.
[0074] For any one of the mold opening ultrasonic sequence and the mold closing ultrasonic sequence, it is recorded as the target sequence. For the target sequence, the difference between two adjacent element values in the sequence is taken as the absolute value to obtain its differential sequence, and the correlation between the differential sequence and each IMF component is calculated. The higher the correlation, the more noise the IMF component contains.
[0075] Preferably, in one embodiment of the present application, the method for calculating the correlation between the difference sequence and each IMF component is the Pearson correlation coefficient, and the correlation between each IMF component and the difference sequence is normalized and used as the initial noise value of the IMF component.
[0076] Preferably, in one embodiment of the present application, the method for calculating the correlation between the difference sequence and each IMF component is the Spearman rank correlation coefficient, and the correlation between each IMF component and the difference sequence is normalized as the initial noise value of the IMF component.
[0077] The initial noise value of each IMF component is obtained.
[0078] S2, obtain the regularity of the IMF component based on the slope differences of different data points of the IMF component and the periodicity of the fitting curve.
[0079] Noise is usually irregular or random, so the IMF component containing more noise may show irregular fluctuations or oscillations.
[0080] Therefore, the degree of noise contained in the IMF component is obtained according to the regularity of the curve corresponding to each IMF component. The regularity of the IMF component is obtained as follows:
[0081] Without considering the influence of ultrasonic longitudinal waves, the obtained ultrasonic wave should be relatively smooth, so its corresponding IMF component data should also be smooth. A sliding window of a preset length is set for each IMF component, and the regularity of the IMF component is analyzed by calculation inside the sliding window. In this embodiment, the length of the sliding window is t=31, and the implementer can also use sliding windows of other sizes.
[0082] For the IMF component, a fitting curve is drawn through its discrete points, and the slope of each data point is obtained by taking the derivative of the fitting curve. In the sliding window, the absolute value of the difference between the slopes of each data point and its two adjacent data points is calculated, and the average is taken as the slope difference of each data point in the sliding window. If a data point has only one adjacent data point, the absolute value of the difference between its slope and the adjacent data point is the slope difference of the data point. The average of the slope differences of all data points in the sliding window is taken as the slope change stability of the sliding window.
[0083] In each IMF component, a sliding window is constructed with each data point as the center to obtain the slope change stability of the sliding window. For all data points in the IMF component, the mean of the slope change stability of all sliding windows is calculated as the change stability of the IMF component. It should be noted that if the number of data points in the sliding window is less than t, only the included data points are taken. For example, for the first data point of the IMF component, a sliding window is constructed with it as the center, and this sliding window only contains the right data points and the center data point.
[0084] All the peaks and troughs of the IMF component are obtained, and the time difference between adjacent peaks and troughs is taken as a peak-to-peak difference value. Thus, for one IMF component, several peak-to-peak difference values are obtained. For each IMF component, several peak-to-peak difference values are obtained, and all the peak-to-peak difference values on the IMF component form a sequence, which is recorded as a periodic sequence. The variance of the periodic sequence is calculated. The smaller the variance of the periodic sequence, the more stable the period of the IMF component, and the less noise components the current IMF component contains.
[0085] Get the variance of the periodic series corresponding to the IMF component.
[0086] The regularity of the IMF component is obtained based on the stability of its change and the variance of its corresponding periodic series. The inverse of the regularity of the IMF component is the volatility of the IMF component. The greater the regularity, the smaller the data fluctuation and the smaller the volatility of the IMF component.
[0087] The regularity of IMF components is positively correlated with the stability of their changes, and the regularity of IMF components is negatively correlated with the variance of the corresponding periodic series of IMF components.
[0088] Preferably, the ratio of the stability of change of the IMF component to the variance of the periodic sequence corresponding to the IMF component is taken as the regularity of the IMF component.
[0089] Preferably, the stability of the change of the IMF component is taken as the true number of the logarithmic function, the variance of the periodic sequence corresponding to the IMF component is taken as the base of the logarithmic function, and the value of the logarithmic function is the regularity of the IMF component.
[0090] So far, the regularity of the IMF components has been obtained.
[0091] S3, obtaining the noise level of the IMF component according to the similarity of the spectrum graph of the IMF component and the similarity of the ultrasonic sequence.
[0092] Each IMF component is analyzed to obtain a component spectrum. If an IMF component has a high amplitude in the high-frequency region of its component spectrum, it means that the IMF component contains more noise, so the amount of noise contained in the IMF component can be judged.
[0093] The obtained IMF component data is processed using Fourier transform to obtain the component spectrum diagram corresponding to the IMF component, where there are multiple data points in the component spectrum diagram. The amplitudes of all data points in the component spectrum diagram are processed using the Otsu threshold method, and all data points in the component spectrum diagram are divided into two categories. The category with values greater than the amplitude threshold is recorded as the first category, and the category with values less than the threshold is recorded as the second category.
[0094] In the component spectrum diagram, the larger the horizontal coordinate of the data point is, the larger its frequency is. The noise generally exists in the high-frequency part, and the larger the amplitude of the data point is, the more prominent the data point is, which means that the data point is more likely to correspond to the noise part.
[0095] It should be noted that the Otsu threshold method used in this embodiment is only to classify all data points in the component spectrum into two categories according to the amplitude size, and then select the category with larger amplitude. The implementer can also select other classification methods for processing, such as clustering.
[0096] Therefore, it is necessary to filter out data points with large frequency and high amplitude, and observe the number of data points that may contain noise in each IMF component.
[0097] For all data points in the second category, the Otsu threshold method is used to divide all data points in the second category into two categories again according to the frequency of the data points, and the data points in the second category whose frequency is greater than the frequency threshold are recorded as the third category.
[0098] For all data points in each third category, the product of the horizontal and vertical coordinates of each data point is calculated, and the product is normalized by the maximum and minimum values as the noise value of each data point. The average of the noise values of all data points in the third category is taken as the noise degree of the IMF component.
[0099] It should be noted that the above maximum and minimum value normalization method is only for normalizing the products of the horizontal and vertical coordinates of all data points. The implementer may also use other normalization methods for processing, for example, linear normalization.
[0100] So far, the noise level of the IMF component has been obtained.
[0101] S4, obtaining the possibility that the IMF component is a noise component according to the initial noise value of the IMF component, the regularity of the IMF component and the noise degree of the IMF component.
[0102] The possibility that the IMF component is a noise component is positively correlated with the initial noise value of the IMF component and the noise degree of the IMF component, and the possibility that the IMF component is a noise component is negatively correlated with the regularity of the IMF component.
[0103] That is, the larger the initial noise value of the IMF component is, the greater the degree of noise contained in the IMF component is, and the smaller the regularity of the IMF component data is, the more likely the IMF component is a noise component.
[0104] Preferably, in one embodiment of the present application, after multiplying the initial noise value of the IMF component by the noise degree of the IMF component, the ratio of the product to the regularity degree of the IMF component is linearly normalized to obtain the possibility that the IMF component is a noise component.
[0105] Preferably, in one embodiment of the present application, the initial noise value of the IMF component is multiplied by the noise degree of the IMF component, and the product is used as the true number of the logarithmic function. The regularity of the IMF component is used as the base of the logarithmic function. The result of the logarithmic function is normalized using the maximum and minimum values to obtain the possibility that the IMF component is a noise component.
[0106] It should be noted that positive correlation means that when one variable increases, the other variable also increases, and the two variables change in the same direction. When one variable changes from large to small or from small to large, the other variable also changes from large to small or from small to large. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.
[0107] It should be noted that negative correlation means that as one variable increases, the other variable decreases accordingly, and the two variables change in opposite directions. When one variable changes from large to small or from small to large, the other variable also changes from small to large or from large to small. The specific relationship can be a ratio relationship, a subtraction relationship, etc., which is determined by actual application, and this application does not impose any special restrictions.
[0108] So far, the possibility of each IMF component being a noise component is obtained.
[0109] Step S004, obtaining a reference that the IMF component is noise based on the similarity between the ultrasonic data in the stressed stage and the ultrasonic data in the unstressed stage, the similarity between the IMF components of the same number of times in the stressed stage and the unstressed stage, and the possibility that the IMF component is noise.
[0110] Since there are similarities between the ultrasonic data obtained when the tie rod is stress-free and the ultrasonic data obtained when the tie rod is stressed, that is, there are certain similarities between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence, the IMF components obtained after the corresponding EMD decomposition also have certain similarities.
[0111] First, the similarity between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is calculated. For the two ultrasonic sequences, when the IMF components are obtained, the number of times they are obtained is marked for all IMF components. For example, if an ultrasonic sequence has 7 IMF components, the 7 IMF components are marked from the first time to the seventh time respectively.
[0112] For two ultrasonic sequences, for two IMF components with the same order, the spectrograms of the two IFM components are obtained respectively by Fourier transform, and the similarity of the IMF components is obtained by matching the data points in the spectrograms.
[0113] Preferably, in one embodiment of the present application, the similarity between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is expressed by the inverse of the dtw values of the two. For the spectrograms of the two IMF components, for all the data points of the two spectrograms, the Otsu threshold method is used based on the amplitude to obtain the screening threshold, and the data points greater than the screening threshold are screened out, and the screened data points are recorded as important points; for the two spectrograms, the important points of each spectrogram are obtained, and the important points of the two spectrograms are matched by the Hungarian algorithm. The similarity between the important points is the Euclidean distance of the frequency and amplitude between the important points, and the similarity between all the important points is taken as the similarity of the spectrogram. The difference in the number of important points in the two spectrograms is calculated and recorded as the first quantitative difference.
[0114] The product of the similarity of the spectrum graph and the similarity of the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is recorded as the first product, and the ratio of the first product to the first quantity difference is taken as the similarity of the IMF component.
[0115] Preferably, in one embodiment of the present application, the similarity between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is expressed by the inverse of the dtw values of the two. For the spectrograms of the two IMF components, all the data points of the two spectrograms are divided into two categories by K-means clustering, where the clustering distance is the Euclidean distance between the data points based on frequency and amplitude, and the data points in the category with large frequency and amplitude are recorded as important points; for the two spectrograms, the important points of each spectrogram are obtained, and the important points of the two spectrograms are matched by the Hungarian algorithm, and the similarity between the important points is the Euclidean distance of frequency and amplitude between the important points, and the similarity between all the important points is taken as the similarity of the spectrograms. The difference in the number of important points in the two spectrograms is calculated and recorded as the first quantitative difference.
[0116] The product of the similarity of the spectrum graph and the similarity of the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is recorded as the first product, the first product is used as the true number of the logarithmic function, the first quantitative difference is used as the base of the logarithmic function, and the similarity of the IMF components is obtained through the logarithmic function.
[0117] The noise reference correction value of the IMF component is obtained according to the similarity of the IMF components of the corresponding number of times and the possibility that the IMF component is a noise component.
[0118] The noise reference correction value of the IMF component is positively correlated with the similarity of the IMF component and the possibility that the IMF component is a noise component.
[0119] Preferably, the product of the similarity of the IMF components of the corresponding number of times and the IMF component as the noise component is linearly normalized and used as the noise reference correction value of the IMF component.
[0120] Preferably, the similarity of the IMF components of the corresponding number of times and the mean value of the IMF components as noise components are normalized by the maximum and minimum values and then used as the noise reference correction value of the IMF components.
[0121] The possibility that the IMF component obtained by one of the ultrasonic EMD decomposition curves obtained based on the similarity of the ultrasonic waves obtained when the pull rod is stressed and unstressed contains noise is positively correlated with the reference correction value, that is, the higher the similarity between the IMF component of the stressed ultrasonic wave and the corresponding IMF component of the unstressed ultrasonic wave, and the smaller the content of the noise component in the corresponding IMF component obtained according to the above method, it means that the current IMF component contains less noise.
[0122] At this point, the noise reference correction value of the IMF component is obtained.
[0123] Step S005, screening the IMF components that are noise according to the possibility that the IMF components are noise and the reference that the IMF components are noise, removing the IMF components that are noise, and obtaining the denoised ultrasonic data in the stress stage and the non-stress stage.
[0124] The principal component importance of the IMF component is obtained according to the possibility that the IMF component is a noise component and the noise reference correction value corresponding to the IMF component.
[0125] The principal component importance of the IMF component is negatively correlated with the possibility that the IMF component is a noise component and the noise reference correction value corresponding to the IMF component.
[0126] Preferably, in one embodiment of the present application, the inverse of the possibility that the IMF component is a noise component is recorded as the first inverse, the inverse of the noise reference correction value corresponding to the IMF component is recorded as the second inverse, and the product of the first inverse and the second inverse is linearly normalized and used as the principal component importance of the IMF component.
[0127] Preferably, in one embodiment of the present application, the inverse of the possibility that the IMF component is a noise component is recorded as the first inverse, the inverse of the noise reference correction value corresponding to the IMF component is recorded as the second inverse, and the mean of the first inverse and the second inverse is linearly normalized as the principal component importance of the IMF component.
[0128] Obtain the principal component importance of each IMF component, set a noise threshold, and for each ultrasonic sequence, if the principal component importance of the IMF component is less than the noise threshold, the IMF component is considered to be a noise component, and the noise component is deleted. For each ultrasonic sequence, the remaining undeleted IMF components are fused to obtain denoised ultrasonic data. In this embodiment, the value of the noise threshold is 0.4, and the implementer can also set it according to the specific process. It should be noted that IMF component fusion is a well-known technology and will not be described in detail here.
[0129] So far, the ultrasonic data in the unstressed stage after denoising and the ultrasonic data in the stressed stage after denoising are obtained.
[0130] Step S006, obtaining the stress condition of the tie rod according to the denoised ultrasonic data in the stress stage and the non-stress stage, and performing a health status detection on the tie rod of the injection molding machine.
[0131] In the above manner, the de-noised ultrasonic data of each tie rod of each injection molding machine in the stressed and unstressed states are obtained, and the stress condition of each tie rod when the injection molding machine is working is obtained based on the ultrasonic data obtained in the stressed and unstressed states.
[0132] If the health status of the tie rod of the injection molding machine is detected at the current moment, the denoised ultrasonic data of the mold opening and force-bearing stages corresponding to the process closest to the current moment are selected.
[0133] The tensile stress of the tie rod is obtained based on the denoised ultrasonic data obtained when the tie rod is under stress and without stress. The method of obtaining the tensile stress of the tie rod by ultrasonic data under stress and without stress is a well-known technology, which is described in detail in the paper "Ultrasonic online measurement of tie rod stress of injection molding machine and its application in injection molding", and this application will not elaborate on it.
[0134] Since the tensile stress on the tie rod is approximate when the tie rod is healthy, each tie rod is recorded as a target tie rod, and the tensile stress of the target tie rod is subtracted from that of all other tie rods. The average value of the difference is calculated, and the reciprocal of the average value is used as an evaluation index of the health status of the injection molding machine tie rod after linear normalization. The larger the value, the smaller the difference in tensile stress between the tie rods, which means that the tie rod is healthier.
[0135] A health threshold is preset. If the health status evaluation index of the tie rod is greater than the health threshold, the tie rod is considered to be a healthy tie rod. Otherwise, the tie rod is considered to be in a poor health state. Based on this, the health status detection of the tie rod of the injection molding machine is completed.
[0136] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
[0137] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. An ultrasonic-based method for detecting the health status of the tie rod of an injection molding machine. It is characterized in that The method comprises the following steps: Collect ultrasonic data of each tie rod in a process, during the stress stage and the stress-free stage; The ultrasonic data in the stress stage and the ultrasonic data in the non-stress stage are decomposed into a finite number of IMF components through empirical mode decomposition. The possibility that the IMF component is noise is obtained based on the correlation between the IMF component and the ultrasonic data, the fluctuation degree of the IMF component, and the distribution of data points in the spectrum diagram corresponding to the IMF component; The reference of the IMF component being noise is obtained based on the similarity between the ultrasonic data in the stressed stage and the ultrasonic data in the unstressed stage, the similarity between the IMF components of the same number of times in the stressed stage and the unstressed stage, and the possibility that the IMF component is noise; According to the possibility that the IMF component is noise and the reference of the IMF component being noise, the IMF component that is noise is screened, and after the IMF component that is noise is eliminated, the denoised ultrasonic data of the stress stage and the stress-free stage are obtained; The stress condition of the tie rod is obtained based on the denoised ultrasonic data in the stress stage and the stress-free stage, and the health status of the tie rod of the injection molding machine is tested; The method for obtaining the possibility that the IMF component is noise according to the correlation between the IMF component and the ultrasonic data, the fluctuation degree of the IMF component, and the distribution of data points in the spectrum diagram corresponding to the IMF component is: For the ultrasonic data of any one of the stress-free stage and the stress-treated stage, the ultrasonic data of each stage is taken as an ultrasonic sequence, the ultrasonic data of the stress-free stage is the mold-opening ultrasonic sequence, and the ultrasonic data of the stress-treated stage is the mold-closing ultrasonic sequence; the element values of two adjacent elements in the ultrasonic sequence are subtracted to obtain the differential sequence corresponding to any stage, and the initial noise value of the IMF component is obtained according to the correlation between the differential sequence and the IMF component; For the IMF component, a sliding window is constructed for each data point, and the regularity of the IMF component is obtained based on the slope difference of the data points in the sliding window and the time difference between the peak and trough of the IMF component; Obtain the spectrum of the IMF component, and obtain the noise level of the IMF component according to the distribution position of the data points in the spectrum; Obtain the possibility that the IMF component is a noise component according to the initial noise value of the IMF component, the regularity of the IMF component and the noise degree of the IMF component; The method for obtaining the reference of the IMF component being noise according to the similarity between the ultrasonic data in the stressed stage and the ultrasonic data in the unstressed stage, the similarity between the IMF components of the same number of times in the stressed stage and the unstressed stage, and the possibility that the IMF component is noise is: Obtain the spectrum of each IMF component through Fourier transform; The similarity between the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is expressed by the inverse of the dtw value of the two. For the spectrograms of the two IMF components, the Otsu threshold method is used to obtain the screening threshold based on the amplitude for all the data points in the two spectrograms, and the data points greater than the screening threshold are screened out, and the screened data points are recorded as important points. For two spectrograms, obtain the important points of each spectrogram, match the important points of the two spectrograms by the Hungarian algorithm, the similarity between the important points is the Euclidean distance of the frequency and amplitude between the important points, and take the average of the similarities between all the important points as the similarity of the spectrograms; calculate the difference in the number of important points in the two spectrograms and record it as the first quantitative difference; The product of the similarity of the spectrum graph and the similarity of the mold opening ultrasonic sequence and the mold closing ultrasonic sequence is recorded as the first product, and the ratio of the first product to the first quantity difference is taken as the similarity of the IMF component; Obtain the noise reference correction value of the IMF component according to the similarity of the IMF component at the corresponding decomposition times and the possibility that the IMF component is a noise component; The noise reference correction value of the IMF component is positively correlated with the similarity of the IMF component and the possibility that the IMF component is a noise component.
2. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method for obtaining the initial noise value of the IMF component according to the correlation between the difference sequence and the IMF component is: The method for calculating the correlation between the difference sequence and each IMF component is the Pearson correlation coefficient. The correlation between each IMF component and the difference sequence is normalized and used as the initial noise value of the IMF component.
3. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method of constructing a sliding window for each data point and obtaining the regularity of the IMF component according to the slope difference of the data points in the sliding window and the time difference between the peak and trough of the IMF component is: For the IMF component, a fitting curve is drawn through its discrete points, and the slope of each data point is obtained by taking the derivative of the fitting curve; In each IMF component, in the sliding window centered on each data point, the absolute value of the difference between the slope of each data point and its two adjacent data points is calculated, and the average is taken as the slope difference of each data point in the sliding window; if a data point has only one adjacent data point, the absolute value of the difference between its slope and the adjacent data point is the slope difference of the data point; the average of the slope differences of all data points in the sliding window is taken as the slope change stability of the sliding window; Calculate the mean of the slope change stability of all sliding windows in the IMF component as the change stability of the IMF component; Get all the peaks and troughs of the IMF component, take the time difference between adjacent peaks and troughs as a peak-to-peak difference value, construct a sequence of all the peak-to-peak difference values in the IMF component as a periodic sequence, and calculate the variance of the periodic sequence; Obtain the regularity of IMF components based on the stability of their changes and the variance of their corresponding periodic series; The regularity of the IMF component is positively correlated with the stability of its change, and the regularity of the IMF component is negatively correlated with the variance of the corresponding periodic series of the IMF component.
4. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method of obtaining the spectrum of the IMF component and obtaining the noise level of the IMF component according to the distribution position of the data points in the spectrum is: The IMF component is processed by Fourier transform to obtain the component spectrum corresponding to the IMF component. The amplitude of all data points in the component spectrum is processed by Otsu threshold method. All data points in the component spectrum are divided into two categories. The category with amplitude greater than the amplitude threshold is recorded as the first category, and the category with amplitude less than the threshold is recorded as the second category. For all data points in the second category, the Otsu threshold method is used to divide all data points in the second category into two categories according to the frequency of the data points, and the data points in the second category with a frequency greater than the frequency threshold are recorded as the third category; For all data points in each third category, the product of the horizontal and vertical coordinates of each data point is calculated, and the product is normalized by the maximum and minimum values as the noise value of each data point. The average of the noise values of all data points in the third category is taken as the noise degree of the IMF component.
5. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method for obtaining the possibility that the IMF component is a noise component according to the initial noise value of the IMF component, the regularity of the IMF component and the noise degree of the IMF component is: After multiplying the initial noise value of the IMF component by the noise degree of the IMF component, the ratio of the product to the regularity of the IMF component is linearly normalized to obtain the possibility that the IMF component is a noise component.
6. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method for obtaining the noise reference correction value of the IMF component according to the similarity of the IMF component at the corresponding decomposition number and the possibility that the IMF component is a noise component is: The similarity of the IMF component at the corresponding decomposition number and the product of the IMF component and the noise component are linearly normalized and used as the noise reference correction value of the IMF component.
7. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method for screening the IMF components that are noise according to the possibility that the IMF components are noise and the reference that the IMF components are noise is: The reciprocal of the possibility that the IMF component is a noise component is recorded as the first reciprocal, and the reciprocal of the noise reference correction value corresponding to the IMF component is recorded as the second reciprocal. The product of the first reciprocal and the second reciprocal is linearly normalized as the principal component importance of the IMF component. The IMF components whose principal component importance is less than the preset noise threshold are recorded as noise components.
8. The method for detecting the health status of a tie rod of an injection molding machine based on ultrasound according to claim 1, It is characterized in that The method for detecting the health status of the tie rod of the injection molding machine according to the denoised ultrasonic data in the stress stage and the stress-free stage is: Select the denoised ultrasonic data of the mold opening and force-bearing stages corresponding to the process closest to the current moment; The tensile stress of the pull rod during operation is obtained based on the denoised ultrasonic data in the stress-bearing stage and the stress-free stage; Each tie rod is recorded as a target tie rod, and the tensile stress of the target tie rod is subtracted from that of all other tie rods, and the average value of the difference is calculated. The reciprocal of the average value is used as a health status evaluation index of the tie rod of the injection molding machine after linear normalization; When the state evaluation index of the tie rod is greater than the health threshold, the health state of the tie rod is good; when the state evaluation index of the tie rod is less than or equal to the health threshold, the health state of the tie rod is poor.
