WO2013174216A1 - Single-track absolute grating scale and image encoding method thereof - Google Patents

Single-track absolute grating scale and image encoding method thereof Download PDF

Info

Publication number
WO2013174216A1
WO2013174216A1 PCT/CN2013/075432 CN2013075432W WO2013174216A1 WO 2013174216 A1 WO2013174216 A1 WO 2013174216A1 CN 2013075432 W CN2013075432 W CN 2013075432W WO 2013174216 A1 WO2013174216 A1 WO 2013174216A1
Authority
WO
WIPO (PCT)
Prior art keywords
milestone
cmos
scale
absolute
grating
Prior art date
Application number
PCT/CN2013/075432
Other languages
French (fr)
Chinese (zh)
Inventor
陈新
王晗
陈新度
刘强
李克天
马平
李锻能
陈学松
Original Assignee
广东工业大学
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 广东工业大学 filed Critical 广东工业大学
Priority to DE201311002653 priority Critical patent/DE112013002653T5/en
Publication of WO2013174216A1 publication Critical patent/WO2013174216A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/347Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells using displacement encoding scales
    • G01D5/34707Scales; Discs, e.g. fixation, fabrication, compensation
    • G01D5/34715Scale reading or illumination devices
    • G01D5/34723Scale reading or illumination devices involving light-guides
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/347Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells using displacement encoding scales
    • G01D5/34776Absolute encoders with analogue or digital scales
    • G01D5/34792Absolute encoders with analogue or digital scales with only digital scales or both digital and incremental scales
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/36Forming the light into pulses
    • G01D5/38Forming the light into pulses by diffraction gratings
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/347Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells using displacement encoding scales
    • G01D5/34746Linear encoders

Definitions

  • the invention relates to a monorail absolute grating ruler and an image coding method thereof, and belongs to a modification technology of a monorail absolute scale ruler and an image coding method thereof.
  • the commonly used grating scales can be divided into incremental grating scales, semi-absolute grating scales and absolute grating scales, which are used in the numerical control machine tool manufacturing industry.
  • the incremental scale is the most commonly used high-precision measuring device. It has an absolute zero mark.
  • the rear scale is equidistantly distributed.
  • the read head moves relative to the scale grating.
  • the moire fringe formed by the passing grid passes through the electricity.
  • Signal processing resulting in a distance from the absolute zero.
  • This measurement mode is simple and easy, but in use, it is difficult to greatly improve the work efficiency because it has to be recalibrated every time it returns to the absolute zero point [2].
  • the semi-absolute grating is to set the absolute rail on the incremental grating. On the absolute rail, a series of zero-position gratings coded by different distances are designed. In use, the absolute position is determined by detecting the distance of the adjacent zero-grating grating, which greatly reduces the absolute position. The time of zero return improves the working efficiency. In addition, when such a scale fails, it can immediately send an alarm signal to the CNC machine to ensure the safety of the processing.
  • absolute encoder gratings have more advantages. Since there are absolutely unique code values at any point, there is no cumulative error. It has the characteristics of high measurement accuracy, strong anti-interference ability, high stability, and can also perform nonlinear correction. In addition, the absolute coding range is large, so the linear displacement of a larger range can be measured [3].
  • the structure of the absolute grating ruler is relatively simple.
  • the key point is the realization of absolute coding, and each absolute code corresponds to an absolute position on the grating scale, and the relative moving distance can be obtained by subtracting the absolute position of the starting point to the ending point. The cumulative error is avoided and the process of reading back the zero point is eliminated.
  • some kinds of absolute coding methods have appeared, which are more concentrated in the field of multi-track grating stripe coding.
  • the advantage of this kind of coding is that the direct-reading column binary code is convenient for the photoelectric components to read data and improve the precision of the subdivision [4] ], but the main disadvantage is that it is more difficult to describe the grating scale, the coding range is limited, and it is difficult to expand the measurement range.
  • the monorail absolute coding technique represents the development direction of international grating measurement, which is in line with the two trends of rapid measurement and miniaturization.
  • the decoding method is cumbersome and the error rate is high.
  • An object of the present invention is to provide a monorail absolute scale which avoids the above-mentioned problems and which avoids the low yield of multi-track grating manufacturing, reduces manufacturing costs, improves the speed of image information acquisition, and improves the measurement accuracy of encoding.
  • the invention has reasonable design, convenience and practicality.
  • Another object of the present invention is to provide an image encoding method that achieves reliable encoding, facilitates decoding, and quickly gives results.
  • the monorail absolute grating of the present invention comprises a light source, a mirror, a landmark mark, an incremental scale grid, a glass substrate, an upper CMOS sensor, a lower CMOS sensor, a moving aperture, and a photoelectric a receiver, an indicating grating, wherein the light source and the mirror are combined to form an illumination light path, providing parallel light, the glass substrate is patterned with an equal width and an equidistant incremental scale grid line, and the glass substrate is parallelized under the incremental scale grid line
  • An equidistant landmark mark, the upper left opening of the moving aperture, the opening is embedded with an indicator grating, and the right upper and lower symmetrical openings of the moving aperture are respectively embedded in the upper CMOS sensor and the lower CMOS for acquiring image information
  • the above-mentioned milestone flag line consists of a number of equally spaced gate lines. From the zero position, an absolute position mark is set at a certain distance to be a milestone flag.
  • the milestone flag is divided into milestone code boundary marker raster lines for marking the appearance and end of the milestone, which is used to encode and expand the number of bits, that is, the effective coded bits in the milestone stripe group that can expand the range of the code;
  • the effective coded gate line of the specific position of the gate line is depicted, and the gate line is denoted as 0, and the gate line is not depicted and left blank, where it is represented as 1, and the distance between adjacent landmark marks is d.
  • the above-mentioned effective coded gate lines have a total of 16 lines, and the end lines at both ends are used as boundary points to always depict the gate lines.
  • the lower side CMOS sensor knows that it can read the complete mileage grid line shadow pattern once it is found that both ends pass.
  • the invention applies the image encoding method of the monorail absolute grating ruler, wherein the above-mentioned milestone flag bit is composed of a plurality of equal-width grid line bits, which presents a binary code to become the first coded bar code, and the parallel light provided by the illumination light path formed by the combination of the light source and the mirror
  • the shadow line of the grid line generated by the incremental scale grid line constitutes the second coding area, and the image of the gate line stripe after the last milestone flag in the milestone flag coding window is digitally collected by the CMOS sensor to obtain a binary number.
  • CMOS pixel insertion which is a third code segment
  • the three-segment code is combined to obtain a valid position code.
  • the position code corresponds to an absolute position on the scale, in other words, any absolute position on the scale has an absolute code composed of three segments, as long as a reliable indication of the starting position of the pupil is obtained. Absolute coding, you can get the absolute distance of the trip by the difference
  • the lower CMOS sensor directly collects the image coding information of the landmark flag, and the coded value is ⁇ , which is the first absolute position code segment, that is, the absolute position corresponding to the milestone flag bit is
  • the upper CMOS sensor directly captures the image of the incremental scale grid line and encodes it as follows:
  • the corresponding incremental scale grid line stripe also instantaneously appear on the array of upper CMOS sensors, this stripe will be locked by the upper CMOS sensor, the scale grid line stripe beyond the milestone flag stripe group will be saved and encoded in the form of image, from the image, can Quickly distinguish the number of gate lines as K, and set the scale of the scale grid line to ⁇ , then the exact incremental distance L beyond the absolute position marker is obtained by the number of dark lines in the incremental grid diagram, as follows:
  • the CMOS pixel size is also smaller and smaller, and the encoding of the measurement margin between the scale bars is the third.
  • the distance between the above-mentioned scale grid lines is the linear distance between two adjacent grid lines of the scale grating
  • the measurement margin between the scale grid lines refers to the linear distance from the left end line of the pupil light-shielding area to the leftmost end of the milestone.
  • the CMOS pixel size refers to the width of the CMOS pixel
  • the CMOS pixel pitch refers to the linear distance between two adjacent CMOS pixels, indicating that the light-shielding area refers to the area indicating the opaque light, that is, the non-opening area. , which indicates that the measurement end region is exceeded
  • the measurement margin between the CMOS pixels refers to a linear distance indicating a CMOS pixel closest to the left end line of the pupil light-shielding region to the left end;
  • the third segment of absolute coding is divided into two parts, that is, the measurement margin between the scale grid lines is inserted into the integer CMOS pixel, and the numerical code is encoded as the first partial code; the traveling microscopic value of the measurement margin between the CMOS pixels is encoded.
  • the code is expanded to the resolution level, and the code for the measurement margin between the scale bars is expressed by the following formula:
  • the final absolute position coding consists of three parts: the coding of the milestone flag, the grid code of the incremental scale grating, the coding of the measurement margin between the scale grid lines, and the C part of the position coding due to the measurement margin between the scales. Only the resolution level, so only save the part, after three-stage encoding, decoding, get any absolute position
  • the above-mentioned milestone flag is composed of 14 equal-width gate lines, which are binary coded, and 14 gate lines can form numbers ranging from 0-16383.
  • the distance between the two is equally divided into 100 parts, that is, the measurement accuracy is ⁇ 1 ⁇ , that is, one tenth of the CMOS pixel pitch.
  • the measurement margin between the above-mentioned scale grid lines is accurately quantized according to the precision of the above-mentioned one-tenth CMOS pixel pitch, and indicates the distance traveled between the pixels on the left end line of the pupil light-shielding region, that is, the measurement margin between the CMOS pixels passes through the electron Subdivided into 128 copies, making the resolution ⁇
  • the upper CMOS sensor is aligned with the incremental scale grid line
  • the lower CMOS sensor is aligned with the milestone flag.
  • the landmark marker position is used to reduce the amount of data collected by the image, and the speed of the linear motion is increased.
  • the deceleration acquisition analyzes the coding information of the incremental scale grid.
  • the present invention performs absolute encoding by a monorail grating, which avoids low yield of multi-track grating manufacturing and reduces manufacturing costs.
  • the invention utilizes CMOS sensing technology to improve the speed of image information acquisition, and indirectly improve the measurement accuracy of the encoding by means of the processing precision of the semiconductor device.
  • the present invention introduces a microscopic amplification technique, which amplifies the margin between the last pair of gate lines, and further improves the accuracy of position coding by using the pixel insertion mode.
  • the invention reduces the importance of the traditional incremental coding in the measurement, but retains some of its functions, and provides a reference for error correction, thereby improving the reliability of the absolute grating coding and decoding, and at the same time being an absolute grating.
  • the ruler fails, it is used as a backup measurement tool to ensure a certain measurement function of the scale in the fault state.
  • the invention is a monorail absolute grating with ingenious design, excellent performance and convenient and practicality.
  • FIG. 1 is a schematic view showing the structure of a monorail absolute scale of the present invention.
  • FIG. 2 is a schematic view showing the structure of an absolute grating scale grating line of the present invention.
  • Fig. 3 is a schematic diagram showing the subdivision measurement between the grating scales of the absolute grating scale of the present invention.
  • Embodiments A schematic structural view of a schematic diagram of a monorail absolute grating of the present invention is shown in FIG. 1.
  • a light source 1 and a mirror 2 are combined to form an illumination light path, which can provide parallel light of a certain light intensity, in this embodiment.
  • the light source 1 is a blue light source and is a special light source.
  • the projection of the gate line is separately scanned and received by the upper CMOS sensor 6 and the lower CMOS sensor 7, and the two CMOS sensors are embedded in the moving aperture 8
  • the light source 1, the mirror 2, the moving aperture 8, and the relative position of the photoelectric receiver 9 are fixed to form a dynamic measuring system, which are parallel to the glass substrate, and the external and measuring end mechanisms are connected, and an indicating grating is embedded on the moving aperture 8 10.
  • the light passes through the scale grid 4 and the moiré fringes generated after indicating the grating 10 are received by the photoreceiver 9 to form an analog incremental signal.
  • the lower side CMOS sensor 7 can directly collect the encoding information of the image of the milestone flag 3, and the coded value is , which is the first absolute position encoding segment, that is, the absolute position corresponding to the milestone flag bit (3) is
  • the upper CMOS sensor 6 can directly acquire the incremental scale grid image, but relies on the following techniques for encoding.
  • the incremental gate line image coding technique is as follows: As shown in Fig. 2, when the landmark gate line of the landmark flag 3 stripe group is completely present in the lower side CMOS monitor array, the corresponding incremental scale grid line stripe also appears instantaneously in the upper side CMOS.
  • the milestone flag 3 is divided into several parts, namely, the milestone code boundary marker gate line 12, the effective coded bit position 11 in the milestone stripe group, the effective coded gate line level 13, and the adjacent milestone flag bit 3 are spaced by d, and the boundary is convenient for scanning. Positioning, the effective coded gate line 13 can depict the gate line, denoted as 0, or blank, denoted as 1, and the spacing of the adjacent milestone flag 3 is d to determine the coarse step size of the coded positioning. As shown in FIG.
  • the left end line of the pupil light-shielding region 19 is between two adjacent grid lines of the scale grating, and when the residual displacement is less than one gate line spacing, the measurement margin 16 between the scale grid lines is set to 1L, and the displacement is The measurement accuracy will directly affect the global measurement accuracy and the objectivity of absolute coding.
  • the new technology of CMOS development due to the left and right
  • the CMOS pixel 14 of the CMOS pixel pitch 18 appears, the CMOS pixel size 17 is also getting smaller and smaller, and the subdivision technology is further upgraded.
  • the spacing between the last scale grid lines 15 can be averaged by a factor of 10, assuming that the distance between the two grid lines is evenly distributed by 100 pixels, the distance between the two grid lines is equally divided into 100 parts, that is, the measurement accuracy can be achieve
  • the distance traveled between the pixels can also be subdivided into 128 by electronic, ⁇
  • the segment coding can be divided into two parts, that is, the measurement margin between the ruler grid lines is inserted into the integer number of pixels, and the code is coded as A for the first part of the code; the traveling microscopic value of the measurement margin (20) between the CMOS pixels Encoding can expand the encoding to the resolution level. As shown below, the measurement margin between the scale bars can be expressed by the following formula.
  • the final absolute position coding consists of three parts: Milestone absolute reference point marker code, relative position coding, subdivision position coding, since the C part of the subdivision position coding is only the resolution level, only the part is saved.
  • ⁇ ⁇ ⁇ ⁇ ⁇ + ⁇ ⁇ ⁇ + - ⁇ - The above indicates the moire fringes generated by the grating 10, as a low-precision coding, and the absolute position obtained by the CMOS is compared and analyzed. If the error is within a reasonable range, the code is determined. Normal; if the error range is exceeded, the coding error is considered, and the image information is re-read for correlation coding. If the new code value is equal to one of the previous analysis data, the code value of the re-encoding is considered correct, and vice versa. Fault alarm information.
  • the incremental scale grating is arranged in parallel and equidistantly depicting the landmark absolute reference point position mark, which is composed of several grid lines.
  • the landmark absolute reference point position mark which is composed of several grid lines.
  • each grid line bit corresponds to a unique number 0 or 1, which can form more than 10,000 sets of different digital codes.
  • the adjacent two milestones have a spacing of 1 mm, and the codeable range will exceed 10 m.
  • An equal-width aperture opening is formed on the right side, and a CMOS photosensitive element is embedded on the upper and lower sides, the upper side CMOS is used to collect the incremental scale grid image information, and the lower side CMOS is used to identify the landmark absolute position mark, which is detected by the lower side CMOS.
  • the milestone absolute position code is the first code segment, and the number of the dark line stripes obtained by the upper CMOS is coded as the second code segment.
  • the two-phase is the micro-magnification 10 times magnification between the I grid lines.
  • CMOS pixel pitch «n, then the absolute position ⁇ can be obtained by the following formula:
  • ⁇ ⁇ ⁇ ⁇ X d + ⁇ X ⁇ + + X ⁇
  • the final absolute position code will consist of ⁇ and three code segments.
  • the CMOS on the upper and lower sides of the aperture will obtain the encoded information of K, >5, and the current absolute position information can be obtained by calculation and decoding. Since the traditional incremental coding mode is retained, the coded information obtained by the image can be compared with the traditional incremental coded information. If the error is within the allowable range, the output is smooth, otherwise the sample is compared again, and if it still does not match, the output is output. accident details.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A single-track absolute grating scale and image encoding method thereof, comprising a light source, a reflector, incremental scale grating lines, a glass substrate, a movable diaphragm, a photoelectric receiver, and an indication grating; the light source and the reflector are combined into an illumination light path; the incremental scale grating lines having the same width are engraved on the glass substrate at equal intervals; milestone flags are engraved in parallel at equal intervals below the incremental scale grating lines on the glass substrate; the indication grating is embedded in an opening at the left upper part of the movable diaphragm; an upper and a lower CMOS sensors are respectively embedded in an upper and a lower symmetrical openings on the right of the movable diaphragm; the indication grating is installed closely against the glass substrate; the installation position of the upper CMOS aligns to the incremental scale grating lines; the installation position of the lower CMOS aligns to the milestone flags; and the light beams of the incremental scale grating lines and the indication grating form Moire fringes projected onto the photoelectric receiver. The present invention improves the acquisition speed of image information, improves code measurement accuracy, and can reliably encode, simply decode and quickly output a result.

Description

说明书  Instruction manual
一种单轨绝对光栅尺及其图像编码方法 技术领域 Monorail absolute grating ruler and image coding method thereof
本发明是一种单轨绝对光栅尺及其图像编码方法, 属于单轨绝 对光栅尺及其图像编码方法的改造技术。  The invention relates to a monorail absolute grating ruler and an image coding method thereof, and belongs to a modification technology of a monorail absolute scale ruler and an image coding method thereof.
背景技术  Background technique
计量光栅技术的基础是莫尔条纹, 1874年由英国物理学家 L. Rayleigh首先提出这种图案的工程价值,直到 20世纪 50年代人们才 开始利用光栅的莫尔条纹进行精密测量。 1950年德国 Heidenhain首创 DIADUR复制工艺, 也就是在玻璃基板上蒸发镀铬的光刻复制工艺, 这 才能制造高精度、价廉的光栅刻度尺, 光栅计量仪器才能为用户所接 受, 进入商品市场。 1953年英国 Ferranti公司提出了一个 4相信号系 统, 可以在一个莫尔条纹周期实现 4倍频细分, 并能鉴别移动方向, 这就是 4倍频鉴相技术, 是光栅测量系统的基础, 并一直广泛应用至 今 [1]。 目前常用的光栅尺可以分为增量式光栅尺、半绝对式光栅尺以及 绝对式光栅尺, 数控机床制造行业使用较多。 增量式光栅尺是最常用的高精密测量装置,它有一个绝对零点标 志, 其后标尺光栅等距分布, 读数头相对标尺光栅运动, 经过的栅格 所形成的莫尔条紋会经过电信号处理, 得到相对绝对零点的距离。这 种测量模式简单易行, 但在使用中, 由于必须每次回到绝对零点附近 重新定标, 所以工作效率难以大幅提高 [2]。  The basis of the metrology grating technique is Moiré fringe. In 1874, the British physicist L. Rayleigh first proposed the engineering value of this pattern. It was not until the 1950s that people began to use the moire fringe of the grating for precise measurement. In 1950, Germany's Heidenhain pioneered the DIADUR replication process, which is a lithographic reproduction process that evaporates chrome on a glass substrate. This makes it possible to manufacture high-precision, inexpensive grating scales that can be accepted by users and enter the commodity market. In 1953, the British company Ferranti proposed a 4-phase signal system, which can realize 4 times frequency subdivision in a Moiré fringe period and can identify the moving direction. This is the 4 times frequency phase discrimination technology, which is the basis of the grating measuring system. Has been widely used so far [1]. At present, the commonly used grating scales can be divided into incremental grating scales, semi-absolute grating scales and absolute grating scales, which are used in the numerical control machine tool manufacturing industry. The incremental scale is the most commonly used high-precision measuring device. It has an absolute zero mark. The rear scale is equidistantly distributed. The read head moves relative to the scale grating. The moire fringe formed by the passing grid passes through the electricity. Signal processing, resulting in a distance from the absolute zero. This measurement mode is simple and easy, but in use, it is difficult to greatly improve the work efficiency because it has to be recalibrated every time it returns to the absolute zero point [2].
1  1
替换页 (细则第 26条) 为适应数控机床升级的需要, 半绝对式光栅尺逐渐得到普遍使 用。半绝对式光栅是在增量光栅上设置绝对轨, 在绝对轨上设计了用 不同距离编码的一系列零位光栅,使用时通过探测相邻零位光栅的距 离来确定绝对位置,大大减少了回零的时间,提高了工作效率,此外, 这类光栅尺出现故障时还能即时向数控机床发出报警信号,以保证加 工的安全性。 Replacement page (Article 26) In order to meet the needs of CNC machine tool upgrades, semi-absolute grating scales are gradually being used. The semi-absolute grating is to set the absolute rail on the incremental grating. On the absolute rail, a series of zero-position gratings coded by different distances are designed. In use, the absolute position is determined by detecting the distance of the adjacent zero-grating grating, which greatly reduces the absolute position. The time of zero return improves the working efficiency. In addition, when such a scale fails, it can immediately send an alarm signal to the CNC machine to ensure the safety of the processing.
近来, 绝对光栅尺的出现引发了装备制造业革命性进步, 相比半 绝对式光栅尺, 绝对编码光栅尺有更多优势, 由于在任何点都有相应 绝对唯一的码值, 所以没有累计误差, 具有测量精度高、 抗干扰能力 强、 稳定性高等特点, 并且还可以进行非线性修正。 另外绝对编码范 围大, 所以可测量较大量程的线性位移 [3]。  Recently, the emergence of absolute gratings has revolutionized the equipment manufacturing industry. Compared to semi-absolute grating scales, absolute encoder gratings have more advantages. Since there are absolutely unique code values at any point, there is no cumulative error. It has the characteristics of high measurement accuracy, strong anti-interference ability, high stability, and can also perform nonlinear correction. In addition, the absolute coding range is large, so the linear displacement of a larger range can be measured [3].
绝对光栅尺的结构相对简单, 其关键点在于绝对编码的实现, 及 每一个绝对编码对应着光栅标尺上的一个绝对位置,将出发点到终止 点的绝对位置相减就可以得到相对的移动距离, 避免了累计误差, 也 消除了回读零点的工序。 目前, 出现了一些种绝对编码方法, 较多集 中在多轨光栅条纹编码领域,这种编码的优点在于直读纵列二进制编 码, 方便光电元件读取数据, 同时可以提高细分的精度 [4], 但缺点 主要是提高了对光栅标尺的刻画难度, 编码范围有限, 难以扩大测量 范围。  The structure of the absolute grating ruler is relatively simple. The key point is the realization of absolute coding, and each absolute code corresponds to an absolute position on the grating scale, and the relative moving distance can be obtained by subtracting the absolute position of the starting point to the ending point. The cumulative error is avoided and the process of reading back the zero point is eliminated. At present, some kinds of absolute coding methods have appeared, which are more concentrated in the field of multi-track grating stripe coding. The advantage of this kind of coding is that the direct-reading column binary code is convenient for the photoelectric components to read data and improve the precision of the subdivision [4] ], but the main disadvantage is that it is more difficult to describe the grating scale, the coding range is limited, and it is difficult to expand the measurement range.
单轨绝对编码技术解决了这一难题。 单轨绝对编码技术代表了国 际上光栅测量的发展方向, 它符合了快速测量和小型化这两种趋势。 但是, 由于目前单轨绝对编码相对复杂, 解码方法繁琐, 错码率高,  Monorail absolute coding technology solves this problem. The monorail absolute coding technique represents the development direction of international grating measurement, which is in line with the two trends of rapid measurement and miniaturization. However, due to the relatively complicated single-track absolute coding, the decoding method is cumbersome and the error rate is high.
2  2
替换页 (细则第 26条) 仍然没有大量普及。 发明内容 Replacement page (Article 26) Still not in large numbers. Summary of the invention
本发明的目的在于考虑上述问题而提供一种避免了多轨光栅制 造的低成品率, 同时降低了制造成本, 提高了图像信息采集的速度, 提高编码的测量精度的单轨绝对光栅尺。本发明设计合理,方便实用。  SUMMARY OF THE INVENTION An object of the present invention is to provide a monorail absolute scale which avoids the above-mentioned problems and which avoids the low yield of multi-track grating manufacturing, reduces manufacturing costs, improves the speed of image information acquisition, and improves the measurement accuracy of encoding. The invention has reasonable design, convenience and practicality.
本发明的另一目的在于提供一种达到可靠编码、方便解码及快速 给出结果的图像编码方法。  Another object of the present invention is to provide an image encoding method that achieves reliable encoding, facilitates decoding, and quickly gives results.
本发明的技术方案是: 本发明的单轨绝对光栅尺, 包括有光源、 反射镜、 里程碑标志位、 增量标尺栅线、 玻璃基板、 上侧 CMOS传感 器、 下侧 CMOS传感器、 移动光阑、 光电接收器、 指示光栅, 其中光 源与反射镜组合构成照明光路,提供平行光,玻璃基板上刻画有等宽、 等距的增量标尺栅线,玻璃基板在增量标尺栅线的下方刻画有平行等 距的里程碑标志位, 移动光阑的左上方开口, 该开口内嵌指示光栅, 移动光阑的右边上下对称开口,该对称开口分别嵌入用于采集图像信 息的上侧 CMOS传感器和下侧 CMOS传感器,且指示光栅紧贴玻璃基板 安装, 上侧 CMOS传感器的安装位置对准增量标尺栅线, 下侧 CMOS传 感器的安装位置对准里程碑标志位, 光源、移动光阑以及光电接收器 相对位置固定装设在动尺上, 动尺相对玻璃基板能前后移动, 光源、 移动光阑以及光电接收器能同时平行运动,增量标尺栅线和指示光栅 的光线形成莫尔条纹投射在光电接收器。 上述光源是蓝光光源。  The technical solution of the present invention is: The monorail absolute grating of the present invention comprises a light source, a mirror, a landmark mark, an incremental scale grid, a glass substrate, an upper CMOS sensor, a lower CMOS sensor, a moving aperture, and a photoelectric a receiver, an indicating grating, wherein the light source and the mirror are combined to form an illumination light path, providing parallel light, the glass substrate is patterned with an equal width and an equidistant incremental scale grid line, and the glass substrate is parallelized under the incremental scale grid line An equidistant landmark mark, the upper left opening of the moving aperture, the opening is embedded with an indicator grating, and the right upper and lower symmetrical openings of the moving aperture are respectively embedded in the upper CMOS sensor and the lower CMOS for acquiring image information The sensor, and indicating that the grating is mounted close to the glass substrate, the mounting position of the upper CMOS sensor is aligned with the incremental scale grid line, the mounting position of the lower CMOS sensor is aligned with the milestone flag, the relative position of the light source, the moving diaphragm and the photoreceiver Fixedly mounted on the movable ruler, the movable ruler can move back and forth relative to the glass substrate, the light source, And a movable stop parallel to the photoreceptor motion simultaneously, the incremental scale and the index grating of the gate line forming moire fringes projected light photoreceptor. The above light source is a blue light source.
上述里程碑标志位所在行由若干等间距的栅线组成, 其下从零 点位置起, 每隔一定距离设置一个绝对位置标记就是里程碑标志位,  The above-mentioned milestone flag line consists of a number of equally spaced gate lines. From the zero position, an absolute position mark is set at a certain distance to be a milestone flag.
3 3
替换页 (细则第 26条) 里程碑标志位分为用于标志里程碑的出现与结束的里程碑编码边界 标志栅线, 用于进行编码, 扩大其位数, 即能扩大编码的范围的里程 碑条纹组内有效编码位;用于确定是否刻画栅线的具体位置的有效编 码栅线位, 刻画栅线处表示为 0, 不刻画栅线而留白, 此处表示为 1, 相邻里程碑标志位的间距为 d。 Replacement page (Article 26) The milestone flag is divided into milestone code boundary marker raster lines for marking the appearance and end of the milestone, which is used to encode and expand the number of bits, that is, the effective coded bits in the milestone stripe group that can expand the range of the code; The effective coded gate line of the specific position of the gate line is depicted, and the gate line is denoted as 0, and the gate line is not depicted and left blank, where it is represented as 1, and the distance between adjacent landmark marks is d.
上述有效编码栅线位共 16条, 两端的端线作为边界位始终刻画 栅线, 下侧 CMOS传感器一旦发现两端都经过就知道能读完整的里程 碑栅线阴影图形了。  The above-mentioned effective coded gate lines have a total of 16 lines, and the end lines at both ends are used as boundary points to always depict the gate lines. The lower side CMOS sensor knows that it can read the complete mileage grid line shadow pattern once it is found that both ends pass.
本发明应用单轨绝对光栅尺的图像编码方法,上述里程碑标志位 由若干条等宽度栅线位组成,其呈现二进制编码,成为第一编码条码, 光源与反射镜组合构成的照明光路提供的平行光通过增量标尺栅线 产生的栅线阴影条纹组成第二编码区,超过里程碑标志位编码视窗内 最后一个里程碑标志位后的栅线条纹组成的图像, 通过 CMOS传感器, 进行数字化采集, 得到二进制数字编码, 构成第二编码条码, 最后两 栅线线条内未及一个步长的余量则由 CMOS像元插入进行编码,此为第 三编码段, 三段编码进行组合, 可以得到一个有效位置码, 此位置码 对应标尺上的一个绝对位置, 换而言之, 光栅尺上的任何一个绝对位 置, 都有一个三段码组成的绝对编码相对应, 只要得到可靠的指示光 阑起始位置的绝对编码, 就可以通过求差, 得到行程的绝对距离。  The invention applies the image encoding method of the monorail absolute grating ruler, wherein the above-mentioned milestone flag bit is composed of a plurality of equal-width grid line bits, which presents a binary code to become the first coded bar code, and the parallel light provided by the illumination light path formed by the combination of the light source and the mirror The shadow line of the grid line generated by the incremental scale grid line constitutes the second coding area, and the image of the gate line stripe after the last milestone flag in the milestone flag coding window is digitally collected by the CMOS sensor to obtain a binary number. Coding, forming a second coded bar code, the margin of a step size in the last two raster lines is encoded by CMOS pixel insertion, which is a third code segment, and the three-segment code is combined to obtain a valid position code. , the position code corresponds to an absolute position on the scale, in other words, any absolute position on the scale has an absolute code composed of three segments, as long as a reliable indication of the starting position of the pupil is obtained. Absolute coding, you can get the absolute distance of the trip by the difference
上述下侧 CMOS传感器直接采集里程碑标志位的图像编码信息, 其 编码数值为 ^·,为第一绝对位置编码段, 即里程碑标志位对应的绝 对位置为  The lower CMOS sensor directly collects the image coding information of the landmark flag, and the coded value is ^·, which is the first absolute position code segment, that is, the absolute position corresponding to the milestone flag bit is
Mx' = Nx x d M x ' = N x xd
4  4
替换页 (细则第 26条) 上侧 CMOS传感器直接采集增量标尺栅线的图像, 并按照以下方法 进行编码: 当里程碑标志位条纹组完全出现在下侧 CMOS传感器 (7)的监视阵 列时, 对应的增量标尺栅线的条纹, 也瞬时出现在上侧 CMOS传感器 的阵列上, 这一条纹将被上侧 CMOS传感器锁定, 超过里程碑标志位 条纹组的标尺栅线条纹将以图像的形式加以保存和编码, 从图像中, 能迅速分辨出栅线的数量为 K, 设标尺栅线间距为 δ, 那么超过绝对 位置标志位的精确增量距离 L则通过对增量栅线图中暗纹数量 得 到, 如下: Replacement page (Article 26) The upper CMOS sensor directly captures the image of the incremental scale grid line and encodes it as follows: When the milestone flag stripe group appears completely in the monitor array of the lower CMOS sensor (7), the corresponding incremental scale grid line stripe , also instantaneously appear on the array of upper CMOS sensors, this stripe will be locked by the upper CMOS sensor, the scale grid line stripe beyond the milestone flag stripe group will be saved and encoded in the form of image, from the image, can Quickly distinguish the number of gate lines as K, and set the scale of the scale grid line to δ, then the exact incremental distance L beyond the absolute position marker is obtained by the number of dark lines in the incremental grid diagram, as follows:
= κ χ δ , 此为第二编码段;  = κ χ δ , this is the second code segment;
当指示光阑遮光区域左侧端线处于增量标尺光栅相邻栅线之间, 余量位移不足一个标尺栅线间间距,设此标尺栅线间测量余量为1 , 这段位移的测量精度将直接影响到全局的测量精度以及绝对编码的 客观性, 由于 左右 CMOS像元间距的 CMOS像元出现, CMOS像元尺寸 也越来越小, 标尺栅线间测量余量的编码即为第三段绝对编码; 上述标尺栅线间间距是指标尺光栅两个相邻栅线间的直线距离, 标尺栅线间测量余量是指指示光阑遮光区域左侧端线到里程碑最左 端的直线距离, CMOS像元尺寸是指 CMOS像元的宽度, CMOS像元间 距是指两个相邻 CMOS像元间的直线距离, 指示光阑遮光区域是指指 示光闹不透光的区域, 即不开口区域, 其表示了超过测量端区域, CMOS 像元间测量余量是指指示光阑遮光区域左侧端线到左端最近的 一个 CMOS像元的直线距离; When the left end line of the indicating light-shielding area is between the adjacent grid lines of the incremental scale grating, the residual displacement is less than the spacing between one scale grid lines, and the measurement margin between the scale lines of the scale is set to 1 , the measurement accuracy of the displacement It will directly affect the global measurement accuracy and the objectivity of absolute encoding. Due to the appearance of CMOS pixels with left and right CMOS pixel pitches, the CMOS pixel size is also smaller and smaller, and the encoding of the measurement margin between the scale bars is the third. Segment absolute coding; the distance between the above-mentioned scale grid lines is the linear distance between two adjacent grid lines of the scale grating, and the measurement margin between the scale grid lines refers to the linear distance from the left end line of the pupil light-shielding area to the leftmost end of the milestone. The CMOS pixel size refers to the width of the CMOS pixel, and the CMOS pixel pitch refers to the linear distance between two adjacent CMOS pixels, indicating that the light-shielding area refers to the area indicating the opaque light, that is, the non-opening area. , which indicates that the measurement end region is exceeded, and the measurement margin between the CMOS pixels refers to a linear distance indicating a CMOS pixel closest to the left end line of the pupil light-shielding region to the left end;
5  5
替换页 (细则第 26条) 第三段绝对编码分为两个部分,即标尺栅线间测量余量插入整数 个 CMOS像元的数值编码为 为第一部分编码; CMOS像元间测量余 量的行进显微细分值编码 这样则将编码扩大到分辨率级别, 标尺 栅线间测量余量的编码通过以下公式表达: Replacement page (Article 26) The third segment of absolute coding is divided into two parts, that is, the measurement margin between the scale grid lines is inserted into the integer CMOS pixel, and the numerical code is encoded as the first partial code; the traveling microscopic value of the measurement margin between the CMOS pixels is encoded. The code is expanded to the resolution level, and the code for the measurement margin between the scale bars is expressed by the following formula:
B Κ σ C B Κ σ C
最终的绝对位置编码由三部分组成: 里程碑标志位的编码、 增 量标尺光栅的栅线编码、标尺栅线间测量余量的编码, 由于标尺栅线 间测量余量细分位置编码中 C部分仅为分辨率级别,所以只保存 部 分, 经三段编码、 解码, 得到任意绝对位置 The final absolute position coding consists of three parts: the coding of the milestone flag, the grid code of the incremental scale grating, the coding of the measurement margin between the scale grid lines, and the C part of the position coding due to the measurement margin between the scales. Only the resolution level, so only save the part, after three-stage encoding, decoding, get any absolute position
Β X σ  Β X σ
Mx = Nx X d + K X 5 i-—^- 上述指示光栅产生的莫尔条纹, 作为低精度编码, 和 CMOS得到的 绝对位置进行对比分析, 若误差在合理范围内, 则认定编码正常; 若 超出误差范围, 则认为编码错误, 重新读取图像信息进行相关的编码 对比, 新的码值如等于前面分析数据的某一个, 则认为重新编码的码 值正确, 反之则输出光栅尺故障报警信息。 M x = N x X d + KX 5 i-—^- The above-mentioned moire fringes generated by the grating are compared as the low-precision coding and the absolute position obtained by the CMOS. If the error is within a reasonable range, the code is determined to be normal. If the error range is exceeded, the coding error is considered, and the image information is re-read for correlation coding. If the new code value is equal to one of the previous analysis data, the code value of the re-encoding is considered correct, and vice versa. Alarm information.
上述里程碑标志位由 14条等宽度栅线位组成, 其呈现二进制编 码, 14条栅线能组成从 0-16383范围的数字。  The above-mentioned milestone flag is composed of 14 equal-width gate lines, which are binary coded, and 14 gate lines can form numbers ranging from 0-16383.
上述最后一个标尺栅线间间距利用投射显微放大技术平均放大 10倍, 这段距离内将平均分布 100个像素单元, 将标尺栅线间间距  The spacing between the last scales of the above-mentioned scales is magnified 10 times by the projection micro-amplification technique, and an average of 100 pixel units will be distributed in this distance, and the spacing between the scales of the scales will be
6 6
替换页 (细则第 26条) 间距离等分成 100份, 即测量精度达到 ο·1 ^, 即十分之一 CMOS像元 间距。 上述标尺栅线间测量余量根据上述十分之一 CMOS像元间距的精 度加以精确量化, 而指示光阑遮光区域左侧端线在像素间的行进距 离, 即 CMOS像元间测量余量通过电子细分为 128份, 使得分辨率达 σ Replacement page (Article 26) The distance between the two is equally divided into 100 parts, that is, the measurement accuracy is ο· 1 ^, that is, one tenth of the CMOS pixel pitch. The measurement margin between the above-mentioned scale grid lines is accurately quantized according to the precision of the above-mentioned one-tenth CMOS pixel pitch, and indicates the distance traveled between the pixels on the left end line of the pupil light-shielding region, that is, the measurement margin between the CMOS pixels passes through the electron Subdivided into 128 copies, making the resolution σ
到 1280以内。 Within 1280.
上述上侧 CMOS传感器对准增量标尺栅线,下侧 CMOS传感器对准 里程碑标志位, 高速运动时, 利用里程碑标志位定位, 减少图像采集 的数据量, 提高直线运动的速度, 当运动的目标附近时, 减速采集分 析增量标尺栅线的编码信息。 本发明与现有技术相比, 具有如下优点:  The upper CMOS sensor is aligned with the incremental scale grid line, and the lower CMOS sensor is aligned with the milestone flag. When moving at high speed, the landmark marker position is used to reduce the amount of data collected by the image, and the speed of the linear motion is increased. When nearby, the deceleration acquisition analyzes the coding information of the incremental scale grid. Compared with the prior art, the invention has the following advantages:
1 ) 本发明通过单轨光栅进行绝对编码, 避免了多轨光栅制造 的低成品率, 同时降低了制造成本。  1) The present invention performs absolute encoding by a monorail grating, which avoids low yield of multi-track grating manufacturing and reduces manufacturing costs.
2)本发明利用了 CMOS传感技术,提高了图像信息采集的速度, 借助半导体器件的加工精度, 间接提高编码的测量精度。  2) The invention utilizes CMOS sensing technology to improve the speed of image information acquisition, and indirectly improve the measurement accuracy of the encoding by means of the processing precision of the semiconductor device.
3) 本发明引入了显微放大技术, 将最后一对栅线间余量进行 放大, 利用像元插入模式, 进一步提高位置编码的精度。  3) The present invention introduces a microscopic amplification technique, which amplifies the margin between the last pair of gate lines, and further improves the accuracy of position coding by using the pixel insertion mode.
4) 本发明降低了传统增量式编码在测量中的重要性, 但保留 其部分功能, 为误码纠错提供了参考, 从而提高了绝对光栅尺编 码、 解码的可靠性, 同时为绝对光栅尺失效时, 做为备份测量工 具, 在故障状态下保证光栅尺一定的测量功能。 本发明是一种设计巧妙, 性能优良, 方便实用的单轨绝对光栅尺  4) The invention reduces the importance of the traditional incremental coding in the measurement, but retains some of its functions, and provides a reference for error correction, thereby improving the reliability of the absolute grating coding and decoding, and at the same time being an absolute grating. When the ruler fails, it is used as a backup measurement tool to ensure a certain measurement function of the scale in the fault state. The invention is a monorail absolute grating with ingenious design, excellent performance and convenient and practicality.
替换页 (细则第 26条) 及其图像编码方法。 Replacement page (Article 26) And its image coding method.
附图说明  DRAWINGS
图 1为本发明的单轨绝对光栅尺的结构示意图。  1 is a schematic view showing the structure of a monorail absolute scale of the present invention.
图 2本发明的绝对光栅尺光栅尺栅线构成示意图。  2 is a schematic view showing the structure of an absolute grating scale grating line of the present invention.
图 3本发明的绝对光栅尺标尺光栅栅线间细分测量示意图。  Fig. 3 is a schematic diagram showing the subdivision measurement between the grating scales of the absolute grating scale of the present invention.
具体实施方式  detailed description
实施例: 本发明单轨绝对光栅尺的结构示意图的结构示意图如图 1所示, 在图 1中, 光源 1、 反射镜 2组合构成照明光路, 可以提供一定光强 的平行光, 本实施例中, 光源 1是蓝光光源, 是一种特种光源。 平行 光的光线投射到里程碑标志位 3和增量标尺栅线 4时,栅线的投影会 被上侧 CMOS传感器 6和下侧 CMOS传感器 7分别扫描接收,两个 CMOS 传感器镶嵌在移动光阑 8上, 光源 1、 反射镜 2、 移动光阑 8、 光电 接收器 9相对位置固定组成动尺测量系统, 都平行于玻璃基板移动, 外部和测量端机构连接, 移动光阑 8上嵌入一指示光栅 10, 光线通 过标尺栅线 4和指示光栅 10后产生的莫尔条纹被光电接收器 9接收, 形成模拟增量信号。 图 1中, 下侧 CMOS传感器 7可以直接采集里程 碑标志位 3图像的编码信息,其编码数值为 ,为第一绝对位置编码 段, 即里程碑标志位 (3 ) 对应的绝对位置为  Embodiments: A schematic structural view of a schematic diagram of a monorail absolute grating of the present invention is shown in FIG. 1. In FIG. 1, a light source 1 and a mirror 2 are combined to form an illumination light path, which can provide parallel light of a certain light intensity, in this embodiment. The light source 1 is a blue light source and is a special light source. When the light of the parallel light is projected to the landmark mark 3 and the incremental scale gate line 4, the projection of the gate line is separately scanned and received by the upper CMOS sensor 6 and the lower CMOS sensor 7, and the two CMOS sensors are embedded in the moving aperture 8 Above, the light source 1, the mirror 2, the moving aperture 8, and the relative position of the photoelectric receiver 9 are fixed to form a dynamic measuring system, which are parallel to the glass substrate, and the external and measuring end mechanisms are connected, and an indicating grating is embedded on the moving aperture 8 10. The light passes through the scale grid 4 and the moiré fringes generated after indicating the grating 10 are received by the photoreceiver 9 to form an analog incremental signal. In Fig. 1, the lower side CMOS sensor 7 can directly collect the encoding information of the image of the milestone flag 3, and the coded value is , which is the first absolute position encoding segment, that is, the absolute position corresponding to the milestone flag bit (3) is
而上侧 CMOS传感器 6可以直接采集增量标尺栅线图像, 但要依靠 以下技术进行编码。 增量栅线图像编码技术如下: 如图 2中, 当里程碑标志位 3条纹组的标志栅线完全出现在下侧 CMOS监视阵列时,对应的增量标尺栅线条纹,也瞬时出现在上侧 CMOS The upper CMOS sensor 6 can directly acquire the incremental scale grid image, but relies on the following techniques for encoding. The incremental gate line image coding technique is as follows: As shown in Fig. 2, when the landmark gate line of the landmark flag 3 stripe group is completely present in the lower side CMOS monitor array, the corresponding incremental scale grid line stripe also appears instantaneously in the upper side CMOS.
8  8
替换页 (细则第 26条) 传感阵列上, 这一条纹将被图像电子系统锁定, 超过里程碑标志位 3 条纹组的栅线条纹将以图像的形式加以保存和编码。从图像中, 可以 迅速分辨出暗线的数量为 K, 设标尺栅线间距为 δ, 那么超过绝对位 置标志位的精确增量距离 L则可以通过对增量栅线图中的栅线数量 Κ 得到, 如下 L = K x S 此为第二编码段, 和第一编码段结合, 将进一步提高动尺测端的位置 测量的精确度。里程碑标志位 3分为几个部分, 即里程碑编码边界标 志栅线 12、 里程碑条紋组内有效编码位 11、 有效编码栅线位 13, 相 邻里程碑标志位 3的间距为 d, 边界便于扫描定位, 有效编码栅线位 13可以刻画栅线, 表示为 0, 也可以留白表示为 1, 相邻里程碑标志 位 3的间距为 d确定了编码定位的粗略步长。 如图 3, 指示光阑遮光区域 19左侧端线处于标尺光栅两相邻栅 线之间, 余量位移不足一个栅线间距时, 设此标尺栅线间测量余量 16 为 1L, 这段位移的测量精度将直接影响到全局的测量精度以及绝 对编码的客观性。 在此充分利用到 CMOS 发展的新技术, 由于 左右Replacement page (Article 26) On the sensing array, this stripe will be locked by the image electronics, and the stripe stripe beyond the milestone flag 3 stripe set will be saved and encoded as an image. From the image, it can be quickly recognized that the number of dark lines is K, and the distance between the ruler grid lines is δ, then the precise incremental distance L exceeding the absolute position mark can be obtained by counting the number of gate lines in the incremental grid diagram. L = K x S This is the second code segment, combined with the first code segment, which will further improve the accuracy of the position measurement of the measuring end of the movable ruler. The milestone flag 3 is divided into several parts, namely, the milestone code boundary marker gate line 12, the effective coded bit position 11 in the milestone stripe group, the effective coded gate line level 13, and the adjacent milestone flag bit 3 are spaced by d, and the boundary is convenient for scanning. Positioning, the effective coded gate line 13 can depict the gate line, denoted as 0, or blank, denoted as 1, and the spacing of the adjacent milestone flag 3 is d to determine the coarse step size of the coded positioning. As shown in FIG. 3, it is indicated that the left end line of the pupil light-shielding region 19 is between two adjacent grid lines of the scale grating, and when the residual displacement is less than one gate line spacing, the measurement margin 16 between the scale grid lines is set to 1L, and the displacement is The measurement accuracy will directly affect the global measurement accuracy and the objectivity of absolute coding. Here we make full use of the new technology of CMOS development, due to the left and right
CMOS像元间距 18的 CMOS像元 14出现, CMOS像元尺寸 17也越来越 小, 细分技术进一步升级。利用投射显微放大技术, 可以将最后一个 标尺栅线间间距 15平均放大 10倍, 假定这段距离内将平均分布 100 个像素单元, 将两栅线间距离等分成 100 份, 即测量精度可以达到The CMOS pixel 14 of the CMOS pixel pitch 18 appears, the CMOS pixel size 17 is also getting smaller and smaller, and the subdivision technology is further upgraded. Using the projection micro-amplification technique, the spacing between the last scale grid lines 15 can be averaged by a factor of 10, assuming that the distance between the two grid lines is evenly distributed by 100 pixels, the distance between the two grid lines is equally divided into 100 parts, that is, the measurement accuracy can be achieve
0.1 o, 动尺测端在像素间的行进距离还可以通过电子细分为 128份, σ 0.1 o, the distance traveled between the pixels can also be subdivided into 128 by electronic, σ
使得分辨率可以达到 以内。这部分的编码即第三段绝对编码,这 This allows resolution to be achieved. This part of the code is the third paragraph of absolute coding, which
9  9
替换页 (细则第 26条) 段编码可以分为两个部分,即标尺栅线间测量余量 1插入整数个像元 的数值编码为 A 为第一部分编码; CMOS像元间测量余量(20) 的行 进显微细分值编码 这样则可以将编码扩大到分辨率级别, 如下所 示, 标尺栅线间测量余量 4可以通过以下公式表达 Replacement page (Article 26) The segment coding can be divided into two parts, that is, the measurement margin between the ruler grid lines is inserted into the integer number of pixels, and the code is coded as A for the first part of the code; the traveling microscopic value of the measurement margin (20) between the CMOS pixels Encoding can expand the encoding to the resolution level. As shown below, the measurement margin between the scale bars can be expressed by the following formula.
B Χ σ C B Χ σ C
II = + X σ  II = + X σ
10 1280  10 1280
最终的绝对位置编码由三部分组成: 里程碑绝对参考点标志位 编码、相对位置编码、 细分位置编码, 由于细分位置编码中 C部分仅 为分辨率级别, 所以只保存 部分。 The final absolute position coding consists of three parts: Milestone absolute reference point marker code, relative position coding, subdivision position coding, since the C part of the subdivision position coding is only the resolution level, only the part is saved.
经三段编码、 解码, 就可以得到绝对位置  After three stages of encoding and decoding, you can get the absolute position.
Β X σ  Β X σ
Μχ = Νχ Χ ά + Κ Χ δ +—^- 上述指示光栅 10产生的莫尔条纹, 作为低精度编码, 和 CMOS得到 的绝对位置进行对比分析, 若误差在合理范围内, 则认定编码正常; 若超出误差范围, 则认为编码错误, 重新读取图像信息进行相关的编 码对比, 新的码值如等于前面分析数据的某一个, 则认为重新编码的 码值正确, 反之则输出光栅尺故障报警信息。 Μ χ = Ν χ Χ ά + Κ δ δ + -^- The above indicates the moire fringes generated by the grating 10, as a low-precision coding, and the absolute position obtained by the CMOS is compared and analyzed. If the error is within a reasonable range, the code is determined. Normal; if the error range is exceeded, the coding error is considered, and the image information is re-read for correlation coding. If the new code value is equal to one of the previous analysis data, the code value of the re-encoding is considered correct, and vice versa. Fault alarm information.
本发明的工作原理如下:增量标尺光栅下平行排列并等距刻画了 里程碑绝对参考点位置标志, 此标志为若干条栅线组成。可以编码的 方式很多, 有二进制和十进制等。 以二进制为例, 16条栅线位, 左右 端面处栅线位始终刻画不透光光栅, 作为编码边界标志, 中间 14条栅  The working principle of the invention is as follows: the incremental scale grating is arranged in parallel and equidistantly depicting the landmark absolute reference point position mark, which is composed of several grid lines. There are many ways to encode, such as binary and decimal. Taking binary as an example, 16 gate lines, the grid lines at the left and right end faces always depict the opaque grating, as the code boundary mark, the middle 14 grids
10 10
替换页 (细则第 26条) 线位中, 每条栅线位对应着一个唯一的数字 0或 1, 共可以组成一万余 组不同的数字编码, 如相邻两里程碑间距为 lmm, 可编码范围将超过 10m。 指示光阑上有三个开孔, 左上一个可以透光, 安放有指示光栅, 其与标尺光栅所形成的莫尔条纹信号可以被光电接收器接收。右边开 有等宽度光阑开口, 上下分别嵌入一块 CMOS感光元件, 上侧 CMOS用来 搜集增量标尺栅线图像信息,而下侧 CMOS用来识别里程碑绝对位置标 志, 由下侧 CMOS检测到的里程碑绝对位置编码为第一编码分段 , 由 上侧 CMOS得到的栅线投影暗区条紋个数编码为第二编码分段 两相 令 I栅线间位移余量显微放大 10倍, 细分插入的像素个数编码为 A 最 编码段。 设相邻两里程碑间距为 2mm, 标尺栅线间距为 ^ = 10#«»,Replacement page (Article 26) In the line position, each grid line bit corresponds to a unique number 0 or 1, which can form more than 10,000 sets of different digital codes. For example, the adjacent two milestones have a spacing of 1 mm, and the codeable range will exceed 10 m. There are three openings on the indicating diaphragm, and the upper left one can transmit light, and the indicating grating is placed, and the moire fringe signal formed by the grating with the scale grating can be received by the photoelectric receiver. An equal-width aperture opening is formed on the right side, and a CMOS photosensitive element is embedded on the upper and lower sides, the upper side CMOS is used to collect the incremental scale grid image information, and the lower side CMOS is used to identify the landmark absolute position mark, which is detected by the lower side CMOS. The milestone absolute position code is the first code segment, and the number of the dark line stripes obtained by the upper CMOS is coded as the second code segment. The two-phase is the micro-magnification 10 times magnification between the I grid lines. The number of pixels to be inserted is encoded as the A most encoded segment. Let the distance between two adjacent milestones be 2mm, and the spacing of the scale grid lines be ^ = 10#«»,
CMOS像素间距为 = «n, 那么绝对位置 ^ 可以由以下公式得到: The CMOS pixel pitch is = «n, then the absolute position ^ can be obtained by the following formula:
Β Χ σ C Β Χ σ C
Μχ = Νχ X d + Κ X δ + + X σ Μ χ = Ν χ X d + Κ X δ + + X σ
χ χ 10 1280 由于第三编码段内 C码值代表这分辨率级别, 还无法上升到精度 级别, 所以最终的绝对位置编码将由 、 κ、 三个编码段组成。 指 示光阑每移动到一个位置, 光阑内上下侧的 CMOS将得到 、 K、 >5的编 码信息, 通过计算解码, 即可以得到当前的绝对位置信息。 由于保留 了传统的增量式编码方式,可以将图像得到的编码信息与传统增量式 编码信息进行比较, 如果误差在允许范围内, 则顺利输出, 否则再次 采样对比, 如仍然不符, 则输出故障信息。 χ χ 10 1280 Since the C code value in the third code segment represents this resolution level, it cannot rise to the accuracy level, so the final absolute position code will consist of κ and three code segments. Each time the indicator diaphragm is moved to a position, the CMOS on the upper and lower sides of the aperture will obtain the encoded information of K, >5, and the current absolute position information can be obtained by calculation and decoding. Since the traditional incremental coding mode is retained, the coded information obtained by the image can be compared with the traditional incremental coded information. If the error is within the allowable range, the output is smooth, otherwise the sample is compared again, and if it still does not match, the output is output. accident details.
11 11
替换页 (细则第 26条)  Replacement page (Article 26)

Claims

权 利 要 求 书 Claim
1、 一种单轨绝对光栅尺, 其特征在于包括有光源(1 ) 、 反射镜 (2 ) 、 里程碑标志位 (3) 、 增量标尺栅线 (4) 、 玻璃基板 (5) 、 上侧 CMOS传感器 (6) 、 下侧 CMOS传感器 (7) 、 移动光阑 (8) 、 光电接收器 (9 ) 、 指示光栅 (10) , 其中光源 (1 ) 与反射镜 (2) 组合构成照明光路, 提供一定光强的平行光, 玻璃基板 (5) 上刻画 有等宽、 等距的增量标尺栅线 (4) , 玻璃基板(5)在增量标尺栅线A monorail absolute grating characterized by comprising a light source (1), a mirror (2), a milestone flag (3), an incremental scale grid (4), a glass substrate (5), an upper CMOS a sensor (6), a lower CMOS sensor (7), a moving aperture (8), a photoreceiver (9), an indicating grating (10), wherein the light source (1) and the mirror (2) are combined to form an illumination light path, Parallel light of a certain intensity, the glass substrate (5) is depicted with an equal-width, equidistant incremental scale grid line (4), and the glass substrate (5) is on the incremental scale grid line
(4) 的下方刻画有平行等距的里程碑标志位 (3) , 移动光阑 (8 ) 的左上方开口, 该开口内嵌指示光栅 (10) , 移动光阑 (8) 的右边 上下对称开口, 该对称开口分别嵌入用于采集图像信息的上侧 CMOS 传感器 (6) 和下侧 CMOS传感器 (7) , 且指示光栅 (10) 紧贴玻璃 基板 (5) 安装, 上侧 CMOS传感器 (6) 的安装位置对准增量标尺栅 线(4), 下侧 CMOS传感器(7)的安装位置对准里程碑标志位(3), 光源 (1 ) 、 移动光阑 (8) 以及光电接收器 (9) 相对位置固定装设 在动尺 (21 ) 上, 动尺 (21 ) 相对玻璃基板 (5) 能前后移动, 光源The bottom of (4) is marked with a parallel equidistant landmark mark (3), the upper left opening of the moving aperture (8), the opening is embedded with the indicator grating (10), and the right side of the moving aperture (8) is symmetrically open. The symmetrical opening respectively embeds an upper CMOS sensor (6) and a lower CMOS sensor (7) for acquiring image information, and indicates that the grating (10) is mounted close to the glass substrate (5), and the upper CMOS sensor (6) The mounting position is aligned with the incremental scale grid line (4), and the mounting position of the lower CMOS sensor (7) is aligned with the milestone flag (3), the light source (1), the moving diaphragm (8), and the photoreceiver (9). The relative position is fixedly mounted on the movable ruler (21), and the movable ruler (21) can move back and forth with respect to the glass substrate (5), the light source
( 1 ) 、 移动光阑 (8) 以及光电接收器 (9) 能同时平行运动, 增量 标尺栅线 (4) 和指示光栅 (10) 的光线形成莫尔条纹投射在光电接 收器 (9) 。 (1), moving diaphragm (8) and photoreceiver (9) can move in parallel at the same time, the incremental scale grid line (4) and the light indicating the grating (10) form moire fringes projected on the photoreceiver (9) .
2、 根据权利要求 1所述的单轨绝对光栅尺, 其特征在于上述光 源 (1 ) 是蓝光光源。 2. A monorail absolute scale according to claim 1, characterized in that said light source (1) is a blue light source.
3、 根据权利要求 1所述的单轨绝对光栅尺, 其特征在于上述里 程碑标志位 (3) 所在行由若干等间距的栅线组成, 其下从零点位置  3. The monorail absolute scale according to claim 1, wherein the line of the milestone mark (3) is composed of a plurality of equally spaced gate lines, and the lower position is from the zero point.
12 12
替换页 (细则第 26条) 起, 每隔一定距离设置一个绝对位置标记就是里程碑标志位 (3 ) , 里程碑标志位 (3 ) 分为用于标志里程碑的出现与结束的里程碑编码 边界标志栅线(12 ) , 用于进行编码, 扩大其位数, 即能扩大编码的 范围的里程碑条纹组内有效编码位(11 ); 用于确定是否刻画栅线的 具体位置的有效编码栅线位 (13) , 刻画栅线处表示为 0, 不刻画栅 线而留白, 此处表示为 1, 相邻里程碑标志位 (3 ) 的间距为^ Replacement page (Article 26) As a result, an absolute position mark is set at a certain distance to be the milestone flag (3), and the milestone flag (3) is divided into a milestone code boundary flag line (12) for marking the appearance and end of the milestone for encoding. , expanding its number of bits, that is, the effective coded bits (11) in the milestone stripe group that can expand the range of the code; the effective coded gate line (13) for determining whether to mark the specific position of the gate line, and the gate line is represented as 0, not to draw the grid line and leave white, here is represented as 1, the spacing of the adjacent milestone flag (3) is ^
4、 根据权利要求 3所述的单轨绝对光栅尺, 其特征在于上述有 效编码栅线位(13)共 16条, 两端的端线作为边界位始终刻画栅线, 下侧 CMOS传感器(7 )—旦发现两端都经过就知道能读完整的里程碑 栅线阴影图形了。  4. The monorail absolute scale according to claim 3, wherein the effective coded gate line (13) has a total of 16 strips, and the end lines at both ends are used as boundary points to always depict the gate line, and the lower side CMOS sensor (7) I found that both ends passed and I knew I could read the complete milestone shadow pattern.
5、 一种应用权利要求 1所述的单轨绝对光栅尺的图像编码方法, 其特征在于上述里程碑标志位 (3) 由若干条等宽度栅线位组成, 其 呈现二进制编码, 成为第一编码条码, 光源(1 )与反射镜(2)组合 构成的照明光路提供的平行光通过增量标尺栅线 (4) 产生的栅线阴 影条纹组成第二编码区, 超过里程碑标志位 (3) 编码视窗内最后一 个里程碑标志位 (3) 后的栅线条纹组成的图像, 通过 CMOS传感器, 进行数字化采集, 得到二进制数字编码, 构成第二编码条码, 最后两 栅线线条内未及一个步长的余量则由 CMOS像元插入进行编码,此为第 三编码段, 三段编码进行组合, 可以得到一个有效位置码, 此位置码 对应标尺上的一个绝对位置, 换而言之, 光栅尺上的任何一个绝对位 置, 都有一个三段码组成的绝对编码相对应, 只要得到可靠的指示光 阑起始位置的绝对编码, 就可以通过求差, 得到行程的绝对距离。  5. An image encoding method for applying a monorail absolute scale according to claim 1, wherein said milestone flag (3) is composed of a plurality of equal width gate lines, which exhibit a binary code to become a first coded barcode. The parallel light provided by the illumination light path formed by the combination of the light source (1) and the mirror (2) constitutes the second coding area by the shadow line stripes generated by the incremental scale grid line (4), exceeding the milestone flag (3) coding window The image of the grid line stripe after the last milestone flag (3) is digitally acquired by the CMOS sensor, and the binary digital code is obtained to form the second coded barcode. The last two grid lines are less than one step. The quantity is encoded by CMOS pixel insertion. This is the third code segment, and the three-segment code is combined to obtain a valid position code. The position code corresponds to an absolute position on the scale, in other words, on the scale. Any absolute position has an absolute code consisting of three segments, as long as a reliable indicator is obtained. The absolute encoding of the starting position, you can get the absolute distance of the stroke by the difference.
6、 根据权利要求 5所述的图像编码方法, 其特征在于上述下侧  6. The image encoding method according to claim 5, wherein said lower side
13 13
替换页 (细则第 26条) CMOS传感器 (7)直接采集里程碑标志位 (3) 的图像编码信息, 其编 码数值为 , 为第一绝对位置编码段, 即里程碑标志位 (3) 对应 的绝对位置为 Replacement page (Article 26) The CMOS sensor (7) directly acquires the image coding information of the milestone flag bit (3), and the coded value is the first absolute position code segment, that is, the absolute position corresponding to the milestone flag bit (3) is
Mx' = Nx x d M x ' = N x xd
上侧 CMOS传感器 (6)直接采集增量标尺栅线 (4) 的图像, 并按照 以下方法进行编码: 当里程碑标志位(3)条纹组完全出现在下侧 CMOS传感器 (7)的监 视阵列时,对应的增量标尺栅线(4)的条纹,也瞬时出现在上侧 CMOS 传感器 (6)的阵列上, 这一条纹将被上侧 CMOS传感器 (6) 锁定, 超 过里程碑标志位 (3 ) 条纹组的标尺栅线条纹将以图像的形式加以保 存和编码, 从图像中, 能迅速分辨出栅线的数量为 A 设标尺栅线间 距为 δ,那么超过绝对位置标志位的精确增量距离 则通过对增量栅 线图中暗纹数量 得到, 如下:  The upper CMOS sensor (6) directly captures the image of the incremental scale grid (4) and encodes it as follows: When the milestone flag (3) stripe group appears completely on the monitor array of the lower CMOS sensor (7), The stripe of the corresponding incremental scale grid (4) also appears instantaneously on the array of upper CMOS sensors (6), which will be locked by the upper CMOS sensor (6), exceeding the milestone flag (3) stripe The set of ruler grid lines will be saved and encoded in the form of an image. From the image, the number of gate lines can be quickly identified as A. The scale line spacing is δ, then the precise incremental distance beyond the absolute position mark is Obtained by the number of dark lines in the incremental grid diagram, as follows:
L = K 6 , 此为第二编码段; L = K 6 , this is the second code segment;
当指示光阑遮光区域 (19 ) 左侧端线处于增量标尺光栅 (4)相邻 栅线之间, 余量位移不足一个标尺栅线间间距(15) , 设此标尺栅线 间测量余量 (16 ) 为、 L , 这段位移的测量精度将直接影响到全局的 测量精度以及绝对编码的客观性, 由于 左右 CMOS像元间距(18 )的 CMOS像元 (14) 出现, CMOS像元尺寸 (17) 也越来越小, 标尺栅线 间测量余量 (16) 的编码即为第三段绝对编码; 上述标尺栅线间间距(15)是指标尺光栅两个相邻栅线间的直线 距离, 标尺栅线间测量余量(16)是指指示光阑遮光区域(19)左侧  When the left end line of the indicating pupil shading area (19) is between the adjacent grid lines of the incremental scale grating (4), the margin displacement is less than the spacing between one scale grid lines (15), and the margin between the scale lines is set. (16) For, L, the measurement accuracy of this displacement will directly affect the global measurement accuracy and the objectivity of absolute coding, due to the presence of CMOS pixels (14) with left and right CMOS pixel spacing (18), CMOS pixel size (17) is also getting smaller and smaller, the coding of the measurement margin (16) between the scale grid lines is the third section absolute coding; the spacing between the above-mentioned scale grid lines (15) is between the two adjacent grid lines of the indicator scale grating Straight line distance, the measurement margin between the scale grid lines (16) refers to the left side of the light-shielding area (19)
14  14
替换页 (细则第 26条) 端线到里程碑最左端的直线距离, CMOS 像元尺寸 (17 ) 是指 CMOS 像元的宽度, CMOS像元间距 (18 ) 是指两个相邻 CMOS像元间的直 线距离, 指示光阑遮光区域(19)是指指示光阑不透光的区域, 即不 开口区域, 其表示了超过测量端区域, CMOS像元间测量余量 (20) 是指指示光阑遮光区域 (19) 左侧端线到左端最近的一个 CMOS像元 的直线距离; 第三段绝对编码分为两个部分, 即标尺栅线间测量余量(16)插 入整数个 CMOS像元(14)的数值编码为 A 为第一部分编码; CMOS像 元间测量余量 (20) 的行进显微细分值编码 C, 这样则将编码扩大到 分辨率级别, 标尺栅线间测量余量 (16) 的编码通过以下公式表达: Replacement page (Article 26) The linear distance from the end line to the leftmost point of the milestone, the CMOS cell size (17) refers to the width of the CMOS cell, and the CMOS cell pitch (18) refers to the linear distance between two adjacent CMOS cells, indicating the pupil shading area. (19) refers to the area indicating the opaque light, that is, the non-opening area, which indicates that the measurement end area is exceeded. The measurement margin between the CMOS pixels (20) refers to the left end line of the light-shielding area (19). The linear distance from the nearest CMOS pixel to the left end; the third segment of absolute coding is divided into two parts, that is, the measurement margin between the scale grid lines (16) is inserted into the integer CMOS pixel (14) and the numerical code is A. Part of the encoding; the traveling subdivision value of the CMOS inter-pixel measurement margin (20) encodes C, which expands the encoding to the resolution level, and the encoding of the inter-gate inter-line measurement margin (16) is expressed by the following formula:
B Χ σ C B Χ σ C
\L + X σ  \L + X σ
10 1280  10 1280
最终的绝对位置编码由三部分组成: 里程碑标志位 (3)的编码、 增量标尺光栅(4) 的栅线编码、 标尺栅线间测量余量(16) 的编码, 由于标尺栅线间测量余量(16)细分位置编码中 C部分仅为分辨率级 别, 所以只保存 部分, 经三段编码、 解码, 得到任意绝对位置 The final absolute position coding consists of three parts: the coding of the milestone flag (3), the gate line coding of the incremental scale grating (4), the coding of the measurement margin between the scales (16), due to the measurement between the scales of the scale The remainder of the (16) subdivision position coding is only the resolution level, so only the part is saved, and the three sections are encoded and decoded to obtain any absolute position.
Β X σ  Β X σ
Μχ = Νχ X d + Κ X S + ιο 上述指示光栅 (10) 产生的莫尔条纹, 作为低精度编码, 和 CMOS 得到的绝对位置进行对比分析, 若误差在合理范围内, 则认定编码正 常; 若超出误差范围, 则认为编码错误, 重新读取图像信息进行相关 Μ χ = Ν χ X d + Κ XS + ιο The above-mentioned moire fringes generated by the grating (10) are compared as the low-precision coding and the absolute position obtained by the CMOS. If the error is within a reasonable range, the code is determined to be normal. If the error range is exceeded, the coding error is considered, and the image information is re-read for correlation.
15  15
替换页 (细则第 26条) 的编码对比, 新的码值如等于前面分析数据的某一个, 则认为重新编 码的码值正确, 反之则输出光栅尺故障报警信息。 Replacement page (Article 26) The coding comparison, if the new code value is equal to one of the previous analysis data, it is considered that the re-encoded code value is correct, and vice versa, the grating rule fault alarm information is output.
7、 根据权利要求 6所述的图像编码方法, 其特征在于上述里程碑 标志位 (3 ) 由 14条等宽度栅线位组成, 其呈现二进制编码, 14条 栅线能组成从 0-16383范围的数字。  7. The image encoding method according to claim 6, wherein said milestone flag bit (3) is composed of 14 equal-width gate line bits, which exhibit binary code, and 14 gate lines can be composed from 0-6383. digital.
8、 根据权利要求 6所述的图像编码方法, 其特征在于上述最后 一个标尺栅线间间距 (15 ) 利用投射显微放大技术平均放大 10倍, 这段距离内将平均分布 100个像素单元, 将标尺栅线间间距(15)间 距离等分成 100份, 即测量精度达到 ο·1 , 即十分之一 CMOS像元间 距 (18 ) 。 8. The image encoding method according to claim 6, wherein the spacing (15) between the last scale lines is averaged by a factor of 10 using a projection micro-amplification technique, and an average of 100 pixel units are distributed within the distance. The distance between the scales of the scale grids (15) is equally divided into 100 parts, that is, the measurement accuracy is ο· 1 , that is, one tenth of the CMOS pixel pitch (18).
9、 根据权利要求 8所述的图像编码方法, 其特征在于上述标尺 栅线间测量余量 (16) 根据上述十分之一 CMOS像元间距 (18) 的精 度加以精确量化, 而指示光阑遮光区域(19)左侧端线在像素间的行 进距离, 即 CMOS像元间测量余量 (20) 通过电子细分为 128份, 使 9. The image encoding method according to claim 8, wherein said scale inter-wire measurement margin (16) is accurately quantized according to the accuracy of said one-tenth CMOS pixel pitch (18), and said indicating aperture The distance traveled between the pixels on the left end line of the shading area (19), that is, the measurement margin between the CMOS pixels (20) is electronically subdivided into 128 copies.
σ  σ
得分辨率达到 以内。 The resolution is within.
10、根据权利要求 6所述的图像编码方法, 其特征在于上述上侧 CMOS传感器 (6) 对准增量标尺栅线 (4) , 下侧 CMOS传感器 (7 ) 对准里程碑标志位(3), 高速运动时, 利用里程碑标志位(3)定位, 减少图像采集的数据量,提高直线运动的速度,当运动的目标附近时, 减速采集分析增量标尺栅线 (4) 的编码信息。  10. The image encoding method according to claim 6, wherein said upper CMOS sensor (6) is aligned with the incremental scale gate line (4), and the lower CMOS sensor (7) is aligned with the milestone flag (3). When moving at high speed, use the landmark mark (3) to locate, reduce the amount of data collected by the image, and increase the speed of the linear motion. When the target of the motion is near, decelerate the acquisition and analysis of the coding information of the incremental scale grid (4).
16 - 替换页 (细则第 26条) 16 - Replacement page (Article 26)
PCT/CN2013/075432 2012-05-24 2013-05-10 Single-track absolute grating scale and image encoding method thereof WO2013174216A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE201311002653 DE112013002653T5 (en) 2012-05-24 2013-05-10 Monorail absolute grid scales and their picture coding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210165294.4 2012-05-24
CN201210165294.4A CN102706373B (en) 2012-05-24 2012-05-24 Single-track absolute grating scale and image coding method thereof

Publications (1)

Publication Number Publication Date
WO2013174216A1 true WO2013174216A1 (en) 2013-11-28

Family

ID=46899324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075432 WO2013174216A1 (en) 2012-05-24 2013-05-10 Single-track absolute grating scale and image encoding method thereof

Country Status (3)

Country Link
CN (1) CN102706373B (en)
DE (1) DE112013002653T5 (en)
WO (1) WO2013174216A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014112459A1 (en) * 2014-08-29 2016-03-03 Ic-Haus Gmbh Optical position encoder
CN107560546A (en) * 2017-10-11 2018-01-09 长光(沧州)光栅传感技术有限公司 Grating scale photoelectric sensor
CN108151673A (en) * 2017-12-29 2018-06-12 长春禹衡光学有限公司 A kind of photoelectronic imaging scanning means
CN108716926A (en) * 2017-09-26 2018-10-30 李里 Absolute position code and its reading device
CN114497285A (en) * 2022-02-15 2022-05-13 江西中弘晶能科技有限公司 Processing method for rapidly checking SE laser abnormity
CN114545022A (en) * 2022-01-28 2022-05-27 中国科学院电工研究所 High-speed linear motor positioning and speed measuring real-time simulation method and system

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102706373B (en) * 2012-05-24 2015-01-21 广东工业大学 Single-track absolute grating scale and image coding method thereof
CN103063239B (en) * 2012-12-28 2016-03-23 广东工业大学 A kind of absolute grating ruler test platform and method of testing thereof
CN103148876B (en) * 2013-02-27 2015-10-28 西安交通大学 Single-code channel absolute type displacement of the lines grating scale virtual incremental formula code channel building method and coding/decoding method
CN103411540B (en) * 2013-07-26 2016-01-20 广东工业大学 A kind of high-accuracy grating displacement measuring device
CN103557878B (en) * 2013-07-26 2015-12-02 广东工业大学 A kind of multi-track coding method of absolute grating ruler
CN103776374A (en) * 2014-01-28 2014-05-07 广东工业大学 High-speed, high-accuracy and high-redundancy absolute grating ruler reading head device
EP2908100B1 (en) * 2014-02-18 2018-01-17 Hexagon Technology Center GmbH System for determining relative positions
CN105444790B (en) * 2014-12-17 2018-04-13 大连华宇冶金设备有限公司 Length is apart from absolute position optical encoder
CN104501844B (en) * 2014-12-30 2017-04-19 吉林大学珠海学院 Linear grating ruler
CN105910631B (en) * 2016-04-07 2018-04-10 广东工业大学 Absolute grating scale and its measuring method
CN106441097A (en) * 2016-09-22 2017-02-22 广东万濠精密仪器股份有限公司 Absolute grating scale
CN107014298B (en) * 2017-05-27 2024-01-23 武汉静磁栅机电制造有限公司 Self-synchronizing bar code displacement sensor and measuring method thereof
CN108917609B (en) * 2018-07-27 2020-09-11 广东工业大学 Single-track absolute grating scale system
CN109631765B (en) * 2018-12-07 2020-12-04 李里 Image displacement sensor and measuring method thereof
CN110207596B (en) * 2019-06-21 2021-09-03 广东工业大学 Image coding method, grating ruler measuring device and measuring method
CN111023977B (en) * 2019-09-06 2021-06-11 李里 Displacement code, displacement code scale, detection method and device, and calibration method and system
CN111721210B (en) * 2020-06-19 2021-11-12 深圳市汉森软件有限公司 Initialization method, device, equipment and medium after conversion of logical raster resolution

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5260568A (en) * 1990-07-18 1993-11-09 Okuma Corporation Absolute position detector with diffraction grating windows and spot position detection
US20040007664A1 (en) * 2002-07-08 2004-01-15 Microe Systems, Inc. Multi-track optical encoder employing beam divider
CN101046397A (en) * 2006-03-27 2007-10-03 廊坊开发区莱格光电仪器有限公司 Sealed grating sensor with extra-long scale
CN102003976A (en) * 2010-08-27 2011-04-06 中国科学院长春光学精密机械与物理研究所 Single-code channel absolute position coding method, decoding method and measuring device
CN102095379A (en) * 2010-08-27 2011-06-15 中国科学院长春光学精密机械与物理研究所 Absolute grating scale
CN102706373A (en) * 2012-05-24 2012-10-03 广东工业大学 Single-track absolute grating scale and image coding method thereof
CN202562500U (en) * 2012-05-24 2012-11-28 广东工业大学 Single-track absolute grating ruler

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10132612A (en) * 1996-10-28 1998-05-22 Mitsutoyo Corp Optical displacement detecting device
CN201716005U (en) * 2010-02-09 2011-01-19 广东万濠精密仪器股份有限公司 Grating ruler

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5260568A (en) * 1990-07-18 1993-11-09 Okuma Corporation Absolute position detector with diffraction grating windows and spot position detection
US20040007664A1 (en) * 2002-07-08 2004-01-15 Microe Systems, Inc. Multi-track optical encoder employing beam divider
CN101046397A (en) * 2006-03-27 2007-10-03 廊坊开发区莱格光电仪器有限公司 Sealed grating sensor with extra-long scale
CN102003976A (en) * 2010-08-27 2011-04-06 中国科学院长春光学精密机械与物理研究所 Single-code channel absolute position coding method, decoding method and measuring device
CN102095379A (en) * 2010-08-27 2011-06-15 中国科学院长春光学精密机械与物理研究所 Absolute grating scale
CN102706373A (en) * 2012-05-24 2012-10-03 广东工业大学 Single-track absolute grating scale and image coding method thereof
CN202562500U (en) * 2012-05-24 2012-11-28 广东工业大学 Single-track absolute grating ruler

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GONG, ZHONGHUA.: "Discuss on the absolute linear encoders.", MANUFACTURING TECHNOLOGY & MACHINE TOOL., no. 8, August 2011 (2011-08-01), pages 191 - 193 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014112459A1 (en) * 2014-08-29 2016-03-03 Ic-Haus Gmbh Optical position encoder
DE102014112459B4 (en) * 2014-08-29 2017-02-16 Ic-Haus Gmbh Optical position encoder
CN108716926A (en) * 2017-09-26 2018-10-30 李里 Absolute position code and its reading device
CN107560546A (en) * 2017-10-11 2018-01-09 长光(沧州)光栅传感技术有限公司 Grating scale photoelectric sensor
CN107560546B (en) * 2017-10-11 2024-01-19 长光(沧州)光栅传感技术有限公司 Photoelectric sensor of grating ruler
CN108151673A (en) * 2017-12-29 2018-06-12 长春禹衡光学有限公司 A kind of photoelectronic imaging scanning means
CN114545022A (en) * 2022-01-28 2022-05-27 中国科学院电工研究所 High-speed linear motor positioning and speed measuring real-time simulation method and system
CN114497285A (en) * 2022-02-15 2022-05-13 江西中弘晶能科技有限公司 Processing method for rapidly checking SE laser abnormity

Also Published As

Publication number Publication date
CN102706373A (en) 2012-10-03
DE112013002653T5 (en) 2015-03-12
CN102706373B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
WO2013174216A1 (en) Single-track absolute grating scale and image encoding method thereof
CN108362208B (en) Pseudo-random code channel grating ruler and reading method thereof
CN103063239B (en) A kind of absolute grating ruler test platform and method of testing thereof
CN103411540B (en) A kind of high-accuracy grating displacement measuring device
CN110207596B (en) Image coding method, grating ruler measuring device and measuring method
DE3035012C2 (en) Device for angle measurement
CN103512500A (en) Image collecting circuit of high-speed absolute grating ruler
TWI548960B (en) Linear position measuring system
CN108827142B (en) Absolute rotary encoder and measuring method thereof
CN104019834B (en) Single code channel absolute position coding method and reading measuring system
CN102095439B (en) Single-code-channel absolute-position encoding method, decoding method and measuring device
CN110030924B (en) Position measuring device
CN105606033B (en) Absolute grating scale, its key light grid and its measuring method
EP2878928B1 (en) Absolute encoder, signal processing method, program, driving apparatus, and industrial machine
ES2758525T3 (en) Absolute position encoder
US9945697B2 (en) Measurement scale with periodic nanostructure
CN102003976B (en) Single-code channel absolute position coding method, decoding method and measuring device
CN110617770B (en) Displacement detection system and detection method based on position coding
CN105783715B (en) A kind of absolute grating scale measuring device and its measurement method
CN103411635A (en) Code micro-macro combined collection method of absolute grating ruler
JP7044604B2 (en) Signal processing method for photoelectric encoder
CN109564108B (en) Sensor device
CN112129230B (en) Two-dimensional grating for high-resolution and high-precision plane displacement measurement
CN203274764U (en) Test platform for absolute grating ruler
CN113029001B (en) Linear displacement measuring device and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13794162

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1120130026538

Country of ref document: DE

Ref document number: 112013002653

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13794162

Country of ref document: EP

Kind code of ref document: A1