增材制造

3D打印机G代码预处理优化算法

  • 余道洋
展开
  • 合肥工业大学机械工程学院, 合肥, 230009
余道洋,男,1977年生,助理研究员、博士。研究方向为数字化设计与制造,高速高精度加工。E-mail:ydy1028@163.com

收稿日期: 2018-01-29

  网络出版日期: 2020-02-06

基金资助

国家自然科学基金资助项目(51275147);合肥工业大学博士基金资助项目(JZ2015HGBZ0094)

G Code Preprocessing Optimization Algorithm for 3D Printers

  • YU Daoyang
Expand
  • School of Mechanical Engineering, Hefei University of Technology, Hefei, 230009

Received date: 2018-01-29

  Online published: 2020-02-06

摘要

为了突破现有3D打印机控制系统原有的文件处理模式的限制,提出将G代码程序在PC端先行预处理的方法。在程序预处理过程中,同时对多段微小线段进行前瞻控制和速度规划;预处理结束后,再将处理结果输入3D打印机执行打印操作。该方法减少了3D打印机处理器负担,且通过PC端预处理可以得到更优化的计算结果。实验测量数据证明:G代码预处理方法与传统G代码处理方法相比,节省了打印机处理器处理时间,同时提高了打印品质。

本文引用格式

余道洋 . 3D打印机G代码预处理优化算法[J]. 中国机械工程, 2019 , 30(1) : 85 -89,112 . DOI: 10.3969/j.issn.1004-132X.2019.01.012

Abstract

In order to break the limitations of the original file processing mode of the existing 3D printer control systems, a method of preprocessing the G codes on the PC side in advance was proposed. In the program preprocessing processes, the forward control and speed planning of multiple segments were carried out at the same time. After finishing the preprocessing, the output data were sent to the 3D printers for executing printing. The methods reduce the loads of the 3D printer processors and obtain more optimized calculation results through PC-side preprocessing. Finally experimental measurement data prove that, the G code preprocessing methods save the processing time of the printer processors and improve the printing quality compared with the traditional G code processing methods.

参考文献

[1] BOUHAL A, JAFARI M A, HAN Wenbiao, et al. Tracking Control and Trajectory Planning in Layered Manufacturing Applications[J].IEEE Trans. on Industrial Electronics,1999,46(2):445-451.
[2] GUERRERO-de-MIER A, ESPINOSA M M, DOMÍNGUEZ M. Azara:a New 32 Bit RepRap with Improved Performance[J]. Procedia Engineering, 2015, 2015(132):118-125.
[3] 宗殿栋,汪地,李卫成,等.基于Marlin固件桌面级3D打印机自动调平装置设计[J].工业控制计算机,2016,29(4):85-88. ZONG Diandong, WANG Di, LI Weicheng, et al. Design of Automatic Leveling Device Based on Marlin Firmware Desktop 3D Printer[J]. Industrial Control Computer, 2016, 29(4):85-88.
[4] 卞扬清.一种小型FDM三维打印机控制系统研究与实现[D].南京:东南大学,2015. BIAN Yangqing. The Research and Implementation of the Control System of a Small FDM 3D Printer[D]. Nanjing:Southeast University, 2015.
[5] JIN Yuan, HE Yong, FU Jianzhong, et al. A Fine-interpolation-based Parametric Interpolation Method with a Novel Real-time Look-ahead Algorithm[J]. Computer-Aided Design, 2014, 55(10):37-48.
[6] 陈友东,王田苗,魏洪兴,等.数控系统的直线和S形加减速研究[J].中国机械工程,2006,17(15):1600-1604. CHEN Youdong, WANG Tianmiao, WEI Hong-xing, et al. Linear and S-shape Acceleration and Deceleration for CNC Machine Tools[J]. China Mechanical Engineering, 2006, 17(15):1600-1604.
[7] DENIZ S E, ALEXANDER Y, YUSUF A. Synchronized Material Deposition Rate Control with Path Velocity on Fused Filament Fabrication Machines[J].Additive Manufacturing, 2018, 19(1):205-213.
文章导航

/

〈 〉