Power-off continuation method and device, electronic equipment and storage medium

By obtaining printing parameters and nozzle assembly position information during the 3D printing process, the problem of misalignment of printing connection points after the 3D printer is powered off is solved, precise connection after power off and resumed printing is achieved, and printing accuracy is improved.

CN119058093BActive Publication Date: 2025-10-24SHENZHEN CREALITY 3D TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411366644.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-10-24
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

When a 3D printer is restarted after a power outage, the printing progress is lost, causing the printing connection points of the printed model before and after the power outage to be misaligned, resulting in defects.

Method used

During the printing process, the printing parameter information of the model to be printed is obtained at preset intervals. When power is restored after a power outage, the position information of the nozzle assembly and the original continuation information are obtained. The target continuation information is determined based on the position information of the nozzle assembly and the original continuation information to ensure the precise connection of the printing connection points.

Benefits of technology

The accuracy of 3D printing equipment in resuming printing after power failure is improved, ensuring the precise connection of the printing connection points before and after the power failure of the printed model, thus avoiding printing defects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119058093B_ABST
    Figure CN119058093B_ABST
Patent Text Reader

Abstract

The application provides a power-off continuous printing method and device, electronic equipment and storage medium, comprising: in the printing process, the printing parameter information of the to-be-printed model is obtained every preset time, wherein the printing parameter information is used to instruct the 3D printing equipment to perform 3D printing work; if it is detected that the 3D printing equipment is powered on again after power-off in the middle of printing, the original continuous printing information and the position information of the nozzle assembly before power-off are obtained, wherein the original continuous printing information is the printing parameter information last obtained by the 3D printing equipment before power-off; the target continuous printing information is determined according to the position information and the original continuous printing information, wherein the target continuous printing information is the target printing parameter information of the target slice layer being printed by the 3D printing equipment before power-off; the starting continuous printing position of the to-be-printed model is determined according to the position information, and the 3D printing equipment is controlled to start continuous printing after being powered on again according to the target continuous printing information. The application can improve the accuracy of power-off continuous printing of the 3D printing equipment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of 3D printing, and particularly relates to a power-off continuous printing method and device, electronic equipment and a storage medium. BACKGROUND

[0002] Three Dimension Printing (3D printing) is a kind of rapid prototyping technology, also known as additive manufacturing. It is a technology that uses powder-like metal or plastic and other materials that can be bonded to construct objects through layer-by-layer printing based on digital model files.

[0003] In the process of 3D printing of a to-be-printed model, if the 3D printer abnormally powers off, the printing progress will be lost. When the power is connected again, the 3D printer will restart and read the related files again to start printing from the beginning. This method is prone to misalignment of the printing connection points before and after the power-off of the to-be-printed model, and thus the to-be-printed model may have defects. SUMMARY

[0004] Therefore, the present application provides a power-off continuous printing method and device, electronic equipment and a storage medium, which can improve the accuracy of power-off continuous printing of a 3D printing device and realize accurate connection of the printing connection points before and after the power-off of a to-be-printed model.

[0005] The first aspect of the present application provides a power-off continuous printing method applied to a 3D printing device, wherein the 3D printing device comprises a nozzle assembly. The method comprises: acquiring printing parameter information of a to-be-printed model every preset time during printing, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work; if it is detected that the 3D printing device is powered off during printing and then powered on again, acquiring original continuous printing information and position information of the nozzle assembly before power-off, wherein the original continuous printing information is the printing parameter information last acquired by the 3D printing device before power-off; determining target continuous printing information according to the position information and the original continuous printing information, wherein the target continuous printing information is target printing parameter information of a target slice layer being printed by the 3D printing device before power-off; determining a starting continuous printing position of the to-be-printed model according to the position information, and controlling the 3D printing device to start continuous printing after being powered on again according to the target continuous printing information.

[0006] Compared with the related art, the embodiments of the present application have at least the following advantages: during the printing of the to-be-printed model, the printing parameter information of the to-be-printed model is acquired every preset time, so as to know the printing progress of the to-be-printed model according to the printing parameter information; when it is detected that the 3D printing device is powered on again after power-off in the middle of printing, the position information of the nozzle assembly before power-off is acquired, so that the position of the nozzle assembly at the moment of power-off of the 3D printing device can be known, that is, the start resuming printing position. Since the original resuming printing information is the printing parameter information acquired by the 3D printing device last time before power-off, that is, the slice layer corresponding to the original resuming printing information is not necessarily the target slice layer being printed by the 3D printing device before power-off, therefore, by determining the target resuming printing information according to the position information of the nozzle assembly and the original resuming printing information, the target printing parameter information of the target slice layer being printed by the 3D printing device before power-off can be accurately known, and finally, the 3D printing device is controlled to start resuming printing based on the target resuming printing information, so as to ensure the accurate connection of the printing connection point before and after power-off of the to-be-printed model, and improve the accuracy of resuming printing of the 3D printing device after power-off.

[0007] In some possible implementation manners, the determining the target resuming printing information according to the position information and the original resuming printing information comprises: determining a region position of an original slice layer corresponding to the original resuming printing information according to the original resuming printing information; detecting whether the region position matches the position information; when it is detected that the region position matches the position information, taking the original resuming printing information as the target resuming printing information; when it is detected that the region position does not match the position information, determining a new region position of a next slice layer of the original slice layer according to the printing parameter information corresponding to the next slice layer; again detecting whether the new region position matches the position information until a new region position matching the position information is detected, wherein the slice layer corresponding to the last detected new region position is the target slice layer.

[0008] In some possible implementation manners, the original continuation printing information includes a plurality of printing instructions, and the original slice layer includes a plurality of to-be-printed line segments, each of which corresponds to one of the printing instructions; the determining, according to the original continuation printing information, of a region position of the original slice layer corresponding to the original continuation printing information includes: determining, according to the plurality of printing instructions, a plurality of coordinate ranges of the plurality of to-be-printed line segments, wherein one of the to-be-printed line segments corresponds to one of the coordinate ranges; the detecting whether the region position matches the position information includes: detecting whether there is a target coordinate range including the position information in the plurality of coordinate ranges; and the determining, when it is detected that the region position matches the position information, of the original continuation printing information as the target continuation printing information includes: determining, when it is detected that there is the target coordinate range, the printing instruction of the to-be-printed line segment corresponding to the target coordinate range as the target continuation printing information.

[0009] In some possible implementation manners, the 3D printing device includes a hot bed and a fan, and the target continuation printing information includes a first temperature of the hot bed, a second temperature of the nozzle assembly, and a target rotating speed of the fan; before the controlling, according to the target continuation printing information, of the 3D printing device to start continuation printing, the method further includes: respectively restoring states of the hot bed, the fan, and the nozzle assembly, and respectively detecting the states of the hot bed, the fan, and the nozzle assembly in the state restoration process; and the controlling, according to the target continuation printing information, of the 3D printing device to start continuation printing includes: after detecting that the temperature of the hot bed is restored to the first temperature, the temperature of the nozzle assembly is restored to the second temperature, and the rotating speed of the fan is restored to the target rotating speed, controlling the 3D printing device to start continuation printing according to the target continuation printing information.

[0010] In some possible implementation manners, the respectively detecting the states of the hot bed, the fan, and the nozzle assembly in the state restoration process includes: detecting whether the temperature of the hot bed is restored to the first temperature within a first preset time length; detecting whether the temperature of the nozzle assembly is restored to the second temperature within the first preset time length; and detecting whether the rotating speed of the fan is restored to the target rotating speed within the first preset time length; and the controlling, according to the target continuation printing information, of the 3D printing device to start continuation printing includes: after detecting that the temperature of the hot bed is restored to the first temperature, the temperature of the nozzle assembly is restored to the second temperature, and the rotating speed of the fan is restored to the target rotating speed within the first preset time length, controlling the 3D printing device to start continuation printing according to the target continuation printing information after being powered on again; and the method further includes: when it is detected that at least one of the hot bed, the fan, and the nozzle assembly is not restored to a target state within the first preset time length, sending an alarm information.

[0011] In some possible implementation manners, the position information is acquired according to the following manner: after detecting that the 3D printing device is powered on again after power failure in the middle of printing, a moving direction of the nozzle assembly and a moving distance in the moving direction are recorded; and the position information is acquired according to the moving direction and the moving distance.

[0012] In some possible implementation manners, before the moving direction of the nozzle assembly and the moving distance in the moving direction are recorded, the method further includes: detecting whether a home signal is found within a second preset time length; and the recording of the moving direction of the nozzle assembly and the moving distance in the moving direction includes: after the home signal is found within the second preset time length, recording a moving direction of the nozzle assembly relative to the home signal and the moving distance in the moving direction.

[0013] The second aspect of the present application discloses a power failure resuming printing device applied to a 3D printing device, the 3D printing device including a nozzle assembly, and the power failure resuming printing device including a first data acquisition module, a second data acquisition module, a first determination module, a second determination module, and a control module; the first data acquisition module is configured to acquire printing parameter information of a to-be-printed model every preset time during printing, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work; the second data acquisition module is configured to acquire original resuming printing information and position information of the nozzle assembly before power failure when detecting that the 3D printing device is powered on again after power failure in the middle of printing, wherein the original resuming printing information is the printing parameter information last stored by the 3D printing device before power failure; the first determination module is configured to determine target resuming printing information according to the position information and the original resuming printing information, wherein the target resuming printing information is the printing parameter information of a slice layer being printed by the 3D printing device before power failure; the second determination module is configured to determine a starting resuming printing position of the to-be-printed model according to the position information; and the control module is configured to control the 3D printing device to start resuming printing according to the target resuming printing information.

[0014] The third aspect of the present application discloses an electronic device including a processor and a memory, the memory being configured to store instructions, and the processor being configured to invoke the instructions in the memory, so that the electronic device performs the power failure resuming printing method described above.

[0015] The fourth aspect of the present application discloses a storage medium including computer instructions, when the computer instructions run on an electronic device, the electronic device performs the power failure resuming printing method described above.

[0016] It can be understood that the device of the second aspect, the electronic device of the third aspect, and the storage medium of the fourth aspect provided in the above are all corresponding to the method of the first aspect, and thus the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be described here again. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly introduced as follows. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as limiting the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0018] Figure 1 Flow chart of the power-off continuous printing method provided by an embodiment of the present application.

[0019] Figure 2 Flow chart of the power-off continuous printing method provided by an embodiment of the present application.

[0020] Figure 3 Flow chart of the power-off continuous printing method provided by an embodiment of the present application.

[0021] Figure 4 Functional module schematic diagram of the power-off continuous printing device provided by an embodiment of the present application.

[0022] Figure 5 Hardware structure schematic diagram of the electronic device of an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings in the embodiments will be briefly introduced as follows. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as limiting the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0024] In the following description, a large number of specific details are set forth in order to fully understand the present application, and the described embodiments are only part of the embodiments of the present application, not all the embodiments.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing the specific embodiments of the present application, and are not intended to limit the present application.

[0026] It is further noted that the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0027] In the present application, "at least one" means one or more, and "multiple" means two or more than two. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural.

[0028] In the embodiments of the present application, the words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design schemes. Rather, the use of the words such as "exemplary" or "for example" is intended to present the relevant concept in a specific manner.

[0029] In the related art, an additional power continuation module is usually additionally provided to provide power for the 3D printing device and provide a power-off signal, so as to save the data information of the 3D printing device at the moment of power-off.

[0030] Specifically, at the moment of power-off of the 3D printing device, the power continuation module provides power for the 3D printing device for more than 2 seconds, and sends a power-off signal to the 3D printing device. After receiving the power-off signal, the 3D printing device closes all heating devices, closes the motor, saves the current printing data, and then actively hangs up.

[0031] However, this way needs to additionally provide a power continuation module, resulting in high cost of the 3D printing device to realize the power-off and printing continuation function.

[0032] In view of the above, the embodiments of the present application provide a power-off and printing continuation method and device, an electronic device, and a storage medium, which can realize accurate connection of the printing connection point before and after the printing model power-off without a power continuation module, so as to improve the accuracy of the 3D printing device power-off and printing continuation while not increasing the additional cost of the 3D printing device.

[0033] For ease of understanding, exemplary descriptions of some concepts related to the embodiments of the present application are given for reference.

[0034] 3D printing equipment, also known as three-dimensional printer or stereoscopic printer, is a process equipment of rapid prototyping, which is usually realized by printing materials by digital technology. The 3D printing equipment is often used for manufacturing models or parts in the fields of mold manufacturing and industrial design.

[0035] Please refer to Figure 1 The flow chart of the power-off continuous printing method provided by an embodiment of the present application is applied to a 3D printing equipment, and the 3D printing equipment includes a nozzle assembly. The method includes the following steps:

[0036] Step 101: In the printing process, the printing parameter information of the to-be-printed model is obtained every preset time, wherein the printing parameter information is used to instruct the 3D printing equipment to perform 3D printing work.

[0037] In some embodiments, the to-be-printed model includes a plurality of slice layers, and each slice layer corresponds to a printing parameter information.

[0038] In some embodiments, the printing parameter information of the 3D printing equipment is obtained from a gcode file.

[0039] Specifically, the printing parameter information in the gcode file can be read by a programming language such as Python. The gcode file is used to command 3D printing work. In order to print a three-dimensional model in the computer by using a 3D printing equipment, the model (commonly in.stl and.obj formats) needs to be input into a 3D slicing software (for example, Cura) for planar slicing, and then a gcode file is generated. The gcode file is sent to the 3D printing equipment for reading, and only then the nozzle assembly of the 3D printing equipment can fill each layer according to the planned path, and finally the 3D model is formed by layer-by-layer stacking.

[0040] In some embodiments, the printing parameter information includes the motion parameter and the extrusion flow parameter of the 3D printing equipment. Specifically, in the printing process, the 3D printing equipment needs to control the nozzle assembly to move in the XYZ axis direction and extrude the printing material. The motion parameter of the 3D printing equipment is the movement distance of the nozzle assembly in the XYZ axis, and the extrusion flow parameter is the flow rate of the printing material extruded by the nozzle assembly.

[0041] In some embodiments, the size of the preset time is not specifically limited, and can be set according to actual needs. For example, the preset time can be set to 1S, 2.5S or 5S, etc.

[0042] Step 102: If it is detected that the 3D printing equipment is powered off in the middle of printing and then powered on again, the original continuous printing information and the position information of the nozzle assembly before power-off are obtained, wherein the original continuous printing information is the printing parameter information last obtained by the 3D printing equipment before power-off.

[0043] In some embodiments, the position information can be obtained by recording the moving direction of the nozzle assembly and the moving distance in the moving direction; and obtaining the position information according to the moving direction and the moving distance.

[0044] Specifically, the to-be-printed model is located in a space rectangular coordinate system, when the 3D printing device is powered off in the middle of printing, the nozzle assembly stops at the printing position at the instant of power-off, after the 3D printing device is powered on again, the nozzle assembly moves towards the direction close to the X-axis and the Y-axis until the nozzle assembly returns to the original position in the plane A where the nozzle assembly is located, by recording the moving distance of the nozzle assembly towards the X-axis and the Y-axis, the mechanical coordinates of the nozzle assembly in the plane A at the instant of power-off can be obtained, that is, the position information of the nozzle assembly is obtained.

[0045] In some embodiments, before recording the moving direction of the nozzle assembly and the moving distance in the moving direction, the method further comprises: detecting whether the original point signal is found within a second preset time length; and recording the moving direction of the nozzle assembly and the moving distance in the moving direction comprises: after the original point signal is found within the second preset time length, recording the moving direction of the nozzle assembly relative to the original point signal and the moving distance in the moving direction.

[0046] It can be understood that after the 3D printing device is powered on again, the original point signal needs to be found, and then the nozzle assembly is controlled to move based on the found original point signal, so that the nozzle assembly moves to the original position matched with the original point signal.

[0047] Specifically, the original point signal is a high-level signal or a low-level signal, and the 3D printing device judges whether the original point signal is found by detecting whether the level of the original point signal changes. For example, the original point signal is a high-level signal, and the 3D printing device determines that the original point signal is found after detecting that the high-level signal is converted into a low-level signal.

[0048] In some embodiments, the size of the second preset time length is not specifically limited and can be set according to actual needs, for example, the second preset time length can be set to 5S, 10S, 15S, etc.

[0049] Further, if the 3D printing device does not find the original point signal within the second preset time length, the 3D printing device sends an alarm information to remind the user that the original point signal is abnormal, so that the user can handle it in time, thereby improving the stability of the 3D printing device and the user's use experience.

[0050] In some embodiments, the type of the alarm information includes but is not limited to voice reminding, text reminding, etc., and the user can set the type of the alarm information according to actual needs.

[0051] Step 103: determining target resume printing information according to the position information and the original resume printing information, wherein the target resume printing information is target printing parameter information of the target slice layer being printed before the 3D printing device is powered off.

[0052] It should be noted that how to determine the target resume printing information is described in detail in subsequent embodiments, and in order to avoid repetition, it will not be repeated here.

[0053] Step 104: Determine the starting position of the model to be printed based on the position information, and control the 3D printing device to start the printing after powering on again based on the target printing information.

[0054] Compared to related technologies, the embodiments of the present application have at least the following advantages: during the printing process of a model to be printed, printing parameter information of the model to be printed is obtained at preset intervals, so that the printing progress of the model to be printed can be determined based on the printing parameter information; when the 3D printing device is detected to have been powered on again after a power outage mid-printing, the position information of the nozzle assembly before the power outage is obtained, thereby determining the position of the nozzle assembly at the moment the 3D printing device was powered off, i.e., the resume printing position. Because the original resume printing information is the printing parameter information last obtained by the 3D printing device before the power outage, that is, the slice layer corresponding to the original resume printing information is not necessarily the target slice layer being printed by the 3D printing device before the power outage, the target resume printing information is determined based on the nozzle assembly position information and the original resume printing information, accurately determining the target printing parameter information of the target slice layer being printed by the 3D printing device before the power outage. Finally, the 3D printing device is controlled to start resume printing based on the target resume printing information, ensuring the precise connection between the print connection points before and after the power outage of the model to be printed, thereby improving the accuracy of the 3D printing device's resume printing after a power outage.

[0055] Please refer to Figure 2 , which is a flow chart of a method for resuming printing after a power outage provided in one embodiment of the present application. Depending on different needs, the order of the steps in this flow chart may be changed, and some steps may be omitted. This method for resuming printing after a power outage may be applied to 3D printing equipment, but is not limited thereto, and is not limited to this embodiment of the present application.

[0056] This embodiment is a specific explanation of the above embodiment, mainly illustrating a method for determining target resume printing information. In this way, the target slice layer being printed before the 3D printing device is powered off can be accurately found, thereby further improving the accuracy of the 3D printing device's power-off resume printing.

[0057] The specific process of this embodiment is as follows Figure 2 As shown, the following steps are included:

[0058] Step 201: In the printing process, the printing parameter information of the to-be-printed model is acquired every preset time, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work.

[0059] Step 202: If it is detected that the 3D printing device is powered on again after power failure in the middle of printing, the original resume printing information and the position information of the nozzle assembly before power failure are acquired, wherein the original resume printing information is the printing parameter information acquired by the 3D printing device last time before power failure.

[0060] Step 203: The area position of the original slice layer corresponding to the original resume printing information is determined according to the original resume printing information.

[0061] In some embodiments, the printing parameter information includes a plurality of printing instructions, the slice layer includes a plurality of to-be-printed line segments, and each to-be-printed line segment corresponds to a printing instruction; determining the area position of the original slice layer corresponding to the original resume printing information according to the original resume printing information includes: determining a plurality of coordinate ranges of the plurality of to-be-printed line segments according to the plurality of printing instructions, wherein one to-be-printed line segment corresponds to one coordinate range.

[0062] Specifically, assuming that the original slice layer includes 100 to-be-printed line segments, the original resume printing information includes 100 printing instructions, and each to-be-printed line segment corresponds to a printing instruction. It can be understood that in the printing process of the 3D printing device, the printing instructions are transmitted from the gcode file to the instruction buffer of the 3D printing device, the controller of the 3D printing device extracts the printing instructions from the instruction buffer, and commands the 3D printing device to perform 3D printing work based on the printing instructions.

[0063] Step 204: It is detected whether the area position matches the position information, and when it is detected that the area position matches the position information, step 205 is performed; otherwise, step 206 is performed.

[0064] Step 205: The original resume printing information is used as target resume printing information.

[0065] In some embodiments, it is detected whether there is a target coordinate range including the position information in the plurality of coordinate ranges; and when it is detected that the area position matches the position information, the original resume printing information is used as the target resume printing information, including: when it is detected that there is a target coordinate range, the printing instruction of the to-be-printed line segment corresponding to the target coordinate range is used as the target resume printing information.

[0066] Specifically, the printing instruction includes the start point coordinate and the end point coordinate of the to-be-printed line segment, and the start point coordinate and the end point coordinate can be used to know the entire area position of the to-be-printed line segment in the plane rectangular coordinate system, that is, the coordinate range of the to-be-printed line segment. As known from the foregoing description, the position information of the nozzle assembly is the mechanical coordinate of the nozzle assembly in the plane A at the moment of power-off, and therefore, whether the coordinate range is the target coordinate range can be known by detecting whether the mechanical coordinate is in the coordinate range.

[0067] Step 206: determining a new area position of a lower slice layer according to the printing parameter information corresponding to the lower slice layer of the original slice layer.

[0068] Step 207: detecting whether the new area position matches the position information, and when it is detected that the new area position matches the position information, performing step 208; otherwise, taking the lower slice layer as the original slice layer and performing step 206.

[0069] Step 208: taking the slice layer corresponding to the new area position as a target slice layer and taking the target printing parameter information of the target slice layer as target resume printing information.

[0070] Step 209: determining a start resume printing position of the to-be-printed model according to the position information and controlling the 3D printing device to start resume printing after being re-powered according to the target resume printing information.

[0071] For ease of understanding, how to determine the target resume printing information in the embodiment is specifically described as follows:

[0072] 1. Assuming that the original slice layer corresponding to the original resume printing information is the 220th slice layer, the coordinate ranges of all to-be-printed line segments in the original slice layer are obtained, and whether the mechanical coordinate of the nozzle assembly is in the coordinate ranges is detected.

[0073] 2. If the mechanical coordinate is not in the coordinate ranges of all to-be-printed line segments in the original slice layer, the printing parameter information of the lower slice layer of the original slice layer, that is, the 221st slice layer, is obtained, the coordinate ranges of all to-be-printed line segments of the 221st slice layer are obtained according to the printing parameter information, and whether the mechanical coordinate of the nozzle assembly is in the coordinate ranges is detected.

[0074] 3. If the mechanical coordinate is not in the coordinate ranges of all to-be-printed line segments of the 221st slice layer, the printing parameter information of the 222nd slice layer is continuously obtained, and the step of detecting whether the mechanical coordinate is in the coordinate ranges of all to-be-printed line segments of the 222nd slice layer is repeated until the 227th slice layer is reached, the coordinate range of the 474th to-be-printed line segment of the 227th slice layer is detected to include the mechanical coordinate, and the printing instruction corresponding to the 474th to-be-printed line segment is taken as the target resume printing information.

[0075] It is worth noting that, due to the fact that the nozzle assembly may stay in the middle position of the 474th to-be-printed line segment at the moment of power-off of the 3D printing device, that is, a part of the 474th to-be-printed line segment has been printed, the embodiment preferably generates a new printing instruction for the remaining unprinted part of the 474th to-be-printed line segment, and takes the new printing instruction as the target continuation information. In this way, the accuracy of power-off continuation printing of the 3D printing device can be further ensured.

[0076] It should be further pointed out that, after the printing instruction of the 474th to-be-printed line segment is transmitted to the instruction buffer, the printing instructions of the subsequent to-be-printed line segments of the 474th to-be-printed line segment are also transmitted to the instruction buffer, for example, the printing instructions of the 475th to 480th to-be-printed line segments are transmitted to the instruction buffer, so as to ensure the continuity of printing of the 3D printing device.

[0077] The steps 201, 202 and 209 of the embodiment are similar to the steps 101, 102 and 104 of the foregoing embodiment, and are not described herein again to avoid repetition.

[0078] Compared with the related art, the embodiment of the present application has at least the following advantages: during the printing of the to-be-printed model, the printing parameter information of the to-be-printed model is acquired every pre-set time, so as to know the printing progress of the to-be-printed model according to the printing parameter information; when it is detected that the 3D printing device is powered on again after power-off in the middle of printing, the position information of the nozzle assembly before power-off is acquired, so as to know the position of the nozzle assembly at the moment of power-off of the 3D printing device, that is, the start continuation position. Since the original continuation information is the printing parameter information acquired by the 3D printing device last time before power-off, that is, the slice layer corresponding to the original continuation information is not necessarily the target slice layer being printed by the 3D printing device before power-off, therefore, by determining the target continuation information according to the position information of the nozzle assembly and the original continuation information, the target printing parameter information of the target slice layer being printed by the 3D printing device before power-off can be accurately known, finally, the 3D printing device is controlled to start continuation printing based on the target continuation information, so as to ensure the accurate connection of the printing connection point before and after power-off of the to-be-printed model, and improve the accuracy of power-off continuation printing of the 3D printing device.

[0079] Please refer to Figure 3 The flowchart of the power-off continuation printing method provided by an embodiment of the present application. The order of steps in the flowchart can be changed according to different needs, and some steps can be omitted. The power-off continuation printing method can be applied to a 3D printing device, but is not limited thereto, and the embodiments of the present application do not limit this.

[0080] The embodiment is a further improvement of the foregoing embodiment, and the main improvement lies in that, in the embodiment, before the 3D printing device is controlled to start the resuming printing, the states of part of the structure of the 3D printing device are also recovered, and the 3D printing device is controlled to start the resuming printing after the states are recovered to the expected states. In this way, the reliability of the resuming printing of the 3D printing device after power failure can be improved, so as to further improve the user experience.

[0081] The specific process of the embodiment is shown in Figure 3 as follows:

[0082] Step 301: In the printing process, the printing parameter information of the to-be-printed model is acquired every preset time, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work.

[0083] Step 302: If it is detected that the 3D printing device is powered on again after power failure in the middle of printing, the original resuming printing information and the position information of the nozzle assembly before power failure are acquired, wherein the original resuming printing information is the printing parameter information acquired by the 3D printing device for the last time before power failure.

[0084] Step 303: The target resuming printing information is determined according to the position information and the original resuming printing information, wherein the target resuming printing information is the target printing parameter information of the target slice layer being printed by the 3D printing device before power failure.

[0085] Step 304: The states of the hot bed, the fan and the nozzle assembly are recovered respectively, and the states of the hot bed, the fan and the nozzle assembly in the state recovery process are detected respectively.

[0086] In some embodiments, the detecting the states of the hot bed, the fan and the nozzle assembly in the state recovery process respectively includes: detecting whether the temperature of the hot bed is recovered to the first temperature within a first preset time length; detecting whether the temperature of the nozzle assembly is recovered to the second temperature within the first preset time length; detecting whether the rotating speed of the fan is recovered to the target rotating speed within the first preset time length; the controlling the 3D printing device to start the resuming printing according to the target resuming printing information includes: after it is detected that the temperature of the hot bed is recovered to the first temperature, the temperature of the nozzle assembly is recovered to the second temperature, and the rotating speed of the fan is recovered to the target rotating speed within the first preset time length, the 3D printing device is controlled to start the resuming printing according to the target resuming printing information; and the method further includes: sending an alarm information when it is detected that at least one of the hot bed, the fan and the nozzle assembly is not recovered to the target state within the first preset time length.

[0087] Specifically, the print parameter information includes the temperature of the hot bed, the temperature of the nozzle assembly and the fan rotation speed required for printing each slice layer, so that the 3D printing device can obtain the first temperature, the second temperature and the target rotation speed by reading the print parameter information.

[0088] In some embodiments, the size of the first preset time period is not specifically limited, and can be set according to actual needs. For example, the first preset time period can be set to 5S, 10S, 15S, etc.

[0089] In some embodiments, the alarm information is used to remind the user of the device exception. For example, when the hot bed does not recover to the first temperature within the first preset time period, the nozzle assembly recovers to the second temperature within the first preset time period, and the fan recovers to the target rotation speed within the first preset time period, the alarm information is used to represent the hot bed exception.

[0090] In some embodiments, the type of alarm information includes but is not limited to voice reminder, text reminder, etc., and the user can set the type of alarm information according to actual needs.

[0091] Step 305: After detecting that the temperature of the hot bed recovers to the first temperature, the temperature of the nozzle assembly recovers to the second temperature, and the rotation speed of the fan recovers to the target rotation speed, the 3D printing device is controlled to start printing again according to the target printing information after being powered on again.

[0092] It is worth noting that in this way, the temperature of the hot bed and the nozzle assembly can be ensured to be at the optimal printing temperature, and the fan can effectively cool the hot bed and the nozzle assembly during the printing process of the 3D printing device, thereby improving the printing effect of the 3D printing device and enabling the 3D printing device to better continue printing work from the power-off breakpoint.

[0093] Steps 301 and 303 of the present embodiment are similar to steps 101 and 103 of the foregoing embodiments, and will not be repeated here to avoid repetition.

[0094] Compared with the related art, the embodiments of the present application have at least the following advantages: during the printing of the to-be-printed model, the printing parameter information of the to-be-printed model is acquired every preset time, so as to know the printing progress of the to-be-printed model according to the printing parameter information; when it is detected that the 3D printing device is powered on again after power-off in the middle of printing, the position information of the nozzle assembly before power-off is acquired, so that the position of the nozzle assembly at the moment of power-off of the 3D printing device can be known, that is, the start resuming printing position. Since the original resuming printing information is the printing parameter information acquired by the 3D printing device last time before power-off, that is, the slice layer corresponding to the original resuming printing information is not necessarily the target slice layer being printed by the 3D printing device before power-off, therefore, the target resuming printing information is determined by the position information of the nozzle assembly and the original resuming printing information, so that the target printing parameter information of the target slice layer being printed by the 3D printing device before power-off can be accurately known, and finally, the 3D printing device is controlled to start resuming printing based on the target resuming printing information, so as to ensure the accurate connection of the printing connection point before and after power-off of the to-be-printed model, and improve the accuracy of resuming printing of the 3D printing device after power-off.

[0095] Based on the same idea as the power-off resuming printing method in the above embodiments, the present application also provides a power-off resuming printing device, which can be used to execute the above power-off resuming printing method. For the convenience of description, only the parts related to the embodiments of the present application are shown in the structural schematic diagram of the power-off resuming printing device embodiments, and the person skilled in the art can understand that the illustrated structure does not constitute a limitation on the device, and can include more or fewer components than the illustrated, or combine certain components, or different component arrangements.

[0096] Please refer to Figure 4 The functional module schematic diagram of the power-off resuming printing device provided by the embodiments of the present application is shown in the following figure. The power-off resuming printing device 100 includes a first data acquisition module 1, a second data acquisition module 2, a first determination module 3, a second determination module 4, and a control module 5.

[0097] The first data acquisition module 1 is configured to acquire the printing parameter information of the to-be-printed model every preset time during the printing process, wherein the printing parameter information is used to instruct the 3D printing device 100 to perform the 3D printing work; the second data acquisition module 2 is configured to acquire the original printing resuming information and the position information of the nozzle assembly before power-off when it is detected that the 3D printing device 100 is powered on again after power-off during the printing process, wherein the original printing resuming information is the printing parameter information stored by the 3D printing device 100 for the last time before power-off; the first determination module 3 is configured to determine the target printing resuming information according to the position information and the original printing resuming information, wherein the target printing resuming information is the printing parameter information of the slice layer being printed by the 3D printing device 100 before power-off; the second determination module 4 is configured to determine the starting printing resuming position of the to-be-printed model according to the position information; and the control module 5 is configured to control the 3D printing device 100 to start printing resuming according to the target printing resuming information.

[0098] Please refer to Figure 5 , the hardware structure schematic diagram of the electronic device 1000 provided in the embodiments of the present application. As shown in the figure, Figure 5 The electronic device 1000 can include a processor 1001 and a memory 1002. The memory 1002 is configured to store one or more computer programs 1003. The one or more computer programs 1003 are configured to be executed by the processor 1001. The one or more computer programs 1003 include instructions that can be used to implement the power-off printing resuming method described above in the electronic device 1000.

[0099] It can be understood that the structure shown in the embodiments does not constitute a specific limitation on the electronic device 1000. In other embodiments, the electronic device 1000 can include more or fewer components than those shown, or combine certain components, or split certain components, or different component arrangements.

[0100] The processor 1001 can include one or more processing units, for example: the processor 1001 can include an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU) and the like. Different processing units can be independent devices, or can be integrated into one or more processors.

[0101] The processor 1001 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1001 is a cache memory. The memory can hold instructions or data that the processor 1001 has just used or is using repeatedly. If the processor 1001 needs to use the instructions or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 1001, thus improving the efficiency of the system.

[0102] In some embodiments, the processor 1001 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0103] In some embodiments, the memory 1002 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0104] The embodiments also provide a computer-readable storage medium, which stores computer instructions, and when the instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to implement the power-off and continuous printing method in the above-mentioned embodiments.

[0105] In practical applications, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above-described functions.

[0106] In several embodiments provided in the present application, the disclosed apparatus and method can be implemented in other manners. For example, the division of the apparatus embodiments is merely illustrative, and the division of the modules or units can be changed according to actual needs. For example, two or more units or components can be combined or integrated into one unit, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0107] The units described as separate components can or can not be physically separate, and the components shown as units can be one physical unit or multiple physical units, i.e., can be located in one place, or can be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0108] In addition, each functional unit in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0109] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or substantially, or all or part of the technical solutions that make contributions to the prior art, can be embodied in the form of a software product. The software product is stored in a storage medium, and includes several instructions for causing an apparatus (which can be a single chip machine, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various other media that can store program codes.

[0110] The above description is merely a specific implementation of the present application, and the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be covered within the protection scope of the present application.

Claims

1. A power fail continuation method, characterized by, Applied to a 3D printing device, the 3D printing device comprising a nozzle assembly, the method comprising: During printing, obtaining printing parameter information of a to-be-printed model every preset time, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work; If it is detected that the 3D printing device is powered on again after power failure in the middle of printing, obtaining original resuming printing information and position information of the nozzle assembly before power failure, wherein the original resuming printing information is the printing parameter information last obtained by the 3D printing device before power failure; Determining target resuming printing information according to the position information and the original resuming printing information, wherein the target resuming printing information is target printing parameter information of a target slice layer being printed by the 3D printing device before power failure; wherein the determining target resuming printing information according to the position information and the original resuming printing information comprises: determining a region position of an original slice layer corresponding to the original resuming printing information according to the original resuming printing information; detecting whether the region position matches the position information; when it is detected that the region position matches the position information, taking the original resuming printing information as the target resuming printing information; when it is detected that the region position does not match the position information, determining a new region position of a next slice layer of the original slice layer according to the printing parameter information corresponding to the next slice layer; again detecting whether the new region position matches the position information until a new region position matching the position information is detected, wherein the slice layer corresponding to the last detected new region position is the target slice layer; Determining a starting resuming printing position of the to-be-printed model according to the position information, and controlling the 3D printing device to start resuming printing after being powered on again according to the target resuming printing information.

2. The method for continuing printing after power failure according to claim 1, wherein: The original resuming printing information comprises a plurality of printing instructions, and the original slice layer comprises a plurality of to-be-printed line segments, each of the to-be-printed line segments corresponding to a printing instruction; The determining a region position of an original slice layer corresponding to the original resuming printing information according to the original resuming printing information comprises: Determining a plurality of coordinate ranges of the plurality of to-be-printed line segments according to the plurality of printing instructions, wherein one to-be-printed line segment corresponds to one coordinate range; The detecting whether the region position matches the position information comprises: Detecting whether there is a target coordinate range including the position information in the plurality of coordinate ranges; The taking the original resuming printing information as the target resuming printing information when it is detected that the region position matches the position information comprises: When it is detected that there is the target coordinate range, taking the printing instruction of the to-be-printed line segment corresponding to the target coordinate range as the target resuming printing information.

3. The power-on resume printing method of claim 1, wherein, The 3D printing device comprises a hot bed and a fan, and the target resuming printing information comprises a first temperature of the hot bed, a second temperature of the nozzle assembly, and a target rotating speed of the fan; Before the controlling the 3D printing device to start resuming printing according to the target resuming printing information, further comprising: The states of the hot bed, the fan and the nozzle assembly are recovered respectively, and the states of the hot bed, the fan and the nozzle assembly during the state recovery are detected respectively. The 3D printing device is controlled to start the resuming printing according to the target resuming printing information, including: After detecting that the temperature of the hot bed is recovered to the first temperature, the temperature of the nozzle assembly is recovered to the second temperature, and the rotating speed of the fan is recovered to the target rotating speed, the 3D printing device is controlled to start the resuming printing according to the target resuming printing information.

4. The power-through method of claim 3, wherein, The states of the hot bed, the fan and the nozzle assembly during the state recovery are detected respectively, including: detecting whether the temperature of the hot bed is recovered to the first temperature within a first preset time length; detecting whether the temperature of the nozzle assembly is recovered to the second temperature within the first preset time length; detecting whether the rotating speed of the fan is recovered to the target rotating speed within the first preset time length; The 3D printing device is controlled to start the resuming printing according to the target resuming printing information after being powered on again, including: After detecting that the temperature of the hot bed is recovered to the first temperature, the temperature of the nozzle assembly is recovered to the second temperature, and the rotating speed of the fan is recovered to the target rotating speed within the first preset time length, the 3D printing device is controlled to start the resuming printing according to the target resuming printing information. The method further includes: After detecting that at least one of the hot bed, the fan and the nozzle assembly is not recovered to the target state within the first preset time length, an alarm information is sent.

5. The power-on resume printing method of claim 1, wherein, The position information is obtained according to the following manner: After detecting that the 3D printing device is powered on again after being powered off in the middle of printing, a moving direction of the nozzle assembly and a moving distance in the moving direction are recorded; The position information is obtained according to the moving direction and the moving distance.

6. The power-through method of claim 5, wherein, Before the moving direction of the nozzle assembly and the moving distance in the moving direction are recorded, further including: detecting whether the original point signal is found within a second preset time length; The moving direction of the nozzle assembly and the moving distance in the moving direction are recorded, including: After the original point signal is found within the second preset time length, the moving direction of the nozzle assembly relative to the original point signal and the moving distance in the moving direction are recorded.

7. A power failure catch-up device characterized by comprising: The power-off resuming printing device is applied to a 3D printing device, and the 3D printing device includes a nozzle assembly. The first data acquisition module is configured to acquire printing parameter information of a to-be-printed model every preset time during printing, wherein the printing parameter information is used to instruct the 3D printing device to perform 3D printing work. The second data acquisition module is configured to acquire original resuming printing information and position information of the nozzle assembly before power-off when detecting that the 3D printing device is powered on again after being powered off in the middle of printing, wherein the original resuming printing information is the printing parameter information last stored by the 3D printing device before power-off. The first determining module is configured to determine target print-continuation information according to the position information and the original print-continuation information, wherein the target print-continuation information is the print parameter information of a slice layer being printed before the 3D printing device is powered off; and wherein the determining of the target print-continuation information according to the position information and the original print-continuation information comprises: determining, according to the original print-continuation information, a region position of an original slice layer corresponding to the original print-continuation information; detecting whether the region position matches the position information; when it is detected that the region position matches the position information, taking the original print-continuation information as the target print-continuation information; when it is detected that the region position does not match the position information, determining a new region position of a next slice layer of the original slice layer according to print parameter information corresponding to the next slice layer; and again detecting whether the new region position matches the position information until a new region position that matches the position information is detected, wherein the slice layer corresponding to the last detected new region position is a target slice layer. The second determining module is configured to determine a start print-continuation position of the model to be printed according to the position information. The control module is configured to control the 3D printing device to start print-continuation according to the target print-continuation information.

8. An electronic device, comprising: The electronic device comprises a processor and a memory, the memory is configured to store instructions, and the processor is configured to invoke the instructions in the memory, so that the electronic device executes the power-off print-continuation method in any one of claims 1 to 6.

9. A storage medium, characterized by The computer instructions, when executed on an electronic device, cause the electronic device to execute the power-off print-continuation method in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Continuous type 3D printing forming method

    CN109664495A

  • 3D printing device and resume printing method thereof

    US20180272624A1