Multi-material nozzle collaborative control method and system for hybrid additive manufacturing
By layering the three-dimensional model and obtaining material allocation information, combining the single-spray and multi-spray head collaborative control strategy, the nozzle path is planned using PID controller and genetic algorithm, and the problem of collaborative control of multi-material nozzles in hybrid additive manufacturing is solved. It realizes an efficient and accurate printing process, meeting the needs of complex structures and functions.
Patent Information
- Application Number
- CN202410955150.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-17
AI Technical Summary
In hybrid additive manufacturing, how to jointly control multiple material nozzles so that they can accurately distribute and use different printing materials according to design requirements, especially when the physical and chemical properties of different materials vary greatly, and The existing technology cannot effectively realize interference or collision between the nozzles during printing.
By layering the three-dimensional model and obtaining material allocation information, the corresponding nozzle control strategy is implemented, including a collaborative control strategy for single and multi-spray heads. The temperature and motion path of nozzles are planned using PID controllers and genetic algorithms to ensure the nozzles’ nozzles’ Priority and path planning, reduce collisions and improve printing efficiency and accuracy.
Accurate control of different materials in the additive manufacturing process, reduces waiting time and nozzle switching time during printing, improves printing efficiency and continuity, avoids nozzle collisions, enhances material compatibility, and meets complexity The printing requirements of structure and function improve the accuracy and functionality of parts.
Smart Images

Figure CN118493859B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of additive manufacturing technology, and more specifically to a multi-material nozzle collaborative control method and system for hybrid additive manufacturing. Background Art
[0002] Additive manufacturing technology, also known as 3D printing technology, has attracted widespread attention around the world. With its unique "layer-by-layer" manufacturing method, additive manufacturing technology has completely changed the production model of traditional manufacturing and made it possible to quickly manufacture complex structural parts. Especially in the field of hybrid additive manufacturing, by using multiple materials in the same printing process, it not only enriches the diversity of product functions and performance, but also greatly broadens the scope of application of additive manufacturing technology.
[0003] However, achieving efficient and accurate multi-material mixed printing faces huge challenges. Among them, how to coordinately control multiple material nozzles so that they can accurately distribute and use different printing materials according to design requirements is one of the key technical difficulties. This not only involves the mechanical motion control of the nozzle, but also includes the fine management of the heating and extrusion processes of different materials. Specifically, there are two aspects of the problem: on the one hand, in the process of hybrid additive manufacturing, the physical and chemical properties of different printing materials vary greatly, and the requirements for control parameters such as temperature, pressure, and speed of the nozzle are also different. Different material nozzles require different precise control; on the other hand, in the printing process of multi-material nozzles, while ensuring that each nozzle can complete the printing task efficiently and accurately, it is necessary to coordinate the printing path movement between different printing material nozzles to avoid interference or collision.
[0004] The existing Chinese patent with authorization announcement number CN105269819B discloses a multi-nozzle 3D printer and its collaborative printing method, which includes a motion mechanism and a control unit; the motion mechanism includes a body, an XY motion assembly and a Z-axis motion mechanism fixed on the body, and a printing platform located on the Z-axis motion mechanism; the XY motion assembly is provided with N mutually independent X-axis motion mechanisms, N mutually independent Y-axis motion mechanisms and N mutually independent wire feeding mechanisms; the N≥1, and N is an integer; the printing platform is shared by all nozzles; multiple X-axis motion mechanisms and multiple Y-axis motion structures are arranged in parallel along the Y-axis guide rod. This invention uses multiple nozzles to share a printing platform to perform partitioned collaborative printing. The software realizes seamless connection between partitions through reasonable path planning, while avoiding mutual interference between multiple nozzles, thereby improving the 3D printing efficiency of large-scale preparation parts.
[0005] Although this method of partitioning the area to be printed and collaboratively controlling the movement trajectories of multiple nozzles can avoid mutual interference between multiple nozzles and improve printing efficiency, it cannot solve the problem raised in the background technology, that is, it cannot print on different materials. The paths of different print nozzles are only printed by dividing the areas, and the processing method is not flexible enough. Summary of the invention
[0006] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a multi-material nozzle collaborative control method and system for hybrid additive manufacturing. The corresponding nozzle control strategy is executed by printing the material distribution information of the model. The multi-nozzle collaborative control strategy plans the movement paths of nozzles of different printing materials, thereby reducing collisions and increasing printing efficiency and accuracy, thereby achieving precise control of different materials in the additive manufacturing process.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] On the one hand, the present invention provides a multi-material nozzle collaborative control method for hybrid additive manufacturing, which specifically includes the following steps:
[0009] S1: Layer the three-dimensional model and obtain the contour section path of each layer;
[0010] S2: Based on the material requirements for printing the 3D model, obtain the material allocation information of each layer of the cross-sectional path;
[0011] S3: Determine whether the same printing material is used in the same printing layer, if so, execute S4, otherwise execute S5;
[0012] S4: Control the corresponding material nozzle to complete printing based on the single nozzle control strategy;
[0013] S5: Control the corresponding material nozzles to complete printing based on the multi-nozzle collaborative control strategy;
[0014] S6: Repeat S3 until the printing of the three-dimensional model is completed;
[0015] S7: Evaluate the performance of the printed 3D model and optimize the multi-nozzle collaborative control strategy based on the performance evaluation results.
[0016] As a further improvement of the present invention, the single nozzle control strategy specifically includes:
[0017] Read the material type used for the current printing layer;
[0018] If it is a thermoplastic material, activate the thermoplastic material nozzle and control its heating temperature; use the PID controller to adjust the heating element to keep the nozzle temperature within the set range;
[0019] If it is a non-thermoplastic material, the corresponding non-thermoplastic material nozzle is activated, and the extrusion pressure and flow rate of the nozzle are controlled by the pressure sensor and the flow controller;
[0020] Printing is performed according to the predetermined nozzle movement path.
[0021] As a further improvement of the present invention, the multi-nozzle coordinated control strategy includes a temperature control strategy and a motion control strategy for nozzles of different materials, wherein:
[0022] The temperature control strategy includes the control of the thermoplastic material nozzle; the motion control strategy includes the control of the thermoplastic material nozzle and the non-thermoplastic material nozzle;
[0023] The motion control strategy includes speed control of multiple nozzles and printing path control.
[0024] As a further improvement of the present invention, the printing path control specifically includes the following steps:
[0025] S51: partitioning the current printing layer based on different printing materials, each partition corresponds to its printing material nozzle, and calculating the priority of each printing material nozzle;
[0026] The priority is determined based on the partition area of the current printing layer profile cross-section path. The larger the material printing area, the higher the nozzle priority of the corresponding material.
[0027] S52: Determine the moving path of the material nozzle with the highest priority;
[0028] S53: Determine a moving path of the material nozzle of the second priority based on the planned moving path of the material nozzle;
[0029] S54: repeat S53 until the moving paths of all material nozzles are determined;
[0030] S55: Convert the determined material nozzle movement path into G code format and store it in a G code file, and transmit it to the controller for controlling the nozzle to print. S52 determines the highest priority three-dimensional material nozzle movement path based on the genetic algorithm, and specifically includes the following steps:
[0031] S521: Divide the path to be planned into path segments of fixed length, obtain n path segments to be printed, and store them in a sequence to be printed;
[0032] S522: Encode each chromosome based on the encoding strategy. The specific encoding methods include:
[0033] The printing order of the path segments is represented by integer encoding, and a unique identifier is assigned to each path segment. For an n-segment path, an integer sequence of length n is used for encoding;
[0034] The starting coordinates of each path segment are represented by real numbers and the end point coordinates ;
[0035] S523: Randomly generate a specified number of individuals as the initial population;
[0036] S524: Calculate the fitness value of each individual based on the fitness function. The fitness function formula is:
[0037]
[0038] in, Represents the fitness function of the printing movement path of the first priority material nozzle, Indicates the moving path length of the nozzle after traversing all path segments;
[0039] S525: performing selection operation, crossover operation, and mutation operation in sequence to generate a new population;
[0040] S526: Repeat S524-S525 until the fitness values of the population for multiple consecutive generations converge;
[0041] S527: Select the individual with the highest fitness as the optimal path.
[0042] As a further improvement of the present invention, the moving path length of the nozzle is It consists of two parts: the print path of the nozzle and the idle travel path of the nozzle. The calculation formula is as follows:
[0043]
[0044] Among them, the value of i is 1, 2, 3, ..., n, and n is the path segment to be printed; represents the starting point coordinates of the i-th segment, represents the coordinates of the end point of the i-th segment, represents the starting point coordinates of the i+1th segment, is the weight coefficient.
[0045] As a further improvement of the present invention, the moving path of the second-priority material nozzle is determined based on a genetic algorithm, and the fitness is comprehensively evaluated by the moving path length of the second-priority material nozzle and the distance between the second-priority material nozzle and the first-priority material nozzle. The fitness function constructed is as follows:
[0046]
[0047] in, represents the fitness function of the printing movement path of the second priority material nozzle, and m represents the number of segments of the second priority material nozzle to be printed; It represents the moving path length of the second priority material nozzle after it traverses all path segments, and R represents the collision penalty index between the second priority material nozzle and the first priority material nozzle.
[0048] As a further improvement of the present invention, the specific calculation method of the collision penalty index is as follows:
[0049]
[0050] in, represents an exponential function with the natural constant e as the base, D represents the distance between two print heads in the same printing sequence path segment, which is calculated based on the starting coordinates of the two same printing sequence path segments, Indicates the safe distance between two nozzles, which is the minimum distance allowed when the two nozzles are working; k, is the weight coefficient.
[0051] As a further improvement of the present invention, the S7 specifically includes:
[0052] The performance evaluation is based on the accuracy evaluation of the printed model. By comparing the actual size of the printed model with the theoretical size of the design model, the printing size error rate is calculated, which specifically includes the following steps:
[0053] Measuring the printed model Get the actual measurement value of the size from the actual size;
[0054] Get the theoretical design value of the corresponding size of the model in the design file;
[0055] Calculate the total error rate between the actual measured value and the theoretical design value. The calculation formula is as follows:
[0056]
[0057] Where E represents the total size error rate, , Indicates the total number of dimensions that need to be measured. Indicates the actual measured value of the jth dimension of the printed model. represents the j-th theoretical design value of the design model;
[0058] The optimization of the multi-nozzle collaborative control strategy specifically includes:
[0059] Configure the total error rate threshold;
[0060] When the total error rate is less than or equal to the total error rate threshold, there is no need to optimize the multi-nozzle collaborative control strategy;
[0061] When the total error rate is greater than the total error rate threshold, the multi-nozzle collaborative control strategy is optimized, specifically including adjusting the printing parameters and printing paths of the printing material nozzles.
[0062] In a second aspect, the present invention provides a multi-material nozzle collaborative control system for hybrid additive manufacturing, including a three-dimensional model processing module, a material acquisition module, a printing judgment module, a nozzle control module, a printing execution module, a performance evaluation module, and a control optimization module, wherein:
[0063] The three-dimensional model processing module is used to process the three-dimensional model in layers and generate a two-dimensional profile section path for each layer;
[0064] The material acquisition module is used to obtain the material allocation information of each layer of the cross-section path;
[0065] The printing judgment module is used to judge whether the same printing material is used in the same printing layer, and decides to call the single nozzle control strategy or the multi-nozzle collaborative control strategy according to the judgment result;
[0066] The nozzle control module is used to control the material printing nozzle, including a single nozzle control unit and a multi-nozzle control unit;
[0067] The print execution module is used to control the print head to print according to the specified strategy and path;
[0068] The performance evaluation module is used to measure the dimensional accuracy of the printed model and calculate the total error rate to evaluate the printing performance;
[0069] The control optimization module is used to optimize the multi-nozzle collaborative control strategy based on the results of the performance evaluation module.
[0070] Beneficial effects of the present invention:
[0071] Through the slicing and layering of the 3D model and the material distribution information, the corresponding material nozzle control strategy is selected. Each nozzle works according to the optimal parameter setting and moving path, which reduces the waiting time and nozzle switching time during the printing process, and also improves the continuity and stability of printing, thereby significantly improving the printing efficiency;
[0072] For the coordinated control of multi-material nozzles, the priorities of nozzles of different materials are calculated, and the printing paths are planned in sequence through genetic algorithms according to the priority order. The movement paths of nozzles of materials with lower priorities are planned by adding collision penalty indexes in the genetic algorithm, which effectively avoids the collision problems that may occur during the printing process of multiple nozzles; improves the safety of the printing process, and further improves the printing efficiency and the accuracy of parts;
[0073] Different control strategies are designed for different thermoplastic materials and non-thermoplastic materials, which enables different materials to work together in the same printing layer and enhances the compatibility of materials, thereby meeting the printing needs of more complex structures and functions. The hybrid additive manufacturing system can flexibly respond to the printing needs of various materials. Users can freely choose and combine different materials according to the actual printing tasks, which increases the freedom and possibility of product design, so that the printed parts can better meet the needs of functionality and aesthetics. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1 A flow chart of the multi-material nozzle collaborative control method for hybrid additive manufacturing provided by the present invention;
[0075] Figure 2 A flow chart of determining a nozzle moving path in a multi-material nozzle collaborative control method for hybrid additive manufacturing provided by the present invention;
[0076] Figure 3 A structural diagram of a multi-material nozzle collaborative control system for hybrid additive manufacturing provided by the present invention;
[0077] Figure 4 An interactive diagram of the multi-material nozzle collaborative control system for hybrid additive manufacturing provided by the present invention. DETAILED DESCRIPTION
[0078] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0079] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0080] In order to keep the following description of the embodiments of the present invention clear and concise, detailed descriptions of well-known functions and well-known components are omitted.
[0081] Example 1
[0082] refer to Figure 1 to Figure 2 As shown, a specific implementation method of the multi-material nozzle collaborative control method for hybrid additive manufacturing of the present invention is shown, which specifically includes the following steps:
[0083] S1: Slice and layer the three-dimensional model to obtain the contour section path of each layer;
[0084] Set the slice thickness and use the slice software to slice the 3D model; obtain the 2D profile section of each printed layer; the slice thickness is set according to the printing material characteristics and the resolution and accuracy of the printer; and export the 2D profile section data of each layer, convert it into a G-code format file, and record the printing parameters of each layer in detail, including the planned path, printing speed, and acceleration.
[0085] S2: Based on the material requirements for printing the 3D model, obtain the material allocation information of each layer of the cross-sectional path;
[0086] The materials include thermoplastic materials, and slurries such as ceramics and cement that can be extruded through a nozzle without heating;
[0087] Establish a material property database and assign a unique code to each material; the material properties include melting point, viscosity, and curing time; the code facilitates software identification and calling;
[0088] According to the 3D model design, determine the type and amount of material to be used for each layer, and integrate the material allocation information into the slice data.
[0089] S3: Read the material allocation information of each printing layer to determine whether the same printing material is used in the same printing layer; if so, execute S4, otherwise execute S5;
[0090] S4: Control the material nozzle to complete printing based on the single nozzle control strategy, that is, for the case where the same material is used in the same layer;
[0091] The single nozzle control strategy specifically includes:
[0092] Read the material type used for the current printing layer;
[0093] If it is a thermoplastic material, activate the thermoplastic material nozzle and control its heating temperature; use the PID controller to adjust the heating element to keep the nozzle temperature within the set range;
[0094] If it is a non-thermoplastic material (such as ceramics, cement, etc.), the corresponding non-thermoplastic material nozzle is activated, and the extrusion pressure and flow rate of the nozzle are controlled by the pressure sensor and flow controller;
[0095] Printing is performed according to the predetermined nozzle movement path.
[0096] S5: Based on the multi-nozzle collaborative control strategy, the corresponding material nozzles are controlled to complete printing, that is, for the situation where different materials are used in the same layer;
[0097] The multi-nozzle coordinated control strategy includes a temperature control strategy and a motion control strategy for nozzles of different materials;
[0098] The temperature control strategy includes the control of the thermoplastic material nozzle; the motion control strategy includes the control of the thermoplastic material nozzle and the non-thermoplastic material nozzle;
[0099] The motion control strategy includes speed control of the multi-nozzle and printing path control, wherein the movement of the multi-nozzle in each printing layer maintains the same speed and performs uniform motion.
[0100] The control of the printing path specifically includes the following steps:
[0101] S51: partitioning the current printing layer based on different printing materials, each partition corresponds to its printing material nozzle, and calculating the priority of each printing material nozzle;
[0102] The priority is determined based on the partition area of the current printing layer profile cross-section path. The larger the material printing area, the higher the nozzle priority of the corresponding material. The nozzle priority value is determined by linear mapping;
[0103] S52: Determine the moving path of the material nozzle with the highest priority;
[0104] Wherein, S52 specifically includes the following steps:
[0105] S521: Divide the path to be planned into path segments of fixed length, obtain n path segments to be printed, and store them in a sequence to be printed;
[0106] S522: Encode each chromosome based on the encoding strategy;
[0107] Coding is to realize mathematical mapping, which is to convert the actual problem to be solved into chromosomes. A chromosome is a printing path of the print head, and the gene on the chromosome corresponds to a path segment. Each chromosome corresponds to a feasible printing path.
[0108] Each chromosome has n genes, each gene is a structure, and each structure stores basic information of the path segment, which specifically includes the path segment number, the coordinates of the path starting point, and the coordinates of the path end point. The specific encoding methods include:
[0109] The printing order of the path segments is represented by integer encoding, and a unique identifier is assigned to each path segment. For a path of n segments, an integer sequence of length n is used for encoding, and the encoding is used to represent the printing order of the path segments;
[0110] The starting coordinates of each path segment are represented by real numbers and the end point coordinates .
[0111] S523: Randomly generate a specified number of individuals as the initial population;
[0112] S524: Calculate the fitness value of each individual based on the fitness function. The fitness function formula is:
[0113]
[0114] in, Represents the fitness function of the printing movement path of the first priority material nozzle, It represents the moving path length of the nozzle after traversing all path segments. The calculation formula is as follows:
[0115]
[0116] Among them, the moving path length of the nozzle It consists of two parts: the print path of the nozzle and the idle travel path of the nozzle. The value of i is 1, 2, 3, ..., n, where n is the path segment to be printed; represents the starting point coordinates of the i-th segment, represents the coordinates of the end point of the i-th segment, represents the starting point coordinates of the i+1th segment, is the weight coefficient, which is set based on experience;
[0117] S525: performing selection operation, crossover operation, and mutation operation in sequence to generate a new population;
[0118] The selection operation is performed based on the fitness value of the individual, and the elite strategy is used to retain excellent individuals and improve the convergence speed of the algorithm;
[0119] The crossover operation refers to two pairs of paired chromosomes exchanging some of their genes in a certain way to form two new offspring. The present invention adopts a partial mapping crossover algorithm, randomly selects two individuals as the parent A and the parent B, selects two random numbers in [0, n) as the crossover points according to the chromosome length n, and the two crossover points divide the gene code into three sections. The parents A and B are crossed to generate offspring, and the crossover part is the segment between the two crossover points; check whether there is duplication between the crossover part and the uncrossover part of the offspring chromosome;
[0120] If there is no duplication, the fitness of the offspring and the parent is calculated respectively. If the fitness of the offspring is lower than that of the parent, the parent is kept, otherwise the offspring is retained for subsequent operations;
[0121] If there are duplications, keep the two fragments used for crossover unchanged, and exchange the other genes with duplications in the unexchanged fragments of the parent generations A and B one by one until all the duplicate genes are exchanged;
[0122] Repeat the above steps until enough offspring are obtained;
[0123] The mutation operation includes any one of reverse mutation, exchange mutation and insertion mutation to increase the diversity of the population;
[0124] S526: Repeat S524-S525 until the fitness values of the population for multiple consecutive generations converge;
[0125] S527: Select the individual with the highest fitness as the optimal path.
[0126] S53: Determine a moving path of the material nozzle of the second priority based on the planned moving path of the material nozzle;
[0127] Among them, the moving path of the second priority material nozzle is planned by genetic algorithm; the fitness is evaluated based on the moving path of the second priority material nozzle and the distance between the second priority material nozzle and the first priority material nozzle. The fitness function constructed is as follows:
[0128]
[0129] in, represents the fitness function of the printing movement path of the second priority material nozzle, and m represents the number of segments of the second priority material nozzle to be printed; It represents the moving path length of the second priority material nozzle after it traverses all path segments. The calculation method is the same as the calculation method of the moving path length of the first priority material nozzle. R represents the collision penalty index between the distance between the second priority material nozzle and the first priority material nozzle. The specific calculation method of the collision penalty index is as follows:
[0130]
[0131] in, represents an exponential function with the natural constant e as the base, D represents the distance between two print heads in the same printing sequence path segment; it is calculated based on the starting coordinates of two same printing sequence path segments, Indicates the safety distance between two nozzles. The safety distance is the minimum distance allowed when the two nozzles are working and is pre-configured based on experience; k, is the weight coefficient, which is set based on experience;
[0132] S54: repeat S53 until the moving paths of all material nozzles are determined;
[0133] S55: Convert the determined nozzle movement path into a G-code format and store it in a G-code file, which is then sent to a controller for controlling the nozzle to perform printing.
[0134] S6: repeat S3 until the printing of the three-dimensional model is completed;
[0135] S7: Evaluate the performance of the printed model and optimize the multi-nozzle collaborative control strategy based on the performance evaluation results.
[0136] The performance evaluation is based on the accuracy evaluation of the printed model;
[0137] Based on the comparison between the actual size of the printed model and the theoretical size of the designed model, the printing size error rate is calculated, which specifically includes the following steps:
[0138] Measuring the printed model Get the actual measurement value of the size from the actual size;
[0139] Get the theoretical design value of the corresponding size of the model in the design file;
[0140] Calculate the total error rate between the actual measured value and the theoretical design value. The calculation formula is as follows:
[0141]
[0142] Where E represents the total size error rate, , Indicates the total number of dimensions that need to be measured. Indicates the actual measured value of the jth dimension of the printed model. represents the j-th theoretical design value of the design model;
[0143] The optimization of the multi-nozzle collaborative control strategy specifically includes:
[0144] Configure the total error rate threshold;
[0145] When the total error rate is less than or equal to the total error rate threshold, there is no need to optimize the multi-nozzle collaborative control strategy;
[0146] When the total error rate is greater than the total error rate threshold, the multi-nozzle collaborative control strategy is optimized, specifically including adjusting the printing parameters and printing paths of the printing material nozzles.
[0147] Example 2
[0148] refer to Figure 3 and Figure 4 As shown, it is the second embodiment of the present invention; based on the same inventive concept as the first embodiment, this embodiment introduces a specific implementation of a multi-material nozzle collaborative control system for hybrid additive manufacturing, including a three-dimensional model processing module, a material acquisition module, a printing judgment module, a nozzle control module, a printing execution module, a performance evaluation module, and a control optimization module, wherein:
[0149] The three-dimensional model processing module is used to process the three-dimensional model in layers and generate two-dimensional profile section paths and model data for each layer;
[0150] The material acquisition module is used to allocate materials for each layer of cross-section path;
[0151] The printing judgment module is used to judge whether the same printing material is used in the same printing layer, and decides to call the single nozzle control strategy or the multi-nozzle collaborative control strategy according to the judgment result;
[0152] The nozzle control module is used to control the material printing nozzle, including a single nozzle control unit and a multi-nozzle control unit, where:
[0153] The single nozzle control unit controls the corresponding material nozzle to complete printing based on the single nozzle control strategy; the single nozzle control strategy controls the activation of the nozzle, adjusts the temperature, controls the extrusion pressure and flow rate, and prints according to a predetermined path;
[0154] The multi-nozzle control unit controls the corresponding material nozzles to complete printing based on the multi-nozzle collaborative control strategy; the multi-nozzle collaborative control strategy performs temperature control and nozzle movement path control;
[0155] The print execution module is used to receive the print selection signal from the print judgment module and the control signal from the nozzle control module, and control the nozzle to print according to the specified strategy and path;
[0156] The performance evaluation module is used to measure the dimensional accuracy of the printed model and calculate the total error rate to evaluate the printing performance;
[0157] The control optimization module is used to optimize the multi-nozzle collaborative control strategy based on the results of the performance evaluation module.
[0158] Working principle and its effect:
[0159] Through the slicing and layering of the 3D model and the material distribution information, the corresponding material nozzle control strategy is selected. Each nozzle works according to the optimal parameter setting and moving path, which reduces the waiting time and nozzle switching time during the printing process, and also improves the continuity and stability of printing, thereby significantly improving production efficiency;
[0160] For the coordinated control of multi-material nozzles, the priorities of nozzles of different materials are calculated, and the printing paths are planned in sequence through genetic algorithms according to the priority order. The movement paths of nozzles of materials with lower priorities are planned by adding collision penalty indexes in the genetic algorithm, which effectively avoids the collision problems that may occur during the printing process of multiple nozzles; improves the safety of the printing process, and further improves the printing efficiency and the accuracy of parts;
[0161] Different control strategies are designed for different thermoplastic materials and non-thermoplastic materials, so that the hybrid additive manufacturing system can flexibly respond to the printing needs of various materials. Users can freely choose and combine different materials according to the actual printing tasks, which greatly increases the freedom and possibility of product design, so that the printed parts can better meet the needs of functionality and aesthetics.
[0162] In addition, although exemplary embodiments have been described in the present invention, the scope includes any and all embodiments based on the present invention with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the execution of this application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the claims and the full scope of their equivalents.
[0163] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more schemes thereof) may be used in combination with each other. For example, a person of ordinary skill in the art may use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features may be grouped together to simplify the present invention. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present invention may be less than all the features of a particular disclosed embodiment. Thus, the claims are incorporated herein into the specific embodiments as examples or embodiments, wherein each claim is independently a separate embodiment, and it is considered that these embodiments may be combined with each other in various combinations or arrangements. The scope of the present invention should be determined with reference to the appended claims and the full scope of equivalent forms granted by these claims.
[0164] The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.
Claims
1. A multi-material nozzle collaborative control method for hybrid additive manufacturing, characterized in that: The specific steps include: S1: Layer the three-dimensional model and obtain the contour section path of each layer; S2: Based on the material requirements for printing the 3D model, obtain the material allocation information of each layer of the cross-sectional path; S3: Determine whether the same printing material is used in the same printing layer, if so, execute S4, otherwise execute S5; S4: Control the corresponding material nozzle to complete printing based on the single nozzle control strategy; S5: Control the corresponding material nozzles to complete printing based on the multi-nozzle collaborative control strategy; S6: Repeat S3 until the printing of the three-dimensional model is completed; S7: Evaluate the performance of the printed 3D model and optimize the multi-nozzle collaborative control strategy based on the performance evaluation results; The multi-nozzle collaborative control strategy includes printing path control, which specifically includes the following steps: S51: partitioning the current printing layer based on different printing materials, each partition corresponds to its printing material nozzle, and calculating the priority of each printing material nozzle; The priority is determined based on the partition area of the current printing layer profile cross-section path. The larger the material printing area, the higher the nozzle priority of the corresponding material. S52: Determine the moving path of the material nozzle with the highest priority; S53: Determine a moving path of the material nozzle of the second priority based on the planned moving path of the material nozzle; S54: repeat S53 until the moving paths of all material nozzles are determined; S55: converting the determined material nozzle moving path into a G code format and storing it in a G code file, and transmitting it to the controller for controlling the nozzle to print; The S52 determines the highest priority three-dimensional material nozzle moving path based on the genetic algorithm, specifically including the following steps: S521: Divide the path to be planned into path segments of fixed length, obtain n path segments to be printed, and store them in a sequence to be printed; S522: Encode each chromosome based on the encoding strategy. The specific encoding methods include: The printing order of the path segments is represented by integer encoding, and a unique identifier is assigned to each path segment. For an n-segment path, an integer sequence of length n is used for encoding; The starting coordinates of each path segment are represented by real numbers and the end point coordinates ; S523: Randomly generate a specified number of individuals as the initial population; S524: Calculate the fitness value of each individual based on the fitness function. The fitness function formula is: ; in, Represents the fitness function of the printing movement path of the first priority material nozzle, Indicates the moving path length of the nozzle after traversing all path segments; S525: performing selection operation, crossover operation, and mutation operation in sequence to generate a new population; S526: Repeat S524-S525 until the fitness values of the population for multiple consecutive generations converge; S527: Select the individual with the highest fitness as the optimal path; The moving path length of the nozzle It consists of two parts: the print path of the nozzle and the idle travel path of the nozzle. The calculation formula is as follows: ; Among them, the value of i is 1, 2, 3, ..., n, and n is the path segment to be printed; represents the starting point coordinates of the i-th segment, represents the coordinates of the end point of the i-th segment, represents the starting point coordinates of the i+1th segment, , is the weight coefficient.
2. The multi-material nozzle collaborative control method for hybrid additive manufacturing according to claim 1, characterized in that: The single nozzle control strategy specifically includes: Read the material type used for the current printing layer; If it is a thermoplastic material, activate the thermoplastic material nozzle and control its heating temperature; use the PID controller to adjust the heating element to keep the nozzle temperature within the set range; If it is a non-thermoplastic material, the corresponding non-thermoplastic material nozzle is activated, and the extrusion pressure and flow rate of the nozzle are controlled by the pressure sensor and the flow controller; Printing is performed according to the predetermined nozzle movement path.
3. The multi-material nozzle collaborative control method for hybrid additive manufacturing according to claim 2, characterized in that: The multi-nozzle coordinated control strategy includes a temperature control strategy and a motion control strategy for nozzles of different materials, wherein: The temperature control strategy includes the control of the thermoplastic material nozzle; the motion control strategy includes the control of the thermoplastic material nozzle and the non-thermoplastic material nozzle; The motion control strategy includes speed control of multiple nozzles and printing path control.
4. The multi-material nozzle collaborative control method for hybrid additive manufacturing according to claim 3, characterized in that: The moving path of the second-priority material nozzle is determined based on a genetic algorithm. The fitness is comprehensively evaluated by the moving path length of the second-priority material nozzle and the distance between the second-priority material nozzle and the first-priority material nozzle. The fitness function constructed is as follows: ; in, represents the fitness function of the printing movement path of the second priority material nozzle, and m represents the number of segments of the second priority material nozzle to be printed; It represents the moving path length of the second priority material nozzle after it traverses all path segments, and R represents the collision penalty index between the second priority material nozzle and the first priority material nozzle.
5. The multi-material nozzle collaborative control method for hybrid additive manufacturing according to claim 4, characterized in that: The specific calculation method of the collision penalty index is as follows: ; in, represents an exponential function with the natural constant e as the base, D represents the distance between two print heads in the same printing sequence path segment, which is calculated based on the starting coordinates of the two same printing sequence path segments, Indicates the safe distance between two nozzles, which is the minimum distance allowed when the two nozzles are working; k, is the weight coefficient.
6. The multi-material nozzle collaborative control method for hybrid additive manufacturing according to claim 5, characterized in that: The S7 specifically includes: The performance evaluation is based on the accuracy evaluation of the printed model. By comparing the actual size of the printed model with the theoretical size of the design model, the printing size error rate is calculated, which specifically includes the following steps: Measuring the printed model Get the actual measurement value of the size from the actual size; Get the theoretical design value of the corresponding size of the model in the design file; Calculate the total error rate between the actual measured value and the theoretical design value. The calculation formula is as follows: ; Where E represents the total size error rate, , Indicates the total number of dimensions that need to be measured. Indicates the actual measured value of the jth dimension of the printed model. represents the j-th theoretical design value of the design model; The optimization of the multi-nozzle collaborative control strategy specifically includes: Configure the total error rate threshold; When the total error rate is less than or equal to the total error rate threshold, there is no need to optimize the multi-nozzle collaborative control strategy; When the total error rate is greater than the total error rate threshold, the multi-nozzle collaborative control strategy is optimized, specifically including adjusting the printing parameters and printing paths of the printing material nozzles.
7. A multi-material nozzle collaborative control system for hybrid additive manufacturing, which is implemented according to the multi-material nozzle collaborative control method for hybrid additive manufacturing according to any one of claims 1 to 6, characterized in that: It includes 3D model processing module, material acquisition module, printing judgment module, nozzle control module, printing execution module, performance evaluation module and control optimization module, among which: The three-dimensional model processing module is used to process the three-dimensional model in layers and generate a two-dimensional profile section path for each layer; The material acquisition module is used to obtain the material allocation information of each layer of the cross-section path; The printing judgment module is used to judge whether the same printing material is used in the same printing layer, and decides to call the single nozzle control strategy or the multi-nozzle collaborative control strategy according to the judgment result; The nozzle control module is used to control the material printing nozzle, including a single nozzle control unit and a multi-nozzle control unit; The print execution module is used to control the print head to print according to the specified strategy and path; The performance evaluation module is used to measure the dimensional accuracy of the printed model and calculate the total error rate to evaluate the printing performance; The control optimization module is used to optimize the multi-nozzle collaborative control strategy based on the results of the performance evaluation module.
