文档介绍:合肥工业大学硕士学位论文基于DSP的激光打标控制器设计姓名:唐玉俊申请学位级别:硕士专业:光学工程指导教师:吴本科 20100301 基于DSP的激光打标控制器设计摘要传统的激光打标控制器主要以单片机作为处理器,采用计算机主板的PCI 插槽与计算机连接。单片机控制的打标系统难以处理高速并行D/A的转换和大量打标数据的传输,打标速度和精度提升空间较小。使用PCI插槽则使控制器的安装、拆卸很不方便;并且控制器输出的模拟电压信号在传输线上易受到干扰,造成打标精度下降。为了弥补这些缺陷,本文根据实际需求,开发出了基于DSP处理器和USB接口的激光打标控制器及其系统软件。本文开发的激光打标控制系统采用TMS320F2812 DSP作为处理器,通过 USB接口传输数据,用CPLD扩展I/0接口,利用了一个4路输出的高速D/A 转换器来控制扫描振镜和激光电源功率,并具有按键和LCD显示屏用于人机交互。高性能D/A转换模块使激光打标的速度和精度有很大提高,USB接口技术使打标控制器可以即插即用,既提升了数据传输的稳定性又方便了装卸。激光打标控制器上位机用户软件用VB ,并根据点阵打标和矢量打标这两种打标方式将打标字符、图片处理成固定格式的打标数据,给出了打标程序流程图。打标数据通过USB接口传输到下位机。下位机芯片固件程序采用相应的软件开发环境进行编程,详细介绍了USB固件开发流程。最后给出了打标控制器的测试结果。本文详细的描述了打标控制器软硬件系统,开发出的系统在功能、性能上均达到了理想的效果。关键词:激光打标;DSP;控制器;USB接口;打标软件 Design oflaser marking controller based on DSP Abstract Traditional laser marking controller generally based on MCU,and using PCI slots to connect -controlled marking systems are difficult to deal with high·speed parallel D/A converter and a large number ofmarking data transmission,the speed and accuracy ofLaser marking are hard the PCI slot make the installation and dismantle of the controller not very convenient;and the analog voltage output of the controller in the wire are vulnerable tointerference,making the accuracy ofmarking order pensate these disadvantages,a lasermarking controller based on DSP processor and USB interface has developed inthis paper,laser marking software isalso mentioned. This laser marking control system using TMS320F28 2DSP as the processor, through the USB interface to transmit data,CPLD isused to extension I/O interfaces,a four-output D/A converter used tocontrol the scanning galvanometer and laser power,and has buttons and LCD display puter interaction. High performance D/A converter module greatly improve lasermarking speed and accuracy,USB interface make laser marking controller support Plug and Play, enhance the stability ofdata transmission and convenient the installation and dismantle. Laser marking controller hostmachine s