Machine learning feature feed rate for 3D printing

A machine learning system predicts optimal feed rates for complex 3D printing features by training on closed-loop data, addressing the challenge of determining appropriate rates for overhangs and thin features, thereby reducing errors and improving print quality.

JP2024114630APending Publication Date: 2024-08-23XEROX CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024011012
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-13
Filing Date
2024-01-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Determining appropriate feed rates for complex 3D printing features such as overhangs and thin features is challenging due to their anisotropic nature, leading to issues like droop and sagging, and current methods involve tedious trial and error with visual inspection.

Method used

A machine learning system is trained using closed-loop Z-axis height correction data and feed rate variations to predict optimal feed rates for specific feature types, reducing the need for multiple prints and visual evaluation.

Benefits of technology

The system accurately determines feed rates with high correlation, minimizing printing errors and improving part quality without extensive trial and error, thus enhancing 3D printing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114630000001
    Figure 2024114630000001
  • Figure 2024114630000002
    Figure 2024114630000002
  • Figure 2024114630000003
    Figure 2024114630000003
Patent Text Reader

Abstract

To provide a system and a method for providing a feed rate for three dimensional printing of a component.SOLUTION: A method for providing a feed rate for three dimensional printing of a component includes: obtaining computer readable toolpath instructions that specify a nominal feed rate for a toolpath segment and spatial toolpath data for the toolpath segment; providing an input including the spatial toolpath data to a trained machine learning system that has been trained using training data including training spatial toolpath data, training closed-loop gain data, and training feed rate data; obtaining the modified feed rate for the toolpath segment that differs from a nominal feed rate for the toolpath segment, the modified feed rate being output from the trained machine learning system; and providing the modified computer readable toolpath instructions. The modified machine learning toolpath instructions include the modified feed rate.SELECTED DRAWING: None
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure relates generally to three-dimensional (3D) printing. [Background technology]

[0002] In general, 3D printing of an object can proceed layer-by-layer according to a Cartesian coordinate system, with each layer oriented, for example, parallel to the XY plane representing the horizontal plane of the Earth, and additional layers are added to extend the object in a Z-axis direction, for example, representing up and down relative to gravity. The deposition of printing material for each layer can be provided according to a toolpath, i.e., a defined path of a deposition nozzle. The toolpath can be specified by computer-readable toolpath instructions, such as a GCode file. Additional layers can be added to build the object in the Z-axis direction.

[0003] Furthermore, 3D printing may be used to manufacture complex 3D designs that could not otherwise be made using traditional methods such as machining, casting, or injection molding. This ability is made possible by the layered printing process mentioned above. In this approach, complex features such as recessed geometries, hollow features, and microfeatures that cannot be machined with traditional tools due to space constraints or reachability are split into multiple layers, and fairly simple 2D layers are printed one on top of the other until the entire object is completed in this manner. Despite this simple approach, each 3D printing process has its own challenges to address due to its operating principle or configuration. One such common challenge comes in the form of overhangs. Overhangs are features of a 3D printed part that are not supported by an underlying support structure. A layer-by-layer printing approach can generate one or more undersides of a slope within the part, where each subsequent layer must protrude slightly beyond the preceding layer. Because the initial printing material is still in a flowable liquid state before solidifying, gravity and other factors, such as the angle and slope of the overhang, can result in sagging or sagging, curling, or completely preventing the desired shape from printing.

[0004] For large homogenous areas within a layer, the feed rate of the printing material, i.e., the rate at which the printing material flows through the printing nozzle (e.g., extrusion rate, flow rate, drip rate, etc.), to produce a specified layer thickness can be easily calculated. However, this generally does not apply to features in anisotropic regions, which may include perimeters, thin features, and overhangs. This is because the response of the 3D printer system in such edge-type regions is a function of flow, temperature, and other variables. The most direct way to calculate the appropriate feed rate is to print the feature type at several different feed rates and have a metric or visual evaluation to measure part quality. This can be tedious and time-consuming for multiple part types. Summary of the Invention

[0005] According to various embodiments, a method of providing a feed rate for three dimensional printing of a part is presented, the method includes obtaining computer readable toolpath instructions for the part, the toolpath instructions specifying a nominal feed rate for a toolpath segment and spatial toolpath data for the toolpath segment, providing an input including the spatial toolpath data to a trained machine learning system, the trained machine learning system being trained using training data including training spatial toolpath data, training closed-loop gain data, and training feed rate data, obtaining a modified feed rate for the toolpath segment that differs from the nominal feed rate for the toolpath segment, the modified feed rate being output from the trained machine learning system, and providing the modified computer readable toolpath instructions, the modified machine learning toolpath instructions including the modified feed rate.

[0006] Various optional features of the above embodiment include: The method may further include printing the part using the modified computer readable toolpath instructions; The input may further include a predetermined closed loop gain value; The training data may include data specific to the part, and the method may further include training the trained machine learning system using the training data; The toolpath instructions may specify an anisotropic region of the part that includes the toolpath segment; The anisotropic region may include at least one of an overhang, a perimeter, or a thin feature; The spatial toolpath data for the toolpath segment may include at least one of a distance from an edge of the part, a distance from a corner of the part, or a rounding radius of the toolpath segment; The training data may further include training overhang angle data; The training feed rate data may include an induced feed rate variation; The induced feed rate variation may include a periodic induced feed rate variation along an edge of the feature.

[0007] According to various embodiments, a system for providing a feed rate for three dimensional printing of a part is presented, the system includes an electronic processor and a persistent memory storing non-transitory computer readable instructions, which when executed by the electronic processor configures the electronic processor to perform actions, the actions include: obtaining computer readable toolpath instructions for the part, the toolpath instructions specifying a nominal feed rate for a toolpath segment and spatial toolpath data for the toolpath segment; providing an input including the spatial toolpath data to a trained machine learning system, the trained machine learning system being trained using training data including training spatial toolpath data, training closed-loop gain data, and training feed rate data; obtaining a modified feed rate for the toolpath segment that differs from the nominal feed rate for the toolpath segment, the modified feed rate being output from the trained machine learning system; and providing the modified computer readable toolpath instructions, the modified machine learning toolpath instructions including the modified feed rate.

[0008] Various optional features of the above embodiment include: The action may further include printing the part using the modified computer readable toolpath instructions; The input may further include a predetermined closed loop gain value; The training data may include data specific to the part, and the action may further include training the trained machine learning system using the training data; The toolpath instructions may specify an anisotropic region of the part that includes the toolpath segment; The anisotropic region may include at least one of an overhang, a perimeter, or a thin feature; The spatial toolpath data for the toolpath segment may include at least one of a distance from an edge of the part, a distance from a corner of the part, or a rounding radius of the toolpath segment; The training data may further include training overhang angle data; The training feed rate data may include an induced feed rate variation; The induced feed rate variation may include a periodic induced feed rate variation along an edge of the feature.

[0009] Combinations (including multiple subordinate combinations) of the elements described above and in the specification are contemplated by the inventors and may be made unless otherwise indicated or contradictory. [Brief description of the drawings]

[0010] The various features of the embodiments can be more fully appreciated as they become better understood with reference to the following detailed description of the embodiments when considered in conjunction with the accompanying drawings, in which:

[0011] [Figure 1] 1 shows a schematic cross-sectional side view of a 3D printer, according to various embodiments. [Diagram 2] 1 illustrates a part overhang feature according to various embodiments. [Diagram 3] 13 illustrates a map of induced feed rate variation according to various embodiments. [Figure 4]11 is a chart showing closed loop gain as a function of both edge and corner distance for a 50 degree overhang in accordance with various embodiments. [Figure 5A] 1 is a chart showing closed loop gain as a function of edge distance for three different overhang angles. [Figure 5B] 1 is a chart showing closed loop gain as a function of edge distance for three different overhang angles. [Figure 6] 1 is a flowchart for a method of training a machine learning system to provide a feed rate for three dimensional printing of a part. [Figure 7] 1 is a flow chart for a method of providing a feed rate for three dimensional printing of a part. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Reference will now be made in detail to the exemplary implementations illustrated in the accompanying drawings. For convenience, the same reference numerals will be used throughout the drawings to refer to the same or similar parts. In the following description, reference is made to the accompanying drawings which form a part hereof, and which show, by way of illustration, specific exemplary embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, it being understood that other embodiments may be utilized and changes may be made without departing from the scope of the invention. Accordingly, the following description is merely illustrative.

[0013] In 3D printing, there are special feature types that require feed rate settings that are different from the nominal feed rate settings used for large uniform sections of a layer. Most of these features vary rapidly locally in at least one dimension: thin features, overhangs, perimeters, etc. For example, a thin feature may be thinner than the nominal layer thickness in the direction of the Z axis. Determining the appropriate feed rate for these feature types is difficult because these feed rates can vary significantly based on the feature type. Currently, features are printed multiple times (e.g., 20 times) at various feed rates, and the feed rate that optimizes print quality is selected using either a metric or visual evaluation.

[0014] Various embodiments use the closed loop of some 3D printing processes to determine an appropriate feed rate to use with a given feature type. According to some embodiments, machine learning is used within a closed loop system context to determine an appropriate feed rate for a particular feature type of 3D printing. According to some embodiments, a given feature is printed using multiple induced feed rates along the edge of the feature, with the response of a closed loop Z-axis height compensation system captured. According to some embodiments, the distance to the edge and / or corner of the feature, along with the closed loop response, is used to train a neural network that predicts the open loop feed rate to be used. According to some embodiments, once the neural network is trained, an appropriate feed rate is selected as the feed rate that corresponds to a closed loop system that does not modify the open loop response.

[0015] Thus, some embodiments automatically determine an appropriate feed rate for a particular feature in a 3D print without having to print multiple instances of the feature and without having to apply visual inspection or an external network.

[0016] These and other features and advantages are illustrated and described herein with reference to the drawings.

[0017] 1 shows a schematic cross-sectional side view of a 3D printer 100, according to various embodiments. The 3D printer 100 may be or include a magnetohydrodynamic (MHD) printer, a piezoelectrically driven printer, or the like. The 3D printer 100 may include an ejector (also referred to as a pump) 110. As used herein, the ejector 110 refers to a structure that can be selectively actuated to eject build material 120 from a nozzle 114 of the ejector 110.

[0018] The ejector 110 may define one or more reservoirs 112. One ejector reservoir 112 is shown in FIG. 1. In another embodiment, the ejector 110 may include two or more reservoirs, including at least a first (e.g., upper) reservoir and a second (e.g., lower) reservoir. In this embodiment, the portion of the ejector 110 that defines the upper reservoir may be or include a ceramic material, and the portion of the ejector 110 that defines the lower reservoir may be or include a graphite material.

[0019] The ejector reservoir 112 is configured to receive and / or store the build material 120 that is ejected from the nozzle 114. The build material 120 may be or include a metal, polymer, ceramic, etc. In one embodiment, the build material 120 may be greater than about 50% metal, greater than 60% metal, greater than 70% metal, greater than 80% metal, greater than 90% metal, or about 100% metal (e.g., by volume and / or mass). For example, the build material 120 may be or include a spool of aluminum wire (e.g., 6061 aluminum). In another embodiment, the build material 120 may be or include copper or other metals.

[0020] The 3D printer 100 may also include one or more heating elements 130. The heating elements 130 may be configured to melt the build material 120 in the ejector reservoir 112, thereby converting the build material 120 from a solid state to a liquid (e.g., molten) state within the ejector reservoir 112.

[0021] The 3D printer 100 may also include a power source 132 and one or more metal coils 134. The metal coils 134 are at least partially wrapped around the ejector 110 and / or the heating element 130. The power source 132 may be coupled to the coils 134 and configured to provide power thereto. In one embodiment, the power source 132 may be configured to provide a step function direct current (DC) voltage profile (e.g., a voltage pulse or jet pulse) to the coils 134, which may create an increasing magnetic field. The increasing magnetic field may create an electromotive force in the ejector 110, which in turn creates induced currents in the liquid build material 120. The magnetic field and induced currents in the liquid build material 120 may create a radially inward force on the liquid build material 120, known as a Lorentz force. The Lorentz force creates a pressure at the inlet of the nozzle 114 of the ejector 110. The pressure causes the liquid build material 120 to be jetted through the nozzle 114 and / or expelled from the nozzle in the form of one or more droplets 122 .

[0022] The 3D printer 100 may include a build plate (also referred to as a substrate) 140 positioned below the nozzle 114. Drops 122 may be ejected through the nozzle 114 and then land on the build plate 140, where they may cool and solidify to form a first (e.g., bottom) layer. Additional drops 122 may be jetted to form overlapping layers that ultimately produce the desired 3D part 124.

[0023] The 3D printer 100 may also include one or more substrate control motors configured to move the build plate 140 while the drops 122 are being ejected through the nozzle 114 or during pauses while the drops 122 are being ejected through the nozzle 114 so that the 3D part has a desired shape and size. The substrate control motors may be configured to move the substrate in one dimension (e.g., along the X-axis), two dimensions (e.g., along the X-axis and the Y-axis), or three dimensions (e.g., along the X-axis, the Y-axis, and the Z-axis). According to some embodiments, the nozzle 114 may also or instead be configured to move in one, two, or three dimensions. In other words, the build plate 140 may be moved below the stationary nozzle 114, or the nozzle 114 may be moved above the stationary build plate 140. In some embodiments, there may be relative rotation about one or two axes between the nozzle 114 and the build plate 140, such that there is, for example, four or five axis position control. In some embodiments, both the nozzle 114 and the build plate 140 may move. For example, the build plate 140 may move in the X and Y directions, while the nozzle 114 may move up and / or down in the Z direction.

[0024] The 3D printer 100 may include a closed-loop Z-axis height correction system 150 that monitors the height of the deposition and corrects the feed rate accordingly. According to various embodiments, the closed-loop Z-axis height correction system 150 may include a camera or (e.g., laser) scanner configured to capture the feeding (e.g., video and / or image) of the nozzle 114, the drops 122, the 3D part 124, or a combination thereof. According to various embodiments, the camera may capture an image of the part as the drops are deposited and analyze it to determine whether the deposition height at a given layer is within specifications. In another example, the camera may be configured to capture the feeding of the drops 122 as they fall. More specifically, the feeding may show the drops 122 after they are ejected from the nozzle 122 and before they land on the build plate 140. The size, shape, mass, and / or direction of the drops 122 may be determined based on the feeding.

[0025] Although the closed-loop Z-axis height compensation system 150 can compensate the feed rate based on the monitored pile height as the part is being printed, such compensation leaves errors in the printed part. Multiple such errors can occur and accumulate, and the resulting part may be out of specification and unusable.

[0026] The 3D printer 100 may also include a computing system 160. As described herein, the computing system 160 may perform at least a portion of the methods described herein, for example, with reference to Figures 6 and 7.

[0027] FIG. 2 illustrates a part overhang feature 200 according to various embodiments. When printed, each subsequent layer of the overhang feature 100 protrudes slightly beyond the previous layer. Such protrusion, along with temperature variations, can create printing errors, for example, if the nominal feed rate typically used for interior deposition is used for the edge of the feature. Furthermore, although a closed loop Z-axis height correction system can correct the feed rate, each correction can still leave behind undesirable artifacts. Such artifacts can occur undesirably and result in undesirable parts.

[0028] According to some embodiments, multiple feed rates are tested at each feature in a single print instance to train a machine learning system to determine an appropriate feed rate for a feature such as an overhang. For example, the feed rate may be varied along an edge of the feature, such as along an edge of a layer of the overhang feature 200, as a function of position (e.g., rather than the feed rate being set according to a nominal feed rate and adjusted in real-time during printing by a closed-loop Z-height correction system). As each square layer of the overhang feature 200 is printed, feed rate variations at every point may be induced, for example, as shown and described with reference to FIG. 3. According to various embodiments described in detail herein, both the feed rate variations and the response of the closed-loop system may be recorded and used to train the machine learning system.

[0029] FIG. 3 illustrates an induced feed rate variation map 300 according to various embodiments. For example, if the value at a given (X,Y) location in the induced feed rate variation map 300 is 1.1, then the induced feed rate for that location is 1.1 times the nominal feed rate and more material is used in the local area. If the induced feed rate at another location is 0.9, then the induced feed rate for that location is 0.9 times the nominal feed rate and less material is deposited compared to the average around that location. Thus, the induced feed rate varies from location to location according to the induced feed rate variation map 300 and along every edge there will be multiple feed rates used for simple overhangs due to the induced perturbations / variations in the gain map. The multiple feed rates may be induced according to, for example, a periodic pattern. As shown in the induced feed rate variation map 300, the induced feed rate variation along the edge is sinusoidal and varies, for example, from 0.8 to 1.2.

[0030] The induced feed rate variation map 300 is used to print a test part, such as the overhang feature 100, and the values ​​of the induced rate variation map 300 and the response of the closed-loop Z-axis height compensation system are recorded and used to train a machine learning system. More specifically, as the test part is printed using the varying feed rates, the values ​​of the closed-loop gains are recorded. Generally, the closed-loop gains are output by the closed-loop Z-axis height compensation system to adjust the feed rate. Thus, the closed-loop gain values ​​may be used as multipliers to adjust the feed rate during the printing process. In areas where the induced feed rate is low, the closed-loop response should be compensated by having a large gain (e.g., greater than 1.0 to command more material). Similarly, in areas where the induced feed rate is high, the closed-loop response should be compensated by selecting a small gain (e.g., less than 1.0 to command less material). If the induced feed rate is correct, the closed-loop response does not need to modify the feed rate and the feed rate gain is 1.0. According to some embodiments, the machine learning system is trained to output a feed rate that results in such a feed rate gain.

[0031] FIG. 4 is a chart 400 showing closed loop gain as a function of both edge and corner distance for a 50° overhang, according to various embodiments. More specifically, chart 400 shows the closed loop gain values ​​output by the closed loop Z-height correction system as a function of both the distance to the edge and the distance to the corner for a 50° overhang. The closed loop gain value may be used, for example, as a feed rate multiplier value. The units of chart 400 are millimeters. As chart 400 shows, the feed rate amount is relatively constant at a given distance from the edge unless the location is close to a corner. The graph below is measured only inside the boundary 402. The triangular boundary 402 at the bottom left of chart 400 has no data because the distance to the edge is never greater than the distance to the corner for a 90°. The crescent shaped boundary 402 on the right side of chart 400 has no data because the printed portion was only 12 mm wide.

[0032] Some embodiments train a machine learning system to determine an appropriate feed speed for printing overhangs having any of a variety of overhang angles. According to some embodiments, the machine learning system is trained using the derived feed speeds and closed loop gains as training data, as shown and described with reference to FIG. 4, along with overhang angle data, as shown and described herein with reference to FIG. 5A and FIG. 5B.

[0033] 5A and 5B show charts 502, 504, 506 illustrating closed loop gain as a function of edge distance for three different overhang angles. In particular, charts 502, 504, 506 show the closed loop gain feed rate multiplier generated by the closed loop Z-axis height correction system as a function of only distance to edge (but at least 2 mm away from the corner) for three different overhang angles. Chart 502 is for a 40° overhang angle, chart 504 is for a 45° overhang angle, and chart 506 is for a 50° overhang angle. The range of measurements represented in charts 502, 504, 506 is due to local variations in drop size, temperature, and distance to edge, along with other noise and fitting errors, but in one embodiment, a machine learning system may be trained using such data to predict a representative curve for each overhang angle, rather than a scatter plot as shown. Such a curve may be viewed as a two-dimensional slice or projection of a three-dimensional surface such as that represented by Figures 5A and 5B. For example, after training according to the data shown in chart 502, for an overhang angle of 40°, a trained machine learning system may multiply the nominal feed rate to the edge by approximately 75%, the average of the training data at a distance to the edge of 0.

[0034] When trained with training data for various overhang angles, the trained machine learning system may predict feed rate multipliers for overhang features having angles not present in the training data. For example, when trained using the data in charts 502, 504, and 506 corresponding to angles of 40°, 45°, and 50°, respectively, the trained machine learning system may predict closed-loop Z-height correction gain values ​​for overhang features having angles such as 42°, 46.5°, 48°, etc., as non-limiting examples.

[0035] According to various embodiments, the machine learning system is trained using the training data such that the machine learning system can output feed rates for various features according to spatial toolpath data for the features. Figure 6 illustrates a method of training the machine learning system according to various embodiments.

[0036] FIG. 6 is a flow chart of a method 600 of training a machine learning system to provide a feed rate for three-dimensional printing a part. According to some embodiments, as a non-limiting example, the machine learning system may include a computer-implemented neural network. Other embodiments may utilize, as a non-limiting example, a Gaussian regressor or any other network or machine learning system capable of learning a continuous function. In a neural network embodiment, the neural network may include an input layer, two hidden nodes, and a linear output layer. The neural network may be configured to accept input data, such as spatial toolpath data and closed-loop gain data, and provide output data, such as feed rate data. In general, the neural network may be trained with training data including training input data (e.g., training spatial toolpath data, training closed-loop gain data) and training output data (e.g., training feed rate data). Once trained, the neural network may accept inputs including spatial toolpath data and a closed-loop gain value of one and output a corresponding feed speed, such that when a feature with the spatial toolpath data is printed at the output feed speed, the closed-loop Z-axis height compensation system outputs a gain of one and the feed speed is not changed to adjust for the Z-axis height.

[0037] At 602, method 600 obtains training data, which according to various embodiments may be obtained directly using techniques such as those shown and described herein with reference to Figures 3, 4, and / or 5, by way of non-limiting examples, and / or indirectly by retrieval from electronic storage.

[0038] The training data may include training spatial toolpath data, such as any or any combination of distance from the edge of the part, distance to the corner of the part, and / or rounding radius of the corner. The training data may include training closed-loop gain data. The training data may include training feed rate data. Note that because the closed-loop corrections are calculated on a 100 μm grid according to some closed-loop Z-axis height correction system, for each printed layer (e.g., as shown and described with reference to FIGS. 3, 4, and 5), there may be hundreds of points (e.g., sets of corresponding toolpath spatial data, closed-loop gain data, and feed rate data) generated for the training data.

[0039] In some embodiments, training feed rate data, training closed loop gain data, and training spatial tool path data may be sufficient. In other embodiments, any or a combination of the foregoing may be included along with one or more additional specific feature type data. For example, for an overhang feature, training overhang angle data may be included as shown and described with reference to FIG. 4. That is, overhangs of various angles may be printed, and the acquired data is used to train a class of overhangs by using additional input of overhang angle in training. As long as the feed rate response to angle is relatively smooth / continuous, the trained network may predict angles that are not directly used in training. This is a significant advantage compared to prior art direct printing evaluation techniques.

[0040] According to some embodiments, any or a combination of training feed rate data, training closed-loop gain data, training spatial toolpath data, and / or training overhang angle data may be included along with the training drop size data (e.g., for drop-on-demand three-dimensional printing). Generally, as an additional enhancement, measured drop size may be included in the training data. This allows for more accurate data training even when drop size varies, which is often done between runs. (As an alternative to using drop size to train the neural network, the gain map as shown and described herein with reference to FIG. 2 may be modified by scaling it by the ratio of actual drop size to nominal drop size. This converts the gain map from drop counts per unit length to drop mass per unit length variable drop size, which is a single multiplier to the two-dimensional function. Using drop size as additional training data (or an alternative update to the gain map) improved the correlation between actual feed rate and the predicted output of the neural network in the implementation.

[0041] When expanding the number of inputs (e.g., using parameters for classes of feature types, such as overhang angle and / or drop size), it may also be beneficial to increase the number of hidden nodes in the neural network so that it can handle the variation that occurs with the additional parameters. If the number of points used for training is much larger than the number of connections in the neural network topology, overfitting should not occur. When training on overhang angle data, the number of hidden nodes may be three, as a non-limiting example.

[0042] At 604, the method 600 trains the machine learning system using the training data obtained at 602. Training may include, for example, an iterative process to train a neural network.

[0043] Once trained, the machine learning system may accept input data, such as spatial toolpath data corresponding to a portion or parts thereof, as well as gain values, such as 1, and output a corresponding feed rate. When a part (or a portion thereof) is printed at the output feed rate, the Z-axis height does not need to be adjusted for the training data it was trained on. For example, in the interior of a layer, e.g., away from the edge, the closed loop gain values ​​are generally the inverse of the induced feed rate variation, since the nominal unperturbed feed rate selected for the interior is generally accurate, and therefore the gains need simply "undo" the induced variation.

[0044] In practice, training results using over 100,000 points show that the correlation between the actual instantaneous feed rate of the 3D printer and the estimate provided by the trained machine learning system was about 80% for the overhang. That is, the neural network of the practice was able to predict about 80% of the variation in the feed rate. When not training over a portion (e.g., for a single overhang angle), the correlation may be even better. This allows for an efficient method of determining the feed rate required for a unique feature.

[0045] 7 is a flow chart of a method 700 of providing a feed rate for three dimensional printing of a part. Method 700 may be implemented following the implementation of method 600 shown and described with reference to FIG. 6 and may utilize a computer implemented neural network trained according to method 600.

[0046] At 702, the method 700 includes obtaining computer readable toolpath instructions for the part. The computer readable instructions may be included in a GCode file, as a non-limiting example. The toolpath instructions may instruct a tool to follow a toolpath and extrude or otherwise deposit material along some or all of the toolpath to produce one or more layers to produce the part. The toolpath instructions may specify a nominal feed rate for a toolpath segment (e.g., a local portion of a longer toolpath) and spatial toolpath data for the toolpath segment.

[0047] At 704, the method 700 includes providing an input including the spatial toolpath data to a trained machine learning system. The trained machine learning system may be generated, for example, as shown and described herein with reference to Figure 6. The trained machine learning system may be trained using training data such as training spatial toolpath data, training closed-loop gain data, and training feed rate data, for example, as described herein with reference to Figures 5A and 5B.

[0048] At 706, the method 700 includes obtaining a modified feed rate for the toolpath segment output from the trained machine learning system in response to the input of 704. The modified feed rate may be the same or different from the nominal feed rate for the toolpath segment.

[0049] At 708, the method 700 includes providing modified computer readable toolpath instructions. The modified computer readable toolpath instructions may include modified feed rates for the toolpath segments, for example, replacing the nominal feed rates for all or a portion of the toolpath segments. The modified computer readable toolpath instructions may be in the form of GCode, as a non-limiting example. The instructions may be provided to the three dimensional printer, for example, for storage in persistent electronic memory or over a network.

[0050] At 710, the method 700 includes printing the part using the modified computer readable toolpath instructions. The part may be printed using any of a variety of three dimensional printers and in any of a variety of materials.

[0051] Many variations and alternative embodiments fall within the scope of the present disclosure. For example, some embodiments may train a machine learning system to print a layer on top of a layer printed with less error using the techniques disclosed herein. For example, an initial layer may be printed using closed-loop Z-axis height correction gain values ​​provided by a machine learning system trained to print using training data obtained by printing the initial layer, and a subsequent layer may be printed using closed-loop Z-axis height correction gain values ​​provided by a machine learning system trained to print using training data obtained by printing a layer on top of such first layer. Such an embodiment may account for the fact that an initial layer printed using the techniques disclosed herein is more accurate than an initial layer printed without using the techniques disclosed herein. Thus, a subsequent layer may be printed using a trained machine learning system trained to print on top of such more accurate initial layer. Thus, some embodiments may be further iteratively trained to print on top of a previous layer printed using a machine learning system trained according to the previous iteration.

[0052] It is noted that some embodiments may be used with real-time closed-loop Z-axis height correction, however, such embodiments are expected to utilize less closed-loop Z-axis height correction than would be the case if the closed-loop Z-axis height correction were used without the machine learning embodiments disclosed herein.

[0053] Some embodiments may provide a pre-trained machine learning system that is pre-trained on a first feature or set of features using training data obtained from a particular three dimensional printer or class of three dimensional printers, some embodiments may be additionally trained on additional features or sets of features using training data obtained from the same three dimensional printer or class of three dimensional printers or from a different three dimensional printer or class of three dimensional printers.

[0054] Certain embodiments may be implemented using a computer program or set of programs. A computer program may exist in various forms, both active and inactive. For example, a computer program may exist as a software program, a firmware program, or a hardware description language (HDL) file, consisting of program instructions in source code, object code, executable code, or other formats. Any of the above may be embodied on a temporary or non-transitory computer-readable medium, including storage devices and signals in compressed or uncompressed form. Exemplary computer-readable storage devices include conventional computer system random access memory (RAM), read-only memory (ROM), erasable, programmable ROM (EPROM), electrically erasable, programmable ROM (EEPROM), and magnetic, optical disks or tapes.

[0055] Aspects of the present disclosure are described herein with reference to flowchart illustrations (e.g., FIGS. 6 and 7) and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented using computer readable program instructions executed by a processor.

[0056] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to manufacture a machine, such that the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for performing the functions / acts specified in the flowchart and / or block diagram blocks. These computer readable program instructions may also be stored on a computer readable storage medium capable of directing a computer, programmable data processing apparatus, and / or other device to function in a particular manner, such that the computer readable storage medium having instructions stored therein constitutes an article of manufacture containing instructions implementing aspects of the functions / acts specified in the flowchart and / or block diagram blocks.

[0057] In an embodiment, the computer readable program instructions may be either assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, and procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer as a stand-alone software package, partially on the user's computer, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server.

[0058] As used herein, the terms "A or B" and "A and / or B" are intended to include A, B, or {A and B}. Additionally, the terms "A, B, or C" and "A, B, and / or C" are intended to include any single item, pair of items, or all items, i.e., A, B, C, {A and B}, {A and C}, {B and C}, and {A, B and C}. As used herein, the term "or" means "and / or."

[0059] As used herein, words such as "at least one of X, Y, and Z," "at least one of X, Y, or Z," "at least one or more of X, Y, and Z," "at least one or more of X, Y, or Z," "at least one or more of X, Y, and / or Z," or "at least one of X, Y, and / or Z" are intended to include both single items (e.g., only X, only Y, or only Z) and multiple items (e.g., {X and Y}, {X and Z}, {Y and Z}, or {X, Y, and Z}). The phrase "at least one of" and similar phrases are not intended to convey a requirement that each possible item must be present, although each possible item may be present.

[0060] The techniques presented and claimed herein are applied to material objects and specific examples of a practical nature that clearly improve the art, and are therefore not abstract, intangible, or purely theoretical. Furthermore, if any claim appended to the end of this specification contains one or more elements recited as "means for [performing] [function]" or "steps for [performing] [function]," it is intended that such elements be construed under 35 U.S.C. 112(f). However, for any claim that contains an element recited in any other manner, it is intended that such elements are not to be construed under 35 U.S.C. 112(f).

[0061] Although the present invention has been described with reference to exemplary embodiments thereof, those skilled in the art will be able to make various modifications to the described embodiments without departing from the true spirit and scope. The terms and descriptions used herein are set forth for illustrative purposes only and are not meant to be limiting. In particular, although the method has been described by way of example, the steps of the method may be performed in a different order than that shown, or simultaneously. Those skilled in the art will recognize that these and other variations are possible within the spirit and scope defined in the following claims and their equivalents.

Claims

1. 1. A method of providing a feed rate for three dimensional printing of a part, the method comprising: obtaining computer readable toolpath instructions for the part, the toolpath instructions specifying a nominal feed rate for a toolpath segment and spatial toolpath data for the toolpath segment; providing an input to a trained machine learning system, the trained machine learning system being trained using training data including training spatial toolpath data, training closed-loop gain data, and training feed rate data, the input including the spatial toolpath data; obtaining a modified feed rate for the toolpath segment that differs from the nominal feed rate for the toolpath segment, the modified feed rate being output from the trained machine learning system; and providing modified machine learning toolpath instructions, the modified feed rate comprising:

2. The method of claim 1 , further comprising printing the part using the modified computer readable toolpath instructions.

3. The method of claim 1 , wherein the input further comprises a predetermined closed loop gain value.

4. 2. The method of claim 1, wherein the training data includes data specific to the part, the method further comprising training the trained machine learning system using the training data.

5. The method of claim 1 , wherein the toolpath instructions specify an anisotropic region of the part that contains the toolpath segment.

6. The method of claim 5 , wherein the anisotropic region comprises at least one of an overhang, a perimeter, or a thin feature.

7. The method of claim 1 , wherein the spatial toolpath data for the toolpath segment includes at least one of a distance from an edge of the part, a distance from a corner of the part, or a rounding radius of the toolpath segment.

8. The method of claim 1 , wherein the training data further comprises training overhang angle data.

9. The method of claim 1 , wherein the training feed rate data comprises induced feed rate variations.

10. The method of claim 9 , wherein the induced feed rate variation comprises a periodic induced feed rate variation along an edge of a feature.

11. 1. A system for providing a feed rate for three dimensional printing of a part, the system comprising: an electronic processor; and persistent memory storing non-transitory computer readable instructions, the non-transitory computer readable instructions, when executed by the electronic processor, configure the electronic processor to perform actions, the actions including: obtaining computer readable toolpath instructions for the part, the toolpath instructions specifying a nominal feed rate for a toolpath segment and spatial toolpath data for the toolpath segment; providing an input to a trained machine learning system, the trained machine learning system being trained using training data including training spatial toolpath data, training closed-loop gain data, and training feed rate data, the input including the spatial toolpath data; obtaining a modified feed rate for the toolpath segment that differs from the nominal feed rate for the toolpath segment, the modified feed rate being output from the trained machine learning system; and providing modified computer readable toolpath instructions, wherein the modified machine learning toolpath instructions include the modified feed rate.

12. The system of claim 11 , wherein the actions further include printing the part using the modified computer readable toolpath instructions.

13. The system of claim 11 , wherein the input further comprises a predetermined closed loop gain value.

14. 12. The system of claim 11, wherein the training data comprises data specific to the part, and the action further comprises training the trained machine learning system using the training data.

15. The system of claim 11 , wherein the toolpath instructions specify an anisotropic region of the part that contains the toolpath segment.

16. The system of claim 15 , wherein the anisotropic region comprises at least one of an overhang, a perimeter, or a thin feature.

17. The system of claim 11 , wherein the spatial toolpath data for the toolpath segment includes at least one of a distance from an edge of the part, a distance from a corner of the part, or a rounding radius of the toolpath segment.

18. The system of claim 11 , wherein the training data further comprises training overhang angle data.

19. The system of claim 11 , wherein the training feed rate data comprises induced feed rate variations.

20. The system of claim 19 , wherein the induced feed rate variation comprises a periodic induced feed rate variation along an edge of a feature.