WO2022161000A1 - Training method and training apparatus for machine learning model, and evaluation system - Google Patents

Training method and training apparatus for machine learning model, and evaluation system Download PDF

Info

Publication number
WO2022161000A1
WO2022161000A1 PCT/CN2021/138638 CN2021138638W WO2022161000A1 WO 2022161000 A1 WO2022161000 A1 WO 2022161000A1 CN 2021138638 W CN2021138638 W CN 2021138638W WO 2022161000 A1 WO2022161000 A1 WO 2022161000A1
Authority
WO
WIPO (PCT)
Prior art keywords
printing
training
data
machine learning
learning model
Prior art date
Application number
PCT/CN2021/138638
Other languages
French (fr)
Chinese (zh)
Inventor
哈特曼大卫·西蒙
罗小帆
赵则昂
Original Assignee
苏州奇流信息科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州奇流信息科技有限公司 filed Critical 苏州奇流信息科技有限公司
Publication of WO2022161000A1 publication Critical patent/WO2022161000A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C10/00Computational theoretical chemistry, i.e. ICT specially adapted for theoretical aspects of quantum chemistry, molecular mechanics, molecular dynamics or the like
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C60/00Computational materials science, i.e. ICT specially adapted for investigating the physical or chemical properties of materials or phenomena associated with their design, synthesis, processing, characterisation or utilisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/06Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/10Additive manufacturing, e.g. 3D printing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/10Noise analysis or noise optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Definitions

  • the present application relates to the field of computer data processing, and in particular to a method for training a machine learning model for evaluating the performance of 3D printing components, a training device for a machine learning model, and an evaluation system, computer equipment, and computer software for evaluating the performance of 3D printing components. Read the storage medium.
  • the bonding strength of the interlayer bonding between different printing layers and the thermal coupling relaxation behavior of the printed polymer material have an impact on the printed object.
  • the mechanical properties have a great influence; the temperature of the wire contact interface and the diffusion time of the polymer molecules of the printing material affect the bonding quality of the wire, and the heating time and cooling rate during printing affect the residual stress and microscopic molecular chain conformation of the wire Therefore, the settings of printing parameters such as extrusion speed, printing speed, layer height, material heating temperature, printing chamber temperature, etc. affect the performance indicators such as the accuracy and bonding strength of the final printed object.
  • the printing path and printing parameters are determined in a purely geometric way, which cannot effectively guarantee the printing speed and the performance of the final printed product, such as forming ability, shape distortion, interlayer bonding, elastic modulus and strength. Wait.
  • the physical field information in printing (such as residual stress, local area cooling assessment) obtained by simulating printing with simulation software or simulation system currently exists, but it cannot be compared with the performance parameters of actual printed parts (such as shape distortion, interlayer bonding) , elastic modulus and strength, etc.) are effectively correlated, and it is difficult to predetermine the optimized printing parameter information.
  • the purpose of this application is to provide a training method for a machine learning model for evaluating the performance of a 3D printing component, a training device for the machine learning model, and an evaluation system for evaluating the performance of the 3D printing component,
  • Computer equipment and computer-readable storage media are used to solve the problem that it is difficult to evaluate the performance of 3D printing components in the existing slicing technology and is not conducive to controlling the quality and efficiency of subsequent printing.
  • a training method for a machine learning model for evaluating the performance of 3D printing components includes the following steps: obtaining the 3D printing Multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the printed component; and multiple sets of measured values of at least one performance evaluation parameter of the 3D printed component in an actual printing environment; and the multiple sets of residual stress data And/or the multiple sets of equivalent relaxation time data are used as input data and the measured values are used as output data to perform associated training to obtain the machine learning model.
  • the present application also discloses a training device for a machine learning model, where the machine learning model is used to evaluate the performance of a 3D printing component, and the training device includes: a training sample acquisition module for acquiring multiple data of the 3D printing component. a set of residual stress data and/or multiple sets of equivalent relaxation time data; and multiple sets of measurement values for obtaining at least one performance evaluation parameter of the 3D printing component in an actual printing environment; a training module for applying the multiple sets of residual stress data And/or the multiple sets of equivalent relaxation time data are used as input data and the multiple sets of measured values are used as output data for associated training to obtain the machine learning model.
  • the present application also discloses, in a third aspect, an evaluation system for evaluating the performance of a 3D printed component, comprising an input module for receiving residual stress data and/or equivalent relaxation time data of the 3D printed component; and a prediction module is used to call the machine learning model generated by the training method of the machine learning model according to any one of the embodiments disclosed in the first aspect of this application to predict the residual stress data and/or the equivalent relaxation time data, and output the An evaluation value of at least one performance evaluation parameter of the 3D printed component.
  • the present application further discloses a computer device in a fourth aspect, comprising: a storage device for storing at least one program, and preset input data and output data; and a processing device, connected to the storage device, for executing The at least one program is used to call the at least one program in the storage device to execute and implement the method for training a machine learning model according to any implementation manner disclosed in the first aspect of this application.
  • a fifth aspect of the present application further discloses a computer device, comprising: a storage device for storing at least one program, and the training method for training a machine learning model according to any one of the embodiments disclosed in the first aspect of the present application. the machine learning model; and a processing device connected to the storage device for executing the at least one program to invoke the at least one program execution and the machine learning model in the storage device to analyze the residual stress
  • the data and/or the equivalent relaxation time data are predicted, and an evaluation value of at least one performance evaluation parameter of the 3D printed component is output.
  • the present application further discloses, in a sixth aspect, a computer-readable storage medium storing at least one program, and when the at least one program is executed by a processor, implements any one of the implementation manners disclosed in the first aspect of the present application. Training methods for machine learning models.
  • the present application provides a training method for a machine learning model for evaluating the performance of a 3D printing component, a training device for a machine learning model, and an evaluation system, computer equipment, and computer-readable storage medium for evaluating the performance of a 3D printing component.
  • the thus obtained sets of printed components are measured to obtain measurements of at least one performance evaluation parameter; and, temperature fields and residuals of the printed components in actual printing or in a simulated environment simulated by the actual printing environment are obtained
  • the stress field is equivalent to the equivalent relaxation time that can be represented by a single parameter, and a labeled training data set is formed by multiple sets of measurement values, multiple sets of equivalent relaxation time data, and multiple sets of residual stress data.
  • the neural network structure or machine learning model can be associated with training based on the training data set
  • the measured value in the training data set is used as the output
  • the equivalent relaxation time data and/or the residual stress data are used as the input, so that after the training is completed
  • the neural network or machine learning model can evaluate the performance of the printing member based on the equivalent relaxation time data and/or residual stress data of the printing member, so as to realize the correlation of the printing parameters with the printing quality for different types of printing members .
  • the machine learning model obtained by the training method of the machine learning model provided by the present application can help to predetermine the optimized printing parameter information, for example, set different printing parameters for the printing component model to simulate printing, and convert the simulation results into equivalent relaxation.
  • Temporal data and/or residual stress data are input into the neural network or machine learning model to obtain a prediction result of printing quality, repeat the simulation printing and prediction, and predetermine the optimal printing of the printing component without actual printing Parameter information; or, for the determined printing parameters and printing component models, through simulation printing and prediction, it can be verified whether the printing components under this setting meet the quality requirements, and the qualification rate of actual printing can be improved.
  • FIG. 1 shows a schematic flowchart of a training method of a machine learning model of the present application in an embodiment.
  • FIG. 2 shows a schematic flowchart of a method for determining initial residual stress in an embodiment of the training method of the machine learning model of the present application.
  • FIG. 3 shows a simplified schematic diagram of an apparatus for training a machine learning model of the present application in an embodiment.
  • FIG. 4 shows a simplified schematic diagram of the evaluation system of the present application in one embodiment.
  • FIG. 5 shows a simplified schematic diagram of the computer apparatus of the present application in one embodiment.
  • FIG. 6 shows a simplified schematic diagram of the computer apparatus of the present application in one embodiment.
  • A, B or C or “A, B and/or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B and C” . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
  • the setting of printing parameters usually has a decisive effect on the quality (or performance) of the printing component.
  • the printing component is formed based on the accumulation and stacking of printing filaments.
  • the interlayer bonding quality between the printed layers is related to the overall strength and local strength of the printed component.
  • the molding accuracy of the printed component may also show different results based on different printing parameters.
  • the optimized printing parameters are determined based on the model shape, which can effectively improve the qualification rate of the printed component and reduce printing failures such as printing component distortion.
  • the resulting time consumption and cost loss but in the existing slicing technology, it is difficult to correlate the printing parameters with the performance of the printing member, so as to predetermine the optimized printing parameters.
  • FIG. 1 to FIG. 2 show schematic flowcharts of performing training steps to generate the machine learning model in the method for training a machine learning model for evaluating the performance of a 3D printing component provided by the present application.
  • a machine learning model that can be used to evaluate the performance of the printing component is obtained, and the printing parameters can be associated with the performance of the printing component, for example, inputting the input of the machine learning model Data that can characterize printing parameters can be predicted through machine learning models to obtain evaluation values that characterize the performance of printing components.
  • the coordinate system adopted in the embodiments provided by this application is a rectangular three-dimensional coordinate, and the directions of the three-dimensional coordinates are X, Y, and Z directions respectively.
  • the Z direction is the normal direction of the horizontal plane, that is, the general direction perpendicular to the printing surface, and (x, y, z) can refer to a coordinate point in the defined three-dimensional space.
  • FIG. 1 shows a schematic flowchart of an embodiment of the training method of the machine learning model for evaluating the performance of 3D printing components of the present application.
  • step S10 multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printing component are acquired; and multiple sets of measurement values of at least one performance evaluation parameter of the 3D printing component in an actual printing environment are acquired.
  • the 3D printing components are preset printing components, such as common printing components used in 3D printing manufacturing, such as molds, medical fixtures, customized products such as shoe soles, jewelry models, or dental molds.
  • the 3D printing component may refer to the actual printing component entity obtained by printing, or a three-dimensional model of the 3D printing component.
  • the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printed component may be residual stress data and/or equivalent relaxation time data obtained by testing the printing process during actual printing;
  • the 3D component model corresponding to the 3D printed component is simulated and printed, such as residual stress data and/or equivalent relaxation time data obtained by simulating printing in a finite element simulation environment.
  • the relaxation time refers to the time required for the material to return to a normal state after the object is deformed by force and the external force is released.
  • the equivalent relaxation time data can be used to characterize each spatial coordinate point or part of the printing member.
  • the printing material is usually a polymer material
  • the mechanical relaxation behavior of the polymer polymer material is the result of the summation of various relaxation behaviors throughout its history, and the mechanical relaxation behavior is related to the material temperature.
  • the sum of mechanical relaxation behaviors generated over time can be equivalent to the sum of mechanical relaxation behaviors generated at low temperature for a long time.
  • the equivalent relaxation time data is equivalent to the sum of the relaxation time under the same preset temperature value from the temperature history experienced by each spatial coordinate point or local area in the printing member during printing.
  • the effective relaxation time data is obtained by using the same preset temperature value, that is, based on the values of the multiple sets of equivalent relaxation times, the mechanical relaxation behaviors of materials corresponding to multiple sets of printing experiments or simulated printing can be compared; or, for a set of equivalent relaxation times Temporal data, which can compare the mechanical relaxation behavior of materials experienced by different spatial coordinate points or regions in the printed component based on its data distribution.
  • the residual stress data is the residual stress value of the entire printing member after the printing member is cooled and formed, such as the residual stress value of each spatial coordinate point or a local area, and may also be the residual stress value obtained by calculation based on simulated printing.
  • the residual stress data can be used to characterize the performance of the molded component, for example, after the component is molded, its internal tissue has a tendency to deform to eliminate internal stress, thereby changing the accuracy of the printed component.
  • the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data obtained in step S10, and at least one of the 3D printing components in the actual printing environment are used to form a training data set for the machine learning model, the training data set includes input data and output data for the training of the machine learning model, and the training is performed based on the training data set to generate a usable The machine learning model for evaluating the performance of 3D printed components.
  • each set of training data includes a determined residual stress data and/or an equivalent relaxation time data, and a measurement value of at least one performance evaluation parameter of a determined 3D printing component in an actual printing environment, each Residual stress data, equivalent relaxation time data, and measured values of at least one performance evaluation parameter in a set of training data have a correspondence to form groups.
  • the machine learning model obtained via the training method of the machine learning model is intended to correlate the printing parameters of the printing member with the properties of the print.
  • the slice graphics and printing parameter information of the printing components are used as variables to determine the measurement values of the performance evaluation parameters of the printing components.
  • the basis for grouping is the printing component model shape, that is, the slicing graphics and printing parameter information. Based on the same printing component model and printing
  • the residual stress data, the equivalent relaxation time data and the measured value of at least one performance evaluation parameter obtained from the parameter information can be used as a set of training data.
  • the labels or tags in the training dataset are formed based on the correspondences.
  • a set of printing parameters B 11 (B i1 , B j1 , B k1 , B l1 , B m1 , B n1 , . . . ) are assigned to the model.
  • the measured value P 11 can be identified as the expected data of the residual stress data S 11 and/or the equivalent relaxation time data E 11 based on the corresponding relationship during the training process .
  • B i1 , B j1 , B k1 , B l1 , B m1 , B n1 can refer to different printing parameters such as the printing path of the printing head, the layer height, the moving speed of the printing head, the output speed of the printing material, the heating of the printing material.
  • the values of temperature, extrusion temperature, etc., P c1 , P d1 , P e1 , P f1 can refer to different performance evaluation parameters such as component printability, shape distortion, structural stiffness, interlayer bonding strength, geometric accuracy, etc. Measurements.
  • the same 3D printing component model A 1 configure another set of printing parameters B 12 (B i2 , B j2 , B k2 , B l2 , B m2 , B n2 , ...) for the model to perform printing experiments or finite element simulations
  • the residual stress data S 12 and the equivalent relaxation time data E 12 are obtained by printing, and a performance test is performed on the printed member obtained by the printing experiment to obtain a measurement value P 12 (P c2 , P d2 , P ) of at least one performance evaluation parameter e2 , P f2 , . , E 12 , P 12 ), the measured value P 12 can be identified as the expected data of the residual stress data S 12 and/or the equivalent relaxation time data E 12 based on the correspondence during the training process.
  • Multiple sets of training data can be obtained by changing the slice graphics or printing parameters for printing experiments, which will not be repeated here.
  • the layered (sliced) graphics are different.
  • the training data is used to obtain the at least one performance evaluation parameter.
  • the printing experiment of the measured value is a control experiment of finite element simulation printing.
  • the environment of the printing experiment and finite element simulation printing is: printing the same layered (slice) graphic configuration of the same 3D printing component with the same printing Parameter information is formed.
  • the actual printing parameters can be used to construct a comparative finite element simulation printing environment, but the same printing parameters described here are not limited to each printing
  • the parameter values are exactly the same, or the printing parameter information corresponding to the printing experiment and the finite element simulation can be the same within the allowable error range.
  • the layered (sliced) graphics are obtained in advance based on cross-sectioning of the 3D printed component model in the Z-axis direction.
  • a slice pattern delineated by the outline of the 3D printing component model is formed on the cross-sectional layer formed by each adjacent cross-sectional division.
  • the cross-sectional layer is sufficiently thin, it can be determined that the cross-sectional layer is on the cross-sectional layer.
  • the contour lines of the cross-sectional surface and the lower cross-sectional surface are the same.
  • each sliced image is also called layered image (pattern) and sliced image (pattern).
  • the layered (slice) graphics are all layered graphics that constitute the 3D printing component model, and the corresponding slice data includes each layered (slice) graphics and its configured layer height , and the print path for layered graphics.
  • the layered (sliced) pattern of the 3D printed component is related to the geometry of the 3D printed component, and in some embodiments, the 3D printed component is a regular-shaped geometric structure, including vertical thin walls, horizontal thin plates, inclined Sheets, cubes, cylinders, cylinders, square cylinders, cones, inclined columns, solid blocks, grid-filled structures, etc.
  • the grid-filled structure is, for example, a structure that is filled by grids with gaps in a limited printing area (or a three-dimensional contour area of a 3D printing component), and the grids are, for example, triangles, quadrilaterals, hexagons, etc.;
  • the grid fill structure may be determined based on the area area to determine the percentage of fill and the selected grid shape.
  • the 3D printing component is a complex structure
  • the complex structure is, for example, a complex structure formed by assembling a plurality of the geometric structures with regular shapes, for example, corresponding to some actual customized goods, medical Complex structures of fixtures, organ models, etc.
  • printing data that can be read by a 3D printing device is formed, thereby performing actual printing or finite element simulation printing.
  • the data of the component model can be in any known format, including but not limited to Standard Tessellation Language (STL) or Stereo Lithography Contour (SLC) format, Virtual Reality Modeling Language (Virtual Reality) Modeling Language (VRML), Additive Manufacturing File (AMF) format, Drawing Exchange Format (DXF), Polygon File Format (PLY) or suitable for computer-aided design (Computer-aided design) -Aided Design, CAD) in any other format.
  • STL Standard Tessellation Language
  • SLC Stereo Lithography Contour
  • VRML Virtual Reality Modeling Language
  • AMF Additive Manufacturing File
  • DXF Drawing Exchange Format
  • PLY Polygon File Format
  • suitable for computer-aided design Computer-aided design
  • Computer-aided design Computer-aided design
  • CAD Computer-aided design
  • the fused deposition process is also called FDM printing.
  • the material is extruded and cooled from the print head in a high-temperature fluid state.
  • the material is gradually added in a molten state, or is brought into a molten state by a moving heat source (such as a heating element), followed by cooling on a continuously evolving surface, it being understood that based on printing convective radiation, ambient cooling, and heat source movement, printing
  • the temperature of the material also evolves over time.
  • the sets of residual stress data and/or the sets of equivalent relaxation time data are obtained through printing experiments.
  • a measurement device such as an infrared thermal imager detects temperature field distribution data inside the printing cavity that changes with time during printing, and the equivalent relaxation time data can be obtained based on the temperature field distribution data.
  • the thermal imaging camera frame is set at the same height as the printing member during the curing process, and the projection surface observed or recorded by the thermal imaging camera is recorded as the height of the printing member increases as the printing material accumulates layer by layer.
  • the temperature change history of the material is also the temperature field distribution data; the recorded temperature change history is in the form of, for example, visual images (photos) converted from temperature distributions or temperature field videos, dynamic graphs, etc. at different printing times.
  • thermal imaging cameras can be set up in different directions of the printing member, or multiple printings can be performed by changing the relative directions of the printing member and the thermal imaging camera, such as making The print member is rotated at a certain angle for printing and the process can be repeated to obtain a history of temperature changes in different areas of the print member.
  • the infrared thermal imager is usually arranged outside the printing cavity, in order to weaken the infrared rays collected by the infrared thermal imager from the cavity structure such as a light-transmitting glass plate.
  • the temperature field can also be corrected.
  • the correction process can, for example, obtain temperature field distribution data based on multiple printing experiments, and calculate the attenuation value brought by the cavity structure through data processing.
  • the device for recording the temperature evolution of the printing material during actual printing may also be a thermocouple, a radiation thermometer, an electronic temperature sensor and other instruments or devices that can be used for temperature detection, which are not limited in this application.
  • the relative positions of the temperature detector and the printing member are determined based on the different types of temperature detectors provided, such as a contact detector or a non-contact detector, so as to obtain the temperature change of the printing member from the start of printing to the cooling and forming of the component Historically, for example, when the temperature detector is a thermocouple, the thermocouple can be arranged at different key positions in the cavity to record the change of the temperature value during printing. By processing the temperature change history, the equivalent relaxation time data in S10 can be obtained.
  • the temperature change history and the specific shape of the printing component model such as geometric structure type, size or layered (sliced) graphics
  • the printing parameters set for the printing component model such as printing material properties, printing head moving speed, printing equipment component board heating temperature
  • multiple sets of temperature change histories can be obtained based on printing experiments (that is, actual printing).
  • the multiple sets of equivalent relaxation time data are obtained through the process, and the training method of the machine learning model can be executed based on the multiple sets of equivalent relaxation time data, so as to generate a comparison between the printing parameters and performance of the printing component models of different shapes.
  • Associated machine learning models are associated machine learning models.
  • the residual strain data is obtained by measuring the formed printed member, such as by mechanical methods such as partial separation, segmentation, drilling, grooving, etc., to release the residual stress on the printed member, based on the The resulting deformation of the component is calculated to calculate the residual stress; or the residual stress distribution state of the printed component is measured by non-destructive physical detection methods such as X-ray diffraction, neutron diffraction, magnetic method, ultrasonic method, and indentation strain method.
  • the plurality of sets of residual stresses can be obtained by performing printing experiments for printing component models with different printing parameters, and measuring the residual stress of the formed printing component.
  • the sets of residual stress data or the sets of equivalent relaxation time data are obtained in different finite element simulation environments; wherein, the different finite element simulation environments are obtained by analysing 3D printed components. Model setups are formed with different print parameter information.
  • the 3D printing component model is set to perform simulated printing with different printing parameter information, and the dynamic temperature field distribution data and residual stress data of the printing component during the simulated printing process are output, wherein based on the dynamic temperature field distribution data can be calculated
  • the sets of equivalent relaxation time data are obtained.
  • the finite element simulation environment can be built in a device with processing functions, for example, the processor uses any type of grid with an optional preset density to discretize the representation of real-world objects into a plurality of finite elements, where the finite element is a description of the geometric part of a real-world object.
  • the device can be any computing device with mathematical and logical operation and data processing capabilities, including but not limited to: personal computer device, single server, server cluster, distributed server, cloud server, etc.
  • the finite element simulation environment uses a mathematical approximation method to simulate real physical systems (such as geometry and load conditions).
  • a finite element simulation environment close to the real printing environment is constructed based on the construction, that is, The variables that determine (or affect) the temperature history data and the residual stress data during the printing process are made to be close to the same in the actual printing environment and the finite element simulation environment, so as to improve the reliability of the simulated printing.
  • the residual stress data and equivalent relaxation time data obtained by simulating printing in the finite element simulation environment can represent the residual stress data and equivalent relaxation time data in the real printing environment.
  • the residual stress data or/and the equivalent relaxation time data formed in the environment can form a set of training data with the measured values of at least one performance evaluation parameter obtained in the printing experiment as the finite element simulation environment control experiment.
  • the finite element simulation environment is determined by the layered graphics and printing parameters of the 3D printing component model, and multiple sets of training data can be formed by changing at least one printing parameter information or the layered graphics of the model.
  • the finite element simulation environment is used to simulate a real printing environment, and in some embodiments provided in the present application, the printing parameter information in the finite element simulation environment is based on the parameters of the actual printing environment in the printing experiment of the comparison The information is determined, for example, the printing equipment information in actual printing, such as the cross section of the print head, is a known quantity.
  • the parameters of the actual printing environment such as the shape of the cross section of the print head, are obtained to construct a finite element simulation environment.
  • the printing component model can be processed to form G-Code data through slicing, and printing parameter information is configured for the G-Code data, that is, available For actual printing, a finite element simulation environment can also be formed.
  • the G-Code data includes a series of spatial coordinate points with sequential execution order
  • the G-Code data of the 3D printing component model is the printing path expressed in coordinates and time series or sequential order.
  • the G-Code data is input into the computing device of the processing function, and the print head moves in accordance with the path formed by the sequence of each spatial coordinate point of the G-Code data, which constitutes a 3D printing component.
  • the printhead may be a virtual printhead such as a printhead virtually modeled in a finite element simulation environment or a functionally equivalent printhead.
  • the printing parameter information includes one or more of the printing path of the printing head, the layer height, the moving speed of the printing head, the output speed of the printing material, the heating temperature of the printing material, and the extrusion temperature. .
  • the filamentous hot-melt material is fed into the hot-melt nozzle through a wire feeding mechanism (usually a roller), and the filamentary material is heated and melted in the nozzle, and the nozzle moves along the contour of the part and the filling track. , and extrude the molten material, deposit it at the designated position, solidify and form, bond with the previous layer of already formed material, and accumulate layer by layer to finally form a product model.
  • a wire feeding mechanism usually a roller
  • the printing head is a heating head (also known as a heating nozzle, a nozzle or a nozzle) in an FDM type 3D printing device, which is used to heat and melt the filament as a 3D printing raw material into a liquid material and apply it to the component plate.
  • the build plate also known as build platform or print platform
  • the layer height is the slice layer thickness of the printed component model, and in some examples is the distance between adjacent layer printing paths in the G-Code data in the vertical direction (Z-axis direction), and the layer height can be used to indicate the Z-axis The vertical height of the movement.
  • the parameters defined by the print head can be set based on the print head data in actual printing, or can be set manually.
  • the parameter information of the print head It can be read by 3D printing equipment, or used for finite element simulation.
  • the print head may serve as a starting point for conveying printing material, shown as having its position determined by the print travel speed and print path section.
  • the functionally equivalent print head is achieved by giving the print material the influence of the print head, such as giving the print material the process of increasing the predetermined path of the print head, the effect of the print head on the temperature of the extruded print material, etc. In practice, there is no need to build a model of the printhead.
  • the output speed of the printing material is the output speed at which the printing material moves relative to the print head, i.e. the speed at which the material accumulates in the printing environment such as on the build platform.
  • the heating temperature of the printing material is the temperature value or temperature range at which the printing material is heated to a molten state inside the printing device; the extrusion temperature is the temperature of the printing material when the printing head is extruded. In one example, the The extrusion temperature is determined by the heating temperature of the printing material and the temperature set at the print head.
  • the printing parameter information further includes printing equipment parameter information
  • the printing equipment parameter information includes printing initial temperature field information, printing equipment component board heating temperature, printing chamber temperature, and print head shape in one or more types of information.
  • the printing temperature field information is the temperature field information in the printing device or in the printing chamber at the initial time of printing.
  • the method for obtaining the initial printing temperature field information includes: measuring the temperature field before printing based on a thermal imager or a thermocouple.
  • the temperature distribution of the printing cavity obtains the printing initial temperature field information of the finite element simulation environment.
  • the temperature distribution data in the printing chamber before the printing starts is obtained based on the thermal imager or thermocouple
  • the temperature distribution data is, for example, a temperature visualization obtained by converting the thermal imager
  • the printing at the initial printing moment is obtained based on the temperature distribution data.
  • the temperature values at different positions in the chamber form the printing initial temperature field information that can be used for the finite element simulation environment of the component.
  • the temperature detection instrument or device used to obtain the temperature field distribution at the initial printing moment may also be a radiation thermometer, an electronic temperature sensor, etc., which is not limited in this application.
  • the initial print temperature field is obtained based on multiple measurements of the printing device to correct the measured temperature field via data processing.
  • the initial printing moment is the moment when printing starts or the moment before printing starts, and the temperature field in the printing environment is a function of time.
  • the moment is usually a small time interval such as 0.5s, 1s , 1.5s, etc.
  • the temperature field that changes with time can be equivalent to a constant temperature field.
  • the heating temperature of the component board of the printing device can be directly set on the component board.
  • the heating temperature of the component board of the printing device can be a constant temperature contact surface or a temperature that increases or dissipates heat according to a preset rule.
  • the contact surface is the receiving surface of the first layer of printing material, that is, the bottom surface of the model.
  • the temperature of the printing substrate is a preset constant value.
  • the boundary condition at the bottom of the model is a constant temperature with a preset fixed value, which is used to simulate the actual printing environment. or, based on the temperature variation function of the printing substrate in the actual printing environment, the temperature at the bottom of the model is set to the same temperature variation function in the simulation.
  • the temperature of the printing chamber is the temperature in the molding chamber, which can correspond to the temperature in the preset chamber volume in the finite element simulation environment, and the chamber volume can be determined based on the structure of the printing device in the actual printing experiment, And apply or define heat exchange conditions and material types equivalent to the actual chamber to simulate the actual printing environment.
  • the printing chamber temperature may be defined in finite element simulations using an equivalent heating or cooling rate of the printing environment, which may be obtained based on boundary conditions of the actual printing environment Heat transfer formula or defined by empirical formula.
  • the print head usually defaults to a circular cross-section or a polygonal cross-section (such as a square, rectangular, rhombic, pentagon or hexagonal cross-section), and the print material can be transported by the shape (or cross-section) of the print head.
  • Cross section to the printing chamber for cooling and forming.
  • the cross-sectional shape of the print head is not limited to the above examples, and the geometric parameters may be defined according to the preset print head shape in the simulation.
  • the printing parameter information further includes material property information of the printing member, where the material property information includes: wire type, wire diameter, wire cross-sectional shape, material maximum heating temperature, material thermal parameters, material One or more of dynamic mechanical parameters, and initial residual stress of the material.
  • the property information of the printing material is the material type and its related characteristic information, which can be properties such as physical properties such as specific heat capacity or thermal conductivity, density, melting point, glass transition temperature, mechanical properties, chemical properties, etc. that are usually related to the material type, Generally speaking, different materials have different properties, corresponding to the parameter information of different values or characteristics.
  • the filament type is also the type of printing material.
  • the printing material includes PLA (Polylactic Acid, polylactic acid), ABS (Acrylonitrile Butadiene Styrene acrylonitrile-butadiene-styrene copolymer), polyurethane TPU , TPE material (thermoplastic elastomer), thermoplastic elastomer, nylon, carbon fiber material (such as Carbon Fiber), semi-crystalline thermoplastic, Metal PLA/Metal ABS metal texture PLA/ABS material, PEEK material, FDM conductive wire, Glow -in-the-Dark luminous material (such as adding different colors of fluorescent agents in PLA or ABS), Wood wood-feeling material (by mixing quantitative wood fibers in PLA), etc.
  • PLA Polylactic Acid, polylactic acid
  • ABS Acrylonitrile Butadiene Styrene acrylonitrile-butadiene-styrene copolymer
  • polyurethane TPU TPE material (thermoplastic elastomer), thermoplastic elasto
  • the diameter of the filament is the diameter of the printing material extruded from the print head.
  • the filament has a circular cross-section, and the extrusion of the filament can be obtained by defining the moving speed of the print head and the diameter of the filament. out speed.
  • the cross-sectional shape of the filament is the cross-sectional shape of the forming structure used to stack the forming member during cooling on the continuously evolving surface after the filament has been extruded from the print head.
  • the cross-sectional shape of the wire material is the same shape at the position of the print head, and then the formed wire cross-section may evolve into different shapes based on the heat transfer state and mechanical state of different regions during printing.
  • the cross-sectional shape of the wire material in the finite element simulation environment is defined as the cross-sectional shape of the wire material at the position just extruded at the print head.
  • the maximum heating temperature of the printing material is the upper limit of the temperature allowed for maintaining the properties of the printed material during the process of melting, extruding, cooling and forming the specific printing material, for example, the warpage and shrinkage of the printing material caused by excessive temperature. Based on the printing information as a temperature limit condition, the results obtained by the simulation analysis of the printing process by the finite element simulation method can be prevented from deteriorating the printing quality due to temperature in actual printing.
  • the material thermal parameters include specific heat, thermal conductivity, convective heat transfer coefficient, thermal emissivity (emissivity), etc. of the printing material or the printing environment; in some examples, the material thermal parameters are obtained based on the actual printing environment, such as Parameter reading, measurement or calculation acquisition is performed on the actual printing environment to construct a comparative finite element simulation environment.
  • the convective heat transfer coefficient can be obtained by calculating the convective heat transfer coefficient formula, that is, Newton's law of cooling. For example, based on a certain type of material, the printing filament is uniformly heated to different temperatures and then placed in the printing cavity. , using temperature detection equipment such as infrared thermal imager or thermocouple to record the change law of wire temperature with time, based on the temperature of different areas in the printing chamber, that is, the function of the temperature field with respect to time, and the actual printing environment determined such as convection conversion occurs The thermal heat transfer area is calculated to obtain the convective heat transfer coefficient of the printing material.
  • the convective heat transfer coefficient formula that is, Newton's law of cooling.
  • a printing experiment is performed on a geometric structure model with regular shape, the temperature field distribution of the printing material changes with time during the printing process is recorded, and the geometric structure model is set to perform finite element analysis with different convective heat transfer coefficients Simulate, output the simulated temperature field that simulates the printing process, and use the convective heat transfer coefficient corresponding to the simulated temperature field that coincides with the temperature field of the printing experiment as the equivalent convective heat transfer coefficient.
  • the geometric model with regular shape is, for example, a simple axisymmetric structure such as a horizontal thin plate, a thin-walled cylinder, etc.
  • the variation law of the surface temperature of the geometric structure is recorded by a temperature detection device such as an infrared thermal imager;
  • a temperature detection device such as an infrared thermal imager;
  • multiple groups of control variables are simulated and printed for the printing parameter information, wherein the variable is the convection heat transfer coefficient set in the finite element simulation environment, which will affect the temperature change of the printing material during printing in the finite element environment.
  • the rest of the variables are set to be consistent with the printing experiment, and the simulation printing is repeated until the temperature change law of the geometric structure surface output by the simulation printing (that is, the temperature field of the simulation printing) coincides with the temperature field of the printing experiment, and the actual printing temperature will be obtained.
  • the convective heat transfer coefficient set in the finite element environment of the simulated printing temperature field of the field coincidence is regarded as the equivalent convective heat transfer coefficient, and the convective heat transfer coefficient of the corresponding material type can be obtained.
  • the thermal emissivity can be measured based on a thermal emissivity tester.
  • the thermal emissivity is obtained by performing a thermal emissivity test on a printed member during actual printing, and the thermal emissivity is used as the input information of the finite element simulation.
  • the material dynamic mechanical parameters are the material mechanical properties (or mechanical properties) such as: storage modulus (elastic modulus), loss modulus (viscous modulus) and the relationship between time, temperature, frequency, the material dynamic mechanical parameters It can be determined based on DMA (Dynamic thermomechanical analysis).
  • the method for determining the dynamic mechanical parameters of the material includes: measuring the response of the printed member, that is, the sample used for testing, after being applied with alternating strain, constant strain, or fixed load at different temperatures, to obtain The curve of the storage modulus and loss modulus of the material with temperature and time, fit the curve to obtain the dynamic mechanical parameter information of the material input in the finite element simulation, such as damping characteristics, creep, stress relaxation, glass transition, etc.
  • an alternating displacement signal is applied to a printing member or a sample formed of the printing material, and the load response of the corresponding printing member is measured, thereby obtaining the energy storage of the printing material at this temperature.
  • Modulus and loss modulus By changing and repeating the aforementioned measurement process, the function or variation law of the storage modulus and loss modulus of the material with respect to time is obtained, thereby determining the dynamic mechanical parameters of the material for constructing the finite element simulation environment.
  • the sample can be prepared based on the requirements of the DMA test, for example, the length and width of the sample are limited to 2-20 mm, the thickness is 0-5 mm, and the upper and lower surfaces are parallel.
  • the alternating strain, constant strain or fixed load causes different deformations of the printed member according to different loading directions, and the types of deformation include tension, compression, bending, 3-point bending, and shearing. at least one.
  • a 3-point bending test can be used to determine the elastic modulus for composite materials, and in a practical scenario, the maximum displacement, maximum amplitude, and deflection force can be set for the printed sample.
  • the loading direction of the strain or load relative to the specimen can be changed, so that the printed member produces different types of deformation, and different parameters of the material can be obtained from the type of strain applied to the printed member and the loading direction of the load;
  • the printing member is a sample obtained by printing or a sample obtained by dividing the printing member.
  • samples of the same specification can also be tested in different loading directions, and the dynamic mechanical parameter information of the material can be determined by comparison to reduce measurement errors.
  • the alternating strain is a harmonic stress or load, such as a sinusoidal stress applied to the print member.
  • the initial residual stress will be formed in the initial stage of printing, which is affected by the speed and temperature of the printing material extruded from the printing head.
  • the initial residual stress can be determined by the printing experiment to form the input parameters of the finite element simulation environment, so that the finite element simulation environment is close to the real printing environment.
  • FIG. 2 is a schematic flowchart of a method for determining the initial residual stress in an embodiment.
  • step S101 multiple sets of monofilament printing experiments are performed on the printing material with different printing parameter information.
  • the initial residual stress in printing is related to printing parameters, such as extrusion temperature, type of printing material (filament type), etc.
  • printing experiments with different printing parameters are set to obtain more Sets of monofilament structures available for initial residual stress measurements.
  • step S102 the residual stress of the monofilament component obtained by the multi-group monofilament printing experiments is calculated or measured.
  • the monofilament structure may be processed to release residual strain, the deformation of the monofilament may be measured to calculate the residual stress; or the residual stress of the monofilament component may be determined based on a physical detection method.
  • the monofilament structure obtained by printing is heated to above the glass transition temperature, for example, heated to 10°C above the glass transition temperature, and the lengths of the monofilament structure before and after heating are recorded as L 0 and L, respectively, at During this process, the residual stress in the monofilament is released, and the deformation produced by the monofilament, namely (L 0 -L)/L, can determine its residual stress.
  • the residual stress of the monofilament structure can also be released by mechanical methods such as partial separation, division, drilling, grooving, etc., and the residual stress is calculated based on the resulting monofilament deformation; or, for example, X-ray diffraction method is used. , neutron diffraction method, magnetic method, ultrasonic method and indentation strain method and other non-destructive physical detection methods to measure the residual stress distribution state of the monofilament structure.
  • the residual stress of the wire can be obtained, and the multiple sets of residual stress can be obtained.
  • the initial residual stress is formed in the initial stage of printing, and the structure extruded during this time is usually a monofilament structure.
  • the residual stress of the monofilament can be used to characterize the initial residual stress of the printed component. stress.
  • step S103 a residual stress database including the different printing parameter information and the residual stress of the monofilament component obtained by multiple sets of printing experiments is obtained; wherein, the residual stress of the monofilament component obtained by the printing experiment and the printing parameters of the monofilament component are obtained.
  • Information has a corresponding relationship.
  • the residual stress obtained by the measurement of the monofilament and the printing parameters of the monofilament are marked, so that each residual stress data corresponds to a printing parameter.
  • Residual strain database is input into the finite element simulation system, and the simulation system in the finite element simulation can match the corresponding residual stress, ie the initial residual stress, in the residual strain database based on the received printing parameter information.
  • a finite element simulation environment can be constructed.
  • the 3D printing component is subjected to coupled simulation calculation in the finite element simulation environment.
  • the coupling simulation calculation is a coupling simulation calculation under preset boundary conditions, and the boundary conditions include thermal convection boundary conditions and/or Thermal radiation boundary condition.
  • the boundary conditions include boundary conditions for heat transfer and mechanical contact.
  • the size specification is preset.
  • the regular hexahedron is used as the basic unit, and the 3D printing component model is composed of multiple basic units that are regular hexahedrons.
  • the thermal boundary condition of each basic unit is the heat exchange between the basic unit and the external environment and adjacent basic units, including : Convective heat exchange with the constant temperature component plate at the bottom of the model, internal negative heat source brought by ambient cooling, convection between different printing layers and cooling caused by radiation in the printing chamber.
  • the printing process is described with dynamic boundary conditions by re-identifying the surface of the model to assign thermal convection boundary conditions and thermal radiation boundary conditions on the surface of the model at different times in the simulation printing, such as every certain time interval. influence of ambient temperature.
  • a coupled simulation calculation is performed on the 3D printed component in the finite element simulation environment to obtain the sets of residual stress data and/or sets of equivalent relaxation time data, the coupled simulation calculation
  • the model includes a linear viscoelastic model for describing the mechanical deformation of the printing material, or/and a transverse isotropic heat conduction model or an orthotropic heat conduction model for describing the thermal conduction behavior of the printing material.
  • the linear elastic-viscous model is a multi-branch thermo-viscoelastic model that takes into account temperature-dependent relaxation behavior and flow-shear phenomena of the printed material.
  • the mechanical behavior of the material is related to temperature
  • the total strain in printing consists of thermal strain and elastic strain.
  • the thermal-mechanical-chemical coupling model is used to describe the change of the material over time.
  • the obtained simulation results also consider the material properties, The interaction between temperature and mechanical state, as well as temperature and stress-strain, the final deformation data is more in line with the actual printing state, which can reduce the simulation error.
  • one of the stress contour corresponding to the residual stress field, the deformed displacement contour or the temperature contour corresponding to the temperature field can be selected. It should be understood that in the calculation, all The temperature field and the stress field are completely coupled, and the transient temperature field and the residual stress field can be obtained at the same time in the calculation at each moment.
  • the calculation result of the simulated printing is output through finite element simulation, or the printed residual stress data and dynamic temperature field data can be obtained by observing the actual printing process.
  • the residual stress data and the dynamic temperature field data in the calculation result of the simulated printing are the residual stress data and the temperature field data at each spatial coordinate in the printing member.
  • the density of the spatial coordinate points is based on a finite The mesh density set in the meta environment is determined. For example, the higher the mesh density, the smaller each mesh, and the greater the density of spatial coordinate points in the calculated residual stress data and temperature field data.
  • the equivalent relaxation time data is based on the WLF equation (Williams-Landel-Ferry equation) or/and a The Arrhenius equation is obtained when the temperature is equivalent to the same preset temperature value.
  • ⁇ (T 1 ) and ⁇ (T 2 ) are the characteristic relaxation times of the material at different temperatures T 1 and T 2 respectively, and the characteristic relaxation times can represent the stress relaxation ability of the material, a(T 1 ), a (T 2 ) is the temperature-dependent transformation factor (also known as the shift factor), that is, the transformation factor a is a function of temperature.
  • the transformation factor a follows the WLF equation , as shown in the following formula (2):
  • T is the actual temperature in printing
  • TM is the reference temperature
  • C 1 and C 2 are empirical parameters, which are determined by the value of the reference temperature TM .
  • the actual temperature T in the area when the actual temperature T is higher than the glass transition temperature of the printing material, after the preset reference temperature TM is determined, the current actual temperature corresponding to the set reference temperature can be obtained from the formula (2).
  • the conversion factor a of TM can be equivalent to the mechanical relaxation experienced by the material at the reference temperature TM within the time t/a for the mechanical relaxation experienced at the current temperature T within the time t.
  • T is the actual temperature during printing
  • T g is the reference temperature
  • A is the material constant
  • F C is the configurational energy
  • k B is the Boltzmann constant.
  • the activation energy can be regarded as a constant.
  • the temperature field in the printing member changes with time, and at the same time, the temperature histories at different positions or spatial coordinate points in the printing member are different.
  • the printing process is divided into a plurality of tiny
  • the time period dt is composed of, here, the temperature of the printing material in dt can be considered to be a constant value, and the stress relaxation behavior at the dt time can be converted into dt/a at the reference temperature by formula (2) and formula (3).
  • the stress relaxation behavior in time can integrate the relaxation behavior experienced by the printing materials at different positions during the entire printing process, that is, from the start of printing, such as time 0 to cooling and forming, such as time t 1 , as shown in the following formula (4). Show:
  • (x, y, z) is the spatial coordinate point
  • t r (x, y, z) is the equivalent relaxation time of the point during the printing process from time 0 to time t 1 .
  • the temperature history of the entire printing process can be equivalent to the equivalent relaxation time at the preset reference temperature, based on the equivalent relaxation of the printing component Time distribution data can also evaluate stress relaxation behavior at different locations.
  • step S10 also includes obtaining multiple sets of corresponding 3D printing components in the step S10.
  • the performance evaluation parameters include component printability, shape distortion, structural stiffness, interlayer bond strength, geometric accuracy, minimum print gap, resolution, bridging performance, drape performance, surface waviness, At least one of minimum print layer thickness and squareness.
  • the shape distortions include local shape distortions of the printed member, and the corresponding measurement values may be represented by a data array such as a matrix.
  • the performance evaluation result corresponding to the performance evaluation parameter may be, for example, a unit and a numerical value corresponding to the performance.
  • the form of the numerical value includes a singular number, a data array, or an identifier used to characterize the evaluation result under preset rules. Symbols such as text symbols, mathematical symbols, letters, etc.
  • the measured values of at least one performance evaluation parameter of the multiple sets of 3D printing components in the actual printing environment correspond to the multiple sets of residual stress data and multiple sets of equivalent relaxation time data; therefore, in practice In the printing environment, experiments are carried out for each combination of 3D printing components with different geometric structures, different slicing methods, and slicing graphics and printing parameters set with different printing parameters, so as to obtain enough training data.
  • the printability of the component is an evaluation of whether printing can be performed to obtain a printed component that meets quality specifications for the determined layered graphics and printing parameters.
  • the method for determining the printability of the component includes: setting the three-dimensional model of the component with different printing parameters, and determining the combination of the three-dimensional model of the component with local collapse or distortion of the 3D printed component in an actual printing environment and the printing parameters as Not printable. In the actual scene, the printing process is observed and tracked to determine whether the printing component has local collapse or shape distortion from the beginning to the end of printing. If so, it is considered that the printing component under the current printing parameter settings is not printable.
  • the local collapse or shape distortion is related to the temperature state of the local material in printing. For example, when the material in the region is in a high temperature state for a long time, local collapse or shape distortion is prone to occur; it should be understood that under different printing parameter settings , the temperature field of each coordinate position in the printing member may change accordingly. In order to determine the relationship between the printability of the printing member and the temperature field of the printing process, printing experiments are carried out on members of different geometric configurations.
  • Type of printing component model print experiments with different slicing methods and printing parameters, mark the combination of slicing method and printing parameter that successfully prints as 1, and mark the combination of slicing method and printing parameter that fails to print by another mark, such as The mark is 0, from which an evaluation result characterizing the printability can be formed.
  • the mark is 0, from which an evaluation result characterizing the printability can be formed.
  • the way of marking the printability is not limited to this.
  • the shape distortion parameters include overall shape distortion and local shape distortion, which can be used to evaluate the geometric error between the printed component entity and the expected outline of the printed model.
  • determining the measure of shape distortion includes: comparing a curvature error between a surface mesh of the 3D printed component in an actual printing environment and a surface mesh of a model of the 3D printed component to calculate the surface mesh of the component. Distortion of the shape of a local area or/and of the component as a whole.
  • the surface mesh of the 3D printing component model is a 3D printing component model that is preset before printing, for example, in the 3D printing preprocessing.
  • the surface mesh of the 3D printed member in the actual printing environment is obtained by scanning the 3D printed member with a three-dimensional optical scanner.
  • the surface mesh is, for example, a triangular mesh, and a plurality of triangular meshes are used for piecewise linear fitting to the surface of the object.
  • the 3D printed component model in the preprocessing can generate or display the triangular mesh in the preprocessing equipment.
  • the mesh obtained by the optical scanning or the surface mesh of the 3D printing component model may also be quadrilateral, polygon, etc., which is not limited in this application.
  • a measure of the shape distortion parameter of the printed member is obtained by calculating the curvature error between the triangular mesh obtained from the optical scan and the surface mesh of the printed member model, where the curvature may be Gaussian, for example Curvature, principal curvature, average curvature, etc. are used as equivalent curvatures.
  • the mesh obtained by optical scanning of the printed component does not coincide with the 3D printing component model such as the CAD model mesh.
  • the triangular mesh obtained by each actual scan is used.
  • the three closest CAD model meshes can be determined based on the centroid position of the mesh, and the three curvature errors can be obtained by comparing the CAD model mesh with the actual scanning mesh, for example, expressed as ⁇ i1 , ⁇ i2 , ⁇ i3 , taking the average of the 3 curvature errors
  • the curvature error value can be used as the measurement value of the shape distortion of each actual scanned mesh.
  • the degree to which the mesh plane is spatially curved in different directions can be indicated by the equivalent curvature of the mesh.
  • the component surface is replaced by a number of tiny mesh fittings, for a certain type of curvature such as the principal curvature,
  • the principal curvature between each mesh and its adjacent meshes is similar.
  • the CAD model meshes with close distances used for evaluating the actual scanned triangular meshes can also be 2, 4, 5, etc., This application is not limited.
  • the measurement method of the shape distortion parameter can also be based on binocular structured light to measure the overall three-dimensional shape of the printing member, and obtain the three-dimensional point cloud of the printing member based on three-dimensional laser scanning.
  • the surface morphology of the printed component in the actual printing environment obtained in different ways can be compared with the contour of the preset model before printing to realize the shape distortion analysis of the overall and local areas of the component.
  • the structural stiffness of the printed member is an overall stiffness, and the overall stiffness can be used to evaluate the performance that the printed member needs to achieve in practical use. For different printed members, it can be based on the geometrical features of the printed member. Determine the loading direction of the force in the stiffness test to obtain a measurement for the stiffness evaluation of the printed component.
  • the printed member has a cuboid structure
  • it can be defined as the Z direction according to the length direction, for example, in three-dimensional space, the tensile stiffness is measured according to the Z direction, and the bending stiffness is measured in the X-Y direction by using a three-point bending experiment; here .
  • Different types of printing structures need to measure the stiffness in the Z direction and the stiffness in the X-Y direction, and determine the corresponding measurement method based on the geometric structure of the printing component.
  • the overall stiffness can be represented by a stiffness matrix of the entire printed member.
  • the printed member is tested for structural stiffness according to different loading directions of forces, the structural stiffness comprising at least one of bending stiffness, tensile stiffness, compression stiffness, shear stiffness, and torsional stiffness By.
  • the type of structural stiffness to be measured can be determined from the practical scenario of the printed component, for example, a printed component that needs to transmit torque in practice, where its torsional stiffness can be measured.
  • the structural stiffness is represented by the local stiffness of the component
  • the method of measuring the local structure of the component includes: cutting the 3D printed component into a preset regular geometric structure, and measuring the structural stiffness of each geometric structure.
  • the local structural stiffness distribution of the different regions of the printing member ie, the regions of the divided geometric structures, can be formed from the structural stiffness of each geometrical structure.
  • the measurement method of its structural stiffness is similar to the above-mentioned test method of overall stiffness, but the structural stiffness of each local structure is the stiffness with its spatial position information in the 3D printed component, such as the The local stiffness measurements of the 3D printed component are integrated to obtain a matrix characterized by the local stiffness measurements.
  • the matrix or other types of data arrays formed by the local stiffness measurements can characterize the distribution law of the stiffness of the printed member in different regions.
  • the printing member when the structural stiffness of the printing member is represented by the local stiffness, the printing member is divided by a preset number of divisions or the size of the local member, for example, the printing member is divided into equal-sized filling blocks, and the Each infill block is measured for its structural stiffness to obtain a stiffness distribution for the local structure of the printed member.
  • the interlayer bonding strength can represent the consolidation strength between the printing layers of the printing member, and the direction in which each layered pattern is stacked during printing is defined as the Z direction, and the interlayer bonding strength is used to evaluate the printing member. Z-direction performance.
  • the interlayer bonding strength includes the overall interlayer bonding strength and local interlayer bonding strength of the 3D printed component.
  • a tensile test is performed on the printing member along the Z direction, and the stress value when the printing member is damaged is recorded, which can be used as a measurement value of the interlayer bonding strength of the printing member as a whole.
  • the printing member is divided to obtain a plurality of geometric structures (also referred to as samples), a tensile test is performed on each sample along the Z direction, and the damage of the sample when the sample is destroyed is recorded.
  • the stress value is a measure of the interlaminar bond strength of the sample, ie the local interlaminar bond strength of the printed member.
  • the measured value of the interlayer bonding strength of different local components obtained by dividing the printed component can form the distribution data of the interlayer bonding strength of different regions of the 3D printed component. formed matrix.
  • the geometric accuracy includes, for example, surface roughness, dimensional error, shape error, etc.
  • the surface roughness is, for example, the microscopically uneven traces formed on the surface of the printing member with small distances and peaks and valleys;
  • the dimensional error For example, it includes the diameter error, length error, etc. of the printing member;
  • the shape error includes, for example, the position error of the geometric features of the surface of the printing member, such as points, lines, and surfaces.
  • the surface waviness can also be used as an evaluation content of geometric accuracy, which is a surface shape error between macroscopic and microscopic geometrical errors.
  • geometric accuracy is a surface shape error between macroscopic and microscopic geometrical errors.
  • the length of peaks and valleys and spacings on the component surface in the surface waviness error are orders of magnitude greater than the order of magnitude of the surface roughness, and the component surface changes periodically.
  • the minimum printing gap can be used to evaluate the performance of the joint in the printing structure formed by the splicing of different composite parts, and the printing gap refers to the distance between any two parts, thin walls or columns.
  • the minimum printing gap is related to the geometric structure of the printing component, printing parameters such as the property information of the printing material, printing equipment, and the control of the printing molding accuracy. Therefore, for printing experiments using different slice graphics and different printing parameter information, the The physical measurement of the printed component obtains multiple sets of evaluation values for the minimum printing gap.
  • the resolution is characterized by, for example, the wire diameter of the printing member, slice layer thickness before printing (ie, Z-axis layer thickness), dots per inch (DPI), pixel size, beam spot size, nozzle diameter, etc.
  • the printing resolution is The higher the rate, the higher the printing accuracy, and the printing resolution can be used to evaluate the accuracy of the printed member.
  • the bridging performance or sagging performance may be determined based on the type of the printed member. For example, for a member with a bridging portion in the printing member, the number of filaments hanging or sagging at the bridging portion is measured as a measure of the bridging performance; There are overhanging structures in the printing member, such as an arch bridge-shaped central overhanging structure and an inverted concave-shaped structure, which can be used as a measure of the overhang performance by measuring the sagging of the edge of the wire and the overflow of the wire.
  • the perpendicularity can be used to evaluate the vertical state between straight lines, between planes, or between straight lines and planes, wherein straight lines or planes are the evaluation criteria, and here, the straight lines can be the straight line part or the linear motion trajectory of the tested printing member, and the plane It can be a plane formed by a plane part of the sample to be tested or a motion track; for example, when the printing member is a cylinder, the plane can be a plane formed by the rotation and rolling of the cylinder along the axis.
  • the measured value includes the results of multiple sets of printing experiments, and corresponds to multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data; it should be understood that the multiple sets of printing experiments It is a printing experiment carried out on different types of printing components or different layered graphics configurations with different printing parameter information.
  • the training data set used for neural network training can be expanded, so that the machine learning model obtained by training is suitable for predicting different printing components configured with different printing parameter information.
  • step S10 multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printing component are acquired, and multiple sets of 3D printing components are acquired during actual printing.
  • the measured values of at least one performance evaluation parameter in the environment together form training data Q(S, E, P).
  • residual stress data S, equivalent relaxation time data E, and performance evaluation parameters are obtained for each set of training data.
  • the order of the measured values P is not limited; at the same time, for multiple sets of training data, the measured values of at least one performance evaluation parameter of the multiple sets of 3D printing components in the multiple sets of training data in the actual printing environment can be obtained first, or the 3D printing components can be obtained first.
  • Multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the component may first obtain a set of training data Q 11 (S 11 , E 11 , P 11 ), and then obtain another set of training data Q 12 ( S 12 , E 12 , P 12 ), repeat to obtain multiple sets of training data.
  • the training method of the machine learning model can be performed by, for example, a processing device, and the processing device can be any computing device with mathematical and logical operations and data processing capabilities, including but not limited to: personal computer equipment, single Servers, server clusters, distributed servers, cloud servers, etc.
  • the processing device may Obtain all data in the training data set, and identify the corresponding hierarchical graphics and printing parameter information to divide the training data set into multiple sets of training data.
  • step S11 the multiple sets of residual stress data and/or the multiple sets of equivalent relaxation time data are used as input data and the measured values are used as output data to perform associated training to obtain the machine learning model.
  • the measured value of the at least one performance evaluation parameter is a data array, for example, when the stiffness of the printed member is characterized by local stiffness, the measured value is a data matrix formed by the stiffness values of the local structure of the printed member , here, the data matrix may be a two-dimensional matrix, a three-dimensional matrix, or a multi-dimensional matrix, which is not limited in this application.
  • the stiffness value of each local structure can also be represented as a stiffness matrix.
  • the performance evaluation parameter of the printing member is shape distortion
  • the shape distortion is represented by the local distortion on the surface of the printing member
  • the corresponding measurement value can be represented by a two-dimensional matrix, and each element in the matrix corresponds to a local area.
  • the average value or root mean square of the shape distortion of each grid represents the equivalent value of the shape distortion in the local area.
  • the interlayer bonding strength of the performance evaluation parameter is represented by the local interlayer bonding strength, and the interlayer bonding strength value distribution of the printing member corresponding to the measured value in different regions can be represented by a data matrix.
  • the data array is only selected as one form of expression, and here, the performance measurement values of local areas of the 3D printing component can also be expressed in other forms, such as corresponding measurement values in multiple areas, each The measurement value includes corresponding area information such as coordinate information.
  • the performance evaluation parameter of the printing member is characterized by the performance evaluation result of the local area, the distribution law of the measured value of the performance evaluation parameter in the printing member can be obtained. Therefore, for a printing member with a complex structure, the printing member is divided into a plurality of parts for performance evaluation. In some examples, the distribution of the measurement value of the performance evaluation between different parts has continuity, and the measurement value is used as a function.
  • the machine learning model can be based on the shape of the component, the distribution law of the equivalent relaxation time data and the residual stress data in different geometric positions, and the performance distribution law at different positions in the printed component such as distribution
  • the predicted value i.e. the evaluation value
  • the performance evaluation parameters in different areas of the component can be performed based on the distribution law of the internal performance parameters of the printing member obtained in the training, whereby the machine learning model can predict the performance evaluation parameters of each position in the printing member.
  • the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are residual stress data or/or equivalent relaxation time data of each spatial coordinate point in the 3D printing component.
  • the residual stress data input to the neural network is the equivalent relaxation time data obtained from the thermal history at each spatial coordinate point in the printed component.
  • the sets of residual stress data or the sets of equivalent relaxation times are data arrays.
  • the data array includes a multi-dimensional matrix, such as a two-dimensional matrix, a three-dimensional matrix, and the like.
  • each value in the data array may be an average value of residual stress data or equivalent relaxation time data at a plurality of spatial coordinate points in the print member.
  • the simulation domain of the 3D printing component model in the finite element simulation environment is divided into multiple sub-regions according to a preset size or a preset number of partitions, the multiple sets of residual stress data and/or multiple sets of The equivalent relaxation time data is the mean value of residual stress or/and the mean value of equivalent relaxation time in each sub-region in the simulation domain.
  • the sub-region can be obtained by dividing the simulation domain based on the preset size of the sub-region, or obtained based on the preset number of divisions of the simulation domain, for example, dividing the simulation domain into equal parts in the length direction l, width direction m, etc.
  • n equal parts in the height direction, where l, m, and n are all natural numbers greater than or equal to 1; for another example, in a certain simulation domain, set the preset sub-region size to a ⁇ b ⁇ c, and simulate The threshold is divided into multiple sub-regions of size a ⁇ b ⁇ c.
  • the simulation domain may be a computational domain for thermal-mechanical-chemical coupling calculation of simulated printing in a finite element environment.
  • the larger the range of the simulation domain the closer to the printing state in actual production.
  • the scope of the simulation domain includes the printing component model and the equivalent printing chamber boundary and component plate, and the indoor environment where the printing equipment is located is equivalent to the simulation domain boundaries.
  • the residual stress data and equivalent relaxation time data at each spatial coordinate point in each sub-region can be equivalent to the equivalent values in the sub-region, such as average value, root mean square, median, etc., which can be simplified
  • the output results of the finite element simulation calculation reduce the data volume of residual stress data and equivalent relaxation time data from the mesh density to the number of sub-regions, and use the reduced results as the output data for training the machine learning model.
  • the average value of residual stress or/and the average value of equivalent relaxation time in each of the sub-regions is two-dimensional data obtained by transforming three-dimensional data.
  • the simulation domain in the finite element simulation is divided into l ⁇ m ⁇ n sub-regions according to the length, width, and height of l, m, and n, respectively, and the corresponding equivalent relaxation time data and residual stress data are l ⁇ m ⁇ n three-dimensional data, each data value corresponds to a sub-region; here, the three-dimensional data can be processed to form two-dimensional data, and the two-dimensional data can be used as training data to facilitate training calculations.
  • the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are the average value of residual stress or/and the average value of equivalent relaxation time in each sub-region in the 3D printing component model; wherein, The sub-regions are obtained by dividing the 3D printing component model based on a preset size or a preset number of partitions. For example, when the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are obtained by measuring the printing process in an actual printing environment, the sub-regions may be obtained by dividing the three-dimensional contour of the printing member, for example, by dividing the The printing component model is divided into multiple parts based on a preset number.
  • the printing component model is divided into l, m, and n equal parts according to the length, width, and height, respectively, and is divided into l ⁇ m ⁇ n sub-areas.
  • the size divides the printed component model into multiple sub-regions; correspondingly, the residual stress data and temperature field data at different positions in each sub-region are measured and converted into equivalent values representing the whole sub-region, such as average value, root mean square, median
  • equivalent values representing the whole sub-region, such as average value, root mean square, median
  • the calculation amount of training the machine learning model can be reduced.
  • three-dimensional data of equivalent relaxation time data can also be transformed into two-dimensional data for residual stress data characterized by sub-regions.
  • correlation training can be performed to Obtain the machine learning model.
  • the association training is the process of associating the input data with the output data in the initial structure of the preset machine learning model to form a stable evaluation network. For example, after the association training is completed, the machine learning model receives the residual stress of the printing member.
  • the data and/or the equivalent relaxation time data can predict and output the predicted value (evaluation value) of the corresponding printing component performance parameter.
  • the association training can also be understood as a process of supervised learning based on the input data and output data.
  • the machine learning model is an algorithm model constructed based on supervised machine learning, which can be based on the residual stress data, equivalent relaxation time data of the corresponding printing components and the actual printing environment of the printing components.
  • the measurement value of at least one performance evaluation parameter in the training sample ie the input data and output data of the training sample
  • Performance evaluation results of printed components are provided.
  • the functions in the algorithm model are, for example: SVM (support vector machines, support vector machines), AdaBoost (Adaptive Boosting, adaptive enhancement), linear regression algorithm, linear discriminant analysis (LDA), decision tree algorithm (such as Classification and regression tree), random forest algorithm, naive Bayes, K-nearest neighbor algorithm, Learning Vector Quantization (LVQ), etc.
  • SVM support vector machines, support vector machines
  • AdaBoost Adaptive Boosting, adaptive enhancement
  • linear regression algorithm linear discriminant analysis
  • LDA linear discriminant analysis
  • decision tree algorithm such as Classification and regression tree
  • random forest algorithm naive Bayes
  • K-nearest neighbor algorithm K-nearest neighbor algorithm
  • LVQ Learning Vector Quantization
  • the machine learning model is a neural network model.
  • a preset neural network structure can be selected, such as a feedforward neural network, a feedback neural network, a deep neural network, a convolutional neural network, a self-organizing neural network, etc.
  • the training is performed to associate the input data with the output data.
  • the preset neural network structure is adjusted under the corresponding algorithm, so as to gradually form the expected neural network during the training.
  • multiple sets of training data formed based on the equivalent relaxation time data, multiple sets of residual stress data, and multiple sets of measurement values of at least one performance evaluation parameter of the printing component in the actual printing environment can be used to train the preset neural network structure or A machine learning model, so that the connection weights between different neurons in the neural network are adjusted or the data weights in the machine learning model are adjusted.
  • the neural network or machine learning model obtained after training can be based on the received equivalent relaxation time data or/and residual stress data.
  • the performance of the printed matter is predicted, and the predicted value, that is, the evaluation value, is output.
  • step S11 includes a step of adjusting the neural network by performing error evaluation based on the predicted data and the output data; wherein the predicted data is a performance evaluation result of the prediction made by the machine learning model based on the input data.
  • the preset model of the machine learning model is a neural network structure using a supervised learning algorithm, such as a BP neural network.
  • a sample data that is, a set of training data
  • the preset neural network Calculate the evaluation value of the corresponding performance evaluation parameter based on the input data in the training data, that is, the equivalent relaxation time data or/and the stress relaxation time; compare the evaluation value with the output data in the sample data, that is, the performance in the actual printing environment
  • the measured values of the evaluation parameters are compared to obtain a deviation value, and the connection weights between different neurons in the neural network are adjusted according to the deviation value; this process is repeated until the deviation value meets the specified error range.
  • the preset neural network structure is, for example, a deep neural network, wherein a corresponding loss function (Loss Function), such as a mean square error loss function, can be set to measure the output loss of the training data to determine whether the prediction result is accurate , where the loss function is used to indicate the degree of inconsistency between the prediction results of the machine learning model and the actual results of the output data, and is a non-negative real-valued function.
  • a corresponding loss function such as a mean square error loss function
  • the loss function is used to indicate the degree of inconsistency between the prediction results of the machine learning model and the actual results of the output data, and is a non-negative real-valued function.
  • the smaller the loss function the better the robustness of the machine learning model. Its types include logarithmic loss (Logistic Loss) function, square loss function and exponential loss function.
  • the parameters of the prediction algorithm in the neural network that is, the connection weights of neurons between different layers, are adjusted iteratively until the optimization extremum of the loss function is reached, that is, it is determined that the neural network is based on training.
  • the loss between the result obtained by the prediction of the input data in the data and the output data reaches the set threshold steadily.
  • the training data of the present application is obtained by configuring different printing parameters for the slice graphics of different printing components, and the training data formed has a corresponding relationship between the input data and the output data, that is, the training samples with labels. Usually, it can be based on supervised learning.
  • the neural network trained by the algorithm or other machine learning models can be obtained through the training data provided by the training method of the present application to obtain the required neural network for evaluating the performance of the printing component.
  • the machine learning model or the preset algorithm model of the neural network can also use an unsupervised learning algorithm, such as using a self-organizing neural network to establish the corresponding relationship between the input data and the output data in the training data;
  • an unsupervised learning algorithm such as using a self-organizing neural network to establish the corresponding relationship between the input data and the output data in the training data;
  • a supervised learning algorithm for training which is easy to implement the method of associating the input data with the output data.
  • the machine learning models obtained by performing the training are different.
  • the trained machine learning model is based on the input data. It is predicted that the output evaluation result is also a data array, that is, the structural stiffness evaluation value represented by the local stiffness of the printed component or the interlayer bonding strength evaluation value represented by the local interlayer bonding strength; here, during the training process, machine learning
  • the model automatically learns the material performance parameters at different positions, their residual stress data, equivalent relaxation time data, and the inherent continuity or variation law of the geometric position. It can predict the performance parameters of each position in the printed component and output it as data. Array of predicted results.
  • the machine learning model predicts based on the input data, and outputs the stiffness evaluation value of the overall structure of the printed component; another example, in the printability experiment of the printed component, the The combination of component model and printing parameters that are successfully printed is marked as 1, otherwise, the failure is marked as 0.
  • the machine learning model after the training is predicted based on the output data, and the printability of the printed component is output as 0 or 1. Printability evaluation. value.
  • the machine learning model obtained by training is After receiving the equivalent relaxation time data of the printing member, the residual stress data is output, and the predicted value of a single evaluation parameter or several evaluation parameters (the types of which correspond to the evaluation parameters in the training data) are output.
  • the input data of the training data set is equivalent relaxation time data
  • the output data is the printability measurement of the printed member
  • the machine learning model obtained by training is based on a single input, that is, the equivalent relaxation of the printed member
  • the time data predicts the printability of the printed member, and outputs a single predicted value, that is, an evaluation value for the printability of the member.
  • the machine learning model obtained by training is based on multiple The inputs are equivalent relaxation time data and residual stress data to predict various performance evaluation parameters of the printed component, and output a plurality of corresponding evaluation values.
  • the training method of the machine learning model further includes the step of encapsulating multiple sub-models as the machine learning model; wherein, the multiple sets of residual stress data and/or the multiple sets, etc.
  • the effective relaxation time data is used as input data and a measured value of the performance evaluation parameter is used as output data to perform associated training to obtain a sub-model.
  • the sub-model takes the equivalent relaxation time data or/and the residual stress data as input in the training data set received in the associated training, and uses the measured value of a performance evaluation parameter of the printing component as the output, and executes the completed sub-model.
  • the model receives the equivalent relaxation time data or/and residual stress data of the printed component, it can predict a performance evaluation parameter of the printed component (the type of which is the performance evaluation parameter in the training data when training the sub-network) and predict it. Output evaluation value.
  • there are multiple sub-models, and different sub-models respectively use different types of performance evaluation parameter measurement values as training data during training, and correspondingly obtain sub-models for predicting different performance evaluation parameters.
  • the initial structure of the preset machine learning model for training the sub-model is similar to that described above, which is not repeated here. It should be noted that when each sub-model only predicts one performance evaluation parameter, the The output value of the output layer of the sub-model is one type. In some examples, each sub-model can also predict several performance evaluation parameters. The output value of the sub-model is several. A submodel for predicting structural stiffness and local structural stiffness.
  • the sub-models can be encapsulated to form a machine learning model that can output an evaluation result of at least one performance parameter of the printing member, that is, the machine learning model receives the equivalent relaxation of the printing member
  • the sub-models in it respectively predict different performance evaluation parameters
  • the machine learning model outputs the evaluation results of each sub-model.
  • a part of the sub-models in the machine learning model can be called for prediction based on the type of performance evaluation parameters of the printing member to be evaluated. For example, when only the printability evaluation of the printing member needs to be obtained, only the machine learning model can be called
  • the sub-model used to evaluate the printability in the model predicts and outputs the predicted value, which can improve the calculation efficiency in the prediction and reduce the calculation amount.
  • the obtained multiple groups of printing members are measured to obtain measurement values of at least one performance evaluation parameter; and, obtained in actual printing or simulated by the actual printing environment
  • the temperature field and residual stress field of the printed component in the simulated environment, and the temperature field is equivalent to the equivalent relaxation time that can be characterized by a single parameter, which is composed of multiple sets of measured values and multiple sets of equivalent relaxation time data, multiple sets of
  • the residual stress data forms a training data set with labels, and the preset neural network structure or machine learning model can be used for association training based on the training data set, and the measured values in the training data set are used as output, equivalent relaxation time data and/or Residual stress data is used as input, so that after the training is completed, the neural network or machine learning model can evaluate the equivalent relaxation time that can be characterized by a single parameter, which is composed of multiple sets of measured values and multiple sets of equivalent relaxation time data, multiple sets of
  • the residual stress data forms a training data set with labels
  • the preset neural network structure or machine learning model can be used for association training
  • the machine learning model obtained by the training method of the machine learning model provided by the present application can help to predetermine the optimized printing parameter information, for example, set different printing parameters for the printing component model to simulate printing, and convert the simulation results into equivalent relaxation.
  • Temporal data and/or residual stress data are input into the neural network or machine learning model to obtain a prediction result of printing quality, repeat the simulation printing and prediction, and predetermine the optimal printing of the printing component without actual printing Parameter information; or, for the determined printing parameters and printing component models, by simulating printing and predicting by the machine learning model, you can verify whether the printing components under this setting meet the quality requirements and improve the actual printing pass rate.
  • the present application also discloses a machine learning model training apparatus in a second aspect. Please refer to FIG. 3 , which is a simplified schematic diagram of an embodiment of the machine learning model training apparatus of the present application.
  • the machine learning model is used to evaluate the performance of the 3D printing component
  • the training device includes: a training sample acquisition module 21 for acquiring multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printed component; and obtaining Multiple sets of measurement values of at least one performance evaluation parameter of the 3D printing component in an actual printing environment; a training module 22 for using the multiple sets of residual stress data and/or the multiple sets of equivalent relaxation time data as input data and Correlation training is performed on the sets of measurements as output data to obtain the machine learning model.
  • each module in the training device of the machine learning model may be a software module, and the software module may also be configured in a software system based on a programming language.
  • the software module can be provided by a system of an electronic device.
  • the electronic device is, for example, an electronic device loaded with an APP application or an electronic device with webpage/website access capability, the electronic device includes a memory, a memory controller , one or more processing units (CPUs), peripheral interfaces, RF circuits, audio circuits, speakers, microphones, input/output (I/O) subsystems, displays, other output or control devices, and components such as external ports , these components communicate over one or more communication buses or signal lines.
  • the electronic devices include, but are not limited to, personal computers such as desktop computers, notebook computers, tablet computers, smart phones, and smart TVs.
  • the electronic device may also be an electronic device composed of a host with multiple virtual machines and a human-computer interaction device (such as a touch display screen, a keyboard and a mouse) corresponding to each virtual machine.
  • the training device obtains training data, performs training based on the training data (including generating intermediate results), and obtains the functional modules of the target machine learning model, which can be implemented by various types of devices (such as terminal devices, servers, etc.). , server cluster, or cloud server system), or computing resources such as processors, communication resources (such as for supporting communication in various ways such as optical cables, cellular, etc.) are collaboratively implemented; the training data is trained by the training device. Any one of the obtained machine learning model and prediction results can be stored in the electronic device configuring the training device, and can also be transmitted to other terminal devices, servers, server clusters, cloud servers that communicate with the electronic device network system, etc.
  • the cloud server system may be arranged on one or more physical servers according to various factors such as function and load.
  • the server can be composed of servers based on cloud architecture.
  • a server based on a cloud architecture includes a public cloud (Public Cloud) server and a private cloud (Private Cloud) server, wherein the public or private cloud server includes a Software-as-a-Service (Software as a Service, SaaS) ), Platform-as-a-Service (Platform as a Service, PaaS) and Infrastructure-as-a-Service (Infrastructure as a Service, IaaS), etc.
  • Software-as-a-Service Software as a Service, SaaS
  • PaaS Platform-as-a-Service
  • IaaS Infrastructure-as-a-Service
  • the private cloud service end is, for example, Facebook cloud computing service platform, Amazon (Amazon) cloud computing service platform, Baidu cloud computing platform, Tencent cloud computing platform, and the like.
  • the server can also be composed of distributed or centralized server clusters.
  • the server cluster consists of at least one physical server.
  • Each physical server is configured with a plurality of virtual servers, each virtual server runs at least one functional module in the catering business information management server, and the virtual servers communicate with each other through a network.
  • the network may be the Internet, a mobile network, a local area network (LAN), a wide area network (WLAN), a storage area network (SAN), or one or more intranets, or an appropriate combination thereof.
  • LAN local area network
  • WLAN wide area network
  • SAN storage area network
  • intranets or an appropriate combination thereof.
  • the type, or the type or protocol of the communication network between the publisher terminal and the server or between the responder terminal and the server, etc. are not limited in this application.
  • the present application also provides the following exemplary descriptions:
  • each module in the training device can be embedded in the APP of the electronic device, and the APP of the electronic device can obtain the above-mentioned information from the storage medium of the electronic device or other devices, servers, etc. that communicate with the electronic device network. training data to complete the training process of the target machine learning model.
  • the training device of the machine learning model may be implemented by computing resources provided by an electronic device used to configure the training device, and in other examples, The computing resources required to perform the training process can also be allocated to terminal devices, servers, cloud server systems, or processors, etc.
  • the local storage of the device can also be transmitted to the terminal device, server, cloud server system, or processor for network communication of the device, and can also be provided to other applications or modules for use.
  • the training device is a software module running on the server side, and the server side can also be a distributed and parallel computing platform composed of multiple servers.
  • the required training data can be uploaded. platform to perform the training process.
  • the server side can perform the training process of the machine learning model based on the stored data in the storage medium of the server side or the data from other devices in communication with the server side, whereby the machine learning model generated by training is based on the temperature history data of the printing member or
  • the performance evaluation results obtained by predicting the stress history data can be stored on the server side, and can also be provided to other applications or modules for use.
  • each module of the training device can be an API (Application Programming Interface), a plug-in or a software development kit (SDK, Software) provided to a server (including a cloud server) or an electronic device. Development Toolkit), etc., the API, plug-in or SDK, etc. can realize the functions of each module in the training device, such as the acquisition of training data, and the function of performing training based on the training data to generate a target machine learning model; in some implementations In this manner, the training device presented in this form can be invoked by other servers or electronic equipment to be embedded in various application programs.
  • API Application Programming Interface
  • SDK software development kit
  • the present application also provides an evaluation system for evaluating the performance of a 3D printing component in a third aspect.
  • FIG. 4 shows a simplified structure of the evaluation system for evaluating the performance of a 3D printing component of the present application in an embodiment. Schematic. As shown in the figure, the evaluation system includes an input module 31 and a prediction module 32 .
  • the input module 31 is configured to receive residual stress data and/or equivalent relaxation time data of the 3D printed component.
  • the prediction module 32 is configured to invoke the training method of the machine learning model described in any one of the embodiments provided in the first aspect of the present application to train the generated machine learning model on the residual stress data and/or the residual stress data received by the input module. or equivalent relaxation time data to predict, and output the evaluation value of at least one performance evaluation parameter of the 3D printing component.
  • the present application also provides a computer device in a fourth aspect. Please refer to FIG. 5 , which shows a simplified schematic block diagram of the structure of an embodiment of the computer device provided in the fourth aspect of the present application.
  • the computer equipment includes a storage device 41 and a processing device 42 .
  • the storage device 41 is used to store at least one program, as well as preset input data and output data.
  • the storage device 41 is, for example, a network attached storage device accessed via an RF circuit or an external port and a communication network, which may be the Internet, one or more intranets, a local area network, a wide area network, a storage LAN, etc., or a suitable combination thereof.
  • the storage device controller may control access to the storage device by other components of the device, such as the CPU and peripheral interfaces.
  • the storage device 41 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces.
  • the storage device 41 may further include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state disk.
  • the processing device 42 is connected to the storage device 41, and is configured to execute the at least one program, so as to call the at least one program in the storage device to execute and implement any one of the embodiments provided in the first aspect of the present application
  • the training method of the machine learning model described in the embodiment the preset input data and output data stored in the storage device 41 correspond to the input data and output data in the training data set in the training method of the machine learning model.
  • the processing device 42 includes an integrated circuit chip with signal processing capability; or includes a general-purpose processor, which may be a microprocessor or any conventional processor, such as a central processing unit.
  • a general-purpose processor which may be a microprocessor or any conventional processor, such as a central processing unit.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • a discrete gate or transistor logic device or a discrete hardware component, which can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application, For example, based on the preset input data and output data stored in the storage device 41, the training method of the machine learning model described in any one of the embodiments provided in the first aspect of the present application is executed.
  • the present application also provides a computer device in a fifth aspect.
  • FIG. 6 shows a simplified schematic block diagram of the structure of the computer device provided in the fifth aspect of the present application in an embodiment.
  • the computer equipment includes a storage device 51 and a processing device 52 .
  • the storage device 51 is configured to store at least one program and a machine learning model generated by the method for training a machine learning model in any one of the embodiments provided in the first aspect of the present application.
  • the storage device 51 is, for example, a network attached storage device accessed via an RF circuit or an external port and a communication network, which may be the Internet, one or more intranets, a local area network, a wide area network, a storage LAN, etc., or a suitable combination thereof.
  • the storage device controller may control access to the storage device by other components of the device, such as the CPU and peripheral interfaces.
  • the storage device 51 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces.
  • the storage device 51 may further include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state disk.
  • the processing device 52 is connected to the storage device 51, and is configured to execute the at least one program, so as to call the storage device 51 to execute and implement any one of the implementation manners in the embodiments provided in the first aspect of this application.
  • the machine learning model generated by the training method of the machine learning model, so that the machine learning model predicts the residual stress data and/or the equivalent relaxation time data, and outputs at least one performance evaluation parameter of the 3D printing component. Evaluation value.
  • the processing device 52 includes an integrated circuit chip with signal processing capabilities; or includes a general-purpose processor, which may be a microprocessor or any conventional processor, such as a central processing unit.
  • a general-purpose processor which may be a microprocessor or any conventional processor, such as a central processing unit.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • the program is invoked to execute the machine learning model generated by the machine learning model training method according to any one of the embodiments provided in the first aspect of this application to perform prediction.
  • the present application further provides a computer-readable storage medium, which stores at least one program, and when the at least one program is executed by a processor, implements any one of the embodiments provided in the first aspect of the present application The training method of the machine learning model.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the computer readable and writable storage medium may include read-only memory, random access memory, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, A USB stick, a removable hard disk, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium.
  • the instructions are sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave
  • computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead intended to be non-transitory, tangible storage media.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks usually reproduce data magnetically, while discs use lasers to optically reproduce data replicate the data.
  • the functions described in the computer program for executing the machine learning model training method described herein may be implemented in hardware, software, firmware, or any combination thereof.
  • the functions When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • the steps of the methods or algorithms disclosed herein may be embodied in processor-executable software modules, where the processor-executable software modules may reside on a tangible, non-transitory computer readable and writable storage medium.
  • Tangible, non-transitory computer-readable storage media can be any available media that can be accessed by a computer.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by dedicated hardware-based systems that perform the specified functions or operations , or can be implemented by a combination of dedicated hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Data Mining & Analysis (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)

Abstract

A training method and training apparatus for a machine learning model for evaluating the performance of a 3D-printed member, an evaluation system for evaluating the performance of a 3D-printed member, a computer device, and a computer-readable storage medium. In the training method for a machine learning model, variables that affect the printing quality of a printed member are pre-determined, different printing parameters are set for different printed member models to perform actual printing and simulated printing so as to obtain training data, measured values of the performance of the printed member in an actual printing environment in a training data set are taken as output, and equivalent relaxation time data and/or residual stress data are/is taken as input, such that after training is completed, the machine learning model can evaluate the performance of the printed member on the basis of the equivalent relaxation time data and/or the residual stress data of the printed member, and thus printing parameters of printed members of different types can be associated with printing quality.

Description

机器学习模型的训练方法、训练装置、评价系统Training methods, training devices, and evaluation systems for machine learning models 技术领域technical field
本申请涉及计算机数据处理领域,尤其涉及一种用于评估3D打印构件性能的机器学习模型的训练方法、机器学习模型的训练装置以及用于评估3D打印构件性能的评价系统、计算机设备、计算机可读存储介质。The present application relates to the field of computer data processing, and in particular to a method for training a machine learning model for evaluating the performance of 3D printing components, a training device for a machine learning model, and an evaluation system, computer equipment, and computer software for evaluating the performance of 3D printing components. Read the storage medium.
背景技术Background technique
在目前的3D打印技术中,例如在FDM(Fused Deposition Modeling,熔融沉积)打印中,不同打印层之间的层间粘接的粘接强度以及打印聚合物材料的热力耦合松弛行为对打印物件的机械性能具有较大影响;丝材接触界面的温度和打印材料聚合物分子的扩散时间影响丝材的粘接质量,打印中的受热时间和降温速率等影响丝材的残余应力和微观分子链构象,因此,打印参数的设置如挤出速度、打印速度、层高、材料加热温度、打印腔室温度等影响最终形成的打印物件精度、粘接强度等性能指标。现有的熔融沉积打印切片软件中,采用纯几何的方式确定打印路径和打印参数,无法有效保证打印速度和最终打印产品的性能如成型能力、形状畸变、层间粘接、弹性模量和强度等。In the current 3D printing technology, such as in FDM (Fused Deposition Modeling) printing, the bonding strength of the interlayer bonding between different printing layers and the thermal coupling relaxation behavior of the printed polymer material have an impact on the printed object. The mechanical properties have a great influence; the temperature of the wire contact interface and the diffusion time of the polymer molecules of the printing material affect the bonding quality of the wire, and the heating time and cooling rate during printing affect the residual stress and microscopic molecular chain conformation of the wire Therefore, the settings of printing parameters such as extrusion speed, printing speed, layer height, material heating temperature, printing chamber temperature, etc. affect the performance indicators such as the accuracy and bonding strength of the final printed object. In the existing fused deposition printing slicing software, the printing path and printing parameters are determined in a purely geometric way, which cannot effectively guarantee the printing speed and the performance of the final printed product, such as forming ability, shape distortion, interlayer bonding, elastic modulus and strength. Wait.
现存在以仿真软件或模拟系统等进行模拟打印以获得的打印中的物理场信息(如残余应力、局部区域冷却评估),但无法与实际打印件的性能参数(如形状畸变、层间粘接、弹性模量和强度等)有效关联,难以预先确定优化的打印参数信息,基于现有的切片技术的对打印过程进行分析以及对获得的物件进行性能评价以调整打印路径与打印参数,则需要承担高昂的经济成本与时间成本。The physical field information in printing (such as residual stress, local area cooling assessment) obtained by simulating printing with simulation software or simulation system currently exists, but it cannot be compared with the performance parameters of actual printed parts (such as shape distortion, interlayer bonding) , elastic modulus and strength, etc.) are effectively correlated, and it is difficult to predetermine the optimized printing parameter information. Based on the existing slicing technology to analyze the printing process and evaluate the performance of the obtained objects to adjust the printing path and printing parameters, it is necessary to Bear high economic and time costs.
发明内容SUMMARY OF THE INVENTION
鉴于以上所述相关技术的缺点,本申请的目的在于提供一种用于评估3D打印构件性能的机器学习模型的训练方法、机器学习模型的训练装置以及用于评估3D打印构件性能的评价系统、计算机设备以及计算机可读存储介质,以解决现有的切片技术中难以评估3D打印构件性能而不利于控制后续打印质量及效率等问题。In view of the shortcomings of the above-mentioned related technologies, the purpose of this application is to provide a training method for a machine learning model for evaluating the performance of a 3D printing component, a training device for the machine learning model, and an evaluation system for evaluating the performance of the 3D printing component, Computer equipment and computer-readable storage media are used to solve the problem that it is difficult to evaluate the performance of 3D printing components in the existing slicing technology and is not conducive to controlling the quality and efficiency of subsequent printing.
为实现上述目的及其他相关目的,本申请在第一方面公开了一种用于评估3D打印构件性能的机器学习模型的训练方法,所述机器学习模型的训练方法包括以下步骤:获取所述3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打 印环境中至少一种性能评价参数的多组测量值;以及将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述测量值作为输出数据进行关联训练以获得所述机器学习模型。In order to achieve the above object and other related objects, the present application discloses, in a first aspect, a training method for a machine learning model for evaluating the performance of 3D printing components, the training method for the machine learning model includes the following steps: obtaining the 3D printing Multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the printed component; and multiple sets of measured values of at least one performance evaluation parameter of the 3D printed component in an actual printing environment; and the multiple sets of residual stress data And/or the multiple sets of equivalent relaxation time data are used as input data and the measured values are used as output data to perform associated training to obtain the machine learning model.
本申请在第二方面还公开了一种机器学习模型的训练装置,所述机器学习模型用于评估3D打印构件性能,所述训练装置包括:训练样本获取模块,用于获取3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打印环境中至少一种性能评价参数的多组测量值;训练模块,用于将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述多组测量值作为输出数据进行关联训练以获得所述机器学习模型。In a second aspect, the present application also discloses a training device for a machine learning model, where the machine learning model is used to evaluate the performance of a 3D printing component, and the training device includes: a training sample acquisition module for acquiring multiple data of the 3D printing component. a set of residual stress data and/or multiple sets of equivalent relaxation time data; and multiple sets of measurement values for obtaining at least one performance evaluation parameter of the 3D printing component in an actual printing environment; a training module for applying the multiple sets of residual stress data And/or the multiple sets of equivalent relaxation time data are used as input data and the multiple sets of measured values are used as output data for associated training to obtain the machine learning model.
本申请在第三方面还公开了一种用于评估3D打印构件性能的评价系统,包括输入模块,用于接收所述3D打印构件的残余应力数据和/或等效松弛时间数据;以及预测模块,用于调用如本申请第一方面公开的任一实施方式所述的机器学习模型的训练方法生成的机器学习模型对所述残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。The present application also discloses, in a third aspect, an evaluation system for evaluating the performance of a 3D printed component, comprising an input module for receiving residual stress data and/or equivalent relaxation time data of the 3D printed component; and a prediction module is used to call the machine learning model generated by the training method of the machine learning model according to any one of the embodiments disclosed in the first aspect of this application to predict the residual stress data and/or the equivalent relaxation time data, and output the An evaluation value of at least one performance evaluation parameter of the 3D printed component.
本申请在第四方面还公开了一种计算机设备,包括:存储装置,用于存储至少一个程序,以及预设的输入数据、输出数据;以及处理装置,与所述存储装置相连,用于执行所述至少一个程序,以调用所述存储装置中所述至少一个程序执行并实现如本申请第一方面公开的任一实施方式所述的机器学习模型的训练方法。The present application further discloses a computer device in a fourth aspect, comprising: a storage device for storing at least one program, and preset input data and output data; and a processing device, connected to the storage device, for executing The at least one program is used to call the at least one program in the storage device to execute and implement the method for training a machine learning model according to any implementation manner disclosed in the first aspect of this application.
本申请在第五方面还公开了一种计算机设备,包括:存储装置,用于存储至少一个程序,以及如本申请第一方面公开的任一实施方式所述的机器学习模型的训练方法训练生成的机器学习模型;以及处理装置,与所述存储装置相连,用于执行所述至少一个程序,以调用所述存储装置中所述至少一个程序执行及所述机器学习模型以对所述残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。A fifth aspect of the present application further discloses a computer device, comprising: a storage device for storing at least one program, and the training method for training a machine learning model according to any one of the embodiments disclosed in the first aspect of the present application. the machine learning model; and a processing device connected to the storage device for executing the at least one program to invoke the at least one program execution and the machine learning model in the storage device to analyze the residual stress The data and/or the equivalent relaxation time data are predicted, and an evaluation value of at least one performance evaluation parameter of the 3D printed component is output.
本申请在第六方面还公开了一种计算机可读存储介质,存储至少一种程序,所述至少一种程序被处理器执行时实现如本申请第一方面公开的任一实施方式所述的机器学习模型的训练方法。The present application further discloses, in a sixth aspect, a computer-readable storage medium storing at least one program, and when the at least one program is executed by a processor, implements any one of the implementation manners disclosed in the first aspect of the present application. Training methods for machine learning models.
综上所述,本申请提供的用于评估3D打印构件性能的机器学习模型的训练方法、机器学习模型的训练装置以及用于评估3D打印构件性能的评价系统、计算机设备以及计算机可读存储介质,具有如下有益效果:通过预先确定对打印构件的打印质量有影响的变量,对不同打印构件模型设置不同打印参数进行实际打印以获得所述变量设置为不同数值或不同条件、 状态时获得的打印构件,对由此获得的多组打印构件进行测量以获得至少一种性能评价参数的测量值;并且,获得在实际打印中或由实际打印环境仿真的模拟环境中的打印构件的温度场与残余应力场,并将所述温度场等效为可由单一参数表征的等效松弛时间,由多组测量值与多组等效松弛时间数据、多组残余应力数据形成具有标签的训练数据集,预设神经网络结构或机器学习模型即可基于所述训练数据集进行关联训练,将训练数据集中的测量值作为输出,等效松弛时间数据和/或残余应力数据作为输入,使得在训练完成后,所述神经网络或机器学习模型可基于打印构件的等效松弛时间数据和/或残余应力数据对打印构件的性能进行评价,即可实现针对不同类型的打印构件将其打印参数与打印质量相关联。In summary, the present application provides a training method for a machine learning model for evaluating the performance of a 3D printing component, a training device for a machine learning model, and an evaluation system, computer equipment, and computer-readable storage medium for evaluating the performance of a 3D printing component. , has the following beneficial effects: by pre-determining variables that affect the printing quality of the printing member, different printing parameters are set for different printing member models to perform actual printing to obtain the printing obtained when the variables are set to different values or different conditions and states. components, the thus obtained sets of printed components are measured to obtain measurements of at least one performance evaluation parameter; and, temperature fields and residuals of the printed components in actual printing or in a simulated environment simulated by the actual printing environment are obtained The stress field is equivalent to the equivalent relaxation time that can be represented by a single parameter, and a labeled training data set is formed by multiple sets of measurement values, multiple sets of equivalent relaxation time data, and multiple sets of residual stress data. Assuming that the neural network structure or machine learning model can be associated with training based on the training data set, the measured value in the training data set is used as the output, and the equivalent relaxation time data and/or the residual stress data are used as the input, so that after the training is completed, The neural network or machine learning model can evaluate the performance of the printing member based on the equivalent relaxation time data and/or residual stress data of the printing member, so as to realize the correlation of the printing parameters with the printing quality for different types of printing members .
再者,由本申请提供的机器学习模型的训练方法获得的机器学习模型可帮助预先确定优化的打印参数信息,例如,对打印构件模型设置不同打印参数进行模拟打印,将模拟结果转化为等效松弛时间数据和/或残余应力数据输入至所述神经网络或机器学习模型,即可获得打印质量的预测结果,重复模拟打印与预测,不需进行实际打印,即可预先确定打印构件的优化的打印参数信息;又或,对于已确定的打印参数与打印构件模型,通过模拟打印与预测可验证在此设置下的打印构件是否满足质量要求,提高实际打印的合格率。Furthermore, the machine learning model obtained by the training method of the machine learning model provided by the present application can help to predetermine the optimized printing parameter information, for example, set different printing parameters for the printing component model to simulate printing, and convert the simulation results into equivalent relaxation. Temporal data and/or residual stress data are input into the neural network or machine learning model to obtain a prediction result of printing quality, repeat the simulation printing and prediction, and predetermine the optimal printing of the printing component without actual printing Parameter information; or, for the determined printing parameters and printing component models, through simulation printing and prediction, it can be verified whether the printing components under this setting meet the quality requirements, and the qualification rate of actual printing can be improved.
附图说明Description of drawings
本申请所涉及的发明的具体特征如所附权利要求书所显示。通过参考下文中详细描述的示例性实施方式和附图能够更好地理解本申请所涉及发明的特点和优势。对附图简要说明书如下:The invention to which this application relates is set forth with particularity characteristic of the appended claims. The features and advantages of the inventions involved in this application can be better understood by reference to the exemplary embodiments described in detail hereinafter and the accompanying drawings. A brief description of the drawings is as follows:
图1显示为本申请的机器学习模型的训练方法在一实施例中的流程示意图。FIG. 1 shows a schematic flowchart of a training method of a machine learning model of the present application in an embodiment.
图2显示为本申请的机器学习模型的训练方法中确定初始残余应力的方法在一实施例中的流程示意图。FIG. 2 shows a schematic flowchart of a method for determining initial residual stress in an embodiment of the training method of the machine learning model of the present application.
图3显示为本申请的机器学习模型的训练装置在一实施例中的简化示意图。FIG. 3 shows a simplified schematic diagram of an apparatus for training a machine learning model of the present application in an embodiment.
图4显示为本申请的评价系统在一实施例中的简化示意图。FIG. 4 shows a simplified schematic diagram of the evaluation system of the present application in one embodiment.
图5显示为本申请的计算机设备在一实施例中的简化示意图。FIG. 5 shows a simplified schematic diagram of the computer apparatus of the present application in one embodiment.
图6显示为本申请的计算机设备在一实施例中的简化示意图。FIG. 6 shows a simplified schematic diagram of the computer apparatus of the present application in one embodiment.
具体实施方式Detailed ways
以下由特定的具体实施例说明本申请的实施方式,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本申请的其他优点及功效。The embodiments of the present application are described below by specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification.
在下述描述中,参考附图,附图描述了本申请的若干实施例。应当理解,还可使用其他实施例,并且可以在不背离本公开的精神和范围的情况下进行机械组成、结构、以及操作上的改变。下面的详细描述不应该被认为是限制性的,并且本申请的实施例的范围仅由公布的专利的权利要求书所限定。这里使用的术语仅是为了描述特定实施例,而并非旨在限制本申请。空间相关的术语,例如“上”、“下”、“左”、“右”、“下面”、“下方”、“下部”、“上方”、“上部”等,可在文中使用以便于说明图中所示的一个元件或特征与另一元件或特征的关系。In the following description, reference is made to the accompanying drawings, which describe several embodiments of the present application. It is to be understood that other embodiments may be utilized and mechanical, structural, as well as operational changes may be made without departing from the spirit and scope of the present disclosure. The following detailed description should not be considered limiting, and the scope of embodiments of the present application is limited only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. Spatially related terms, such as "upper," "lower," "left," "right," "below," "below," "lower," "above," "upper," etc., may be used in the text for ease of description The relationship of one element or feature shown in the figures to another element or feature.
再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context dictates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, kinds, and/or groups, but do not exclude one or more other features, steps, operations, The existence, appearance or addition of elements, assemblies, items, categories, and/or groups. The terms "or" and "and/or" as used herein are to be construed to be inclusive or to mean any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C" . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
诚如背景技术所述,在现有的3D打印技术中,通常打印参数的设置对打印构件质量(或性能)有决定作用,例如在FDM打印中,基于打印丝材累积堆叠形成打印构件,不同打印层之间的层间粘接质量与打印构件的整体强度、局部强度有关,同时,打印构件的成型精度也基于不同的打印参数可能呈现为不同的结果。As mentioned in the background art, in the existing 3D printing technology, the setting of printing parameters usually has a decisive effect on the quality (or performance) of the printing component. For example, in FDM printing, the printing component is formed based on the accumulation and stacking of printing filaments. The interlayer bonding quality between the printed layers is related to the overall strength and local strength of the printed component. At the same time, the molding accuracy of the printed component may also show different results based on different printing parameters.
实际打印中需要设置的打印参数通常为多个,因而对任一参数的取值进行调整均可能影响最终打印成型的构件性能。对于一待打印构件模型,如预设的模具模型、医疗治具模型、定制商品模型,基于模型形态确定优化的打印参数,可有效的提高打印构件的合格率,降低由打印失败如打印构件畸变产生的时间消耗与成本损失,但现有的切片技术中难以将打印参数与打印构件性能关联,以预先确定所述优化的打印参数。There are usually multiple printing parameters that need to be set in actual printing, so the adjustment of the value of any parameter may affect the performance of the final printed component. For a model of a component to be printed, such as a preset mold model, a medical fixture model, and a customized product model, the optimized printing parameters are determined based on the model shape, which can effectively improve the qualification rate of the printed component and reduce printing failures such as printing component distortion. The resulting time consumption and cost loss, but in the existing slicing technology, it is difficult to correlate the printing parameters with the performance of the printing member, so as to predetermine the optimized printing parameters.
请参阅图1~图2,显示为本申请提供的用于评估3D打印构件性能的机器学习模型的训练方法执行训练步骤以生成所述机器学习模型的流程示意图。在此,基于所述机器学习模型的训练方法,获得可用于评估打印构件性能的机器学习模型,即可实现将打印参数与打印构件的性能关联,例如,在所述机器学习模型的输入端输入可表征打印参数的数据,即可经由机器学习模型预测获得表征打印构件性能的评价值。Please refer to FIG. 1 to FIG. 2 , which show schematic flowcharts of performing training steps to generate the machine learning model in the method for training a machine learning model for evaluating the performance of a 3D printing component provided by the present application. Here, based on the training method of the machine learning model, a machine learning model that can be used to evaluate the performance of the printing component is obtained, and the printing parameters can be associated with the performance of the printing component, for example, inputting the input of the machine learning model Data that can characterize printing parameters can be predicted through machine learning models to obtain evaluation values that characterize the performance of printing components.
为便于对本申请提供的机器学习模型的训练方法的说明,本申请提供的实施例中采用的坐标系为直角三维坐标,三维坐标的方向分别为X、Y、Z方向,其中,在实际打印中或模拟打印中,Z方向为水平面的法线方向也即一般的垂直于打印工作面的方向,(x,y,z)可指 代所定义的三维空间中的一坐标点。In order to facilitate the description of the training method of the machine learning model provided by this application, the coordinate system adopted in the embodiments provided by this application is a rectangular three-dimensional coordinate, and the directions of the three-dimensional coordinates are X, Y, and Z directions respectively. Or in the simulation printing, the Z direction is the normal direction of the horizontal plane, that is, the general direction perpendicular to the printing surface, and (x, y, z) can refer to a coordinate point in the defined three-dimensional space.
请参阅图1,显示为本申请的用于评估3D打印构件性能的机器学习模型的训练方法在一实施例中的流程示意图。Please refer to FIG. 1 , which shows a schematic flowchart of an embodiment of the training method of the machine learning model for evaluating the performance of 3D printing components of the present application.
在步骤S10中,获取所述3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打印环境中至少一种性能评价参数的多组测量值。In step S10, multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printing component are acquired; and multiple sets of measurement values of at least one performance evaluation parameter of the 3D printing component in an actual printing environment are acquired.
在此,所述3D打印构件为预设的打印构件,例如常见的用于3D打印制造中的打印构件如模具、医疗治具、定制商品比如鞋底、珠宝模型或者牙模等。在本申请提供的实施例中,所述3D打印构件可指代实际打印获得的打印构件实体,或3D打印构件的三维模型。Here, the 3D printing components are preset printing components, such as common printing components used in 3D printing manufacturing, such as molds, medical fixtures, customized products such as shoe soles, jewelry models, or dental molds. In the embodiments provided in this application, the 3D printing component may refer to the actual printing component entity obtained by printing, or a three-dimensional model of the 3D printing component.
所述3D打印构件的多组残余应力数据和/或多组等效松弛时间数据可以为在实际打印中对打印过程进行检测获得的残余应力数据和/或等效松弛时间数据;又或为将所述3D打印构件对应的3D构件模型进行仿真打印,如在有限元模拟环境中模拟打印所获得的残余应力数据和/或等效松弛时间数据。The multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printed component may be residual stress data and/or equivalent relaxation time data obtained by testing the printing process during actual printing; The 3D component model corresponding to the 3D printed component is simulated and printed, such as residual stress data and/or equivalent relaxation time data obtained by simulating printing in a finite element simulation environment.
松弛时间是指物体受力变形,外力解除后材料恢复正常状态所需的时间,在本申请所提供的实施例中,所述等效松弛时间数据可用于表征打印构件中各空间坐标点或局部区域在打印起始至稳定成型的过程所经历的应力松弛。在此,所述打印材料通常为高分子材料,高分子聚合材料的力学松弛行为是其整个历史上诸松弛行为加和的结果,所述力学松弛行为与材料温度相关,例如聚合材料在高温短时间内产生的力学松弛行为之和可等效为低温长时间内产生的力学松弛行为之和。所述等效松弛时间数据为将打印构件中各空间坐标点或局部区域在打印中经历的温度历史等效至同一预设温度值下的松弛时间之和,应当理解,当所述多组等效松弛时间数据为采用同一预设温度值获得,即可基于所述多组等效松弛时间的数值比较多组打印实验或模拟打印对应的材料力学松弛行为;又或,对一组等效松弛时间数据,可基于其数据分布比较打印构件中不同空间坐标点或区域经历的材料力学松弛行为。The relaxation time refers to the time required for the material to return to a normal state after the object is deformed by force and the external force is released. In the embodiments provided in this application, the equivalent relaxation time data can be used to characterize each spatial coordinate point or part of the printing member. The stress relaxation experienced by a region from print initiation to stable formation. Here, the printing material is usually a polymer material, and the mechanical relaxation behavior of the polymer polymer material is the result of the summation of various relaxation behaviors throughout its history, and the mechanical relaxation behavior is related to the material temperature. The sum of mechanical relaxation behaviors generated over time can be equivalent to the sum of mechanical relaxation behaviors generated at low temperature for a long time. The equivalent relaxation time data is equivalent to the sum of the relaxation time under the same preset temperature value from the temperature history experienced by each spatial coordinate point or local area in the printing member during printing. The effective relaxation time data is obtained by using the same preset temperature value, that is, based on the values of the multiple sets of equivalent relaxation times, the mechanical relaxation behaviors of materials corresponding to multiple sets of printing experiments or simulated printing can be compared; or, for a set of equivalent relaxation times Temporal data, which can compare the mechanical relaxation behavior of materials experienced by different spatial coordinate points or regions in the printed component based on its data distribution.
所述残余应力数据为打印构件冷却成型后打印构件整体例如各空间坐标点或局部区域的残余应力值,也可为基于模拟打印计算获得的残余应力值。所述残余应力数据可用于表征成型构件的性能,例如,构件成型后其内部组织具有形变以消除内应力的倾向,从而使打印构件精度改变。The residual stress data is the residual stress value of the entire printing member after the printing member is cooled and formed, such as the residual stress value of each spatial coordinate point or a local area, and may also be the residual stress value obtained by calculation based on simulated printing. The residual stress data can be used to characterize the performance of the molded component, for example, after the component is molded, its internal tissue has a tendency to deform to eliminate internal stress, thereby changing the accuracy of the printed component.
在本申请提供的所述机器学习模型的训练方法中,在步骤S10中获得的所述多组残余应力数据和/或多组等效松弛时间数据,以及3D打印构件在实际打印环境中至少一种性能评价参数的测量值用于形成对机器学习模型的训练数据集,所述训练数据集包括用于进行机器学习模型训练的输入数据与输出数据,基于所述训练数据集执行训练以生成可用于评估3D打 印构件性能的所述机器学习模型。在此,每一组训练数据中包括一确定的残余应力数据和/或一等效松弛时间数据,以及对一确定的3D打印构件在实际打印环境中至少一种性能评价参数的测量值,每一组训练数据中的残余应力数据、等效松弛时间数据以及至少一种性能评价参数的测量值具有对应关系以形成分组。In the training method of the machine learning model provided in the present application, the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data obtained in step S10, and at least one of the 3D printing components in the actual printing environment The measured values of the performance evaluation parameters are used to form a training data set for the machine learning model, the training data set includes input data and output data for the training of the machine learning model, and the training is performed based on the training data set to generate a usable The machine learning model for evaluating the performance of 3D printed components. Here, each set of training data includes a determined residual stress data and/or an equivalent relaxation time data, and a measurement value of at least one performance evaluation parameter of a determined 3D printing component in an actual printing environment, each Residual stress data, equivalent relaxation time data, and measured values of at least one performance evaluation parameter in a set of training data have a correspondence to form groups.
应当理解,经由所述机器学习模型的训练方法获得的机器学习模型旨在将打印构件的打印参数与打印物性能进行关联。打印构件的切片图形、打印参数信息作为决定打印构件性能评价参数的测量值的变量,用于进行分组的依据即为打印构件模型形态也即切片图形及打印参数信息,基于同一打印构件模型以及打印参数信息获得的残余应力数据、等效松弛时间数据以及至少一种性能评价参数的测量值即可作为一组训练数据。It should be understood that the machine learning model obtained via the training method of the machine learning model is intended to correlate the printing parameters of the printing member with the properties of the print. The slice graphics and printing parameter information of the printing components are used as variables to determine the measurement values of the performance evaluation parameters of the printing components. The basis for grouping is the printing component model shape, that is, the slicing graphics and printing parameter information. Based on the same printing component model and printing The residual stress data, the equivalent relaxation time data and the measured value of at least one performance evaluation parameter obtained from the parameter information can be used as a set of training data.
在某些示例中,基于所述对应关系形成训练数据集中的标签或标记。In some examples, the labels or tags in the training dataset are formed based on the correspondences.
举例说明所述对应关系,例如,对一确定的3D打印构件模型A 1,对模型赋予一组打印参数B 11(B i1,B j1,B k1,B l1,B m1,B n1,…)进行打印实验或有限元模拟打印获得所述残余应力数据S 11、等效松弛时间数据E 11,并对打印实验获得的打印构件进行性能测试以获得至少一种性能评价参数的测量值P 11(P c1,P d1,P e1,P f1,…),在此将所述测量值P 11与残余应力数据S 11、等效松弛时间数据E 11进行标记使其分别对应,形成一组训练数据Q 11(S 11,E 11,P 11),在训练过程中基于所述对应关系所述测量值P 11可被识别为残余应力数据S 11和/或等效松弛时间数据E 11的期望数据。其中,B i1,B j1,B k1,B l1,B m1,B n1可指代不同的打印参数例如打印头的打印路径,层高度,打印头的移动速度,打印材料输出速度,打印材料加热温度,挤出温度等的取值,P c1,P d1,P e1,P f1可指代不同性能评价参数如构件可打印性,形状畸变,结构刚度,层间粘接强度,几何精度等的测量值。在此,对于同一3D打印构件模型A 1,对模型配置另一组打印参数B 12(B i2,B j2,B k2,B l2,B m2,B n2,…)进行打印实验或有限元模拟打印获得所述残余应力数据S 12、等效松弛时间数据E 12,并对打印实验获得的打印构件进行性能测试以获得至少一种性能评价参数的测量值P 12(P c2,P d2,P e2,P f2,…),在此将所述测量值P 12与残余应力数据S 12、等效松弛时间数据E 12进行标记使其分别对应,即可形成另一组训练数据Q12(S 12,E 12,P 12),在训练过程中基于所述对应关系所述测量值P 12可被识别为残余应力数据S 12和/或等效松弛时间数据E 12的期望数据。 To illustrate the corresponding relationship, for example, for a certain 3D printing component model A 1 , a set of printing parameters B 11 (B i1 , B j1 , B k1 , B l1 , B m1 , B n1 , . . . ) are assigned to the model. Perform a printing experiment or finite element simulation printing to obtain the residual stress data S 11 and the equivalent relaxation time data E 11 , and perform a performance test on the printed component obtained by the printing experiment to obtain a measured value P 11 ( P c1 , P d1 , P e1 , P f1 , ...), where the measured value P 11 is marked with the residual stress data S 11 and the equivalent relaxation time data E 11 to correspond to each other to form a set of training data Q 11 (S 11 , E 11 , P 11 ), the measured value P 11 can be identified as the expected data of the residual stress data S 11 and/or the equivalent relaxation time data E 11 based on the corresponding relationship during the training process . Among them, B i1 , B j1 , B k1 , B l1 , B m1 , B n1 can refer to different printing parameters such as the printing path of the printing head, the layer height, the moving speed of the printing head, the output speed of the printing material, the heating of the printing material The values of temperature, extrusion temperature, etc., P c1 , P d1 , P e1 , P f1 can refer to different performance evaluation parameters such as component printability, shape distortion, structural stiffness, interlayer bonding strength, geometric accuracy, etc. Measurements. Here, for the same 3D printing component model A 1 , configure another set of printing parameters B 12 (B i2 , B j2 , B k2 , B l2 , B m2 , B n2 , ...) for the model to perform printing experiments or finite element simulations The residual stress data S 12 and the equivalent relaxation time data E 12 are obtained by printing, and a performance test is performed on the printed member obtained by the printing experiment to obtain a measurement value P 12 (P c2 , P d2 , P ) of at least one performance evaluation parameter e2 , P f2 , . , E 12 , P 12 ), the measured value P 12 can be identified as the expected data of the residual stress data S 12 and/or the equivalent relaxation time data E 12 based on the correspondence during the training process.
通过改变切片图形或打印参数进行打印实验即可获得多组训练数据,在此不做赘述,应当理解,任意两组训练数据间打印参数中至少一种参数的取值不同或/及3D打印构件的分层(切片)图形不同。Multiple sets of training data can be obtained by changing the slice graphics or printing parameters for printing experiments, which will not be repeated here. The layered (sliced) graphics are different.
应当理解,在同一组训练数据中,当所述残余应力数据、等效松弛时间数据为通过对打 印构件模型的有限元模拟打印获得,训练数据中用于获得所述至少一种性能评价参数的测量值的打印实验为有限元模拟打印的对照实验,在此,所述打印实验及有限元模拟打印的环境为:对相同的采用同一的3D打印构件的分层(切片)图形配置以相同打印参数信息形成。当然,应当理解的,通常在确定实际打印实验中的打印参数后,可将实际打印参数用于构建相对照的有限元模拟打印环境,但此处所述的相同打印参数并不限制为各打印参数取值完全相同,也可以为令打印实验及有限元模拟分别对应的打印参数信息在误差允许的范围内相同即可。It should be understood that in the same set of training data, when the residual stress data and the equivalent relaxation time data are obtained through finite element simulation printing of the printed component model, the training data is used to obtain the at least one performance evaluation parameter. The printing experiment of the measured value is a control experiment of finite element simulation printing. Here, the environment of the printing experiment and finite element simulation printing is: printing the same layered (slice) graphic configuration of the same 3D printing component with the same printing Parameter information is formed. Of course, it should be understood that after determining the printing parameters in the actual printing experiment, the actual printing parameters can be used to construct a comparative finite element simulation printing environment, but the same printing parameters described here are not limited to each printing The parameter values are exactly the same, or the printing parameter information corresponding to the printing experiment and the finite element simulation can be the same within the allowable error range.
所述分层(切片)图形是预先基于对3D打印构件模型Z轴方向横截切片而得到的。其中,在每相邻横截划分所形成的横截面层上形成由3D打印构件模型的轮廓所勾勒的切片图形,在所述横截面层足够薄的情况下,可认定所述横截面层上横截表面和下横截表面的轮廓线一致。对基于面投影的3D打印设备,各切片图形又称分层图像(图案)、切片图像(图案)。The layered (sliced) graphics are obtained in advance based on cross-sectioning of the 3D printed component model in the Z-axis direction. Wherein, a slice pattern delineated by the outline of the 3D printing component model is formed on the cross-sectional layer formed by each adjacent cross-sectional division. In the case where the cross-sectional layer is sufficiently thin, it can be determined that the cross-sectional layer is on the cross-sectional layer. The contour lines of the cross-sectional surface and the lower cross-sectional surface are the same. For 3D printing equipment based on surface projection, each sliced image is also called layered image (pattern) and sliced image (pattern).
在本申请提供的实施例中,所述分层(切片)图形是为构成3D打印构件模型的所有分层图形,其对应的切片数据包括每一分层(切片)图形及其配置的层高,以及分层图形的打印路径。In the embodiments provided in this application, the layered (slice) graphics are all layered graphics that constitute the 3D printing component model, and the corresponding slice data includes each layered (slice) graphics and its configured layer height , and the print path for layered graphics.
所述3D打印构件的分层(切片)图形与3D打印构件的几何结构有关,在某些实施方式中,所述3D打印构件为形状规则的几何结构,包括竖直薄壁、水平薄板、倾斜薄板、立方体、圆筒体、圆柱体、方筒体、锥体、斜柱、实心块体、网格填充结构等。The layered (sliced) pattern of the 3D printed component is related to the geometry of the 3D printed component, and in some embodiments, the 3D printed component is a regular-shaped geometric structure, including vertical thin walls, horizontal thin plates, inclined Sheets, cubes, cylinders, cylinders, square cylinders, cones, inclined columns, solid blocks, grid-filled structures, etc.
所述网格填充结构例如为在限定的打印区域(或3D打印构件三维轮廓区域)内通过具有间隙的网格进行填充的结构,所述网格举例为三角形、四边形、六边形等;在一示例中,可基于区域面积确定填充的百分比及选定的网格形状确定网格填充结构。The grid-filled structure is, for example, a structure that is filled by grids with gaps in a limited printing area (or a three-dimensional contour area of a 3D printing component), and the grids are, for example, triangles, quadrilaterals, hexagons, etc.; In one example, the grid fill structure may be determined based on the area area to determine the percentage of fill and the selected grid shape.
又或,在某些实施方式中,所述3D打印构件为复杂结构,所述复杂结构举例为由多个所述形状规则的几何结构组装形成的复杂结构,例如对应于一些实际定制商品、医疗治具、器官模型等的复杂结构。Alternatively, in some embodiments, the 3D printing component is a complex structure, and the complex structure is, for example, a complex structure formed by assembling a plurality of the geometric structures with regular shapes, for example, corresponding to some actual customized goods, medical Complex structures of fixtures, organ models, etc.
在一实施方式中,基于预设的3D打印构件模型与打印参数,形成可用于3D打印设备读取的打印数据,由此进行实际打印或有限元模拟打印。所述构件模型的数据可以是任何已知的格式,包括但不限于标准镶嵌语言(Standard Tessellation Language,STL)或立体光刻轮廓(Stereo Lithography Contour,SLC)格式、虚拟现实建模语言(Virtual Reality Modeling Language,VRML)、积层制造档案(Additive Manufacturing File,AMF)格式,绘图交换格式(Drawing Exchange Format,DXF)、多边形档案格式(Polygon File Format,PLY)的形式或适用于计算机辅助设计(Computer-Aided Design,CAD)的任何其他格式。In one embodiment, based on a preset 3D printing component model and printing parameters, printing data that can be read by a 3D printing device is formed, thereby performing actual printing or finite element simulation printing. The data of the component model can be in any known format, including but not limited to Standard Tessellation Language (STL) or Stereo Lithography Contour (SLC) format, Virtual Reality Modeling Language (Virtual Reality) Modeling Language (VRML), Additive Manufacturing File (AMF) format, Drawing Exchange Format (DXF), Polygon File Format (PLY) or suitable for computer-aided design (Computer-aided design) -Aided Design, CAD) in any other format.
在实际打印中,以3D打印的熔融沉积工艺为例,所述熔融沉积工艺亦被称之为FDM打印,打印中材料以高温流体状态从打印头挤出冷却。材料以熔融状态逐渐增加,或者通过移动的热源(例如加热元件)使其处于熔融状态,之后在连续演变的表面上发生冷却,应当理解,基于打印的对流辐射、环境冷却以及热源移动等,打印材料的温度亦随时间演变。In actual printing, taking the fused deposition process of 3D printing as an example, the fused deposition process is also called FDM printing. During printing, the material is extruded and cooled from the print head in a high-temperature fluid state. The material is gradually added in a molten state, or is brought into a molten state by a moving heat source (such as a heating element), followed by cooling on a continuously evolving surface, it being understood that based on printing convective radiation, ambient cooling, and heat source movement, printing The temperature of the material also evolves over time.
在一些实例中,所述多组残余应力数据和/或多组等效松弛时间数据是通过打印实验获得的。In some instances, the sets of residual stress data and/or the sets of equivalent relaxation time data are obtained through printing experiments.
在一实例中,在打印过程中测量设备例如红外热像仪检测打印中随时间变化的打印腔体内部的温度场分布数据,基于此温度场分布数据即可获得所述等效松弛时间数据。在一种示例中,将所述红外热像仪架设为固化过程中与打印构件等高,记录打印材料逐层积累的过程中随打印构件高度增加红外热像仪所观测或记录的投影面上材料的温度变化历史也即所述温度场分布数据;所记录的温度变化历史的形式例如为不同打印时刻的由温度分布转换的可视图像(照片)或温度场视频、动态图等。在另一示例中,当所述打印结构为非轴对称结构,可在打印构件的不同方向分别架设红外热像仪,或通过改变打印构件与热像仪的相对方向进行多次打印,如令打印构件旋转一定角度进行打印并可重复此过程,从而获得打印构件不同区域的温度变化历史。In one example, during the printing process, a measurement device such as an infrared thermal imager detects temperature field distribution data inside the printing cavity that changes with time during printing, and the equivalent relaxation time data can be obtained based on the temperature field distribution data. In an example, the thermal imaging camera frame is set at the same height as the printing member during the curing process, and the projection surface observed or recorded by the thermal imaging camera is recorded as the height of the printing member increases as the printing material accumulates layer by layer. The temperature change history of the material is also the temperature field distribution data; the recorded temperature change history is in the form of, for example, visual images (photos) converted from temperature distributions or temperature field videos, dynamic graphs, etc. at different printing times. In another example, when the printing structure is a non-axisymmetric structure, thermal imaging cameras can be set up in different directions of the printing member, or multiple printings can be performed by changing the relative directions of the printing member and the thermal imaging camera, such as making The print member is rotated at a certain angle for printing and the process can be repeated to obtain a history of temperature changes in different areas of the print member.
在某些示例中例如由FDM设备进行实际打印时,通常将所述红外热像仪设置于打印腔体之外,为削弱由腔体结构如透光玻璃板对红外热像仪所采集的红外辐射的衰减,还可对温度场进行修正,在此,所述修正过程例如可基于多次打印实验获得温度场分布数据,通过数据处理计算腔体结构带来的衰减值。In some cases, for example, during actual printing by FDM equipment, the infrared thermal imager is usually arranged outside the printing cavity, in order to weaken the infrared rays collected by the infrared thermal imager from the cavity structure such as a light-transmitting glass plate. For the attenuation of radiation, the temperature field can also be corrected. Here, the correction process can, for example, obtain temperature field distribution data based on multiple printing experiments, and calculate the attenuation value brought by the cavity structure through data processing.
在此,用于记录实际打印的中打印材料温度演变的设备还可以为热电偶,辐射温度计、电子式温度传感器等可用于温度检测的仪器或设备,本申请不做限制。应当理解,基于所设置的不同类型温度检测仪,如接触式检测仪或非接触式检测仪确定温度检测仪与打印构件的相对位置,以获得打印起始至构件冷却成型中打印构件的温度变化历史,例如,当所述温度检测仪为热电偶,可将热电偶布置在腔体不同关键位置记录打印中的温度值的变化。对所述温度变化历史进行处理,可获得S10中的等效松弛时间数据。Here, the device for recording the temperature evolution of the printing material during actual printing may also be a thermocouple, a radiation thermometer, an electronic temperature sensor and other instruments or devices that can be used for temperature detection, which are not limited in this application. It should be understood that the relative positions of the temperature detector and the printing member are determined based on the different types of temperature detectors provided, such as a contact detector or a non-contact detector, so as to obtain the temperature change of the printing member from the start of printing to the cooling and forming of the component Historically, for example, when the temperature detector is a thermocouple, the thermocouple can be arranged at different key positions in the cavity to record the change of the temperature value during printing. By processing the temperature change history, the equivalent relaxation time data in S10 can be obtained.
所述温度变化历史与打印构件模型的具体形态如几何结构类型、尺寸或分层(切片)图形,对打印构件模型设置的打印参数如打印材料属性、打印头移动速度、打印设备构件板加热温度等的取值相关,在一实施场景中,通过不同形态的打印构件中每一打印构件均配置以不同的打印参数,即可基于打印实验(也即进行实际打印)获得多组温度变化历史,由此处理获得所述多组等效松弛时间数据,基于所述多组等效松弛时间数据可执行所述机器学习模 型的训练方法,以生成将不同形态的打印构件模型的打印参数与性能进行关联的机器学习模型。The temperature change history and the specific shape of the printing component model, such as geometric structure type, size or layered (sliced) graphics, and the printing parameters set for the printing component model, such as printing material properties, printing head moving speed, printing equipment component board heating temperature In an implementation scenario, by configuring different printing parameters for each printing member in different forms of printing members, multiple sets of temperature change histories can be obtained based on printing experiments (that is, actual printing). The multiple sets of equivalent relaxation time data are obtained through the process, and the training method of the machine learning model can be executed based on the multiple sets of equivalent relaxation time data, so as to generate a comparison between the printing parameters and performance of the printing component models of different shapes. Associated machine learning models.
在某些实施方式中,通过对成型后的打印构件进行测量以获得残余应变数据,如通过机械方法举例为局部分离、分割、钻孔、切槽等方式使得打印构件释放残余应力,基于由此产生的构件形变计算残余应力;又或如采用X射线衍射法、中子衍射法、磁性法、超声法以及压痕应变法等无损的物理检测方法测量打印构件的残余应力分布状态,通过对配置为不同打印参数的打印构件模型进行打印实验,并测量成型后的打印构件的残余应力,即可获得所述多组残余应力。In some embodiments, the residual strain data is obtained by measuring the formed printed member, such as by mechanical methods such as partial separation, segmentation, drilling, grooving, etc., to release the residual stress on the printed member, based on the The resulting deformation of the component is calculated to calculate the residual stress; or the residual stress distribution state of the printed component is measured by non-destructive physical detection methods such as X-ray diffraction, neutron diffraction, magnetic method, ultrasonic method, and indentation strain method. The plurality of sets of residual stresses can be obtained by performing printing experiments for printing component models with different printing parameters, and measuring the residual stress of the formed printing component.
在某些实施方式中,所述多组残余应力数据或所述多组等效松弛时间数据是在不同有限元模拟环境中获得的;其中,所述不同有限元模拟环境是通过对3D打印构件模型设置以不同打印参数信息形成的。在此,对所述3D打印构件模型设置以不同打印参数信息进行模拟打印,输出模拟打印过程中打印构件的动态温度场分布数据与残余应力数据,其中,基于所述动态温度场分布数据可计算获得所述多组等效松弛时间数据。In certain embodiments, the sets of residual stress data or the sets of equivalent relaxation time data are obtained in different finite element simulation environments; wherein, the different finite element simulation environments are obtained by analysing 3D printed components. Model setups are formed with different print parameter information. Here, the 3D printing component model is set to perform simulated printing with different printing parameter information, and the dynamic temperature field distribution data and residual stress data of the printing component during the simulated printing process are output, wherein based on the dynamic temperature field distribution data can be calculated The sets of equivalent relaxation time data are obtained.
示例性的,所述有限元模拟环境可在具有处理功能的设备中搭建,例如处理器使用可选的预设密度的任意类型的网格将现实世界对象的表示为离散化成多个有限元,其中有限元是现实世界对象的几何部分的描述。所述设备可以是任何具有数学和逻辑运算、数据处理能力的计算设备,其包括但不限于:个人计算机设备、单台服务器、服务器集群、分布式服务端、云服务端等。Exemplarily, the finite element simulation environment can be built in a device with processing functions, for example, the processor uses any type of grid with an optional preset density to discretize the representation of real-world objects into a plurality of finite elements, where the finite element is a description of the geometric part of a real-world object. The device can be any computing device with mathematical and logical operation and data processing capabilities, including but not limited to: personal computer device, single server, server cluster, distributed server, cloud server, etc.
所述有限元模拟环境利用数学近似的方法对真实物理系统(如几何和载荷工况)进行模拟,在本申请的实施例中,基于构建逼近于真实打印环境的有限元模拟环境,也即,令决定(或影响)打印过程的温度历史数据、残余应力数据的变量在实际打印环境与有限元模拟环境中趋近相同,以提高模拟打印的可靠性。The finite element simulation environment uses a mathematical approximation method to simulate real physical systems (such as geometry and load conditions). In the embodiment of the present application, a finite element simulation environment close to the real printing environment is constructed based on the construction, that is, The variables that determine (or affect) the temperature history data and the residual stress data during the printing process are made to be close to the same in the actual printing environment and the finite element simulation environment, so as to improve the reliability of the simulated printing.
在此,在所述有限元模拟环境中进行模拟打印获得的残余应力数据及等效松弛时间数据即可表征真实打印环境中的残余应力数据及等效松弛时间数据,对一确定的有限元模拟环境中形成的残余应力数据或/及等效松弛时间数据,可与作为有限元模拟环境对照实验的打印实验中获得的至少一种性能评价参数的测量值形成一组训练数据。所述有限元模拟环境由3D打印构件模型的分层图形及打印参数确定,通过改变至少一种打印参数信息或模型的分层图形,即可形成多组训练数据。Here, the residual stress data and equivalent relaxation time data obtained by simulating printing in the finite element simulation environment can represent the residual stress data and equivalent relaxation time data in the real printing environment. The residual stress data or/and the equivalent relaxation time data formed in the environment can form a set of training data with the measured values of at least one performance evaluation parameter obtained in the printing experiment as the finite element simulation environment control experiment. The finite element simulation environment is determined by the layered graphics and printing parameters of the 3D printing component model, and multiple sets of training data can be formed by changing at least one printing parameter information or the layered graphics of the model.
应当理解,所述有限元模拟环境用于模拟真实打印环境,在本申请提供的某些实施例中,所述有限元模拟环境中的打印参数信息是基于对照的打印实验中实际打印环境的参数信息确 定的,例如,实际打印中的打印设备信息如打印头截面是已知量,在对照的有限元模拟中,通过获取实际打印环境的参数如打印头截面形状以构建有限元模拟环境。It should be understood that the finite element simulation environment is used to simulate a real printing environment, and in some embodiments provided in the present application, the printing parameter information in the finite element simulation environment is based on the parameters of the actual printing environment in the printing experiment of the comparison The information is determined, for example, the printing equipment information in actual printing, such as the cross section of the print head, is a known quantity. In the comparative finite element simulation, the parameters of the actual printing environment, such as the shape of the cross section of the print head, are obtained to construct a finite element simulation environment.
在某些实施方式中,例如在FDM打印或对FDM打印的有限元模拟中,所述打印构件模型可经由切片处理形成G-Code数据,对所述G-Code数据配置打印参数信息,即可用于进行实际打印,亦可形成有限元模拟环境。在实践中,G-Code数据包括一系列具有先后执行顺序的空间坐标点,所述3D打印构件模型的G-Code数据即为以坐标和时间序列或先后顺序表示的打印路径,例如,在具有处理的功能的计算设备中输入所述G-Code数据,打印头顺应G-Code数据每一空间坐标点的顺序形成的路径移动即构成3D打印构件。所述打印头可以为虚拟的打印头如在有限元模拟环境中虚拟建模的打印头或由功能等效的打印头。In some embodiments, such as in FDM printing or finite element simulation of FDM printing, the printing component model can be processed to form G-Code data through slicing, and printing parameter information is configured for the G-Code data, that is, available For actual printing, a finite element simulation environment can also be formed. In practice, the G-Code data includes a series of spatial coordinate points with sequential execution order, and the G-Code data of the 3D printing component model is the printing path expressed in coordinates and time series or sequential order. The G-Code data is input into the computing device of the processing function, and the print head moves in accordance with the path formed by the sequence of each spatial coordinate point of the G-Code data, which constitutes a 3D printing component. The printhead may be a virtual printhead such as a printhead virtually modeled in a finite element simulation environment or a functionally equivalent printhead.
在某些实施方式中,所述打印参数信息包括打印头的打印路径、层高度、打印头的移动速度、打印材料输出速度、打印材料加热温度、以及挤出温度中的一种或多种信息。In some embodiments, the printing parameter information includes one or more of the printing path of the printing head, the layer height, the moving speed of the printing head, the output speed of the printing material, the heating temperature of the printing material, and the extrusion temperature. .
通常在FDM打印中,将丝状的热熔性材料经过送丝机构(一般为辊子)送进热熔喷嘴,在喷嘴内丝状材料被加热熔融,同时喷头沿零件层片轮廓和填充轨迹运动,并将熔融的材料挤出,使其沉积在指定的位置后凝固成型,与前一层己经成型的材料粘结,层层堆积最终形成产品模型。Usually in FDM printing, the filamentous hot-melt material is fed into the hot-melt nozzle through a wire feeding mechanism (usually a roller), and the filamentary material is heated and melted in the nozzle, and the nozzle moves along the contour of the part and the filling track. , and extrude the molten material, deposit it at the designated position, solidify and form, bond with the previous layer of already formed material, and accumulate layer by layer to finally form a product model.
应理解的,所述打印头为FDM类型的3D打印设备中的加热头(亦称加热嘴、喷头或喷嘴),用于对作为3D打印原材料的丝材加热熔融成液态的材料涂抹在构件板上;所述构件板(亦称构件平台或打印平台)是用于附着目标3D构件的平台,其并可根据由计算机操作的控制器提供的信号沿垂直的Z轴线运动。所述层高度即打印构件模型的切片层厚,在某些示例中为G-Code数据中相邻层打印路径在重垂方向(Z轴方向)的间距,所述层高度可用于指示Z轴线运动的垂直高度。It should be understood that the printing head is a heating head (also known as a heating nozzle, a nozzle or a nozzle) in an FDM type 3D printing device, which is used to heat and melt the filament as a 3D printing raw material into a liquid material and apply it to the component plate. on; the build plate (also known as build platform or print platform) is a platform for attaching the target 3D component, which is movable along a vertical Z-axis according to signals provided by a computer-operated controller. The layer height is the slice layer thickness of the printed component model, and in some examples is the distance between adjacent layer printing paths in the G-Code data in the vertical direction (Z-axis direction), and the layer height can be used to indicate the Z-axis The vertical height of the movement.
由打印头定义的参数如打印路径、打印头移动速度、以打印头为移动热源的加热温度等可基于实际打印中的打印头数据进行设置,也可人为设定,所述打印头的参数信息可由3D打印设备读取,又或用于进行有限元模拟。The parameters defined by the print head, such as the printing path, the moving speed of the print head, the heating temperature with the print head as the moving heat source, etc., can be set based on the print head data in actual printing, or can be set manually. The parameter information of the print head It can be read by 3D printing equipment, or used for finite element simulation.
在基于有限元模拟获取残余应力数据及/或等效松弛时间数据的一些实施例中,所述打印头可作为输送打印材料的起始点,显示为由所述打印移动速度与打印路径确定其位置的截面。其中,所述由功能等效的打印头通过将赋予打印材料打印头的影响以实现,如赋予打印材料顺应打印头预定路径增加的过程、打印头对挤出的打印材料温度影响等,而在实践中无需建立打印头模型。In some embodiments in which residual stress data and/or equivalent relaxation time data are obtained based on finite element simulations, the print head may serve as a starting point for conveying printing material, shown as having its position determined by the print travel speed and print path section. Wherein, the functionally equivalent print head is achieved by giving the print material the influence of the print head, such as giving the print material the process of increasing the predetermined path of the print head, the effect of the print head on the temperature of the extruded print material, etc. In practice, there is no need to build a model of the printhead.
所述打印材料的输出速度是以打印材料相对打印头运动的输出速度,也即在打印环境中 如构件平台上累积材料的速度。The output speed of the printing material is the output speed at which the printing material moves relative to the print head, i.e. the speed at which the material accumulates in the printing environment such as on the build platform.
所述打印材料的加热温度为在打印设备内部将打印材料加热为熔融状的温度值或温度范围;所述挤出温度为打印材料在打印头挤出时的温度,在一示例中,所述挤出温度由打印材料的加热温度、以及设置于打印头的温度确定。The heating temperature of the printing material is the temperature value or temperature range at which the printing material is heated to a molten state inside the printing device; the extrusion temperature is the temperature of the printing material when the printing head is extruded. In one example, the The extrusion temperature is determined by the heating temperature of the printing material and the temperature set at the print head.
在某些实施方式中,所述打印参数信息还包括打印设备参数信息,所述打印设备参数信息包括打印初始温度场信息、打印设备构件板加热温度、打印腔室温度、以及打印头形状中的一种或多种信息。In some embodiments, the printing parameter information further includes printing equipment parameter information, the printing equipment parameter information includes printing initial temperature field information, printing equipment component board heating temperature, printing chamber temperature, and print head shape in one or more types of information.
所述打印温度场信息为打印初始时刻的打印设备内或打印腔室内的温度场信息,在一示例中,所述初始打印温度场信息获取的方式包括:基于热成像仪或热电偶测量打印前的打印腔体温度分布获取有限元模拟环境的打印初始温度场信息。The printing temperature field information is the temperature field information in the printing device or in the printing chamber at the initial time of printing. In an example, the method for obtaining the initial printing temperature field information includes: measuring the temperature field before printing based on a thermal imager or a thermocouple. The temperature distribution of the printing cavity obtains the printing initial temperature field information of the finite element simulation environment.
在此,基于热成像仪或热电偶获得打印开始前打印腔室内的温度分布数据,所述温度分布数据例如经由热成像仪转化所得的温度可视图,基于所述温度分布数据获知初始打印时刻打印腔室内不同位置的温度值,形成可用于构件有限元模拟环境的打印初始温度场信息。应当理解,用于获取初始打印时刻的温度场分布的温度检测仪器或设备还可以为辐射温度计、电子式温度传感器等,本申请不做限制。Here, the temperature distribution data in the printing chamber before the printing starts is obtained based on the thermal imager or thermocouple, the temperature distribution data is, for example, a temperature visualization obtained by converting the thermal imager, and the printing at the initial printing moment is obtained based on the temperature distribution data. The temperature values at different positions in the chamber form the printing initial temperature field information that can be used for the finite element simulation environment of the component. It should be understood that the temperature detection instrument or device used to obtain the temperature field distribution at the initial printing moment may also be a radiation thermometer, an electronic temperature sensor, etc., which is not limited in this application.
在某些示例中,所述初始打印温度场基于多次对打印设备的测量结果获取,以经由数据处理对测量的温度场进行修正。In some examples, the initial print temperature field is obtained based on multiple measurements of the printing device to correct the measured temperature field via data processing.
所述打印初始时刻为打印开始的时刻或打印起始的前一时刻,打印环境中的温度场为关于时间的函数,在此,所述时刻通常为一较小的时间间隔如0.5s,1s,1.5s等,在此时间间隔内可将随时间的变化的温度场为等效为一恒定温度场。The initial printing moment is the moment when printing starts or the moment before printing starts, and the temperature field in the printing environment is a function of time. Here, the moment is usually a small time interval such as 0.5s, 1s , 1.5s, etc. In this time interval, the temperature field that changes with time can be equivalent to a constant temperature field.
在实际打印环境中所述打印设备构件板加热温度可直接设置于构件板,在有限元模拟环境中所述打印设备构件板加热温度可为恒温的接触面或以预设的规律升温或散热的接触面,所述接触面即为第一层打印材料的承接面也即模型底面。通常,所述打印基板温度为一预设的恒定值,在某些示例的有限元模拟中,在模型最底部的边界条件为,取预设固定值的恒定温度,用于模拟实际打印环境中的打印基板温度;又或,基于实际打印环境打印基板的温度变化函数,在模拟中将模型底部的温度设置为同一温度变化函数。In the actual printing environment, the heating temperature of the component board of the printing device can be directly set on the component board. In the finite element simulation environment, the heating temperature of the component board of the printing device can be a constant temperature contact surface or a temperature that increases or dissipates heat according to a preset rule. The contact surface is the receiving surface of the first layer of printing material, that is, the bottom surface of the model. Usually, the temperature of the printing substrate is a preset constant value. In the finite element simulation of some examples, the boundary condition at the bottom of the model is a constant temperature with a preset fixed value, which is used to simulate the actual printing environment. or, based on the temperature variation function of the printing substrate in the actual printing environment, the temperature at the bottom of the model is set to the same temperature variation function in the simulation.
所述打印腔室温度即为成型腔室内温度,在有限元模拟环境中可对应为预设的腔室体积内的温度,所述腔室体积可基于实际打印实验中的打印设备的结构确定,并施加或定义与实际腔室等效的换热条件与材料类型,以模拟实际打印环境。在某些实施方式中,所述打印腔室温度在有限元模拟中可用打印环境的等效加热速度或冷却速度定义,所述等效加热速度或 冷却速度可由基于实际打印环境的边界条件获得的热传导公式或由经验公式定义。The temperature of the printing chamber is the temperature in the molding chamber, which can correspond to the temperature in the preset chamber volume in the finite element simulation environment, and the chamber volume can be determined based on the structure of the printing device in the actual printing experiment, And apply or define heat exchange conditions and material types equivalent to the actual chamber to simulate the actual printing environment. In some embodiments, the printing chamber temperature may be defined in finite element simulations using an equivalent heating or cooling rate of the printing environment, which may be obtained based on boundary conditions of the actual printing environment Heat transfer formula or defined by empirical formula.
所述打印头通常默认为圆形截面或多边形截面(比如正方形、矩形、菱形、五边形或六边形等形状的截面),通过打印头形状(或截面形状)即可确定将打印材料输送至打印腔室进行冷却成型的截面。当然,所述打印头截面形状不受限于上述举例,在模拟中根据预设的打印头形状定义几何参数即可。The print head usually defaults to a circular cross-section or a polygonal cross-section (such as a square, rectangular, rhombic, pentagon or hexagonal cross-section), and the print material can be transported by the shape (or cross-section) of the print head. Cross section to the printing chamber for cooling and forming. Of course, the cross-sectional shape of the print head is not limited to the above examples, and the geometric parameters may be defined according to the preset print head shape in the simulation.
在某些示例中,所述打印参数信息还包括打印构件的材料属性信息,所述材料属性信息包括:丝材类型、丝材直径、丝材截面形状、材料最高加热温度、材料热参数、材料动态力学参数、以及材料初始残余应力中的一种或多种信息。In some examples, the printing parameter information further includes material property information of the printing member, where the material property information includes: wire type, wire diameter, wire cross-sectional shape, material maximum heating temperature, material thermal parameters, material One or more of dynamic mechanical parameters, and initial residual stress of the material.
所述打印材料的属性信息为材料类型及其相关的特性信息,可以为诸如物理性能如比热容或热传导性能、密度、熔点、玻璃化温度、力学性能、化学性能等通常关联于材料类型的性能,一般来说,不同材料所具备的性能不同,对应为不同取值或特性的参数信息。The property information of the printing material is the material type and its related characteristic information, which can be properties such as physical properties such as specific heat capacity or thermal conductivity, density, melting point, glass transition temperature, mechanical properties, chemical properties, etc. that are usually related to the material type, Generally speaking, different materials have different properties, corresponding to the parameter information of different values or characteristics.
所述丝材类型也即打印材料类型,在一些示例中,所述打印材料包括PLA(Polylactic Acid,聚乳酸)、ABS(Acrylonitrile Butadiene Styrene丙烯腈-丁二烯-苯乙烯共聚物)、聚氨酯TPU、TPE材料(热塑性弹性体)、热塑性弹性体、尼龙、碳纤维材料(例如为Carbon Fiber)、半结晶热塑性塑料、Metal PLA/Metal ABS金属质感PLA/ABS材料、PEEK材料、FDM导电丝材、Glow-in-the-Dark夜光材料(比如在PLA或ABS中添加不同颜色的荧光剂)、Wood木质感材料(通过在PLA中混合定量的木质纤维)等。The filament type is also the type of printing material. In some examples, the printing material includes PLA (Polylactic Acid, polylactic acid), ABS (Acrylonitrile Butadiene Styrene acrylonitrile-butadiene-styrene copolymer), polyurethane TPU , TPE material (thermoplastic elastomer), thermoplastic elastomer, nylon, carbon fiber material (such as Carbon Fiber), semi-crystalline thermoplastic, Metal PLA/Metal ABS metal texture PLA/ABS material, PEEK material, FDM conductive wire, Glow -in-the-Dark luminous material (such as adding different colors of fluorescent agents in PLA or ABS), Wood wood-feeling material (by mixing quantitative wood fibers in PLA), etc.
所述丝材直径为打印材料从打印头被挤出的直径,在某些实施方式中,所述丝材为圆截面,通过定义打印头移动速度与丝材直径即可对应获得丝材的挤出速度。The diameter of the filament is the diameter of the printing material extruded from the print head. In some embodiments, the filament has a circular cross-section, and the extrusion of the filament can be obtained by defining the moving speed of the print head and the diameter of the filament. out speed.
所述丝材截面形状为丝材从打印头处被挤出后在连续演变的表面上冷却的过程中用于堆叠形成构件的成型结构的截面形状。通常,在理想情况下,所述丝材截面形状在打印头位置处为同一形状,而后在打印中基于不同区域的传热状态及力学状态等,成型后的丝材截面可能演变为不同形态。在一示例中,所述有限元模拟环境中的丝材截面形状定义为在打印头处刚挤出位置的丝材截面形状。The cross-sectional shape of the filament is the cross-sectional shape of the forming structure used to stack the forming member during cooling on the continuously evolving surface after the filament has been extruded from the print head. Usually, in an ideal situation, the cross-sectional shape of the wire material is the same shape at the position of the print head, and then the formed wire cross-section may evolve into different shapes based on the heat transfer state and mechanical state of different regions during printing. In one example, the cross-sectional shape of the wire material in the finite element simulation environment is defined as the cross-sectional shape of the wire material at the position just extruded at the print head.
所述打印材料最高加热温度为对于特定打印材料,将其熔融挤出冷却成型的过程中为保持打印物性能所允许的温度上限,例如温度过高导致打印材料的翘曲和收缩。基于该打印信息作为温度限制条件,以避免由所述有限元模拟方法对打印过程的模拟分析获得的结果在实际打印中因温度损害打印质量。The maximum heating temperature of the printing material is the upper limit of the temperature allowed for maintaining the properties of the printed material during the process of melting, extruding, cooling and forming the specific printing material, for example, the warpage and shrinkage of the printing material caused by excessive temperature. Based on the printing information as a temperature limit condition, the results obtained by the simulation analysis of the printing process by the finite element simulation method can be prevented from deteriorating the printing quality due to temperature in actual printing.
所述材料热参数包括打印材料或打印环境的比热、热传导系数、对流换热系数、热辐射系数(辐射率)等;在某些示例中,所述材料热参数基于实际打印环境获取,例如对实际打 印环境进行参数读取、测量或计算获取等,以构建对照的有限元模拟环境。The material thermal parameters include specific heat, thermal conductivity, convective heat transfer coefficient, thermal emissivity (emissivity), etc. of the printing material or the printing environment; in some examples, the material thermal parameters are obtained based on the actual printing environment, such as Parameter reading, measurement or calculation acquisition is performed on the actual printing environment to construct a comparative finite element simulation environment.
在某些示例中,所述对流换热系数可由对流换热系数公式也即牛顿冷却定律计算获得,例如,基于确定的材料类型,将打印丝材均匀加热至不同温度后置于打印腔体中,利用温度检测设备如红外热像仪或热电偶记录丝材温度随时间的变化规律,基于打印腔室内不同区域的温度也即温度场关于时间的函数、以及确定的实际打印环境如发生对流换热的换热面积计算获得打印材料的对流换热系数。In some examples, the convective heat transfer coefficient can be obtained by calculating the convective heat transfer coefficient formula, that is, Newton's law of cooling. For example, based on a certain type of material, the printing filament is uniformly heated to different temperatures and then placed in the printing cavity. , using temperature detection equipment such as infrared thermal imager or thermocouple to record the change law of wire temperature with time, based on the temperature of different areas in the printing chamber, that is, the function of the temperature field with respect to time, and the actual printing environment determined such as convection conversion occurs The thermal heat transfer area is calculated to obtain the convective heat transfer coefficient of the printing material.
在另一实施例中,对形状规则的几何结构模型进行打印实验,记录打印过程中打印材料随时间变化的温度场分布,以及,对所述几何结构模型设置以不同对流换热系数进行有限元模拟,输出模拟打印过程的模拟温度场,将与打印实验的温度场重合的模拟温度场对应的对流换热系数作为等效的对流换热系数。In another embodiment, a printing experiment is performed on a geometric structure model with regular shape, the temperature field distribution of the printing material changes with time during the printing process is recorded, and the geometric structure model is set to perform finite element analysis with different convective heat transfer coefficients Simulate, output the simulated temperature field that simulates the printing process, and use the convective heat transfer coefficient corresponding to the simulated temperature field that coincides with the temperature field of the printing experiment as the equivalent convective heat transfer coefficient.
在此,所述形状规则的几何模型例如为水平薄板、薄壁圆筒等简单的轴对称结构,在打印实验中,通过温度检测设备如红外热像仪记录所述几何结构表面温度的变化规律;对于同一几何结构模型,对打印参数信息进行控制变量的多组模拟打印,其中,所述变量即为有限元模拟环境中设置的对流换热系数,在有限元环境中将影响打印中打印材料温度变化的其余变量设置为与打印实验一致,重复进行模拟打印以至模拟打印所输出的几何结构表面的温度变化规律(也即模拟打印的温度场)与打印实验的温度场重合,将获得与实际打印温度场重合的模拟打印温度场的有限元环境中设置的对流换热系数作为等效的对流换热系数,即可获得对应材料类型的对流换热系数。Here, the geometric model with regular shape is, for example, a simple axisymmetric structure such as a horizontal thin plate, a thin-walled cylinder, etc. In the printing experiment, the variation law of the surface temperature of the geometric structure is recorded by a temperature detection device such as an infrared thermal imager; For the same geometric structure model, multiple groups of control variables are simulated and printed for the printing parameter information, wherein the variable is the convection heat transfer coefficient set in the finite element simulation environment, which will affect the temperature change of the printing material during printing in the finite element environment. The rest of the variables are set to be consistent with the printing experiment, and the simulation printing is repeated until the temperature change law of the geometric structure surface output by the simulation printing (that is, the temperature field of the simulation printing) coincides with the temperature field of the printing experiment, and the actual printing temperature will be obtained. The convective heat transfer coefficient set in the finite element environment of the simulated printing temperature field of the field coincidence is regarded as the equivalent convective heat transfer coefficient, and the convective heat transfer coefficient of the corresponding material type can be obtained.
所述热辐射系数可基于热辐射系数测试仪测量,在一示例中,在实际打印中对打印构件进行热辐射系数测试获取热辐射系数,并将其作为有限元模拟的输入信息。The thermal emissivity can be measured based on a thermal emissivity tester. In an example, the thermal emissivity is obtained by performing a thermal emissivity test on a printed member during actual printing, and the thermal emissivity is used as the input information of the finite element simulation.
所述材料动态力学参数为材料力学性能(或机械性能)如:储能模量(弹性模量)、损耗模量(粘性模量)与时间、温度、频率的关系,所述材料动态力学参数可基于DMA(Dynamic thermomechanical analysis,动态热机械分析)确定。The material dynamic mechanical parameters are the material mechanical properties (or mechanical properties) such as: storage modulus (elastic modulus), loss modulus (viscous modulus) and the relationship between time, temperature, frequency, the material dynamic mechanical parameters It can be determined based on DMA (Dynamic thermomechanical analysis).
在某些实施方式中,所述材料动态力学参数的确定方式包括:测量打印构件也即用于测试的试样在不同温度下被施加交变应变、恒定应变、或固定载荷后的响应,获得材料的储能模量和损耗模量随温度、时间的变化曲线,拟合曲线以获得有限元模拟中输入的材料动态力学参数信息如阻尼特性、蠕变、应力松弛、玻璃化转变等。In some embodiments, the method for determining the dynamic mechanical parameters of the material includes: measuring the response of the printed member, that is, the sample used for testing, after being applied with alternating strain, constant strain, or fixed load at different temperatures, to obtain The curve of the storage modulus and loss modulus of the material with temperature and time, fit the curve to obtain the dynamic mechanical parameter information of the material input in the finite element simulation, such as damping characteristics, creep, stress relaxation, glass transition, etc.
在一具体示例中,在确定的温度下,对由打印材料形成的打印构件或试样施加交变位移信号,测量相应的打印构件的载荷响应,由此获得打印材料在此温度下的储能模量与损耗模量;通过改变重复进行前述测量过程,获得材料的储能模量与损耗模量关于时间的函数或变 化规律,由此确定用于构建有限元模拟环境的材料动态力学参数。在此,所述试样可基于DMA测试的要求进行制备,例如限制试样的长宽取值为2~20mm、厚度为0~5mm以及上下表面平行等。In a specific example, at a determined temperature, an alternating displacement signal is applied to a printing member or a sample formed of the printing material, and the load response of the corresponding printing member is measured, thereby obtaining the energy storage of the printing material at this temperature. Modulus and loss modulus: By changing and repeating the aforementioned measurement process, the function or variation law of the storage modulus and loss modulus of the material with respect to time is obtained, thereby determining the dynamic mechanical parameters of the material for constructing the finite element simulation environment. Here, the sample can be prepared based on the requirements of the DMA test, for example, the length and width of the sample are limited to 2-20 mm, the thickness is 0-5 mm, and the upper and lower surfaces are parallel.
在某些实施方式中,所述交变应变、恒定应变或固定载荷依不同加载方向使打印构件发生不同形变,所述形变的类型包括拉伸、压缩、弯曲、3点弯曲、剪切中的至少一者。例如,对于复合材料可采用3点弯曲测试确定弹性模量,在实际场景中,可对打印试样设定最大位移、最大振幅以及偏移力。In some embodiments, the alternating strain, constant strain or fixed load causes different deformations of the printed member according to different loading directions, and the types of deformation include tension, compression, bending, 3-point bending, and shearing. at least one. For example, a 3-point bending test can be used to determine the elastic modulus for composite materials, and in a practical scenario, the maximum displacement, maximum amplitude, and deflection force can be set for the printed sample.
在此,可改变应变或载荷相对于试样的加载方向,使得打印构件产生不同类型的形变,由打印构件被施加的应变类型与载荷的加载方向,可获得材料的不同参数;在前述某些示例中,所述打印构件为打印获得的试样或对打印构件分割获得的试样。在某些示例中,还可对同一规格的试样分别进行不同加载方向的测试,通过对比以减小测量误差,确定材料的动态力学参数信息。Here, the loading direction of the strain or load relative to the specimen can be changed, so that the printed member produces different types of deformation, and different parameters of the material can be obtained from the type of strain applied to the printed member and the loading direction of the load; In an example, the printing member is a sample obtained by printing or a sample obtained by dividing the printing member. In some examples, samples of the same specification can also be tested in different loading directions, and the dynamic mechanical parameter information of the material can be determined by comparison to reduce measurement errors.
在某些实施方式中,所述交变应变为简谐应力或简谐载荷,例如对所述打印构件施加正弦应力。In certain embodiments, the alternating strain is a harmonic stress or load, such as a sinusoidal stress applied to the print member.
通常在实际打印环境中,打印初始阶段受打印材料从打印头处挤出的速度、温度等因素影响会形成初始残余应力,所述初始残余应力自产生即存在于打印构件中至打印结束,因此对成型打印物件有一定的影响如导致材料变形和开裂,在有限元模拟中可通过对打印实验确定初始残余应力以形成有限元模拟环境的输入参数,使有限元模拟环境逼近真实打印环境。Usually in the actual printing environment, the initial residual stress will be formed in the initial stage of printing, which is affected by the speed and temperature of the printing material extruded from the printing head. In the finite element simulation, the initial residual stress can be determined by the printing experiment to form the input parameters of the finite element simulation environment, so that the finite element simulation environment is close to the real printing environment.
请参阅图2,显示为确定所述初始残余应力的方法在一实施例中的流程示意图。Please refer to FIG. 2 , which is a schematic flowchart of a method for determining the initial residual stress in an embodiment.
在步骤S101中,对打印材料设置以不同的打印参数信息进行多组单丝打印实验。In step S101, multiple sets of monofilament printing experiments are performed on the printing material with different printing parameter information.
通常,打印中的初始残余应力与打印参数有关,例如挤出温度、打印材料类型(丝材类型)等,在此,对于不同的类型的打印材料,设置以不同打印参数进行打印实验以获得多组可用于初始残余应力测量的单丝结构。Usually, the initial residual stress in printing is related to printing parameters, such as extrusion temperature, type of printing material (filament type), etc. Here, for different types of printing materials, printing experiments with different printing parameters are set to obtain more Sets of monofilament structures available for initial residual stress measurements.
在步骤S102中,计算或测量多组单丝打印实验获得的单丝构件的残余应力。In step S102, the residual stress of the monofilament component obtained by the multi-group monofilament printing experiments is calculated or measured.
在某些示例中,步骤S102中可对所述单丝结构进行处理以释放残余应变,测量单丝形变以计算残余应力;又或基于物理检测方法确定所述单丝构件的残余应力。In some examples, in step S102, the monofilament structure may be processed to release residual strain, the deformation of the monofilament may be measured to calculate the residual stress; or the residual stress of the monofilament component may be determined based on a physical detection method.
在一些具体示例中,对打印获得的单丝结构进行加热至玻璃化温度以上,例如加热至玻璃化温度之上10℃,记录单丝结构在加热前后的长度如分别为L 0、L,在此过程中单丝内的残余应力被释放,由单丝产生的变形即(L 0-L)/L可确定其残余应力。 In some specific examples, the monofilament structure obtained by printing is heated to above the glass transition temperature, for example, heated to 10°C above the glass transition temperature, and the lengths of the monofilament structure before and after heating are recorded as L 0 and L, respectively, at During this process, the residual stress in the monofilament is released, and the deformation produced by the monofilament, namely (L 0 -L)/L, can determine its residual stress.
在此,还可通过机械方法举例为局部分离、分割、钻孔、切槽等方式使得单丝结构释放 残余应力,基于由此产生的单丝形变计算残余应力;又或如采用X射线衍射法、中子衍射法、磁性法、超声法以及压痕应变法等无损的物理检测方法测量单丝结构的残余应力分布状态,通过对打印材料配置为不同打印参数进行单丝打印实验,并测量单丝的残余应力,即可获得所述多组残余应力。Here, the residual stress of the monofilament structure can also be released by mechanical methods such as partial separation, division, drilling, grooving, etc., and the residual stress is calculated based on the resulting monofilament deformation; or, for example, X-ray diffraction method is used. , neutron diffraction method, magnetic method, ultrasonic method and indentation strain method and other non-destructive physical detection methods to measure the residual stress distribution state of the monofilament structure. The residual stress of the wire can be obtained, and the multiple sets of residual stress can be obtained.
实际打印中,初始残余应力在打印初始阶段形成,在此时间内挤出的结构通常为一单丝结构,在此,应当理解,所述单丝的残余应力即可用于表征打印构件的初始残余应力。In actual printing, the initial residual stress is formed in the initial stage of printing, and the structure extruded during this time is usually a monofilament structure. Here, it should be understood that the residual stress of the monofilament can be used to characterize the initial residual stress of the printed component. stress.
在步骤S103中,获得包括所述不同打印参数信息与多组打印实验获得的单丝构件的残余应力的残余应力数据库;其中,打印实验获得的单丝构件的残余应力与单丝构件的打印参数信息具有对应关系。In step S103, a residual stress database including the different printing parameter information and the residual stress of the monofilament component obtained by multiple sets of printing experiments is obtained; wherein, the residual stress of the monofilament component obtained by the printing experiment and the printing parameters of the monofilament component are obtained. Information has a corresponding relationship.
将对单丝测量获得的残余应力与单丝的打印参数进行标记,使得每一残余应力数据与一打印参数对应,对不同的打印材料配置不同打印参数进行单丝打印实验,即可形成所述残余应变数据库。在一示例中,将所述残余应变数据库输入有限元模拟系统中,有限元模拟中模拟系统可基于接收的打印参数信息在所述残余应变数据库中匹配对应的残余应力也即初始残余应力。The residual stress obtained by the measurement of the monofilament and the printing parameters of the monofilament are marked, so that each residual stress data corresponds to a printing parameter. Residual strain database. In an example, the residual strain database is input into the finite element simulation system, and the simulation system in the finite element simulation can match the corresponding residual stress, ie the initial residual stress, in the residual strain database based on the received printing parameter information.
在此,确定3D打印构件的分层图形及打印参数信息后,即可构建形成有限元模拟环境,在某些示例中,在所述有限元模拟环境中对所述3D打印构件进行耦合模拟计算以获得所述多组残余应力数据和/或多组等效松弛时间数据,所述耦合模拟计算为在预设有边界条件下的耦合模拟计算,所述边界条件包括热对流边界条件和/或热辐射边界条件。Here, after the layered graphics and printing parameter information of the 3D printing component are determined, a finite element simulation environment can be constructed. In some examples, the 3D printing component is subjected to coupled simulation calculation in the finite element simulation environment. To obtain the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data, the coupling simulation calculation is a coupling simulation calculation under preset boundary conditions, and the boundary conditions include thermal convection boundary conditions and/or Thermal radiation boundary condition.
在一示例中,所述边界条件包括传热边界条件与力学接触的边界条件,在某些实施方式中,在所述有限元模拟环境中设置3D打印构件模型后,例如将预设了尺寸规格的正六面体作为基本单元,3D打印构件模型由多个为正六面体的基本单元构成,其中,每一基本单元热边界条件为基本单元与外界环境以及相邻基本单元之间的热量交换情况,包括:与模型底部恒温的构件板之间的对流换热,环境冷却带来的内部负热源,不同打印层之间的对流和打印腔室辐射引起的冷却。In one example, the boundary conditions include boundary conditions for heat transfer and mechanical contact. In some embodiments, after setting the 3D printing component model in the finite element simulation environment, for example, the size specification is preset. The regular hexahedron is used as the basic unit, and the 3D printing component model is composed of multiple basic units that are regular hexahedrons. The thermal boundary condition of each basic unit is the heat exchange between the basic unit and the external environment and adjacent basic units, including : Convective heat exchange with the constant temperature component plate at the bottom of the model, internal negative heat source brought by ambient cooling, convection between different printing layers and cooling caused by radiation in the printing chamber.
在某些示例中,在模拟打印中的不同时刻例如每经过一定的时间间隔,通过重新识别模型表面以在模型的表面赋予热对流边界条件和热辐射边界条件,以动态的边界条件描述打印过程中环境温度的影响。In some examples, the printing process is described with dynamic boundary conditions by re-identifying the surface of the model to assign thermal convection boundary conditions and thermal radiation boundary conditions on the surface of the model at different times in the simulation printing, such as every certain time interval. influence of ambient temperature.
在某些实施方式中,在所述有限元模拟环境中对所述3D打印构件进行耦合模拟计算以获得所述多组残余应力数据和/或多组等效松弛时间数据,所述耦合模拟计算的模型包括描述所述打印材料的力学变形的线性粘弹性模型,或/和用以描述所述打印材料的热传导行为的横 观各向同性热传导模型或正交各向异性热传导模型。In some embodiments, a coupled simulation calculation is performed on the 3D printed component in the finite element simulation environment to obtain the sets of residual stress data and/or sets of equivalent relaxation time data, the coupled simulation calculation The model includes a linear viscoelastic model for describing the mechanical deformation of the printing material, or/and a transverse isotropic heat conduction model or an orthotropic heat conduction model for describing the thermal conduction behavior of the printing material.
在一示例中,所述线性弹粘性模型为多分支热粘弹性模型,所述多分支热粘弹性模型考虑了打印材料的温度相关松弛行为以及流动剪切现象。其中,材料的力学行为与温度有关,打印中的总应变由热应变与弹性应变组成,通过热-力学-化学耦合模型描述材料在随时间的改变,所获得的模拟结果同时考虑了材料特性、温度与力学状态,以及温度与应力应变之间的相互作用,最终变形数据更符合实际打印状态,可减小模拟误差。In one example, the linear elastic-viscous model is a multi-branch thermo-viscoelastic model that takes into account temperature-dependent relaxation behavior and flow-shear phenomena of the printed material. Among them, the mechanical behavior of the material is related to temperature, and the total strain in printing consists of thermal strain and elastic strain. The thermal-mechanical-chemical coupling model is used to describe the change of the material over time. The obtained simulation results also consider the material properties, The interaction between temperature and mechanical state, as well as temperature and stress-strain, the final deformation data is more in line with the actual printing state, which can reduce the simulation error.
在某些实施方式中,在模拟计算的过程中,可选择输出残余应力场对应的应力云图、变形的位移云图或温度场对应的温度云图中的一者,应理解的,在计算中,所述温度场与应力场完全耦合,在每一时刻的计算中即可同时获得瞬态温度场与残余应力场,在模拟打印过程中获得随时间变化的也即动态的温度场、残余应力场。In some embodiments, in the process of simulation calculation, one of the stress contour corresponding to the residual stress field, the deformed displacement contour or the temperature contour corresponding to the temperature field can be selected. It should be understood that in the calculation, all The temperature field and the stress field are completely coupled, and the transient temperature field and the residual stress field can be obtained at the same time in the calculation at each moment.
在此,在步骤S10中,通过有限元模拟输出模拟打印的计算结果,或通过观测实际打印过程,即可获得打印的残余应力数据及动态温度场数据。通常,所述模拟打印的计算结果中的残余应力数据及动态温度场数据为打印构件中各空间坐标处的残余应力数据与温度场数据,在一些实例中,所述空间坐标点的密度基于有限元环境中设置的网格密度确定,例如,网格密度越高,每一网格越小,计算的残余应力数据与温度场数据中空间坐标点的密度越大。Here, in step S10, the calculation result of the simulated printing is output through finite element simulation, or the printed residual stress data and dynamic temperature field data can be obtained by observing the actual printing process. Usually, the residual stress data and the dynamic temperature field data in the calculation result of the simulated printing are the residual stress data and the temperature field data at each spatial coordinate in the printing member. In some instances, the density of the spatial coordinate points is based on a finite The mesh density set in the meta environment is determined. For example, the higher the mesh density, the smaller each mesh, and the greater the density of spatial coordinate points in the calculated residual stress data and temperature field data.
在某些实施方式中,所述等效松弛时间数据是实际打印过程或模拟打印过程中,将打印材料随时间变化的动态温度场数据基于WLF方程(Williams-Landel-Ferry方程)或/及阿累尼乌斯方程(Arrhenius equation)进行时温等效至同一预设温度值获得的。In some embodiments, the equivalent relaxation time data is based on the WLF equation (Williams-Landel-Ferry equation) or/and a The Arrhenius equation is obtained when the temperature is equivalent to the same preset temperature value.
基于高分子材料的松弛行为与温度的关系,将低温长时间的松弛行为可等效为高温短时间的松弛行为,以下式(1)表示:Based on the relationship between the relaxation behavior of polymer materials and temperature, the relaxation behavior at low temperature for a long time can be equivalent to the relaxation behavior at high temperature for a short time, and the following formula (1) is expressed:
Figure PCTCN2021138638-appb-000001
Figure PCTCN2021138638-appb-000001
其中,τ(T 1),τ(T 2)分别为材料在不同温度T 1,T 2下的特征松弛时间,所述特征松弛时间可表示材料应力松弛的能力,a(T 1),a(T 2)为与温度相关的转化因子(也称移位因子),即转化因子a为温度的函数,在此,通常材料中的温度高于玻璃化转变温度时,转化因子a遵循WLF方程,如下式(2)所示: Among them, τ(T 1 ) and τ(T 2 ) are the characteristic relaxation times of the material at different temperatures T 1 and T 2 respectively, and the characteristic relaxation times can represent the stress relaxation ability of the material, a(T 1 ), a (T 2 ) is the temperature-dependent transformation factor (also known as the shift factor), that is, the transformation factor a is a function of temperature. Here, when the temperature in the material is generally higher than the glass transition temperature, the transformation factor a follows the WLF equation , as shown in the following formula (2):
Figure PCTCN2021138638-appb-000002
Figure PCTCN2021138638-appb-000002
其中,T为打印中的实际温度,T M为参考温度,C 1、C 2均为经验参数,由参考温度T M的取值确定,在此,对于打印构件中任一空间坐标处或局部区域内的实际温度T,当所述实 际温度T高于打印材料的玻璃化温度,确定预设的参考温度T M后,由式(2)可获得当前的实际温度对应于所设置的参考温度T M的转化因子a,对于在当前温度T下在时间t内经历的力学松弛,即可等效为材料在参考温度T M下时间t/a内经历的力学松弛。 Among them, T is the actual temperature in printing, TM is the reference temperature, C 1 and C 2 are empirical parameters, which are determined by the value of the reference temperature TM . The actual temperature T in the area, when the actual temperature T is higher than the glass transition temperature of the printing material, after the preset reference temperature TM is determined, the current actual temperature corresponding to the set reference temperature can be obtained from the formula (2). The conversion factor a of TM can be equivalent to the mechanical relaxation experienced by the material at the reference temperature TM within the time t/a for the mechanical relaxation experienced at the current temperature T within the time t.
再者,当打印构件中材料温度低于玻璃化转变温度时,转化因子a遵循低温态遵循阿累尼乌斯方程,呈如下式(3)所示:Furthermore, when the temperature of the material in the printed component is lower than the glass transition temperature, the conversion factor a follows the Arrhenius equation in the low temperature state, as shown in the following equation (3):
Figure PCTCN2021138638-appb-000003
Figure PCTCN2021138638-appb-000003
其中,T为打印中的实际温度,T g为参考温度,A为材料常数,F C为构型能(configurational energy),k B为玻尔兹曼常数,通常当温度变化范围不大时反应活化能可视为常数。对于打印构件中任一空间坐标处或局部区域内的实际温度T,当所述实际温度T低于打印材料的玻璃化温度,确定预设的参考温度T g后,由式(3)可获得当前的实际温度对应于所设置的参考温度T g的转化因子a,对于在当前温度T下在时间t内经历的力学松弛,即可等效为材料在参考温度T g下时间t/a内经历的力学松弛。 Among them, T is the actual temperature during printing, T g is the reference temperature, A is the material constant, F C is the configurational energy, and k B is the Boltzmann constant. Usually, the reaction occurs when the temperature variation range is not large. The activation energy can be regarded as a constant. For the actual temperature T at any spatial coordinate in the printing member or in the local area, when the actual temperature T is lower than the glass transition temperature of the printing material, after determining the preset reference temperature T g , the formula (3) can be used to obtain The current actual temperature corresponds to the conversion factor a of the set reference temperature T g . For the mechanical relaxation experienced at the current temperature T within the time t, it can be equivalent to the material at the reference temperature T g within the time t/a experienced mechanical relaxation.
应当理解,在实际打印或模拟打印过程中,打印构件内的温度场随时间变化,同时,打印构件中不同位置或空间坐标点处的温度历史不同,在此,将打印过程分割为多个微小时间段dt组成,在此,可认为dt内的打印材料的温度为恒定值,即可由式(2)、式(3)将该dt时刻内应力松弛行为转化为在参考温度下的dt/a时间内的应力松弛行为,可对不同位置的打印材料在整个打印过程即打印起始例如0时刻至冷却成型的时间例如t 1时刻内材料经历的松弛行为进行积分,呈如下式(4)所示: It should be understood that in the actual printing or simulated printing process, the temperature field in the printing member changes with time, and at the same time, the temperature histories at different positions or spatial coordinate points in the printing member are different. Here, the printing process is divided into a plurality of tiny The time period dt is composed of, here, the temperature of the printing material in dt can be considered to be a constant value, and the stress relaxation behavior at the dt time can be converted into dt/a at the reference temperature by formula (2) and formula (3). The stress relaxation behavior in time can integrate the relaxation behavior experienced by the printing materials at different positions during the entire printing process, that is, from the start of printing, such as time 0 to cooling and forming, such as time t 1 , as shown in the following formula (4). Show:
Figure PCTCN2021138638-appb-000004
Figure PCTCN2021138638-appb-000004
其中,(x,y,z)为空间坐标点,t r(x,y,z)为该点在从0时刻至t 1时刻的打印过程中等效松弛时间。 Among them, (x, y, z) is the spatial coordinate point, and t r (x, y, z) is the equivalent relaxation time of the point during the printing process from time 0 to time t 1 .
对实际打印环境或模拟打印环境中的任一空间坐标点或一区域,可由此将整个打印过程的温度历史等效至预设的参考温度下的等效松弛时间,基于打印构件的等效松弛时间分布数据还可评价不同位置的应力松弛行为。For any spatial coordinate point or a region in the actual printing environment or the simulated printing environment, the temperature history of the entire printing process can be equivalent to the equivalent relaxation time at the preset reference temperature, based on the equivalent relaxation of the printing component Time distribution data can also evaluate stress relaxation behavior at different locations.
由上述各实施例公开的方法,即可获得步骤S10中的所述多组残余应力数据及多组等效松弛时间数据,在此,在步骤S10中还包括获取对应的多组3D打印构件在实际打印环境中至少一种性能评价参数的测量值,以形成所述多组训练数据也即训练数据集。With the methods disclosed in the above embodiments, the multiple sets of residual stress data and multiple sets of equivalent relaxation time data in step S10 can be obtained. Here, step S10 also includes obtaining multiple sets of corresponding 3D printing components in the step S10. The measured value of at least one performance evaluation parameter in an actual printing environment to form the multiple sets of training data, that is, a training data set.
在某些实施方式中,所述性能评价参数包括构件可打印性、形状畸变、结构刚度、层间 粘接强度、几何精度、最小打印间隙、分辨率、桥接表现、悬垂表现、表面波纹度、最小打印层厚、垂直度中的至少一者。例如,所述形状畸变包括打印构件的局部形状畸变,对应的测量值可用数据阵列如矩阵表示。In certain embodiments, the performance evaluation parameters include component printability, shape distortion, structural stiffness, interlayer bond strength, geometric accuracy, minimum print gap, resolution, bridging performance, drape performance, surface waviness, At least one of minimum print layer thickness and squareness. For example, the shape distortions include local shape distortions of the printed member, and the corresponding measurement values may be represented by a data array such as a matrix.
所述性能评价参数对应的性能评价结果即测量值可例如为性能对应的单位及数值,在此,所述数值的形式包括单数,数据阵列,或在预设规则下用于表征评价结果的标识符号如文字符号、数学符号、字母等。The performance evaluation result corresponding to the performance evaluation parameter, that is, the measurement value, may be, for example, a unit and a numerical value corresponding to the performance. Here, the form of the numerical value includes a singular number, a data array, or an identifier used to characterize the evaluation result under preset rules. Symbols such as text symbols, mathematical symbols, letters, etc.
在此,应当理解,所述多组3D打印构件在实际打印环境中至少一种性能评价参数的测量值与所述多组残余应力数据、多组等效松弛时间数据相对应;因此,在实际打印环境中,对每一种对不同几何结构的3D打印构件、配置为不同切片方式、以及设置有不同打印参数的切片图形与打印参数的组合进行实验,以获得足够多的训练数据。Here, it should be understood that the measured values of at least one performance evaluation parameter of the multiple sets of 3D printing components in the actual printing environment correspond to the multiple sets of residual stress data and multiple sets of equivalent relaxation time data; therefore, in practice In the printing environment, experiments are carried out for each combination of 3D printing components with different geometric structures, different slicing methods, and slicing graphics and printing parameters set with different printing parameters, so as to obtain enough training data.
所述构件可打印性为针对确定的分层图形与打印参数,是否可进行打印获得符合质量规格的打印构件的评价。在一些实施例中,所述构件可打印性的确定方式包括:对构件三维模型设置以不同打印参数,将实际打印环境中3D打印构件出现局部坍塌或畸变的构件三维模型与打印参数组合确定为不具有可打印性。在实际场景中,对打印过程进行观测追踪,确定打印构件从打印起始至结束是否存在局部坍塌或形状畸变,若是则认为当前打印参数设置下的打印构件不具有可打印性。The printability of the component is an evaluation of whether printing can be performed to obtain a printed component that meets quality specifications for the determined layered graphics and printing parameters. In some embodiments, the method for determining the printability of the component includes: setting the three-dimensional model of the component with different printing parameters, and determining the combination of the three-dimensional model of the component with local collapse or distortion of the 3D printed component in an actual printing environment and the printing parameters as Not printable. In the actual scene, the printing process is observed and tracked to determine whether the printing component has local collapse or shape distortion from the beginning to the end of printing. If so, it is considered that the printing component under the current printing parameter settings is not printable.
通常,所述局部坍塌或形状畸变与打印中的局部材料的温度状态相关,例如当区域内材料长时间处于高温态,则易于发生局部坍塌或形状畸变;应当理解,在不同的打印参数设置下,打印构件中每一坐标位置的温度场可能随之改变,为确定所述打印构件的可打印性与打印过程的温度场的关系,对不同几何构型的构件进行打印实验,其中,基于特定类型的打印构件模型,以不同切片方式与打印参数进行打印实验,将打印成功的切片方法与打印参数组合进行标记例如标记为1,将打印失败的切片方法与打印参数的组合进行另一标记例如标记为0,由此可形成表征可打印性的评价结果。当然,所述可打印性的标记方式不以此为限。Generally, the local collapse or shape distortion is related to the temperature state of the local material in printing. For example, when the material in the region is in a high temperature state for a long time, local collapse or shape distortion is prone to occur; it should be understood that under different printing parameter settings , the temperature field of each coordinate position in the printing member may change accordingly. In order to determine the relationship between the printability of the printing member and the temperature field of the printing process, printing experiments are carried out on members of different geometric configurations. Type of printing component model, print experiments with different slicing methods and printing parameters, mark the combination of slicing method and printing parameter that successfully prints as 1, and mark the combination of slicing method and printing parameter that fails to print by another mark, such as The mark is 0, from which an evaluation result characterizing the printability can be formed. Of course, the way of marking the printability is not limited to this.
所述形状畸变参数包括整体形状畸变与局部形状畸变,可用于评价打印构件实体与预期的打印模型轮廓间的几何误差。在某些示例中,确定所述形状畸变的测量值的方式包括:比较实际打印环境中的3D打印构件的表面网格与3D打印构件模型表面网格间的曲率误差,以计算获得构件表面的局部区域或/及构件整体的形状畸变。在此,所述3D打印构件模型表面网格为打印前的例如3D打印前处理中预设的3D打印构件模型。The shape distortion parameters include overall shape distortion and local shape distortion, which can be used to evaluate the geometric error between the printed component entity and the expected outline of the printed model. In some examples, determining the measure of shape distortion includes: comparing a curvature error between a surface mesh of the 3D printed component in an actual printing environment and a surface mesh of a model of the 3D printed component to calculate the surface mesh of the component. Distortion of the shape of a local area or/and of the component as a whole. Here, the surface mesh of the 3D printing component model is a 3D printing component model that is preset before printing, for example, in the 3D printing preprocessing.
在一示例中,所述实际打印环境中的3D打印构件的表面网格是由三维光学扫描仪扫描 3D打印构件获得的。所述表面网格例如为三角网格,以多个三角网格对物体表面分段线性拟合。通常,前处理中的3D打印构件模型可在前处理设备中生成或显示三角网格。当然,所述光学扫描获得的网格或3D打印构件模型的表面网格也可为四边形、多边形等,本申请不做限制。In one example, the surface mesh of the 3D printed member in the actual printing environment is obtained by scanning the 3D printed member with a three-dimensional optical scanner. The surface mesh is, for example, a triangular mesh, and a plurality of triangular meshes are used for piecewise linear fitting to the surface of the object. Usually, the 3D printed component model in the preprocessing can generate or display the triangular mesh in the preprocessing equipment. Of course, the mesh obtained by the optical scanning or the surface mesh of the 3D printing component model may also be quadrilateral, polygon, etc., which is not limited in this application.
在某些示例中,通过计算光学扫描获得的三角网格与打印构件模型的表面网格之间的曲率误差,以获得打印构件的形状畸变参数的测量值,其中,所述曲率可例如为高斯曲率、主曲率、平均曲率等作为等效曲率。在一具体示例中,由光学扫描打印构件获得的网格与3D打印构件模型如CAD模型网格不重合,在计算打印前后的构件表面网格曲率误差时,对每一实际扫描获取的三角网格,可基于网格的形心位置确定与其距最近的3个CAD模型网格,将CAD模型网格与实际扫描网格分别对比获得3个曲率误差例如表示为Δκ i1,Δκ i2,Δκ i3,将3个曲率误差的平均值
Figure PCTCN2021138638-appb-000005
作为实际扫描的三角网格与CAD模型网格的曲率误差值,所述曲率误差值即可作为每一实际扫描网格的形状畸变的测量值,对于模型表面的局部区域或模型整体,其形状畸变κ=∑S iΔκ i/∑S i,其中,S i为形状畸变参数k所评价的区域内每一网格的面积。
In some examples, a measure of the shape distortion parameter of the printed member is obtained by calculating the curvature error between the triangular mesh obtained from the optical scan and the surface mesh of the printed member model, where the curvature may be Gaussian, for example Curvature, principal curvature, average curvature, etc. are used as equivalent curvatures. In a specific example, the mesh obtained by optical scanning of the printed component does not coincide with the 3D printing component model such as the CAD model mesh. When calculating the mesh curvature error of the component surface before and after printing, the triangular mesh obtained by each actual scan is used. The three closest CAD model meshes can be determined based on the centroid position of the mesh, and the three curvature errors can be obtained by comparing the CAD model mesh with the actual scanning mesh, for example, expressed as Δκ i1 , Δκ i2 , Δκ i3 , taking the average of the 3 curvature errors
Figure PCTCN2021138638-appb-000005
As the curvature error value between the actual scanned triangular mesh and the CAD model mesh, the curvature error value can be used as the measurement value of the shape distortion of each actual scanned mesh. For a local area of the model surface or the model as a whole, its shape Distortion κ=ΣS i Δκ i /ΣS i , where Si is the area of each grid in the region evaluated by the shape distortion parameter k.
应当理解,由网格的等效曲率可指示网格平面在空间上沿不同方向弯曲的程度,当构件表面被以多个微小的网格拟合替代后,对于确定的曲率类型如主曲率,每一网格与其邻近得网格间的主曲率相近,在此,用于对实际扫描的三角网格进行评价的距离接近的CAD模型网格也可以为2个、4个、5个等,本申请不做限制。It should be understood that the degree to which the mesh plane is spatially curved in different directions can be indicated by the equivalent curvature of the mesh. When the component surface is replaced by a number of tiny mesh fittings, for a certain type of curvature such as the principal curvature, The principal curvature between each mesh and its adjacent meshes is similar. Here, the CAD model meshes with close distances used for evaluating the actual scanned triangular meshes can also be 2, 4, 5, etc., This application is not limited.
当然,所述形状畸变参数的测量方式也可为基于双目结构光测量打印构件整体三维形貌,基于三维激光扫描获得打印构件的三维点云等,本申请不做限制,应当理解,对以不同方式获得的实际打印环境中的打印构件表面形态,将其与打印前的预设模型轮廓对比即可实现对构件整体及局部区域的形状畸变分析。Of course, the measurement method of the shape distortion parameter can also be based on binocular structured light to measure the overall three-dimensional shape of the printing member, and obtain the three-dimensional point cloud of the printing member based on three-dimensional laser scanning. The surface morphology of the printed component in the actual printing environment obtained in different ways can be compared with the contour of the preset model before printing to realize the shape distortion analysis of the overall and local areas of the component.
在一示例中,所述打印构件的结构刚度为整体刚度,所述整体刚度可用于评价打印构件在投入实践使用中所需达到的性能,对于不同的打印构件,可基于打印构件的几何结构特征确定刚度测试中力的加载方向,以获得对打印构件的刚度评价的测量值。例如,所述打印构件为长方体结构,即可顺应长度方向例如在三维空间中将其定义为Z方向,顺应Z方向测定拉伸刚度,采用三点弯实验在X-Y方向测定其弯曲刚度;在此,不同类型的打印结构均需测定其在Z方向的刚度与X-Y方向的刚度,基于打印构件的几何结构,确定对应的测量方法。在一些具体实现方式中,所述整体刚度可用打印构件整体的刚度矩阵表示。In an example, the structural stiffness of the printed member is an overall stiffness, and the overall stiffness can be used to evaluate the performance that the printed member needs to achieve in practical use. For different printed members, it can be based on the geometrical features of the printed member. Determine the loading direction of the force in the stiffness test to obtain a measurement for the stiffness evaluation of the printed component. For example, if the printed member has a cuboid structure, it can be defined as the Z direction according to the length direction, for example, in three-dimensional space, the tensile stiffness is measured according to the Z direction, and the bending stiffness is measured in the X-Y direction by using a three-point bending experiment; here , Different types of printing structures need to measure the stiffness in the Z direction and the stiffness in the X-Y direction, and determine the corresponding measurement method based on the geometric structure of the printing component. In some implementations, the overall stiffness can be represented by a stiffness matrix of the entire printed member.
在某些实施方式中,对所述打印构件依照不同的力的加载方向以进行结构刚度测试,所述结构刚度包括弯曲刚度、拉伸刚度、压缩刚度、剪切刚度、扭转刚度中的至少一者。可通过打印构件的实用场景,确定需测定的结构刚度涵盖的类型,例如,在实践中需要传递扭矩的打印构件,在此可测定其扭转刚度。In some embodiments, the printed member is tested for structural stiffness according to different loading directions of forces, the structural stiffness comprising at least one of bending stiffness, tensile stiffness, compression stiffness, shear stiffness, and torsional stiffness By. The type of structural stiffness to be measured can be determined from the practical scenario of the printed component, for example, a printed component that needs to transmit torque in practice, where its torsional stiffness can be measured.
在某些示例中,所述结构刚度由构件局部刚度表征,所述构件局部结构的测量方式包括:将3D打印构件分区切割为预设的规则几何结构,测量各几何结构的结构刚度。在此,可基于每一几何结构在打印构件中的空间位置,由各几何结构的结构刚度形成打印构件不同区域也即分割的几何结构的区域的局部结构刚度分布。对每一局部区域的结构刚度,对其结构刚度的测定方法与上述整体刚度的测试方法类似,但每一局部结构的结构刚度为具有其在3D打印构件中的空间位置信息的刚度,例如将3D打印构件的局部刚度的测量值整合,即可获得由局部刚度测量值表征的矩阵。由所述局部刚度测量值形成的矩阵或其余类型的数据阵列,可表征打印构件的刚度在不同区域的分布规律。In some examples, the structural stiffness is represented by the local stiffness of the component, and the method of measuring the local structure of the component includes: cutting the 3D printed component into a preset regular geometric structure, and measuring the structural stiffness of each geometric structure. Here, based on the spatial position of each geometric structure in the printing member, the local structural stiffness distribution of the different regions of the printing member, ie, the regions of the divided geometric structures, can be formed from the structural stiffness of each geometrical structure. For the structural stiffness of each local area, the measurement method of its structural stiffness is similar to the above-mentioned test method of overall stiffness, but the structural stiffness of each local structure is the stiffness with its spatial position information in the 3D printed component, such as the The local stiffness measurements of the 3D printed component are integrated to obtain a matrix characterized by the local stiffness measurements. The matrix or other types of data arrays formed by the local stiffness measurements can characterize the distribution law of the stiffness of the printed member in different regions.
在一些示例中,由局部刚度表征所述打印构件的结构刚度时,由预设的分割数量或局部构件的尺寸对打印构件进行分割,例如,将打印构件分割为等大的填充块体,对每一填充块体测定其结构刚度以获得打印构件的局部结构的刚度分布。In some examples, when the structural stiffness of the printing member is represented by the local stiffness, the printing member is divided by a preset number of divisions or the size of the local member, for example, the printing member is divided into equal-sized filling blocks, and the Each infill block is measured for its structural stiffness to obtain a stiffness distribution for the local structure of the printed member.
所述层间粘接强度可表征打印构件打印层之间的固结强度,将打印中各分层图形堆叠累积的方向定义为Z方向,所述层间粘接强度即用于评价打印构件在Z方向的性能。The interlayer bonding strength can represent the consolidation strength between the printing layers of the printing member, and the direction in which each layered pattern is stacked during printing is defined as the Z direction, and the interlayer bonding strength is used to evaluate the printing member. Z-direction performance.
在某些示例中,所述层间粘接强度包括3D打印构件整体的层间粘接强度、局部层间粘接强度。例如,在一示例中,沿Z方向对打印构件进行拉伸测试,记录打印构件被破坏时的应力值,即可作为打印构件整体的层间粘接强度的测量值。又如,在另一示例中,将所述打印构件进行分割获得多个几何结构(也可称为试样),对每一试样沿Z方向进行拉伸实验,记录试样被破坏时的应力值,即作为该试样的层间粘接强度的测量值,也即打印构件的局部层间粘接强度。由打印构件分割获得的不同局部构件的层间粘接强度的测量值,即可形成3D打印构件不同区域的层间粘接强度的分布数据,举例可表征为局部层间粘接强度测量值所形成的矩阵。In some examples, the interlayer bonding strength includes the overall interlayer bonding strength and local interlayer bonding strength of the 3D printed component. For example, in one example, a tensile test is performed on the printing member along the Z direction, and the stress value when the printing member is damaged is recorded, which can be used as a measurement value of the interlayer bonding strength of the printing member as a whole. For another example, in another example, the printing member is divided to obtain a plurality of geometric structures (also referred to as samples), a tensile test is performed on each sample along the Z direction, and the damage of the sample when the sample is destroyed is recorded. The stress value is a measure of the interlaminar bond strength of the sample, ie the local interlaminar bond strength of the printed member. The measured value of the interlayer bonding strength of different local components obtained by dividing the printed component can form the distribution data of the interlayer bonding strength of different regions of the 3D printed component. formed matrix.
所述几何精度例如包括表面粗糙度,尺寸误差,形状误差等,所述表面粗糙度例如为打印构件表面上的具有较小间距和峰谷所形成的微观上不平整的痕迹;所述尺寸误差例如包括打印构件的直径误差、长度误差等;所述形状误差例如包括打印构件的表面的几何特征如点、线、面的位置误差。The geometric accuracy includes, for example, surface roughness, dimensional error, shape error, etc. The surface roughness is, for example, the microscopically uneven traces formed on the surface of the printing member with small distances and peaks and valleys; the dimensional error For example, it includes the diameter error, length error, etc. of the printing member; the shape error includes, for example, the position error of the geometric features of the surface of the printing member, such as points, lines, and surfaces.
所述表面波纹度也可作为几何精度的一种评价内容,为介于宏观和微观几何形状误差之 间的一种表面形状误差。通常表面波纹度误差中构件表面的峰谷和间距的长度数量级大于表面粗糙度的数量级,并且在构件表面呈周期性变化。通过对所述打印构件的表面波纹度测试,可确定打印构件是否达到了预设的质量规格,例如确定打印构件表面是否存在表面波纹,若存在则认为打印不合格。在某些示例中,所述表面波纹度的测试与表面粗糙度测试可采用同一测试仪器进行。The surface waviness can also be used as an evaluation content of geometric accuracy, which is a surface shape error between macroscopic and microscopic geometrical errors. Usually, the length of peaks and valleys and spacings on the component surface in the surface waviness error are orders of magnitude greater than the order of magnitude of the surface roughness, and the component surface changes periodically. By testing the surface waviness of the printing member, it can be determined whether the printing member reaches a preset quality specification, for example, whether there is surface waviness on the surface of the printing member, and if so, the printing is considered unqualified. In some examples, the surface waviness test and the surface roughness test can be performed using the same test instrument.
所述最小打印间隙可用于评价由不同组合部件拼接形成的打印构件中拼接处结合的性能,打印间隙指任何两个部件、薄壁或者立柱之间的距离。通常,最小打印间隙与打印构件的几何结构、打印参数如打印材料的属性信息、打印设备以及打印的成型精度控制等有关,因此,对采用不同切片图形和不同打印参数信息的打印实验,可对打印构件实体测量获得多组最小打印间隙的评价值。The minimum printing gap can be used to evaluate the performance of the joint in the printing structure formed by the splicing of different composite parts, and the printing gap refers to the distance between any two parts, thin walls or columns. Usually, the minimum printing gap is related to the geometric structure of the printing component, printing parameters such as the property information of the printing material, printing equipment, and the control of the printing molding accuracy. Therefore, for printing experiments using different slice graphics and different printing parameter information, the The physical measurement of the printed component obtains multiple sets of evaluation values for the minimum printing gap.
所述分辨率例如由打印构件的丝材直径,打印前的切片层厚(即Z轴层厚)、每英寸点数(DPI)、像素尺寸、束斑大小、喷嘴直径等表征,通常,打印分辨率越高即打印精度越高,所述打印分辨率即可用于评价打印构件的精度。The resolution is characterized by, for example, the wire diameter of the printing member, slice layer thickness before printing (ie, Z-axis layer thickness), dots per inch (DPI), pixel size, beam spot size, nozzle diameter, etc. Generally, the printing resolution is The higher the rate, the higher the printing accuracy, and the printing resolution can be used to evaluate the accuracy of the printed member.
所述桥接表现或垂悬表现可基于打印构件的类型确定,例如,对于打印构件中存在桥接部位的构件,测量其桥接处悬挂或下垂的丝材数量作为桥接表现的测量值;又如,当打印构件中存在垂悬结构,所述垂悬结构例如为拱桥形的中部悬空结构、倒置的凹字形结构,可通过测定丝材边缘垂下和丝材溢出等作为垂悬表现的测量值。The bridging performance or sagging performance may be determined based on the type of the printed member. For example, for a member with a bridging portion in the printing member, the number of filaments hanging or sagging at the bridging portion is measured as a measure of the bridging performance; There are overhanging structures in the printing member, such as an arch bridge-shaped central overhanging structure and an inverted concave-shaped structure, which can be used as a measure of the overhang performance by measuring the sagging of the edge of the wire and the overflow of the wire.
所述垂直度可用于评价直线之间、平面之间或直线与平面之间的垂直状态,其中直线或平面是评价基准,在此,直线可以是被测打印构件的直线部分或直线运动轨迹,平面可以是被测样品的平面部分或运动轨迹形成的平面;例如,当所述打印构件为圆柱体,所述平面可为圆柱体沿轴心旋转滚动形成的平面。The perpendicularity can be used to evaluate the vertical state between straight lines, between planes, or between straight lines and planes, wherein straight lines or planes are the evaluation criteria, and here, the straight lines can be the straight line part or the linear motion trajectory of the tested printing member, and the plane It can be a plane formed by a plane part of the sample to be tested or a motion track; for example, when the printing member is a cylinder, the plane can be a plane formed by the rotation and rolling of the cylinder along the axis.
在此,对每一性能评价参数,其测量值均包括多组打印实验的结果,并与多组残余应力数据和/或多组等效松弛时间数据对应;应当理解,所述多组打印实验是对不同类型的打印构件或不同的分层图形配置以不同打印参数信息进行的打印实验。在步骤S10中,通过形成多组训练数据,即可扩充用于进行神经网络训练的训练数据集,使得训练获得的机器学习模型对适用于对配置为不同打印参数信息的不同打印构件的预测。Here, for each performance evaluation parameter, the measured value includes the results of multiple sets of printing experiments, and corresponds to multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data; it should be understood that the multiple sets of printing experiments It is a printing experiment carried out on different types of printing components or different layered graphics configurations with different printing parameter information. In step S10, by forming multiple sets of training data, the training data set used for neural network training can be expanded, so that the machine learning model obtained by training is suitable for predicting different printing components configured with different printing parameter information.
需要说明的是,在本申请提供的实施例中,步骤S10中获取所述3D打印构件的多组残余应力数据和/或多组等效松弛时间数据,以及获取多组3D打印构件在实际打印环境中至少一种性能评价参数的测量值共同形成训练数据Q(S,E,P),在此,对每一组训练数据中获取残余应力数据S、等效松弛时间数据E、性能评价参数测量值P的顺序无限制;同时,对多 组训练数据,可先获取多组训练数据中的多组3D打印构件在实际打印环境中至少一种性能评价参数的测量值,或先获取3D打印构件的多组残余应力数据和/或多组等效松弛时间数据,再或可先获取一组训练数据Q 11(S 11,E 11,P 11),再获取另一组训练数据Q 12(S 12,E 12,P 12),重复以获取多组训练数据。 It should be noted that, in the embodiments provided in this application, in step S10, multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printing component are acquired, and multiple sets of 3D printing components are acquired during actual printing. The measured values of at least one performance evaluation parameter in the environment together form training data Q(S, E, P). Here, residual stress data S, equivalent relaxation time data E, and performance evaluation parameters are obtained for each set of training data. The order of the measured values P is not limited; at the same time, for multiple sets of training data, the measured values of at least one performance evaluation parameter of the multiple sets of 3D printing components in the multiple sets of training data in the actual printing environment can be obtained first, or the 3D printing components can be obtained first. Multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the component, or may first obtain a set of training data Q 11 (S 11 , E 11 , P 11 ), and then obtain another set of training data Q 12 ( S 12 , E 12 , P 12 ), repeat to obtain multiple sets of training data.
在实际场景中,所述机器学习模型的训练方法例如可由处理设备执行,所述处理设备可以是任何具有数学和逻辑运算、数据处理能力的计算设备,其包括但不限于:个人计算机设备、单台服务器、服务器集群、分布式服务端、云服务端等。在此,由所述设备获取多组训练数据,应当理解,所述训练数据中的每一组训练数据由唯一的分层图形与打印参数信息确定,在某些示例中,所述处理设备可获取训练数据集中所有数据,并识别其对应的分层图形与打印参数信息将训练数据集划分为多组训练数据。In an actual scenario, the training method of the machine learning model can be performed by, for example, a processing device, and the processing device can be any computing device with mathematical and logical operations and data processing capabilities, including but not limited to: personal computer equipment, single Servers, server clusters, distributed servers, cloud servers, etc. Here, multiple sets of training data are acquired by the device. It should be understood that each set of training data in the training data is determined by unique hierarchical graphics and printing parameter information. In some examples, the processing device may Obtain all data in the training data set, and identify the corresponding hierarchical graphics and printing parameter information to divide the training data set into multiple sets of training data.
在步骤S11中,将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述测量值作为输出数据进行关联训练以获得所述机器学习模型。In step S11, the multiple sets of residual stress data and/or the multiple sets of equivalent relaxation time data are used as input data and the measured values are used as output data to perform associated training to obtain the machine learning model.
在某些实施方式中,所述至少一种性能评价参数的测量值为数据阵列,例如,当打印构件的刚度由局部刚度表征,所述测量值为打印构件局部结构的刚度值形成的数据矩阵,在此,所述数据矩阵可以为二维矩阵或三维矩阵,又或多维矩阵,本申请不做限制。在此,应当理解,每一局部结构的刚度值也可表征为一刚度矩阵。又如,所述打印构件的性能评价参数为形状畸变,所述形状畸变由打印构件表面的局部畸变表征,对应的测量值可由二维的矩阵进行表示,矩阵中每一元素为一局部区域对应的各网格的形状畸变平均值或均方根等表征局部区域形状畸变的等效值。再如,所述性能评价参数的层间粘接强度由局部层间粘接强度表征,测量值对应的打印构件在不同区域的层间粘接强度值分布可由数据矩阵表征。In some embodiments, the measured value of the at least one performance evaluation parameter is a data array, for example, when the stiffness of the printed member is characterized by local stiffness, the measured value is a data matrix formed by the stiffness values of the local structure of the printed member , here, the data matrix may be a two-dimensional matrix, a three-dimensional matrix, or a multi-dimensional matrix, which is not limited in this application. Here, it should be understood that the stiffness value of each local structure can also be represented as a stiffness matrix. For another example, the performance evaluation parameter of the printing member is shape distortion, and the shape distortion is represented by the local distortion on the surface of the printing member, and the corresponding measurement value can be represented by a two-dimensional matrix, and each element in the matrix corresponds to a local area. The average value or root mean square of the shape distortion of each grid represents the equivalent value of the shape distortion in the local area. For another example, the interlayer bonding strength of the performance evaluation parameter is represented by the local interlayer bonding strength, and the interlayer bonding strength value distribution of the printing member corresponding to the measured value in different regions can be represented by a data matrix.
应当理解,所述数据阵列仅选择为一种表现形式,在此,对3D打印构件的局部区域的性能测量值也可表现为其他形式,例如为多个区域内分别对应的测量值,每一测量值中包括对应的区域信息也如坐标信息。It should be understood that the data array is only selected as one form of expression, and here, the performance measurement values of local areas of the 3D printing component can also be expressed in other forms, such as corresponding measurement values in multiple areas, each The measurement value includes corresponding area information such as coordinate information.
在此,所述打印构件的性能评价参数由局部区域的性能评价结果表征时,可获得性能评价参数的测量值在打印构件内的分布规律。由此,对于结构复杂的打印构件,将打印构件划分为多个部件进行性能评价,在某些示例中,不同部件之间的性能评价的测量值分布具有连续性,将所述测量值作为用于进行机器学习模型训练的输出端数据,所述机器学习模型可基于构件形态、等效松弛时间数据及残余应力数据在不同几何位置的分布规律、以及打印构件中不同位置的性能分布规律如分布的连续性进行性能评价,例如,训练完成的机器学习模型在接收到打印构件的残余应力数据或/及等效松弛时间数据后,对构件中不同区域的性能评价 参数的预测值(即评价值)可基于训练中获得的打印构件内部性能参数分布规律进行,由此,机器学习模型可对打印构件中每个位置的性能评价参数做出预测。Here, when the performance evaluation parameter of the printing member is characterized by the performance evaluation result of the local area, the distribution law of the measured value of the performance evaluation parameter in the printing member can be obtained. Therefore, for a printing member with a complex structure, the printing member is divided into a plurality of parts for performance evaluation. In some examples, the distribution of the measurement value of the performance evaluation between different parts has continuity, and the measurement value is used as a function. In the output data of the machine learning model training, the machine learning model can be based on the shape of the component, the distribution law of the equivalent relaxation time data and the residual stress data in different geometric positions, and the performance distribution law at different positions in the printed component such as distribution For example, after the trained machine learning model receives the residual stress data or/and equivalent relaxation time data of the printed component, the predicted value (i.e. the evaluation value) of the performance evaluation parameters in different areas of the component ) can be performed based on the distribution law of the internal performance parameters of the printing member obtained in the training, whereby the machine learning model can predict the performance evaluation parameters of each position in the printing member.
在某些实施方式中,所述多组残余应力数据和/或多组等效松弛时间数据为3D打印构件中各空间坐标点的残余应力数据或/及等效松弛时间数据。例如,输入神经网络的残余应力数据为打印构件中每一空间坐标点处热历史获得的等效松弛时间数据。In certain embodiments, the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are residual stress data or/or equivalent relaxation time data of each spatial coordinate point in the 3D printing component. For example, the residual stress data input to the neural network is the equivalent relaxation time data obtained from the thermal history at each spatial coordinate point in the printed component.
在某些实施方式中,所述多组残余应力数据或所述多组等效松弛时间为数据阵列。其中,所述数据阵列包括多维矩阵,例如二维矩阵、三维矩阵等。在一示例中,所述数据阵列中每一数值可为打印构件中多个空间坐标点处的残余应力数据或等效松弛时间数据的平均值。In certain embodiments, the sets of residual stress data or the sets of equivalent relaxation times are data arrays. Wherein, the data array includes a multi-dimensional matrix, such as a two-dimensional matrix, a three-dimensional matrix, and the like. In one example, each value in the data array may be an average value of residual stress data or equivalent relaxation time data at a plurality of spatial coordinate points in the print member.
在某些实施方式中,将所述3D打印构件模型在有限元模拟环境中的模拟域依预设尺寸或预设分区数量划分为多个子区域,所述多组残余应力数据和/或多组等效松弛时间数据为模拟域中各子区域内的残余应力平均值或/及等效松弛时间平均值。其中,所述子区域可基于预设的子区域的尺寸划分模拟域得到,又或基于预设的对模拟域的分割数量得到,例如,将模拟域在长度方向l等分,宽度方向m等分,高度方向n等分,其中,l、m、n均为大于或等于1的自然数;又如,在确定的模拟域内,将预设的子区域尺寸设置为a×b×c,将模拟阈划分为多个大小为a×b×c的子区域。In some embodiments, the simulation domain of the 3D printing component model in the finite element simulation environment is divided into multiple sub-regions according to a preset size or a preset number of partitions, the multiple sets of residual stress data and/or multiple sets of The equivalent relaxation time data is the mean value of residual stress or/and the mean value of equivalent relaxation time in each sub-region in the simulation domain. Wherein, the sub-region can be obtained by dividing the simulation domain based on the preset size of the sub-region, or obtained based on the preset number of divisions of the simulation domain, for example, dividing the simulation domain into equal parts in the length direction l, width direction m, etc. divided into n equal parts in the height direction, where l, m, and n are all natural numbers greater than or equal to 1; for another example, in a certain simulation domain, set the preset sub-region size to a×b×c, and simulate The threshold is divided into multiple sub-regions of size a×b×c.
所述模拟域可以为有限元环境中用于进行模拟打印的热-力-化学耦合计算的计算域,通常,模拟域的范围越大,则越贴近实际生产中的打印状态。在有限元模拟中,为减小计算资源消耗与计算时间,所述模拟域的范围包括打印构件模型与等效的打印腔室边界以及构件板,将打印设备所处的室内环境等效为模拟域边界。The simulation domain may be a computational domain for thermal-mechanical-chemical coupling calculation of simulated printing in a finite element environment. Generally, the larger the range of the simulation domain, the closer to the printing state in actual production. In the finite element simulation, in order to reduce the consumption of computing resources and computing time, the scope of the simulation domain includes the printing component model and the equivalent printing chamber boundary and component plate, and the indoor environment where the printing equipment is located is equivalent to the simulation domain boundaries.
在此,可将每一子区域中各空间坐标点处的残余应力数据、等效松弛时间数据等效为子区域内的等效值如平均值、方均根、中位数等,即可化简有限元模拟计算的输出结果,将残余应力数据与等效松弛时间数据的数据量从网格密度缩减为子区域的数量,将化简结果作为训练机器学习模型的输出数据。Here, the residual stress data and equivalent relaxation time data at each spatial coordinate point in each sub-region can be equivalent to the equivalent values in the sub-region, such as average value, root mean square, median, etc., which can be simplified The output results of the finite element simulation calculation reduce the data volume of residual stress data and equivalent relaxation time data from the mesh density to the number of sub-regions, and use the reduced results as the output data for training the machine learning model.
在某些实施方式中,所述各子区域内的残余应力平均值或/及等效松弛时间平均值是由三维数据变换处理获得的二维数据。例如,有限元模拟中的模拟域依照长、宽、高分别l、m、n等分后被划分为l×m×n个子区域,对应的等效松弛时间数据与残余应力数据为l×m×n的三维数据,每一数据值对应一子区域;在此,可对所述三维数据进行处理以形成二维数据,并将所述二维数据作为训练数据以便于进行训练计算。In some embodiments, the average value of residual stress or/and the average value of equivalent relaxation time in each of the sub-regions is two-dimensional data obtained by transforming three-dimensional data. For example, the simulation domain in the finite element simulation is divided into l×m×n sub-regions according to the length, width, and height of l, m, and n, respectively, and the corresponding equivalent relaxation time data and residual stress data are l×m ×n three-dimensional data, each data value corresponds to a sub-region; here, the three-dimensional data can be processed to form two-dimensional data, and the two-dimensional data can be used as training data to facilitate training calculations.
在某些示例中,所述多组残余应力数据和/或多组等效松弛时间数据为3D打印构件模型中各子区域内的残余应力平均值或/及等效松弛时间平均值;其中,所述子区域是基于预设尺 寸或预设分区数量对3D打印构件模型进行划分获得的。例如,当所述多组残余应力数据和/或多组等效松弛时间数据为在实际打印环境测定打印过程获得的,所述子区域可以为对打印构件的三维轮廓进行划分获得的,例如将打印构件模型基于预设数量划分为多个举例为将打印构件模型依照长、宽、高分别l、m、n等分,划分为l×m×n个子区域,又如依照设定子区域的尺寸将打印构件模型划分多个子区域组成;对应的,将测量获得每一子区域内不同位置的残余应力数据以及温度场数据转化为表征子区域整体的等效值如平均值、方均根、中位数等,以减小训练数据中残余应力数据与等效松弛时间数据的数据量,从而可减小训练机器学习模型的计算量。在某些示例中,还可对由子区域表征的残余应力数据,等效松弛时间数据的三维数据变换处理为二维数据。In some examples, the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are the average value of residual stress or/and the average value of equivalent relaxation time in each sub-region in the 3D printing component model; wherein, The sub-regions are obtained by dividing the 3D printing component model based on a preset size or a preset number of partitions. For example, when the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are obtained by measuring the printing process in an actual printing environment, the sub-regions may be obtained by dividing the three-dimensional contour of the printing member, for example, by dividing the The printing component model is divided into multiple parts based on a preset number. For example, the printing component model is divided into l, m, and n equal parts according to the length, width, and height, respectively, and is divided into l×m×n sub-areas. The size divides the printed component model into multiple sub-regions; correspondingly, the residual stress data and temperature field data at different positions in each sub-region are measured and converted into equivalent values representing the whole sub-region, such as average value, root mean square, median In order to reduce the data amount of residual stress data and equivalent relaxation time data in the training data, the calculation amount of training the machine learning model can be reduced. In some examples, three-dimensional data of equivalent relaxation time data can also be transformed into two-dimensional data for residual stress data characterized by sub-regions.
在此,基于已确定的打印构件的残余应力数据、等效松弛时间数据作为输入数据,打印构件在实际打印环境中的至少一种性能评价参数的测量值作为输出数据,即可进行关联训练以获得所述机器学习模型。Here, based on the determined residual stress data and equivalent relaxation time data of the printing member as input data, and the measured value of at least one performance evaluation parameter of the printing member in the actual printing environment as output data, correlation training can be performed to Obtain the machine learning model.
所述关联训练即在预设的机器学习模型的初始结构中将输入数据与输出数据进行关联以形成稳定的评价网络的过程,例如,在关联训练完成后,机器学习模型接收打印构件的残余应力数据及/或等效松弛时间数据,即可预测输出对应的打印构件性能参数的预测值(评价值)。所述的关联训练亦可理解为基于所述输入数据与输出数据进行有监督学习的过程。The association training is the process of associating the input data with the output data in the initial structure of the preset machine learning model to form a stable evaluation network. For example, after the association training is completed, the machine learning model receives the residual stress of the printing member. The data and/or the equivalent relaxation time data can predict and output the predicted value (evaluation value) of the corresponding printing component performance parameter. The association training can also be understood as a process of supervised learning based on the input data and output data.
在本申请提供的实施例中,所述机器学习模型为基于有监督机器学习而构建的算法模型,可基于相对应的打印构件的残余应力数据、等效松弛时间数据与打印构件在实际打印环境中的至少一种性能评价参数的测量值(即训练样本的输入数据与输出数据)进行训练,由此生成在接收到打印构件的残余应力数据或/及等效松弛时间数据时即可预测生成打印构件的性能评价结果。其中,所述的算法模型中的函数例如为:SVM(support vector machines,支持向量机)、AdaBoost(Adaptive Boosting,自适应增强)、线性回归算法、线性判别分析(LDA)、决策树算法(例如分类回归树)、随机森林算法、朴素贝叶斯、K近邻算法、学习向量量化(Learning Vector Quantization,简称LVQ)等。In the embodiments provided in this application, the machine learning model is an algorithm model constructed based on supervised machine learning, which can be based on the residual stress data, equivalent relaxation time data of the corresponding printing components and the actual printing environment of the printing components. The measurement value of at least one performance evaluation parameter in the training sample (ie the input data and output data of the training sample) is trained, so that the generation can be predicted when the residual stress data or/and the equivalent relaxation time data of the printing member are received. Performance evaluation results of printed components. Wherein, the functions in the algorithm model are, for example: SVM (support vector machines, support vector machines), AdaBoost (Adaptive Boosting, adaptive enhancement), linear regression algorithm, linear discriminant analysis (LDA), decision tree algorithm (such as Classification and regression tree), random forest algorithm, naive Bayes, K-nearest neighbor algorithm, Learning Vector Quantization (LVQ), etc.
在某些实施方式中,所述机器学习模型为神经网络模型。In some embodiments, the machine learning model is a neural network model.
应当理解,在所述关联训练中,可选择预设的神经网络结构例如为前馈神经网络、反馈神经网络、深度神经网络、卷积神经网络、自组织神经网络等,对预设的神经网络进行训练以将输入数据与输出数据进行关联,在关联过程中预设的神经网络结构在对应的算法下进行调节,以在训练中逐渐形成预期的神经网络。It should be understood that in the association training, a preset neural network structure can be selected, such as a feedforward neural network, a feedback neural network, a deep neural network, a convolutional neural network, a self-organizing neural network, etc. The training is performed to associate the input data with the output data. During the association process, the preset neural network structure is adjusted under the corresponding algorithm, so as to gradually form the expected neural network during the training.
在此,基于等效松弛时间数据、多组残余应力数据以及多组实际打印环境中打印构件至 少一种性能评价参数的测量值形成的多组训练数据,即可训练预设的神经网络结构或机器学习模型,使得神经网络不同神经元之间连接权重被调整或机器学习模型中数据权重被调整,训练完成获得的神经网络或机器学习模型可基于接收等效松弛时间数据或/及残余应力数据对打印物性能进行预测并输出预测值即评价值。Here, multiple sets of training data formed based on the equivalent relaxation time data, multiple sets of residual stress data, and multiple sets of measurement values of at least one performance evaluation parameter of the printing component in the actual printing environment can be used to train the preset neural network structure or A machine learning model, so that the connection weights between different neurons in the neural network are adjusted or the data weights in the machine learning model are adjusted. The neural network or machine learning model obtained after training can be based on the received equivalent relaxation time data or/and residual stress data. The performance of the printed matter is predicted, and the predicted value, that is, the evaluation value, is output.
在某些示例中,步骤S11中包括基于预测数据与所述输出数据进行误差评价以调整所述神经网络的步骤;其中,所述预测数据为机器学习模型基于输入数据进行预测的性能评价结果。例如,所述机器学习模型的预设模型为采用有监督学习算法的神经网络结构如BP神经网络,在训练过程中,从训练数据集中选择一样本数据即一组训练数据,预设的神经网络基于训练数据中的输入数据也即等效松弛时间数据或/及应力松弛时间计算对应的性能评价参数的评价值;将所述评价值与样本数据中的输出端数据也即实际打印环境中的性能评价参数的测量值比较以获得偏差值,根据偏差值调整神经网络中不同神经元间的连接权重;重复此过程,以至所述偏差值满足规定的误差范围。In some examples, step S11 includes a step of adjusting the neural network by performing error evaluation based on the predicted data and the output data; wherein the predicted data is a performance evaluation result of the prediction made by the machine learning model based on the input data. For example, the preset model of the machine learning model is a neural network structure using a supervised learning algorithm, such as a BP neural network. During the training process, a sample data, that is, a set of training data, is selected from the training data set, and the preset neural network Calculate the evaluation value of the corresponding performance evaluation parameter based on the input data in the training data, that is, the equivalent relaxation time data or/and the stress relaxation time; compare the evaluation value with the output data in the sample data, that is, the performance in the actual printing environment The measured values of the evaluation parameters are compared to obtain a deviation value, and the connection weights between different neurons in the neural network are adjusted according to the deviation value; this process is repeated until the deviation value meets the specified error range.
在某些示例中,所述预设的神经网络结构例如为深度神经网络,其中可通过设置对应的损失函数(Loss Function)例如均方差损失函数以度量训练数据的输出损失以判断预测结果是否准确,其中,所述损失函数用来表示机器学习模型的预测结果与输出数据的实际结果的不一致程度,是一个非负实值函数,损失函数越小,机器学习模型的鲁棒性就越好,其类型包括对数损失(Logistic Loss)函数,平方损失函数和指数损失函数等。所述神经网络在训练过程中基于多组训练数据,通过迭代调整神经网络中预测算法的参数也即不同层之间神经元的连接权重,至达到损失函数优化极值,即确定神经网络基于训练数据中的输入数据进行预测获得的结果与输出数据之间的损失稳定达到设定的阈值。In some examples, the preset neural network structure is, for example, a deep neural network, wherein a corresponding loss function (Loss Function), such as a mean square error loss function, can be set to measure the output loss of the training data to determine whether the prediction result is accurate , where the loss function is used to indicate the degree of inconsistency between the prediction results of the machine learning model and the actual results of the output data, and is a non-negative real-valued function. The smaller the loss function, the better the robustness of the machine learning model. Its types include logarithmic loss (Logistic Loss) function, square loss function and exponential loss function. In the training process of the neural network, based on multiple sets of training data, the parameters of the prediction algorithm in the neural network, that is, the connection weights of neurons between different layers, are adjusted iteratively until the optimization extremum of the loss function is reached, that is, it is determined that the neural network is based on training. The loss between the result obtained by the prediction of the input data in the data and the output data reaches the set threshold steadily.
需要说明的是,上述预设的神经网络结构或机器学习模型仅为举例而并非对本申请的限制,实际中可用于执行申请的机器学习模型的训练方法的具体神经网络结构或机器学习模型不局限于此。本申请的训练数据通过对不同打印构件的切片图形配置不同打印参数获得,形成的训练数据中输入数据与输出数据间具有对应关系,也即为存在标签的训练样本,通常,可基于有监督学习算法实现训练的神经网络或其余机器学习模型均可经由本申请的训练方法所提供的训练数据实现获得所需的用于进行打印构件性能评价的神经网络。在某些示例中,所述机器学习模型或预设的神经网络的算法模型也可采用无监督学习算法如采用自组织神经网络建立训练数据中输入数据与输出数据的对应关系;当然,在输入数据与输出数据间具有对应关系的情形下,通常有监督学习算法进行训练易于实现将输入数据与输出数据关联的方法。It should be noted that the above-mentioned preset neural network structure or machine learning model is only an example and not a limitation of the present application, and the specific neural network structure or machine learning model that can be used to execute the training method of the applied machine learning model in practice is not limited. here. The training data of the present application is obtained by configuring different printing parameters for the slice graphics of different printing components, and the training data formed has a corresponding relationship between the input data and the output data, that is, the training samples with labels. Usually, it can be based on supervised learning. The neural network trained by the algorithm or other machine learning models can be obtained through the training data provided by the training method of the present application to obtain the required neural network for evaluating the performance of the printing component. In some examples, the machine learning model or the preset algorithm model of the neural network can also use an unsupervised learning algorithm, such as using a self-organizing neural network to establish the corresponding relationship between the input data and the output data in the training data; When there is a corresponding relationship between the data and the output data, there is usually a supervised learning algorithm for training, which is easy to implement the method of associating the input data with the output data.
基于所述机器学习模型的训练方法中训练数据集中的数据类型,执行训练获得的机器学习模型不同。Based on the data types in the training data set in the training method of the machine learning model, the machine learning models obtained by performing the training are different.
例如,当所述训练数据集中所述测量值也即输出数据为数据阵列,举例为由局部刚度表征的矩阵或局部层间粘接强度的矩阵,所述训练完成的机器学习模型基于输入数据进行预测,输出的评价结果亦为数据阵列,即打印构件的由局部刚度表征的结构刚度评价值或局部层间粘接强度表征的层间粘接强度评价值;在此,训练过程中,机器学习模型自动学习处于不同位置的材料性能参数与其残余应力数据、等效松弛时间数据以及所处的几何位置的内在连续或变化规律,可对打印构件中每个位置的性能参数进行预测,输出为数据阵列的预测结果。For example, when the measurement value in the training data set, that is, the output data is a data array, such as a matrix represented by local stiffness or a matrix of local interlayer bonding strength, the trained machine learning model is based on the input data. It is predicted that the output evaluation result is also a data array, that is, the structural stiffness evaluation value represented by the local stiffness of the printed component or the interlayer bonding strength evaluation value represented by the local interlayer bonding strength; here, during the training process, machine learning The model automatically learns the material performance parameters at different positions, their residual stress data, equivalent relaxation time data, and the inherent continuity or variation law of the geometric position. It can predict the performance parameters of each position in the printed component and output it as data. Array of predicted results.
或如当用作训练数据的打印结构的结构刚度为整体刚度,机器学习模型基于输入数据预测,输出对打印构件整体结构的刚度评价值;又如,对打印构件的可打印性实验中,将打印成功的构件模型与打印参数组合标记为1,反之失败标记为0,所述训练完成的机器学习模型基于输出数据进行预测,对打印构件的可打印性输出为0或1的可打印性评价值。Or if the structural stiffness of the printed structure used as training data is the overall stiffness, the machine learning model predicts based on the input data, and outputs the stiffness evaluation value of the overall structure of the printed component; another example, in the printability experiment of the printed component, the The combination of component model and printing parameters that are successfully printed is marked as 1, otherwise, the failure is marked as 0. The machine learning model after the training is predicted based on the output data, and the printability of the printed component is output as 0 or 1. Printability evaluation. value.
在某些示例中,当所述训练数据集中的打印构件性能评价参数的测量值为单一评价参数或几个评价参数,例如整体形状畸变参数与整体结构刚度,由此训练获得的机器学习模型在接收打印构件的等效松弛时间数据后残余应力数据后输出单一评价参数或几个评价参数(其类型对应训练数据中的评价参数)的预测值。In some examples, when the measured value of the performance evaluation parameter of the printing member in the training data set is a single evaluation parameter or several evaluation parameters, such as the overall shape distortion parameter and the overall structural stiffness, the machine learning model obtained by training is After receiving the equivalent relaxation time data of the printing member, the residual stress data is output, and the predicted value of a single evaluation parameter or several evaluation parameters (the types of which correspond to the evaluation parameters in the training data) are output.
在某些示例中,所述训练数据集的输入数据为等效松弛时间数据,输出数据为打印构件的可打印性测量值,训练获得的机器学习模型基于单一的输入即打印构件的等效松弛时间数据对打印构件的可打印性进行预测,输出单一的预测值也即对构件可打印性的评价值。In some examples, the input data of the training data set is equivalent relaxation time data, the output data is the printability measurement of the printed member, and the machine learning model obtained by training is based on a single input, that is, the equivalent relaxation of the printed member The time data predicts the printability of the printed member, and outputs a single predicted value, that is, an evaluation value for the printability of the member.
在某些示例中,当所述训练数据集中的输入数据为等效松弛时间数据与残余应力数据,输出数据为打印构件多种性能评价参数的测量值,由此训练获得的机器学习模型基于多个输入即等效松弛时间数据与残余应力数据对打印构件的多种性能评价参数进行预测,并输出对应的多个评价值。In some examples, when the input data in the training data set are equivalent relaxation time data and residual stress data, and the output data are measured values of various performance evaluation parameters of the printed component, the machine learning model obtained by training is based on multiple The inputs are equivalent relaxation time data and residual stress data to predict various performance evaluation parameters of the printed component, and output a plurality of corresponding evaluation values.
在某些实施方式中,所述机器学习模型的训练方法中还包括将多个子模型封装为所述机器学习模型的步骤;其中,将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将一种所述性能评价参数的测量值作为输出数据进行关联训练以获得一个子模型。In some embodiments, the training method of the machine learning model further includes the step of encapsulating multiple sub-models as the machine learning model; wherein, the multiple sets of residual stress data and/or the multiple sets, etc. The effective relaxation time data is used as input data and a measured value of the performance evaluation parameter is used as output data to perform associated training to obtain a sub-model.
在此,所述子模型在关联训练中接收的训练数据集中将等效松弛时间数据或/及残余应力数据作为输入,将打印构件的一种性能评价参数的测量值作为输出,执行完成的子模型在接收到打印构件的等效松弛时间数据或/及残余应力数据时,可对打印构件的一种性能评价参数(其类型也即训练子网络时训练数据中的性能评价参数)进行预测并输出评价值。应当理解, 所述子模型为多个,不同子模型在训练中分别将不同类型的性能评价参数测量值作为训练数据,对应获得对不同性能评价参数进行预测的子模型。Here, the sub-model takes the equivalent relaxation time data or/and the residual stress data as input in the training data set received in the associated training, and uses the measured value of a performance evaluation parameter of the printing component as the output, and executes the completed sub-model. When the model receives the equivalent relaxation time data or/and residual stress data of the printed component, it can predict a performance evaluation parameter of the printed component (the type of which is the performance evaluation parameter in the training data when training the sub-network) and predict it. Output evaluation value. It should be understood that there are multiple sub-models, and different sub-models respectively use different types of performance evaluation parameter measurement values as training data during training, and correspondingly obtain sub-models for predicting different performance evaluation parameters.
在此,训练所述子模型的预设的机器学习模型的初始结构与前述类似,在此不做赘述,应当说明的是,当每一子模型仅对一种性能评价参数进行预测,所述子模型的输出层输出值为一类,在某些示例中,也可另每一子模型对几种性能评价参数进行预测,所述子模型输出值为几个,例如同时对打印构件的整体结构刚度和局部结构刚度进行预测的子模型。Here, the initial structure of the preset machine learning model for training the sub-model is similar to that described above, which is not repeated here. It should be noted that when each sub-model only predicts one performance evaluation parameter, the The output value of the output layer of the sub-model is one type. In some examples, each sub-model can also predict several performance evaluation parameters. The output value of the sub-model is several. A submodel for predicting structural stiffness and local structural stiffness.
在训练获得不同子模型后,可通过将子模型封装以形成可输出打印构件的至少一种性能参数的评价结果的机器学习模型,也即,所述机器学习模型在接收打印构件的等效松弛时间数据或/及残余应力数据后,其中的子模型分别对不同的性能评价参数进行预测,机器学习模型输出各子模型的评价结果。在某些示例中,可基于需评价的打印构件性能评价参数类型调用所述机器学习模型中一部分子模型进行预测,例如,当仅需获得打印构件的可打印性评价时,可仅调用机器学习模型中用于评价可打印性的子模型进行预测并输出预测值,如此可提高预测中的计算效率,减小计算量。After training to obtain different sub-models, the sub-models can be encapsulated to form a machine learning model that can output an evaluation result of at least one performance parameter of the printing member, that is, the machine learning model receives the equivalent relaxation of the printing member After the time data or/and residual stress data are obtained, the sub-models in it respectively predict different performance evaluation parameters, and the machine learning model outputs the evaluation results of each sub-model. In some examples, a part of the sub-models in the machine learning model can be called for prediction based on the type of performance evaluation parameters of the printing member to be evaluated. For example, when only the printability evaluation of the printing member needs to be obtained, only the machine learning model can be called The sub-model used to evaluate the printability in the model predicts and outputs the predicted value, which can improve the calculation efficiency in the prediction and reduce the calculation amount.
在此,基于本申请第一方面提供的机器学习模型的训练方法,通过预先确定对打印构件的打印质量有影响的变量,对不同打印构件模型设置不同打印参数进行实际打印以获得所述变量设置为不同数值或不同条件、状态时获得的打印构件,对由此获得的多组打印构件进行测量以获得至少一种性能评价参数的测量值;并且,获得在实际打印中或由实际打印环境仿真的模拟环境中的打印构件的温度场与残余应力场,并将所述温度场等效为可由单一参数表征的等效松弛时间,由多组测量值与多组等效松弛时间数据、多组残余应力数据形成具有标签的训练数据集,预设神经网络结构或机器学习模型即可基于所述训练数据集进行关联训练,将训练数据集中的测量值作为输出,等效松弛时间数据和/或残余应力数据作为输入,使得在训练完成后,所述神经网络或机器学习模型可基于打印构件的等效松弛时间数据和/或残余应力数据对打印构件的性能进行评价,即可实现针对不同类型的打印构件将其打印参数与打印质量相关联。Here, based on the training method of the machine learning model provided by the first aspect of the present application, by pre-determining variables that affect the printing quality of the printing component, different printing parameters are set for different printing component models to perform actual printing to obtain the variable settings For the printing members obtained under different numerical values or different conditions and states, the obtained multiple groups of printing members are measured to obtain measurement values of at least one performance evaluation parameter; and, obtained in actual printing or simulated by the actual printing environment The temperature field and residual stress field of the printed component in the simulated environment, and the temperature field is equivalent to the equivalent relaxation time that can be characterized by a single parameter, which is composed of multiple sets of measured values and multiple sets of equivalent relaxation time data, multiple sets of The residual stress data forms a training data set with labels, and the preset neural network structure or machine learning model can be used for association training based on the training data set, and the measured values in the training data set are used as output, equivalent relaxation time data and/or Residual stress data is used as input, so that after the training is completed, the neural network or machine learning model can evaluate the performance of the printed member based on the equivalent relaxation time data and/or residual stress data of the printed member, which can be achieved for different types of The print component of , associates its print parameters with print quality.
再者,由本申请提供的机器学习模型的训练方法获得的机器学习模型可帮助预先确定优化的打印参数信息,例如,对打印构件模型设置不同打印参数进行模拟打印,将模拟结果转化为等效松弛时间数据和/或残余应力数据输入至所述神经网络或机器学习模型,即可获得打印质量的预测结果,重复模拟打印与预测,不需进行实际打印,即可预先确定打印构件的优化的打印参数信息;又或,对于已确定的打印参数与打印构件模型,通过模拟打印后由机器学习模型进行预测,即可验证在此设置下的打印构件是否满足质量要求,提高实际打印合格 率。Furthermore, the machine learning model obtained by the training method of the machine learning model provided by the present application can help to predetermine the optimized printing parameter information, for example, set different printing parameters for the printing component model to simulate printing, and convert the simulation results into equivalent relaxation. Temporal data and/or residual stress data are input into the neural network or machine learning model to obtain a prediction result of printing quality, repeat the simulation printing and prediction, and predetermine the optimal printing of the printing component without actual printing Parameter information; or, for the determined printing parameters and printing component models, by simulating printing and predicting by the machine learning model, you can verify whether the printing components under this setting meet the quality requirements and improve the actual printing pass rate.
本申请在第二方面还公开了一种机器学习模型的训练装置,请参阅图3,显示为本申请的机器学习模型的训练装置在一实施例中的简化示意图。The present application also discloses a machine learning model training apparatus in a second aspect. Please refer to FIG. 3 , which is a simplified schematic diagram of an embodiment of the machine learning model training apparatus of the present application.
所述机器学习模型用于评估3D打印构件性能,所述训练装置包括:训练样本获取模块21,用于获取3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打印环境中至少一种性能评价参数的多组测量值;训练模块22,用于将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述多组测量值作为输出数据进行关联训练以获得所述机器学习模型。The machine learning model is used to evaluate the performance of the 3D printing component, and the training device includes: a training sample acquisition module 21 for acquiring multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printed component; and obtaining Multiple sets of measurement values of at least one performance evaluation parameter of the 3D printing component in an actual printing environment; a training module 22 for using the multiple sets of residual stress data and/or the multiple sets of equivalent relaxation time data as input data and Correlation training is performed on the sets of measurements as output data to obtain the machine learning model.
在某些实施方式中,所述机器学习模型的训练装置中的各模块可以是软件模块,该软件模块还可为配置在基于编程语言的软件系统中。所述软件模块可由电子设备的系统提供,在某些实施例中,所述电子设备例如为装载有APP应用程序或具备网页/网站访问性能的电子设备,所述电子设备包括存储器、存储器控制器、一个或多个处理单元(CPU)、外设接口、RF电路、音频电路、扬声器、麦克风、输入/输出(I/O)子系统、显示屏、其他输出或控制设备,以及外部端口等组件,这些组件通过一条或多条通信总线或信号线进行通信。所述电子设备包括但不限于如台式电脑、笔记本电脑、平板电脑、智能手机、智能电视等个人计算机。所述电子设备还可以是由带有多个虚拟机的主机和对应每个虚拟机的人机交互装置(如触控显示屏、键盘和鼠标)所构成的电子设备。In some embodiments, each module in the training device of the machine learning model may be a software module, and the software module may also be configured in a software system based on a programming language. The software module can be provided by a system of an electronic device. In some embodiments, the electronic device is, for example, an electronic device loaded with an APP application or an electronic device with webpage/website access capability, the electronic device includes a memory, a memory controller , one or more processing units (CPUs), peripheral interfaces, RF circuits, audio circuits, speakers, microphones, input/output (I/O) subsystems, displays, other output or control devices, and components such as external ports , these components communicate over one or more communication buses or signal lines. The electronic devices include, but are not limited to, personal computers such as desktop computers, notebook computers, tablet computers, smart phones, and smart TVs. The electronic device may also be an electronic device composed of a host with multiple virtual machines and a human-computer interaction device (such as a touch display screen, a keyboard and a mouse) corresponding to each virtual machine.
在某些实施方式中,所述训练装置获取训练数据、基于训练数据进行训练(包括生成中间结果)、以及获得目标机器学习模型的各功能模块可以由各种类型的设备(如终端设备、服务器、服务器集群、或云服务器系统),又或如处理器等计算资源、通信资源(如用于支持实现光缆、蜂窝等各种方式通信)协同实现;所述训练数据、由所述训练装置训练获得的机器学习模型、以及预测结果中的任一者可存储于配置所述训练装置的电子设备中,还可传输至与所述电子设备网络通信的其他终端设备、服务器、服务器集群、云服务器系统等。In some embodiments, the training device obtains training data, performs training based on the training data (including generating intermediate results), and obtains the functional modules of the target machine learning model, which can be implemented by various types of devices (such as terminal devices, servers, etc.). , server cluster, or cloud server system), or computing resources such as processors, communication resources (such as for supporting communication in various ways such as optical cables, cellular, etc.) are collaboratively implemented; the training data is trained by the training device. Any one of the obtained machine learning model and prediction results can be stored in the electronic device configuring the training device, and can also be transmitted to other terminal devices, servers, server clusters, cloud servers that communicate with the electronic device network system, etc.
在本申请的某些实施例中,所述云服务器系统可以根据功能、负载等多种因素布置在一个或多个实体服务器上。其中,当分布在多个实体服务器时,所述服务端可以由基于云架构的服务器组成。例如,基于云架构的服务器包括公共云(Public Cloud)服务端与私有云(Private Cloud)服务端,其中,所述公共或私有云服务端包括Software-as-a-Service(软件即服务,SaaS)、Platform-as-a-Service(平台即服务,PaaS)及Infrastructure-as-a-Service(基础设施即服务,IaaS)等。所述私有云服务端例如阿里云计算服务平台、亚马逊(Amazon)云计算服务平台、百度云计算平台、腾讯云计算平台等。所述服务端还可以由分布的或集中的服务器集群构成。例 如,所述服务器集群由至少一台实体服务器构成。每个实体服务器中配置多个虚拟服务器,每个虚拟服务器运行所述餐饮商户信息管理服务端中的至少一功能模块,各虚拟服务器之间通过网络通信。In some embodiments of the present application, the cloud server system may be arranged on one or more physical servers according to various factors such as function and load. Wherein, when distributed in multiple physical servers, the server can be composed of servers based on cloud architecture. For example, a server based on a cloud architecture includes a public cloud (Public Cloud) server and a private cloud (Private Cloud) server, wherein the public or private cloud server includes a Software-as-a-Service (Software as a Service, SaaS) ), Platform-as-a-Service (Platform as a Service, PaaS) and Infrastructure-as-a-Service (Infrastructure as a Service, IaaS), etc. The private cloud service end is, for example, Alibaba cloud computing service platform, Amazon (Amazon) cloud computing service platform, Baidu cloud computing platform, Tencent cloud computing platform, and the like. The server can also be composed of distributed or centralized server clusters. For example, the server cluster consists of at least one physical server. Each physical server is configured with a plurality of virtual servers, each virtual server runs at least one functional module in the catering business information management server, and the virtual servers communicate with each other through a network.
所述网络可以是因特网、移动网络、局域网(LAN)、广域网(WLAN)、存储局域网(SAN)、或者一个或多个内部网等,或其适当组合,本申请实施例对客户端、服务端的种类,或者发布者终端与服务器之间、响应者终端与服务器之间通信网络的类型或协议等在本申请中均不做限定。The network may be the Internet, a mobile network, a local area network (LAN), a wide area network (WLAN), a storage area network (SAN), or one or more intranets, or an appropriate combination thereof. The type, or the type or protocol of the communication network between the publisher terminal and the server or between the responder terminal and the server, etc. are not limited in this application.
关于所述机器学习模型的训练装置在实际应用场景中的呈现形式,本申请还提供了以下示例性的说明:Regarding the presentation form of the training device of the machine learning model in the actual application scenario, the present application also provides the following exemplary descriptions:
在一场景A中,所述训练装置中各模块可嵌入至电子设备APP中,所述电子设备的APP可从电子设备存储介质中或与电子设备网络通信的其他设备、服务器等中获取所述的训练数据以完成对目标机器学习模型的训练过程。在所述训练模块执行训练的过程中,在一些示例中;所述机器学习模型的训练装置可以是藉由用于配置所述训练装置的电子设备提供的计算资源实现,在另一些示例中,执行训练过程所需的计算资源还可分配至与所述设备网络通信的终端设备、服务器、云服务器系统、或处理器等;同时,训练过程中所述训练模块生成的预测结果可在所述设备本地存储,也可传送至所述设备网络通信的终端设备、服务器、云服务器系统、或处理器等,还可提供至其他应用程序或模块使用。In a scenario A, each module in the training device can be embedded in the APP of the electronic device, and the APP of the electronic device can obtain the above-mentioned information from the storage medium of the electronic device or other devices, servers, etc. that communicate with the electronic device network. training data to complete the training process of the target machine learning model. During the training process performed by the training module, in some examples, the training device of the machine learning model may be implemented by computing resources provided by an electronic device used to configure the training device, and in other examples, The computing resources required to perform the training process can also be allocated to terminal devices, servers, cloud server systems, or processors, etc. that communicate with the device network; at the same time, the prediction results generated by the training module during the training process can be The local storage of the device can also be transmitted to the terminal device, server, cloud server system, or processor for network communication of the device, and can also be provided to other applications or modules for use.
在一场景B中,所述训练装置为运行于服务器端的软件模块,所述服务器端还可以为多个服务器构成的分布式、并行计算平台,在使用场景中,可将所需的训练数据上传平台以执行所述训练过程。所述服务器端可基于服务器端的存储介质中的存储数据、或来自与服务器端通信的其他设备的数据执行机器学习模型的训练过程,由此训练生成的机器学习模型基于打印构件的温度历史数据或/及应力历史数据进行预测获得的性能评价结果可由服务器端进行存储,还可提供至其他应用程序或模块使用。In a scenario B, the training device is a software module running on the server side, and the server side can also be a distributed and parallel computing platform composed of multiple servers. In the usage scenario, the required training data can be uploaded. platform to perform the training process. The server side can perform the training process of the machine learning model based on the stored data in the storage medium of the server side or the data from other devices in communication with the server side, whereby the machine learning model generated by training is based on the temperature history data of the printing member or The performance evaluation results obtained by predicting the stress history data can be stored on the server side, and can also be provided to other applications or modules for use.
在一场景C中,所述训练装置的各模块可以为提供至服务器端(包括云服务端)或电子设备端的API(Application Programming Interface,应用程序编程接口)、插件或软件开发套件(SDK,Software Development Toolkit)等,所述API、插件或SDK等可实现所述训练装置中的各模块功能例如对训练数据的获取、以及基于训练数据执行训练以生成目标机器学习模型的功能;在某些实施方式中,以此形式呈现的所述训练装置可供其他服务端或电子设备端调用以嵌入各类应用程序中。In a scenario C, each module of the training device can be an API (Application Programming Interface), a plug-in or a software development kit (SDK, Software) provided to a server (including a cloud server) or an electronic device. Development Toolkit), etc., the API, plug-in or SDK, etc. can realize the functions of each module in the training device, such as the acquisition of training data, and the function of performing training based on the training data to generate a target machine learning model; in some implementations In this manner, the training device presented in this form can be invoked by other servers or electronic equipment to be embedded in various application programs.
本申请在第三方面还提供了一种用于评估3D打印构件性能的评价系统,请参阅图4,显 示为本申请的用于评估3D打印构件性能的评价系统在一实施例中的简化结构示意图。如图所示,所述评价系统包括输入模块31,以及预测模块32。The present application also provides an evaluation system for evaluating the performance of a 3D printing component in a third aspect. Please refer to FIG. 4 , which shows a simplified structure of the evaluation system for evaluating the performance of a 3D printing component of the present application in an embodiment. Schematic. As shown in the figure, the evaluation system includes an input module 31 and a prediction module 32 .
所述输入模块31用于接收所述3D打印构件的残余应力数据和/或等效松弛时间数据。The input module 31 is configured to receive residual stress data and/or equivalent relaxation time data of the 3D printed component.
所述预测模块32用于调用如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法训练生成的机器学习模型对所述输入模块接收的残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。The prediction module 32 is configured to invoke the training method of the machine learning model described in any one of the embodiments provided in the first aspect of the present application to train the generated machine learning model on the residual stress data and/or the residual stress data received by the input module. or equivalent relaxation time data to predict, and output the evaluation value of at least one performance evaluation parameter of the 3D printing component.
本申请在第四方面还提供了一种计算机设备,请参阅图5,显示为本申请第四方面提供的计算机设备在一实施例中的简化结构示意框图。The present application also provides a computer device in a fourth aspect. Please refer to FIG. 5 , which shows a simplified schematic block diagram of the structure of an embodiment of the computer device provided in the fourth aspect of the present application.
如图所示,所述计算机设备包括存储装置41以及处理装置42。As shown in the figure, the computer equipment includes a storage device 41 and a processing device 42 .
其中,所述存储装置41用于存储至少一个程序,以及预设的输入数据、输出数据。Wherein, the storage device 41 is used to store at least one program, as well as preset input data and output data.
在一些实施例中,所述存储装置41例如为经由RF电路或外部端口以及通信网络访问的网络附加存储装置,其中所述通信网络可以是因特网、一个或多个内部网、局域网、广域网、存储局域网等,或其适当组合。存储装置控制器可控制设备的诸如CPU和外设接口之类的其他组件对存储装置的访问。所述存储装置41可选地包括高速随机存取存储器,并且可选地还包括非易失性存储器,诸如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储器设备。由设备的其他组件诸如CPU和外围接口,对存储器的访问可选地通过存储器控制器来控制。In some embodiments, the storage device 41 is, for example, a network attached storage device accessed via an RF circuit or an external port and a communication network, which may be the Internet, one or more intranets, a local area network, a wide area network, a storage LAN, etc., or a suitable combination thereof. The storage device controller may control access to the storage device by other components of the device, such as the CPU and peripheral interfaces. The storage device 41 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces.
在一些实施例中,所述存储装置41还可以包括易失性存储器,例如随机存取存储器;存储器也可以包括非易失性存储器,例如只读存储器、快闪存储器、硬盘或固态硬盘。In some embodiments, the storage device 41 may further include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state disk.
所述处理装置42与所述存储装置41相连,用于执行所述至少一个程序,以调用所述存储装置中所述至少一个程序执行并实现如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法。在此,所述存储装置41存储的预设的输入数据、输出数据即对应为所述机器学习模型的训练方法中训练数据集内的输入数据、输出数据。The processing device 42 is connected to the storage device 41, and is configured to execute the at least one program, so as to call the at least one program in the storage device to execute and implement any one of the embodiments provided in the first aspect of the present application The training method of the machine learning model described in the embodiment. Here, the preset input data and output data stored in the storage device 41 correspond to the input data and output data in the training data set in the training method of the machine learning model.
在一些实施例中,所述处理装置42包括集成电路芯片,具有信号处理能力;或包括通用处理器,所述通用处理器可以是微处理器或者任何常规处理器等,例如中央处理器。例如,可以是数字信号处理器(DSP)、专用集成电路(ASIC)、分立门或晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图,例如,基于所述存储装置41中存储的预设的输入数据、输出数据,执行如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法。In some embodiments, the processing device 42 includes an integrated circuit chip with signal processing capability; or includes a general-purpose processor, which may be a microprocessor or any conventional processor, such as a central processing unit. For example, it may be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a discrete gate or transistor logic device, or a discrete hardware component, which can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application, For example, based on the preset input data and output data stored in the storage device 41, the training method of the machine learning model described in any one of the embodiments provided in the first aspect of the present application is executed.
本申请在第五方面还提供了一种计算机设备,请参阅图6,显示为本申请第五方面提供 的计算机设备在一实施例中的简化结构示意框图。如图所示,所述计算机设备包括存储装置51以及处理装置52。The present application also provides a computer device in a fifth aspect. Please refer to FIG. 6 , which shows a simplified schematic block diagram of the structure of the computer device provided in the fifth aspect of the present application in an embodiment. As shown in the figure, the computer equipment includes a storage device 51 and a processing device 52 .
其中,所述存储装置51用于存储至少一个程序,以及如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法生成的机器学习模型。The storage device 51 is configured to store at least one program and a machine learning model generated by the method for training a machine learning model in any one of the embodiments provided in the first aspect of the present application.
在一些实施例中,所述存储装置51例如为经由RF电路或外部端口以及通信网络访问的网络附加存储装置,其中所述通信网络可以是因特网、一个或多个内部网、局域网、广域网、存储局域网等,或其适当组合。存储装置控制器可控制设备的诸如CPU和外设接口之类的其他组件对存储装置的访问。所述存储装置51可选地包括高速随机存取存储器,并且可选地还包括非易失性存储器,诸如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储器设备。由设备的其他组件诸如CPU和外围接口,对存储器的访问可选地通过存储器控制器来控制。In some embodiments, the storage device 51 is, for example, a network attached storage device accessed via an RF circuit or an external port and a communication network, which may be the Internet, one or more intranets, a local area network, a wide area network, a storage LAN, etc., or a suitable combination thereof. The storage device controller may control access to the storage device by other components of the device, such as the CPU and peripheral interfaces. The storage device 51 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Access to memory is optionally controlled by a memory controller by other components of the device such as the CPU and peripheral interfaces.
在一些实施例中,所述存储装置51还可以包括易失性存储器,例如随机存取存储器;存储器也可以包括非易失性存储器,例如只读存储器、快闪存储器、硬盘或固态硬盘。In some embodiments, the storage device 51 may further include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state disk.
所述处理装置52与所述存储装置51相连,用于执行所述至少一个程序,以调用所述存储装置51执行并实现如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法生成的机器学习模型,以令所述机器学习模型对所述残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。The processing device 52 is connected to the storage device 51, and is configured to execute the at least one program, so as to call the storage device 51 to execute and implement any one of the implementation manners in the embodiments provided in the first aspect of this application. The machine learning model generated by the training method of the machine learning model, so that the machine learning model predicts the residual stress data and/or the equivalent relaxation time data, and outputs at least one performance evaluation parameter of the 3D printing component. Evaluation value.
在一些实施例中,所述处理装置52包括集成电路芯片,具有信号处理能力;或包括通用处理器,所述通用处理器可以是微处理器或者任何常规处理器等,例如中央处理器。例如,可以是数字信号处理器(DSP)、专用集成电路(ASIC)、分立门或晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图,例如,调用程序执行如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法生成的机器学习模型进行预测。In some embodiments, the processing device 52 includes an integrated circuit chip with signal processing capabilities; or includes a general-purpose processor, which may be a microprocessor or any conventional processor, such as a central processing unit. For example, it may be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a discrete gate or transistor logic device, or a discrete hardware component, which can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application, For example, the program is invoked to execute the machine learning model generated by the machine learning model training method according to any one of the embodiments provided in the first aspect of this application to perform prediction.
本申请在第六方面还提供了一种计算机可读存储介质,存储至少一种程序,所述至少一种程序被处理器执行时实现如本申请第一方面提供的实施例中任一实施方式所述的机器学习模型的训练方法。In a sixth aspect, the present application further provides a computer-readable storage medium, which stores at least one program, and when the at least one program is executed by a processor, implements any one of the embodiments provided in the first aspect of the present application The training method of the machine learning model.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服 务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
于本申请提供的实施例中,所述计算机可读写存储介质可以包括只读存储器、随机存取存储器、EEPROM、CD-ROM或其它光盘存储装置、磁盘存储装置或其它磁存储设备、闪存、U盘、移动硬盘、或者能够用于存储具有指令或数据结构形式的期望的程序代码并能够由计算机进行存取的任何其它介质。另外,任何连接都可以适当地称为计算机可读介质。例如,如果指令是使用同轴电缆、光纤光缆、双绞线、数字订户线(DSL)或者诸如红外线、无线电和微波之类的无线技术,从网站、服务器或其它远程源发送的,则所述同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线电和微波之类的无线技术包括在所述介质的定义中。然而,应当理解的是,计算机可读写存储介质和数据存储介质不包括连接、载波、信号或者其它暂时性介质,而是旨在针对于非暂时性、有形的存储介质。如申请中所使用的磁盘和光盘包括压缩光盘(CD)、激光光盘、光盘、数字多功能光盘(DVD)、软盘和蓝光光盘,其中,磁盘通常磁性地复制数据,而光盘则用激光来光学地复制数据。In the embodiments provided in this application, the computer readable and writable storage medium may include read-only memory, random access memory, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, A USB stick, a removable hard disk, or any other medium that can be used to store the desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the instructions are sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave Coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead intended to be non-transitory, tangible storage media. Disk and disc, as used in the application, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and blu-ray disc, where disks usually reproduce data magnetically, while discs use lasers to optically reproduce data replicate the data.
在一个或多个示例性方面,本申请执行所述的机器学习模型的训练方法的计算机程序所描述的功能可以用硬件、软件、固件或者其任意组合的方式来实现。当用软件实现时,可以将这些功能作为一个或多个指令或代码存储或传送到计算机可读介质上。本申请所公开的方法或算法的步骤可以用处理器可执行软件模块来体现,其中处理器可执行软件模块可以位于有形、非临时性计算机可读写存储介质上。有形、非临时性计算机可读写存储介质可以是计算机能够存取的任何可用介质。In one or more exemplary aspects, the functions described in the computer program for executing the machine learning model training method described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. The steps of the methods or algorithms disclosed herein may be embodied in processor-executable software modules, where the processor-executable software modules may reside on a tangible, non-transitory computer readable and writable storage medium. Tangible, non-transitory computer-readable storage media can be any available media that can be accessed by a computer.
本申请上述的附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这根据所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以通过执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以通过专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the above-described figures of the present application illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by dedicated hardware-based systems that perform the specified functions or operations , or can be implemented by a combination of dedicated hardware and computer instructions.
上述实施例仅例示性说明本申请的原理及其功效,而非用于限制本申请。任何熟悉此技术的人士皆可在不违背本申请的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本申请所揭示的精神与技术思想下所完成的一切等 效修饰或改变,仍应由本申请的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present application, but are not intended to limit the present application. Anyone skilled in the art can make modifications or changes to the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed in this application should still be covered by the claims of this application.

Claims (36)

  1. 一种用于评估3D打印构件性能的机器学习模型的训练方法,其特征在于,所述机器学习模型的训练方法包括以下步骤:A training method for a machine learning model for evaluating the performance of 3D printing components, characterized in that the training method for the machine learning model comprises the following steps:
    获取所述3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打印环境中至少一种性能评价参数的多组测量值;以及obtaining multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printed component; and obtaining multiple sets of measurement values of at least one performance evaluation parameter of the 3D printed component in an actual printing environment; and
    将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述多组测量值作为输出数据进行关联训练以获得所述机器学习模型。Correlation training is performed using the sets of residual stress data and/or the sets of equivalent relaxation time data as input data and the sets of measurement values as output data to obtain the machine learning model.
  2. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,还包括基于预测数据与所述输出数据进行误差评价以调整所述机器学习模型的步骤;其中,所述预测数据为机器学习模型基于输入数据进行预测的性能评价结果。The method for training a machine learning model according to claim 1, further comprising the step of adjusting the machine learning model by performing error evaluation based on predicted data and the output data; wherein the predicted data is machine learning The performance evaluation result of the model making predictions based on the input data.
  3. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述多组残余应力数据或所述多组等效松弛时间数据是在不同有限元模拟环境中获得的;其中,所述不同有限元模拟环境是通过对3D打印构件模型设置以不同打印参数信息形成的。The method for training a machine learning model according to claim 1, wherein the multiple sets of residual stress data or the multiple sets of equivalent relaxation time data are obtained in different finite element simulation environments; wherein, the Different finite element simulation environments are formed by setting the 3D printing component model with different printing parameter information.
  4. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,所述打印参数信息包括打印头的打印路径、层高度、打印头的移动速度、打印材料输出速度、打印材料加热温度、以及挤出温度中的一种或多种信息。The method for training a machine learning model according to claim 3, wherein the printing parameter information includes the printing path of the printing head, the layer height, the moving speed of the printing head, the output speed of the printing material, the heating temperature of the printing material, and One or more information on extrusion temperature.
  5. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,所述打印参数信息还包括打印设备参数信息,所述打印设备参数信息包括打印初始温度场信息、打印设备构件板加热温度、打印腔室温度、以及打印头形状中的一种或多种信息。The method for training a machine learning model according to claim 3, wherein the printing parameter information further comprises printing equipment parameter information, and the printing equipment parameter information comprises printing initial temperature field information, printing equipment component board heating temperature, One or more of print chamber temperature, and print head shape.
  6. 根据权利要求5所述的机器学习模型的训练方法,其特征在于,所述初始打印温度场信息获取的方式包括:基于热成像仪或热电偶测量打印前的打印腔体温度分布获取有限元模拟环境的打印初始温度场信息。The method for training a machine learning model according to claim 5, wherein the method for obtaining the initial printing temperature field information comprises: obtaining a finite element simulation based on a thermal imager or a thermocouple measuring the temperature distribution of the printing cavity before printing The printed initial temperature field information of the environment.
  7. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,所述打印参数信息还包括打印构件的材料属性信息,所述材料属性信息包括:丝材类型、丝材直径、丝材截面形状、材料最高加热温度、材料热参数、材料动态力学参数、以及材料初始残余应力中的一种或 多种信息。The method for training a machine learning model according to claim 3, wherein the printing parameter information further comprises material property information of the printing member, and the material property information comprises: wire type, wire diameter, wire cross section One or more information of shape, material maximum heating temperature, material thermal parameters, material dynamic mechanical parameters, and material initial residual stress.
  8. 根据权利要求7所述的机器学习模型的训练方法,其特征在于,所述材料热参数的确定方式包括以下至少一种:The method for training a machine learning model according to claim 7, wherein the method for determining the thermal parameters of the material comprises at least one of the following:
    基于热辐射系数测试仪测量打印材料的热辐射系数;Measure the thermal emissivity of printing materials based on the thermal emissivity tester;
    基于丝材打印实验,记录打印丝材被加热后置于打印腔室中的温度变化规律,由此计算等效对流换热系数;或者Based on the wire printing experiment, record the temperature change law of the printing wire after being heated and placed in the printing chamber, thereby calculating the equivalent convective heat transfer coefficient; or
    对形状规则的几何结构模型进行打印实验,记录打印过程中打印材料随时间变化的温度场分布,以及,对所述几何结构模型设置以不同对流换热系数进行有限元模拟,输出模拟打印过程的模拟温度场,将与打印实验的温度场重合的模拟温度场对应的对流换热系数作为等效的对流换热系数。The printing experiment is carried out on the geometric structure model with regular shape, and the temperature field distribution of the printing material changes with time during the printing process is recorded, and the geometric structure model is set to perform finite element simulation with different convective heat transfer coefficients, and output the simulated printing process. Simulate the temperature field, and take the convective heat transfer coefficient corresponding to the simulated temperature field that coincides with the temperature field of the printing experiment as the equivalent convective heat transfer coefficient.
  9. 根据权利要求7所述的机器学习模型的训练方法,其特征在于,所述材料动态力学参数的确定方式包括:测量打印构件或试样在不同温度下被施加交变应变、恒定应变、或固定载荷后的响应,获得材料的储能模量和损耗模量随温度的变化曲线,拟合曲线以获得有限元模拟中输入的材料动态力学参数信息。The method for training a machine learning model according to claim 7, wherein the method for determining the dynamic mechanical parameters of the material comprises: measuring the alternating strain, constant strain, or fixed strain applied to the printed member or the sample at different temperatures The response after loading, the change curves of the storage modulus and loss modulus of the material with temperature are obtained, and the curve is fitted to obtain the dynamic mechanical parameter information of the material input in the finite element simulation.
  10. 根据权利要求9所述的机器学习模型的训练方法,其特征在于,所述交变应变、恒定应变或固定载荷依不同加载方向使打印构件发生不同形变,所述形变的类型包括拉伸、压缩、弯曲、3点弯曲、剪切中的至少一者。The method for training a machine learning model according to claim 9, wherein the alternating strain, constant strain or fixed load cause different deformations of the printing member according to different loading directions, and the deformation types include tension, compression At least one of , bending, 3-point bending, and shearing.
  11. 根据权利要求9所述的机器学习模型的训练方法,其特征在于,所述交变应变为简谐应力或简谐载荷。The method for training a machine learning model according to claim 9, wherein the alternating strain is a harmonic stress or a harmonic load.
  12. 根据权利要求7所述的机器学习模型的训练方法,其特征在于,所述材料初始残余应力的确定方式包括以下步骤:The method for training a machine learning model according to claim 7, wherein the method for determining the initial residual stress of the material comprises the following steps:
    对打印材料设置以不同的打印参数信息进行多组单丝打印实验;Perform multiple sets of monofilament printing experiments with different printing parameter information for printing material settings;
    计算或测量多组单丝打印实验获得的单丝构件的残余应力;以及Calculate or measure the residual stress of monofilament components obtained from multiple sets of monofilament printing experiments; and
    获得包括所述不同打印参数信息与多组打印实验获得的单丝构件的残余应力的残余 应变数据库;其中,打印实验获得的单丝构件的残余应力与单丝构件的打印参数信息具有对应关系。Obtain a residual strain database including the different printing parameter information and the residual stress of the monofilament component obtained by multiple sets of printing experiments; wherein, the residual stress of the monofilament component obtained by the printing experiment has a corresponding relationship with the printing parameter information of the monofilament component.
  13. 根据权利要求12所述的机器学习模型的训练方法,其特征在于,所述计算或测量多组单丝打印实验获得的单丝构件的残余应力的步骤中,对所述单丝结构进行处理以释放残余应变,测量单丝形变以计算残余应力;或,基于物理检测方法确定所述单丝构件的残余应力。The method for training a machine learning model according to claim 12, characterized in that, in the step of calculating or measuring the residual stress of monofilament components obtained from multiple sets of monofilament printing experiments, the monofilament structures are processed to The residual strain is released, and the deformation of the monofilament is measured to calculate the residual stress; or, the residual stress of the monofilament member is determined based on a physical detection method.
  14. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,在所述有限元模拟环境中对所述3D打印构件进行耦合模拟计算以获得所述多组残余应力数据和/或多组等效松弛时间数据,所述耦合模拟计算为在预设有边界条件下的耦合模拟计算,所述边界条件包括热对流边界条件和/或热辐射边界条件。The method for training a machine learning model according to claim 3, wherein a coupled simulation calculation is performed on the 3D printed component in the finite element simulation environment to obtain the multiple sets of residual stress data and/or multiple sets of residual stress data. Equivalent relaxation time data, the coupling simulation calculation is a coupling simulation calculation under preset boundary conditions, and the boundary conditions include thermal convection boundary conditions and/or thermal radiation boundary conditions.
  15. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,在所述有限元模拟环境中对所述3D打印构件进行耦合模拟计算以获得所述多组残余应力数据和/或多组等效松弛时间数据,所述耦合模拟计算的模型包括描述所述打印材料的力学变形的线性粘弹性模型,或/和用以描述所述打印材料的热传导行为的横观各向同性热传导模型或正交各向异性热传导模型。The method for training a machine learning model according to claim 3, wherein a coupled simulation calculation is performed on the 3D printed component in the finite element simulation environment to obtain the multiple sets of residual stress data and/or multiple sets of residual stress data. Equivalent relaxation time data, the model calculated by the coupled simulation includes a linear viscoelastic model for describing the mechanical deformation of the printing material, or/and a transverse isotropic heat conduction model for describing the thermal conduction behavior of the printing material, or Orthotropic heat conduction model.
  16. 根据权利要求3所述的机器学习模型的训练方法,其特征在于,所述3D打印构件模型在有限元模拟环境中的模拟域依预设尺寸或预设分区数量划分为多个子区域,所述多组残余应力数据和/或多组等效松弛时间数据为模拟域中各子区域内的残余应力平均值或/及等效松弛时间平均值。The method for training a machine learning model according to claim 3, wherein the simulation domain of the 3D printing component model in the finite element simulation environment is divided into a plurality of sub-regions according to a preset size or a preset number of partitions, and the The multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are the average value of residual stress or/and the average value of equivalent relaxation time in each sub-region in the simulation domain.
  17. 根据权利要求15或16所述的机器学习模型的训练方法,其特征在于,所述各子区域内的残余应力平均值或/及等效松弛时间平均值是由三维数据变换处理获得的二维数据。The method for training a machine learning model according to claim 15 or 16, wherein the average value of residual stress or/and the average value of equivalent relaxation time in each sub-region is a two-dimensional data obtained by transforming three-dimensional data. data.
  18. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述性能评价参数包括构件可打印性、形状畸变、结构刚度、层间粘接强度、几何精度、最小打印间隙、分辨率、桥接表现、悬垂表现、表面波纹度、最小打印层厚、垂直度中的至少一者。The method for training a machine learning model according to claim 1, wherein the performance evaluation parameters include component printability, shape distortion, structural stiffness, interlayer bonding strength, geometric accuracy, minimum printing gap, resolution , at least one of bridging performance, drape performance, surface waviness, minimum print layer thickness, squareness.
  19. 根据权利要求18所述的机器学习模型的训练方法,其特征在于,确定所述形状畸变的测量值的方式包括:比较实际打印环境中的3D打印构件的表面网格与3D打印构件模型表面网格间的曲率误差,以计算获得构件表面的局部区域或/及构件整体的形状畸变。The method for training a machine learning model according to claim 18, wherein the method of determining the measurement value of the shape distortion comprises: comparing the surface mesh of the 3D printing component and the surface mesh of the 3D printing component model in an actual printing environment The curvature error between the cells can be calculated to obtain the shape distortion of the local area of the component surface or/and the overall component.
  20. 根据权利要求19所述的机器学习模型的训练方法,其特征在于,所述实际打印环境中的3D打印构件的表面网格是由三维光学扫描仪扫描3D打印构件获得的。The method for training a machine learning model according to claim 19, wherein the surface mesh of the 3D printing component in the actual printing environment is obtained by scanning the 3D printing component with a three-dimensional optical scanner.
  21. 根据权利要求18所述的机器学习模型的训练方法,其特征在于,所述构件可打印性的确定方式包括:对构件三维模型设置以不同打印参数,将实际打印环境中3D打印构件出现局部坍塌或畸变的构件三维模型与打印参数组合确定为不具有可打印性。The method for training a machine learning model according to claim 18, wherein the method for determining the printability of the component comprises: setting the three-dimensional model of the component with different printing parameters, and setting the local collapse of the 3D-printed component in an actual printing environment Or the 3D model of the distorted component in combination with the printing parameters is determined not to be printable.
  22. 根据权利要求18所述的机器学习模型的训练方法,其特征在于,所述结构刚度包括弯曲刚度、拉伸刚度、压缩刚度、剪切刚度、扭转刚度中的至少一者。The method for training a machine learning model according to claim 18, wherein the structural stiffness comprises at least one of bending stiffness, tensile stiffness, compression stiffness, shear stiffness, and torsional stiffness.
  23. 根据权利要求18所述的机器学习模型的训练方法,其特征在于,所述结构刚度由构件局部刚度表征,所述构件局部结构的测量方式包括:将3D打印构件分区切割为预设的规则几何结构,测量各几何结构的结构刚度。The method for training a machine learning model according to claim 18, wherein the structural stiffness is represented by the local stiffness of the component, and the method for measuring the local structure of the component comprises: cutting the 3D printed component partition into a preset regular geometry Structure, measures the structural stiffness of each geometry.
  24. 根据权利要求18所述的机器学习模型的训练方法,其特征在于,所述层间粘接强度包括3D打印构件整体的层间粘接强度、局部层间粘接强度。The method for training a machine learning model according to claim 18, wherein the interlayer bonding strength includes the overall interlayer bonding strength and local interlayer bonding strength of the 3D printing component.
  25. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述等效松弛时间数据是实际打印过程或模拟打印过程中,将打印材料随时间变化的动态温度场数据基于WLF方程或/及阿累尼乌斯方程(Arrhenius equation)进行时温等效至预设温度值获得的。The method for training a machine learning model according to claim 1, wherein the equivalent relaxation time data is based on the dynamic temperature field data of the printing material changing with time during the actual printing process or the simulated printing process based on the WLF equation or / and Arrhenius equation (Arrhenius equation) when the temperature is equivalent to the preset temperature value obtained.
  26. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,还包括将多个子模型封装为所述机器学习模型的步骤;其中,将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将一种所述性能评价参数的测量值作为输出数据进行关联训练以获得一个子模型。The method for training a machine learning model according to claim 1, further comprising the step of encapsulating multiple sub-models as the machine learning model; wherein the multiple sets of residual stress data and/or the multiple sets of residual stress data and/or the multiple A set of equivalent relaxation time data is used as input data and a measured value of one of the performance evaluation parameters is used as output data for associated training to obtain a sub-model.
  27. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述多组残余应力数据和/或多组等效松弛时间数据为3D打印构件中各空间坐标点的残余应力数据和/或等效松弛时间数据。The method for training a machine learning model according to claim 1, wherein the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are the residual stress data of each spatial coordinate point in the 3D printing component and/or or equivalent relaxation time data.
  28. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述多组残余应力数据和/或多组等效松弛时间数据为3D打印构件模型中各子区域内的残余应力平均值和/或等效松弛时间平均值;其中,所述子区域是基于预设尺寸或预设分区数量对3D打印构件模型进行划分获得的。The method for training a machine learning model according to claim 1, wherein the multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data are the average value of residual stress in each sub-region in the 3D printing component model and/or the average value of the equivalent relaxation time; wherein, the sub-regions are obtained by dividing the 3D printing component model based on a preset size or a preset number of partitions.
  29. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述至少一种性能评价参数的测量值为数据阵列。The method for training a machine learning model according to claim 1, wherein the measurement value of the at least one performance evaluation parameter is a data array.
  30. 根据权利要求1或3所述的机器学习模型的训练方法,其特征在于,所述3D打印构件为形状规则的几何结构,包括竖直薄壁、水平薄板、倾斜薄板、立方体、圆筒体、圆柱体、方筒体、锥体、斜柱、实心块体、网格填充结构。The method for training a machine learning model according to claim 1 or 3, wherein the 3D printing component is a geometric structure with regular shape, including vertical thin walls, horizontal thin plates, inclined thin plates, cubes, cylinders, Cylinder, square cylinder, cone, inclined column, solid block, grid filling structure.
  31. 根据权利要求1所述的机器学习模型的训练方法,其特征在于,所述机器学习模型为神经网络模型。The method for training a machine learning model according to claim 1, wherein the machine learning model is a neural network model.
  32. 一种机器学习模型的训练装置,其特征在于,所述机器学习模型用于评估3D打印构件性能,所述训练装置包括:A training device for a machine learning model, wherein the machine learning model is used to evaluate the performance of a 3D printing component, and the training device includes:
    训练样本获取模块,用于获取3D打印构件的多组残余应力数据和/或多组等效松弛时间数据;以及获取3D打印构件在实际打印环境中至少一种性能评价参数的多组测量值;A training sample acquisition module for acquiring multiple sets of residual stress data and/or multiple sets of equivalent relaxation time data of the 3D printing component; and acquiring multiple sets of measurement values of at least one performance evaluation parameter of the 3D printing component in an actual printing environment;
    训练模块,用于将所述多组残余应力数据和/或所述多组等效松弛时间数据作为输入数据以及将所述多组测量值作为输出数据进行关联训练以获得所述机器学习模型。A training module, configured to use the multiple sets of residual stress data and/or the multiple sets of equivalent relaxation time data as input data and the multiple sets of measurement values as output data to perform associated training to obtain the machine learning model.
  33. 一种用于评估3D打印构件性能的评价系统,其特征在于,包括:An evaluation system for evaluating the performance of 3D printing components, characterized in that it includes:
    输入模块,用于接收所述3D打印构件的残余应力数据和/或等效松弛时间数据;以及an input module for receiving residual stress data and/or equivalent relaxation time data for the 3D printed component; and
    预测模块,用于调用如权利要求1-31任一项所述的机器学习模型的训练方法生成的 机器学习模型对所述残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。A prediction module, used to call the machine learning model generated by the training method of the machine learning model according to any one of claims 1-31 to predict the residual stress data and/or the equivalent relaxation time data, and output the 3D An evaluation value of at least one performance evaluation parameter of the printed member.
  34. 一种计算机设备,其特征在于,包括:A computer equipment, characterized in that, comprising:
    存储装置,用于存储至少一个程序,以及预设的输入数据、输出数据;以及a storage device for storing at least one program, and preset input data and output data; and
    处理装置,与所述存储装置相连,用于执行所述至少一个程序,以调用所述存储装置中所述至少一个程序执行并实现如权利要求1-31任一项所述的机器学习模型的训练方法。A processing device, connected to the storage device, for executing the at least one program, so as to call the at least one program in the storage device to execute and implement the machine learning model according to any one of claims 1-31. training method.
  35. 一种计算机设备,其特征在于,包括:A computer equipment, characterized in that, comprising:
    存储装置,用于存储至少一个程序,以及如权利要求1-31任一项所述的机器学习模型的训练方法生成的机器学习模型;以及A storage device for storing at least one program and a machine learning model generated by the training method for a machine learning model according to any one of claims 1-31; and
    处理装置,与所述存储装置相连,用于执行所述至少一个程序,以调用所述存储装置中所述至少一个程序执行及所述机器学习模型以对所述残余应力数据和/或等效松弛时间数据进行预测,输出所述3D打印构件的至少一种性能评价参数的评价值。A processing device, connected to the storage device, for executing the at least one program to invoke the at least one program execution and the machine learning model in the storage device to perform an analysis of the residual stress data and/or equivalent The relaxation time data is used for prediction, and an evaluation value of at least one performance evaluation parameter of the 3D printed component is output.
  36. 一种计算机可读存储介质,其特征在于,存储至少一种程序,所述至少一种程序被处理器执行时实现如权利要求1-31任一项所述的机器学习模型的训练方法。A computer-readable storage medium, characterized by storing at least one program, which implements the method for training a machine learning model according to any one of claims 1-31 when the at least one program is executed by a processor.
PCT/CN2021/138638 2021-01-29 2021-12-16 Training method and training apparatus for machine learning model, and evaluation system WO2022161000A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110130044.6A CN114818401A (en) 2021-01-29 2021-01-29 Training method, training device and evaluation system of machine learning model
CN202110130044.6 2021-01-29

Publications (1)

Publication Number Publication Date
WO2022161000A1 true WO2022161000A1 (en) 2022-08-04

Family

ID=82525682

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138638 WO2022161000A1 (en) 2021-01-29 2021-12-16 Training method and training apparatus for machine learning model, and evaluation system

Country Status (2)

Country Link
CN (1) CN114818401A (en)
WO (1) WO2022161000A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115468739A (en) * 2022-11-01 2022-12-13 江苏亨通光电股份有限公司 Processing method and system of high-integration ribbon optical cable
CN116186978A (en) * 2022-12-07 2023-05-30 中国人民解放军军事科学院国防科技创新研究院 Data and physical dual-drive temperature field prediction method for complex geometric area of aircraft
CN117524386A (en) * 2024-01-04 2024-02-06 之江实验室 Method and device for calculating magnetic alloy permeability based on micromagnetism and machine learning
CN117900505A (en) * 2023-12-28 2024-04-19 江南大学 Force measuring method of machine learning auxiliary decoupling hybrid 3D printing triaxial force sensor

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482227B (en) * 2022-09-26 2023-09-12 中机生产力促进中心有限公司 Machine vision self-adaptive imaging environment adjusting method
CN115437486B (en) * 2022-11-09 2023-03-24 苏州浪潮智能科技有限公司 Model-based server heat dissipation method and device, server and storage medium
CN116728783B (en) * 2023-08-09 2023-10-27 深圳市金石三维打印科技有限公司 Simulation method and system based on 3D printer
CN117453216B (en) * 2023-11-03 2024-06-14 深圳市金石三维打印科技有限公司 Control software development and editing method and system based on 3D printing equipment
CN117422593B (en) * 2023-12-18 2024-04-05 遂宁市中心医院 Oral teaching achievement acceptance method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109130191A (en) * 2018-07-27 2019-01-04 北京鉴衡认证中心有限公司 Test method, device and the computer equipment of 3D printer performance
CN109814817A (en) * 2019-01-29 2019-05-28 福建省纳金网信息技术有限公司 A kind of 3D printing training data base construction method based on artificial intelligence technology
CN111832610A (en) * 2020-06-01 2020-10-27 成都飞机工业(集团)有限责任公司 3D printing organization prediction method, system, medium and terminal equipment
CN112004658A (en) * 2018-04-26 2020-11-27 惠普发展公司,有限责任合伙企业 Print production quality prediction
WO2021011385A1 (en) * 2019-07-12 2021-01-21 Fatigue Technology, Inc. Machine-learning-based assessment for engineered residual stress processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004658A (en) * 2018-04-26 2020-11-27 惠普发展公司,有限责任合伙企业 Print production quality prediction
CN109130191A (en) * 2018-07-27 2019-01-04 北京鉴衡认证中心有限公司 Test method, device and the computer equipment of 3D printer performance
CN109814817A (en) * 2019-01-29 2019-05-28 福建省纳金网信息技术有限公司 A kind of 3D printing training data base construction method based on artificial intelligence technology
WO2021011385A1 (en) * 2019-07-12 2021-01-21 Fatigue Technology, Inc. Machine-learning-based assessment for engineered residual stress processing
CN111832610A (en) * 2020-06-01 2020-10-27 成都飞机工业(集团)有限责任公司 3D printing organization prediction method, system, medium and terminal equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115468739A (en) * 2022-11-01 2022-12-13 江苏亨通光电股份有限公司 Processing method and system of high-integration ribbon optical cable
CN116186978A (en) * 2022-12-07 2023-05-30 中国人民解放军军事科学院国防科技创新研究院 Data and physical dual-drive temperature field prediction method for complex geometric area of aircraft
CN116186978B (en) * 2022-12-07 2024-06-11 中国人民解放军军事科学院国防科技创新研究院 Data and physical dual-drive temperature field prediction method for complex geometric area of aircraft
CN117900505A (en) * 2023-12-28 2024-04-19 江南大学 Force measuring method of machine learning auxiliary decoupling hybrid 3D printing triaxial force sensor
CN117524386A (en) * 2024-01-04 2024-02-06 之江实验室 Method and device for calculating magnetic alloy permeability based on micromagnetism and machine learning
CN117524386B (en) * 2024-01-04 2024-06-04 之江实验室 Method and device for calculating magnetic alloy permeability based on micromagnetism and machine learning

Also Published As

Publication number Publication date
CN114818401A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
WO2022161000A1 (en) Training method and training apparatus for machine learning model, and evaluation system
WO2022089218A1 (en) Machine learning model training method and apparatus, and prediction system
Khanzadeh et al. Quantifying geometric accuracy with unsupervised machine learning: Using self-organizing map on fused filament fabrication additive manufacturing parts
Rayegani et al. Fused deposition modelling (FDM) process parameter prediction and optimization using group method for data handling (GMDH) and differential evolution (DE)
US20220215133A1 (en) Digital build package for manufacturing a product design
Aguir et al. Parameter identification of an elasto-plastic behaviour using artificial neural networks–genetic algorithm method
Sun et al. A multiscale flaw detection algorithm based on XFEM
US20190188346A1 (en) System and method for modeling characteristics of a melt pool that forms during an additive manufacturing process
WO2021185030A1 (en) Finite element simulation method and system, computer device, and storage medium
JP2006518516A (en) Apparatus and method for performing process simulation using a hybrid model
Aboutaleb et al. Multi-objective accelerated process optimization of part geometric accuracy in additive manufacturing
Meng et al. Nonlinear shape-manifold learning approach: concepts, tools and applications
Zhang et al. Microstructure reconstruction and structural equation modeling for computational design of nanodielectrics
CN111444559A (en) Dynamic simulation method for FDM type 3D printing process based on ANSYS
CN115310343A (en) Sample database system, method for training and checking printing parameters and computer
Decker et al. Geometric accuracy prediction for additive manufacturing through machine learning of triangular mesh data
Deng et al. Data-driven calibration of multifidelity multiscale fracture models via latent map gaussian process
Zhai et al. Robust optimization of 3D printing process parameters considering process stability and production efficiency
Zhao et al. Compression after multiple impact strength of composite laminates prediction method based on machine learning approach
Böhringer et al. A strategy to train machine learning material models for finite element simulations on data acquirable from physical experiments
CN111444619B (en) Online analysis method and equipment for injection mold cooling system
US20230211561A1 (en) Systems and methods for managing additive manufacturing
Yu et al. Offline prediction of process windows for robust injection molding
Mirazimzadeh et al. Unsupervised clustering approach for recognizing residual stress and distortion patterns for different parts for directed energy deposition additive manufacturing
Tao et al. PointSGRADE: Sparse learning with graph representation for anomaly detection by using unstructured 3D point cloud data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21922590

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21922590

Country of ref document: EP

Kind code of ref document: A1