A workshop production line editing system based on digital twin

By adopting a workshop production line editing system based on digital twins on the laptop workshop production line, image acquisition and quality inspection and evaluation of the headphone interface are solved, and more efficient and accurate detection is achieved in the existing technology.

CN119739119APending Publication Date: 2025-04-01LENOVO NEW VISION BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411761666.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

The existing laptop workshop production lines have problems such as low detection efficiency and low detection accuracy in headphone interface detection, resulting in poor data utilization.

Method used

The workshop production line editing system based on digital twins is adopted, and the headphone interface image acquisition module is used to obtain the outer circle diameter, eyelet center point position and eyelet diameter data of the headphone interface, and the corresponding evaluation model is used to perform quality detection and early warning to improve detection accuracy.

Benefits of technology

It realizes quality inspection and early warning for headphone interface detection, improves detection accuracy and efficiency, and improves product qualification rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739119A_ABST
    Figure CN119739119A_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically discloses a workshop production line editing system based on digital twins. By acquiring outer circle diameter data, eyelet center point position data and eyelet diameter data at a headphone interface of a laptop computer on a workshop production line, a headphone interface size measurement and evaluation model, a first eyelet detection and evaluation model and a second eyelet detection and evaluation model are constructed. The acquired outer circle diameter data, eyelet center point position and eyelet diameter data are respectively substituted into the headphone interface size measurement and evaluation model, the first eyelet detection and evaluation model and the second eyelet detection and evaluation model, and the headphone interface size measurement and evaluation and eyelet detection and evaluation are performed. The headphone interface quality abnormality analysis is performed on the headphone interface size measurement and evaluation results and the eyelet detection and evaluation results, thereby improving the accuracy of headphone interface detection on the workshop production line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more specifically, to a workshop production line editing system based on digital twins. Background Art

[0002] The application of the digital twin workshop production line editing system in the workshop production line involves production factors, production activities, production control and other aspects. By building a virtual copy of the physical workshop, it realizes real-time monitoring of the production process, predictive maintenance, production optimization and other functions. In the production line of the laptop workshop, the laptop headphone interface is a key component. The current low level of automation and informatization, high labor costs and poor data utilization are the difficulties presented by the production link of the laptop headphone interface. The traditional laptop workshop production line mainly detects the headphone interface manually, which has the problems of low detection efficiency and low detection accuracy. In order to solve the above problems, a technical solution is now provided. Summary of the invention

[0003] In order to overcome the above-mentioned defects of the prior art, the present invention provides a workshop production line editing system based on digital twins, which calculates and analyzes the headphone interface size measurement evaluation value, the first hole center point position detection evaluation value and the second hole outline size detection evaluation value, so as to realize quality inspection early warning, improve the headphone interface detection accuracy, and solve the problems raised in the above-mentioned background technology.

[0004] To achieve the above object, the present invention provides the following technical solutions: A workshop production line editing system based on digital twins, comprising an earphone jack image acquisition module, an earphone jack size measurement and evaluation module, a first eyelet detection and evaluation module, a second eyelet detection and evaluation module, a quality anomaly analysis module, an early warning instruction release module, a robotic arm control module and a central controller module; The outer diameter data of the headphone jack on the workshop production line is obtained through the image acquisition module, and the center point position and hole diameter data of the headphone jack on the workshop production line are obtained at the same time; The headphone jack size measurement and evaluation module substitutes the acquired headphone jack outer diameter data into the headphone jack size measurement and evaluation model to calculate the headphone jack size measurement evaluation value; A first eyelet detection and evaluation module, which substitutes the acquired eyelet center point position data into a first eyelet detection and evaluation model to calculate a first eyelet center point position detection evaluation value; A second eyelet detection and evaluation module, which substitutes the acquired eyelet diameter data into a second eyelet detection and evaluation model to calculate a second eyelet profile size detection and evaluation value; As a further solution of the present invention, obtaining the headphone interface outer circle diameter data, the headphone interface eyelet center point position data and the eyelet diameter data includes the following specific steps: the camera captures high-definition images of each headphone interface on the production line through the uniform light source provided by the LED lamp, and calculates the headphone interface outer circle diameter data through the computer image processing software Opencv. These headphone interface outer circle diameter data will be stored in the first storage module, and the eyelet center point position data and the eyelet diameter data will be calculated and stored in the second storage module.

[0005] As a further solution of the present invention, the headphone jack size measurement and evaluation model includes the following specific contents: The outer diameter data of the headphone jack during the production process is obtained, and the obtained outer diameter data of the headphone jack is substituted into the headphone jack size measurement evaluation model to calculate the headphone jack size measurement evaluation value, so as to evaluate whether the headphone jack size meets the production standard. The formula of the headphone jack size measurement evaluation model is: , Where: The headphone jack size measurement estimate. For the measurement The diameter of the outer circle of the headphone jack, for The average diameter of the outer circle of the headphone jack is The maximum value of the allowable deviation range of the outer diameter of the headphone jack is: In order to allow the minimum value of the headphone jack outer diameter deviation range, the allowable headphone jack outer diameter deviation range is analyzed by analyzing the measurement data of the outer diameter of the same type of headphone jacks produced in the past, and the outer diameter data of the headphone jacks produced is measured by the high-precision measurement software Opencv, and the equal angles are selected on the circumference of the headphone jack outer circle. measuring points, measuring the diameter at each measuring point to obtain the diameter measurement value The calculation formula for the allowable deviation range of the outer diameter of the headphone jack is: , Where: is the average diameter of the measuring points, For the The outer diameter of the headphone jack at the measurement points.

[0006] As a further solution of the present invention, the first hole detection evaluation model includes the following specific steps: The headphone jack eyelet image is captured by a high-resolution camera, and the position of the center point of the headphone jack eyelet on the production line is obtained by using the opencv image processing software. The obtained data of the center point position of the headphone jack eyelet is substituted into the first eyelet detection model to calculate the first eyelet center point position detection evaluation value, wherein the formula of the first eyelet detection evaluation model is: , Where: is the evaluation value of the first hole center position detection, is the hole center position ratio, is the expected position of the eyelet center point, is the actual position of the center point of the hole, where , , It represents the set of coordinate positions of the hole contour points. represents the set of horizontal coordinate positions of the hole contour points, represents the set of ordinates of the eyelet contour points, is the number of contour points.

[0007] As a further solution of the present invention, the second hole detection evaluation model further includes the following specific steps: The eyelet diameter of the headphone jack on the production line is obtained, and the obtained eyelet diameter data of the headphone jack is substituted into the second eyelet detection model to calculate the second eyelet contour size detection evaluation value, wherein the formula of the second eyelet detection evaluation model is: , Where: is the evaluation value of the second hole profile size detection model, For the measurement The diameter of the holes, is the maximum value of the allowable hole diameter deviation range, is the minimum value of the allowable hole diameter deviation range, The average eyelet diameter is the allowable deviation range of the headphone jack diameter. By analyzing the measurement data of the diameter of the same type of headphone jacks produced in the past, the eyelet diameter data of the headphone jacks produced is measured by the high-precision measurement software Opencv, and the selection of equal angles on the circumference of the eyelet is measuring points, measuring the hole diameter at each measuring point to obtain the hole diameter measurement value , the calculation formula for the allowable hole diameter deviation range is: .

[0008] Where: is the average diameter of the measuring points, For the The hole diameter at each measuring point.

[0009] As a further solution of the present invention, the specific steps of performing quality abnormality analysis on the headphone jack size measurement evaluation value, the first eyelet center point position detection evaluation value, and the second eyelet contour size detection evaluation value are as follows: The obtained headphone jack size measurement evaluation value, the first eyelet center point position detection evaluation value and the second eyelet contour size detection evaluation value are substituted into the quality anomaly analysis model to calculate the quality acceptance value, wherein the formula of the quality anomaly analysis model is: , Where: is the quality qualified value, The proportion of the headphone jack size measurement evaluation value, is the proportion of the first hole center point position detection evaluation value, The headphone jack size measurement estimate. is the evaluation value of the first hole center position detection, An evaluation value for detecting a second hole profile size; The calculated quality qualification value is obtained. If the quality qualification value is greater than the quality standard value that meets the production requirements, it means that the quality of the produced headphone interface is qualified. If the quality qualification value is less than the quality standard value that meets the production requirements, it means that the quality of the produced headphone interface is unqualified.

[0010] As a further scheme of the present invention, the headphone interface outer diameter data, the center point position and hole diameter data of the headphone interface eyelet, the headphone interface size measurement evaluation value ratio coefficient, and the first hole center point position detection evaluation value ratio coefficient are obtained in the following manner: at least two thousand sets of headphone interface outer diameter data in the workshop production process are obtained, and at the same time, the hole center point position and hole diameter data of the headphone interface in the workshop production process are obtained, and the headphone interface outer diameter data, hole center point position and hole diameter data are substituted into the quality anomaly analysis model to calculate the quality acceptance value, and the calculated quality acceptance value calculation formula and quality judgment result are imported into the fitting software, and the headphone interface size measurement evaluation value ratio coefficient and the first hole center point position detection evaluation value ratio coefficient that meet the highest judgment accuracy are output.

[0011] As a further solution of the present invention, quality detection early warning according to the quality abnormality analysis result includes the following specific contents: The quality anomaly analysis module continuously performs quality inspection and analysis on the headphone jacks on the production line. If quality anomalies are found, the module will organize and encode the relevant data and characteristic information of the quality problems, and send the quality problem instructions in the form of digital signals to the quality early warning issuance module through specific communication protocols and interfaces. After receiving the instructions, the quality early warning issuance module decodes and parses them to extract key quality problem information. The quality early warning issuance module classifies and marks the problematic headphone jacks based on the received quality problem instructions. The robotic arm control module receives the instructions issued by the quality anomaly analysis module and grabs and recycles the marked headphone jacks.

[0012] As a further solution of the present invention, the robot arm control module receives instructions from the quality abnormality analysis module to grab and recycle the marked headphone jack.

[0013] The technical effects and advantages of the workshop production line editing system based on digital twins of the present invention are as follows: The present invention obtains the outer diameter data of the headphone interface in the production process of the headphone interface of the workshop production line, and at the same time constructs the headphone interface size measurement and evaluation model, and substitutes the obtained outer diameter data of the headphone interface into the headphone interface size measurement and evaluation model to perform headphone interface size measurement and evaluation, thereby improving the headphone interface size evaluation efficiency; obtains the center point position data of the eyelet, constructs a first eyelet detection and evaluation model, and substitutes the obtained center point position data of the eyelet into the first eyelet detection and evaluation model to perform eyelet detection and evaluation; obtains the eyelet diameter data, constructs a second contour size detection and evaluation model, and substitutes the obtained eyelet diameter data into the second contour size detection model to perform eyelet detection and evaluation, thereby improving the eyelet detection and evaluation efficiency; performs quality anomaly analysis on the headphone interface size measurement and evaluation results, the first eyelet detection and evaluation results, and the second eyelet detection and evaluation results, and performs quality monitoring and early warning according to the quality anomaly analysis results, thereby improving the product qualification rate; through comprehensive analysis of the outer diameter data of the headphone interface, the center point position of the eyelet and the eyelet diameter data, the headphone interface production quality is efficiently detected and evaluated, thereby improving the efficiency and accuracy of the workshop production line in detecting the headphone interface quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a schematic diagram of the overall framework of a workshop production line editing system based on digital twins in the present invention. DETAILED DESCRIPTION

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

[0016] Example 1 like Figure 1 As shown, a workshop production line editing system based on digital twins includes a headphone jack image acquisition module, a headphone jack size measurement and evaluation module, a first hole detection and evaluation module, a second hole detection and evaluation module, a quality abnormality analysis module, an early warning instruction release module, a robotic arm control module and a central controller module.

[0017] The headphone jack image acquisition module obtains the outer diameter data of the headphone jack on the workshop production line through the image acquisition module, and simultaneously obtains the center point position and hole diameter data of the headphone jack on the workshop production line; the headphone jack image is photographed by a high-resolution camera, and the opencv image processing software obtains the outer diameter data of the headphone jack on the production line and stores it in the first storage module; the opencv image processing software obtains the center point position and hole diameter data of the headphone jack and stores it in the second storage module. The image clarity formula taken by the high-resolution camera is: ; Where: is the image resolution of the acquisition, are the image clarity and detail parameters, is the number of images collected per unit time, is the exposure time parameter, To affect the sensitivity of the image sensor to light, is the optical zoom ratio, is the distance parameter between the device and the headphone jack. is the random interference signal parameter in the image, is the index variable for the sum operation, is the integration variable, The larger the value is, the clearer the collected headphone jack image is, and vice versa, the less clear the collected headphone jack image is.

[0018] The headphone jack image acquisition module obtains the outer diameter data of the headphone jack on the workshop production line through the image acquisition module, and simultaneously obtains the center point position and hole diameter data of the headphone jack on the workshop production line; The headphone jack size measurement and evaluation module calculates the headphone jack size measurement and evaluation value by substituting the acquired headphone jack outer diameter data into the headphone jack size measurement and evaluation model; The first eyelet detection and evaluation module calculates a first eyelet center point position detection evaluation value by substituting the acquired eyelet center point position data into the first eyelet detection and evaluation model; The second eyelet detection and evaluation module calculates the second eyelet contour size detection evaluation value by substituting the acquired eyelet diameter data into the second eyelet detection and evaluation model.

[0019] In the present invention, the headphone interface size measurement and evaluation module is respectively connected to the first hole detection and evaluation module and the second hole detection and evaluation module, and the central controller module is respectively connected to the quality abnormality analysis module, the robotic arm control module, the early warning instruction issuing module, the headphone interface size measurement and evaluation module, the first hole detection and evaluation module and the second hole detection and evaluation module.

[0020] The headphone jack size measurement and evaluation model obtains the headphone jack outer diameter data during the production process, and substitutes the obtained headphone jack outer diameter data into the headphone jack size measurement and evaluation model to calculate the headphone jack size measurement evaluation value. The formula of the headphone jack size measurement and evaluation model is: , Where: The headphone jack size measurement estimate. For the measurement The outer diameter data of the headphone jack, for The average outer diameter of the headphone jack is The maximum value of the allowable deviation range of the outer diameter of the headphone jack is: In order to allow the minimum value of the headphone jack outer diameter deviation range, the allowable headphone jack outer diameter deviation range is analyzed by analyzing the measurement data of the outer diameter of the same type of headphone jacks produced in the past, and the outer diameter data of the headphone jacks produced is measured by the high-precision measurement software Opencv, and the equal angles are selected on the circumference of the headphone jack. measuring points, measuring the diameter at each measuring point to obtain the diameter measurement value The calculation formula for the allowable deviation range of the outer diameter of the headphone jack is: , Where: is the average diameter of the measuring points, For the The outer diameter of the headphone jack at the three measuring points.

[0021] The first eyelet detection model obtains the eyelet center point position on the production line through a high-resolution camera, and substitutes the obtained eyelet center point eyelet position data into the first eyelet detection model to calculate the first eyelet center point position detection evaluation value, wherein the formula of the first eyelet detection model is: , Where: is the evaluation value of the first hole center position detection, is the hole position ratio coefficient, is the expected position of the eyelet, is the actual position of the center point of the hole, where , , It represents the set of coordinate positions of the hole contour points. represents the set of horizontal coordinate positions of the hole contour points, represents the set of ordinates of the eyelet contour points, is the number of contour points.

[0022] The second eyelet detection model obtains the eyelet diameter of the headphone interface on the production line, and substitutes the obtained headphone interface eyelet diameter data into the second eyelet detection model to calculate the second eyelet contour size detection evaluation value, wherein the formula of the second eyelet detection evaluation model is: , Where: is the second hole profile size detection evaluation value, For the measurement The diameter of the holes, is the maximum value of the allowable hole diameter deviation range, is the minimum value of the allowable hole diameter deviation range, The average eyelet diameter is the allowable deviation range of the headphone jack eyelet diameter. By analyzing the measurement data of the eyelet diameters of the same type of headphone jacks produced in the past, the headphone jack eyelet diameter data is measured by high-precision measurement software Opencv, and the equal angles are selected on the circumference of the eyelet. measuring points, measuring the hole diameter at each measuring point to obtain the hole diameter measurement value , the calculation formula for the allowable hole diameter deviation range is: .

[0023] Where: is the average diameter of the measuring points, For the The hole diameter at each measuring point.

[0024] The headphone jack size measurement evaluation results, the first eyelet detection evaluation results, and the second eyelet detection evaluation results are analyzed for quality anomalies. The specific steps are as follows: The acquired dimension measurement evaluation value, the first eyelet center point position detection evaluation value and the second eyelet contour dimension detection evaluation value are substituted into the quality anomaly analysis model to calculate the quality qualified value, wherein the quality anomaly analysis model formula is: , Where: is the quality qualified value, The proportion of the headphone jack size measurement evaluation value, is the proportion of the first hole center point position detection evaluation value, The headphone jack size measurement estimate. is the evaluation value of the first hole center position detection, An evaluation value for detecting a second hole profile size; The calculated quality qualification value is obtained. If the quality qualification value is greater than the quality standard value that meets the production requirements, it means that the quality of the produced headphone interface is qualified. If the quality qualification value is less than the quality standard value that meets the production requirements, it means that the quality of the produced headphone interface is unqualified.

[0025] The method for obtaining the headphone jack outer diameter data, the center point position and hole diameter data of the headphone jack hole, the headphone jack size measurement evaluation value ratio coefficient, and the first hole center point position detection evaluation value ratio coefficient is as follows: obtain at least two thousand sets of headphone jack outer diameter data in the workshop production process, and simultaneously obtain the hole center point position and hole diameter data of the headphone jack in the workshop production process, substitute the headphone jack diameter data, hole center point position and hole diameter data into the quality anomaly analysis model to calculate the quality acceptance value, import the calculated quality acceptance value calculation formula and quality judgment results into the fitting software, and output the headphone jack size measurement evaluation value ratio coefficient and the first hole center point position detection evaluation value ratio coefficient that meet the highest judgment accuracy.

[0026] Quality monitoring and early warning based on quality abnormality analysis results include the following specific contents: The quality anomaly analysis module continuously performs quality inspection and analysis on the headphone jacks on the production line. If quality anomalies are found, the module will organize and encode the relevant data and characteristic information of the quality problems, and send the quality problem instructions in the form of digital signals to the quality early warning issuance module through specific communication protocols and interfaces. After receiving the instructions, the quality early warning issuance module decodes and parses them to extract key quality problem information. The quality early warning issuance module classifies and marks the problematic headphone jacks based on the received quality problem instructions. The robotic arm control module receives the instructions issued by the quality anomaly analysis module and grabs and recycles the marked headphone jacks.

[0027] The embodiment of the present invention obtains the outer diameter data of the headphone interface during the production process of the headphone interface of the workshop production line, and simultaneously obtains the center point position and the eyelet diameter data of the headphone interface eyelet, constructs a headphone interface size measurement and evaluation model, substitutes the obtained headphone interface diameter data into the headphone interface size measurement and evaluation model to perform the headphone interface size measurement and evaluation, constructs a first eyelet detection and evaluation model, substitutes the obtained eyelet center point position data into the first eyelet detection and evaluation model to perform the first eyelet center point position detection and evaluation, constructs a second eyelet detection and evaluation model, substitutes the obtained eyelet diameter data into the second eyelet detection and evaluation model to perform the second eyelet contour size detection and evaluation, performs quality anomaly analysis through the headphone interface size measurement and evaluation results, performs quality monitoring and early warning according to the quality anomaly analysis results, comprehensively analyzes the outer diameter data of the headphone interface, the center point position of the eyelet and the eyelet diameter data, efficiently detects and evaluates the headphone interface production quality, and improves the efficiency and accuracy of the workshop production line in detecting the headphone interface quality.

[0028] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0029] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A workshop production line editing system based on digital twin, comprising an earphone jack image acquisition module, an earphone jack size measurement and evaluation module, a first eyelet detection and evaluation module, a second eyelet detection and evaluation module, a quality anomaly analysis module, an early warning instruction release module, a robotic arm control module and a central controller module, characterized in that: The headphone jack image acquisition module is used to obtain the outer diameter data of the headphone jack during the production process of the workshop production line, and at the same time obtain the center point position and hole diameter data of the headphone jack during the production process of the workshop production line; The headphone jack size measurement and evaluation module is used to bring the acquired headphone jack outer diameter data into the headphone jack size measurement and evaluation model to perform headphone jack size evaluation; the first eyelet detection and evaluation module is used to substitute the acquired eyelet center point position data into the first eyelet detection and evaluation model to perform eyelet center point position detection and evaluation; the second eyelet detection and evaluation module is used to substitute the acquired eyelet diameter data into the second eyelet detection and evaluation model to perform eyelet contour size detection and evaluation; The quality anomaly analysis module is used to substitute the diameter measurement evaluation result, the first hole detection evaluation result and the second hole detection evaluation result into the quality anomaly analysis model to calculate the quality acceptance value and perform quality anomaly analysis, wherein the formula of the quality anomaly analysis model is: , Where: is the quality qualified value, The proportion of the headphone jack size measurement evaluation value, is the proportion of the first hole center point position detection evaluation value, The headphone jack size measurement estimate. is the evaluation value of the first hole center position detection, Detect evaluation value for the second hole profile size.

2. According to the digital twin-based workshop production line editing system of claim 1, it is characterized in that: The construction of the headphone jack size measurement and evaluation model includes the following specific contents: The obtained headphone jack outer diameter data is imported into the headphone jack size measurement evaluation model to calculate the headphone jack size measurement evaluation value, wherein the formula of the headphone jack size measurement evaluation model is: , Where: The headphone jack size measurement estimate. For the measurement The diameter of the outer circle of the headphone jack, for The average diameter of the outer circle of the headphone jack is The maximum value of the allowable deviation range of the outer diameter of the headphone jack is: It is the minimum value of the allowable deviation range of the outer diameter of the headphone jack.

3. According to the digital twin-based workshop production line editing system of claim 2, it is characterized in that: The allowable deviation range of the outer diameter of the headphone jack is selected by selecting equal angles on the circumference of the outer diameter of the headphone jack At each measuring point, measure the outer diameter of the headphone jack to obtain the diameter measurement value. The calculation formula for the allowable deviation range of the outer diameter of the headphone jack is: , Where: is the average diameter of the measuring points, For the The outer diameter of the headphone jack at the measurement points.

4. According to the digital twin-based workshop production line editing system of claim 1, it is characterized in that: The construction of the first hole detection and evaluation model includes the following specific contents: Substitute the acquired earphone interface eyelet center point position data into the first eyelet detection evaluation model to calculate the first eyelet center point position detection evaluation value, wherein the formula of the first eyelet detection evaluation model is: , Where: is the evaluation value of the first hole center position detection, is the hole center position ratio coefficient, is the expected position of the eyelet center point, is the actual position of the center point of the hole, where , , represents the set of coordinate positions of the eyelet contour points, represents the set of horizontal coordinate positions of the hole contour points, represents the set of ordinates of the eyelet contour points, is the number of contour points.

5. According to the digital twin-based workshop production line editing system of claim 1, it is characterized in that: The construction of the second hole detection evaluation model includes the following specific contents: The headphone jack eyelet diameter data on the production line is obtained, and the obtained headphone jack eyelet diameter data is substituted into the second eyelet detection model to calculate the second eyelet contour size detection evaluation value, wherein the formula of the second eyelet detection evaluation model is: , Where: is the second hole profile size detection evaluation value, For the measurement The diameter of the holes, is the maximum value of the allowable hole diameter deviation range, is the minimum value of the allowable hole diameter deviation range, is the average hole diameter.

6. A workshop production line editing system based on digital twin according to claim 5, characterized in that: The allowable hole diameter deviation range is selected by selecting equal angles on the circumference of the hole. measuring points, measuring the hole diameter at each measuring point to obtain the hole diameter measurement value , the calculation formula for the allowable hole diameter deviation range is: Where: is the average diameter of the measuring points, For the The hole diameter at each measuring point.

7. The digital twin-based workshop production line editing system according to claim 1 is characterized in that: The specific steps of conducting quality anomaly analysis through the diameter measurement evaluation results, the first hole detection evaluation results and the second hole detection evaluation results are as follows: Substitute the obtained headphone interface size measurement evaluation value, the first hole center point position detection evaluation value and the second hole contour size detection evaluation value into the quality anomaly analysis model to calculate the quality qualification value; obtain the calculated quality qualification value, if the quality qualification value is greater than or equal to the quality standard value that meets the production, it means that the quality of the produced headphone interface is qualified, if the quality qualification value is less than the quality standard value that meets the production, it means that the quality of the produced headphone interface is unqualified.

8. The digital twin-based workshop production line editing system according to claim 1 is characterized in that: The early warning instruction issuing module is used for quality monitoring and early warning according to the quality anomaly analysis results; the robot arm control module is used to control the robot arm to grab the headphone interface determined as unqualified by the central controller, and recycle the grabbed unqualified headphone interface for reuse; the central controller module is used to control the operation of the diameter measurement and evaluation module, the first hole detection and evaluation module, the second hole detection and evaluation module, the quality anomaly analysis module, the early warning instruction issuing module and the robot arm control module.

9. The digital twin-based workshop production line editing system according to claim 1 is characterized in that: The headphone jack size measurement and evaluation module is respectively connected to the first hole detection and evaluation module and the second hole detection and evaluation module, and the central controller module is respectively connected to the headphone jack image acquisition module, the quality abnormality analysis module, the robotic arm control module, the early warning instruction issuing module, the headphone jack size measurement and evaluation module, the first hole detection and evaluation module and the second hole detection and evaluation module.