Defocus detection device and method for microscopic imaging system
By arranging evenly distributed circular holes on the encoding disk of the microscopic imaging system, using high-magnification microscope objectives and detectors to obtain imaging data, and calculating the defocus amount, the problems of low accuracy and troublesome operation caused by object-side defocus are solved, achieving High-precision defocus detection.
Patent Information
- Application Number
- CN202410034900.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-01-09
AI Technical Summary
In the existing technology, the defocusing of the object causes the image quality of the encoder disk to decrease and the energy to diverge, resulting in low measurement accuracy. Moreover, the physical contact measurement operation is cumbersome and can easily cause the encoder disk to deform, resulting in low accuracy.
Design a defocus detection device for a microscopic imaging system. By setting evenly distributed tiny circular holes on the encoding disk, using a high-power microscope objective lens and detector to obtain the imaging data of the circular holes, the average and maximum image spot diameters are calculated. Deviation value, the defocus amount of the system can be calculated to avoid physical contact interference and simplify operation.
It improves the accuracy of object-side defocus detection on the encoding disk, simplifies the operation process, avoids accuracy loss caused by physical contact, and significantly improves the system's defocus measurement accuracy.
Smart Images

Figure CN117848679B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of imaging detection technology, and in particular to a defocus detection device and method for a microscopic imaging system. Background Art
[0002] Object-space defocus refers to the phenomenon that the imaging position of an object deviates from the optimal imaging position due to the change in the object's position. In the process of angular displacement measurement, object-space defocus will cause the image quality of the encoder disk to deteriorate and the energy to diverge, which will bring great difficulties to the system installation and use and the improvement of product measurement accuracy.
[0003] In the related art, a physical method is usually used to measure the object-side defocus amount of the encoder disk. This method requires the encoder disk to be removed from the system, which is very troublesome to operate. At the same time, physical contact measurement can easily cause the encoder disk to deform, resulting in low measurement accuracy.
[0004] Based on this, there is an urgent need for a defocus detection device and method for a microscopic imaging system to solve the above technical problems. Summary of the invention
[0005] In order to improve the detection accuracy of object-side defocus of an encoding disk and simplify the operation process, an embodiment of the present invention provides a defocus detection device and method for a microscopic imaging system.
[0006] In a first aspect, an embodiment of the present invention provides a defocus detection device for a microscopic imaging system, comprising a controller and a coding disk, a high-power microscope objective lens, and a detector arranged in sequence along an optical axis, wherein:
[0007] A plurality of evenly distributed circular holes are arranged on the cylindrical surface of the encoding disk, and each of the circular holes is used to provide a detection target for the detector so that the controller can obtain imaging data;
[0008] The high-power microscope objective lens is used to image each of the circular holes on the detector;
[0009] The detector is arranged at the reference focal plane of the circular hole imaging, and is used to receive the image formed by each circular hole and form an image spot on the detector;
[0010] The controller is electrically connected to the detector, and is used to obtain imaging data of each image spot and calculate the imaging data to obtain the defocus amount of the encoding disk; wherein the imaging data includes the pixel value and angular position occupied by the image spot on the image plane.
[0011] Preferably, the encoding disk is arranged on a turntable, and the turntable is used to rotate the encoding disk so that each of the circular holes can be imaged.
[0012] Preferably, when imaging is performed, the center of each circular hole is located on the optical axis.
[0013] Preferably, the diameter of each circular hole is 6 μm, and the interval between two adjacent circular holes is 12 μm.
[0014] Preferably, the controller is specifically calculated in the following manner:
[0015] Based on the imaging data, obtaining a curve of the relationship between the pixel value and the angular position;
[0016] Based on the curve, obtaining a maximum deviation value of the pixel value;
[0017] Based on the maximum deviation value, the defocus amount of the encoding disk is obtained.
[0018] Preferably, when the controller executes the step of obtaining the curve of the relationship between the pixel value and the angular position based on the imaging data, the controller is used to perform the following operations:
[0019] Based on the sequence of the angular positions, a curve of the relationship between the pixel value and the angular position is obtained; wherein each angular position uniquely corresponds to one pixel value, and the curve is a cosine curve.
[0020] Preferably, when executing the step of obtaining the maximum deviation value of the pixel value based on the curve, the controller is used to perform the following operations:
[0021] Calculating the pixel values on the curve to obtain an average value of the pixel values;
[0022] The pixel value and the average value are calculated to obtain a maximum deviation value of the pixel value.
[0023] Preferably, when the controller executes the step of obtaining the defocus amount of the encoding disk based on the maximum deviation value, the controller is configured to perform the following operations:
[0024]
[0025] Where D is the defocus amount; α max is the maximum deviation value.
[0026] In a second aspect, an embodiment of the present invention further provides a defocus detection method for a microscopic imaging system, characterized in that a defocus detection device for a microscopic imaging system applied to any one of the above embodiments comprises:
[0027] Using the detector to obtain the image spot of each circular hole to be tested;
[0028] Acquiring imaging data of each image spot using the controller;
[0029] Analyzing the imaging data using the controller to obtain a curve of the relationship between the pixel value and the angular position;
[0030] The controller is used to calculate the pixel value on the curve to obtain the defocus value of the encoding disk.
[0031] Preferably, after calculating the pixel value on the curve by using the controller to obtain the defocus amount of the encoder disk, the method further includes:
[0032] Based on the defocus amount, the center position of the encoding disk is adjusted.
[0033] The embodiment of the present invention provides a defocus detection device and method for a microscopic imaging system, which is provided with uniformly distributed tiny circular holes on a coding disk, and uses a detector to obtain imaging data of the circular holes; the continuously changing circular hole imaging data curve is obtained by continuously rotating the coding disk, and the average value of the image spot diameter is calculated, and then the defocus amount of the system is calculated by using the difference between the maximum image spot diameter and the average image spot diameter. By obtaining the imaging data of the coding disk to calculate the defocus amount of the system, the interference and precision loss caused by direct physical contact to the system are avoided, making the operation easier, and at the same time, the precision of the system defocus measurement can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 is a schematic structural diagram of a defocus detection device for a microscopic imaging system under normal conditions provided by an embodiment of the present invention;
[0036] Figure 2 is a side view of a coding disk provided by one embodiment of the present invention;
[0037] Figure 3 is a schematic structural diagram of a defocus detection device for a microscopic imaging system in a defocused state provided by an embodiment of the present invention;
[0038] Figure 4 is a schematic diagram of a curve of relationship between pixel value and angular position provided by an embodiment of the present invention;
[0039] Figure 5 is a schematic diagram of a curve of relationship between pixel difference and angular position provided by an embodiment of the present invention;
[0040] Figure 6 is a schematic diagram of the distribution of a one-dimensional coding grating and a two-dimensional coding pattern provided by an embodiment of the present invention;
[0041] Figure 7 4 is a flow chart of a defocus detection method for a microscopic imaging system provided in one embodiment of the present invention.
[0042] Reference numerals:
[0043] 1- Encoding disk;
[0044] 11- round hole;
[0045] 12- one-dimensional coded grating;
[0046] 13-two-dimensional coding pattern;
[0047] 2-High power microscope objective lens;
[0048] 3- Detector;
[0049] 4- Controller;
[0050] 5- Optical axis. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] The specific implementation of the above concept is described below.
[0053] like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a defocus detection device for a microscopic imaging system, the device comprising a controller 4 and a coding disk 1, a high-power microscope objective lens 2, and a detector 3 arranged in sequence along an optical axis 5, wherein:
[0054] A plurality of evenly distributed circular holes 11 are arranged on the cylindrical surface of each encoding disk 1, and each circular hole 11 is used to provide a detection target for the detector 3 so that the controller 4 can obtain imaging data; the high-power microscope objective 2 is used to image each circular hole 11 on the detector 3; the detector 3 is arranged at the reference focal plane of the imaging of the circular hole 11, and is used to receive the image formed by each circular hole 11 and form an image spot on the detector 3; the controller 4 is electrically connected to the detector 3, and the controller 4 is used to obtain the imaging data of each image spot, and calculate the imaging data to obtain the defocus amount of the encoding disk 1, wherein the imaging data includes the pixel value and angular position occupied by the image spot on the image plane.
[0055] In an embodiment of the present invention, the system defocus amount is calculated by acquiring the imaging data of the encoding disk, thereby avoiding interference and precision loss to the system caused by direct physical contact, making the operation easier and greatly improving the precision of the system defocus measurement.
[0056] It is understandable that the magnification of the high-power microscope 2 is 50X or above, and the reference focal plane is the optimal imaging position when an object is imaged. These are well known to those skilled in the art and will not be elaborated here.
[0057] In the embodiment of the present invention, since the encoding disk 1 is also provided with a one-dimensional encoding grating 12 and a two-dimensional encoding pattern 13 for recording the angle information of the encoding disk, in order to avoid measuring the defocus amount of the encoding disk 1 by physical connection in the prior art, which causes damage to the one-dimensional encoding grating 12 and the two-dimensional encoding pattern 13, the encoding disk 1 is deliberately set on a rotatable motor. By continuously rotating the motor, the circular holes 11 around the encoding disk 1 can be measured, thereby effectively reducing the impact of physical disassembly on the encoding disk 1.
[0058] like Figure 3 As shown, as the rotating motor drives the encoder 1 to move, due to the off-axis error between the encoder 1 and the rotating motor and the cylindrical error of the encoder itself, the object distance between the cylindrical position of the encoder 1 and the microscope objective 2 produces object-side defocusing, and the defocusing amount is l1. This defocusing amount will bring about a change in the image distance of the microscope objective 2, and the optimal imaging position will deviate from the reference focal plane, with an axial offset of l1'. Since the image distance changes, but the physical position of the detector 3 does not change, the image spot of the circular hole 11 on the detector 3 will increase, and the pixel value occupied by the new image spot on the image plane is d.
[0059] Furthermore, when each circular hole 11 is imaging, the center of the circular hole 11 is located on the optical axis 5. This arrangement can ensure the accuracy of imaging of each circular hole 11 and will not affect the accuracy of measurement due to imaging deviation.
[0060] Furthermore, the accuracy of the defocus measurement can be changed by setting the size and number of the circular holes 11 on the cylindrical surface of the encoding disk 1. For example, by changing the size of the circular holes 11, the size of the imaging spot on the detector 3 can be affected. The larger the image spot, the higher the accuracy of the calculated defocus. By changing the interval size of the distribution of the circular holes 11, the shape of the curve of the imaging data is affected. The larger the amplitude of the curve change, the higher the accuracy of the calculated defocus. The optimal solution provided by this embodiment is that the diameter of each circular hole 11 is 6μm, and the interval between two adjacent circular holes 11 is 12μm.
[0061] Through the above operations, the image of each circular hole 11 is magnified to the receiving plane of the detector 3 by the high-power microscope objective lens 2, and an image spot corresponding to the circular hole 11 is formed on the detector 3. The controller 4 is electrically connected to the detector 3, so that the controller 4 can obtain the imaging data of the circular hole 11 on the detector 3 in real time.
[0062] In the embodiment of the present invention, after obtaining the imaging data on the detector 3, the controller 4 calculates the imaging data in the following manner. First, based on the imaging data, a curve of the relationship between the pixel value and the angular position is obtained. As mentioned above, the rotating motor is rotated so that the center of a circular hole 11 on the encoding disk 1 is located on the optical axis 5, and the pixel value and angular position occupied by the circular hole 11 on the image plane of its imaging are measured, and are recorded as d1 and p1 respectively, wherein the angular position of the circular hole 11 is recorded as the initial angular position, that is, the value of p1 is 0°; then the encoding disk 1 is continued to be rotated to the position of the next circular hole 11, and the center of the second circular hole 11 is also located on the optical axis 5, and the pixel value and angular position occupied by the second circular hole 11 on the image plane are measured, and are recorded as d2 and p2 respectively, and the above operation is repeated until the i-th circular hole, and the pixel value and angular position occupied by the i-th circular hole on the image plane are d i and p i Thus, a series of imaging data of the circular hole 11 can be obtained.
[0063] It is worth noting that, since the encoder disk 1 performs circular motion, the off-axis error is generally symmetrically distributed about the center point of the encoder disk 1, that is, the position opposite to the position with the maximum positive offset of the off-axis error is generally the position with the maximum negative offset of the off-axis error. Therefore, the relationship curve between the pixel value and the angular position in the imaging data presents the characteristics of a cosine distribution (please refer to Figure 4 ), and it can be understood that each angular position uniquely corresponds to a pixel value.
[0064] Furthermore, after obtaining the curve of the relationship between the pixel value and the angular position, the maximum deviation value of the pixel value is calculated according to the curve. Specifically, the average value of the pixel values of all the circular holes 11 is first calculated, which is recorded as d ave ; Then use the pixel value d of each circular hole 11 i Subtract the mean d ave, get the deviation value α of each circular hole 11 pixel value i , where the relationship curve between each deviation value and its angular position is as follows Figure 4 Take the pixel value of the peak of the curve as an example (please refer to Figure 4 ), the peak pixel value is 30, and the average pixel value of the circular hole 11 is 20, then the deviation between the peak pixel value and the average value is 10, corresponding to Figure 4 Repeat the above operation to obtain a series of curves of the relationship between deviation value and angular position (please refer to Figure 5 ); Then, by observing the curve, the maximum deviation value α of the circular hole 11 pixel value can be obtained max .
[0065] Furthermore, after obtaining the maximum deviation value of the circular hole pixel value, according to the ideal optical system imaging model, it can be known that the axial magnification is equal to the square of the vertical axis magnification, so the defocus amount of the encoding disk 1 can be calculated by the following formula:
[0066]
[0067] Where D is the defocus amount; α max is the maximum deviation value.
[0068] It is worth noting that the above-mentioned ideal optical system imaging model is well known to those skilled in the art and will not be elaborated here. In addition, the defocus amount is the object-side defocus amount of the microscope objective, that is, the influence caused by the off-axis error during the movement of the encoding disk. It is the same interference source as the off-axis error of the encoding disk and can be used as a reference value for subsequent adjustment of the off-axis error of the encoding disk.
[0069] like Figure 6 As shown, a one-dimensional coding grating 12 and a two-dimensional coding grating are also arranged on the cylindrical surface of the encoding disk 1. The circular hole 11 and the one-dimensional coding grating 12 and the two-dimensional coding grating do not interfere with each other. The specific arrangement method can be reasonably arranged by those skilled in the art according to actual needs, and will not be elaborated here. The circular hole 11 is used to locate and calibrate the position of the encoding disk 1, while the one-dimensional coding grating 12 and the two-dimensional coding grating are used to record the angle information of the encoding disk. All three rely on the detector 3 to realize the corresponding functions.
[0070] Specifically, each one-dimensional coding grating 12 and each two-dimensional coding pattern 13 are arranged within the observation range of the detector 3, each one-dimensional coding grating 12 is used to record the precise angle information of the coding disk 1, and each two-dimensional coding pattern 13 is used to record the rough angle information of the coding disk 1; wherein the rough angle information refers to the angle relative to its original position, such as 50°, 60°, 70°, etc., and the precise angle information refers to the degree of angle change, such as 1°, 1′, 1″, etc., which are well known to those skilled in the art and will not be elaborated here.
[0071] It is understandable that the arrangement of the one-dimensional coding grating 12 and the two-dimensional coding pattern 13 can be an up-down arrangement or a left-right arrangement. In this embodiment, the up-down arrangement is preferred (please refer to Figure 6 ), the one-dimensional coding grating 12 is located at the lower part of the two-dimensional coding pattern 13, which is a uniformly distributed cylindrical grating with a grating pitch of 12un and a duty cycle of 50%; the two-dimensional coding pattern 13 is characterized by a circular dot matrix, the nominal diameter of a single circular dot is 6un, and the two-dimensional coding pattern 13 adopts a 3×4 structure.
[0072] In the embodiment of the present invention, the detector 3 analyzes the one-dimensional coded grating 12 and the two-dimensional coded pattern 13 in the following manner: first, the edge data contained in the one-dimensional coded grating 12 and the image data contained in the two-dimensional coded pattern 13 are obtained; based on the image data, the coding vector of the two-dimensional coded pattern 13 is obtained; based on the coding vector, the angular position corresponding to the two-dimensional coded pattern 13 is obtained; based on the edge data, the angular value corresponding to the one-dimensional coded grating 1221 is obtained.
[0073] Specifically, the detector 3 acquires data from the two-dimensional coding pattern 13 on the surface of the coding disk to obtain image data of the two-dimensional coding pattern 13, and then performs median filtering and binarization on the data in turn to obtain binarized data of the two-dimensional points contained in the two-dimensional coding pattern 13. That is to say, by using median filtering and binarization, the two-dimensional points and blank points in the two-dimensional coding pattern 13 are easier to distinguish, thereby improving the recognition accuracy of the detector 3; then the binarized data is subjected to edge extraction and circle fitting in turn to obtain the center position information of the two-dimensional points.
[0074] After obtaining the center position information of the two-dimensional point, the two-dimensional code pattern 13 is encoded according to the information, and the detector 3 is used to identify all grid areas within the range of the two-dimensional code pattern. Since there can be at most one two-dimensional point in a grid, if there is a two-dimensional point in a grid, then the code value of the grid with the two-dimensional point is identified as 1; similarly, if there is no two-dimensional point in a grid, then the code value of the grid without the two-dimensional point is identified as 0. Figure 6 For example, the dotted box in the upper left corner of the figure is a complete two-dimensional coding pattern, which includes 3×4 grids with a total of 12 grids. According to the above recognition method, the coding value of the first row of the two-dimensional coding pattern is recognized as (1,1,1); the coding value of the second row is recognized as (0,1,1); the coding value of the third row is (0,0,1); the coding value of the fourth row is (1,1,0). Through this encoding method, the coding matrix represented by the two-dimensional coding pattern can be obtained as follows:
[0075] After obtaining the coding matrix, the angle position information corresponding to the matrix is searched according to the preset two-dimensional coding lookup table. For example, if each value in the matrix is 0, that is, there is no two-dimensional point in the two-dimensional coding pattern, then the corresponding angle position is 0°; if the coding value of the first row and first column of the matrix is 1, and the remaining coding values are 0, then the corresponding angle position is 1°, etc.
[0076] Furthermore, the detector 3 acquires the edge data of the one-dimensional coded grating 12 by performing data acquisition on the one-dimensional coded grating 12, and then performs Gaussian fitting on the edge data to obtain the actual edge position of the one-dimensional coded grating 12. An average difference can be obtained by calculating the difference between the actual edge position and the theoretical edge position, and averaging multiple differences. The actual edge position is added to the average difference, and the result is output as the precise code value of the one-dimensional coded grating 12, thereby obtaining the angle value corresponding to the one-dimensional coded grating 12.
[0077] In the embodiment of the present invention, by combining a two-dimensional coding pattern and a one-dimensional coding grating, it is possible to solve not only the hardware design difficulties such as a larger observation field of view of the reader and an increase in the amount of analysis data caused by only one-dimensional coding grating, but also the problem of low accuracy caused by only two-dimensional coding, thereby improving the measurement accuracy of the angular displacement measurement device and meeting the technical requirements of a high-precision space pointing control system.
[0078] like Figure 7 As shown, an embodiment of the present invention provides a defocus detection method for a microscopic imaging system, which is applied to the defocus detection device for a microscopic imaging system mentioned in any of the above embodiments, and the method comprises:
[0079] Step S1, using the detector to obtain the image spot of each circular hole to be tested;
[0080] Step S2, using the controller to obtain imaging data of each image spot;
[0081] Step S3, using the controller to analyze the imaging data to obtain a curve of the relationship between the pixel value and the angular position;
[0082] Step S4: using the controller to calculate the pixel value on the curve to obtain the defocus value of the encoder disk.
[0083] It can be understood that the method embodiment provided in the embodiment of the present invention and the above-mentioned device embodiment belong to the same inventive concept, so the two have the same beneficial effects and will not be described in detail here.
[0084] In the embodiment of the present invention, after the controller 4 calculates the imaging data to obtain the defocus amount of the encoding disk 1, the method further includes: adjusting the center position of the encoding disk 1 according to the defocus amount. It is understandable that there are many methods for adjusting the encoding disk 1, and they are all well known to those skilled in the art, and will not be described in detail here.
[0085] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.
[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A defocus detection device for a microscopic imaging system, characterized in that: The device comprises a controller, an encoding disk, a high-power microscope objective lens, and a detector arranged in sequence along the optical axis, wherein: A plurality of evenly distributed circular holes are arranged on the cylindrical surface of the encoding disk, and each of the circular holes is used to provide a detection target for the detector so that the controller can obtain imaging data; The high-power microscope objective lens is used to image each of the circular holes on the detector; The detector is arranged at the reference focal plane of the circular hole imaging, and is used to receive the image formed by each circular hole and form an image spot on the detector; The controller is electrically connected to the detector, and is used to obtain imaging data of each image spot, and calculate the imaging data to obtain the defocus amount of the encoder disk; wherein the imaging data includes the pixel value and angular position occupied by the image spot on the image plane; The controller is specifically calculated in the following manner: Based on the imaging data, obtaining a curve of the relationship between the pixel value and the angular position; Based on the curve, obtaining a maximum deviation value of the pixel value; Based on the maximum deviation value, obtaining the defocus amount of the encoding disk; When the controller executes the step of obtaining the curve of the relationship between the pixel value and the angular position based on the imaging data, the controller is used to perform the following operations: Based on the sequence of the angular positions, a curve of the relationship between the pixel value and the angular position is obtained; wherein each angular position uniquely corresponds to one pixel value, and the curve is a cosine curve; When the controller executes the step of obtaining the maximum deviation value of the pixel value based on the curve, the controller is used to perform the following operations: Calculating the pixel values on the curve to obtain an average value of the pixel values; Calculating the pixel value and the average value to obtain a maximum deviation value of the pixel value; When the controller executes the step of obtaining the defocus amount of the encoding disk based on the maximum deviation value, the controller is used to perform the following operations: Where D is the defocus amount; α max is the maximum deviation value.
2. The device according to claim 1, characterized in that The encoding disk is arranged on a turntable, and the turntable is used to rotate the encoding disk so that each of the circular holes can be imaged.
3. The device according to claim 2, characterized in that When imaging is performed, the center of each circular hole is located on the optical axis.
4. The device according to claim 3, characterized in that The diameter of each circular hole is 6 μm, and the interval between two adjacent circular holes is 12 μm.
5. A defocus detection method for a microscopic imaging system, characterized in that: A defocus detection device for a microscopic imaging system according to any one of claims 1 to 4, comprising: Using the detector to obtain the image spot of each circular hole to be tested; Acquiring imaging data of each image spot using the controller; Analyzing the imaging data using the controller to obtain a curve of the relationship between the pixel value and the angular position; The controller is used to calculate the pixel value on the curve to obtain the defocus value of the encoding disk.
6. The method according to claim 5, characterized in that After the controller is used to calculate the pixel value on the curve to obtain the defocus amount of the encoder disk, the method further includes: Based on the defocus amount, the center position of the encoding disk is adjusted.
