3D printing auxiliary method, system and application based on mixed reality technology
Through the 3D printing assisted method of mixed reality technology, depth image data is used for three-dimensional reconstruction and virtual model comparison, which solves the problem of difficult precision control in the concrete 3D printing process, improves the accuracy and efficiency of printed products, and is suitable for harsh environments. Remote monitoring in the environment.
Patent Information
- Application Number
- CN202111250547.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The concrete 3D printing process has difficulties in forming quality control. Operators cannot observe the deformation of the printed parts at close range, resulting in unstable preparation accuracy and low efficiency.
Using a 3D printing auxiliary method based on mixed reality technology, by generating a virtual model and using depth image data to perform three-dimensional reconstruction, the virtual model and the reconstructed shape can be compared in real time to obtain operational auxiliary information and achieve remote monitoring and parameter adjustment.
It improves the accuracy of printed products, corrects printing errors in a timely manner, and improves printing efficiency. It is especially suitable for long-distance monitoring and strategy adjustment in harsh environments.
Smart Images

Figure CN114022530B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field related to 3D printing, and more specifically, relates to a 3D printing auxiliary method, system and application based on mixed reality technology. Background Art
[0002] Concrete 3D printing is a construction method that integrates multiple disciplines based on data models. Due to the fluidity of concrete itself, it is very difficult to control the accuracy of the printed parts. Therefore, the current concrete 3D printing process always has problems with forming quality. In the actual processing process, the operator cannot observe the deformation of the printed parts closely, and it is difficult to make process adjustments in time, which is the main obstacle to improving the process quality. In the current concrete 3D printing workflow, some operation processes need to rely on the operator's experience and have high requirements on the operator's professional level. The preparation accuracy is completely removed from the operator, the preparation accuracy is unstable, and the preparation efficiency is low. Summary of the invention
[0003] In response to the above defects or improvement needs of the prior art, the present invention provides a 3D printing auxiliary method, system and application based on mixed reality technology, which can intuitively view the current printing status on site from a long distance, promptly discover printing errors and correct them in time, making the printed products more accurate and improving printing efficiency. It is particularly suitable for long-distance monitoring of printing status and adjustment of printing strategies in harsh environments.
[0004] To achieve the above-mentioned purpose, according to one aspect of the present invention, a 3D printing auxiliary method based on mixed reality technology is provided, the method comprising: S1: generating a virtual model of a workpiece to be printed according to a two-dimensional or three-dimensional graphic of the workpiece to be printed; S2: using a camera to obtain on-site two-dimensional image data and depth image data during the 3D printing process of the workpiece to be printed; S3: using the depth image data to generate a point cloud, matching the point cloud according to a point cloud matching algorithm of a random consistency four-point set and a global search strategy, and setting a threshold to filter out invalid matching points, so as to achieve three-dimensional reconstruction of the workpiece to be printed and generate a three-dimensional reconstruction configuration; S4: comparing the three-dimensional reconstruction configuration with the virtual model in real time to obtain operation auxiliary information, the operation auxiliary information including processing parameters, processing progress, and geometric errors of the print work currently being processed; S5: importing the virtual model and the operation auxiliary information into a mixed reality scene and visually superimposing and displaying the virtual model and the three-dimensional reconstruction configuration, and the operator changes the processing parameters according to the operation auxiliary information until the error value between the three-dimensional reconstruction configuration and the virtual model is within a preset range.
[0005] Preferably, in step S1, when the two-dimensional graphics of the part to be printed are used to generate the virtual model of the part to be printed, the process includes: converting the two-dimensional graphics into an STL neutral file, obtaining all the face, vertex and boundary information in the file, simplifying the information using a classification algorithm, and then performing coordinate conversion on the vertex information, extending and trimming the faces, and performing coloring and rendering to generate the virtual model.
[0006] Preferably, the geometric error includes geometric coincidence, and the geometric coincidence is obtained in the following manner:
[0007] The virtual model is aligned with the bottom surface of the three-dimensional reconstruction configuration, and the three-dimensional reconstruction configuration is divided into small volumes of volume ΔS. Then the geometric coincidence Q G for:
[0008]
[0009] Where n is the number of tiny volumes contained in the virtual model, d k is the vertical distance between the grid occupied by the 3D reconstructed configuration surface and the surface of the virtual model, v1 is the volume of the 3D reconstructed model of the component, and v2 is the volume of the virtual model.
[0010] Preferably, the geometric errors also include line profile, surface profile, straightness, roundness, cylindricity, flatness, inclination, perpendicularity and parallelism.
[0011] Preferably, in step S5, an image natural feature recognition, tracking and registration algorithm is used to achieve accurate positioning of the virtual model.
[0012] Preferably, the following method is used to achieve precise positioning of the virtual model: calibrate the camera to obtain the camera's intrinsic and extrinsic parameters, and the projection matrix of the coordinate system of the two-dimensional image to the three-dimensional world coordinate system; use an image natural feature point detection algorithm to perform fast feature detection on the two-dimensional image data, and apply a description operator to the features obtained by the fast feature detection to perform feature description to obtain natural features; match the feature points in the natural features with the feature points in the mixed reality unit; use the projection matrix to obtain the three-dimensional world coordinates of the feature points in the natural features; solve the three-dimensional world coordinates through the virtual-reality superposition algorithm of the mixed reality technology and use the solution result as the benchmark of the virtual model, and the virtual model is quickly positioned based on the benchmark.
[0013] According to another aspect of the present invention, a 3D printing assistance system based on mixed reality technology is provided, the system comprising: a model generation unit, for generating a virtual model of a workpiece to be printed according to a two-dimensional or three-dimensional graphic of the workpiece to be printed; an image acquisition unit, for using a camera to acquire on-site two-dimensional image data and depth image data during 3D printing of the workpiece to be printed; a model reconstruction unit, for generating a point cloud using the depth image data, and for performing three-dimensional reconstruction of the workpiece to be printed according to a point cloud matching algorithm of a random consistency four-point set and a global search strategy to generate a three-dimensional reconstruction configuration; a comparison unit, for comparing the three-dimensional reconstruction configuration with the virtual model in real time to obtain operation assistance information, the operation assistance information comprising current processing parameters, processing progress, and geometric errors; a display and processing unit, for importing the virtual model and the operation assistance information into a mixed reality scene and visually superimposing and displaying the virtual model and the three-dimensional reconstruction configuration, wherein the operator changes the processing parameters according to the operation assistance information until the error value between the three-dimensional reconstruction configuration and the virtual model is within a preset range.
[0014] According to another aspect of the present application, an application of a 3D printing auxiliary method based on mixed reality technology is provided, wherein the method is applied in a 3D printing process of concrete.
[0015] In general, compared with the prior art, the above technical solutions conceived by the present invention have the following beneficial effects:
[0016] 1. This application can realize the timely discovery and processing of printing errors during the printing process through model reconstruction and comparison, and can intuitively see the overlap between the reconstructed model and the virtual model after processing, and then intuitively judge whether parameter correction is still needed.
[0017] 2. This application uses mixed reality technology to intuitively present data and models in the operator's field of view, which can realize long-distance observation and is particularly suitable for long-distance printing status monitoring in harsh environments, avoiding safety threats to operators in harsh environments.
[0018] 3. This application can realize the three-dimensional construction of non-3D models through coordinate transformation, extension and pruning based on the classification algorithm, especially it can realize the three-dimensional reconstruction of two-dimensional engineering blueprints and has important engineering application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a step diagram of the 3D printing auxiliary method based on mixed reality technology of the present application;
[0020] Figure 2 is a block diagram of the 3D printing auxiliary system based on mixed reality technology of the present application;
[0021] Figure 3 This is an application scenario diagram of the 3D printing assistance method based on mixed reality technology in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0023] See also Figure 1 The present invention provides a 3D printing auxiliary method based on mixed reality technology, and the method includes S1 to S5.
[0024] S1: Generate a virtual model of the part to be printed according to the two-dimensional or three-dimensional graphics of the part to be printed;
[0025] Before executing the printing operation, the two-dimensional or three-dimensional graphics of the to-be-printed part are processed and converted into an STL neutral file. For example, the CAD engineering drawing of the to-be-printed part is processed and converted into an STL neutral file, and all the faces, vertices and boundary information in the drawing are read from the file, simplified and processed using a classification algorithm, the vertex geometry information is converted into coordinates, all faces are extended and trimmed, and shading and rendering instructions are executed to generate a virtual model.
[0026] S2: using a camera to obtain on-site two-dimensional image data and depth image data during the 3D printing process of the workpiece to be printed;
[0027] For example, an industrial camera may be used to obtain two-dimensional graphic data and depth graphic data including the printing status of the workpiece to be printed.
[0028] S3: Generate point cloud using depth image data, match point cloud according to point cloud matching algorithm of random consistency four-point set and global search strategy, set error threshold to quickly filter out invalid matching points, so as to achieve three-dimensional reconstruction of the part to be printed and generate three-dimensional reconstruction configuration; the point cloud matching algorithm of random consistency four-point set and global search strategy of this application modifies the calculation method based on random three points into an optimization algorithm based on four points, which significantly improves data processing accuracy. Screening out invalid matching points significantly improves data processing speed.
[0029] S4: performing real-time comparison between the three-dimensional reconstructed configuration and the virtual model to obtain operation auxiliary information, wherein the operation auxiliary information includes processing parameters, processing progress, and geometric errors of the print part currently being processed;
[0030] The geometric error includes geometric coincidence, which is obtained in the following manner:
[0031] The virtual model is aligned with the bottom surface of the three-dimensional reconstruction configuration, and the three-dimensional reconstruction configuration is divided into small volumes of volume ΔS. Then the geometric coincidence Q G for:
[0032]
[0033] Where n is the number of tiny volumes contained in the virtual model, d k is the vertical distance between the grid occupied by the 3D reconstructed configuration surface and the surface of the virtual model, V is the volume of the 3D reconstructed model, v1 is the volume of the 3D reconstructed model of the component, and v2 is the volume of the virtual model.
[0034] The geometric error also includes line profile, surface profile, straightness, roundness, cylindricity, flatness, inclination, verticality and parallelism. The geometric error value can effectively reflect the current processing accuracy of the printed part. According to the geometric error situation, the operator can know whether the current geometric error meets the design requirements, whether the printing process needs to be terminated, whether the current nozzle movement speed needs to be adjusted, what the adjustment value is, whether the printed part has self-weight deformation, etc. The above decisions can help operators understand the real-time status of printing and make adjustments faster.
[0035] S5: Importing the virtual model and operation auxiliary information into a mixed reality scene and visually superimposing and displaying the virtual model and the three-dimensional reconstruction configuration, the operator changes the processing parameters according to the operation auxiliary information until the error value between the three-dimensional reconstruction configuration and the virtual model is within a preset range.
[0036] Preferably, an image natural feature recognition tracking and registration algorithm is used to achieve accurate positioning of the virtual model. By identifying and detecting natural visual features in the scene as a reference for three-dimensional registration, and detecting and tracking corresponding natural features in real time during the use of mixed reality, the purpose of high-precision dynamic positioning is achieved.
[0037] The specific steps include:
[0038] Step 1: Calibrate the camera to obtain the camera's intrinsic and extrinsic parameters, as well as the projection matrix from the coordinate system of the two-dimensional image to the three-dimensional world coordinate system;
[0039] Step 2: using an image natural feature point detection algorithm to perform rapid feature detection on the two-dimensional image data, and applying a description operator to the features obtained by the rapid feature detection to perform feature description to obtain natural features;
[0040] Step 3: Matching the feature points in the natural feature with the feature points in the mixed reality unit;
[0041] Step 4: using the projection matrix to obtain the three-dimensional world coordinates of the feature points in the natural feature;
[0042] Step 5: The three-dimensional world coordinates are solved by a virtual-reality superposition algorithm of mixed reality technology and the solved result is used as a benchmark for the virtual model, and the virtual model is quickly positioned based on the benchmark.
[0043] On the other hand, the present application provides a 3D printing auxiliary system based on mixed reality technology, such as Figure 2 As shown, the system comprises:
[0044] A model generation unit, used for generating a virtual model of the workpiece to be printed according to the two-dimensional or three-dimensional graphics of the workpiece to be printed;
[0045] An image acquisition unit, used to acquire on-site two-dimensional image data and depth image data using a camera during the 3D printing process of the workpiece to be printed;
[0046] The image acquisition unit consists of a camera, a bracket, and a movable slide rail. It can adjust the camera angle and position to collect image data of the printout. It can transmit high-definition images or videos to the image processing and recognition device via cables for further processing and image recognition.
[0047] A model reconstruction unit is used to generate a point cloud using the depth image data, realize three-dimensional reconstruction of the printed part according to a point cloud matching algorithm of a random consistency four-point set and a global search strategy, and generate a three-dimensional reconstruction configuration;
[0048] A comparison unit compares the three-dimensional reconstructed configuration with the virtual model in real time to obtain operation auxiliary information, wherein the operation auxiliary information includes current processing parameters, processing progress, and geometric errors;
[0049] The comparison unit can perform rapid image recognition and calculation, compare the actual size of the print with the designed size, obtain the geometric error value, and make decisions to output auxiliary operation information.
[0050] The display and processing unit imports the virtual model and operation auxiliary information into the mixed reality scene and visually superimposes and displays the virtual model and the three-dimensional reconstructed configuration. The operator changes the processing parameters according to the operation auxiliary information until the error value between the three-dimensional reconstructed configuration and the virtual model is within a preset range.
[0051] The display and processing unit can overlay the computer-generated effect model onto the operator's field of view.
[0052] like Figure 3As shown, the above model reconstruction unit and comparison unit both include an image recognition unit for processing the image or model. The above units can exchange information through a signal transceiver unit.
[0053] The specific working process of this system in concrete 3D printing is as follows:
[0054] Step 1: The model generation unit generates a virtual model of the part to be printed according to the two-dimensional or three-dimensional graphics of the part to be printed.
[0055] Step 2: The concrete 3D printing process begins. The image acquisition unit transmits the image data to the model reconstruction unit in real time for rapid processing. The point cloud is generated using the depth image data. After processing and matching, the printed component is reconstructed in three dimensions. The three-dimensional reconstruction result is compared with the virtual model in real time, the geometric error value is calculated, and a decision is made to output auxiliary operation information, and the data information is transmitted to the display and processing unit.
[0056] Step 3: The display and processing unit uses the two-dimensional image data information obtained by the industrial camera and the image natural feature recognition algorithm to perform feature detection and matching on the image, calculate the coordinate position of the matching feature, and use it as the basis for the three-dimensional registration of the virtual model, so that the virtual model display can achieve fast dynamic positioning and be displayed at the corresponding position according to the tracking registration results.
[0057] The operator is informed of the real-time status of the print, and understands whether the current geometric error meets the design requirements, whether the printing process needs to be terminated, whether the current nozzle movement speed needs to be adjusted, what the adjustment value is, whether the print produces self-weight deformation and other information. The operator judges whether to intervene in the concrete 3D printing process and adjust the process parameters based on the information provided by the mixed display and processing unit. In summary, the 3D printing auxiliary method, system and application based on mixed reality technology in this application can intuitively see the current on-site printing status from a distance, promptly discover and correct printing errors, make the printed products more accurate, and improve printing efficiency. It is especially suitable for long-distance monitoring of printing status and adjustment of printing strategies in harsh environments. It is easy for technicians in this field to understand that the above is only a preferred embodiment of the present invention, and it is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A 3D printing auxiliary method based on mixed reality technology, It is characterized in that The method comprises: S1: Generate a virtual model of the part to be printed according to the two-dimensional or three-dimensional graphics of the part to be printed; S2: using a camera to obtain on-site two-dimensional image data and depth image data during the 3D printing process of the workpiece to be printed; S3: Generate a point cloud using the depth image data, match the point cloud according to the point cloud matching algorithm of the random consistency four-point set and the global search strategy, and set a threshold to filter out invalid matching points, so as to realize three-dimensional reconstruction of the part to be printed and generate a three-dimensional reconstruction configuration; S4: performing real-time comparison between the three-dimensional reconstructed configuration and the virtual model to obtain operation auxiliary information, wherein the operation auxiliary information includes processing parameters, processing progress, and geometric errors of the print part currently being processed; S5: Importing the virtual model and operation auxiliary information into a mixed reality scene and visually superimposing and displaying the virtual model and the three-dimensional reconstruction configuration, the operator changes the processing parameters according to the operation auxiliary information until the error value between the three-dimensional reconstruction configuration and the virtual model is within a preset range.
2. The method according to claim 1, It is characterized in that In step S1, when the two-dimensional graphics of the workpiece to be printed are used to generate the virtual model of the workpiece to be printed, the process includes: converting the two-dimensional graphics into an STL neutral file, obtaining all the faces, vertices and boundary information in the file, simplifying the information using a classification algorithm, and then performing coordinate conversion on the vertex information, extending and trimming the faces, and performing coloring and rendering to generate the virtual model.
3. The method according to claim 1, It is characterized in that The geometric error includes geometric coincidence, which is obtained in the following manner: The virtual model is aligned with the bottom surface of the 3D reconstructed model, and the 3D reconstructed configuration is divided into small volumes of ΔS. Then the geometric coincidence Q G for: Where n is the number of tiny volumes contained in the virtual model, d k v is the vertical distance between the grid occupied by the 3D reconstructed configuration surface and the virtual model surface, 1 is the volume of the 3D reconstructed model of the component, v 2 is the volume of the virtual model.
4. The method according to claim 3, It is characterized in that The geometric errors also include line profile, surface profile, straightness, roundness, cylindricity, flatness, inclination, perpendicularity and parallelism.
5. The method according to claim 1, It is characterized in that In step S5, an image natural feature recognition, tracking and registration algorithm is used to achieve accurate positioning of the virtual model.
6. The method according to claim 5, It is characterized in that The precise positioning of the virtual model is achieved in the following manner: Calibrate the camera to obtain the camera's intrinsic and extrinsic parameters, as well as the projection matrix from the coordinate system of the two-dimensional image to the three-dimensional world coordinate system; Using an image natural feature point detection algorithm to perform rapid feature detection on the two-dimensional image data, and applying a description operator to the features obtained by the rapid feature detection to perform feature description to obtain natural features; Matching feature points in the natural feature with feature points in the mixed reality unit; Obtaining the three-dimensional world coordinates of feature points in the natural feature using the projection matrix; The three-dimensional world coordinates are solved by a virtual-reality superposition algorithm of mixed reality technology and the solved result is used as a benchmark for the virtual model, and the virtual model is quickly positioned based on the benchmark.
7. A 3D printing auxiliary system based on mixed reality technology, It is characterized in that The system comprises: A model generation unit, used for generating a virtual model of the workpiece to be printed according to the two-dimensional or three-dimensional graphics of the workpiece to be printed; An image acquisition unit, used to acquire on-site two-dimensional image data and depth image data using a camera during the 3D printing process of the workpiece to be printed; A model reconstruction unit is used to generate a point cloud using the depth image data, and then realize three-dimensional reconstruction of the printed part according to a point cloud matching algorithm of a random consistency four-point set and a global search strategy to generate a three-dimensional reconstruction configuration; A comparison unit, used for comparing the three-dimensional reconstructed configuration with the virtual model in real time to obtain operation auxiliary information, wherein the operation auxiliary information includes current processing parameters, processing progress, and geometric errors; The display and processing unit imports the virtual model and operation auxiliary information into the mixed reality scene and visually superimposes and displays the virtual model and the three-dimensional reconstructed configuration. The operator changes the processing parameters according to the operation auxiliary information until the error value between the three-dimensional reconstructed configuration and the virtual model is within a preset range.
8. An application of the 3D printing auxiliary method based on mixed reality technology as described in any one of claims 1 to 6, It is characterized in that The method is applied in the 3D printing process of concrete.
