A 3D printing monitoring method and device

By collecting and analyzing real-time images of the 3D printing platform, extracting differential pixel positions and local image areas, combined with the analysis of rectangular and non-rectangular areas, we achieve efficient and accurate monitoring of the 3D printing process, and solve the traditional method's reliance on high computing power. problems, significantly improving the intelligence and reliability of 3D printing equipment.

CN118379685BActive Publication Date: 2024-09-13SHENZHEN JIEXINHUA TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410808508.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-13
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

Traditional 3D printing anomaly monitoring methods rely on high-computing power equipment, which is difficult to meet the needs of 3D printing equipment with limited computing power, and it is difficult to achieve efficient and accurate anomaly identification.

Method used

By collecting real-time images of the printing platform, extracting differential pixel positions and local image areas, calculating pixel difference values, and combining the analysis of rectangular and non-rectangular areas to determine whether there is an abnormality in the printing equipment, we can achieve efficient and accurate monitoring of the 3D printing process.

Benefits of technology

This method does not rely on high computing power equipment and is suitable for 3D printing equipment with limited computing power. It improves the accuracy and comprehensiveness of abnormal identification and ensures the intelligence and reliability of 3D printing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379685B
    Figure CN118379685B
Patent Text Reader

Abstract

The present invention is applicable to the technical field of image recognition, and provides a monitoring method and device for 3D printing, wherein the monitoring method for 3D printing comprises: in response to a printing instruction, collecting a first real-time image on the printing platform; collecting a second real-time image on the printing platform at the first monitoring moment, and extracting the first difference pixel position between the first real-time image and the second real-time image; extracting the rectangular pixel area where the target first difference pixel position is located according to the distribution of the first pixel difference; determining whether a printing abnormality occurs in the 3D printing device according to the pixel difference between the two first local images and the pixel difference between the two second local images. The above scheme not only analyzes the rectangular area of ​​the difference pixel, but also comprehensively considers the changes in the non-rectangular area. Through the combination of the two, the working status of the 3D printing device is comprehensively evaluated to ensure the comprehensiveness and accuracy of abnormality detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image recognition, and in particular relates to a 3D printing monitoring method and device. Background Art

[0002] 3D printing, also known as additive manufacturing, is a manufacturing technology that creates objects by adding materials layer by layer. It uses a digital model file as a blueprint and controls the device to stack the materials layer by layer. 3D printing technology is widely used in many fields, including industrial manufacturing, medical care, architecture, education, art and fashion.

[0003] Various phenomena or problems that deviate from expectations may occur during the 3D printing process. These anomalies may lead to printing failure, quality degradation, equipment loss and other negative effects. Therefore, anomaly monitoring for 3D printing is particularly important. Traditional anomaly monitoring uses a camera to monitor the printing process in real time and identifies anomalies through software. Software recognition is often based on large models for image recognition, and large model recognition requires a large amount of computing power. 3D printing equipment often finds it difficult to meet this computing power. Therefore, how to provide a simple and efficient image recognition method has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a 3D printing monitoring method and device to solve the technical problem of how to provide a simple and efficient image recognition method.

[0005] A first aspect of an embodiment of the present invention provides a 3D printing monitoring method, the 3D printing monitoring method comprising:

[0006] In response to a printing instruction, acquiring a first real-time image on the printing platform;

[0007] At a first monitoring moment, a second real-time image on the printing platform is acquired, and a first difference pixel position between the first real-time image and the second real-time image is extracted; the first difference pixel position refers to a pixel position where a first pixel difference between two pixel points at the same position exceeds a first threshold;

[0008] Extracting a rectangular pixel region where a target first difference pixel position is located according to a distribution of the first pixel difference value;

[0009] At the second monitoring moment, a third real-time image on the printing platform is collected, a first partial image corresponding to a rectangular pixel area in the second real-time image and the third real-time image is extracted, and a second partial image corresponding to a non-rectangular pixel area in the second real-time image and the third real-time image is extracted;

[0010] Whether a printing abnormality occurs in the 3D printing device is determined according to a pixel difference between the two first partial images and a pixel difference between the two second partial images.

[0011] Furthermore, the step of determining whether a printing abnormality occurs in the 3D printing device according to a pixel difference between the two first partial images and a pixel difference between the two second partial images includes:

[0012] calculating a first difference value between two of the second partial images;

[0013] If the first difference value is greater than a second threshold, it is determined that a printing abnormality occurs in the 3D printing device;

[0014] If the first difference value is not greater than a second threshold, calculating a second difference value between the two first partial images;

[0015] If the second difference value is greater than a third threshold, it is determined that a printing abnormality occurs in the 3D printing device;

[0016] If the second difference value is not greater than the third threshold, it is determined that no printing abnormality occurs in the 3D printing device.

[0017] Further, the step of calculating a first difference value between two second partial images comprises:

[0018] Extracting a second difference pixel position between the two second partial images; the second difference pixel position refers to a pixel position where a second pixel difference between two pixels at the same position exceeds a first threshold;

[0019] Calculating a second pixel difference between two pixel points corresponding to the second difference pixel position, and counting the number of the second difference pixel positions;

[0020] The first difference value is calculated according to a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and second pixel difference values ​​corresponding to the plurality of second difference pixel positions.

[0021] Further, the step of calculating the first difference value according to the plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions comprises:

[0022] Substituting a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions into the following function 1 to obtain the first difference value;

[0023] ,

[0024] ;

[0025] in, represents the first difference value, represents the number of the plurality of second difference pixel positions, represents the second pixel difference value corresponding to the second difference pixel position, The pixel position in the second local image corresponding to the second real-time image is The pixel value of The pixel position in the second local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the second pixel difference, represents the weight of each second difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate representing the pixel position.

[0026] Further, if the first difference value is not greater than a second threshold, the step of calculating a second difference value between the two first partial images includes:

[0027] If the first difference value is not greater than the second threshold, extracting a third difference pixel position between the two first partial images; the third difference pixel position refers to a pixel position where the third pixel difference between two pixels at the same position exceeds the first threshold;

[0028] Calculating a third pixel difference between two pixel points corresponding to the third difference pixel position, and counting the number of the third difference pixel positions;

[0029] Obtaining a preset variation factor; the variation factor is a pixel error amount set according to a printing rate;

[0030] Calculating a first pixel mean value of the second real-time image and a second pixel mean value of the third real-time image;

[0031] A second difference value is calculated according to the variation factor, a first pixel mean of the first local image corresponding to the second real-time image, a second pixel mean of the first local image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and third pixel differences corresponding to the plurality of third difference pixel positions.

[0032] Further, the step of calculating the second difference value according to the variation factor, the first pixel mean of the second real-time image corresponding to the first local image, the second pixel mean of the third real-time image corresponding to the first local image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and the third pixel difference values ​​corresponding to the plurality of third difference pixel positions comprises:

[0033] Substitute the variation factor, the first pixel mean of the first partial image corresponding to the second real-time image, the second pixel mean of the first partial image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and the third pixel difference values ​​corresponding to the plurality of third difference pixel positions into the following function 2 to obtain the second difference value;

[0034] ,

[0035] ;

[0036] in, represents the second difference value, represents the number of the plurality of third difference pixel positions, represents the third pixel difference corresponding to the third difference pixel position, The pixel position in the first local image corresponding to the second real-time image is The pixel value of The pixel position in the first local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the third pixel difference, represents the weight of each third difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate of the pixel position, represents the change factor, represents the first pixel mean value of the second real-time image corresponding to the first local image, represents the second pixel mean of the third real-time image corresponding to the first local image, represents the standard deviation of the pixel values ​​of the second real-time image corresponding to the first local image, Indicates the standard deviation of the pixel values ​​of the third real-time image corresponding to the first partial image.

[0037] Furthermore, the step of extracting the rectangular pixel area where the target first difference pixel position is located according to the distribution of the first pixel difference value includes:

[0038] Calculating an average value of a plurality of first pixel difference values;

[0039] Multiplying the average value by a preset coefficient to obtain a current value;

[0040] Extracting a first pixel difference value that is not less than the current value as a target first pixel difference value;

[0041] taking the pixel position of the target first pixel difference value as the target first difference pixel position;

[0042] Extracting extreme values ​​in four directions of up, down, left and right from a plurality of target first difference pixel positions;

[0043] Add the extreme value to the preset error value to obtain new coordinate extreme values ​​corresponding to the four directions;

[0044] The rectangle formed by the new coordinate extreme values ​​corresponding to the four directions is used as the rectangular pixel area.

[0045] A second aspect of an embodiment of the present invention provides a 3D printing monitoring device, including:

[0046] A collection unit, configured to collect a first real-time image on the printing platform in response to a printing instruction;

[0047] A first extraction unit is used to collect a second real-time image on the printing platform at a first monitoring time, and extract a first difference pixel position between the first real-time image and the second real-time image; the first difference pixel position refers to a pixel position where a first pixel difference between two pixel points at the same position exceeds a first threshold;

[0048] A second extraction unit, configured to extract a rectangular pixel region where a target first difference pixel position is located according to a distribution of the first pixel difference value;

[0049] A third extraction unit is used to collect a third real-time image on the printing platform at the second monitoring time, extract a rectangular pixel area in the second real-time image and the third real-time image, and extract a non-rectangular pixel area in the second real-time image and the third real-time image;

[0050] The determination unit is used to determine whether a printing abnormality occurs according to a pixel difference between the two rectangular pixel regions and a pixel difference between the two non-rectangular pixel regions.

[0051] A third aspect of an embodiment of the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0052] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0053] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: by collecting and comparing real-time images on the printing platform, abnormal conditions in the 3D printing process can be monitored in real time. Compared with the traditional large model image recognition method, this solution does not rely on high computing power equipment and is suitable for 3D printing equipment with limited computing power. The difference pixel position extraction and the local image area of ​​different regions are used for differential analysis to adapt to the abnormal characteristics of different regions, thereby improving the recognition accuracy of abnormal identification. By comparing the real-time images at different time points, the difference pixel position is extracted, and the rectangular pixel area where the target difference pixel position is located is located according to the distribution of pixel difference. This method can accurately locate the location where the abnormality occurs and improve the accuracy of abnormality detection. The above scheme not only analyzes the rectangular area of ​​the difference pixel, but also comprehensively considers the changes in the non-rectangular area. Through the combination of the two, the working state of the 3D printing equipment is comprehensively evaluated to ensure the comprehensiveness and accuracy of abnormality detection. The technical solution only needs to compare the pixel differences of the image, does not require complex preprocessing and high computing power image processors, is easy to implement, and can be widely used in 3D printing equipment of different models and configurations. In general, the present invention realizes efficient and accurate monitoring and identification of abnormal situations in the 3D printing process through image acquisition and comparison methods, solves the problem of large model recognition methods in the prior art relying on high computing power, and significantly improves the intelligence and reliability of 3D printing equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0055] Figure 1 A schematic flow chart of a 3D printing monitoring method provided by the present invention is shown;

[0056] Figure 2 A schematic diagram of a 3D printing monitoring device provided by an embodiment of the present invention is shown;

[0057] Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0058] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0059] The embodiment of the present invention provides a 3D printing monitoring method and device to solve the technical problem of how to provide a simple and efficient printing abnormality identification method.

[0060] First, the present invention provides a 3D printing monitoring method. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a 3D printing monitoring method provided by the present invention. Figure 1 As shown, the 3D printing monitoring method may include the following steps:

[0061] Step 101: In response to a printing instruction, a first real-time image on a printing platform is captured;

[0062] When the 3D printer starts to execute a printing task, a first real-time image on the printing platform is collected. The printing platform in the first real-time image is in a state of no printing material, which is used for subsequent comparison and identification.

[0063] Step 102: capturing a second real-time image on the printing platform at a first monitoring time, and extracting a first difference pixel position between the first real-time image and the second real-time image; the first difference pixel position refers to a pixel position where a first pixel difference between two pixels at the same position exceeds a first threshold;

[0064] In order to monitor the occurrence of abnormal printing conditions, the present application collects real-time images based on a preset frequency and performs image comparison to identify printing abnormalities. When the printing task is executed to the first monitoring moment, a second real-time image on the printing platform is collected, and the first real-time image is compared with the second real-time image to extract the first difference pixel position between the two. Among them, since the printing material will be carried on the printing platform when the printing task is executed, there is a certain difference area between the first real-time image and the second real-time image (that is, the area where the printing material exists). By identifying the first difference pixel position between the first real-time image and the second real-time image, the area where the printing material is located is identified for subsequent comparison and judgment.

[0065] Step 103: extracting the rectangular pixel region where the target first difference pixel position is located according to the distribution of the first pixel difference value;

[0066] The rectangular pixel area is used to frame the area where the printed material is located. The calculation logic of the rectangular pixel area is as follows:

[0067] Specifically, step 103 specifically includes steps 1031 to 1037:

[0068] Step 1031: Calculate an average value of a plurality of first pixel difference values;

[0069] Step 1032: multiply the average value by a preset coefficient to obtain a current value;

[0070] Step 1033: extracting a first pixel difference value that is not less than the current value as a target first pixel difference value;

[0071] Since there may be certain interfering pixels between the first real-time image and the second real-time image, and there is a large difference between the interfering pixels and the pixels corresponding to the printed material (i.e., there is a large difference in the pixel difference), the present application calculates the average value of multiple first pixel differences, and obtains the current value by multiplying the average value by a preset coefficient. The current value is used to screen the pixels corresponding to the printed material.

[0072] Step 1034: taking the pixel position of the target first pixel difference as the target first difference pixel position;

[0073] Step 1035: extracting extreme values ​​in four directions of up, down, left and right from a plurality of target first difference pixel positions;

[0074] Step 1036: Add the extreme value and the preset error value to obtain new coordinate extreme values ​​corresponding to four directions;

[0075] Step 1037: The rectangle formed by the new coordinate extreme values ​​corresponding to the four directions is used as a rectangular pixel area.

[0076] As time goes by, the space occupied by the printed material will expand. Therefore, for subsequent abnormality judgment, it is necessary to add the extreme value to the preset error value to obtain the new coordinate extreme values ​​corresponding to the four directions, and use the rectangle formed by the new coordinate extreme values ​​corresponding to the four directions as the rectangular pixel area.

[0077] In this embodiment, by calculating the average value of multiple first pixel differences, an intermediate value representing the overall pixel difference level can be obtained. This step can effectively balance the fluctuation of individual pixel differences and ensure the stability and accuracy of subsequent processing. The average value of the first pixel difference is multiplied by a preset coefficient to obtain the current value. The setting of the coefficient can be adjusted according to specific application requirements to control the sensitivity of extracting the target difference pixel. By screening the first pixel difference that is not less than the current value, the significant pixel difference can be used as the target first pixel difference. This step can effectively filter out small pixel differences and focus on the pixel area with significant changes. According to the target first pixel difference, the corresponding pixel position is determined, and these positions are the target first difference pixel positions. This step locates the specific position of the significant pixel difference and lays the foundation for subsequent area extraction. By extracting the extreme values ​​of multiple target first difference pixel positions in the four directions of up, down, left and right, the boundary of the target area can be determined. These extreme values ​​identify the outermost pixel positions of the target area. Adding the extreme value to a preset error value can expand the range of the target area and avoid regional incompleteness caused by pixel difference calculation errors. Finally, the rectangular area formed by the new coordinate extreme values ​​in the four directions is used as the target rectangular pixel area to be extracted. This area contains all the significant target first difference pixel positions and can accurately reflect the outline and position of the target area. In summary, the technical solution effectively identifies and extracts the rectangular pixel area where the target first difference pixel position is located through a series of calculation and extraction steps. This method not only improves the accuracy of target area recognition, but also has high flexibility and adaptability.

[0078] Step 104: capturing a third real-time image on the printing platform at the second monitoring moment, extracting a first partial image corresponding to a rectangular pixel area in the second real-time image and the third real-time image, and extracting a second partial image corresponding to a non-rectangular pixel area in the second real-time image and the third real-time image;

[0079] It can be understood that the rectangular pixel area is the reasonable printing area range at the current moment, while the non-rectangular pixel area is the abnormal printing area range. That is, if the printed material appears in the non-rectangular pixel area, it means that the printing at the current moment is abnormal. If the printed material appears in the rectangular pixel area, it means that the printing at the current moment may be normal. Since the rectangular pixel area and the non-rectangular pixel area have different characteristics, it is necessary to perform abnormal identification separately to achieve comprehensive judgment to improve the judgment accuracy.

[0080] Step 105: determining whether a printing abnormality occurs in the 3D printing device according to a pixel difference between the two first partial images and a pixel difference between the two second partial images.

[0081] It is understandable that as time goes by, the amount of printed material on the printing platform gradually increases, and the area and shape of the printed material in the rectangular pixel area will change. This change cannot be judged as abnormal through simple difference comparison, and requires more sophisticated abnormality recognition. Outside the rectangular pixel area (i.e., the non-rectangular pixel area), there is no printed material under normal printing conditions, and printed material may only appear under abnormal printing conditions. Therefore, the first local image corresponding to the rectangular pixel area and the second local image corresponding to the non-rectangular pixel area have different image characteristics and abnormal characteristics, so they need to be analyzed separately to improve recognition accuracy. The specific logic is as follows:

[0082] Specifically, step 105 specifically includes steps 1051 to 1055:

[0083] Step 1051: Calculate a first difference value between two of the second partial images;

[0084] Specifically, step 1051 specifically includes steps A1 to A3:

[0085] Step A1: extracting a second difference pixel position between two second partial images; the second difference pixel position refers to a pixel position where a second pixel difference between two pixels at the same position exceeds a first threshold;

[0086] Step A2: calculating a second pixel difference between two pixel points corresponding to the second pixel difference position, and counting the number of the second pixel difference positions;

[0087] Step A3: calculating the first difference value according to a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions.

[0088] Specifically, step A3 includes:

[0089] Substituting a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions into the following function 1 to obtain the first difference value;

[0090] ,

[0091] ;

[0092] in, represents the first difference value, represents the number of the plurality of second difference pixel positions, represents the second pixel difference value corresponding to the second difference pixel position, The pixel position in the second local image corresponding to the second real-time image is The pixel value of The pixel position in the second local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the second pixel difference, represents the weight of each second difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate representing the pixel position.

[0093] It is worth noting that in the field of image processing and computer vision, measuring the difference between two images is an important issue. Traditional image difference calculation methods often only consider the difference in overall pixels, ignoring the position characteristics in the image and the local characteristics of the difference. Function 1 in the present application accurately calculates the difference score between the two images by comprehensively considering the position, number and corresponding pixel difference of the second difference pixel. By considering the number of second difference pixel positions and the corresponding pixel difference, the difference between the two images can be more accurately reflected. The introduction of position weights enables the difference score to consider the importance of pixel positions, avoiding the limitations of simple pixel difference calculation methods. The normalization of pixel differences and the introduction of adjustment parameters enhance the robustness of the formula. Even in the presence of large pixel differences, normalization can limit the range of differences and avoid excessive impact on the overall score. The adjustment parameters provide flexibility, and users can adjust the parameters according to specific application scenarios to obtain the best difference scoring effect. The setting of position weights can also be adjusted according to specific needs to meet the needs of different applications. Efficient calculations can be achieved through appropriate algorithm optimization and parallel computing technology. Normalization and weight calculation can be preprocessed to speed up the calculation process of difference scores. Through experimental verification of multiple image data sets, function 1 shows superior performance. In image matching and comparison tasks, the difference scores calculated using this formula can more accurately reflect the differences between images, improving the accuracy and reliability of the task.

[0094] In this embodiment, the technical solution realizes efficient and accurate image difference detection by extracting the second difference pixel position between two second partial images. Specifically, the second difference pixel position refers to the pixel position where the second pixel difference between two pixels at the same position exceeds the preset first threshold. By calculating the second pixel difference between two pixels corresponding to these second difference pixel positions and counting the number of these difference pixel positions, the first difference between the two second partial images can be further calculated based on multiple second difference pixel positions, the number of these positions and the corresponding second pixel difference. This process not only improves the accuracy of image difference detection, but also reduces the amount of calculation, significantly improving the image processing efficiency. In addition, by setting an appropriate first threshold, the sensitivity of difference detection can be flexibly adjusted to meet the needs of different application scenarios.

[0095] Step 1052: If the first difference value is greater than a second threshold, it is determined that a printing abnormality occurs in the 3D printing device;

[0096] Step 1053: If the first difference value is not greater than a second threshold, calculating a second difference value between the two first partial images;

[0097] When the first difference value is greater than the second threshold, it means that the printed material has entered the non-rectangular pixel area, that is, a printing abnormality has occurred. When the first difference value is not greater than the second threshold, it is impossible to determine whether a printing abnormality has occurred. It is necessary to further calculate the second difference value between the two first partial images to determine whether a printing abnormality has occurred. The specific logic is as follows:

[0098] Specifically, step 1053 specifically includes steps B1 to B5:

[0099] Step B1: if the first difference value is not greater than the second threshold, extracting the third difference pixel position between the two first partial images; the third difference pixel position refers to the pixel position where the third pixel difference between two pixels at the same position exceeds the first threshold;

[0100] Step B2: calculating a third pixel difference between two pixel points corresponding to the third difference pixel position, and counting the number of the third difference pixel positions;

[0101] Step B3: obtaining a preset variation factor; the variation factor is a pixel error amount set according to a printing rate;

[0102] As time goes by, the amount of printing materials on the printing platform will gradually increase. In view of the gradual increase in printing materials, a change factor needs to be preset to adapt to the gradual increase in printing materials and avoid abnormal recognition misjudgment.

[0103] Step B4: calculating the first pixel mean of the second real-time image and the second pixel mean of the third real-time image;

[0104] As the printing materials on the platform gradually increase, there is a large difference between the color of the printing materials and the platform, that is, there is a large difference in the pixel value. When printing is normal, the printing materials will increase in an orderly manner within a certain space. When printing abnormalities occur, the printing materials will occupy other spaces in a disorderly manner, and abnormal pixel value changes will occur. Therefore, the first pixel mean value of the second real-time image and the second pixel mean value of the third real-time image can be combined to comprehensively judge whether printing abnormalities occur.

[0105] Step B5: Calculate the second difference value according to the variation factor, the first pixel mean of the second real-time image corresponding to the first local image, the second pixel mean of the third real-time image corresponding to the first local image, multiple third difference pixel positions, the number of the multiple third difference pixel positions, and the third pixel differences corresponding to the multiple third difference pixel positions.

[0106] Specifically, step B5 includes:

[0107] Substitute the variation factor, the first pixel mean of the first partial image corresponding to the second real-time image, the second pixel mean of the first partial image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and the third pixel difference values ​​corresponding to the plurality of third difference pixel positions into the following function 2 to obtain the second difference value;

[0108] ,

[0109] ;

[0110] in, represents the second difference value, represents the number of the plurality of third difference pixel positions, represents the third pixel difference corresponding to the third difference pixel position, The pixel position in the first local image corresponding to the second real-time image is The pixel value of The pixel position in the first local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the third pixel difference, represents the weight of each third difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate of the pixel position, represents the change factor, represents the first pixel mean value of the second real-time image corresponding to the first local image, represents the second pixel mean of the third real-time image corresponding to the first local image, represents the standard deviation of the pixel values ​​of the second real-time image corresponding to the first local image, Indicates the standard deviation of the pixel values ​​of the third real-time image corresponding to the first partial image.

[0111] in, and The calculation process is as follows:

[0112] ,

[0113] ;

[0114] It is worth noting that function 2 can more accurately reflect the difference between the two images by comprehensively considering the position, number and pixel difference of the third difference pixel. The introduction of position weight makes the difference score consider the importance of pixel position and improves the accuracy of difference detection. The normalization of pixel difference and the introduction of pixel change error improve the robustness of function 2 to noise and error. Even in the case of large pixel differences, normalization and error correction can limit the range of difference and avoid excessive impact on the overall value. Considering the importance of pixel position, the contribution of each pixel to the difference score is adjusted by position weight. The pixel difference is normalized to limit the range of difference and enhance robustness. The accuracy and stability of the difference score are further enhanced by comparing the mean and standard deviation. Considering the change error of pixel difference, the difference effect is further corrected.

[0115] In this embodiment, when calculating the first difference value between the two first partial images, if the difference value is not greater than the second threshold, the third difference pixel position between the two images is further extracted. The third difference pixel position refers to the pixel position where the third pixel difference between two pixels at the same position exceeds the first threshold. In this way, the specific pixel points with significant differences in the image can be accurately located. For each third difference pixel position, the third pixel difference between two corresponding pixels is calculated, and the number of all third difference pixel positions is counted. This detailed difference calculation method makes the description of image differences more comprehensive and detailed. By obtaining a preset variation factor, which is a pixel error amount set according to the printing rate, the image processing parameters can be dynamically adjusted. This mechanism ensures that the image processing process can adapt to different printing rate changes and improves the adaptability and flexibility of the image processing system. The first pixel mean of the second real-time image and the second pixel mean of the third real-time image are calculated respectively to provide basic data for subsequent difference value calculation. This method ensures the accuracy and stability of the difference value calculation. The second difference value is calculated according to the variation factor, the first pixel mean of the second real-time image corresponding to the first local image, the second pixel mean of the third real-time image corresponding to the first local image, multiple third difference pixel positions, the number of multiple third difference pixel positions, and the third pixel difference corresponding to the multiple third difference pixel positions. This comprehensive calculation method enables the second difference value to not only reflect the difference between images, but also take into account multiple factors such as printing rate and pixel error, thereby improving the practicality and accuracy of the difference value. Through the above steps, the technical solution can provide higher accuracy and flexibility in the image processing process, and effectively improve the quality of image difference detection and processing.

[0116] Step 1054: If the second difference value is greater than a third threshold, it is determined that a printing abnormality occurs in the 3D printing device;

[0117] Step 1055: If the second difference value is not greater than the third threshold, it is determined that no printing abnormality occurs in the 3D printing device.

[0118] Calculate the first difference value between the two second partial images. If the first difference value is greater than the preset second threshold, it is immediately determined that the 3D printing device has a printing abnormality. This preliminary detection can quickly discover obvious printing problems, issue early warnings in time, and reduce the impact of printing errors on finished products. If the first difference value is not greater than the second threshold, further calculate the second difference value between the two first partial images. If the second difference value is greater than the preset third threshold, it is determined that the 3D printing device has a printing abnormality. Through this further detection step, potential printing abnormalities can be identified more accurately to ensure the comprehensiveness and accuracy of monitoring. If the second difference value is not greater than the third threshold, it is determined that the 3D printing device has no printing abnormality. This hierarchical and multi-step detection method can avoid excessive false alarms while ensuring detection accuracy, thereby improving the reliability and stability of the monitoring system. The monitoring method realizes multi-level precise monitoring of the printing process by setting hierarchical thresholds. The preliminary difference value detection can quickly identify obvious printing abnormalities, while the further difference value detection ensures comprehensive coverage of potential problems. This method not only improves the efficiency and accuracy of detection, but also reduces the false alarm rate, thereby effectively improving the quality control level of the 3D printing process.

[0119] In this embodiment, by collecting and comparing real-time images on the printing platform, abnormal conditions in the 3D printing process can be monitored in real time. Compared with the traditional large model image recognition method, this solution does not rely on high computing power equipment and is suitable for 3D printing equipment with limited computing power. The difference pixel position extraction and local image areas of different regions are used for differential analysis to adapt to the abnormal characteristics of different regions, thereby improving the recognition accuracy of abnormal identification. By comparing the real-time images at different time points, the difference pixel position is extracted, and the rectangular pixel area where the target difference pixel position is located is located according to the distribution of pixel difference. This method can accurately locate the location where the abnormality occurs and improve the accuracy of abnormality detection. The above scheme not only analyzes the rectangular area of ​​the difference pixel, but also comprehensively considers the changes in the non-rectangular area. Through the combination of the two, the working state of the 3D printing equipment is comprehensively evaluated to ensure the comprehensiveness and accuracy of abnormality detection. This technical solution only needs to compare the pixel differences of the image, does not require complex preprocessing and high-computing-power image processors, is easy to implement, and can be widely used in 3D printing equipment of different models and configurations. In general, the present invention realizes efficient and accurate monitoring and identification of abnormal situations in the 3D printing process through image acquisition and comparison methods, solves the problem of large model recognition methods in the prior art relying on high computing power, and significantly improves the intelligence and reliability of 3D printing equipment.

[0120] like Figure 2 The present invention provides a 3D printed monitoring device 2, see Figure 2 , Figure 2A schematic diagram of a 3D printed monitoring device provided by the present invention is shown, Figure 2 A 3D printed monitoring device is shown, comprising:

[0121] The acquisition unit 21 is used to acquire a plurality of first historical power loads in a previous regulation cycle and a plurality of second historical power loads in a historical regulation cycle; the previous regulation cycle refers to a previous cycle corresponding to the current regulation cycle, and the historical regulation cycle refers to a regulation cycle in the previous year that is consistent with the previous regulation cycle; wherein each year corresponds to multiple regulation cycles;

[0122] A calculation unit 22, configured to calculate an initial predicted power load of a current control cycle according to the plurality of first historical power loads;

[0123] An extraction unit 23, configured to extract mutation values ​​and mutation time intervals from the plurality of second historical power loads;

[0124] A judgment unit 24 is configured to adjust the initial predicted power load according to the mutation value to obtain a target predicted power load if the current control cycle is in the mutation time interval;

[0125] The control unit 25 is used to determine the control strategy based on the historical average power generation, the total storage energy of the energy storage system and the target predicted power load; the historical average power generation refers to the average value of multiple historical power generation in the previous control cycle; the control strategy is used to control the load between the microgrid and the main grid.

[0126] The present invention provides a 3D printing monitoring device, which can monitor abnormal conditions in the 3D printing process in real time by collecting and comparing real-time images on the printing platform. Compared with the traditional large model image recognition method, this solution does not rely on high computing power equipment and is suitable for 3D printing equipment with limited computing power. Differential pixel position extraction and local image areas of different regions are used for differential analysis to adapt to the abnormal characteristics of different regions, thereby improving the recognition accuracy of abnormal identification. By comparing real-time images at different time points, the difference pixel position is extracted, and the rectangular pixel area where the target difference pixel position is located is located according to the distribution of pixel difference. This method can accurately locate the location where the abnormality occurs and improve the accuracy of abnormality detection. The above scheme not only analyzes the rectangular area of ​​the difference pixel, but also comprehensively considers the changes in the non-rectangular area. Through the combination of the two, the working state of the 3D printing equipment is comprehensively evaluated to ensure the comprehensiveness and accuracy of abnormality detection. The technical solution only needs to compare the pixel differences of the image, does not require complex preprocessing and high-computing-power image processors, is easy to implement, and can be widely used in 3D printing equipment of different models and configurations. In general, the present invention realizes efficient and accurate monitoring and identification of abnormal situations in the 3D printing process through image acquisition and comparison methods, solves the problem of large model recognition methods in the prior art relying on high computing power, and significantly improves the intelligence and reliability of 3D printing equipment.

[0127] Figure 3 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 3 As shown, a terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a 3D printing monitoring program. When the processor 30 executes the computer program 32, the steps in each of the above-mentioned 3D printing monitoring method embodiments are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 2 Function of the unit shown.

[0128] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit:

[0129] A collection unit, configured to collect a first real-time image on the printing platform in response to a printing instruction;

[0130] A first extraction unit is used to collect a second real-time image on the printing platform at a first monitoring time, and extract a first difference pixel position between the first real-time image and the second real-time image; the first difference pixel position refers to a pixel position where a first pixel difference between two pixel points at the same position exceeds a first threshold;

[0131] A second extraction unit, configured to extract a rectangular pixel region where a target first difference pixel position is located according to a distribution of the first pixel difference value;

[0132] A third extraction unit is used to collect a third real-time image on the printing platform at the second monitoring time, extract a rectangular pixel area in the second real-time image and the third real-time image, and extract a non-rectangular pixel area in the second real-time image and the third real-time image;

[0133] The determination unit is used to determine whether a printing abnormality occurs according to a pixel difference between the two rectangular pixel regions and a pixel difference between the two non-rectangular pixel regions.

[0134] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0135] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0136] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.

[0137] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0138] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0139] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0140] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0141] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0142] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0143] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0144] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0145] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed over multiple network units.

[0147] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0148] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0149] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.

[0150] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0151] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0152] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A 3D printing monitoring method, characterized in that: The 3D printing monitoring method comprises: In response to a printing instruction, acquiring a first real-time image on the printing platform; At a first monitoring moment, a second real-time image on the printing platform is acquired, and a first difference pixel position between the first real-time image and the second real-time image is extracted; the first difference pixel position refers to a pixel position where a first pixel difference between two pixel points at the same position exceeds a first threshold; Calculating an average value of a plurality of first pixel difference values; Multiplying the average value by a preset coefficient to obtain a current value; Extracting a first pixel difference value that is not less than the current value as a target first pixel difference value; taking the pixel position of the target first pixel difference value as the target first difference pixel position; Extracting extreme values ​​in four directions of up, down, left and right from a plurality of target first difference pixel positions; Add the extreme value to the preset error value to obtain new coordinate extreme values ​​corresponding to the four directions; The rectangle formed by the new coordinate extreme values ​​corresponding to the four directions is used as the rectangular pixel area; At the second monitoring moment, a third real-time image on the printing platform is collected, a first local image corresponding to a rectangular pixel area in the second real-time image and the third real-time image is extracted, and a second local image corresponding to a non-rectangular pixel area in the second real-time image and the third real-time image is extracted; Whether a printing abnormality occurs in the 3D printing device is determined according to a pixel difference between the two first partial images and a pixel difference between the two second partial images.

2. The 3D printing monitoring method according to claim 1, characterized in that: The step of determining whether a printing abnormality occurs in the 3D printing device according to the pixel difference between the two first partial images and the pixel difference between the two second partial images comprises: calculating a first difference value between two of the second partial images; If the first difference value is greater than a second threshold, it is determined that a printing abnormality occurs in the 3D printing device; If the first difference value is not greater than a second threshold, calculating a second difference value between the two first partial images; If the second difference value is greater than a third threshold, it is determined that a printing abnormality occurs in the 3D printing device; If the second difference value is not greater than the third threshold, it is determined that no printing abnormality occurs in the 3D printing device.

3. The 3D printing monitoring method according to claim 2, characterized in that: The step of calculating a first difference value between two second partial images comprises: Extracting a second difference pixel position between the two second partial images; the second difference pixel position refers to a pixel position where a second pixel difference between two pixels at the same position exceeds a first threshold; Calculating a second pixel difference between two pixel points corresponding to the second difference pixel position, and counting the number of the second difference pixel positions; The first difference value is calculated according to a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and second pixel difference values ​​corresponding to the plurality of second difference pixel positions.

4. The 3D printing monitoring method according to claim 3, characterized in that: The step of calculating the first difference value according to the plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions comprises: Substituting a plurality of second difference pixel positions, the number of the plurality of second difference pixel positions, and the second pixel difference values ​​corresponding to the plurality of second difference pixel positions into the following function 1 to obtain the first difference value; ; ; in, represents the first difference value, represents the number of the plurality of second difference pixel positions, represents the second pixel difference value corresponding to the second difference pixel position, The pixel position in the second local image corresponding to the second real-time image is The pixel value of The pixel position in the second local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the second pixel difference, represents the weight of each second difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate representing the pixel position.

5. The 3D printing monitoring method according to claim 2, characterized in that: If the first difference value is not greater than a second threshold, the step of calculating a second difference value between the two first partial images comprises: If the first difference value is not greater than the second threshold, extracting a third difference pixel position between the two first partial images; the third difference pixel position refers to a pixel position where the third pixel difference between two pixels at the same position exceeds the first threshold; Calculating a third pixel difference between two pixel points corresponding to the third difference pixel position, and counting the number of the third difference pixel positions; Obtaining a preset variation factor; the variation factor is a pixel error amount set according to a printing rate; Calculating a first pixel mean value of the second real-time image and a second pixel mean value of the third real-time image; A second difference value is calculated according to the variation factor, a first pixel mean of the first local image corresponding to the second real-time image, a second pixel mean of the first local image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and third pixel differences corresponding to the plurality of third difference pixel positions.

6. The 3D printing monitoring method according to claim 5, characterized in that: The step of calculating the second difference value according to the variation factor, the first pixel mean value of the first partial image corresponding to the second real-time image, the second pixel mean value of the first partial image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and the third pixel difference values ​​corresponding to the plurality of third difference pixel positions comprises: Substitute the variation factor, the first pixel mean of the first partial image corresponding to the second real-time image, the second pixel mean of the first partial image corresponding to the third real-time image, a plurality of third difference pixel positions, the number of the plurality of third difference pixel positions, and the third pixel difference values ​​corresponding to the plurality of third difference pixel positions into the following function 2 to obtain the second difference value; ; ; in, represents the second difference value, represents the number of the plurality of third difference pixel positions, represents the third pixel difference corresponding to the third difference pixel position, The pixel position in the first local image corresponding to the second real-time image is The pixel value of The pixel position in the first local image corresponding to the third real-time image is The pixel value of represents the influencing factor of the third pixel difference, represents the weight of each third difference pixel position, and Indicates the resolution of the second real-time image or the third real-time image. represents a constant, The horizontal coordinate representing the pixel position, The vertical coordinate of the pixel position, represents the change factor, represents the first pixel mean value of the second real-time image corresponding to the first local image, represents the second pixel mean of the third real-time image corresponding to the first local image, represents the standard deviation of the pixel values ​​of the second real-time image corresponding to the first local image, Indicates the standard deviation of the pixel values ​​of the third real-time image corresponding to the first partial image.

7. The 3D printing monitoring method according to claim 1, characterized in that: After the step of determining whether a printing abnormality occurs in the 3D printing device according to the pixel difference between the two first partial images and the pixel difference between the two second partial images, the method further includes: At subsequent monitoring moments, printing abnormality identification is performed in sequence according to the steps corresponding to the first monitoring moment and the second monitoring moment.

8. A 3D printed monitoring device, characterized in that: The 3D printed monitoring device comprises: A collection unit, configured to collect a first real-time image on the printing platform in response to a printing instruction; A first extraction unit is used to collect a second real-time image on the printing platform at a first monitoring time, and extract a first difference pixel position between the first real-time image and the second real-time image; the first difference pixel position refers to a pixel position where a first pixel difference between two pixel points at the same position exceeds a first threshold; A second extraction unit is used to calculate an average value of a plurality of first pixel difference values; multiply the average value by a preset coefficient to obtain a current value; extract a first pixel difference value that is not less than the current value as a target first pixel difference value; use the pixel position of the target first pixel difference value as a target first difference pixel position; extract extreme values ​​in four directions of up, down, left and right from the plurality of target first difference pixel positions; add the extreme values ​​to a preset error value to obtain new coordinate extreme values ​​corresponding to the four directions; and use a rectangle formed by the new coordinate extreme values ​​corresponding to the four directions as a rectangular pixel area; A third extraction unit is used to collect a third real-time image on the printing platform at the second monitoring time, extract a rectangular pixel area in the second real-time image and the third real-time image, and extract a non-rectangular pixel area in the second real-time image and the third real-time image; The determination unit is used to determine whether a printing abnormality occurs according to a pixel difference between the two rectangular pixel regions and a pixel difference between the two non-rectangular pixel regions.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • 3D printing product three-dimensional defect detection method based on a grating projection multi-step phase shift method

    CN109242828A

  • 3D printing-slicing method and device, equipment, and storage medium

    CN112102460A

  • Method and device for detecting printing quality of 3D printer and 3D printer

    CN116175977A

  • 3D printing product defect online detection method based on machine vision

    CN116872497A

  • System and method for detecting 3D printing errors

    US20190388967A1