Nozzle temperature control method and device in 3D printing process and computer equipment

By constructing a multi-dimensional vector group and calculating the temperature compensation coefficient, the nozzle temperature is dynamically adjusted, which solves the problem of a single nozzle temperature control strategy in traditional 3D printing, achieves precise control of the nozzle temperature during the 3D printing process, and improves printing quality and speed.

CN118849431APending Publication Date: 2024-10-29ZHENGZHOU XUNSI TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411305707.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The nozzle temperature control strategy in traditional 3D printing technology is single, which is difficult to meet the needs of complex structures and high-precision printing. It lacks real-time adjustment capabilities, resulting in poor melting state and extrusion smoothness of the printing material, affecting the quality of the final printed part.

Method used

By obtaining 3D printing command information, a multi-dimensional vector group set is constructed, the temperature compensation coefficient is calculated, and the temperature of the nozzle's preheating zone and end discharge zone is dynamically adjusted to achieve precise control of the nozzle temperature.

Benefits of technology

It improves the melting efficiency of printing consumables, avoids the problems of material degeneration, carbonization and delayed solidification, improves printing quality and speed, and meets the high-precision requirements of complex structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118849431A_ABST
    Figure CN118849431A_ABST
Patent Text Reader

Abstract

The invention relates to a nozzle temperature control method and device in the 3D printing process and computer equipment, and the method comprises the steps that 3D printing command information of a to-be-printed model is obtained; constructing a multi-dimensional vector group set according to the 3D printing command information, acquiring a first temperature compensation coefficient of each multi-dimensional vector group within the printing time, and correcting a reference control temperature of a preheating area of a nozzle within the printing time of each multi-dimensional vector group according to the first temperature compensation coefficient; and / or, acquiring a second temperature compensation coefficient of each multi-dimensional vector group within the printing time, and correcting the reference control temperature of the discharge area at the tail end of the nozzle within the printing time of each multi-dimensional vector group according to the second temperature compensation coefficient. According to the whole scheme, accurate nozzle temperature control in the 3D printing process can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of 3D printing technology, and in particular to a method, device, computer equipment, storage medium and computer program product for controlling nozzle temperature during 3D printing. Background Art

[0002] 3D printing, also known as three-dimensional printing or additive manufacturing, is a rapid prototyping technology that constructs objects by printing materials layer by layer based on 3D model files. The working principle of 3D printing is to decompose the object into many thin slices (or "layers") through computer-aided design software, and then use a 3D printer to print these slices layer by layer, and finally stack them into a complex three-dimensional structure. The printer is equipped with different "printing materials" such as metal, ceramic, plastic, sand, etc. These materials are stacked layer by layer under the control of the printer to form the final physical object.

[0003] In traditional 3D printing technology, nozzle temperature control is a crucial link, which directly affects the melting state of the printing material, the smoothness of extrusion and the quality of the final print. Traditional temperature control strategies often use fixed temperature settings or simple temperature adjustment rules, and lack the ability to adjust the temperature in real time according to the printing material and printing conditions. This single control strategy is difficult to meet the needs of complex structures and high-precision printing tasks.

[0004] Therefore, there is an urgent need for an accurate nozzle temperature control solution during the 3D printing process. Summary of the invention

[0005] Based on this, it is necessary to provide an accurate nozzle temperature control method, device, computer equipment, storage medium and computer program product during 3D printing to address the above technical problems.

[0006] In a first aspect, the present application provides a method for controlling nozzle temperature during 3D printing, the method comprising:

[0007] Obtain 3D printing command information of the model to be printed;

[0008] Constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information, and extrusion flow rate information;

[0009] Acquire a first temperature compensation coefficient during the printing time of each multidimensional vector group, and correct a reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient;

[0010] And / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting the reference control temperature of the end discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0011] In one embodiment, obtaining the first temperature compensation coefficient within the printing time of each multi-dimensional vector group comprises the steps of:

[0012] Calculate the average extrusion speed of the consumables for each multi-dimensional vector group;

[0013] A first temperature compensation coefficient within the printing time of each multi-dimensional vector group is obtained according to the average extrusion speed of the consumable material and the reference extrusion speed.

[0014] In one embodiment, the first temperature compensation coefficient , ,in is the average extrusion speed of the consumables in each multidimensional vector group, It is the preset base extrusion speed.

[0015] In one embodiment, the controlled temperature of the preheating zone of the nozzle after correction is , ,in Control the temperature to a preset benchmark, is the first temperature compensation coefficient, is the first correction constant.

[0016] In one embodiment, obtaining the second temperature compensation coefficient within the printing time of each multi-dimensional vector group comprises the steps of:

[0017] Obtaining the printing position information of each element in each multidimensional vector group;

[0018] Acquire the minimum hexahedral bounding box information surrounding all the printing position information of each multi-dimensional vector group according to the printing position information;

[0019] A second temperature compensation coefficient within the printing time of each multidimensional vector group is obtained according to the number of layers corresponding to the minimum hexahedral bounding box, the bottom area of ​​the minimum hexahedral bounding box, and the printing time of each multidimensional vector group.

[0020] In one embodiment, the second temperature compensation coefficient , ,in is the bottom area of ​​the bounding box, is the number of layers corresponding to the bounding box, Print times for each multidimensional vector group.

[0021] In one embodiment, the controlled temperature of the end discharge zone of the nozzle after correction is , ,in Control the temperature to a preset benchmark, is the second temperature compensation coefficient, is the second correction constant.

[0022] In one embodiment, obtaining 3D printing command information of a model to be printed, and constructing a multidimensional vector group set according to the 3D printing command information, comprises the steps of:

[0023] Get the G code of the model to be printed;

[0024] Extracting the printing position information, the consumable material feeding speed information and the consumable material extrusion flow rate information in the G code one by one to form the corresponding elements, and all the elements constitute an element vector set;

[0025] The elements in the element vector set are divided into at least two groups to form the multi-dimensional vector group.

[0026] In one embodiment, obtaining 3D printing command information of a model to be printed includes:

[0027] Parse the STL file for 3D printing and read the 3D triangle vertex information and normal vector coordinates of the model;

[0028] Path planning is performed according to the printing parameters set by the user, as well as the vertex information and normal vector coordinates of the 3D triangle face;

[0029] Generate 3D printing command information based on path planning results;

[0030] In response to the print selection operation, 3D printing command information of the model to be printed is selected.

[0031] In a second aspect, the present application also provides a nozzle temperature control device during 3D printing, characterized in that the device comprises:

[0032] A 3D printing command acquisition module is used to obtain 3D printing command information of a model to be printed;

[0033] A command parsing module, used for constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information and extrusion flow rate information;

[0034] A temperature compensation calculation module, used to obtain a first temperature compensation coefficient within the printing time of each multi-dimensional vector group, and / or used to obtain a second temperature compensation coefficient within the printing time of each multi-dimensional vector group;

[0035] A temperature control module is used to correct the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or to correct the reference control temperature of the end discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0036] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0037] Obtain 3D printing command information of the model to be printed;

[0038] Constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information, and extrusion flow rate information;

[0039] Acquire a first temperature compensation coefficient during the printing time of each multidimensional vector group, and correct a reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient;

[0040] And / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting the reference control temperature of the end discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0041] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0042] Obtain 3D printing command information of the model to be printed;

[0043] Constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information, and extrusion flow rate information;

[0044] Acquire a first temperature compensation coefficient during the printing time of each multidimensional vector group, and correct a reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient;

[0045] And / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting the reference control temperature of the end discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0046] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0047] Obtain 3D printing command information of the model to be printed;

[0048] Constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information, and extrusion flow rate information;

[0049] Acquire a first temperature compensation coefficient during the printing time of each multidimensional vector group, and correct a reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient;

[0050] And / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting the reference control temperature of the end discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0051] The nozzle temperature control method, device, computer equipment, storage medium and computer program product in the above 3D printing process obtain 3D printing command information of the model to be printed; construct a multidimensional vector group set according to the 3D printing command information, obtain the first temperature compensation coefficient of each multidimensional vector group during the printing time, and correct the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or obtain the second temperature compensation coefficient of each multidimensional vector group during the printing time, and correct the reference control temperature of the end discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient. During the entire processing process, since each element of the multidimensional vector group includes at least printing position information, consumables feeding speed information and extrusion flow information, the temperature of the preheating zone and / or the end discharge zone of the nozzle can be controlled according to the real-time situation in the 3D printing process, thereby achieving accurate nozzle temperature control in the 3D printing process. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A diagram showing an application environment of a nozzle temperature control method in a 3D printing process in one embodiment;

[0053] Figure 2 A schematic diagram of a flow chart of a nozzle temperature control method during 3D printing in one embodiment;

[0054] Figure 3 This is a schematic diagram of the temperature control area in the 3D printing system;

[0055] Figure 4 is a schematic diagram of a sub-process of S600 in an embodiment;

[0056] Figure 5 is a schematic diagram of a sub-process of S800 in an embodiment;

[0057] Figure 6 It is a schematic diagram of the smallest hexahedron;

[0058] Figure 7 is a schematic diagram of a sub-process of S200 in one embodiment;

[0059] Figure 8 It is a flow chart of a nozzle temperature control method in a 3D printing process in a specific application example;

[0060] Fig. 9 is a structural block diagram of a nozzle temperature control device in a 3D printing process in one embodiment;

[0061] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment.

[0062] In the figure, a controller 102, a 3D printing device 104, a preheating zone 301, a melting zone 302, a terminal discharge zone 303, a 3D printing command acquisition module 200, a command parsing module 400, a temperature compensation calculation module 600, and a temperature control module 800 are shown. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0064] In order to explain in detail the technical principle of the nozzle temperature control method during the 3D printing process of the present application, the following will first introduce the contents related to the nozzle temperature during the 3D printing process.

[0065] There is no precedent for temperature control in different melting functional zones in the prior art. In view of the current status of the prior art, in order to increase the printing speed (printing speed is the distance the print head moves per unit time, such as 200mm / s, 400mm / s, 600mm / s, 1200mm / s, etc., the increase in printing speed is closely related to the melting efficiency per unit time, and a higher printing speed requires a higher melting efficiency), after a large number of experiments, it was found that appropriately increasing the temperature in the preheating zone, for example, raising the temperature in the preheating zone of the print nozzle to a temperature close to the glass transition temperature of the printing consumables, and maximizing the heat accumulation before entering the melting zone will significantly improve the melting efficiency (printing melting function, in 3D printing technology, usually refers to the process of heating the material to a molten state and then stacking it layer by layer to form a three-dimensional entity. This function is widely used in a variety of 3D printing technologies, such as fused deposition modeling (FDM) and selective laser melting (SLM)). However, in-depth research has found that the temperature at the exit of the print head will be transferred to the lower part along with the heat transfer of the upper preheating zone, which is not conducive to the solidification of the discharged consumables during the printing process, and will cause the material to be denatured and carbonized due to the high temperature. In response to this situation, this application considers dynamically adjusting the temperature of the end nozzle during the printing process to achieve an appropriate heating temperature in the preheating zone to increase the melting efficiency, and / or a relatively reasonable outlet temperature at the exit of the nozzle to achieve precise nozzle temperature control during 3D printing, thereby avoiding the phenomenon of delayed solidification of consumables and denaturation and carbonization of printing materials due to thermal radiation.

[0066] Based on the above technical principles, the nozzle temperature control method in the 3D printing process provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the controller 102 controls the nozzle temperature in the 3D printing device 104, and the controller 102 obtains the 3D printing command information of the model to be printed; constructs a multidimensional vector group set according to the 3D printing command information, obtains the first temperature compensation coefficient of each multidimensional vector group during the printing time, and corrects the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or, obtains the second temperature compensation coefficient of each multidimensional vector group during the printing time, and corrects the reference control temperature of the terminal discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient. The above-mentioned controller 102 compensates (or corrects) the temperature of the preheating zone and / or the temperature of the terminal discharge zone of the printer print head within a period of printing time, so that the temperature of the preheating zone is appropriate, the melting efficiency of the printing consumables is improved, and it is conducive to realizing fast printing, so that the temperature of the terminal discharge zone is kept reasonable, and the printing of the model will not cause the consumables to solidify in time and the printing material to be denatured and carbonized due to excessive heat radiation in the terminal discharge zone, which is conducive to improving the printing quality.

[0067] like Figure 2 As shown, in one embodiment, the present application provides a method for controlling nozzle temperature during 3D printing, the method comprising:

[0068] S200: Acquire 3D printing command information of a model to be printed.

[0069] Precise nozzle temperature control is required during 3D printing. The conventional nozzle temperature control process is to build a 3D model → slice the model → generate G code → the printer recognizes the nozzle temperature control G code (such as M203, M204 and other commands) → the printer nozzle heating control → complete printing. Here, you can use 3D modeling software (such as SolidWorks, Blender, AutoCAD, etc.) to design or obtain 3D models. These software can be used to create or modify three-dimensional objects to meet different printing needs. Converting a 3D model to G code can be achieved through slicing software. After completing the slicing parameter setting, perform the slicing operation. The slicing software will automatically process the model and generate the corresponding G code file. Then select the corresponding G code file for the model to be printed, that is, obtain the 3D printing command information of the model to be printed.

[0070] S400: constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable feeding speed information and extrusion flow information.

[0071] Each multidimensional vector group contains at least 2 elements. In some embodiments of the present application, the number of elements contained in each multidimensional vector group may also be different, which can be specifically adjusted according to the number of commands corresponding to a certain layer of slices, or dynamically according to demand. Further, each element includes at least three parts: printing position information, consumables feeding speed information and extrusion flow information. Among them, printing position information: This usually includes three coordinate values ​​of X, Y, and Z, indicating the specific position in 3D space. Consumables feeding speed information: This indicates the speed at which consumables (such as PLA, ABS, PETG, PET and other thermoplastic material filaments) are fed into the heating chamber, usually expressed in length per unit time (such as mm / s). Extrusion flow information: This indicates the length of the consumable filament input to the nozzle, usually in mm.

[0072] In the 3D printing command information, the commands that control the printing position (i.e., moving the print head to the specified coordinates) and the amount of filament extrusion are usually the most basic components. By analyzing the 3D printing command information obtained by S200, the printing position information, filament feed speed information, and filament extrusion flow information are extracted. More specifically, the G code command includes G0 / G1: these two commands are responsible for linear motion and extrusion. Generally, G0 is a fast move (without extruding material), such as the starting move, while G1 is a linear interpolation (usually used to extrude material during printing). G1 includes all extrusion linear motions. The parameters of G0 or G1 include the final position information of the X-axis, Y-axis, and Z-axis, the amount of extrusion to be performed during the move, and the feed speed. For example, G1 X90 Y50Z0.5 F3000 E10 tells the printer to move linearly (G1) to the final coordinates X = 90 mm, Y =50 mm, Z = 0.5 mm at a feed speed (F) of 3,000 mm / min, while extruding (E) 10mm of material in the extruder. M104 and M140: These two commands are used to set the temperature of the extruder head and the hot bed respectively. Although they do not directly control the extrusion volume, they are crucial for controlling the extrusion process (such as material fluidity and viscosity).

[0073] Specifically, here we can first extract the printing position information, material feeding speed information and extrusion flow information corresponding to each 3D printing command based on the 3D printing command information, and then combine the extracted information to generate different multidimensional vector groups, and then put these multidimensional vector groups into the same set to obtain a multidimensional vector group set.

[0074] S600: Obtain a first temperature compensation coefficient within the printing time of each multi-dimensional vector group, and correct a reference control temperature of a preheating zone of a nozzle within the printing time of each multi-dimensional vector group according to the first temperature compensation coefficient.

[0075] The first temperature compensation coefficient is the temperature compensation coefficient for the preheating zone of the nozzle. Specifically, the data of each element contained in the multidimensional vector group obtained in S400 is analyzed, and then the first temperature compensation coefficient of the printing time of each multidimensional vector group is obtained based on the analysis result. Furthermore, since the preheating zone is used to preheat the consumables to significantly improve the melting efficiency, it is necessary to analyze and obtain the average extrusion speed of the consumables first. When the average extrusion speed of the consumables is large, the corresponding melting temperature needs to be higher.

[0076] S800: and / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting a reference control temperature of a terminal discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0077] like Figure 3 As shown, during the entire 3D printing process, the entire nozzle is divided into three parts: a preheating zone 301, a melting zone 302, and a terminal discharge zone 303. The nozzle temperature control mainly includes the temperature control of the preheating zone and the terminal discharge zone. Therefore, in addition to compensating for the temperature of the nozzle preheating zone, the terminal discharge zone of the nozzle can also be temperature compensated at the same time; or, only the terminal discharge zone of the nozzle can be temperature compensated. Specifically, the data contained in the multidimensional vector group obtained in S400 is analyzed, and then the second temperature compensation coefficient of the printing time of each multidimensional vector group is obtained based on the analysis results. Furthermore, since it is mainly necessary to consider that the temperature at the outlet position of the print nozzle in the terminal discharge zone will be transferred to the lower part with the heat transfer of the upper preheating zone, it is not conducive to the solidification of the outflowing consumables during the printing process, and the material will be denatured and carbonized due to the high temperature. Therefore, at this time, parameters such as heat transfer, printing area, and the total movement time of the consumables during the entire printing process are required to determine the second temperature compensation coefficient.

[0078] In the above temperature control process for the preheating zone and the terminal discharge zone, the temperature can be adjusted by the temperature compensation coefficient based on the preset reference temperature to determine the adjusted temperature. Further, as mentioned above, the temperature compensation coefficient can include a first temperature compensation coefficient; or a second temperature compensation coefficient; or a first temperature compensation coefficient and a second temperature compensation coefficient. Similarly, when performing nozzle temperature control, it can be selected to perform temperature control on the preheating zone of the nozzle based only on the first temperature compensation coefficient, or to perform temperature control on the terminal discharge zone of the nozzle based only on the second temperature compensation coefficient; or to perform temperature control on the preheating zone of the nozzle based on the first temperature compensation coefficient and on the terminal discharge zone of the nozzle based on the second temperature compensation coefficient at the same time.

[0079] The nozzle temperature control method in the above 3D printing process obtains 3D printing command information of the model to be printed; constructs a multidimensional vector group set according to the 3D printing command information, obtains the first temperature compensation coefficient of each multidimensional vector group during the printing time, and corrects the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or obtains the second temperature compensation coefficient of each multidimensional vector group during the printing time, and corrects the reference control temperature of the end discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient. During the entire processing process, since each element of the multidimensional vector group includes at least printing position information, consumables feeding speed information and extrusion flow information, the temperature of the preheating zone and / or the end discharge zone of the nozzle can be controlled according to the real-time situation during the 3D printing process, thereby achieving accurate nozzle temperature control during the 3D printing process.

[0080] In one embodiment, the present application also provides a specific method for calculating the first temperature compensation coefficient. Specifically, Figure 4 As shown, the above S600 includes:

[0081] S620: Calculate the average extrusion speed of the consumables of each multi-dimensional vector group;

[0082] S640: Obtain a first temperature compensation coefficient within the printing time of each multi-dimensional vector group according to the average extrusion speed of the consumables and the reference extrusion speed.

[0083] In this embodiment, the average extrusion speed of the consumables is calculated for each multidimensional vector group, and then the first temperature compensation coefficient is obtained based on the average extrusion speed of the consumables and the reference extrusion speed. p , m p contains t elements, indexed from t×p to (Note: the × operator in this application means multiplication, the same below), where t is an integer greater than 1, and the printing time of each multidimensional vector group parsed is:

[0084] .

[0085] In the above formula, i is a positive integer less than or equal to t, , , is m p The index is The position coordinates in the corresponding element, , , is m p The index is The position coordinates in the corresponding element, , , is the p+1th multidimensional vector group in the multidimensional vector group set m The corresponding position coordinates in the first element of is m p The index is The feed rate in the corresponding element, is m p The index is Corresponds to the feed rate in the element. is the p+1th multidimensional vector group m in the multidimensional vector group set m p+1 The feed rate in the first element.

[0086] The average extrusion speed analyzed is:

[0087] .

[0088] In the above formula, the extrusion amount e in the G code is a cumulative amount. is m p The index is The amount of extrusion in the corresponding element represents the amount of extrusion in a period of time (i.e., the multidimensional vector group m p The extrusion amount corresponding to the time point of the last element in the printing time) is m p The index is The amount of extrusion in the corresponding element represents the amount of extrusion in a period of time (i.e., the multidimensional vector group m p The extrusion amount corresponding to the time point of the initial element during the printing time.

[0089] Based on the above formula, we can know that when The larger the value, the higher the melting temperature required. Further, the preset reference extrusion speed is obtained. , calculate the first temperature compensation coefficient .

[0090] Furthermore, here, the first difference between the average extrusion speed and the preset reference extrusion speed can be calculated first; the ratio of the first difference to the preset reference extrusion speed can be calculated to obtain the first temperature compensation coefficient .

[0091] Specifically, the first temperature compensation coefficient Satisfies the following formula:

[0092] .

[0093] The purpose of the above is to obtain the first temperature compensation coefficient (preheating zone temperature compensation coefficient) , when V p >V base When the temperature compensation coefficient is positive, compared with the V base The temperature under the printing speed needs to be increased. Because when the printing speed is high, the melting of the printing material is certain at the same temperature. If you want to improve the melting ability at the original speed, you need to increase the heating temperature. base It is the value within the extrusion rate range with better printing effect measured by experiment. It cannot effectively reflect the impact of insufficient melting of filaments during printing at different speeds. The average extrusion speed V is introduced and calculated. p Compare with the reference extrusion rate to obtain the first temperature compensation coefficient .

[0094] In one embodiment, the controlled temperature of the preheating zone of the calibrated nozzle is , ,in Control the temperature to a preset benchmark, is the first temperature compensation coefficient, is the first correction constant. Specifically, the control temperature of the preheating zone Equal to the preset reference control temperature Add the first compensation temperature; the first compensation temperature is equal to the first temperature compensation coefficient Multiply by the preset reference control temperature Multiply by the first correction constant . Preset reference control temperature This is the base temperature set when no temperature compensation is performed. :This constant is obtained by testing at different temperatures and observing the temperature loss rate (or temperature decay rate). It reflects the degree of deviation of the temperature from the set value to the actual value under different conditions. Then, combined with the first correction constant Control temperature to preset reference Perform a calibration to obtain the controlled temperature of the preheating zone of the nozzle.

[0095] In one embodiment, the present application also provides a specific method for calculating the second temperature compensation coefficient. Specifically, Figure 5 As shown, the above S800 includes the steps of:

[0096] S820: Obtain printing position information of each element in each multi-dimensional vector group.

[0097] The printing position information is obtained from each multidimensional vector group respectively.

[0098] S840: Obtain the minimum hexahedral bounding box information surrounding all the printing position information of each multi-dimensional vector group according to the printing position information.

[0099] The minimum hexahedron outer facade corresponding to the position point is determined according to the printing position information, and then the minimum hexahedron bounding box information is further obtained.

[0100] S860: Obtain a second temperature compensation coefficient within the printing time of each multidimensional vector group according to the number of layers corresponding to the minimum hexahedral bounding box, the bottom area of ​​the minimum hexahedral bounding box, and the printing time of each multidimensional vector group.

[0101] Further analysis of the number of layers corresponding to the minimum hexahedron bounding box and the bottom area of ​​the minimum hexahedron bounding box are used to calculate the second temperature compensation coefficient. For example, in parsing During the process, define the point is infinitesimal (or a number much smaller than all coordinate values). is infinite (or a number much larger than all coordinate values). The point corresponding to the element in For each point, compare its coordinates with the current minimum and maximum values ​​and assign them to The minimum vertex obtained and the maximum vertex To determine the boundary of the minimum hexahedron. The coordinates of a vertex of the minimum hexahedron are , the coordinates of its diagonal vertices are .but All the points corresponding to the G commands containing indices in the and The diagonal hexahedron is as follows: Figure 6 As shown. The shape enclosed by the smallest hexahedron facade is defined as a bounding box. The bottom area of ​​the bounding box is:

[0102] .

[0103] The known height of each layer is h, and the number of layers corresponding to the bounding box is:

[0104] .

[0105] Define the temperature compensation coefficient of the end discharge area satisfy:

[0106] .

[0107] So the layer height The larger the area The smaller, the time The larger the temperature compensation coefficient of the end discharge area is, the The larger the When the threshold is exceeded, the hot end will reciprocate in a very small area for a long time. At this time, the influence of the hot end's thermal radiation on the solidification of the filament is more obvious, and the required heat dissipation pressure is greater.

[0108] In one embodiment, the controlled temperature of the end discharge area of ​​the calibrated nozzle is , ,in Control the temperature to a preset benchmark, is the second temperature compensation coefficient, is the second correction constant. Specifically, the control temperature of the preheating zone Equal to the preset reference control temperature Add the second compensation temperature; the second compensation temperature is equal to the second temperature compensation coefficient Multiply by the preset reference control temperature Multiply by the second correction constant .

[0109] Control temperature of the preheating zone of the nozzle Similarly, a second temperature compensation coefficient is used here (Temperature compensation coefficient of the end discharge area), the second correction constant The control temperature of the end discharge area of ​​the nozzle can be calculated based on the preset reference control temperature. Temperature control of the end discharge area of ​​the nozzle based on this temperature can ensure that the consumables can be melted evenly and stably during the printing process.

[0110] In one embodiment, obtaining 3D printing command information of a model to be printed, and constructing a multi-dimensional vector group set according to the 3D printing command information, comprises the steps of:

[0111] Step 1: Get the G code of the model to be printed;

[0112] Step 2: Extract the printing position information, filament feeding speed information and filament extrusion flow information in the G code one by one to form corresponding elements, and all elements constitute an element vector set.

[0113] Extract all data related to controlling the printing position (such as G0, G1 and other commands, which specify the movement path of the print head), filament feed speed information, and filament extrusion flow from the G-code file of the model. Since G-code follows a certain format and syntax, regular expressions can be used to identify and extract key information in G-code commands, such as command type (G0, G1, E, etc.), parameter values ​​(position coordinates x, y, z or extrusion length e), etc. This step converts G-code commands into structured data that is easier to process. Combine the parsed command elements (such as command type, parameter values, etc.) into a command set according to their order in the G-code file. This set fully reflects the movement and extrusion behavior of the filament during the printing process. Specifically, all n G-code commands that control the printing position and filament extrusion amount can be added to a set Among them Among them Each element in includes a three-dimensional coordinate information, filament feed speed information, and extrusion amount information. By using regular expressions, the above information can be read out and stored in a five-dimensional array. ,in, is the three-dimensional coordinate, is the material feeding speed, The extrusion amount.

[0114] Step 3: Divide the elements in the element vector set into at least two groups to form a multi-dimensional vector group.

[0115] The obtained element vector set is divided into at least two multidimensional vector groups. Specifically, the elements in the element vector set can be evenly divided into multiple groups, for example Divide each group of t elements into n / t groups, and store the index of each group of elements after equal division into the index set m. .in . Index collection Elements satisfy: .

[0116] In one embodiment, if Figure 7 As shown, S200 includes:

[0117] S220: Parse the STL file for 3D printing and read the vertex information and normal vector coordinates of the 3D triangle face of the model.

[0118] Triangles are the basic units that make up the surface of a 3D model. A triangle consists of 3 vertices, 3 edges, and normal vector coordinates perpendicular to the triangle. These parameters together determine the spatial position and spatial angle information of each triangle. The vertex information of a triangle is one of the most important parts of an STL file. Each vertex is represented by its coordinate value (x, y, z) in 3D space. These coordinate values ​​define the position and direction of the triangle in 3D space. By reading this vertex information, the slicing software can construct a complete 3D model surface and perform subsequent slicing processing. Specifically, here you can use the slicing software to import STL files, parse the model, and read the 3D triangle vertex information and normal vector coordinates.

[0119] S240: Perform path planning according to the printing parameters set by the user, as well as the 3D triangle patch vertex information and normal vector coordinates.

[0120] The printing parameters set by the user may specifically include information such as layer height, filling density, printing speed, support structure, etc. Path planning is performed based on the above information.

[0121] S260: Generate 3D printing command information based on the path planning result.

[0122] The 3D printing command information is generated by the path planning result. Further, the generated 3D printing command information can be imported into the storage space (memory) of the 3D printer.

[0123] S280: In response to the print selection operation, 3D printing command information of the model to be printed is selected.

[0124] When the 3D printer is working later, the user operates on the 3D printer, and the 3D printer receives the start printing command and selects the 3D printing command information of the model to be printed based on the user's selection operation. Specifically, the 3D printing command information can be a G code, which is the basic control language for controlling the 3D printer. It can control the movement of the printer's hot end, the heating of the hot bed, the heating of the hot end, the extrusion of the consumables, and other functions. Here, the main G codes involved are the G code commands related to controlling the movement of the hot end and controlling the extrusion of the consumables, the heating of the hot end, and the heat dissipation.

[0125] Overall, if Figure 8 As shown, the nozzle temperature control method in the 3D printing process of the present application specifically includes the following steps:

[0126] 1. The slicing software imports the STL file, parses the model, and reads the 3D triangle vertex information and normal vector coordinates.

[0127] 2. Generate Gcode through path planning and import the Gcode into the 3D printer memory.

[0128] 3. Extract n / t sets of vector sets m from n 3D printing commands. Each vector element contains five pieces of information: the x-coordinate, y-coordinate, and z-coordinate of the final moving position, the filament feeding speed, and the filament extrusion amount.

[0129] 4. Analyze the printing time T of each multidimensional vector group from m p ; And then get the average extrusion speed V p .

[0130] 5. Through V p With the defined reference speed V base Get the printing time T of each multidimensional vector group p Temperature compensation coefficient within .

[0131] 6. Analyze the x, y, z coordinate point sets in the m set. Obtain the smallest hexahedron that envelops all x, y, z point sets. It should be noted that step 6 and step 4 can be performed simultaneously, that is, after analyzing the printing time T of each multidimensional vector group, p And the average extrusion speed V p Furthermore, here, step 6 and step 4 may be performed by first performing step 6 and then performing step 4, that is, first performing the minimum hexahedron, and then performing the multi-dimensional vector group printing time T p And the average extrusion speed V p The specific execution order of step 6 and step 4 can be adjusted based on actual needs.

[0132] 7. By defining a bounding box by enclosing the shape with the smallest hexahedron exterior facade, we can get the bottom area A of the bounding box. p And the number of printing layers C p .

[0133] 8. According to the bottom area A of the bounding box p 、Number of printing layers C p And the printing time T for each multidimensional vector group p Get the printing time T of each multidimensional vector group p Temperature control coefficient within ; The larger it is, the more the hot end reciprocates in a very small area.

[0134] 9. Pass , Value, first correction constant , the second correction constant With reference temperature , according to the temperature correction formula, the printing time T of each multidimensional vector group is obtained p Target temperature of preheating zone and end discharging zone ; .

[0135] 10. Adjust the temperature of the preheating zone and the end discharge zone to , is the final target temperature.

[0136] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0137] Based on the same inventive concept, the embodiment of the present application also provides a nozzle temperature control device during 3D printing for implementing the nozzle temperature control method during 3D printing involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more nozzle temperature control devices during 3D printing provided below can refer to the limitations of the nozzle temperature control method during 3D printing above, and will not be repeated here.

[0138] In one embodiment, Fig. 9 As shown, a nozzle temperature control device in a 3D printing process is provided, comprising:

[0139] The 3D printing command acquisition module 200 is used to acquire 3D printing command information of the model to be printed;

[0140] The command parsing module 400 is used to construct a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information and extrusion flow rate information;

[0141] A temperature compensation calculation module 600 is used to obtain a first temperature compensation coefficient within the printing time of each multi-dimensional vector group, and / or to obtain a second temperature compensation coefficient within the printing time of each multi-dimensional vector group;

[0142] The temperature control module 800 is used to correct the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or, to correct the reference control temperature of the end discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

[0143] In one embodiment, the temperature compensation calculation module 600 is also used to calculate the average extrusion speed of the consumables of each multi-dimensional vector group; according to the average extrusion speed of the consumables and the reference extrusion speed, the first temperature compensation coefficient within the printing time of each multi-dimensional vector group is obtained.

[0144] In one embodiment, the first temperature compensation coefficient , ,in is the average extrusion speed of the consumables in each multidimensional vector group, It is the preset base extrusion speed.

[0145] In one embodiment, the controlled temperature of the preheating zone of the calibrated nozzle is , ,in Control the temperature to a preset benchmark, is the first temperature compensation coefficient, is the first correction constant.

[0146] In one embodiment, the temperature compensation calculation module 600 is also used to obtain the printing position information of each element in each multidimensional vector group; obtain the minimum hexahedral bounding box information surrounding all the printing position information of each multidimensional vector group based on the printing position information; obtain the second temperature compensation coefficient within the printing time of each multidimensional vector group based on the number of layers corresponding to the minimum hexahedral bounding box, the bottom area of ​​the minimum hexahedral bounding box and the printing time of each multidimensional vector group.

[0147] In one embodiment, the second temperature compensation coefficient , ,in is the bottom area of ​​the bounding box, is the number of layers corresponding to the bounding box, Print times for each multidimensional vector group.

[0148] In one embodiment, the controlled temperature of the end discharge area of ​​the calibrated nozzle is , ,in Control the temperature to a preset benchmark, is the second temperature compensation coefficient, is the second correction constant.

[0149] In one of the embodiments, the command parsing module 400 is also used to obtain the G code of the model to be printed; extract the printing position information, consumable feeding speed information and consumable extrusion flow information in the G code one by one to form corresponding elements, and all elements constitute an element vector set; divide the elements in the element vector set into at least two groups to form a multidimensional vector group.

[0150] In one of the embodiments, the 3D printing command acquisition module 200 is also used to parse the STL file for 3D printing, read the 3D triangle vertex information and normal vector coordinates of the model; perform path planning according to the printing parameters set by the user, as well as the 3D triangle vertex information and normal vector coordinates; generate 3D printing command information based on the path planning results; and respond to the print selection operation to select the 3D printing command information of the model to be printed.

[0151] Each module in the nozzle temperature control device during the 3D printing process can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0152] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor and a memory connected via a system bus. In some embodiments, the computer device may also include a communication interface, a display screen, and an input device. The internal structure diagram may be as follows: Fig.10 shown.

[0153] Among them, the processor of the computer device is used to provide computing and control capabilities. The processor involved in each embodiment provided in this application may be a general-purpose processor, a microcontroller, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto. For example, the processor may also be an application-specific integrated circuit (ASIC), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component or any combination of these components, and a printed circuit board module composed thereof. For example, the processor may also be implemented as a combination of computing devices, such as a combination of a digital signal processor (DSP) and a microprocessor, a plurality of microprocessors, one or more microprocessors in combination with a DSP and / or any other such configuration, or a microcontroller unit (MCU), a field programmable gate array (FPGA), a system-on-chip (SoC) or one or more combinations thereof, and a printed circuit board module composed thereof. For example, the processor may also be implemented as a cloud or remote module, such as a functional module in a cloud server.

[0154] Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The memory of the computer device may also include non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a nozzle temperature control method in a 3D printing process is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse, etc.

[0155] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0156] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the nozzle temperature control method in the 3D printing process is implemented.

[0157] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the nozzle temperature control method in the 3D printing process is implemented.

[0158] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the nozzle temperature control method in the 3D printing process.

[0159] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto.

[0160] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0161] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling nozzle temperature during 3D printing. It is characterized in that The method comprises: Obtain 3D printing command information of the model to be printed; Constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information, and extrusion flow rate information; Acquire a first temperature compensation coefficient during the printing time of each multidimensional vector group, and correct a reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; And / or, obtaining a second temperature compensation coefficient during the printing time of each multidimensional vector group, and correcting the reference control temperature of the end discharge area of ​​the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

2. The method according to claim 1, It is characterized in that Obtaining the first temperature compensation coefficient within the printing time of each multidimensional vector group, comprising the steps of: Calculate the average extrusion speed of the consumables for each multi-dimensional vector group; A first temperature compensation coefficient within the printing time of each multi-dimensional vector group is obtained according to the average extrusion speed of the consumable material and the reference extrusion speed.

3. The method according to claim 2, It is characterized in that The first temperature compensation coefficient , ,in is the average extrusion speed of the consumables in each multidimensional vector group, It is the preset base extrusion speed.

4. The method according to any one of claims 1 to 3, It is characterized in that The controlled temperature of the preheating zone of the nozzle after correction is , ,in Control the temperature to a preset benchmark, is the first temperature compensation coefficient, is the first correction constant.

5. The method according to claim 1, It is characterized in that Obtaining the second temperature compensation coefficient within the printing time of each multi-dimensional vector group comprises the steps of: Obtaining the printing position information of each element in each multidimensional vector group; Acquire the minimum hexahedral bounding box information surrounding all the printing position information of each multi-dimensional vector group according to the printing position information; A second temperature compensation coefficient within the printing time of each multidimensional vector group is obtained according to the number of layers corresponding to the minimum hexahedral bounding box, the bottom area of ​​the minimum hexahedral bounding box, and the printing time of each multidimensional vector group.

6. The method according to claim 5, It is characterized in that The second temperature compensation coefficient , ,in is the bottom area of ​​the bounding box, is the number of layers corresponding to the bounding box, Print times for each multidimensional vector group.

7. The method according to any one of claims 1, 5 and 6, It is characterized in that The controlled temperature of the end discharge area of ​​the nozzle after correction is , ,in Control the temperature to a preset benchmark, is the second temperature compensation coefficient, is the second correction constant.

8. The method according to claim 1, It is characterized in that Acquiring 3D printing command information of a model to be printed, and constructing a multidimensional vector group set according to the 3D printing command information, including the steps of: Get the G code of the model to be printed; Extracting the printing position information, the consumable material feeding speed information and the consumable material extrusion flow rate information in the G code one by one to form the corresponding elements, and all the elements constitute an element vector set; The elements in the element vector set are divided into at least two groups to form the multi-dimensional vector group.

9. The method according to claim 1, It is characterized in that The step of obtaining 3D printing command information of a model to be printed includes: Parse the STL file for 3D printing and read the 3D triangle vertex information and normal vector coordinates of the model; Path planning is performed according to the printing parameters set by the user, as well as the vertex information and normal vector coordinates of the 3D triangle face; Generate 3D printing command information based on path planning results; In response to the print selection operation, 3D printing command information of the model to be printed is selected.

10. A nozzle temperature control device during 3D printing, It is characterized in that The device comprises: A 3D printing command acquisition module is used to obtain 3D printing command information of a model to be printed; A command parsing module, used for constructing a multidimensional vector group set according to the 3D printing command information, wherein the multidimensional vector group set includes at least two multidimensional vector groups, and each element of the multidimensional vector group includes at least printing position information, consumable material feeding speed information and extrusion flow rate information; A temperature compensation calculation module, used to obtain a first temperature compensation coefficient within the printing time of each multi-dimensional vector group, and / or used to obtain a second temperature compensation coefficient within the printing time of each multi-dimensional vector group; A temperature control module is used to correct the reference control temperature of the preheating zone of the nozzle during the printing time of each multidimensional vector group according to the first temperature compensation coefficient; and / or to correct the reference control temperature of the end discharge zone of the nozzle during the printing time of each multidimensional vector group according to the second temperature compensation coefficient.

11. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Temperature prediction method for 3D printing, and system

    WO2026097479A1