3D printer control method and printer
By monitoring the driving current frequency of the extruder motor, we judge the working status of the 3D printer and send control instructions, the problems of blockage and material wrapping are solved, the printing quality and efficiency are improved, and material waste is reduced.
Patent Information
- Application Number
- CN202411342474.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-25
AI Technical Summary
The 3D printer nozzle may have blockage or material wrapping problems during printing, resulting in too fast printing speed or blockage of the nozzle, resulting in waste of material and printing failure, and wasted materials and resources.
By monitoring the abnormal changes and frequency of the drive current of the extruder motor, determining the current working status, and sending control commands to adjust the printing speed and acceleration, or pausing tasks to solve the problems of blockage and material wrapping.
提高了3D打印机的打印质量和效率,减少了材料浪费,确保了打印机的稳定运行。
Smart Images

Figure CN119017710A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of 3D printers, and in particular to a 3D printer control method and a printer. Background Art
[0002] 3D printing (3D Printing) is a technology based on computer 3D models and controlled by software to form layers. It is a type of additive manufacturing technology. 3D printing technology is usually implemented using digital technology printers. 3D printers can be used in any industry and are widely used in medicine, construction, automobiles, aerospace and education.
[0003] During the printing process, if the extrusion motor of the 3D printer nozzle is blocked, the frequency of the blockage can be used to determine whether the printing speed is too fast and the extruder flow cannot meet the printing speed requirements; or the nozzle of the printer is blocked and the consumables are entangled. No matter which of the above abnormalities is present, the printed model will have the problem of virtual material, affecting the printing quality. In more serious cases, it may even cause printing failure, resulting in a waste of printing materials, time and electricity resources. Summary of the invention
[0004] In order to overcome the above technical defects, the present invention provides a 3D printer control method and a printer.
[0005] In order to solve the above problems, the present invention is implemented according to the following technical solutions:
[0006] A 3D printer control method comprises the following steps:
[0007] When the driving current of the extruder motor changes abnormally, the frequency of the abnormal change is calculated;
[0008] Compare the occurrence frequency with the set threshold to determine the current working status of the 3D printer;
[0009] Based on the working status, control instructions are sent to the 3D printer.
[0010] As a further improvement of the present invention, the abnormal change includes: stalling, and when the driving current of the extrusion motor changes abnormally, the step of calculating the frequency of occurrence of the abnormal change includes:
[0011] When the driving current of the extrusion motor fluctuates abnormally, the extrusion motor is judged to be stalled;
[0012] Select the time intervals when the extruder motor stalls several times, and calculate the frequency of the extruder motor stalling.
[0013] As a further improvement of the present invention, the step of selecting the time intervals between several stalls of the extruder motor and calculating the stall frequency of the extruder motor is as follows:
[0014] Start timing when a stall occurs, record the time it takes for subsequent stalls to occur, calculate the time intervals between several stalls, and obtain the frequency of the extruder motor stalling.
[0015] As a further improvement of the present invention, the step of comparing the occurrence frequency with a set threshold value to determine the current working state of the 3D printer includes:
[0016] Compare the frequency of the extruder motor stalling with the set threshold;
[0017] If the frequency of the extruder motor stalling is lower than the set threshold, it is judged that the printing speed of the 3D printer is too fast;
[0018] If the frequency of the extruder motor stalling is higher than the set threshold, it is determined that the nozzle of the 3D printer is blocked or entangled.
[0019] As a further improvement of the present invention, the step of sending a control instruction to the 3D printer based on the working state includes:
[0020] If the printing speed of the 3D printer is too fast, the 3D printer sends a speed adjustment instruction.
[0021] As a further improvement of the present invention, the speed adjustment instruction includes: a printing speed instruction and an acceleration instruction.
[0022] As a further improvement of the present invention, the present invention further comprises the steps of: the 3D printer receives a printing speed instruction and an acceleration instruction, and the X-axis motor, the Y-axis motor, the Z-axis motor and the extrusion motor adjust the printing speed and the acceleration;
[0023] The higher the frequency of stalling, the more the printing speed and acceleration are reduced; the lower the frequency of stalling, the less the printing speed and acceleration are reduced.
[0024] As a further improvement of the present invention, the present invention further comprises the steps of:
[0025] Continue to monitor the frequency of abnormal changes and control the 3D printer until no abnormal changes occur.
[0026] As a further improvement of the present invention, the step of sending a control instruction to the 3D printer based on the working state includes:
[0027] If the nozzle of the 3D printer is blocked or entangled with material, a task pause command is sent to the 3D printer.
[0028] Compared with the prior art, the present invention has the following beneficial effects: the present invention judges the current working state of the 3D printer based on the frequency of abnormal changes in the extrusion motor, and controls the 3D printer differently according to different working states, thereby improving the printing effect of the 3D printer and reducing material waste.
[0029] The present invention also provides a 3D printer, comprising: a main control board and a monitoring circuit, wherein the main control board is provided with a processor and a memory;
[0030] The monitoring circuit is used to monitor abnormal changes of the extrusion motor and feed back to the processor;
[0031] At least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the above-mentioned 3D printer control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of the 3D printer control method of Example 1;
[0033] Figure 2 This is a schematic diagram of the structure of the printer shown in Example 2. DETAILED DESCRIPTION
[0034] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0035] Example 1
[0036] See also Figure 1 This embodiment provides a 3D printer control method, comprising the steps of:
[0037] S1. When the driving current of the extrusion motor changes abnormally, the frequency of the abnormal change is calculated. The abnormal change includes: stalling. In the specific implementation process, when the driving current of the extrusion motor fluctuates abnormally, the extrusion motor is judged to be stalled.
[0038] When the extruder motor is blocked, the time interval between several blockings of the extruder motor is selected to calculate the frequency of the blocking of the extruder motor, which can be calculated in the following way:
[0039] First, start timing when the extrusion motor is stalled, record the time it takes for subsequent stalls, and then calculate the time intervals between several stalls to obtain the frequency of stalls in the extrusion motor. For example, start timing when the extrusion motor is stalled for the first time, record the time it takes for the second stall, and calculate the frequency of stalls in the extrusion motor by the time interval between the two stalls. This calculation method can be the frequency of two stalls, or the frequency of three or more stalls.
[0040] S2. Compare the occurrence frequency with the set threshold to determine the current working status of the 3D printer:
[0041] If the frequency of the extruder motor stalling is lower than the set threshold, it is judged that the printing speed of the 3D printer is too fast and the nozzle extrusion flow cannot meet the printing speed requirement;
[0042] If the frequency of the extruder motor stalling is higher than the set threshold, it is determined that the nozzle of the 3D printer is blocked or entangled.
[0043] S3. Sending a control instruction to the 3D printer based on the working state. After the above step S2, different working states of the 3D printer can be obtained. Based on the different working states, the 3D printer can be controlled differently.
[0044] If the printing speed of the 3D printer is too fast, the 3D printer sends a speed adjustment command; the 3D printer receives the printing speed command and the acceleration command, and the X-axis motor, Y-axis motor, Z-axis motor and extruder motor adjust the printing speed and acceleration, and the adjustment is combined according to the frequency of the extruder motor stalling. Specifically, the higher the stalling frequency, the more the printing speed and acceleration are reduced; the lower the stalling frequency, the less the printing speed and acceleration are reduced.
[0045] If the nozzle of the 3D printer is blocked or entangled with material, a task pause instruction is sent to the 3D printer. At the same time, the 3D printer sends a prompt, and the worker checks whether the 3D printer has any blockage or entanglement problems, and moves the nozzle of the 3D printer to the standby position.
[0046] S4. Continue to monitor the frequency of abnormal changes and control the 3D printer until no abnormal changes occur.
[0047] This implementation monitors the driving current of the extruder motor in real time, calculates the frequency of the extruder motor stalling, and based on the frequency of the extruder motor stalling, compares and analyzes with the set threshold to determine the current state of the 3D printer, and determines the control instructions of the 3D printer according to different working states to control the 3D printer differently. Through the above-mentioned 3D printer control method, the state of the 3D printer can be adjusted differently based on the abnormal changes in the driving current of the extruder motor and the frequency, thereby improving the printing effect of the 3D printer or reducing the waste of materials; in addition, the 3D printer is monitored throughout the printing process to ensure the stable operation of the 3D printer.
[0048] Example 2
[0049] This embodiment provides a 3D printer, such as Figure 2 As shown, it includes: a main control board and a monitoring circuit, the main control board is provided with a processor and a memory; the monitoring circuit is used to monitor abnormal changes of the extrusion motor and feed back to the processor; at least one instruction is stored in the memory, and at least one instruction is loaded and executed by the processor to implement the 3D printer control method in Example 1.
[0050] The monitoring circuit is a current monitoring circuit, that is, a stepper motor stall current monitoring circuit. The current monitoring circuit can utilize a driver chip with a stall detection function to implement stall monitoring, or a current monitoring circuit can be designed separately.
[0051] The main control board includes: an electrically connected nozzle main control board and a 3D printer main control board. The nozzle main control board includes: a frequency counting circuit, an extrusion motor drive circuit, a heating control circuit, a temperature detection circuit, a fan control circuit, and a vibration detection circuit, etc. Various circuits are combined and designed according to actual needs. The current monitoring circuit is set on the nozzle main control board, or the current monitoring circuit can be designed as a whole with the extrusion motor drive circuit, or it can be designed separately and electrically connected through wires.
[0052] The extrusion motor drive circuit includes a drive chip. The drive chip may be a common motor drive chip or a stepper motor drive chip with stall detection, such as TMC2209, TMC5272, etc.
[0053] Through the above technical solution, the jam of the extrusion motor can be monitored. After the extrusion motor is jammed, the printing speed and acceleration of the X-axis motor, Y-axis motor, Z-axis motor and extrusion motor can be controlled in time to ensure the stable operation of the 3D printer. The problems of excessive printing speed, material jamming and material entanglement in the 3D printer can be effectively solved.
[0054] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A 3D printer control method, characterized in that: Includes steps: When the driving current of the extruder motor changes abnormally, the frequency of the abnormal change is calculated; Compare the occurrence frequency with the set threshold to determine the current working status of the 3D printer; Based on the working status, control instructions are sent to the 3D printer.
2. The 3D printer control method according to claim 1, characterized in that: The abnormal change includes: stalling. When the driving current of the extrusion motor changes abnormally, the step of calculating the frequency of occurrence of the abnormal change includes: When the driving current of the extrusion motor fluctuates abnormally, the extrusion motor is judged to be stalled; Select the time intervals when the extruder motor stalls several times, and calculate the frequency of the extruder motor stalling.
3. The 3D printer control method according to claim 2, characterized in that: The step of selecting the time intervals between several stalls of the extruder motor and calculating the stall frequency of the extruder motor is as follows: Start timing when a stall occurs, record the time it takes for subsequent stalls to occur, calculate the time intervals between several stalls, and obtain the frequency of the extruder motor stalling.
4. The 3D printer control method according to claim 2, characterized in that: The step of comparing the occurrence frequency with a set threshold value to determine the current working state of the 3D printer includes: Compare the frequency of the extruder motor stalling with the set threshold; If the frequency of the extruder motor stalling is lower than the set threshold, it is judged that the printing speed of the 3D printer is too fast; If the frequency of the extruder motor stalling is higher than the set threshold, it is determined that the nozzle of the 3D printer is blocked or entangled.
5. The 3D printer control method according to claim 4, characterized in that: The step of sending a control instruction to the 3D printer based on the working status includes: If the printing speed of the 3D printer is too fast, the 3D printer sends a speed adjustment instruction.
6. The 3D printer control method according to claim 5, characterized in that: The speed adjustment instruction includes: a printing speed instruction and an acceleration instruction.
7. The 3D printer control method according to claim 6, characterized in that: The steps are also included: the 3D printer receives a printing speed instruction and an acceleration instruction, and the X-axis motor, the Y-axis motor, the Z-axis motor and the extrusion motor adjust the printing speed and acceleration; The higher the frequency of stalling, the more the printing speed and acceleration are reduced; the lower the frequency of stalling, the less the printing speed and acceleration are reduced.
8. The 3D printer control method according to claim 1, characterized in that: Also includes the steps: Continue to monitor the frequency of abnormal changes and control the 3D printer until no abnormal changes occur.
9. The 3D printer control method according to claim 4, characterized in that: The step of sending a control instruction to the 3D printer based on the working status includes: If the nozzle of the 3D printer is blocked or entangled with material, a task pause command is sent to the 3D printer.
10. A 3D printer, characterized in that: include: A main control board and a monitoring circuit, wherein the main control board is provided with a processor and a memory; The monitoring circuit is used to monitor abnormal changes of the extrusion motor and feed back to the processor; At least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the 3D printer control method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Device and method for detecting state of consumable material
CN106853684A
Printing quality control method for 3D printing model and related equipment
CN118061537A
Stepping motor, locked-rotor detection method and device thereof and electronic expansion valve
CN118074603A
Printing state detection method, three-dimensional printing system and readable storage medium
CN118219566A
Locked rotor detection method and apparatus for screen-pressing prevention in photo-curing 3D printing
WO2022228435A1
Cited By
3D printer anomaly detection method and device and 3D printer
CN119795571A
Data processing method and system for state recognition analysis of printer
CN121424689A
A data processing method and system for status recognition analysis of a printer
CN121424689B
Anomaly detection method and apparatus, and 3D printing device, electronic device and storage medium
WO2026189333A1
