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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000006073 displacement reaction Methods 0.000 claims abstract description 78
- 238000007667 floating Methods 0.000 claims abstract description 12
- 230000011218 segmentation Effects 0.000 claims abstract description 8
- 238000005070 sampling Methods 0.000 claims description 27
- 238000005259 measurement Methods 0.000 claims description 22
- 238000010606 normalization Methods 0.000 claims description 4
- 241001269238 Data Species 0.000 claims 2
- 238000006243 chemical reaction Methods 0.000 abstract description 11
- 239000004973 liquid crystal related substance Substances 0.000 abstract description 4
- 230000007547 defect Effects 0.000 abstract description 2
- 230000002441 reversible effect Effects 0.000 description 16
- NCGICGYLBXGBGN-UHFFFAOYSA-N 3-morpholin-4-yl-1-oxa-3-azonia-2-azanidacyclopent-3-en-5-imine;hydrochloride Chemical compound Cl.[N-]1OC(=N)C=[N+]1N1CCOCC1 NCGICGYLBXGBGN-UHFFFAOYSA-N 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 238000012937 correction Methods 0.000 description 3
- 238000003754 machining Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Abstract
Description
技术领域: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
(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
(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
表1 整周期信号的分段
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
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
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;终止点幅值对应的位移值为LStp。5.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
①.终止点在1区段时①. When the end point is in
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
正向位移时: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
正向位移时: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
正向位移时: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
正向位移时: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
正向位移时: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
正向位移时: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
正向位移时: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
表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
当两路具有一定位相差的莫尔(干涉)条纹光电信号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
另外,根据要求的细分倍数和选用的模数转换芯片(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)
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)
| 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 |
-
2003
- 2003-12-18 CN CN 200310110671 patent/CN1272600C/en not_active Expired - Fee Related
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 |