基于DSP2812的桌面3D打印机控制系统实现
Realization of Desktop 3D Printer Control System Based on DSP2812
-
摘要: 以DSP2812数字信号处理芯片为核心控制器, 设计了一种桌面3D打印机控制系统, 应用DSP2812中的通用寄存器生成的非对称式脉冲宽度调制(PWM)波形结合DSP2812的通用输入/输出(I/O)口控制步进电机驱动芯片, 进而实现步进电机的速率和位移控制;同时还创新性地应用DSP2812的通用数字I/O口实现双向的两线连续总线(I2C)功能, 实现对步进电机的细分控制, 从而控制步进电机的启动电流, 降低系统功耗, 提高步进电机的控制精度及稳定性。Abstract: A control system of desktop 3D printer was designed with DSP2812 digital signal processing chip as the core controller. By generating non-symmetric pulse width modulation (PWM) waveform with the general-purpose registers of the DSP2812, and using general-purpose input/output (I/O) port to control the stepper motor driver chip, the velocity and displacement control of the stepper motor was achieved. Another innovative application was using DSP2812’s general-purpose digital I/O port to achieve universal inter-integrated circuit (I2C) function, and then to control the stepper motor’s starting current, which could reduce system power consumption and improve control accuracy and stability of the stepper motor.