Grating digital sensor

Publisher:转眼人老Latest update time:2011-06-23 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Grating types and structures

A grating is a photoelectric device composed of many equally spaced light-transmitting slits and opaque lines that are evenly arranged alternately. According to the working principle, gratings can be divided into physical gratings and metrological gratings. Physical gratings are based on the diffraction phenomenon of gratings and are often used for spectral analysis and light wavelength measurements; metrological gratings are devices that use the moiré fringe phenomenon of gratings for measurement and are often used for precise displacement measurement.
According to the purpose and structural form, metrological gratings can be divided into long gratings for measuring linear displacement and circular gratings for measuring angular displacement. In practical applications, metrological gratings are divided into transmission gratings and reflection gratings. Transmission gratings are formed by uniformly engraving parallel and equally spaced stripes on transparent optical glass, while reflection gratings are formed by engraving equally spaced stripes on an opaque metal carrier. This section mainly discusses transmission metrological gratings.
The structure of the transmission grating is shown in Figure 12.1.1, where a is the width of the lines (opaque), b is the width of the gaps (transparent), and W = a+b is called the grating pitch. Generally, a=b, and a:b=1.1:0.9 can also be made. The line density of commonly used transmission gratings is generally 10, 25, 50, 100, or 250 lines per millimeter, and the line density is determined by the measurement accuracy.

Figure 12.1.1 Transmission grating

Working principle of grating digital sensor

Grating digital sensor usually consists of light source 5 (condenser 4), metering grating, photoelectric device 3 and measuring circuit, as shown in Figure 12.1.2. The metering grating consists of scale grating 1 (main grating) and indicator grating 2, so the metering grating is also called grating pair, which determines the measurement accuracy of the whole system. Generally, the main grating and indicator grating have the same line density, but the main grating is much longer than the indicator grating. During measurement, the main grating is connected to the object to be measured and moves with it, while the indicator grating is fixed, so the effective length of the main grating determines the measurement range of the sensor.

Figure 12.1.2 Grating digital sensor


1. Moiré fringes
Place the main grating and the scale grating on top of each other, keeping a small gap between them and making a small angle θ between the lines of the two gratings, as shown in Figure 12.1.3. When there is light, due to the light blocking effect (for gratings with a line density of ≤50 lines/mm) or the diffraction of light (for gratings with a line density of ≥100 lines/mm), alternating light and dark fringes are formed in a direction roughly perpendicular to the grating lines. At the overlap of the lines of the two gratings, light passes through the gap to form a bright band; at the offset of the two grating lines, a dark band is formed; these alternating light and dark fringes are called moiré fringes. The relationship between the spacing of the moiré fringes and the grating pitch W and the angle θ (in rad) between the two grating lines is (12.1.1) (12.1.2)




K is called the magnification factor.
Moiré fringes have the following important characteristics:
(1) The movement of the moiré fringes corresponds to the movement of the grating.
When the indicator grating is stationary, the angle θ between the main grating and the indicator grating is always maintained, and the main grating is relatively moved in the direction perpendicular to the grating, the moiré fringes will move in the direction of the grating grating; when the grating moves in the opposite direction, the moiré fringes also move in the opposite direction. For every grating pitch W that the main grating moves, the moiré fringes also move a spacing S accordingly. Therefore, by measuring the movement of the moiré fringes, the size and direction of the grating movement can be measured, which is much easier than measuring the grating directly.
(2) Moiré fringes have a displacement magnification effect. When the main grating moves a grating pitch W
in the direction perpendicular to the grating , the moiré fringes move a fringe pitch . When the angle θ between the two grating gratings is small, it can be seen from formula (12.1.1) that when W is constant, the smaller θ is, the larger B is, which is equivalent to magnifying the grating pitch W by 1/θ times. For example, for a grating with 50 lines/mm, W = 0.02mm. If , then the spacing of the moiré fringes , K = 573, is equivalent to magnifying the grating pitch by 573 times. Therefore, the magnification of the moiré fringes is quite large, and high-sensitivity displacement measurement can be achieved. (3) Moiré fringes have an error averaging effect. Moiré fringes are formed by many lines of the grating, and have an averaging effect on the line errors. They can largely eliminate the influence of local and short-period errors caused by the line errors, and can achieve a higher measurement accuracy than the line accuracy of the grating itself. Therefore, the metrological grating is particularly suitable for small displacement and high-precision displacement measurement. (4) The spacing S of the moiré fringes changes with the angle θ of the grating lines . Since the angle θ of the grating lines can be adjusted, the spacing of the moiré fringes can be adjusted according to the size of θ as needed, which brings convenience to practical applications. When the relative movement direction of the two gratings remains unchanged, changing the direction of θ will change the movement direction of the moiré fringes. 2. Photoelectric conversion The relative displacement of the main grating and the indicator grating produces moiré fringes. In order to measure the displacement of the moiré fringes, the optical signal must be converted into an electrical signal through a photoelectric device (such as a silicon photocell). Place a photoelectric device at an appropriate position of the grating. When the two gratings move relative to each other, the light intensity on the photoelectric device moves with the moiré fringes, and the light intensity changes to a sine curve, as shown in Figure 12.1.4. At position a, the two grating lines overlap, the transmitted light intensity is the largest, and the electrical signal output by the photoelectric device is also the largest; at position c, the light intensity decreases because half of the light is blocked; at position d, the light is completely blocked and becomes completely black, with the lowest light intensity; if the grating continues to move, the light intensity transmitted to the photoelectric device gradually increases. The light intensity change on the photoelectric device is approximately a sine curve. When the grating moves one grating distance W, the light intensity changes by one cycle. The output voltage of the photoelectric device can be expressed by the formula (12.1.3) where ——the DC component in the output signal; ——the amplitude of the AC component in the output signal; x——the relative displacement of the two gratings.












Figure 12.1.4 Relationship between grating displacement and light intensity output signal


The sine signal is converted into a square wave pulse signal through a shaping circuit, and a square wave pulse is output after each cycle. In this way, the total number of pulses N corresponds to the number of grating pitches moved by the grating, so the displacement of the grating is
(12.1.4)

Direction identification and subdivision circuit

1. Direction identification circuit
Whether measuring linear displacement or angular displacement, it is necessary to be able to determine the direction of movement based on the output signal of the sensor, that is, to determine whether it is moving forward or backward, and whether it is rotating clockwise or counterclockwise.
However, the output of only one photoelectric element cannot determine the direction of movement of the grating, because when observing at one point, no matter which direction the main grating moves, the moiré fringes will alternate between light and dark. In order to identify the direction, two photoelectric elements are usually placed at positions 1/4 of the moiré fringe spacing to obtain two signals with a phase difference of 90°, and then sent to the direction identification circuit shown in Figure 12.1.5 for processing.


Figure 12.1.5 Direction recognition circuit

Assume that when the main grating moves to the left, the moiré fringes move upward, and the two photoelectric elements output voltage signals U1 and U2 respectively, as shown in Figure 12.1.6 (a). After amplification and shaping, two square wave signals with a phase difference of and are obtained . After inversion , , and after passing through the differential circuit, two groups of electrical pulses , , are obtained, which are input to the AND gates and , respectively . For AND gate Y1, since is always low when it is at a high level, the pulse is blocked and the output of Y1 is zero; for AND gate Y2, when it is at a high level, it is also high, so the pulse is allowed to pass, and the addition and subtraction control trigger is triggered to set it to 1, and the reversible counter counts the pulses output by the AND gate Y`. Similarly, when the scale grating moves to the right, the output signal waveform is shown in Figure 12.1.6 (b), and the AND gate Y2 is blocked, and the Y1 output pulse signal sets the trigger to 0, and the reversible counter counts the pulses output by the AND gate Y2. Each time the main grating moves one grating pitch, the direction identification circuit outputs only one pulse. The number of pulses counted by the counter represents the displacement of the grating.
2. Subdivision circuit
The measurement resolution of the grating digital sensor is equal to one grating pitch. However, in precision detection, it is often necessary to measure a displacement smaller than the grating pitch. In order to improve the resolution, two methods can be used: 1) Increase the line density to reduce the grating pitch, but this method is limited by the grating line process. 2) Use subdivision technology to make the grating output evenly distributed n pulses each time it moves one grating pitch, thereby obtaining a division value smaller than the grating pitch, and improving the resolution to .
There are many methods of subdivision, such as direct subdivision, bridge subdivision, phase-locked subdivision, modulated signal subdivision, software subdivision, etc. The following introduces the commonly used direct subdivision methods.


Figure 12.1.6 Waveforms at various points in the direction-finding circuit when the grating moves

Direct subdivision is also called position subdivision. The commonly used subdivision number is 4, so it is also called four-fold frequency subdivision. Figure 12.1.7 shows a four-fold frequency subdivision circuit and its waveform. On the basis of the above-mentioned direction identification circuit, the two sinusoidal signals with a phase difference of 90° are shaped and inverted respectively, and four square wave signals with phases of 0° (S), 90° (C), 180° ( ), and 270° ( ) can be obtained. After passing through the RC differential circuit, when the grating moves one grating pitch, 4 evenly distributed counting pulses can be obtained, and then sent to the reversible counter for addition or subtraction counting, which can increase the resolution by 4 times.

Figure 12.1.7 Four-times subdivision circuit and waveform

The advantage of the four-fold frequency subdivision is that the circuit is simple and there is no strict requirement for the waveform of the moiré fringe signal. Its disadvantage is that the subdivision number is not high. The subdivision number can be effectively increased by using bridge subdivision, modulation signal subdivision, phase-locked subdivision, etc. For the subdivision circuit, please refer to other materials.

Application of Grating Digital Sensor

Grating digital sensors have high measurement accuracy, high resolution, large measurement range, good dynamic characteristics, are suitable for non-contact dynamic measurement, are easy to realize automatic control, and are widely used in CNC machine tools and precision measuring equipment. However, when gratings are used in industrial sites, they have high requirements for the working environment, cannot withstand large shocks and vibrations, require sealing to prevent pollution from dust, oil, iron filings, etc., and have high costs.
Figure 12.1.8 shows the block diagram of the position detection and position closed-loop control system of grating digital sensors for CNC machine tools. The position command Pc generated by the control system controls the movement of the workbench. During the movement of the workbench, the grating digital sensor continuously detects the actual position of the workbench and provides feedback (compared with the position command Pc) to form a position deviation Pe (Pe = -Pc). When =Pc, P = 0, indicating that the workbench has reached the command position, the servo motor stops, and the workbench stops accurately at the command position.


Figure 12.1.8 Block diagram of position control of CNC machine tools
1 - lead screw 2 - worktable 3 - grating reading head

Reference address:Grating digital sensor

Previous article:Grating types and structures
Next article:Operation method of reversing valve

Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号