Systems, methods and media for artificial intelligence process control in additive manufacturing

Artificial intelligence process control in additive manufacturing systems enables real-time error correction and optimization of printed object properties by analyzing layer images and adjusting parameters, addressing the lack of timely feedback in current systems.

JP7553983B2Active Publication Date: 2024-09-19NANOTRONICS IMAGING INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023046860
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-04-19
Filing Date
2023-03-23
Publication Date
2024-09-19
Estimated Expiration
2040-04-20

AI Technical Summary

Technical Problem

Current additive manufacturing systems lack timely and accurate feedback mechanisms for correcting errors during the printing process, leading to suboptimal quality and reproducibility of printed objects.

Method used

Implementing artificial intelligence process control (AIPC) using a print head, image sensor, and hardware processors to capture and analyze images of printed layers, applying machine learning algorithms to identify anomalies and adjust printing parameters in real-time.

Benefits of technology

Enhances the ability to correct errors and optimize mechanical, optical, and electrical properties of printed objects, ensuring they meet production design specifications and improving overall print quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007553983000037
    Figure 0007553983000037
  • Figure 0007553983000042
    Figure 0007553983000042
  • Figure 0007553983000043
    Figure 0007553983000043
Patent Text Reader

Abstract

To provide systems, methods, and media for artificial intelligence process control in additive manufacturing.SOLUTION: An additive manufacturing system comprises: a hardware processor that is configured to: receive a captured image; apply a trained failure classifier to a low-resolution version of the captured image; determine that a non-recoverable failure is not present in the printed layer of the object; generate a cropped version of the low-resolution version of the captured image; apply a trained binary error classifier to the cropped version of the low-resolution version of the captured image; determine that an error is present in the printed layer of the object; apply a trained extrusion classifier to the captured image; generate an extrusion quality score by the trained extrusion classifier; and adjust a value of a parameter of the print head based on the extrusion quality score to print a subsequent layer of the printed object.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to mechanisms for providing artificial intelligence process control in additive manufacturing. [Background technology]

[0002] Additive manufacturing systems such as 3D printers and cell printers are widely used to deposit multiple layers of natural, synthetic or biological materials and produce objects through the processes of extrusion, sintering, photopolymerization, mechanosynthesis or electrohydrodynamic forces. The process of additive manufacturing produces objects through a layer deposition process, and the additive printer continues to add successive layers until the printed object is complete.

[0003] Typically, an object printed by an additive manufacturing printer is based on a production design. Using 3D modeling software (e.g., a CAD program), a production design for the object can be created to the desired specifications. A slicing program can then convert the production design into numerical control code (e.g., G code), which breaks the design into many layers and can then be used to instruct the additive manufacturing printer to print a physical representation of each individual layer of the production design. The goal of additive manufacturing is to print an object that closely follows the specifications of the production design.

[0004] Printing objects can take anywhere from hours to days to complete, depending on the size and complexity of the production design. Current additive manufacturing systems are limited in the type of feedback they can provide, and the corrective actions they can take after each layer of the object is printed. Often, feedback is not provided until the entire object has been printed. When feedback is provided during the printing process for an object, it is usually to determine whether to stop or continue printing the object.

[0005] In some additive manufacturing systems, feedback is provided by the shadow created by the printed object when light is shining on the object. This method is limited because the shadow obscures areas of the printed object and prevents accurate feedback. Accurate feedback in additive manufacturing is useful to maintain quality and reproducible printed objects. Summary of the Invention [Problem to be solved by the invention]

[0006] It is therefore desirable to provide artificial intelligence process control (AIPC) for each printed layer of an object so that timely corrective action can be taken during the printing process for the object. It is also desirable to provide AIPC to achieve desired mechanical, optical and / or electrical properties of the printed object, as well as to achieve a printed object that closely resembles or improves on the production design. [Means for solving the problem]

[0007] According to some embodiments, systems, methods and media are provided for artificial intelligence process control in additive manufacturing. In some embodiments, a system includes a print head configured to print an object by layer-by-layer printing (LBL), an image sensor configured to capture images of the printed layers of the object, and a hardware processor, wherein the hardware processor is configured to receive the captured image, sample the captured image, generate a low-resolution version of the captured image, apply a learned fault classifier to the low-resolution version of the captured image, determine based on a classification obtained from the fault classifier that no irrecoverable faults are present in the printed layers of the object, in response to determining that no irrecoverable faults are present in the printed layers, generate a cropped version of the low-resolution version of the captured image, apply a learned binary error classifier to the cropped version of the low-resolution version of the captured image, determine based on the classification obtained from the binary error classifier that an error is present in the printed layers of the object, in response to determining that an error is present in the printed layers of the object, apply a learned extrusion classifier to the captured image, the learned extrusion classifier generates an extrusion quality score indicative of a quality of extrusion of material in the printed layers of the object, and adjust values ​​of parameters of the print head based on the extrusion quality score to print a next layer of the printed object.

[0008] In some embodiments, a method for additive manufacturing is provided, the method including receiving a captured image; sampling the captured image and generating a low resolution version of the captured image; applying a learned fault classifier to the low resolution version of the captured image; determining that no irrecoverable faults are present in the printed layer of the object based on a classification obtained from the fault classifier; in response to determining that no irrecoverable faults are present in the printed layer, generating a cropped version of the low resolution version of the captured image; applying a learned binary error classifier to the cropped version of the low resolution version of the captured image; determining that an error is present in the printed layer of the object based on the classification obtained from the binary error classifier; and in response to determining that an error is present in the printed layer of the object, applying a learned extrusion classifier to the captured image, wherein the learned extrusion classifier generates an extrusion quality score indicative of a quality of extrusion of material in the printed layer of the object; and adjusting values ​​of parameters of a print head based on the extrusion quality score to print a next layer of the printed object.

[0009] In some embodiments, a non-transitory computer readable medium is provided that includes computer executable instructions that, when executed by a processor, cause the processor to perform a method for additive manufacturing comprising: sampling a captured image and generating a low resolution version of the captured image; applying a learned fault classifier to the low resolution version of the captured image; determining that no irrecoverable faults are present in the printed layer of the object based on a classification obtained from the fault classifier; in response to determining that no irrecoverable faults are present in the printed layer, generating a cropped version of the low resolution version of the captured image; applying a learned binary error classifier to the cropped version of the low resolution version of the captured image; determining that an error is present in the printed layer of the object based on the classification obtained from the binary error classifier; and in response to determining that an error is present in the printed layer of the object, applying a learned extrusion classifier to the captured image, wherein the learned extrusion classifier generates an extrusion quality score indicative of a quality of extrusion of material in the printed layer of the object; and adjusting values ​​of parameters of a print head based on the extrusion quality score to print a next layer of the printed object. [Brief description of the drawings]

[0010] [Figure 1] 1 is an example of an additive manufacturing system according to some embodiments.

[0011] [Diagram 2] 1 is an example of a camera and light source that can be used in an additive manufacturing printer according to some embodiments.

[0012] [Diagram 3] 1 is an example of an interface for an operator to input printing parameters into a numerically controlled code generator according to some embodiments.

[0013] [Figure 4]13 is an example of an image of a printed layer showing an unexpected gap in a depositing filament that can be captured according to some embodiments.

[0014] [Figure 5A] 11A-11C are example images of various printed layers showing unintentional string-like artifacts and other disruptions in the printed layers that may be captured by some embodiments. [Figure 5B] 11A-11C are example images of various printed layers showing unintentional string-like artifacts and other disruptions in the printed layers that may be captured by some embodiments. [Figure 5C] 11A-11C are example images of various printed layers showing unintentional string-like artifacts and other disruptions in the printed layers that may be captured by some embodiments.

[0015] [Figure 6] 1 is an example of an additive manufacturing printing operation (at a high level), according to some embodiments.

[0016] [Figure 7A] 1 is an example of a simulation of a set of set points for a printed layer that may be included in a numerical control code, according to some embodiments.

[0017] [Figure 7B] 1 is an example of a simulation of what a traversed print path may look like, according to some embodiments.

[0018] [Figure 8] An example showing a learning process for learning abnormal patterns and abnormality rates based on different packing densities and packing patterns, and how those abnormal patterns and abnormality rates affect the mechanical properties of a printed object, according to some embodiments.

[0019] [Figure 9]1 is an example process for applying a classifier to identify unrecoverable faults and errors in a printed object during printing, according to some embodiments of the subject matter.

[0020] [Figure 10] FIG. 1 is a schematic diagram of an example for using reinforcement learning to modify printing parameters during printing of a print object, according to some embodiments of the subject matter.

[0021] [Figure 11A] 1 is an example of a process for training a reinforcement learning algorithm to modify printing parameters during printing of a print object, according to some embodiments of the subject matter.

[0022] [Figure 11B] 1 is an example of a baseline tensile curve and an uncorrected tensile curve, according to some embodiments of the disclosed subject matter. [Figure 11C] 1 is an example of a baseline tensile curve and an uncorrected tensile curve, according to some embodiments of the disclosed subject matter.

[0023] [Figure 12] FIG. 1 is an example of a process for training a reinforcement learning algorithm to modify printing parameters during printing of a printed object using a group of 3D printers (also referred to as workers), according to some embodiments of the subject matter. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] In accordance with some embodiments of the disclosed subject matter, mechanisms (which may include systems, methods, devices, apparatus, etc.) are provided for artificial intelligence process control (AIPC) of additive manufacturing. AIPC can be useful, for example, to optimize printing parameters of an additive manufacturing system to achieve desired mechanical, optical, and / or electrical properties and / or desired accuracy of a printed object compared to a production design. AIPC can be useful to identify anomalies in a printed layer and take corrective action during the printing process.

[0025] As disclosed herein, in some embodiments, artificial intelligence can be used to learn, improve, and output feedback, information, data, and / or instructions from the additive manufacturing described herein (this process of learning, improving, and outputting such information, data, and / or instructions is referred to herein as "AIPC"). The artificial intelligence algorithms / machine learning models can include one or more of the following, alone or in combination: reinforcement learning, hidden Markov models, recurrent neural networks, convolutional neural networks, Bayesian symbolic methods, generative adversarial networks, support vector machines, and / or any other suitable artificial intelligence algorithms. Although AIPC is based on AI algorithms, AIPC can also use data collected during additive manufacturing that is not based on artificial intelligence algorithms.

[0026] FIG. 1 illustrates an example additive manufacturing system 100 capable of implementing AIPC according to some embodiments of the disclosed subject matter. According to some embodiments, the basic components of the additive manufacturing system 100 include, at a high level, a numerically controlled code generator 110, an additive manufacturing printer 115, an image generator 170, and an image analyzer 180. The additive manufacturing printer 115 can include an image sensor 120, a light source 130, a print head 140, a filament delivery system 145, a build plate 150, and a control module 160. The functionality of the components for the additive manufacturing system 100 can be combined into a single component or can span across several components. In some embodiments, some functions of the components (e.g., the numerically controlled code generator 110, the image generator 170, and / or the image analyzer 180) can be performed remotely from the additive manufacturing printer 115.

[0027] It should be noted that additive manufacturing system 100 may include other suitable components not shown. Additionally or alternatively, some of the components included within additive manufacturing system 100 may be omitted.

[0028] Although the following description refers to using the AIPC with a fused deposition modeling additive manufacturing printer, in some embodiments, the AIPCs described herein can be used with any suitable three-dimensional printing technology, including stereolithography (SLA), electron beam melting, direct metal deposition (electrohydrodynamic printing), and selective laser sintering.

[0029] In some embodiments, the additive manufacturing printer 115 can include one or more image sensors 120 for capturing images and / or video during the printing process. The image sensor 120 can be configured to capture images (or video) of the object during and / or after the printing of each layer of the object. The image sensor 120 can be, for example, a charge-coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) sensor such as may be used in digital still cameras and / or digital video cameras. The image sensor 120 can also include an infrared (IR) camera for capturing thermal images and / or video of the object and performing temperature calculations. The image sensor 120 can be located at different positions and angles relative to the build plate 150 and / or the print head 140.

[0030] In some embodiments, the AM printer 115 can include a single light source 130 or multiple light sources (e.g., multiple light vectors) located at different positions and angles relative to the build plate 150 and / or relative to the image sensor 120 (e.g., the light sources can be located circumferentially around the image sensor 120). The illumination can be varied by the size, number of light sources used and / or the location and angle of the illumination. The illumination can be used to illuminate a printed layer of an object such that the image sensor 120 can capture an image and / or video of the object.

[0031] The captured images and / or video may be stored in memory and used to generate a three-dimensional topographical image and / or other suitable image of the printed layer, as described herein in connection with image generator 170.

[0032] Figure 2 shows an example of a camera 120 and light source 130 that can be used in an additive manufacturing printer 115. Figure 2 includes a camera 120 surrounded by a light emitting diode (LED) ring 210 that is in an LED holder 230. In some embodiments, a control module 160 controls the individual LEDs in the LED ring 210 and determines which LEDs should illuminate. The control of the individual LEDs in the LED ring 210 may be dictated by the requirements of the topographical imaging technique used to generate the image of the printed layer.

[0033] As described above, the additive manufacturing printer 115 may also include one or more print heads 140 and one or more build plates 150. The print head 140 and / or the build plate 150 may move relative to one another in the X (width), Y (length), and Z (height) dimensions. The print head 140 may hold a filament that is fed by a filament feed system 145 and extruded through one or more nozzles of the print head 140 in a layer-by-layer (LBL) process. In some embodiments, the temperature of the print head nozzles may be controlled to heat the filament stored within the print head 140 and keep the filament in a depositable, flowable form (e.g., as the print head 140 and / or the build plate 150 move relative to one another and / or when the print head 140 and / or the build plate 150 are stationary). The extruded material may melt against the build plate 150 (as in the case of the first extrusion layer) or against a previously deposited extrusion layer. Other aspects of the print head 140 and / or build plate 150 that are controllable include, for example, the path the print head 140 and / or build plate 150 follow during movement, the amount the print head and / or build plate 150 move relative to one another along the Z-axis dimension when transitioning between layers of a production design, the orientation of the print head 140 and / or build plate 150 relative to one another, the speed of the print head 140 and / or build plate 150 movement, and the amount and rate of filament that the print head 140 deposits. In some embodiments, the print path is definable by at least two sets of XYZ coordinates. In operation, the print head and / or build plate can control movement relative to one another such that the print head can emit filament in a desired fill pattern. In some embodiments, the print head 140 and / or build plate 150 are controllable by codes from the numerical control code generator 110 and / or the control module 160.

[0034] In some embodiments, the build plate 150 is heatable to a predetermined temperature and orientable in different directions.

[0035] In some embodiments, control module 160, which in some embodiments can include a controller and controller interface, can control any suitable one or more settings (e.g., temperature, speed, orientation, etc.) of the components of additive manufacturing system 100 (e.g., numerically controlled code generator 110, image sensor 120, light source 130, print head 140, build plate 150, image generator 170, and image analyzer 180), as well as communications, operations (e.g., capturing an image of the print object, enabling light source 130, etc.), and calculations performed by and between the components of the additive manufacturing system. Control system 108 may also include any suitable hardware (capable of executing software in some embodiments), such as a computer, a microprocessor, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FGPA), and a digital signal processor (DSP) (any of which may also be referred to as a hardware processor), an encoder, circuitry to read the encoder, memory devices (including one or more EPROMs, one or more EEPROMs, dynamic random access memory ("DRAM"), static random access memory ("SRAM"), and / or flash memory), and / or any other suitable hardware elements. In some embodiments, individual components within additive manufacturing system 100 may include their own software, firmware, and / or hardware to control the individual components and to communicate with other components within additive manufacturing system 100.

[0036] In some embodiments, communications between the control module 160 and other components of the additive manufacturing system 100 and / or between the control module 160 and other components within the additive manufacturing printer 115 may use any suitable communications technology, such as analog technologies (e.g., relay logic), digital technologies (e.g., RS232, Ethernet or wireless), network technologies (e.g., local area network (LAN), wide area network (WAN), Internet), Bluetooth technology, near field communication technologies, secure RF technologies, and / or any other suitable communications technology.

[0037] In some embodiments, operator input may be communicated to the control module 160 using any suitable input device (eg, a keyboard, a mouse, or a joystick).

[0038] 1, the additive manufacturing printer 115 may also include other components, such as a temperature sensor, a humidity sensor, an accelerometer for measuring acceleration and any unexpected movement (e.g., shock, vibration, etc.) of the print head 140, and a display monitor for displaying images. The additive manufacturing printer 115 may also include one or more actuators for orienting and / or moving the image sensor 120, the illumination light source 130, the print head 140, and / or the build plate 150.

[0039] 1 also illustrates a numerical control code generator 110. In some embodiments, the numerical control code generator 110 can be configured to receive a three-dimensional design (e.g., a computer-aided design (CAD) model) of an object to be printed (referred to herein as a "production design"). The production design can be received in any suitable format that can be processed by the numerical control code generator 110 (e.g., Standard Tessellation Language (.stl), Drawing Standard (DWS) or Drawing (DWG) file formats).

[0040] The numerically controlled code generator 110 is configurable to convert the production design into instructions for the additive manufacturing printer 115 to print a physical representation of the production design. In some embodiments, the numerically controlled code generator 110 can include an interface for an operator to input certain printing parameters, as described in connection with FIG. 3. The printing parameters also include, but are not limited to, one or more of the following: printing characteristics of the additive manufacturing machine 115 (e.g., print head size, type of filament being extruded, 3D printing technology, etc.), print path, filament feed rate, and the production design specifications (e.g., what the printed design should look like, desired mechanical, optical and / or electrical properties of the design, etc.).

[0041] Based on one or more printing parameters, the numerical control code generator 110 can apply a slicing algorithm to intersect the production design in parallel planes that are a predetermined distance apart in the Z direction to create two-dimensional or three-dimensional layers. For example, if the object to be printed is 5 mm in the Z direction and the desired layer thickness is 0.2 mm in the Z direction, the production design of the object can be sliced ​​into 25 layers that are 0.2 mm thick in the Z direction. In addition to slicing the production design, the numerical control code generator 110 can be further configured to generate a numerical control code for each layer to be printed based on one or more of the following: the printing parameters, the AIPC from one or more previous printed layers of the currently printing print object, the AIPC from other print objects (some of which may be incorporated into the production design), and the printing characteristics of the additive manufacturing printer 115.

[0042] In other embodiments, the slicing algorithm can be configured to determine only the first layer and generate a numerical control code for that first layer. The numerical control code for each subsequent layer of the print object can be generated based on one or more of the following: AIPC from one or more previous print layers of the currently printing print object, AIPC from other print objects (some of which may be incorporated into the production design), desired mechanical, optical and / or electrical properties and specifications for the production design of the print object, and input parameters entered by an operator and / or printing features of the additive manufacturing printer 115. In some embodiments, the slicing algorithm can be omitted entirely and the numerical control code can be generated based on one or more of the following: AIPC from other print objects (some of which may be incorporated into the production design), desired mechanical, optical and / or electrical properties and specifications for the production design of the print object, input parameters entered by an operator and / or printing features of the additive manufacturing printer 115. In some embodiments, the numerically controlled code generator can also take into account uncontrollable variables (i.e., variables that cannot be controlled without human intervention), including, for example and without limitation, ambient humidity, temperature and exposure to light, voltage changes, wear on the additive manufacturing printer 115, and the total filament supply available to the print head 140.

[0043] FIG. 3 illustrates an example of an interface 300 for an operator to input printing parameters into the numerical control code generator 110, in accordance with some embodiments of the disclosed subject matter.

[0044] It should be noted that interface 300 can include fields to control other suitable printing parameters not shown. Additionally or alternatively, some of the printing parameters included in interface 300 can be omitted in some embodiments. Furthermore, any and all printing parameters included in interface 300 can alternatively be generated automatically by the numerically controlled code generator and not inputtable by an operator. In some embodiments, an operator can input printing parameters for a first layer of a production design, and numerically controlled code generator 110 can generate printing parameters for subsequent layers of the print design using artificial intelligence algorithms and other methods disclosed herein.

[0045] As shown, interface 300 can include fields that control print quality parameters such as layer height, shell thickness, and retraction mechanisms.

[0046] Layer height refers to the height of a layer of a printed object. The layer height may affect the print resolution. For example, a short layer may create a more detailed print and a smoother surface than a taller layer. However, an object with a shorter layer may take longer to print. Conversely, a taller layer may correspond to a lower resolution print and a rougher surface. An object that includes a tall layer may be printed more quickly than the same object with a shorter layer. In some embodiments, any suitable layer height may be used.

[0047] Shell thickness refers to the thickness of the outer wall of the printed object. In embodiments, any suitable shell thickness difference can be used.

[0048] The retraction mechanism is meant to ensure that filament is not extruded from the print head as the print head moves over a specified non-printed area. In some embodiments, the retraction mechanism can be enabled or disabled.

[0049] The interface 300 may also include fields to control print speed settings to control print head speed and / or build plate speed. Print speed refers to how fast the print head and / or build plate move as the print head prints. In some embodiments, any suitable print speed may be used. Based on the print speed, the amount of material that needs to be extruded (i.e., the feed rate) may be calculated. In some embodiments, any suitable feed rate may be used.

[0050] The interface 300 may also include fields to control temperature settings to control the print head temperature and / or the build plate temperature. It may be necessary to change the print head temperature when the print speed changes to ensure that the extruded filament is sufficiently heated for deposition. In some embodiments, any suitable print head temperature may be used.

[0051] The interface 300 may also include fields to control fill density and fill pattern settings.

[0052] Fill density refers to the structure printed inside an object and can be specified, for example, by a percentage. In some embodiments, any suitable fill density can be used. 100% fill density refers to a solid fill density with no intended gaps.

[0053] Fill pattern refers to a pattern of filling. In some embodiments, any suitable fill pattern can be used. For example, in some embodiments, the fill pattern can include honeycomb, triangles, grids, and rectangles. The fill density and fill pattern can affect the print weight, strength of the printed object, overall print time, and external properties. The fill pattern can also affect mechanical, optical, and / or electrical properties. In some embodiments, the fill density and fill pattern can be set for a particular layer or for the entire object.

[0054] Additionally, the interface 300 may include fields to control support settings, including support type and platform adhesion type.

[0055] Some printing objects may have protruding portions and therefore may require supports to prevent the extruded filament from falling during the printing process. The support settings can be used to specify where supports can be placed. In some embodiments, any suitable support settings can be used.

[0056] A platform adhesion setting can be used to improve adhesion of the print layer to the build plate 150. Different types of platform adhesion settings that can be specified include: a raft setting that adds extra filament in the form of a thick grid between the base layer of the print object and the build plate; a brim setting that adds an extra line of filament around the first layer of the print object; and a skirt setting that adds a line of filament around the object on the first print layer. Using a specific platform adhesion setting can help reduce the amount of warping in the print object. In some embodiments, any suitable platform adhesion setting can be used.

[0057] Interface 300 may also include field settings related to object placement and orientation. These settings include the position of the print object on build plate 150 and the orientation of the print object on build plate 150. In some embodiments, any suitable object placement and / or orientation setting may be used.

[0058] In some embodiments, the generated numerical control code can describe a print path for the relative movement of the print head 140 and / or the build plate 150. The print path can be defined by two sets of coordinates (set points) in the XYZ dimensions and by instructions specifying how to move between the set points. The generated numerical control code can specify the speed of movement of the print head 140 and / or the build plate 150 relative to one another while moving between a pair of successive points along the print path, the temperature of the filament (or the temperature of the print head nozzle) between a pair of successive points, and / or the feed rate of the filament between a pair of successive points. The generated numerical control code can specify where the print head 140 should extrude filament and / or where it should refrain from emitting filament. All parameters contained within the generated numerical control code are also considered "print parameters."

[0059] One or more of the printing parameters described above, as well as uncontrollable variables, can affect the properties of the printed object, such as layer irregularities, surface roughness, print resolution, total build time, the amount of extrusion material used in the printed object, and the mechanical, optical and / or electrical properties of the printed object. Mechanical properties include ultimate tensile strength (R m ), yield strength (Rp 2% ), elongation at break (A % ), Young's modulus (E), fatigue (σ d), Poisson's modulus, mass and specific gravity. Optical properties can include absorption, reflection, transmission and refraction. Electrical properties can include electrical resistivity and conductivity. The disclosed mechanical, optical and electrical properties are merely examples and are not intended to be limiting.

[0060] AIPC can be used to optimize for desired mechanical properties, optical properties, electrical properties, and / or any suitable characteristic of the object being printed. AIPC can also be used to take corrective action when printing an object. Corrective action can include changing printing parameters of the next layer of the currently printed object or of a targeted future layer. In some embodiments, AIPC can be used to improve a production design.

[0061] 1, additive manufacturing system 100 can include an image generator 170 that can process captured images and / or video of a printed layer of an object. In some embodiments, image generator 170 can include hardware or software configured to store the captured images and / or video and generate three-dimensional topographical images and / or other suitable images of the printed layer from the captured images and / or video.

[0062] Using different topographical imaging techniques (including but not limited to shape-from-focus algorithms, shape-from-shading algorithms, photometric stereo algorithms, and Fourier psychographic modulation algorithms) with predetermined size, number, and position of the irradiating light, one or more three-dimensional topographical images of each printed layer can be generated. The generated topographical images can provide volumetric information related to the completed layers of the printed object and / or partial printed object, overall dimensions of each layer of the printed object and / or partial printed object, characteristics of each layer of the printed object and / or partial printed object, and information regarding anomalies (e.g., amount, distribution, anomaly type, etc.) found in one or more layers of the printed object and / or partial printed object.

[0063] One example of a shape-from-focus algorithm that may be adapted for use by the image generator 170 in the additive manufacturing system 100 is described in "Analysis of Focus Measure Operators for Shape-from-Focus" by Said Pertuz et al., Pattern Recognition, Vol. 45, No. 5, pp. 1415-1432, which is incorporated by reference herein in its entirety. The disclosed method is by way of example only and is not intended to be limiting.

[0064] One example of a shape-from-shading algorithm that may be adapted for use by the image generator 170 in the additive manufacturing system 100 is described in "Depth and Shape from Shading using the Photometric Stereo method" by Byungil Kim et al., CVGIP: Image Understanding, Vol. 54, No. 3, pp. 416-427, 1991, which is incorporated by reference in its entirety. The disclosed method is by way of example only and is not intended to be limiting.

[0065] One example of a photometric stereo algorithm that may be adapted for use by the image generator 170 in the additive manufacturing system 100 is described in "Estimating 3-D Shape from the Optical Flow of Photometric Stereo Images" by Jose RATorreao, Proceedings of the 6th Ibero-American Conference on AI: Progress in Artificial Intelligence (IBERAMIA 1998), Helder Coelho (ed.), Springer-Verlag, London, UK, UK, pp. 253-261, which is incorporated herein by reference in its entirety. The disclosed method is by way of example only and is not intended to be limiting.

[0066] One example of a Fourier psychography modulation algorithm suitable for use by the image generator 170 in the additive manufacturing system 100 is described in Guoan Zeng et al., "Wide-field High-resolution Fourier Ptychographic Microscopy," Nature Photonics, Vol. 7, pp. 739-745, 2013, which is incorporated by reference in its entirety. The disclosed method is by way of example only and is not intended to be limiting.

[0067] In some embodiments, the topography images and / or other suitable images generated by image generator 170 can provide information such as anomaly rate and distribution, anomaly type, deposited filament at various points along the print path, etc. For example, as shown in FIG. 4, a captured image 400 of a printed layer shows unexpected gaps in the deposited filament. In another set of examples, as shown in FIGS. 5A, 5B, and 5C, captured images of various printed layers show unexpected thread-like artifacts and other disruptions in the printed layer.

[0068] In some embodiments, the image analyzer 180 can be configured to receive the generated topographical image and / or other suitable images from the image generator 170 and visually recognize and identify one or more anomalies on the printed layer. In some embodiments, this can be done by comparing and identifying differences between the actual features of the printed layer as obtained from the two-dimensional or three-dimensional topographical image, the detected print path map of the printed layer and / or the image of the layer, and the features of the printed layer as specified in the generated numerical code and / or the production design for the layer. In some embodiments, one or more artificial intelligence algorithms can be used to identify the anomalies based on the differences. These anomalies can include, for example, differences between the actual printed layer and the production design and / or the generated numerical code for the printed layer relative to the following: perimeter dimensions of the layer, dimensions of the deposited filament between set points, packing density, packing pattern, surface roughness, print path, and / or any other variation. Identifying the anomaly can include classifying the anomaly as well as identifying its size, shape, XYZ location, and / or any other suitable characteristic. In some embodiments, any suitable artificial intelligence algorithm can be used. For example, in some embodiments, the artificial intelligence algorithms may include one or more of the following, alone or in combination: machine learning, hidden Markov models, recurrent neural networks, convolutional neural networks, Bayesian symbolic methods, generative adversarial networks, support vector machines, and / or any other suitable artificial intelligence algorithms.

[0069] In some embodiments, the image analyzer 180 may classify the topography images and / or other suitable images from the image generator 170 utilizing a mathematical model that reduces the complexity of standard convolutional neural network (CNN) models, as shown in FIG. 9 and described below in connection with FIG. 9. This reduction in complexity is particularly useful when deployed in low-cost, rapid prototyping, and build-up environments, since on-board graphics processing units (GPUs) and high-performance central processing unit (CPU) computers are not required. In some embodiments, for example, the image analyzer 180 may deploy an image classification model to classify images during the 3D printing process, detect irrecoverable faults (e.g., the printed layer cannot be printed further), and assign quality metrics to the layer being printed, as shown in FIG. 9 and described below in connection with FIG. 9. The model may include a fault classifier and an extrusion classifier, and in some embodiments, the results of the fault classifier may be provided to the extrusion classifier.

[0070] As described in more detail below in connection with 920 of FIG. 9, the fault classifier may be a binary classifier that takes an input, such as an image, and determines one of two output values: pass or fail. In some embodiments, during the 3D printing process, an image of the latest layer of the object being printed may be captured and a version of the image having a lower resolution than the initially captured image may be generated and provided to the fault classifier. Based on the lower resolution image, the fault classifier determines whether the printed layer can be further printed. If the layer cannot be further printed because the part has been detached from the heat bed, for example, the fault classifier may classify the image as fail. If the layer can be further printed, the fault classifier may classify the image as pass. In some embodiments, to reduce the occurrence of false positives, the fault classification may be further analyzed using a second ordinal filter, as described in more detail below in connection with 920 of FIG. 9. By detecting irrecoverable faults early in the printing process, the print job may be stopped before completion, saving time and resources. In some embodiments, the fault classifier can be used to stop an entire job, or to stop a single part of a multi-part printing process.

[0071] As described in more detail below in connection with 940-970 of FIG. 9 , in some embodiments, a cropped version of the low-resolution image classified as passing by the fault classifier may be provided to an extrusion classifier. In some embodiments, the low-resolution image may be cropped and focused on the region of interest. In some embodiments, the extrusion classifier may comprise a binary pre-classifier and a group of CNNs. In some embodiments, the binary pre-classifier of the extrusion classifier may determine if there are printing errors present in the cropped version of the low-resolution image, as described in more detail below in connection with 940 of FIG. 9 . If the image is classified as exhibiting a printing error, the full-resolution uncropped image initially captured during the 3D printing process is placed in the group of CNNs. In some embodiments, the group of CNNs may collectively analyze the quality of the image based on a pattern of the printed layers that is characteristic of extrusion quality, and then assign the image an extrusion quality score based on a designated set of features associated with extrusion quality that are measured and weighted according to a predefined formula, as described in more detail below in connection with 970 of FIG. 9 . In some embodiments, the extrusion quality score can be used to guide a reinforcement learning agent to adjust printing parameters and modify the printing process, for example, as shown in and described below in connection with Figures 10 and 11. If the binary pre-classifier determines that there are no errors in the printing pattern of the layer to show in the image, the print job can continue without modification.

[0072] This process of removing images classified as failing or not having printing errors allows the group of CNNs in the extrusion classifier to classify only captured images of layers in the 3D printed object that are candidates for correction, which minimizes the required computational resources. In addition, by constructing a fault classifier to use the low-resolution images and a binary pre-classifier for the extrusion classifier to use the low-resolution cropped images, only full-sized full-resolution images are used by the group of CNNs in the extrusion classifier, further minimizing the required computational resources.

[0073] 9, an example process 900 for identifying non-recoverable faults and / or determining a quality score using a fault classifier and an extrusion classifier is shown in accordance with some embodiments of the disclosed subject matter. In some embodiments, the process 900 can be performed by the image analyzer 180 during printing of the object.

[0074] At 910, process 900 can apply the trained fault classifier to a lower resolution version of the image of the layer of the object being printed. In some embodiments, the lower resolution version of the image can be generated from the original image in any suitable manner.

[0075] It should be noted that in some embodiments, the original image can be captured in any suitable manner, for example, using a camera associated with the 3D printer, as shown in and described above in connection with blocks 640 and 650 of FIG. 1 and FIG. 6.

[0076] In some embodiments, the fault classifier may be a CNN having any suitable topology. For example, in some embodiments, the CNN may have any suitable number (e.g., 2, 3, 5, and / or any other suitable number) of convolution / max pooling layers for representation learning. As another example, in some embodiments, the CNN may have a fully connected layer with dropout following the convolution / max pooling layers. As yet another example, in some embodiments, the CNN may have a fully connected layer before an activation function (e.g., softmax activation and / or any other suitable activation function) that provides the classification result. In some embodiments, the classification result provided by the fault classifier may have two classification classes: pass or fail.

[0077] In some embodiments, the fault classifier can be trained in any suitable manner. For example, in some embodiments, the training set can be constructed with any suitable training samples. As a more specific example, in some embodiments, the training set can be generated using images of each layer of the printed object. Continuing with this particular example, in an example where the printed object has 500 layers and the printing fault is located at layer N, the training set can include 500 images (numbered 0-499) (i.e., one image per layer), where N images (i.e., images corresponding to layers prior to the printing fault) are classified as pass and 500-N images (i.e., images corresponding to layers after the printing fault) are classified as fail. In some embodiments, the training set can be used to train the fault classifier using any suitable technique or combination of techniques.

[0078] At 920, process 900 may determine if there has been an unrecoverable failure. In some embodiments, process 900 may determine if there has been an unrecoverable failure based on the classification determined by the fault classifier. For example, in some embodiments, process 900 may determine if the probability associated with a fail classification exceeds a predetermined threshold (e.g., 0.8, 0.9, and / or any other suitable probability). In some embodiments, process 900 may determine if there has been an unrecoverable failure based on the classification determined by the fault classifier. f It should be noted that it is possible to determine whether there has been an irrecoverable failure based on

[0079] If, at 920, the process 900 determines that there has been an unrecoverable failure (YES at 920), the process 900 may stop printing of the object at 930.

[0080] If at 920 the process 900 determines that there was no irrecoverable failure ("NO" at 920), the process 900 can apply the learned pre-classifier to a low-resolution version of the image. In some embodiments, as described below in connection with 970, the pre-classifier can determine whether the image is a candidate to be analyzed to determine an extrusion error using the extrusion classifier. In some embodiments, the pre-classifier can be a binary pre-classifier having two classification classes corresponding to an error being detected or an error not being detected. In some embodiments, the pre-classifier can use the low-resolution image to determine whether the image should be further analyzed by the extrusion classifier (e.g., in response to determining that an error is detected). In some embodiments, by applying the extrusion classifier to an image associated with an error detected by the pre-classifier, the extrusion classifier can be trained to be sensitive to variations in the extrusion values. Additionally, in some embodiments, by using the extrusion values ​​generated by the extrusion values ​​learned in the high-resolution image, the printing process that modifies parameters based on the extrusion values ​​can operate with a relatively high degree of accuracy.

[0081] In some embodiments, the pre-classifier may use a cropped version of a low-resolution version of the image. In some such embodiments, the low-resolution version of the image may be cropped to any suitable size (e.g., 200x200, 150x150, and / or any other suitable size). In some embodiments, the low-resolution version of the image may be cropped around the center of gravity of the image based on the filling of the extruded layer. Note that in some embodiments, the cropped version of the low-resolution version of the image may include a mesh pattern or other printed pattern that is characteristic of the extrusion value. In some embodiments, any other suitable augmentation technique may be applied, such as rotation, mirroring, and / or any other suitable image augmentation technique.

[0082] In some embodiments, the pre-classifier can have any suitable topology. For example, in some embodiments, the pre-classifier can be a CNN. As a more specific example, in some embodiments, the pre-classifier can be a CNN having the same topology as the fault classifier described above in connection with 910. In some embodiments, the pre-classifier can be trained in any suitable manner, for example, by training the pre-classifier with any suitable training set of training images. In some embodiments, the training images included in the training set can be obtained by capturing images of different layers of the object having errors corresponding to extrusion commands of different scales that are injected into the print at different layers during printing, such that errors corresponding to different extrusion values ​​are included in the training set. In some embodiments, the pre-classifier can be trained using any suitable technique for training a CNN.

[0083] At 950, the process 900 may determine whether an error is detected. In some embodiments, the process 900 may determine whether an error is detected based on the classification determined by the pre-classifier. For example, in some embodiments, the process 900 may determine whether a likelihood associated with a classification of a detected error exceeds a predetermined threshold (e.g., 0.8, 0.9, and / or any other suitable likelihood), and in response to determining that the likelihood of a detected error exceeds the predetermined threshold, the process 900 may determine that an error is not detected. Conversely, in some embodiments, in response to determining that a likelihood associated with a classification of no error exceeds a predetermined threshold (e.g., 0.8, 0.9, and / or any other suitable likelihood), the process 900 may determine that no error is detected.

[0084] If, at 950, the process 900 determines that no errors were detected (NO at 950), the process 900 may continue printing the object at 960.

[0085] If, at 950, the process 900 determines that an error was detected ("Yes" at 950), then, at 970, the process 900 can apply the trained extrusion classifier to a high-resolution version of the image to determine an extrusion quality score. In some embodiments, the original image can be used as an input to the extrusion classifier. Alternatively, in some embodiments, a window of the original image can be used as an input to the extrusion classifier, where the window is the original or at a higher resolution. In some such embodiments, the window can correspond to a centroid used by the pre-classifier such that the window includes a high-resolution image of a characteristic print pattern (e.g., a mesh pattern) that is indicative of extrusion quality.

[0086] In some embodiments, the extrusion classifier can have any suitable topology. For example, in some embodiments, the extrusion classifier can be a collection of any suitable number of base learners (e.g., 3, 4, 5, and / or any suitable number), where each base learner is a CNN. As a more specific example, in some embodiments, the extrusion classifier can have four CNNs, each corresponding to a base learner. In some embodiments, each CNN can have any suitable number of convolutional layers (e.g., 2, 3, 4, 5, and / or any other suitable number of convolutional layers). As a more specific example, in some embodiments, in an example where the extrusion classifier has four CNNs, the four CNNs can have 2, 3, 4, and 5 convolutional layers, respectively. In some embodiments, each CNN can include two fully connected layers. In some embodiments, an average of the probabilities generated by each CNN can be calculated, and the average can be used to classify the image using a distribution of probabilities.

[0087] In some embodiments, the extrusion classifier can be trained in any suitable manner. For example, in some embodiments, the extrusion classifier can be trained using any suitable technique used to train a CNN. As another example, in some embodiments, the extrusion classifier can be trained using any suitable training parameters, such as any suitable filter having any suitable value (e.g., 16, 128, 256, 512, 1024, and / or any other suitable value), any suitable learning rate (e.g., 0.0001, 0.0005, and / or any other suitable learning rate), any suitable batch size (e.g., 8, 16, and / or any other suitable batch size), any suitable number of epochs (e.g., 50, 100, and / or any other suitable number), and / or any suitable number of raw training images (e.g., 8000, 8400, 9000, and / or any other suitable number).

[0088] It should be noted that in some embodiments, the extrusion quality score determined by the extrusion classifier can be used for any suitable purpose. For example, in some embodiments, the extrusion quality score can be used to modify printing parameters, such as extrusion speed, extrusion volume, speed of extruder head movement, temperature of the extruder nozzle, and / or any other suitable parameters. In some embodiments, the extrusion quality score can be provided as an input to a reinforcement learning agent that modifies printing parameters during printing of an object, as shown in and described below in connection with FIGS. 10 and 11. In some embodiments, the image analyzer 180 can be preprogrammed to recognize certain anomalies in the received image of the printed layer (e.g., unexpected gaps or curled edges, distorted or uneven patterns, points of over-extrusion, stringy or other extraneous artifacts, and / or any other disruption in the printed layer). Based on the preprogrammed anomalies, the image analyzer 180 can process the generated image for the completed printed layer, determine whether the processed image contains anomalies similar to the preprogrammed anomalies, and identify one or more locations of any such anomalies on the printed layer.

[0089] In some embodiments, the image analyzer 180 can be further configured to determine and record correlations between the detected anomalies and one or more printing parameters. For example, using a suitable artificial intelligence algorithm, the image analyzer can determine one or more printing parameters that may be correlated with the detected anomalies. For example, the image analyzer 180 can discover the following example correlations: that breaks occur when the print head is at a certain temperature and not others, that certain printing speeds and not others result in a large number of unexpected gaps, and that certain fill patterns at certain locations on the object result in certain types of anomalies.

[0090] In some embodiments, in response to detecting a correlation between the detected anomaly and one or more printed patterns, the image analyzer 180 can provide information, data, and / or instructions to change the way one or more layers of the object being printed or one or more future printed objects are printed. For example, in some embodiments, the image analyzer can communicate the correlation found and / or instructions to optimally adjust the printing parameter settings to the numerical control code generator 110, the control module 160, and / or any other devices. The numerical control code generator 110 and / or the control module 160 can then use the information to make adjustments to the printing parameters in the numerical control code for any subsequent layers of the currently printed object. In some embodiments, the printing parameters can be adjusted so that the next layer or any future layers compensate for the anomaly found in the previous layer. For example, if an unexpected gap is detected in a printed layer, the numerical control code for the next layer can include instructions to fill the gap when depositing filament located above the gap. In another example, when an unexpected gap is found at the bottom of the object, the numerical control code for the symmetric layer at the top of the object can include instructions to compensate for the gap.

[0091] In some embodiments, the image analyzer 180 can be configured to measure mechanical, optical and / or electrical characteristics of the completed printed object.

[0092] In some embodiments, the image analyzer 180 can be configured to detect correlations between one or more printing parameters and slight anomalies in the printed layers and / or the finished printed object. In further embodiments, the image analyzer 180 can be configured to detect correlations between one or more printing parameters and measured mechanical, optical and / or electrical properties of the finished printed object. In response to detecting one or more such correlations, the image analyzer can provide information, data and / or instructions that change the way one or more layers of the object being printed or one or more future printed objects are printed. In some embodiments, the image analyzer 180 can provide information, data and / or instructions to, for example, three-dimensional modeling software to improve production designs.

[0093] In further embodiments, as shown in and described below in connection with FIGS. 10 and 11, the image analyzer 180 can adapt and adjust printing parameters during the 3D printing process, for example using a reinforcement learning model, to optimize mechanical properties of the final printed object. In some embodiments, the set of possible conditions of the environment and corresponding possible actions (generally referred to herein as the state / action space) can be reduced or limited in order to minimize the associated computational time for training the reinforcement learning model, identify corrective actions, and improve the mechanical properties (e.g., tensile strength) of the final product. In some embodiments, the state / action space can be limited by selecting the number of input variables included and / or by selecting potential outputs based on their usefulness. For example, in some embodiments, to optimize the final tensile strength of the 3D printed specimen, the state / action space may be reduced only by considering actions associated with printing parameters that affect tensile strength to a relatively large extent, such as, for example, varying the volume of deposited material during the printing process, the extruder nozzle temperature, the volume of extruded resin, the print head motion dynamics, the ambient environmental conditions, and the material properties of the extruded thermoplastic. In some embodiments, by limiting the available treatments and corresponding conditions of the environment, the mechanisms described herein can produce results that are available for further analysis while minimizing computational resources.

[0094] In some embodiments, the image analyzer 180 can use the generated topography images and / or other generated images for the printed layers and the generated numerical control code for the printed layers to learn relationships between uncontrollable variables (i.e., variables that cannot be controlled without human intervention) and the resulting print head motion, as well as to learn anomalies in the deposited layers (e.g., unexpected gaps or curled edges, distorted or uneven patterns, points of over-extrusion, deviations from the print path specified in the numerical control code, unexpected stringy or other extraneous artifacts and / or any other disruptions in the printed layers). In response to detecting correlations between uncontrollable variables and the resulting print head motion as well as anomalies, the image analyzer 180 can provide information, data and / or instructions that change the way one or more layers of the object being printed or one or more future printed objects are printed.

[0095] In some embodiments, information about the correlations can be used to train one of many AI mechanisms described herein.

[0096] In some embodiments, after a layer is printed, the image analyzer 180 can be configured to compare the completed printed layer with one or more previous layers, detect and record anomalies, compare and record anomaly rates and patterns, and provide instructions to the numerical control code generator 110 and / or the control module 160 to adjust printing parameters and optimize the overall design of the object (e.g., to obtain desired mechanical, optical, and / or electrical properties, or to achieve a printed design that closely resembles a production design), or optimize the operation of the print job (e.g., to speed up deposition rates, or minimize the amount of material required). Comparisons between the completed layer and previous layers to identify anomalies can also be used to better assign causal relationships to printing parameters of the additive manufacturing system 100 and make appropriate adjustments to the next layer or any subsequent layers of the partially printed object, as well as optimize future print jobs of similar or different objects.

[0097] In some embodiments, the image analyzer 180 can be configured to analyze the overall anomaly rate for the current layer and / or previous layers of the partial printed object and, based on the AIPC from similar print jobs, provide instructions to the numerical control code generator 110 and / or control module 160 to adjust printing parameters for the next layer and / or any future layers of the partial printed object to obtain desired mechanical, optical and / or electrical properties.

[0098] In some embodiments, after a layer is printed, non-artificial intelligence based algorithms can be used to identify anomalies related to the particular calibration of the particular additive manufacturing printer being used, and appropriate adjustments are made to the numerical control code for subsequent layers and future print jobs to account for the particular additive manufacturing printer's calibration.

[0099] In some embodiments, a print job for a printed object can be stopped prior to completion if anomalies in one or more printed layers exceed certain predetermined tolerances. Data collected for failed print jobs can provide information, data and / or instructions to the numerically controlled code generator 110, the control module 160 and / or any computer system that collects learning data related to the printing process performed by the additive manufacturing printer 115.

[0100] In some embodiments, the image analyzer 180 can be further configured to send anomaly data for the printed object (e.g., distribution, pattern, and rate of anomalies) and automatically recommend print adjustments to the 3D modeling software to remove or modify structures in the design that correspond to the anomalies.

[0101] 6 illustrates, at a high level, an example of an additive manufacturing printing operation using an AIPC in accordance with some embodiments of the disclosed subject matter, with further reference to FIGS. 1-3. In some embodiments, the additive manufacturing process 600 can use the additive manufacturing system 100.

[0102] At 610, a production design specifies how the printed object should look, and the desired mechanical, optical and / or electrical properties for the printed object are provided to the numerically controlled code generator 110. In some embodiments, some initial printing parameters are input by an operator. In some embodiments, the production design is provided to the numerically controlled code generator 110, and the image analyzer 180 uses AIPC to determine the desired mechanical, optical and / or electrical properties for the production design.

[0103] In some embodiments, an operator can input a set of rules for the image analyzer 180 to resolve conflicting goals during the additive manufacturing printing process. For example, a user can specify that achieving optimal mechanical properties of the printed object should be prioritized over printing speed, perfection to production design, and reducing the amount of filament used. The operator can also specify what mechanical, optical, and / or electrical properties are most important for the printed object, so that the image analyzer 180 can provide instructions to adjust the printing parameters to optimize the mechanical, optical, and / or electrical properties.

[0104] At 620, the numerical control code generator 110 can generate a numerical control code for a layer of the print object based on one or more of the following: input parameters entered by an operator, printing characteristics of the AM printer 115, production design specifications (including mechanical, optical and / or electrical properties), AIPC from one or more previous print layers of the partial print object and / or AIPC from other print objects. The generated numerical control code can include a set of set points (e.g., multiple XYZ coordinates) for the print head 140 and / or build plate 150 to traverse. FIG. 7A shows a simulation of one example of a set of set points for a print layer that may be included within the numerical control code. The generated numerical control code can also include instructions that define how the print head and / or build plate should traverse each set point. A simulation of one example of what a traversed print path may look like based on the included instructions is shown, for example, in FIG. 7B.

[0105] In some embodiments, the generated numerical control code can also specify certain printing parameters, including, but not limited to, the speed of the print head 140 and / or the build plate 150 during a set point, the temperature of the nozzles of the print head 140 and / or the build plate 150 during a set point, the amount of filament to deposit during a set point, the fill density during a set point, and the fill pattern during a set point.

[0106] At 630, the print head 140 can deposit filament for a layer of the production design according to instructions provided by the numerically controlled code generator 110 and / or the control module 160.

[0107] At 640, the light source 130 can illuminate the printed layer based on the identified topographical imaging technique and / or other imaging techniques (as described above).

[0108] At 650, the image sensor 120 may capture an image of the illuminated print layer.

[0109] At 660, image generator 170 may generate one or more topographical images and / or any other suitable images of the printed layer based on the images captured by image sensor 120. In some embodiments, the generated images of the printed layer may include a series of captured images that are tiled or stitched together.

[0110] In further embodiments, the actual printing path for the printed layer can be determined from one or more topographical images and / or other suitable images generated by image generator 170.

[0111] At 670, the image analyzer 180 can use the generated topography image and / or other generated images for the printed layer, as well as the generated numerical control code for the printed layer, to determine and record anomalies in the extruded layer (e.g., unexpected gaps or curled edges, distorted or uneven patterns, points of over-extrusion, deviations from the print path specified in the numerical control code, unexpected string-like or other extraneous artifacts and / or any other disruptions in the printed layer).

[0112] In some embodiments, the image analyzer 180 can extract and plot a print path for the print layer from the set points and instructions contained within the generated numerical control code. The image analyzer can convert the plotted print path into pixels, overlay the pixels over the print path obtained from the generated image for the print layer, and determine the difference between the pixels and the print path. In some embodiments, the image analyzer 180 can convert the print path obtained from the generated image for the print layer into print points in a coordinate system, compare these print points, and print points along the plotted path extracted from the generated numerical control code.

[0113] If the print path for the print layer as obtained from the generated image is the same as the print path extracted from the generated numerical control code, the difference between them is zero or near zero. A number greater than zero describes the amount of error detected between the actual print path and the print path specified in the generated numerical control code. A comparison of the print paths can also indicate where on the print path the error occurred.

[0114] At 680, the image analyzer 180 can analyze the number of anomalies and the pattern of anomalies it detects from the printed layer and / or previous layers (including deviations between the actual path and the printed path in the generated numerical control code). Based on the AIPC from other print jobs, the image analyzer 180 can determine whether adjustments must be made to the printing parameters of the next layer or any subsequent layers of the partial printed object to achieve the desired mechanical, optical and / or electrical properties in view of the detected anomalies. For example, if the image analyzer 180 determines, based on the detected anomalies, for the current layer and / or previous layers of the partial printed object, that the mechanical properties for the completed printed object are weaker than desired, the image analyzer 180 can instruct the numerical control code generator 110 and / or the control module 160 to adjust certain printing parameters (e.g., increase the fill density and / or change the fill pattern) in the next layer or any subsequent layers to achieve the desired mechanical properties.

[0115] In some embodiments, operations 610-680 are repeated for each layer, or any number of layers, of the printed object. The image analyzer 180 can use the data obtained at each layer and the AIPC from other print jobs to modify the printing parameters for the next and / or subsequent layers to achieve the desired mechanical, optical and / or electrical properties and / or the desired design of the printed object. In further embodiments, the mechanical, optical and / or electrical properties of the completed printed object can be measured.

[0116] The division of when certain portions of process 600 are performed can vary, and no division or a different division is within the scope of what is disclosed herein. It should be noted that in some embodiments, the blocks of process 600 can be performed at any suitable time. It should be understood that at least some of the portions of process 600 described herein are not limited to the order and sequence shown and described in connection with FIG. 6 in some embodiments, and can be performed in any order or sequence. Also, some portions of process 600 described herein can be performed substantially simultaneously or in parallel in some embodiments, as desired. Additionally or alternatively, some portions of process 600 can be omitted in some embodiments.

[0117] The process 600 may be implemented in any suitable hardware and / or software. For example, in some embodiments, the process 600 may be implemented in the image analyzer 180 or the numerically controlled code generator 110.

[0118] In some embodiments, the image analyzer 180 learns the anomaly patterns for each layer of the printed object, allowing the image analyzer 180 to optimally adjust printing parameters at the layer level during the printing process of similar or different objects (e.g., as described in connection with FIG. 6 ) to achieve desired mechanical, optical and / or electrical properties.

[0119] Certain printing parameters affect the mechanical, optical and / or electrical properties of the printed object. For example, the packing density and packing pattern affect the ultimate tensile strength (R m ), yield strength (Rp 2% ), elongation at break (A % ), Young's modulus (E), fatigue (σ d ), which can affect mechanical properties such as Poisson's modulus, mass and specific gravity.

[0120] By understanding the anomaly patterns and how a particular printing parameter actually affects the mechanical, optical and / or electrical properties of a printed object, the object can be printed multiple times while varying the printing parameters that affect the mechanical, optical and / or electrical properties of the printed object. The anomaly patterns for each printed object can be determined and recorded at the layer level as described, for example, in connection with FIG. 6 (e.g., at 670). Additionally, the mechanical, optical and / or electrical properties of each printed object can be measured and recorded.

[0121] FIG. 8 illustrates an example 800 of a learning process for learning abnormal patterns and abnormality rates based on different packing densities and packing patterns, and how those abnormal patterns and abnormality rates affect the mechanical properties of the printed object, according to some embodiments. During the learning process, the learning data used to generate the machine learning model may be derived from real data or simulated data, combined or separately. The real learning data may be data collected during the operation of the equipment in manufacturing, or may be images taken in real time, for example, during the 3D printing process. The simulated data may be data obtained from a simulation or computer method representing the manufacturing data, such as a sequence of randomly generated images based on an existing library, meant to mimic the capture of images in real time during the 3D printing process.

[0122] At 810, one or more printing parameters that affect the mechanical properties of the object can be identified. For example, packing density and packing pattern can be identified as affecting the mechanical properties of the object. In some embodiments, artificial intelligence algorithms can be used to identify other printing parameters that affect the mechanical properties of the object.

[0123] At 820, a predetermined number of target objects (a "group") can be printed, and one or more printing parameters identified as affecting the mechanical properties of the target objects can be kept the same for the entire group. For example, each object in the group can be printed specifying the same fill pattern and fill density printing parameters.

[0124] At 830, anomalies can be detected and recorded at the layer level of each print object in the group, as described in connection with 670 of FIG. 6. For example, differences between the actual print path and the print path extracted from the generated control codes can be determined for each layer. After each target object in the group is printed, mechanical properties of the target object can be measured and recorded.

[0125] After 830, process 800 can return to 820, where another predetermined number of target objects can be printed with a different fill density and / or fill pattern.

[0126] 820 and 830 can be repeated as many times as necessary to train the image analyzer 180 and learn the anomaly patterns and how different identified printing parameters (e.g., fill density and fill pattern) affect the mechanical properties of the objects. Each time a predetermined number of target objects are printed (a "group"), the identified parameters (e.g., fill density and / or fill pattern) can be changed. The table below reflects example groups for target objects and their identified fill density and fill pattern printing parameters. [Table 1]

[0127] In some embodiments, the printing parameters of fill density and fill pattern are held constant for each layer of the printed object, while in other embodiments the fill density and / or fill pattern vary for different layers of the object depending on where the layer is located or randomly.

[0128] Once the image analyzer 180 learns about how different anomaly rates and patterns and the identified printing parameters (e.g., different fill densities and fill patterns) affect the mechanical properties of the object, the image analyzer can appropriately adjust values ​​for the identified printing parameters during the print job (e.g., at the layer level) to achieve the desired mechanical properties. For example, the image analyzer 180 can detect that a printed layer of a partial printed object has a particular anomaly rate and pattern that would result in substandard mechanical properties of the once completed printed object if the fill density and fill pattern were not adjusted. The image analyzer 180 can then adjust the print parameters of the fill rate and fill pattern for the next layer and / or any subsequent layers to achieve the desired mechanical properties and also attempt to reduce the occurrence of anomalies.

[0129] A similar process can be performed to learn how anomaly patterns affect the optical and / or electrical properties of an object. For example, printing parameters that affect the optical and / or electrical properties of an object can be identified. A group of target objects can be printed and the identified printing parameters can be controlled across the group of target objects as described above. Once the image analyzer 180 learns how the different anomaly rates and patterns and the identified printing parameters affect the electrical and / or optical properties of the object, the image analyzer can appropriately adjust values ​​for the identified printing parameters at the layer level during the print job to achieve the desired electrical and / or optical properties.

[0130] A similar process can be performed to learn how uncontrollable variables (i.e., variables that cannot be controlled without human intervention) affect the mechanical, optical and / or electrical properties of an object. For example, uncontrollable variables that affect the mechanical, optical and / or electrical properties of an object can be identified. A group of target objects are printed and the identified uncontrollable variables are controlled across the target objects as described above. Once the image analyzer 180 learns how the different anomaly rates and patterns and the identified printing uncontrollable variables affect the mechanical, electrical and / or optical properties of the object, the image analyzer can appropriately adjust values ​​for printing parameters at the layer level during the print job to compensate for the uncontrollable variables and achieve the desired electrical and / or optical properties.

[0131] The division of when certain portions of process 800 are performed can vary, and no division or a different division is within the scope of the subject matter disclosed herein. It should be noted that in some embodiments, the blocks of process 800 can be performed at any suitable time. It should be understood that at least some of the portions of process 800 described herein are not limited to the order and sequence shown and described in connection with FIG. 8 in some embodiments, and can be performed in any order or sequence. Also, some portions of process 800 described herein can be performed substantially simultaneously or in parallel in some embodiments, as desired. Additionally or alternatively, some portions of process 800 can be omitted in some embodiments.

[0132] The process 800 can be implemented in any suitable hardware and / or software. For example, in some embodiments, the process 800 can be implemented in the image analyzer 180 or the numerically controlled code generator 110.

[0133] In some embodiments, the image analyzer 180 can use the generated topography images and / or other generated images for the printed layer (as described in 660 of FIG. 6 ) and the generated numerical control code for the printed layer to learn the relationships between the printing parameters and the resulting print head motion, as well as to learn anomalies in the extruded layer (e.g., unexpected gaps or curled ends, distorted or uneven patterns, points of over-extrusion, curled ends, deviations from the print path specified in the numerical control code, unexpected string-like or other extraneous artifacts, and / or any other disruption in the printed layer). The image analyzer 180 can also invert the learned relationships to calculate optimal numerical control code input parameters that result in the desired print head motion and minimize anomalies in the extruded layer. More specifically, input variables to the artificial intelligence algorithm can include: Previous measured positions in the print head ( TIFF0007553983000002.tif17169), and the control code printing parameters (θ i-1 ), and the current measured position of the print head ( TIFF0007553983000003.tif18168). The output variable can then be a numerical control code parameter that results in the current position of the print head (represented by θ). The input and output variables together can serve as a single training sample for the artificial intelligence algorithm. A single printed layer can result in hundreds of training samples of this kind. These training samples, together with knowledge of anomalies in the previous layer, the desired specifications of the production design, the printing characteristics and / or ambient conditions of the additive manufacturing printer, can be used to calculate optimal printing parameters and generate the desired print head movement. In some embodiments, the training samples, together with knowledge of anomalies in the previous layer, the desired specifications of the production design, the printing characteristics and / or ambient conditions of the additive manufacturing printer, can be used to calculate optimal printing parameters and instructions for optimal placement of XYZ set points and printing paths for subsequent layers.

[0134] In some embodiments, the image analyzer 180 can also be applied to learn relationships between printing parameters and overall characteristics of a layer. For example, the image analyzer 180 can be applied to learn the total number of anomalies in an extruded layer, how closely the print head and / or build plate movements resembled the print path instructions in the generated numerical control code, and the packing density. In some embodiments, the image analyzer 180 can inverse the learned relationships to calculate printing parameters that result in a layer that most closely resembles the production design specifications, including the desired mechanical, optical, and / or electrical properties.

[0135] In some embodiments, the image analyzer 180 can use the generated topography images and / or other generated images for the printed layer, as well as the generated numerical control code for the printed layer, to learn the relationship between uncontrollable variables (i.e., variables that cannot be controlled without human intervention) and the resulting print head motion, as well as to learn anomalies in the deposited layer (e.g., unexpected gaps or curled edges, distorted or uneven patterns, points of over-extrusion, deviations from the print path specified in the numerical control code, unexpected string-like or other extraneous artifacts, and / or any other disruption in the printed layer). If the image analyzer 180 finds that the uncontrollable variables exceed threshold tolerances and adversely affect the resulting print head motion and / or anomalies in the deposited layer, the image analyzer 180 can send an alert to the control module 160. Upon receiving an alert, the control module 160 can display the warning on a display of the additive manufacturing system 100 and / or alert an operator via email, text, or any other suitable electronic mechanism. In some embodiments, the image analyzer 180 can be configured to directly alert an operator via email, text, or any other suitable electronic mechanism. For example, in some embodiments, if the image analyzer 180 determines that ambient humidity, temperature, and / or light are adversely affecting the resulting print head movement or the number of anomalies in a layer exceeds a predetermined tolerance, the image analyzer 180 can send an alert to the control module 160 and / or an operator. In some embodiments, if the image analyzer 180 determines that wear on the AM printer 115 and / or the total amount of filament available to the print head 140 (e.g., a small amount of filament) is adversely affecting the resulting print head movement or the number of anomalies in a layer exceeds a predetermined tolerance, the image analyzer 180 can send an alert to the control module 160 and / or an operator to replace the AM printer and / or replenish the filament.In some embodiments, if the image analyzer 180 determines that a voltage change is adversely affecting the resulting print head movement or that the number of anomalies in a layer exceeds a predetermined tolerance, the image analyzer 180 can send an alert to the control module 160 and / or an operator to check the voltage source.

[0136] The learning process can also include the use of learning environments consisting of actual or simulated environments, in combination or separately. In some embodiments, the actual learning environment can include a real environment used to learn the model, which can include physical measurements (e.g., by 3D printing an object and measuring the object's physical weight, surface morphology, mechanical properties, and / or any other suitable physical measurements). In some embodiments, the simulated environment can include a learning environment that is simulated using numerical or computational methods, for example, by calculating the weight of the 3D printed structure using theoretical density and volume.

[0137] The learning process can also include the use of learning environments consisting of actual or simulated environments, in combination or separately. In some embodiments, the actual learning environment can include a real environment used to learn the model, which can include physical measurements (e.g., by 3D printing an object and measuring the object's physical weight, and / or any other suitable physical measurements). In some embodiments, the simulated environment can include a learning environment that is simulated using numerical or computational methods, for example, by calculating the weight of a 3D printed structure using theoretical density and volume.

[0138] In some embodiments, to help reduce the time and resources required to learn in a real environment, a machine learning model may be initialized using a simulated learning environment prior to learning in the real environment. For example, in some embodiments, a machine learning model may be constructed to increase the accuracy of the tensile strength of a 3D printed structure. The model may be initialized using a simulation, so that learning of the model can begin from simulated learning data prior to generation of an actual learning data set in the actual 3D printing environment. The simulation environment may use finite element analysis (FEA) to mimic a tensile load test of the 3D printed structure and calculate the tensile strength of the 3D printed structure.

[0139] In some embodiments, the machine learning framework of the simulation environment may include any suitable reinforcement learning (RL) technique or algorithm. Reinforcement learning refers to a computer algorithm or agent that takes actions on an environment and its various conditions or states using a set of rules and inputs. Based on the corresponding results of those actions, the agent adjusts their subsequent actions to maximize the accumulation of positive outcomes or rewards. As shown in FIG. 12 and described in more detail below in connection with FIG. 12, some embodiments may use a framework with asynchronous distributed reinforcement learning, which refers to multiple agents that interact with the environment in parallel and store their sequence of actions or trajectories in a global memory. Note that additional techniques for using reinforcement learning to train agents (e.g., the process of performing a printing operation) and take actions to correct errors (e.g., modify printing parameters) are shown in FIGS. 10 and 11 and described below in connection with FIG. 10 and 11. As described in more detail below in connection with FIG. 12, the framework may also use deep Q-learning (DQN) and experience replay to prioritize input data and provide such inputs to the RL agent that have not been seen before or are of relatively high importance. These embodiments, which utilize asynchronous distributed reinforcement learning DQN and experience replay, can converge faster and produce stronger solutions when given new input data.

[0140] Turning back to FIG. 10, an example schematic 1000 of a generalized paradigm for using reinforcement learning to learn manufacturing processes is shown in accordance with some embodiments of the disclosed subject matter.

[0141] As shown in FIG. 10, the paradigm shown in FIG. 10 includes a strategy function block 1010 TIFF0007553983000004.tif8170, node status block 1020(h i (s i ,θ h )) and the final output block 1030 (hy (y,θ y In some embodiments, the measurement of θ a , θ h and θ y Note that each of may be a block parameter that may represent the transformation of a signal through a control loop. In some such embodiments, each block parameter may be linear or non-linear and / or inferred or known. Additional details describing the values ​​and parameters of each block are provided below.

[0142] In some embodiments, i can represent a node, where i is a value from 0 to N-1. Note that in some embodiments, in instances where schematic 1000 is implemented as part of a 3D printing process, N can represent the total number of layers in a printed object.

[0143] In some embodiments, a manufacturing plant implementing a manufacturing process corresponding to schematic 1000 can generate a scalar output y that is measurable as y=g(S), where S=[s0,...S n-1 y]. In some embodiments, for a given set of state measurements, the output quality is predictable and a function is mappable from the states to the outputs, i.e., f:S→y. In some embodiments, the function f can take a variety of forms, depending on the complexity of the system. In some embodiments, the mapping can be achieved through a general purpose function approximator, such as a regression model, an artificial neural network, and / or any other suitable type of function approximator. In some embodiments, for a set of k training examples, TIFF0007553983000005.tif23170 and In the case of TIFF0007553983000006.tif25170, the loss function is It can be defined as TIFF0007553983000007.tif27170, In some embodiments, the loss function is a function of the parameter set θ y The basis of model optimization in TIFF0007553983000009.tif26170, so that the output of the function approximator accurately predicts the output of the system process.

[0144] In some embodiments, the process being trained is a Markov decision process (MDP), where the future state is determined by the current state s i In some embodiments, the manufacturing process can be a partially observable MDP with uncontrollable system dynamics, and thus the traditionally observable s i does not completely encode the information necessary to maximize the predicted reward of the next state through action. In some such embodiments, these states S = [s0...s i ] T can describe the sequence of the MDP. In some embodiments, for a given process, the ideal reference output, y * =g(S * ) is a set of reference states S * =[s0 * …sN * In some embodiments, the magnitude of the measured state error is TIFF0007553983000010.tif14169. In some embodiments, state s i can be estimated using any suitable technique or combination of techniques, for example using a Bayesian or Kalman filter, by complex classification using CNN, and / or in any other suitable manner.

[0145] In some embodiments, during the initial system identification of g(S), consideration may be given to the financial cost of controlling each node, as well as the construction of the expected distribution. In some embodiments, the expected distribution may be In some embodiments, some nodes i may be more expensive to constrain, so T i For ∈[1,Ni-1] The fix for TIFF0007553983000012.tif14170 is that the error is When the pixel size is greater than a predetermined threshold derived from TIFF0007553983000013.tif17169, for example, TIFF0007553983000014.tif17169, where γ i Note that denotes the acceptable tolerance. T By constraining There may be benefits gained with respect to TIFF0007553983000015.tif15170, but optimization of the process TIFF0007553983000016.tif12170 is not necessarily does not produce TIFF0007553983000017.tif13169.

[0146] In the most generalized embodiment, for every node i from 0 to N-1, γ i = 0, τ i =Ni-1 and TIFF0007553983000018.tif15169, where T(.) is some action a selected by the policy π. i Note that in some embodiments, the criterion si * Measured state from s i Any deviation of may result in an adjustment of all subsequent definitions of the reference state. In some embodiments, the strategy π is used to determine the optimal treatment a i Choosing π→π is consistent with the general reinforcement paradigm. In some embodiments, the convergence of the policy to the optimal policy π. * is τ i For M possible treatment values, treatment a i A i,k ∈[a i,0 …a i,M-1 ] can be based on a discretization into

[0147] In some embodiments, the policy can be trained using any suitable technique or combination of techniques. For example, in some embodiments, the policy can be trained using a value iterative method, such as Q-learning. As another example, in some embodiments, the policy can be trained using a policy iterative model, such as actor-criticism.

[0148] In some embodiments, the strategy comprises: It can be defined by TIFF0007553983000019.tif10170, and θ a corresponds to a parameter associated with the selection of the treatment. In some embodiments, the baseline state vector is expressed as a function of the strategy by TIFF0007553983000020.tif12170 and the output of the process is *π =g(S *π )

[0149] In some embodiments, the error in the process is It can be defined as TIFF0007553983000021.tif13170.

[0150] In some embodiments, optimizing the strategy comprises: It can be defined by TIFF0007553983000022.tif16170, for example: TIFF0007553983000023.tif13170 and π → π * and proper sustained excitation TIFF0007553983000024.tif10170.

[0151] In the schematic 1000, parameters θ that define the process function approximator and the correction strategy, respectively Y and θ a Note that,is useful for inference. In particular, learning,θ Y is the virtual copy of the process and θ a These are the fundamental model parameters that correct for costly process node variations.

[0152] 11A , an example process 1100 for training a reinforcement learning algorithm for a printing operation to perform corrective actions that can be taken in connection with a 3D printer is shown in accordance with some embodiments of the disclosed subject matter. Note that in some embodiments, process 1100 can be a process that implements the techniques generalized and illustrated generally in FIG. 10 and described above in connection with FIG.

[0153] In some embodiments, each node (corresponding to one acquired image) can correspond to a layer of the printed object. In some embodiments, the parameters of the layer can correspond to operating points for a recipe, as well as measurements for conditions. In some embodiments, the parameters can include extruder nozzle temperature, volume of extruded resin, print head motion dynamics, ambient environmental conditions, material properties of the extruded thermoplastic, extruder speed, and / or any other suitable parameters.

[0154] It should be noted that although process 1100 is generally described as learning a strengthening algorithm and determining corrective actions to modify tensile strength during printing of an object, in some embodiments, the techniques described in connection with process 1100 can be implemented to determine corrective actions in relation to any suitable measurement or metric.

[0155] Process 1100 may begin, at 1110, by capturing an image of a layer. Note that in some embodiments, the image may have any suitable size and / or resolution.

[0156] At 1120, process 1100 can detect errors in the printed object at a particular layer of the object based on the images captured at 1110. Note that in some embodiments, the images of the layers of the printed object can correspond to training iterations used during training of the reinforcement learning algorithm.

[0157] Note that in some embodiments, the process 1100 can additionally approach a central reference test curve showing tensile strength as a function of elongation, as shown in FIG. 11B. In some embodiments, a printed object having an error can be associated with an uncorrected central tensile curve, as shown in FIG. 11C. Note that in FIG. 11C, the error is present at layer i=30. Additionally, note that in some embodiments, the process 1100 can learn to determine corrective actions that will return the uncorrected tensile curve shown in FIG. 11C to the reference tensile curve shown in FIG. 11B.

[0158] At 1130, process 1100 can determine changes to the printing parameters to be made by the printer to correct the errors based on the strategy. Note that in some embodiments, the changes to the printing parameters can correspond to actions taken by a reinforcement learning algorithm. Additionally, note that in some embodiments, the strategy can be initialized in any suitable manner.

[0159] In some embodiments, the changes to the printing parameters can correspond to any suitable changes, such as determining an extrusion multiplier to change the volume of extruded resin. Note that in some embodiments, a sequence of changes can be determined, where the sequence includes any suitable number of changes or treatments (e.g., 1, 2, 3, and / or any other suitable number). For example, in some embodiments, the process 1100 can determine a sequence of three extrusion multipliers to be provided, denoted as a1, a2, and a3. The treatment space can be scaled in any suitable manner, such as by determining a i ∈[1.0,1.1,…3.0] T and / or any other suitable manner.

[0160] At 1140, the process 1100 can determine state information.

[0161] Note that in some embodiments, states provide node values ​​that allow for inference of node dependencies while also providing latent memory to the strategy on which the last action can be prepended. In some embodiments, in 3D printing applications, these dependencies can be realized as changing layer geometries, and actions can be taken without explicitly encoding these geometries in the state information. In some embodiments, the above state / action construction can result in a tightening of the Markov assumptions such that each state contains all that is needed to correct the tensile strength deviation.

[0162] In some embodiments, the process 1100 can calculate a tensile strength corresponding to the condition information. For example, continuing with the example condition / treatment information described above, the process 1100 can calculate a tensile strength corresponding to the condition information. TIFF0007553983000025.tif9169. In some embodiments, the tensile strength error can be calculated based on a reference tensile strength. In some embodiments, the tensile strength error can be calculated based on a reference tensile strength. It is written as TIFF0007553983000026.tif9170.

[0163] At 1150, the process 1100 can calculate a reward corresponding to the state information. In some embodiments, the reward may be: It can be calculated using a reward function such as TIFF0007553983000027.tif23169, where the reward is weighted by coefficients α and β.

[0164] In some embodiments, in instances where the measurement is corrected for tensile strength, the tensile strength reward T s is calculated, and T s teeth, TIFF0007553983000028.tif22170. In some embodiments, this definition is defined as s,max , the saturation can be expressed as, which allows for a scaled absolute, hyperbolic reward curve without unstable results near the reference tensile strength.

[0165] At 1160, the process 1100 can calculate an expectation of a reward value corresponding to the state produced by the change in the printing parameter. The expectation of reward given a state / action pair is generally referred to herein as a Q-value, Note that the image can be defined as TIFF0007553983000029.tif17170.

[0166] In addition, assuming that the system has delayed rewards, any action a i but, The associated reward r defined by TIFF0007553983000030.tif29170 i Note that the individual rewards per node i can be propagated in any suitable manner (e.g., using the Bellman equation) such that:

[0167] In some embodiments, the Q-value function can be optimized in any suitable manner, such as using deep Q-learning approaches, asynchronous methods and actor-critic paradigms for policy update (e.g., as described in Mnih et al., “Asynchronous methods for deep reinforcement learning,” International conference on machine learning, 2016, pp. 1928-1937, incorporated herein by reference in its entirety), model simplification over cerebellar model arithmetic computer (CMAC) topologies (e.g., as described in Albus, “A new approach to manipulator control: The cerebellar model articulation controller (cmac),” Journal of Dynamic Systems, Measurement, and Control, vol. 97(3), pp. 220-227, incorporated herein by reference in its entirety), and / or any other suitable manner.

[0168] At 1170, the process 1100 can update the policy based on the prediction of the reward value. TIFF0007553983000031.tif11170 is TIFF0007553983000032.tif18170. In some embodiments, the strategy can be updated using the Q value.

[0169] Process 1100 may then return to 1110 to continue training the reinforcement learning algorithm.

[0170] It should be noted that in some embodiments, after the reinforcement learning algorithm has been trained, the parameters of the learned model (e.g., the Q-value function and / or any other suitable parameters) can be used by any suitable printing process to perform corrective actions during the printing of an object. For example, in some embodiments, a current state associated with a current layer of the object being printed can be identified (e.g., by capturing an image of the layer) and a set of corrective actions can be identified by the printing process using the Q-value function. In some embodiments, further corrective actions can be identified for the next layer of the printed object. It should be noted that in some embodiments, the use of the reinforcement learning algorithm can be combined with any other suitable classifier, such as the fault classifier and / or extrusion classifier described above in connection with FIG. 9, to determine whether the printing process should terminate printing of the object and / or to calculate a quality score associated with a particular layer.

[0171] Note that in some embodiments, to implement a reinforcement learning algorithm in a 3D printing environment, a finite element model can be constructed to represent the printed part in tension, where the stiffness matrix is ​​a function of the resin being extruded into layers with a defined shape. In some embodiments, this simulation is performed by simulating the model parameters θ a It can act as a virtual environment to tune the hyperparameters that control the optimization of

[0172] Additionally, it should be noted that in some embodiments, the reinforcement learning algorithm described in connection with Figure 11 can be combined with any other suitable algorithm capable of inferring any other suitable information, such as causing the print object to tip over, resulting in a printing error (e.g., as shown in and described above in connection with Figure 9), etc. Furthermore, in some embodiments, the agent executing the reinforcement learning algorithm can evaluate an optimal path for inspection by minimizing the energy and time of the inspection process.

[0173] Below, a specific example for performing actions and determining the resulting state and reward is described. As shown in FIG. 12 and described below in connection with FIG. 12, in a specific example, a group of 3D printers (e.g., 3, 4, 5, 6, and / or any other suitable number) can be initialized as a group of workers and used for parallel data collection for training the reinforcement learning model. In addition, in a specific example, each 3D printer can print a 3D object having a specific number of layers (e.g., 500, 1,000, and / or any other suitable equivalent), each can change the printing conditions and take corrective actions such that the tensile strength of the object at a specific layer is maintained at a reference or expected tensile strength. Note that additional details describing the tensile strength and the reference tensile strength are shown in FIG. 11B and FIG. 11C and described above in connection with FIG. 11B and FIG. 11C.

[0174] Returning to FIG. 12, an example process 1200 for training a reinforcement learning model using a group of 3D printers is shown in accordance with some embodiments of the disclosed subject matter. Note that each 3D printer in the group of 3D printers is referred to herein as a worker. In some embodiments, the process 1200 can use a group of individual workers, each of which is an agent that executes a reinforcement learning algorithm (e.g., as described above in connection with FIGS. 10 and 11). In some embodiments, each worker can interact with a global learner that updates weights, so that each of the workers can learn from the global learner and implicitly from the other workers in the group. Note that in some embodiments, a group of workers can include any suitable number of workers (e.g., 2, 3, 5, 10, and / or any other suitable number), and each worker in a group of workers can correspond to a different 3D printer.

[0175] The process 1200 may begin at 1205 by initializing a global learner and initializing the environment.

[0176] In some embodiments, the global learner can be initialized with weights using any suitable initialization technique, such as Xavier initialization. Note that in some embodiments, the weights associated with the global learner can correspond to weights that are learned during training of the global learner and individual workers in a group of workers, such as using deep Q-learning and / or in any other suitable manner.

[0177] In some embodiments, the environment can correspond to any suitable parameters associated with the print object, such as any suitable printing parameters. In some embodiments, the environment can be initialized in any suitable manner. For example, in some embodiments, the environment can be initialized with any suitable initial parameters for the print object.

[0178] At 1210, the process 1200 can initialize a group of workers and a global memory. In some embodiments, the process 1200 can initialize a weight associated with each worker, hereafter referred to as θ, herein referred to as θ + In addition, in some embodiments, the process 1200 may initialize each worker in the group of workers by setting the weights associated with a global learner, described herein as Δθ + The gradients of the weights associated with the global learner, denoted as , may be set to zero. In some embodiments, the process 1200 may initialize the global memory in any suitable manner, such as by allocating memory of any suitable size.

[0179] At 1220, process 1200 can perform an action on the environment at a current time t for each worker. In some embodiments, process 1200 can perform an action on the environment in any suitable manner. For example, in some embodiments, process 1200 can perform an action on the environment at a time t, as described herein. t In some embodiments, the process 1200 then retrieves the current state of the environment, as described herein. t In some embodiments, the process 1200 may identify an action to be taken at time t, described as action a t For example, in some embodiments, process 1200 can determine that a random treatment selected from a group of potential treatments should be selected with probability ε, or the treatment should be selected with probability ε. t =argmax(Q(s t, a; θ), where Q is a Q-value function corresponding to an expectation of reward. Note that in some embodiments, Q can be optimized using any suitable reinforcement learning technique.

[0180] In some embodiments, treatment a t After selecting, the process 1200 selects a t Execute a in environment E t The reward that follows from performing t and the next state s t+1 It should be noted that in some embodiments, the reward and next state may be based on any suitable information associated with the environment, such as a volume of extrusion, an extrusion quality score (e.g., as described above in connection with FIG. 9 ), whether an error or failure has been detected (e.g., as described above in connection with FIG. 9 ), measurements (e.g., weight of the object portion, density of the object portion, and / or any other suitable simulation measurement), and / or any other suitable information.

[0181] Below, specific examples are described for performing actions and determining the resulting state and reward. In a specific example, a group of 3D printers (e.g., 3, 4, 5, 6, and / or any other suitable number) can be initialized as a group of workers and used for parallel data collection for training the reinforcement learning model. In addition, in a specific example, each 3D printer can print a 3D object having a specific number of layers (e.g., 500, 1,000, and / or any other suitable equivalent), each can change the printing conditions and take corrective actions such that the tensile strength of the object at a specific layer is maintained at a reference or expected tensile strength. Note that additional details describing the tensile strength and the reference tensile strength are shown in Figures 11B and 11C and described above in connection with Figures 11B and 11C.

[0182] In a particular example, a 3D printer in a group of 3D printers can generate a state s that is a function of the parameters of each layer with an encoded history of trajectories that indicate previous actions and states. t Then, the 3D printer performs the procedure a t can be selected as a correction multiplier for the printing operation of the next layer's printing parameters. Then, the reward r t We can calculate r t is a t In some embodiments, r t =1 / (f(s t+1 )) to r t can be calculated.

[0183] In some embodiments, the outcome of the treatment can be determined using a tensile load test that can indicate tensile strength.

[0184] In some embodiments, the reward r t may be determined by any suitable method for each treatment a t For example, in some embodiments, r t can be a function of the amount of material (e.g., volume of resin) used to produce. As another example, in some embodiments, the terminal s t Rewards for t is the final s t The tensile strength can be calculated based on the tensile strength calculated in

[0185] Referring back to FIG. 12, in some embodiments, process 1200 can also determine if a done flag should be set, where a raised flag indicates that the worker has completed all learning iterations.

[0186] At 1225, process 1200 can update the global memory with the state and reward resulting from the action for each worker. In some embodiments, process 1200 can update the global memory in any suitable manner. For example, in some embodiments, process 1200 updates the global memory with the state and reward resulting from the action for each worker. t ,a t ,r t, s t+1 , executed) can be added to the global memory. Note that in some embodiments, the global memory can be stored in any suitable location, such as a server external to the device executing the process 1200 and / or any other suitable location.

[0187] In some embodiments, process 1200 may return to 1220 and execute 1220 and 1225 until the raised flag is set to true.

[0188] At 1230, the process 1200 calculates, for each worker, the global learner weights θ + The worker weights θ may be updated based on the weights θ of the workers. In some embodiments, the process 1200 may update the worker weights in any suitable manner. For example, in some embodiments, the process 1200 may set the weights for each worker to the global learner weights.

[0189] At 1235, the process 1200 can sample the global memory for each worker and update the weights of the global learner based on the sampling. In some embodiments, the process 1200 can t ,a t ,r t ,s t+1 , , a randomly selected mini-batch of 10 tuples may be searched. In some embodiments, the mini-batch may be of any suitable size (e.g., 10 tuples, 100 tuples, 500 tuples, and / or any other suitable size).

[0190] Note that in some embodiments, process 1200 may sample the global memory by prioritizing tuples that are determined to be relatively important and occur relatively infrequently. In some such embodiments, each tuple stored in the global memory also includes a priority flag p that indicates the priority of the corresponding state transition contained in the tuple. i In some embodiments, the process 1200 then includes: Tuples can be sampled from the global memory according to TIFF0007553983000033.tif26169, where α is a weight indicating how often tuples with relatively high priority flags should be selected. For example, in the example of α=0, tuples can be selected randomly with an even distribution, while when α=1, tuples associated with the highest priority can be sampled with priority.

[0191] In some embodiments, the process 1200 can update the weights of the global learner based on the retrieved tuples in any suitable manner. For example, in some embodiments, for each tuple, the process 1200 may t can be determined, TIFF0007553983000034.tif22170. Continuing with this example, in some embodiments, the process 1200 then determines y based on the reward. t You can modify y t is t -γy t Continuing with this example, in some embodiments, the process 1200 sets the global learner weights Δθ + The gradient for Δθ can be calculated. + teeth TIFF0007553983000035.tif16169. In some embodiments, the process 1200 then increments the global learner weights Δθ + Based on the gradient for + can be updated.

[0192] At 1240, the process 1200 may determine whether to continue updating the global learner. In some embodiments, the process 1200 may continue updating the global learner for a predetermined number T MAX A determination may be made whether to continue updating the global learner based on whether more than a predetermined number of workers in a group of workers have set the corresponding raised flag to true. That is, in some embodiments, process 1200 may determine whether to continue updating the global learner based on whether more than a predetermined number of workers in a group of workers have completed the current learning epoch. MAX Note that the value of T may be selected based on any suitable information (e.g., based on information associated with the manufacturing environment), so that the global learner may continue to update in instances where one or more workers in a group of workers are delayed in sending tuples to the global memory. MAX may be any suitable value less than or equal to the number of workers in the group of workers.

[0193] If, at 1240, the process 1200 determines that it should continue updating the global learner (“Yes” at 1240), the process 1200 may return to 1220.

[0194] If process 1200 determines at 1240 that the global learner should not be updated, process 1200 may modify the environment at 1245. In some embodiments, process 1200 may modify the environment in any suitable manner. For example, in some embodiments, process 1200 may modify parameters of the environment corresponding to a particular layer of the printed object based on the action taken. As a more specific example, in some embodiments, process 1200 may modify printing parameters, such as extrusion speed, extrusion volume, speed of extruder head movement, temperature of the extruder nozzle, and / or any other suitable printing parameters.

[0195] According to some embodiments, a system, method and medium for artificial intelligence process control in additive manufacturing are provided. More specifically, in some embodiments, an additive manufacturing system is provided, the system includes a print head configured to print an object by layer-by-layer printing (LBL), an illumination source for applying illumination to a surface of a printed layer of the object, an image sensor configured to capture an image of the printed layer, and at least one hardware processor, the at least one hardware processor is configured to receive the captured image, generate a three-dimensional topographic image of the printed layer, identify an anomaly in the printed layer from the generated topographic image using a first artificial intelligence algorithm, and determine a correlation between the identified anomaly and one or more printing parameters and assign a value to the one or more printing parameters using a second artificial intelligence algorithm.

[0196] In some embodiments, a method for additive manufacturing is provided, the method including receiving a captured image generated by an image sensor configured to capture an image of a printing layer of an object printed by a layer-by-layer (LBL) process; generating a three-dimensional topographical image of the printing layer using a hardware processor; identifying anomalies in the printing layer from the generated topographical image using a first artificial intelligence algorithm; determining a correlation between the identified anomalies and one or more printing parameters using a second artificial intelligence algorithm; and assigning values ​​to the one or more printing parameters.

[0197] In some embodiments, a non-transitory computer-readable medium is provided that includes computer-executable instructions that, when executed by a processor, cause the processor to perform a method for additive manufacturing including receiving a captured image generated by an image sensor configured to capture an image of a printing layer of an object printed by layer-by-layer (LBL) printing; generating a three-dimensional topographical image of the printing layer; identifying anomalies in the printing layer from the generated topographical image using a first artificial intelligence algorithm; determining a correlation between the identified anomalies and one or more printing parameters using a second artificial intelligence algorithm; and assigning values ​​to the one or more printing parameters.

[0198] In some embodiments, any suitable computer-readable medium may be used to store instructions for performing the functions and / or processes described herein. For example, in some embodiments, the computer-readable medium may be transitory or non-transient. For example, a non-transient computer-readable medium may include media such as non-transient magnetic media (e.g., hard disks, floppy disks, etc.), non-transient optical media (e.g., compact disks, digital video disks, Blu-ray disks, etc.), non-transient semiconductor media (e.g., flash memory, electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), etc.), any suitable media that is not transitory or lacks any appearance of permanence during transmission and / or any suitable tangible media. As another example, a transitory computer-readable medium may include networks, wires, conductors, optical fibers, circuits, and signals on any suitable media that is not transitory or lacks any appearance of permanence during transmission and / or any suitable tangible media.

[0199] The provision of examples described herein (as well as clauses phrased as "such as," "for example," "including," etc.) should not be construed as limiting the claimed subject matter to specific examples; rather, the examples are intended only to illustrate some of the many possible embodiments. Also, it should be noted that as used herein, the term mechanism can include hardware, software, firmware, or any suitable combination thereof.

[0200] The additive manufacturing system and method have been described in detail with particular reference to these exemplary embodiments. However, it will be apparent that various modifications and variations can be made within the spirit and scope of the disclosure of the above specification, and such modifications and variations should be considered equivalents and part of this disclosure. The scope of the present invention is intended to be limited only by the following claims.

Claims

1. 1. A system comprising: A processor; Equipped with memory, the memory stores programmed instructions that, when executed by the processor, cause the system to perform operations; The operation is receiving an image of an article of manufacture during or after deposition of a first layer and prior to deposition of a second layer in a multiple layer manufacturing process; generating a low resolution version of the image; applying a binary error classifier to the low resolution version of the image to determine whether errors are present in the article of manufacture; determining that the error is present in the article of manufacture based on an output from the binary error classifier; and responsive to determining that the error is present in the article of manufacture, applying a classifier to a high resolution version of the image to generate a quality score indicative of a quality of the article of manufacture; adjusting values ​​of process parameters for depositing the second layer in the multilayer manufacturing process based on the quality score. A system including:

2. generating a cropped version of the low resolution version of the image by identifying an area of ​​interest of the article of manufacture; The system of claim 1 further comprising:

3. The operation is receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying a fault classifier to the second lower resolution version of the second image; determining that a non-recoverable fault exists in the article of manufacture based on a second classification obtained from the fault classifier; and terminating the multi-layer manufacturing process in response to determining that the irrecoverable fault exists in the article of manufacture. The system of claim 1 further comprising:

4. The operation is receiving a second image of the article of manufacture at a second step of the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying a binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining, based on a second output from the binary error classifier, that the second error is not present in the article of manufacture; and Continuing said multi-layer manufacturing process. The system of claim 1 further comprising:

5. The operation is receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying the binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining that the second error is present in the article of manufacture based on a second output from the binary error classifier; and responsive to determining that the second error is present in the article of manufacture, applying the classifier to a second high resolution version of the image to generate a second quality score indicative of a quality of the article of manufacture; adjusting a second value of a second process parameter for depositing the third layer in the multilayer manufacturing process. The system of claim 1 further comprising:

6. The operation is applying a fault classifier to the low resolution version of the image to determine that no irrecoverable faults exist; The system of claim 1 further comprising:

7. applying the classifier to the high resolution version of the image identifying a center of gravity of the article of manufacture in the image; generating a window located around the centroid in the high resolution version of the image; applying said classifier to said window; The system of claim 1 further comprising:

8. 1. A method comprising: receiving an image of an article of manufacture during or after deposition of a first layer and prior to deposition of a second layer in a multiple layer manufacturing process; generating a low resolution version of the image; applying a binary error classifier to the low resolution version of the image to determine whether errors are present in the article of manufacture; determining that the error is present in the article of manufacture based on an output from the binary error classifier; and responsive to determining that the error is present in the article of manufacture, applying a classifier to a high resolution version of the image to generate a quality score indicative of a quality of the article of manufacture; adjusting values ​​of process parameters for depositing the second layer in the multilayer manufacturing process based on the quality score. The method includes:

9. generating a cropped version of the low resolution version of the image by identifying an area of ​​interest of the article of manufacture; The method of claim 8 further comprising:

10. receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying a fault classifier to the second lower resolution version of the second image; determining that a non-recoverable fault exists in the article of manufacture based on a second classification obtained from the fault classifier; and terminating the multi-layer manufacturing process in response to determining that the irrecoverable fault exists in the article of manufacture. The method of claim 8 further comprising:

11. receiving a second image of the article of manufacture at a second step of the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying the binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining, based on a second output from the binary error classifier, that the second error is not present in the article of manufacture; and Continuing said multi-layer manufacturing process. The method of claim 8 further comprising:

12. receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying the binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining that the second error is present in the article of manufacture based on a second output from the binary error classifier; and responsive to determining that the second error is present in the article of manufacture, applying the classifier to a second high resolution version of the image to generate a second quality score indicative of a quality of the article of manufacture; adjusting a second value of a second process parameter for depositing the third layer in the multilayer manufacturing process. The method of claim 8 further comprising:

13. applying a fault classifier to the low resolution version of the image to determine that no irrecoverable faults exist; The method of claim 8 further comprising:

14. applying the classifier to the high resolution version of the image identifying a center of gravity of the article of manufacture in the image; generating a window located around the centroid in the high resolution version of the image; applying said classifier to said window; The method of claim 8 further comprising:

15. A non-transitory computer-readable medium containing one or more instructions, comprising: The instructions, when executed by one or more processors, cause a computer system to perform operations; The operation is receiving an image of an article of manufacture during or after deposition of a first layer and prior to deposition of a second layer in a multiple layer manufacturing process; generating a low resolution version of the image; applying a binary error classifier to the low resolution version of the image to determine whether errors are present in the article of manufacture; determining that the error is present in the article of manufacture based on an output from the binary error classifier; and responsive to determining that the error is present in the article of manufacture, applying a classifier to a high resolution version of the image to generate a quality score indicative of a quality of the article of manufacture; adjusting values ​​of process parameters for depositing the second layer in the multilayer manufacturing process based on the quality score.

1. A non-transitory computer readable medium comprising:

16. generating a cropped version of the low resolution version of the image by identifying an area of ​​interest of the article of manufacture; 20. The non-transitory computer-readable medium of claim 15, further comprising:

17. receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying a fault classifier to the second lower resolution version of the second image; determining that a non-recoverable fault exists in the article of manufacture based on a second classification obtained from the fault classifier; and terminating the multi-layer manufacturing process in response to determining that the irrecoverable fault exists in the article of manufacture.

20. The non-transitory computer-readable medium of claim 15, further comprising:

18. receiving a second image of the article of manufacture at a second step of the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying the binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining, based on a second output from the binary error classifier, that the second error is not present in the article of manufacture; and Continuing said multi-layer manufacturing process.

20. The non-transitory computer-readable medium of claim 15, further comprising:

19. receiving a second image of the article of manufacture during or after deposition of the second layer and prior to deposition of a third layer in the multiple layer manufacturing process; generating a second lower resolution version of the second image; applying the binary error classifier to the second lower resolution version of the second image to determine if a second error is present in the article of manufacture; determining that the second error is present in the article of manufacture based on a second output from the binary error classifier; and responsive to determining that the second error is present in the article of manufacture, applying the classifier to a second high resolution version of the image to generate a second quality score indicative of a quality of the article of manufacture; adjusting a second value of a second process parameter for depositing the third layer in the multi-layer manufacturing process.

20. The non-transitory computer-readable medium of claim 15, further comprising:

20. applying a fault classifier to the low resolution version of the image to determine that no irrecoverable faults exist; 20. The non-transitory computer-readable medium of claim 15, further comprising:

Citation Information

Patent Citations

  • Automatic Process Control of an Additive Manufacturing Apparatus

    JP2016533925A

  • Three-dimensional article manufacturing device, three-dimensional article manufacturing method and program

    JP2018008403A

  • Real-time adaptive control of additive manufacturing processes using machine learning

    JP2020527475A

  • Operational performance assessment of additive manufacturing

    US20150165683A1

  • Generating high resolution images from low resolution images for semiconductor applications

    US20170193680A1