An adaptive exposure method and device for robot depth camera

By using flexible optical fiber transmission components and processors in the TOF camera module, the exposure time is adjusted according to the exposure intensity and temperature, which solves the problem of inconsistent depth values ​​caused by automatic exposure and improves ranging accuracy and equipment performance.

CN117750211BActive Publication Date: 2024-09-17HANGZHOU LANXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311819381.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2024-09-17
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

When the TOF camera module automatically exposes, changes in exposure time lead to inconsistent depth values, which affects the accuracy of ranging. It is difficult to effectively solve this problem with existing technology.

Method used

The adaptive exposure method is adopted, and the exposure time is adjusted according to the exposure intensity and temperature through flexible optical fiber transmission components and processors to obtain the actual distance of the target object and realize the integration of exposure and ranging adjustment.

Benefits of technology

It improves the detection accuracy of the depth camera, simplifies the adjustment process of exposure and ranging, and improves the performance of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117750211B
    Figure CN117750211B
Patent Text Reader

Abstract

The present invention relates to an adaptive exposure method and device for a robot depth camera, the method comprising: when the depth camera emits a detection light, the sensing end of the transmission component senses the detection light and transmits it to the sensor exposure of the receiving end, and determines whether the exposure time of the receiving end sensor needs to be adjusted based on the pixel exposure intensity within the area occupied by the sensor fixed end; if the exposure time of the receiving end sensor needs to be adjusted, the adaptive exposure mode of the receiving end is started and the processor of the depth camera is transmitted, so that the processor of the depth camera obtains the distance adjustment information of the detected target object based on the temperature values ​​of the receiving end and the transmitting end before adjustment and the temperature values ​​of the receiving end and the transmitting end after adjustment; and obtains the actual distance of the target object according to the distance adjustment information and the distance of the currently detected target object. Its beneficial effect is to efficiently improve the accuracy of depth camera detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of camera modules, and in particular to an adaptive exposure method and device applied to a robot depth camera. Background Art

[0002] With the development of science and technology, TOF (Time of flight) camera modules have developed rapidly, and TOF camera modules have been widely used in many fields with their unique performance. The TOF camera module can continuously emit light pulses to the target, and then use the sensor to receive the light returned from the receiving object, and obtain the distance of the target object by detecting the flight (round-trip) time of the emitted and received light pulses. In other words, the TOF camera module can not only obtain a two-dimensional grayscale image of the target object, but also a depth image of the target object. Automatic exposure is a common function of traditional camera modules. A camera module with automatic exposure function can allow the camera module to adjust the exposure time according to the intensity change of the external light to change the time that the external light acts on the photosensitive chip, so that the camera module can adapt to different light environments and obtain higher imaging quality in different light environments.

[0003] At present, most TOF camera modules lack the function of automatic exposure. According to the imaging principle and error source of TOF, changing the exposure time of the TOF camera module will lead to the inconsistency of the depth values ​​obtained by the TOF camera module before and after the change, affecting the accuracy of the depth data of the target object obtained by the TOF camera module, resulting in a large difference between the depth data of the target object obtained by the TOF camera module and the actual distance. This is because the TOF camera can only be used after a series of correction methods. When the automatic exposure is turned on, the change in exposure will cause the camera to enter another thermal equilibrium, resulting in the difference in the final distance measurement.

[0004] With the continuous expansion and development of the application scope of TOF camera modules, it has become inevitable that TOF camera modules have the function of automatic exposure. However, how to solve the impact of changing the exposure time of the TOF camera module on the acquired depth data has become an urgent problem that restricts whether the TOF camera module can have the automatic exposure function. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides an adaptive exposure method and device for a robot depth camera, which solves the technical problem that when the depth camera adjusts the exposure state through an adaptive exposure mechanism, errors caused by "swing" brought by odd harmonics, fixed phase pattern noise, temperature drift and noise lead to inaccurate ranging of the target image.

[0007] (II) Technical solution

[0008] In order to achieve the above object, the main technical solutions adopted by the present invention include:

[0009] In a first aspect, an embodiment of the present invention provides an adaptive exposure method for a robot depth camera, wherein the adaptive exposure device of the depth camera includes at least one transmission component, each transmission component includes a sensing end and a fixed end, and the sensing end and the fixed end are an integrated flexible optical fiber; the fixed end is mounted on a sensor at a receiving end of the depth camera, and the area of ​​the sensor occupied by the fixed end is determined according to the parameters of the sensor, and the sensing end is close to a light source at a transmitting end of the depth camera, and the method includes:

[0010] When the depth camera transmitting end emits detection light, the sensing end of the transmission component senses the detection light and transmits it to the sensor exposure of the receiving end, and determines whether the exposure time of the sensor at the receiving end needs to be adjusted based on the pixel exposure intensity within the area occupied by the fixed end of the sensor;

[0011] If the exposure time of the receiving end sensor needs to be adjusted, the adaptive exposure mode of the receiving end is started and the processor of the depth camera is transmitted, so that the processor of the depth camera obtains the distance adjustment information of the detected target object based on the temperature values ​​of the receiving end and the transmitting end before the adjustment and the temperature values ​​of the receiving end and the transmitting end after the adjustment; and obtains the actual distance of the target object according to the distance adjustment information and the distance of the currently detected target object.

[0012] Optionally, determining whether the exposure time of the sensor at the receiving end needs to be adjusted based on the exposure intensity of all pixels within the area occupied by the fixed end of the sensor includes:

[0013] Obtain the ratio r of the number of overexposed pixels among all pixels in the area occupied by the fixed ends of all transmission components, r=n / m, n is the number of overexposed pixels among all pixels, and m is the number of all pixels in the area occupied by the fixed ends;

[0014] Determine whether the ratio r is within a suitable range; if not, determine that the exposure time of the receiving end sensor needs to be adjusted;

[0015] The range of the suitable state is a value determined in advance based on pixel information of the area occupied by the fixed ends of all transmission components.

[0016] Optionally, determining whether the ratio r is within a suitable range; if not, determining that the exposure time of the receiving end sensor needs to be adjusted includes:

[0017] If r>nThresholdH, reduce the exposure time T of the receiving end;

[0018] If r < nThresholdL and SUM is less than sumThreshold, increase the exposure time T;

[0019] The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is a predefined minimum intensity threshold;

[0020] nThresholdL and nThresholdH are the range boundary values for the appropriate state.

[0021] Optionally, based on the temperature values of the receiving end and the transmitting end before adjustment and the temperature values of the receiving end and the transmitting end after adjustment, obtain the distance adjustment information of the detected target object, and its expression is:

[0022] Δd = d1 - d2 (1);

[0023] Wherein, d1 is the distance of the detected target object when the temperature value is the temperature of the receiving end and the transmitting end before adjustment; d2 is the distance of the detected target object when the temperature value is the temperature of the receiving end and the transmitting end after adjustment; Δd is the value of the distance adjustment information;

[0024] And according to the distance adjustment information and the distance of the currently detected target object, obtain the actual distance of the target object, and its expression is:

[0025] d′ = d + Δd (2);

[0026] Wherein, d is the actual distance of the currently detected target object; Δd is the value of the distance adjustment information; d′ is the actual distance of the target object.

[0027] In a second aspect, an embodiment of the present invention further provides an adaptive exposure device applied to a robot depth camera. The adaptive exposure device includes: an analysis module and a plurality of transmission components;

[0028] Each transmission component includes an induction end and a fixed end, and the induction end and the fixed end are an integral flexible optical fiber;

[0029] The fixed end is installed on the sensor of the receiving end of the depth camera, and the area occupied by the fixed end on the sensor is determined according to the parameters of the sensor. The induction end is close to the light source of the transmitting end of the depth camera;

[0030] The analysis module is electrically connected to the sensor and the processor of the depth camera. When the depth camera's transmitting end emits detection light, the sensing end of the transmission component senses the detection light and transmits it to the sensor at the receiving end for exposure. Based on the pixel exposure intensity within the area occupied by the fixed end of the sensor, it is determined whether the exposure time of the sensor at the receiving end needs to be adjusted; and further, it is determined whether to activate the adaptive exposure mode of the receiving end and transmit it to the processor of the depth camera.

[0031] Optionally, the number of the transmission components is the same as the number of the light sources of the depth camera.

[0032] Optionally, the number of pixels within the area occupied by each fixed end is greater than 1 and less than the number of 12×12 pixels, and total internal reflection of light occurs on the inner wall of the flexible optical fiber;

[0033] The analysis module is integrated in the processor of the depth camera.

[0034] Optionally, the analysis module is specifically configured to:

[0035] Obtain the ratio r of the number of overexposed pixels among all pixels within the area occupied by the fixed ends of all transmission components, r = n / m, where n is the number of overexposed pixels among all pixels, and m is the number of all pixels within the area occupied by the fixed end;

[0036] Determine whether the ratio r is within the range of the appropriate state; if not, then determine that the exposure time of the sensor at the receiving end needs to be adjusted, and activate the adaptive exposure mode of the receiving end;

[0037] The range of the appropriate state is a value determined in advance based on the pixel information of the area occupied by the fixed ends of all transmission components;

[0038] Specifically, if r > nThresholdH, then reduce the exposure time T of the receiving end;

[0039] If r < nThresholdL and SUM is less than sumThreshold, then increase the exposure time T;

[0040] The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is a predefined minimum intensity threshold;

[0041] nThresholdL and nThresholdH are the boundary values of the range of the appropriate state.

[0042] In a third aspect, an embodiment of the present invention further provides a depth camera disposed on a robot, including:

[0043] A receiving end, a transmitting end, and a processor of the depth camera;

[0044] The receiving end is located on one side of the depth camera body, and the transmitting end is located on the other side of the depth camera body;

[0045] And an adaptive exposure device as described in any one of the second aspects is arranged between the receiving end and the depth camera body.

[0046] Optionally, there are four transmission components;

[0047] The processor determines the actual distance of the target object according to the adjustment distance information obtained by the adaptive exposure device and the distance of the target object currently detected.

[0048] (III) Beneficial effects

[0049] The beneficial effects of the present invention are as follows: an adaptive exposure method and device for a robot depth camera of the present invention receives detection light emitted by a transmitting end through a receiving end, transmits it to a sensor to obtain exposure intensity, and determines to adjust the exposure time; a processor obtains distance adjustment information according to the target object distance corresponding to the temperature before and after adjustment, adjusts the measured target object distance, and obtains the actual distance, thereby realizing an integrated exposure and distance measurement adjustment method, and achieving a simple and efficient improvement in the accuracy of depth camera detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of an adaptive exposure method applied to a robot depth camera provided in the first embodiment;

[0051] Figure 2 It is a schematic diagram of the adaptive exposure detection process;

[0052] Figure 3 is a schematic diagram of an adaptive exposure device;

[0053] Figure 4 Schematic diagram of an adaptive exposure depth camera.

[0054] [Description of Reference Numerals]

[0055] 11: receiving end; 12: transmitting end; 13: processor; 14: adaptive exposure device;

[0056] 101: window piece; 102: light source; 103: transmission component; 104: sensor;

[0057] 105: Optical lens. DETAILED DESCRIPTION

[0058] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.

[0059] An adaptive exposure method and device for a robot depth camera proposed in an embodiment of the present invention receives detection light emitted by a transmitting end through a receiving end, transmits the detection light to a sensor to obtain exposure intensity, and determines to adjust the exposure time; a processor obtains distance adjustment information according to the adjusted temperature, adjusts the measured distance of the target object, and obtains the actual distance, thereby realizing an integrated exposure and distance measurement adjustment method, and achieving a simple and efficient improvement in the accuracy of depth camera detection.

[0060] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0061] Embodiment 1

[0062] This embodiment provides an adaptive exposure method for a robot depth camera. The method is performed by an adaptive exposure device 14 and a processor 13. The method mainly adjusts the exposure time according to the exposure intensity, obtains the distance adjustment information according to the temperature before and after the adjustment, compensates for the distance error, and obtains the actual distance, thereby achieving a simple and efficient improvement in the accuracy of the depth camera detection. Figure 1 As shown, the method of this embodiment may include the following steps:

[0063] When the depth camera transmitting end 12 emits detection light, the sensing end of the transmission component 103 senses the detection light and transmits it to the sensor exposure of the receiving end 11, and determines whether the exposure time of the receiving end sensor 104 needs to be adjusted based on the pixel exposure intensity within the area occupied by the fixed end of the sensor 104.

[0064] For example, each transmission component 103 includes a sensing end and a fixed end, the sensing end and the fixed end are an integrated flexible optical fiber; the fixed end is installed on the sensor 104 of the depth camera receiving end; the sensing end is close to the light source 102 of the depth camera transmitting end 12.

[0065] If the exposure time of the receiving end sensor 104 needs to be adjusted, the adaptive exposure mode of the receiving end 11 is started and the processor 13 of the depth camera is transmitted, so that the processor 13 of the depth camera obtains the distance adjustment information of the detected target object based on the temperature values ​​of the receiving end 11 and the transmitting end 12 before the adjustment and the temperature values ​​of the receiving end 11 and the transmitting end 12 after the adjustment; and obtains the actual distance of the target object according to the distance adjustment information and the distance of the currently detected target object.

[0066] For example, the processor 13 sends a start instruction to the adaptive exposure device 14 to start the adaptive exposure mode, and adjusts the exposure time of the receiving end sensor 104; the temperature values ​​of the receiving end 11 and the transmitting end 12 before and after the adjustment are measured by the temperature sensor and sent to the processor 13.

[0067] This embodiment realizes an integrated exposure and distance measurement adjustment method, thereby simply and efficiently improving the accuracy of depth camera detection.

[0068] Embodiment 2

[0069] When the depth camera transmitting end 12 emits detection light, the sensing end of the transmission component 103 senses the detection light and transmits it to the sensor exposure of the receiving end 11, and determines whether the exposure time of the receiving end sensor 104 needs to be adjusted based on the pixel exposure intensity within the area occupied by the fixed end of the sensor 104.

[0070] Specifically, based on the exposure intensities of all pixels within the area occupied by the fixed end of the sensor 104, determining whether the exposure time of the receiving end sensor 104 needs to be adjusted includes:

[0071] The ratio r of the number of overexposed pixels in all pixels in the area occupied by the fixed ends of all transmission components 103 is obtained, r=n / m, n is the number of overexposed pixels in all pixels, and m is the number of all pixels in the area occupied by the fixed ends.

[0072] It is determined whether the ratio r is within a suitable range; if not, it is determined that the exposure time of the receiving end sensor 104 needs to be adjusted.

[0073] The range of the suitable state is a value determined in advance based on pixel information of the area occupied by the fixed ends of all transmission components 103.

[0074] For example, the four light sources 102 in the transmitting end 12 emit detection light with a wavelength of 940nm through the corresponding window piece 101, and the sensing end of the transmission component 103 receives the detection light with a wavelength of 940nm, transmits it in the transmission component 103, and transmits it to the four fixed ends of the sensor 104 close to the receiving end of the transmission component, and obtains the number n of overexposed pixels within the area occupied by the four fixed ends of the sensor, where the total number of pixels in the area occupied by the four fixed ends is m.

[0075] The area of ​​the sensor occupied by the fixed end is determined by the distortion size of the lens corners, and generally occupies 1 / 3000 of the entire sensor, which is 10*10 pixels. The area of ​​the sensor occupied by the fixed end is greater than 1 pixel. If the area of ​​the sensor occupied is only 1 pixel, overexposure will easily occur.

[0076] The ratio r of the number n of overexposed pixels within the area occupied by the four fixed ends of the sensor 104 to the total number m of pixels in the area occupied by the four fixed ends is obtained, where r = n / m.

[0077] Based on the ratio r, it is determined whether it is in a suitable state; if it is in a suitable state, no adjustment is required, otherwise, the exposure time is adjusted according to the exposure state; the exposure state includes: overexposure state, suitable state, and underexposure state.

[0078] The transmission component 103 is made of a light guiding material and has the characteristic of a fixed refractive index, and the detection light is transmitted and reflected with almost no loss inside it.

[0079] It is determined whether the ratio r is within the range of the suitable state; if not, it is determined that the exposure time of the receiving end sensor 104 needs to be adjusted, including:

[0080] If r > nThresholdH, the exposure time T of the receiving end 11 is reduced.

[0081] If r < nThresholdL and SUM is less than sumThreshold, the exposure time T is increased.

[0082] The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is a predefined minimum intensity threshold.

[0083] nThresholdL and nThresholdH are the boundary values of the range of the suitable state.

[0084] For example, as Figure 2 shown, if the ratio r > nThresholdH, it is in the overexposure state, and the exposure time T with a value of S1 is reduced to make it in a suitable state; if r < nThresholdL and SUM is less than sumThreshold, the exposure time T with a value of S2 is increased to make it in a suitable state.

[0085] Among them, the values S1 and S2 are 10% of the original exposure time T.

[0086] If the exposure time of the receiving end sensor 104 needs to be adjusted, the adaptive exposure mode of the receiving end 11 is started and transmitted to the processor 13 of the depth camera, so that the processor 13 of the depth camera can obtain the distance adjustment information of the detected target object based on the temperature values of the receiving end 11 and the transmitting end 12 before adjustment and the temperature values of the receiving end 11 and the transmitting end 12 after adjustment; and based on the distance adjustment information and the distance of the currently detected target object, the actual distance of the target object is obtained.

[0087] Specifically, based on the temperature values ​​of the receiving end and the transmitting end before adjustment and the temperature values ​​of the receiving end and the transmitting end after adjustment, the distance adjustment information of the detection target object is obtained, and its expression is:

[0088] Δd=d1-d2 (1).

[0089] Among them, d1 is the distance of the target object detected when the temperature value is the temperature of the receiving end and the transmitting end before adjustment; d2 is the distance of the target object detected when the temperature value is the temperature of the receiving end and the transmitting end after adjustment; Δd is the value of the distance adjustment information.

[0090] According to the distance adjustment information and the distance of the currently detected target object, the actual distance of the target object is obtained, and its expression is:

[0091] d′=d+Δd (2).

[0092] Wherein, d is the actual distance of the target object currently detected; Δd is the value of the distance adjustment information; and d′ is the actual distance of the target object.

[0093] For example, by adjusting the exposure time through the adaptive exposure mode, the increase in temperature will lead to a higher rate of thermally generated electrons, and the electron mobility will decrease with increasing temperature, so the temperature change will affect the accuracy of the measured distance.

[0094] Through the CW modulation and demodulation principle, the distance of the target object currently detected by the depth camera is obtained, and its expression is:

[0095]

[0096] Where d is the distance of the currently detected target object; Q1, Q2, Q3, and Q4 are the intensity values ​​of the four exposures of the depth camera; C is the speed of light, and its value is 3*10 8 m / s; f is the modulation frequency of the TOF camera.

[0097] According to the CW modulation and demodulation principle, d, d1, and d2 can be calculated, and then the actual distance d′ of the target object can be obtained based on the values ​​of d, d1, and d2.

[0098] The processor 13 of the depth camera obtains the distance adjustment information Δd of the detected target object and the distance d of the target object currently detected by the depth camera through the CW modulation and demodulation principle based on the temperature values ​​of the receiving end 11 and the transmitting end 12 before adjustment and the temperature values ​​of the receiving end 11 and the transmitting end 12 after adjustment, and processes it to obtain the actual distance d′ of the target object.

[0099] This embodiment realizes an integrated exposure and distance measurement adjustment method, thereby simply and efficiently improving the accuracy of depth camera detection.

[0100] Embodiment 3

[0101] This embodiment further proposes an adaptive exposure device applied to a robot depth camera. The adaptive exposure device 14 includes: an analysis module and multiple transmission components 103 .

[0102] Each transmission component 103 includes a sensing end and a fixed end, and the sensing end and the fixed end are an integrated flexible optical fiber.

[0103] The fixed end is installed on the sensor 104 of the depth camera receiving end 11 , and the area of ​​the sensor occupied by the fixed end is determined according to the parameters of the sensor. The sensing end is close to the light source 103 of the depth camera transmitting end 12 .

[0104] The analysis module is electrically connected to the sensor 104 and the processor 13 of the depth camera, and when the depth camera transmitting end 12 emits a detection light, the sensing end of the transmission component 103 senses the detection light and transmits it to the sensor exposure of the receiving end 11, and determines whether the exposure time of the receiving end sensor 104 needs to be adjusted based on the pixel exposure intensity within the area occupied by the fixed end of the sensor 104; and then determines whether to start the adaptive exposure mode of the receiving end and transmit it to the processor 13 of the depth camera.

[0105] Specifically, the number of the transmission components is consistent with the number of light sources of the depth camera.

[0106] For example, the adaptive exposure device 14 includes an analysis module and four transmission components 103, the fixed end of each transmission component 103 is installed on the sensor 104 of the depth camera receiving end 11, and the sensing end of each transmission component 103 is close to the window piece 101 to receive the detection light emitted by the four light sources 102 of the transmitting end 12, and transmit it to the sensor of the receiving end 11 for exposure; wherein, the transmission component 103 and the light source 102 correspond one to one.

[0107] Specifically, the number of pixels in the area occupied by each fixed end is greater than 1 and less than 12*12 pixels, and the inner wall of the flexible optical fiber performs total reflection of light.

[0108] The analysis module is integrated in a processor of the depth camera.

[0109] For example, if the optical fiber power at the sensing end of the transmission component 103 is 10 nW, 10*10 pixels are required.

[0110] The energy required for overexposure can be obtained based on the optical power required for each pixel to reach saturation; by using the corner pixel saturation algorithm, the optical power required for each pixel to reach saturation is obtained, and its expression is:

[0111]

[0112] where Fwc is the well depth of the depth camera; duty is the duty cycle of the depth camera's light emission; QE is the photoelectric conversion efficiency of the sensor for the detected light; h is Planck's constant, and its value is h = 6.62607015×10 -34 J·s; v is the frequency of the infrared light.

[0113] Here, the pixel size of the sensor is taken as 10um*10um, the well depth of the camera is F wc is 100Ke-, the photoelectric conversion efficiency QE of the sensor 104 for the detected light with a wavelength of 940nm is 20%, the duty cycle duty of the depth camera's light emission is 1‰, and P is approximately 0.1nW obtained through the corner pixel saturation algorithm.

[0114] Specifically, the analysis module is specifically used for:

[0115] Obtain the ratio r of the number of overexposed pixels among all pixels within the area occupied by the fixed ends of all transmission components, r = n / m, where n is the number of overexposed pixels among all pixels, and m is the number of all pixels within the area occupied by the fixed ends.

[0116] Judge whether the ratio r is within the range of the appropriate state; if not, determine that the exposure time of the receiving-end sensor needs to be adjusted, and activate the adaptive exposure mode of the receiving end.

[0117] The range of the appropriate state is a value determined in advance based on the pixel information of the area occupied by the fixed ends of all transmission components.

[0118] Specifically, if r > nThresholdH, then reduce the exposure time T of the receiving end.

[0119] If r < nThresholdL and SUM is less than sumThreshold, then increase the exposure time T.

[0120] The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is the predefined minimum intensity threshold.

[0121] nThresholdL and nThresholdH are the boundary values of the range of the appropriate state.

[0122] For example, if the ratio r > nThresholdH, it is in an overexposed state, and the exposure time T with a value of S1 is reduced to make it in a suitable state; if r < nThresholdL and SUM is less than sumThreshold, the exposure time T with a value of S2 is increased to make it in a suitable state.

[0123] Among them, the values of S1 and S2 are 10% of the original exposure time T.

[0124] In this embodiment, the adaptive exposure adjustment device adjusts the exposure intensity of the captured target object, achieving a simple and efficient implementation effect.

[0125] Embodiment 4

[0126] This embodiment also provides a depth camera disposed on a robot, including:

[0127] A receiving end 11, a transmitting end 12, and a processor 13 of the depth camera.

[0128] The receiving end 11 is located on one side of the depth camera body, and the transmitting end 12 is located on the other side of the depth camera body.

[0129] And an adaptive exposure device 14 as described in any one of Embodiment 3 is provided between the receiving end and the depth camera body.

[0130] Specifically, there are four transmission components 103.

[0131] The processor 13 determines the actual distance of the target object according to the adjustment distance information obtained by the adaptive exposure device 12 and the distance of the currently detected target object.

[0132] This embodiment realizes an integrated method of exposure and ranging adjustment, achieving a simple and efficient improvement in the accuracy of depth camera detection.

[0133] In the description of the present invention, it should be understood that the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "a plurality" means two or more unless otherwise specifically defined.

[0134] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0135] In the present invention, unless otherwise clearly specified and limited, when a first feature is “on” or “below” a second feature, it may be that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediate medium. Moreover, when a first feature is “above”, “above” or “above” a second feature, it may be that the first feature is directly above or obliquely above the second feature, or it may simply mean that the first feature is higher in level than the second feature. When a first feature is “below”, “below” or “below” a second feature, it may be that the first feature is directly below or obliquely below the second feature, or it may simply mean that the first feature is lower in level than the second feature.

[0136] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0137] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may alter, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. An adaptive exposure method for a robot depth camera, characterized in that: The adaptive exposure device of the depth camera includes at least one transmission component. Each transmission component includes a sensing end and a fixed end, and the sensing end and the fixed end are an integrated flexible optical fiber. The fixed end is installed on the sensor at the receiving end of the depth camera, and the area occupied by the fixed end on the sensor is determined according to the parameters of the sensor. The sensing end is close to the light source at the transmitting end of the depth camera. The method includes: When the depth camera's transmitting end emits detection light, the sensing end of the transmission component senses the detection light and transmits it to the sensor at the receiving end for exposure. Based on the exposure intensity of the pixels within the area occupied by the fixed end of the sensor, determine whether the exposure time of the receiving-end sensor needs to be adjusted; If the exposure time of the receiving-end sensor needs to be adjusted, start the adaptive exposure mode at the receiving end and transmit it to the processor of the depth camera, so that the processor of the depth camera can obtain the distance adjustment information of the detected target object based on the temperature values of the receiving end and the transmitting end before adjustment and the temperature values of the receiving end and the transmitting end after adjustment; and obtain the actual distance of the target object according to the distance adjustment information and the distance of the currently detected target object.

2. The adaptive exposure method according to claim 1, characterized in that: Based on the exposure intensity of all pixels within the area occupied by the fixed end of the sensor, determining whether the exposure time of the receiving-end sensor needs to be adjusted includes: Obtain the ratio r of the number of overexposed pixels among all pixels within the area occupied by the fixed ends of all transmission components, r = n / m, where n is the number of overexposed pixels among all pixels, and m is the number of all pixels within the area occupied by the fixed end; Judge whether the ratio r is within the range of the appropriate state; if not, determine that the exposure time of the receiving-end sensor needs to be adjusted; The range of the appropriate state is a value determined in advance based on the pixel information of the areas occupied by the fixed ends of all transmission components.

3. The adaptive exposure method according to claim 2, characterized in that: Judge whether the ratio r is within the range of the appropriate state; if not, determine that the exposure time of the receiving-end sensor needs to be adjusted, including: If r > nThresholdH, reduce the exposure time T of the receiving end; If r < nThresholdL and SUM is less than sumThreshold, increase the exposure time T; The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is a predefined minimum intensity threshold; nThresholdL and nThresholdH are the boundary values of the range of the appropriate state.

4. The adaptive exposure method according to claim 1, characterized in that: Based on the temperature values of the receiving end and the transmitting end before adjustment and the temperature values of the receiving end and the transmitting end after adjustment, obtain the distance adjustment information of the detected target object, and its expression is: Δd = d1 - d2 (1); Where, d1 is the distance of the detected target object when the temperature value is the temperature of the receiving end and the transmitting end before adjustment; d2 is the distance of the detected target object when the temperature value is the temperature of the receiving end and the transmitting end after adjustment; Δd is the value of the distance adjustment information; And obtain the actual distance of the target object according to the distance adjustment information and the distance of the currently detected target object, and its expression is: d' = d + Δd (2); Wherein, d is the actual distance of the target object currently detected; Δd is the value of the distance adjustment information; d' is the actual distance of the target object.

5. An adaptive exposure device for a robot depth camera, characterized in that: The adaptive exposure device includes: an analysis module and a plurality of transmission components; Each transmission component includes a sensing end and a fixed end, and the sensing end and the fixed end are an integrated flexible optical fiber; The fixed end is installed on the sensor at the receiving end of the depth camera, and the area occupied by the fixed end on the sensor is determined according to the parameters of the sensor. The sensing end is close to the light source at the transmitting end of the depth camera; The analysis module is electrically connected to the sensor and the processor of the depth camera. When the depth camera transmitting end emits detection light, the sensing end of the transmission component senses the detection light and transmits it to the sensor at the receiving end for exposure. Based on the pixel exposure intensity within the area occupied by the fixed end of the sensor, it is determined whether the exposure time of the receiving end sensor needs to be adjusted; If the exposure time of the receiving end sensor needs to be adjusted, the adaptive exposure mode of the receiving end is started and transmitted to the processor of the depth camera, so that the processor of the depth camera can obtain the distance adjustment information of the detected target object based on the temperature values of the receiving end and the transmitting end before adjustment and the temperature values of the receiving end and the transmitting end after adjustment; and based on the distance adjustment information and the distance of the currently detected target object, obtain the actual distance of the target object.

6. The adaptive exposure device according to claim 5, characterized in that: The number of the transmission components is the same as the number of the light sources of the depth camera.

7. The adaptive exposure device according to claim 5, wherein The number of pixels within the area occupied by each fixed end is greater than 1 and less than the number of 12*12 pixels, and total internal reflection of light occurs on the inner wall of the flexible optical fiber; The analysis module is integrated in the processor of the depth camera.

8. The adaptive exposure device according to claim 5, characterized in that: The analysis module is specifically used for: Obtain the ratio r of the number of overexposed pixels among all pixels within the area occupied by the fixed ends of all transmission components, r = n / m, where n is the number of overexposed pixels among all pixels, and m is the number of all pixels within the area occupied by the fixed end; Judge whether the ratio r is within the range of the appropriate state; if not, determine that the exposure time of the receiving end sensor needs to be adjusted, and start the adaptive exposure mode of the receiving end; The range of the appropriate state is a value determined in advance based on the pixel information of the areas occupied by the fixed ends of all transmission components; Specifically, if r > nThresholdH, reduce the exposure time T of the receiving end; If r < nThresholdL and SUM is less than sumThreshold, increase the exposure time T; The SUM is the sum of the intensities of all pixels within the area occupied by all fixed ends, and sumThreshold is a predefined minimum intensity threshold; nThresholdL and nThresholdH are the boundary values of the range of the appropriate state.

9. A depth camera mounted on a robot, characterized in that: It includes: The receiving end, the transmitting end, and the processor of the depth camera; The receiving end is located on one side of the depth camera body, and the transmitting end is located on the other side of the depth camera body; And an adaptive exposure device according to any one of claims 5 to 8 is provided between the receiving end and the depth camera body.

10. The depth camera according to claim 9, characterized in that: There are four transmission components; The processor determines the actual distance of the target object according to the adjustment distance information obtained by the adaptive exposure device and the distance of the target object currently detected.