[go: up one dir, main page]

CN105823442A - Method for angle measurement through coded disc signal subdivision and photoelectric collimator - Google Patents

Method for angle measurement through coded disc signal subdivision and photoelectric collimator Download PDF

Info

Publication number
CN105823442A
CN105823442A CN201610230442.4A CN201610230442A CN105823442A CN 105823442 A CN105823442 A CN 105823442A CN 201610230442 A CN201610230442 A CN 201610230442A CN 105823442 A CN105823442 A CN 105823442A
Authority
CN
China
Prior art keywords
grating
analog signal
code disc
moiré fringe
angle
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.)
Pending
Application number
CN201610230442.4A
Other languages
Chinese (zh)
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.)
Beijing Institute of Technology BIT
China Academy of Launch Vehicle Technology CALT
Original Assignee
Beijing Institute of Technology BIT
China Academy of Launch Vehicle Technology CALT
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 Beijing Institute of Technology BIT, China Academy of Launch Vehicle Technology CALT filed Critical Beijing Institute of Technology BIT
Priority to CN201610230442.4A priority Critical patent/CN105823442A/en
Publication of CN105823442A publication Critical patent/CN105823442A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • G01B11/27Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes
    • G01B11/272Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes using photoelectric detection means
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B23/00Telescopes, e.g. binoculars; Periscopes; Instruments for viewing the inside of hollow bodies; Viewfinders; Optical aiming or sighting devices

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Optics & Photonics (AREA)
  • Optical Transform (AREA)

Abstract

为满足日益增长的客户需求,针对现有光栅码盘的技术情况,本发明提供了一种通过码盘信号细分进行测角的光电瞄准方法。本发明对光电瞄准仪光栅码盘信号进行细分处理,通过仿真拟合细分角度,从而获得测角角度值。在消除直流分量影响的同时,提升仪器分辨率和精度。

In order to meet the ever-increasing needs of customers, and aiming at the technical situation of the existing grating code disc, the present invention provides a photoelectric aiming method for angle measurement by subdividing the code disc signal. The invention performs subdivision processing on the grating code disc signal of the photoelectric collimator, and obtains the angle measurement angle value by simulating and fitting the subdivision angle. While eliminating the influence of the DC component, the resolution and accuracy of the instrument are improved.

Description

一种通过码盘信号细分进行测角的方法及光电瞄准仪Method for measuring angle by subdivision of code disc signal and photoelectric collimator

技术领域technical field

本发明涉及定瞄测绘技术领域,更具体地,涉及一种通过码盘信号细分进行测角的方法及光电瞄准仪。The present invention relates to the technical field of fixed aiming surveying and mapping, and more specifically relates to a method for measuring angles by subdividing code disc signals and a photoelectric collimator.

背景技术Background technique

光电瞄准仪是具备调平、对心、望远镜照准、光电准直信号输出、方位角测量及角度显示与通讯功能于一体的光、机、电设备,在航天、航空等多个领域被广泛使用。例如,作为光电瞄准仪在火控系统中的应用,在现代飞机航空电子系统中,只有当火控雷达和光电雷达协同工作才能充分发挥设备的能力,使航电系统整体效能最佳。通常,拥有火控雷达和光电雷达的火控系统有主通道和辅助通道两个工作状态,主辅通道按照主辅通道控制逻辑由系统自动确定或由飞行员手动选择。在搜索状态,火控雷达和光电雷达按照各自定义的工作方式搜索目标。手动截获目标时,只通过主通道截获感兴趣的目标。跟踪目标后,主通道为辅助通道提供目标指示,辅助通道随动主通道截获同一目标。光电瞄准仪通过采集由光栅莫尔条纹光信号转换的模拟信号(正弦波信号),再通过硬件和软件处理从而实现角度测量。The photoelectric collimator is an optical, mechanical and electrical device that integrates the functions of leveling, centering, telescope alignment, photoelectric collimation signal output, azimuth measurement, angle display and communication. It is widely used in aerospace, aviation and other fields. use. For example, as the application of photoelectric collimator in the fire control system, in the modern aircraft avionics system, only when the fire control radar and the photoelectric radar work together can the equipment's capabilities be fully utilized and the overall performance of the avionics system be optimal. Usually, a fire control system with fire control radar and photoelectric radar has two working states of main channel and auxiliary channel. The main and auxiliary channels are automatically determined by the system or manually selected by the pilot according to the control logic of the main and auxiliary channels. In the search state, the fire control radar and the photoelectric radar search for targets according to their respective working methods. When manually acquiring targets, only targets of interest are acquired through the main channel. After tracking the target, the main channel provides target indication for the auxiliary channel, and the auxiliary channel follows the main channel to intercept the same target. The photoelectric collimator realizes angle measurement by collecting the analog signal (sine wave signal) converted from the grating Moiré fringe light signal, and then processing it through hardware and software.

在不采用细分的情况下,光电瞄准仪的分辨率和光栅码盘的栅格数成正比,由于受光栅刻划工艺水平和制作成本的制约,常用码盘的栅格数一般都在两万条以下。因此为了提高测量的分辨率和精度,降低仪器设备的成本,精密测角系统一般需采取细分的方法。In the case of no subdivision, the resolution of the photoelectric collimator is directly proportional to the grid number of the grating code wheel. Due to the restriction of the grating marking process level and the production cost, the grid number of the commonly used code wheel is generally within two Less than 10,000 items. Therefore, in order to improve the resolution and accuracy of measurement and reduce the cost of instruments and equipment, the precision angle measurement system generally needs to adopt a subdivision method.

发明内容Contents of the invention

为满足日益增长的客户需求,针对现有光栅码盘的技术情况,本发明提供了一种通过码盘信号细分进行测角的光电瞄准方法,包括:In order to meet the ever-increasing needs of customers, and aiming at the technical situation of the existing grating code disc, the present invention provides a photoelectric aiming method for angle measurement by subdividing the code disc signal, including:

(1)采集光栅码盘莫尔条纹模拟信号;(1) Acquisition of the Moiré fringe analog signal of the grating code disc;

(2)对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;(2) Preprocess the moiré fringe analog signal collected from the grating disc, and establish the relationship between the grating disc score line and the angle;

(3)对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;(3) Correcting the pre-processed moiré fringe analog signal of the grating code disc;

(4)对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;(4) Carry out waveform conversion to the preprocessed grating code disc Moiré fringe analog signal to obtain a large number of measured angles;

(5)对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;(5) Subdividing and correcting the preprocessed moiré fringe analog signal of the grating code disc to obtain the fraction of the measured angle;

(6)根据如下公式计算所测角度θ:(6) Calculate the measured angle θ according to the following formula:

θ=80"×N+θabθ=80"×N+θ ab ;

式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point.

进一步地,所述步骤(1)包括:采用10位AD转换器对模拟量信号进行采集。Further, the step (1) includes: using a 10-bit AD converter to collect the analog signal.

进一步地,所述步骤(2)包括:Further, the step (2) includes:

(21)从采集到的光栅码盘莫尔条纹模拟信号中获得两个正弦信号Asinθ和Acosθ;(21) Obtain two sinusoidal signals Asinθ and Acosθ from the collected grating code disc Moiré fringe analog signal;

(22)在光栅盘全圆周上设置16200条刻线,则光栅盘刻线每移动1个间距,所述两个正弦信号就变化1个周期,即代表角度移动了80″。(22) If 16,200 reticle lines are set on the entire circumference of the grating disc, the two sinusoidal signals will change by one cycle every time the reticle lines on the grating disc move by one pitch, which means that the angle has moved by 80″.

进一步地,所述步骤(3)包括:Further, the step (3) includes:

(31)对直流分量UD通过在光栅码盘进行结构安装时以如下方式进行修正和控制:(31) The DC component UD is corrected and controlled in the following way when the grating code disc is installed structurally:

a)码盘轴系主轴的安装端面端跳值;a) The jump value of the installation end face of the main shaft of the code disc shaft system;

b)指示光栅玻璃面与安装环面整周的高度差一致性b) Indicates the consistency of the height difference between the grating glass surface and the entire circumference of the installation ring surface

c)胶合后主光栅端跳值;c) Jump value of main grating end after gluing;

d)主光栅与指示光栅间隙值;d) The gap between the main grating and the indicating grating;

(32)计算直流分量UD的均值:(32) Calculate the mean value of the DC component U D :

其中UD1、UD2为多点测量获得的光栅码盘莫尔条纹模拟信号的直流分量; Among them, U D1 and U D2 are the DC components of the moiré fringe analog signal of the grating code disc obtained by multi-point measurement;

(33)对US进行修正:(33) Amendment to U S :

US=AsinΦ+UD-D。U S = Asin Φ + U D -D.

进一步地,所述步骤(4)包括:Further, the step (4) includes:

(41)对所述两个正弦信号经波形变换,形成与这两个正弦信号一致的周期性脉冲信号;(41) Transforming the waveforms of the two sinusoidal signals to form a periodic pulse signal consistent with the two sinusoidal signals;

(42)对所述脉冲信号进行计数,从而获得所测角度的大数:80″×N。(42) Count the pulse signals to obtain the largest number of measured angles: 80″×N.

进一步地,所述步骤(5)包括:Further, the step (5) includes:

(51)将莫尔条纹模拟信号的一个周期2π等分成S份,S为细分总数;(51) A period 2π of the moiré fringe analog signal is equally divided into S parts, and S is the total number of subdivisions;

(52)将Asinθ和Acosθ转换成数字量US和UC;(52) convert Asinθ and Acosθ into digital quantities US and UC;

(53)根据数字量US和UC求得tgθ或ctgθ:(53) Obtain tgθ or ctgθ according to the digital quantities US and UC:

tt gg θθ == || Uu SS Uu CC ||

cc tt gg θθ == || Uu CC Uu SS || ;;

(54)依据tgθ或ctgθ判断θb在哪个区间,进而得出θb(54) judge which interval θ b is in according to tgθ or ctgθ, and then obtain θ b ;

(55)计算终点处不足整周期的小数θa,即(55) Calculate the fraction θ a less than the full period at the end point, that is

θa=X×Kθ a =X×K

其中K=W/S,W为光栅栅距,0≤Φ≤2π。Wherein K=W/S, W is the grating pitch, 0≤Φ≤2π.

进一步地,所述S取值为4≤S≤8的整数。Further, the value of S is an integer of 4≤S≤8.

进一步地,对于每个细分区间,直流分量误差最大值可知:Further, for each subdivision interval, the maximum value of the DC component error can be known as:

细分误差最大 Maximum subdivision error

本发明提供了一种通过码盘信号细分进行测角的光电瞄准仪,包括:The invention provides a photoelectric collimator for measuring angles by subdividing code disc signals, including:

光栅码盘莫尔条纹模拟信号采集单元,用于采集光栅码盘莫尔条纹模拟信号;The moiré fringe analog signal acquisition unit of the grating code disc is used to collect the moiré fringe analog signal of the grating code disc;

预处理单元,用于对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;A preprocessing unit is used to preprocess the moiré fringe analog signal collected from the grating disk, and establish the relationship between the grating disk score line and the angle;

修正单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;A correction unit is used to correct the preprocessed moire fringe analog signal of the grating code disc;

大数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;The large number calculation unit is used to perform waveform transformation on the preprocessed grating code disc Moiré fringe analog signal to obtain the large number of the measured angle;

小数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;The decimal calculation unit is used to subdivide and correct the preprocessed moiré fringe analog signal of the grating code disc to obtain the decimal of the measured angle;

所测角度计算单元,用于根据如下公式计算所测角度θ:The measured angle calculation unit is used to calculate the measured angle θ according to the following formula:

θ=80"×N+θabθ=80"×N+θ ab ;

式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point.

进一步地,所述光栅码盘莫尔条纹模拟信号采集单元为10位AD转换器。Further, the moiré fringe analog signal acquisition unit of the grating code disc is a 10-bit AD converter.

本发明的有益效果为:The beneficial effects of the present invention are:

(1)在分析细分直流分量影响的同时,通过数字优化处理,提升了仪器精度和性能,满足了日益增长的市场需求;(1) While analyzing the impact of subdivided DC components, the accuracy and performance of the instrument are improved through digital optimization processing to meet the growing market demand;

(2)采用对信号进行细分处理,能够获得高分辨率,可以达到0.1″;(2) By subdividing the signal, high resolution can be obtained, which can reach 0.1″;

(3)测角准确性和精度高;(3) High accuracy and precision of angle measurement;

(4)对细分误差处理,降低了工艺制作难度,节约仪器成本。(4) The processing of the subdivision error reduces the difficulty of the process and saves the cost of the instrument.

附图说明Description of drawings

图1示出了本发明的通过码盘信号细分进行测角的光电瞄准方法的流程图。Fig. 1 shows a flow chart of the photoelectric aiming method for angle measurement through code disc signal subdivision according to the present invention.

图2示出了细分区间分布图;Fig. 2 shows the subdivision interval distribution map;

图3示出了角度仿真示意图;Figure 3 shows a schematic diagram of angle simulation;

图4示出了直流分量影响示意图。Fig. 4 shows a schematic diagram of the influence of the DC component.

具体实施方式detailed description

下面将结合附图说明本发明的技术方案。The technical solution of the present invention will be described below in conjunction with the accompanying drawings.

如图1所示,通过码盘信号细分进行测角的光电瞄准方法,包括:As shown in Figure 1, the photoelectric aiming method for angle measurement through code disc signal subdivision includes:

(1)采集光栅码盘莫尔条纹模拟信号;(1) Acquisition of the Moiré fringe analog signal of the grating code disc;

(2)对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;(2) Preprocess the moiré fringe analog signal collected from the grating disc, and establish the relationship between the grating disc score line and the angle;

(3)对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;(3) Correcting the pre-processed moiré fringe analog signal of the grating code disc;

(4)对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;(4) Carry out waveform conversion to the preprocessed grating code disc Moiré fringe analog signal to obtain a large number of measured angles;

(5)对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;(5) Subdividing and correcting the preprocessed moiré fringe analog signal of the grating code disc to obtain the decimal point of the measured angle;

(6)根据如下公式计算所测角度θ:(6) Calculate the measured angle θ according to the following formula:

θ=80"×N+θabθ=80"×N+θ ab ;

式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point.

优选地,所述步骤(1)包括:采用10位AD转换器对模拟量信号进行采集。Preferably, the step (1) includes: using a 10-bit AD converter to collect the analog signal.

优选地,所述步骤(2)包括:Preferably, said step (2) includes:

(21)从采集到的光栅码盘莫尔条纹模拟信号中获得两个正弦信号Asinθ和Acosθ;(21) Obtain two sinusoidal signals Asinθ and Acosθ from the collected grating code disc Moiré fringe analog signal;

(22)在光栅盘全圆周上设置16200条刻线,则光栅盘刻线每移动1个间距,所述两个正弦信号就变化1个周期,即代表角度移动了80″。(22) If 16,200 reticle lines are set on the entire circumference of the grating disc, the two sinusoidal signals will change by one cycle every time the reticle lines on the grating disc move by one pitch, which means that the angle has moved by 80″.

优选地,所述步骤(3)包括:Preferably, said step (3) includes:

(31)对直流分量UD通过在光栅码盘进行结构安装时以如下方式进行修正和控制:(31) The DC component UD is corrected and controlled in the following way when the grating code disc is installed structurally:

a)码盘轴系主轴的安装端面端跳值;a) The jump value of the installation end face of the main shaft of the code disc shaft system;

b)指示光栅玻璃面与安装环面整周的高度差一致性b) Indicates the consistency of the height difference between the grating glass surface and the entire circumference of the installation ring surface

c)胶合后主光栅端跳值;c) Jump value of main grating end after gluing;

d)主光栅与指示光栅间隙值;d) The gap between the main grating and the indicating grating;

(32)计算直流分量UD的均值:(32) Calculate the mean value of the DC component U D :

其中UD1、UD2为多点测量获得的光栅码盘莫尔条纹模拟信号的直流分量; Among them, U D1 and U D2 are the DC components of the moiré fringe analog signal of the grating code disc obtained by multi-point measurement;

(33)对US进行修正:(33) Amendment to U S :

US=AsinΦ+UD-D。U S = Asin Φ + U D -D.

一般采样点取4到8个(整圆周内每隔45°或90°采样),再将采样计算结果作为仪器参数带入角度计算即可消除直流分量的影响。Generally, 4 to 8 sampling points are taken (sampling every 45° or 90° within the entire circumference), and then the sampling calculation results are taken as instrument parameters into the angle calculation to eliminate the influence of the DC component.

优选地,所述步骤(4)包括:Preferably, said step (4) includes:

(41)对所述两个正弦信号经波形变换,形成与这两个正弦信号一致的周期性脉冲信号;(41) Transforming the waveforms of the two sinusoidal signals to form a periodic pulse signal consistent with the two sinusoidal signals;

(42)对所述脉冲信号进行计数,从而获得所测角度的大数:80″×N。(42) Count the pulse signals to obtain the largest number of measured angles: 80″×N.

优选地,所述步骤(5)包括:Preferably, said step (5) includes:

(51)将莫尔条纹模拟信号的一个周期2π等分成S份,S为细分总数;(51) A period 2π of the moiré fringe analog signal is equally divided into S parts, and S is the total number of subdivisions;

(52)将Asinθ和Acosθ转换成数字量US和UC;(52) convert Asinθ and Acosθ into digital quantities US and UC;

(53)根据数字量US和UC求得tgθ或ctgθ,如图2所示:(53) Obtain tgθ or ctgθ according to digital quantities US and UC, as shown in Figure 2:

tt gg θθ == || Uu SS Uu CC ||

cc tt gg θθ == || Uu CC Uu SS || ;;

依据数字量US和UC的极性和绝对值将Φ在0°~360°进行8细分,如表1所示。According to the polarity and absolute value of the digital quantities US and UC, Φ is divided into 8 subdivisions from 0° to 360°, as shown in Table 1.

表1区间分布表Table 1 interval distribution table

区间interval ΦΦ US US UC|U C | US|-|UC|U S |-|U C | 细分数subdivision 00 0°~45°0°~45° ++ ++ -- X=tgΦX=tgΦ 11 45°~90°45°~90° ++ ++ ++ X=1+ctgΦX=1+ctgΦ 22 90°~135°90°~135° ++ -- ++ X=2+tgΦX=2+tgΦ 33 135°~180°135°~180° ++ -- -- X=3+ctgΦX=3+ctgΦ 44 180°~225°180°~225° -- -- -- X=4+tgΦX=4+tgΦ 55 225°~270°225°~270° -- -- ++ X=5+ctgΦX=5+ctgΦ 66 270°~315°270°~315° -- ++ ++ X=6+tgΦX=6+tgΦ 77 315°~360°315°~360° -- ++ -- X=7+ctgΦX=7+ctgΦ

在每个区间内,用MATLAB拟合仿真tgΦ值并建立表格,如图3所示,根据数字量US和UC计算结果从而计算得出Φ角度值。In each interval, use MATLAB to fit and simulate the tgΦ value and establish a table, as shown in Figure 3, and calculate the Φ angle value according to the calculation results of the digital quantities US and UC.

瞄准仪采用10位AD转换器对模拟量信号进行采集,每10″细分区间建立表格,表格细分值为512,角度分辨率可以达到0.1″。The collimator uses a 10-bit AD converter to collect the analog signal, and creates a table for every 10″ subdivision interval. The subdivision value of the table is 512, and the angular resolution can reach 0.1″.

(54)依据tgθ或ctgθ判断θb在哪个区间,进而得出θb(54) judge which interval θ b is in according to tgθ or ctgθ, and then obtain θ b ;

(55)计算终点处不足整周期的小数θa,即(55) Calculate the fraction θ a less than the full period at the end point, that is

θa=X×Kθ a =X×K

其中K=W/S,W为光栅栅距,0≤Φ≤2π。Where K=W/S, W is the grating pitch, 0≤Φ≤2π.

优选地,所述S取值为4≤S≤8的整数。Preferably, the value of S is an integer of 4≤S≤8.

优选地,如图4所示,因此软件细分要求光栅信号在A/D转换之前消除直流分量,设直流分量为UD,此分量引起的细分误差为误差δ。Preferably, as shown in FIG. 4 , the software subdivision requires that the dc component of the grating signal be eliminated before A/D conversion. Let the dc component be U D , and the subdivision error caused by this component is error δ.

tgΦtgΦ 11 == AA sthe s ii nno ΦΦ ++ Uu DD. AA cc oo sthe s ΦΦ

but

ΔΔ ythe y == tgΦtgΦ 11 -- tt gg ΦΦ == Uu DD. AA cc oo sthe s ΦΦ ..

对于每个细分区间,直流分量误差最大值可知:For each subdivision interval, the maximum value of the DC component error can be known as:

细分误差最大 Maximum subdivision error

本发明提供了一种通过码盘信号细分进行测角的光电瞄准仪,包括:The invention provides a photoelectric collimator for measuring angles by subdividing code disc signals, including:

光栅码盘莫尔条纹模拟信号采集单元,用于采集光栅码盘莫尔条纹模拟信号;The moiré fringe analog signal acquisition unit of the grating code disc is used to collect the moiré fringe analog signal of the grating code disc;

预处理单元,用于对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;A preprocessing unit is used to preprocess the moiré fringe analog signal collected from the grating disk, and establish the relationship between the grating disk score line and the angle;

修正单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;A correction unit is used to correct the preprocessed moire fringe analog signal of the grating code disc;

大数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;The large number calculation unit is used to perform waveform transformation on the preprocessed grating code disc Moiré fringe analog signal to obtain the large number of the measured angle;

小数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;The decimal calculation unit is used to subdivide and correct the preprocessed moiré fringe analog signal of the grating code disc to obtain the decimal of the measured angle;

所测角度计算单元,用于根据如下公式计算所测角度θ:The measured angle calculation unit is used to calculate the measured angle θ according to the following formula:

θ=80"×N+θabθ=80"×N+θ ab ;

式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point.

优选地,所述光栅码盘莫尔条纹模拟信号采集单元为10位AD转换器。Preferably, the moiré fringe analog signal acquisition unit of the grating code wheel is a 10-bit AD converter.

虽然已经参照特定实施例介绍了本发明,本领域技术人员将理解,可以在不脱离本发明范围的基础上进行各种改动或进行等效替换。另外,可在不脱离本发明范围的基础上对本发明教导的内容进行各种调整从而适应特定的环境或材料。因此,本发明不应限于所公开的特定实施例,而是应包括属于所附权利要求范围的所有实施方式。While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, various adaptations of the teachings of the invention may be made to adapt a particular environment or material without departing from the scope of the invention. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but that it will include all implementations falling within the scope of the appended claims.

Claims (10)

1.一种通过码盘信号细分进行测角的光电瞄准方法,包括:1. A photoelectric aiming method for angle measurement through code disc signal subdivision, comprising: (1)采集光栅码盘莫尔条纹模拟信号;(1) Acquisition of the Moiré fringe analog signal of the grating code disc; (2)对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;(2) Preprocess the moiré fringe analog signal collected from the grating disc, and establish the relationship between the grating disc score line and the angle; (3)对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;(3) Correcting the pre-processed moiré fringe analog signal of the grating code disc; (4)对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;(4) Carry out waveform conversion to the preprocessed grating code disc Moiré fringe analog signal to obtain a large number of measured angles; (5)对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;(5) Subdividing and correcting the preprocessed moiré fringe analog signal of the grating code disc to obtain the decimal point of the measured angle; (6)根据如下公式计算所测角度θ:(6) Calculate the measured angle θ according to the following formula: θ=80"×N+θabθ=80"×N+θ ab ; 式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point. 2.根据权利要求1所述的方法,其特征在于,所述步骤(1)包括:采用10位AD转换器对模拟量信号进行采集。2. The method according to claim 1, characterized in that the step (1) comprises: collecting the analog signal by using a 10-bit AD converter. 3.根据权利要求1所述的方法,其特征在于,所述步骤(2)包括:3. method according to claim 1, is characterized in that, described step (2) comprises: (21)从采集到的光栅码盘莫尔条纹模拟信号中获得两个正弦信号Asinθ和Acosθ;(21) Obtain two sinusoidal signals Asinθ and Acosθ from the collected grating code disc Moiré fringe analog signal; (22)在光栅盘全圆周上设置16200条刻线,则光栅盘刻线每移动1个间距,所述两个正弦信号就变化1个周期,即代表角度移动了80″。(22) If 16,200 reticle lines are set on the entire circumference of the grating disc, the two sinusoidal signals will change by one cycle every time the reticle lines on the grating disc move by one pitch, which means that the angle has moved by 80″. 4.根据权利要求1所述的方法,其特征在于,所述步骤(3)包括:4. method according to claim 1, is characterized in that, described step (3) comprises: (31)对直流分量UD通过在光栅码盘进行结构安装时以如下方式进行修正和控制:(31) The DC component U D is corrected and controlled in the following way when the grating code disc is structurally installed: a)码盘轴系主轴的安装端面端跳值;a) The jump value of the installation end face of the main shaft of the code disc shaft system; b)指示光栅玻璃面与安装环面整周的高度差一致性b) Indicates the consistency of the height difference between the grating glass surface and the entire circumference of the installation ring surface c)胶合后主光栅端跳值;c) Jump value of main grating end after gluing; d)主光栅与指示光栅间隙值;d) The gap between the main grating and the indicating grating; (32)计算直流分量UD的均值:(32) Calculate the mean value of the DC component U D : 其中UD1、UD2为多点测量获得的光栅码盘莫尔条纹模拟信号的直流分量; Among them, U D1 and U D2 are the DC components of the moiré fringe analog signal of the grating code disc obtained by multi-point measurement; (33)对US进行修正:(33) Amendment to U S : US=AsinΦ+UD-D。U S = Asin Φ + U D -D. 5.根据权利要求1所述的方法,其特征在于,所述步骤(4)包括:5. method according to claim 1, is characterized in that, described step (4) comprises: (41)对所述两个正弦信号经波形变换,形成与这两个正弦信号一致的周期性脉冲信号;(41) Transforming the waveforms of the two sinusoidal signals to form a periodic pulse signal consistent with the two sinusoidal signals; (42)对所述脉冲信号进行计数,从而获得所测角度的大数:80″×N。(42) Count the pulse signals to obtain the largest number of measured angles: 80″×N. 6.根据权利要求1所述的方法,其特征在于,所述步骤(5)包括:6. method according to claim 1, is characterized in that, described step (5) comprises: (51)将莫尔条纹模拟信号的一个周期2π等分成S份,S为细分总数;(51) A period 2π of the moiré fringe analog signal is equally divided into S parts, and S is the total number of subdivisions; (52)将Asinθ和Acosθ转换成数字量US和UC;(52) convert Asinθ and Acosθ into digital quantities US and UC; (53)根据数字量US和UC求得tgθ或ctgθ:(53) Obtain tgθ or ctgθ according to digital quantities US and UC: tt gg θθ == || Uu SS Uu CC || cc tt gg θθ == || Uu CC Uu SS || ;; (54)依据tgθ或ctgθ判断θb在哪个区间,进而得出θb(54) judge which interval θ b is in according to tgθ or ctgθ, and then obtain θ b ; (55)计算终点处不足整周期的小数θa,即(55) Calculate the fraction θ a less than the full period at the end point, that is θa=X×Kθ a =X×K 其中K=W/S,W为光栅栅距,0≤Φ≤2π。Where K=W/S, W is the grating pitch, 0≤Φ≤2π. 7.根据权利要求6所述的方法,其特征在于,所述S取值为4≤S≤8的整数。7. The method according to claim 6, wherein the value of S is an integer of 4≤S≤8. 8.根据权利要求4所述的方法,其特征在于,对于每个细分区间,直流分量误差最大值可知:8. The method according to claim 4, characterized in that, for each subdivision interval, the DC component error maximum value can be known: 细分误差最大 Maximum subdivision error 9.一种通过码盘信号细分进行测角的光电瞄准仪,其特征在于,包括:9. A photoelectric collimator for angle measurement through code disc signal subdivision, characterized in that it comprises: 光栅码盘莫尔条纹模拟信号采集单元,用于采集光栅码盘莫尔条纹模拟信号;The moiré fringe analog signal acquisition unit of the grating code disc is used to collect the moiré fringe analog signal of the grating code disc; 预处理单元,用于对采集到的光栅码盘莫尔条纹模拟信号进行预处理,并建立光栅盘刻线与角度的关系;A preprocessing unit is used to preprocess the collected Moiré fringe analog signal of the grating disk, and establish the relationship between the grating disk score line and the angle; 修正单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行修正;A correction unit is used to correct the preprocessed moiré fringe analog signal of the grating code disc; 大数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行波形变换,获得所测角度的大数;The large number calculation unit is used to perform waveform transformation on the preprocessed moiré fringe analog signal of the grating code disc to obtain the large number of the measured angle; 小数计算单元,用于对经过预处理的光栅码盘莫尔条纹模拟信号进行细分和修正,获得所测角度的小数;The decimal calculation unit is used to subdivide and correct the preprocessed moiré fringe analog signal of the grating code disc to obtain the decimal of the measured angle; 所测角度计算单元,用于根据如下公式计算所测角度θ:The measured angle calculation unit is used to calculate the measured angle θ according to the following formula: θ=80"×N+θabθ=80"×N+θ ab ; 式中:N为正弦波信号的周期数,且N为整数,θa为终点处不足整周期的小数,θb为起点处不足整周期的小数。In the formula: N is the number of periods of the sine wave signal, and N is an integer, θ a is a fraction less than a full period at the end point, and θ b is a fraction less than a full period at the start point. 10.根据权利要求9所述的方法,其特征在于,所述光栅码盘莫尔条纹模拟信号采集单元为10位AD转换器。10. The method according to claim 9, characterized in that, the moiré fringe analog signal acquisition unit of the grating code disc is a 10-bit AD converter.
CN201610230442.4A 2016-04-14 2016-04-14 Method for angle measurement through coded disc signal subdivision and photoelectric collimator Pending CN105823442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610230442.4A CN105823442A (en) 2016-04-14 2016-04-14 Method for angle measurement through coded disc signal subdivision and photoelectric collimator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610230442.4A CN105823442A (en) 2016-04-14 2016-04-14 Method for angle measurement through coded disc signal subdivision and photoelectric collimator

Publications (1)

Publication Number Publication Date
CN105823442A true CN105823442A (en) 2016-08-03

Family

ID=56526850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610230442.4A Pending CN105823442A (en) 2016-04-14 2016-04-14 Method for angle measurement through coded disc signal subdivision and photoelectric collimator

Country Status (1)

Country Link
CN (1) CN105823442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112697190A (en) * 2020-12-18 2021-04-23 中国计量大学 Dynamic calibration method for grating moire signal phase-locked subdivision errors

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5355053A (en) * 1976-10-29 1978-05-19 Olympus Optical Co Ltd Photoelectric encoder
CN1092159A (en) * 1993-12-18 1994-09-14 常州第二电子仪器厂 The electronic fine-grained disposal route and the circuit thereof of grating signal in angle or the linear measure longimetry
CN201858990U (en) * 2010-11-23 2011-06-08 广州数控设备有限公司 Device for subdividing sine-cosine signals and encoding data of position sensor
CN102788601A (en) * 2012-08-09 2012-11-21 上海微泓自动化设备有限公司 Subdividing and decoding circuit for quasi absolute type optical encoder and realization method thereof
CN203964930U (en) * 2014-05-26 2014-11-26 四川科奥达技术有限公司 A kind of optomagnetic scrambler

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5355053A (en) * 1976-10-29 1978-05-19 Olympus Optical Co Ltd Photoelectric encoder
CN1092159A (en) * 1993-12-18 1994-09-14 常州第二电子仪器厂 The electronic fine-grained disposal route and the circuit thereof of grating signal in angle or the linear measure longimetry
CN201858990U (en) * 2010-11-23 2011-06-08 广州数控设备有限公司 Device for subdividing sine-cosine signals and encoding data of position sensor
CN102788601A (en) * 2012-08-09 2012-11-21 上海微泓自动化设备有限公司 Subdividing and decoding circuit for quasi absolute type optical encoder and realization method thereof
CN203964930U (en) * 2014-05-26 2014-11-26 四川科奥达技术有限公司 A kind of optomagnetic scrambler

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯英翘: "《提高小型光电编码器分辨力和精度的方法研究》", 《中国博士学位论文全文数据库 信息科技辑》 *
张倩: "《绝对式编码器误差分析与补偿系统的研究》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112697190A (en) * 2020-12-18 2021-04-23 中国计量大学 Dynamic calibration method for grating moire signal phase-locked subdivision errors
CN112697190B (en) * 2020-12-18 2023-09-15 中国计量大学 Dynamic calibration method for phase-locked subdivision error of grating moire signal

Similar Documents

Publication Publication Date Title
US4318617A (en) DC Shift error correction for electro-optical measuring system
CN102865862A (en) Non-horizontalization free established station for total station and project measurement method of non-horizontalization free established station
CN103983290A (en) Composite type absolute value encoder
CN206773000U (en) Twin shaft speed position turntable angular speed calibrating installation
CN105910532A (en) Zero error test method and comprehensive error compensation method of angle measurement system
CN108759658B (en) An Analysis and Compensation Method of Induction Synchronizer Angle Measurement Error
CN104614002A (en) Subdivided signal error compensation method for photoelectric encoder of tracking control platform
CN102879061A (en) Water gauge error correction method based on fitted equation
CN103543431A (en) Method and system for measuring errors of electromagnetic type mutual inductor based on digital signal processing
Wagdy et al. Errors in sampled data phase measurement
CN114047358A (en) Monocular vision-based line angle vibration calibration method
CN102043091A (en) Digitized high-precision phase detector
CN106525302A (en) High-precision key phase-based non-contact dynamic measurement system for measuring torque of revolving shaft
Shi et al. Precision measurement of planar double-enveloping hourglass worms
CN204461354U (en) A kind of range finder using laser system for testing optical axis
CN105823442A (en) Method for angle measurement through coded disc signal subdivision and photoelectric collimator
CN106382876A (en) Simple method for measuring height of theodolite
CN106289058B (en) A method for compensating the positioning and distribution accuracy of grating ruler
CN102818623B (en) Method and system for calibrating brightness and chrominance meter
CN105277165A (en) Tooth surface equal interval sampling method used for improving gear measuring precision
CN109191543B (en) A Method for Generating AC Sampling and Cross-section Data
CN106643950A (en) Electronic multi-points modification method of membrane gas meter
CN113819879B (en) Dynamic angle measurement method and system based on laser zero meter and high-frequency sampling
CN203249598U (en) Apparatus for measuring composite clearance of turret power train
RU2457432C1 (en) Method of measuring radial clearances and axial displacements of turbine wheel blades

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803