仪器科学专业硕士论文代写:基于DSP的集成光栅细分数显装置的研制
目录:
摘要 4-5
Abstract 5-6
第1章绪论 9-15
1.1课题来源及研究的目的和意义 9-10
1.2国内外研究现状 10-12
1.3DSP技术开发应用 12-13
1.4课题研究的主要内容 13-15
第2章光栅测量原理 15-22
2.1莫尔条纹效应 15-16
2.2光栅位移传感器测量原理 16-18
2.3细分方法比较 18-21
2.3.1单稳四细分 18
2.3.2微型计算机细分 18-19
2.3.3只读存储器细分 19-20
2.3.4其它细分 20-21
2.4本章小结 21-22
第3章硬件系统设计 22-40
3.1系统总体方案和硬件框图设计 22-24
3.2传感器输出信号预处理 24-27
3.3电阻链五细分电路 27-29
3.4TMS320LF2407A数字信号处理器 29-33
3.4.1电源电路设计 30
3.4.2时钟和复位电路设计 30-31
3.4.3外部存储器扩展 31-33
3.4.4JTAG仿真接口设计 33
3.5二次细分及速度检测 33-38
3.5.1信号辨向及二次细分 34-36
3.5.2速度捕捉电路 36-38
3.6串口、显示和键盘电路设计 38-39
3.7本章小结 39-40
第4章软件系统设计 40-60
4.1DSP程序编写 40-42
4.1.1公共目标文件 40
4.1.2链接命令文件的编写 40-41
4.1.3DSP总体程序设计 41-42
4.2下位机几个主要功能子程序的设计 42-51
4.2.1速度运算子程序 42-44
4.2.2显示、键盘子程序 44-47
4.2.3E~2PROM存储和查询子程序 47-49
4.2.4串口通讯子程序 49-50
4.2.5FLASH程序BootLoader方式下载 50-51
4.3基于MicrosoftVisualC++6.0的上位机软件设计 51-59
4.3.1USB通讯模块设计 51
4.3.2CY7C68013USB2.0模块介绍 51-53
4.3.3USB2.0模块电路 53-55
4.3.4USB2.0通讯设计 55-57
4.3.5上位机串口协议设计 57-59
4.3.6软件人机界面设计 59
4.4本章小结 59-60
第5章调试和精度分析 60-66
5.1实验系统设计 60-61
5.2光栅位置检测系统一般误差 61-62
5.3比对测量实验结果 62-63
5.4误差分析 63-65
5.4.1电阻链细分引入的误差 63-64
5.4.2测量时引入误差 64-65
5.4.3温度引起的误差 65
5.5本章小结 65-66
结论 66-67
参考文献 67-70
附录 70-74
致谢 74
【摘要】 光栅测量技术是位置测量、数控机床、自动控制等领域应用广泛的高精度测量和定位技术。在光栅传感器精度一定的情况下,光栅传感器接口电路的设计水平从一定程度上决定了测量系统的精度和可靠性,并且也是一种经济有效的方法。但由于受光路及信号检测电路扫描频率等因素的限制,单个光栅尺测量的最大允许移动速度与其测量步距成反比。针对光栅位移系统高速运行时分辨力低,本文设计开发一种基于DSP的新型光栅细分数显装置。本文通过分析信号并比较各种细分方案原理及特点,根据TI公司的TMS320LF2407A的控制功能,采用光栅位移传感器结合DSP实现了测量的数字化;首先进行位移传感器输出信号的预处理,输出信号先采用电阻链分相细分,然后通过TMS320LF2407A内部脉冲编码电路(QEP)完成辨向、速度测量和二次细分,进而完成显示电路和控制电路部分的设计。速度较低时采用脉冲编码电路结合捕获电路(CAP)完成速度测量和传感器信号的较精确的细分。通过设置脉冲捕捉周期可使系统对不同的运动速度下的位移测量都具有较高的分辨力。本系统基于Microsoft Visual C++6.0开发平台进行上位机设计。结合DSP完成位移、速度信息和计算机间的实时数据传输;进行多次测量并做出误差分析。最后搭建实验系统与双频激光干涉仪进行对比实验,通过实验验证线性测量分辨力达到至少1μm。在实验中总结一些经验,为本方法的进一步研究及应用打下良好基础。光栅数显和控制结合的架构利于控制和测量的集成,实现仪器小型化。设计的上位机通讯界面使测量和控制更加直观便捷,并且USB接口使系统适用于多台位移测量或定位控制系统的联合监测和控制,实现集中化管理。
仪器科学专业硕士论文代写【Abstract】 Grating sensor is an important device for precision measuring, which is widely applied in the fields of position measuring, numerical control machine, automation control and so on. When the precision of the Grating sensor is certain, the processing-circuit play an important part in the measure system. It decides the precision and reliability of the measurement system to some extend,and is also a cost-effective way. However, as is restricted by the beam path, the scan frequency of the scanning circuit, the maximum available measuring speed has inverse proportion relationship to the measuring pace of a single grating scale. According to the problem that grating scale hardly achieves high resolution and precision when in high speed, this paper presents a new hardware system to design the integrated grating subdividing digital display device.According to properties of subdivision methods and powerful controlling function of TMS320LF2407A, this paper uses the optical grating displacement sensor and DSP to realize digital measurement. After been processed, the signal is divided by phase-shifting resister chain method, then it is direction-discriminated and further divided using internal QEP circuit of TMS320LF2407A. At last, the display circuit and the controlling circuit are finished. The speed and displacement are detected by the QEP and CAP circuit. and it can achieves an high precision for different speeding by setting different intermitted periods.This system is developed based on Microsoft Visual C++6.0, which finishes the speed and displacement data communication with the computer. Precision is calculated through lots of data. The measurement platform is built and the measurement is compared with Double Frequency Laser Interferometer. Experiments are done to verify the measuring theory and methods, and its precision achieve 1μm. Some experience is summed up, which lays a good foundation of the further research and application of this measuring method.The frame is benefit for integration of measurement and controlling, and realizes miniaturization. The measurement method can be more intuitionistic according to the human-machine interface. It can make lots of machines work together through inspecting and controlling them, which realizes centralized controlling.
【关键词】 光栅位移传感器; DSP; 电阻链; 正交编码脉冲电路; USB;
【Key words】 optical grating displacement sensor; DSP; phase-shifting resister chain; QEP; USB;