Binocular Camera

Through the calculation and adjustment of the rotation angle of the binocular camera, the problem of low aiming accuracy of the monocular camera is solved, and more efficient target aiming and measurement of the laser tracker is achieved.

CN116718108BActive Publication Date: 2024-10-29CHOTEST TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310665249.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2024-10-29
Estimated Expiration
2043-02-10

AI Technical Summary

Technical Problem

The aiming optical axis of the monocular camera does not coincide with the measuring optical axis of the laser tracker, resulting in low aiming accuracy and difficulty in accurately obtaining the zero point position and rotation angle, which in turn affects the aiming effect of the laser tracker.

Method used

A binocular camera is used to calculate the rotation angle through the reflection data of the first beam and the second beam, and the rotation center of the binocular camera is used as the center point to rotate in different directions to ensure that the target is located on the aiming optical axis and improve aiming accuracy.

Benefits of technology

It improves the accuracy of laser tracker aiming at the target, ensures that the laser beam can be accurately adjusted to the target position, and enhances the accuracy of measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116718108B_ABST
    Figure CN116718108B_ABST
Patent Text Reader

Abstract

The present disclosure describes a binocular camera, which includes a first light source, a second light source, a first acquisition unit, and a second acquisition unit. The first acquisition unit is configured to acquire a first light beam reflected by a target and obtain first light spot data, the first light spot data includes a first component and a second component, and the second acquisition unit is configured to acquire a second light beam reflected by a target and obtain second light spot data, the second light spot data includes a third component and a fourth component; the first component, the third component, and the preset condition satisfied by the first component and the third component when the target is located on the aiming optical axis are used to obtain a first rotation angle; the second component and the fourth component are used to obtain a second rotation angle; the binocular camera is configured to rotate a first rotation angle along a first direction with the rotation center of the binocular camera as the center point; the binocular camera is configured to rotate a second rotation angle along a second direction with the rotation center of the binocular camera as the center point. Thus, the binocular camera can be aimed at the target.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a patent application with an application date of February 10, 2023, application number 2023100982589, and invention name “Target aiming method, processing device and laser tracker based on binocular camera”. Technical Field

[0002] The present disclosure generally relates to the intelligent manufacturing equipment industry, and more specifically to a binocular camera. Background Art

[0003] Laser tracker, also known as coordinate measuring device, the basic working principle of laser tracker is to place a target (also called "reflector" or "target ball") at the point to be measured, and the laser beam emitted by the laser tracking head of the laser tracker is emitted to the target along the measuring optical axis of the laser tracker. The laser beam is reflected by the target and returned to the laser tracking head. When the target moves, the laser tracking head adjusts the direction of the laser beam to aim at the target. At the same time, the returned laser beam is received and identified by the detection system of the laser tracker to measure the spatial position of the target.

[0004] The patent document (CN202210181257.6) discloses a coordinate measuring device with automatic target identification function and its identification method. In the patent document, the monocular camera system acquires the laser beam reflected by the target to form a target light spot, and calculates the rotation angle that the coordinate measuring device needs to adjust based on the pixel difference of the initial light spot. The monocular camera is controlled to rotate based on the rotation angle to move the center of mass of the target light spot to the center of mass of the initial light spot, so that the detection system of the laser tracker receives and identifies the laser beam reflected back by the target, wherein the initial light spot is the light spot formed by the laser beam reflected by the target on the monocular camera system when the target is at a preset position.

[0005] However, since the aiming optical axis of the monocular camera and the measuring optical axis of the laser tracker do not coincide, there is parallax between the aiming optical axis of the monocular camera and the measuring optical axis of the laser tracker. The zero position of the laser tracker when measuring the target (the zero position is also the preset position of the returned laser beam on the imaging element of the monocular camera when the target is located on the measuring optical axis of the laser tracker) is related to the distance from the target to the monocular camera, and it is difficult to accurately obtain the zero position. Therefore, the rotation angle of the monocular camera (that is, the rotation angle of the laser beam emitted by the laser tracker) cannot be accurately obtained based on the zero position, so that the aiming optical axis cannot be directly aimed at the target. Summary of the invention

[0006] The present disclosure is made in view of the above-mentioned prior art conditions, and its purpose is to provide a method for aiming at a target based on a binocular camera, which is used to improve the accuracy of a laser tracker aiming at a target, and also provides a processing device and a laser tracker for executing the method.

[0007] To this end, the present disclosure provides a method for aiming a target based on a binocular camera in a first aspect, which is a method for aiming an aiming optical axis of the binocular camera at a target, characterized in that the binocular camera includes a first light source for emitting a first light beam, a second light source for emitting a second light beam, a first acquisition unit, and a second acquisition unit, and the method includes: emitting the first light beam and the second light beam; using the first acquisition unit to acquire the first light beam reflected by the target and obtain first light spot data, the first light spot data includes a first component along a first direction and a second component along a second direction, using the second acquisition unit to acquire the second light beam reflected by the target and obtain second light spot data, the second light spot data includes a third component along the first direction and a fourth component along the second direction; calculating a first rotation angle based on the first component, the third component, and a preset condition satisfied by the first component and the third component when the target is located at the aiming optical axis; calculating a second rotation angle based on the second component and the fourth component; rotating the binocular camera by the first rotation angle along the first direction with the rotation center of the binocular camera as the center point; and rotating the binocular camera by the second rotation angle along the second direction with the rotation center of the binocular camera as the center point.

[0008] The present disclosure relates to a method for aiming at a target based on a binocular camera. The method can emit a first light beam through a first light source, and emit a second light beam through a second light source. The target can receive the first light beam and the second light beam, and can reflect the first light beam and the second light beam. The first acquisition unit of the binocular camera can obtain the first light beam reflected by the target, and can obtain first light spot data of the first light beam. The second acquisition unit of the binocular camera can obtain the second light beam reflected by the target, and can obtain second light spot data of the second light beam. Based on the first light spot data, the second light spot data, and the preset conditions satisfied by the first light spot data and the second light spot data when the target is located on the aiming optical axis of the binocular camera, a first rotation angle that needs to be rotated along a first direction with a rotation center as a center point during the binocular camera aiming at the target can be calculated. Based on the first light spot data and the second light spot data, a second rotation angle that needs to be rotated along a second direction with a rotation center as a center point during the binocular camera aiming at the target can be calculated. Therefore, the binocular camera can be aimed at the target by rotating the binocular camera by the first rotation angle and the second rotation angle. In other words, the target can be located on the aiming optical axis of the binocular camera.

[0009] In addition, in the method involved in the first aspect of the present disclosure, optionally, the first acquisition unit has a first lens and a first imaging element for acquiring the first light spot data, and the second acquisition unit has a second lens and a second imaging element for acquiring the second light spot data. In this case, the first light beam can be reflected from the target to the first lens, and pass through the first lens to be focused on the first imaging element to form an image, and the second light beam can be reflected from the target to the second lens, and pass through the second lens to be focused on the second imaging element to form an image, thereby, the first imaging element can acquire the first light spot data based on the reflected first light beam, and the second imaging element can acquire the second light spot data based on the reflected second light beam.

[0010] In addition, in the method involved in the first aspect of the present disclosure, optionally, a first coordinate system is established based on the first imaging element, the horizontal axis direction of the first coordinate system is the first direction, and the vertical axis direction of the first coordinate system is the second direction, and a second coordinate system is established based on the second imaging element, the horizontal axis direction of the second coordinate system is the first direction, and the vertical axis direction of the second coordinate system is the second direction, the first direction is the horizontal direction, and the second direction is the vertical direction. In this case, the first light spot data can be decomposed into a first component along the first direction and a second component along the second direction in the first coordinate system, and the second light spot data can be decomposed into a third component along the first direction and a fourth component along the second direction in the second coordinate system, thereby facilitating the calculation of the first light spot data and the second light spot data.

[0011] In addition, in the method involved in the first aspect of the present disclosure, optionally, the number of the first light sources is multiple, the multiple first light sources are arranged around the first acquisition unit, and the first light spot data is based on the multiple first light beams emitted by the multiple first light sources, which are reflected by the target and acquired by the first acquisition unit. The number of the second light sources is multiple, the multiple second light sources are arranged around the second acquisition unit, and the second light spot data is based on the multiple second light beams emitted by the multiple second light sources, which are reflected by the target and acquired by the second acquisition unit. The light spot data is obtained. In this case, since the multiple first light sources are arranged around the first acquisition unit, the light spots formed by the multiple first light sources acquired by the first acquisition unit are also in a surrounding shape. The first light spot data is calculated using the joint centroid of the multiple light spots, and a first light spot data with higher precision can be obtained. At the same time, since the multiple second light sources are arranged around the second acquisition unit, the light spots formed by the multiple second light sources acquired by the second acquisition unit are also in a surrounding shape. The second light spot data is calculated using the joint centroid of the multiple light spots, and a second light spot data with higher precision can be obtained, thereby not only simplifying the calculation, but also improving the calculation accuracy.

[0012] In addition, in the method involved in the first aspect of the present disclosure, optionally, the method further includes calculating the distance between the target and the binocular camera based on the first component and the third component. Thus, the distance of the target relative to the binocular camera can be conveniently measured, and the spatial position of the target relative to the binocular camera can be determined, so that the first rotation angle and the second rotation angle can be conveniently calculated.

[0013] In addition, in the method involved in the first aspect of the present disclosure, optionally, the first rotation angle is calculated based on the first component, the third component, the distance between the target and the binocular camera, and the preset condition satisfied by the first component and the third component when the target is located on the aiming optical axis. In this case, since when the target is located on the aiming optical axis, it can be deduced based on the triangular relationship that the first component and the third component satisfy the preset condition, and thus the first rotation angle can be accurately and conveniently calculated based on the preset condition.

[0014] In addition, in the method involved in the first aspect of the present disclosure, optionally, when the binocular camera is aimed at the target, the preset condition satisfied by the first component and the third component is that the sum of the first component and the third component is a preset value, and the preset value is obtained by calibrating the binocular camera when the binocular camera is aimed at the target. In this case, the first rotation angle can be accurately and conveniently calculated based on the preset condition, and the binocular camera can be calibrated to obtain the preset value at different distances before using the binocular camera to aim at the target, so that when the first rotation angle is calculated at different distances later, the calibrated preset value can be directly called to calculate the first rotation angle.

[0015] In addition, in the method involved in the first aspect of the present disclosure, optionally, the first lens and the second lens are located in the same plane, and the first rotation angle is: The second rotation angle is: Wherein α1 is the parameter value of the first rotation angle, β1 is the parameter value of the second rotation angle, u is the parameter value of the preset width of each pixel point of the first imaging element and the second imaging element in the first direction and the second direction, L1 is the parameter value of the first preset distance from the rotation center of the binocular camera to the same plane where the first lens and the second lens are located, D1 is the parameter value of the distance from the target to the same plane where the first lens and the second lens are located, f is the parameter value of the focal length of the first lens and the second lens, K is the parameter value of the preset value, x1 and x2 respectively represent the parameter value of the first component of the first light spot data in the first coordinate system and the parameter value of the third component of the second light spot data in the second coordinate system, y1 and y2 respectively represent the parameter value of the second component of the first light spot data in the first coordinate system relative to the optical axis of the first lens and the parameter value of the fourth component of the second light spot data in the second coordinate system relative to the optical axis of the second lens. In this case, when the target is located at any position on the aiming optical axis of the binocular camera, the preset conditions satisfied by the first component and the third component can be derived based on the triangular relationship, and the first rotation angle can be accurately and conveniently calculated based on the preset conditions. At the same time, since there is no parallax between the optical axes of the first lens and the second lens of the binocular camera and the aiming optical axis of the binocular camera in the second direction, that is, the second component of the first light spot data and the fourth component of the second light spot data will not be affected by the parallax, the method for calculating the second rotation angle can be simplified, and at the same time, the second rotation angle can be calculated using the mean of the second component and the fourth component, so that the accuracy of the calculation can be improved, thereby making the calculation of the method for aiming at the target more convenient.

[0016] In addition, the second aspect of the present disclosure provides a processing device, including a control module for executing the method involved in the first aspect of the present disclosure, and an input-output module for communicating with the outside, wherein the input-output module is interconnected with the control module via a bus. In this case, the input-output module can communicate with the binocular camera involved in the first aspect of the present disclosure, whereby the control module can receive the parameters of the binocular camera and calculate the first rotation angle and the second rotation angle that the binocular camera needs to rotate when aiming at the target based on the method of aiming at the target.

[0017] In addition, the third aspect of the present disclosure provides a laser tracker for aiming at a target, comprising a laser source for generating a laser beam, a processing device as described in the second aspect of the present disclosure, a binocular camera that obtains a first rotation angle and a second rotation angle based on the method described in the first aspect of the present disclosure, and a driving unit that adjusts the direction of the laser beam based on the first rotation angle and the second rotation angle. In this case, the processing device can obtain the first rotation angle and the second rotation angle that need to be rotated during the binocular camera aiming at the target, so that the driving unit can adjust the direction of the laser beam based on the first rotation angle and the second rotation angle so that the laser beam aims at the target.

[0018] According to the present disclosure, a method for aiming at a target based on a binocular camera can be provided, which is used to improve the accuracy of aiming at a target by a laser tracker, and a processing device and a laser tracker for executing the method are also provided. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1A Schematic diagram showing a laser tracker according to this embodiment example.

[0020] Figure 1B Schematic diagram showing a method for aiming at a target based on a binocular camera according to an example of the present embodiment.

[0021] Figure 2A Schematic diagram showing the structure of a binocular camera according to this embodiment example.

[0022] Figure 2B Schematic diagram showing the composition of a binocular camera according to this embodiment example.

[0023] Figure 3 1 is a schematic flow chart showing a method for aiming at a target based on a binocular camera according to an example of the present embodiment.

[0024] Figure 4A Schematic diagram showing an actual optical path of the method for aiming at a target based on a binocular camera according to the present embodiment example.

[0025] Figure 4B Schematic diagram showing a first equivalent optical path of the method for aiming at a target based on a binocular camera according to this embodiment example.

[0026] Figure 5 Schematic diagram showing a first coordinate system and a second coordinate system according to this embodiment example.

[0027] Figure 6 Schematic diagram showing the measurement of the distance of a target using a binocular camera according to the present embodiment.

[0028] Figure 7 1 is a schematic diagram showing that the aiming target involved in this embodiment example is located on the aiming optical axis of the binocular camera.

[0029] Figure 8 is a schematic diagram showing the measurement of a first rotation angle based on a binocular camera according to the example of the present embodiment.

[0030] Fig. 9 Schematic diagram showing the measurement of the second rotation angle based on a binocular camera according to the embodiment example.

[0031] Fig.10 Schematic diagram showing components of a laser tracker according to this embodiment example. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In the following description, the same symbols are given to the same components, and repeated descriptions are omitted. In addition, the drawings are only schematic diagrams, and the ratio of the sizes of the components to each other or the shapes of the components may be different from the actual ones.

[0034] The present embodiment relates to a method for aiming at a target based on a binocular camera, which may also be referred to as a “method for capturing a target based on a binocular camera” (hereinafter referred to as “method for aiming at a target” or “method for capturing a target”).

[0035] Figure 1A Schematic diagram showing a laser tracker 30 according to this embodiment example. Figure 1B Schematic diagram showing a method of aiming at a target 20 based on a binocular camera 10 according to the present embodiment.

[0036] In this embodiment, see Figure 1A and Figure 1B The method of aiming at the target 20 based on the binocular camera 10 can be applicable to the laser tracker 30. The working process of the laser tracker 30 can be to place a target 20 (also called a "reflector" or a "target ball") at the point to be measured. The laser tracker 30 can emit a laser beam and can be emitted to the target 20 along the measuring optical axis of the laser tracker 30. The laser beam can be reflected by the target 20 and can return to the laser tracker 30. At the same time, the returned laser beam is received and recognized by the detection system of the laser tracker 30, so that the laser tracker 30 can measure the spatial position of the target 20. When the target 20 moves over a large range, the detection system of the laser tracker 30 cannot receive and identify the laser beam reflected back from the target 20. Then, the laser tracker 30 can adjust the position and posture of the binocular camera 10 based on the method of the binocular camera 10 aiming at the target 20, so that the target 20 is located on the aiming optical axis M of the binocular camera 10, so that the reflected laser beam can be received and identified by the detection system of the laser tracker 30, and then the laser tracker 30 can measure the spatial position of the target 20, wherein the aiming optical axis M of the binocular camera 10 can be the measuring optical axis of the laser tracker 30, that is, the axis where the laser beam emitted by the laser tracker 30 is located.

[0037] See also Figure 1B In the method for aiming at a target 20 based on a binocular camera 10 according to the present embodiment, the first direction 12, the second direction 13, and the aiming optical axis M of the binocular camera 10 may be perpendicular to each other, and the first projection 20a may be the target 20 between the aiming optical axis M and the first direction 12 (i.e. Figure 1B The second projection 20b can be the projection position of the target 20 in the plane composed of the aiming optical axis M and the second direction 13 (i.e. Figure 1B The projection position in the plane composed of the Y-axis direction shown in , which can also be called the "vertical direction").

[0038] Through the method of aiming at a target 20 based on a binocular camera 10 involved in the present disclosure, the binocular camera 10 can irradiate a light beam onto the target 20 through the first light source 15 and the second light source 16 of the binocular camera 10, and the acquisition unit 17 of the binocular camera 10 can obtain first light spot data and second light spot data of the light beam reflected by the target 20, and based on the first light spot data and the second light spot data, a first rotation angle α in the first direction 12 and a second rotation angle β in the second direction 13 with the rotation center 11 of the binocular camera 10 as the center point can be obtained.

[0039] In some examples, when the binocular camera 10 is aimed at the target 20, that is, the target 20 is located on the aiming optical axis M of the binocular camera 10, the binocular camera 10 can be rotated according to the first rotation angle α and the second rotation angle β, with the rotation center 11 as the center point, so that the target 20 is located on the aiming optical axis M. Compared with the method of aiming the target 20 with a monocular camera, the method involved in the present disclosure can improve the accuracy of aiming at the target 20.

[0040] It should be noted that the method of aiming at the target 20 based on the binocular camera 10 disclosed in the present invention is not limited to being applicable to the laser tracker 30 , but can also be applicable to other devices that need to aim at the target 20 .

[0041] Figure 2A Schematic diagram showing the structure of the binocular camera 10 according to the present embodiment example. Figure 2B 1 is a schematic diagram showing the configuration of the binocular camera 10 according to the present embodiment example.

[0042] See also Figure 2B In some examples, the binocular camera 10 may include a first light source 15 for emitting a first light beam 151, a second light source 16 for emitting a second light beam 161, and a collection unit 17 for receiving the first light beam 151 and the second light beam 161 reflected back from the target 20. In this case, the collection unit 17 is capable of receiving the first light beam 151 and the second light beam 161 reflected back from the target 20, thereby the collection unit 17 is capable of correspondingly forming a first light spot 152 (described later) of the first light beam 151 and a second light spot 162 (described later) of the second light beam 161, and the collection unit 17 is capable of respectively forming first light spot data of the first light spot 152 and second light spot data of the second light spot 162 based on the first light spot 152 and the second light spot 162.

[0043] In some examples, the acquisition unit 17 may include a first acquisition unit 171 and a second acquisition unit 172, wherein the first acquisition unit 171 may be configured to receive the first light beam 151 reflected back by the target 20 and form a first light spot 152 and first light spot data of the first light spot 152, and the second acquisition unit 172 may be configured to receive the second light beam 161 reflected back by the target 20 and form a second light spot 162 and second light spot data of the second light spot 162. In this case, the first acquisition unit 171 and the second acquisition unit 172 can respectively acquire the first light beam 151 and the second light beam 161 reflected back by the target 20, and respectively form the first light spot data and the second light spot data, thereby making the structure of the binocular camera 10 more convenient and flexible, and the field of view of the binocular camera 10 is wider (see Figure 2B ).

[0044] In some examples, the first acquisition unit 171 may include a first lens 1711 and a first imaging element 1712, and the second acquisition unit 172 may include a second lens 1721 and a second imaging element 1722 (see Figure 2B ). In this case, the first light beam 151 can be reflected by the target 20 to the first lens 1711, pass through the first lens 1711 and be focused on the first imaging element 1712 to form a first light spot 152, and the second light beam 161 can be reflected by the target 20 to the second lens 1721, pass through the second lens 1721 and be focused on the second imaging element 1722 to form a second light spot 162, thereby, the first imaging element 1712 can obtain first light spot data based on the first light spot 152, and the second imaging element 1722 can obtain second light spot data based on the second light spot 162.

[0045] In some examples, the first lens 1711 and the second lens 1721 may be located in the same plane and the optical center of the first lens 1711 and the optical center of the second lens 1721 are located in the plane, and the optical center of the first lens 1711 and the optical center of the second lens 1721 are respectively located on the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721. This is beneficial to the structural design of the binocular camera 10, and can make the calculation steps of the method for aiming at the target 20 simpler and more accurate.

[0046] In some examples, the first lens 1711 and the second lens 1721 may be located in different planes, thereby improving the adaptability of the binocular camera 10 .

[0047] See also Figure 2B In some examples, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may be parallel. This is beneficial to the structural design of the binocular camera 10 and can make the calculation steps of the method for aiming at the target 20 simpler and more accurate.

[0048] In some examples, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may be parallel and distributed on both sides of the aiming optical axis M of the binocular camera 10. Thus, the method for calculating the aiming target 20 can be further simplified and accurate.

[0049] In some examples, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may be parallel and symmetrically distributed on both sides of the aiming optical axis M of the binocular camera 10. In this case, when the binocular camera 10 aims at the target 20, that is, when the target 20 is located at the aiming optical axis M, the preset value can be obtained based on the triangular relationship, thereby facilitating further simplification of the calculation of the first rotation angle α that needs to be rotated when the binocular camera 10 aims at the target 20.

[0050] In some examples, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may intersect. Thus, the adaptability of the binocular camera 10 can be improved.

[0051] In some examples, the projections of the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 in the second direction 13 may overlap with the projection of the aiming optical axis M of the binocular camera 10 in the second direction 13. Thus, the calculation of the second rotation angle β that needs to be rotated when the binocular camera 10 aims at the target 20 can be simplified, and the accuracy of calculating the second rotation angle β can be improved.

[0052] In some examples, the first lens 1711 and the second lens 1721 may have the same focal length. Thus, the method for calculating the aiming target 20 can be made simpler.

[0053] In some examples, the first lens 1711 and the second lens 1721 may have different focal lengths. Thus, the adaptability of the binocular camera 10 can be improved.

[0054] In some examples, the first imaging element 1712 may be a CMOS photosensitive element, for example, a CMOS image sensor. In other examples, the first imaging element 1712 may be a CCD photosensitive element. However, the examples of this embodiment are not limited thereto, and the first imaging element 1712 may also be other elements that can be used for photosensitive imaging.

[0055] In some examples, the second imaging element 1722 may be a CMOS photosensitive element, for example, a CMOS image sensor. In other examples, the second imaging element 1722 may be a CCD photosensitive element. However, the examples of this embodiment are not limited thereto, and the second imaging element 1722 may also be other elements that can be used for photosensitive imaging.

[0056] In some examples, the first imaging element 1712 may include a photosensitive array (or pixel array). The photosensitive array may be composed of a plurality of pixels, and may convert a received light signal into an electrical signal for output. Thus, the first light spot 152 formed on the first imaging element 1712 by the first light beam 151 reflected by the target 20 and the first light spot data of the first light spot 152 may be obtained.

[0057] In some examples, the second imaging element 1722 may also include a photosensitive array. Thus, a second light spot 162 formed on the second imaging element 1722 by the second light beam 161 reflected by the target 20 and second light spot data of the second light spot 162 can be obtained.

[0058] In some examples, the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may be of the same type. For example, the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may both be CMOS photosensitive elements or CCD photosensitive elements.

[0059] In some examples, the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may have the same parameters. For example, the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may have the same effective pixel array and pixel size. In other words, the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may contain the same number of pixels in the horizontal direction and the vertical direction, respectively, that is, they may have the same total pixel width. The size of each pixel may be the same, that is, the width of each pixel in the horizontal direction and the vertical direction may be the same. As a result, the method of calculating the aiming target 20 can be made simpler, and it is also convenient for the design of the binocular camera 10.

[0060] In some examples, the types or parameters of the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may also be different, thereby improving the adaptability of the binocular camera 10.

[0061] In some examples, the first light spot data may be position information of the first light spot 152 on the first imaging element 1712, and the second light spot data may be position information of the second light spot 162 on the second imaging element 1722. Thus, the first rotation angle α and the second rotation angle β can be calculated based on the first light spot data and the second light spot data.

[0062] In some examples, the number of the first light sources 15 may be multiple, and the multiple first light sources 15 may be arranged around the first acquisition unit 171. Specifically, the multiple first light sources 15 may be arranged around the first lens 1711, and the first light spot data may be light spot data obtained by multiple light spots obtained by the first acquisition unit 171 after the multiple first light beams 151 emitted by the multiple first light sources 15 are reflected by the target 20. In this case, since the multiple first light sources 15 are arranged around the first acquisition unit 171, the light spots formed by the multiple first light sources 15 acquired by the first acquisition unit 171 are also in a surrounding shape. By calculating the first light spot data using the joint center of gravity of the multiple light spots, a first light spot data with higher precision can be obtained, thereby not only simplifying the calculation, but also improving the calculation accuracy.

[0063] In some examples, the number of the second light sources 16 may be multiple, and the multiple second light sources 16 may be arranged around the second acquisition unit 172. Specifically, the multiple second light sources 16 may be arranged around the second lens 1721, and the second light spot data may be light spot data obtained by the multiple second light beams 161 emitted by the multiple second light sources 16 being reflected by the target 20 and acquired by the second acquisition unit 172. In this case, since the multiple second light sources 16 are arranged around the second acquisition unit 172, the light spots formed by the multiple second light sources 16 acquired by the second acquisition unit 172 are also in a surrounding shape. By calculating the second light spot data using the joint center of gravity of the multiple light spots, a second light spot data with higher precision can be obtained, thereby not only simplifying the calculation, but also improving the calculation accuracy.

[0064] In some examples, any one of a center of gravity tracking method, a grayscale centroid method, a circle fitting method, and a Hough transform method can be used to calculate the joint center of gravity of the plurality of first light spots 152 and / or the plurality of second light spots 162 respectively on the first imaging element 1712 and the second imaging element 1722. Thus, the adaptability of the calculation method for aiming at the target 20 can be improved.

[0065] In some examples, the first light source 15 and the second light source 16 may be scattered light sources. In particular, the first light source 15 and the second light source 16 may be infrared LED light sources, and the light emission angle may be 10 degrees to 50 degrees. In this case, the first light beam 151 and the second light beam 161 can be emitted in a larger range, thereby increasing the probability that the target 20 reflects the first light beam 151 and the second light beam 161, and expanding the field of view of the binocular camera 10.

[0066] In some examples, the overlapping range of the fields of view of the first light source 15 and the second light source 16 may be greater than the fields of view of the first acquisition unit 171 and the second acquisition unit 172. In this case, the fields of view of the first light source 15 and the second light source 16 can be greater than the fields of view of the first acquisition unit 171 and the second acquisition unit 172, so that the effective field of view of the acquisition unit 17 can be maximized as much as possible, thereby further expanding the field of view of the binocular camera 10.

[0067] In some examples, the first light source 15 may be a plurality of infrared LED light sources symmetrically distributed on both sides of the first lens 1711. In some examples, the second light source 16 may be a plurality of infrared LED light sources symmetrically distributed on both sides of the second lens 1721. Thus, the field of view of the binocular camera 10 can be expanded.

[0068] Figure 3 1 is a flow chart showing a method of aiming at a target 20 using a binocular camera 10 according to the present embodiment.

[0069] refer to Figure 3 The method for aiming at the target 20 based on the binocular camera 10 may include emitting a first light beam 151 and a second light beam 161 (step S100), obtaining first light spot data using the first light beam 151 and obtaining second light spot data using the second light beam 161 (step S200), calculating a first rotation angle α based on the first light spot data, the second light spot data, and a preset condition satisfied by the first light spot data and the second light spot data when the target 20 is located on the aiming optical axis M of the binocular camera 10 (step S300), calculating a second rotation angle β based on the first light spot data and the second light spot data (step S400), rotating the binocular camera 10 by the first rotation angle α (step S500), and rotating the binocular camera 10 by the second rotation angle β (step S600).

[0070] Figure 4A 1 is a schematic diagram showing an actual optical path of a method of aiming at a target 20 using a binocular camera 10 according to this embodiment example. Figure 4B 1 is a schematic diagram showing a first equivalent optical path of a method for aiming at a target 20 based on a binocular camera 10 according to this embodiment example.

[0071] In this embodiment, in order to facilitate the description of the method of aiming at the target 20 based on the binocular camera 10, the present disclosure is based on Figure 4A The actual optical path of the method of aiming at the target 20 can be proposed as follows Figure 4B In the first equivalent optical path shown, the first acquisition unit 171 of the binocular camera 10 may include a first lens 1711 and a first imaging element 1712 , and the second acquisition unit 172 may include a second lens 1721 and a second imaging element 1722 .

[0072] To further illustrate the method involved in the present disclosure, the first lens 1711 and the second lens 1721 may have the same preset focal length and may be located in the same plane, and the optical center of the first lens 1711 and the optical center of the second lens 1721 may be located in the same plane; the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may be parallel and symmetrically distributed on both sides of the aiming optical axis M of the binocular camera 10, the rotation center 11 of the binocular camera 10 may be located on the aiming optical axis M, and the distance from the rotation center 11 to the same plane where the first lens 1711 and the second lens 1721 are located may have a first preset distance L; the spacing between the first lens 1711 and the second lens 1721 may have a second preset distance A, and the second preset distance A may be represented by the distance between the optical center of the first lens 1711 and the optical center of the second lens 1721 in the same plane mentioned above; the parameters of the photosensitive array of the first imaging element 1712 and the photosensitive array of the second imaging element 1722 may be the same, for example, they may have the same total pixel width, and the size of each pixel may be the same, that is, the width of each pixel in the first direction 12 and the second direction 13 is the same; the first light source 15 may be two infrared LED light sources symmetrically distributed on both sides of the first lens 1711, that is Figure 4A The first light source 15a and the first light source 15b shown in FIG. 1 , the second light source 16 may be two infrared LED light sources symmetrically distributed on both sides of the second lens 1721, that is, Figure 4A The second light source 16a and the second light source 16b in the optical path imaging principle, the first light source 15a and the first light source 15b can have corresponding virtual light sources 15C and virtual light sources 15D (see Figure 4A ), the second light source 16a and the second light source 16b may have corresponding virtual light sources 16C and 16D (see Figure 4A ), the virtual light source 15C and the virtual light source 15D can be equivalent to Figure 4B The first virtual light source 153, the virtual light source 16C and the virtual light source 16D shown in FIG. 1 can be equivalent to the following: Figure 4B The second virtual light source 163 shown in the figure, and the target 20 can be located at the midpoint of the line connecting the optical center of the first lens 1711 and the first virtual light source 153, and the target 20 can be located at the midpoint of the line connecting the optical center of the second lens 1721 and the second virtual light source 163. This is beneficial to the design of the binocular camera 10 and the method for conveniently calculating the aiming target 20.

[0073] However, it should be noted that the settings of the positions and some parameters of the lenses and the photosensitive array disclosed in the present invention should not be understood as limitations on the present method. For example, the focal lengths of the first lens 1711 and the second lens 1721 may be different, the first lens 1711 and the second lens 1721 may not be symmetrically arranged about the aiming optical axis M, and the photosensitive array may have different total pixel widths. In these cases, the formulas described below can be adaptively modified.

[0074] The following can be based on Figure 4B The first equivalent optical path shown is used to explain the method of aiming at the target 20 .

[0075] In step S100, the first light source 15 may emit a first light beam 151, and the second light source 16 may emit a second light beam 161. In this case, the target 20 can receive the first light beam 151 and the second light beam 161 and reflect the first light beam 151 and the second light beam 161 to the first acquisition unit 171 and the second acquisition unit 172, respectively, so that the first acquisition unit 171 can obtain the first light beam 151 reflected by the target 20, and the second acquisition unit 172 can obtain the second light beam 161 reflected by the target 20.

[0076] In step S200, the first acquisition unit 171 can be used to acquire the first light beam 151 reflected by the target 20 and obtain first light spot data, which may include a first component along the first direction 12 and a second component along the second direction 13. The second acquisition unit 172 can be used to acquire the second light beam 161 reflected by the target 20 and obtain second light spot data, which may include a third component along the first direction 12 and a fourth component along the second direction 13.

[0077] Figure 5 Schematic diagram showing a first coordinate system C1 and a second coordinate system C2 according to this embodiment example.

[0078] In some examples, Figure 4B The CC direction is the viewing direction, and the first coordinate system C1 can be established based on the first imaging element 1712. The upper left corner of the first imaging element 1712 can be the origin O1 of the first coordinate system C1. The horizontal axis direction of the first coordinate system C1, that is, the X1 axis direction can be the first direction 12 (also called the "horizontal direction"), and the vertical axis direction of the first coordinate system C1, that is, the Y1 axis direction can be the second direction 13 (also called the "vertical direction") (see Figure 5 In this case, the first light spot data can be decomposed into a first component along the first direction 12 and a second component along the second direction 13 in the first coordinate system C1, thereby facilitating calculation of the first light spot data.

[0079] In some examples, Figure 4B The CC direction is the viewing direction, and the second coordinate system C2 can be established based on the second imaging element 1722. The upper left corner of the second imaging element 1722 can be the origin O2 of the second coordinate system C2. The horizontal axis direction of the second coordinate system C2, that is, the X2 axis direction can be the first direction 12 (also referred to as the "horizontal direction"), and the vertical axis direction of the second coordinate system C2, that is, the Y2 axis direction can be the second direction 13 (also referred to as the "vertical direction") (see Figure 5 ). In this case, the second light spot data can be decomposed into a third component along the first direction 12 and a fourth component along the second direction 13 in the second coordinate system C2, thereby facilitating calculation of the second light spot data.

[0080] In some examples, the units of the horizontal axis and the vertical axis of the first coordinate system C1 and the second coordinate system C2 may be the number of pixels. In other words, the coordinates in the first coordinate system C1 and the second coordinate system C2 may be represented by pixel offsets.

[0081] In some examples, the horizontal axis directions of the first coordinate system C1 and the second coordinate system C2 may coincide with each other, thereby making the design of the binocular camera 10 and the calculation method of aiming at the target 20 more convenient.

[0082] In some examples, the first imaging element 1712 and the second imaging element 1722 may have the same total pixel width. In other words, in the horizontal and vertical directions, the first imaging element 1712 and the second imaging element 1722 may have the same total pixel width, and the width of each pixel point in the horizontal and vertical directions may be the same, that is, Figure 5 The first imaging element 1712 and the second imaging element 1722 shown in FIG. 1 may have the same third preset distance W.

[0083] in addition, Figure 5 The first image center P1 and the second image center P2 can represent the image centers of the first imaging element 1712 and the second imaging element 1722 respectively, that is, the center point positions of the photosensitive elements of the first imaging element 1712 and the second imaging element 1722. In other words, the horizontal axis coordinate values ​​of the first image center P1 and the second image center P2 in their respective coordinate systems are the values ​​of the third preset distance W divided by 2.

[0084] In some examples, the first light spot data may include a first component along the first direction 12 and a second component along the second direction 13, wherein the first component may be the coordinate value of the first light spot 152 in the X1 axis direction of the first coordinate system C1, in other words, the first component may be the pixel point offset of the first light spot 152 in the X1 axis direction, that is, the first direction 12 relative to the origin O1 of the first coordinate system C1, and the second component may be the pixel point offset of the first light spot 152 in the Y1 axis direction of the first coordinate system C1, that is, the second direction 13 relative to the optical axis T1 of the first lens 1711. Thus, the format meaning of the first light spot data can be clearly defined, thereby facilitating the calculation of the method for aiming at the target 20.

[0085] In some examples, the second light spot data may include a third component along the first direction 12 and a fourth component along the second direction 13, wherein the third component may be the coordinate value of the second light spot 162 in the X2 axis direction in the second coordinate system C2, in other words, the third component may be the second light spot 162 in the X2 axis direction of the second coordinate system C2, that is, the pixel point offset of the first direction 12 relative to the origin O2 of the second coordinate system C2, and the fourth component may be the second light spot 162 in the Y2 axis direction, that is, the pixel point offset of the second direction 13 relative to the optical axis T2 of the second lens 1721. Thus, the format meaning of the second light spot data can be clearly defined, thereby facilitating the calculation of the method for aiming at the target 20.

[0086] Figure 6 1 is a schematic diagram showing the measurement of the distance of the target 20 by the binocular camera 10 according to the present embodiment example.

[0087] For some examples, see Figure 6 , the method for aiming at the target 20 based on the binocular camera 10 may also include calculating the distance between the target 20 and the binocular camera 10 based on the first component of the first light spot data and the third component of the second light spot data. Specifically, the distance between the target 20 and the binocular camera 10 can be represented by the distance D from the target 20 to the same plane where the first lens 1711 and the second lens 1721 are located. Thus, the first rotation angle α and the second rotation angle β can be conveniently calculated, and at the same time, the distance of the target 20 relative to the binocular camera 10 can also be measured, thereby determining the spatial position of the target 20 relative to the binocular camera 10. Specifically, the calculation process of the distance D between the target 20 and the binocular camera 10 is as follows:

[0088] See also Figure 6 , according to the triangle relationship, we can get formula (1):

[0089]

[0090] Wherein, d1 may be a parameter value of a distance from the first light spot 152 to the optical axis T1 of the first lens 1711 in the first direction 12 (i.e., in the direction of the X1 axis in the first coordinate system C1), and d2 may be a parameter value of a distance from the second light spot 162 to the optical axis T2 of the second lens 1721 in the first direction 12 (i.e., in the direction of the X2 axis in the second coordinate system C2) (see Figure 5 ), f can be the parameter value of the focal length of the first lens 1711 and the second lens 1721, D1 can be the parameter value of the distance D between the target 20 and the binocular camera 10, and since the position of the target 20 moves relative to the aiming optical axis M, the parameter value of the overall movement distance of the first virtual light source 153 and the second virtual light source 163 in the first direction 12, that is, in the horizontal direction, can be h.

[0091] Adding the two equations in the above equation (1) and eliminating h, we get equation (2):

[0092]

[0093] Thus, the distance D of the target 20 relative to the binocular camera 10 can be conveniently measured, and the spatial position of the target 20 relative to the binocular camera 10 can be determined, and the first rotation angle α and the second rotation angle β can be conveniently calculated.

[0094] It should be noted that if the focal lengths of the first lens 1711 and the second lens 1721 are different, equation (3) can be obtained according to the triangle relationship:

[0095]

[0096] Wherein f1 and f2 may be parameter values ​​of the focal lengths of the first lens 1711 and the second lens 1721 , respectively.

[0097] See also Figure 5, x1 and x2 can be used to represent the parameter value of the first component of the first light spot data in the first coordinate system C1 and the parameter value of the third component of the second light spot data in the second coordinate system C2, respectively. In other words, x1 can be the coordinate value of the first light spot data in the first coordinate system C1 in the X1-axis direction, and x2 can be the coordinate value of the second light spot data in the second coordinate system C2 in the X2-axis direction. At the same time, in order to improve the calculation accuracy of the method for aiming at the target 20, the optical axis T1 of the first lens 1711 and the first image center P1 can have a preset offset b1 in the first coordinate system C1 along the X1-axis direction (that is, the first direction 12), and the optical axis T2 of the second lens 1721 and the second image center P2 can have a preset offset b1 in the second coordinate system C2 along the X2-axis direction (that is, the first direction 12). There is a preset offset b2, wherein when the optical axis T1 is located on the right side of the first image center P1, b1 can be a positive value, otherwise, b1 can be a negative value. Similarly, when the optical axis T2 is located on the right side of the second image center P2, b2 can be a positive value, otherwise, b2 can be a negative value. The total pixel width of the first imaging element 1712 and the second imaging element 1722 can be represented by a third preset distance W, that is, the total pixel width of the first imaging element 1712 and the second imaging element 1722 can have W1 pixels. The parameter value of the preset width of each pixel of the first imaging element 1712 and the second imaging element 1722 in the first direction and the second direction is represented by u, and the unit of u can be millimeter (mm) or other length units, thereby formula (4) can be obtained:

[0098]

[0099] Let b = b2-b1, equation (2) can be transformed into equation (5):

[0100]

[0101] Figure 7 2 is a schematic diagram showing that the aiming target 20 involved in the present embodiment example is located on the aiming optical axis M of the binocular camera 10, Figure 8 1 is a schematic diagram showing the measurement of the first rotation angle α by the binocular camera 10 according to the present embodiment example.

[0102] In step S300, see Figure 7 , the first rotation angle α can be calculated based on the first component of the first light spot data, the third component of the second light spot data, and the preset conditions satisfied by the first component of the first light spot data and the third component of the second light spot data when the target 20 is located at the aiming optical axis M of the binocular camera 10. Therefore, it can be concluded that when the binocular camera 10 is aiming at the target 20, it is necessary to rotate the binocular camera 10 by the first rotation angle α along the first direction 12, that is, along the horizontal axis direction of the first coordinate system C1 and the second coordinate system C2, with the rotation center 11 as the center point.

[0103] See also Figure 7 In some examples, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 may be parallel and may be symmetrically distributed on both sides of the aiming optical axis M of the binocular camera 10 .

[0104] In some examples, when the binocular camera 10 is aimed at the target 20, the preset condition satisfied by the first component and the third component may be that the sum of the first component and the third component is a preset value.

[0105] In some examples, the preset value can be obtained by calibrating the binocular camera 10 when the binocular camera 10 is aimed at the target 20, that is, when the target 20 is located on the aiming optical axis M of the binocular camera 10. Specifically, when the binocular camera 10 is aimed at the target 20, the target 20 is located on the aiming optical axis M of the binocular camera 10, see Figure 7 , we can get formula (6):

[0106] d1=d2,

[0107] That is, we get formula (7):

[0108]

[0109] From this we can get formula (8):

[0110] x1+x2=W1+b1+b2,

[0111] In other words, when the binocular camera 10 is aimed at the target 20 and the target 20 is located at any position on the aiming optical axis M, the first component of the first light spot data and the third component of the second light spot data can both satisfy the preset condition of formula (9):

[0112] K=x1+x2=W1+b1+b2,

[0113] K in formula (9) is a parameter value of a preset value, W1, b1 and b2 can all be preset fixed values, and it can also be considered that W1, b1 and b2 can remain unchanged during the process of the binocular camera 10 aiming at the target 20. In other words, when the binocular camera 10 aims at the target 20, the target 20 is located on the aiming optical axis M, and the binocular camera 10 is calibrated, and it can be obtained that the sum of the first component of the first light spot data and the third component of the second light spot data can be the preset value, that is, the parameter value K in formula (9) and the preset value can be irrelevant to the distance D from the target 20 to the binocular camera 10, and the preset value can also be irrelevant to the second component of the first light spot data and the fourth component of the second light spot data. That is to say, in this case, before using the binocular camera 10 to aim at the target 20, the binocular camera 10 can be calibrated to obtain a preset value, so that when the target 20 is located at different distances D on the aiming optical axis M, that is, the target 20 is located on the aiming optical axis M and the distance to the same plane where the first lens 1711 and the second lens 1721 are located is an arbitrary distance D, the preset value can be obtained based on the preset conditional formula (9), thereby, the calibrated preset value can be directly called to accurately and conveniently calculate the first rotation angle α. In addition, when the target 20 is located at any position on the aiming optical axis M, the second component of the first light spot data and the fourth component of the second light spot data can remain unchanged and are not affected by the position of the target 20 on the aiming optical axis M, thereby simplifying the method for calculating the second rotation angle β.

[0114] For some examples, see Figure 8 , the first rotation angle α can be calculated based on the first component, the third component, the distance D between the target 20 and the binocular camera 10, and the preset conditions satisfied by the first component and the third component when the target 20 is located on the aiming optical axis M. Thus, the first rotation angle α can be calculated conveniently. Figure 8 As shown, when the target 20 deviates from the aiming optical axis M of the binocular camera 10, the target 20 can obtain a first rotation angle α in the first direction 12 relative to the rotation center 11 of the binocular camera 10, that is, in the horizontal direction of the first coordinate system C1 and the second coordinate system C2, that is, formula (10):

[0115]

[0116] The distance from the rotation center 11 to the same plane where the first lens 1711 and the second lens 1721 are located may have a first preset distance L, the parameter value of the first preset distance L may be L1, and the parameter value of the first rotation angle α may be α1. By combining equation (1) and equation (9), the first rotation angle α in the first direction 12 may be obtained, namely equation (11):

[0117]

[0118] It can be seen from formula (11) that the method for aiming at the target 20 based on the binocular camera 10 can also include calculating the distance D between the target 20 and the binocular camera 10 based on the first component of the first light spot data and the third component of the second light spot data, so that the first rotation angle α can be conveniently calculated. In addition, since the target 20 is located at the aiming optical axis M, the preset conditions satisfied by the first component and the third component can be derived based on the triangular relationship, and then the first rotation angle α can be accurately and conveniently calculated based on the preset conditions.

[0119] Fig. 9 2 is a schematic diagram showing the measurement of the second rotation angle β by the binocular camera 10 according to the present embodiment example.

[0120] To illustrate the calculation process, see Fig. 9 ,by Figure 4B By projecting the BB view direction shown in FIG. , the following can be obtained: Fig. 9 In other words, the light path of the first acquisition unit 171 can be projected in the second direction 13, that is, in the vertical direction, so that Fig. 9 The second equivalent optical path shown in the figure may include a first lens 1711 and a first imaging element 1712. The optical axis T1 of the first lens 1711 may be a projection of the aiming optical axis M of the binocular camera 10 in the second direction 13. The optical axis T1 of the first lens 1711 may overlap with the projection of the aiming optical axis M in the second direction 13. Fig. 9 In the figure, the aiming optical axis M represents the optical axis T1 of the first lens 1711, d may be the parameter value of the offset distance of the first light spot 152 in the second direction 13, that is, in the vertical direction relative to the aiming optical axis M, h1 may be the parameter value of the offset distance of the target 20 in the second direction 13, that is, in the vertical direction relative to the aiming optical axis M, the distance from the rotation center 11 to the same plane where the first lens 1711 and the second lens 1721 are located may have a first preset distance L, and L1 may be the parameter value of the first preset distance L.

[0121] It should be noted that the second equivalent optical path disclosed in the present invention is not limited to Figure 4B The BB view direction shown in the figure can also be used to project the Figure 4B A second equivalent optical path including the second acquisition unit 172 is obtained by projecting in the direction opposite to the BB view direction shown in FIG.

[0122] In step S400, see Fig. 9, the second rotation angle β can be calculated based on the second component of the first light spot data and the fourth component of the second light spot data. In some examples, when the target 20 deviates from the aiming optical axis M of the binocular camera 10, the target 20 may have a second rotation angle β in the second direction 13 relative to the rotation center 11 of the binocular camera 10, that is, in the Y-axis direction of the first coordinate system C1 and the second coordinate system C2. Therefore, it can be concluded that in the process of aiming at the target 20, the binocular camera 10 needs to rotate the second rotation angle β along the second direction 13, that is, along the Y-axis direction of the first coordinate system C1 and the second coordinate system C2 with the rotation center 11 as the center point.

[0123] See also Fig. 9 , according to the trigonometric function, the second rotation angle β can be obtained, that is, formula (12):

[0124]

[0125] According to the triangle relationship, we can get formula (13):

[0126]

[0127] See also Figure 5 , y1 and y2 can be used to represent the parameter value of the second component of the first light spot data in the first coordinate system C1 and the parameter value of the fourth component of the second light spot data in the second coordinate system C2, respectively, and β1 can be used to represent the parameter value of the second rotation angle β. Since the projection of the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 in the second direction 13 can overlap with the aiming optical axis M, that is, the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 in the second direction 13 can have no parallax with the aiming optical axis M, the second rotation angle β can be calculated in the following way.

[0128] In some examples, Figure 4B The BB view direction shown in the projection is as follows Fig. 9 In the second equivalent optical path shown, the second rotation angle β can be calculated based on the second component of the first light spot data. In this case, equation (14) can be obtained: d=uy1, and thus the second rotation angle β can be calculated by combining equation (14) and equation (12).

[0129] In some examples, Figure 4B In the second equivalent optical path obtained by projecting the view direction in the opposite direction of BB shown in , the second rotation angle β can be calculated based on the fourth component of the second light spot data. In this case, the formula (15) can be obtained: d = uy2, thereby the second rotation angle β can be calculated by combining the formula (15) and the formula (12).

[0130] In some examples, the second rotation angle β can be calculated based on the second component of the first light spot data and the fourth component of the second light spot data, and equation (16) can be obtained:

[0131]

[0132] In this case, since there is no parallax between the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 and the aiming optical axis M in the second direction 13, the target 20 is located at any position within the field of view of the first lens 1711 and the second lens 1721, and the second rotation angle β calculated based on the second component of the first light spot data and the second rotation angle β calculated based on the fourth component of the second light spot data can be basically consistent. Therefore, the parameter value of the offset distance of the first light spot 152 in the second direction 13, that is, the vertical direction relative to the aiming optical axis M can be simplified to the average value of the second component of the first light spot data and the fourth component of the second light spot data, thereby further improving the calculation accuracy of the method for aiming at the target 20.

[0133] From this we can get formula (17):

[0134]

[0135] It can be seen from formula (17) that the method for aiming at the target 20 based on the binocular camera 10 can also include calculating the distance D between the target 20 and the binocular camera 10 based on the first component of the first light spot data and the third component of the second light spot data, so that the second rotation angle β can be easily calculated.

[0136] In this embodiment, when the target 20 is located at any position on the aiming optical axis M of the binocular camera 10, the preset conditions satisfied by the first component and the third component can be derived based on the triangular relationship, and the first rotation angle α can be accurately and conveniently calculated based on the preset conditions. At the same time, since the optical axis T1 of the first lens 1711 and the optical axis T2 of the second lens 1721 of the binocular camera 10 can be limited to having parallax with the aiming optical axis M of the binocular camera 10 in the first direction 12, respectively, it will not affect the second direction 13, that is, the result of the second component of the first light spot data and the fourth component of the second light spot data in the vertical direction, therefore, the second component of the first light spot data and the fourth component of the second light spot data will not be affected by the parallax, so that the method for calculating the second rotation angle β can be simplified, and at the same time, the second rotation angle β can be calculated using the mean of the second component and the fourth component, so that the accuracy of the calculation can be improved, thereby making the calculation of the method for aiming at the target 20 more convenient.

[0137] In step S500, the binocular camera 10 may be rotated by a first rotation angle α. In step S600, the binocular camera 10 may be rotated by a second rotation angle β. In this case, through steps S500 and S600, the binocular camera 10 can be aimed at the target 20, that is, the target 20 is located on the aiming optical axis M of the binocular camera 10.

[0138] In this embodiment, the execution order of step S300 and step S400 is not limited. In other words, step S300 can be executed before step S400, or after step S400, or simultaneously with step S400. In addition, the execution order of step S500 and step S600 is not limited. In other words, step S500 can be executed before step S600, or after step S600, or simultaneously with step S600.

[0139] The method for aiming at a target 20 based on a binocular camera 10 disclosed in the present invention can emit a first light beam 151 through a first light source 15, and emit a second light beam 161 through a second light source 16. The target 20 can receive the first light beam 151 and the second light beam 161, and can reflect the first light beam 151 and the second light beam 161. The first acquisition unit 171 of the binocular camera 10 can acquire the first light beam 151 reflected by the target 20, and can obtain a first light spot 152 of the first light beam 151 and first light spot data of the first light spot 152. The second acquisition unit 172 of the binocular camera 10 can acquire the second light beam 161 reflected by the target 20, and can obtain a second light spot 162 of the second light beam 161 and second light spot data of the second light spot 162. The preset conditions satisfied by the first light spot data, the second light spot data, and the first light spot data and the second light spot data when the target 20 is located on the aiming optical axis M of the binocular camera 10 can calculate the first rotation angle α that needs to be rotated along the first direction 12 with the rotation center 11 as the center point during the binocular camera 10 aiming at the target 20. Based on the first light spot data and the second light spot data, the second rotation angle β that needs to be rotated along the second direction 13 with the rotation center 11 as the center point during the binocular camera 10 aiming at the target 20 can be calculated. Therefore, the binocular camera 10 can be aimed at the target 20 by rotating the binocular camera 10 by the first rotation angle α and rotating the binocular camera 10 by the second rotation angle β, that is, the target 20 can be located on the aiming optical axis M of the binocular camera 10.

[0140] In addition, an embodiment of the present disclosure relates to a processing device, which may include a control module for executing the method of aiming at a target 20 involved in the present disclosure. Thus, the control module can calculate the first rotation angle α and the second rotation angle β that the binocular camera 10 needs to rotate when aiming at the target 20 based on the method of aiming at the target 20.

[0141] In some examples, the processing device may further include an input / output module for communicating with the outside, and the input / output module may be interconnected with the control module via a bus. In this case, the input / output module may communicate with the binocular camera 10 of the present disclosure, so that the control module may receive the parameters of the binocular camera 10 and calculate the first rotation angle α and the second rotation angle β that the binocular camera 10 needs to rotate when aiming at the target 20.

[0142] Fig.10 2 is a schematic diagram showing components of a laser tracker 30 according to this embodiment example.

[0143] Based on the above-mentioned method of aiming at the target 20 based on the binocular camera 10 , the present disclosure also proposes a laser tracker 30 that can aim at the target 20 .

[0144] In some examples, the laser tracker 30 may include a laser source 31 for generating a laser beam, a processing device 33 as described above, a binocular camera 10 that acquires a first rotation angle α and a second rotation angle β based on the method for aiming at the target 20, and a driving unit 32 that adjusts the direction of the laser beam based on the first rotation angle α and the second rotation angle β. In this case, the processing device 33 can acquire the first rotation angle α and the second rotation angle β that need to be rotated during the process of aiming the binocular camera 10 at the target 20, so that the driving unit 32 can adjust the direction of the laser beam based on the first rotation angle α and the second rotation angle β so that the laser beam aims at the target 20 (see Fig.10 ).

[0145] Although the present disclosure is specifically described above in conjunction with the accompanying drawings and examples, it is to be understood that the above description does not limit the present disclosure in any form. Those skilled in the art may modify and change the present disclosure as needed without departing from the essential spirit and scope of the present disclosure, and these modifications and changes all fall within the scope of the present disclosure.

Claims

1. A binocular camera, used to aim the aiming optical axis of the binocular camera at a target, characterized in that: The binocular camera includes a first light source for emitting a first light beam, a second light source for emitting a second light beam, a first acquisition unit, and a second acquisition unit, wherein the first acquisition unit is configured to acquire the first light beam reflected by the target and obtain first light spot data, wherein the first light spot data includes a first component along a first direction and a second component along a second direction, and the second acquisition unit is configured to acquire the second light beam reflected by the target and obtain second light spot data, wherein the second light spot data includes a third component along the first direction and a fourth component along the second direction; The first direction is a horizontal direction, and the second direction is a vertical direction; The first component, the third component, and a preset condition satisfied by the first component and the third component when the target is located on the aiming optical axis are used to obtain a first rotation angle; The second component and the fourth component are used to obtain a second rotation angle; When the binocular camera aims at the target, the first component and the third component satisfy a preset condition that the sum of the first component and the third component is a preset value, and the preset value is obtained by calibrating the binocular camera when the binocular camera aims at the target; The binocular camera is configured to rotate the first rotation angle along the first direction with the rotation center of the binocular camera as the center point; the binocular camera is configured to rotate the second rotation angle along the second direction with the rotation center of the binocular camera as the center point; The first acquisition unit has a first lens and a first imaging element for acquiring the first light spot data, and the second acquisition unit has a second lens and a second imaging element for acquiring the second light spot data; The first lens and the second lens are located in the same plane, the optical center of the first lens and the optical center of the second lens are located in the plane, and the optical center of the first lens and the optical center of the second lens are located on the optical axis of the first lens and the optical axis of the second lens respectively; A first coordinate system is established based on the first imaging element, wherein the horizontal axis direction of the first coordinate system is the first direction, and the vertical axis direction of the first coordinate system is the second direction; a second coordinate system is established based on the second imaging element, wherein the horizontal axis direction of the second coordinate system is the first direction, and the vertical axis direction of the second coordinate system is the second direction, wherein the first direction is a horizontal direction, and the second direction is a vertical direction, The first rotation angle is: , The second rotation angle is: , Wherein α1 is the parameter value of the first rotation angle, β1 is the parameter value of the second rotation angle, u is the parameter value of the preset width of each pixel point of the first imaging element and the second imaging element in the first direction and the second direction, L1 is the parameter value of the first preset distance from the rotation center of the binocular camera to the same plane where the first lens and the second lens are located, D1 is the parameter value of the distance from the target to the same plane where the first lens and the second lens are located, f is the parameter value of the focal length of the first lens and the second lens, and K is the parameter value of the preset value. and represent respectively the parameter value of the first component of the first light spot data in the first coordinate system and the parameter value of the third component of the second light spot data in the second coordinate system, and They respectively represent the parameter value of the second component of the first spot data in the first coordinate system relative to the optical axis of the first lens and the parameter value of the fourth component of the second spot data in the second coordinate system relative to the optical axis of the second lens.

2. The binocular camera according to claim 1, characterized in that: There are multiple first light sources, and the multiple first light sources are arranged around the first acquisition unit. The first light spot data is light spot data obtained based on multiple light spots that are reflected by the target and acquired by the first acquisition unit based on multiple first light beams emitted by the multiple first light sources. There are multiple second light sources, and the multiple second light sources are arranged around the second acquisition unit. The second light spot data is light spot data obtained based on multiple light spots obtained by the second acquisition unit after multiple second light beams emitted by the multiple second light sources are reflected by the target.

3. The binocular camera according to claim 1, characterized in that: The optical axis of the first lens is parallel to the optical axis of the second lens and is symmetrically distributed on both sides of the aiming optical axis.

4. The binocular camera according to claim 1, characterized in that: The overlapping range of the fields of view of the first light source and the second light source is larger than the fields of view of the first acquisition unit and the second acquisition unit.

5. The binocular camera according to claim 1, characterized in that: The first component is the coordinate value of the first light spot in the horizontal axis direction of the first coordinate system, and the second component is the pixel point offset of the first light spot in the second direction relative to the optical axis of the first lens; The third component is the coordinate value of the second light spot in the horizontal axis direction of the second coordinate system, and the fourth component is the pixel point offset of the second light spot in the second direction relative to the optical axis of the second lens.

Citation Information

Patent Citations

  • Coordinate measuring device and identification method with automatic target recognition function

    CN114509005B

  • Remote control of a laser tracker using a mobile computing device

    US20180203120A1