A method, device and storage medium for improving printing quality using deep vision technology

The three-dimensional object model and image processing are obtained through depth vision technology, and combined with feedback control, the inkjet printing parameters are automatically adjusted, which solves the problem of poor printing quality of traditional inkjet printing on uneven surfaces and achieves high-quality, automated and intelligent printing. printing process.

CN117774537BActive Publication Date: 2024-08-27GUANGZHOU SENYANG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311799518.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2024-08-27
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

It is difficult for traditional inkjet printers to ensure print quality when dealing with uneven surfaces, especially on special-shaped objects. Manual adjustment of nozzle parameters and image processing is required, resulting in poor printing results.

Method used

Depth vision technology is used to obtain the three-dimensional model of the object through a depth camera or sensor. It combines image processing and feedback control to automatically adjust nozzle parameters and printing waveforms, optimize inkjet position, intensity and angle in real time, and adapt to different surface characteristics.

Benefits of technology

It achieves high-quality printing, reduces image distortion and distortion, adapts to different materials and surfaces, improves printing accuracy and production efficiency, and realizes an automated and intelligent printing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117774537B
    Figure CN117774537B
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for improving printing quality using deep vision technology, and relates to the field of inkjet printing technology; the method comprises the following steps: S1: deep vision data acquisition, S2: image processing and distortion correction, S3: printing parameter optimization, S4: printing waveform adjustment, S5: real-time feedback and control, and S6: experimental verification and optimization; the present invention ensures high-quality surface texture of printed objects and reduces the possibility of degradation in printing quality through three-dimensional reconstruction of objects and real-time parameter adjustment, and eliminates image distortion and distortion that may occur when printing on different printing planes through distortion correction technology, thereby improving the accuracy of printed objects; the method can also adapt to different materials and different printing surfaces, thereby achieving high-quality printing in various application scenarios, and the method is automated, does not require manual intervention, and is real-time, and can be adjusted in real time during the printing process, thereby improving production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of inkjet printing technology, and specifically to a method, device and storage medium for improving printing quality using a depth vision technology. Background Art

[0002] The relative position between the nozzle and the printed object of a traditional inkjet printer has a great influence on the printing quality, especially on uneven surfaces. Different printing parameters need to be used according to different heights, such as modifying the amplitude of the nozzle drive waveform, the rising and falling slopes, and the shape of the waveform. On the other hand, if the geometry of the printing surface is known in advance, the printed image can also be pre-processed to achieve the desired printing effect.

[0003] For example, if the printing surface is a bottle, for special-shaped bottles that are narrow at the top and wide at the bottom, the image can be cropped and adjusted appropriately, and the high-jet waveform can be switched at the same time, so that the distance between the bottleneck and the nozzle will become larger. Summary of the invention

[0004] The purpose of the present invention is to provide a method, device and storage medium for improving printing quality based on deep vision technology, so as to provide the printing industry with higher quality and more flexible printing solutions suitable for various complex printing needs.

[0005] The purpose of the present invention can be achieved through the following technical solutions:

[0006] The present application provides a method for improving printing quality using a deep vision technology, comprising the following steps:

[0007] S1: deep vision data acquisition, using a depth camera or other deep vision sensor to scan and 3D reconstruct the object to be printed, and using 3D reconstruction software or algorithms to process the collected data to generate an accurate 3D model of the object, including its surface curvature and geometry;

[0008] S2: Image processing and distortion correction: combining the image to be printed with the 3D object model, performing distortion correction through image processing algorithms, adapting to printing surfaces of different shapes, and developing distortion correction algorithms suitable for specific printing surfaces;

[0009] S3: Printing parameter optimization: automatically adjust printing parameters according to the geometric information of the 3D model and the material characteristics of the object surface, formulate a printing parameter optimization plan, and design an algorithm or system to automatically adjust printing parameters according to different surface materials and geometric forms;

[0010] S4: Print waveform adjustment: Based on the shape and surface characteristics of the object, the print waveform is adjusted in real time or in advance. The spray position, force and angle of the nozzle are adjusted in real time according to the shape of the object. An adaptive print waveform control system is designed to dynamically adjust the working mode of the nozzle to adapt to a variety of printing surfaces.

[0011] S5: Real-time feedback and control. During the printing process, the depth vision data is continuously collected, real-time data collection and feedback are provided, and the printing parameters and waveforms are adjusted in real time. A feedback control system is developed to adjust the printing parameters and waveforms in real time according to the depth vision data and real-time printing effects.

[0012] S6: Experimental verification and optimization, conduct experimental verification, test different printing surfaces, shapes and materials, evaluate the effectiveness of the method, and improve the adaptability and printing quality by continuously optimizing the algorithm and system.

[0013] Preferably, according to the three-dimensional reconstruction described in step S1, the depth information of the object surface can be obtained by a depth camera or other depth vision sensor, and the sensor measures the time difference of light from the camera to the object surface or the offset of light to obtain the depth data of the object;

[0014] The depth image collected by the depth vision sensor is used to scan and reconstruct the object using 3D reconstruction software or algorithm, and the depth image is converted into point cloud data. The coordinates of each point represent a spatial point on the surface of the object. The point cloud data is then used to generate a surface mesh to form the geometric shape of the object. Finally, the color image is matched with the surface mesh to generate a 3D model of the object with a texture map.

[0015] Generating accurate 3D models of objects has many applications in printing systems. 3D models of objects are used for computer-aided inspection and analysis.

[0016] During the process of deep vision data acquisition and 3D reconstruction, data processing and accuracy control are performed, and the reconstruction results are post-processed and repaired.

[0017] Preferably, according to the image processing and distortion correction described in step S2, it is first necessary to obtain the image to be printed, perform distortion detection and analysis on the obtained image, and determine the type of distortion existing in the image;

[0018] According to the shape and texture information of the printing surface, a corresponding three-dimensional object model is established, the acquired image is mapped onto the three-dimensional object model, and distortion correction is performed. According to different types of distortion, distortion correction algorithms and technologies are used for correction;

[0019] On the basis of distortion correction, the image is further processed and optimized, and the image after distortion correction and image processing optimization is sent to the printing device for output.

[0020] Preferably, according to the printing parameter optimization described in step S3, the geometric information of the three-dimensional model and the material property data of the object surface are collected, and the collected data are processed and modeled to generate corresponding geometric models and material properties;

[0021] According to the established geometric model and material properties, select the optimized printing parameters and set the range and step size for each parameter;

[0022] The particle swarm algorithm is used to design the printing parameter optimization algorithm, and the optimal parameter combination is found by searching and optimizing within the parameter range.

[0023] Define evaluation functions or indicators, which are related to printing parameters and are used to distinguish differences in different surface materials and geometric forms;

[0024] The designed optimization algorithm is used to search and adjust parameters according to the feedback of the evaluation function. In each iteration, the advantages and disadvantages of different parameter combinations are compared by calculating the evaluation function value, and the current best solution is updated.

[0025] Preferably, according to the printing waveform adjustment described in step S4, an adaptive control algorithm is designed to adjust the working mode of the nozzle based on real-time feedback information, and according to the surface characteristics, combined with the shape data of the object and the printing requirements, the printing waveform parameters, inkjet position, force and angle are dynamically adjusted through the closed-loop feedback mechanism of the control system, and then the printing waveform is adjusted according to the surface characteristics and printing requirements, and the working mode of the nozzle is dynamically adjusted by changing the waveform parameters;

[0026] The closed-loop feedback mechanism is used to adjust the working mode of the sprinkler according to the real-time feedback information, monitor the system output in real time and compare it with the expected value, and then make adjustments based on the difference to make the system output close to the expected value. The error signal is calculated based on the mean square error to quantify the deviation between the actual output and the expected value, and the signal is used to adjust the control parameters to make the system output gradually approach the expected value;

[0027] The mean square error is: MSE = (1 / n) * Σ (y-y_hat) 2 ;

[0028] Among them, n is the number of samples, y is the actual output value, and y_hat is the expected output value.

[0029] Preferably, according to the development feedback control system described in step S5, a feedback control algorithm is designed and implemented to compare the depth vision data with the expected value, calculate the error signal, and adjust the printing parameters and waveform according to the PID control error signal.

[0030] The PID control algorithm is: output value = Kp*deviation + Ki*accumulated deviation + Kd*deviation change rate;

[0031] Among them, the output value is the adjusted printing parameter or waveform, the deviation is the current error, that is, the difference between the depth vision data and the expected value, the cumulative deviation is the cumulative value of the historical error, which is used to eliminate the system steady-state error, the deviation change rate is the change rate of the current error, which is used to predict the future error change trend, and Kp, Ki and Kd are the adjustment parameters of the PID controller, which are used to balance the influence of proportional, integral and differential terms.

[0032] Preferably, the continuous optimization algorithm and system according to step S6 includes algorithm parameter adjustment, and the parameters in the algorithm are adjusted according to the results of experimental verification and data analysis;

[0033] Algorithm improvement: improve the feedback control algorithm based on the results of experimental verification and data analysis;

[0034] Data preprocessing, during the deep vision data acquisition stage, data preprocessing is performed;

[0035] Real-time feedback mechanism, optimize the real-time feedback mechanism, and ensure the accuracy and timeliness of real-time feedback information;

[0036] Improvement of system hardware and software: Improve the system hardware and software based on the results of experimental verification and data analysis;

[0037] Automation and intelligence: the introduction of automation and intelligence technologies enables the printing system to automatically adapt to different printing surfaces, shapes and materials;

[0038] Experimental verification and iterative optimization: Continuously conduct experimental verification and perform iterative optimization based on the results.

[0039] Preferably, a method for improving printing quality using deep vision technology also includes a mobile platform and a printer, wherein the mobile platform is bidirectionally connected to the printer, and the mobile platform includes a pitch angle control mechanism, a Z-axis overall lifting mechanism, a flip angle control mechanism, a lidar / RGBD camera, a gyroscope, a nozzle and ultrasonic waves, wherein the lidar / RGBD camera scans the printing surface through a camera acquisition surface, and the nozzle sprays ink on the printing surface.

[0040] A device for improving print quality using deep vision technology includes a printer, at least one processor, at least one memory, and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the above-described method is implemented.

[0041] A storage medium stores computer program instructions, which implement the above-mentioned method when the computer program instructions are executed by a processor.

[0042] The beneficial effects of the present invention are:

[0043] (1) High-quality printing: through 3D reconstruction of the object and real-time parameter adjustment, the high-quality surface texture of the printed object is ensured, reducing the possibility of degradation in printing quality. Through distortion correction technology, the image distortion and distortion that may occur when printing on different printing planes (such as the neck of a bottle) are eliminated, thus improving the accuracy of the printed object;

[0044] (2) This method can adapt to different materials and different printing surfaces, thereby achieving high-quality printing in various application scenarios. The method is automated and does not require manual intervention. It is also real-time and can be adjusted in real time during the printing process, thereby improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] For better understanding and implementation, the technical solution of the present application is described in detail below with reference to the accompanying drawings.

[0046] Figure 1 A flow chart of a method for improving printing quality using a depth vision technology provided in Example 1 of the present application;

[0047] Figure 2 A system block diagram of a method for improving print quality using deep vision technology provided in Example 1 of the present application. DETAILED DESCRIPTION

[0048] In order to further explain the technical means and effects taken by the present invention to achieve the predetermined invention purpose, exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of methods and systems consistent with some aspects of the present application as detailed in the attached claims.

[0049] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0050] The specific implementation methods, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0051] Example 1

[0052] See also Figure 1-Figure 2 The present embodiment provides a method, device and storage medium for improving printing quality using deep vision technology, which provides a higher quality and more flexible printing solution for the printing industry and is suitable for various complex printing needs.

[0053] The present invention provides a method for improving printing quality using deep vision technology, comprising the following steps:

[0054] S1: deep vision data acquisition, using a depth camera or other deep vision sensor to scan and 3D reconstruct the object to be printed, and using 3D reconstruction software or algorithms to process the collected data to generate an accurate 3D model of the object, including its surface curvature and geometry;

[0055] S2: Image processing and distortion correction: Combine the image to be printed with the 3D object model, perform distortion correction through image processing algorithms to adapt to printing surfaces of different shapes, and develop distortion correction algorithms suitable for specific printing surfaces to ensure that the image will not be distorted or deformed during the printing process;

[0056] S3: Printing parameter optimization: automatically adjust the printing parameters according to the geometric information of the 3D model and the material characteristics of the object surface, formulate a printing parameter optimization plan, including nozzle speed, temperature, etc., and design an algorithm or system that can automatically adjust the printing parameters according to different surface materials and geometric forms to ensure the high-quality surface texture of the printed object;

[0057] S4: Print waveform adjustment, based on the shape and surface characteristics of the object, the print waveform is adjusted in real time or in advance, the spray position, strength and angle of the nozzle are adjusted in real time according to the shape of the object, and an adaptive print waveform control system is designed to dynamically adjust the working mode of the nozzle to adapt to a variety of printing surfaces. This can include adjusting the spray intensity and position of the inkjet to adapt to different printing surfaces and materials;

[0058] S5: Real-time feedback and control. During the printing process, the deep visual data is continuously collected to achieve real-time data collection and feedback, and the printing parameters and waveforms are adjusted in real time. A feedback control system is developed to adjust the printing parameters and waveforms in real time according to the deep visual data and real-time printing effects to ensure that the printing quality is always at a high level.

[0059] S6: Experimental verification and optimization, conduct experimental verification, test different printing surfaces, shapes and materials, evaluate the effectiveness of the method, and improve the adaptability and printing quality by continuously optimizing the algorithm and system to ensure the applicability and reliability of the method in different scenarios.

[0060] In this embodiment, according to the three-dimensional reconstruction described in step S1, the depth information of the object surface can be obtained by a depth camera or other depth vision sensor. The sensor measures the time difference or the offset of the light from the camera to the object surface by sending infrared light, structured light or time of flight, thereby obtaining the depth data of the object;

[0061] The depth image collected by the depth vision sensor is used to scan and reconstruct the object using 3D reconstruction software or algorithm. The reconstruction process includes steps such as point cloud generation, surface mesh generation and texture mapping. First, the depth image is converted into point cloud data. The coordinates of each point represent a spatial point on the surface of the object. Then, the point cloud data is used to generate a surface mesh to form the geometric shape of the object. Finally, the color image is matched with the surface mesh to generate a 3D model of the object with texture mapping.

[0062] Generating accurate 3D models of objects can have many applications in printing systems. For example, it can be used for virtual simulation and visualization to help users preview and adjust printing results. It can also be used for tasks such as model alignment, component matching, and assembly verification in automated design and manufacturing processes. In addition, 3D models of objects are also used for computer-aided inspection and analysis, such as dimensional measurement and surface defect detection.

[0063] In the process of deep vision data acquisition and 3D reconstruction, attention should be paid to data processing and accuracy control. This includes steps such as removing noise, filling holes, smoothing point cloud data, and post-processing and repairing the reconstruction results. At the same time, factors such as sensor accuracy and sampling density should also be considered to ensure that the generated 3D model of the object has sufficient accuracy and details.

[0064] Through deep vision data acquisition and 3D reconstruction technology, an accurate 3D model of an object can be obtained, including its surface curvature and geometry. This provides the printing system with more precise input data, which can optimize printing parameters, improve printing quality, and help realize applications such as personalized customization and rapid prototyping.

[0065] In this embodiment, according to the image processing and distortion correction described in step S2, it is first necessary to obtain the image to be printed, perform distortion detection and analysis on the obtained image, and determine the type of distortion in the image, such as radial distortion, tangential distortion, etc., which can be achieved through a specific algorithm, model or calibration method;

[0066] According to the shape and texture information of the printing surface, a corresponding 3D object model is established, the acquired image is mapped onto the 3D object model, and distortion correction is performed. According to the different types of distortion, distortion correction algorithms and techniques are used for correction, such as camera calibration, geometric transformation, texture mapping, etc. The goal is to make the image maintain accurate shape and texture when projected onto the 3D surface to adapt to printing surfaces of different shapes;

[0067] On the basis of distortion correction, the image is further processed and optimized, such as enhancing contrast, adjusting color balance, removing noise, etc. These processing operations are aimed at improving image quality to obtain better printing effects. The image after distortion correction and image processing optimization can be sent to the printing device for output. During the printing process, ensure that the shape of the printing surface matches the 3D object model, so as to ensure that the final printing result will not be distorted or deformed.

[0068] Image processing and distortion correction technology can combine the image to be printed with the three-dimensional object model and adapt to printing surfaces of different shapes, ensuring that the image will not be distorted or deformed during the printing process and achieving the expected printing effect.

[0069] In this embodiment, according to the printing parameter optimization described in step S3, the geometric information of the three-dimensional model and the material property data of the object surface are collected, and the collected data are processed and modeled to generate the corresponding geometric model and material properties;

[0070] According to the established geometric model and material properties, select the optimized printing parameters, such as nozzle speed, temperature, etc., and set the range and step size for each parameter to facilitate searching in the subsequent optimization process;

[0071] The particle swarm algorithm is used to design the printing parameter optimization algorithm, which can search and optimize within the parameter range to find the optimal parameter combination. When designing the algorithm, the correlation and constraints between the parameters need to be considered;

[0072] Define an evaluation function or metric to measure the surface texture of the print quality. The function should be based on quantitative or qualitative indicators of visual effect, smoothness, detail retention, etc. The evaluation function should be related to the printing parameters and be able to distinguish the differences between different surface materials and geometric forms;

[0073] The designed optimization algorithm is used to search and adjust parameters according to the feedback of the evaluation function. In each iteration, the advantages and disadvantages of different parameter combinations are compared by calculating the evaluation function value, and the current best solution is updated, and randomness or adaptive strategies are added to improve the search efficiency.

[0074] Design an algorithm or system that can automatically adjust printing parameters according to different surface materials and geometric shapes. The algorithm or system automatically optimizes parameters such as nozzle speed and temperature according to specific requirements and constraints to ensure high-quality surface texture of the printed object.

[0075] In this embodiment, according to the printing waveform adjustment described in step S4, an adaptive control algorithm is designed to adjust the working mode of the nozzle based on real-time feedback information. According to the surface characteristics, combined with the shape data of the object and the printing requirements, the printing waveform parameters, inkjet position, force and angle are dynamically adjusted through the closed-loop feedback mechanism of the control system. Then, according to the surface characteristics and printing requirements, the printing waveform is adjusted. By changing the waveform parameters, such as the jetting intensity, position and angle of the inkjet, the working mode of the nozzle is dynamically adjusted to adapt to different printing surfaces and materials.

[0076] The closed-loop feedback mechanism is used to adjust the working mode of the sprinkler according to the real-time feedback information, monitor the system output in real time and compare it with the expected value, and then make adjustments based on the difference to make the system output close to the expected value. The error signal is calculated based on the mean square error to quantify the deviation between the actual output and the expected value, and the signal is used to adjust the control parameters to make the system output gradually approach the expected value;

[0077] The mean square error is: MSE = (1 / n) * Σ (y-y_hat) 2 ;

[0078] Among them, n is the number of samples, y is the actual output value, and y_hat is the expected output value.

[0079] In this embodiment, according to the development feedback control system described in step S5, a feedback control algorithm is designed and implemented to compare the depth vision data with the expected value, calculate the error signal, and adjust the printing parameters and waveform according to the PID control error signal.

[0080] The PID control algorithm is: output value = Kp*deviation + Ki*accumulated deviation + Kd*deviation change rate;

[0081] Among them, the output value is the adjusted printing parameter or waveform, the deviation is the current error, that is, the difference between the depth vision data and the expected value, the cumulative deviation is the cumulative value of the historical error, which is used to eliminate the system steady-state error, the deviation change rate is the change rate of the current error, which is used to predict the future error change trend, and Kp, Ki and Kd are the adjustment parameters of the PID controller, which are used to balance the influence of proportional, integral and differential terms.

[0082] In practical applications, the PID control algorithm needs to be improved and adjusted to adapt to specific printing requirements and real-time feedback information. For example, strategies such as saturation limitation and integral separation can be introduced to optimize the performance of the PID control algorithm. By designing and implementing the PID control algorithm and comparing the deep vision data with the expected value and calculating the error signal, the printing parameters and waveform can be dynamically adjusted to improve the printing quality and meet different printing requirements.

[0083] In this embodiment, the continuous optimization algorithm and system described in step S6 include algorithm parameter adjustment, and according to the results of experimental verification and data analysis, the parameters in the algorithm are adjusted, for example, the proportional coefficient, integral coefficient and differential coefficient in the PID control algorithm are optimized to obtain better control performance and adaptability;

[0084] Algorithm improvement: Based on the results of experimental verification and data analysis, the feedback control algorithm can be improved; more complex control strategies or new algorithm models can be introduced to improve the adaptive ability and printing quality;

[0085] Data preprocessing: During the deep vision data collection phase, data preprocessing is performed to improve data quality and accuracy, and improve data reliability and stability;

[0086] Real-time feedback mechanism: optimize the real-time feedback mechanism to ensure the accuracy and timeliness of real-time feedback information, involving optimization of sensor selection, sampling frequency setting, data transmission and processing speed, etc.;

[0087] Improvement of system hardware and software: Based on the results of experimental verification and data analysis, improve the system hardware and software, for example, upgrade the printhead equipment, improve the inkjet control circuit, optimize the system response speed and stability, etc., to improve the performance of the entire system;

[0088] Automation and intelligence: Introducing automation and intelligence technologies to enable the printing system to automatically adapt to different printing surfaces, shapes and materials. For example, machine learning algorithms are used to analyze and process real-time feedback information to achieve more accurate printing parameter adjustments.

[0089] Experimental verification and iterative optimization: Continuously conduct experimental verification and perform iterative optimization based on the results. By continuously improving algorithms and systems, we can solve problems encountered in practical applications and gradually improve printing quality and adaptability.

[0090] Continuous optimization of algorithms and systems is a gradual process. Based on experimental verification and data analysis, the printing quality and adaptive ability are improved by adjusting parameters, improving algorithms and improving systems. This requires continuous efforts and practice to ensure the applicability and reliability of the method in different scenarios.

[0091] In this embodiment, a mobile platform and a printer are also included. The mobile platform is bidirectionally connected to the printer. The mobile platform includes a pitch angle control mechanism, a Z-axis overall lifting mechanism, a flip angle control mechanism, a lidar / RGBD camera, a gyroscope, a nozzle and ultrasonic waves. The lidar / RGBD camera scans the printing surface through the camera acquisition surface, and the nozzle sprays ink on the printing surface.

[0092] A device for improving print quality using deep vision technology includes a printer, at least one processor, at least one memory, and computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the above-described method is implemented.

[0093] A storage medium stores computer program instructions, which implement the above-mentioned method when the computer program instructions are executed by a processor.

[0094] Example 2

[0095] In this embodiment, in the textile printing scenario, depth vision technology is applied to textile printing to improve the printing quality and accuracy and achieve a clearer and higher-quality printing effect.

[0096] A method for improving printing quality using deep vision technology, comprising:

[0097] Deep vision data acquisition: using a depth camera or other depth vision sensors to collect real-time 3D depth images of the textiles to be printed. These deep vision data can capture the shape, texture and detail information of the textile surface;

[0098] Data preprocessing and analysis: preprocessing and analyzing the collected deep vision data. For example, operations such as noise removal, filtering, and data enhancement can be performed to improve data quality and accuracy;

[0099] Textile feature extraction: Extract and analyze textile features based on deep visual data. Obtain more accurate textile description information by identifying and modeling the texture, pattern and other features of textiles;

[0100] Printing parameter optimization: based on the identification and modeling results of textile features, the printing parameters of the printing are optimized. For example, the parameters such as inkjet position, angle, inkjet force, etc. are adjusted to improve the accuracy and clarity of the printing;

[0101] Waveform parameter optimization: optimize the printing waveform parameters according to the identification and modeling results of textile features. By adjusting the parameters such as the jetting intensity, position and angle of the inkjet, the working mode of the nozzle can be dynamically adjusted to adapt to different textile materials and pattern requirements;

[0102] Real-time feedback control uses real-time deep vision data combined with feedback control algorithms to make real-time adjustments to printing parameters and waveforms, continuously monitor printing effects, and dynamically adjust printing parameters and waveforms based on real-time feedback information to keep printing quality at a high level.

[0103] Iterative optimization and test verification, through experimental verification and testing, evaluate the effectiveness of the method and identify potential problems, perform iterative optimization based on the verification results, and continuously improve algorithms and systems to improve the quality and reliability of textile printing.

[0104] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A method for improving printing quality using deep vision technology, characterized in that: The steps include: S1: deep vision data acquisition, using a depth camera or other deep vision sensor to scan and 3D reconstruct the object to be printed, and using 3D reconstruction software or algorithms to process the collected data to generate an accurate 3D model of the object, including its surface curvature and geometry; S2: Image processing and distortion correction: combining the image to be printed with the 3D object model, performing distortion correction through image processing algorithms, adapting to printing surfaces of different shapes, and developing distortion correction algorithms suitable for specific printing surfaces; S3: Printing parameter optimization: automatically adjust printing parameters according to the geometric information of the 3D model and the material characteristics of the object surface, formulate a printing parameter optimization plan, and design an algorithm or system to automatically adjust printing parameters according to different surface materials and geometric forms; S4: Print waveform adjustment: Based on the shape and surface characteristics of the object, the print waveform is adjusted in real time or in advance. The spray position, force and angle of the nozzle are adjusted in real time according to the shape of the object. An adaptive print waveform control system is designed to dynamically adjust the working mode of the nozzle to adapt to a variety of printing surfaces. S5: Real-time feedback and control. During the printing process, the depth vision data is continuously collected, real-time data collection and feedback are provided, and the printing parameters and waveforms are adjusted in real time. A feedback control system is developed to adjust the printing parameters and waveforms in real time according to the depth vision data and real-time printing effects. S6: Experimental verification and optimization, conduct experimental verification, test different printing surfaces, shapes and materials, evaluate the effectiveness of the method, and improve the adaptability and printing quality by continuously optimizing the algorithm and system; According to the printing waveform adjustment described in step S4, an adaptive control algorithm is designed to adjust the working mode of the nozzle based on real-time feedback information. According to the surface characteristics, combined with the shape data of the object and the printing requirements, the printing waveform parameters, inkjet position, force and angle are dynamically adjusted through the closed-loop feedback mechanism of the control system. Then, according to the surface characteristics and printing requirements, the printing waveform is adjusted. By changing the waveform parameters, the working mode of the nozzle is dynamically adjusted; The closed-loop feedback mechanism is used to adjust the working mode of the sprinkler according to the real-time feedback information, monitor the system output in real time and compare it with the expected value, and then make adjustments based on the difference to make the system output close to the expected value. The error signal is calculated based on the mean square error to quantify the deviation between the actual output and the expected value, and the signal is used to adjust the control parameters to make the system output gradually approach the expected value; The mean square error is: MSE = (1 / n) * Σ(y - y_hat)2; Where n is the number of samples, y is the actual output value, and y_hat is the expected output value; Developing a feedback control system according to step S5, designing and implementing a feedback control algorithm, comparing the depth vision data with the expected value, calculating an error signal, and adjusting the printing parameters and waveform according to the PID control error signal, The PID control algorithm is: output value = Kp * deviation + Ki * cumulative deviation + Kd * deviation change rate; Among them, the output value is the adjusted printing parameter or waveform, the deviation is the current error, that is, the difference between the depth vision data and the expected value, the cumulative deviation is the cumulative value of the historical error, which is used to eliminate the system steady-state error, the deviation change rate is the change rate of the current error, which is used to predict the future error change trend, and Kp, Ki and Kd are the adjustment parameters of the PID controller, which are used to balance the influence of proportional, integral and differential terms.

2. The method for improving printing quality using deep vision technology according to claim 1, characterized in that: According to the three-dimensional reconstruction described in step S1, the depth information of the object surface can be obtained by a depth camera or other depth vision sensor, and the sensor measures the time difference of light from the camera to the object surface or the offset of light to obtain the depth data of the object; The depth image collected by the depth vision sensor is used to scan and reconstruct the object using 3D reconstruction software or algorithm, and the depth image is converted into point cloud data. The coordinates of each point represent a spatial point on the surface of the object. The point cloud data is then used to generate a surface mesh to form the geometric shape of the object. Finally, the color image is matched with the surface mesh to generate a 3D model of the object with a texture map. Generating accurate 3D models of objects has many applications in printing systems. 3D models of objects are used for computer-aided inspection and analysis. During the process of deep vision data acquisition and 3D reconstruction, data processing and accuracy control are performed, and the reconstruction results are post-processed and repaired.

3. The method for improving printing quality using deep vision technology according to claim 1, characterized in that: According to the image processing and distortion correction described in step S2, it is first necessary to obtain the image to be printed, perform distortion detection and analysis on the obtained image, and determine the type of distortion existing in the image; According to the shape and texture information of the printing surface, a corresponding three-dimensional object model is established, the acquired image is mapped onto the three-dimensional object model, and distortion correction is performed. According to different types of distortion, distortion correction algorithms and technologies are used for correction; On the basis of distortion correction, the image is further processed and optimized, and the image after distortion correction and image processing optimization is sent to the printing device for output.

4. The method for improving printing quality using deep vision technology according to claim 1, characterized in that: According to the printing parameter optimization described in step S3, geometric information of the three-dimensional model and material property data of the object surface are collected, and the collected data are processed and modeled to generate corresponding geometric models and material properties; According to the established geometric model and material properties, select the optimized printing parameters and set the range and step size for each parameter; The particle swarm algorithm is used to design the printing parameter optimization algorithm, and the optimal parameter combination is found by searching and optimizing within the parameter range. Define evaluation functions or indicators, which are related to printing parameters and are used to distinguish differences in different surface materials and geometric forms; The designed optimization algorithm is used to search and adjust parameters according to the feedback of the evaluation function. In each iteration, the advantages and disadvantages of different parameter combinations are compared by calculating the evaluation function value, and the current best solution is updated.

5. The method for improving printing quality using deep vision technology according to claim 1, characterized in that: Continuously optimizing the algorithm and system according to step S6, including adjusting algorithm parameters, adjusting the parameters in the algorithm according to the results of experimental verification and data analysis; Algorithm improvement: improve the feedback control algorithm based on the results of experimental verification and data analysis; Data preprocessing, during the deep vision data acquisition stage, data preprocessing is performed; Real-time feedback mechanism, optimize the real-time feedback mechanism, and ensure the accuracy and timeliness of real-time feedback information; Improvement of system hardware and software: Improve the system hardware and software based on the results of experimental verification and data analysis; Automation and intelligence: the introduction of automation and intelligence technologies enables the printing system to automatically adapt to different printing surfaces, shapes and materials; Experimental verification and iterative optimization: Continuously conduct experimental verification and perform iterative optimization based on the results.

6. The method for improving printing quality using deep vision technology according to claim 1, characterized in that: It also includes a mobile platform and a printer, the mobile platform is bidirectionally connected to the printer, the mobile platform includes a pitch angle control mechanism, a Z-axis overall lifting mechanism, a flip angle control mechanism, a laser radar / RGBD camera, a gyroscope, a nozzle and ultrasonic waves, the laser radar / RGBD camera scans the printing surface through the camera acquisition surface, and the nozzle sprays ink on the printing surface.

7. A device for improving print quality using deep vision technology, characterized in that: The method comprises at least one processor, at least one memory and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method according to any one of claims 1 to 6 is implemented.

8. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method described in any one of claims 1 to 6 is implemented.