[go: up one dir, main page]

CN1272600C - Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals - Google Patents

Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals Download PDF

Info

Publication number
CN1272600C
CN1272600C CN 200310110671 CN200310110671A CN1272600C CN 1272600 C CN1272600 C CN 1272600C CN 200310110671 CN200310110671 CN 200310110671 CN 200310110671 A CN200310110671 A CN 200310110671A CN 1272600 C CN1272600 C CN 1272600C
Authority
CN
China
Prior art keywords
section
displacement
point
signals
stp
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.)
Expired - Fee Related
Application number
CN 200310110671
Other languages
Chinese (zh)
Other versions
CN1553140A (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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN 200310110671 priority Critical patent/CN1272600C/en
Publication of CN1553140A publication Critical patent/CN1553140A/en
Application granted granted Critical
Publication of CN1272600C publication Critical patent/CN1272600C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The present invention relates to a counting subdivision method for cross point tracking type moire (interference) fringe signals which are not sensitive to phase difference. The present invention is characterized in that 1) segmentation is carried out for a signal period in a floating mode according to the polarity and the cross points of two paths of signals; 2) the peak value and the zero level value of the two paths of signals are tracked; 3) the cross points of the two paths of signals are tracked in a floating mode; 4) counting is carried out; 5) subdivision is carried out; 6) a large number is corrected; 7) the direction of the displacement of a moire fringe is changed. A device comprises an operational amplifier, an analog-digital conversion chip, a digital signal processor, a single-chip microcomputer, a decoder and a liquid crystal display, wherein the operational amplifier is connected with the digital signal processor by the analog-digital conversion chip; the digital signal processor is simultaneously connected with the single-chip microcomputer and the decoder; the single-chip microcomputer is connected with the liquid crystal display. The defects of the DC level shift of signals, the unequal amplitude values of the two paths of signals, the influence of the counting and the subdivision caused by the nonlinearity of the signals and no orthogonality of the signals can be simultaneously overcome by the present invention; besides, the counting errors can be eliminated. Without the orthogonality of the signals, accurate counting subdivision and accurate direction recognition can be realized.

Description

对相位差不敏感的交点跟踪式莫尔干涉条纹信号计数细分方法及装置Intersection tracking moiré interference fringe signal counting and subdivision method and device insensitive to phase difference

技术领域:Technical field:

本发明涉及一种精密测量技术,具体涉及一种对偏离正交状态的光学莫尔(干涉)条纹光电信号进行正确辨向和计数细分以进行精密测量的方法及由该方法所设计的装置。The present invention relates to a precision measurement technology, in particular to a method for correct direction identification, counting and subdivision of optical moiré (interference) fringe photoelectric signals deviated from an orthogonal state, and a device designed by the method .

背景技术:Background technique:

超精密加工技术是适应现代尖端技术的需要而发展起来的一种新技术,是航空、航天、电子、原子能、机械、仪表等技术极为重要的基础,在现代武器的制造中具有非常重要的作用。而利用莫尔(干涉)条纹实现精密位移测量的条纹测量技术是超精密加工中用途最广泛、使用最成熟的一种技术。莫尔(干涉)条纹是指明暗相间的光学条纹。自1953年英国Ferranti公司的爱丁堡实验室建立了第一个利用莫尔条纹(MoiréFringe)测量位移的工作样机后,陆续出现了许多种利用莫尔(干涉)条纹来精密测量位移的光学系统,其原理是:当被测目标产生一定位移的同时,光学系统会产生成比例的一串莫尔(干涉)条纹,测量数显电路对整周期信号进行计数,对尚不能构成一个整周期的信号进行细分,然后由计数值与细分值共同得到精确的位移量。例如,当一个信号周期表示1μm时,若信号计数值为500,细分片段值为0.32个信号周期,那么总的位移量为500.32μm。然而,在现有技术中,莫尔(干涉)条纹的计数与高倍数细分都是以两路正交信号为基础的,当两路信号偏离正交态时,不仅会引起细分误差,降低细分倍数,而且对小于一个信号周期的位移还会出现不能正确辨向的情况。此外,现有的常规计数法在莫尔条纹单方向移动时,可以正确计数,而当莫尔条纹的移动情况比较复杂时,就会发生丢数或多计数现象。Ultra-precision machining technology is a new technology developed to meet the needs of modern cutting-edge technology. It is an extremely important foundation for technologies such as aviation, aerospace, electronics, atomic energy, machinery, and instrumentation. It plays a very important role in the manufacture of modern weapons. . The fringe measurement technology using Moiré (interference) fringes to realize precise displacement measurement is the most widely used and mature technology in ultra-precision machining. Moiré (interference) fringes are optical fringes that indicate alternate dark and white. Since the Edinburgh laboratory of the British Ferranti Company established the first working prototype using Moiré Fringe (Moiré Fringe) to measure displacement in 1953, many optical systems that use Moiré (interference) fringes to precisely measure displacement have emerged. The principle is: when the measured target produces a certain displacement, the optical system will generate a series of moiré (interference) fringes in proportion, and the measuring digital display circuit will count the whole cycle signal, and count the signal that cannot constitute a whole cycle. Subdivision, and then the precise displacement is obtained from the count value and the subdivision value. For example, when a signal period represents 1 μm, if the signal count value is 500 and the subdivision segment value is 0.32 signal period, then the total displacement is 500.32 μm. However, in the prior art, the counting of Moiré (interference) fringes and the high-multiple subdivision are based on two orthogonal signals. When the two signals deviate from the orthogonal state, not only will it cause subdivision errors, Reduce the subdivision multiple, and the situation that the displacement of less than one signal period can not be correctly identified. In addition, the existing conventional counting method can count correctly when the moiré fringes move in one direction, but when the movement of the moiré fringes is more complicated, the phenomenon of missing or over counting will occur.

发明内容:Invention content:

本发明所要解决的技术问题是克服上述现有技术的缺陷,提供了一种对相位差不敏感的交点跟踪式莫尔(干涉)条纹信号计数细分方法。The technical problem to be solved by the present invention is to overcome the defects of the above-mentioned prior art and provide an intersection tracking type Moire (interference) fringe signal counting and subdivision method which is insensitive to phase difference.

本发明的技术问题是通过下面的技术方案解决的。其特征在于其方法包括下述步骤:The technical problem of the present invention is solved by the following technical solutions. It is characterized in that its method comprises the following steps:

(1)按两路信号的极性和交点对信号周期进行浮动式分段:(1) Carry out floating segmentation of the signal period according to the polarity and intersection point of the two signals:

根据两路信号的幅值相对大小和极性,将一个信号周期分成8段,然后在数字信号处理器内设置两个单元作为交点寄存器,并赋初值0;测量过程中,实时判断两路信号采样数据的极性和幅值,计算当前采样点所处的区段,并与缓存下来的前一个采样点所处的区段进行比较,每次当采样点由区段1进入区段2或由区段5进入区段6时,将两路信号中幅值较大的一个存入一个交点寄存器中,并将该值称为交点I;当采样点由区段3进入区段4或由区段7进入区段8时,将两路信号中幅值较大的一个存入另一个交点寄存器中,并将该值称为交点II;当两路信号的位相差发生变化时,交点I和交点II的幅值也相应地发生变化,从而实现对一个信号周期的浮动式分段;According to the relative amplitude and polarity of the two-way signals, a signal cycle is divided into 8 segments, and then two units are set in the digital signal processor as intersection registers, and the initial value is 0; during the measurement process, real-time judgment of the two-way The polarity and amplitude of the signal sampling data, calculate the section where the current sampling point is located, and compare it with the section where the previous sampling point is cached, each time when the sampling point enters section 2 from section 1 Or when entering section 6 from section 5, store the larger amplitude value of the two signals in an intersection register, and call this value intersection point I; when the sampling point enters section 4 or When entering section 8 from section 7, the one with the larger amplitude of the two signals is stored in another intersection register, and this value is called intersection point II; when the phase difference of the two signals changes, the intersection point The amplitudes of I and intersection point II also change accordingly, so as to realize the floating segmentation of a signal cycle;

(2)在数字信号处理器内设置一个单元作为可逆计数器,并赋初值0,然后将当前采样点所处的区段与缓存下来的前一个采样点所处的区段进行比较,采样点由区段1进入区段2或由区段5进入区段6时做一次加计数,莫尔(干涉)条纹正向移动;采样点由区段4进入区段3或由区段8进入区段7时做一次减计数,莫尔(干涉)条纹反向移动,信号每变化一个周期,数字信号处理器进行两次计数;(2) Set a unit in the digital signal processor as a reversible counter, and assign an initial value of 0, and then compare the section where the current sampling point is located with the section where the previous sampling point is cached, and the sampling point Count up once when entering section 2 from section 1 or entering section 6 from section 5, and the moiré (interference) fringes move forward; the sampling point enters section 3 from section 4 or enters section 8 from section 8 At segment 7, a countdown is performed, and the moiré (interference) fringes move in reverse, and the digital signal processor counts twice for each cycle of signal change;

(3)开始测量时,采集两通道数据,分别对其进行归一化,根据其极性和大小判断出测量起始点所在的区段,将当前采样数据中较小的一个存入起始点寄存器中;测量过程中,采集两通道数据,分别对其进行归一化,判断其所处的区段,并将其数据中较小的一个缓存进终止点寄存器中;同时,跟踪两路信号的峰值和谷值,跟踪两路信号的交点并缓存到相应寄存器中;将获取的测量起始点、终止点和交点I、交点II分别映射到预先储存在单片机内存中的位移数据表,得到其幅值对应的位移量,再根据起始点和终止点所在的区段,结合交点I和交点II,计算出不足一个信号周期的位移值L;若可逆计数器中的修正值为N,一个信号周期代表的位移当量为d,则当前总的测量位移值L的计算公式为:L=N·d/2+L。(3) When starting the measurement, collect two-channel data, normalize them respectively, judge the section where the measurement starting point is located according to its polarity and size, and store the smaller one of the current sampling data into the starting point register During the measurement process, collect two-channel data, normalize them respectively, judge the section they are in, and cache the smaller one of the data into the termination point register; at the same time, track the two-channel signal Peak value and valley value, track the intersection point of the two signals and cache it in the corresponding register; map the obtained measurement start point, end point, intersection point I and intersection point II to the displacement data table pre-stored in the memory of the single-chip microcomputer respectively, and obtain its amplitude The displacement corresponding to the value, and then according to the section where the start point and the end point are located, combined with the intersection point I and intersection point II, calculate the displacement value L that is less than one signal cycle; if the correction value in the reversible counter is N, one signal cycle represents If the displacement equivalent is d, the current total measured displacement value Ltotal is calculated as follows: Ltotal =N·d/2+L.

本发明具有以下技术效果:The present invention has the following technical effects:

1、通过对两路输入信号的交点进行浮动跟踪,可克服传统细分方法中由于两路信号位相差变化造成的区段判别错误;1. Through the floating tracking of the intersection of the two input signals, it can overcome the segment discrimination error caused by the phase difference change of the two signals in the traditional subdivision method;

2、无需信号正交,只要两路莫尔(干涉)条纹光电信号不完全同相或反相,就可实现准确的计数细分和正确辨向(包括对小于一个信号周期位移的正确辨向),突破了传统计数细分方法两路信号必须正交的限制,具有更强的环境适应性和抗干扰能力;2. There is no need for signal quadrature, as long as the two moiré (interference) fringe photoelectric signals are not completely in phase or out of phase, accurate counting subdivision and correct direction discrimination (including correct direction discrimination for less than one signal period displacement) can be realized , breaking through the limitation that the two signals of the traditional counting subdivision method must be orthogonal, and has stronger environmental adaptability and anti-interference ability;

3、可同时消除信号直流电平漂移、两路信号幅值不等、信号非线性和信号不正交对细分的影响,可实现更高的细分准确度。3. It can simultaneously eliminate the influence of signal DC level drift, unequal amplitude of two signals, signal non-linearity and non-orthogonal signal on subdivision, and achieve higher subdivision accuracy.

4、计数动态范围可达0Hz-500KHz,并可处理轴向震动位移信号,抗干扰性强;4. The counting dynamic range can reach 0Hz-500KHz, and can process axial vibration displacement signals, with strong anti-interference;

5、可靠性高,细分倍数高。5. High reliability and high subdivision multiple.

附图说明:Description of drawings:

图1为本发明两路非正交信号绝对值波形和分段图;Fig. 1 is two-way non-orthogonal signal absolute value waveform and segmental figure of the present invention;

图2为本发明装置结构框图。Fig. 2 is a structural block diagram of the device of the present invention.

具体实施方式:Detailed ways:

本发明是通过下述步骤实现的,它包括:The present invention is realized through the following steps, and it comprises:

1.按两路信号的极性和交点对信号周期进行浮动式分段:1. According to the polarity and intersection point of the two signals, the signal cycle is divided into floating segments:

如图1所示,为了对输入信号正确辨向和细分,根据表1将一个信号周期分成8段。两路信号正交时,其交点在幅值上是相等的,每个区段所对应的位相相等;当两路信号不正交时,交点I(图1中点A,C或E)和交点II(图1中点B或D)的位置发生变化,每个区段也相应地拉伸或压缩。但区段1,2,3,4长度之和与区段5,6,7,8长度之和始终相等,都对应半个信号周期,且不随两路信号位相差的变化而变化。As shown in Figure 1, in order to correctly identify and subdivide the input signal, a signal cycle is divided into 8 segments according to Table 1. When the two signals are orthogonal, the intersection points are equal in amplitude, and the phases corresponding to each segment are equal; when the two signals are not orthogonal, the intersection point I (point A, C or E in Figure 1) and The position of intersection II (point B or D in Figure 1) changes and each segment stretches or compresses accordingly. However, the sum of the lengths of segments 1, 2, 3, and 4 is always equal to the sum of the lengths of segments 5, 6, 7, and 8, which correspond to half a signal cycle and do not change with the phase difference of the two signals.

                      表1  整周期信号的分段   Sin1极性 Sin2极性 |Sin1|-|Sin2| 细分选用的信号   1   +   +   <0   |Sin1|   2   +   +   >0   |Sin2|   3   +   -   >0   |Sin2|   4   +   -   <0   |Sin1|   5   -   -   <0   |Sin1|   6   -   -   >0   |Sin2|   7   -   +   >0   |Sin2|   8   -   +   <0   |Sin1| Table 1 Segmentation of full-period signals Sin1 Polarity Sin2 Polarity |Sin1|-|Sin2| Selected signals for segmentation 1 + + <0 |Sin1| 2 + + >0 |Sin2| 3 + - >0 |Sin2| 4 + - <0 |Sin1| 5 - - <0 |Sin1| 6 - - >0 |Sin2| 7 - + >0 |Sin2| 8 - + <0 |Sin1|

2.两路信号峰值和零电平值的跟踪:2. Tracking of the peak value and zero level value of the two signals:

在测量开始前,设定一段自检程序,让莫尔条纹有大于一个周期的位移。同时高速采集两路输入信号,分别判断并缓存下其峰值和谷值。计算出当前两路输入信号的零电平值和最大值,用于测量开始时第一个周期内采样数据的归一化。测量过程中,根据大数计数的情况实时判断信号是否移动了一个周期,同时判断并缓存下该周期内两路信号的峰值和谷值,用于下一周期内采样数据的归一化。通过自检方式确定信号的初态,并在测量过程中实时跟踪两路输入信号峰值和谷值,保证了信号零电平值的浮动,克服了信号直流电平漂移对计数和细分的影响。Before the measurement starts, set a self-test program so that the moiré fringes have a displacement greater than one cycle. At the same time, two input signals are collected at high speed, and their peak and valley values are respectively judged and buffered. Calculate the zero-level value and maximum value of the current two input signals, which are used for normalization of the sampled data in the first cycle at the beginning of the measurement. During the measurement process, it is judged in real time whether the signal has moved a cycle according to the counting of large numbers, and at the same time, it judges and caches the peak and valley values of the two signals in the cycle for normalization of the sampled data in the next cycle. The initial state of the signal is determined by self-inspection, and the peak and valley values of the two input signals are tracked in real time during the measurement process, which ensures the floating of the zero-level value of the signal and overcomes the influence of the DC level drift of the signal on counting and subdivision.

3.两路信号交点的浮动跟踪:3. Floating tracking of intersection of two signals:

在数字信号处理器内设置两个单元作为交点寄存器I和II,并赋初值0。测量过程中,实时判断两路采样数据的极性和幅值,计算当前采样点所处的区段,并与缓存下来的前一个采样点所处的区段进行比较。每次当采样点由区段1进入区段2或由区段5进入区段6时,将两路信号中幅值较大的一个存入交点寄存器I;当采样点由区段3进入区段4或由区段7进入区段8时,将两路信号中幅值较大的一个存入交点寄存器II。当两路信号的位相差发生变化时,交点I和交点II的幅值也相应地发生变化。两路输入信号交点的实时浮动式跟踪,克服了位相差变化造成的区段判断错误,保证在信号偏离正交状态时可以进行准确的信号细分和辨向。Set two units in the digital signal processor as intersection registers I and II, and assign an initial value of 0. During the measurement process, the polarity and amplitude of the two-way sampling data are judged in real time, and the section where the current sampling point is located is calculated, and compared with the section where the previous sampling point is cached. Each time when the sampling point enters section 2 from section 1 or enters section 6 from section 5, the larger amplitude value of the two signals is stored in the intersection register I; when the sampling point enters section 2 from section 3 When segment 4 or segment 7 enters segment 8, the larger amplitude of the two signals is stored in the intersection register II. When the phase difference of the two signals changes, the amplitudes of intersection point I and intersection point II also change accordingly. The real-time floating tracking of the intersection of the two input signals overcomes the section judgment error caused by the phase difference change, and ensures accurate signal subdivision and direction identification when the signal deviates from the orthogonal state.

4.计数:4. Count:

在数字信号处理器内设置一个单元作为可逆计数器,并赋初值0,然后将当前采样点所处的区段与缓存下来的前一个采样点所处的区段进行比较。当采样点由区段1进入区段2或由区段5进入区段6时做一次加计数,莫尔条纹正向移动;当采样点由区段4进入区段3或由区段8进入区段7时做一次减计数,莫尔条纹反向移动。这样,信号每变化一个周期,进行两次计数。判断信号是否由区段1进入区段2两次或由区段4进入区段3两次,若是,则由缓存的信号峰值和谷值计算并更新零电平值。这样,在计数的同时,实现信号零电平值和两路信号交点的浮动式跟踪,消除了信号直流电平漂移造成的计数误差,也避免了信号偏离正交态时造成区段判别的错误,并可克服信号过零点附近高频扰动对计数带来的影响,保证准确的大数计数。Set a unit in the digital signal processor as a reversible counter, and assign an initial value of 0, and then compare the section where the current sampling point is with the section where the previous sampling point is cached. When the sampling point enters section 2 from section 1 or enters section 6 from section 5, count up once, and the moiré fringes move forward; when the sampling point enters section 3 from section 4 or enters section 8 In section 7, count down once, and the Moiré fringes move in reverse. In this way, every time the signal changes a cycle, two counts are performed. Determine whether the signal enters segment 2 twice from segment 1 or enters segment 3 twice from segment 4, and if so, calculate and update the zero level value from the buffered signal peak and valley values. In this way, while counting, the zero-level value of the signal and the floating tracking of the intersection point of the two signals are realized, which eliminates the counting error caused by the DC level drift of the signal, and also avoids the error of section discrimination when the signal deviates from the orthogonal state. And it can overcome the influence of high-frequency disturbance near the zero crossing point of the signal on the counting, so as to ensure accurate counting of large numbers.

5.细分:5. Segmentation:

5.1开始测量时,采集两通道数据,分别对其进行归一化,根据其极性和大小判断出测量起始点所在的区段;将归一化后采样数据中较小的一个存入起始点寄存器中;5.1 When starting the measurement, collect two-channel data, normalize them respectively, and judge the section where the measurement starting point is located according to its polarity and size; store the smaller one of the normalized sampling data into the starting point in the register;

5.2测量过程中,采集两通道数据,分别对其进行归一化,判断其所处的区段,并将归一化后数据中较小的一个缓存进终止点寄存器中。同时跟踪两路信号的峰值和谷值,跟踪两路信号的交点并缓存到寄存器中;5.2 During the measurement process, collect two-channel data, normalize them respectively, judge the section they are in, and cache the smaller one of the normalized data into the termination point register. Simultaneously track the peak and valley values of the two signals, track the intersection of the two signals and cache them in the register;

5.3将获取的测量起始点、终止点和交点I、交点II分别查表(即事先根据细分倍数,在微处理器内设置适当的单元,将一个信号周期按照幅值与位移量的对应关系计算得出的数据按顺序存储形成的表格),得到其幅值所对应的位移值,其中交点I幅值对应的位移值LFirst;交点II幅值对应的位移值LSecond;起始点幅值对应的位移值为LOri;终止点幅值对应的位移值为LStp5.3 Look up the obtained measurement start point, end point, intersection point I and intersection point II respectively (that is, according to the subdivision multiple, set an appropriate unit in the microprocessor in advance, and set a signal cycle according to the corresponding relationship between the amplitude and the displacement The calculated data are stored in order to form a table), and the displacement value corresponding to the amplitude is obtained, wherein the displacement value L First corresponding to the amplitude of the intersection point I; the displacement value L Second corresponding to the amplitude value of the intersection point II; the amplitude value of the starting point The corresponding displacement value is L Ori ; the displacement value corresponding to the termination point amplitude is L Stp .

假设一个信号周期代表的位移当量为d,当起始点在1区段,终止点在其它区段时,不足一个信号周期的位移L如下进行计算:Assuming that the displacement equivalent represented by one signal period is d, when the starting point is in section 1 and the ending point is in other sections, the displacement L of less than one signal period is calculated as follows:

①.终止点在1区段时①. When the end point is in section 1

LStp>LOri时正向位移:L=LStp-LOri Positive displacement when L Stp > L Ori : L = L Stp - L Ori

LOri>LStp时反向位移:L=LOri-LStp Reverse displacement when L Ori > L Stp : L = L Ori - L Stp

②.终止点在2区段时②. When the end point is in section 2

正向位移时:L=|LFirst-LOri|+|LFirst-LStp|For forward displacement: L=|L First -L Ori |+|L First -L Stp |

反向位移时:L=d-(|LFirst-LOri|+|LFirst-LStp|)For reverse displacement: L=d-(|L First -L Ori |+|L First -L Stp |)

③.终止点在3区段时③. When the end point is in section 3

正向位移时:L=|LFirst-LOri|+LFirst+LStp For positive displacement: L=|L First -L Ori |+L First +L Stp

反向位移时:L=LOri+d/2+LSecond+|LSecondt-LStp|)For reverse displacement: L=L Ori +d/2+L Second +|L Secondt -L Stp |)

④.终止点在4区段时④. When the end point is in section 4

正向位移时:L=|LFirst-LOri|+d/4+|LSecond-LStp|For positive displacement: L=|L First -L Ori |+d/4+|L Second -L Stp |

反向位移时:L=LOri+d/2+LStp For reverse displacement: L=L Ori +d/2+L Stp

⑤.终止点在5区段时⑤. When the end point is in section 5

正向位移时:L=|LFirst-LOri|+d/4+LSecond+LStp For positive displacement: L=|L First -L Ori |+d/4+L Second +L Stp

反向位移时:L=LOri+d/4+LSecond+|LSecond-LStp|For reverse displacement: L=L Ori +d/4+L Second +|L Second -L Stp |

⑥.终止点在6区段时⑥. When the end point is in section 6

正向位移时:L=|LFirst-LOri|+d/2+|LFirst-LStp|For positive displacement: L=|L First -L Ori |+d/2+|L First -L Stp |

反向位移时:L=LOri+2·LSecond+LStp For reverse displacement: L=L Ori +2·L Second +L Stp

⑦.终止点在7区段时⑦. When the end point is in section 7

正向位移时:L=|LFirst-LOri|+d/2+LFirst+LStp For positive displacement: L=|L First -L Ori |+d/2+L First +L Stp

反向位移时:L=LOri+LSecond+|LSecond-LStp|For reverse displacement: L=L Ori +L Second +|L Second -L Stp |

⑧.终止点在8区段时⑧. When the end point is in section 8

正向位移时:L=d-(LOri+LStp)For forward displacement: L=d-(L Ori +L Stp )

反向位移时:L=LOri+LStp For reverse displacement: L=L Ori +L Stp

当起始点在其它区段时,也有类似的计算公式,不一一列出。When the starting point is in other sections, there are similar calculation formulas, which will not be listed one by one.

起始点和终止点取两路归一化数据中较小的一个,使细分可以避开信号线性度较差的区段;在计算不足一个信号周期的位移时采用查表法,可以有效克服信号的非线性带来的细分误差。The starting point and the ending point take the smaller one of the two normalized data, so that subdivision can avoid the section with poor signal linearity; when calculating the displacement of less than one signal period, the look-up table method can be used to effectively overcome the The subdivision error caused by the nonlinearity of the signal.

6.大数计数值的修正6. Correction of large number count value

上述大数计数在某些情况下会出现多计数的情况,例如对于正向移动,若起始点在的1或8段,而终止点在2或3段,就会多计一个数;若起始点在1或8段,而终止点在6或7段,就会多计两个数。因此必须对大数计数值进行相应的修正。对于正向移动,根据起始点和终止点位置的不同有64中情况需要考虑;同理,对于反向移动,也存在64种情况需要考虑。经过仔细分析,我们给出了信号正、反向移动时用于修正计数值的“卡诺图”,如表2和表3所示。The above-mentioned counting of large numbers may be overcounted in some cases. For example, for forward movement, if the starting point is at segment 1 or 8 and the ending point is at segment 2 or 3, an extra number will be counted; if If the starting point is at segment 1 or 8 and the ending point is at segment 6 or 7, two more numbers will be counted. Therefore, a corresponding correction must be made to the count value of the large number. For the forward movement, there are 64 situations to be considered according to the positions of the start point and the end point; similarly, for the reverse movement, there are also 64 situations to be considered. After careful analysis, we have given the "Karnaugh map" used to correct the count value when the signal moves forward and reverse, as shown in Table 2 and Table 3.

             表2  信号正向移动时修正计数值的“卡诺图”Table 2 "Karnaugh map" of the corrected count value when the signal is moving forward

注:表1中“计数值减1”,用“1”表示;“计数值减2”,用“2”表示;对奇数段“起始点幅值>终止点幅值,计数值减2;对偶数段“起始点幅值<终止点幅值,计数值减2;否则不减”,用“-”表示;若“不修正计数值”,用“X”表示。Note: In Table 1, "counting value minus 1" is represented by "1"; "counting value minus 2" is represented by "2"; for odd-numbered segments "start point amplitude > end point amplitude, count value minus 2; For an even-numbered segment, "start point amplitude < end point amplitude, the count value will be reduced by 2; otherwise, it will not be reduced", use "-" to indicate; if "do not correct the count value", use "X" to indicate.

             表3  信号负向移动时修正计数值的“卡诺图”Table 3 "Karnaugh map" of the corrected count value when the signal moves in the negative direction

注:表2中“计数值减1”,用“1”表示;“计数值减2”,用“2”表示;对奇数段“起始点幅值<结束点幅值,计数值减2;对偶数段“起始点幅值>终止点幅值,计数值减2,否则不减”否则不减”,用“-”表示;若“不修正计数值”,用“X”表示。Note: In Table 2, "counting value minus 1" is represented by "1"; "counting value minus 2" is represented by "2"; for odd segment "start point amplitude < end point amplitude, count value minus 2; For the even-numbered segment, "starting point amplitude > ending point amplitude, the count value minus 2, otherwise no reduction" or "otherwise no reduction" is represented by "-"; if "the count value is not corrected", it is represented by "X".

7.莫尔(干涉)条纹位移的辨向7. Distinguishing direction of moiré (interference) fringe displacement

若大数计数值不为0,则由计数值的正负确定位移方向。计数值为正,位移为正向;计数值为负,位移为负向。If the large number count value is not 0, the displacement direction is determined by the positive or negative of the count value. The count value is positive, and the displacement is positive; the count value is negative, and the displacement is negative.

大数计数值为0时,位移方向由测量起始点和终止点所处的区段进行判断,如表4所示。若起始点与终止点处在同一区段,位移方向根据信号的单调性进行判断。When the count value of the large number is 0, the displacement direction is judged by the section where the measurement start point and end point are located, as shown in Table 4. If the starting point and the ending point are in the same section, the displacement direction is judged according to the monotonicity of the signal.

                   表4  大数计数为零时位移方向的判断              Table 4 Judgment of the displacement direction when the count of large numbers is zero

注:表4中“+”,表示正向位移;“-”,表示反向位移Note: "+" in Table 4 means positive displacement; "-" means reverse displacement

根据起始点和终止点所在的区段,结合交点I和交点II,计算出不足一个信号周期的位移值L;若修正后的大数计数结果N,则当前总的测量位移值L的计算公式为According to the section where the starting point and the ending point are located, combined with the intersection point I and the intersection point II, the displacement value L of less than one signal period is calculated; if the corrected large number counting result N is calculated, the current total measured displacement value L is calculated The formula is

                            L=N·d/2+L Ltotal =N·d/2+L

本发明根据上述方法所设计的装置如图2所示,它由运算放大器1、2,模数转换芯片3、4,数字信号处理器5,单片机6,译码器7,液晶显示器8,40M时钟9等构成。其中运算放大器1、2分别与模数转换芯片3、4相连,模数转换芯片3、4为AD9225,它的最高采样速率可达20M/s,它们皆与信号处理器5相接;数字信号处理器5为本发明装置核心部件,其运算速度高达80MHz,它同时与单片机6和译码器7相联;单片机6又与液晶显示器8相接,实时显示测量结果。The device that the present invention designs according to said method is as shown in Figure 2, and it is by operational amplifier 1,2, analog-to-digital conversion chip 3,4, digital signal processor 5, single-chip microcomputer 6, decoder 7, liquid crystal display 8,40M Clock 9 etc. constitute. Wherein the operational amplifiers 1 and 2 are connected with the analog-to-digital conversion chips 3 and 4 respectively, and the analog-to-digital conversion chips 3 and 4 are AD9225, and its highest sampling rate can reach 20M/s, and they are all connected with the signal processor 5; Processor 5 is the core component of the device of the present invention, and its operation speed is up to 80MHz. It is connected with single-chip microcomputer 6 and decoder 7 simultaneously;

当两路具有一定位相差的莫尔(干涉)条纹光电信号Sin1、Sin2通过运算放大器1、2之后,被送入模数转换芯片3、4,在数字信号处理器5的控制下同步模数转换,转换频率为5M/s。数字信号处理器5在接收到串行中断信号后,调用中断处理子程序获取两路信号的采样数据。数字信号处理器5对采样数据进行上述处理和判断,计算出当前采样点所在的区段和幅值,并跟踪两路信号峰值和谷值,跟踪交点I和交点II的幅值。单片机6通过内部直接存储器访问(IDMA)方式获取数字信号处理器5计算后的数据,通过查表的方式得到测量起始点、终止点、交点I和交点II幅值所对应的位移值,进行辨向,计算由测量起始点和当前采样点构成的不足一个信号周期的位移值,并对大数计数值进行修正,最后将总的位移值及位移方向送往液晶显示。由于硬件上采用了高速模数转换芯片3、4和数字信号处理器5,系统的动态范围很宽,可从0Hz-500KHz。该装置的最高数据输出可达40k/s,完全可以满足机械加工中高速测试的需要。After the moiré (interference) fringe photoelectric signals Sin1 and Sin2 with a positioning difference in two paths pass through the operational amplifiers 1 and 2, they are sent to the analog-to-digital conversion chips 3 and 4, and the analog-to-digital signals are synchronized under the control of the digital signal processor 5 Conversion, the conversion frequency is 5M/s. After receiving the serial interrupt signal, the digital signal processor 5 calls the interrupt processing subroutine to obtain the sampling data of the two signals. The digital signal processor 5 performs the above-mentioned processing and judgment on the sampled data, calculates the section and amplitude of the current sampling point, and tracks the peak and valley values of the two signals, and tracks the amplitudes of intersection I and II. The single-chip microcomputer 6 obtains the data calculated by the digital signal processor 5 through the internal direct memory access (IDMA) mode, and obtains the displacement values corresponding to the measurement start point, the end point, the intersection point I and the intersection point II amplitude by the way of looking up the table, and distinguishes direction, calculate the displacement value of less than one signal period formed by the measurement starting point and the current sampling point, and correct the large number count value, and finally send the total displacement value and displacement direction to the liquid crystal display. Due to the adoption of high-speed analog-to-digital conversion chips 3 and 4 and digital signal processor 5 on the hardware, the dynamic range of the system is very wide, which can be from 0Hz to 500KHz. The maximum data output of the device can reach 40k/s, which can fully meet the needs of high-speed testing in machining.

另外,根据要求的细分倍数和选用的模数转换芯片(ADC)位数的不同,该计数细分方法可正确处理的两路信号位相差极限是不同的,如表5所示。若两路信号的位相差超出该极限值,则受信号非线性的影响较严重,不能实现所要求的分辨率。In addition, depending on the required subdivision multiple and the number of digits of the selected analog-to-digital conversion chip (ADC), the phase difference limits of the two signals that can be correctly processed by this counting subdivision method are different, as shown in Table 5. If the phase difference of the two signals exceeds the limit value, it will be seriously affected by the nonlinearity of the signal, and the required resolution cannot be realized.

            表5  细分倍数和ADC位数决定的两路信号的位相差极限        Table 5 The phase difference limit of the two signals determined by the subdivision multiple and the number of bits of the ADC

如果要求较高的细分倍数(如2000倍),同时又要能够处理两路信号大范围偏离正交状态(如两路信号位相差为1°)时的情况,就要选用14bit以上的ADC。但是,对于实际莫尔条纹信号,通过调整光路,一般都可以保证两路信号位相差在90°±60°以内,所以完全可以选用低位数的模数转换芯片而不受信号非线性影响。If a higher subdivision multiple (such as 2000 times) is required, and at the same time, it is necessary to be able to deal with the situation where the two signals deviate from the orthogonal state in a large range (such as the phase difference between the two signals is 1°), it is necessary to use an ADC of 14 bits or more. . However, for actual moire fringe signals, by adjusting the optical path, the phase difference of the two signals can generally be guaranteed to be within 90°±60°, so it is completely possible to use a low-bit analog-to-digital conversion chip without being affected by the nonlinearity of the signal.

经过实际测试,本发明装置在采用10Bit模数转换器和细分倍数为1000的条件下,对两路位相差为20°的信号可以正确地辨向、计数和细分,完全可以满足莫尔条纹测试的需要。After actual testing, under the condition of using 10Bit analog-to-digital converter and subdivision multiple of 1000, the device of the present invention can correctly identify, count and subdivide two signals with a phase difference of 20°, which can fully meet the requirements of Moore. Streak test needs.

本发明通过对两路输入信号的交点进行动态跟踪,根据信号采样点所处的区段进行辨向、计数和细分,可同时消除信号直流电平漂移、两路信号幅值不等、两路信号不正交以及信号的非线性对计数和细分的影响,并可处理轴向震动位移信号,具有更强的环境适应性和抗干扰能力。The present invention dynamically tracks the intersection point of the two input signals, and performs direction identification, counting and subdivision according to the section where the signal sampling point is located, and can simultaneously eliminate the DC level drift of the signal, the unequal amplitude of the two signals, and the The non-orthogonal signal and the nonlinearity of the signal affect the counting and subdivision, and can process the axial vibration displacement signal, which has stronger environmental adaptability and anti-interference ability.

Claims (2)

1, a kind of to the insensitive intersection point tracking mode of phase differential Moire fringe signal-count divided method, it is characterized in that it comprises the steps:
(1) polarity and the intersection point by two paths of signals carries out floating type segmentation to the signal period:
According to the amplitude relative size and the polarity of two paths of signals, a signal period is divided into 8 sections, two unit are set then as the intersection point register in digital signal processor, and initialize 0; In the measuring process, the polarity and the amplitude of real-time judge two paths of signals sampled data, calculate the residing section of current sampling point, and compare with the residing section of previous sampled point that buffer memory gets off, at every turn when sampled point enters section 2 by section 1 or enters section 6 by section 5, one that amplitude in the two paths of signals is bigger deposits in the intersection point register, and this value is called intersection I; When sampled point entered section 4 by section 3 or enters section 8 by section 7, one that amplitude in the two paths of signals is bigger deposited in another intersection point register, and this value is called intersection I I; When the phasic difference of two paths of signals changed, the amplitude of intersection I and intersection I I also correspondingly changed, thereby realized the floating type segmentation to a signal period;
(2) unit is set as up-down counter in digital signal processor, and initialize 0, the residing section of previous sampled point that the residing section of current sampling point and buffer memory are got off compares then, do when sampled point enters section 2 by section 1 or enters section 6 by section 5 and once add counting, the Moire fringe forward moves; Do when sampled point enters section 3 by section 4 or enters section 7 by section 8 and once subtract counting, Moire fringe oppositely moves, the every variation one-period of signal, and digital signal processor carries out counting twice;
When (3) beginning to measure, gather two channel datas, respectively it carried out normalization, judge the section of measuring the starting point place according to its polarity and size, with in the current sampled data less one deposit in the starting point register; In the measuring process, gather two channel datas, respectively it is carried out normalization, judge its residing section, and less in its a data buffer memory is advanced in the terminating point register; Simultaneously, follow the tracks of the peak value and the valley of two paths of signals, the intersection point of tracking two paths of signals also is cached in the corresponding registers; Measurement starting point, terminating point and the intersection I, the intersection I I that obtain are mapped to the displacement data table that is stored in advance in the single-chip microcomputer internal memory respectively, obtain the displacement of its amplitude correspondence, again according to the section at starting point and terminating point place, in conjunction with intersection I and intersection I I, calculate the shift value L of a signal period of less than; If the modified value in the up-down counter is N, the displacement equivalent of a signal period representative is d, then current total Displacement Measurement value L AlwaysComputing formula be: L Always=Nd/2+L.
2, according to claim 1 to the insensitive intersection point tracking mode of phase differential moire frange signal count fine separating method, it is characterized in that: starting point in section 1, terminating point when other section, the following calculating of displacement L of a signal period of less than:
When 1) terminating point is in section 1
L Stp>L OriThe time positive-displacement: L=L Stp-L Ori
L Ori>L StpShi Fanxiang displacement: L=L Ori-L Stp
When 2) terminating point is in section 2
During positive-displacement: L=|L First-L Ori|+| L First-L Stp|
Oppositely during displacement: L=d-(| L First-L Ori|+| L First-L Stp|)
When 3) terminating point is in section 3
During positive-displacement: L=|L First-L Ori|+L First+ L Stp
Oppositely during displacement: L=L Ori+ d/2+L Second+ | L Second-L Stp|)
When 4) terminating point is in section 4
During positive-displacement: L=|L First-L Ori|+d/4+|L Second-L Stp|
Oppositely during displacement: L=L Ori+ d/2+L Stp
When 5) terminating point is in section 5
During positive-displacement: L=|L First-L Ori|+d/4+L Second+ L Stp
Oppositely during displacement: L=L Ori+ d/4+L Second+ | L Second-L Stp|
When 6) terminating point is in section 6
During positive-displacement: L=|L First-L Ori|+d/2+|L First-L Stp|
Oppositely during displacement: L=L Ori+ 2L Second+ L Stp
When 7) terminating point is in section 7
During positive-displacement: L=|L First-L Ori|+d/2+L First+ L Stp
Oppositely during displacement: L=L Ori+ L Second+ | L Second-L Stp|
When 8) terminating point is in section 8
During positive-displacement: L=d-(L Ori+ L Stp)
Oppositely during displacement: L=L Ori+ L Stp
L in the above-mentioned formula FirstBe the shift value of intersection I amplitude correspondence, L SecondBe the shift value of intersection I I amplitude correspondence, L OriBe the shift value of starting point amplitude correspondence, L StpShift value for terminating point amplitude correspondence; Starting point is when other section, and computing formula is identical.
CN 200310110671 2003-12-18 2003-12-18 Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals Expired - Fee Related CN1272600C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310110671 CN1272600C (en) 2003-12-18 2003-12-18 Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310110671 CN1272600C (en) 2003-12-18 2003-12-18 Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals

Publications (2)

Publication Number Publication Date
CN1553140A CN1553140A (en) 2004-12-08
CN1272600C true CN1272600C (en) 2006-08-30

Family

ID=34335705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310110671 Expired - Fee Related CN1272600C (en) 2003-12-18 2003-12-18 Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals

Country Status (1)

Country Link
CN (1) CN1272600C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7478011B2 (en) * 2006-12-19 2009-01-13 International Business Machines Corporation Method and system for measuring signal characteristics of data signals transmitted between integrated circuit chips
CN103115573B (en) * 2013-01-30 2015-08-12 清华大学 Displacement measurement method
CN107084662A (en) * 2017-04-12 2017-08-22 合肥工业大学 Real-time Processing Method of Orthogonal Signal Based on FPGA
CN110500960B (en) * 2019-07-02 2021-02-12 广东工业大学 Grating signal compensation method and compensation system
CN114858062B (en) * 2022-06-13 2022-09-16 探维科技(北京)有限公司 Detection signal processing method, device, medium, equipment and grating ruler
CN118857116B (en) * 2024-09-24 2025-02-07 杭州隆硕科技有限公司 A method, device, equipment and medium for displacement measurement based on photoelectric reflection

Also Published As

Publication number Publication date
CN1553140A (en) 2004-12-08

Similar Documents

Publication Publication Date Title
CN108155910B (en) High-speed sine and cosine encoder decoding method based on FPGA
CN101723213B (en) SinCos coder based method for detecting position and speed
WO2021017075A1 (en) Position determination method, apparatus and device for hybrid encoder, and readable storage medium
CN110081837A (en) A method of by detecting shafting shaking and eccentric error using angle measurement Circular gratings and reading head
CN102270961A (en) Signal subdividing method and subdividing device for sine-cosine encoder, and motor control device
CN1272600C (en) Phase differential nonsensitive counting method and device for node tracking mohr interference fringe signals
CN101038295A (en) Equal observations method and measuring device of rotary table rate
CN101782405A (en) Hardware real-time verification method and system based on pseudo-random coding displacement sensor
CN1712902A (en) Optical encoder
CN106645780B (en) DSP-based rotating speed detection method and system
CN1330932C (en) Full digital addition processing circuit for incremental photoelectric shaft-position encoder
CN101210821A (en) Coarse-fine coupling method in dual-channel shaft angle conversion and measurement
CN106802597A (en) A kind of incremental optical electric axial angle encoder data processing equipment and processing method
CN1975343A (en) Digital capacitance corner sensor calibrating system and calibrating method
CN1609558A (en) Sensor signal processor
CN111368584A (en) Self-correcting high-resolution position information splicing method for sine and cosine encoder
CN110133316A (en) A photoelectric encoder precision speed measurement system and method
CN101076053A (en) Method and circuit for multi-channel photoelectric isolated voltage
CN110212818B (en) Angle detection method for permanent magnet motor
CN201408075Y (en) Cam-type torsional vibration sensor and torsional vibration measuring instrument
CN109163751B (en) A kind of control device and method of encoder and encoder
CN1912549A (en) Method and circuit for interpolating encoder output
CN112985449A (en) Vehicle-mounted ground penetrating radar mileage trigger device
CN109916361B (en) A Roundness Measurement Signal Processing Method Without Angular Position Information
CN113532474B (en) Method for resolving sine motion amplitude and frequency of low-frequency angular acceleration table

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060830

Termination date: 20111218