Wax film printer temperature control method and system, storage medium and program product
By using historical printing databases and dynamic temperature adjustment in gold wax film printing technology, the problem of unbalanced temperature of the printing platform and print head is solved, and the consistency of print quality and yield rate are improved.
Patent Information
- Application Number
- CN202411319133.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-21
- Publication Date
- 2024-12-27
AI Technical Summary
In gold wax film printing technology, the temperature of the printing platform and the print head is difficult to balance, resulting in inconsistent printing quality and reducing the yield of the wax film printer.
By searching for the current printing task in the historical printing database, extracting the target historical printing parameters, and dividing the printing platform into several sub-regions according to the printing path, dynamically adjusting the temperature of each sub-region to ensure the consistency between the temperature of the print head and the printing platform.
Improve the consistency of print quality, improve the yield of wax film printers, achieve more refined temperature control, and avoid printing delays or quality declines caused by uneven temperatures.
Smart Images

Figure CN119187444A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of temperature control, and in particular, relates to a wax film printer temperature control method, system, storage medium and program product. Background Art
[0002] Gold wax film printing technology is an advanced 3D printing technology that combines the characteristics of gold materials and wax film printing technology, bringing revolutionary innovations to the fields of jewelry, artworks, etc. Temperature control in gold wax film printing is a key technical link, which directly affects the printing quality and the performance of the finished product.
[0003] In the related art, the printing platform usually needs to be preheated before printing. The preheating temperature is set to ensure that the wax film can be heated evenly and reach a viscosity suitable for printing. The temperature of the print head is also controlled to ensure that the temperature of the print head and the printing platform is the same, so that the printed object meets the requirements.
[0004] However, due to the irregular shape of the print head and the generally large area of the printing platform, it is difficult to control the temperature of the printing platform evenly. When the print head is printing, its temperature is also difficult to balance, which will lead to inconsistent quality of the printed objects and reduce the yield rate of the wax film printer. Summary of the invention
[0005] The present application provides a wax film printer temperature control method, system, storage medium and program product, which are used to control the temperature of the printer and the print head to be the same, thereby ensuring that the quality of items printed by the wax film printer is consistent and improving the yield rate of the wax film printer.
[0006] In a first aspect, the present application provides a wax film printer temperature control method, which determines whether a current printing task is searched in a historical printing database; If the current printing task is found, the corresponding target historical printing parameters are extracted; sending a first instruction to the temperature controller to cause the temperature controller to operate according to the target historical printing parameters; If the current printing task is not found, a printing temperature curve is generated according to the historical printing database; Determine the target printing temperature according to the current printing task and the printing temperature curve, the target printing temperature includes the printing platform temperature and the print head temperature; Determine the printing path according to the current printing task; Divide the printing platform into several sub-printing areas; Determine, according to the printing path and the plurality of printing areas, a first sub-printing area and a second sub-printing area where the print head is located in sequence when the current printing task is completed; Before the current printing task starts, a heating instruction is sent to the temperature controller of the first sub-printing area to make the temperature of the first sub-printing area equal to the target printing temperature; When the print head is located in the first sub-printing area and is less than a preset distance from the second sub-printing area, a heating instruction is sent to the temperature controller of the second sub-printing area to make the temperature of the second sub-printing area equal to the target printing temperature.
[0007] By adopting the above technical solution, the current printing task can be searched in the historical printing database, and the optimal target historical printing parameters can be quickly determined, which avoids repeated calculations and trial and error processes and improves printing efficiency. At the same time, even if a completely matching historical printing task is not found, the method can generate a printing temperature curve based on the historical printing database, and intelligently determine the optimal target printing temperature, including the printing platform temperature and the print head temperature, based on the characteristics of the current printing task. In addition, the method also divides the printing platform into several sub-printing areas according to the printing path, and dynamically adjusts the temperature of each sub-area during the printing process, thereby achieving more refined temperature control. Specifically, the print head is heated in advance when it is about to enter the next sub-printing area, ensuring that the printing material is always in the optimal temperature state and improving the consistency of printing quality. It is achieved by controlling the temperature of the printer and the print head to be the same, so that the quality of the items printed by the wax film printer is consistent, thereby improving the yield rate of the wax film printer.
[0008] In conjunction with some embodiments of the first aspect, in some embodiments, generating a printing temperature curve according to a historical printing database specifically includes: Performing a preprocessing operation on each data in the historical printing database to obtain preprocessed data; Determine a number of sub-data sets according to the pre-processed data, and the data in each sub-data set represents the same type of data; Statistical analysis was performed on several sub-datasets to obtain the average temperature, temperature standard deviation, and key points of temperature change at each time point; Generate a corresponding sub-temperature curve according to the average temperature and temperature change key points corresponding to each sub-data set; Each sub-temperature curve is segmented and fitted to obtain the printing temperature curve.
[0009] By adopting the above technical solution, the original historical data is preprocessed to eliminate the time differences between different printing tasks, laying the foundation for subsequent analysis. Then, clustering and other algorithms are used to divide the preprocessed data into several sub-datasets, each of which represents a similar printing mode. This divide-and-conquer strategy can more accurately mine the optimal temperature parameters under different printing scenarios. Next, each sub-dataset is statistically analyzed to obtain indicators such as average temperature and temperature standard deviation, and the key points of temperature change are automatically identified. This information comprehensively reflects the overall temperature characteristics and change laws of this type of printing mode. Finally, the sub-temperature curve corresponding to each sub-dataset is generated according to the above statistical characteristics, and then they are seamlessly spliced by the segmented fitting method to obtain a complete printing temperature curve. The generated temperature curve is made more accurate and robust, providing a high-quality reference for real-time temperature control.
[0010] In combination with some embodiments of the first aspect, in some embodiments, performing a preprocessing operation on each data in the historical printing database to obtain preprocessed data specifically includes: Get all the temperature data in the historical print database; The temperature data are resampled to the same preset number of time points to obtain preprocessed data.
[0011] By adopting the above technical solution, resampling technology is used to unify all historical printing data to the same number of time points. On the one hand, this ensures that the temperature data of different printing tasks have the same time scale, which is convenient for subsequent clustering and statistical analysis; on the other hand, by controlling the number of resampled time points, a trade-off can be made between data accuracy and computational efficiency. For example, when the number of time points is large, the resampled temperature data points are denser, which can more finely reflect the dynamic change process of temperature, but the amount of calculation will increase accordingly; when the number of time points is small, although the temperature details may be lost, the amount of data is significantly reduced, which is conducive to speeding up subsequent processing. It provides a unified and flexibly configurable data basis for the subsequent temperature curve generation, taking into account both modeling accuracy and real-time performance.
[0012] In combination with some embodiments of the first aspect, in some embodiments, generating a corresponding sub-temperature curve according to the average temperature and the temperature change key point corresponding to each sub-data set specifically includes: Use a smoothing algorithm to reduce the noise of the average temperature and obtain the denoised average temperature; The spline interpolation method is used to connect each denoised average temperature to obtain a spare sub-temperature curve, which passes through each key point of temperature change.
[0013] By adopting the above technical solution, for each clustered sub-data set, its average temperature sequence is calculated as the typical temperature change process of this type of printing mode. However, affected by measurement errors and random disturbances, the average temperature sequence may contain some high-frequency noise, and direct use will affect the smoothness of the curve. Therefore, this method introduces a smoothing algorithm to denoise the average temperature, which not only retains the overall trend of temperature change, but also eliminates local drastic fluctuations, making the curve more stable and reliable. In addition, although the denoised average temperature has reflected the general change law of temperature, due to the limited data points, the curve is not smooth and continuous enough. In order to obtain a more delicate temperature change trajectory, this method further uses spline interpolation to fit the discrete average temperature points to generate a continuous and smooth spare sub-temperature curve. At the same time, in order to ensure that the curve passes through the key points of temperature change, such as the inflection points of heating, constant temperature, and cooling, they are used as constraints in the interpolation process to ensure the accuracy of key features. The final spare sub-temperature curve is not only smooth and natural, but also faithfully reflects the typical temperature change law of this type of printing mode, providing high-quality input for subsequent segmented fitting.
[0014] In combination with some embodiments of the first aspect, in some embodiments, each sub-temperature curve is segmentedly fitted to obtain a printing temperature curve, specifically including: Each sub-temperature curve is divided into a preheating section, a stabilization section and a cooling section; Identify the segmentation points of each sub-temperature curve respectively; According to the segmentation points, the fitting functions corresponding to the preheating section, the stabilization section and the cooling section are respectively set, and the fitting function is obtained by using the least square method for fitting; Connect each fitting function to get the printed temperature curve.
[0015] By adopting the above technical solution, each sub-temperature curve is first divided into a preheating segment, a stabilization segment, and a cooling segment, and then the starting and ending points of each segment, i.e., the segmentation points, are identified respectively. The advantage of this segmentation process is that the most suitable fitting function can be selected according to the characteristics of each stage, so as to more finely describe the local temperature change details while ensuring the overall continuity. For example, the preheating stage is usually a process in which the temperature rises rapidly, which can be fitted by an exponential function or a high-order polynomial; the stabilization stage is a process in which the temperature remains constant, which can be well described by a linear function; the cooling stage is a process in which the temperature gradually decreases, which can also be fitted by an exponential function or a piecewise linear function. By fitting each stage separately and then connecting the fitting functions, the obtained printing temperature curve can not only accurately reflect the temperature change trend of the entire printing process, but also capture the subtle differences in each stage, providing a more accurate reference for subsequent temperature control. In addition, the method uses the least squares method for curve fitting. Given the form of the fitting function, it automatically finds the optimal function parameters to minimize the sum of square errors between the fitting curve and the actual temperature data points, thereby ensuring the accuracy and objectivity of the fitting.
[0016] In combination with some embodiments of the first aspect, in some embodiments, when the print head is located in the first sub-printing area and is less than a preset distance from the second sub-printing area, after sending a heating instruction to a temperature controller of the second sub-printing area so that the temperature of the second sub-printing area is equal to the target printing temperature, the method further includes: When it is determined that the print head leaves the first sub-printing area and enters the second sub-printing area, a pause instruction is sent to the temperature controller of the first sub-printing area to stop the temperature controller of the first sub-printing area.
[0017] By adopting the above technical solution, when the print head is about to leave the current sub-printing area (the first sub-printing area) and enter the next sub-printing area (the second sub-printing area), the system will send a heating instruction to the temperature controller of the second sub-printing area in advance to adjust its temperature to the target level. This pre-heating method ensures that when the print head arrives at the new area, the area is already in the optimal printing temperature state, avoiding printing delays or quality degradation due to substandard temperature. At the same time, in order to save energy and reduce unnecessary heating, the method also stipulates that once it is determined that the print head has completely left the first sub-printing area, a pause instruction is immediately sent to its temperature controller to stop heating. This dynamic temperature control strategy fully considers the real-time position and movement trend of the print head, while ensuring printing continuity, it minimizes the energy consumption of the non-printing area. Compared with the traditional global heating method, this method improves printing efficiency while achieving refined energy utilization through localized and differentiated temperature management.
[0018] In combination with some embodiments of the first aspect, in some embodiments, before the current printing task starts, after sending a heating instruction to the temperature controller of the first sub-printing area so that the temperature of the first sub-printing area is equal to the target printing temperature, the method further includes: Obtaining the temperature of the first sub-printing area; When it is determined that the temperature of the first sub-printing area is not equal to the target printing temperature, a stop instruction is sent to the print head to stop the print head from printing; Send a warning message to the control center.
[0019] By adopting the above technical solution, before the printing task starts, the system first sends a heating instruction to the temperature controller of the first sub-printing area to adjust its temperature to the target level. However, in actual operation, due to factors such as equipment failure and environmental interference, even if the heating instruction is sent, the actual temperature of the sub-printing area may deviate from the target temperature. In order to promptly discover and handle this abnormal situation, the method stipulates that after the heating instruction is sent, the actual temperature of the first sub-printing area needs to be obtained in real time and compared with the target temperature. If it is found that the actual temperature is inconsistent with the target temperature, it indicates that there is a problem with the temperature control, and continuing to print may cause a decrease in print quality or even damage equipment such as the print head. Therefore, the method requires that a shutdown instruction be sent to the print head immediately to stop printing, avoiding potential quality and safety hazards. At the same time, the system will also send a warning message to the control center to prompt the operator that the temperature is abnormal and needs to be inspected and repaired.
[0020] In a second aspect, an embodiment of the present application provides a wax film printer temperature control system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and one or more processors call the computer instructions to enable the system to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a system, causes the system to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer program product, characterized in that when the computer program product runs on a system, the system executes the method described in any possible implementation manner in the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present application provides a wax film printer temperature control method. By searching the current printing task in the historical printing database, the optimal target historical printing parameters can be quickly determined, which avoids repeated calculations and trial and error processes and improves printing efficiency. At the same time, even if a completely matching historical printing task is not found, the method can generate a printing temperature curve based on the historical printing database, and intelligently determine the optimal target printing temperature, including the printing platform temperature and the print head temperature, based on the characteristics of the current printing task. In addition, the method also divides the printing platform into several sub-printing areas according to the printing path, and dynamically adjusts the temperature of each sub-area during the printing process, thereby achieving more refined temperature control. Specifically, the print head is heated in advance when it is about to enter the next sub-printing area, ensuring that the printing material is always in the optimal temperature state and improving the consistency of printing quality. The temperature of the printer and the print head is controlled to be the same, so that the quality of the items printed by the wax film printer is consistent, thereby improving the yield rate of the wax film printer.
[0024] 2. The present application provides a wax film printer temperature control method, which pre-processes the original historical data, eliminates the time difference between different printing tasks, and lays the foundation for subsequent analysis. Then, clustering and other algorithms are used to divide the pre-processed data into several sub-datasets, each of which represents a similar printing mode. This divide-and-conquer strategy can more accurately mine the optimal temperature parameters in different printing scenarios. Next, each sub-dataset is statistically analyzed to obtain indicators such as average temperature and temperature standard deviation, and automatically identify the key points of temperature change. This information comprehensively reflects the overall temperature characteristics and change laws of this type of printing mode. Finally, the sub-temperature curves corresponding to each sub-dataset are generated according to the above statistical characteristics, and then they are seamlessly spliced by the segmented fitting method to obtain a complete printing temperature curve. The generated temperature curve is made more accurate and robust, providing a high-quality reference for real-time temperature control.
[0025] 3. The present application provides a wax film printer temperature control method, which uses resampling technology to unify all historical printing data to the same number of time points. On the one hand, this ensures that the temperature data of different printing tasks have the same time scale, which is convenient for subsequent clustering and statistical analysis; on the other hand, by controlling the number of resampled time points, a trade-off can be made between data accuracy and computational efficiency. For example, when the number of time points is large, the resampled temperature data points are denser, which can more finely reflect the dynamic change process of temperature, but the amount of calculation will increase accordingly; and when the number of time points is small, although the temperature details may be lost, the amount of data is significantly reduced, which is conducive to speeding up subsequent processing. It provides a unified and flexibly configurable data basis for the subsequent temperature curve generation, taking into account both modeling accuracy and real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of a temperature control method for a wax film printer in an embodiment of the present application.
[0027] Figure 2 This is another flow chart of a wax film printer temperature control method in an embodiment of the present application.
[0028] Figure 3 It is a schematic diagram of the physical device structure of a wax film printer temperature control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0031] An application scenario of an embodiment of the present application is described below: In the high-end custom jewelry industry, gold wax film printing technology has become the preferred solution for making personalized jewelry due to its excellent design freedom and production efficiency. In order to meet the growing market demand, a well-known brand jeweler has introduced multiple gold wax film printers, striving to provide customers with more exquisite and unique custom services.
[0032] However, during the actual production process, jewelers found that the quality of the gold jewelry printed was uneven, and some products had obvious flaws and deformations on the surface, which seriously affected the appearance and durability of the products. After careful investigation, the technicians found that the problem was the temperature control of the printer.
[0033] Due to the complex structure of gold jewelry, the printing process requires frequent adjustments to the position and angle of the print head, which results in extremely uneven temperature distribution on the printing platform. When the print head moves from the high temperature zone to the low temperature zone, the temperature drops sharply, causing the viscosity of the printing material to change, affecting the continuity and accuracy of the printing. When the print head re-enters the high temperature zone from the low temperature zone, the material will overheat again, resulting in a decrease in surface quality.
[0034] In addition, the size of the printing platform is large, and a single heating device is difficult to achieve global temperature consistency. When printing large jewelry, there is a significant temperature difference between the edge and center of the platform, resulting in different shrinkage rates and strengths in different areas of the finished product, resulting in quality defects such as deformation and cracking. In order to solve the above technical problems, the present application provides a wax film printer temperature control method for controlling the temperature of the printer and the print head to be the same, thereby making the quality of the items printed by the wax film printer consistent and improving the yield rate of the wax film printer.
[0035] Combine the following Figure 1 , a wax film printer temperature control method in an embodiment of the present application is described: See also Figure 1 , is a flow chart of a temperature control method for a wax film printer in an embodiment of the present application.
[0036] S101, determining whether the current print task is found in the historical print database; In this step, the system will first search and match in the historical printing database according to the current print task. The historical printing database is a large database that stores information about past print tasks, which records key data such as parameter settings, temperature curves, and quality assessments for each print task. By searching the database for historical tasks that are similar or identical to the current print task, the system can quickly obtain the optimal printing parameters and temperature control strategy, avoiding the huge overhead of calculating and optimizing from scratch.
[0037] Specifically, the system extracts the key features of the current printing task, such as the geometry of the printed object, the type of material, the size, etc., and then compares these features with the task records in the historical database one by one. The comparison method can be based on keyword retrieval, similarity calculation and other technologies, with the goal of finding the historical cases that are most similar to the current task.
[0038] For example, suppose the current printing task is to make a gold ring, which is characterized by a circular shape, an inner diameter of 20mm, a wall thickness of 1mm, and a material of 18K gold. The system will search the historical database for all printing records related to keywords such as "ring", "circle", "20mm", "1mm", "18K gold", and calculate the similarity score of each record with the current task through an algorithm. Finally, the system will select one or more records with the highest score as a reference for subsequent temperature control.
[0039] S102, extracting corresponding target historical printing parameters; If the current printing task is searched, the corresponding target historical printing parameters are extracted; after successfully matching a similar task in the historical printing database, the system automatically extracts the printing parameters corresponding to the task as the target parameters of the current task. These parameters usually include multiple dimensions such as the printing platform temperature, print head temperature, printing speed, and printing layer thickness, which together determine the stability of the printing process and the quality of the finished product.
[0040] Taking the gold ring in the previous step as an example, suppose the system finds a completely matching printing record in the historical database, and its target parameters are: printing platform temperature 60°C, print head temperature 65°C, printing speed 30mm / s, layer thickness 0.1mm. This means that in past production practices, the ring printed using this set of parameters has the best quality and the lowest wasage rate. Therefore, the system will directly extract this set of parameters as the target parameters for the current task, without the need for other calculations and optimizations.
[0041] By directly reusing the historical optimal parameters, the system can avoid the blindness and randomness of parameter selection and ensure the consistency and repeatability of the production process. At the same time, this knowledge reuse also greatly saves the time and cost of parameter optimization and improves the response speed of production tasks.
[0042] Of course, in actual applications, due to differences in material batches, equipment status and other factors, the historical optimal parameters may not be completely applicable to the current production environment. Therefore, the system also needs to monitor the printing status in real time during the production process, and fine-tune and optimize the target parameters based on feedback data to adapt to real-time process requirements. This dynamic adjustment and feedback optimization can further improve the robustness and adaptability of the system.
[0043] S103, sending a first instruction to the temperature controller to enable the temperature controller to operate according to the target historical printing parameters; Once the system determines the target printing parameters, it sends control instructions to the printer's temperature controller, instructing it to heat and keep warm according to the temperature settings in the target parameters. The temperature controller is one of the core components of the printer, responsible for accurately adjusting the temperature of the printing platform and print head to meet the requirements of different materials and processes.
[0044] Specifically, the temperature controller is usually composed of multiple heating units, temperature sensors, control circuits, etc. The system will calculate the target temperature and heating power of each heating unit based on the target parameters, and then output the corresponding PWM signal or current through the control circuit to drive the heating unit to work. At the same time, the temperature sensor will measure the actual temperature of the platform and print head in real time and feed the data back to the controller. The controller adjusts the heating power in real time through algorithms such as PID based on the difference between the actual temperature and the target temperature to ensure that the temperature is always stable near the target value.
[0045] Taking the above-mentioned gold ring as an example, when the system sends the target parameters to the temperature controller (60°C for the printing platform and 65°C for the print head), the controller will immediately start the heating program for the platform and the print head. Assuming that the current platform temperature is 25°C and the print head temperature is 30°C, the controller will calculate a larger heating power based on the temperature difference and quickly heat the platform to about 60°C. As the platform temperature rises, the print head will also be heated passively, but it may not reach the target of 65°C. At this time, the separate heating unit of the print head will add more heat and further raise the temperature to 65°C. After reaching the target temperature, the controller will appropriately reduce the heating power and maintain a constant temperature with only a small amount of power.
[0046] S104, generating a printing temperature curve according to a historical printing database; If the current printing task is not found, a printing temperature curve is generated according to the historical printing database. The specific implementation of this step will be described below in conjunction with another embodiment, and will not be repeated here.
[0047] S105, determining a target printing temperature according to a current printing task and a printing temperature curve; The target printing temperature is determined based on the current printing task and the printing temperature curve. The target printing temperature includes the printing platform temperature and the print head temperature. After generating the optimal temperature curve, the system needs to further determine the key temperature points on the curve as the temperature control target during the printing process. These target temperatures usually include the printing platform temperature and the print head temperature, which determine the initial state of the printing material and the thermal environment during the shaping process, respectively.
[0048] Taking a gold ring as an example, assuming that the temperature curve shows that the printing platform temperature should be between 55-60°C and the print head temperature should be between 65-70°C. The system will further analyze factors such as the ring's material properties (18K gold), precision requirements (high), and printing speed (30mm / s), and ultimately determine the target temperature of the printing platform to be 58°C and the target temperature of the print head to be 68°C as the set values for temperature control.
[0049] During the printing process, the system will monitor the actual temperature of the platform and print head in real time and compare it with the target temperature. If the actual temperature deviates from the target value by more than a certain range (such as ±2°C), the system will automatically adjust the heating power to bring the temperature back to the target range. This real-time temperature feedback control can effectively cope with various interferences and fluctuations in the printing environment and ensure a constant temperature effect.
[0050] S106, determining a printing path according to the current printing task; After determining the target printing temperature, the system needs to further plan the specific printing path, that is, the movement trajectory and sequence of the print head on the printing platform. The rationality of the printing path directly affects the printing efficiency and the quality of the finished product. Therefore, it is necessary to optimize and generate the best path through intelligent algorithms based on the characteristics of the current printing task.
[0051] Specifically, the system first needs to obtain the 3D model data of the current printing task, usually a mesh file in STL or OBJ format. Then, the system will slice the model and decompose it into layers of 2D planes. Each slice plane contains the area and outline that the print head needs to fill.
[0052] Next, the system will calculate the optimal filling path for each slice plane based on parameters such as printing material, printing speed, and printing accuracy. Commonly used path optimization algorithms include inner spiral filling, Zigzag filling, Hilbert curve filling, etc. These algorithms comprehensively consider factors such as printing efficiency, support strength, and surface quality to generate a series of continuous and smooth filling curves.
[0053] Taking a gold ring as an example, assuming that the system uses an inner spiral filling algorithm, it first fills from the inner ring of the ring to the outside, and then fills from the outer ring to the inside until the entire cross section is completed. This filling method can effectively avoid surface defects caused by broken wires and improve the aesthetics of the print. At the same time, bidirectional spiral filling can balance stress distribution and improve support strength and anti-deformation ability.
[0054] After generating the filling path for each layer section, the system also needs to calculate the lifting height of the print head in the Z-axis direction, that is, the layer thickness. The layer thickness determines the surface roughness and strength of the printed part. Generally speaking, the smaller the layer thickness, the smoother the printed surface, but the longer the printing time. The system will automatically select the optimal layer thickness based on the accuracy requirements and production efficiency of the printed part, usually between 0.1-0.4mm.
[0055] Finally, the system will stitch together the filling paths of all slice layers in order to form a complete 3D printing path. This path not only includes the movement trajectory of the print head in the XY plane, but also includes the layer-by-layer lifting in the Z-axis direction. The system will convert the path data into G-code instructions and transmit them to the printer's motion control unit to guide the print head to move precisely, stack the printing materials layer by layer, and finally form a solid workpiece.
[0056] S107, dividing the printing platform into a plurality of sub-printing areas; In order to achieve more refined temperature control, the system will further divide the entire printing platform into several independent sub-areas after generating the printing path. Each sub-area is equipped with an independent heating unit and temperature sensor, which can achieve local precise temperature control to meet the temperature requirements of different parts.
[0057] There are many ways to divide sub-areas, and factors such as the shape, size, and material of the printed part need to be considered comprehensively. A common division method is grid division, which divides the printing platform into several rectangular or square grids, each grid corresponding to a sub-area. The size of the grid needs to be set according to the complexity of the printed part and the temperature control accuracy requirements, generally between 5-20mm. Grid division facilitates the implementation of the control algorithm, and can flexibly adapt to different printing tasks by adjusting the grid density.
[0058] Another partitioning method is adaptive partitioning based on the shape of the printed part. The system analyzes the three-dimensional structure of the printed part and identifies some key geometric features, such as sudden curvatures and sharp corners. Then, the system divides the printing platform into irregular polygonal areas based on these features, so that the temperature requirements in each area are as uniform as possible. Adaptive partitioning can reduce unnecessary sub-areas and improve heating efficiency, but the algorithm is more complicated to implement.
[0059] Taking a gold ring as an example, due to the simple overall shape of the ring, the system can use a 20mm×20mm grid division to divide the printing platform into 6×6=36 sub-areas. The advantage of this division is that the size of each sub-area is moderate, and the heating power demand is relatively balanced, which is conducive to rapid and uniform heating. Moreover, due to the good symmetry of the ring, the temperature requirements of adjacent grids are also relatively close, and temperature control is not difficult.
[0060] S108, determining, according to the printing path and the plurality of printing areas, a first sub-printing area and a second sub-printing area where the print head is located in sequence when the current printing task is completed; After dividing the printing platform into sub-areas, the system needs to further analyze the printing path to determine the sequence of sub-areas that the print head passes through during the printing process. This sequence directly determines the heating time and order of each sub-area, and is the key to achieving precise temperature control in each area.
[0061] Specifically, the system first performs an overlay analysis on the print path data and the sub-region division data. By calculating the intersection points of the print path and the boundaries of each sub-region, the system can determine the time when the print head enters and leaves each sub-region. These time points constitute a discrete event sequence about the print head position and time.
[0062] Then, the system converts the discrete event sequence into a sequence table of the sub-areas that the print head passes through in chronological order. Each item in the sequence table records that the print head enters a sub-area at a certain time point and leaves the sub-area at a later time point. The time the print head stays in each sub-area can be calculated by the difference between the exit time and the entry time.
[0063] According to the sequence table, the system can extract the sub-area information of the print head at any time. In particular, the system will mark the sub-area the print head is currently in and the next sub-area it will enter, which are called the first sub-printing area and the second sub-printing area respectively. The temperature changes in these two areas have the most direct impact on the printing quality and need to be monitored and controlled.
[0064] S109, before the current printing task starts, sending a heating instruction to the temperature controller of the first sub-printing area to make the temperature of the first sub-printing area equal to the target printing temperature; Before officially starting the printing task, the system needs to preheat the first sub-printing area to make its temperature reach the target value. This preheating process is a key step to ensure printing quality, which can avoid problems such as poor material adhesion and rough surface caused by low initial temperature.
[0065] Specifically, after receiving the printing task, the system will immediately query the printing path and sub-area sequence table to identify the number and position of the first sub-printing area. Then, the system will send a heating instruction to the temperature controller of the sub-area, requiring it to raise the temperature to the target value.
[0066] After receiving the instruction, the temperature controller will calculate the required heating power and time based on the difference between the current temperature and the target temperature. Generally speaking, the greater the heating power, the faster the heating speed, but it is also more likely to have overshoot and fluctuations. Therefore, the controller will use algorithms such as PID to automatically adjust the heating power to achieve a smooth and rapid heating process.
[0067] During the heating process, the controller will monitor multiple temperature sensors in the sub-area in real time to obtain the average temperature and temperature gradient. If the temperature at certain locations is found to be significantly lower or higher, the controller will adjust the power of the heating unit near that location accordingly to ensure uniform temperature distribution. At the same time, the controller will also dynamically optimize the heating curve according to the thermal conductivity of the material and changes in environmental conditions, so that the heating process is more in line with actual needs.
[0068] S110, when the print head is located in the first sub-printing area and is less than a preset distance from the second sub-printing area, sending a heating instruction to the temperature controller of the second sub-printing area to make the temperature of the second sub-printing area equal to the target printing temperature; As the printing task progresses, the print head will gradually move from the first sub-printing area to the second sub-printing area. In order to ensure that the second sub-area has reached the target temperature when the print head enters the second sub-area, the system needs to heat the second sub-area in advance. However, if the advance time is too long, it will lead to energy waste and temperature fluctuations. Therefore, the system needs to dynamically decide the heating time of the second sub-area based on the real-time position and movement speed of the print head.
[0069] Specifically, the system sets a preset distance threshold, which represents the minimum distance between the print head and the boundary of the second sub-area. When the print head enters the first sub-area, the system calculates the distance between it and the second sub-area in real time. Once the distance is less than the preset threshold, the system sends a heating instruction to the temperature controller of the second sub-area, requiring it to raise the temperature to the target value.
[0070] The size of the preset distance threshold needs to be determined based on a variety of factors, such as the moving speed of the print head, the thermal conductivity of the material, the power of the heating unit, etc. The larger the distance threshold is set, the longer the preheating time is, the more sufficient the heating is, but the energy consumption will also be greater. Conversely, the smaller the distance threshold is set, although it can save energy, the temperature lag of the second sub-area may occur, affecting the printing quality.
[0071] Taking a gold ring as an example, assuming that the print head moves at a speed of 20 mm / s, the thermal conductivity of the material is 0.2 W / (m·K), the heating power per unit area is 1 W / cm², and the target temperature is 60°C. After testing, the system sets the preset distance threshold to 15 mm.
[0072] When the print head enters the A4 area and the distance from the boundary of the A5 area is less than 15mm for the first time, the system immediately sends a heating command to the temperature controller of the A5 area. After receiving the command, the controller starts to heat the A5 area at a power of 1W / cm². Assuming that the initial temperature of the A5 area is 30°C at this time, the temperature field change curve can be estimated based on the specific heat capacity and thermal conductivity of the material. 0.75 seconds before the print head is about to enter the A5 area, the average temperature of the A5 area will reach about 59.5°C, which is basically close to the target value.
[0073] While heating the A5 area, the system will also continuously monitor the temperature changes in the A4 area. Once it detects that the print head has left the A4 area, the system will immediately send a shutdown command to the temperature controller in the A4 area to stop heating and enter the insulation state. This dynamic switching temperature zone control strategy can minimize additional energy consumption while ensuring temperature continuity.
[0074] By preheating the second sub-area, the system can achieve seamless temperature connection when the print head transfers between areas, avoiding changes in material properties and degradation of printing quality due to sudden temperature drops. This is especially important for some special materials and fine structures that are sensitive to temperature.
[0075] In addition, when it is determined that the print head leaves the first sub-printing area and enters the second sub-printing area, a pause instruction is sent to the temperature controller of the first sub-printing area to stop the temperature controller of the first sub-printing area.
[0076] S111, obtaining the temperature of the first sub-printing area; After the print head officially enters the first sub-printing area, the system needs to obtain the actual temperature of the area in real time in order to detect and correct temperature deviations in a timely manner. Due to the complexity and variability of the printing environment, the nonlinearity of material properties, and the mechanical errors of the equipment itself, the actual temperature may deviate from the target value. The fluctuation and unevenness of temperature will directly affect the rheological properties, curing rate and residual stress of the material, and thus affect the surface quality, internal structure and mechanical properties of the printed part. Therefore, real-time temperature monitoring and feedback control are the key to ensuring stable printing quality.
[0077] Specifically, the system will arrange multiple temperature sensors in the first sub-printing area to collect temperature data at different locations in real time. These sensors usually use common temperature measuring elements such as thermocouples and thermistors, and undergo strict calibration and thermal compensation to ensure measurement accuracy. The arrangement of sensors needs to comprehensively consider factors such as the shape, size, and material properties of the area, and generally adopts a uniform grid or feature point sampling method.
[0078] The raw data collected by the sensor will be pre-processed through signal conditioning and filtering circuits to improve the signal-to-noise ratio and stability. Then, the system will fuse the data of multiple sensors to obtain the average temperature and temperature gradient distribution of the entire first sub-area. This process requires the use of some data fusion algorithms, such as Kalman filtering and Bayesian estimation, to weigh the credibility of different sensors and eliminate the interference of random errors and outliers.
[0079] S112, when it is determined that the temperature of the first sub-printing area is not equal to the target printing temperature, sending a stop instruction to the print head to stop printing; Temperature control of the print head is one of the most critical links in the entire printing process. The actual temperature of the print head must always be consistent with the target temperature to ensure the best fluidity and adhesion of the printed material, thereby obtaining high-quality prints. Once the print head temperature deviates, it may cause a series of problems such as material accumulation, wire drawing, and deformation, which seriously affect the dimensional accuracy and surface quality of the print. Therefore, the system must strictly monitor the print head temperature in real time, and take protective measures immediately if an abnormality is found.
[0080] Specifically, the system will install a high-precision temperature sensor in the first sub-printing area to collect temperature data around the print head in real time. These temperature data will be transmitted to the central control unit and compared with the preset target temperature. If the deviation between the actual temperature and the target temperature exceeds a certain threshold (usually ±1~2°C), the system will determine that the temperature is abnormal and the printing process needs to be intervened in time.
[0081] Issuing a shutdown command is the most direct and effective means of intervention. Once the print head temperature is confirmed to be abnormal, the system will immediately send a special command code to the print head's motion control module, requiring the print head to stop all movements. This command usually has the highest priority and will force the print head to interrupt the current printing task and quickly return to a safe position. At the same time, the system will also shut down the print head's material delivery mechanism, cut off the supply of consumables, and prevent the material from being extruded at a non-optimal temperature, which will affect the quality of the print.
[0082] S113. Send a warning message to the control center.
[0083] The above embodiments have the following beneficial effects: By searching the historical printing database for the current printing task, the optimal target historical printing parameters can be quickly determined, which avoids repeated calculations and trial and error processes and improves printing efficiency. At the same time, even if a completely matching historical printing task is not found, the method can generate a printing temperature curve based on the historical printing database, and intelligently determine the optimal target printing temperature, including the printing platform temperature and the print head temperature, based on the characteristics of the current printing task. In addition, the method divides the printing platform into several sub-printing areas according to the printing path, and dynamically adjusts the temperature of each sub-area during the printing process, thereby achieving more refined temperature control. Specifically, the print head is heated in advance when it is about to enter the next sub-printing area, ensuring that the printing material is always in the optimal temperature state and improving the consistency of printing quality. The temperature of the printer and the print head is controlled to be the same, so that the quality of the items printed by the wax film printer is consistent, thereby improving the yield rate of the wax film printer.
[0084] When the print head is about to leave the current sub-printing area (the first sub-printing area) and enter the next sub-printing area (the second sub-printing area), the system will send a heating instruction to the temperature controller of the second sub-printing area in advance to adjust its temperature to the target level. This pre-heating method ensures that when the print head arrives at the new area, the area is already in the optimal printing temperature state, avoiding printing delays or quality degradation due to substandard temperature. At the same time, in order to save energy and reduce unnecessary heating, the method also stipulates that once it is determined that the print head has completely left the first sub-printing area, a pause instruction is immediately sent to its temperature controller to stop heating. This dynamic temperature control strategy fully considers the real-time position and movement trend of the print head, while ensuring printing continuity, it minimizes the energy consumption of the non-printing area. Compared with the traditional global heating method, this method improves printing efficiency while achieving refined energy utilization through localized and differentiated temperature management.
[0085] Before the printing task begins, the system first sends a heating instruction to the temperature controller of the first sub-printing area to adjust its temperature to the target level. However, in actual operation, due to factors such as equipment failure and environmental interference, even if the heating instruction is sent, the actual temperature of the sub-printing area may deviate from the target temperature. In order to promptly detect and handle this abnormal situation, the method stipulates that after the heating instruction is sent, the actual temperature of the first sub-printing area needs to be obtained in real time and compared with the target temperature. If it is found that the actual temperature is inconsistent with the target temperature, it indicates that there is a problem with the temperature control, and continuing to print may result in a decrease in print quality or even damage to equipment such as the print head. Therefore, the method requires that a shutdown instruction be sent to the print head immediately to stop printing, avoiding potential quality and safety hazards. At the same time, the system will also send a warning message to the control center to prompt the operator that the temperature is abnormal and needs to be inspected and repaired.
[0086] The following describes step S104 in the above embodiment in conjunction with another embodiment. Figure 2 , another wax film printer temperature control method in the embodiment of the present application is described: See also Figure 2 , is another flow chart of a wax film printer temperature control method in an embodiment of the present application.
[0087] S201, obtaining temperature data in all historical printing databases; In the actual application of wax film printers, the system will continuously accumulate a large amount of historical printing data. These data record the real-time changes of various parameters such as temperature, speed, power, etc. during the execution of different printing tasks. Through in-depth mining and analysis of these historical data, it can help to better understand the working characteristics of the printer, optimize the printing process, and improve the printing quality. Among them, temperature data is undoubtedly the most important and critical part.
[0088] S202, resampling the temperature data to the same number of preset time points to obtain preprocessed data; After obtaining the original temperature sequences of all historical printing tasks, it was found that the sequences of different tasks were not consistent on the time axis. They may have different sampling frequencies, different printing durations, and different start and end time points. This inconsistency has brought great inconvenience to subsequent data analysis and modeling. In order to be more regular and standardized, these original sequences need to be resampled and unified to the same time base.
[0089] Specifically, the system must first determine a standard sampling interval and number of sampling points. This standard should take into account factors such as the time scale of the printing process, the dynamic characteristics of temperature changes, and the efficiency of data processing. Generally speaking, the smaller the sampling interval and the more sampling points, the more detailed and complete the obtained temperature curve. But at the same time, too dense sampling will also bring data redundancy and computational burden. Therefore, it is necessary to find a balance between accuracy and efficiency.
[0090] S203, determining a number of sub-data sets according to the pre-processed data; After obtaining the pre-processed temperature data in a unified format, the system needs to further divide it into several subsets. The reason for this division is that different printing tasks may have significant differences in the temperature variation patterns. For example, when printing a small thin-walled part and a large solid part, the heating rate, maximum temperature, cooling rate and other characteristics will be very different. If the temperature data of all tasks are mixed together for analysis, it will be difficult to accurately characterize the differences and diversity.
[0091] Therefore, a more reasonable approach is to first divide the preprocessed data into several subsets with internal similarities and external differences according to the characteristics of the task, and then analyze and model each subset independently.
[0092] S204, performing statistical analysis on several sub-data sets to obtain the average temperature, temperature standard deviation and key points of temperature change at each time point; In the previous steps, the system has divided the pre-processed historical temperature data into several relatively independent subsets based on factors such as material, size, and fill rate. These subsets represent typical temperature change patterns in different printing scenarios. In order to extract more distinct and stable temperature features, the system needs to perform further statistical analysis on each subset.
[0093] Specifically, for each sub-dataset, the system first calculates the average temperature and temperature standard deviation at each standard time point. The average temperature reflects the overall level of temperature at that time point, and the standard deviation reflects the degree of temperature fluctuation between different printing tasks. These two indicators can help grasp the overall trend and discreteness of temperature changes.
[0094] S205, using a smoothing algorithm to reduce the noise of the average temperature to obtain a denoised average temperature; Through statistical analysis of the subset data sets, the system obtains the average temperature series at each standard time point. This series reflects the typical temperature change trend of the printing scene represented by the subset. However, due to the limited number of samples and sampling errors, there is often still a certain amount of random noise and disturbance in the average temperature series. These noises may interfere with subsequent curve fitting and parameter estimation, reducing the stability and robustness of the temperature model.
[0095] In order to further improve the quality of the average temperature series, the system will perform smoothing and denoising. The purpose of smoothing is to remove high-frequency noise while maintaining the overall shape of the original series as much as possible, making the curve smoother and more regular.
[0096] Commonly used smoothing algorithms include moving average, exponential smoothing, Savitzky-Golay smoothing, etc. Their basic principle is to estimate the true temperature value at each time point through some form of local weighted average. Different algorithms differ in the selection of weights, the size of the smoothing window, the order of the polynomial, etc., so the smoothing effect also has different emphases.
[0097] S206, using a spline interpolation method to connect each denoised average temperature to obtain a spare sub-temperature curve; The spline interpolation method is used to connect each denoised average temperature to obtain a spare sub-temperature curve, which passes through each key point of temperature change.
[0098] After smoothing and denoising, the average temperature series of each sub-dataset becomes smoother and more regular, which can better reflect the typical temperature change trend in this printing scenario. However, this discrete temperature series itself cannot be directly used to guide the real-time temperature control of the printer. On this basis, it is necessary to build a continuous, smooth, and differentiable temperature curve model so that it can predict and calculate the target temperature at any time. This is where spline interpolation comes in.
[0099] Spline interpolation is a data smoothing method based on piecewise polynomials. Its basic idea is to use a set of low-order (usually cubic) polynomial functions to approximate or fit discrete data points so that these polynomials meet certain smoothness conditions at the connection points, such as continuity, equal first-order derivatives, equal second-order derivatives, etc. Through this piecewise smoothing process, discrete data points can be connected into a continuous and smooth curve, while avoiding the blank space phenomenon caused by fitting with a single high-order polynomial.
[0100] S207, dividing each sub-temperature curve into a preheating section, a stabilization section, and a cooling section; After obtaining the backup temperature curve of each sub-dataset, the system needs to further analyze its internal structure and components. This is because a complete printing temperature process often includes multiple different stages, such as preheating, heat preservation, cooling, etc. These stages have significant differences in time span, change rules, control targets, etc. If the entire temperature curve is modeled as a whole, it is difficult to accurately characterize the stage characteristics.
[0101] Therefore, a more reasonable approach is to divide each backup temperature curve into several sub-stages with clear physical meanings based on the process and experience, and then conduct targeted modeling and optimization for each stage. This divide-and-conquer strategy can greatly simplify the complexity of the problem and improve the accuracy and efficiency of temperature control.
[0102] S208, identifying the segmentation points of each sub-temperature curve respectively; After dividing the standby temperature curve into three stages: preheating, stabilization, and cooling, the system needs to further determine the start and end points of each stage, namely the segmentation points. The segmentation point is a quantitative expression of the stage division, which clearly defines the domain range of each stage function T_preheat, T_stable, and T_cooling. Only by accurately identifying the segmentation points can the appropriate segment function model be constructed in each interval.
[0103] However, compared with key points, the identification of segmentation points is often more complex and subtle. This is because key points mainly reflect the sudden change in the rate of temperature change and have obvious physical characteristics, while segmentation points more reflect the transformation of functions and goals at different stages, and their physical characteristics may not be very significant. Therefore, it is difficult to directly determine the ideal segmentation point position by simply relying on the statistical analysis of the temperature series.
[0104] S209, respectively setting fitting functions corresponding to the preheating section, the stabilization section, and the cooling section according to the segmentation points, and fitting them using the least squares method to obtain the fitting function; After determining the segmentation points of each stage, the system can build an independent temperature function model for each sub-interval. The goal of this step is to find a set of functions T_preheat, T_stable, and T_cooling that can best fit the trend of the standby temperature curve in the corresponding stage. This is a typical curve fitting problem.
[0105] The essence of curve fitting is to find a function expression that best represents the distribution of observed data in a given function class. The function class here is usually composed of a set of basis functions and their linear combinations. Different stages and materials may correspond to different function class selections. The system needs to set the appropriate fitting function form for each stage based on past experience and physical analysis.
[0106] S210, connecting each fitting function to obtain a printing temperature curve.
[0107] Finally, connect each fitting function to get the printed temperature curve.
[0108] The above embodiments have the following beneficial effects: The original historical data is preprocessed to eliminate the time differences between different printing tasks, laying the foundation for subsequent analysis. Then, clustering and other algorithms are used to divide the preprocessed data into several sub-datasets, each of which represents a similar printing mode. This divide-and-conquer strategy can more accurately mine the optimal temperature parameters under different printing scenarios. Next, each sub-dataset is statistically analyzed to obtain indicators such as average temperature and temperature standard deviation, and the key points of temperature change are automatically identified. This information comprehensively reflects the overall temperature characteristics and change laws of this type of printing mode. Finally, the sub-temperature curve corresponding to each sub-dataset is generated according to the above statistical characteristics, and then they are seamlessly spliced by the segmented fitting method to obtain a complete printing temperature curve. The generated temperature curve is made more accurate and robust, providing a high-quality reference for real-time temperature control.
[0109] Resampling technology is used to unify all historical printing data to the same number of time points. On the one hand, this ensures that the temperature data of different printing tasks have the same time scale, which is convenient for subsequent clustering and statistical analysis; on the other hand, by controlling the number of resampled time points, a trade-off can be made between data accuracy and computational efficiency. For example, when the number of time points is large, the resampled temperature data points are denser, which can more finely reflect the dynamic change process of temperature, but the amount of calculation will increase accordingly; when the number of time points is small, although the temperature details may be lost, the amount of data is significantly reduced, which is conducive to speeding up subsequent processing. It provides a unified and flexibly configurable data basis for the subsequent temperature curve generation, taking into account both modeling accuracy and real-time performance.
[0110] For each clustered sub-dataset, its average temperature sequence is calculated as the typical temperature change process of this type of printing mode. However, affected by measurement errors and random disturbances, the average temperature sequence may contain some high-frequency noise, and direct use will affect the smoothness of the curve. Therefore, this method introduces a smoothing algorithm to denoise the average temperature, which not only retains the overall trend of temperature change, but also eliminates local drastic fluctuations, making the curve more stable and reliable. In addition, although the denoised average temperature has reflected the general change law of temperature, the curve is not smooth and continuous enough due to the limited data points. In order to obtain a more delicate temperature change trajectory, this method further uses spline interpolation to fit the discrete average temperature points to generate a continuous and smooth spare sub-temperature curve. At the same time, in order to ensure that the curve passes through the key points of temperature change, such as the inflection points of heating, constant temperature, and cooling, they are used as constraints in the interpolation process to ensure the accuracy of key features. The final spare sub-temperature curve is not only smooth and natural, but also faithfully reflects the typical temperature change law of this type of printing mode, providing high-quality input for subsequent segmented fitting.
[0111] First, each sub-temperature curve is divided into a preheating segment, a stabilization segment, and a cooling segment, and then the start and end points of each segment, i.e., the segmentation points, are identified. The advantage of this segmentation process is that the most appropriate fitting function can be selected according to the characteristics of each stage, so as to more finely describe the details of the local temperature change while ensuring the overall continuity. For example, the preheating stage is usually a process in which the temperature rises rapidly, which can be fitted by an exponential function or a high-order polynomial; the stabilization stage is a process in which the temperature remains constant, which can be well described by a linear function; the cooling stage is a process in which the temperature gradually decreases, which can also be fitted by an exponential function or a piecewise linear function. By fitting each stage separately and then connecting the fitting functions, the obtained printing temperature curve can not only accurately reflect the temperature change trend of the entire printing process, but also capture the subtle differences in each stage, providing a more accurate reference for subsequent temperature control. In addition, this method uses the least squares method for curve fitting. Given the form of the fitting function, it automatically finds the optimal function parameters to minimize the sum of square errors between the fitting curve and the actual temperature data points, thereby ensuring the accuracy and objectivity of the fitting.
[0112] The following describes the system in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , is a schematic diagram of the physical device structure of a wax film printer temperature control system provided in an embodiment of the present application.
[0113] It should be noted that Figure 3 The structure of the system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0114] like Figure 3 As shown, the system includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0115] The following components are connected to the I / O interface 305: an input section 306 including a camera, an infrared sensor, etc.; an output section 307 including a liquid crystal display (LCD) and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0116] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0117] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
[0118] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0119] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the system described in the above embodiment; or may exist independently without being assembled into the system. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of a system, the system implements the method provided in the above embodiment.
[0120] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0121] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0122] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0123] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A wax film printer temperature control method, characterized in that: include: Determine whether the current print task is found in the historical print database; If the current printing task is found, the corresponding target historical printing parameters are extracted; sending a first instruction to a temperature controller to cause the temperature controller to operate according to the target historical printing parameters; If the current printing task is not found, generating a printing temperature curve according to a historical printing database; Determine a target printing temperature according to the current printing task and the printing temperature curve, wherein the target printing temperature includes a printing platform temperature and a print head temperature; Determine a printing path according to the current printing task; Divide the printing platform into several sub-printing areas; Determine, according to the printing path and the plurality of printing areas, a first sub-printing area and a second sub-printing area where the print head is located in sequence when the current printing task is completed; Before the current printing task starts, sending a heating instruction to the temperature controller of the first sub-printing area to make the temperature of the first sub-printing area equal to the target printing temperature; When the print head is located in the first sub-printing area and is less than a preset distance from the second sub-printing area, a heating instruction is sent to a temperature controller of the second sub-printing area to make the temperature of the second sub-printing area equal to the target printing temperature.
2. The method according to claim 1, characterized in that The step of generating a printing temperature curve according to a historical printing database specifically includes: Performing a preprocessing operation on each data in the historical printing database to obtain preprocessed data; Determine a plurality of sub-data sets according to the pre-processed data, wherein the data in each sub-data set represents data of the same type; Performing statistical analysis on the plurality of sub-data sets to obtain the average temperature, temperature standard deviation and key points of temperature change at each time point; Generate a corresponding sub-temperature curve according to the average temperature and the temperature change key point corresponding to each sub-data set; Each of the sub-temperature curves is segmentedly fitted to obtain the printing temperature curve.
3. The method according to claim 2, characterized in that The preprocessing operation is performed on each data in the historical printing database to obtain preprocessed data, specifically including: Acquire all temperature data in the historical printing database; The temperature data is resampled to the same number of preset time points to obtain the preprocessed data.
4. The method according to claim 2, characterized in that: Generating a corresponding sub-temperature curve according to the average temperature and the temperature change key point corresponding to each sub-data set specifically includes: Using a smoothing algorithm to reduce the noise of the average temperature to obtain a denoised average temperature; Each of the denoised average temperatures is connected using a spline interpolation method to obtain a spare sub-temperature curve, and the spare sub-temperature curve passes through each of the temperature change key points.
5. The method according to claim 2, characterized in that: The step of performing segmented fitting on each of the sub-temperature curves to obtain the printing temperature curve specifically includes: Dividing each of the sub-temperature curves into a preheating section, a stabilization section and a cooling section respectively; Respectively identifying the segmentation points of each of the sub-temperature curves; According to the segmentation points, the fitting functions corresponding to the preheating section, the stabilization section and the cooling section are respectively set, and the fitting functions are obtained by using the least square method for fitting; Each of the fitting functions is connected to obtain the printing temperature curve.
6. The method according to claim 1, characterized in that When the print head is located in the first sub-printing area and is less than a preset distance from the second sub-printing area, after sending a heating instruction to a temperature controller of the second sub-printing area so that the temperature of the second sub-printing area is equal to the target printing temperature, the method further includes: When it is determined that the print head leaves the first sub-printing area and enters the second sub-printing area, a pause instruction is sent to the temperature controller of the first sub-printing area to stop the temperature controller of the first sub-printing area.
7. The method according to claim 1, characterized in that Before the current printing task starts, after sending a heating instruction to the temperature controller of the first sub-printing area to make the temperature of the first sub-printing area equal to the target printing temperature, the method further includes: Acquire the temperature of the first sub-printing area; When it is determined that the temperature of the first sub-printing area is not equal to the target printing temperature, sending a stop instruction to the print head to stop the print head from printing; Send a warning message to the control center.
8. A wax film printer temperature control system, characterized in that: The system comprises: One or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the system to execute the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on a system, the system is caused to execute the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is run on a system, the system is caused to execute the method according to any one of claims 1 to 7.
Citation Information
Cited By
3D printing factory data processing method and system based on database
CN120540613A
