3D printing product production optimization method and system based on online measurement technology
Through online measurement technology and movement compensation optimization, the problem of movement control error in the production of 3D printed servo valves is solved, and the accuracy and quality of the product are improved.
Patent Information
- Application Number
- CN202410610601.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The existing 3D printing servo valve production method cannot correct the printer movement control error in time, resulting in poor product production accuracy and quality.
A 3D printing product production optimization method based on online measurement technology is adopted. The stage product point cloud is obtained through online scanning measurement, error information is fitted and analyzed, and optimization conditions are set for movement compensation optimization to ensure precise control of the printing equipment.
It effectively reduces or avoids the overall production deviation of servo valve products and improves production accuracy and quality.
Smart Images

Figure CN118205206B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of production process optimization, and in particular to a 3D printing product production optimization method and system based on online measurement technology. Background Art
[0002] A 3D printer is a device that creates three-dimensional entities by stacking materials layer by layer. It uses a digital model file as a basis and prints constructed entities through bondable materials such as metal powder, plastic, ceramics, etc. Its working principle is similar to that of an ordinary printer, and it forms a three-dimensional entity by stacking materials layer by layer.
[0003] At present, when the existing method is used to 3D print servo valves, since the 3D printer does not move in only a single direction, but prints in three dimensions: up and down, left and right, and front and back, during the mobile printing process, any slight movement will involve friction between components, thereby producing slight deviations. When these deviations accumulate, the overall error will become obvious, resulting in a large overall production deviation of the servo valve product.
[0004] To sum up, the existing 3D printing servo valve production method is unable to correct the printer movement control error in a targeted and timely manner during the printing production process, resulting in a large overall production deviation of the servo valve product after the control error accumulates, causing technical problems such as poor overall production accuracy and production quality of the servo valve product. Summary of the invention
[0005] The purpose of this application is to provide a 3D printing product production optimization method and system based on online measurement technology, so as to solve the technical problem that the existing 3D printing servo valve production method cannot correct the printer movement control error in the printing production process in a targeted and timely manner, resulting in a large overall production deviation of the servo valve product after the control error accumulates, resulting in poor overall production accuracy and production quality of the servo valve product.
[0006] In view of the above problems, the present application provides a 3D printing product production optimization method and system based on online measurement technology.
[0007] In a first aspect, the present application provides a 3D printing product production optimization method based on online measurement technology, and the method is implemented by a 3D printing product production optimization system based on online measurement technology, wherein the method includes: performing 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, performing online scanning measurement to obtain a stage product point cloud, wherein the printed product is a servo valve; performing fitting within the stage product point cloud to obtain a fitting stage product point cloud, and processing to obtain error information; based on the error information, performing a performance impact analysis of the printed product to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; based on the performance impact information, setting optimization conditions for optimizing the motion compensation of the 3D printing device, wherein the optimization conditions include convergence conditions and optimization step size; according to the optimization conditions, optimizing the motion compensation of the 3D printing device to obtain optimal motion compensation, and performing controlled printing of the 3D printing device.
[0008] In the second aspect, the present application also provides a 3D printing product production optimization system based on online measurement technology, which is used to execute a 3D printing product production optimization method based on online measurement technology as described in the first aspect, wherein the system includes: a stage product point cloud acquisition module, the stage product point cloud acquisition module is used to perform 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, perform online scanning measurement to obtain the stage product point cloud, wherein the printed product is a servo valve; an error information acquisition module, the error information acquisition module is used to fit within the stage product point cloud, obtain the fitted stage product point cloud, and process the obtained error information; performance An impact analysis module, wherein the performance impact analysis module is used to perform a performance impact analysis of the printed product according to the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; an optimization condition setting module, wherein the optimization condition setting module is used to set optimization conditions for optimizing the motion compensation of the 3D printing device according to the performance impact information, wherein the optimization conditions include a convergence condition and an optimization step; and an equipment printing control module, wherein the equipment printing control module is used to optimize the motion compensation of the 3D printing device according to the optimization conditions to obtain the optimal motion compensation and control printing of the 3D printing device.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] 1. Perform 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, perform online scanning measurement to obtain a stage product point cloud, wherein the printed product is a servo valve; perform fitting in the stage product point cloud to obtain a fitted stage product point cloud, and process to obtain error information; perform performance impact analysis of the printed product based on the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; according to the performance impact information, set optimization conditions for optimizing the motion compensation of the 3D printing device, wherein the optimization conditions include convergence conditions and optimization step size; according to the optimization conditions, optimize the motion compensation of the 3D printing device to obtain the optimal motion compensation, and perform controlled printing of the 3D printing device. The overall printing process is divided into printing progress, and each time the preset printing progress is reached, the stage printing error is obtained based on the stage point cloud data analysis; then a performance impact analysis is performed based on the stage printing error, and the stage movement compensation optimization of the 3D printing equipment is performed based on the performance impact analysis results, and the stage optimal movement compensation is obtained to control the movement of the 3D printing equipment. The movement control error of the printer in the process of 3D printing servo valves can be corrected in a timely and accurate manner, thereby reducing or avoiding the overall production deviation of the servo valve products, and achieving the technical effect of improving the overall production accuracy and production quality of the servo valve products.
[0011] 2. The stage product point cloud of the servo valve product printing process is obtained by online scanning measurement. The product production error information is obtained by analyzing the fitted stage product point cloud obtained after point cloud fitting, which can reduce the interference of noise point cloud, improve the precision and accuracy of stage product error analysis, and thus improve the accuracy of product performance impact analysis.
[0012] 3. By setting the optimization conditions of motion compensation according to the performance impact information, the precision and accuracy of motion compensation optimization can be improved, thereby improving the accuracy and efficiency of the optimization results.
[0013] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0015] Figure 1 A schematic diagram of a process for optimizing the production of 3D printed products based on online measurement technology for this application;
[0016] Figure 2 This is a schematic diagram of a process for processing and obtaining error information in a 3D printing product production optimization method based on online measurement technology in this application;
[0017] Figure 3 This is a structural schematic diagram of a 3D printing product production optimization system based on online measurement technology for this application.
[0018] Description of reference numerals:
[0019] The stages include product point cloud acquisition module 11, error information acquisition module 12, performance impact analysis module 13, optimization condition setting module 14, and equipment printing control module 15. DETAILED DESCRIPTION
[0020] This application provides a 3D printing product production optimization method and system based on online measurement technology, which solves the technical problem that the existing 3D printing servo valve production method cannot timely correct the printer movement control error in the printing production process in a targeted manner, resulting in a large overall production deviation of the servo valve product after the control error accumulates, resulting in poor overall production accuracy and production quality of the servo valve product. The movement control error of the printer in the 3D printing servo valve process can be corrected in a timely and accurate manner, thereby reducing or avoiding the overall production deviation of the servo valve product, and achieving the technical effect of improving the overall production accuracy and production quality of the servo valve product.
[0021] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them. Embodiment 1
[0022] Please see attached Figure 1The present application provides a 3D printing product production optimization method based on online measurement technology, wherein the method is applied to a 3D printing product production optimization system based on online measurement technology, and the method specifically comprises the following steps:
[0023] Step 1: Perform 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, perform online scanning measurement to obtain the stage product point cloud, wherein the printed product is a servo valve;
[0024] Specifically, the method provided in this application is used to optimize the existing 3D printing servo valve production method based on online measurement technology to achieve the technical effect of improving the overall production accuracy and production quality of servo valve products. The method is specifically implemented in a 3D printing product production optimization system based on online measurement technology.
[0025] First, obtain the printing product parameters of the target printing product, which is a servo valve product. The printing product parameters include valve core diameter, rated flow and maximum flow, leakage, frequency response and other information, which can be set according to the actual product type. Then, according to the printing product parameters, 3D print the servo valve product through a 3D printer. Obtain the preset printing progress, which can be set according to the actual situation, for example: set a printing progress for every 10% of production, or set the printing progress according to the printing parts of the servo valve product, where the smaller the preset printing progress is set, the higher the overall production accuracy and production quality of the servo valve product, and stop printing after reaching the preset printing progress, and perform online scanning and measurement of the servo valve product under the preset printing progress through an online scanning device, where online scanning measurement refers to point cloud data collection of the servo valve product through a three-dimensional laser scanner and other equipment to obtain a stage product point cloud.
[0026] By obtaining the point cloud of the stage product, basic data support is provided for the next step of product production error analysis and obtaining the stage product production error information.
[0027] Step 2: Fitting is performed within the stage product point cloud to obtain the fitting stage product point cloud, and error information is obtained by processing;
[0028] Specifically, since there is point cloud noise data in the stage product point cloud, it is necessary to perform point cloud fitting in the stage product point cloud, that is, to remove the interference of the point cloud noise data and obtain the fitted stage product point cloud of the servo valve product actually printed. By performing point cloud denoising, the accuracy of the fitted stage product point cloud can be improved, thereby improving the accuracy of the stage product production error analysis. Then, the stage product production error analysis is further performed based on the fitted stage product point cloud, wherein the stage product production error analysis refers to the specification comparison analysis of the fitted stage product point cloud and the ideal stage product under the printing product parameters, and the error information of the stage product production is obtained according to the analysis results, and the error information refers to the specification error of the actual product production.
[0029] By obtaining the error information of the stage servo valve product production, data support is provided for the next step of product performance impact analysis and determination of performance impact information.
[0030] Step 3: Performing a performance impact analysis of the printed product according to the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information;
[0031] Specifically, according to the error information, the performance impact analysis of the stage servo valve product is performed, wherein the performance impact indicators include flow impact and valve core diameter impact, and the performance impact information is obtained, wherein the performance impact information includes flow impact information and valve core diameter impact information. By obtaining the performance impact information, data support is provided for the next step of the motion compensation optimization analysis of the 3D printing equipment.
[0032] Step 4: according to the performance impact information, setting optimization conditions for optimizing the motion compensation of the 3D printing device, wherein the optimization conditions include a convergence condition and an optimization step size;
[0033] Specifically, further according to the performance impact information, the optimization conditions for the motion compensation of the 3D printing device are set, wherein the optimization conditions include a convergence condition and an optimization step, the convergence condition refers to the constraint on the number of optimization iterations in the optimization process, and the optimization step refers to the parameter adjustment amplitude of each optimization in the optimization process, wherein the number of optimization iterations is positively correlated with the optimization accuracy, that is, the greater the number of optimization iterations, the higher the optimization accuracy of the optimization result; the optimization step is negatively correlated with the optimization accuracy, that is, the smaller the optimization step is, the higher the optimization accuracy of the optimization result is, and the optimization conditions are obtained.
[0034] By setting the optimization conditions of motion compensation according to the performance impact information, the precision and accuracy of motion compensation optimization can be improved, thereby improving the accuracy and efficiency of obtaining optimization results.
[0035] Step 5: According to the optimization conditions, the motion compensation of the 3D printing device is optimized to obtain the optimal motion compensation, and the 3D printing device is controlled to print.
[0036] Specifically, based on the optimization conditions, the optimization algorithm is used to optimize the movement compensation of the 3D printing device to obtain the optimal movement compensation, and then the position of the 3D printer is corrected according to the optimal movement compensation. For example, if the 3D printer has a printing error of the servo valve product due to movement error, the 3D printer is compensated for movement in a certain direction. For example, if the cumulative error of the upward movement reaches 0.2mm, the 3D printer needs to be compensated downward by 0.2mm to eliminate the influence of the movement error.
[0037] The 3D printing product production optimization method based on online measurement technology is applied to a 3D printing product production optimization system based on online measurement technology, which can solve the technical problem that the existing 3D printing servo valve production method cannot correct the printer movement control error in the printing production process in a targeted and timely manner, resulting in a large overall production deviation of the servo valve product after the control error accumulates, resulting in poor overall production accuracy and production quality of the servo valve product. First, 3D printing is performed according to the designed printing product parameters, and after reaching the preset printing progress, online scanning measurement is performed to obtain a stage product point cloud, wherein the printed product is a servo valve; then, fitting is performed within the stage product point cloud to obtain a fitted stage product point cloud, and error information is obtained through processing; then, based on the error information, a performance impact analysis of the printed product is performed to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; next, based on the performance impact information, optimization conditions for optimizing the motion compensation of the 3D printing device are set, wherein the optimization conditions include a convergence condition and an optimization step size; finally, based on the optimization conditions, the motion compensation of the 3D printing device is optimized to obtain the optimal motion compensation, and the 3D printing device is controlled for printing. The overall printing process is divided into printing progress, and each time the preset printing progress is reached, the stage printing error is obtained based on the stage point cloud data analysis; then a performance impact analysis is performed based on the stage printing error, and the stage movement compensation optimization of the 3D printing equipment is performed based on the performance impact analysis results, and the stage optimal movement compensation is obtained to control the movement of the 3D printing equipment. The movement control error of the printer in the process of 3D printing servo valves can be corrected in a timely and accurate manner, thereby reducing or avoiding the overall production deviation of the servo valve products, and achieving the technical effect of improving the overall production accuracy and production quality of the servo valve products.
[0038] Further, fitting is performed in the stage product point cloud to obtain the fitting stage product point cloud, and error information is obtained by processing, as shown in the attached Figure 2As shown, step 2 of this application includes:
[0039] Based on the printing product parameters, obtaining a preset fitting model;
[0040] Using the preset fitting model, iterative fitting is performed in the stage product point cloud to obtain a preliminary fitting point cloud;
[0041] Specifically, first, a preset fitting model is constructed according to the printed product parameters. The preset fitting model is an ideal servo valve product three-dimensional model constructed based on the printed product parameters, which can be obtained by using three-dimensional simulation software to perform three-dimensional simulation modeling on the servo valve product based on the printed product parameters. Then, the preset fitting model is used to perform iterative fitting in the stage product point cloud to obtain a preliminary fitting point cloud.
[0042] Furthermore, the present application also includes the following steps:
[0043] Using the preset fitting model, performing random fitting in the stage product point cloud to obtain a first fitting product point cloud that falls into the preset fitting model;
[0044] Calculate and obtain a first fitting similarity based on the ratio of the number of data points in the first fitting product point cloud to the number of data points in the stage product point cloud;
[0045] Continue to use the preset fitting model to perform random fitting in the stage product point cloud to obtain a second fitting product point cloud and a second fitting similarity;
[0046] Continue to perform iterative fitting until a preset number of fitting times is reached, output a fitting product point cloud with the greatest fitting similarity, and obtain the product point cloud in the fitting stage.
[0047] Specifically, the method of iteratively fitting the preset fitting model in the stage product point cloud is as follows: first, the preset fitting model is used to perform random fitting in the stage product point cloud, wherein random fitting refers to randomly placing the stage product point cloud into the preset fitting model to obtain a first fitting product point cloud that falls into the preset fitting model. The number of data points in the first fitting product point cloud is further obtained, and the ratio of the number of data points to the total number of data points in the stage product point cloud is set as the first fitting similarity.
[0048] Then continue to use the preset fitting model, perform random fitting again in the stage product point cloud, obtain the second fitting product point cloud, and set the ratio of the number of data points in the second fitting product point cloud to the total number of data points in the stage product point cloud as the second fitting similarity. Use the same method to continuously perform iterative fitting until the preset number of fittings is reached, then stop fitting. The preset number of fittings can be set by those skilled in the art based on the actual fitting accuracy requirements, wherein the greater the actual fitting accuracy requirements, the greater the preset number of fittings, and output the fitting product point cloud with the largest current fitting similarity as the fitting stage product point cloud, and obtain the fitting stage product point cloud.
[0049] Based on the preliminary fitting point cloud, clustering other data points in the stage product point cloud using a preset clustering distance to obtain the fitting stage product point cloud;
[0050] The error information is obtained by processing according to the product point cloud in the fitting stage and the printed product parameters, wherein the error information includes specification error.
[0051] Specifically, based on the product point cloud in the fitting stage, other data points in the product point cloud in the stage are clustered according to a preset clustering distance. The preset clustering distance can be set according to the accuracy of the scanning measurement equipment and measurement experience. Since printing errors may occur during the printing process of the servo valve, there may be point clouds with printing errors outside the point cloud selected by the preset fitting model. Therefore, the point cloud within the preset clustering distance is also required to be used as the point cloud of the product. If the preset clustering distance is small, the point cloud obtained is also used as the point cloud of the product.
[0052] Then, a three-dimensional model of the stage product is constructed according to the fitting stage product point cloud, and product specification parameters are compared with the three-dimensional model of the stage product based on the printed product parameters, and error information of the stage product is determined according to the comparison result, wherein the error information includes specification error.
[0053] By fitting within the stage product point cloud to obtain the fitting stage product point cloud, the interference of the noise point cloud can be reduced and the accuracy of the fitting stage product point cloud can be improved; then, product production error analysis is performed based on the fitting stage product point cloud, which can improve the precision and accuracy of the stage product error analysis, thereby improving the accuracy of the product performance impact analysis.
[0054] Further, according to the error information, a performance impact analysis of the printing product is performed to obtain performance impact information. Step three of this application includes:
[0055] According to the 3D printing data record of the printed product, a sample error information set, a sample flow rate influence information set and a sample valve core diameter influence information set are obtained;
[0056] The sample error information set and the sample flow impact information set are used to construct a flow impact analysis branch, and the sample error information set and the sample valve core diameter impact information set are used to construct a valve core impact analysis branch to obtain a performance impact analysis channel;
[0057] Based on the performance impact analysis channel, the error information is identified to obtain the flow impact information and valve core diameter impact information.
[0058] Specifically, first, the 3D printing data record of the printed product is obtained, and based on the 3D printing data record, a sample error information set, a sample flow influence information set and a sample valve core diameter influence information set are obtained, wherein the sample error information and the sample flow influence information and the sample valve core diameter influence information have a corresponding relationship.
[0059] Based on the BP neural network, the flow impact analysis branch and the valve core impact analysis branch are constructed, wherein the flow impact analysis branch and the valve core impact analysis branch are neural network models that can be iteratively optimized in machine learning, and are obtained through supervised training of training data sets. The flow impact analysis branch includes an input layer, a hidden layer, and an output layer, wherein the input data of the input layer is error information, and the output data of the output layer is flow impact information; the input data of the valve core impact analysis branch is error information, and the output data is valve core diameter impact information.
[0060] The sample error information set and the sample flow impact information set are used as sample training sets to perform supervised training on the flow impact analysis branch, wherein the training method of the flow impact analysis branch is as follows: first, randomly select first sample training data from the sample training set, wherein the first sample training data is any sample training data in the sample training set; use the first sample training data to perform supervised training on the flow impact analysis branch to obtain a first output result; then compare and analyze the first output result with the first sample flow impact information in the first sample training data; if the first output result is consistent with the first sample flow impact information, randomly select second sample training data to perform supervised training on the flow impact analysis branch; if the first output result is inconsistent with the first sample flow impact information, calculate the deviation information between the two, and optimize the weight parameter of the flow impact analysis branch according to the deviation information, and then randomly select the second sample training data to perform supervised training on the flow impact analysis branch; continuously perform iterative training until the preset training constraint is met, then stop training, the preset training constraint is a preset output accuracy index, which can be set according to actual conditions, to obtain a trained flow impact analysis branch.
[0061] The sample error information set and the sample valve core diameter influence information set are used as training data to perform supervised training on the valve core influence analysis branch, wherein the training method of the valve core influence analysis branch is consistent with the training method of the flow influence analysis branch, which will not be described in detail here, and a trained valve core influence analysis branch is obtained. Further, a performance influence analysis channel is formed based on the trained flow influence analysis branch and the trained valve core influence analysis branch to obtain the performance influence analysis channel.
[0062] The error information is input into the performance impact analysis channel for identification to obtain flow impact information and valve core diameter impact information. By constructing a performance impact analysis channel based on a BP neural network, the efficiency and accuracy of error information performance impact analysis can be improved.
[0063] Further, according to the performance impact information, an optimization condition for optimizing the mobile printing compensation of the 3D printing device is set. Step 4 of this application includes:
[0064] According to the 3D printing data record of the printed product, a sample flow influence information set is obtained, and according to the size of different sample flow influence information, a preset convergence number and a preset optimization step length are adjusted to obtain a first sample convergence condition set and a first sample optimization step length set, wherein the size of the sample flow influence information is positively correlated with the size of the adjusted convergence number and negatively correlated with the size of the adjusted optimization step length;
[0065] Acquire a sample valve core diameter influence information set, and process to acquire a second sample convergence condition set and a second sample optimization step size set;
[0066] Based on the decision tree, the sample flow rate influence information set, the first sample convergence condition set and the first sample optimization step set are used to construct a flow rate optimization decision branch, and the sample valve core diameter influence information set, the second sample convergence condition set and the second sample optimization step set are used to construct a valve core optimization decision branch;
[0067] Based on the flow optimization decision branch and the valve core optimization decision branch, a decision is made on the flow influence information and the valve core diameter influence information to obtain a first convergence condition, a first optimization step, a second convergence condition and a second optimization step;
[0068] The convergence condition and the optimization step length are obtained by calculation according to the first convergence condition, the first optimization step length, the second convergence condition and the second optimization step length.
[0069] Specifically, first, according to the 3D printing data record of the printed product, a set of sample flow influence information is obtained. Then, according to the size of different sample flow influence information, where the size refers to the degree of influence of the sample flow influence information, the preset convergence times and the preset optimization step length are adjusted, wherein the preset convergence times and the preset optimization step length can be set according to actual conditions, wherein the size of the sample flow influence information is positively correlated with the size of the adjusted convergence times, that is, the greater the degree of influence of the sample flow influence information, the greater the adjusted convergence times; the size of the sample flow influence information is negatively correlated with the size of the adjusted optimization step length, that is, the greater the degree of influence of the sample flow influence information, the smaller the adjusted optimization step length, and the first sample convergence condition set and the first sample optimization step length set are obtained. Further, a set of sample valve core diameter influence information is obtained, and the same method as above is used to process to obtain a second sample convergence condition set and a second sample optimization step length set.
[0070] A decision tree is a prediction model that uses a tree diagram to make decisions. It represents a mapping relationship between object attributes and object values. It is an important method for inductive learning and data mining. In a decision tree, each intermediate node represents a test on a certain attribute or a group of attributes, each branch corresponds to a different result of the test, and each leaf node represents a category or prediction result. Based on the principle of decision trees, the sample flow impact information set, the first sample convergence condition set, and the first sample optimization step set are used to construct a flow optimization decision branch. In the flow optimization decision branch, the sample flow impact information is a child node, and the sample convergence condition and sample optimization step corresponding to the sample flow impact information are leaf nodes of the child node. Using the same method, the sample valve core diameter impact information set, the second sample convergence condition set, and the second sample optimization step set are used to construct a valve core optimization decision branch.
[0071] Then, the flow rate impact information is input into the flow rate optimization decision branch, and the valve core diameter impact information is input into the valve core optimization decision branch for decision making, and the first convergence condition, the first optimization step, the second convergence condition, and the second optimization step are matched and output. Different influence weights are further configured for the flow rate impact information and the valve core diameter impact information, wherein the influence weight can be set based on the degree of influence of the indicator on the product quality, wherein the greater the degree of influence, the greater the corresponding influence weight, and the influence weight can be configured based on the existing coefficient of variation method, wherein the coefficient of variation method is a weighting method commonly used by technicians in this field, which will not be described in detail here, and the first influence weight of the flow rate impact information and the second influence weight of the valve core diameter impact information are obtained, wherein the sum of the first influence weight and the second influence weight is 1. Based on the first influence weight and the second influence weight, the first convergence condition, the first optimization step, the second convergence condition, and the second optimization step are weightedly calculated, and the convergence condition and the optimization step are obtained according to the weighted calculation results.
[0072] By constructing flow optimization decision branches and valve core optimization decision branches based on the decision tree principle to make decisions on information influencing the decision, the precision, accuracy and efficiency of decision information matching can be improved.
[0073] Further, according to the optimization conditions, the motion compensation of the 3D printing device is optimized, and step five of the present application includes:
[0074] Acquire a compensation range for movement compensation of the 3D printing device, wherein the compensation range includes performing a plurality of different movement compensations on the 3D printing device in different movement directions;
[0075] randomly generating a first movement compensation within the compensation range;
[0076] Based on the first motion compensation and the printing product parameters, perform 3D printing simulation to obtain first simulation compensation information;
[0077] Calculating and obtaining a first compensation fitness according to the error information and the first simulation compensation information;
[0078] Based on the optimization step size, the first motion compensation is iteratively optimized until the convergence condition is met, and the motion compensation with the maximum compensation fitness is output to obtain the optimal motion compensation.
[0079] Specifically, according to the optimization condition, the method for optimizing the motion compensation of the 3D printing device is as follows: first, a compensation range for the motion compensation of the 3D printing device is obtained, wherein the compensation range includes performing multiple different motion compensations on the 3D printing device in different moving directions, and the moving directions include directions of up and down, left and right, and front and back. Then, a first motion compensation is randomly selected from the multiple motion compensations in the compensation range, and the first motion compensation is any one of the multiple motion compensations.
[0080] Based on the first movement compensation and the printing product parameters, a 3D printing simulation is performed to obtain the first simulation compensation information, which refers to the compensation error information after printing according to the printing product parameters, and then the deviation of the compensation direction and compensation size is calculated according to the error information and the first simulation compensation information, and the first compensation fitness is obtained according to the calculation result, wherein the first simulation compensation information is opposite to the compensation direction of the error information, and the smaller the compensation size deviation, the better the compensation effect, and the greater the first compensation fitness; on the contrary, if the first simulation compensation information is the same as the compensation direction of the error information, the compensation has no effect, and the larger the compensation size deviation, the smaller the first compensation fitness. For example: the error information is that the product is offset to the left by 0.2mm, and the first simulation compensation information after compensation is offset to the right by 0.2mm, then the error information can be eliminated after compensation, and the compensation fitness is the largest.
[0081] Based on the optimization step size, the first motion compensation is iteratively optimized until the convergence times in the convergence condition are reached, then the optimization is stopped, and the motion compensation with the maximum current compensation fitness is output as the optimal motion compensation to obtain the optimal motion compensation.
[0082] Further, based on the optimization step size, the first motion compensation is iteratively optimized until the convergence condition is met. The present application further includes the following steps:
[0083] According to the direction of the first motion compensation, within the compensation range and according to the optimization step length, adjusting to obtain a second motion compensation;
[0084] Based on the second motion compensation and the printing product parameters, a 3D printing simulation is performed to obtain second simulation compensation information, and a second compensation fitness is calculated in combination with the error information;
[0085] Determine whether the second compensation fitness is greater than the first compensation fitness, if so, continue to optimize in the direction of the second motion compensation, if not, adjust the motion direction to randomly generate motion compensation for optimization;
[0086] The iterative optimization of the motion compensation is continued until the convergence condition is met.
[0087] Specifically, according to the compensation direction of the first motion compensation, within the compensation range, the compensation size of the first motion compensation is adjusted according to the optimization step size to obtain a second motion compensation, and the second motion compensation has the same compensation direction as the first motion compensation.
[0088] Then, based on the second motion compensation and the printing product parameters, a 3D printing simulation is performed to obtain the second simulation compensation information. And based on the second simulation compensation information and the error information, a compensation fitness analysis is performed to calculate the second compensation fitness. The second compensation fitness is compared with the first compensation fitness. If the second compensation fitness is greater than the first compensation fitness, the optimization is continued in the direction of the second motion compensation according to the optimization step size; if the second compensation fitness is less than or equal to the first compensation fitness, the movement direction is adjusted to randomly generate motion compensation for optimization. The iterative optimization of the motion compensation is continuously performed until the convergence condition is met, and then the optimization is stopped.
[0089] In summary, the 3D printing product production optimization method based on online measurement technology provided by this application has the following technical effects:
[0090] 1. The overall printing process is divided into printing progress, and each time the preset printing progress is reached, the stage printing error is obtained based on the stage point cloud data analysis; then a performance impact analysis is performed based on the stage printing error, and the stage movement compensation optimization of the 3D printing equipment is performed based on the performance impact analysis results, and the stage optimal movement compensation is obtained to control the movement of the 3D printing equipment, which can timely and accurately correct the movement control error of the printer in the process of 3D printing servo valves, thereby reducing or avoiding the overall production deviation of the servo valve products, and achieving the technical effect of improving the overall production accuracy and production quality of the servo valve products.
[0091] 2. By fitting within the stage product point cloud to obtain the fitting stage product point cloud, the interference of the noise point cloud can be reduced and the accuracy of the fitting stage product point cloud can be improved; then, the product production error analysis is performed based on the fitting stage product point cloud, which can improve the precision and accuracy of the stage product error analysis, thereby improving the accuracy of the product performance impact analysis.
[0092] 3. By constructing flow optimization decision branches and valve core optimization decision branches based on the decision tree principle to make decisions on information influencing the decision, the precision, accuracy and efficiency of decision information matching can be improved.
[0093] 4. By setting the optimization conditions of motion compensation according to the performance impact information, the precision and accuracy of motion compensation optimization can be improved, thereby improving the accuracy and efficiency of the optimization results. Embodiment 2
[0094] Based on the same inventive concept as the 3D printing product production optimization method based on online measurement technology in the aforementioned embodiment, the present application also provides a 3D printing product production optimization system based on online measurement technology, please refer to the attached Figure 3 , the system comprising:
[0095] The stage product point cloud acquisition module 11 is used to perform 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, perform online scanning measurement to obtain the stage product point cloud, wherein the printed product is a servo valve;
[0096] An error information obtaining module 12, the error information obtaining module 12 is used to perform fitting in the stage product point cloud, obtain the fitting stage product point cloud, and process to obtain error information;
[0097] A performance impact analysis module 13, the performance impact analysis module 13 is used to perform a performance impact analysis of a printing product according to the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information;
[0098] An optimization condition setting module 14, wherein the optimization condition setting module 14 is used to set an optimization condition for optimizing the motion compensation of the 3D printing device according to the performance impact information, wherein the optimization condition includes a convergence condition and an optimization step size;
[0099] The device printing control module 15 is used to optimize the motion compensation of the 3D printing device according to the optimization conditions, obtain the optimal motion compensation, and control the printing of the 3D printing device.
[0100] Further, the error information obtaining module 12 in the system is also used for:
[0101] Based on the printing product parameters, obtaining a preset fitting model;
[0102] Using the preset fitting model, iterative fitting is performed in the stage product point cloud to obtain a preliminary fitting point cloud;
[0103] Based on the preliminary fitting point cloud, clustering other data points in the stage product point cloud using a preset clustering distance to obtain the fitting stage product point cloud;
[0104] The error information is obtained by processing according to the product point cloud in the fitting stage and the printed product parameters, wherein the error information includes specification error.
[0105] Further, the error information obtaining module 12 in the system is also used for:
[0106] Using the preset fitting model, performing random fitting in the stage product point cloud to obtain a first fitting product point cloud that falls into the preset fitting model;
[0107] Calculate and obtain a first fitting similarity based on the ratio of the number of data points in the first fitting product point cloud to the number of data points in the stage product point cloud;
[0108] Continue to use the preset fitting model to perform random fitting in the stage product point cloud to obtain a second fitting product point cloud and a second fitting similarity;
[0109] Continue to perform iterative fitting until a preset number of fitting times is reached, output a fitting product point cloud with the greatest fitting similarity, and obtain the product point cloud in the fitting stage.
[0110] Further, the performance impact analysis module 13 in the system is also used for:
[0111] According to the 3D printing data record of the printed product, a sample error information set, a sample flow rate influence information set and a sample valve core diameter influence information set are obtained;
[0112] The sample error information set and the sample flow impact information set are used to construct a flow impact analysis branch, and the sample error information set and the sample valve core diameter impact information set are used to construct a valve core impact analysis branch to obtain a performance impact analysis channel;
[0113] Based on the performance impact analysis channel, the error information is identified to obtain the flow impact information and valve core diameter impact information.
[0114] Furthermore, the optimization condition setting module 14 in the system is also used for:
[0115] According to the 3D printing data record of the printed product, a sample flow influence information set is obtained, and according to the size of different sample flow influence information, a preset convergence number and a preset optimization step length are adjusted to obtain a first sample convergence condition set and a first sample optimization step length set, wherein the size of the sample flow influence information is positively correlated with the size of the adjusted convergence number and negatively correlated with the size of the adjusted optimization step length;
[0116] Acquire a sample valve core diameter influence information set, and process to acquire a second sample convergence condition set and a second sample optimization step size set;
[0117] Based on the decision tree, the sample flow rate influence information set, the first sample convergence condition set and the first sample optimization step set are used to construct a flow rate optimization decision branch, and the sample valve core diameter influence information set, the second sample convergence condition set and the second sample optimization step set are used to construct a valve core optimization decision branch;
[0118] Based on the flow optimization decision branch and the valve core optimization decision branch, a decision is made on the flow influence information and the valve core diameter influence information to obtain a first convergence condition, a first optimization step, a second convergence condition and a second optimization step;
[0119] The convergence condition and the optimization step length are obtained by calculation according to the first convergence condition, the first optimization step length, the second convergence condition and the second optimization step length.
[0120] Furthermore, the device printing control module 15 in the system is also used for:
[0121] Acquire a compensation range for movement compensation of the 3D printing device, wherein the compensation range includes performing a plurality of different movement compensations on the 3D printing device in different movement directions;
[0122] randomly generating a first movement compensation within the compensation range;
[0123] Based on the first motion compensation and the printing product parameters, perform 3D printing simulation to obtain first simulation compensation information;
[0124] Calculating and obtaining a first compensation fitness according to the error information and the first simulation compensation information;
[0125] Based on the optimization step size, the first motion compensation is iteratively optimized until the convergence condition is met, and the motion compensation with the maximum compensation fitness is output to obtain the optimal motion compensation.
[0126] Furthermore, the device printing control module 15 in the system is also used for:
[0127] According to the direction of the first motion compensation, within the compensation range and according to the optimization step length, adjusting to obtain a second motion compensation;
[0128] Based on the second motion compensation and the printing product parameters, a 3D printing simulation is performed to obtain second simulation compensation information, and a second compensation fitness is calculated in combination with the error information;
[0129] Determine whether the second compensation fitness is greater than the first compensation fitness, if so, continue to optimize in the direction of the second motion compensation, if not, adjust the motion direction to randomly generate motion compensation for optimization;
[0130] The iterative optimization of the motion compensation is continued until the convergence condition is met.
[0131] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The 3D printing product production optimization method based on online measurement technology and the specific examples in the aforementioned embodiment 1 are also applicable to the 3D printing product production optimization system based on online measurement technology in this embodiment. Through the aforementioned detailed description of the 3D printing product production optimization method based on online measurement technology, those skilled in the art can clearly understand the 3D printing product production optimization system based on online measurement technology in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0132] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
[0133] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.
Claims
1. 3D printing product production optimization method based on online measurement technology, It is characterized in that The method comprises: According to the designed printing product parameters, 3D printing is performed, and after reaching the preset printing progress, online scanning measurement is performed to obtain the stage product point cloud, wherein the printed product is a servo valve; Performing fitting in the stage product point cloud to obtain the fitting stage product point cloud, and processing to obtain error information; Performing a performance impact analysis of the printing product according to the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; According to the performance impact information, setting optimization conditions for optimizing the motion compensation of the 3D printing device, wherein the optimization conditions include a convergence condition and an optimization step size; According to the optimization conditions, the motion compensation of the 3D printing device is optimized to obtain the optimal motion compensation, and the 3D printing device is controlled to print; The step of fitting the stage product point cloud to obtain the fitting stage product point cloud and processing to obtain error information includes: Based on the printing product parameters, obtaining a preset fitting model; Using the preset fitting model, iterative fitting is performed in the stage product point cloud to obtain a preliminary fitting point cloud; Based on the preliminary fitting point cloud, clustering other data points in the stage product point cloud using a preset clustering distance to obtain the fitting stage product point cloud; Processing to obtain the error information according to the product point cloud in the fitting stage and the printed product parameters, wherein the error information includes a specification error; Wherein, the preset fitting model is adopted to perform iterative fitting in the stage product point cloud, including: Using the preset fitting model, performing random fitting in the stage product point cloud to obtain a first fitting product point cloud that falls into the preset fitting model; Calculate and obtain a first fitting similarity based on the ratio of the number of data points in the first fitting product point cloud to the number of data points in the stage product point cloud; Continue to use the preset fitting model to perform random fitting in the stage product point cloud to obtain a second fitting product point cloud and a second fitting similarity; Continue to perform iterative fitting until a preset number of fitting times is reached, output a fitting product point cloud with the greatest fitting similarity, and obtain the product point cloud in the fitting stage.
2. The method according to claim 1, It is characterized in that According to the error information, a performance impact analysis of the printing product is performed to obtain performance impact information, including: According to the 3D printing data record of the printed product, a sample error information set, a sample flow rate influence information set and a sample valve core diameter influence information set are obtained; The sample error information set and the sample flow impact information set are used to construct a flow impact analysis branch, and the sample error information set and the sample valve core diameter impact information set are used to construct a valve core impact analysis branch to obtain a performance impact analysis channel; Based on the performance impact analysis channel, the error information is identified to obtain the flow impact information and valve core diameter impact information.
3. The method according to claim 1, It is characterized in that According to the performance impact information, an optimization condition for optimizing the mobile printing compensation of the 3D printing device is set, including: According to the 3D printing data record of the printed product, a sample flow influence information set is obtained, and according to the size of different sample flow influence information, a preset convergence number and a preset optimization step length are adjusted to obtain a first sample convergence condition set and a first sample optimization step length set, wherein the size of the sample flow influence information is positively correlated with the size of the adjusted convergence number and negatively correlated with the size of the adjusted optimization step length; Acquire a sample valve core diameter influence information set, and process to acquire a second sample convergence condition set and a second sample optimization step size set; Based on the decision tree, the sample flow rate influence information set, the first sample convergence condition set and the first sample optimization step set are used to construct a flow rate optimization decision branch, and the sample valve core diameter influence information set, the second sample convergence condition set and the second sample optimization step set are used to construct a valve core optimization decision branch; Based on the flow optimization decision branch and the valve core optimization decision branch, a decision is made on the flow influence information and the valve core diameter influence information to obtain a first convergence condition, a first optimization step, a second convergence condition and a second optimization step; The convergence condition and the optimization step length are obtained by calculation according to the first convergence condition, the first optimization step length, the second convergence condition and the second optimization step length.
4. The method according to claim 1, It is characterized in that According to the optimization conditions, the movement compensation of the 3D printing device is optimized, including: Acquire a compensation range for movement compensation of the 3D printing device, wherein the compensation range includes performing a plurality of different movement compensations on the 3D printing device in different movement directions; randomly generating a first movement compensation within the compensation range; Based on the first motion compensation and the printing product parameters, perform 3D printing simulation to obtain first simulation compensation information; Calculating and obtaining a first compensation fitness according to the error information and the first simulation compensation information; Based on the optimization step size, the first motion compensation is iteratively optimized until the convergence condition is met, and the motion compensation with the maximum compensation fitness is output to obtain the optimal motion compensation.
5. The method according to claim 4, It is characterized in that Based on the optimization step size, iteratively optimizing the first motion compensation until the convergence condition is met, comprising: According to the direction of the first motion compensation, within the compensation range and according to the optimization step length, adjusting to obtain a second motion compensation; Based on the second motion compensation and the printing product parameters, a 3D printing simulation is performed to obtain second simulation compensation information, and a second compensation fitness is calculated in combination with the error information; Determine whether the second compensation fitness is greater than the first compensation fitness, if so, continue to optimize in the direction of the second motion compensation, if not, adjust the motion direction to randomly generate motion compensation for optimization; The iterative optimization of the motion compensation is continued until the convergence condition is met.
6. 3D printing product production optimization system based on online measurement technology, It is characterized in that For implementing the steps of the method according to any one of claims 1 to 5, the system comprises: A stage product point cloud acquisition module, wherein the stage product point cloud acquisition module is used to perform 3D printing according to the designed printing product parameters, and after reaching the preset printing progress, perform online scanning measurement to obtain the stage product point cloud, wherein the printed product is a servo valve; An error information obtaining module, the error information obtaining module is used to perform fitting in the stage product point cloud, obtain the fitting stage product point cloud, and process to obtain error information; A performance impact analysis module, the performance impact analysis module is used to perform a performance impact analysis of the printing product according to the error information to obtain performance impact information, wherein the performance impact information includes flow impact information and valve core diameter impact information; An optimization condition setting module, the optimization condition setting module is used to set optimization conditions for optimizing the motion compensation of the 3D printing device according to the performance impact information, wherein the optimization conditions include a convergence condition and an optimization step size; The device printing control module is used to optimize the motion compensation of the 3D printing device according to the optimization conditions, obtain the optimal motion compensation, and control the printing of the 3D printing device.
