[go: up one dir, main page]

CN115993695B - In-situ automatic focusing device and method based on spectral confocal - Google Patents

In-situ automatic focusing device and method based on spectral confocal Download PDF

Info

Publication number
CN115993695B
CN115993695B CN202310169949.3A CN202310169949A CN115993695B CN 115993695 B CN115993695 B CN 115993695B CN 202310169949 A CN202310169949 A CN 202310169949A CN 115993695 B CN115993695 B CN 115993695B
Authority
CN
China
Prior art keywords
spectral confocal
controller
existing optical
optical path
spectral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310169949.3A
Other languages
Chinese (zh)
Other versions
CN115993695A (en
Inventor
陆宏杰
杨青
庞陈雷
王智
卓桐
王兴锋
牛春阳
殷源
刘旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lab
Original Assignee
Zhejiang Lab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lab filed Critical Zhejiang Lab
Priority to CN202310169949.3A priority Critical patent/CN115993695B/en
Publication of CN115993695A publication Critical patent/CN115993695A/en
Application granted granted Critical
Publication of CN115993695B publication Critical patent/CN115993695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)
  • Microscoopes, Condenser (AREA)

Abstract

The invention discloses an in-situ automatic focusing device and method based on spectral confocal. The measurement of the absolute defocus displacement is realized by adopting the mode of coaxially mounting the spectral confocal sensor, so that the closed-loop control response of the automatic focusing system is improved; the spectral interference of the focusing system on the existing optical path system can be avoided by matching the displacement signal of the moving table grating ruler with the triggering working time of the spectral confocal probe for measuring the defocus amount and the signal conversion module of the existing optical path system; by setting the defocusing measuring point to form a certain advanced offset relative to the imaging or processing position, the automatic focusing device can always realize dynamic focusing on the current working position, and the generation of lag of the focusing position is avoided.

Description

一种基于光谱共焦的原位自动对焦装置及方法An in-situ autofocus device and method based on spectral confocal

技术领域technical field

本发明属于自动光学检测技术领域,具体涉及一种基于光谱共焦的原位自动对焦装置及方法。The invention belongs to the technical field of automatic optical detection, and in particular relates to an in-situ automatic focusing device and method based on spectral confocal.

背景技术Background technique

光学检测和光学加工技术作为精密工程领域中的重要环节,目前已经成为人类生活生产中必不可少的部分。从高端的芯片光刻工艺,到工业常见的工件视觉检测环节,再到包括激光切割、激光熔覆打印、激光微纳加工、激光退火、激光焊接等激光加工领域,人类正在利用光学的各种特性来实现更精密更复杂的检测和加工要求。作为光学参数操控的主要部件,光学系统的数值孔径越大,整体设备能够检测或加工出的关键尺寸就越小,而随之而来的就是光学系统的景深变小,从而使检测或加工的质量对光学系统相对于工件的离焦量十分敏感。因此,精密的光学检测和光学加工技术势必对光学系统的对焦控制提出更高的要求。As an important link in the field of precision engineering, optical detection and optical processing technology has become an indispensable part of human life and production. From the high-end chip lithography process, to the common industrial workpiece visual inspection, to the laser processing fields including laser cutting, laser cladding printing, laser micro-nano processing, laser annealing, laser welding and other laser processing fields, human beings are using various characteristics of optics to achieve more precise and complex inspection and processing requirements. As the main component of optical parameter manipulation, the larger the numerical aperture of the optical system, the smaller the critical dimension that the overall equipment can detect or process, and then the depth of field of the optical system becomes smaller, so that the quality of detection or processing is very sensitive to the defocus of the optical system relative to the workpiece. Therefore, sophisticated optical detection and optical processing technology will inevitably put forward higher requirements for the focus control of the optical system.

自动对焦装置通常可以认为是一个独立闭环的控制系统,由离焦量探测器、调焦执行机构和控制器三部分组成。离焦量探测器可以是通过条纹结构光获取工件表面的离焦信号,也可以通过高精度的位移传感器测得光学系统和工件表面之间的离焦量,调焦执行机构主要用于光学系统的离焦量控制,可以通过直线位移平台搭载整体光学系统进行运动,也可以通过音圈电机或者压电陶瓷对变焦光学系统中的特定镜片的位置进行控制。控制器获得离焦量探测器的离焦数据后驱动控制调焦执行机构,从而实现对工件表面自动对焦的功能。The autofocus device can usually be considered as an independent closed-loop control system, which consists of three parts: defocus detector, focus actuator and controller. The defocus detector can obtain the defocus signal on the surface of the workpiece through the striped structured light, and can also measure the defocus between the optical system and the workpiece surface through a high-precision displacement sensor. The focus actuator is mainly used for the defocus control of the optical system. It can move the overall optical system through a linear displacement platform, or control the position of a specific lens in the zoom optical system through a voice coil motor or piezoelectric ceramics. After the controller obtains the defocus data from the defocus amount detector, it drives and controls the focusing actuator, so as to realize the function of automatically focusing on the surface of the workpiece.

在目前的现有技术中,主要的自动对焦装置形式可以分为同轴式、离轴式以及三角反射式三种。同轴式自动对焦装置中,自动对焦系统的光路和现有的检测或加工用的光学系统通过分光器件实现部分的光路同轴,如日本中央精机株式会社AF系列产品、加拿大WDI公司ATF系列产品,为了避免对焦系统对现有光学系统的成像造成影响,一般需要通过滤光片将两个系统进行光谱隔离,因此导致了现有光学系统特定光谱段信息的丢失,同时目前的同轴式自动对焦装置常常通过分析光斑形貌信号或光斑信号强度或成像像散程度来表征,其只能够实现是否离焦以及离焦方向的表征,而无法定量的计算出具体的离焦位移量,因此往往需要多个闭环控制周期实现单次自动对焦,导致最终的闭环控制带宽不高,无法实现高响应的自动聚焦功能。而如果采用专利CN114047203A中提到的基于光谱共焦的自动对焦装置,光谱共焦基于光谱色散的原理需要占用数百纳米的光谱带宽,则往往只能限制于光谱不敏感的应用,如AOI检测设备等。离轴式自动对焦装置中,自动对焦系统的光路独立于现有的光学系统,从而无需考虑两者之间的光谱波段的耦合和隔离,但是离轴式自动对焦装置的测量点与现有的光学系统的视场中心存在较大偏离,因此往往需要进行高度的位置映射,对工件某一片区域进行离焦量检测后进入现有光学系统的视场内进行检测或加工,通过位置映射的高度数据驱动控制调焦执行机构进行变焦动作,控制策略比较复杂,如专利CN113900219A。三角反射式自动对焦装置的光学系统同样独立于现有的光学系统,其测量点可以通过调整三角反射的角度移动到与现有光学系统的视场中心重合的位置,但为了与现有光学系统的大口径高分辨特性匹配,需要增大三角反射的角度,进而直接提高了结构的复杂性和成本,如专利CN104749901A。In the current prior art, the main forms of autofocus devices can be divided into three types: coaxial, off-axis and triangular reflection. In the coaxial autofocus device, the optical path of the autofocus system and the existing optical system for detection or processing are partly coaxial through a spectroscopic device, such as the AF series products of Japan Chuo Seiki Co., Ltd., and the ATF series products of Canada WDI Company. Astigmatism is characterized by the degree of astigmatism, which can only realize the characterization of defocus and defocus direction, but cannot quantitatively calculate the specific defocus displacement. Therefore, multiple closed-loop control cycles are often required to achieve single autofocus, resulting in the final closed-loop control bandwidth is not high, and high-response autofocus cannot be realized. However, if the spectral confocal-based autofocus device mentioned in the patent CN114047203A is used, the spectral confocal based on the principle of spectral dispersion needs to occupy a spectral bandwidth of hundreds of nanometers, which is often limited to spectrally insensitive applications, such as AOI detection equipment. In the off-axis autofocus device, the optical path of the autofocus system is independent of the existing optical system, so there is no need to consider the coupling and isolation of the spectral bands between the two. However, the measurement point of the off-axis autofocus device deviates greatly from the center of the field of view of the existing optical system. Therefore, it is often necessary to perform height position mapping. After detecting the defocus amount of a certain area of the workpiece, it enters the field of view of the existing optical system for detection or processing. The height data driven by the position mapping controls the focusing actuator to perform zooming actions. The control strategy is more complicated, such as patent CN11390 0219A. The optical system of the triangular reflective autofocus device is also independent of the existing optical system, and its measurement point can be moved to a position that coincides with the center of the field of view of the existing optical system by adjusting the angle of the triangular reflection. However, in order to match the large-aperture high-resolution characteristics of the existing optical system, the angle of the triangular reflection needs to be increased, which directly increases the complexity and cost of the structure, such as patent CN104749901A.

因此,提供一种不影响现有光学系统光谱特性的、能够原位实时测量的、结构简单的高响应自动对焦装置及对焦方法是本领域技术人员亟待解决的一个技术问题。Therefore, it is a technical problem to be solved urgently by those skilled in the art to provide a high-response auto-focusing device and focusing method that does not affect the spectral characteristics of the existing optical system, can be measured in situ in real time, and has a simple structure.

发明内容Contents of the invention

为了解决背景技术中的问题,本发明提出了一种基于光谱共焦的原位自动对焦装置及方法。In order to solve the problems in the background technology, the present invention proposes an in-situ autofocus device and method based on spectral confocal.

本发明采用的技术方案如下:The technical scheme that the present invention adopts is as follows:

一、一种基于光谱共焦的原位自动对焦装置1. An in-situ autofocus device based on spectral confocal

包括对焦系统、现有光路系统、现有光路系统信号转换模块、同轴分光模块、工件、运动台、光栅尺、光学系统安装底座和运动台控制器,对焦系统包括光谱共焦探头、光谱共焦控制器、自动对焦控制器、光学系统调焦执行机构。Including focusing system, existing optical path system, existing optical path system signal conversion module, coaxial beam splitting module, workpiece, moving stage, grating scale, optical system mounting base and moving stage controller, focusing system includes spectral confocal probe, spectral confocal controller, autofocus controller, and optical system focusing actuator.

现有光路系统、光谱共焦探头、同轴分光模块、光学系统调焦执行机构安装于光学系统安装底座上;工件放置于与运动台控制器连接的运动台上,运动台上安装有光栅尺,运动台控制器通过线缆分别与光谱共焦控制器和现有光路系统信号转换模块连接;光谱共焦控制器通过线缆与自动对焦控制器连接,通过光纤和光谱共焦探头连接;现有光路系统信号转换模块与现有光路系统连接,自动对焦控制器与光学系统调焦执行机构连接,光谱共焦探头通过同轴分光模块与现有光路系统实现同轴耦合,最终将光斑打在工件表面。The existing optical path system, spectral confocal probe, coaxial spectroscopic module, and optical system focusing actuator are installed on the optical system installation base; the workpiece is placed on the moving table connected to the moving table controller, and a grating scale is installed on the moving table. The moving table controller is connected to the spectral confocal controller and the existing optical system signal conversion module through cables; The confocal probe achieves coaxial coupling with the existing optical path system through the coaxial spectroscopic module, and finally hits the spot on the surface of the workpiece.

运动台控制器读取运动台上光栅尺的信号,并产生两路触发信号,分别用于触发光谱共焦控制器和现有光路系统信号转换模块进行工作;自动对焦控制器通过读取光谱共焦控制器计算得到的离焦量数据,并驱动控制光学系统调焦执行机构进行调焦。The motion table controller reads the signal of the grating scale on the motion table, and generates two trigger signals, which are used to trigger the spectral confocal controller and the existing optical path system signal conversion module to work respectively; the autofocus controller reads the defocus data calculated by the spectral confocal controller, and drives and controls the focusing actuator of the optical system to adjust the focus.

现有光路系统为用于光学检测或光学加工的光路系统,现有光路系统信号转换模块为用于光学检测的成像相机或用于光学加工的激光光源。The existing optical path system is an optical path system for optical detection or optical processing, and the signal conversion module of the existing optical path system is an imaging camera for optical detection or a laser light source for optical processing.

相机相邻两个成像触发信号或激光光源相邻两个触发信号之间时间间距大于光谱共焦探头的单次测量时间。The time interval between two adjacent imaging trigger signals of the camera or two adjacent trigger signals of the laser light source is longer than the single measurement time of the spectral confocal probe.

运动台运动方向平行于光谱共焦探头和现有光路系统的光轴组成的平面。The moving direction of the moving stage is parallel to the plane formed by the spectral confocal probe and the optical axis of the existing optical path system.

二、一种基于光谱共焦的原位自动对焦方法2. An in-situ autofocus method based on spectral confocal

包括以下步骤:Include the following steps:

步骤1)运动台通过运动台控制器带动工件在水平面上进行二维运动,运动台控制器通过实时读取光栅尺数据持续获得运动台的当前位置;Step 1) The motion table drives the workpiece to move two-dimensionally on the horizontal plane through the motion table controller, and the motion table controller continuously obtains the current position of the motion table by reading the grating scale data in real time;

步骤2)运动台到达工件待成像或加工的位置,光谱共焦控制器计算现有光学系统和工件表面的离焦量;Step 2) The moving table reaches the position where the workpiece is to be imaged or processed, and the spectral confocal controller calculates the defocus of the existing optical system and the surface of the workpiece;

步骤3)自动对焦控制器读取光谱共焦控制器计算得到的离焦量数据,驱动控制光学系统调焦执行机构进行调焦操作,直至现有光路系统达到对焦高度位置;Step 3) The autofocus controller reads the defocus data calculated by the spectral confocal controller, drives and controls the focusing actuator of the optical system to perform focusing operations until the existing optical path system reaches the focus height position;

步骤4)运动台控制器向现有光路系统信号转换模块发出触发信号,现有光路系统信号转换模块收到触发信号后开始工作,实现光学检测成像或光学加工的工作。Step 4) The motion table controller sends a trigger signal to the signal conversion module of the existing optical path system, and the signal conversion module of the existing optical path system starts to work after receiving the trigger signal to realize the work of optical detection imaging or optical processing.

步骤5)运动台持续运动扫描,重复步骤2)、步骤3)、步骤4),直到运动扫描完成。Step 5) The motion table continues to scan, repeating step 2), step 3), and step 4) until the motion scan is completed.

光谱共焦控制器和现有光路系统信号转换模块配置为外触发模式。The spectral confocal controller and the signal conversion module of the existing optical path system are configured as an external trigger mode.

所述步骤1)中,根据光栅尺信号和工件运动过程中现有光路系统间隔工作时间对应的运动台间距,分别设置现有光路系统信号转换模块触发信号与光谱共焦控制器触发信号的分频数,再通过设置两路触发信号的相位和占空比参数,使得光谱共焦控制器的触发工作时间落在现有光路系统相邻两个工作点对应的间隔时间内。In the step 1), according to the grating ruler signal and the distance between the moving stages corresponding to the interval working time of the existing optical path system during the movement of the workpiece, respectively set the frequency division numbers of the trigger signal of the signal conversion module of the existing optical path system and the trigger signal of the spectral confocal controller, and then set the phase and duty ratio parameters of the two trigger signals so that the trigger working time of the spectral confocal controller falls within the interval corresponding to two adjacent working points of the existing optical path system.

所述步骤2)具体为,运动台到达工件待成像或加工的位置,运动台控制器向光谱共焦控制器发出触发信号,光谱共焦控制器收到触发信号后开启光源,并通过光纤传输到光谱共焦探头,光谱共焦探头将输入的宽光谱光源进行轴向色散处理后,通过同轴分光模块将光斑打到工件表面,工件表面聚焦后对宽光谱信号产生了筛选作用,在工件表面聚焦的特定光谱段的光信号同轴返回光谱共焦探头后,在光谱共焦控制器内进行光谱分析,通过光谱共焦探头中轴向色散的光谱与空间位移量的映射关系得到现有光学系统和工件表面的离焦量(光谱与空间位移量的映射关系与光谱共焦探头111轴向色散的设计参数相关);触发信号结束后,光谱共焦控制器关闭光源并停止曝光计算。The step 2) specifically, when the moving table reaches the position where the workpiece is to be imaged or processed, the moving table controller sends a trigger signal to the spectral confocal controller. After receiving the trigger signal, the spectral confocal controller turns on the light source and transmits it to the spectral confocal probe through an optical fiber. Spectral analysis is carried out, and the defocus amount of the existing optical system and the workpiece surface is obtained through the mapping relationship between the axial dispersion spectrum and the spatial displacement in the spectral confocal probe (the mapping relationship between the spectrum and the spatial displacement is related to the design parameters of the spectral confocal probe 111 axial dispersion); after the trigger signal ends, the spectral confocal controller turns off the light source and stops the exposure calculation.

所述步骤2)中,调节光谱共焦探头和同轴分光模块的相对位置,使得离焦测量点相对于成像或加工位置在扫描路径上形成超前或滞后偏移量S,S>(t+T)*V;In the step 2), adjust the relative position of the spectral confocal probe and the coaxial spectroscopic module, so that the defocus measurement point forms a leading or lagging offset S on the scanning path relative to the imaging or processing position, S>(t+T)*V;

其中,t为光谱共焦探头的单次测量时间;T为光学系统调焦执行机构的最大整定时间,最大整定时间为光学系统调焦执行机构按照工件表面高度变化峰峰值作为运动距离进行阶跃运动所需的最长时间;V为运动台的运动速度。Among them, t is the single measurement time of the spectral confocal probe; T is the maximum setting time of the focusing actuator of the optical system, and the maximum setting time is the longest time required for the focusing actuator of the optical system to perform step motion according to the peak-to-peak value of the height change of the workpiece surface; V is the moving speed of the moving table.

采用光谱共焦探头通常可以在小于100us的时间t内获得现有光学系统相对于工件表面的绝对高度,从而根据现有光学系统的焦距计算得到光学系统的离焦量。The absolute height of the existing optical system relative to the workpiece surface can usually be obtained within a time t of less than 100us by using a spectral confocal probe, so that the defocus amount of the optical system can be calculated according to the focal length of the existing optical system.

所述步骤5)中,为了确保运动台连续扫描过程中始终能实现实时对焦效果,离焦测量点的超前偏移量S小于现有光路系统相邻两个工作点的位置间距。In step 5), in order to ensure that the real-time focusing effect can always be achieved during the continuous scanning of the moving platform, the advance offset S of the defocus measurement point is smaller than the position distance between two adjacent working points of the existing optical path system.

本发明的有益效果:Beneficial effects of the present invention:

本发明的基于光谱共焦的原位自动对焦装置及方法,通过采用光谱共焦传感器同轴安装的形式实现了绝对离焦位移量的测量,提高了自动对焦系统的闭环控制响应;通过运动台光栅尺位移量信号匹配离焦量测量的光谱共焦探头和现有光路系统信号转换模块的触发工作时间,可以避免对焦测量系统对现有光路系统的光谱干扰;通过设置离焦测量点相对于成像或加工位置形成一定的超前偏移量,可以确保自动对焦装置始终对当前工作位置实现动态对焦,避免产生对焦位置的滞后。The in-situ autofocus device and method based on spectral confocal of the present invention realizes the measurement of absolute defocus displacement by adopting the form of coaxial installation of spectral confocal sensor, and improves the closed-loop control response of the autofocus system; the grating ruler displacement signal of the moving table matches the trigger working time of the spectral confocal probe for defocus measurement and the trigger working time of the existing optical path system signal conversion module, which can avoid the spectral interference of the focus measurement system on the existing optical path system; by setting the defocus measurement point to form a certain advanced offset relative to the imaging or processing position, it can ensure that the autofocus device is always on the current The working position realizes dynamic focus, avoiding the lag of focus position.

附图说明Description of drawings

图1是分别以相对离焦量表征和绝对离焦量测量为基础的自动对焦控制框图;Figure 1 is a block diagram of autofocus control based on the relative defocus amount characterization and the absolute defocus amount measurement respectively;

图2是常见光学加工和检测系统工作波段;Figure 2 is the working band of common optical processing and detection systems;

图3是光谱共焦测量原理图;图中:光谱仪201、光源202、光谱共焦探头203、物体表面204;Fig. 3 is a schematic diagram of spectral confocal measurement; in the figure: spectrometer 201, light source 202, spectral confocal probe 203, object surface 204;

图4是光谱共焦工作波段分布图;Fig. 4 is the spectral confocal working band distribution figure;

图5是本发明实施例的结构示意图;图中:光谱共焦控制器101、现有光路系统信号转换模块102、现有光路系统103、光学系统安装底座104、光学系统调焦执行机构105、同轴分光模块106、工件107、运动台108、光栅尺109、运动台控制器110,对焦测量系统包括光谱共焦探头111、自动对焦控制器112;5 is a schematic structural view of an embodiment of the present invention; in the figure: a spectral confocal controller 101, an existing optical path system signal conversion module 102, an existing optical path system 103, an optical system mounting base 104, an optical system focusing actuator 105, a coaxial light splitting module 106, a workpiece 107, a moving stage 108, a grating ruler 109, and a moving stage controller 110. The focusing measurement system includes a spectral confocal probe 111 and an autofocus controller 112;

图6是本发明实施例将现有光路系统和对焦系统分时触发的电平信号示意图;Fig. 6 is a schematic diagram of level signals for time-sharing triggering of the existing optical path system and focusing system according to the embodiment of the present invention;

图7是本发明实施例中分时触发现有光路系统工作和触发对焦系统对焦的示意图;7 is a schematic diagram of time-sharing triggering the work of the existing optical path system and triggering the focus of the focusing system in an embodiment of the present invention;

图8是对焦系统测量点与光学系统视场中心重合的结构示意图;Fig. 8 is a structural schematic diagram of the coincidence of the measuring point of the focusing system with the center of the field of view of the optical system;

图9是对焦系统测量点向左偏离光学系统视场中心的结构示意图;Fig. 9 is a structural schematic diagram of the measurement point of the focusing system deviating from the center of the field of view of the optical system to the left;

图10是对焦系统测量点向右偏离光学系统视场中心的结构示意图;Fig. 10 is a structural schematic diagram of the measurement point of the focusing system deviating from the center of the field of view of the optical system to the right;

图11是本发明实施例进行自动对焦的流程图;FIG. 11 is a flow chart of performing autofocus according to an embodiment of the present invention;

图12为直线电机典型阶跃运动响应曲线图;Figure 12 is a typical step motion response curve diagram of a linear motor;

图13为通过设置不同的阶跃距离获得的直线电机阶跃运动整定时间曲线图;Fig. 13 is the linear motor step motion settling time graph obtained by setting different step distances;

图14是本发明实施例在扫描运动过程中进行实时自动对焦的流程示意图;其中,S为离焦测量点相对于成像或加工位置在扫描路径上形成超前偏移量,t为光谱共焦探头的单次测量时间,T为光学系统调焦执行机构的最大整定时间,V为运动台的运动速度(箭头表示扫描方向),P1表示对焦位置,P2表示成像或加工位置。14 is a schematic flow chart of real-time auto-focusing during the scanning movement of the embodiment of the present invention; wherein, S is the leading offset of the defocus measurement point on the scanning path relative to the imaging or processing position, t is the single measurement time of the spectral confocal probe, T is the maximum setting time of the focusing actuator of the optical system, V is the moving speed of the moving table (the arrow indicates the scanning direction), P1 indicates the focusing position, and P2 indicates the imaging or processing position.

具体实施方式Detailed ways

下面将结合附图对本发明进行更详细的描述,其中表示了本发明的优选实施例,应该理解本领域技术人员可以修改在此描述的本发明而仍然实现本发明的有利效果。因此,下列描述应当被理解为对于本领域技术人员的广泛知道,而并不作为对本发明的限制。The present invention will be described in more detail below with reference to the accompanying drawings, which show preferred embodiments of the present invention, and it should be understood that those skilled in the art can modify the present invention described herein and still achieve the advantageous effects of the present invention. Therefore, the following description should be understood as the broad knowledge of those skilled in the art, but not as a limitation of the present invention.

为了清楚,在下列描述中,不详细描述公知的功能和结构,因为它们会使本发明由于不必要的细节而混乱。为使本发明的目的、特征更明显易懂,下面结合附图对本发明的具体实施方式作进一步的说明。需说明的是,附图均采用非常简化的形式且均使用非精准的比率,仅用以方便、明晰地辅助说明本发明实施例的目的。For clarity, in the following description, well-known functions and constructions are not described in detail since they would obscure the invention with unnecessary detail. In order to make the purpose and features of the present invention more comprehensible, the specific implementation manners of the present invention will be further described below in conjunction with the accompanying drawings. It should be noted that the drawings are all in a very simplified form and use imprecise ratios, which are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.

在目前的现有技术中,主要的自动对焦装置形式可以分为同轴式、离轴式以及三角反射式三种。同轴式自动对焦装置中,自动对焦系统的光路和现有的检测或加工用的光学系统通过分光器件实现部分的光路同轴,为了避免对焦系统对现有光学系统的成像造成影响,一般需要通过滤光片将两个系统进行光谱隔离,因此导致了现有光学系统特定光谱段信息的丢失,同时目前的同轴式自动对焦装置常常通过分析光斑形貌信号或光斑信号强度或成像像散程度来表征,如日本中央精机株式会社AF系列产品、加拿大WDI公司ATF系列产品,其只能够实现是否离焦以及离焦方向的表征,而无法定量的计算出具体的离焦位移量,因此往往需要多个闭环控制周期实现单次自动对焦,导致最终的闭环控制带宽不高,无法实现高响应的自动聚焦功能。本发明对此作出了改进,具体如图1所示,如果能单次测得绝对的离焦位移量,则只需要驱动控制调焦执行机构运动一定距离,即可实现对焦,从而提高整体的控制带宽。In the current prior art, the main forms of autofocus devices can be divided into three types: coaxial, off-axis and triangular reflection. In the coaxial autofocus device, the optical path of the autofocus system and the existing optical system for detection or processing are partly coaxial through a spectroscopic device. In order to avoid the impact of the focusing system on the imaging of the existing optical system, it is generally necessary to spectrally isolate the two systems through an optical filter, thus resulting in the loss of information in a specific spectral segment of the existing optical system. At the same time, the current coaxial autofocus device is often characterized by analyzing the spot shape signal or spot signal intensity or the degree of imaging astigmatism, such as Japan Chuo Seiki Co., Ltd. AF series products, Canada WDI The company's ATF series products can only realize the characterization of defocus and defocus direction, but cannot quantitatively calculate the specific defocus displacement. Therefore, multiple closed-loop control cycles are often required to achieve single autofocus, resulting in the final closed-loop control bandwidth is not high, and high-response autofocus cannot be realized. The present invention improves on this, specifically as shown in Figure 1, if the absolute defocus displacement can be measured once, then only need to drive and control the focusing actuator to move a certain distance to realize focusing, thereby improving the overall control bandwidth.

离轴式自动对焦装置中,自动对焦系统的光路独立于现有的光学系统,从而无需考虑两者之间的光谱波段的耦合和隔离,但是离轴式自动对焦装置的测量点与现有的光学系统的视场中心存在较大偏离,因此往往需要进行高度的位置映射,对工件某一片区域进行离焦量检测后进入现有光学系统的视场内进行检测或加工,通过位置映射的高度数据驱动控制调焦执行机构进行变焦动作,控制策略比较复杂。In the off-axis autofocus device, the optical path of the autofocus system is independent of the existing optical system, so that there is no need to consider the coupling and isolation of the spectral bands between the two. However, the measurement point of the off-axis autofocus device deviates greatly from the center of the field of view of the existing optical system, so it is often necessary to perform height position mapping. After detecting the defocus amount of a certain area of the workpiece, it enters the field of view of the existing optical system for detection or processing. The height data driven by the position mapping controls the zooming action of the focusing actuator, and the control strategy is more complicated.

三角反射式自动对焦装置的光学系统同样独立于现有的光学系统,测量点可以通过调整三角反射的角度移动到与现有光学系统的视场中心重合的位置,但为了与现有光学系统的大口径高分辨特性匹配,需要增大三角反射的角度,进而直接提高了结构的复杂性和成本。The optical system of the triangular reflection autofocus device is also independent of the existing optical system. The measurement point can be moved to a position that coincides with the center of the field of view of the existing optical system by adjusting the angle of the triangular reflection. However, in order to match the large aperture and high resolution characteristics of the existing optical system, the angle of the triangular reflection needs to be increased, which directly increases the complexity and cost of the structure.

图2所示为常见光学加工和检测系统工作波段,芯片光刻采用紫外到极紫外波段,工业视觉检测往往采用可见光波段来代替肉眼评估,激光加工领域则广泛使用红外波段。自动对焦装置也可以认为是一种光学检测系统,如何避免两个光学系统之间的相互干扰,尤其是光谱信息的耦合是一个行业内亟待解决的问题,因此提出一种适用于各种光谱段进行成像检测和加工应用的自动对焦装置,对促进精密光学检测和加工领域发展具有重要意义。Figure 2 shows the working bands of common optical processing and inspection systems. Chip lithography uses ultraviolet to extreme ultraviolet bands. Industrial visual inspection often uses visible light bands instead of naked eye evaluations. In the field of laser processing, infrared bands are widely used. The autofocus device can also be considered as an optical detection system. How to avoid mutual interference between the two optical systems, especially the coupling of spectral information, is an urgent problem in the industry. Therefore, it is of great significance to propose an autofocus device suitable for imaging detection and processing applications in various spectral segments, which is of great significance to promote the development of precision optical detection and processing.

图3所示为光谱共焦测量原理图,光源202发射的宽谱光信号通过光纤进入到光谱共焦探头203后,产生高度轴向色散,物体表面204的回光被光谱共焦探头203同轴接收后通过光纤在光谱仪201中形成谱峰。通过CMOS图像传感器提取谱峰峰值位置,解算实际空间距离,实现高速无损距离检测。随着3C电子、半导体和新能源等行业的发展带动对精密结构件的高精度加工和测量需求,以光谱共焦测量为原理的传感器产品以其对各类材料的高适应性、高精度和非接触高速采样能力等优异特性,在近几年得到了较多的应用认可和市场发展。因此从作为一类对焦传感器的应用来说,一方面其能够满足不同对焦场景下不同工件表面材质的场景,另一方面其测量结果对应于绝对的离焦位移量数据,有助于提高自动对焦系统的闭环控制带宽。Fig. 3 shows the principle diagram of spectral confocal measurement. After the wide-spectrum optical signal emitted by the light source 202 enters the spectral confocal probe 203 through the optical fiber, a high degree of axial dispersion is generated. The returned light from the object surface 204 is coaxially received by the spectral confocal probe 203 and forms a spectral peak in the spectrometer 201 through the optical fiber. Extract the peak position of the spectral peak through the CMOS image sensor, calculate the actual spatial distance, and realize high-speed non-destructive distance detection. With the development of 3C electronics, semiconductor, and new energy industries, the demand for high-precision processing and measurement of precision structural parts has been driven. Sensor products based on the principle of spectral confocal measurement have gained more application recognition and market development in recent years due to their high adaptability to various materials, high precision, and non-contact high-speed sampling capabilities. Therefore, from the application of a type of focus sensor, on the one hand, it can meet the scenes of different workpiece surface materials in different focusing scenes, and on the other hand, its measurement results correspond to absolute defocus displacement data, which helps to improve the closed-loop control bandwidth of the autofocus system.

图4所示为光谱共焦光源LED的工作波段,其一般工作在400-700nm的可见光波段范围内。一种避免对焦系统与现有光路系统之间产生光谱干扰的方式是采用时分的方法。但如果对焦系统实现单次对焦过程中需要较长的离焦量测量时间或较多的离焦量测量次数,同轴式自动对焦装置只能用于离焦与否及离焦方向表征,并且在整个闭环周期内,需要多次进行离焦位移量的测量,单次对焦动作往往需要数秒的工作时间,采用时分的方法势必会严重降低整个系统工作的带宽能力。而目前光谱共焦传感器进行绝对离焦位移量测量的速度最高可以达到10kHz以上,只需要小于100us的光源点亮和曝光时间即可实现离焦量的测量,并将相对位移量反馈控制到调焦执行机构。Figure 4 shows the working band of the spectral confocal light source LED, which generally works in the visible light band range of 400-700nm. One way to avoid spectral interference between the focusing system and the existing optical path system is to use a time division method. However, if the focusing system requires a long time for defocus measurement or a large number of defocus measurement times during a single focusing process, the coaxial autofocus device can only be used to characterize defocus and defocus direction, and in the entire closed-loop cycle, it needs to measure the defocus displacement multiple times. A single focusing action often takes several seconds of working time, and the time-division method is bound to seriously reduce the bandwidth capability of the entire system. At present, the spectral confocal sensor can measure the absolute defocus displacement at a speed of up to 10kHz. It only needs less than 100us of light source lighting and exposure time to realize the defocus measurement, and the relative displacement feedback is controlled to the focusing actuator.

图5为本发明实施例提供的示意图。包括现有光路系统103、现有光路系统信号转换模块102、光谱共焦探头111、光谱共焦控制器101、同轴分光模块106、光学系统安装底座104、光学系统调焦执行机构105、自动对焦控制器112、工件107、运动台108、光栅尺109、运动台控制器110组成。现有光路系统103、现有光路系统信号转换模块102、光谱共焦探头111、光谱共焦控制器101、同轴分光模块106安装于光学系统安装底座104上,光学系统调焦执行机构105与光学系统安装底座104刚性连接,光谱共焦探头111通过同轴分光模块106与现有光路系统103实现同轴耦合。为了避免两套光学系统之间的互相干扰,可以充分利用光谱共焦探头111的高采样率特性,光谱共焦探头111的单次离焦量测量时间只需要小于100us的光源点亮和曝光时间,因此,只要相机相邻两个成像触发信号之间时间间距大于100us,即可满足要求,能够满足绝大多数的对焦测量场景。Fig. 5 is a schematic diagram provided by an embodiment of the present invention. It consists of an existing optical path system 103, an existing optical path system signal conversion module 102, a spectral confocal probe 111, a spectral confocal controller 101, a coaxial spectroscopic module 106, an optical system mounting base 104, an optical system focusing actuator 105, an autofocus controller 112, a workpiece 107, a moving table 108, a grating ruler 109, and a moving table controller 110. The existing optical path system 103, the existing optical path system signal conversion module 102, the spectral confocal probe 111, the spectral confocal controller 101, and the coaxial spectroscopic module 106 are installed on the optical system mounting base 104, the optical system focusing actuator 105 is rigidly connected to the optical system mounting base 104, and the spectral confocal probe 111 is coaxially coupled with the existing optical path system 103 through the coaxial spectroscopic module 106. In order to avoid mutual interference between the two sets of optical systems, the high sampling rate characteristics of the spectral confocal probe 111 can be fully utilized. The single defocus measurement time of the spectral confocal probe 111 only requires light source lighting and exposure time less than 100us. Therefore, as long as the time interval between two adjacent imaging trigger signals of the camera is greater than 100us, the requirements can be met, and most of the focus measurement scenarios can be met.

工件107放置于运动台108上,运动台108上安装有光栅尺109,运动台控制器110能够控制运动台108带动工件107运动,运动台控制器110能够通过读取光栅尺109的数据计算得到运动台108的当前位置。The workpiece 107 is placed on the moving table 108, and a grating scale 109 is installed on the moving table 108. The moving table controller 110 can control the moving table 108 to drive the workpiece 107 to move. The moving table controller 110 can calculate the current position of the moving table 108 by reading the data of the grating ruler 109.

光谱共焦探头111和光谱共焦控制器101通过光纤连接,现有光路系统103和现有光路系统信号转换模块102连接,运动台控制器110通过线缆与光谱共焦控制器101以及现有光路系统信号转换模块102连接,运动台控制器110读取运动台108上光栅尺109的信号,并产生两路触发信号,分别用于触发光谱共焦控制器101和现有光路系统信号转换模块102进行工作。自动对焦控制器112能够读取光谱共焦控制101计算获得的离焦量数据,并驱动控制光学系统调焦执行机构105进行调焦。Spectral co -focus probes 111 and spectral co -focus controller 101 connect through optical fiber, existing optical road system 103 and existing light road system signal conversion module 102, sports table controller 110 through cable and spectrum co -focus controller 101, existing light road system signal conversion module 102, and signal of the light grid 109 of the sports table 108, and the signal of the two -road trigger. Work on triggering spectral co -focus controller 101 and the existing optical path system signal conversion module 102. The auto-focus controller 112 can read the defocus data calculated and obtained by the spectral confocal control 101 , and drive and control the optical system focus actuator 105 to perform focus adjustment.

现有光路系统103可以是用于光学检测或光学加工的光路系统,现有光路系统信号转换模块102可以是用于光学检测的成像相机或者用于光学加工的激光光源。The existing optical system 103 may be an optical system for optical detection or optical processing, and the existing optical system signal conversion module 102 may be an imaging camera for optical detection or a laser light source for optical processing.

如图8所示,通过调节光谱共焦探头111和同轴分光模块106的相对位置,可以改变光谱共焦探头111离焦量测量点相对于现有光路系统103视场中心的偏移量,若将光谱共焦探头111向上相对移动,离焦量测量点则落在现有光路系统103视场中心的左边,如图9所示;若将光谱共焦探头111向下相对移动,离焦量测量点则落在现有光路系统103视场中心的右边,如图10所示。因此,通过设置运动台扫描方向平行于光谱共焦探头111和现有光路系统103的光轴组成的平面,则能够实现离焦测量点相对于成像或加工位置的超前和滞后。As shown in Figure 8, by adjusting the relative position of the spectral confocal probe 111 and the coaxial spectroscopic module 106, the offset of the defocus measurement point of the spectral confocal probe 111 relative to the center of the field of view of the existing optical system 103 can be changed. If the spectral confocal probe 111 is relatively moved upward, the defocus measurement point will fall on the left of the center of the field of view of the existing optical system 103, as shown in Figure 9; To the right of the center of the field of view, as shown in Figure 10. Therefore, by setting the scanning direction of the moving stage parallel to the plane formed by the spectral confocal probe 111 and the optical axis of the existing optical path system 103, the lead and lag of the out-of-focus measurement point relative to the imaging or processing position can be realized.

如图11所示,本发明基于光谱共焦的原位自动对焦装置的自动对焦方法包括以下步骤:As shown in Figure 11, the autofocus method of the in-situ autofocus device based on spectral confocal in the present invention includes the following steps:

步骤1)运动台开始运动扫描,运动台控制器通过读取运动台光栅尺信号持续获得运动台位置信号。Step 1) The motion table starts motion scanning, and the motion table controller continuously obtains the position signal of the motion table by reading the signal of the grating ruler of the motion table.

步骤2)运动台到达工件待成像或加工的位置,运动台控制器110向光谱共焦控制器101发出触发信号,光谱共焦控制器101配置为外触发模式,收到触发信号后开启光源,并通过光纤传输到光谱共焦探头111,光谱共焦探头将输入的宽光谱光源进行轴向色散处理后,通过同轴分光模块106将光斑打到工件表面,工件表面聚焦后对宽光谱信号产生了筛选作用,在工件表面聚焦的特定光谱段的光信号同轴返回通过光谱共焦探头和光纤后,在光谱共焦控制器101内进行光谱分析,通过光谱共焦探头111中轴向色散的光谱与轴向色散空间位移量的映射关系最终得到现有光学系统103和工件表面的离焦量。触发信号结束后,光谱共焦控制器关闭光源并停止曝光计算。Step 2) When the moving table reaches the position where the workpiece is to be imaged or processed, the moving table controller 110 sends a trigger signal to the spectral confocal controller 101. The spectral confocal controller 101 is configured as an external trigger mode. After receiving the trigger signal, the light source is turned on and transmitted to the spectral confocal probe 111 through an optical fiber. After the optical signal coaxially returns through the spectral confocal probe and optical fiber, spectral analysis is performed in the spectral confocal controller 101, and the defocus amount of the existing optical system 103 and the workpiece surface is finally obtained through the mapping relationship between the axial dispersion spectrum in the spectral confocal probe 111 and the spatial displacement of the axial dispersion. After the trigger signal ends, the spectral confocal controller turns off the light source and stops the exposure calculation.

步骤3)自动对焦控制器112读取光谱共焦控制器计算得到的离焦量数据,驱动控制调焦执行机构进行调焦操作,直到达到对焦高度位置。Step 3) The autofocus controller 112 reads the defocus amount data calculated by the spectral confocal controller, and drives and controls the focusing actuator to perform focusing operations until reaching the focus height position.

步骤4)运动台控制器110向现有光路系统信号转换模块102发出触发信号,现有光路系统信号转换模块配置为外触发模式,收到触发信号后开始工作,实现光学检测成像或光学加工的工作。Step 4) The motion table controller 110 sends a trigger signal to the existing optical system signal conversion module 102. The existing optical system signal conversion module is configured as an external trigger mode, and starts to work after receiving the trigger signal to realize optical detection imaging or optical processing.

步骤5)运动台持续运动扫描,重复步骤2)、步骤3)、步骤4),直到运动扫描完成。Step 5) The motion table continues to scan, repeating step 2), step 3), and step 4) until the motion scan is completed.

所述步骤1),运动台以速度V进行匀速运动的过程中,光栅尺产生与运动位移量对应的高低电平数字信号,运动台控制器通过对高低电平脉冲数的计算,可得到当前运动台的实时位置。根据光栅尺信号进行分频、相位和占空比设置,可以获得自定义的高低电平信号,分别用于触发光谱共焦控制器进行离焦量测量和现有光路系统信号转换模块进行工作,通过配置两路触发信号,可以使得光谱共焦控制器和现有光路系统信号转换模块交替工作,光谱共焦控制器的外部触发频率最高可达到10kHz以上,能够满足现有光路系统信号转换模块高通量的检测和加工工作。In step 1), when the moving platform is moving at a constant speed at a speed V, the grating scale generates high and low level digital signals corresponding to the movement displacement, and the moving platform controller can obtain the current real-time position of the moving platform by calculating the number of high and low level pulses. According to the frequency division, phase and duty cycle setting of the grating ruler signal, a custom high and low level signal can be obtained, which are respectively used to trigger the spectral confocal controller to measure the defocus amount and the existing optical system signal conversion module to work. By configuring two trigger signals, the spectral confocal controller and the existing optical system signal conversion module can work alternately.

如图7所示,根据运动台光栅尺信号和运动扫描过程中现有光路系统103间隔工作时间对应的运动台间距,分别设置现有光路系统信号转换模块触发信号与对焦系统触发信号的分频数,再通过设置两路触发信号的相位和占空比参数,使得对焦系统的触发工作时间落在现有光路系统信号转换模块相邻两个工作点的非工作间隔时间内。As shown in FIG. 7 , according to the grating signal of the moving table and the distance between the moving platforms corresponding to the working interval of the existing optical system 103 during the motion scanning process, the frequency division numbers of the trigger signal of the existing optical system signal conversion module and the trigger signal of the focusing system are respectively set, and then by setting the phase and duty ratio parameters of the two trigger signals, the triggering working time of the focusing system falls within the non-working interval of two adjacent working points of the existing optical system signal conversion module.

如图6所示,方波上升沿对应于现有光路系统信号转换模块和对焦系统的触发动作,且方波高电平时间对应于现有光路系统信号转换模块和对焦系统的曝光时间,配置对焦系统的高电平时间位于现有光路系统信号转换模块触发信号的低电平时间内,则能实现两套光路系统在不同时间进行触发工作。As shown in Figure 6, the rising edge of the square wave corresponds to the trigger action of the signal conversion module of the existing optical system and the focusing system, and the high-level time of the square wave corresponds to the exposure time of the signal conversion module of the existing optical system and the focusing system.

所述步骤2),通过调节光谱共焦探头111和同轴分光模块106的相对位置,使得离焦测量点相对于成像或加工位置在扫描路径上形成一定的超前或滞后偏移量S。采用光谱共焦探头通常可以在小于100us的时间t内获得现有光学系统103相对于工件表面的绝对高度,从而根据现有光学系统的焦距计算得到光学系统的离焦位移量。In the step 2), by adjusting the relative positions of the spectral confocal probe 111 and the coaxial spectroscopic module 106 , the defocus measurement point forms a certain lead or lag offset S on the scanning path relative to the imaging or processing position. The absolute height of the existing optical system 103 relative to the workpiece surface can usually be obtained within a time t of less than 100 us by using the spectral confocal probe, so that the defocus displacement of the optical system can be calculated according to the focal length of the existing optical system.

所述步骤3),调焦执行机构运动并稳定到对焦高度位置需要的耗时称为整定时间(settling time),每次计算得到离焦量数据后进行调焦到对焦位置的操作可以认为是对调焦执行机构发出阶跃运动指令,阶跃运动响应的整定时间与调焦执行机构的最大工作功率、机构惯性负载以及阶跃运动的相对位移量有关。因此,提前对工件表面最大的离焦量进行预估,可以此来估算调焦执行机构在单次对焦过程中所需要的最大整定时间T(最大整定时间T为调焦执行机构按照工件表面最大的离焦量进行阶跃运动所需要的最长时间),通常在100um的阶跃运动指令下能够实现小于100ms的整定时间。图12为直线电机典型阶跃运动响应曲线,图13为通过设置不同的阶跃距离获得的直线电机阶跃运动整定时间曲线图。通过取超过工件表面最大离焦量的运动距离D1对应的阶跃运动整定时间T1作为调焦执行机构在单次对焦过程中所需要的最大整定时间。In the step 3), the time required for the focus actuator to move and stabilize to the focus height position is called the settling time. The operation of focusing to the focus position after calculating the defocus amount data each time can be considered as sending a step motion command to the focus actuator. The settling time of the step motion response is related to the maximum working power of the focus actuator, the inertial load of the mechanism, and the relative displacement of the step motion. Therefore, the maximum defocus amount of the workpiece surface is estimated in advance, which can be used to estimate the maximum settling time T required by the focus actuator during a single focusing process (the maximum settling time T is the longest time required for the focus actuator to perform step motion according to the maximum defocus amount of the workpiece surface), and usually a settling time of less than 100ms can be achieved under a 100um step motion command. Figure 12 is a typical step motion response curve of a linear motor, and Figure 13 is a graph of the settling time of a linear motor step motion obtained by setting different step distances. By taking the step motion setting time T1 corresponding to the movement distance D1 exceeding the maximum defocus amount of the workpiece surface as the maximum setting time required by the focusing actuator in a single focusing process.

所述步骤4),为了确保运动台到达指定工作位置时,自动对焦装置已经完成光学系统相对于当前工件位置的对焦工作,需要满足条件S>(t+T)*V。如图14所示。In step 4), in order to ensure that the autofocus device has completed the focusing work of the optical system relative to the current workpiece position when the moving table reaches the designated working position, the condition S>(t+T)*V needs to be satisfied. As shown in Figure 14.

所述步骤5),如图14所示,为了确保运动台连续扫描过程中始终能够实现实时对焦效果,离焦测量点的超前偏移量S需要小于相邻两个成像或加工位置的间距。以避免下一次的“对焦--成像或加工”流程对上一次的“对焦--成像或加工”流程产生干扰。The step 5), as shown in Figure 14, in order to ensure that the real-time focusing effect can always be achieved during the continuous scanning of the moving stage, the advance offset S of the defocus measurement point needs to be smaller than the distance between two adjacent imaging or processing positions. In order to avoid the next "focus-imaging or processing" process from interfering with the previous "focus-imaging or processing" process.

Claims (8)

1.一种基于光谱共焦的原位自动对焦装置,其特征在于,包括对焦系统、现有光路系统(103)、现有光路系统信号转换模块(102)、同轴分光模块(106)、工件(107)、运动台(108)、光栅尺(109)、光学系统安装底座(104)和运动台控制器(110),对焦测量系统包括光谱共焦探头(111)、光谱共焦控制器(101)、自动对焦控制器(112)、光学系统调焦执行机构(105);1. An in-situ autofocus device based on spectral confocal, characterized in that it includes a focusing system, an existing optical path system (103), an existing optical path system signal conversion module (102), a coaxial spectroscopic module (106), a workpiece (107), a moving stage (108), a grating ruler (109), an optical system mounting base (104) and a moving stage controller (110), and the focusing measurement system includes a spectral confocal probe (111), a spectral confocal controller (101 ), an autofocus controller (112), an optical system focusing actuator (105); 现有光路系统(103)、光谱共焦探头(111)、同轴分光模块(106)、光学系统调焦执行机构(105)安装于光学系统安装底座(104)上;工件(107)放置于与运动台控制器(110)连接的运动台(108)上,运动台(108)上安装有光栅尺(109),运动台控制器(110)通过线缆分别与光谱共焦控制器(101)和现有光路系统信号转换模块(102)连接;光谱共焦控制器(101)通过线缆与自动对焦控制器(112)连接,通过光纤和光谱共焦探头(111)连接;现有光路系统信号转换模块(102)与现有光路系统(103)连接,自动对焦控制器(112)与光学系统调焦执行机构(105)连接,光谱共焦探头(111)通过同轴分光模块(106)与现有光路系统(103)实现同轴耦合,最终将光斑打在工件(107)表面;The existing optical path system (103), spectral confocal probe (111), coaxial spectroscopic module (106), and optical system focusing actuator (105) are installed on the optical system installation base (104); the workpiece (107) is placed on the moving table (108) connected to the moving table controller (110), and a grating scale (109) is installed on the moving table (108). 1) Connect with the signal conversion module (102) of the existing optical path system; the spectral confocal controller (101) is connected with the autofocus controller (112) through a cable, and connected with the spectral confocal probe (111) through an optical fiber; the signal conversion module (102) of the existing optical path system is connected with the existing optical path system (103), the autofocus controller (112) is connected with the focusing actuator (105) of the optical system, and the spectral confocal probe (111) is connected with the existing optical path through a coaxial spectroscopic module (106) The system (103) realizes coaxial coupling, and finally hits the spot on the surface of the workpiece (107); 运动台控制器(110)读取运动台(108)上光栅尺(109)的信号,并产生两路触发信号,分别用于触发光谱共焦控制器(101)和现有光路系统信号转换模块(102)进行工作;The motion table controller (110) reads the signal of the grating ruler (109) on the motion table (108), and generates two trigger signals, which are respectively used to trigger the spectral confocal controller (101) and the existing optical path system signal conversion module (102) to work; 自动对焦控制器(112)通过读取光谱共焦控制器(101)计算得到的离焦量数据,并驱动控制光学系统调焦执行机构(105)进行调焦。The autofocus controller (112) reads the defocus data calculated by the spectral confocal controller (101), and drives and controls the optical system focus actuator (105) to perform focus adjustment. 2.根据权利要求1所述的一种基于光谱共焦的原位自动对焦装置,其特征在于,2. A kind of in-situ autofocus device based on spectral confocal according to claim 1, characterized in that, 现有光路系统(103)为用于光学检测或光学加工的光路系统,现有光路系统信号转换模块(102)为用于光学检测的成像相机或用于光学加工的激光光源。The existing optical path system (103) is an optical path system for optical detection or optical processing, and the existing optical path system signal conversion module (102) is an imaging camera for optical detection or a laser light source for optical processing. 3.根据权利要求2所述的一种基于光谱共焦的原位自动对焦装置,其特征在于,相机相邻两个成像触发信号或激光光源相邻两个触发信号之间时间间距大于光谱共焦探头的单次测量时间。3. An in-situ autofocus device based on spectral confocal according to claim 2, wherein the time interval between two adjacent imaging trigger signals of the camera or two adjacent trigger signals of the laser light source is greater than the single measurement time of the spectral confocal probe. 4.根据权利要求1所述的一种基于光谱共焦的原位自动对焦装置,其特征在于,运动台(108)运动方向平行于光谱共焦探头(111)和现有光路系统(103)的光轴组成的平面。4. The in-situ autofocus device based on spectral confocal according to claim 1, characterized in that the movement direction of the moving table (108) is parallel to the plane formed by the optical axis of the spectral confocal probe (111) and the existing optical path system (103). 5.一种权利要求1-4任一所述装置的原位自动对焦方法,其特征在于,包括以下步骤:5. An in-situ auto-focusing method of the device according to any one of claims 1-4, characterized in that, comprising the following steps: 步骤1)运动台(108)通过运动台控制器(110)带动工件进行二维运动,运动台控制器(110)通过实时读取光栅尺(109)数据持续获得运动台(108)的当前位置;Step 1) The motion table (108) drives the workpiece to perform two-dimensional motion through the motion table controller (110), and the motion table controller (110) continuously obtains the current position of the motion table (108) by reading the data of the grating ruler (109) in real time; 步骤2)运动台到达工件待成像或加工的位置,光谱共焦控制器(101)计算现有光学系统(103)和工件表面的离焦量;Step 2) The moving table reaches the position where the workpiece is to be imaged or processed, and the spectral confocal controller (101) calculates the defocus amount between the existing optical system (103) and the surface of the workpiece; 步骤3)自动对焦控制器(112)读取光谱共焦控制器(101)计算得到的离焦量数据,驱动控制光学系统调焦执行机构(105)进行调焦操作,直至现有光路系统(103)达到对焦高度位置;Step 3) The autofocus controller (112) reads the defocus data calculated by the spectral confocal controller (101), drives and controls the optical system focusing actuator (105) to perform focusing operations until the existing optical system (103) reaches the focus height position; 步骤4)运动台控制器(110)向现有光路系统信号转换模块(102)发出触发信号,现有光路系统信号转换模块(102)收到触发信号后开始工作,实现光学检测成像或光学加工的工作;Step 4) The motion table controller (110) sends a trigger signal to the existing optical path system signal conversion module (102), and the existing optical path system signal conversion module (102) starts working after receiving the trigger signal to realize optical detection imaging or optical processing; 步骤5)运动台持续运动扫描,重复步骤2)、步骤3)、步骤4),直到运动扫描完成;Step 5) The motion table continues to scan, repeat step 2), step 3), and step 4) until the motion scan is completed; 所述步骤1)中,根据光栅尺信号和工件运动过程中现有光路系统(103)间隔工作时间对应的运动台间距,分别设置现有光路系统信号转换模块(102)触发信号与光谱共焦控制器(101)触发信号的分频数,再通过设置两路触发信号的相位和占空比参数,使得光谱共焦控制器(101)的触发工作时间落在现有光路系统(103)相邻两个工作点对应的间隔时间内。In the step 1), according to the grating ruler signal and the distance between the moving stages corresponding to the interval working time of the existing optical path system (103) during the movement of the workpiece, respectively set the frequency division numbers of the trigger signal of the existing optical path system signal conversion module (102) and the trigger signal of the spectral confocal controller (101), and then set the phase and duty ratio parameters of the two trigger signals so that the trigger working time of the spectral confocal controller (101) falls within the interval corresponding to two adjacent working points of the existing optical path system (103). 6.根据权利要求5所述的原位自动对焦方法,其特征在于,所述步骤2)具体为,运动台到达工件待成像或加工的位置,运动台控制器(110)向光谱共焦控制器(101)发出触发信号,光谱共焦控制器(101)收到触发信号后开启光源,并通过光纤传输到光谱共焦探头(111),光谱共焦探头(111)将输入的宽光谱光源进行轴向色散处理后,通过同轴分光模块(106)将光斑打到工件表面,在工件表面聚焦的光谱段的光信号同轴返回光谱共焦探头(111)后,在光谱共焦控制器(101)内进行光谱分析,通过光谱共焦探头(111)中轴向色散的光谱与空间位移量的映射关系得到现有光学系统(103)和工件表面的离焦量;触发信号结束后,光谱共焦控制器(101)关闭光源并停止曝光计算。6. The in-situ auto-focusing method according to claim 5, wherein the step 2) is specifically as follows: when the moving table reaches the position where the workpiece is to be imaged or processed, the moving table controller (110) sends a trigger signal to the spectral confocal controller (101), and the spectral confocal controller (101) turns on the light source after receiving the trigger signal, and transmits it to the spectral confocal probe (111) through an optical fiber. ) hit the light spot on the surface of the workpiece, after the optical signal of the focused spectral segment on the workpiece surface is returned coaxially to the spectral confocal probe (111), the spectral analysis is performed in the spectral confocal controller (101), and the defocus amount of the existing optical system (103) and the workpiece surface is obtained through the mapping relationship between the axial dispersion spectrum and the spatial displacement in the spectral confocal probe (111); after the trigger signal ends, the spectral confocal controller (101) turns off the light source and stops the exposure calculation. 7.根据权利要求6所述的原位自动对焦方法,其特征在于,所述步骤2)中,调节光谱共焦探头(111)和同轴分光模块(106)的相对位置,使得离焦测量点相对于成像或加工位置在扫描路径上形成超前或滞后偏移量S,S>(t+T)*V;7. The in-situ autofocus method according to claim 6, characterized in that, in the step 2), the relative position of the spectral confocal probe (111) and the coaxial spectroscopic module (106) is adjusted so that the defocus measurement point forms a leading or lagging offset S on the scanning path relative to the imaging or processing position, S>(t+T)*V; 其中,t为光谱共焦探头(111)的单次测量时间;T为光学系统调焦执行机构(105)的最大整定时间,最大整定时间为光学系统调焦执行机构(105)按照工件表面高度变化峰峰值作为运动距离进行阶跃运动所需的最长时间;V为运动台(108)的运动速度。Among them, t is the single measurement time of the spectral confocal probe (111); T is the maximum setting time of the focusing actuator (105) of the optical system, and the maximum setting time is the longest time required for the focusing actuator (105) of the optical system to perform step motion according to the peak-to-peak value of the height change of the workpiece surface as the moving distance; V is the moving speed of the moving table (108). 8.根据权利要求5所述的原位自动对焦方法,其特征在于,所述步骤5)中,离焦测量点的超前偏移量S小于现有光路系统(103)相邻两个工作点的位置间距。8. The in-situ auto-focus method according to claim 5, characterized in that, in step 5), the advance offset S of the defocus measurement point is smaller than the positional distance between two adjacent working points of the existing optical path system (103).
CN202310169949.3A 2023-02-27 2023-02-27 In-situ automatic focusing device and method based on spectral confocal Active CN115993695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310169949.3A CN115993695B (en) 2023-02-27 2023-02-27 In-situ automatic focusing device and method based on spectral confocal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310169949.3A CN115993695B (en) 2023-02-27 2023-02-27 In-situ automatic focusing device and method based on spectral confocal

Publications (2)

Publication Number Publication Date
CN115993695A CN115993695A (en) 2023-04-21
CN115993695B true CN115993695B (en) 2023-07-25

Family

ID=85992141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310169949.3A Active CN115993695B (en) 2023-02-27 2023-02-27 In-situ automatic focusing device and method based on spectral confocal

Country Status (1)

Country Link
CN (1) CN115993695B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118010318B (en) * 2024-02-27 2024-09-13 浙江大学 Device and method for detecting photo-thermal characteristics of large-caliber optical element

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106442467A (en) * 2016-10-31 2017-02-22 北京信息科技大学 Spatial autofocusing laser confocal imaging Raman-spectrum detecting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103091299B (en) * 2013-01-21 2015-01-21 北京理工大学 Laser differential confocal map microimaging imaging method and device
CN114047203B (en) * 2022-01-13 2022-04-12 武汉精立电子技术有限公司 Spectrum confocal-based internal coaxial type automatic focusing device, method and system
CN115390369B (en) * 2022-09-20 2024-08-16 清华大学深圳国际研究生院 Accurate focusing overlay error measurement system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106442467A (en) * 2016-10-31 2017-02-22 北京信息科技大学 Spatial autofocusing laser confocal imaging Raman-spectrum detecting method and device

Also Published As

Publication number Publication date
CN115993695A (en) 2023-04-21

Similar Documents

Publication Publication Date Title
JP6857524B2 (en) Automatic focusing system for variable focal length lens systems that change rapidly and periodically
EP3145171B1 (en) Chromatic aberration correction in imaging system including variable focal length lens
JP5584140B2 (en) Non-contact surface shape measuring method and apparatus
CN104316506B (en) Raman probe and Raman signal detection system and method capable of focusing automatically
US8069008B2 (en) Depth measurement apparatus and depth measurement method
KR101891182B1 (en) Apparatus for controlling auto focus
CN104181685A (en) Automatic digital slide focusing device and method based on microscope
CN107765426A (en) Self-focusing laser scanning projection device based on symmetrical defocus double detector
CN102043352B (en) Focusing and leveling detection device
CN104316507A (en) Raman signal detection system and method
CN113899738B (en) Single-layer and multi-layer micro-nano structure graph sample tracking device and method
CN115993695B (en) In-situ automatic focusing device and method based on spectral confocal
CN112904526A (en) High-precision automatic focusing method and device with anti-noise capability based on differential confocal detection
CN201576122U (en) Ultra-precise autofocus system based on multi-platform
JP2002219591A (en) Laser beam irradiation device
CN113195148B (en) Method for detecting the working area of a production plant and production plant for producing a production component from a powder material
JP2012194085A (en) Edge detection apparatus
CN108195292A (en) A kind of displacement measurement method
JP4974060B2 (en) Drug discovery screening method
TWI574072B (en) Automatic focusing system and focusing method thereof
JPH1123952A (en) Automatic focusing device and laser beam machining device using the same
CN115390369B (en) Accurate focusing overlay error measurement system and method
CN118443670A (en) Optical detection equipment, optical detection automatic focusing system and method
JP2002296018A (en) Three-dimensional shape measuring instrument
CN117491285A (en) Image definition focusing-based method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant