基于矢量字库与数字PID的激光振镜扫描系统-光学工程专业论文.docx
文本预览下载声明
浙江工业大学硕士学位论文
浙江工业大学硕士学位论文
万方数据
万方数据
基于矢量字库与数字 PID 的激光振镜扫描系统
摘要
激光扫描是激光技术的一项重要应用,由于其高速、高精度等特 点,己经被应用到各类激光产品中,比如激光打印机、激光照排机等。 振镜式扫描系统是当前激光扫描技术的主流。针对振镜高速、高精度 定位控制的特点,设计以矢量字库为数据源,数字 PID 为控制算法, STM32 处理器为硬件核心的激光振镜扫描系统,具有重要的意义。
本文主要完成了激光振镜扫描系统的设计。整个系统主要由主控 制器、X-Y 振镜驱动和反馈电路、电源电路、串口通信电路、CPLD 串行转并行电路等组成。主控制器以 STM32F103VE 为控制核心,并 在其内部设计了位置-速度-电流三闭环控制;在 C++MFC 开发环境下 编写上位机控制软件,输出图形文字的控制坐标;以 MDK 为开发工 具,编写下位机驱动程序,包含数字 PID 算法;以 Quartus2 作为开 发工具,采用 VHDL 语言编写串行转并行的 CPLD 程序。
通过设计完善的硬件和软件,实现具有高精度、高速定位、高重 复性的激光振镜扫描系统。完成整个系统的设计,并通过实际调试, 分析其不足之处产生的原因,提出改进方案。
关键词:激光,振镜扫描,数字 PID,CPLD
I
THE LASER GALVANOMETER SCANNING SYSTEM BASED ON DIGITAL PID
AND VECTOR FONT
ABSTRACT
Laser scanning is an important application of laser technology, because of its characteristics of high speed and high precision,it has been applied to all kinds of laser products, such as laser printers, laser
phototypesetters and so on. The vibrating mirror scanning system is the main stream of laser scanning technology. The positioning control of vibrating mirror is high speed and high precision. It is very significant to design a scanning system that is based on vector font as the data source, digital PID as the control algorithm, STM32 as the core hardware.
In this paper, the design of laser scanning control system is accomplished. The whole system is composed of the main controller, the X-Y driver circuit and feedback circuit, the power circuit, the serial communication circuit, the serial turn parallel circuit of CPLD and so on. Designing position-speed-current three closed-loops’ control in the main controller which STM32F103VE is used as the control core. The control software of the host computer is written under the C++MFC development
II
environment, which can output the control coordinates of graphic characters. MDK is used as the development tool, which makes the lower computer driver and the digital PID algorithm. Quartus2 is used as the development tool, which programs the CPLD program with VHDL langu
显示全部