Light detection device and optical encoder

By adjusting the coordinate difference of corresponding points in the light detection unit array and performing rectangular-sector transformation, the problem of high-order harmonic components in the optical encoder is solved, improving accuracy and simplifying the design.

CN118518147BActive Publication Date: 2024-09-24QUANZHOU KTSENSE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410966818.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-09-24
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

In existing optical encoders, the electrical signal output by the light detection unit contains a large number of high-order harmonic components, which affects the signal processing accuracy and the simplification of the equipment. Moreover, the traditional method relies on complex geometric shape design, which increases the difficulty of production.

Method used

A detection array composed of multiple light detection units is used to suppress harmonic components by adjusting the coordinate difference of corresponding points in the array. The specific method includes rectangular-sector transformation of the light detection unit arrangement to ensure that the arrays do not overlap each other in space. This eliminates harmonic components through combination and integration of electrical signals.

Benefits of technology

It effectively suppresses harmonic components, improves detection accuracy, and simplifies the design and production process of the light detection unit, making it easy to implement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118518147B
    Figure CN118518147B
Patent Text Reader

Abstract

The present invention relates to the field of photoelectric detection technology, and discloses a light detection device and an optical encoder, wherein the light detection device comprises: a plurality of first-level detection arrays, wherein each first-level detection array comprises at least one light detection unit, and an electrical signal output by a light detection unit contained in a first-level detection array is used as a first-level electrical signal output by the first-level detection array; the plurality of first-level detection arrays are divided into a plurality of second-level detection arrays, and the coordinate difference of corresponding points of two adjacent first-level detection arrays belonging to the same second-level detection array is x×P / N+(t1×P) / (t2×N), and the corresponding first-level electrical signals in t2 first-level detection arrays belonging to the same second-level detection array are added, thereby suppressing Nth harmonic components and integer multiple harmonic components of N. The present invention can better suppress harmonic components by only adjusting the coordinate difference of corresponding points between the first-level detection arrays, and is easy to design and convenient to manufacture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of photoelectric detection technology, and in particular to a light detection device and an optical encoder. Background Art

[0002] An optical encoder is a sensor that converts the mechanical displacement on the output shaft into pulses or digital quantities through photoelectric conversion. It is widely used in CNC machine tools, motors, robots, radars and other equipment to detect angles, rotation speeds or linear displacements.

[0003] The optical encoder includes a light source, a grating disk or a grating ruler (hereinafter referred to as the grating), and a light detection unit. The grating is provided with a plurality of slits, namely the transparent part, and the part without slits is the non-transparent part. The transparent part and the non-transparent part are arranged at equal distances, and the arrangement period of the transparent part and the non-transparent part is P. The light from the light source forms a periodic light signal through the grating, and the light detection unit detects the light signal and converts it into an electrical signal. However, since the light irradiated onto the light detection unit through the grating is equivalent to a square wave, which contains a large amount of , the electrical signal output by the light detection unit also contains a large amount of high-order harmonic components. These high-order harmonic components will affect the processing accuracy of the subsequent signal processing circuit, affect the accuracy of the detection result, and are not conducive to the simplification of the signal processing circuit.

[0004] At present, Chinese patent number CN202410143700.X discloses a photoelectric detection unit, a photoelectric encoder system and a motor, which adopts a specially designed photoelectric detection unit. The geometric shape of the photoelectric detection unit is described by a mathematical description function. This geometric structure can well suppress the high-order harmonic components in the electrical signal generated by the photoelectric detection unit after receiving light, thereby improving the detection accuracy. However, this high-order harmonic component suppression depends on the geometric shape of the photoelectric detection unit, which requires that its geometric shape must contain a curve segment, making the photoelectric detection unit difficult to manufacture.

[0005] Therefore, there is a need for a light detection unit for an optical encoder that is easy to manufacture and can better suppress high-order harmonic components. Summary of the invention

[0006] The present application provides a light detection device for an optical encoder and an optical encoder, which are easy to manufacture and can better suppress harmonic components.

[0007] In a first aspect, the present application provides a light detection device for an optical encoder, which adopts the following technical solution:

[0008] A light detection device for an optical encoder, wherein a plurality of light detection units thereon constitute a first figure, the first figure is obtained by a second figure through a rectangular-sector transformation, and the second figure comprises: a plurality of first-level detection arrays, wherein each first-level detection array comprises at least one light detection unit, each light detection unit outputs an electrical signal, the electrical signals output by the light detection units contained in a first-level detection array are directly used as or combined as the first-level electrical signals output by the first-level detection array; wherein the plurality of first-level detection arrays are divided into a plurality of second-level detection arrays, each second-level detection array comprises t2 first-level detection arrays, and among the t2 first-level detection arrays belonging to the same second-level detection array, two adjacent first-level detection arrays are The coordinate difference of corresponding points of the first-level detection array is x×P / N+(t1×P) / (t2×N), t1 is a natural number greater than 1, t2 is a natural number greater than 2, t1 and t2 are mutually prime, P is a predetermined value based on the total number of grating slits used by the optical encoder, N is an odd number greater than 3, x is a natural number, and x is selected to avoid spatial overlap of the first-level detection arrays; wherein, the corresponding first-level electrical signals in the t2 first-level detection arrays belonging to the same second-level detection array are added to generate at least one second-level electrical signal, and each second-level electrical signal is generated by adding a group of corresponding first-level electrical signals, thereby suppressing the Nth harmonic component and the integer multiple harmonic component of N in the second-level electrical signal.

[0009] Furthermore, the at least one second-level electrical signal is used as the output electrical signal of the second-level detection array, the multiple second-level detection arrays are divided into multiple third-level detection arrays, each third-level detection array includes s2 second-level detection arrays, and the coordinate difference between corresponding points of two adjacent second-level detection arrays in the s2 second-level detection arrays belonging to the same third-level detection array is y×P / M+(s1×P) / (s2×M), s1 is a natural number greater than 1, s2 is a natural number greater than 2, s1 and s2 are mutually prime, M is an odd number greater than 3, and M is not equal to N, y is a natural number, and y is selected to avoid the second-level detection arrays from overlapping each other in space, and the corresponding second-level electrical signals of the s2 second-level detection arrays belonging to the same third-level detection array are added to generate at least one third-level electrical signal, and each third-level electrical signal is generated by adding a group of corresponding second-level electrical signals, thereby suppressing the Mth harmonic component and the integer multiple harmonic component of M in the third-level electrical signal.

[0010] Furthermore, the at least one third-level electrical signal is used as the output electrical signal of the third-level detection array, the multiple third-level detection arrays are divided into multiple fourth-level detection arrays, each fourth-level detection array includes r2 third-level detection arrays, and the coordinate difference between corresponding points of two adjacent third-level detection arrays in the r2 third-level detection arrays belonging to the same fourth-level detection array is z×P / Q+(r1×P) / (r2×Q), r1 is a natural number greater than 1, r2 is a natural number greater than 2, r1 and r2 are mutually prime, Q is an odd number greater than 3, and Q is not equal to M and N, z is a natural number, and z is selected to avoid spatial overlap of the third-level detection arrays, and the corresponding third-level electrical signals of the r2 third-level detection arrays belonging to the same fourth-level detection array are added to generate at least one fourth-level electrical signal, and each fourth-level electrical signal is generated by adding a group of corresponding third-level electrical signals, thereby suppressing Q-subharmonic components and integer multiple harmonic components of Q in the fourth-level electrical signal.

[0011] In the second aspect, the present application provides a light detection device for an optical encoder, wherein a plurality of light detection units on the light detection device constitute a second pattern, and the second pattern is the same as the "second pattern" described in the first aspect. The reason for this difference is that the light detection device of the second aspect is generally used in conjunction with a linear grating, and the second pattern can be directly made on the light detection device; the light detection device of the first aspect is generally used in conjunction with a disk grating, in which case the first pattern needs to be transformed from a rectangle to a fan before being made on the light detection device.

[0012] In a third aspect, the present application provides an optical encoder, which adopts the following technical solution:

[0013] An optical encoder comprises: a grating having a plurality of slits, wherein the period of the slits is P; a light source, which forms a periodically changing light signal through the grating; and also comprises the above-mentioned light detection device, which is used to receive the light signal and convert it into an electrical signal.

[0014] The present invention has significant technical effects due to the adoption of the above technical solution: the harmonic components can be well suppressed by adjusting the coordinate difference of the corresponding points of the first-stage detection array, and the invention is easy to design and convenient to manufacture. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 , Figure 2 This is a schematic diagram of the working principle of the optical encoder;

[0016] Figure 3 is a schematic diagram of the arrangement of light detection units according to an embodiment of the present invention;

[0017] Figure 4 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0018] Figure 5 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0019] Figure 6 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0020] Figure 7 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0021] Figure 8 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0022] Fig. 9 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0023] Fig.10 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention;

[0024] Fig.11 is a schematic diagram of the arrangement of light detection units actually manufactured according to another embodiment of the present invention;

[0025] Fig.12 This is a spectrum simulation diagram of the output electrical signal of the optical detection device when the present invention does not take any measures to suppress the harmonic components;

[0026] Fig.13 To adopt the present invention Figure 7 The spectrum simulation diagram of the output electrical signal of the optical detection device after the method shown suppresses the 3rd, 5th and 7th harmonic components;

[0027] Fig.14 To adopt the present invention Figure 8 The spectrum simulation diagram of the output electrical signal of the optical detection device after the method shown suppresses the 3rd, 5th, 7th and 11th harmonic components;

[0028] Fig.15 To adopt the present invention Fig.10 The method shown is a simulated diagram of the frequency spectrum of the output electrical signal of the optical detection device after suppressing the 3rd, 5th, 7th, 11th and 13th harmonic components. DETAILED DESCRIPTION

[0029] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0030] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0031] In addition, it should be noted that in order to more clearly illustrate the technical solution, the dimensions in the drawings of this patent application are not necessarily drawn to scale, and they are only for illustration. Example

[0032] See also Figure 1 , Figure 2 , Figure 1 , Figure 2 It is a schematic diagram of the working principle of the light detection device in the optical encoder. In the optical encoder, the light detection device 1 is the key part to realize the sensing. Generally speaking, the light emitted by the light source 8 is collimated, passes through the grating 9, and projects a stripe light spot on the light detection device 1. The light detection device 1 includes a plurality of light detection units, each of which outputs an electrical signal. After these electrical signals are processed by the signal processing circuit 6, various physical quantities of the detected relative motion can be obtained.

[0033] In order to detect the relative motion between two components, the grating 9 and the light detection device 1 are usually fixed on the two components that move relative to each other, so that relative motion is also formed between the grating 9 and the light detection device 1. If the physical quantity to be detected is the linear displacement, linear displacement speed, etc. between the two components, the grating 9 is a linear grating, such as Figure 1 As shown, the relative motion between the grating 9 and the light detection device 1 is shown as V1. If the physical quantity to be detected is the angular displacement, rotation speed, etc. between the two components, the grating 9 is a disk-type grating, such as Figure 2 As shown, the relative movement between the grating 9 and the light detection device 1 is shown as V2, and L is the rotation axis around which the relative movement revolves.

[0034] The grating 9 includes slits 91 and non-transmissive parts 92 arranged side by side. When the grating 9 and the light detection device 1 form relative motion, the stripe light spot projected on the light detection device 1 also forms relative motion relative to the light detection unit, causing the light intensity felt by each light detection unit to change periodically over time. In this way, the electrical signal output by each light detection unit also changes periodically. By detecting these periodically changing electrical signals, physical quantities such as the relative motion speed and relative motion displacement between the two components can be measured.

[0035] When the grating 9 is a linear grating, the light projected onto the light detection unit can be regarded as a "square wave" light. The "square wave" light can be expanded into a superposition of a fundamental frequency light wave and odd harmonic components:

[0036] .............

[0037] Among them, A0 is the average value of the square wave after time integration, A i is the amplitude of each odd harmonic component, and the angular velocity of the fundamental frequency light wave is as follows:

[0038] .

[0039] Among them, P is the slit period of the grating, which essentially represents a spatial frequency and can be calculated by H / I, where H is the total length occupied by all the slits 91 of the grating 9, and I is the total number of slits.

[0040] When the grating 9 is a disk-type grating, the above harmonic decomposition still holds true, except that the quantity representing the spatial frequency is replaced by the rotational angular velocity per unit time, and the projected "square wave" light can still be expanded into a superposition of the fundamental frequency light wave and the odd harmonic components.

[0041] Each light detection unit on the light detection device 1 can be regarded as a combination of countless extremely small light detection points. For each light detection point, after being irradiated by the "square wave" light, it will inevitably generate an electrical signal close to the "square wave". The "square wave" electrical signal can also be expanded into a superposition of the fundamental frequency component and the odd harmonic component, and the fundamental frequency is the same as the fundamental frequency of the "square wave" light. Therefore, the electrical signal output by each light detection unit, its main components include the fundamental frequency component and the odd harmonic component. Generally speaking, the fundamental frequency component is the electrical signal required for detection. Therefore, in order to improve the detection accuracy, it is necessary to remove the odd harmonic component.

[0042] Next, we will discuss how to set the parameters such as the shape and position of the light detection unit on the light detection device 1 to remove the odd harmonic components. It should be noted that the method disclosed in this patent application is not limited to odd harmonic components, that is, it is not only capable of removing odd harmonic components. If in certain application scenarios, it is necessary to remove even harmonic components in the output electrical signal of the light detection unit, the method disclosed in this patent application may also be applicable.

[0043] It should be noted that when used in conjunction with a disc-type grating, the arrangement scheme of the light detection unit disclosed in the embodiment of the present patent application needs to be transformed from a rectangular to a sector-shaped pattern before the pattern actually made on the light detection device 1 can be obtained. After the rectangular to sector-shaped pattern transformation, the shape, position, etc. of the light detection unit will be slightly deformed.

[0044] If used in conjunction with a linear grating, the arrangement of the light detection units disclosed in the embodiment of the present patent application can be fabricated on the light detection device 1 without undergoing a rectangular-sector transformation.

[0045] The rectangular-sector transformation method and its inverse transformation (i.e., the sector-rectangular transformation) are both common techniques in the field of graphic transformation, and are used to transform optical encoder graphics between rectangular coordinate systems and polar coordinate systems. The U.S. patent with the publication number US7268883B2 and the title "Optoelectronic harmonically filtered detector system for ascanning unit" also discloses a specific algorithm for transforming graphics between rectangular coordinate systems and polar coordinate systems for reference.

[0046] It should be noted that the "rectangular-sector transformation" and "sector-rectangular transformation" methods referred to in this patent application do not refer to any graphic transformation method that can transform a graphic from a rectangular coordinate system to a polar coordinate system, but a graphic transformation method that must meet the use requirements of the optical encoder. The core requirement is that after the graphic transformation, the effective light sensing capacity of each part of the light detection unit remains unchanged. The algorithm disclosed in the above-mentioned U.S. Patent US7268883B2 is only a feasible transformation algorithm. According to its teachings, those skilled in the art can easily design other variant algorithms. The "rectangular-sector transformation" method referred to in this patent application is intended to refer to any graphic transformation method suitable for transforming an optical encoder graphic from a rectangular coordinate system to a polar coordinate system; the "sector-rectangular transformation" method referred to in this patent application is intended to refer to any graphic transformation method suitable for transforming an optical encoder graphic from a polar coordinate system to a rectangular coordinate system.

[0047] When actually making a light detection device for use with a disc-type grating, technicians usually first determine the total number of slits I required in a circle of the grating to be used, and the center point of the light detection device 1 as a reference point, with the reference point being at a distance R0 from the center of the rotation axis L, thereby determining a rough P=2πR0 / I. The reference point can also be determined by other methods, such as taking an arbitrary point on the light detection device 1 as a reference point. Then, using this P as a period, design a light detection unit pattern in a rectangular coordinate system, and the above reference point corresponds to the position in the rectangular coordinate system of x=0, y=R0. Then, the designed light detection unit pattern is transformed from a rectangle to a fan to obtain a light detection unit pattern in a polar coordinate system.

[0048] The rectangular-sector transformation algorithm used above needs to meet certain boundary conditions. For example, when the radial coordinate r=R0 in polar coordinates, the length of any arc segment is equal to the corresponding length in the x-axis direction in the rectangular coordinate system. Those skilled in the art will understand that there are many options for the specific algorithms and boundary conditions actually used. This is a conventional technique in the field and will not be described here. The setting of these algorithms and boundary conditions is essentially to meet the following conditions: the light intensity obtained by any part of the light detection device 1 remains unchanged before and after the coordinate transformation. In short, when actually making a light detection device for use with a disc-type grating, P is a pre-set value, which is essentially determined based on the total number of slits I of the grating used by the optical encoder.

[0049] In order to facilitate the explanation of the technical solution, the following content will be described with the light detection device used with a linear grating as the object. Those skilled in the art will understand that the same content is also applicable to the light detection device used with a disk grating, except that the relevant arrangement scheme needs to be transformed from a rectangle to a fan before being applied to make the light detection device.

[0050] In this application document, the "width" refers to the width in the horizontal direction (the x-axis direction shown in the drawings), specifically the distance between two points obtained by drawing a straight line in the horizontal direction and intersecting the two sides of the light detection unit. "Pitch" and "coordinate difference of corresponding points" also refer to the distance in the horizontal direction, and "horizontal" refers to the relative displacement direction between the grating and the light detection device.

[0051] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an arrangement of light detection units according to an embodiment of the present invention, which shows an arrangement of light detection units for suppressing third harmonic components. Figure 3 As shown, the slit period of the grating is P. After the light passes through the grating, a stripe light spot 7 is cast on the light detection unit, as shown in FIG. Figure 3 As shown in the dashed box.

[0052] The light detection device comprises a plurality of light detection units, Figure 3 Only light detection units 151H-156H are shown. The spacing (x-axis direction) between each light detection unit is the same. It satisfies that two identical light detection units are arranged side by side within a period P, and the two light detection units are evenly distributed within the period P. Figure 3 As shown, two identical light detection units 151H and 152H are arranged in a period P, and the shape of the two light detection units is rectangular, and the width (x-axis direction) is P / 3. The two light detection units 151H and 152H have two identical spacings (x-axis direction) in the period P, both of which are P / 6. ​​Therefore, the light detection units 151H and 152H and the two spacings between them are contained in one period P. All light detection units are arranged in a horizontal direction (such as Figure 3The optical components are arranged in the x-axis direction as shown, and are also evenly distributed in the entire optical detection device.

[0053] In this arrangement, the two light detection units in one period P respectively output an electrical signal, for example, the light detection units 151H and 152H respectively output electrical signals 91a and 92a. If the odd harmonic component signal and the interference signal are filtered out, leaving only the fundamental frequency component signal, the two electrical signals 91a and 92a are in anti-phase with each other (i.e., the phase difference is 180°), because the coordinate difference of the corresponding points of the light detection units 151H and 152H is half of the fundamental frequency period. The two electrical signals 91a and 92a are input into the subsequent signal processing circuit, which helps to obtain the relative displacement between the grating and the light detection device.

[0054] To suppress the third harmonic component in the output electrical signal, the width of each light detection unit along the horizontal direction is set to the period of the harmonic component to be suppressed. The period of the third harmonic component is P / 3. For each light detection unit, its horizontal dimension completely covers one period of the third harmonic component in the electrical signal. That is to say, at a specific moment, the change of the third harmonic component in the electrical signal output by each point on any cross-section 3 in a single light detection unit 154H just covers one period. Considering a single light detection unit 154H as a collection of countless small light detection points, the electrical signal 94a output by the light detection unit 154H should be the collection of the electrical signals output by each light detection point. Therefore, the third harmonic component output by each light detection point is integrated on a single cross-section 3, and the result is zero. Considering the light detection unit 154H as being composed of countless small cross-sections 3, the third harmonic component in the electrical signal output by each light detection point is integrated over the entire light detection unit, and the result is also zero. Therefore, after the stripe light spot 7 is photoelectrically converted by a single light detection unit, the third harmonic component in the output electrical signal should be zero. Even if the third harmonic component still exists due to some imperfect factors in device manufacturing or external interference, the main source of the third harmonic component has been eliminated, so the third harmonic component is suppressed.

[0055] Figure 3 In the figure, the light detection unit 154H is white, and the other light detection units 151H-153H, 155H, and 156H are black. This is to conveniently illustrate the cross-section line 3 in the light detection unit 154H, and does not mean that there is any essential difference in the material or other aspects of each light detection unit. The subsequent drawings of this patent application also use a similar description method.

[0056] It can be seen that by setting the width of a single light detection unit in the horizontal direction to one period or an integer number of periods of the harmonic component to be suppressed, the harmonic component can be suppressed in the electrical signal output by the light detection unit. This principle is also applicable to suppressing the 5th, 7th and higher harmonic components. In other words, the Wth harmonic component can be eliminated by setting the width of a single light detection unit to P / W (W is the order of the harmonic component to be suppressed) or an integer multiple of P / W.

[0057] It should be noted that in this case, the electrical signals 91a-96a, etc. output by each optical detection unit can be connected according to actual needs, because the optical detection unit can achieve harmonic component filtering only by its own shape design, that is, the corresponding harmonic components have been filtered out in the electrical signals 91a-96a, etc., and there is no need to rely on the combination or operation between the electrical signals output by different optical detection units to achieve harmonic component filtering.

[0058] See also Figure 4 , Figure 4 1 shows a light detection unit of arbitrary shape with a constant width A in the lateral direction. Figure 4 As shown, the shapes of the light detection units 151K-156K, etc. are not fixed, but when viewed from the horizontal direction, the width of each cross-section 3' on the light detection unit 154K is A, where A is one period of the harmonic component to be suppressed, for example, A=P / 3. The change in the third harmonic component in the electrical signal output by each light detection point on any single cross-section 3' just covers one period. Considering a single light detection unit 154K as a collection of countless tiny light detection points, the electrical signal 94a' output by the light detection unit 154K should be the collection of the electrical signals output by each light detection point. Therefore, integrating the third harmonic component output by each light detection point over a single cross-section 3' yields zero. Considering the light detection unit to be composed of countless tiny cross-sections 3', the third harmonic component in the electrical signal output by each light detection point is integrated over the entire light detection unit, and the result is also zero. Therefore, Figure 3 In the method of suppressing harmonic components, it is not required that a single light detection unit must be rectangular. As long as its width is kept to be one period of the harmonic component to be suppressed, the harmonic component can be suppressed. In this application document, "width" refers to the width dimension of each cross-section 3' drawn from the light detection unit horizontally.

[0059] It should be noted that the use of Figure 3 , 4The method introduced suppresses the third harmonic component, and also suppresses the integer multiple harmonic components of the third harmonic component. This is because if the width of a single photodetection unit is P / 3, then this width is also an integer multiple of the 6th, 9th, 12th, etc. harmonic components, and the integration of these harmonic components over the width of a single photodetection unit is also zero, so the 6th, 9th, 12th, etc. harmonic components in the electrical signal are also suppressed. When using this method to suppress the 5th, 7th, 11th, etc. harmonic components, the integer multiple harmonic components of these harmonic components are also suppressed.

[0060] It should be noted that the use of Figure 3 , 4 The method introduced here suppresses the third harmonic component. The number of light detection units arranged in one period P does not have to be two. It can be three, four or more, or one. Arranging different numbers of light detection units in one P will affect the difficulty of signal processing in the subsequent signal processing circuit, but as long as the width of each light detection unit is one period or an integer multiple of the period of the subharmonic component to be suppressed, it can play a role in suppressing the harmonic component. However, when arranging different numbers of light detection units in one period P, and there are requirements for the width of a single light detection unit, it is necessary to pay attention to whether these light detection units can be placed in one period P without overlapping. For example, in some scenarios, it is advantageous to arrange four light detection units in one period P. In this case, this method cannot be used to suppress the third harmonic component because four light detection units with a width of P / 3 cannot be placed in one period P. In this case, the width of the light detection unit can be used to suppress higher harmonic components, such as the fifth harmonic component, and other methods can be used to suppress the third harmonic component.

[0061] It should also be noted that the stripe light spot 7 and each light detection unit will appear repeatedly in the horizontal direction (x-axis direction). Figure 3 , Figure 4 Only parts of them are shown; the length of the stripe spot 7 in the vertical direction (y-axis direction) may be much greater than the vertical length of the light detection unit, Figure 3 , Figure 4 Only a part of the stripe light spot 7 is shown; each light detection unit may also be repeated in the vertical direction, and different light detection units that are repeated in the vertical direction may also be connected to each other. Figure 3 , Figure 4 Only parts of them are shown.

[0062] However, Figure 3 , 4The method introduced can only suppress a single harmonic component and its integer multiple harmonic components, but cannot suppress multiple harmonic components that have no integer multiple relationship. However, there are countless harmonic components in the output electrical signal of the optical detection unit that need to be suppressed. Even if only those with greater influence are considered, the 5th, 7th, 11th, 13th and other harmonic components need to be suppressed, and the more harmonic components that can be suppressed, the better.

[0063] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention, which shows the arrangement of light detection units for simultaneously suppressing the third and fifth harmonic components. Figure 5 As shown, the slit period of the grating is P. After the light passes through the grating, a stripe light spot 7 is cast on the light detection unit.

[0064] The light detection device comprises a plurality of light detection units, each of which is a parallelogram. Figure 5 Only light detection units 811H-822H are shown, and the spacing between each light detection unit (x-axis direction) is the same, which satisfies the requirement that four identical light detection units are arranged side by side in one period P, and the four light detection units are evenly distributed in the period P. As shown in the figure, four identical light detection units 811H-814H are arranged in one period P, and the four light detection units 811H-814H have four identical spacings (x-axis direction) in the period P, so that the light detection units 811H-814H and the four spacings between them are contained in one period P. All light detection units are arranged in the horizontal direction (such as Figure 5 The optical components are arranged in the x-axis direction as shown, and are also evenly distributed in the entire optical detection device.

[0065] In this arrangement, the four light detection units in one period P output an electrical signal respectively, for example, the light detection units 811H-814H output electrical signals 81a-84a respectively. If the odd harmonic component signal and the interference signal are filtered out, leaving only the fundamental frequency component signal, the electrical signals output by two adjacent light detection units will differ in phase by 90°, because the coordinate difference of the corresponding points of the two adjacent light detection units in the light detection units 811H-814H is one quarter of the fundamental frequency period. These four electrical signals 81a-84a are input into the subsequent signal processing circuit, which helps to obtain the relative displacement between the grating and the light detection device.

[0066] To suppress the 5th harmonic component in the output electrical signal, the width of each photodetection unit is set to P / 5. The principle is as follows: Figure 3 , 4 As described in the description.

[0067] To suppress the third harmonic component in the electrical signal at the same time, the inclination of each light detection unit along the horizontal direction is specially designed. The inclination offset C of a single light detection unit 821H along the horizontal direction is the period of the third harmonic component to be suppressed, that is, P / 3. Figure 5 As shown, the "lateral tilt offset" C describes the tilt degree of one of the two sides of the parallelogram that are opposite to each other in the lateral direction, which specifically refers to the coordinate difference between the two end points of this side in the lateral direction.

[0068] A single light detection unit 821H can be regarded as a combination of countless small oblique bands 2, and the width of the small oblique bands 2 tends to zero. A single small oblique band 2 just spans a period P / 3 of the third harmonic component. A single light detection unit 821H can be regarded as a collection of countless small light detection points, and the output electrical signal 79a of the light detection unit 821H should be the collection of the output electrical signals of each light detection point. Therefore, the third harmonic component in the output electrical signal of each light detection point is integrated over the small oblique band 2, and the result should be zero. This is true for each small oblique band 2, so it is also true for the entire light detection unit 821H. Therefore, after the striped light spot 7 is photoelectrically converted, the third harmonic in the output electrical signal of a single light detection unit should be zero. Even if the third harmonic component still exists due to some imperfect factors in the manufacture of the device or external interference, the main source of the third harmonic component has been eliminated, so the third harmonic component is suppressed.

[0069] It can be seen that by designing a single light detection unit to be tilted in the lateral direction while keeping the width of the single light detection unit unchanged, and the tilt offset C along the lateral direction is one cycle or an integer number of cycles of the harmonic component to be suppressed, the harmonic component can be suppressed in the electrical signal. This principle is also applicable to suppressing the 5th, 7th and higher harmonic components. In other words, the U-order harmonic component can be eliminated by setting the tilt offset C of the single light detection unit along the lateral direction to P / U (U is the order of the harmonic component to be suppressed) or an integer multiple of P / U.

[0070] It should be noted that Figure 5The shape of the light detection unit shown can suppress the third and fifth harmonic components at the same time. The shape of the light detection unit can also be designed to suppress the combination of other harmonic components at the same time, for example, to suppress the fifth and seventh harmonic components, just adjust the light detection unit width size and tilt offset parameters accordingly. For example, if the fifth and seventh harmonic components are suppressed at the same time, four light detection units can be placed in one P, the width of a single light detection unit is P / 5, and the tilt offset along the horizontal direction is P / 7, or the width of a single light detection unit is P / 7, and the tilt offset along the horizontal direction is P / 5. For another example, if the third and seventh harmonic components are suppressed at the same time, four light detection units can be placed in one P, the width of a single light detection unit is P / 7, and the tilt offset along the horizontal direction is P / 3, or two light detection units can be placed in one P, the width of a single light detection unit is P / 3, and the tilt offset along the horizontal direction is P / 7. Those skilled in the art will understand that the shape of the light detection unit can be designed according to actual needs to suppress different combinations of harmonic components.

[0071] See also Figure 6 , Figure 6 Another light detection unit 811K-822K with a width of B and a tilt offset of C in the lateral direction is shown. Figure 6 As shown, the light detection unit 818K is an irregular quadrilateral, consisting of four sides 191-194, of which two sides 191 and 192 are arranged opposite to each other in the horizontal direction (x direction), and the other two sides 193 and 194 are arranged opposite to each other in the vertical direction (y direction), and the four sides 191-194 form a closed shape. The two sides 191 and 192 arranged opposite to each other in the horizontal direction are straight lines arranged obliquely in the horizontal direction and parallel to each other, and the oblique offset in the horizontal direction is C; the two sides 193 and 194 arranged opposite to each other in the vertical direction are not fixed in shape, but have the same shape. The width of the quadrilateral is B, and the width is intercepted as shown in the figure. Figure 6 As shown, the "lateral tilt offset" C describes the tilt degree of one of the two sides arranged opposite to each other in the lateral direction, which specifically refers to the lateral coordinate difference between the two end points of this side.

[0072] In this way, a single light detection unit 818K can be decomposed into countless small oblique bands 2', and the width of each small oblique band 2' tends to zero. Since the two sides 193 and 194 arranged opposite to each other in the vertical direction have the same shape, all the small oblique bands 2' have the same length. The lateral tilt offset of each small oblique band 2' is C, and each small oblique band 2' maintains a uniform slope within the tilt offset C, and C is the period P / 3 of the third harmonic component in the electrical signal. Considering a single light detection unit 818K as a collection of countless small light detection points, the output electrical signal 88'a of the light detection unit 818K should be the collection of the output electrical signals of each light detection point. Therefore, the third harmonic component in the output electrical signal of each light detection point is integrated over the small oblique band 2', and the result is zero. This is true for each small oblique band 2', so the third harmonic component in the output electrical signal of each light detection point is also zero when integrated over the entire light detection unit 818K. Therefore, Figure 5 In the method of suppressing harmonic components described above, it is not required that the single light detection unit must be a parallelogram, as long as its shape is Figure 6 As shown, the harmonic components can be suppressed. Figure 6 The figure of the single light detection unit shown is not necessarily a quadrilateral. For example, the two sides 193 and 194 arranged vertically opposite to each other can be broken lines, which will increase the number of sides of the figure and make it a hexagon or a larger polygon.

[0073] It should be noted that the use of Figure 5 The method described in FIG. 6 suppresses the third harmonic component, and also suppresses the harmonic components of integer multiples of the third harmonic component. This is because, if the tilt offset of a single light detection unit in the horizontal direction is P / 3, then this tilt offset is also an integer multiple of the period of the sixth harmonic component, the ninth harmonic component, the twelfth harmonic component, etc., and these harmonic components are also integrated to zero on a single light detection unit, and thus are suppressed. This is also applicable to the use of this method to suppress the fifth, seventh, eleventh, etc. harmonic components.

[0074] It should be noted that the stripe light spot 7 and each light detection unit will appear repeatedly in the horizontal direction (x-axis direction). Figure 5 , Figure 6 Only parts of them are shown; the length of the stripe spot 7 in the vertical direction (y-axis direction) may be much greater than the vertical length of the light detection unit, Figure 5 , Figure 6 Only a part of the stripe light spot 7 is shown; each light detection unit may also be repeated in the vertical direction, and different light detection units that are repeated in the vertical direction may also be connected to each other. Figure 5 , Figure 6 Only parts of them are shown.

[0075] However, Figure 5 , Figure 6The method introduced can only suppress two harmonic components and the integer multiple harmonic components of these two harmonic components at the same time by setting the shape and position of the light detection unit. It cannot suppress other harmonic components at the same time. However, there are still multiple harmonic components in the electrical signal generated by the light detection unit that need to be suppressed, such as harmonic components such as 7, 11, 13, and 17.

[0076] See also Figure 7 , Figure 7 FIG. 1 is a schematic diagram of an arrangement of light detection units according to another embodiment of the present invention, which shows an arrangement of light detection units that can suppress the seventh harmonic component. Figure 7 As shown, the slit period of the grating is P. After the light passes through the grating, it casts a stripe light spot 7. The light detection device includes a plurality of light detection units. Figure 7 Only light detection units 111H-114H, 121H-124H, 131H-134H, 141H-144H are shown. Figure 7 The relative movement direction between the grating and the light detection device is horizontal.

[0077] It should be noted that the stripe light spot 7 and each light detection unit will appear repeatedly in the horizontal direction (x-axis direction). Figure 7 Only parts of them are shown; the stripe spot 7 is vertical (such as Figure 7 The length of the optical detection unit in the vertical direction (y-axis direction) may be much larger than the length of the optical detection unit in the vertical direction (y-axis direction). Figure 7 Only a part of the stripe light spot 7 is shown; each light detection unit may also be repeated in the vertical direction (y-axis direction), and different light detection units that are repeated in the vertical direction may also be connected to each other. Figure 7 Only parts of them are shown.

[0078] Figure 7 In the embodiment, four identical light detection units are arranged side by side in a period P, and the four light detection units are evenly distributed in the period P. Figure 7As shown, four identical light detection units 111H-114H are arranged in a period P, and the shape of the light detection units is a parallelogram. The shapes of the light detection units are the same, and the four light detection units 111H-114H are evenly distributed in the period P, so the light detection units 111H-114H and the four spacings between them (x-axis direction) are contained in one period P. In this arrangement, the four light detection units in one period P output an electrical signal respectively, for example, the light detection units 111H-114H output first-order electrical signals 11a-14a respectively. If the odd harmonic component signal and the interference signal are filtered out, and only the fundamental frequency component signal is left, the first-order electrical signals output by two adjacent light detection units differ in phase by 90°, because the coordinate difference of the corresponding points of the two adjacent light detection units in the light detection units 111H-114H is one-fourth of the fundamental frequency period. These four first-order electrical signals 11a-14a are input into the subsequent signal processing circuit, which helps to obtain how much relative displacement has occurred between the grating and the light detection device.

[0079] Further, every four light detection units form a first-level detection array. For example, light detection units 111H-114H form a first-level detection array 11M, light detection units 121H-124H form a first-level detection array 12M, light detection units 131H-134H form a first-level detection array 13M, and light detection units 141H-144H form a first-level detection array 14M. Multiple first-level detection arrays further form a second-level detection array. For example, first-level detection arrays 11M and 12M form a second-level detection array 101N, and first-level detection arrays 13M and 14M form a second-level detection array 102N. In this way, the multiple light detection units included in the entire light detection device are divided into multiple second-level detection arrays, and each second-level detection array contains two first-level detection arrays.

[0080] In a first-level detection array 11M, the light detection units 111H-114H each output an electrical signal 11a-14a, and these electrical signals 11a-14a are directly used as the first-level electrical signals output by the first-level detection array 11M as a whole. In other cases, the electrical signals 11a-14a output by the light detection units 111H-114H may be combined to become the first-level electrical signals output by the first-level detection array 11M as a whole. For two first-level detection arrays, the first-level electrical signals directly used as or after being combined by the electrical signals output by the corresponding light detection units are called "corresponding" first-level electrical signals. For example, in the first-level detection arrays 11M and 12M, the first-level electrical signals 11a and 15a directly used as the electrical signals output by the corresponding light detection units 111H and 121H are called "corresponding" first-level electrical signals.

[0081] In order to suppress the seventh harmonic component in the output electrical signal of the light detection unit, the coordinate difference of the corresponding points in the two adjacent first-stage detection arrays belonging to the same second-stage detection array is set to P+P / 14. For example, in the adjacent first-stage detection array 11M and the first-stage detection array 12M of the second-stage detection array 101N, the light detection unit 111H corresponds to the light detection unit 121H, and the coordinate difference of the corresponding points of the light detection unit 111H and the light detection unit 121H is set to P+P / 14.

[0082] The so-called "coordinate difference of corresponding points" refers to the coordinate difference of any corresponding point in the corresponding light detection units in two adjacent first-stage detection arrays belonging to the same second-stage detection array. Figure 7 As shown, the light detection units 111H and 121H correspond to each other, the upper left vertex of the light detection unit 111H and the upper left vertex of the light detection unit 121H are corresponding points, and the coordinate difference between the two points is P+P / 14.

[0083] Since the period of the 7th harmonic component is P / 7, the coordinate difference between the corresponding points of the light detection unit 111H and the light detection unit 121H is P+P / 14, which is exactly 7 and a half periods of the 7th harmonic component. The single light detection unit 111H, 121H is regarded as a collection of countless small light detection points, and the output electrical signals 11a, 15a of the light detection units 111H, 121H should be the collection of the output electrical signals of each light detection point. The amplitude of the 7th harmonic component in the output electrical signal of each light detection point in the corresponding light detection units 111H, 121H in the two adjacent first-level detection arrays 11M, 12M is the same and the phase difference is 7×360°+180°, that is, the phase difference is 180°. Therefore, after adding the first-level electrical signals 11a, 15a output by the light detection units 111H, 121H, the 7th harmonic component in the generated second-level electrical signal 11b is offset.

[0084] like Figure 7 As shown, in the first-level detection array 11M and the first-level detection array 12M, the first-level electrical signals 11a and 15a output by the corresponding two optical detection units, the optical detection units 111H and 121H, are added to obtain the second-level electrical signal 11b. Among them, the first-level electrical signals 11a and 15a are a group of corresponding first-level electrical signals, and they are added to obtain a second-level electrical signal 11b. In the second-level electrical signal 11b, the 7th harmonic component is cancelled. Similarly, the 7th harmonic component in the second-level electrical signals 12b, 13b, and 14b is also cancelled.

[0085] Similarly, in the first-stage detection array 13M and the first-stage detection array 14M of the second-stage detection array 102N, the corresponding first-stage electrical signals 21a and 25a output by the corresponding two optical detection units, the optical detection units 131H and 141H, are added to obtain a second-stage electrical signal 21b. Among them, the first-stage electrical signals 21a and 25a are a group of corresponding first-stage electrical signals, which are added to obtain a second-stage electrical signal 21b. In the second-stage electrical signal 21b, the 7th harmonic component is cancelled. Similarly, the 7th harmonic component in the second-stage electrical signals 22b, 23b, and 24b is also cancelled.

[0086] It can be seen from the above that after the corresponding first-stage electrical signals in all first-stage detection arrays belonging to the same second-stage detection array are added, the 7th harmonic component in the added second-stage electrical signal is eliminated. Even if the 7th harmonic component still exists due to some imperfect factors in device manufacturing or external interference, the main source of the 7th harmonic component has been eliminated, so the 7th harmonic component is suppressed.

[0087] The above principle is also applicable to suppressing the 3rd, 5th, 11th and higher harmonic components. That is to say, the 3rd, 5th, 11th and Nth harmonic components can be eliminated respectively by setting the coordinate difference of corresponding points in two adjacent first-stage detection arrays belonging to the same second-stage detection array to P+P / 6, P+P / 10, P+P / 22 or P+P / (2×N) (N is the order of the high-order harmonic component to be suppressed).

[0088] exist Figure 7 In the example, the lines of the first-level electrical signals output by the light detection unit are connected, which indicates that the corresponding first-level electrical signals are added. In fact, for current signals, the connection of the lines of the electrical signals can achieve the effect of adding the corresponding electrical signals. For voltage signals, an adder can be added to realize the addition operation.

[0089] It is also important to note that using Figure 7The method introduced suppresses the 7th harmonic component. The coordinate difference of the corresponding points in two adjacent first-level detection arrays belonging to the same second-level detection array does not have to be P plus half of the period of the 7th harmonic component (harmonic component to be suppressed), that is, P+(P / 7)×(1 / 2), but can also be P plus 1 / 3, 1 / 4, 1 / 5, 1 / 6 of the period of the 7th harmonic component (harmonic component to be suppressed)... In other words, the coordinate difference of the corresponding points in two adjacent first-level detection arrays belonging to the same second-level detection array is P+P / (t2×N), where t2 is the number of first-level detection arrays in the same second-level detection array, and t2 is a natural number greater than 2, N is the number of the harmonic component to be suppressed, and N is an odd number greater than 3, and N is not the same as the number of the harmonic component that has been suppressed. At this time, it is necessary to add the first-level electrical signals output by the corresponding optical detection units in the t2 first-level detection arrays belonging to the same second-level detection array, and the Nth harmonic component to be suppressed in the added second-level electrical signal is zero.

[0090] If the 7th harmonic component is to be suppressed, then N = 7. If t2 = 3, that is, the coordinate difference of the corresponding points in two adjacent first-stage detection arrays belonging to the same second-stage detection array is P+P / 21, then the phase difference of the 7th harmonic component contained in the first-stage electrical signal output by the corresponding light detection units in the two adjacent first-stage detection arrays is 120°, therefore, when the first-stage electrical signals output by the corresponding light detection units in the three first-stage detection arrays belonging to the same second-stage detection array are added together, the 7th harmonic component in the added second-stage electrical signal is zero.

[0091] If the 7th harmonic component is to be suppressed, then N = 7. If t2 = 4, that is, the coordinate difference between the corresponding points in two adjacent first-stage detection arrays belonging to the same second-stage detection array is P+P / 28, then the phase difference of the 7th harmonic component contained in the first-stage electrical signal output by the corresponding light detection units in the two adjacent first-stage detection arrays is 90°, therefore, when the first-stage electrical signals output by the corresponding light detection units in the four first-stage detection arrays belonging to the same second-stage detection array are added together, the 7th harmonic component in the added second-stage electrical signal is zero.

[0092] If the 7th harmonic component is to be suppressed, then N = 7. If t2 = 6, that is, the coordinate difference between the corresponding points in two adjacent first-stage detection arrays belonging to the same second-stage detection array is P+P / 42, then the phase difference of the 7th harmonic component contained in the first-stage electrical signal output by the corresponding light detection units in the two adjacent first-stage detection arrays is 60°, therefore, when the first-stage electrical signals output by the corresponding light detection units in the six first-stage detection arrays belonging to the same second-stage detection array are added together, the 7th harmonic component in the added second-stage electrical signal is zero.

[0093] To suppress the 7th harmonic component, the coordinate difference of the corresponding points between two adjacent first-level detection arrays belonging to the same second-level detection array can also be set to x×P / N+P / (t2×N), where N is the number of harmonic components to be suppressed, t2 is a natural number greater than 2, and x can take many values ​​as long as x is a natural number, but x should be selected to avoid the spatial overlap of the first-level detection arrays. Since the period of the Nth harmonic component generated by the light wave is P / N, the Nth harmonic component in the light wave felt by the light detection points of the light detection units at a distance of "x×P / N" is the same; the phase difference of the Nth harmonic component in the light wave felt by the light detection points of the light detection units at a distance of P / (t2×N) is 360° / t2, and the phase difference of the Nth harmonic component in the electrical signal generated by it is also 360° / t2. Therefore, the first-stage electrical signals of the corresponding light detection units in t2 first-stage detection arrays belonging to the same second-stage detection array are added, and the Nth harmonic component in the second-stage electrical signal obtained by adding is zero, which can suppress the Nth harmonic component.

[0094] It should be noted that the "adjacent" in the "two adjacent first-level detection arrays belonging to the same second-level detection array" mentioned in the previous paragraph does not necessarily mean that they are adjacent in physical space, but that they are "adjacent" in the sense of belonging to the same second-level detection array. The "adjacent" first-level detection arrays belonging to the same second-level detection array do not necessarily have to be adjacent in physical space in the horizontal direction (x-axis direction), but other first-level detection arrays belonging to another second-level detection array can be inserted between them. For more information, please refer to the combined Fig. 9 Embodiments of the invention are described.

[0095] For example, Figure 7 In the figure, the first-level detection arrays 11M and 12M belong to the second-level detection array 101N, and the coordinate difference between the corresponding points is x×P / N+P / (t2×N). When the value of x is large, the distance between two adjacent first-level detection arrays in the t2 first-level detection arrays belonging to the same second-level detection array 101N is far. At this time, one or more first-level detection arrays belonging to other second-level detection arrays can be inserted into the physical space between two adjacent first-level detection arrays belonging to the same second-level detection array. For example, Figure 7In the example, when x is 14, N=7, and t2=2, the coordinate difference of the corresponding points between the first-level detection arrays 11M and 12M is 2P+P / 14. At this time, the first-level detection array 13M belonging to another second-level detection array 102N can be inserted into the physical space between two adjacent first-level detection arrays 11M and 12M that belong to the second-level detection array 101N. In this case, although the first-level detection arrays 11M and 12M are not adjacent in physical space, they belong to the second-level detection array 101N, so they are still adjacent in the second-level detection array 101N. The "adjacent" k-th level detection arrays referred to in this patent application document all refer to adjacent ones within the same k+1-level detection array.

[0096] It is also important to note that Figure 7 In the embodiment, the seventh harmonic is eliminated within a single second-stage detection array 101N, 102N. Therefore, the spacing J between two adjacent second-stage detection arrays 101N, 102N does not need to be specially set, and it has no effect on suppressing harmonic components. The spacing J can be, for example, close to zero, or other suitable values. Figure 7 In the embodiment shown, the spacing J is P / 14.

[0097] In the above distance x×P / N+P / (t2×N), the value of x in x×P / N should avoid the first-stage detection arrays overlapping each other in the horizontal direction (x-axis direction), for example Figure 7 In the embodiment shown, the value of x×P / N must be greater than or equal to the sum of the four light detection units and their four spacings (in the x-axis direction) in a first-stage detection array. In some other embodiments, the value of x×P / N must take into account the size of the first-stage detection array that needs to be placed between them. For this point, please refer to the combination Fig. 9 Embodiments of the invention are described.

[0098] It should also be noted that in the coordinate difference x×P / N+P / (t2×N) of the corresponding points mentioned above, the phase difference of the Nth harmonic component contained in the first-level electrical signal output by the optical detection unit can be P / (t2×N), or an integer multiple of P / (t2×N), that is, (t1×P) / (t2×N), t1 is a natural number greater than 1, and t1 and t2 are mutually prime. At this time, every t2 first-level detection arrays still form a second-level detection array. Among the t2 first-level detection arrays belonging to the same second-level detection array, the coordinate difference of the corresponding points of two adjacent first-level detection arrays is x×P / N+(t1×P) / (t2×N). In this way, a fixed phase difference (t1 / t2)×360° is introduced for the Nth harmonic component in the electrical signal output by the corresponding optical detection units in the two adjacent first-level detection arrays. The electrical signal output by the corresponding optical detection unit is directly or after combination as the first-level electrical signal output by the first-level detection array as a whole. Therefore, after the first-stage electrical signals corresponding to t2 first-stage detection arrays belonging to the same second-stage detection array are added, the Nth harmonic component is also offset or suppressed in the added second-stage electrical signal.

[0099] It should be noted that the use of Figure 7 The method introduced suppresses the 7th harmonic component, and also suppresses the harmonic components of integer multiples of the 7th harmonic component. This is because, if the coordinate difference of the corresponding points of two adjacent first-level detection arrays belonging to the same second-level detection array is x×P / N+(t1×P) / (t2×N), then this coordinate difference is also an integer multiple of the 14th, 21st, etc. harmonic components in the first-level electrical signal, and these harmonic components are also integrated to zero over such a coordinate difference, so the 14th, 21st, etc. harmonic components in the second-level electrical signal are also suppressed. This is also applicable to the use of this method to suppress the 3rd, 5th, 11th, etc. harmonic components.

[0100] Figure 7 The principle of the illustrated embodiment is also applicable to suppressing other harmonic components such as the 3rd, 5th, 11th, and 13th orders, which can be achieved by setting the parameter N in the above x×P / N+(t1×P) / (t2×N).

[0101] Figure 7 The method introduced can suppress a harmonic component and its integer multiple harmonic components. If you want to suppress the third and fifth harmonic components in the first-order electrical signal output by the light detection unit at the same time, you can set Figure 7 The specific shape of the light detection unit. For example, the horizontal tilt offset C of the parallelogram is set to the period of the third harmonic component to be suppressed, that is, P / 3, and the width of each parallelogram (x-axis direction) is set to P / 5. The principle is as follows: Figure 3 , Figure 4 , Figure 5 , Figure 6As described in the description.

[0102] It should be noted that if only Figure 7 The method introduced can suppress a harmonic component and its integer multiple harmonic components without limiting the setting of the specific shape of the light detection unit. Only the position setting between the light detection units and the way of connecting the electrical signals can suppress a harmonic component and its integer multiple harmonic components. There is no need to require all light detection units to have the same shape, only the light detection units whose output electrical signals are added to suppress the harmonic components need to have the same shape. There is no need to keep the spacing between the light detection units uniform. It is only that all the light detection units have the same shape and the spacing between them is evenly distributed unless it is specifically set. This is the easiest situation to design and helps with subsequent signal processing. Therefore, the embodiments of this patent application are all based on this situation, but this does not mean a limitation on the present invention.

[0103] When the specific shape of the light detection unit is set, Figure 7 The arrangement of the light detection unit shown can suppress multiple harmonic components and integer multiple harmonic components at the same time. In addition to the above-mentioned methods, the shape, size and coordinate difference parameters of the corresponding points in two adjacent first-level detection arrays belonging to the same second-level detection array of the light detection unit can also be designed to suppress other harmonic component combinations at the same time. For example, to suppress the 5th, 7th and 11th harmonic components at the same time, it is only necessary to adjust the shape, size parameters and coordinate difference parameters of the corresponding points of the light detection unit accordingly. Moreover, to suppress the same group of harmonic component combinations, such as the 3rd, 5th and 7th harmonic components, different methods can be selected to suppress them as needed.

[0104] For example, as described above, the third and fifth harmonic components can be suppressed by using the shape design of a single light detection unit, and the seventh harmonic component can be suppressed by setting a certain coordinate difference between two adjacent first-stage detection arrays belonging to the same second-stage detection array; the third and seventh harmonic components can also be suppressed by using the shape design of a single light detection unit, and the fifth harmonic component can be suppressed by setting a certain coordinate difference between two adjacent first-stage detection arrays belonging to the same second-stage detection array; there can also be other combinations. Those skilled in the art will understand that the specific suppression method can be designed according to actual needs.

[0105] Fig.12 This is a spectrum simulation diagram of the electrical signal output by the optical detection device when no measures are taken to suppress the harmonic components. Fig.13 Is adopted Figure 7 The method shown is a spectrum simulation diagram of the output electrical signal of the optical detection device after suppressing the 3rd, 5th and 7th harmonic components. Fig.13 It can be seen that the third, fifth and seventh harmonic components of the second-level electrical signals 11b-14b, 21b-24b output by the optical detection device are completely eliminated.

[0106] However, Figure 7 The method introduced can only suppress three harmonic components and integer multiples of these three harmonic components at the same time, but cannot suppress four or more harmonic components at the same time, for example, suppressing the 3rd, 5th, 7th, and 11th harmonic components at the same time.

[0107] See also Figure 8 , Figure 8 FIG. 1 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention, which shows the arrangement of light detection units that can simultaneously suppress the 7th and 11th harmonic components. Figure 8 As shown, the slit period of the grating is P. After the light passes through the grating, it casts a stripe light spot 7. The light detection device includes a plurality of light detection units. Figure 8 Only the light detection units 211H-214H, 221H-224H, 231H-234H, 241H-244H are shown, and all the light detection units are arranged in a horizontal direction (such as Figure 8 The relative movement direction between the grating and the light detection device is horizontal.

[0108] It should be noted that the stripe light spot 7 and each light detection unit will appear repeatedly in the horizontal direction (x-axis direction). Figure 8 Only parts of them are shown; the stripe spot 7 is vertical (such as Figure 8 The length of the optical detection unit in the vertical direction (y-axis direction) may be much larger than the length of the optical detection unit in the vertical direction (y-axis direction). Figure 8 Only a part of the stripe light spot 7 is shown; each light detection unit may also be repeated in the vertical direction (y-axis direction), and different light detection units that are repeated in the vertical direction may also be connected to each other. Figure 8 Only parts of them are shown.

[0109] Figure 8 In the embodiment, four identical light detection units are arranged side by side in one period P, and the four light detection units are evenly distributed in the period P. For example, four identical light detection units 211H-214H are arranged in one period P, and the shape of the four light detection units is a parallelogram, and the shapes of the light detection units are the same, and the four light detection units 211H-214H are evenly distributed in the period P, so the light detection units 211H-214H and the four spacings between them (in the x-axis direction) are accommodated in one period P.

[0110] In this arrangement, the four light detection units in one period P respectively output an electrical signal, for example, the light detection units 211H-214H respectively output first-order electrical signals 31a-34a. If the odd harmonic component signal and the interference signal are filtered out, and only the fundamental frequency component signal is left, the electrical signals output by two adjacent light detection units differ in phase by 90°. Because the coordinate difference of the corresponding points of two adjacent light detection units in the light detection units 211H-214H is one-fourth of the fundamental frequency period. These four first-order electrical signals 31a-34a are input into the subsequent signal processing circuit, which helps to obtain how much relative displacement has occurred between the grating and the light detection device.

[0111] Further, every four light detection units form a first-level detection array, for example, light detection units 211H-214H form a first-level detection array 21M, light detection units 221H-224H form a first-level detection array 22M, light detection units 231H-234H form a first-level detection array 23M, and light detection units 241H-244H form a first-level detection array 24M. Multiple first-level detection arrays further form a second-level detection array, for example, first-level detection arrays 21M and 22M form a second-level detection array 201N, and first-level detection arrays 23M and 24M form a second-level detection array 202N. Second-level detection arrays 201N and 202N are as shown in FIG. Figure 8 As shown by the solid line parallelogram in FIG. 1 , the plurality of light detection units included in the light detection device are divided into a plurality of second-stage detection arrays 201N, 202N, ... (not fully shown), and each second-stage detection array includes two first-stage detection arrays.

[0112] In order to suppress the seventh harmonic component in the electrical signal output by the optical detection unit, the coordinate difference of the corresponding points in two adjacent first-level detection arrays belonging to the same second-level detection array is set to P+P / 14. For example, in the adjacent first-level detection arrays 21M and 22M belonging to the same second-level detection array 201N, the optical detection unit 211H corresponds to the optical detection unit 221H, and the coordinate difference of the corresponding points between the optical detection unit 211H and the optical detection unit 221H is set to P+P / 14. In addition, in the adjacent first-level detection arrays 21M and 22M, the first-level electrical signals output by the corresponding optical detection units are added. For example, the first-level electrical signal 31a output by the optical detection unit 211H is added to the first-level electrical signal 35a output by the optical detection unit 221H to obtain the second-level electrical signal 31b. The seventh harmonic component in the second-level electrical signal 31b is suppressed or eliminated. The principle thereof can be found in the patent application document in conjunction with Figure 7 Thus, the seventh harmonic component in the second-stage electrical signals 31b-34b is suppressed or eliminated.

[0113] Similarly, the positional relationship and connection relationship between the two adjacent first-level detection arrays 23M and 24M belonging to the same second-level detection array 202N are also set like the relationship between the first-level detection arrays 21M and 22M, so that the 7th harmonic component in the second-level electrical signal 41b-44b is suppressed or eliminated.

[0114] Furthermore, the plurality of second-stage detection arrays further form a third-stage detection array, for example, the second-stage detection arrays 201N and 202N form a third-stage detection array 2001R. In this way, the plurality of light detection units included in the entire light detection device are divided into a plurality of third-stage detection arrays, each of which may include two second-stage detection arrays, each of which may include two first-stage detection arrays, and each of which may include four light detection units.

[0115] In this way, a multi-level detection array and a corresponding electrical signal structure are formed. The four light detection units 211H-214H in the first-level detection array 21M respectively output first-level electrical signals 31a-34a, the four light detection units 221H-222H in the first-level detection array 22M respectively output first-level electrical signals 35a-38a, the four light detection units 231H-234H in the first-level detection array 23M respectively output first-level electrical signals 41a-44a, and the four light detection units 241H-242H in the first-level detection array 24M respectively output first-level electrical signals 45a-48a. Among them, the first-level electrical signal 31a is added to the first-level electrical signal 35a to generate the second-level electrical signal 31b, the first-level electrical signal 32a is added to the first-level electrical signal 36a to generate the second-level electrical signal 32b, the first-level electrical signal 33a is added to the first-level electrical signal 37a to generate the second-level electrical signal 33b, the first-level electrical signal 34a is added to the first-level electrical signal 38a to generate the second-level electrical signal 34b, the first-level electrical signal 41a is added to the first-level electrical signal 45a to generate the second-level electrical signal 41b, the first-level electrical signal 42a is added to the first-level electrical signal 46a to generate the second-level electrical signal 42b, the first-level electrical signal 43a is added to the first-level electrical signal 47a to generate the second-level electrical signal 43b, and the first-level electrical signal 44a is added to the first-level electrical signal 48a to generate the second-level electrical signal 44b.

[0116] If the first-stage detection array 21M and the first-stage detection array 22M are regarded as a whole, that is, forming the second-stage detection array 201N, the second-stage electrical signals 31b-34b can be regarded as the electrical signals output by the second-stage detection array 201N. Similarly, the second-stage electrical signals 41b-44b can be regarded as the electrical signals output by the second-stage detection array 202N. The second-stage electrical signals 31b-34b and 41b-44b do not contain the 7th harmonic component, but still contain the 11th harmonic component.

[0117] To suppress the 11th harmonic component in the second-level electrical signal output by the second-level detection array, the coordinate difference of the corresponding points in two adjacent second-level detection arrays belonging to the same third-level detection array is set to 24P / 11+P / 22. For example, in the adjacent second-level detection arrays 201N and 202N belonging to the same third-level detection array 2001R, the light detection unit 211H corresponds to the light detection unit 231H, and the coordinate difference of the corresponding points of the light detection unit 211H and the light detection unit 231H is set to 24P / 11+P / 22. At the same time, the second-level electrical signals corresponding to the second detection arrays 201 and 202 are added to obtain the third-level electrical signal. For example, the second-level electrical signals 31b and 41b are added, and the second-level electrical signals 31b and 41b are called a group of corresponding second-level electrical signals, and a third-level electrical signal 31c is obtained by adding them. Similarly, several other third-level electrical signals 32c-34c are obtained. The third-level electrical signals 31c - 34c are regarded as electrical signals output by the third-level detection array 2001R composed of the second detection arrays 201 and 202.

[0118] The so-called "coordinate difference of corresponding points" means the coordinate difference of any corresponding point in the corresponding light detection units in two adjacent second-level detection arrays belonging to the same third-level detection array. Figure 8 As shown, the light detection units 211H and 231H correspond to each other, and the coordinate difference between the upper left vertex of the light detection unit 211H and the upper left vertex of the light detection unit 231H is 24P / 11+P / 22.

[0119] Figure 8 The specific positional relationship of each light detection unit is shown. Line D indicates the starting position of the first-level detection array 21M, that is, the position of the upper left vertex of the light detection unit 211H. Line E indicates the end position of the first-level detection array 22M, that is, the position obtained by adding the upper right vertex of the light detection unit 224H to the spacing between adjacent light detection units in the first-level detection array. The space between Line D and Line E can be regarded as the space occupied by the second-level detection array 201N. Line F indicates the position 24P / 11 away from Line D, which is an integer multiple of the period P / 11 of the 11th harmonic component in the light wave. Line G indicates the starting position of the second-level detection array 202N, that is, the position of the upper left vertex of the light detection unit 231H. Between Line D and Line G is the coordinate difference 24P / 11+P / 22 between the corresponding points of the second-level detection array 201N and the second-level detection array 202N.

[0120] Since the period of the 11th harmonic component is P / 11, the coordinate difference between the corresponding points of the light detection unit 211H and the light detection unit 231H is 24P / 11+P / 22, which is exactly 24 and a half periods of the 11th harmonic component. The single light detection unit 211H, 231H is regarded as a collection of countless tiny light detection points, and the first-level electrical signals 31a, 41a output by the light detection units 211H, 231H should be the collection of electrical signals output by each light detection point. Since the amplitude of the 11th harmonic component in the electrical signals output by each light detection point in the corresponding light detection units 211H, 231H in the adjacent second-level detection array 201N and the second-level detection array 202N belonging to the same third-level detection array 2001R is the same and the phase difference is 24×360°+180°, that is, the phase difference is 180°. Therefore, the phase difference between the 11th harmonic components in the first-order electrical signals 31a and 41a generated by the optical detection unit 211H and the optical detection unit 231H is 180°. Similarly, the phase difference between the 11th harmonic components in the first-order electrical signal 35a and the first-order electrical signal 45a is 180°. Since the second-order electrical signal 31b is composed of the first-order electrical signals 31a and 35a, and the second-order electrical signal 41b is composed of the first-order electrical signals 41a and 45a, respectively, the phase difference between the 11th harmonic components in the second-order electrical signals 31b and 41b is also 180°. Therefore, in the third-order electrical signal 31c obtained by adding them together, the 11th harmonic component should be zero. This achieves the effect of removing and suppressing the 11th harmonic component. Similarly, the 11th harmonic components in the third-order electrical signals 32c-34c are also offset.

[0121] It can be seen from the above that after the corresponding second-stage electrical signals in all second-stage detection arrays belonging to the same third-stage detection array are added, the 11th harmonic component in the added third electrical signal is eliminated. Even if there is still an 11th harmonic component due to some imperfect factors in device manufacturing or external interference, the main source of the 11th harmonic component has been eliminated, so the 11th harmonic component is suppressed.

[0122] Figure 8There are other implementation methods in the illustrated embodiment. To suppress the 11th harmonic component, the coordinate difference of the corresponding points between the adjacent second-level detection arrays 201N and 202N belonging to the same third-level detection array 2001R can also be y×P / M+P / (s2×M), where M is the order of the harmonic component to be suppressed, and M is not the same as the order of the harmonic component that has been suppressed, s2 is the number of second-level detection arrays in the same third-level detection array, s2 is a natural number greater than 2, and y can take many values ​​as long as y is a natural number, but y is selected to avoid spatial overlap between the second-level detection arrays. In other words, on the basis of the integer multiple of the period P / 11 of the 11th harmonic component in the electrical signal, the distance P / (s2×11) is increased, thereby introducing a fixed phase difference of 360° / s2 for the 11th harmonic component sensed by the light detection points of the corresponding light detection units in the adjacent second-level detection arrays 201N and 202N.

[0123] Accordingly, the second-level electrical signals corresponding to the s2 second-level detection arrays belonging to the same third-level detection array are added together, and the 11th harmonic component in the third-level electrical signal obtained by adding together is zero. For example, when s2=2, Figure 8 As shown, the corresponding second-level electrical signals in the second-level detection arrays 201N and 202N in the same third-level detection array 2001R are added respectively, that is, the second-level electrical signals 31b and 41b are added, the second-level electrical signals 32b and 42b are added, the second-level electrical signals 33b and 43b are added, and the second-level electrical signals 34b and 44b are added, thereby obtaining the third-level electrical signals 31c, 32c, 33c, and 34c respectively. In the third-level electrical signals 31c-34c, the 11th harmonic component is zero. When s2=3, Figure 8 In the embodiment shown, the same third-level detection array 2001R needs to include three second-level detection arrays, and the corresponding second-level electrical signals in the three second-level detection arrays are added respectively, that is, each corresponding three second-level electrical signals are added to obtain a third-level electrical signal. In the third-level electrical signal obtained in this way, the 11th harmonic component is zero.

[0124] Here, the "corresponding" second-level electrical signal refers to the third-level detection array being regarded as a whole, each second-level detection array outputs multiple second-level electrical signals, and the second-level electrical signal composed of the first-level electrical signals output by the corresponding light detection units is the "corresponding" second-level electrical signal. For example, Figure 8In the figure, between the second-level detection arrays 201N and 202N, the second-level electrical signals 31b and 41b are respectively composed of the first-level electrical signals output by the corresponding light detection units 211H and 221H and the light detection units 231H and 241H, and there is a corresponding relationship between the light detection units 211H and 231H, and there is a corresponding relationship between the light detection units 221H and the light detection units 241H, so the second-level electrical signals 31b and 41b are two of the corresponding second-level electrical signals in the second-level detection arrays 201N and 202N.

[0125] Similarly, the "adjacent" in the "adjacent second-level detection arrays" in this embodiment does not necessarily mean that they are adjacent in physical space, but that they are "adjacent" in the sense of belonging to the same third-level detection array. The "adjacent" second-level detection arrays belonging to the same third-level detection array do not necessarily have to be adjacent in physical space in the horizontal direction (x-axis direction), but other second-level detection arrays belonging to another third-level detection array may be inserted between them.

[0126] exist Figure 8 In the example, the lines of the first-level electrical signal output by the first-level detection array are connected or the lines of the second-level electrical signal output by the second-level detection array are connected, indicating that the corresponding electrical signals are added. In fact, the connection of the lines of the electrical signals can achieve the effect of adding the corresponding electrical signals. For voltage signals, an adder can be added to realize the addition operation.

[0127] In the above distance y×P / M+P / (s2×M), the value of y in y×P / M should avoid the second-stage detection arrays overlapping each other in the horizontal direction (x-axis direction), for example Figure 8 In the embodiment shown, the value of y×P / M must be greater than or equal to the sum of the widths (x-axis direction) of the two first-stage detection arrays 21M and 22M and the spacing between them. In some other embodiments, the value of y×P / M must take into account the size of the second-stage detection arrays to be placed between them. For this point, please refer to Fig. 9 Embodiments of the invention are described.

[0128] It should also be noted that in the coordinate difference y×P / M+P / (s2×M) of the corresponding points, the phase difference of the Mth harmonic component in the second-level electrical signal output by the second-level detection array as a whole can be 360° / (s2×M), or an integer multiple of P / (s2×M), that is, (s1×P) / (s2×M), s1 is a natural number greater than 1, and s1 and s2 are mutually prime. Every s2 second-level detection arrays form a third-level detection array. Therefore, in the s2 second-level detection arrays belonging to the same third-level detection array, the coordinate difference of the corresponding points of two adjacent second-level detection arrays is y×P / M+(s1×P) / (s2×M). In this way, a fixed phase difference (s1 / s2)×360° is introduced for the Mth harmonic component in the output electrical signal of the corresponding optical detection units in the two adjacent second-level detection arrays belonging to the same third-level detection array. The output electrical signals of the corresponding optical detection units are finally combined into the second-level electrical signal output by the second-level detection array as a whole. Therefore, after the corresponding second-stage electrical signals in s2 second-stage detection arrays belonging to the same third-stage detection array are added, the Mth harmonic component in the added third-stage electrical signal is also offset or suppressed.

[0129] It should be noted that the use of Figure 8 The method introduced suppresses the 11th harmonic component, and also suppresses the harmonic components of integer multiples of the 11th harmonic component. This is because, if the coordinate difference of the corresponding points of two adjacent second-level detection arrays belonging to the same third-level detection array is y×P / M+(s1×P) / (s2×M), then this coordinate difference is also an integer multiple of the 22nd harmonic component, 33rd harmonic component, etc. in the second-level electrical signal, and these harmonic components are also integrated to zero over such a coordinate difference, so the 22nd, 33rd, etc. harmonic components in the third-level electrical signal are also suppressed. This is also applicable to the use of this method to suppress the 3rd, 5th, 7th, etc. harmonic components.

[0130] Figure 8 The principle of the illustrated embodiment is also applicable to suppressing other harmonic components such as the 3rd, 5th, and 13th order, which can be achieved by setting the parameter M in the above y×P / M+(s1×P) / (s2×M).

[0131] Figure 8 The method introduced can suppress two harmonic components and their integer multiple harmonic components. If you want to suppress the third and fifth harmonic components in the electrical signal output by the light detection unit at the same time, you can set Figure 8 The specific shape of the light detection unit. For example, the horizontal tilt offset C of the parallelogram is set to the period of the third harmonic component to be suppressed, that is, P / 3, and the width of each parallelogram (x-axis direction) is set to P / 5. The principle is as follows: Figure 3 , Figure 4 , Figure 5 , Figure 6 As described in the description.

[0132] It should be noted that if only Figure 8 The method described here can suppress two harmonic components and their integer multiple harmonic components without limiting the specific shape of the light detection unit. Only the position setting between the light detection units and the way of connecting the electrical signals can suppress the two harmonic components and their integer multiple harmonic components. It is not necessary to require all light detection units to have the same shape, only the light detection units whose output electrical signals are added to suppress the harmonic components need to have the same shape. It is also not necessary to keep the spacing between the light detection units uniform. This also applies to Fig. 9 , Fig.10 The embodiment shown. It is just that all the light detection units have the same shape, and the spacing between them is evenly distributed unless otherwise specified, which is the easiest to design and helps with subsequent signal processing. Therefore, the embodiments of this patent application are all based on this situation, but this does not mean a limitation of the present invention.

[0133] When the specific shape of the light detection unit is set, Figure 8 The arrangement of the light detection unit shown can suppress multiple harmonic components and integer multiple harmonic components at the same time. In addition to the above-mentioned methods, the shape, size and coordinate difference parameters of the corresponding points in two adjacent first-level detection arrays of the light detection unit can also be designed to suppress other odd harmonic component combinations at the same time. For example, to suppress the 5th, 7th, 11th and 13th harmonic components at the same time, it is only necessary to adjust the shape, size parameters and coordinate difference parameters of the corresponding points of the light detection unit accordingly. Moreover, to suppress the same group of harmonic component combinations, such as the 3rd, 5th, 7th and 11th harmonic components, different methods can be selected to suppress them as needed.

[0134] For example, as described above, the 3rd and 5th harmonic components can be suppressed by using the shape design of a single light detection unit, the 7th harmonic component can be suppressed by setting a certain coordinate difference between two adjacent first-level detection arrays belonging to the same second-level detection array, and the 11th harmonic component can be suppressed by setting a certain coordinate difference between two adjacent second-level detection arrays belonging to the same third-level detection array; the 3rd and 7th harmonic components can also be suppressed by using the shape design of a single light detection unit, the 5th harmonic component can be suppressed by setting a certain coordinate difference between two adjacent first-level detection arrays belonging to the same second-level detection array, and the 11th harmonic component can be suppressed by setting a certain coordinate difference between two adjacent second-level detection arrays belonging to the same third-level detection array; there can also be other combinations. Those skilled in the art can understand that the specific suppression method can be designed according to actual needs.

[0135] Fig.12 This is a spectrum simulation diagram of the output electrical signal of the optical detection device when the present invention does not take any measures to suppress the harmonic components. Fig.14 Is adopted Figure 8 The method shown is a spectrum simulation diagram of the output electrical signal of the optical detection device after suppressing the 3rd, 5th, 7th and 11th harmonic components. Fig.14 It can be seen that the 3rd, 5th, 7th and 11th harmonic components of the third-order electrical signal 31-34c output by the light detection device are completely eliminated.

[0136] In the above embodiment, the "adjacent" in "two adjacent second-level detection arrays" does not necessarily mean that they are adjacent in physical space, but that they are "adjacent" in the sense of belonging to the same third-level detection array. The "adjacent" second-level detection arrays belonging to the same third-level detection array do not necessarily have to be adjacent in physical space in the horizontal direction (x-axis direction), but other second-level detection arrays that do not belong to the same third-level detection array can be inserted.

[0137] For example, Figure 8 In the figure, the second-level detection arrays 201N and 202N belong to the third-level detection array 2001R, and the coordinate difference between the corresponding points is y×P / M+(s1×P) / (s2×M). If M=11, y=44, s1=1, s2=2, then the coordinate difference between the corresponding points of the second-level detection arrays 201N and 202N is 4P+P / 22. At this time, there is enough space between the second-level detection arrays 201N and 202N to place the second-level detection array belonging to another third-level detection array ( Figure 8 However, for the third-stage detection array 2001R, the second-stage detection arrays 201N and 202N are still “adjacent” second-stage detection arrays.

[0138] For example Fig. 9 As shown, Fig. 9 : is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention, which shows another implementation method that can simultaneously suppress the 3rd, 5th, 7th, and 11th harmonic components. The light detection device includes a plurality of light detection units ( Fig. 9 (not shown in the figure), a fixed number of light detection units are combined into a first-level detection array. Fig. 9 Only the first-order optical detection arrays 51M-53M, 61M-63M are shown. For example, Fig. 9 In the figure, the first-stage detection arrays 51M-53M and 61M-63M are each composed of 4 light detection units, and the 4 light detection units have the same shape and are evenly distributed in the first-stage detection array.

[0139] It should be noted that each first-level detection array will repeat in the horizontal direction (x-axis direction). Fig. 9 Only parts of them are shown.

[0140] Fig. 9In the figure, the first-stage detection arrays 51M-53M belong to the second-stage detection array 501N, and the first-stage detection arrays 61M-63M belong to the second-stage detection array 601N. The first-stage electrical signals 49a-60a output by the first-stage detection arrays 51M, 52M, and 53M adjacent to each other are added together. The first-stage electrical signals 61a-72a output by the first-stage detection arrays 61M, 62M, and 63M adjacent to each other are added together together.

[0141] It can be seen that in the second-stage detection array 501N, a first-stage detection array 61M belonging to another second-stage detection array 601N is inserted between adjacent first-stage detection arrays 51M and 52M. Similarly, a first-stage detection array 62M is inserted between adjacent first-stage detection arrays 52M and 53M. In the second-stage detection array 601N, a first-stage detection array 52M belonging to another second-stage detection array 501N is inserted between adjacent first-stage detection arrays 61M and 62M. Similarly, a first-stage detection array 53M is inserted between adjacent first-stage detection arrays 62M and 63M.

[0142] In the second-level detection array 501N, the coordinate differences of the corresponding points between the adjacent first-level detection arrays 51M, 52M and between the adjacent first-level detection arrays 52M, 53M are all 3P+P / 21. In order to clearly illustrate the technical solution, the upper left corner of each box indicating the first-level detection arrays 51M-53M, 61M-63M can be regarded as the corresponding point of the upper left corner of the first light detection unit in each first-level detection array. The light detection units in the first-level detection array 51M respectively output first-level electrical signals 49a-52a, the light detection units in the first-level detection array 52M respectively output first-level electrical signals 53a-56a, and the light detection units in the first-level detection array 53M respectively output first-level electrical signals 57a-60a. Among these first-level electrical signals, the corresponding first-level electrical signals are added to obtain second-level electrical signals 51b-54b, respectively, and the third, fifth, and seventh harmonic components in the second-level electrical signals 51b-54b are suppressed or eliminated. The principle thereof can be referred to in conjunction with the present patent application document. Figure 3-Figure 8 The content described.

[0143] Similarly, in the second-stage detection array 601N, the coordinate differences of the corresponding points between the adjacent first-stage detection arrays 61M, 62M and between the adjacent first-stage detection arrays 62M, 63M are all 3P+P / 21. The first-stage detection arrays 61M, 62M, and 63M output first-stage electrical signals 61a-64a, 65a-68a, and 69a-72a, respectively. The corresponding first-stage electrical signals in these first-stage electrical signals are added to obtain second-stage electrical signals 61b-64b, respectively. The third, fifth, and seventh harmonic components in the second-stage electrical signals 61b-64b are suppressed or eliminated. The principle can be referred to in conjunction with the present patent application document. Figure 3-Figure 8 The content described.

[0144] Fig. 9 In the figure, the two second-level detection arrays 501N and 601N form a third-level detection array, and the coordinate difference between the corresponding points of the second-level detection arrays 501N and 601N is P+P / 22. For example, the coordinate difference between the corresponding points of the first-level detection array 51M and the first-level detection array 61M is P+P / 22, the coordinate difference between the corresponding points of the first-level detection array 52M and the first-level detection array 62M is P+P / 22, and the coordinate difference between the corresponding points of the first-level detection array 53M and the first-level detection array 63M is P+P / 22. The corresponding second-level electrical signals output by the second-level detection arrays 501N and 601N are added, for example, the second-level electrical signals 51b and 61b are added, and in the obtained third-level electrical signal 51c, the 11th harmonic component should be zero. Similarly, in the third-level electrical signals 52c-54c, the 11th harmonic component is suppressed or eliminated, and its principle can be referred to in conjunction with the present patent application document. Figure 3-Figure 8 The content described.

[0145] according to Figure 3-Figure 9 According to the disclosed technical principle, if five or more harmonic components are to be suppressed simultaneously, the third-level detection arrays can be further combined into a detection array of a higher order, and the coordinate difference of the corresponding points between two adjacent third-level detection arrays belonging to the same higher-order detection array can be appropriately set. For example, r2 adjacent third-level detection arrays are combined into a fourth-level detection array to form a plurality of fourth-level detection arrays, and the corresponding third-level electrical signals in the r2 third-level detection arrays belonging to the same fourth-level detection array are added respectively to form r2 fourth-level electrical signals, in which the fifth harmonic component will be suppressed.

[0146] See also Fig.10 , Fig.10 is a schematic diagram of the arrangement of light detection units according to another embodiment of the present invention, which shows an implementation method that can simultaneously suppress the 7th, 11th, and 13th harmonic components. Fig.10 In the embodiment, each of the first-stage detection arrays 15M-18M, 25M-28M includes a plurality of light detection units, and the number and arrangement of the light detection units included in each first-stage detection array are the same. Each first-stage detection array outputs four first-stage electrical signals. For example, the first-stage detection array 15M outputs first-stage electrical signals 1'a, 2'a, 3'a, and 4'a. The number of first-stage electrical signals can be other numbers, which depends on the number of light detection units included in a first-stage detection array and the electrical connection relationship between them.

[0147] Adjacent t2 first-level detection arrays form a second-level detection array. For example, take t2=2, two adjacent first-level detection arrays 15M and 16M form a second-level detection array 105N, two adjacent first-level detection arrays 17M and 18M form a second-level detection array 106N, two adjacent first-level detection arrays 25M and 26M form a second-level detection array 205N, and two adjacent first-level detection arrays 27M and 28M form a second-level detection array 206N. Set the distance between the corresponding points of two adjacent first-level detection arrays (for example, first-level detection arrays 15M and 16M) belonging to the same second-level detection array to be x×P / N+(t1×P) / (t2×N), and N=7, so as to introduce a phase difference of (t1 / t2)×360° between the 7th harmonic components of the output electrical signals of the two adjacent first-level detection arrays. For example, x=7, t1=1, t2=2, the coordinate difference of the corresponding points is set to P+P / 14, thereby introducing a phase difference of 180° between the 7th harmonic components of the electrical signals output by the two adjacent first-stage detection arrays. In order to more clearly illustrate the technical solution, the upper left corner of each dotted line box indicating the first-stage detection arrays 15M-18M, 25M-28M can be regarded as the corresponding point of the upper left corner of the first light detection unit in each first-stage detection array.

[0148] The corresponding first-level electrical signals output by t2 first-level detection arrays belonging to the same second-level detection array are added to obtain a second-level electrical signal, and the second-level electrical signal is used as the second-level detection array output electrical signal. For example, the first-level electrical signals 1'a and 5'a correspond to each other, and the second-level electrical signal 1'b is obtained by adding them; the first-level electrical signals 2'a and 6'a correspond to each other, and the second-level electrical signal 2'b is obtained by adding them; the first-level electrical signals 3'a and 7'a correspond to each other, and the second-level electrical signal 3'b is obtained by adding them; the first-level electrical signals 4'a and 8'a correspond to each other, and the second-level electrical signal 4'b is obtained by adding them. In the second-level electrical signals 1'b, 2'b, 3'b, and 4'b, the 7th harmonic component is suppressed or eliminated. Similarly, in the second-level electrical signals 5'b-16'b, the 7th harmonic component is suppressed or eliminated.

[0149] Further, adjacent s2 second-level detection arrays form a third-level detection array. For example, s2=2, two adjacent second-level detection arrays 105N and 106N form a third-level detection array 1005R, and two adjacent second-level detection arrays 205N and 206N form a third-level detection array 2005R. The coordinate difference of the corresponding points of two adjacent second-level detection arrays (for example, second-level detection arrays 205N and 206N) belonging to the same third-level detection array is set to y×P / M+(s1×P) / (s2×M), and M=11, so as to introduce a phase difference (s1 / s2)×360° between the 11th harmonic components of the electrical signals output by the two second-level detection arrays. For example, y=24, s1=1, s2=2, and the coordinate difference of the above corresponding points is set to 24 / 11+P / 22, so as to introduce a phase difference of 180° between the 11th harmonic components of the electrical signals output by the two adjacent second-level detection arrays.

[0150] The corresponding second-level electrical signals output by s2 second-level detection arrays belonging to the same third-level detection array are added to obtain a third-level electrical signal, and the third-level electrical signal is used as the third-level detection array output electrical signal. For example, the second-level electrical signals 1'b and 5'b correspond to each other, and are added to obtain the third-level electrical signal 1'c; the second-level electrical signals 2'b and 6'b correspond to each other, and are added to obtain the third-level electrical signal 2'c; the second-level electrical signals 3'b and 7'b correspond to each other, and are added to obtain the third-level electrical signal 3'c; the second-level electrical signals 4'b and 8'b correspond to each other, and are added to obtain the third-level electrical signal 4'c. In the third-level electrical signals 1'c, 2'c, 3'c, and 4'c, the 11th harmonic component is suppressed or eliminated. Similarly, in the third-level electrical signals 5'c, 6'c, ​​7'c, and 8'c, the 11th harmonic component is suppressed or eliminated.

[0151] Furthermore, r2 adjacent third-level detection arrays form a fourth-level detection array. For example, if r2=2, two adjacent third-level detection arrays 1005R and 2005R form a fourth-level detection array 10005S. Fig.10In the figure, only one fourth-level detection array 10005S is shown. In fact, the optical detection device can also include multiple fourth-level detection arrays, and each fourth-level detection array is set in the same way. The corresponding third-level electrical signals output by r2 third-level detection arrays belonging to the same fourth-level detection array are added to obtain a fourth-level electrical signal, and the fourth-level electrical signal is used as the electrical signal output by the fourth-level detection array. For example, the third-level electrical signals 1'c and 5'c correspond to each other, which are a group of corresponding third-level electrical signals, and they are added to obtain the fourth-level electrical signal 1'd. Similarly, the third-level electrical signals 2'c and 6'c correspond to each other, and they are added to obtain the fourth-level electrical signal 2'd, the third-level electrical signals 3'c and 7'c correspond to each other, and they are added to obtain the fourth-level electrical signal 3'd, and the third-level electrical signals 4'c and 8'c correspond to each other, and they are added to obtain the fourth-level electrical signal 4'd.

[0152] Furthermore, in the above-mentioned multiple third-level detection arrays, the coordinate difference of the corresponding points of two adjacent third-level detection arrays belonging to the same fourth-level detection array is z×P / Q+(r1×P) / (r2×Q), wherein r1 and z are natural numbers, r2 is a natural number greater than 2, and r1 and r2 are mutually prime, r2 is the number of third-level detection arrays belonging to the same fourth-level detection array, and z can take many values ​​as long as z is a natural number, but z is selected to avoid the overlap of the third-level detection arrays in space, Q is the order of the harmonic component to be suppressed, Q is an odd number greater than 3, and Q is not the same as the order of the harmonic component that has been suppressed. That is to say, on the basis of the integer multiple of the period P / Q of the Q-order harmonic component, the distance (r1×P) / (r2×Q) is increased, so as to introduce a fixed phase difference (r1 / r2)×360° for the Q-order harmonic component in the output electrical signal of the corresponding light detection unit in the two adjacent third-level detection arrays belonging to the same fourth-level detection array. Correspondingly, the third-level electrical signals corresponding to r2 third-level detection arrays in the same fourth-level detection array are added together, and in the fourth-level electrical signal obtained by adding together, the Q-order harmonic component is zero, and the Q-order harmonic component is suppressed or eliminated.

[0153] For example, Fig.10In the example, the 13th harmonic needs to be suppressed, that is, Q is 13. Take r1=1, r2=2, z=57, and set the coordinate difference of the corresponding points of two adjacent third-level detection arrays belonging to the same fourth-level detection array to 57P / 13+P / 26, so as to introduce a 180° phase difference for the 13th harmonic component in the corresponding third-level electrical signal output by the two adjacent third-level detection arrays. Add the corresponding third-level electrical signals output by all third-level detection arrays belonging to the same fourth-level detection array to obtain the fourth-level electrical signal. For example, in the third-level electrical signals output by the two third-level detection arrays belonging to the same fourth-level detection array 10005S, that is, the third-level detection arrays 1005R and 1006R, the third-level electrical signals 1'c and 5'c correspond, and they are added to obtain the fourth-level electrical signal 1'd. Similarly, the fourth-level electrical signals 2'd, 3'd, and 4'd are obtained. In the fourth-level electrical signals 1'd-4'd, the 13th harmonic component is suppressed or eliminated.

[0154] Fig.10 To remove the third and fifth harmonic components, each photodetector unit ( Fig.10 The shape of (not shown) is set as follows Figure 8 For example, the width of the parallelogram is set to P / 5, and the lateral tilt offset is set to P / 3. Any of the first-stage detection arrays 15M-18M, 25M-28M includes four light detection arrays, and the four light detection units have the same shape and are evenly distributed in the first-stage detection array. In addition, Fig.10 In the embodiment shown, the 3rd, 5th, 7th, 11th, 13th harmonic components and their integer multiple harmonic components in the output electrical signal can be removed simultaneously, which can achieve better measurement accuracy in most optical encoders.

[0155] If only three harmonic components need to be removed, then Fig.10 In the embodiment shown, the specific shape of the light detection unit is not limited. If only four harmonic components need to be removed, then Fig.10 In the illustrated embodiment, only one geometric dimension of the light detection unit may be limited. For example, the light detection unit may be set as follows: Figure 4 , Figure 6 As for which harmonic components to remove and which size setting to use to remove these harmonic components, those skilled in the art can design them as needed based on the teachings provided in this patent application.

[0156] Fig.12 This is a spectrum simulation diagram of the electrical signal output by the optical detection device when no measures are taken to suppress the harmonic components; Fig.15 Is adopted Fig.10The method shown is a spectrum simulation diagram of the output electrical signal of the optical detection device after suppressing the 3rd, 5th, 7th, 11th, and 13th harmonic components. Fig.15 It can be seen that the 3rd, 5th, 7th, 11th and 13th harmonic components of the fourth-order electrical signal 1'd-4'd output by the light detection device are completely eliminated after being processed by the above method.

[0157] See also Fig.11 , Fig.11 Schematic diagram of the arrangement of light detection units on a light detection device actually manufactured according to another embodiment of the present invention. The grating used in conjunction with the light detection device is a disk-type grating. Fig.11 The graph shown can be the above Figure 3-Figure 10 The arrangement scheme in any embodiment is disclosed, and the graphics that can be actually produced are obtained after the rectangular-sector transformation. 911 is one of the light detection units, and the light detection unit 911 includes a plurality of segments 116-119, etc., and each segment is alternately arranged in a mirror-symmetrical relationship in the vertical direction. Each segment can be the above Figure 3-Figure 10 A light detection unit in any embodiment of the disclosure may be, for example, Figure 8 A parallelogram is shown. A plurality of parallelograms that are mirror-symmetrical, repeatedly arranged and adjacent to each other in the vertical direction (y-axis direction) form a row of light detection units.

[0158] Fig.11 In the embodiment, the light detection units 911H-914H, 915H-918H, 919H-922H, 923H-926H are respectively combined into the first-stage detection arrays 91M, 92M, 93M, 94M, and the first-stage detection arrays 91M-92M, 93M-94M are respectively combined into the second-stage detection arrays 901N and 902N. An additional light detection unit 930H is arranged outside the second-stage detection array 901N at a distance of P / 22 from the light detection unit 911H in the horizontal direction, and an additional light detection unit 940H is arranged outside the second-stage detection array 902N at a distance of P / 22 from the light detection unit 926H in the horizontal direction. The above-mentioned spacing P / 22 is the spacing between the second-stage detection arrays 901N and 902N in the horizontal direction. The two additional light detection units 930H and 940H can avoid the inconsistency of the light conversion rates of the light detection units 911H-926H in the light detection main structure due to different environments, so that the working environment of all light detection units 911H-926H can be kept as consistent as possible. In other words, the two additional light detection units 930H and 940H are used to reduce or eliminate the inconsistency of the working environment of all light detection units 911H-926H. The two additional light detection units 930H and 940H do not need to be connected to the main structure of the light detection and the signal processing circuit.

[0159] In conclusion, the above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the patent of the present invention.

Claims

1. A light detection device for an optical encoder, characterized in that: The plurality of light detection units thereon constitute a first graph, the first graph is obtained by transforming the second graph from a rectangle to a fan, and the second graph includes: A plurality of first-stage detection arrays, wherein each first-stage detection array comprises at least one light detection unit, each light detection unit outputs an electrical signal, and the electrical signals output by the light detection units included in a first-stage detection array are directly used as or combined as the first-stage electrical signals output by the first-stage detection array; Wherein, the multiple first-level detection arrays are divided into multiple second-level detection arrays, each second-level detection array includes t2 first-level detection arrays, and the coordinate difference between corresponding points of two adjacent first-level detection arrays in the t2 first-level detection arrays belonging to the same second-level detection array is x×P / N+(t1×P) / (t2×N), t1 is a natural number greater than 1, t2 is a natural number greater than 2, t1 and t2 are mutually prime, P is a value predetermined based on the total number of grating slits used by the optical encoder, N is an odd number greater than 3, x is a natural number, and x is selected so as to avoid the first-level detection arrays from overlapping each other in space; Among them, the corresponding first-level electrical signals in t2 first-level detection arrays belonging to the same second-level detection array are added to generate at least one second-level electrical signal, and each second-level electrical signal is generated by adding a group of corresponding first-level electrical signals, thereby suppressing the Nth harmonic component and the integer multiple harmonic component of N in the second-level electrical signal.

2. The light detection device according to claim 1, wherein in, Taking the at least one second-level electrical signal as the output electrical signal of the second-level detection array, the multiple second-level detection arrays are divided into multiple third-level detection arrays, each third-level detection array includes s2 second-level detection arrays, and in the s2 second-level detection arrays belonging to the same third-level detection array, the coordinate difference of the corresponding points of two adjacent second-level detection arrays is y×P / M+(s1×P) / (s2×M), s1 is a natural number greater than 1, s2 is a natural number greater than 2, s1 and s2 are mutually prime, M is an odd number greater than 3, and M is not equal to N, y is a natural number, and y is selected to avoid the second-level detection arrays from overlapping each other in space, and the corresponding second-level electrical signals of the s2 second-level detection arrays belonging to the same third-level detection array are added to generate at least one third-level electrical signal, and each third-level electrical signal is generated by adding a group of corresponding second-level electrical signals, thereby suppressing the Mth harmonic component and the integer multiple harmonic component of M in the third-level electrical signal.

3. The light detection device according to claim 2, characterized in that in, Taking the at least one third-level electrical signal as the output electrical signal of the third-level detection array, the multiple third-level detection arrays are divided into multiple fourth-level detection arrays, each fourth-level detection array includes r2 third-level detection arrays, and in the r2 third-level detection arrays belonging to the same fourth-level detection array, the coordinate difference of the corresponding points of two adjacent third-level detection arrays is z×P / Q+(r1×P) / (r2×Q), r1 is a natural number greater than 1, r2 is a natural number greater than 2, r1 and r2 are mutually prime, Q is an odd number greater than 3, and Q is not equal to M and N, z is a natural number, and z is selected to avoid the third-level detection arrays from overlapping each other in space, and the corresponding third-level electrical signals of the r2 third-level detection arrays belonging to the same fourth-level detection array are added to generate at least one fourth-level electrical signal, and each fourth-level electrical signal is generated by adding a group of corresponding third-level electrical signals, thereby suppressing the Q-subharmonic component and the integer multiple harmonic component of Q in the fourth-level electrical signal.

4. The light detection device according to claim 2, characterized in that The N is 7, and the M is 11.

5. The light detection device according to claim 3, characterized in that The N is 7, the M is 11, and the Q is 13.

6. The light detection device according to any one of claims 1 to 5, characterized in that: Taking the relative movement direction between the grating of the optical encoder and the light detection device as the horizontal direction, after the light detection unit pattern on the light detection device is transformed from a fan-shaped to a rectangular shape, the widths of all the light detection units along the horizontal direction are equal, and the widths of the light detection units along the horizontal direction are equal to an integer multiple of the period of the Wth harmonic component, that is, an integer multiple of P / W, W is an odd number greater than 3, and W is not the same as the order of the harmonic component that has been suppressed.

7. The light detection device according to any one of claims 1 to 5, characterized in that: Taking the relative movement direction between the grating of the optical encoder and the light detection device as the horizontal direction, after the light detection unit pattern on the light detection device is transformed from a fan-shaped to a rectangular shape, the light detection unit is an irregular trapezoid, one set of pairs of edges of the irregular trapezoid are arranged opposite to each other in the horizontal direction and are parallel to each other, and the tilt offset of the irregular trapezoid in the horizontal direction is an integer multiple of the period of the U-th harmonic component, that is, an integer multiple of P / U, U is an odd number greater than 3, and U is not the same as the order of the harmonic component that has been suppressed; the other two pairs of edges are arranged opposite to each other in the vertical direction, the vertical direction is perpendicular to the horizontal direction on the plane where the light detection unit is located, and the shapes of the two pairs of edges arranged opposite to each other in the vertical direction are the same.

8. The light detection device according to any one of claims 1 to 5, characterized in that: Taking the relative movement direction between the grating of the optical encoder and the light detection device as the horizontal direction, after the light detection unit pattern on the light detection device is transformed from a fan to a rectangle, the light detection unit is a parallelogram, and one set of opposite sides of the parallelogram extends horizontally.

9. The light detection device according to claim 8, characterized in that The width of the parallelogram in the transverse direction is P / 5, and the tilt offset in the transverse direction is P / 3.

10. The light detection device according to any one of claims 1 to 5, characterized in that: Taking the relative movement direction between the grating of the optical encoder and the light detection device as the horizontal direction, after the light detection unit pattern on the light detection device is transformed from fan-shaped to rectangular, the horizontal spacing between adjacent light detection units in the first-level detection array is equal.

11. The light detection device according to any one of claims 1 to 5, characterized in that: After the light detection unit pattern on the light detection device is transformed from a sector to a rectangle, it also includes: An additional light detection unit is located outside the plurality of light detection units that generate electrical signals and does not generate electrical signals. The additional light detection unit is used to reduce or eliminate the inconsistency of the working environment of the plurality of light detection units that generate electrical signals.

12. A light detection device for an optical encoder, characterized in that: The plurality of light detection units thereon constitute a second pattern, and the second pattern includes: A plurality of first-stage detection arrays, wherein each first-stage detection array comprises at least one light detection unit, each light detection unit outputs an electrical signal, and the electrical signals output by the light detection units included in a first-stage detection array are directly used as or combined as the first-stage electrical signals output by the first-stage detection array; Wherein, the multiple first-level detection arrays are divided into multiple second-level detection arrays, each second-level detection array includes t2 first-level detection arrays, and the coordinate difference between corresponding points of two adjacent first-level detection arrays in the t2 first-level detection arrays belonging to the same second-level detection array is x×P / N+(t1×P) / (t2×N), t1 is a natural number greater than 1, t2 is a natural number greater than 2, t1 and t2 are mutually prime, P is a slit period of the grating used in the optical encoder, N is an odd number greater than 3, x is a natural number, and x is selected so as to avoid the first-level detection arrays from overlapping each other in space; Among them, the corresponding first-level electrical signals in t2 first-level detection arrays belonging to the same second-level detection array are added to generate at least one second-level electrical signal, and each second-level electrical signal is generated by adding a group of corresponding first-level electrical signals, thereby suppressing the Nth harmonic component and the integer multiple harmonic component of N in the second-level electrical signal.

13. The light detection device according to claim 12, wherein: in, Taking the at least one second-level electrical signal as the output electrical signal of the second-level detection array, the multiple second-level detection arrays are divided into multiple third-level detection arrays, each third-level detection array includes s2 second-level detection arrays, and in the s2 second-level detection arrays belonging to the same third-level detection array, the coordinate difference of the corresponding points of two adjacent second-level detection arrays is y×P / M+(s1×P) / (s2×M), s1 is a natural number greater than 1, s2 is a natural number greater than 2, s1 and s2 are mutually prime, M is an odd number greater than 3, and M is not equal to N, y is a natural number, and y is selected to avoid the second-level detection arrays from overlapping each other in space, and the corresponding second-level electrical signals of the s2 second-level detection arrays belonging to the same third-level detection array are added to generate at least one third-level electrical signal, and each third-level electrical signal is generated by adding a group of corresponding second-level electrical signals, thereby suppressing the Mth harmonic component and the integer multiple harmonic component of M in the third-level electrical signal.

14. The light detection device according to claim 13, wherein: in, Taking the third-level electrical signal as the output electrical signal of the third-level detection array, each third-level detection array outputs at least one of the third-level electrical signals, the multiple third-level detection arrays are divided into multiple fourth-level detection arrays, each fourth-level detection array includes r2 of the third-level detection arrays, and in the r2 third-level detection arrays belonging to the same fourth-level detection array, the coordinate difference between the corresponding points of two adjacent third-level detection arrays is z×P / Q+(r1×P) / (r2×Q), r1 is a natural number greater than 1, r2 is a natural number greater than 2, r1 and r2 are mutually prime, Q is an odd number greater than 3, and Q is not equal to M and N, z is a natural number, and z is selected to avoid the third-level detection arrays from overlapping each other in space, and the corresponding third-level electrical signals of the r2 third-level detection arrays belonging to the same fourth-level detection array are added to generate at least one fourth-level electrical signal, and each fourth-level electrical signal is generated by adding a group of corresponding third-level electrical signals, thereby suppressing the Q-th harmonic component and the integer multiple harmonic component of Q in the fourth-level electrical signal.

15. An optical encoder, characterized in that: include: A grating having a plurality of slits, wherein the period of the slits is P; A light source, which forms a periodically changing light signal through the grating; The light detection device according to any one of claims 1 to 14, used to receive the light signal and convert it into an electrical signal.