3D printing consumable management method and system based on image recognition
By installing an image acquisition device on a 3D printer, using image recognition technology to identify and analyze the status of consumables, combining sensor data for multi-dimensional analysis, and dynamically adjusting the supply of consumables, the problems of inaccurate and wasteful consumables in the existing technology are solved, and the intelligence and automation of the 3D printing process are realized.
Patent Information
- Application Number
- CN202510164835.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-16
AI Technical Summary
In the existing 3D printing technology, consumables management relies on manual inspection or sensor monitoring, which has problems such as high cost, many manual interventions, and difficulty in achieving accurate tracking and prediction.
Using a 3D printing consumables management method based on image recognition, the image data of the consumables area is collected in real time by an image acquisition device installed on a 3D printer, image processing and analysis are carried out, the remaining amount, material type and quality status of the consumables are identified, and multi-dimensional analysis is performed in combination with sensor data, and the supply of consumables is dynamically adjusted to provide real-time alarm and prediction functions.
The 3D printing process is intelligent and automated, reducing manual intervention and waste of consumables, and improving the accuracy and efficiency of consumables management.
Smart Images

Figure CN120003040A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of 3D printing, and in particular to a 3D printing consumables management method and system based on image recognition. Background Art
[0002] As a revolutionary manufacturing technology, 3D printing has been widely used in the fields of rapid prototyping, customized production, etc. However, with the popularization of 3D printing applications, especially in the scenarios of mass production and long-term continuous printing, how to effectively manage and monitor consumables in the printing process has become an urgent problem to be solved.
[0003] Traditional consumables management methods usually rely on manual inspection or sensor monitoring, which are not only costly but also involve a lot of manual intervention and are easily affected by external factors, making it difficult to achieve accurate consumables tracking and prediction.
[0004] Therefore, there is an urgent need to propose a 3D printing consumables management method and system based on image recognition, so that the consumables usage in the 3D printer can be automatically monitored and managed through image recognition technology, the consumables status can be fed back in real time, the consumables supply can be automatically adjusted, and intelligent and seamless consumables management can be achieved. Summary of the invention
[0005] In view of this, the purpose of the present invention is to propose a 3D printing consumables management method and system based on image recognition, which uses image recognition technology to monitor the remaining amount of consumables in the printer, material type, consumables usage status and other key information in real time, dynamically adjust the consumables supply, and provide real-time alarm and prediction functions. This method can greatly improve the intelligence and automation level of the 3D printing process, reduce human intervention and consumables waste.
[0006] To achieve the above object, the present invention provides the following technical solutions: Based on the above objectives, in a first aspect, the present invention provides a 3D printing consumables management method based on image recognition, comprising the following steps: The image data of the consumable area in the 3D printer is collected in real time by the installed image acquisition device; Performing image processing and analysis on the image data to identify the remaining amount, material type and quality status of the consumables; The recognition results of the image data are input into the control system, and the consumption trend of the consumables is predicted based on the historical usage data, and the consumption trend and usage time of the consumables are predicted; Combined with the weight, temperature and humidity data collected by the sensor, a multi-dimensional analysis is performed on the remaining amount of consumables, material type and quality status, consumption trend, and usage time. When the remaining amount of consumables is lower than the set threshold, an alarm signal is issued and suggestions for consumable replacement are provided.
[0007] As a further solution of the present invention, real-time acquisition of image data of a consumable area in a 3D printer includes the following steps: Install at least one image acquisition device, the image acquisition device including a high-resolution camera, a depth camera and / or a thermal imaging camera; The camera of the image acquisition device is installed on the 3D printer, and the camera viewing angle covers the consumable area; Program the camera's acquisition frequency and process the acquired image data of the filament area in the 3D printer in real time.
[0008] As a further solution of the present invention, identifying the remaining amount, material type and quality status of consumables includes the following steps: Preprocess the collected image data and use threshold segmentation to extract the consumable area; According to the geometric features in the image, the remaining volume of the cylindrical consumables is estimated by measuring the remaining height and diameter, and the remaining amount of the consumables is calculated; Identify the material type of consumables through texture analysis, color analysis and glossiness detection; Use deep learning to detect surface defects and signs of aging in images, evaluate the quality status of consumables, connect the analysis results with the control system, and provide real-time feedback on consumable status and predict consumption trends.
[0009] As a further solution of the present invention, the remaining volume of the cylindrical consumable is estimated by measuring the remaining height and diameter. When calculating the remaining amount of the consumable, the remaining height h of the cylindrical consumable is measured. d Estimating remaining volume The calculation formula for the remaining amount of cylindrical consumables is:
[0010] In the formula, is the remaining material volume, indicating the remaining material volume in the consumable area; d , represents the diameter of the 3D printing filament, and h is the remaining height.
[0011] As a further solution of the present invention, threshold segmentation is used to extract the consumable area, and an adaptive threshold is used to dynamically set the segmentation threshold according to the illumination change of the image to automatically identify the consumable area; wherein, Otsu based on the grayscale histogram automatically selects the best segmentation point, and the calculation formula is:
[0012] In the formula, is the inter-class variance, which is an indicator used to measure the quality of image segmentation. It means that when an image is divided into two categories, the square of the mean difference between the two categories of images multiplied by their respective weights; and are the weights of the two types of images, indicating that at the threshold t ; and are the mean grayscale values of the background class and the foreground class, respectively. The background class is below the threshold t Pixels, the foreground class is the pixels above the threshold t.
[0013] As a further solution of the present invention, after the area of the consumables is identified, the remaining amount is estimated by the geometric features in the image. When calculating the remaining amount of the consumables, it depends on the measurement of the shape, size and remaining height of the consumables; and the material type is distinguished according to the surface texture, color and glossiness characteristics of the consumables. Among them, the surface texture analysis extracts texture features through the gray level co-occurrence matrix to identify the surface features of different materials; wherein, the calculation formula of the gray level co-occurrence matrix (GLCM) is:
[0014] In the formula, C Contrast refers to the degree of change between different gray levels in an image. The higher the contrast value, the more dramatic the gray level change in the image and the more complex the texture. and is the gray level, and Represent the row and column coordinates in the gray-level co-occurrence matrix, indicating the gray values of two adjacent pixels; The elements in the gray-level co-occurrence matrix represent the gray-level values. and The probability of a pixel pair occurring.
[0015] As a further solution of the present invention, in a 3D printing consumables management method based on image recognition, quality inspection uses a quality inspection model to train a large amount of labeled image data, automatically identify materials in different quality states, including surface defects, contamination and aging phenomena, evaluate the quality state of consumables, connect the analysis results with the control system, and provide real-time feedback on the consumables status and predict consumption trends.
[0016] As a further solution of the present invention, when a multi-dimensional analysis is performed on the remaining amount of consumables, material type and quality status, consumption trend and usage time in combination with the weight and temperature and humidity data collected by the sensor, the remaining amount analysis based on weight includes estimating the remaining amount of consumables by real-time monitoring of weight changes, setting the initial weight of the consumables, and Calculate the remaining amount
[0017]
[0018] In the formula, At the point in time The remaining consumables weight at the time of Initial weight of consumables, i.e. the total weight of consumables at the beginning; At time step , It is calculated through the incremental data of the sensor, indicating the weight of the material consumed in a certain period of time; t represents the current point in time.
[0019] As a further solution of the present invention, when performing multi-dimensional analysis, the consumption rate of consumables is calculated through the relationship between weight data and time series. The calculation formula is:
[0020] In the formula, The consumption rate of consumables. is the time interval; In time period The amount of consumables consumed.
[0021] As a further solution of the present invention, when performing multi-dimensional analysis, it also includes material quality and consumption rate analysis based on temperature and humidity data, by establishing a quality decay model, establishing the relationship between temperature and humidity and consumption rate, and predicting the change of consumables consumption rate under different environmental conditions, wherein the quality decay model of temperature and humidity on consumption rate is:
[0022] In the formula, In time The consumption rate at Baseline consumption rate under normal environmental conditions; The influence coefficient of temperature on consumption rate is obtained through historical data training and is used to characterize the influence of temperature change on consumption rate; In time Temperature at The coefficient of influence of humidity on consumption rate is also obtained through historical data training, which is used to characterize the influence of humidity change on consumption rate; Humidity at time t.
[0023] As a further solution of the present invention, when performing multi-dimensional analysis, based on the consumption trend and status evaluation of material types, the consumption trend of different materials is modeled by classifying and labeling the material types, and a comprehensive analysis is performed on weight, temperature and humidity, time and material type factors to establish a consumption trend model for predicting future consumption; wherein, when identifying the material type, image recognition and sensor data are combined to identify the material type through an integrated classifier; wherein, the consumption rate and consumption trend of each material separately establish a consumption rate model based on the material type.
[0024] As a further embodiment of the present invention, the consumption rate model established for each material is:
[0025] In the formula, Indicates at time The consumption rate at A regression model function representing the relationship between consumption rate and multiple variables; Indicates the material type, Indicates at time Temperature at Indicates at time The humidity at that time.
[0026] As a further solution of the present invention, the consumption trend model established is:
[0027] In the formula, Indicates at time The predicted consumption rate at A regression model function representing the relationship between consumption rate and multiple variables; Indicates the current time The remaining weight; Indicates the current time Temperature; Indicates the current time humidity; Indicates the material type; is a time variable, indicating the timestamp of data collection.
[0028] In a second aspect, the present invention provides a 3D printing consumables management system based on image recognition, comprising: A data acquisition module, used to acquire image data of a consumable area in a 3D printer in real time through an installed image acquisition device; A consumables identification module, used to perform image processing and analysis on the image data to identify the remaining amount, material type and quality status of the consumables; A trend prediction module is used to input the recognition results of the image data into the control system, and predict the consumption trend of the consumables based on the historical usage data, and predict the consumption trend and usage time of the consumables; The multi-dimensional analysis module is used to combine the weight, temperature and humidity data collected by the sensor to conduct multi-dimensional analysis of the remaining amount of consumables, material type and quality status, consumption trend and usage time; The early warning module is used to send out an alarm signal and provide suggestions for replacing consumables when the remaining amount of consumables is lower than the set threshold.
[0029] In another aspect of the present invention, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, any one of the above-mentioned 3D printing consumables management methods based on image recognition according to the present invention is executed.
[0030] In another aspect of the present invention, a computer-readable storage medium is provided, storing computer program instructions, which, when executed, implement any of the above-mentioned methods for managing 3D printing consumables based on image recognition according to the present invention.
[0031] Compared with the prior art, the 3D printing consumables management method and system based on image recognition proposed in the present invention has the following beneficial effects: 1. Through efficient image acquisition and processing, the remaining amount of consumables, material type and quality status can be accurately identified, realizing real-time monitoring and accurate identification of the remaining amount of consumables.
[0032] The present invention captures image data of the consumable area in real time through an image acquisition device installed in a 3D printer, and processes and analyzes it. Image recognition technology can efficiently identify the remaining amount of consumables, avoiding the inconvenience and errors caused by manual inspection. Through image analysis, the specific remaining amount of consumables can be accurately identified, and the material type (such as PLA, ABS, etc.) of the consumables and its quality status (such as surface smoothness, color change, etc.) can be determined. This information can help determine whether there is any abnormality in the material, provide accurate remaining amount data, and avoid excessive consumption and material waste.
[0033] 2. Based on the prediction function of historical usage data and the usage time prediction of multi-dimensional data, consumption trend prediction and intelligent decision-making are realized.
[0034] The present invention can predict the consumption trend of consumables by analyzing historical usage data and combining it with image recognition results. This can not only help understand the current consumption rate, but also accurately predict the future usage of consumables based on actual conditions. Combining historical data, temperature and humidity sensors, weight sensors and other data, the system can intelligently predict the usage time of consumables and issue early warnings to prevent printing interruptions or quality problems caused by insufficient materials.
[0035] 3. Through the fusion analysis of temperature, humidity and weight data, combined with the comprehensive analysis of consumption trends and environmental factors, multi-dimensional data fusion and intelligent analysis are achieved.
[0036] By integrating image data with real-time data from temperature and humidity sensors and weight sensors, the system can comprehensively analyze multiple dimensions such as the remaining amount of consumables, consumption rate, and quality status. This multi-dimensional analysis method helps to achieve more accurate consumable management. Changes in temperature and humidity have a significant impact on the consumption rate of certain materials (such as plastics, resins, etc.). The consumption rate of consumables under current environmental conditions can be analyzed in real time, and possible changes in the future can be predicted. This can further optimize decisions during the use of consumables and ensure a smooth printing process in unstable environments.
[0037] 4. It has real-time early warning and automatic alarm, and realizes early warning mechanism and intelligent reminder through automatic replacement suggestions.
[0038] In the present invention, when the remaining amount of consumables is lower than the set threshold, the system can promptly send out an alarm signal to remind the operator to replace the consumables. This function effectively avoids the interruption or failure of printing tasks due to insufficient consumables and ensures the continuity of the production process. Not only can it send out an alarm signal for insufficient remaining amount, but it can also intelligently recommend the time to replace consumables based on historical data analysis and the current consumption trend of consumables, helping users optimize the use cycle of consumables.
[0039] 5. Reduce manual intervention and improve work efficiency. Through automated image recognition, data processing and analysis, the system of the present invention can reduce the need for manual intervention and improve management efficiency. At the same time, image recognition technology can eliminate errors caused by human operations and improve the accuracy of data. The present invention can accurately calculate the remaining amount of consumables, thereby reducing material waste and saving costs; according to different types of materials and actual consumption trends, the consumption model can be flexibly adjusted. For example, the consumption rate of certain materials may accelerate in high temperature or high humidity environments. The system can automatically adjust the consumable management strategy according to environmental changes, thereby improving adaptability; through the accumulation of data during long-term use, the system can continuously optimize its analysis algorithm, improve the ability to manage consumables under different working conditions, and form an intelligent "self-learning" process.
[0040] In summary, the 3D printing consumables management method and system based on image recognition of the present invention can play an important role in improving management efficiency, reducing waste, preventing production interruptions, and improving the level of intelligence. The system is not only applicable to the field of 3D printing, but also has a wide range of application prospects and can effectively promote the modernization and automation of material management.
[0041] These and other aspects of the present application will be more concise and understandable in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings: Figure 1 The figure is a flow chart of a 3D printing consumables management method based on image recognition according to an embodiment of the present invention.
[0043] Figure 2 The present invention is a flowchart of real-time image data collection in a 3D printing consumables management method based on image recognition according to an embodiment of the present invention.
[0044] Figure 3 The present invention is a flowchart of identifying the remaining amount, material type and quality status of consumables in the 3D printing consumables management method based on image recognition in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] Below, the present application is further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are intended to distinguish two non-identical entities or non-identical parameters with the same name. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, other steps or units inherent to a process, method, system, product or device that includes a series of steps or units.
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0050] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0051] Since traditional consumables management methods usually rely on manual inspection or sensor monitoring, which are not only costly but also involve a lot of manual intervention and are easily affected by external factors, it is difficult to achieve accurate consumables tracking and prediction. The present invention proposes a 3D printing consumables management method and system based on image recognition, which uses image recognition technology to monitor key information such as the remaining amount of consumables in the printer, material type, and consumables usage status in real time, dynamically adjusts the consumables supply, and provides real-time alarm and prediction functions. This method can greatly improve the intelligence and automation level of the 3D printing process, reduce human intervention and waste of consumables.
[0052] See also Figure 1 As shown, an embodiment of the present invention provides a 3D printing consumables management method based on image recognition, the method comprising the following steps: Step S10: The image data of the consumables area in the 3D printer is collected in real time by the installed image collection device.
[0053] In this step, see Figure 2 As shown, real-time acquisition of image data of the consumable area in the 3D printer includes the following steps: Step S101, install at least one image acquisition device, the image acquisition device includes a high-resolution camera, a depth camera and / or a thermal imaging camera; in this embodiment, a high-resolution camera (such as 40 million pixels) is selected to be installed, which can capture very clear image details to ensure that the monitoring of the consumables area is sufficiently accurate.
[0054] Step S102, installing the camera of the image acquisition device on the 3D printer, and the camera viewing angle covers the consumable area; wherein the camera viewing angle range is set to 90 degrees, and ensures that it can cover the consumable barrel of the entire printer.
[0055] Step S103, programming the acquisition frequency of the camera, and processing the acquired image data of the consumable area in the 3D printer in real time. The acquisition frequency of the camera is programmed to be set to once per minute as required, and the image data is processed in real time to ensure that the changes in the consumables are obtained in a timely manner.
[0056] Step S20: Process and analyze the image data to identify the remaining amount, material type and quality status of the consumables.
[0057] In this step, see Figure 3 As shown, identifying the remaining amount, material type and quality status of consumables includes the following steps: Step S201, pre-processing the collected image data, and extracting the consumable area using threshold segmentation; Step S202: estimating the remaining volume of the cylindrical consumable by measuring the remaining height and diameter according to the geometric features in the image, and calculating the remaining amount of the consumable; Step S203, identifying the material type of the consumables through texture analysis, color analysis and glossiness detection; Step S204: Use deep learning to detect surface defects and signs of aging in the image, evaluate the quality status of consumables, connect the analysis results to the control system, and provide real-time feedback on the status of consumables and predict consumption trends.
[0058] The remaining volume of the cylindrical consumables is estimated by measuring the remaining height and diameter. When calculating the remaining amount of consumables, the remaining height h of the cylindrical consumables is measured. d Estimating remaining volume The calculation formula for the remaining amount of cylindrical consumables is:
[0059] In the formula, The remaining material volume indicates the remaining material volume in the consumable area; is the diameter of the filament, indicating the diameter of the 3D printing filament. is the remaining height, that is, the remaining length of the consumables.
[0060] For example, if a filament has a diameter of 20 mm and a residual height of 30 mm, then its residual volume is:
[0061] By measuring the diameter and remaining height of the consumables, the remaining amount of consumables can be estimated.
[0062] In this embodiment, threshold segmentation is used to extract the consumable area, and an adaptive threshold is used to dynamically set the segmentation threshold according to the illumination change of the image to automatically identify the consumable area; wherein, Otsu based on the grayscale histogram automatically selects the best segmentation point, and the calculation formula is:
[0063] In the formula, is the inter-class variance, which is an indicator used to measure the quality of image segmentation. It means that when an image is divided into two categories, the square of the mean difference between the two categories of images multiplied by their respective weights; and are the weights of the two types of images, indicating that at the threshold t ; and are the mean grayscale values of the background class and the foreground class, respectively. The background class is below the threshold t Pixels, the foreground class is the pixels above the threshold t.
[0064] After identifying the area of the consumables, the remaining amount is estimated by the geometric features in the image. The remaining amount of the consumables is calculated by measuring the shape, size and remaining height of the consumables. The material type is distinguished according to the surface texture, color and glossiness of the consumables. The surface texture analysis extracts texture features through the gray level co-occurrence matrix to identify the surface features of different materials. The calculation formula of the gray level co-occurrence matrix (GLCM) is:
[0065] In the formula, C Contrast refers to the degree of change between different gray levels in an image. The higher the contrast value, the more dramatic the gray level change in the image and the more complex the texture. and is the gray level, and Represent the row and column coordinates in the gray-level co-occurrence matrix, indicating the gray values of two adjacent pixels; The elements in the gray-level co-occurrence matrix represent the gray-level values. and The probability of a pixel pair occurring.
[0066] Step S30: input the recognition result of the image data into the control system, and predict the consumption trend of the consumables according to the historical usage data, and predict the consumption trend and usage time of the consumables.
[0067] In this step, in the 3D printing consumables management method based on image recognition, quality inspection uses a quality inspection model to train a large amount of labeled image data, automatically identify materials in different quality states, including surface defects, contamination and aging phenomena, evaluate the quality state of consumables, connect the analysis results with the control system, and provide real-time feedback on the consumables status and predict consumption trends.
[0068] The present invention can predict the consumption trend of consumables by analyzing historical usage data and combining it with image recognition results. This can not only help understand the current consumption rate, but also accurately predict the future usage of consumables based on actual conditions. Combining historical data, temperature and humidity sensors, weight sensors and other data, the system can intelligently predict the usage time of consumables and issue early warnings to prevent printing interruptions or quality problems caused by insufficient materials.
[0069] Through automated image recognition, data processing and analysis, the system of the present invention can reduce the need for manual intervention and improve management efficiency. At the same time, image recognition technology can eliminate errors caused by human operation and improve the accuracy of data. The present invention can accurately calculate the remaining amount of consumables, thereby reducing material waste and saving costs; according to different types of materials and actual consumption trends, the consumption model can be flexibly adjusted. For example, the consumption rate of certain materials may accelerate in high temperature or high humidity environments. The system can automatically adjust the consumable management strategy according to environmental changes, thereby improving adaptability; through the accumulation of data during long-term use, the system can continuously optimize its analysis algorithm, improve the ability to manage consumables under different working conditions, and form an intelligent "self-learning" process.
[0070] Step S40: Combine the weight and temperature and humidity data collected by the sensor to perform a multi-dimensional analysis of the remaining amount of consumables, material type and quality status, consumption trend, and usage time. When the remaining amount of consumables is lower than the set threshold, an alarm signal is issued and a consumable replacement suggestion is provided.
[0071] In this step, the weight and temperature and humidity data collected by the sensor are combined to conduct a multi-dimensional analysis of the remaining amount of consumables, material type and quality status, consumption trend, and usage time. The weight-based remaining amount analysis includes estimating the remaining amount of consumables by real-time monitoring of weight changes and setting the initial weight of the consumables. Calculate the remaining amount
[0072]
[0073] In the formula, At the point in time The remaining consumables weight at the time of Initial weight of consumables, i.e. the total weight of consumables at the beginning; At time step , It is calculated through the incremental data of the sensor, indicating the weight of the material consumed in a certain period of time; t represents the current point in time.
[0074] When conducting multi-dimensional analysis, the consumption rate of consumables is calculated through the relationship between weight data and time series. The calculation formula is:
[0075] In the formula, The consumption rate of consumables. is the time interval; In time period The amount of consumables consumed.
[0076] In this embodiment, when performing multi-dimensional analysis, it also includes material quality and consumption rate analysis based on temperature and humidity data. By establishing a quality decay model, the relationship between temperature and humidity and consumption rate is established, and the change of consumable consumption rate under different environmental conditions is predicted. The quality decay model of temperature and humidity on consumption rate is:
[0077] In the formula, In time The consumption rate at Baseline consumption rate under normal environmental conditions; The influence coefficient of temperature on consumption rate is obtained through historical data training and is used to characterize the influence of temperature change on consumption rate; In time Temperature at The coefficient of influence of humidity on consumption rate is also obtained through historical data training, which is used to characterize the influence of humidity change on consumption rate; Humidity at time t.
[0078] When conducting multi-dimensional analysis, based on the consumption trend and status evaluation of material types, the consumption trend of different materials is modeled by classifying and labeling the material types, and a comprehensive analysis is conducted on weight, temperature and humidity, time and material type factors to establish a consumption trend model to predict future consumption. When identifying the material type, image recognition and sensor data are combined to identify the material type through an integrated classifier. The consumption rate and consumption trend of each material are modeled separately based on the material type.
[0079] Among them, the consumption rate model established for each material is:
[0080] In the formula, In time The consumption rate at The regression model function of In time Temperature at In time The humidity at that time.
[0081] The consumption trend model established is:
[0082] In the formula, In time The predicted consumption rate at The regression model function of The remaining weight; Temperature; Indicates the current time humidity; Indicates the material type; is a time variable, indicating the timestamp of data collection.
[0083] When the remaining amount of consumables is lower than the set threshold, the system can send out an alarm signal in time to remind the operator to replace the consumables. This function effectively avoids the interruption or failure of printing tasks due to insufficient consumables and ensures the continuity of the production process. Not only can it send out an alarm signal for insufficient remaining amount, but it can also intelligently recommend the time to replace consumables based on historical data analysis and current consumables consumption trends, helping users optimize the use cycle of consumables.
[0084] The 3D printing consumables management method based on image recognition of the present invention captures the image data of the consumables area in real time through the image acquisition device installed in the 3D printer, and processes and analyzes it. Image recognition technology can efficiently identify the remaining amount of consumables, avoiding the inconvenience and errors caused by manual inspection. Through image analysis, the specific remaining amount of consumables can be accurately identified, and the material type of consumables (such as PLA, ABS, etc.) and its quality status (such as surface smoothness, color change, etc.) can be determined. This information can help determine whether there is any abnormality in the material, provide accurate remaining amount data, and avoid excessive consumption and material waste.
[0085] By integrating image data with real-time data from temperature and humidity sensors and weight sensors, the system can comprehensively analyze multiple dimensions such as the remaining amount of consumables, consumption rate, and quality status. This multi-dimensional analysis method helps to achieve more accurate consumable management. Changes in temperature and humidity have a significant impact on the consumption rate of certain materials (such as plastics, resins, etc.). The consumption rate of consumables under current environmental conditions can be analyzed in real time, and possible changes in the future can be predicted. This can further optimize decisions during the use of consumables and ensure a smooth printing process in unstable environments.
[0086] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0087] It should be understood that, although described in a certain order, these steps are not necessarily performed in sequence in the above order. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, a part of the steps of the present embodiment may include a plurality of steps or a plurality of stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a part of the steps or stages in other steps or other steps.
[0088] In a second aspect of the embodiments of the present invention, the present invention further provides a 3D printing consumables management system based on image recognition, comprising: A data acquisition module, used to acquire image data of a consumable area in a 3D printer in real time through an installed image acquisition device; A consumables identification module, used to perform image processing and analysis on the image data to identify the remaining amount, material type and quality status of the consumables; A trend prediction module is used to input the recognition results of the image data into the control system, and predict the consumption trend of the consumables based on the historical usage data, and predict the consumption trend and usage time of the consumables; The multi-dimensional analysis module is used to combine the weight, temperature and humidity data collected by the sensor to conduct multi-dimensional analysis of the remaining amount of consumables, material type and quality status, consumption trend and usage time; The early warning module is used to send out an alarm signal and provide suggestions for replacing consumables when the remaining amount of consumables is lower than the set threshold.
[0089] Through the above detailed steps, the 3D printing consumables management system based on image recognition of the present invention is used to execute the steps of the 3D printing consumables management method based on image recognition in the above embodiment, which will not be repeated here. The 3D printing consumables management method and system based on image recognition of the present invention can play an important role in improving management efficiency, reducing waste, preventing production interruptions, and improving the level of intelligence. The system is not only applicable to the field of 3D printing, but also has a wide range of application prospects, and can effectively promote the modernization and automation of material management.
[0090] According to a third aspect of an embodiment of the present invention, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the method of any one of the above embodiments is implemented.
[0091] The computer device includes a processor and a memory, and may also include: an input system and an output system. The processor, memory, input system and output system may be connected via a bus or other means, and the input system may receive input digital or character information, and generate signal input related to the migration of 3D printing consumables management based on image recognition. The output system may include display devices such as display screens.
[0092] As a non-volatile computer-readable storage medium, the memory can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the program instructions / modules corresponding to the 3D printing consumables management method based on image recognition in the embodiment of the present application. The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of the 3D printing consumables management method based on image recognition, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the local module via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0093] The processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor is generally used to control the overall operation of the computer device. In this embodiment, the processor is used to run the program code stored in the memory or process data. The processors of multiple computer devices of the computer device of this embodiment execute various functional applications and data processing of the server by running non-volatile software programs, instructions and modules stored in the memory, that is, implementing the steps of the 3D printing consumables management method based on image recognition of the above method embodiment.
[0094] It should be understood that, in the absence of conflict, all embodiments, features and advantages described above for the image recognition-based 3D printing consumables management method according to the present invention are also applicable to the image recognition-based 3D printing consumables management and storage medium according to the present invention.
[0095] It will also be appreciated by those skilled in the art that various exemplary logic blocks, modules, circuits and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, a general description has been given to the functions of various schematic components, blocks, modules, circuits and steps. Whether this function is implemented as software or hardware depends on specific applications and the design constraints imposed on the entire system. Those skilled in the art can implement the function in various ways for each specific application, but this implementation decision should not be interpreted as causing a departure from the disclosed scope of the embodiments of the present invention.
[0096] Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. As an example and not by way of limitation, a non-volatile memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. A volatile memory may include a random access memory (RAM), which may act as an external cache memory. As an example and not by way of limitation, RAM may be obtained in a variety of forms, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but are not limited to, these and other suitable types of memory.
[0097] The various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure herein may be implemented or executed using the following components designed to perform the functions herein: a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and / or any other such configuration.
[0098] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0099] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.
[0100] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A 3D printing consumables management method based on image recognition, characterized in that: The method comprises the following steps: The image data of the consumable area in the 3D printer is collected in real time by the installed image acquisition device; Performing image processing and analysis on the image data to identify the remaining amount, material type and quality status of the consumables; The recognition results of the image data are input into the control system, and the consumption trend of the consumables is predicted based on the historical usage data, and the consumption trend and usage time of the consumables are predicted; Combined with the weight, temperature and humidity data collected by the sensor, a multi-dimensional analysis is performed on the remaining amount of consumables, material type and quality status, consumption trend, and usage time. When the remaining amount of consumables is lower than the set threshold, an alarm signal is issued and suggestions for consumable replacement are provided.
2. The 3D printing consumables management method based on image recognition according to claim 1, characterized in that: Real-time acquisition of image data of the consumable area in the 3D printer includes the following steps: Install at least one image acquisition device, the image acquisition device including a high-resolution camera, a depth camera and / or a thermal imaging camera; The camera of the image acquisition device is installed on the 3D printer, and the camera viewing angle covers the consumable area; Program the camera's acquisition frequency and process the acquired image data of the filament area in the 3D printer in real time.
3. The 3D printing consumables management method based on image recognition according to claim 2, characterized in that: Identifying the remaining quantity, material type, and quality status of consumables includes the following steps: Preprocess the collected image data and use threshold segmentation to extract the consumable area; According to the geometric features in the image, the remaining volume of the cylindrical consumables is estimated by measuring the remaining height and diameter, and the remaining amount of the consumables is calculated; Identify the material type of consumables through texture analysis, color analysis and glossiness detection; Use deep learning to detect surface defects and signs of aging in images, evaluate the quality status of consumables, connect the analysis results with the control system, and provide real-time feedback on consumable status and predict consumption trends.
4. The 3D printing consumables management method based on image recognition according to claim 3, characterized in that: Estimate the remaining volume of cylindrical consumables by measuring the remaining height and diameter. When calculating the remaining amount of consumables, estimate the remaining volume by measuring the remaining height h of the cylindrical consumables and the known diameter d. , where the calculation formula for the remaining amount of cylindrical consumables is: In the formula, The remaining material volume indicates the remaining material volume in the consumable area; is the diameter of the filament, indicating the diameter of the 3D printing filament. is the remaining height, that is, the remaining length of the consumables.
5. The 3D printing consumables management method based on image recognition according to claim 1, characterized in that: Threshold segmentation is used to extract the consumable area. Adaptive threshold is used to dynamically set the segmentation threshold according to the illumination change of the image to automatically identify the consumable area. Among them, Otsu based on the grayscale histogram automatically selects the best segmentation point. The calculation formula is: In the formula, is the inter-class variance, which is an indicator used to measure the quality of image segmentation. It means that when an image is divided into two categories, the square of the mean difference between the two categories of images multiplied by their respective weights; and are the weights of the two types of images, indicating the proportion of pixels belonging to the background class and the foreground class in the image under the threshold t; and are the mean grayscale values of the background class and the foreground class, respectively. The background class is the pixels below the threshold t, and the foreground class is the pixels above the threshold t.
6. The 3D printing consumables management method based on image recognition according to claim 5, characterized in that: After identifying the area of the consumables, the remaining amount is estimated by the geometric features in the image. The remaining amount of the consumables is calculated by measuring the shape, size and remaining height of the consumables. The material type is distinguished according to the surface texture, color and glossiness of the consumables. The surface texture analysis extracts texture features through the gray level co-occurrence matrix to identify the surface features of different materials. The calculation formula of the gray level co-occurrence matrix is: In the formula, C is the contrast, which indicates the degree of change between different gray levels in the image. The higher the contrast value, the more drastic the gray level change in the image and the more complex the texture. and is the gray level, and Represent the row and column coordinates in the gray-level co-occurrence matrix, indicating the gray values of two adjacent pixels; is an element in the gray-level co-occurrence matrix, indicating that the gray value is and The probability of a pixel pair occurring.
7. The 3D printing consumables management method based on image recognition according to claim 6, characterized in that: Combined with the weight and temperature and humidity data collected by the sensor, a multi-dimensional analysis is conducted on the remaining amount of consumables, material type and quality status, consumption trend, and usage time. The remaining amount analysis based on weight includes estimating the remaining amount of consumables and setting the initial weight of consumables by monitoring the weight changes in real time. and consumption after each use , calculate the remaining amount : In the formula, Indicates at a point in time The remaining consumables weight at the time of Indicates the initial weight of the consumables, that is, the total weight of the consumables at the beginning; Indicates that at time step The weight of consumables consumed, It is calculated through the incremental data of the sensor, indicating the weight of the material consumed in a certain period of time; t represents the current point in time.
8. The 3D printing consumables management method based on image recognition according to claim 7, characterized in that: When performing multi-dimensional analysis, the consumption rate of consumables is calculated through the relationship between weight data and time series. , the calculation formula is: In the formula, For in time The consumption rate of consumables. is the time interval; For the time period The amount of consumables consumed.
9. The 3D printing consumables management method based on image recognition according to claim 7, characterized in that: When conducting multi-dimensional analysis, it also includes material quality and consumption rate analysis based on temperature and humidity data. By establishing a quality decay model, the relationship between temperature and humidity and consumption rate is established, and the change of consumables consumption rate under different environmental conditions is predicted. Among them, the quality decay model of temperature and humidity on consumption rate is: In the formula, For in time The consumption rate at is the baseline consumption rate under normal environmental conditions; is the influence coefficient of temperature on consumption rate, obtained through historical data training, and used to characterize the influence of temperature change on consumption rate; is the temperature at time t; is the influence coefficient of humidity on consumption rate, which is also obtained through historical data training and is used to characterize the influence of humidity change on consumption rate; is the humidity at time t.
10. A 3D printing consumables management system based on image recognition, characterized in that: The system is used to execute the 3D printing consumables management method based on image recognition according to any one of claims 1 to 9, comprising: A data acquisition module, used to acquire image data of a consumable area in a 3D printer in real time through an installed image acquisition device; A consumables identification module, used to perform image processing and analysis on the image data to identify the remaining amount, material type and quality status of the consumables; A trend prediction module is used to input the recognition results of the image data into the control system, and predict the consumption trend of the consumables based on the historical usage data, and predict the consumption trend and usage time of the consumables; The multi-dimensional analysis module is used to combine the weight, temperature and humidity data collected by the sensor to conduct multi-dimensional analysis of the remaining amount of consumables, material type and quality status, consumption trend and usage time; The early warning module is used to send out an alarm signal and provide suggestions for replacing consumables when the remaining amount of consumables is lower than the set threshold.
Citation Information
Cited By
Printer consumable allowance intelligent prediction method and system
CN121050667A
A method and system for intelligent prediction of printer consumable balance
CN121050667B
Intelligent monitoring method for operation state of civil aviation self-service printing equipment
CN121768119A
