A high-quality high-speed printing method for a printer
By setting up a PCB circuit board on the 3D printer to prevent reverse current interference, installing an accelerometer to measure the amplitude-frequency response curve, using Klipper firmware and Raspberry Pi to share the decoding task, and combining CoreXY structure and multi-nozzle technology, the resonance and insufficient CPU computing power problems in high-speed printing were solved, achieving high-quality high-speed printing results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG BIYING ZENGCAI MANUFACTURING TECHNOLOGY CO LTD
- Filing Date
- 2024-08-01
- Publication Date
- 2026-05-19
AI Technical Summary
Existing 3D printers are prone to problems such as uneven model extrusion and ripples during high-speed printing. Furthermore, the CPU computing power of the main control board is insufficient when the printing speed increases, resulting in a decrease in print quality.
A PCB circuit board is set on the printer to prevent reverse current interference. An accelerometer is installed to measure the amplitude-frequency response curves of the X and Y axes. Klipper firmware and Raspberry Pi are used to share the decoding task of the main control board. Combining the CoreXY structure and multi-nozzle technology, slicing software is used to optimize color and material distribution to achieve dynamic adjustment and remote control.
It improves printing accuracy and stability, avoids resonance, enhances production efficiency and product quality, solves quality problems in high-speed printing, and strengthens the system's processing capacity and response speed.
Smart Images

Figure CN119159812B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 3D printer technology, and in particular discloses a high-quality, high-speed printing method for printers. Background Technology
[0002] FDM (Film Direct Molding) technology is a process that uses digital model files as a basis. Linear, thermoplastic material is heated and melted, while a nozzle, under computer control, selectively extrudes the material onto a worktable based on cross-sectional contour information, allowing it to cool and solidify. After one layer is formed, the worktable descends one layer height to form the next, until the entire solid shape is created.
[0003] Generally speaking, the operating speed of a conventional 3D printer is 80mm / s (platform movement speed), which is relatively slow. A large model may take a whole day to print. It is possible to increase the 3D printing speed, but correspondingly, the faster the 3D printing speed, the greater the probability of problems with the model. For example, near the point where the printing acceleration changes abruptly (usually at printing corners), the model is more likely to have uneven extrusion and ripples. Therefore, there is an urgent need for a high-quality, high-speed printing method for printers. Summary of the Invention
[0004] In order to overcome the shortcomings and deficiencies of the existing technology, the purpose of this invention is to provide a high-quality, high-speed printing method for printers.
[0005] To achieve the above objectives, the present invention provides a high-quality, high-speed printing method for a printer, comprising the following steps:
[0006] S1: A PCB circuit board is set between the stepper motor used to control the movement of the printing module on the printer and the motor driver on the main control board. A diode is set on the PCB circuit board to prevent reverse current backflow from interfering with the control electrical signal sent by the main control board.
[0007] S2: By installing an acceleration sensor at the printhead and making the printer reciprocate back and forth at different speeds on the X and Y axes, the amplitude-frequency response curves of the X and Y axes under different accelerations can be measured.
[0008] S3: Combine the X-axis and Y-axis motions under different accelerations, and through continuous combination, obtain a solution value that can make the natural frequency of the X-axis and the natural frequency of the Y-axis different, so as to avoid resonance caused by their similar mechanical frequencies, which would have a great negative impact on the quality of the printed model.
[0009] S4: It adopts Klipper firmware and introduces Raspberry Pi to help the 3D printer's main control board to take on the decoding task, so that the main control board can only be used to execute tasks, in order to solve the problem of insufficient CPU computing power of the main control board due to the increase in printing speed.
[0010] Preferably, the PCB circuit board is provided with pins P1 and P2 for connecting the stepper motor and the motor driver on the main control board, respectively. Pins P1 and P2 are provided with two diodes connected in parallel on the lines for transmitting control electrical signals. The two diodes conduct in opposite directions and are used to transmit reverse current and control signals, respectively.
[0011] Preferably, the printing module is equipped with an accelerometer and a data acquisition module. The accelerometer is used to monitor the acceleration changes of the print head in the X and Y axes in real time. The data acquisition module is used to trigger periodically or based on an acceleration change threshold. The accelerometer can monitor the acceleration changes of the print head in the X and Y axes in real time. This real-time monitoring function provides key dynamic information for the printing process, helping the system to respond and adjust the motion state of the print head in a timely manner. The data acquisition module is responsible for collecting the data output by the accelerometer. This data reflects the motion characteristics of the print head in a two-dimensional plane, including stability and acceleration changes. The data acquisition module can not only collect data periodically, but also be intelligently triggered based on a preset acceleration change threshold. This means that when the acceleration change of the print head exceeds or falls below a certain value, the data acquisition module will automatically start, record and analyze this change. This intelligent triggering mechanism helps reduce unnecessary data collection, save storage space and computing resources, and ensures that important motion information can be obtained at critical moments.
[0012] Preferably, the main control board includes a processing unit for collecting and processing acceleration data under different accelerations, plotting the amplitude-frequency response curves of the X and Y axes, identifying their respective natural frequencies, and adjusting the motion parameters of the print head to avoid the vibration frequencies of the X and Y axes becoming too close. After identifying the natural frequencies, the main control board can adjust the motion parameters of the print head, such as speed and acceleration, based on this information to prevent the vibration frequencies of the X and Y axes from becoming too close, thereby reducing the occurrence of resonance. By avoiding the closeness of the vibration frequencies of the X and Y axes, vibration and offset caused by resonance are reduced, thereby improving the accuracy and stability during the printing process. This technology realizes the automatic acquisition, processing, and automatic adjustment of acceleration data and motion parameters, improving the intelligence level of the control system.
[0013] Preferably, the main control board also includes a motion control unit used in conjunction with the processing unit. The motion control unit is electrically connected to the processing unit to receive instructions from the processing unit to adjust the movement of the printing module. The motion control unit uses the acceleration data of the printing module continuously monitored by the processing unit during the printing process. When the vibration trend is detected to be close to the resonance point, a dynamic adjustment mechanism is triggered to adjust the printing parameters in real time. Through close cooperation with the processing unit, the motion control unit can receive and process the acceleration data of the printing module during the printing process in real time. This data provides the system with immediate feedback on the motion state of the printing module. By monitoring and adjusting the printing parameters in real time, the system can effectively avoid the occurrence of resonance, thereby significantly improving the stability of the printing process and helping to reduce the degradation of printing quality and errors caused by vibration.
[0014] Preferably, the slicing software module allows users to set corresponding colors and materials for each printhead, enabling color allocation and slicing of multi-printhead models. Precise control through the slicing software reduces errors caused by manual operation, such as color confusion and material waste, thus helping to lower the error rate and cost during printing. The combination of multi-printhead printing technology and the color allocation function of the slicing software provides designers with more creative freedom. They can design more complex, colorful, and layered 3D models and print them accurately. Due to the precise allocation of colors and materials and the optimization of printing parameters, the printed models exhibit higher quality in terms of color transitions and material bonding.
[0015] Preferably, the slicing process involves splitting a model file into multiple different STL files, placing all the files into Cura, selecting the corresponding nozzle for each small model, and then merging all the files to obtain the final model and slicing it.
[0016] Preferably, the core control firmware of the 3D printer is burned into a Raspberry Pi, allowing the Raspberry Pi to handle the computational tasks of the main control board. The compilation and burning process for the Klipper firmware is as follows:
[0017] Connect the computer to the Raspberry Pi;
[0018] Compile the Klipper firmware using the computer's cmd command prompt software;
[0019] Burn the firmware into the Raspberry Pi;
[0020] Obtain the Raspberry Pi ID and open it in a web browser for further testing.
[0021] Preferably, the Raspberry Pi's networking capabilities are used as a communication relay station to connect the Raspberry Pi to the main control board of the 3D printer, enabling the remote sending and receiving of commands. In this way, when we want to send commands to the main control board, we can first send them to the Raspberry Pi, and then the Raspberry Pi will forward the commands to the main control board. At the same time, when we want to collect information feedback from the main control board, we can first have the main control board send the information to the Raspberry Pi, and then the Raspberry Pi will forward it to our mobile phone or computer web page via the Internet of Things.
[0022] Preferably, the intranet penetration module uses intranet penetration technology, which uses a public IP address obtained from a third-party service as a bridge to establish a data transmission channel from the external network to the internal network.
[0023] The beneficial effects of this invention are as follows: By placing a PCB circuit board between the stepper motor and the main control board motor drive, interference from reverse current backflow to the control signals emitted by the main control board is effectively prevented. This design enhances the stability and reliability of the system, ensures the accuracy of the motor drive signals, and thus guarantees precise control during the printing process. This method significantly improves the precision control during printing, resulting in more detailed and accurate printed models. Installing an acceleration sensor at the printhead and measuring the amplitude-frequency response curves of the X and Y axes under different accelerations enables precise analysis of the printer's motion characteristics. This step provides data support for subsequent acceleration optimization, helping to find the optimal acceleration combination to avoid interference. The occurrence of vibration is addressed by combining X-axis and Y-axis motions under different accelerations and finding solutions that can offset the natural frequencies of the X-axis and Y-axis. This effectively avoids resonance problems caused by similar mechanical frequencies, a common source of quality issues in high-speed printing. This step significantly improves the accuracy and stability of the printed model. By introducing Klipper firmware and Raspberry Pi, the 3D printer's main control board can share the decoding task, allowing it to focus on executing the printing task. This design solves the problem of insufficient CPU computing power on the main control board due to increased printing speed, improving the overall processing power and response speed of the system. At the same time, the high printing speed and accuracy also improve production efficiency and product quality. Attached Figure Description
[0024] Figure 1 A flowchart of a high-quality, high-speed printing method for a printer;
[0025] Figure 2 This is a schematic diagram of the module block structure included in the lower-level machine of the present invention;
[0026] Figure 3 This is a schematic diagram of the circuit board principle of the present invention;
[0027] Figure 4 This is a schematic diagram of the circuit board (PCB) of the present invention;
[0028] Figure 5 This is a schematic diagram of the overall control circuit connection of the present invention;
[0029] Figure 6 This is a schematic diagram of the intranet penetration process of the present invention;
[0030] Figure 7 This is a schematic diagram illustrating the transmission theory of the control signal in this invention.
[0031] Figure 8 This is a schematic diagram of the actual transmission of the control signal according to the present invention;
[0032] Figure 9 This is a schematic diagram of the stepper motor exploded according to the present invention;
[0033] Figure 10 This is a schematic diagram of the printer decoding process of the present invention;
[0034] Figure 11 This is a schematic diagram of the Corexy structure of the present invention;
[0035] Figure 12 This is one of the schematic diagrams of the PCB circuit board designed using the unidirectional conductivity of diodes according to the present invention;
[0036] Figure 13 This is the second schematic diagram of the PCB circuit board designed using the unidirectional conductivity of a diode according to the present invention.
[0037] Figure 14 This is a functional diagram of the touch screen module of the present invention. Detailed Implementation
[0038] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to embodiments and accompanying drawings. The content mentioned in the embodiments is not intended to limit the present invention.
[0039] Please see Figures 1 to 14 As shown, a high-quality, high-speed printing method for a printer according to the present invention includes the following steps:
[0040] S1: A PCB circuit board is set between the stepper motor used to control the movement of the printing module on the printer and the motor driver on the main control board. A diode is set on the PCB circuit board to prevent reverse current backflow from interfering with the control electrical signal sent by the main control board.
[0041] S2: By installing an accelerometer at the printing module and making the printer reciprocate back and forth at different speeds on the X and Y axes, the amplitude-frequency response curves of the X and Y axes under different accelerations can be measured.
[0042] S3: Combine the X-axis and Y-axis motions under different accelerations, and through continuous combination, obtain a solution value that can make the natural frequency of the X-axis and the natural frequency of the Y-axis different, so as to avoid resonance caused by their similar mechanical frequencies, which would have a great negative impact on the quality of the printed model.
[0043] S4: It adopts Klipper firmware and introduces Raspberry Pi to help the 3D printer's main control board to take on the decoding task, so that the main control board can only be used to execute tasks, in order to solve the problem of insufficient CPU computing power of the main control board due to the increase in printing speed.
[0044] Specifically, by placing a PCB circuit board between the stepper motor and the main control board's motor drive, interference from reverse current flow to the control signals emitted by the main control board is effectively prevented. This design enhances the system's stability and reliability, ensures the accuracy of the motor drive signals, and thus guarantees precise control during the printing process. This method significantly improves the precision control during printing, resulting in more detailed and accurate printed models. An accelerometer is installed at the print head, and by measuring the amplitude-frequency response curves of the X and Y axes under different accelerations, precise analysis of the printer's motion characteristics is achieved. This step provides data support for subsequent acceleration optimization, helping to find the optimal acceleration combination to avoid resonance. The generation of the image is achieved by combining the X-axis and Y-axis motions under different accelerations and finding solutions that can offset the natural frequencies of the X-axis and Y-axis. This effectively avoids the resonance problem caused by similar mechanical frequencies, which is a common source of quality problems in high-speed printing. This step can significantly improve the accuracy and stability of the printed model. By introducing Klipper firmware and Raspberry Pi, the main control board of the 3D printer can share the decoding task, allowing it to focus on executing the printing task. This design solves the problem of insufficient CPU computing power on the main control board due to the increased printing speed, improving the overall processing power and response speed of the system. At the same time, the high printing speed and accuracy also improve production efficiency and product quality.
[0045] Specifically, the PCB circuit board has pins P1 and P2 for connecting the stepper motor and the motor driver on the main control board, respectively. Pins P1 and P2 are equipped with two diodes connected in parallel on the lines for transmitting control electrical signals. The two diodes conduct in opposite directions and are used to transmit reverse current and control signals, respectively.
[0046] Specifically, when the main control board sends a control signal (i.e., forward current) to the motor drive through pin P1, the diode in the same direction as the current conducts, allowing the current to pass through and be transmitted to the stepper motor. At this time, the other diode is in the reverse cutoff state and does not participate in the current transmission. If, for some reason (such as motor back EMF, external power supply failure, etc.), a reverse current is generated and attempts to flow back to the main control board through pin P2, then the diode in the opposite direction of the reverse current will immediately conduct. However, the reverse current here does not flow directly back to the main control board, but is guided to other safe paths in the circuit, such as ground or the negative terminal of the power supply. Due to the action of the diode, the reverse current is effectively "bypassed" or "shunted" and does not return directly to the main control board. Therefore, interference with the control signals sent by the main control board is avoided. The parallel diodes provide a low-impedance path when reverse current occurs through their unidirectional conductivity, guiding the reverse current to a safe path. This design ensures that neither forward nor reverse current will cause damage or interference to the main control board.
[0047] Specifically, the structural design includes the CoreXY structure used in the motion structure of the 3D printing mechanism in this embodiment. The CoreXY structure achieves precise control by linearly combining the effects of the two motors' movements. The characteristics of the CoreXY structure are:
[0048] 1. Compared to the XYZ structure, the CoreXY structure is relatively compact, and can achieve a larger print size than the conventional XYZ structure in the same volume.
[0049] 2. In the CoreXY structure, the two motors that enable movement in the XY plane are fixed, which reduces the weight of the moving parts and thus reduces their inertia. With the same driving force, the acceleration is higher, resulting in more agile movement.
[0050] 3. In many cases, two motors simultaneously drive the movement of moving parts, which is equivalent to doubling the driving force, resulting in faster acceleration and more agile movement.
[0051] Specifically, the 3D printer initially has four printing nozzles. The printing nozzles are fixed to the edge of the machine frame by a magnetic adsorption module. When the moving nozzle on the x-axis moves in front of the fixed printing nozzle, the nozzle fixed to the edge of the machine frame can be removed by rotating the fixed shaft and the magnetic adsorption module. The removed printing nozzle is connected to the moving nozzle on the x-axis by rotating the fixed shaft and moves with the moving nozzle on the x-axis. The four printing nozzles can realize the printing of four materials or colors, thus realizing the structural design of multiple nozzles and changing nozzles.
[0052] Specifically, a stepper motor's operation relies primarily on its stator and mover. The stator consists of wound coils, while the mover is made of neodymium magnets. The working principle of a stepper motor is to continuously input current into different groups of the stator, generating magnetism through electromagnetism, which then drives the stator to rotate. However, due to electromagnetic induction, the magnetic flux flowing into the stator changes continuously as the mover rotates, generating a reverse current. When the mover rotates at high speed, this reverse current becomes significant, affecting the control signals input to the stepper motor and causing distortion. This can lead to missed steps and vibrations in the entire machine, ultimately impacting the quality of the printed model. When the stepper motor is operating, the coils continuously cut magnetic lines of field, generating a reverse current through electromagnetic induction. While this reverse current is negligible at low speeds, it becomes significant at high speeds, negatively impacting the control signals and causing distortion. Therefore, a diode design effectively prevents interference from the reverse current on the signals emitted by the main control board.
[0053] Specifically, the printing module is equipped with an accelerometer and a data acquisition module. The accelerometer monitors the acceleration changes of the print head in the X and Y axes in real time. The data acquisition module is triggered periodically or based on an acceleration change threshold. The accelerometer provides crucial dynamic information for the printing process, helping the system respond promptly and adjust the print head's motion. The data acquisition module collects data output from the accelerometer, reflecting the print head's motion characteristics in a two-dimensional plane, including stability and acceleration changes. The data acquisition module can not only collect data periodically but also intelligently trigger based on a preset acceleration change threshold. This means that when the print head's acceleration change exceeds or falls below a certain value, the data acquisition module will automatically start, record, and analyze the change. This intelligent triggering mechanism helps reduce unnecessary data collection, saves storage space and computing resources, and ensures that important motion information can be obtained at critical moments.
[0054] Specifically, the accelerometer and data acquisition module are used to measure the amplitude-frequency response curves of the X and Y axes under different accelerations via the main control board.
[0055] Specifically, the accelerometer is the ADXL345 digital accelerometer.
[0056] Specifically, the main control board includes a processing unit, which is electrically connected to an accelerometer and a data acquisition module to collect and process acceleration data under different accelerations, plot the amplitude-frequency response curves of the X and Y axes, identify their respective natural frequencies, and adjust the motion parameters of the print head on the printer to avoid the vibration frequencies of the X and Y axes becoming too close. After identifying the natural frequencies, the main control board can adjust the motion parameters of the print head, such as speed and acceleration, based on this information to prevent the vibration frequencies of the X and Y axes from becoming too close, thereby reducing the occurrence of resonance. By avoiding the closeness of the vibration frequencies of the X and Y axes, vibration and offset caused by resonance are reduced, thereby improving the accuracy and stability of the printing process. This technology realizes the automatic acquisition and processing of acceleration data and the automatic adjustment of motion parameters, improving the intelligence level of the control system.
[0057] Specifically, the main control board also includes a motion control unit used in conjunction with the processing unit. The motion control unit is electrically connected to the processing unit to receive instructions from the processing unit to adjust the movement of the printing module. The motion control unit uses the acceleration data of the printing module continuously monitored by the processing unit during the printing process. When it detects that the vibration trend is close to the resonance point, it triggers a dynamic adjustment mechanism to adjust the printing parameters in real time. Through close cooperation with the processing unit, the motion control unit can receive and process the acceleration data of the printing module during the printing process in real time. This data provides the system with immediate feedback on the motion status of the printing module. By monitoring and adjusting the printing parameters in real time, the system can effectively avoid the occurrence of resonance, thereby significantly improving the stability of the printing process and helping to reduce the degradation of print quality and errors caused by vibration.
[0058] Specifically, the print head has two degrees of freedom in the X and Y directions. Vibration is easily generated at the points where acceleration changes direction. At normal printing speeds, the acceleration generated at these points is limited, and its impact on the quality of the printed model is also limited. However, when the printing speed increases, the acceleration generated at the points where the printed model changes direction becomes very large, thus causing mechanical vibrations that cannot be ignored. In particular, when the natural frequencies of the vibrations in the X and Y directions are close, resonance occurs, which will have a significant impact on the printing of the model. Therefore, the processing unit and motion control unit need to work together to adjust the movement of the printing module.
[0059] Specifically, a high-quality, high-speed printing method for a printer also includes a host computer and a slave computer. The host computer is the machine that sends instructions. For this 3D printer, the host computer can be divided into several parts, including slicing software, 3D printing firmware, remote control software, etc. The slave computer includes a motherboard and a touch-screen color control screen and corresponding modules.
[0060] Specifically, the hardware part uses LCSC EDA software to design the corresponding schematic and PCB of the motherboard. After the circuit board is manufactured, it can control up to 9 stepper motors; up to 6 heating blocks; up to 6 fans; connect to a touch screen; output 12V / 24V voltage; have an SD card slot for firmware burning; connect to a material breakage detection module, WIFI module, automatic leveling probe module, etc.; have an interface for connecting to a computer; and control a heated bed.
[0061] Specifically, a touch-screen color control panel and corresponding modules are installed on the existing printer. This color screen can be used in conjunction with modules such as an automatic power-off module, a material breakage detection module, a WIFI module, and a power-off resume printing module, thereby expanding the functionality of the printer and enabling the 3D printer to have multiple functions.
[0062] Specifically, the roles and functions of each module are as follows: Automatic power-off module: When the 3D printer stops working, if the printer does not receive any commands after a long period of time, the automatic power-off module will automatically cut off the power supply to the 3D printer, thereby stopping the motherboard and various components from working and saving power.
[0063] Material breakage detection module: If a material breakage occurs during the printing process of the 3D printer, the automatic material breakage detection module will quickly send an instruction to the 3D printer motherboard, thereby causing the 3D printer to quickly enter a pause state and effectively prevent printing failure.
[0064] The WIFI module can provide real-time feedback on the printer's status information to the user, such as printing failures or insufficient consumables, helping the user to identify and resolve problems in a timely manner. Furthermore, after the printer has not been used for a long time or after completing a printing task, it can receive instructions through the WIFI module to automatically cut off the power supply in conjunction with the automatic power-off module, reducing energy consumption and improving safety.
[0065] Power-off resume printing module: When the 3D printer is in operation, if the power supply to the printer is suddenly interrupted, the power-off resume printing module will automatically store the printer's printing process. After the power is restored to the printer, the printer will be able to resume the remaining printing process from where the power was interrupted.
[0066] Automatic leveling probe module: This module assists in leveling and can replace the Z-axis limit switch. One probe is provided on each printhead. After changing the tool head, the new tool head can use this probe to return to zero on the Z-axis. Based on the height interval between different printheads, the probe's compensation function ensures that the printhead does not create a gap between itself and the printing platform during printing.
[0067] For details, please refer to Figure 7 The automatic shutdown interface is equipped with signal terminals, GND terminals, and SV terminals. The automatic shutdown interface is used to connect to the power button. When the power button (self-reset) is pressed, the control board and the touch screen are powered on. The touch screen signal terminal outputs a low-level signal, triggering the relay to close and keeping the circuit powered on. When shutting down, the touch screen signal terminal outputs a high-level signal, resetting the relay. The normally open terminal is disconnected from the common terminal, and the circuit power supply is disconnected, thus achieving automatic power-off.
[0068] Specifically, in this embodiment, multiple printheads are provided, and each printhead is used to print different colors / materials.
[0069] Specifically, the printhead is equipped with a magnetic component, and the printer frame is equipped with a ferromagnetic component that can be attracted by the magnetic component. The printhead is detachably attached to the frame by the magnetic and ferromagnetic components for easy placement and removal.
[0070] Specifically, high-quality, high-speed printing methods also include utilizing slicing software modules to allow users to set corresponding colors and materials for each printhead, enabling color allocation and slicing of multi-printhead models. Precise control through slicing software reduces errors caused by manual operation, such as color confusion and material waste, thus helping to lower error rates and costs during the printing process. The combination of multi-printhead printing technology and the color allocation function of slicing software provides designers with more creative freedom. They can design more complex, colorful, and layered 3D models and print them accurately. Due to the precise allocation of colors and materials and the optimization of printing parameters, the printed models exhibit higher quality in terms of color transitions and material bonding.
[0071] Specifically, the slicing software used is the latest version of Cura, an open-source software from Ultimaker. Cura supports multi-head functionality and allows users to pre-set the corresponding color and material for each printhead within the software.
[0072] Specifically, the slicing process involves splitting a model file into multiple different STL files, placing all the files into Cura, and selecting the corresponding nozzle for each small model. After selection, we can already see the color differences between them in the software interface. Then, all the files are merged to obtain the final model and sliced.
[0073] Specifically, the core control firmware of the 3D printer is burned into the Raspberry Pi, allowing the Raspberry Pi to handle the computational tasks of the main control board; the compilation and burning process of the Klipper firmware is as follows:
[0074] Connect the computer to the Raspberry Pi;
[0075] Compile the Klipper firmware using the computer's cmd command prompt software;
[0076] Burn the firmware into the Raspberry Pi;
[0077] Obtain the Raspberry Pi ID and open it in a web browser for further testing.
[0078] Specifically, for the 3D printing firmware, we use the world's most advanced Klipper firmware. Compared to other firmware in the world, Klipper firmware has its unique advantages. Klipper firmware needs to be burned into the Raspberry Pi, and the Raspberry Pi will share some of the computing tasks with the main control board, reducing the burden on the main control board.
[0079] Specifically, the core control firmware of the 3D printer is burned into a Raspberry Pi, which uses its networking capabilities as a communication relay. The Raspberry Pi is then connected to the main control board of the 3D printer to enable remote command sending and receiving. When we want to send a command to the main control board, we can first send it to the Raspberry Pi, which then forwards the command to the main control board. Similarly, when we want to collect feedback from the main control board, the main control board can first send the information to the Raspberry Pi, which then forwards it to our mobile phone or computer web browser via the Internet of Things (IoT).
[0080] Specifically, to print a model, we first obtain the model's STL file (containing its geometric features), then slice it using software to obtain a G-code file. Finally, we place the G-code file on an SD card and have the printer execute it. G-code describes the machining information of the machine tool, such as toolpath, coordinate selection, and coolant activation. The main function of the G-code interpreter is to interpret G-code into data blocks that the CNC system can recognize. G-code was originally used for CNC machine tools, and 3D printers were developed based on CNC machine tools. Therefore, G-code is also applicable to 3D printers. The printing process is: G-code—decoding—tasks to be completed by each component—execution—sending instructions to each electronic component and continuously collecting feedback. When the printer executes G-code, it needs to go through two main processes: decoding and execution. However, both processes consume a lot of CPU power on the main control board. Increasing the printing speed requires a corresponding increase in the decoding and execution speeds of the main control board, which further consumes CPU computing power. Since decoding occurs before execution, when the speed is increased, decoding may consume a large amount of CPU, which may lead to insufficient CPU computing power when the main control board completes the subsequent tasks, resulting in problems such as stepper motor step loss and program crashes. Therefore, it is necessary to introduce a Raspberry Pi to help the 3D printer's main control board to take on the decoding task.
[0081] Specifically, high-quality, high-speed printing methods also include intranet penetration modules. These modules use intranet penetration technology to establish a data transmission channel from the external network to the internal network by using a public IP address obtained from a third-party service as a bridge.
[0082] Specifically, NAT traversal, or intranet traversal, is a network connectivity term. When a computer is on a local area network (LAN), communication between computers on the external network and those on the internal network can be difficult, sometimes resulting in a lack of support for NAT traversal. By adding NAT traversal functionality to a Raspberry Pi, our usage expands from the LAN to the entire network, enabling remote control and monitoring of 3D printers from anywhere in the world. Specifically, it utilizes port forwarding technology as shown in the diagram: Currently, we cannot directly access the external network from within the intranet. However, we can access the external network through NAT on the public network. When the corresponding port IP address on the intranet is bound to the port on the public IP, a mapping table corresponding to the intranet IP and the public IP port is created in the router. When port 10000 of the public IP receives a message, it knows to send the message to the device 192.168.10.10 on the intranet, and when port 20000 receives a message, it knows to send the message to the device 192.168.10.20 on the intranet.
[0083] Specifically, in this embodiment, a public IP address purchased from PeanutShell is used as a bridge to connect the remote access client and the Raspberry Pi in the intranet, establishing a data transmission channel.
[0084] The above description is only a preferred embodiment of the present invention. For those skilled in the art, there will be changes in the specific implementation and application scope based on the ideas of the present invention. The content of this specification should not be construed as a limitation of the present invention.
Claims
1. A high-quality, high-speed printing method for a printer, characterized in that, Includes the following steps: S1: A PCB circuit board is set between the stepper motor used to control the movement of the printing module on the printer and the motor driver on the main control board. A diode is set on the PCB circuit board to prevent reverse current backflow from interfering with the control electrical signal sent by the main control board. S11: The PCB circuit board has pins P1 and P2 for connecting the stepper motor and the motor driver on the main control board, respectively. Pins P1 and P2 are equipped with two diodes connected in parallel on the lines for transmitting control electrical signals. The two diodes conduct in opposite directions and are used to transmit current and control signals in reverse, respectively. When the main control board sends a control signal to the motor driver through pin P1, the diode with the same current direction conducts, allowing current to pass through and be transmitted to the stepper motor. At this time, the other diode is in the reverse cutoff state and does not participate in current transmission. S12: When a reverse current attempts to flow back to the main control board through pin P2, the diode opposite to the direction of the reverse current will immediately conduct, guiding the reverse current to a safe external path; S2: By installing an acceleration sensor at the printing module and making the printer reciprocate back and forth at different speeds on the X and Y axes, the amplitude-frequency response curves of the X and Y axes under different accelerations are measured, and the solution value that can make the natural frequency of the X axis and the natural frequency of the Y axis separate is obtained. S3: It uses Klipper firmware and introduces Raspberry Pi to help the 3D printer's main control board take on the decoding task, so that the main control board can only be used to execute tasks.
2. The high-quality, high-speed printing method for a printer according to claim 1, characterized in that: The printing module is equipped with an accelerometer and a data acquisition module. The accelerometer is used to monitor the acceleration changes of the print head in the X and Y axes in real time. The data acquisition module is used to trigger periodically or according to the acceleration change threshold. The accelerometer and the data acquisition module work together to measure the amplitude-frequency response curves of the X and Y axes under different accelerations via the main control board.
3. A high-quality, high-speed printing method for a printer according to claim 2, characterized in that: The main control board includes a processing unit, which is electrically connected to an accelerometer and a data acquisition module to collect and process acceleration data under different accelerations, and plot the amplitude-frequency response curves of the X-axis and Y-axis to identify their respective natural frequencies. By adjusting the motion parameters of the print head on the printer, the vibration frequencies of the X-axis and Y-axis are kept close together.
4. A high-quality, high-speed printing method for a printer according to claim 3, characterized in that: The main control board also includes a motion control unit used in conjunction with the processing unit. The motion control unit is electrically connected to the processing unit to receive instructions from the processing unit to adjust the movement of the printing module. The motion control unit uses the acceleration data continuously monitored by the processing unit during the printing process to trigger a dynamic adjustment mechanism to adjust the printing parameters in real time when the vibration trend is detected to be close to the resonance point.
5. A high-quality, high-speed printing method for a printer according to claim 1, characterized in that: High-quality, high-speed printing methods also include using a slicing software module to allow users to set corresponding colors and materials for each printhead, enabling color allocation and slicing of multi-printhead models.
6. A high-quality, high-speed printing method for a printer according to claim 5, characterized in that: The slicing process involves splitting a model file into multiple different STL files, placing all the files into Cura, selecting the corresponding nozzle for each small model, merging all the files to obtain the final model, and then slicing it.
7. A high-quality, high-speed printing method for a printer according to claim 6, characterized in that: High-quality, high-speed printing methods also include burning the core control firmware of the 3D printer into the Raspberry Pi, so that the Raspberry Pi can share the computing tasks of the main control board; The compilation and flashing process for Klipper firmware is as follows: Connect the computer to the Raspberry Pi; Compile the Klipper firmware using the computer's cmd command prompt software; Burn the firmware into the Raspberry Pi; Obtain the Raspberry Pi ID and open it in a web browser for further testing.
8. A high-quality, high-speed printing method for a printer according to claim 7, characterized in that: The core control firmware of the 3D printer is burned into the Raspberry Pi to utilize the Raspberry Pi's networking capabilities as a communication relay station. The Raspberry Pi is then connected to the main control board of the 3D printer to enable the sending and receiving of remote commands.
9. A high-quality, high-speed printing method for a printer according to claim 8, characterized in that: High-quality, high-speed printing methods also include intranet penetration modules. These modules use intranet penetration technology to establish a data transmission channel from the external network to the internal network by using a public IP address obtained from a third-party service as a bridge.