Injection mold surface flatness measurement method and system

By analyzing the fluctuation of three-dimensional coordinate data, distinguishing and processing abnormal data points on the surface of the injection mold, the problem of inaccurate measurement of the three-dimensional coordinate measuring machine in a vibration environment is solved, and accurate evaluation and quality classification of the surface flatness of the injection mold are achieved.

CN118513269BActive Publication Date: 2024-10-01WEIHAI SANYUAN PLASTIC & RUBBER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000859.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

Smart Images

  • Figure CN118513269B_ABST
    Figure CN118513269B_ABST
Patent Text Reader

Abstract

The present application relates to the field of surface measurement technology, and specifically to a method and system for measuring the flatness of an injection mold surface. The method comprises: obtaining three-dimensional coordinate data of data points on the surface of the injection mold; determining abnormal data points on the surface of the injection mold based on fluctuations in height data of the three-dimensional coordinate data; determining defective data points on the surface of the injection mold based on abnormal data points on the surface of the injection mold; determining the flatness of the surface of the injection mold based on the defective data points; and classifying the quality of the surface of the injection mold based on the flatness. By analyzing the fluctuations in height data caused by the influence of environmental vibration on the measured data of the injection mold surface, the measured data is divided into normal data points and defective data points, and then the flatness of the surface of the injection mold is determined based on the proportion of defective data points on the mold surface, which can effectively solve the problem of inaccurate measurement results caused by environmental influences.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of surface measurement technology, and specifically relates to a method and system for measuring the surface flatness of an injection mold. Background Art

[0002] An injection mold is a tool used for plastic injection molding, usually made of metal. The flatness of the injection mold surface affects the quality of the plastic part surface, the stability of the injection molding process, and the stability of the plastic part. During the entire injection molding process, the surface quality of the mold is crucial to the quality and precision of the final part.

[0003] At present, precision measuring equipment such as coordinate measuring machines are commonly used to evaluate and monitor the surface flatness of injection molds. However, coordinate measuring machines have high requirements for the use environment. Since there are multiple machines running at the same time in the production environment, such as conveyor belts, milling, turning, drilling, grinding, EDM and other processing equipment during the production of injection molds, when the coordinate measuring machine is affected by the vibration or impact generated by the operation of other machines and equipment in the surrounding environment during the measurement process, such as conveyor belt jams, inaccurate measurement results may occur. Summary of the invention

[0004] In order to solve the above problems, in a first aspect, an embodiment of the present application provides a method for measuring the surface flatness of an injection mold, the method comprising:

[0005] Acquire three-dimensional coordinate data of data points on the surface of the injection mold;

[0006] Determining abnormal data points on the surface of the injection mold according to fluctuations in height data of the three-dimensional coordinate data;

[0007] Determining defective data points on the surface of the injection mold according to abnormal data points on the surface of the injection mold;

[0008] Determining the flatness of the injection mold surface according to the defect data points;

[0009] According to the flatness, the quality of the injection mold surface is classified.

[0010] Optionally, determining abnormal data points on the surface of the injection mold according to fluctuations in height data of the three-dimensional coordinate data includes:

[0011] Obtaining the possibility that the height data of the data point is normal data;

[0012] Acquire the fluctuation degree of height data of a first adjacent data segment of the data point, wherein the first adjacent data segment is a plurality of data points taken in a measuring direction and a reverse measuring direction with the data point as the center;

[0013] Determine the possibility that the data point is an abnormal data point according to the possibility that the height data of the data point is normal data and the degree of fluctuation of the height data of the first adjacent data segment of the data point;

[0014] When the possibility that the data point is an abnormal data point is greater than a first threshold, the data point is determined to be an abnormal data point.

[0015] Optionally, determining defective data points on the surface of the injection mold according to abnormal data points on the surface of the injection mold comprises:

[0016] Determine an abnormal area on the surface of the injection mold, wherein the abnormal area is an area containing more than 2 abnormal data points;

[0017] Obtaining the possibility that the abnormal region is a defect region in an extension direction, where the extension direction is the direction of the longest line segment among the line segments formed by any two abnormal data points in the abnormal region;

[0018] According to the possibility that the abnormal region appears as a defect region in the extension direction, the possibility that the abnormal region is a defect region is obtained.

[0019] Optionally, obtaining the possibility that the abnormal region appears as a defect region in the extension direction includes:

[0020] Acquire the abnormal similarity of a second adjacent data segment of the data point of the abnormal region in the extension direction, wherein the second adjacent data segment is a plurality of data points taken in a direction perpendicular to the extension direction with the data point as a vertical foot;

[0021] Obtaining an angle between the extending direction and the measuring direction;

[0022] The possibility that the abnormal region appears as a defect region in the extension direction is determined according to the abnormal similarity of the second adjacent data segments and the angle.

[0023] Optionally, obtaining the abnormal similarity of the second adjacent data segment of the data point of the abnormal area in the extension direction includes:

[0024] Obtaining the possibility that the data points of the abnormal area in the extension direction are abnormal data points;

[0025] Obtaining the possibility that the data point in the second adjacent data segment is an abnormal data point;

[0026] The abnormal similarity of the second adjacent data segment is determined according to the difference between the possibility that the data points in the extension direction of the abnormal area are abnormal data points and the possibility that the data points in the second adjacent data segment are abnormal data points.

[0027] Optionally, the obtaining the possibility that the abnormal region is a defect region according to the possibility that the abnormal region appears as a defect region in the extension direction includes:

[0028] Obtaining the length and width difference of the abnormal area;

[0029] Obtaining the possibility that the abnormal area appears as a defect area in terms of overall height;

[0030] The possibility that the abnormal region is a defect region is determined based on the possibility that the abnormal region appears as a defect region in the extension direction, the length and width difference, and the possibility that the abnormal region appears as a defect region in the overall height.

[0031] Optionally, the obtaining the possibility that the abnormal area is a defective area in terms of the overall height includes:

[0032] Obtaining the mean value of the heights of all data points in the abnormal area;

[0033] Obtaining a standard value of the height of the mold surface;

[0034] According to the difference between the mean value of the heights of all data points in the abnormal area and the standard value, the possibility that the abnormal area appears as a defective area in terms of the overall height is obtained.

[0035] Optionally, determining the flatness of the injection mold surface according to the defect data points includes:

[0036] When the possibility that the abnormal region is a defective region is greater than or equal to a second threshold, determining that the abnormal region is a defective region;

[0037] Obtaining the proportion of all data points of the defective area in all data points on the surface of the injection mold;

[0038] According to the proportion, the flatness of the injection mold surface is determined.

[0039] Optionally, the classifying the quality of the injection mold surface according to the flatness includes:

[0040] When the flatness is greater than a third threshold, determining that the injection mold surface is of first-class quality;

[0041] When the flatness is greater than or equal to the fourth threshold and less than or equal to the third threshold, the injection mold surface is determined to be of secondary quality;

[0042] When the flatness is less than the fourth threshold, the injection mold surface is determined to be of grade three quality, wherein the third threshold is greater than the fourth threshold, the grade one quality is better than the grade two quality, and the grade two quality is better than the grade three quality.

[0043] In a second aspect, an embodiment of the present application provides a system for measuring the surface flatness of an injection mold, the system comprising a server, the server comprising:

[0044] a memory having a computer program stored thereon;

[0045] A processor is used to execute the computer program in the memory to implement the steps of any one of the methods in the first aspect.

[0046] In summary, the embodiment of the present application provides a method for measuring the surface flatness of an injection mold, the method comprising: obtaining three-dimensional coordinate data of data points on the surface of the injection mold; determining abnormal data points on the surface of the injection mold based on fluctuations in height data of the three-dimensional coordinate data; determining defective data points on the surface of the injection mold based on the abnormal data points on the surface of the injection mold; determining the flatness of the surface of the injection mold based on the defective data points; and classifying the quality of the surface of the injection mold based on the flatness. The embodiment of the present application analyzes the fluctuations in height data caused by the influence of ambient vibration on the measurement data at different positions on the surface of the injection mold, divides the measurement data into normal surface data points and defective data points, and then determines the flatness of the surface of the injection mold based on the proportion of defective data points on the mold surface, thereby effectively solving the problem of inaccurate measurement results caused by environmental influences. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the implementation scheme of the present application, the drawings required for use in the implementation scheme will be briefly introduced below. It should be understood that the drawings only show certain implementation schemes of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on the drawings without paying creative work.

[0048] Figure 1 The present invention is a flow chart of a method for measuring the surface flatness of an injection mold according to an exemplary embodiment.

[0049] Figure 2 The invention is a flow chart showing a method for determining abnormal data points on the surface of an injection mold according to an exemplary embodiment.

[0050] Figure 3 The present invention is a flow chart showing a method for determining defect data points on the surface of an injection mold according to an exemplary embodiment.

[0051] Figure 4 The present invention is a flowchart showing a method for obtaining the possibility that the abnormal region appears as a defect region in the extension direction according to an exemplary embodiment.

[0052] Figure 5 is an angle between an extension direction and a measurement direction shown according to an exemplary embodiment Schematic diagram of .

[0053] Figure 6 The present invention is a flowchart showing a method for obtaining anomaly similarity of a second adjacent data segment of a data point in an abnormal region in an extension direction according to an exemplary embodiment.

[0054] Figure 7 The invention is a flowchart showing a method for obtaining the possibility that an abnormal region is a defect region according to an exemplary embodiment.

[0055] Figure 8 The invention is a flow chart showing a method for obtaining the possibility that an abnormal region appears as a defect region in terms of overall height according to an exemplary embodiment.

[0056] Fig. 9 The present invention is a flow chart showing a method for determining the flatness of an injection mold surface according to an exemplary embodiment.

[0057] Fig.10 The present invention is a flow chart showing a method for classifying the quality of the surface of an injection mold according to an exemplary embodiment.

[0058] Fig.11 The figure is a block diagram of a system for measuring the surface flatness of an injection mold according to an exemplary embodiment.

[0059] Fig.12 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0060] In order to clearly illustrate the technical features of the present solution, the present application is described in detail below through specific implementation methods and in conjunction with the accompanying drawings.

[0061] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0062] Although the operations or steps are described in a specific order in the drawings in the embodiments of the present application, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present application, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0063] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0064] First, the application scenario of the present application is described. When using a three-coordinate measuring machine to measure the surface flatness of an injection mold, it is very susceptible to the vibrations generated by the operation of other machines and equipment in the surrounding environment, resulting in inaccurate measured data. The present application analyzes the impact of the vibration of equipment in the surrounding environment on the measurement data at different positions on the surface of the injection mold, distinguishes the normal data points and defective data points on the mold surface in the measurement data, and classifies the mold surface quality according to the proportion of defective data points on the mold surface, which can effectively solve the problem of inaccurate measurement results. The present application is described below in conjunction with specific embodiments.

[0065] Figure 1 FIG. 1 is a flow chart of a method for measuring the surface flatness of an injection mold according to an exemplary embodiment. Figure 1 As shown, the embodiment of the present application provides a method for measuring the surface flatness of an injection mold, which may include the following steps:

[0066] In step S10, three-dimensional coordinate data of data points on the surface of the injection mold are obtained.

[0067] In this step, the three-dimensional coordinate data of the data points on the surface of the injection mold are obtained. For example, a three-dimensional coordinate data of the data points on the surface of the injection mold can be measured by a three-dimensional coordinate measuring machine. The data points can be obtained by sampling once at a certain distance interval in the xy plane.

[0068] In step S20, abnormal data points on the surface of the injection mold are determined according to fluctuations in the height data of the three-dimensional coordinate data.

[0069] In this step, the abnormal data points on the surface of the injection mold are determined according to the fluctuation of the height data of the three-dimensional coordinate data. Exemplarily, the possibility that the height data (coordinate z value) of the data point is normal data can be obtained first, and then the degree of fluctuation of the height data of the first adjacent data segment (nearby data points) of the data point can be obtained. The first adjacent data segment is a plurality of data points taken in the measurement direction and the reverse direction of the measurement with the data point as the center. Then, according to the possibility that the height data of the data point is normal data and the degree of fluctuation of the height data of the first adjacent data segment of the data point, the possibility that the data point is an abnormal data point is determined. Then, when the possibility that the data point is an abnormal data point is greater than the first threshold, the data point is determined to be an abnormal data point. The first threshold can be 0.5.

[0070] In step S30, defective data points on the surface of the injection mold are determined according to abnormal data points on the surface of the injection mold.

[0071] In this step, defective data points on the surface of the injection mold are determined based on the abnormal data points on the surface of the injection mold. Exemplarily, the abnormal region on the surface of the injection mold can be determined first, the abnormal region is a region containing more than 2 abnormal data points, and then the possibility of the abnormal region being a defective region in its extension direction is obtained, the extension direction is the extension direction of the longest line segment in the line segments formed by any two abnormal data points in the abnormal region, and then the possibility of the abnormal region being a defective region is obtained based on the possibility that the abnormal region is a defective region in its extension direction.

[0072] In step S40, the flatness of the injection mold surface is determined according to the defect data points.

[0073] In this step, the flatness of the injection mold surface is determined based on the defect data points. Exemplarily, the abnormal area can be determined to be a defect area when the probability that the abnormal area is a defect area is greater than or equal to a second threshold, and then the proportion of data points of all defect areas in all data points on the injection mold surface is obtained, and then the flatness of the injection mold surface is determined based on the proportion. The second threshold can be 0.5.

[0074] In step S50, the quality of the injection mold surface is classified according to the flatness.

[0075] In this step, the quality of the injection mold surface is classified according to the flatness. Exemplarily, the injection mold surface can be judged as first-level quality when the flatness is greater than the third threshold, and then the injection mold surface can be judged as second-level quality when the flatness is greater than or equal to the fourth threshold and less than or equal to the third threshold, and then the injection mold surface can be judged as third-level quality when the flatness is less than the fourth threshold, wherein the third threshold is greater than the fourth threshold, the first-level quality is better than the second-level quality, and the second-level quality is better than the third-level quality. The third threshold can be 0.8, and the fourth threshold can be 0.5.

[0076] In summary, the embodiment of the present application provides a method for measuring the surface flatness of an injection mold, the method comprising: obtaining three-dimensional coordinate data of data points on the surface of the injection mold; determining abnormal data points on the surface of the injection mold based on fluctuations in height data of the three-dimensional coordinate data; determining defective data points on the surface of the injection mold based on the abnormal data points on the surface of the injection mold; determining the flatness of the surface of the injection mold based on the defective data points; and classifying the quality of the surface of the injection mold based on the flatness. The embodiment of the present application analyzes the fluctuations in height data caused by the influence of ambient vibration on the measurement data at different positions on the surface of the injection mold, divides the measurement data into normal surface data points and defective data points, and then determines the flatness of the surface of the injection mold based on the proportion of defective data points on the mold surface, thereby effectively solving the problem of inaccurate measurement results caused by environmental influences.

[0077] Figure 2 FIG. 1 is a flow chart showing a method for determining abnormal data points on the surface of an injection mold according to an exemplary embodiment. Figure 2 As shown, determining the abnormal data points on the surface of the injection mold according to the fluctuation of the height data of the three-dimensional coordinate data may include the following steps:

[0078] In step S201, the possibility that the height data of the data point is normal data is obtained.

[0079] In this step, the possibility that the height data of the data point is normal data is obtained. Since the surface of the injection mold should be relatively flat when it is normal, the measured height values ​​(coordinate z values) should be relatively close and within the error range. However, due to the influence of vibration in the environment or the surface of the injection mold has defects such as pits, protrusions, cracks, etc., the measured height value may differ greatly from the standard range. Therefore, first count the number of occurrences of each coordinate z value in the three-dimensional data obtained by measurement. Since the z values ​​of the flat part of the injection mold surface are relatively consistent, and the coordinate z values ​​affected by defects and vibrations are usually more random, the more times the coordinate z value appears, the more likely it is that the z value is a normal data value for a flat surface. Therefore, the possibility of each z value being a normal value for the injection mold surface can be calculated based on the number of times each z value appears in the measured data. For example, the probability that the height data z of data point i is normal data is It can be obtained by the following formula:

[0080] Formula 1

[0081] in, is the probability that the height data z of data point i is normal data, is the number of occurrences of the i-th z value, is the total number of measured data points.

[0082] The larger the value is, the more times the z value appears, and the more likely it is to be a normal data value of the mold surface, that is, So we can think The corresponding z value is the normal standard value of the mold surface height .

[0083] In step S202, the fluctuation degree of the height data of the first adjacent data segment of the data point is obtained, where the first adjacent data segment is a plurality of data points taken in the measuring direction and the reverse measuring direction with the data point as the center.

[0084] In this step, the degree of fluctuation of the height data of the first adjacent data segment of the data point is obtained. The first adjacent data segment is a plurality of data points taken in the measurement direction and the reverse direction with the data point as the center. Some measurement data may be affected by the continuous vibration of other machines, resulting in small fluctuations, but due to the small vibration amplitude, they may be mistaken for normal data. Some other defective locations may also be affected by vibration and be misjudged as normal data. Therefore, it is necessary to determine whether the data point is an abnormal data point based on the fluctuation performance of the z value of the data points around each data point. Because the direction of measurement of the three-dimensional coordinate measuring machine at each position is known, and continuous vibration will cause the data in the measurement direction to show relatively large fluctuations, so for each data point, find the closest points along the measurement direction and the reverse direction with it as the center. data points as the data segment for analyzing the fluctuation degree of the i-th data point, here It can be 10, for example, the fluctuation degree of the height data of the first adjacent data segment of data point i It can be obtained by the following formula:

[0085] Formula 2

[0086] in, is the fluctuation degree of the height data of the first adjacent data segment of data point i, is the number of data in the first adjacent data segment, is the z value of the jth data point in the first adjacent data segment of the i-th data point, is the z value of the j+1th data point in the first adjacent data segment of the ith data point, is the normalization function.

[0087] The larger the value, the greater the fluctuation of the data in the data segment. The larger it is, the more likely the data point i is an abnormal data.

[0088] In step S203, the possibility of the data point being an abnormal data point is determined based on the possibility that the height data of the data point is normal data and the degree of fluctuation of the height data of the first adjacent data segment of the data point.

[0089] In this step, the probability that the height data of data point i is normal data is calculated. , and the fluctuation degree of the height data of the first adjacent data segment of data point i , determine the possibility that data point i is an abnormal data point For example, the probability that data point i is an abnormal data point is It can be obtained by the following formula:

[0090] Formula 3

[0091] In step S204, when the possibility that the data point is an abnormal data point is greater than a first threshold, the data point is determined to be an abnormal data point.

[0092] In this step, the probability that data point i is an outlier is When the value is greater than the first threshold, the data point i is determined to be an abnormal data point. Exemplarily, the first threshold may be 0.5.

[0093] Figure 3 FIG. 1 is a flow chart showing a method for determining defect data points on the surface of an injection mold according to an exemplary embodiment. Figure 3 As shown, determining the defective data points on the surface of the injection mold according to the abnormal data points on the surface of the injection mold may include the following steps:

[0094] In step S301, an abnormal region on the surface of the injection mold is determined, where the abnormal region is a region containing more than 2 abnormal data points.

[0095] In this step, the abnormal area on the surface of the injection mold is determined, and the abnormal area is an area containing more than 2 abnormal data points. After determining the abnormal data in all the measured data, since these abnormal data include both injection mold surface defect data and abnormal data caused by environmental vibration. Among them, the surface defect data is needed to analyze the surface flatness of the injection mold and needs to be retained; and the abnormal data generated by some normal flat positions of the mold due to environmental vibration will affect the judgment of the surface flatness of the injection mold, so these data need to be classified as normal data. Therefore, it is necessary to further distinguish the defect data points and the normal part data points from the abnormal data points.

[0096] Since the injection mold has to go through rough processing such as milling, turning, drilling, and fine processing such as grinding, EDM, and wire cutting during the production process, if the production machine fails or becomes unstable during the processing, scratches and other defects may occur on the surface of the injection mold, making the surface of the injection mold uneven. These defects on the surface of the injection mold have certain characteristics in shape and certain variation rules in z value. Therefore, in the coordinate diagram formed by all the measurement data, the abnormal data points adjacent to each other on the plane (x-axis, y-axis plane) are divided into an abnormal area, thereby obtaining multiple abnormal areas, and then analyzing whether each abnormal area is a defect area on the surface of the injection mold.

[0097] Because the defects on the surface of the injection mold are all within a certain range, that is, usually the abnormality will not appear only in a single measurement position, so if the number of data points contained in the abnormal area is less than or equal to 2, it is considered that the abnormal area is a normal area of ​​the mold surface affected by the impact and vibration in the environment. Therefore, the abnormal area is the area containing more than 2 abnormal data points.

[0098] In step S302, the possibility that the abnormal region appears as a defect region in an extension direction is obtained, where the extension direction is the direction of the longest line segment among the line segments formed by any two abnormal data points in the abnormal region.

[0099] In this step, the possibility of the abnormal region being a defective region in the extension direction is obtained, and the extension direction is the direction of the longest line segment in the line segment formed by any two abnormal data points in the abnormal region. Exemplarily, the abnormal similarity of the second adjacent data segment of the data point in the abnormal region in its extension direction can be obtained first, and the second adjacent data segment is a plurality of data points taken in a direction perpendicular to the extension direction with the data point as the foot, and then the angle between the extension direction and the measurement direction is obtained, and then the possibility of the abnormal region being a defective region in its extension direction is determined based on the abnormal similarity of the second adjacent data segment and the angle between the extension direction and the measurement direction.

[0100] In step S303, the possibility that the abnormal region is a defect region is obtained according to the possibility that the abnormal region appears as a defect region in the extension direction.

[0101] In this step, the possibility that the abnormal region is a defective region is obtained based on the possibility that the abnormal region is a defective region in its extension direction. Exemplarily, the length and width difference of the abnormal region can be obtained first, and then the possibility that the abnormal region is a defective region in the overall height can be obtained, and then the possibility that the abnormal region is a defective region can be determined based on the possibility that the abnormal region is a defective region in its extension direction, the length and width difference, and the possibility that the abnormal region is a defective region in the overall height.

[0102] Figure 4 FIG. 1 is a flow chart showing a method for obtaining the possibility that the abnormal region is a defect region in the extension direction according to an exemplary embodiment. Figure 4 As shown, the obtaining of the possibility that the abnormal region is a defect region in the extension direction may include the following steps:

[0103] In step S3021, the abnormal similarity of the second adjacent data segment of the data point in the extension direction of the abnormal area is obtained, and the second adjacent data segment is a plurality of data points taken in a direction perpendicular to the extension direction with the data point as a foot.

[0104] In this step, the abnormal similarity of the second adjacent data segment of the data point of the abnormal region in the extension direction is obtained, and the second adjacent data segment is a plurality of data points taken in a direction perpendicular to the extension direction with the data point as the foot. Exemplarily, the possibility that the data point of the abnormal region in the extension direction is an abnormal data point can be obtained first, and then the possibility that the data point in the second adjacent data segment is an abnormal data point can be obtained, and then the abnormal similarity of the second adjacent data segment can be determined according to the difference between the possibility that the data point of the abnormal region in the extension direction is an abnormal data point and the possibility that the data point in the second adjacent data segment is an abnormal data point.

[0105] In step S3022, the angle between the extending direction and the measuring direction is obtained.

[0106] In this step, the angle between the extension direction of the abnormal area and the measurement direction is obtained. Figure 5 is an angle between an extension direction and a measurement direction shown according to an exemplary embodiment Schematic diagram of Figure 5 As shown, It is the angle between the extension direction of the abnormal area and the measurement direction.

[0107] Because defects such as scratches on the surface of injection molds usually show a tendency to extend in a certain direction, when vibration occurs during the measurement process, the data points affected are a section of data points along the measurement direction. Because the vibration effect during the measurement process occurs randomly, that is, in the non-measurement direction, the distribution of abnormal data caused by vibration is irregular. Therefore, if there is an angle between the overall extension direction of the abnormal area and the measurement direction, it means that the abnormal area is not caused by abnormal vibration during the measurement process, that is, the abnormal area is a defective area on the surface of the injection mold. Therefore, find the line segment connected to the position corresponding to the maximum length of the abnormal area, and obtain the angle between the line segment and the straight line where the current position measurement direction is located. , The larger it is, the more it indicates that the abnormal area is not affected by the vibration during the measurement process, that is, the more likely it is a defective area on the surface of the injection mold.

[0108] In step S3023, the possibility that the abnormal region appears as a defect region in the extension direction is determined according to the abnormal similarity of the second adjacent data segments and the angle.

[0109] In this step, the abnormal similarity of the second adjacent data segment is And the angle , determine the possibility that the abnormal region u will appear as a defect region in its extension direction For example, the possibility that the abnormal region u is a defect region in its extension direction is It can be obtained by the following formula:

[0110] Formula 4

[0111] in, is the possibility that the abnormal region u appears as a defect region in its extension direction, is the angle between the extension direction of the abnormal area u and the measurement direction, is the abnormal similarity of the second adjacent data segment of the data point on the abnormal region u, indicating the similarity between the data points around the line segment corresponding to the maximum length of the u-th abnormal region and its abnormal degree, For normalization, sin is the sine function.

[0112] Angle The larger it is, the greater the possibility that the abnormal region u will appear as a defect region in its extension direction.

[0113] Indicates when the angle When it is larger, the abnormal similarity of the data points around the abnormal area u The possibility that the abnormal region u appears as a defect region in its extension direction accounts for a small proportion; When is smaller, the abnormal similarity The abnormal region u accounts for a large proportion of the possibility of appearing as a defect region in its extending direction.

[0114] Figure 6 FIG. 1 is a flow chart showing a method for obtaining the abnormal similarity of the second adjacent data segment of the data point in the extension direction of the abnormal region according to an exemplary embodiment. Figure 6 As shown, the obtaining of the abnormal similarity of the second adjacent data segment of the data point of the abnormal area in the extension direction may include the following steps:

[0115] In step S30211, the possibility that the data points in the extension direction of the abnormal area are abnormal data points is obtained.

[0116] In this step, the probability that the data points in the abnormal region u in its extension direction are abnormal data points is obtained. The probability that data point i is an abnormal data point The calculation method of can refer to formula 3, which will not be repeated here.

[0117] In step S30212, the possibility that the data point in the second adjacent data segment is an abnormal data point is obtained.

[0118] In this step, the probability that the data point j in the second adjacent data segment is an abnormal data point is obtained. The probability that data point j is an abnormal data point The calculation method of is the same as formula 3 and will not be repeated here.

[0119] In step S30213, the abnormal similarity of the second adjacent data segment is determined according to the difference between the possibility that the data points in the extension direction of the abnormal area are abnormal data points and the possibility that the data points in the second adjacent data segment are abnormal data points.

[0120] In this step, the probability that the data point i in the direction of the abnormal region u is an abnormal data point is calculated. The probability that the data point j in the second adjacent data segment is an abnormal data point The difference between the abnormal region u and the data point i in its extension direction is used to determine the abnormal similarity of the second adjacent data segment .

[0121] If the maximum length of the abnormal area u corresponds to the angle between the line segment and the straight line where the measurement direction is located When it approaches 0, the abnormal area u may be a defective area on the surface of the injection mold, or it may be an abnormal area caused by vibration. Because vibration anomalies are usually short-lived and randomly generated, the surrounding data points (second adjacent data segments) in the vertical direction of the line segment corresponding to the maximum length of the abnormal area caused by vibration may all appear as normal data points or only a few abnormal data points. Therefore, the abnormality of the nearby data points (second adjacent data segments) of the abnormal area u in the vertical direction of the line segment corresponding to its maximum length is calculated. Exemplarily, the abnormal similarity of the second adjacent data segment of the data point i in the extension direction of the abnormal area u It can be obtained by the following formula:

[0122] Formula 5

[0123] in, is the abnormal similarity of the second adjacent data segment of the abnormal region u in its extension direction, is the total number of data points on the line segment corresponding to the maximum length of the u-th abnormal area, is the total number of data points contained in the second adjacent data segment, is the possibility that the data point i in the abnormal region u in its extension direction is an abnormal data point, is the probability that the data point j in the second adjacent data segment is an abnormal data point.

[0124] It indicates the abnormal proximity between the ith data point and its nearby jth data point. The closer the value is, the more similar the abnormal performance of the two locations is, and the greater the possibility that the abnormal area u is a defect area. It should be noted that according to experience, Not zero.

[0125] Figure 7 FIG. 1 is a flow chart showing a method for obtaining the possibility that an abnormal region is a defect region according to an exemplary embodiment. Figure 7 As shown, the possibility of obtaining the possibility that the abnormal region is a defect region according to the possibility that the abnormal region appears as a defect region in the extension direction may include the following steps:

[0126] In step S3031, the length and width difference of the abnormal area is obtained.

[0127] In this step, the length and width difference of the abnormal area u is obtained For example, the length and width difference of the abnormal area u is It can be obtained by the following formula:

[0128] Formula 6

[0129] in, is the difference in length and width of the abnormal area u, is the maximum length of the abnormal region u, is the maximum width of the abnormal region u, For normalization processing.

[0130] when When it is close to 1, it is considered that the length and width of the abnormal area are close, so the possibility of belonging to the defect area calculated using the above method is inaccurate, and it is necessary to further calculate the possibility of the abnormal area being a defect area in the overall z value.

[0131] In step S3032, the possibility of the abnormal area appearing as a defective area in terms of overall height is obtained.

[0132] In this step, the possibility that the abnormal area is a defective area in terms of overall height is obtained. For example, the average value of the height of all data points in the abnormal area can be obtained first, and then the standard value of the mold surface height can be obtained, and then the possibility that the abnormal area is a defective area in terms of overall height can be obtained based on the difference between the average value of the height of all data points in the abnormal area and the standard value.

[0133] In step S3033, the possibility that the abnormal region is a defect region is determined based on the possibility that the abnormal region appears as a defect region in the extension direction, the length and width difference, and the possibility that the abnormal region appears as a defect region in the overall height.

[0134] In this step, the probability that the abnormal region u will appear as a defect region in its extension direction is determined by , length and width difference and the possibility that the abnormal area u appears as a defect area in the overall height , determine the possibility that the abnormal region u is a defect region For example, the possibility that the abnormal region u is a defect region It can be obtained by the following formula:

[0135] Formula 7

[0136] in, is the possibility that the abnormal region u is a defect region, is the difference in length and width of the abnormal area u, is the possibility that the abnormal region u appears as a defect region in its extension direction, is the possibility that the abnormal area u appears as a defect area in the overall height.

[0137] Figure 8 FIG. 1 is a flow chart showing a method for obtaining the possibility that an abnormal region is a defect region in terms of overall height according to an exemplary embodiment. Figure 8 As shown, the possibility of obtaining the abnormal area being a defect area in terms of the overall height may include the following steps:

[0138] In step S30321, the mean value of the heights of all data points in the abnormal area is obtained.

[0139] In this step, the mean value of the height of all data points in the abnormal area u is obtained .

[0140] In step S30322, a standard value of the height of the mold surface is obtained.

[0141] In this step, obtain the standard value of the mold surface height . Standard value of mold surface height For the acquisition of , please refer to the description of the above-mentioned step S201 embodiment, which will not be repeated here.

[0142] In step S30323, based on the difference between the mean value of the heights of all data points in the abnormal area and the standard value, the possibility of the abnormal area being a defective area in terms of overall height is obtained.

[0143] In this step, the mean height of all data points in the abnormal area u is calculated With standard value The difference between the values ​​of .

[0144] Since the z value measured at the defect point on the injection mold surface is significantly different from the normal value, even if it is affected by the vibration in the environment, some data may be close to the normal value, but the data changes caused by the vibration are still floating around the defect height, so the average z value of the data point in the defect area should also be significantly different from the height standard value of the normal surface. Similarly, when the normal surface is affected by vibration and produces an abnormality, the range of the abnormal floating is still floating around the normal height z value, so the average z value of the normal area should be closer to the height standard value of the normal surface. Therefore, the average z value of the data point in the abnormal area can be compared with the height standard value of the normal mold surface. , and obtain the possibility that the abnormal region u is a defect region in terms of the overall height. It can be obtained by the following formula:

[0145] Formula 8

[0146] in, is the possibility that the abnormal area u appears as a defect area in the overall height, is the mean value of the height of all data points in the abnormal area u, is the standard value (normal value) of the mold surface height, For normalization processing.

[0147] It indicates the difference between the average z value of the data points in the abnormal area u and the standard value of the normal mold surface height. The larger the value is, the more the floating range of the z value of the data points in the abnormal area u deviates from the standard value of the normal mold surface height, and the more likely the abnormal area u is a defective area.

[0148] Fig. 9 FIG. 1 is a flow chart showing a method for determining the flatness of an injection mold surface according to an exemplary embodiment. Fig. 9 As shown, determining the flatness of the injection mold surface according to the defect data points may include the following steps:

[0149] In step S401, when the possibility that the abnormal region is a defective region is greater than or equal to a second threshold, the abnormal region is determined to be a defective region.

[0150] In this step, the probability that the abnormal region u is a defect region When the value is greater than or equal to the second threshold, the abnormal region u is determined to be a defect region. For example, the second threshold may be 0.5.

[0151] In step S402, the proportion of all the data points of the defective area in all the data points on the surface of the injection mold is obtained.

[0152] In this step, the number of data points of all defect areas on the surface of the injection mold is obtained. The number of all data points on the injection mold surface The proportion of .

[0153] In step S403, the flatness of the surface of the injection mold is determined according to the proportion.

[0154] In this step, according to the proportion , determine the flatness of the injection mold surface For example, the flatness of the injection mold surface It can be obtained by the following formula:

[0155] Formula 9

[0156] Fig.10 FIG. 1 is a flow chart showing a method for classifying the quality of an injection mold surface according to an exemplary embodiment. Fig.10 As shown, the classification of the quality of the injection mold surface according to the flatness may include the following steps:

[0157] In step S501, when the flatness is greater than a third threshold, it is determined that the injection mold surface is of first-level quality.

[0158] In this step, the flatness When the value is greater than the third threshold, the surface of the injection mold is determined to be of first-class quality. Exemplarily, the third threshold may be 0.8.

[0159] In step S502, when the flatness is greater than or equal to the fourth threshold and less than or equal to the third threshold, it is determined that the injection mold surface is of secondary quality.

[0160] In this step, the flatness When the value is greater than or equal to the fourth threshold and less than or equal to the third threshold, the surface of the injection mold is determined to be of secondary quality. For example, the fourth threshold may be 0.5.

[0161] In step S503, when the flatness is less than the fourth threshold, the injection mold surface is determined to be of level three quality, wherein the third threshold is greater than the fourth threshold, the level one quality is better than the level two quality, and the level two quality is better than the level three quality.

[0162] In this step, the flatness When the value is less than the fourth threshold, the surface of the injection mold is determined to be of the third level quality, wherein the third threshold is greater than the fourth threshold, the first level quality is better than the second level quality, and the second level quality is better than the third level quality.

[0163] In summary, the embodiment of the present application provides a method for measuring the surface flatness of an injection mold, the method comprising: obtaining three-dimensional coordinate data of data points on the surface of the injection mold; determining abnormal data points on the surface of the injection mold based on fluctuations in height data of the three-dimensional coordinate data; determining defective data points on the surface of the injection mold based on the abnormal data points on the surface of the injection mold; determining the flatness of the surface of the injection mold based on the defective data points; and classifying the quality of the surface of the injection mold based on the flatness. The embodiment of the present application analyzes the fluctuations in height data caused by the influence of ambient vibration on the measurement data at different positions on the surface of the injection mold, divides the measurement data into normal surface data points and defective data points, and then determines the flatness of the surface of the injection mold based on the proportion of defective data points on the mold surface, thereby effectively solving the problem of inaccurate measurement results caused by environmental influences.

[0164] The present application also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the injection mold surface flatness measurement method provided in the present application are implemented.

[0165] Fig.11 FIG. 1 is a block diagram of a system for measuring the surface flatness of an injection mold according to an exemplary embodiment. Fig.11 As shown, an embodiment of the present application provides an injection mold surface flatness measurement system 1000 , including a server 1100 .

[0166] Fig.12 is a block diagram of a server according to an exemplary embodiment. Fig.12The server 1100 includes a processor 1122, which further includes one or more processors, and a memory resource represented by a memory 1132 for storing instructions executable by the processor 1122, such as an application. The application stored in the memory 1132 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 1122 is configured to execute instructions to perform the above-mentioned injection mold surface flatness measurement method.

[0167] The server 1100 may also include a power supply component 1126 configured to perform power management of the server 1100, a communication component 1150 configured to connect the server 1100 to a network, the communication component may use a wired or wireless network interface, and an input / output interface 1158. The server 1100 may operate based on an operating system stored in the memory 1132.

[0168] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable electronic device. The computer program has a code portion for executing the above-mentioned injection mold surface flatness measurement method when executed by the programmable electronic device.

[0169] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A method for measuring the surface flatness of an injection mold, characterized in that: The method comprises: Acquire three-dimensional coordinate data of data points on the surface of the injection mold; Determining abnormal data points on the surface of the injection mold according to fluctuations in height data of the three-dimensional coordinate data; Determining defective data points on the surface of the injection mold according to abnormal data points on the surface of the injection mold; Determining the flatness of the injection mold surface according to the defect data points; Classifying the quality of the injection mold surface according to the flatness; The step of determining abnormal data points on the surface of the injection mold according to fluctuations in the height data of the three-dimensional coordinate data comprises: Obtaining the possibility that the height data of the data point is normal data; Acquire the fluctuation degree of height data of a first adjacent data segment of the data point, wherein the first adjacent data segment is a plurality of data points taken in a measuring direction and a reverse measuring direction with the data point as the center; Determine the possibility that the data point is an abnormal data point according to the possibility that the height data of the data point is normal data and the degree of fluctuation of the height data of the first adjacent data segment of the data point; When the possibility that the data point is an abnormal data point is greater than a first threshold, determining that the data point is an abnormal data point; The step of determining defective data points on the surface of the injection mold according to abnormal data points on the surface of the injection mold comprises: Determine an abnormal area on the surface of the injection mold, wherein the abnormal area is an area containing more than 2 abnormal data points; Obtaining the possibility that the abnormal region is a defect region in an extension direction, where the extension direction is the direction of the longest line segment among the line segments formed by any two abnormal data points in the abnormal region; According to the possibility that the abnormal region appears as a defect region in the extension direction, obtaining the possibility that the abnormal region is a defect region; Determining the flatness of the injection mold surface according to the defect data points includes: When the possibility that the abnormal region is a defective region is greater than or equal to a second threshold, determining that the abnormal region is a defective region; Obtaining the proportion of all data points of the defective area in all data points on the surface of the injection mold; Determining the flatness of the surface of the injection mold according to the proportion; The method of classifying the quality of the injection mold surface according to the flatness includes: When the flatness is greater than a third threshold, determining that the injection mold surface is of first-class quality; When the flatness is greater than or equal to the fourth threshold and less than or equal to the third threshold, the injection mold surface is determined to be of secondary quality; When the flatness is less than the fourth threshold, the injection mold surface is determined to be of grade three quality, wherein the third threshold is greater than the fourth threshold, the grade one quality is better than the grade two quality, and the grade two quality is better than the grade three quality.

2. The method for measuring the surface flatness of an injection mold according to claim 1, characterized in that: The obtaining of the possibility that the abnormal region is a defect region in the extension direction includes: Obtaining anomaly similarity of a second adjacent data segment of a data point of the abnormal region in the extension direction, wherein the second adjacent data segment is a plurality of data points taken in a direction perpendicular to the extension direction with the data point as a vertical foot; Obtaining an angle between the extending direction and the measuring direction; The possibility that the abnormal region appears as a defect region in the extension direction is determined according to the abnormal similarity of the second adjacent data segments and the angle.

3. The method for measuring the surface flatness of an injection mold according to claim 2, characterized in that: The obtaining of the abnormal similarity of the second adjacent data segment of the data point of the abnormal area in the extension direction includes: Obtaining the possibility that the data points of the abnormal area in the extension direction are abnormal data points; Obtaining the possibility that the data point in the second adjacent data segment is an abnormal data point; The abnormal similarity of the second adjacent data segment is determined according to the difference between the possibility that the data points in the extension direction of the abnormal area are abnormal data points and the possibility that the data points in the second adjacent data segment are abnormal data points.

4. The method for measuring the surface flatness of an injection mold according to claim 1, characterized in that: The obtaining the possibility that the abnormal region is a defect region according to the possibility that the abnormal region appears as a defect region in the extension direction includes: Obtaining the length and width difference of the abnormal area; Obtaining the possibility that the abnormal area appears as a defect area in terms of overall height; The possibility that the abnormal region is a defect region is determined based on the possibility that the abnormal region appears as a defect region in the extension direction, the length and width difference, and the possibility that the abnormal region appears as a defect region in the overall height.

5. The method for measuring the surface flatness of an injection mold according to claim 4, characterized in that: The obtaining of the possibility that the abnormal area is a defect area in terms of the overall height includes: Obtaining the mean value of the heights of all data points in the abnormal area; Obtaining a standard value of the height of the mold surface; According to the difference between the mean value of the heights of all data points in the abnormal area and the standard value, the possibility that the abnormal area appears as a defective area in terms of the overall height is obtained.

6. An injection mold surface flatness measurement system, characterized in that: The system comprises a server, wherein the server comprises: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.