确定透镜焦面的系统设计 第2页

 确定透镜焦面的系统设计 第2页

步进电机控制程序

MOV  DPTR#adr3:8253 控制口   LOOPINC DPTR

MOV A#35H      T0模式二           MOV A@R0

MOVX@DPTR,A                           MOVX@DPTR,

A

MOV A,#75H        :T1模式二            INC  R0

MOVX@DPTR,A                            MOV A,@R0

MOV A,#OB3H       :T2模式一            MOVX @DPTR

A

MOVX@DPTRA                           INC  R0

MOV DPTR #adr 0-1                        DJNZ R7 LOOP

MOV  R7#03H                           RET

电机运行子程序:

SETB P1.1CLR P1.1);决定电机运行方向

CLR  P1.0

LCALL YSH:延时10ms:产生负脉冲,使电机启动

SETB P1.0

RET
The design to the system of determining lens focal plane

Abstract

Lens focal focus is the important parameter to determine the relation of object-image. At the same time, whether the focus of lens is precise or not will directly influence the whole lens of optics system. In order to accurately measure the focus of lens, the position of focal plane must be firstly determined. In traditional methods which are full of error and lack of efficiency, the focal plane is interpreted. To avoid these shortcomings of traditional methods and achieve the auto-measurement of focal plane, based on the measured focal length of lens of light-utensil seat, the phenomenon of eyes used as the receiver was replaced by linear CCD. And based on the theory of point spread function, the automatic measurement system was designed. The system design of the complete procedures of measure focal plan and a computer- step motor interface circuit and complete step motor control procedures. This system can analyze data acquisition from CCD by computers and send results to step motors thus driving CCD to realize fast and

accurate determination to lens plane. 

KeywordS: CCD Focal plane Technique for Focal Plane step motor

确定透镜焦面的系统设计 第2页

摘要

透镜的焦距是确定其物象关系的重要参数,同时透镜的焦距是否精确将直接影响整个光学系统的焦距。而要精确测量焦距,必须先准确地检测出焦面的位置。传统的检焦方法是用人眼对焦面进行判读,这种方法误差大,效率低。为了避免传统方法的这些缺点,并且实现透镜焦面的自动检测,在原来光具座测量透镜焦距的基础上,用线阵CCD代替人眼作为接收器,设计一套基于点扩散函数理论的自动检焦系统。该系统设计了完备的检焦程序,并设计了电脑和步进电机的接口电路,另外设计了完备的步进电机控制程序。该系统利用计算机对CCD采集的数据进行分析,并将结果发送给步进电机,进而驱动CCD以实现对正透镜焦面快速准确的检测。

 

关键词:CCD ;焦面; 焦面判读;步进电机;

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有