Visual automatic focusing device and method
By using composite targets of backlight plates, dark field bright line reticle plates and visual reflectors in the visual autofocus system, combined with the displacement stage and sensor, fast and accurate autofocus is achieved, solving the visual measurement accuracy under the limitation of depth of field and efficiency issues simplify the system structure.
Patent Information
- Application Number
- CN202410901081.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-11-12
AI Technical Summary
The existing automatic focus technology has shortcomings in accuracy and speed, especially due to the limitation of the depth of field of the optical system, which leads to limited visual measurement accuracy and efficiency. The imaging plane position measurement depends on laser ranging or complex system assistance, affecting the system. Simplicity and efficiency.
Using a composite target and imaging system composed of backlight plate, dark field bright line reticle and visual reflector, the distance between objects is measured indirectly through coarse focus and precise focus light path, and the displacement stage and displacement sensor are used to achieve fast and accurate automatic Focus to avoid depth of field influence.
It realizes fast and accurate automatic focus at any distance, improves the accuracy and efficiency of visual measurement, simplifies the system structure, and reduces the dependence on optical systems.
Smart Images

Figure CN118938431A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of optoelectronic technology, and in particular to a visual automatic focusing device and method. Background Art
[0002] As a non-contact, high-precision measurement method, visual precision measurement has been widely used in the fields of high-end manufacturing and intelligent manufacturing. In particular, it has made great progress in recent years driven by the demand for precision detection such as geometric parameter measurement, shape detection, and defect detection. Automatic optical focusing technology is an important basis for the precision of visual precision measurement technology, and has a significant impact on the efficiency and accuracy of visual measurement.
[0003] The development of autofocus technology is mainly in two directions. One is to improve the accuracy of autofocus, that is, to achieve the optimal focusing image plane and obtain a clear image. The other is to improve the speed and efficiency of autofocus, that is, to achieve fast focusing to meet real-time and dynamic measurement needs.
[0004] Traditional autofocus methods, based on a certain image clarity evaluation function, control the motor to drive the lens or image sensor according to the image clarity characteristics to complete the focusing process. In this process, the search step length needs to be set to complete the imaging domain search. Since the search step length cannot be greater than the depth of field of the optical system, the search may fail if it exceeds the depth of field, so the autofocus process is generally slow.
[0005] An existing active and passive combined zoom auto-focusing method uses active pulse laser ranging to obtain the position information of the imaging surface, controls the imaging system to complete the coarse focusing, and then performs passive fine focusing according to the image clarity evaluation function value. This method overcomes the disadvantage of the slow global search speed of the imaging system and can achieve fast focusing at any distance. However, this method uses a laser ranging method. For the distance measurement of the imaging surface, the laser spot needs to be emitted onto the object surface, so the human eye or other equipment is required to assist in aligning the measurement target to complete the distance measurement. At the same time, the focusing system requires a laser angle measurement module for coarse positioning, and the system is relatively complex.
[0006] Another existing autofocus method, compared with the traditional hill climbing search method or the variable step length hill climbing search method to find the quasi-focus position for focusing, this method can complete autofocus faster. It divides the moving interval (i.e., the search interval) of the stepper motor into segments, so that after each search is completed, a larger range of search intervals that do not meet the requirements can be excluded, thereby reducing the search interval, and then focusing can be completed with fewer searches, and finally completing autofocus faster. However, the premise of using this method is that the imaging interval has been obtained, and the positioning method of the imaging interval is not mentioned, and the comprehensive focusing efficiency is still low. At the same time, the above-mentioned focusing method is still based on the imaging clarity function. Due to the existence of the depth of field of the optical system, the imaging surface obtained by the above method still has errors, which has a great impact on the accuracy of visual measurement. Summary of the invention
[0007] The purpose of this application is to provide a visual automatic focusing device and method.
[0008] The first aspect of the present application provides a visual automatic focusing device, comprising:
[0009] An illumination light source, a beam splitter, an imaging objective lens, a composite target, a translation stage and an imaging detector are sequentially arranged along the focusing optical path; wherein,
[0010] The composite target comprises a backlight plate, a dark field bright line reticle and a visual reflector;
[0011] The imaging detector is movably arranged on the displacement platform;
[0012] The focusing optical path includes: a coarse focusing optical path and a precise focusing optical path;
[0013] The coarse focusing optical path is as follows: the illumination light emitted by the illumination light source passes through the beam splitter and the imaging objective lens in sequence to reach the visual reflector of the composite target, and after being reflected by the visual reflector, is imaged onto the imaging detector through the imaging objective lens;
[0014] The precise focusing optical path is as follows: the light emitted by the backlight plate is projected through the dark field bright line graticule, and then passes through the imaging objective lens and the beam splitter to be imaged onto the imaging detector.
[0015] In a possible implementation manner, the device further includes:
[0016] The converging mirror is arranged between the illumination light source and the beam splitter, and is used for compressing the divergence angle of the illumination light emitted by the illumination light source.
[0017] In a possible implementation, the dark field bright line graticule and the visual reflective sheet are both circular in shape, and the dark field bright line graticule is embedded in the visual reflective sheet.
[0018] In a possible implementation, the dark field bright line reticle is composed of a circular pattern of alternating light and dark and a cross bright line pattern, and the cross bright line pattern is embedded in the circular pattern.
[0019] In a possible implementation, the bright circular ring pattern on the dark field bright line reticle includes a concentric near-view active reference ring and a far-view active reference ring, and the diameter of the far-view active reference ring is larger than the diameter of the near-view active reference ring.
[0020] In a possible implementation, a displacement sensor is provided on the displacement platform;
[0021] The displacement sensor is used to locate the position of the imaging detector.
[0022] In a possible implementation, the displacement sensor uses a grating encoder.
[0023] In a possible implementation, the illumination light source is a halogen lamp or an LED light source.
[0024] A second aspect of the present application provides a visual automatic focusing method, based on the visual automatic focusing device described in the first aspect, the method comprising:
[0025] Moving the imaging detector to the focal plane of the imaging objective lens;
[0026] Turning on the illumination light source, the illumination light emitted by the illumination light source passes through the coarse focusing optical path to form an image on the imaging detector, and obtaining a contour image of the visual reflector in the imaging detector;
[0027] The object plane distance is obtained by inversion according to the actual size of the outline of the visual reflector, the imaging size, and the clear aperture and focal length of the imaging objective lens;
[0028] The image plane distance is calculated according to the object plane distance, and the imaging detector is moved to the image plane distance position to complete the coarse focusing;
[0029] Turn off the illumination light source and turn on the backlight panel, so that the light emitted by the backlight panel passes through the precise focusing optical path to form an image on the imaging detector, and drive the imaging detector to move forward and backward on the translation stage by a preset distance, and determine the position with the maximum imaging clarity as the best image plane position;
[0030] At the optimal image plane position, the ideal image plane position is inverted according to the actual size of the dark field bright line graticule, the imaging size and the focal length of the imaging objective lens, and the imaging detector is moved to the ideal image plane position to complete precise focusing.
[0031] Compared with the prior art, the visual automatic focusing device and method provided by the present application adopts the focusing method of image plane movement, which can indirectly and accurately measure the distance of the object plane, and the distance measurement accuracy is not affected by the depth of field. By using a composite target composed of a backlight plate, a dark field bright line graticule and a visual reflector in conjunction with an imaging system, it is possible to achieve fast and accurate automatic focusing of the measurement target at any distance, and the focusing accuracy is not affected by the depth of field of the optical system. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present disclosure. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0033] Figure 1 A schematic structural diagram of a visual automatic focusing device provided by the present disclosure is shown;
[0034] Figure 2 A schematic diagram of the structure of the composite target provided by the present disclosure is shown;
[0035] Figure 3 A schematic structural diagram of a visual reflective sheet provided by the present disclosure is shown;
[0036] Figure 4 A schematic diagram of the coarse focusing principle provided by the present disclosure is shown;
[0037] Figure 5 A schematic diagram of the precise focusing principle provided by the present disclosure is shown;
[0038] Figure 6 A flow chart of a visual automatic focusing method provided by the present disclosure is shown. DETAILED DESCRIPTION
[0039] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0040] Various structural schematic diagrams according to embodiments of the present disclosure are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may further design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0041] In the context of the present disclosure, when a layer / element is referred to as being "on" another layer / element, the layer / element may be directly on the other layer / element or an intervening layer / element may exist therebetween. In addition, if a layer / element is "on" another layer / element in one orientation, the layer / element may be "below" the other layer / element when the orientation is reversed.
[0042] In actual visual precision measurement experiments, since the position information of the measurement target cannot be accurately obtained, if you want to obtain the clear image plane position, you need to adjust the focus of the optical system, perform continuous scanning from the nearest imaging plane to the infinite imaging plane, and obtain the best image plane position through the visual clarity discrimination algorithm. This method has low measurement efficiency because scanning and identification are required every time the target position moves.
[0043] In addition, in the actual visual measurement process, since the optical system is limited by the diffraction limit, there will be a depth of field phenomenon, that is, the image of the target object is clear within a certain range. This phenomenon is beneficial in the field of visual imaging, but in the field of visual measurement, it is an introduction of measurement errors, resulting in the inability to improve the visual measurement accuracy. Therefore, a method that can accurately obtain the ideal image plane position is needed to improve the visual measurement accuracy.
[0044] In view of this, the embodiments of the present application provide a visual automatic focusing device and a visual automatic focusing method, which are described below in conjunction with the accompanying drawings.
[0045] Please refer to Figure 1 , which shows a schematic diagram of the structure of a visual automatic focusing device provided in an embodiment of the present application, such as Figure 1 As shown, the visual automatic focusing device comprises: an illumination light source 101, a beam splitter 103, an imaging objective lens 104, a composite target 105, a translation stage 107 and an imaging detector 106 which are sequentially arranged along the focusing optical path. In addition, Figure 1 108 in FIG. 1 represents the focal plane of the imaging objective lens 104. Figure 1 The reference numeral 109 indicates the image plane.
[0046] Specifically, the illumination light source 101 is mainly used to enhance the reflected light of the coarse focus target and improve the contrast of the target profile. The illumination light source can be a halogen lamp, LED or other light source, and the spectrum can be selected according to the actual instrument function requirements.
[0047] like Figure 2As shown, the composite target 105 includes a backlight plate 205, a dark field bright line graticule plate 201 and a visual reflector 204. The visual reflector plate 204 is used to reflect the outgoing light of the illumination light source 101. The backlight plate 205 is an active backlight light source, which is used to provide light source for the dark field bright line graticule plate 201 to improve the contrast between the bright line and the dark field.
[0048] Specifically, the dark field bright line graticule 201 and the visual reflective sheet 204 are both circular in shape, and the dark field bright line graticule 201 is embedded in the visual reflective sheet 204 .
[0049] In some embodiments, Figure 2 As shown, the dark field bright line graticule 201 is composed of a circular pattern of alternating light and dark and a cross bright line pattern, wherein the diameter and number of the circular rings can be changed according to the actual measurement distance, and the cross bright line pattern is embedded in the circular pattern. Specifically, the bright circular pattern on the dark field bright line graticule 201 includes a concentric near-view active reference ring 202 and a far-view active reference ring 203, wherein the diameter of the far-view active reference ring 203 is larger than the diameter of the near-view active reference ring 202, and the near-view active reference ring 202 and the far-view active reference ring 203 can be selected according to the imaging distance, so the composite target can be applied to a variety of scenes. The size of the composite target is standard and known.
[0050] The imaging detector 106 is movably arranged on the displacement stage 107; specifically, a displacement sensor is arranged on the displacement stage 107; the displacement sensor is used to locate the position of the imaging detector 106 to form displacement feedback. Specifically, the displacement sensor can be a grating encoder or other displacement sensors. The imaging detector can be driven by a motor, and the displacement sensor can be used to accurately locate the position.
[0051] In some embodiments, the above-mentioned visual automatic focusing device may further include: a converging lens 102, which is arranged between the illumination light source 101 and the beam splitter 103, and the converging lens 102 is mainly used to compress the divergence angle of the illumination light emitted by the illumination light source 101 to improve the utilization rate of the light energy of the light source.
[0052] Since the illumination light needs to fully cover the visual reflector 204, the illumination light still retains a certain divergence angle. The size of the divergence angle depends on the commonly used measurement range of the target during actual measurement. If the measurement target distance is large, the divergence angle is small to ensure that the light return efficiency is still good at a long distance. If the measurement target distance is close, the divergence angle can be increased to ensure that the target recognition area is large enough.
[0053] This embodiment aims to solve two problems. First, for measuring targets at any distance, it is necessary to quickly determine the object distance and perform coarse focusing so that the target can be imaged on the image plane. Second, it is necessary to eliminate the influence of the depth of field of the imaging optical system and obtain the precise position of the ideal image plane corresponding to the actual object surface.
[0054] Therefore, the composite target 105 of this embodiment has two main parts involved in acquiring target information. One is the visual reflector 204 in the outer ring, which mainly cooperates with the optical system to complete the rapid focusing task; the other is the dark field bright line graticule 201 in the center, which mainly cooperates with the optical system to complete the precise focusing task.
[0055] The focusing optical path includes: a coarse focusing optical path and a fine focusing optical path. The coarse focusing optical path is mainly used to complete the rapid focusing task, and the fine focusing optical path is mainly used to complete the fine focusing task.
[0056] The coarse focusing optical path is as follows: the illumination light emitted by the illumination light source 101 passes through the beam splitter 103 and the imaging objective lens 104 in sequence to reach the visual reflector 204 of the composite target 105, and after being reflected by the visual reflector 204, is imaged onto the imaging detector 106 through the imaging objective lens 104; the imaging detector 106 in the above coarse focusing optical path is located on the focal plane of the imaging objective lens 104.
[0057] The principle of coarse focusing is as follows:
[0058] First of all, we should understand the basic principles of visual reflection film, such as Figure 3 As shown, the surface of the visual reflective sheet is composed of countless tiny corner cube prisms. The principle of the corner cube prism is that no matter at what angle the incident light is incident, it will be reflected back in parallel with the incident light after being reflected three times inside the prism. Therefore, the light beam will also be reflected back in parallel after reaching the surface of the visual reflective sheet.
[0059] Similarly, since the microstructure on the visual reflective sheet is similar to the integration of countless tiny corner-cube prisms, its imaging effect is like the reflection effect of countless micro-corner-cube prisms. Therefore, when the composite target moves from position M to position N, the image on its focal plane is bright circular rings of different sizes.
[0060] According to the above principles, please refer to Figure 4 , assuming that the outer ring radius and the inner ring radius of the visual reflection sheet 204 are H 11 and H 12 The image focal length of the imaging objective lens 104 is f′, the aperture is D, and the outer and inner radii of the image of the visual reflector 204 on the imaging detector 106 are h 11 and h 12 , then Figure 4 It can be seen that:
[0061]
[0062] H 11 =L1·tanα;
[0063] H 12 =L1·tanβ;
[0064] Finally, the object plane distance L1 can be calculated as:
[0065]
[0066] According to Gauss's formula, the image plane distance can be calculated as:
[0067]
[0068] L′1=ΔL′0+f′;
[0069] ΔL′0=L′1-f′;
[0070] Therefore, the displacement stage 107 is controlled and adjusted so that the imaging detector 106 is located at the image plane distance L1. Specifically, the imaging detector 106 can be quickly adjusted to a position ΔL0 away from the focal plane by a motor to complete the coarse focusing.
[0071] The precise focusing optical path is as follows: the light emitted by the backlight is projected through the dark field bright line graticule, and then passes through the imaging objective lens 104 and the beam splitter 103 to be imaged onto the imaging detector 106 .
[0072] The principle of precise focusing is as follows:
[0073] Assuming that the actual object plane is located at position A, the image distance L1 is obtained by coarse focusing calculation. Taking the current position as the origin, the imaging detector is driven by the control stage 107 to perform imaging clarity scanning within the range of ±2·ΔS (ΔS is the theoretical depth of field), and the position with the best clarity is selected as the provisional accurate image plane position L J1 ,according to Figure 5 As shown, assuming that the actual object distance is -L J1 , Ha is the target ring radius of the dark field bright line graticule 201 (the actual size of the dark field bright line graticule), h1 represents the imaging size of the dark field bright line graticule, and due to the depth of field, the image plane is located at the actual image plane A′. At this time, according to the geometric triangular imaging relationship, the precise object distance at this time is:
[0074]
[0075] Then, through Gauss’s formula, we can get the ideal image surface as:
[0076]
[0077] Among them, LJ2 represents the ideal image plane position.
[0078] Control and adjust the translation stage 107 so that the imaging detector 106 is located at a precise image plane distance L′ J2 to complete precise focusing.
[0079] The visual automatic focusing device provided by the present application adopts the focusing method of image plane movement, which can indirectly and accurately measure the distance of the object plane, and the distance measurement accuracy is not affected by the focusing accuracy and depth of field. By using a composite target composed of a backlight plate, a dark field bright line graticule and a visual reflector in conjunction with an imaging system, it is possible to achieve fast and accurate automatic focusing of the measurement target, and the focusing accuracy is not affected by the depth of field of the optical system.
[0080] Based on the visual automatic focusing device provided in the above embodiment, the present application also provides a fast visual automatic focusing method, please refer to Figure 6 , which shows a flow chart of a visual fast automatic focusing method provided in an embodiment of the present application. As shown in the figure, the method includes:
[0081] Step S101: moving the imaging detector to the focal plane of the imaging objective lens;
[0082] Step S102: turning on the illumination light source, and the illumination light emitted by the illumination light source passes through the coarse focusing optical path to form an image on the imaging detector, thereby obtaining a contour image of the visual reflector in the imaging detector;
[0083] Step S103: inverting to obtain the object plane distance according to the actual size of the inner and outer ring contours of the visual reflector, the inner and outer ring imaging sizes, and the focal length of the imaging objective lens;
[0084] Step S104: calculating the image plane distance according to the object plane distance, moving the imaging detector to the image plane distance position, and completing coarse focusing;
[0085] Step S105: Turn off the illumination light source and turn on the backlight panel, the light emitted by the backlight panel passes through the precise focusing optical path to form an image on the imaging detector, the imaging detector is driven to move forward and backward on the translation stage by a preset distance, and the position with the maximum imaging clarity is determined as the clear image plane position;
[0086] Step S106: At the clear image plane position, the actual target object distance is calculated based on the pinhole imaging principle according to the bright ring reference size and the bright ring imaging size of the dark field bright line graticule, and then the ideal image plane position is inverted according to the actual object distance and the focal length of the imaging objective lens, and the imaging detector is moved to the ideal image plane position to complete precise focusing.
[0087] Specifically, step S103 can be implemented as follows:
[0088] According to the actual size of the outline of the visual reflector, the imaging size, and the clear aperture and focal length of the imaging objective lens, the object plane distance is obtained by inversion based on the first formula; the first formula is as follows:
[0089]
[0090] Among them, L1 represents the object plane distance, H 11 The outer ring radius of the outline of the visual reflector, H 12 represents the inner ring radius of the visual reflector, h 11 represents the imaging size of the outer ring of the visual reflector, h 12 represents the imaging size of the inner ring of the visual reflector, and f′ represents the focal length of the imaging objective lens.
[0091] Specifically, step S104 can be implemented as follows:
[0092] According to the object plane distance, the image plane distance is calculated based on a second formula; the second formula is as follows:
[0093]
[0094] Wherein, L′1 represents the image plane distance.
[0095] Specifically, step S106 can be implemented as follows:
[0096] At the optimal image plane position, according to the actual size of the dark field bright line graticule, the imaging size and the focal length of the imaging objective lens, the ideal image plane position is obtained by inversion based on the third formula; the third formula is as follows:
[0097]
[0098] Among them, L′ J2 represents the ideal image plane position, L J1 Indicates the distance to the object plane;
[0099] in, h1 represents the imaging size of the dark field bright line graticule, H a Indicates the actual size of the dark field bright line graticule.
[0100] The visual automatic focusing method provided in the embodiment of the present application is based on the same inventive concept as the visual automatic focusing device provided in the aforementioned embodiment of the present application and has the same beneficial effects.
[0101] It should be noted that the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0102] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0103] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0106] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application 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 replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application.
Claims
1. A visual automatic focusing device, characterized in that: include: An illumination light source, a beam splitter, an imaging objective lens, a composite target, a translation stage and an imaging detector are sequentially arranged along the focusing optical path; wherein, The composite target comprises a backlight plate, a dark field bright line reticle and a visual reflector; The imaging detector is movably arranged on the displacement platform; The focusing optical path includes: a coarse focusing optical path and a precise focusing optical path; The coarse focusing optical path is as follows: the illumination light emitted by the illumination light source passes through the beam splitter and the imaging objective lens in sequence to reach the visual reflector of the composite target, and after being reflected by the visual reflector, is imaged onto the imaging detector through the imaging objective lens; The precise focusing optical path is as follows: the light emitted by the backlight plate is projected through the dark field bright line graticule, and then passes through the imaging objective lens and the beam splitter to be imaged onto the imaging detector.
2. The visual automatic focusing device according to claim 1, characterized in that: The device also includes: The converging mirror is arranged between the illumination light source and the beam splitter, and is used for compressing the divergence angle of the illumination light emitted by the illumination light source.
3. The visual automatic focusing device according to claim 1, characterized in that: The dark field bright line graticule and the visual reflector are both circular in shape, and the dark field bright line graticule is embedded in the visual reflector.
4. The visual automatic focusing device according to claim 3, characterized in that: The dark field bright line graticule is composed of a circular ring pattern and a cross bright line pattern with light and dark alternating, and the cross bright line pattern is embedded in the circular ring pattern.
5. The visual automatic focusing device according to claim 4, characterized in that: The bright circular ring pattern on the dark field bright line reticle includes a concentric near-view active reference ring and a far-view active reference ring, and the diameter of the far-view active reference ring is greater than the diameter of the near-view active reference ring.
6. The visual automatic focusing device according to claim 1, characterized in that: The displacement platform is provided with a displacement sensor; The displacement sensor is used to locate the position of the imaging detector.
7. The visual automatic focusing device according to claim 6, characterized in that: The displacement sensor adopts a grating encoder.
8. The visual automatic focusing device according to claim 1, characterized in that: The illumination light source adopts a halogen lamp or an LED light source.
9. A visual automatic focusing method, based on the visual automatic focusing device according to any one of claims 1 to 8, characterized in that: The method comprises: Moving the imaging detector to the focal plane of the imaging objective lens; Turning on the illumination light source, the illumination light emitted by the illumination light source passes through the coarse focusing optical path to form an image on the imaging detector, and obtaining a contour image of the visual reflector in the imaging detector; The object plane distance is obtained by inversion according to the actual size of the outline of the visual reflector, the imaging size, and the clear aperture and focal length of the imaging objective lens; The image plane distance is calculated according to the object plane distance, and the imaging detector is moved to the image plane distance position to complete the coarse focusing; Turn off the illumination light source and turn on the backlight panel, so that the light emitted by the backlight panel passes through the precise focusing optical path to form an image on the imaging detector, and drive the imaging detector to move forward and backward on the translation stage by a preset distance, and determine the position with the maximum imaging clarity as the best image plane position; At the optimal image plane position, the ideal image plane position is inverted according to the actual size of the dark field bright line graticule, the imaging size and the focal length of the imaging objective lens, and the imaging detector is moved to the ideal image plane position to complete precise focusing.
10. The visual automatic focusing method according to claim 9, characterized in that: According to the actual size of the outline of the visual reflector, the imaging size, and the clear aperture and focal length of the imaging objective lens, the object plane distance is obtained by inversion, including: According to the actual size of the outline of the visual reflector, the imaging size, and the clear aperture and focal length of the imaging objective lens, the object plane distance is obtained by inversion based on the first formula; the first formula is as follows: Among them, L1 represents the object plane distance, H 11 The outer ring radius of the outline of the visual reflector, H 12 represents the inner ring radius of the visual reflector, h 11 represents the imaging size of the outer ring of the visual reflector, h 12 represents the imaging size of the inner ring of the visual reflector, f ' represents the focal length of the imaging objective lens.
11. The visual automatic focusing method according to claim 10, characterized in that: The calculating the image plane distance according to the object plane distance comprises: According to the object plane distance, the image plane distance is calculated based on a second formula; the second formula is as follows: Wherein, L′1 represents the image plane distance.
12. The visual automatic focusing method according to claim 11, characterized in that: At the optimal image plane position, according to the actual size of the dark field bright line graticule, the imaging size and the focal length of the imaging objective lens, the ideal image plane position is inverted, including: At the optimal image plane position, according to the actual size of the dark field bright line graticule, the imaging size and the focal length of the imaging objective lens, the ideal image plane position is obtained by inversion based on the third formula; the third formula is as follows: Among them, L′ J2 represents the ideal image plane position, L J1 According to the image plane distance L' J1 The obtained object plane distance; in, h1 represents the imaging size of the dark field bright line graticule, H a Indicates the actual size of the dark field bright line graticule.
Citation Information
Cited By
Contour backlight switching device and detection equipment
CN119511609A
