A plastic pipe laser marking control system and method
By optimizing laser marking on plastic pipe fittings through laser path planning and parameter detection, the problem of process parameter analysis not being addressed in existing technologies has been solved. This has enabled precise control and high-quality laser marking results, improving production stability and finished product quality.
Patent Information
- Application Number
- CN202411173068.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-08-26
AI Technical Summary
Existing laser marking technology for plastic pipe fittings does not involve process parameter analysis, resulting in uncertainties in marking efficiency, stability, and finished product quality. Furthermore, the lack of finished product quality inspection affects the stability of production quality.
The system employs a laser path planning module, a motion control module, a marking process compliance parameter detection module, a marking parameter acquisition module, and a marking quality analysis module. By analyzing parameters such as marking pattern, temperature, power, and noise, the laser marking process is optimized to achieve precise control and quality inspection.
It improves the accuracy and precision of marking positions, ensures clear and complete patterns, promptly identifies and improves problems in the marking process, and guarantees high-quality marking results and stability.
Smart Images

Figure CN118664103B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of laser technology, in particular to a plastic pipe laser marking control system and method. Background Art
[0002] With the continuous development of science and technology, plastic pipe fittings are increasingly used in various fields. In the production and use of plastic pipe fittings, clear, accurate and lasting identification becomes very important.
[0003] Compared with traditional marking methods, laser marking has obvious advantages. It is non-contact and will not cause mechanical damage to plastic pipes, effectively ensuring the integrity and quality of the pipes. Moreover, the marking formed by laser marking is permanent, not easy to wear or fade, and can remain clear and readable for a long time. Against the background of continuous advancement of industrial automation, plastic pipe laser marking technology can also be closely integrated with automated production lines to achieve efficient and fast continuous marking operations, greatly improving production efficiency and consistency of marking.
[0004] In short, plastic pipe laser marking technology, with its unique advantages, occupies an important position in modern industrial production and has injected strong impetus into the development of the plastic pipe industry.
[0005] The existing Chinese patent application number 201810415846.X discloses a laser marking method, a laser marking device and a system. The solution loads multiple products on a product conveyor line and drives them to move. Each laser head marks the corresponding products on the conveyor line at the same time, and the interval between two markings of each laser head is For an unmarked product, multiple laser heads work simultaneously, which improves the marking efficiency and can quickly process a large number of products. By reasonably setting the conveying speed and marking interval, an efficient and orderly marking process is achieved, ensuring the continuity of production. At the same time, the dynamic marking operation can better adapt to the marking needs of different products and improve flexibility and adaptability.
[0006] However, the above patents have the following problems: First, the solution mainly focuses on the steps, equipment composition, control system and some related operating procedures of the laser marking method, and does not involve the analysis of specific process parameters, such as marking temperature, output power of the laser source, abnormal noise, etc. It may not be possible to accurately grasp the actual state of the marking process, affecting the efficiency, stability and product quality of the laser marking operation.
[0007] Second, the scheme does not involve testing of relevant quality parameters of the finished marked products, such as the clarity of the marking lines and the completeness of the marking, which may lead to uncertainty in the quality of the actual marked products, affect the quality stability of the products, and is not conducive to the precise optimization and improvement of the entire marking process. Summary of the invention
[0008] In order to overcome the shortcomings of the background technology, the embodiments of the present invention provide a plastic pipe laser marking control system and method, which can effectively solve the problems involved in the above-mentioned background technology.
[0009] The purpose of the present invention can be achieved through the following technical solutions: The present invention provides a plastic pipe laser marking control system, including: a laser path planning module, which is used to obtain a recommended laser path for the marking pattern based on stored marking pattern image analysis.
[0010] The motion control module is used to analyze the offset distance of the laser at each time point and adjust the laser position according to the offset distance of the laser at each time point.
[0011] The marking process compliance parameter detection module is used to detect the marking process compliance parameters. The marking process compliance parameters include the marking temperature compliance degree of the plastic pipe fittings, the output power fluctuation degree of the laser source, and the abnormal noise degree during the plastic pipe fittings marking process.
[0012] The marking process compliance analysis module is used to obtain the marking process evaluation coefficient of plastic pipe fittings according to the marking process compliance parameter analysis. .
[0013] The marking parameter acquisition module is used to obtain the marking image of the plastic pipe fitting and detect the marking parameters of the plastic pipe fitting. The marking parameters include the clarity of the marking lines and the completeness of the marking.
[0014] The marking parameter analysis module is used to obtain the marking evaluation coefficient of plastic pipe fittings based on the marking parameter analysis of plastic pipe fittings. .
[0015] The marking quality analysis module is used to obtain the marking quality evaluation index of the plastic pipe fittings according to the marking process evaluation coefficient and the marking evaluation coefficient of the plastic pipe fittings, and provide feedback.
[0016] The management database is used to store marking pattern images, the recommended laser paths corresponding to each marking pattern shape, and the maximum allowable decibel value for marking.
[0017] Preferably, the specific analysis method of the laser path planning module is: extracting a preset marking pattern image from a management database, extracting the edge contour of the marking pattern from the marking pattern image through edge detection technology, and recording it as the marking pattern edge contour; determining the number of corner points in the edge contour of the marking pattern through a corner detection algorithm, thereby judging the graphic shape to which the edge contour of the marking pattern belongs, and at the same time reading the preset recommended laser paths corresponding to each marking pattern shape from the management database, comparing the graphic shape to which the edge contour of the marking pattern belongs with the preset recommended laser paths corresponding to each marking pattern shape, and screening out the recommended laser path corresponding to the edge contour of the marking pattern, which is recorded as the marking pattern recommended laser path.
[0018] Preferably, the specific analysis method of the motion control module is: read the recommended laser path of the marking pattern, select a number of time points according to the set duration, and calculate the position of the laser at each time point in the recommended laser path of the marking pattern according to the set laser speed, record it as the laser point position at each time point of the recommended laser path of the marking pattern, and mark its coordinates as , Indicates The number of the time point, , Represent the laser path The horizontal axis coordinate value and vertical axis coordinate value of the laser point at each time point are measured. The laser collimator is placed at the light outlet of the laser head. The intersection of the laser extension direction and the plastic pipe at each time point is monitored and recorded as the landing point of the laser at each time point. Its coordinates are marked as , Respectively represent the laser The horizontal axis coordinate value and vertical axis coordinate value of the foothold at each time point are calculated by the formula Get the offset distance of the laser at each time point , and adjust the laser position according to the offset distance of the laser at each time point.
[0019] Preferably, the specific analysis method of the marking process conforming to the parameter detection module is as follows: the first step is to select a number of monitoring time points at random according to the set time interval, and monitor the surface temperature of each detection time point of the marking area of the plastic pipe fitting by an infrared thermometer during the marking process, which is recorded as the marking temperature of the plastic pipe fitting at each detection time point, and compare the marking temperature of the plastic pipe fitting at each detection time point with the preset suitable marking temperature range, and screen out the detection time points where the marking temperature of the plastic pipe fitting is not within the preset suitable marking temperature range, which are recorded as the abnormal temperature detection time points of the plastic pipe fitting, and count the abnormal temperature detection time points of the plastic pipe fitting, and screen out the marking temperature of each abnormal temperature detection time point of the plastic pipe fitting from the marking temperature of each detection time point of the plastic pipe fitting, which is recorded as , Indicates The number of the temperature anomaly detection time point, , substituting it into the formula Obtain the marking temperature compliance of plastic pipe fittings , Indicates the number of temperature anomaly detection time points, represents a natural constant, They respectively represent the maximum and minimum values corresponding to the preset suitable marking temperature range.
[0020] The second step is to monitor the output power of the laser source at each detection time point, which is recorded as , the average output power of the laser source is obtained by taking the average value of the output power of the laser source at each detection time point, which is recorded as , substituting it into the formula Get the output power fluctuation degree of the laser source .
[0021] The third step is to monitor the noise emitted by the equipment during the plastic pipe marking process in real time, obtain the plastic pipe marking audio, and obtain the noise decibel value of each frequency point in the plastic pipe marking audio, recorded as , Indicates The frequency points are numbered from, , read the preset maximum allowable decibel value for marking from the management database , through the formula Get the noise decibel difference at each frequency point in the plastic pipe marking audio , substituting it into the formula Get the abnormal noise level during plastic pipe marking , Indicates the number of frequency points.
[0022] Preferably, the specific analysis method of the marking process compliance analysis module is: reading the marking temperature compliance of the plastic pipe fittings respectively , the output power fluctuation degree of the laser source , Abnormal noise level during plastic pipe marking , substituting it into the formula Get the evaluation coefficient of the marking process of plastic pipe fittings ,in They represent the weight factors of the set marking temperature compliance, output power fluctuation, and abnormal noise level. Represents a natural constant.
[0023] Preferably, the specific analysis method of the marking parameter acquisition module is as follows: in the first step, after the marking is completed, an image of the marking area of the plastic pipe fitting is acquired through a high-definition camera, which is recorded as the plastic pipe fitting marking image; the edge contour of the marking pattern in the plastic pipe fitting marking image is extracted through edge detection technology, which is recorded as the actual edge contour of the marking pattern; at the same time, the plastic pipe fitting marking image is grayed, and the pixel points occupied by the actual edge contour of the marking pattern in the plastic pipe fitting marking image are recorded as each pixel point of the marking pattern; the gray value of each pixel point of the marking pattern is detected, which is recorded as , Indicates The number of pixels, , the adjacent pixels of each pixel of the marking pattern are screened out from the plastic pipe marking image, recorded as the adjacent pixels of each pixel of the marking pattern, and their gray values are detected and recorded as , through the formula Get the clarity of the marking lines on plastic pipes , Indicates the number of pixels. Indicates the preset grayscale difference reference value.
[0024] In the second step, the preset marking pattern image is extracted from the management database, and the preset marking pattern image is processed according to the method of obtaining the actual edge contour of the marking pattern to obtain the standard edge contour of the marking pattern. By overlapping the standard edge contour of the marking pattern and the actual edge contour of the marking pattern, the overlapping length of the line between the standard edge contour of the marking pattern and the actual edge contour of the marking pattern is obtained, which is recorded as , the line length of the standard edge contour of the marking pattern is recorded as , through the formula Get the completeness of the marking of plastic pipe fittings .
[0025] Preferably, the specific analysis method of the marking parameter analysis module is: respectively reading the clarity of the marking lines of the plastic pipe fittings , marking completeness , substituting it into the formula Get the marking evaluation coefficient of plastic pipe fittings ,in They respectively represent the weight factors of the set marking line clarity and marking completeness.
[0026] Preferably, the specific analysis method of the marking quality evaluation index of the plastic pipe fittings is: reading the marking process evaluation coefficients of the plastic pipe fittings respectively , marking evaluation coefficient , substituting it into the formula Get the marking quality evaluation index of plastic pipe fittings ,in They represent the set marking process evaluation coefficient and the weight factor of the marking evaluation coefficient respectively. Represents a natural constant.
[0027] Preferably, the specific analysis method of the marking quality analysis module is: reading the marking quality evaluation index of the plastic pipe fitting, comparing it with a preset marking quality evaluation index threshold; if the marking quality evaluation index of the plastic pipe fitting is greater than or equal to the preset marking quality evaluation index threshold, it indicates that the marking quality of the plastic pipe fitting is qualified; if the marking quality evaluation index of the plastic pipe fitting is less than the preset marking quality evaluation index threshold, it indicates that the marking quality of the plastic pipe fitting is unqualified, and feedback is given to the system.
[0028] Preferably, the present invention provides a plastic pipe laser marking control method, and the specific steps of the control method are as follows: S1. Laser path planning: obtaining a recommended laser path for the marking pattern based on stored marking pattern image analysis.
[0029] S2. Motion control: Analyze the offset distance of the laser at each time point, and adjust the laser position according to the offset distance of the laser at each time point.
[0030] S3. Parameter compliance detection of the marking process: The marking process is tested for compliance with parameters, including the degree of compliance of the marking temperature of the plastic pipe fittings, the degree of fluctuation of the output power of the laser source, and the degree of abnormal noise during the marking process of the plastic pipe fittings.
[0031] S4. Marking process compliance analysis: According to the marking process compliance parameter analysis, the marking process evaluation coefficient of plastic pipe fittings is obtained.
[0032] S5. Obtaining marking parameters: Obtaining the marking image of the plastic pipe fittings and detecting the marking parameters of the plastic pipe fittings. The marking parameters include the clarity of the marking lines and the completeness of the marking.
[0033] S6. Marking parameter analysis: According to the marking parameter analysis of plastic pipe fittings, the marking evaluation coefficient of plastic pipe fittings is obtained.
[0034] S7. Marking quality analysis: According to the marking process evaluation coefficient and marking evaluation coefficient of plastic pipe fittings, the marking quality evaluation index of plastic pipe fittings is obtained and feedback is given.
[0035] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects: 1. The present invention obtains the recommended laser path of the marking pattern based on the image analysis of the marking pattern, analyzes the offset distance of the laser at each time point, and adjusts the laser position accordingly, which can make the marking position more accurate, ensure the clarity and precision of the pattern, help to achieve a more refined and high-quality marking effect, and reduce errors and defects.
[0036] 2. The present invention obtains the marking process evaluation coefficient of the plastic pipe fitting according to the marking temperature compliance of the plastic pipe fitting, the output power fluctuation degree of the laser source, and the abnormal noise degree during the marking process. The marking evaluation coefficient of the plastic pipe fitting is obtained according to the clarity of the marking lines and the completeness of the marking. The marking quality evaluation index of the plastic pipe fitting is obtained through comprehensive analysis, and feedback is provided to facilitate timely discovery of possible problems in the process and improvements, thereby ensuring high quality of the entire marking process. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0038] Figure 1 This is a system module connection diagram of the present invention.
[0039] Figure 2 for Figure 1 The marking process meets the conditional flow chart of the parameter detection module.
[0040] Figure 3 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0041] 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.
[0042] See also Figure 1 As shown, a plastic pipe laser marking control system includes a laser path planning module, a motion control module, a marking process compliance parameter detection module, a marking process compliance analysis module, a marking parameter acquisition module, a marking parameter analysis module, a marking quality analysis module, and a management database.
[0043] The management database is connected to the motion control module, the marking process compliance analysis module, the marking parameter analysis module, the marking quality analysis module, and the management database; the marking quality analysis module is connected to the marking process compliance analysis module and the marking quality analysis module; the marking process compliance parameter detection module is connected to the marking process compliance analysis module; the marking parameter acquisition module is connected to the marking parameter analysis module; and the laser path planning module is connected to the motion control module.
[0044] The laser path planning module is used to obtain a recommended laser path for the marking pattern based on stored marking pattern image analysis.
[0045] The specific analysis method of the laser path planning module is as follows: extracting a preset marking pattern image from a management database, extracting the edge contour of the marking pattern from the marking pattern image by edge detection technology, recording it as the marking pattern edge contour, determining the number of corner points in the edge contour of the marking pattern by a corner detection algorithm, thereby judging the graphic shape to which the edge contour of the marking pattern belongs, and at the same time reading the preset recommended laser paths corresponding to each marking pattern shape from the management database, comparing the graphic shape to which the edge contour of the marking pattern belongs with the preset recommended laser paths corresponding to each marking pattern shape, screening out the recommended laser path corresponding to the edge contour of the marking pattern, recording it as the marking pattern recommended laser path; being able to accurately determine the shape of the marking pattern, judging by features such as the number of corner points, is helpful for subsequent adoption of an appropriate marking processing method, and being able to obtain a recommended laser path corresponding to the pattern shape from the database, providing reference and guidance for actual marking operations, thereby improving marking efficiency and quality.
[0046] It should be noted that the specific analysis method of the corner detection algorithm is: detect the gradient direction of the pixel points occupied by the edge contour of the marking pattern in the marking pattern image, and move along the gradient direction of each pixel point. When the gradient direction of the adjacent pixel points of a pixel point is different from the gradient direction of the pixel point, it indicates that a corner point has appeared.
[0047] It should be noted that the specific method for determining the number of corner points is as follows: in a specific embodiment, if there are only a small number of corner points (such as 1 or 2) in the edge contour of the marking pattern, it may be part of a circle or an ellipse; if there are 3 corner points, it is likely to be a triangle; 4 corner points may be a quadrilateral (such as a square, rectangle, etc.); 5 corner points may be a pentagon, etc.
[0048] The motion control module is used to analyze the offset distance of the laser at each time point and adjust the laser position according to the offset distance of the laser at each time point.
[0049] The specific analysis method of the motion control module is: read the recommended laser path of the marking pattern, select a number of time points according to the set duration, and calculate the position of the laser at each time point in the recommended laser path of the marking pattern according to the set laser speed, record it as the laser point position at each time point of the recommended laser path of the marking pattern, and mark its coordinates as , Indicates The number of the time point, , Represent the laser path The horizontal axis coordinate value and vertical axis coordinate value of the laser point at each time point are measured. The laser collimator is placed at the light outlet of the laser head. The intersection of the laser extension direction and the plastic pipe at each time point is monitored and recorded as the landing point of the laser at each time point. Its coordinates are marked as , Respectively represent the laser The horizontal axis coordinate value and vertical axis coordinate value of the foothold at each time point are calculated by the formula Get the offset distance of the laser at each time point , and adjust the laser position according to the offset distance of the laser at each time point; the position of the laser on the recommended path at different time points and the actual intersection with the plastic pipe can be accurately grasped to achieve accurate monitoring and control of the marking process. At the same time, by calculating the offset distance and making adjustments, the accuracy and quality of the laser marking position can be ensured and errors can be reduced.
[0050] It should be noted that the specific analysis method of the position of the laser on the recommended laser path of the marking pattern at each time point is: read the set laser speed, recorded as , and record the set duration as , through the formula Get the distance the laser moves within the set time , according to the distance the laser moves within the set time, it is decomposed along the recommended laser path, and the displacement components in each coordinate axis direction are determined according to the direction of the recommended laser path. The specific two-dimensional coordinate position of the laser on the recommended path at different time points is obtained by accumulating the displacement components, which is recorded as the laser point position at each time point of the recommended laser path of the marking pattern, and its coordinates are marked as .
[0051] The marking process compliance parameter detection module is used to detect the marking process compliance parameters. The marking process compliance parameters include the marking temperature compliance degree of the plastic pipe fittings, the output power fluctuation degree of the laser source, and the abnormal noise degree during the plastic pipe fittings marking process.
[0052] See also Figure 2As shown, the specific analysis method of the marking process conforming to the parameter detection module is as follows: the first step is to select a number of monitoring time points at random according to the set time interval, and monitor the surface temperature of each detection time point of the marking area of the plastic pipe fitting through an infrared thermometer during the marking process, which is recorded as the marking temperature of the plastic pipe fitting at each detection time point, and compare the marking temperature of the plastic pipe fitting at each detection time point with the preset suitable marking temperature range, and screen out the detection time points where the marking temperature of the plastic pipe fitting is not within the preset suitable marking temperature range, which are recorded as the abnormal temperature detection time points of the plastic pipe fitting, and count the abnormal temperature detection time points of the plastic pipe fitting, and screen out the marking temperature of each abnormal temperature detection time point of the plastic pipe fitting from the marking temperature of each detection time point of the plastic pipe fitting, which is recorded as , Indicates The number of the temperature anomaly detection time point, , substituting it into the formula Obtain the marking temperature compliance of plastic pipe fittings , Indicates the number of temperature anomaly detection time points, represents a natural constant, They respectively represent the maximum and minimum values corresponding to the preset suitable marking temperature range; they can monitor the surface temperature of plastic pipes in the marking process in real time to ensure that the temperature is within the appropriate range, guarantee the marking quality, and promptly discover the time point of abnormal temperature so as to take corresponding measures for adjustment and improvement.
[0053] It should be noted that the specific analysis method of the suitable temperature range for marking is: the temperature levels are divided according to the set temperature, the image of the marking area of the plastic pipe fitting at each temperature level is acquired, and the chromaticity value of the pixel point at the laser landing point of the plastic pipe fitting at each temperature level is detected to obtain the chromaticity value of the pixel point at the laser landing point of the plastic pipe fitting at each temperature level, which is recorded as , Indicates The number of the temperature level, , through the formula Get the chromaticity difference between each temperature level and the temperature level of the next higher level , Indicates The chromaticity value of the pixel point at the laser landing point of the plastic pipe fitting at each temperature level is calculated, and the chromaticity difference between each temperature level and the temperature level of the higher level is compared with the preset chromaticity difference threshold in turn. If the chromaticity difference between a temperature level and the temperature level of the higher level is greater than or equal to the temperature level of the preset chromaticity difference threshold, it is recorded as a temperature abnormality level. The temperature abnormality levels are counted, and the minimum value of the temperature range corresponding to the lowest temperature abnormality level is recorded as the maximum marking temperature. At the same time, the material softening point of the plastic pipe fitting is obtained, and the corresponding temperature is recorded as the minimum marking temperature. The appropriate marking temperature range is constructed according to the maximum marking temperature and the minimum marking temperature.
[0054] The second step is to monitor the output power of the laser source at each detection time point, which is recorded as , the average output power of the laser source is obtained by taking the average value of the output power of the laser source at each detection time point, which is recorded as , substituting it into the formula Get the output power fluctuation degree of the laser source It can help you understand the stability of the laser source output power and ensure that the output power remains within a reasonable range during the marking process to ensure the marking effect and quality. It also helps to promptly detect abnormal fluctuations in output power for adjustment and maintenance.
[0055] It should be noted that the specific analysis method of the output power of the laser source at each detection time point is: the voltage and current of the laser source at each detection time point are detected by a voltmeter and an ammeter respectively, and recorded as , , through the formula Get the output power of the laser source at each detection time point .
[0056] The third step is to monitor the noise emitted by the equipment during the plastic pipe marking process in real time, obtain the plastic pipe marking audio, and obtain the noise decibel value of each frequency point in the plastic pipe marking audio, recorded as , Indicates The frequency points are numbered from, , read the preset maximum allowable decibel value for marking from the management database , through the formula Get the noise decibel difference at each frequency point in the plastic pipe marking audio , substituting it into the formula Get the abnormal noise level during plastic pipe marking , Indicates the number of frequency points; helps monitor the operating status of the marking equipment and determine whether the equipment is faulty or abnormal based on the noise situation.
[0057] It should be noted that the specific analysis method of the maximum allowable decibel value of marking is: read the noise decibel value of each frequency point in the audio of plastic pipe marking , the average noise decibel value of plastic pipe marking is obtained by taking the average value, which is recorded as At the same time, the noise decibel values of each frequency point in the plastic pipe marking audio are arranged in order from large to small, and the median value of the noise decibel value of the plastic pipe marking is obtained by screening, which is recorded as , through the formula Get the maximum allowable decibel value for marking .
[0058] The marking process compliance analysis module is used to obtain the marking process evaluation coefficient of plastic pipe fittings according to the marking process compliance parameter analysis. .
[0059] The specific analysis method of the marking process compliance analysis module is: reading the marking temperature compliance of the plastic pipe fittings respectively , the output power fluctuation degree of the laser source , Abnormal noise level during plastic pipe marking , substituting it into the formula Get the evaluation coefficient of the marking process of plastic pipe fittings ,in They represent the weight factors of the set marking temperature compliance, output power fluctuation, and abnormal noise level. Represents natural constants; helps to accurately locate problems in the marking process, such as inappropriate temperature, unstable power or abnormal noise, so as to make targeted improvements and optimizations, promote the coordinated work of various links, ensure that the temperature, power and noise are in a reasonable state, and ensure the consistency of marking quality.
[0060] It should be noted that, in a specific embodiment, It can be set to 0.5. It can be set to 0.3. It can be set to 0.2. The marking temperature compliance is important for the marking quality and stability of plastic pipes. The appropriate marking temperature can ensure the clarity, adhesion and durability of the mark. If the temperature is too high or too low, the mark may be blurred, incomplete or easy to fall off. The output power fluctuation will also affect the marking effect. Stable output power can ensure the consistency and uniformity of the mark, avoiding uneven depth or local overburning. Although the degree of abnormal noise may not directly affect the marking quality as the first two factors, it can reflect the operating status and stability of the system. Excessive noise may mean that the system is faulty or abnormal, and needs to be checked and maintained in time. Therefore, the weight corresponding to the marking temperature compliance is relatively large.
[0061] The marking parameter acquisition module is used to obtain the marking image of the plastic pipe fitting and detect the marking parameters of the plastic pipe fitting. The marking parameters include the clarity of the marking lines and the completeness of the marking.
[0062] The specific analysis method of the marking parameter acquisition module is as follows: in the first step, after the marking is completed, an image of the marking area of the plastic pipe fitting is acquired through a high-definition camera, which is recorded as the plastic pipe fitting marking image, and the edge contour of the marking pattern in the plastic pipe fitting marking image is extracted through edge detection technology, which is recorded as the actual edge contour of the marking pattern. At the same time, the plastic pipe fitting marking image is grayed, and the pixel points occupied by the actual edge contour of the marking pattern in the plastic pipe fitting marking image are recorded as each pixel point of the marking pattern, and the gray value of each pixel point of the marking pattern is detected and recorded as , Indicates The number of pixels, , the adjacent pixels of each pixel of the marking pattern are screened out from the plastic pipe marking image, recorded as the adjacent pixels of each pixel of the marking pattern, and their gray values are detected and recorded as , through the formula Get the clarity of the marking lines on plastic pipes , Indicates the number of pixels. Indicates the preset grayscale difference reference value; through edge detection and related technologies, the edge contour clarity of the marking pattern can be accurately evaluated, which helps to determine the clarity of the marking lines and thus comprehensively measure the marking effect.
[0063] It should be noted that the grayscale value difference can reflect the grayscale changes between adjacent pixels. A larger grayscale difference usually means that the contrast between the marked line and the surrounding area is higher and the line is clearer. A smaller grayscale difference may mean that the line is not clear enough or is blurred.
[0064] In the second step, the preset marking pattern image is extracted from the management database, and the preset marking pattern image is processed according to the method of obtaining the actual edge contour of the marking pattern to obtain the standard edge contour of the marking pattern. By overlapping the standard edge contour of the marking pattern and the actual edge contour of the marking pattern, the overlapping length of the line between the standard edge contour of the marking pattern and the actual edge contour of the marking pattern is obtained, which is recorded as , the line length of the standard edge contour of the marking pattern is recorded as , through the formula Get the completeness of the marking of plastic pipe fittings The actual marking pattern can be accurately compared with the preset marking pattern to determine the integrity of the marking pattern, which helps to promptly detect problems such as pattern missing or deformation that may occur during the marking process, thereby ensuring product quality.
[0065] The marking parameter analysis module is used to obtain the marking evaluation coefficient of plastic pipe fittings based on the marking parameter analysis of plastic pipe fittings. .
[0066] The specific analysis method of the marking parameter analysis module is: respectively read the clarity of the marking lines of the plastic pipe fittings , marking completeness , substituting it into the formula Get the marking evaluation coefficient of plastic pipe fittings ,in They respectively represent the weight factors of the set marking line clarity and marking completeness; they can comprehensively consider the marking line clarity and marking completeness to facilitate quality control and management.
[0067] It should be noted that, in a specific embodiment, It can be set to 0.5. It can be set to 0.5. The clarity of the marking lines has a greater impact on the marking quality. Clear lines can ensure the readability and accuracy of the marking, making the marking easier to identify and understand. The integrity of the marking is also very important. It reflects whether the marking is complete, without missing or broken. A complete marking can provide more comprehensive information and enhance the traceability and identification of the product. Therefore, the corresponding weights of the clarity of the marking lines and the integrity of the marking are equal.
[0068] The marking quality analysis module is used to obtain the marking quality evaluation index of the plastic pipe fittings according to the marking process evaluation coefficient and the marking evaluation coefficient of the plastic pipe fittings, and provide feedback.
[0069] The specific analysis method of the marking quality evaluation index of the plastic pipe fittings is: respectively reading the marking process evaluation coefficient of the plastic pipe fittings , marking evaluation coefficient , substituting it into the formula Get the marking quality evaluation index of plastic pipe fittings ,in They represent the set marking process evaluation coefficient and the weight factor of the marking evaluation coefficient respectively. Represents a natural constant; it can evaluate the marking quality of plastic pipe fittings more comprehensively and comprehensively, not only considering the effect of the marking itself, but also taking into account the marking process, providing data support and basis for further optimizing the marking process.
[0070] It should be noted that, in a specific embodiment, It can be set to 0.5. It can be set to 0.5. The marking process directly affects the stability and reliability of the final marking quality, including temperature control, power stability, operating specifications, etc. Good process control can reduce the defective rate and quality fluctuations, and the marking evaluation coefficient focuses on evaluating the actual effect after the marking is completed, such as the clarity and completeness of the lines. In some application scenarios with extremely high requirements for the appearance of the mark, clear and beautiful marking will be given special attention. Therefore, the weights corresponding to the marking process evaluation coefficient and the marking evaluation coefficient are equal.
[0071] The specific analysis method of the marking quality analysis module is as follows: reading the marking quality evaluation index of the plastic pipe fitting, and comparing it with the preset marking quality evaluation index threshold; if the marking quality evaluation index of the plastic pipe fitting is greater than or equal to the preset marking quality evaluation index threshold, it indicates that the marking quality of the plastic pipe fitting is qualified; if the marking quality evaluation index of the plastic pipe fitting is less than the preset marking quality evaluation index threshold, it indicates that the marking quality of the plastic pipe fitting is unqualified, and feedback is given to the system; unqualified products can be discovered in time, and corresponding measures can be taken to adjust and improve, thereby improving the overall product quality; at the same time, by comparing with the preset threshold, the quality judgment is objective and consistent, and the interference of human factors is reduced.
[0072] The management database is used to store marking pattern images, the recommended laser paths corresponding to each marking pattern shape, and the maximum allowable decibel value for marking.
[0073] See also Figure 3 As shown, in addition, the present invention provides a plastic pipe laser marking control method, and the specific steps of the control method are as follows: S1. Laser path planning: obtaining a recommended laser path for the marking pattern based on stored marking pattern image analysis.
[0074] S2. Motion control: Analyze the offset distance of the laser at each time point, and adjust the laser position according to the offset distance of the laser at each time point.
[0075] S3. Parameter compliance detection of the marking process: The marking process is tested for compliance with parameters, including the degree of compliance of the marking temperature of the plastic pipe fittings, the degree of fluctuation of the output power of the laser source, and the degree of abnormal noise during the marking process of the plastic pipe fittings.
[0076] S4. Marking process compliance analysis: According to the marking process compliance parameter analysis, the marking process evaluation coefficient of plastic pipe fittings is obtained.
[0077] S5. Obtaining marking parameters: Obtaining the marking image of the plastic pipe fittings and detecting the marking parameters of the plastic pipe fittings. The marking parameters include the clarity of the marking lines and the completeness of the marking.
[0078] S6. Marking parameter analysis: According to the marking parameter analysis of plastic pipe fittings, the marking evaluation coefficient of plastic pipe fittings is obtained.
[0079] S7. Marking quality analysis: According to the marking process evaluation coefficient and marking evaluation coefficient of plastic pipe fittings, the marking quality evaluation index of plastic pipe fittings is obtained and feedback is given.
[0080] This system obtains the recommended laser path of the marking pattern based on the stored marking pattern image analysis, analyzes the offset distance of the laser at each time point, and adjusts the laser position accordingly. The marking process evaluation coefficient of the plastic pipe fittings is obtained according to the marking process parameter analysis, and the marking evaluation coefficient of the plastic pipe fittings is obtained according to the marking parameter analysis of the plastic pipe fittings. Then, the marking quality evaluation index of the plastic pipe fittings is obtained through comprehensive analysis and feedback is provided, which helps to achieve more accurate marking, avoid problems such as inaccurate position and unclear lines, improve the stability of the marking quality, facilitate timely discovery of possible problems in the process and improve them, and ensure the high quality of the entire marking process.
[0081] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention and they are still covered by the protection scope of the present invention.
Claims
1. A plastic pipe laser marking control system, characterized in that: The system specifically includes the following modules: A laser path planning module is used to obtain a recommended laser path for the marking pattern based on stored marking pattern image analysis; The motion control module is used to analyze the offset distance of the laser at each time point and adjust the laser position according to the offset distance of the laser at each time point; The marking process compliance parameter detection module is used to detect the marking process compliance parameters. The marking process compliance parameters include the marking temperature compliance degree of plastic pipe fittings, the output power fluctuation degree of the laser source, and the abnormal noise degree during the marking process of plastic pipe fittings; The marking process compliance analysis module is used to obtain the marking process evaluation coefficient of plastic pipe fittings according to the marking process compliance parameter analysis. ; The marking parameter acquisition module is used to obtain the marking image of the plastic pipe fittings and detect the marking parameters of the plastic pipe fittings. The marking parameters include the clarity of the marking lines and the completeness of the marking. The marking parameter analysis module is used to obtain the marking evaluation coefficient of plastic pipe fittings based on the marking parameter analysis of plastic pipe fittings. ; The marking quality analysis module is used to obtain the marking quality evaluation index of the plastic pipe fittings according to the marking process evaluation coefficient and marking evaluation coefficient of the plastic pipe fittings, and provide feedback; Management database for storing marking pattern images, recommended laser paths corresponding to each marking pattern shape, and maximum allowable decibel value for marking; The specific analysis method of the marking process that meets the parameter detection module is as follows: The first step is to select a number of monitoring time points at random according to the set time interval, and monitor the surface temperature of each detection time point in the marking area of the plastic pipe fittings through an infrared thermometer during the marking process, which is recorded as the marking temperature of each detection time point of the plastic pipe fittings, and compare the marking temperature of each detection time point of the plastic pipe fittings with the preset suitable marking temperature range, and screen out the detection time points where the marking temperature of the plastic pipe fittings is not within the preset suitable marking temperature range, which are recorded as the abnormal temperature detection time points of the plastic pipe fittings, and count the abnormal temperature detection time points of the plastic pipe fittings, and screen out the marking temperature of each abnormal temperature detection time point of the plastic pipe fittings from the marking temperature of each detection time point of the plastic pipe fittings, which is recorded as , Indicates The number of the temperature anomaly detection time point, , substituting it into the formula Obtain the marking temperature compliance of plastic pipe fittings , Indicates the number of temperature anomaly detection time points, represents a natural constant, They respectively represent the maximum and minimum values corresponding to the preset suitable marking temperature range; The second step is to monitor the output power of the laser source at each detection time point, which is recorded as , the average output power of the laser source is obtained by taking the average value of the output power of the laser source at each detection time point, which is recorded as , substituting it into the formula Get the output power fluctuation degree of the laser source ; The third step is to monitor the noise emitted by the equipment during the plastic pipe marking process in real time, obtain the plastic pipe marking audio, and obtain the noise decibel value of each frequency point in the plastic pipe marking audio, recorded as , Indicates The number of the frequency points, , read the preset maximum allowable decibel value for marking from the management database , through the formula Get the noise decibel difference at each frequency point in the plastic pipe marking audio , substituting it into the formula Get the abnormal noise level during plastic pipe marking , Indicates the number of frequency points; The specific analysis method of the marking process compliance analysis module is as follows: Read the marking temperature compliance of plastic pipe fittings respectively , the output power fluctuation degree of the laser source , Abnormal noise level during plastic pipe marking , substituting it into the formula Get the evaluation coefficient of the marking process of plastic pipe fittings ,in They represent the weight factors of the set marking temperature compliance, output power fluctuation, and abnormal noise level. Represents a natural constant.
2. A plastic pipe laser marking control system according to claim 1, characterized in that: The specific analysis method of the laser path planning module is: A preset marking pattern image is extracted from the management database, and the edge contour of the marking pattern is extracted from the marking pattern image by edge detection technology, which is recorded as the marking pattern edge contour. The number of corner points in the edge contour of the marking pattern is determined by a corner detection algorithm to judge the graphic shape to which the edge contour of the marking pattern belongs. At the same time, the preset recommended laser paths corresponding to each marking pattern shape are read from the management database, and the graphic shape to which the edge contour of the marking pattern belongs is compared with the preset recommended laser paths corresponding to each marking pattern shape, and the recommended laser path corresponding to the edge contour of the marking pattern is screened out and recorded as the marking pattern recommended laser path.
3. A plastic pipe laser marking control system according to claim 2, characterized in that: The specific analysis method of the motion control module is: Read the recommended laser path of the marking pattern, select several time points at random according to the set duration, and calculate the position of the laser on the recommended laser path of the marking pattern at each time point according to the set laser speed, record it as the laser point position at each time point of the recommended laser path of the marking pattern, and mark its coordinates as , Indicates The number of the time point, , Represent the laser path The horizontal axis coordinate value and vertical axis coordinate value of the laser point at each time point are measured. The laser collimator is placed at the light outlet of the laser head. The intersection of the laser extension direction and the plastic pipe at each time point is monitored and recorded as the landing point of the laser at each time point. Its coordinates are marked as , Respectively represent the laser The horizontal axis coordinate value and vertical axis coordinate value of the landing point at a time point are calculated by the formula Get the offset distance of the laser at each time point , and adjust the laser position according to the offset distance of the laser at each time point.
4. A plastic pipe laser marking control system according to claim 1, characterized in that: The specific analysis method of the marking parameter acquisition module is: In the first step, after the marking is completed, the marking area of the plastic pipe is imaged by a high-definition camera, which is recorded as the plastic pipe marking image. The edge contour of the marking pattern in the plastic pipe marking image is extracted by edge detection technology, which is recorded as the actual edge contour of the marking pattern. At the same time, the plastic pipe marking image is grayed, and the pixel points occupied by the actual edge contour of the marking pattern in the plastic pipe marking image are recorded as the pixel points of the marking pattern. The gray value of each pixel point of the marking pattern is detected and recorded as , Indicates The number of pixels, , the adjacent pixels of each pixel of the marking pattern are screened out from the plastic pipe marking image, recorded as the adjacent pixels of each pixel of the marking pattern, and their gray values are detected and recorded as , through the formula Get the clarity of the marking lines on plastic pipes , Indicates the number of pixels. Indicates the preset grayscale difference reference value; In the second step, the preset marking pattern image is extracted from the management database, and the preset marking pattern image is processed according to the method of obtaining the actual edge contour of the marking pattern to obtain the standard edge contour of the marking pattern. By overlapping the standard edge contour of the marking pattern and the actual edge contour of the marking pattern, the overlapping length of the line between the standard edge contour of the marking pattern and the actual edge contour of the marking pattern is obtained, which is recorded as , the line length of the standard edge contour of the marking pattern is recorded as , through the formula Get the completeness of the marking of plastic pipe fittings .
5. A plastic pipe laser marking control system according to claim 4, characterized in that: The specific analysis method of the marking parameter analysis module is: Read the clarity of the marking lines on plastic pipes , marking completeness , substituting it into the formula Get the marking evaluation coefficient of plastic pipe fittings ,in They respectively represent the weight factors of the set marking line clarity and marking completeness.
6. A plastic pipe laser marking control system according to claim 1, characterized in that: The specific analysis method of the marking quality evaluation index of the plastic pipe fittings is: Read the marking process evaluation coefficients of plastic pipe fittings separately , marking evaluation coefficient , substituting it into the formula Get the marking quality evaluation index of plastic pipe fittings ,in They represent the set marking process evaluation coefficient and the weight factor of the marking evaluation coefficient respectively. Represents a natural constant.
7. A plastic pipe laser marking control system according to claim 6, characterized in that: The specific analysis method of the marking quality analysis module is: Read the marking quality evaluation index of the plastic pipe fittings and compare it with the preset marking quality evaluation index threshold. If the marking quality evaluation index of the plastic pipe fittings is greater than or equal to the preset marking quality evaluation index threshold, it means that the marking quality of the plastic pipe fittings is qualified. If the marking quality evaluation index of the plastic pipe fittings is less than the preset marking quality evaluation index threshold, it means that the marking quality of the plastic pipe fittings is unqualified, and feedback is given to the system.
8. A method for controlling laser marking of plastic pipes, executed by the system according to claim 1, characterized in that: The specific steps of the control method are as follows: S1. Laser path planning: obtain the recommended laser path of the marking pattern based on the stored marking pattern image analysis; S2. Motion control: Analyze the offset distance of the laser at each time point, and adjust the laser position according to the offset distance of the laser at each time point; S3. Parameter compliance detection of the marking process: Detect the compliance of the marking process parameters, which include the compliance degree of the marking temperature of the plastic pipe fittings, the output power fluctuation degree of the laser source, and the abnormal noise degree during the marking process of the plastic pipe fittings; S4. Marking process compliance analysis: According to the marking process compliance parameter analysis, the marking process evaluation coefficient of plastic pipe fittings is obtained; S5. Obtaining marking parameters: Obtaining the marking image of the plastic pipe fittings and detecting the marking parameters of the plastic pipe fittings. The marking parameters include the clarity of the marking lines and the completeness of the marking; S6. Marking parameter analysis: obtain the marking evaluation coefficient of plastic pipe fittings according to the marking parameter analysis of plastic pipe fittings; S7. Marking quality analysis: According to the marking process evaluation coefficient and marking evaluation coefficient of plastic pipe fittings, the marking quality evaluation index of plastic pipe fittings is obtained and feedback is given.
Citation Information
Patent Citations
Laser marking method, equipment and system
CN108788476A
Pipe fitting welding forming intelligent control system based on machine vision
CN117236756A
Laser marking method and laser marking system
CN117754141A