A bottle embryo detection data processing system and method
Through the combination of electrical and optical detection combined with three-dimensional model analysis, the existing bottle embryo detection data processing methods are solved, and the efficient quality control and recyclability classification of bottle embryo production is achieved.
Patent Information
- Application Number
- CN202310444707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2043-04-24
Smart Images

Figure CN117830201B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a preform detection data processing system and method. Background Art
[0002] Bottle preforms are semi-finished products formed by injection molding, where raw materials are filled into the cavity of a mold under specific temperature and pressure conditions. This process, which involves injection molding, results in the final product being a blow-molded plastic bottle. The quality of the preform is crucial in the manufacturing of molded plastic bottles. Defects in the preform will lead to poor quality molded plastic bottles, reduced lifespan, and may even cause cracks or breakage during use. Therefore, efficient inspection of the preforms to ensure they meet quality standards is essential.
[0003] Existing methods for processing bottle preform inspection data mainly rely on manual inspection, which suffers from low efficiency, large errors, and difficulty in large-scale production. While some non-manual methods exist, such as the Chinese patent CN112419291A, which discloses a training method, storage medium, and terminal device for a bottle preform defect detection model, although this invention uses convolutional neural networks to detect bottle preform quality, its data acquisition methods and types are limited. Furthermore, due to the variations in bottle preform shape, size, and defects, it is difficult to achieve comprehensive quality control of bottle preform production from multiple perspectives, making it unsuitable for current bottle preform production processes. In addition, the aforementioned methods cannot efficiently perform quality gradient screening and classification, or recyclability classification, for the production quality of bottle preform caps and bodies, thus failing to meet the needs of large-scale plastic bottle production scenarios.
[0004] In view of this, the present invention provides a preform detection data processing system and method to solve the above problems. Summary of the Invention
[0005] The purpose of this invention is to address the deficiencies in the existing technology by proposing a preform detection data processing system and method.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A preform detection data processing system, comprising:
[0008] At least one preform acquisition and processing module is used to acquire basic parameter information after preform production: perform electrical and optical detection on the preform to obtain the basic parameter information after preform production, which includes the preform cap production size, preform mouth production size, preform bottom production size, preform body production size, preform cap production image, and preform body production image.
[0009] The standard information acquisition module is used to retrieve the corresponding three-dimensional bottle preform model based on the pre-built bottle preform database, and to obtain the bottle preform design standard information based on the corresponding three-dimensional bottle preform model. The bottle preform design standard information includes the bottle preform cap design dimensions, bottle preform mouth design dimensions, bottle preform bottom design dimensions, bottle preform body design dimensions, standard image of the bottle preform cap, and standard image of the bottle preform body.
[0010] The preform cap production qualification analysis module is used to extract the preform cap production dimensions and preform cap design dimensions for preform cap size specification analysis, and to obtain preform cap production images and preform cap standard images for preform cap appearance analysis; the preform cap production qualification evaluation coefficient is generated from the preform cap size specification analysis results and preform cap appearance analysis results.
[0011] The preform production qualification analysis module is used to analyze the preform size specifications based on the preform mouth production size, preform bottom production size, preform body production size, preform mouth design size, preform bottom design size, and preform body design size, and to obtain preform production images and preform standard images for preform appearance analysis. Based on the preform size specification analysis results and preform appearance analysis results, a preform production qualification evaluation coefficient is generated.
[0012] The preform production qualification comprehensive analysis module is used to calculate and analyze based on the preform cap production qualification evaluation coefficient α and the preform body production qualification evaluation coefficient β to obtain the preform production qualification evaluation coefficient.
[0013] The preform production quality control module is used to reject preforms based on the preform production qualification evaluation coefficient τ, so as to achieve quality control of the preform production.
[0014] Furthermore, the specific process for generating the qualification evaluation coefficient for the bottle cap production is as follows:
[0015] Extract the production dimensions of bottle preform caps and differentiate them into different types to obtain several types of bottle preform cap production dimensions k, k = {1, 2, 3, ..., G}. Based on these production dimensions, obtain the corresponding design dimensions for each type of bottle preform cap. Compare the production dimensions with the corresponding design dimensions to obtain the bottle preform cap size specification analysis results. These results are defined as the bottle preform cap size qualification evaluation coefficient γ, calculated using the following formula: Where: Cps i This indicates the production size of the preform cap for type i. G represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of preform cap production size and preform cap design size;
[0016] The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain the preform cap appearance analysis result. The preform cap appearance analysis result is the preform cap appearance qualification evaluation coefficient δ, and its calculation formula is as follows: In the formula: δ∈[0,1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image;
[0017] Based on the dimensional compliance evaluation coefficient γ and the appearance compliance evaluation coefficient δ of the preform cap, the formula for calculating the production compliance evaluation coefficient of the preform cap is as follows:
[0018] Furthermore, the specific process for generating the preform production qualification evaluation coefficient is as follows:
[0019] The production dimensions of the preform neck, bottom, and body are differentiated into different types to obtain several types of preform neck production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T}, and several types of preform body production dimensions v = {1, 2, 3, ..., v}. Based on these production dimensions, corresponding preform neck, bottom, and body design dimensions are obtained, and preform body dimensions are compared to obtain the preform body size specification analysis results. These results are defined as the preform body size qualification evaluation coefficient θ, calculated using the following formula: In the formula: r represents the number of corresponding types of preform neck production dimensions and preform neck design dimensions; R represents the total number of corresponding types of preform neck production dimensions and preform neck design dimensions; Bms represents the preform neck production dimension of a certain type; Bms0 represents the preform neck design dimension corresponding to a certain type; t represents the number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; T represents the total number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; Bds represents the preform bottom production dimension of a certain type; Bds0 represents the preform bottom design dimension corresponding to a certain type; v represents the number of corresponding types of preform body production dimensions and preform body design dimensions; V represents the total number of corresponding types of preform body production dimensions and preform body design dimensions; Bbs represents the preform body production dimension of a certain type; Bbs0 represents the preform body design dimension corresponding to a certain type.
[0020] The production image and standard image of the preform are converted to grayscale, and then the grayscale images are vectorized and input into an MN-dimensional Euclidean space for calculation and analysis to obtain the appearance analysis result of the preform. The appearance analysis result is the appearance qualification evaluation coefficient η of the preform, and its calculation formula is as follows: In the formula: MN represents the spatial dimension, Bei c This represents the vectorized preform production image, Bsi c This represents the vectorized standard image of a bottle preform.
[0021] The preform production qualification evaluation coefficient is calculated based on the preform size qualification evaluation coefficient θ and the preform appearance qualification evaluation coefficient η. The calculation formula is: β=ln(θ+η+1).
[0022] Furthermore, the specific process for removing the preform is as follows:
[0023] Set a preform quality control threshold Th, compare the preform production qualification evaluation coefficient τ with the preform quality control threshold Th, if the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, then generate a first-level control instruction; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, then generate a second-level control instruction.
[0024] The preforms are rejected based on the secondary control instructions.
[0025] Furthermore, it also includes:
[0026] The preform recyclability classification module is used to perform preform cap recyclability analysis based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient, and to perform preform body recyclability analysis based on the preform body size qualification evaluation coefficient and the preform body appearance qualification evaluation coefficient. Based on the preform cap recyclability analysis results and the preform body recyclability analysis results, the module classifies the preform cap recyclability and the preform body recyclability. Specifically, the preform cap recyclability analysis result is the preform cap recyclability coefficient, and the preform body recyclability analysis result is the preform body recyclability coefficient.
[0027] The specific process for the recyclability analysis of the preform cap is as follows:
[0028] The recyclability coefficient of the preform cap is calculated based on the dimensional conformity evaluation coefficient and the appearance conformity evaluation coefficient of the preform cap. The calculation formula is as follows: Where: μ1 represents the recyclability coefficient of the bottle preform cap, μ2>0, and μ1 and μ2 represent the recyclability correction factors of the bottle preform cap.
[0029] Set graded thresholds Qt1 and Qt2 for preform cap conformity, where Qt1 > Qt2, and adjust the preform cap recyclability coefficient. The recyclability coefficient of the preform cap is compared with the qualified gradient thresholds Qt1 and Qt2. If the preform cap conformity gradient threshold Qt1 is greater than or equal to the threshold value, the corresponding preform cap will be marked as a Level 1 preform cap; if the preform cap recyclability coefficient is... If the value is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, then the corresponding preform cap is marked as a secondary preform cap indicator; if the preform cap recyclability coefficient If the value is less than the qualified grade threshold Qt2 for bottle preform caps, the corresponding bottle preform cap will be marked as a third-level bottle preform cap indicator.
[0030] Bottle caps are classified according to the first-level, second-level, and third-level bottle cap indicators.
[0031] The specific process for the recyclability analysis of the preform is as follows:
[0032] The recyclability coefficient of the preform is calculated based on the preform size conformity evaluation coefficient and the preform appearance conformity evaluation coefficient. The calculation formula is as follows: In the formula: σ represents the recyclability coefficient of the preform, λ1>λ2>0, and λ1 and λ2 represent the recyclability correction factors of the preform;
[0033] Set graded thresholds Zt1 and Zt2 for preform conformity, where Zt1 > Zt2. Compare the preform recyclability coefficient σ with these thresholds. If the preform recyclability coefficient σ is greater than or equal to the graded threshold Zt1, the corresponding preform is marked as a Level 1 preform. If the preform's recyclability coefficient is less than the preform qualification gradient threshold Zt1 and greater than or equal to the preform qualification gradient threshold Zt2, then the corresponding preform is marked as a secondary preform index; if the preform's recyclability coefficient... If the value is less than the preform qualification gradient threshold Zt2, the corresponding preform will be marked as a level 3 preform indicator.
[0034] Preforms are classified according to primary, secondary, and tertiary preform indicators.
[0035] A method for processing preform detection data includes:
[0036] S101: Collection of basic parameter information after preform production: Electrical and optical detection is performed on the preform to obtain the basic parameter information after preform production. The basic parameter information after production includes the production dimensions of the preform cap, the production dimensions of the preform mouth, the production dimensions of the preform bottom, the production dimensions of the preform body, the preform cap production image, and the preform body production image.
[0037] S102: Extraction of the three-dimensional model of the corresponding preform: retrieve the corresponding three-dimensional preform model based on the pre-built preform database; and obtain the preform design standard information based on the corresponding three-dimensional preform model, the preform design standard information including the preform cap design size, preform mouth design size, preform bottom design size, preform body design size, preform cap standard image and preform body standard image.
[0038] S103: Pre-cap production qualification data analysis: Extract the pre-cap production dimensions and pre-cap design dimensions to perform pre-cap size specification analysis, and obtain pre-cap production images and pre-cap standard images to perform pre-cap appearance analysis; Generate pre-cap production qualification evaluation coefficients from the pre-cap size specification analysis results and pre-cap appearance analysis results.
[0039] S104: Preform Production Qualification Evaluation Analysis: Based on the preform mouth production dimensions, preform bottom production dimensions, preform body production dimensions, preform mouth design dimensions, preform bottom design dimensions, and preform body design dimensions, the preform size specification analysis is performed, and preform production images and preform standard images are obtained for preform appearance analysis. Based on the preform size specification analysis results and preform appearance analysis results, a preform production qualification evaluation coefficient is generated.
[0040] S105: Comprehensive analysis of preform production qualification: Based on the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β, calculation and analysis are performed to obtain the preform production qualification evaluation coefficient.
[0041] S106: Preform production quality control: Based on the preform production qualification evaluation coefficient τ, preforms are rejected to achieve quality control of the preform production.
[0042] Furthermore, the specific process for generating the qualification evaluation coefficient for the bottle cap production is as follows:
[0043] Extract the production dimensions of bottle preform caps and differentiate them into different types to obtain several types of bottle preform cap production dimensions k, k = {1, 2, 3, ..., G}. Based on these production dimensions, obtain the corresponding design dimensions for each type of bottle preform cap. Compare the production dimensions with the corresponding design dimensions to obtain the bottle preform cap size specification analysis results. These results are defined as the bottle preform cap size qualification evaluation coefficient γ, calculated using the following formula: Where: Cps i This indicates the production size of the preform cap for type i. G represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of preform cap production size and preform cap design size;
[0044] The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain the preform cap appearance analysis result. The preform cap appearance analysis result is the preform cap appearance qualification evaluation coefficient δ, and its calculation formula is as follows: In the formula: δ∈[0,1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image;
[0045] Based on the dimensional compliance evaluation coefficient γ and the appearance compliance evaluation coefficient δ of the preform cap, the formula for calculating the production compliance evaluation coefficient of the preform cap is as follows:
[0046] Furthermore, the specific process for generating the preform production qualification evaluation coefficient is as follows:
[0047] The production dimensions of the preform neck, bottom, and body are differentiated into different types to obtain several types of preform neck production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T}, and several types of preform body production dimensions v = {1, 2, 3, ..., v}. Based on these production dimensions, corresponding preform neck, bottom, and body design dimensions are obtained, and preform body dimensions are compared to obtain the preform body size specification analysis results. These results are defined as the preform body size qualification evaluation coefficient θ, calculated using the following formula: In the formula: r represents the number of corresponding types of preform neck production dimensions and preform neck design dimensions; R represents the total number of corresponding types of preform neck production dimensions and preform neck design dimensions; Bms represents the preform neck production dimension of a certain type; Bms0 represents the preform neck design dimension corresponding to a certain type; t represents the number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; T represents the total number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; Bds represents the preform bottom production dimension of a certain type; Bds0 represents the preform bottom design dimension corresponding to a certain type; v represents the number of corresponding types of preform body production dimensions and preform body design dimensions; V represents the total number of corresponding types of preform body production dimensions and preform body design dimensions; Bbs represents the preform body production dimension of a certain type; Bbs0 represents the preform body design dimension corresponding to a certain type.
[0048] The production image and standard image of the preform are converted to grayscale, and then the grayscale images are vectorized and input into an MN-dimensional Euclidean space for calculation and analysis to obtain the appearance analysis result of the preform. The appearance analysis result is the appearance qualification evaluation coefficient η of the preform, and its calculation formula is as follows: In the formula: MN represents the spatial dimension, Bei c This represents the vectorized preform production image, Bsi c This represents the vectorized standard image of a bottle preform.
[0049] The preform production qualification evaluation coefficient is calculated based on the preform size qualification evaluation coefficient θ and the preform appearance qualification evaluation coefficient η. The calculation formula is: β=ln(θ+η+1).
[0050] Furthermore, the specific process for removing the preform is as follows:
[0051] Set a preform quality control threshold Th, compare the preform production qualification evaluation coefficient τ with the preform quality control threshold Th, if the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, then generate a first-level control instruction; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, then generate a second-level control instruction.
[0052] The preforms are rejected based on the secondary control instructions.
[0053] Furthermore, it also includes:
[0054] S107: Preform Recyclability Analysis and Processing: Based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient, a preform cap recyclability analysis is performed, and based on the preform body size qualification evaluation coefficient and the preform body appearance qualification evaluation coefficient, a preform body recyclability analysis is performed. Based on the preform cap recyclability analysis results and the preform body recyclability analysis results, preform cap recyclability classification and preform body recyclability classification are performed; the preform cap recyclability analysis result is specifically the preform cap recyclability coefficient, and the preform body recyclability analysis result is specifically the preform body recyclability coefficient;
[0055] The specific process for the recyclability analysis of the preform cap is as follows:
[0056] The recyclability coefficient of the preform cap is calculated based on the dimensional conformity evaluation coefficient and the appearance conformity evaluation coefficient of the preform cap. The calculation formula is as follows: Where: μ1 represents the recyclability coefficient of the bottle preform cap, μ2>0, and μ1 and μ2 represent the recyclability correction factors of the bottle preform cap.
[0057] Set graded thresholds Qt1 and Qt2 for preform cap conformity, where Qt1 > Qt2, and adjust the preform cap recyclability coefficient. The recyclability coefficient of the preform cap is compared with the qualified gradient thresholds Qt1 and Qt2. If the preform cap conformity gradient threshold Qt1 is greater than or equal to the threshold value, the corresponding preform cap will be marked as a Level 1 preform cap; if the preform cap recyclability coefficient is... If the value is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, then the corresponding preform cap is marked as a secondary preform cap indicator; if the preform cap recyclability coefficient If the value is less than the qualified grade threshold Qt2 for bottle preform caps, the corresponding bottle preform cap will be marked as a third-level bottle preform cap indicator.
[0058] Bottle caps are classified according to the first-level, second-level, and third-level bottle cap indicators.
[0059] The specific process for the recyclability analysis of the preform is as follows:
[0060] The recyclability coefficient of the preform is calculated based on the preform size conformity evaluation coefficient and the preform appearance conformity evaluation coefficient. The calculation formula is as follows: In the formula: σ represents the recyclability coefficient of the preform, λ1>λ2>0, and λ1 and λ2 represent the recyclability correction factors of the preform;
[0061] Set graded thresholds Zt1 and Zt2 for preform conformity, where Zt1 > Zt2. Compare the preform recyclability coefficient σ with these thresholds. If the preform recyclability coefficient σ is greater than or equal to the graded threshold Zt1, the corresponding preform is marked as a Level 1 preform. If the preform's recyclability coefficient is less than the preform qualification gradient threshold Zt1 and greater than or equal to the preform qualification gradient threshold Zt2, then the corresponding preform is marked as a secondary preform index; if the preform's recyclability coefficient... If the value is less than the preform qualification gradient threshold Zt2, the corresponding preform will be marked as a level 3 preform indicator.
[0062] Preforms are classified according to primary, secondary, and tertiary preform indicators.
[0063] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0064] (1) This invention discloses a preform detection data processing system and method, which acquires basic parameter information of preforms after production through electrical and optical detection methods, and analyzes it with preform design standard information to obtain the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β. Then, based on the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β, the preform production qualification evaluation coefficient τ is calculated, and the preform production quality is controlled according to the preform production qualification evaluation coefficient τ. Compared with the existing preform detection data processing methods, this invention acquires data from multiple angles and performs multi-angle data fusion analysis, which is conducive to achieving comprehensive quality control of preform production and is applicable to the actual production process of existing preforms.
[0065] (2) This invention discloses a preform detection data processing system and method. By extracting the preform cap size qualification evaluation coefficient, the preform cap appearance qualification evaluation coefficient, the preform body size qualification evaluation coefficient and the preform body appearance qualification evaluation coefficient, and by adjusting the data based on the recyclability correction factor, this invention is conducive to efficient quality gradient screening and classification and recyclability classification of the production quality of preform caps and preform bodies, thereby helping to meet the existing large-scale production scenarios of plastic bottles. Attached Figure Description
[0066] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.
[0067] Figure 1 This is a schematic diagram of the overall structure of a preform detection data processing system proposed in Embodiment 1 of the present invention;
[0068] Figure 2 This is a schematic diagram of the overall structure of a preform detection data processing system proposed in Embodiment 2 of the present invention;
[0069] Figure 3 This is an overall flowchart of a preform detection data processing method proposed in Embodiment 3 of the present invention;
[0070] Figure 4 This is an overall flowchart of a preform detection data processing method proposed in Embodiment 4 of the present invention. Detailed Implementation
[0071] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0072] In the description of this invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0073] Example 1
[0074] Please see Figure 1 As shown, this embodiment discloses a preform detection data processing system, including:
[0075] At least one preform acquisition and processing module 110 is used to acquire basic parameter information after preform production: to perform electrical and optical detection on the preform to obtain the basic parameter information after preform production, the basic parameter information after production includes preform cap production size, preform mouth production size, preform bottom production size, preform body production size, preform cap production image and preform body production image.
[0076] It should be noted that: electrical testing of the preform mainly obtains the capacitance value (capacitance value is equal to the ratio of charge to voltage), and obtains data such as the dielectric constant of the corresponding preform and the distance between the two metal electrodes set on the corresponding preform. Optical testing of the preform mainly obtains the reflection signal, that is, the laser sensor is used to obtain the reflection signal of the preform to determine the size of the preform. The production dimensions of the preform cap, preform mouth, preform bottom and preform body are obtained by using the parameters obtained from electrical and optical testing. For example, when calculating the height of the preform, the parameters obtained from electrical testing are used for calculation, and the formula is as follows: h=(C1-C2)*d / (ε*S), where: h represents the height of the preform, C1 and C2 represent the capacitance values of the top and bottom of the preform, respectively, d represents the distance between the capacitor plates, ε represents the dielectric constant, and S represents the area of the capacitor plates;
[0077] It should also be noted that optical inspection of the preform is also used to acquire images of the preform using a high-precision camera and to extract preform appearance information (such as the presence or absence of defects, bubbles, etc.) based on these images. Furthermore, it should be explained that all parameters obtained by electrical inspection are obtained under the same room temperature setting. Similarly, the parameters obtained by electrical inspection used in subsequent data processing or analysis are also obtained under the same conditions. Therefore, this invention will not elaborate further on this aspect.
[0078] The standard information acquisition module 120 is used for extracting the three-dimensional model of the corresponding preform: it retrieves the corresponding three-dimensional preform model based on the preform database, and obtains the preform design standard information based on the corresponding three-dimensional preform model. The preform design standard information includes the preform cap design dimensions, preform mouth design dimensions, preform bottom design dimensions, preform body design dimensions, preform cap standard image, and preform body standard image.
[0079] It should be noted that: the preform database stores three-dimensional preform models of different types of preforms; the three-dimensional preform models of different types of preforms are generated based on existing three-dimensional modeling software, and the three-dimensional preform models of different types of preforms store corresponding preform design standard information that meets the corresponding preform design standards.
[0080] The preform cap production qualification analysis module 130 is used to extract the preform cap production dimensions and preform cap design dimensions for preform cap size specification analysis, and to obtain preform cap production images and preform cap standard images for preform cap appearance analysis; and to generate preform cap production qualification evaluation coefficients from the preform cap size specification analysis results and preform cap appearance analysis results.
[0081] Specifically, the specific process for generating the qualification evaluation coefficient for the bottle cap production is as follows:
[0082] Extract the production dimensions of bottle preform caps and differentiate them into different types to obtain several types of bottle preform cap production dimensions k, k = {1, 2, 3, ..., G}. Based on these production dimensions, obtain the corresponding design dimensions for each type of bottle preform cap. Compare the production dimensions with the corresponding design dimensions to obtain the bottle preform cap size specification analysis results. These results are defined as the bottle preform cap size qualification evaluation coefficient γ, calculated using the following formula: Where: Cps i This indicates the production dimensions of the preform cap of type i. G represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of preform cap production size and preform cap design size;
[0083] It should be noted that the types of bottle preform cap production dimensions include, but are not limited to, bottle preform cap thickness, bottle preform cap inner diameter, bottle preform cap outer diameter, bottle preform cap thread pitch, bottle preform cap height, and bottle preform cap curvature, etc.
[0084] It should also be noted that the larger the dimensional conformity evaluation coefficient γ of the preform cap, the more the preform cap production dimensions conform to the design standards.
[0085] The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain the preform cap appearance analysis result. The preform cap appearance analysis result is the preform cap appearance qualification evaluation coefficient δ, and its calculation formula is as follows: In the formula: δ∈[0,1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image;
[0086] It should be noted that the closer the evaluation coefficient δ for the appearance of the bottle preform cap is to 1, the fewer the appearance defects of the produced bottle preform cap, and the more the appearance of the produced bottle preform cap conforms to the design standards.
[0087] It should also be noted that the appearance defects of the preform cap include, but are not limited to, bubbles, stains and holes, etc., and the present invention does not impose too many limitations on them;
[0088] Based on the dimensional compliance evaluation coefficient γ and the appearance compliance evaluation coefficient δ of the preform cap, the formula for calculating the production compliance evaluation coefficient of the preform cap is as follows:
[0089] The preform production qualification analysis module 140 is used to perform preform size specification analysis based on the preform mouth production size, preform bottom production size, preform body production size, preform mouth design size, preform bottom design size, and preform body design size, and to obtain preform production images and preform standard images for preform appearance analysis. Based on the preform size specification analysis results and preform appearance analysis results, a preform production qualification evaluation coefficient is generated.
[0090] Specifically, the specific process for generating the preform production qualification evaluation coefficient is as follows:
[0091] The production dimensions of the preform neck, bottom, and body are differentiated into different types to obtain several types of preform neck production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T}, and several types of preform body production dimensions v = {1, 2, 3, ..., v}. Based on these production dimensions, corresponding preform neck, bottom, and body design dimensions are obtained, and preform body dimensions are compared to obtain the preform body size specification analysis results. These results are defined as the preform body size qualification evaluation coefficient θ, calculated using the following formula: In the formula: r represents the number of corresponding types of preform neck production dimensions and preform neck design dimensions; R represents the total number of corresponding types of preform neck production dimensions and preform neck design dimensions; Bms represents the preform neck production dimension of a certain type; Bms0 represents the preform neck design dimension corresponding to a certain type; t represents the number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; T represents the total number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; Bds represents the preform bottom production dimension of a certain type; Bds0 represents the preform bottom design dimension corresponding to a certain type; v represents the number of corresponding types of preform body production dimensions and preform body design dimensions; V represents the total number of corresponding types of preform body production dimensions and preform body design dimensions; Bbs represents the preform body production dimension of a certain type; Bbs0 represents the preform body design dimension corresponding to a certain type.
[0092] It should be noted that: the types of preform neck production dimensions include, but are not limited to, preform neck thickness, preform neck height, preform neck thread pitch, and preform neck curvature, etc.; the types of preform bottom production dimensions include, but are not limited to, preform bottom diameter and preform bottom curvature, etc.; the types of preform body production dimensions include, but are not limited to, preform body curvature and preform body height, etc.
[0093] It should also be noted that the larger the preform size qualification evaluation coefficient θ is, the more the preform mouth production size, preform bottom production size, and preform body production size conform to the design standards.
[0094] The production image and standard image of the preform are converted to grayscale, and then the grayscale images are vectorized and input into an MN-dimensional Euclidean space for calculation and analysis to obtain the appearance analysis result of the preform. The appearance analysis result is the appearance qualification evaluation coefficient η of the preform, and its calculation formula is as follows: In the formula: MN represents the spatial dimension, Bei c This represents the vectorized preform production image, Bsi c This represents the vectorized standard image of a bottle preform.
[0095] It should be noted that the larger the preform appearance qualification evaluation coefficient η is, the fewer the appearance defects of the produced preform, and the more the appearance of the produced preform conforms to the design standards.
[0096] The preform size qualification evaluation coefficient θ and the preform appearance qualification evaluation coefficient η are used to calculate the preform production qualification evaluation coefficient. The calculation formula is: β=ln(θ+η+1).
[0097] The preform production qualification analysis module 150 is used to calculate and analyze the preform cap production qualification evaluation coefficient α and the preform body production qualification evaluation coefficient β to obtain the preform production qualification evaluation coefficient. The calculation formula is as follows: In the formula: τ represents the qualification evaluation coefficient of bottle preform production, w1 and w2 represent qualification evaluation correction factors, and both w1 and w2 are greater than zero;
[0098] The preform production quality control module 160 is used to reject preforms according to the preform production qualification evaluation coefficient τ, so as to achieve quality control of the preform production.
[0099] Specifically, the process for removing the preforms is as follows:
[0100] Set a preform quality control threshold Th, compare the preform production qualification evaluation coefficient τ with the preform quality control threshold Th, if the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, then generate a first-level control instruction; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, then generate a second-level control instruction.
[0101] It should be noted that: the first-level control instruction indicates that the preform meets the preform production standard; the second-level control instruction indicates that the preform does not meet the preform production standard.
[0102] Based on the secondary control command, the preform is rejected;
[0103] It should be noted that the preform detection data processing system of the present invention can be directly connected to an injection molding machine or a preform sorting machine.
[0104] Example 2
[0105] Please see Figure 2 As shown, this embodiment discloses a preform detection data processing system, which further includes:
[0106] The preform recyclability classification module 170 is used to perform preform cap recyclability analysis based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient, and to perform preform body recyclability analysis based on the preform body size qualification evaluation coefficient and the preform body appearance qualification evaluation coefficient. Furthermore, it performs preform cap recyclability classification and preform body recyclability classification based on the preform cap recyclability analysis results and preform body recyclability analysis results. Specifically, the preform cap recyclability analysis result is the preform cap recyclability coefficient, and the preform body recyclability analysis result is the preform body recyclability coefficient.
[0107] Specifically, the process for analyzing the recyclability of the bottle preform cap is as follows:
[0108] The recyclability coefficient of the preform cap is calculated based on the dimensional conformity evaluation coefficient and the appearance conformity evaluation coefficient of the preform cap. The calculation formula is as follows: Where: μ1 represents the recyclability coefficient of the bottle preform cap, μ2>0, and μ1 and μ2 represent the recyclability correction factors of the bottle preform cap.
[0109] Set graded thresholds Qt1 and Qt2 for preform cap conformity, where Qt1 > Qt2, and adjust the preform cap recyclability coefficient. The recyclability coefficient of the preform cap is compared with the qualified gradient thresholds Qt1 and Qt2. If the preform cap conformity gradient threshold Qt1 is greater than or equal to the threshold value, the corresponding preform cap will be marked as a Level 1 preform cap; if the preform cap recyclability coefficient is... If the value is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, then the corresponding preform cap is marked as a secondary preform cap indicator; if the preform cap recyclability coefficient If the value is less than the qualified grade threshold Qt2 for bottle preform caps, the corresponding bottle preform cap will be marked as a third-level bottle preform cap indicator.
[0110] It should be noted that: the first-level bottle cap index indicates that the corresponding bottle cap is of qualified quality and can be further processed; the second-level bottle cap index indicates that the corresponding bottle cap has recyclability defects and can be recycled; the third-level bottle cap index indicates that the corresponding bottle cap has non-recyclability defects and is directly treated as waste.
[0111] Bottle caps are classified according to the first-level, second-level, and third-level bottle cap indicators.
[0112] Specifically, the specific process for the recyclability analysis and treatment of the preform is as follows:
[0113] The recyclability coefficient of the preform is calculated based on the preform size conformity evaluation coefficient and the preform appearance conformity evaluation coefficient. The calculation formula is as follows: In the formula: σ represents the recyclability coefficient of the preform, λ1>λ2>0, and λ1 and λ2 represent the recyclability correction factors of the preform;
[0114] Set graded thresholds Zt1 and Zt2 for preform conformity, where Zt1 > Zt2. Compare the preform recyclability coefficient σ with these thresholds. If the preform recyclability coefficient σ is greater than or equal to the graded threshold Zt1, the corresponding preform is marked as a Level 1 preform. If the value is less than the preform qualification gradient threshold Zt1 and greater than or equal to the preform qualification gradient threshold Zt2, then the corresponding value will be...
[0115] Preforms are labeled as secondary preform indicators; if the preform recyclability coefficient... If the value is less than the preform qualification gradient threshold Zt2, the corresponding preform will be marked as a level 3 preform indicator.
[0116] It should be noted that: the first-level preform index indicates that the corresponding preform is of qualified quality and can be further processed; the second-level preform index indicates that the corresponding preform has recyclable defects and can be recycled; the third-level preform index indicates that the corresponding preform has non-recyclable defects and is directly treated as waste.
[0117] Preforms are classified according to primary, secondary, and tertiary preform indicators.
[0118] Example 3
[0119] Please see Figure 3 As shown, this embodiment discloses a method for processing preform detection data, including:
[0120] S101: Collection of basic parameter information after preform production: Electrical and optical detection is performed on the preform to obtain the basic parameter information after preform production. The basic parameter information after production includes the production dimensions of the preform cap, the production dimensions of the preform mouth, the production dimensions of the preform bottom, the production dimensions of the preform body, the preform cap production image, and the preform body production image.
[0121] It should be noted that: electrical testing of the preform mainly obtains the capacitance value (capacitance value is equal to the ratio of charge to voltage), and obtains data such as the dielectric constant of the corresponding preform and the distance between the two metal electrodes set on the corresponding preform. Optical testing of the preform mainly obtains the reflection signal, that is, the reflection signal of the preform is obtained by using a laser sensor to determine the size of the preform. The production dimensions of the preform cap, mouth, bottom and body are obtained by using the parameters obtained from electrical and optical testing. For example, when calculating the height of the preform, the parameters obtained from electrical testing are used for calculation, and the formula is as follows: h=(C1-C2)*d / (ε*S), where: h represents the height of the preform, C1 and C2 represent the capacitance values of the top and bottom of the preform, respectively, d represents the distance between the capacitor plates (i.e., the distance between the two metal electrodes), ε represents the dielectric constant, and S represents the area of the capacitor plates;
[0122] It should also be noted that optical inspection of the preform is also used to acquire images of the preform using a high-precision camera and to extract preform appearance information (such as the presence or absence of defects, bubbles, etc.) based on these images. Furthermore, it should be explained that all the parameters obtained by electrical inspection are obtained under the same room temperature setting. Similarly, the parameters obtained by electrical inspection used in subsequent data processing or analysis are also obtained under the same conditions. Therefore, this invention will not elaborate further on this aspect.
[0123] S102: Extraction of the three-dimensional model of the corresponding preform: retrieve the corresponding three-dimensional preform model based on the pre-built preform database; and obtain the preform design standard information based on the corresponding three-dimensional preform model, the preform design standard information including the preform cap design size, preform mouth design size, preform bottom design size, preform body design size, preform cap standard image and preform body standard image.
[0124] It should be noted that: the preform database stores three-dimensional preform models of different types of preforms; the three-dimensional preform models of different types of preforms are generated based on existing three-dimensional modeling software, and the three-dimensional preform models of different types of preforms store corresponding preform design standard information that meets the corresponding preform design standards.
[0125] S103: Pre-cap production qualification data analysis: Extract the pre-cap production dimensions and pre-cap design dimensions to perform pre-cap size specification analysis, and obtain pre-cap production images and pre-cap standard images to perform pre-cap appearance analysis; Generate pre-cap production qualification evaluation coefficients from the pre-cap size specification analysis results and pre-cap appearance analysis results.
[0126] Specifically, the specific process for generating the qualification evaluation coefficient for the bottle cap production is as follows:
[0127] Extract the production dimensions of bottle preform caps and differentiate them into different types to obtain several types of bottle preform cap production dimensions k, k = {1, 2, 3, ..., G}. Based on these production dimensions, obtain the corresponding design dimensions for each type of bottle preform cap. Compare the production dimensions with the corresponding design dimensions to obtain the bottle preform cap size specification analysis results. These results are defined as the bottle preform cap size qualification evaluation coefficient γ, calculated using the following formula: Where: Cps i This indicates the production dimensions of the preform cap of type i. G represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of preform cap production size and preform cap design size;
[0128] It should be noted that the types of bottle preform cap production dimensions include, but are not limited to, bottle preform cap thickness, bottle preform cap inner diameter, bottle preform cap outer diameter, bottle preform cap thread pitch, bottle preform cap height, and bottle preform cap curvature, etc.
[0129] It should also be noted that the larger the dimensional conformity evaluation coefficient γ of the preform cap, the more the preform cap production dimensions conform to the design standards.
[0130] The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain the preform cap appearance analysis result. The preform cap appearance analysis result is the preform cap appearance qualification evaluation coefficient δ, and its calculation formula is as follows: In the formula: δ∈[0,1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image;
[0131] It should be noted that the closer the evaluation coefficient δ for the appearance of the bottle preform cap is to 1, the fewer the appearance defects of the produced bottle preform cap, and the more the appearance of the produced bottle preform cap conforms to the design standards.
[0132] It should also be noted that the appearance defects of the preform cap include, but are not limited to, bubbles, stains and holes, etc., and the present invention does not impose too many limitations on them;
[0133] Based on the dimensional compliance evaluation coefficient γ and the appearance compliance evaluation coefficient δ of the preform cap, the formula for calculating the production compliance evaluation coefficient of the preform cap is as follows:
[0134] S104: Preform Production Qualification Evaluation Analysis: Based on the preform mouth production dimensions, preform bottom production dimensions, preform body production dimensions, preform mouth design dimensions, preform bottom design dimensions, and preform body design dimensions, the preform size specification analysis is performed, and preform production images and preform standard images are obtained for preform appearance analysis. Based on the preform size specification analysis results and preform appearance analysis results, a preform production qualification evaluation coefficient is generated.
[0135] Specifically, the specific process for generating the preform production qualification evaluation coefficient is as follows:
[0136] The production dimensions of the preform neck, bottom, and body are differentiated into different types to obtain several types of preform neck production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T}, and several types of preform body production dimensions v = {1, 2, 3, ..., v}. Based on these production dimensions, corresponding preform neck, bottom, and body design dimensions are obtained, and preform body dimensions are compared to obtain the preform body size specification analysis results. These results are defined as the preform body size qualification evaluation coefficient θ, calculated using the following formula: In the formula: r represents the number of corresponding types of preform neck production dimensions and preform neck design dimensions; R represents the total number of corresponding types of preform neck production dimensions and preform neck design dimensions; Bms represents the preform neck production dimension of a certain type; Bms0 represents the preform neck design dimension corresponding to a certain type; t represents the number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; T represents the total number of corresponding types of preform bottom production dimensions and preform bottom design dimensions; Bds represents the preform bottom production dimension of a certain type; Bds0 represents the preform bottom design dimension corresponding to a certain type; v represents the number of corresponding types of preform body production dimensions and preform body design dimensions; V represents the total number of corresponding types of preform body production dimensions and preform body design dimensions; Bbs represents the preform body production dimension of a certain type; Bbs0 represents the preform body design dimension corresponding to a certain type.
[0137] It should be noted that: the types of preform neck production dimensions include, but are not limited to, preform neck thickness, preform neck height, preform neck thread pitch, and preform neck curvature, etc.; the types of preform bottom production dimensions include, but are not limited to, preform bottom diameter and preform bottom curvature, etc.; the types of preform body production dimensions include, but are not limited to, preform body curvature and preform body height, etc.
[0138] It should also be noted that the larger the preform size qualification evaluation coefficient θ is, the more the preform mouth production size, preform bottom production size, and preform body production size conform to the design standards.
[0139] The production image and standard image of the preform are converted to grayscale, and then the grayscale images are vectorized and input into an MN-dimensional Euclidean space for calculation and analysis to obtain the appearance analysis result of the preform. The appearance analysis result is the appearance qualification evaluation coefficient η of the preform, and its calculation formula is as follows: In the formula: MN represents the spatial dimension, Bei c This represents the vectorized preform production image, Bsi c This represents the vectorized standard image of a bottle preform.
[0140] It should be noted that the larger the preform appearance qualification evaluation coefficient η is, the fewer the appearance defects of the produced preform, and the more the appearance of the produced preform conforms to the design standards.
[0141] The preform size qualification evaluation coefficient θ and the preform appearance qualification evaluation coefficient η are used to calculate the preform production qualification evaluation coefficient. The calculation formula is: β=ln(θ+η+1).
[0142] S105: Comprehensive Analysis of Preform Production Qualification: Based on the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β, calculation and analysis are performed to obtain the preform production qualification evaluation coefficient. The calculation formula is as follows: In the formula: τ represents the qualification evaluation coefficient of bottle preform production, w1 and w2 represent qualification evaluation correction factors, and both w1 and w2 are greater than zero;
[0143] S106: Preform production quality control: Preforms are rejected according to the preform production qualification evaluation coefficient τ in order to control the production quality of the preforms.
[0144] Specifically, the process for removing the preforms is as follows:
[0145] Set a preform quality control threshold Th, compare the preform production qualification evaluation coefficient τ with the preform quality control threshold Th, if the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, then generate a first-level control instruction; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, then generate a second-level control instruction.
[0146] It should be noted that: the first-level control instruction indicates that the preform meets the preform production standard; the second-level control instruction indicates that the preform does not meet the preform production standard.
[0147] Based on the secondary control command, the preform is rejected;
[0148] This invention acquires basic parameter information of preforms after production through electrical and optical detection methods, and analyzes it with preform design standards to obtain the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β. Then, based on the preform cap production qualification evaluation coefficient α and preform body production qualification evaluation coefficient β, the preform production qualification evaluation coefficient τ is calculated. The preform production quality is controlled according to the preform production qualification evaluation coefficient τ. Compared with existing preform detection data processing methods, this invention acquires data from multiple perspectives and performs multi-angle data fusion analysis, which is conducive to achieving comprehensive quality control of preform production and is applicable to the actual production process of existing preforms.
[0149] Example 4
[0150] Please see Figure 4 As shown, based on the above embodiment three, this embodiment discloses a method for processing preform detection data, the method further comprising:
[0151] S107: Preform Recyclability Analysis and Processing: Based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient, a preform cap recyclability analysis is performed, and based on the preform body size qualification evaluation coefficient and the preform body appearance qualification evaluation coefficient, a preform body recyclability analysis is performed. Based on the preform cap recyclability analysis results and the preform body recyclability analysis results, preform cap recyclability classification and preform body recyclability classification are performed; the preform cap recyclability analysis result is specifically the preform cap recyclability coefficient, and the preform body recyclability analysis result is specifically the preform body recyclability coefficient;
[0152] Specifically, the process for analyzing the recyclability of the bottle preform cap is as follows:
[0153] The recyclability coefficient of the preform cap is calculated based on the dimensional conformity evaluation coefficient and the appearance conformity evaluation coefficient of the preform cap. The calculation formula is as follows: In the formula: μ1 represents the recyclability coefficient of the bottle preform cap, μ2>0, and μ1 and μ2 represent the recyclability correction factors of the bottle preform cap.
[0154] Set graded thresholds Qt1 and Qt2 for preform cap conformity, where Qt1 > Qt2, and adjust the preform cap recyclability coefficient. The recyclability coefficient of the preform cap is compared with the qualified gradient thresholds Qt1 and Qt2. If the preform cap conformity gradient threshold Qt1 is greater than or equal to the threshold value, the corresponding preform cap will be marked as a Level 1 preform cap; if the preform cap recyclability coefficient is... If the value is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, then the corresponding preform cap is marked as a secondary preform cap indicator; if the preform cap recyclability coefficient If the value is less than the qualified grade threshold Qt2 for bottle preform caps, the corresponding bottle preform cap will be marked as a third-level bottle preform cap indicator.
[0155] It should be noted that: the first-level bottle cap index indicates that the corresponding bottle cap is of qualified quality and can be further processed; the second-level bottle cap index indicates that the corresponding bottle cap has recyclability defects and can be recycled; the third-level bottle cap index indicates that the corresponding bottle cap has non-recyclability defects and is directly treated as waste.
[0156] Bottle caps are classified according to the first-level, second-level, and third-level bottle cap indicators.
[0157] Specifically, the specific process for the recyclability analysis and treatment of the preform is as follows:
[0158] The recyclability coefficient of the preform is calculated based on the preform size conformity evaluation coefficient and the preform appearance conformity evaluation coefficient. The calculation formula is as follows: In the formula: σ represents the recyclability coefficient of the preform, λ1>λ2>0, and λ1 and λ2 represent the recyclability correction factors of the preform;
[0159] Set graded thresholds Zt1 and Zt2 for preform conformity, where Zt1 > Zt2. Compare the preform recyclability coefficient σ with these thresholds. If the preform recyclability coefficient σ is greater than or equal to the graded threshold Zt1, the corresponding preform is marked as a Level 1 preform. If the preform's recyclability coefficient is less than the preform qualification gradient threshold Zt1 and greater than or equal to the preform qualification gradient threshold Zt2, then the corresponding preform is marked as a secondary preform index; if the preform's recyclability coefficient... If the value is less than the preform qualification gradient threshold Zt2, the corresponding preform will be marked as a level 3 preform indicator.
[0160] It should be noted that: the first-level preform index indicates that the corresponding preform is of qualified quality and can be further processed; the second-level preform index indicates that the corresponding preform has recyclable defects and can be recycled; the third-level preform index indicates that the corresponding preform has non-recyclable defects and is directly treated as waste.
[0161] Preforms are classified according to primary, secondary and tertiary preform indicators.
[0162] By extracting the evaluation coefficients for the size and appearance of the preform cap, the size and appearance of the preform body, and the recyclability correction factor, and by adjusting the data accordingly, this invention facilitates efficient quality gradient screening and recyclability classification of the production quality of the preform cap and preform body, thereby helping to meet the needs of large-scale production scenarios for existing plastic bottles.
[0163] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.
Claims
1. A preform detection data processing system, characterized in that: include: At least one preform collection and processing module, used for collecting basic parameter information of the preform after production: performing electrical and optical inspections on the preform to obtain basic parameter information of the preform after production, wherein the basic parameter information after production includes the production size of the preform cap, the production size of the preform mouth, the production size of the preform bottom, the production size of the preform body, the production image of the preform cap, and the production image of the preform body; A standard information acquisition module, used for retrieving a corresponding three-dimensional preform model corresponding to the preform based on a pre-built preform database, and acquiring preform design standard information based on the corresponding three-dimensional preform model, wherein the preform design standard information includes preform cap design dimensions, preform mouth design dimensions, preform bottom design dimensions, preform body design dimensions, preform cap standard image, and preform body standard image; The preform cap production qualification analysis module is used to extract the preform cap production dimensions and the preform cap design dimensions to perform preform cap dimension specification analysis, and obtain the preform cap production image and the preform cap standard image to perform preform cap appearance analysis; the preform cap production qualification evaluation coefficient is generated from the preform cap dimension specification analysis results and the preform cap appearance analysis results; The specific generation process of the preform cap production qualification evaluation coefficient is as follows: Extract the production dimensions of the preform caps, distinguish different types of preform cap dimensions, and obtain several types of preform cap production dimensions k, k = {1, 2, 3, ..., G}; obtain corresponding types of preform cap design dimensions according to the production dimensions of the preform caps, and compare the production dimensions of the preform caps of the several types with the design dimensions of the preform caps of the corresponding types to obtain the preform cap dimension specification analysis results, the preform cap dimension specification analysis results are the preform cap dimension qualification evaluation coefficient γ, and the calculation formula is: Where: Cps i Indicates the production size of the preform cap of type i, represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of the preform cap production size and the preform cap design size; The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain a preform cap appearance analysis result, which is a preform cap appearance qualification evaluation coefficient δ, and its calculation formula is: Where: δ∈[0, 1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image; The preform cap production qualification evaluation coefficient is calculated based on the preform cap size qualification evaluation coefficient γ and the preform cap appearance qualification evaluation coefficient δ. The preform cap production qualification evaluation coefficient calculation formula is: The preform production qualification analysis module is used to analyze the size specifications of the preform according to the production size of the preform mouth, the production size of the preform bottom, the production size of the preform body, the design size of the preform mouth, the design size of the preform bottom and the design size of the preform body, and obtain the production image of the preform and the standard image of the preform to analyze the appearance of the preform, and generate the preform production qualification evaluation coefficient according to the analysis results of the size specifications and the appearance of the preform; The specific generation process of the bottle embryo production qualification evaluation coefficient is as follows: Different types of preform mouth dimensions, preform bottom dimensions and preform body dimensions are distinguished for the preform mouth production dimensions, the preform bottom dimensions and the preform body production dimensions to obtain several types of preform mouth production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T} and several types of preform body production dimensions v = {1, 2, 3, ..., V}; the corresponding types of preform mouth design dimensions, preform bottom design dimensions and preform body design dimensions are obtained according to the several types of preform mouth production dimensions, the several types of preform bottom production dimensions and the several types of preform body production dimensions, and the preform body dimensions are compared to obtain the preform body dimension specification analysis result, the preform body dimension specification analysis result is the preform body dimension qualification evaluation coefficient θ, and the calculation formula thereof is: In the formula: r represents the number of corresponding types of preform mouth production size and preform mouth design size, R represents the total number of corresponding types of preform mouth production size and preform mouth design size, Bms represents a certain type of preform mouth production size, and Bms0 represents a corresponding type of preform mouth design size; t represents the number of corresponding types of preform bottom production size and preform bottom design size, T represents the total number of corresponding types of preform bottom production size and preform bottom design size, Bds represents a certain type of preform bottom production size, and Bds0 represents a corresponding type of preform bottom design size; v represents the number of corresponding types of preform body production size and preform body design size, V represents the total number of corresponding types of preform body production size and preform body design size, Bbs represents a certain type of preform body production size, and Bbs0 represents a corresponding type of preform body design size; The preform body production image and the preform body standard image are grayscaled, and the grayscaled preform body production image and the preform body standard image are vectorized and input into the MN-dimensional Euclidean space, and calculation and analysis are performed to obtain the preform body appearance analysis result, and the preform body appearance analysis result is the preform body appearance qualification evaluation coefficient η, and the calculation formula is: Where: MN represents the spatial dimension, Bei c Represents the vectorized bottle embryo production image, Bsi c Represents the vectorized standard image of the embryo body; The preform body production qualification evaluation coefficient is calculated based on the preform body size qualification evaluation coefficient θ and the preform body appearance qualification evaluation coefficient η, and the calculation formula is: β=ln(θ+η+1); A comprehensive analysis module for preform production qualification, used for performing calculation and analysis based on the preform cap production qualification evaluation coefficient α and the preform body production qualification evaluation coefficient β to obtain the preform production qualification evaluation coefficient; A preform production quality control module, used for rejecting the preforms according to the preform production qualification evaluation coefficient τ; The specific process of removing the preform is as follows: A preform quality control threshold Th is set, and the preform production qualification evaluation coefficient τ is compared with the preform quality control threshold Th. If the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, a primary control instruction is generated; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, a secondary control instruction is generated; The preforms are rejected based on the secondary control instructions.
2. A preform detection data processing system according to claim 1, characterized in that: Also includes: A preform recyclability classification module, for performing a preform cap recyclability analysis based on a preform cap size qualification evaluation coefficient and a preform cap appearance qualification evaluation coefficient, and performing a preform body recyclability analysis based on a preform body size qualification evaluation coefficient and a preform body appearance qualification evaluation coefficient, and performing a preform cap recyclability classification and a preform body recyclability classification based on the preform cap recyclability analysis results and the preform body recyclability analysis results; the preform cap recyclability analysis result is specifically a preform cap recyclability coefficient, and the preform body recyclability analysis result is specifically a preform body recyclability coefficient; The specific process of the analysis and treatment of the recyclability of the preform cap is as follows: The recyclability coefficient of the preform cap is calculated based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient. The calculation formula is as follows: Where: represents the recyclability coefficient of the preform cap, μ1>μ2>0, μ1 and μ2 represent the recyclability correction factors of the preform cap; Set the preform cap qualification gradient thresholds Qt1 and Qt2, Qt1>Qt2, and set the preform cap recyclability coefficient Compare with the preform cap qualification gradient thresholds Qt1 and Qt2. If the recyclability coefficient of the preform cap is If the preform cap recyclability coefficient is greater than or equal to the preform cap qualification gradient threshold Qt1, the corresponding preform cap is marked as a first-level preform cap indicator; If the recyclability coefficient of the preform cap is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, the corresponding preform cap will be marked as a secondary preform cap indicator; If it is less than the preform cap qualification gradient threshold Qt2, the corresponding preform cap is marked as a third-level preform cap indicator; Classify the preform caps accordingly according to the first-level preform cap indicators, second-level preform cap indicators and third-level preform cap indicators; The specific process of the analysis and treatment of the recyclability of the embryo is as follows: The preform recyclability coefficient is calculated based on the preform size qualification evaluation coefficient and the preform appearance qualification evaluation coefficient. The calculation formula is as follows: Where: σ represents the recyclability coefficient of the preform, λ1>λ2>0, λ1 and λ2 represent the recyclability correction factors of the preform; Set the preform body qualification gradient thresholds Zt1 and Zt2, Zt1>Zt2, compare the preform body recyclability coefficient σ with the preform body qualification gradient thresholds Zt1 and Zt2, if the preform body recyclability coefficient σ is greater than or equal to the preform body qualification gradient threshold Zt1, then mark the corresponding preform body as a first-level preform body indicator; if the preform body recyclability coefficient If the recyclability coefficient of the preform body is less than the preform body qualification gradient threshold Zt1 and greater than or equal to the preform body qualification gradient threshold Zt2, the corresponding preform body is marked as a secondary preform body indicator; If the value is less than the gradient threshold Zt2 of the eligibility of the embryo body, the corresponding embryo body is marked as a third-level embryo body indicator; The preform bodies are classified accordingly according to the primary preform body indices, the secondary preform body indices and the tertiary preform body indices.
3. A method for processing preform detection data, characterized in that: include: S101: Collecting basic parameter information after the preform is produced: performing electrical and optical inspections on the preform to obtain basic parameter information after the preform is produced, wherein the basic parameter information after production includes the production size of the preform cap, the production size of the preform mouth, the production size of the preform bottom, the production size of the preform body, the production image of the preform cap, and the production image of the preform body; S102: Extracting a three-dimensional model corresponding to the preform: retrieving a three-dimensional preform model corresponding to the preform based on a pre-built preform database; and acquiring standard preform design information based on the three-dimensional preform model, wherein the standard preform design information includes a preform cap design size, a preform mouth design size, a preform bottom design size, a preform body design size, a preform cap standard image, and a preform body standard image; S103: Bottle preform cap production qualification data analysis: extract bottle preform cap production dimensions and bottle preform cap design dimensions to perform bottle preform cap dimension specification analysis, and obtain bottle preform cap production images and bottle preform cap standard images to perform bottle preform cap appearance analysis; generate bottle preform cap production qualification evaluation coefficients based on bottle preform cap dimension specification analysis results and bottle preform cap appearance analysis results; The specific generation process of the preform cap production qualification evaluation coefficient is as follows: Extract the production dimensions of the preform caps, distinguish different types of preform cap dimensions, and obtain several types of preform cap production dimensions k, k = {1, 2, 3, ..., G}; obtain corresponding types of preform cap design dimensions according to the production dimensions of the preform caps, and compare the production dimensions of the preform caps of the several types with the design dimensions of the preform caps of the corresponding types to obtain the preform cap dimension specification analysis results, the preform cap dimension specification analysis results are the preform cap dimension qualification evaluation coefficient γ, and the calculation formula is: Where: Cps i Indicates the production size of the preform cap of type i, represents the design size of the preform cap corresponding to the i-th type, and G represents the total number of corresponding types of the preform cap production size and the preform cap design size; The preform cap production image and the preform cap standard image are vectorized, and calculation and analysis are performed based on a similarity metric model to obtain a preform cap appearance analysis result, which is a preform cap appearance qualification evaluation coefficient δ, and its calculation formula is: Where: δ∈[0, 1], Bci represents the vectorized preform cap production image; Bcs represents the vectorized preform cap standard image; The preform cap production qualification evaluation coefficient is calculated based on the preform cap size qualification evaluation coefficient γ and the preform cap appearance qualification evaluation coefficient δ. The preform cap production qualification evaluation coefficient calculation formula is: S104: Bottle preform production qualification evaluation analysis: perform bottle preform size specification analysis based on bottle preform mouth production size, bottle preform bottom production size, bottle preform body production size, bottle preform mouth design size, bottle preform bottom design size and bottle preform body design size, obtain bottle preform body production image and bottle preform body standard image to perform bottle preform body appearance analysis, and generate bottle preform body production qualification evaluation coefficient based on bottle preform body size specification analysis result and bottle preform body appearance analysis result; The specific generation process of the bottle embryo production qualification evaluation coefficient is as follows: Different types of preform mouth dimensions, preform bottom dimensions and preform body dimensions are distinguished for the preform mouth production dimensions, the preform bottom dimensions and the preform body production dimensions to obtain several types of preform mouth production dimensions r, r = {1, 2, 3, ..., R}, several types of preform bottom production dimensions t = {1, 2, 3, ..., T} and several types of preform body production dimensions v = {1, 2, 3, ..., V}; the corresponding types of preform mouth design dimensions, preform bottom design dimensions and preform body design dimensions are obtained according to the several types of preform mouth production dimensions, the several types of preform bottom production dimensions and the several types of preform body production dimensions, and the preform body dimensions are compared to obtain the preform body dimension specification analysis result, the preform body dimension specification analysis result is the preform body dimension qualification evaluation coefficient θ, and the calculation formula thereof is: In the formula: r represents the number of corresponding types of preform mouth production size and preform mouth design size, R represents the total number of corresponding types of preform mouth production size and preform mouth design size, Bms represents a certain type of preform mouth production size, and Bms0 represents a corresponding type of preform mouth design size; t represents the number of corresponding types of preform bottom production size and preform bottom design size, T represents the total number of corresponding types of preform bottom production size and preform bottom design size, Bds represents a certain type of preform bottom production size, and Bds0 represents a corresponding type of preform bottom design size; v represents the number of corresponding types of preform body production size and preform body design size, V represents the total number of corresponding types of preform body production size and preform body design size, Bbs represents a certain type of preform body production size, and Bbs0 represents a corresponding type of preform body design size; The preform body production image and the preform body standard image are grayscaled, and the grayscaled preform body production image and the preform body standard image are vectorized and input into the MN-dimensional Euclidean space, and calculation and analysis are performed to obtain the preform body appearance analysis result, and the preform body appearance analysis result is the preform body appearance qualification evaluation coefficient η, and the calculation formula is: Where: MN represents the spatial dimension, Bei c Represents the vectorized bottle embryo production image, Bsi c Represents the vectorized standard image of the embryo body; The preform body production qualification evaluation coefficient is calculated based on the preform body size qualification evaluation coefficient θ and the preform body appearance qualification evaluation coefficient η, and the calculation formula is: β=ln(θ+η+1); S105: Comprehensive analysis of preform production qualification: performing calculation and analysis based on the preform cap production qualification evaluation coefficient α and the preform body production qualification evaluation coefficient β to obtain the preform production qualification evaluation coefficient; S106: preform production quality control: the preforms are rejected according to the preform production qualification evaluation coefficient τ, so as to achieve production quality control of the preforms; The specific process of removing the preform is as follows: A preform quality control threshold Th is set, and the preform production qualification evaluation coefficient τ is compared with the preform quality control threshold Th. If the preform production qualification evaluation coefficient τ is less than or equal to the preform quality control threshold Th, a primary control instruction is generated; if the preform production qualification evaluation coefficient τ is greater than the preform quality control threshold Th, a secondary control instruction is generated; The preforms are rejected based on the secondary control instructions.
4. The method for processing preform detection data according to claim 3, characterized in that: Also includes: S107: bottle preform recyclability analysis and processing: perform bottle preform cap recyclability analysis based on bottle preform cap size qualification evaluation coefficient and bottle preform cap appearance qualification evaluation coefficient, perform bottle preform body recyclability analysis based on bottle preform body size qualification evaluation coefficient and bottle preform body appearance qualification evaluation coefficient, and perform bottle preform cap recyclability classification and bottle preform body recyclability classification based on the bottle preform cap recyclability analysis results and the bottle preform body recyclability analysis results; the bottle preform cap recyclability analysis result is specifically the bottle preform cap recyclability coefficient, and the bottle preform body recyclability analysis result is specifically the bottle preform body recyclability coefficient; The specific process of the analysis and treatment of the recyclability of the preform cap is as follows: The recyclability coefficient of the preform cap is calculated based on the preform cap size qualification evaluation coefficient and the preform cap appearance qualification evaluation coefficient. The calculation formula is as follows: Where: represents the recyclability coefficient of the preform cap, μ1>μ2>0, μ1 and μ2 represent the recyclability correction factors of the preform cap; Set the preform cap qualification gradient thresholds Qt1 and Qt2, Qt1>Qt2, and set the preform cap recyclability coefficient Compare with the preform cap qualification gradient thresholds Qt1 and Qt2. If the recyclability coefficient of the preform cap is If the preform cap recyclability coefficient is greater than or equal to the preform cap qualification gradient threshold Qt1, the corresponding preform cap is marked as a first-level preform cap indicator; If the recyclability coefficient of the preform cap is less than the preform cap qualification gradient threshold Qt1 and greater than or equal to the preform cap qualification gradient threshold Qt2, the corresponding preform cap will be marked as a secondary preform cap indicator; If it is less than the preform cap qualification gradient threshold Qt2, the corresponding preform cap is marked as a third-level preform cap indicator; Classify the preform caps accordingly according to the first-level preform cap indicators, second-level preform cap indicators and third-level preform cap indicators; The specific process of the analysis and treatment of the recyclability of the embryo is as follows: The preform recyclability coefficient is calculated based on the preform size qualification evaluation coefficient and the preform appearance qualification evaluation coefficient. The calculation formula is as follows: Where: σ represents the recyclability coefficient of the preform, λ1>λ2>0, λ1 and λ2 represent the recyclability correction factors of the preform; Set the preform body qualification gradient thresholds Zt1 and Zt2, Zt1>Zt2, compare the preform body recyclability coefficient σ with the preform body qualification gradient thresholds Zt1 and Zt2, if the preform body recyclability coefficient σ is greater than or equal to the preform body qualification gradient threshold Zt1, then mark the corresponding preform body as a first-level preform body indicator; if the preform body recyclability coefficient If the recyclability coefficient of the preform body is less than the preform body qualification gradient threshold Zt1 and greater than or equal to the preform body qualification gradient threshold Zt2, the corresponding preform body is marked as a secondary preform body indicator; If the value is less than the gradient threshold Zt2 of the eligibility of the embryo body, the corresponding embryo body is marked as a third-level embryo body indicator; The preform bodies are classified accordingly according to the primary preform body indices, the secondary preform body indices and the tertiary preform body indices.
Citation Information
Patent Citations
Bottle preform defect detection model training method, storage medium and terminal equipment
CN112419291A
Empty bottle mouth defect inspection method and device
CN101105459A
Bottle preform CCD defect detection method
CN115041417A