基于C6000系列DSP的PMP测量系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
位相测量轮廓术(PMP)是一种基于条纹投影和位相测量的光学三维面形测量技术,由于其具有非接触、全场性、速度快、高精度、自动化程度高等特点,这种技术已在工业检测、机器视觉、逆向工程等领域获得广泛应用。
     在PMP测量中,常采用数字投影仪通过计算机VGA视频接口控制产生正弦相移光栅投影,并用专用图像采集卡采集变形条纹图,由于计算机显示器与投影仪共用一个VGA视频接口,当投影正弦光栅时,计算机难以同时操作测量软件与采集图像,目前解决的办法由两种,一种方法是采用另一台计算机专门控制投影仪,主计算机控制应用软件系统,实现数据获取与处理,这种系统不宜实现仪器化;另一种方法是采用专用的双频显卡,用VGA视频接口控制显示器,而用DVI接口控制投影仪,并通过编制专用应用软件,实现显示器信息与投影仪信息的分离显示,这种系统由于需要采用专用的硬件和软件,兼容性不是很好。为此,从仪器化角度出发,对传统的PMP测量系统进行了改进,利用TI公司TMS320C6000系列DSP的高性能图象处理芯片TMS320DM642实现PMP系统,投影仪完全不依赖计算机视频接口,而是直接由DM642的视频显示端口控制实现相移图像的投影,同时由DM642视频采集端口直接与CCD相连接实现图像采集以获取变形条纹图像,不再需要传统的嵌入在PC机端的图像采集卡及PC机,实现了仪器化设计。本文研究的主要内容如下:
     1.比较了几种PMP系统的结构,提出了对传统的PMP系统的改进。
     2.介绍了基于DM642的PMP系统核心模块的实现,DM642的视频采集与视频显示端口、UART以及它们驱动程序设计,介绍了系统的自启动设计和相移图像产生的算法实现。
     3.从强度传递函数出发,分析了它对PMP测量系统精度的影响。通过强度传递函数补偿方法可得到正弦性很好光场分布,减小了位相测量误差。
     4.考虑到投影光场不稳定性对PMP测量系统的影响,利用DM642的高速图像处理性能,在DM642的内部对采集到的图像进行多次平均,以减小投影光场的不稳定影响给测量带来的误差。并用实验进行了对比验证,表明平均算法减小了投影光场的稳定性给系统带来的测量误差,提高了本系统的测量精度。
Phase measuring profilometry (PMP)is an important technique in the 3-D shape measurement, which is based on fringe patterns projection and phase measurement. It has been widely used in industrial inspection, machine vision, inverse engineering etc because of its merits of noncontact, full-field, high-precision and high-speed.
     In PMP measurement system, the digital projector is often adopted to produce the phase-shift sinusoid fringes through the computer VGA video interface, and a special image captured card embedded in computer must be applied to obtain the corresponding deformed patterns , because the display and projector share a VGA video interface, while a phase-shift Sinusoid fringe need to be projected onto the measured object ,both the digital projector and the display are producing the information which makes the computer difficult to operate the measuring software and capture image data at the same time. Usually, there are two methods to solve this conflict problem, One is to adopt another computer specially for controlling the projector so as to let the master computer operate the application software and accomplish the image data captured and processed, this kind of system is unsuitable to be instrument; The other is to adopt special-purpose display card, controlling the display with VGA interface, and controlling the projector with DVI interface, besides the special-purpose application software is required to realize the separated display of the projector and computer display, because this kind of system needs to adopt the special-purpose hardware and special-purpose software, it may not be compatible enough. So an improved PMP measuring system of making use of the high-performance image processing chip of TI Company's TMS320C6000 series DSP named TMS320DM642 has been developed instrumentally in which the projector is connected to the video display port of DM642 rather than the computer, and CCD is linked to the video capture port of DM642 without any other image captured card. Some instrumental design has been researched. The main tasks are as follows:
     1. Having compared several kinds of structure of PMP system, the improved PMP system has been proposed.
     2. The key modules based on DSP of the improved PMP system have been developed such as the video image capture control, the phase-shift sinusoid fringes generator realization and UART communication program design. Finally, the related algorithms and self-starting program in this system have been accomplished.
     3. In order to analyze the accuracy of PMP system, the intensity transmit . function (ITF) is used to improve the quality of the projected sinusoidal fringe, experimental results show its feasibility.
     4. Because of the unstable projected field caused by pixel scanning, which may influence the precision of PMP system ,a faster image data processing method with several frames mean arithmetic has been done inside of the high performance DM642 to reduce the instability of the field. Contrastive experiments have been proved that the measuring precision has been improved remarkably.
引文
[1] Frank CHEN, Gordon M BROWN, Munin SONG. Overview of three-dimensional shape measurement using optical methods[J]. Opt. Eng, 2000, 39(1): 10-22.
    [2] 金国潘,李景镇,《激光测量学》,科学出版社,1998.
    [3] 苏显渝,李继陶,《信息光学》[M],科学出版社,1999
    [4] 郝东,赵洋,李达成,“光学投影式三维轮廓术测量技术综述”[J],光学技术,1998(5):57~60.
    [5] 苏显渝,张冠申,陈泽先等,“鞋楦三维面形光电自动测量系统”[J],光电工程,1989,16(6).
    [6] 唐朝伟,梁锡昌,施进展,“人体曲面轮廓激光扫描三维视觉传感系统”[J],重庆大学学报,1993,16(1).
    [7] 王晓林,陈伟民,黄尚廉,“光切法三维轮廓术的原理及应用”[J],光学技术,1997,(2):39~43.
    [8] Xiao-Xue Cheng,Xian-Yu Su,Lu-Rong Guo, "Automated measurement method for 360° profilometry of 3-D diffuse objects"[J], Appl. Opt., 1993,30(10): 1274.
    [9] 苏显渝,谭松新等,“基于傅立叶变换轮廓术方法的复杂物体三维面形测量”[J],光学学报,1998,18(9):1228~1233.
    [10] 陈文静,苏显渝,谭松新.“Fourier变换轮廓术对测量系统的基本要求”[J],光电子·激光,1999,10(6):535~539.
    [11] Jin-Feng Lin and Xin-yu Su, "Two-dimensional transform profilometry for the automatic measuremet of three-dimensional object shapes"[J],Opt.Eng, 1995,34(11):3297~3302.
    [12] Jian Li, Xin-yu Su and Lu-Rong Guo, "An improved Fourier transform profilometry for automatic measuremet of 3-D object shapes"[J], 1990,29(12).
    [13] Xian-Yu Su,Wen-Sen Zhou,G.von Bally et al., "Automated phase-measuring profilometry using defoucused projection of the Rochi grating"[J], Opt. Commun, 1992,94(6):561~573.
    [14] Xian-Yu Su, G.von Bally, D.Vukicevic, "Phase-stepping grating Profilometry: utilize-tion of intensity modulation analysis in complex object evaluation"[J], Opt. Commun, 1993,98(6): 141~150.
    [15] Texas Instruments. TMS320DM642 Technical Overview [S]. Texas Instruments Incorporated, 2002.
    [16] Texas Instruments. TMS320DM642 Video/Imaging Fixed-Point Digital Signal Processor[S].Texas Instruments Incorporated, 2005.
    [17] Texas Instruments. TMS320C64x DSP Video Port/VCXO Interpolated Control (VIC) Port Reference Guide [S].Texas Instruments Incorporated, 2005.
    [18] 江思敏,刘畅.TMS320C6000 DSP应用开发教程[M].第1版.北京:机械工业出版社,2005.
    [19] 李方慧,王飞,何佩琨.TMS320C6000系列DSPs原理与应用[M].第2版.北京:电子工业出版社,2003.
    [20] 王念旭.DSP基础与应用系统设计[M].第1版.北京:北京航空航天大学出版社,2001.
    [21] 刘艳萍,贾志成,李志军,王宝珠.DSP技术原理及应用教程[M].第1版.北京:北京航空航天大学出版社,2005.
    [22] 张雄伟,邹霞,DSP芯片原理与应用[M].第1版.北京:机械工业出版社,2005.
    [23] SAA7105H Product specification, Philips Semiconductors.2004.
    [24] SAA7115H Product specification, Philips Semiconductors.2001.
    [25] Texas Instruments. TMS320C6000 DSP Enhanced Direct Memory Access (EDMA) Controller Reference Guide [S].Texas Instruments Incorporated,2004.
    [26] MT48LC4M32B2 [S]. MICRO Technology,2003.
    [27] Am29LV033MU [S]. AMD Inc,2002.
    [28] Texas Instruments.Developing a DSP/BIOS Application for ROM on the TMS320C6000 Platform with CCS1.2 [S].Texas Instruments Incorporated,2001.
    [29] Texas Instruments. DSP/BIOS Driver Developer's Guide [S].Texas Instruments Incorporated,2002.
    [30] Texas Instruments. TMS320 DSP/BIOS User.s Guide [S].Texas Instruments Incorporated,2003.
    [31] Texas Instruments.TMS320C6000 Assembly Language Tools User's Guide [S].Texas Instruments Incorporated, 2002.
    [32] Texas Instruments. TMS320C6000 CPU and Instruction Set Reference Guide [S].Texas Instruments Incorporated, 2000.
    [33] Texas Instruments. TMS320C64x Technical Overview [S].Texas Instruments Incorporated, 2000.
    [34] Texas Instruments. TMS320C6000 Programmer's Guide [S].Texas Instruments Incorporated,2002.
    [35] Texas Instruments. TMS320C6000 Optimizing C Compiler Tutorial [S].Texas Instruments Incorporated,2002.
    [36] Texas Instruments. TMS320C6000 Chip Support Library API Reference Guide [S].Texas Instruments Incorporated,2004.
    [37] Texas Instruments. The TMS320DM642 Video Port Mini-Driver [S].Texas Instruments Incorporated,2003.
    [38] Texas Instruments. TMS320C6000 DSP Inter-Integrated Circuit (I2C) Module Reference Guide [S].Texas Instruments Incorporated,2002.
    [39] Texas Instruments. TL16C752B 3.3-V DUAL UART WITH 64-BYTE FIFO [S].Texas Instruments Incorporated, 1999.
    [40] Texas Instruments. MAX3243 3-V TO 5.5-V MULTICHANNEL RS-232 LINE DRIVER/RECEIVER [S].Texas.Instruments Incorporated,2000.
    [41] Texas Instruments. DSP/BIOS Hardware and Software UART Device Drivers [S].Texas Instruments Incorporated,2003.
    [42] Board Support Library (BSL) Help File.
    [43] Texas Instruments.Creating a Second Level Bootloader for FLASH Bootloading on TMS320C6000 Platform with Code Composer Studio [S].Texas Instruments Incorporated,2004.
    [44] Texas Instruments. TMS320C6000 Boot Mode and Emulation Reset [S].Texas Instruments Incorporated,2003.
    [45] 张晟翀,“CCS下TMS320C6416 DSP的二次引导及FLASH在线编程方法研究”[J],现代电子技术,2006,(17):117~120.
    [46] 何正军,《基于DM642和CDMA的无线远程监控控系统》,浙江大学硕士学位论文[M],2006.
    [47] Yiping CAO, Xianyu SU, Liqun XIANG, et al. Numerical simulation effect of DMD spatio-temporal characteristic on phase measuring profilometry[J]. Proc. of SPIE, 2004, 5852: 162-168.
    [48] 曹益平,《基于数字微镜的位相测量轮廓术》,四川大学博士学位论文[M],2003.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700