A detection device and method
By using a control module in the detection device to adjust the power and exposure time of the light source module, and combining multi-phase and multi-frame structures, the ambient light interference and dynamic range problems are solved, and accurate detection of different distances is achieved.
Patent Information
- Application Number
- CN202110605939.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-31
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-05-31
AI Technical Summary
Existing detection systems are difficult to accurately detect object distances under ambient light interference, and cannot meet the high dynamic range requirements at different distances.
By introducing a control module into the detection device, the control light source module emits detection light at different powers and exposure time, and processes reflected light in the photosensitive module, and adopts multi-phase and multi-frame structures to obtain object distance information and eliminate the influence of ambient light.
Accurate detection at different distances and scenarios is achieved, the dynamic range of the detection system is enhanced, and the impact of ambient light on detection accuracy is reduced.
Smart Images

Figure CN115480258B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection technology, and in particular to a detection device and method. Background Art
[0002] As a method of measuring the distance to an object in a scene, the time-of-flight (TOF) technology has been developed. This TOF technology can be applied to various fields, such as the automotive industry, human-machine interface, games, robots, and security, etc. Generally speaking, the working principle of TOF technology is to illuminate the scene with modulated light emitted by a light source and observe the reflected light reflected by the objects in the scene. In the existing detection system, in order to ensure that higher detection efficiency can be obtained during the detection process while also ensuring that the detection system has a wider field of view, an array-type receiving module is currently used more. There can be thousands of pixel units in the array-type receiving module, and each pixel unit can be a charge-coupled semiconductor CCD or complementary metal oxide semiconductor CMOS type diode, etc., and it is not limited here to only these two types of diodes to form the array-type receiving module.
[0003] In order to obtain distance information, the time delay information of the emitted light and the returned light is obtained indirectly during TOF detection, and then the time delay phase or phase offset is obtained, and then the phase offset is converted into the final result information. This method converts the distance information of the detected object into the phase offset of the returned light and the emitted light instead of directly giving the distance result. This scheme is called indirect time of flight ranging (ITOF). In actual use, complementary phases can be used to receive the returned light signal, and then the distance information is obtained. This method is called a two-phase scheme. There is also a scheme that uses four phases of 0°, 90°, 180° and 270° to obtain the target distance. Of course, there are also literatures that try 3-phase or even 5-phase schemes to obtain the distance of the detected object. The electrical signal of the phase offset is obtained, and the electrical signal needs to be processed by the processing unit to obtain the final distance information.
[0004] During the detection process, the light received by the photosensitive module includes the reflected light of the detection light and the ambient light. Therefore, it is necessary to detect the ambient light separately to eliminate the influence of the ambient light. However, in the actual detection process, the existing technology is usually disturbed by the detection light and cannot accurately detect the ambient light energy, resulting in poor accuracy of the measured distance. Moreover, during the detection process, the total integrated electron number = the number of signal photoelectrons + the number of ambient photoelectrons. When the integration mode is adopted, the ambient light will occupy a large amount of the integral capacitor, and the integral capacitor margin left for the signal light is limited. In addition, during the detection process, the different distances of the object to be measured will lead to changes in the target reflectivity of the object to be measured and the efficiency of receiving the echo light of the object to be measured. For example, the distance between the object to be measured is 0.05m and the distance between the object to be measured is 2.5m, that is, the distance between the object to be measured is 50 times different, and according to the inverse square law, there is a 2,500-fold change in the echo light receiving efficiency. When the object to be measured is 0.05m, the target reflectivity of the object to be measured is 0.1, and when the object to be measured is 0.05m, the target reflectivity of the object to be measured is 0.8, that is, the target reflectivity at the two distances differs by 8 times. Considering the difference between the received light efficiency and the reflectivity, the dynamic range required for detection is 20,000 times when the object to be measured is 0.05m to 2.5m.
[0005] In summary, there is an urgent need for a detection method and a detection device to meet the detection requirements of a high dynamic range under ambient light conditions. Summary of the invention
[0006] The purpose of the present application is to provide a detection device to solve the technical problem that the existing detection device cannot simultaneously meet the requirements of multi-distance detection in view of the above-mentioned deficiencies in the prior art.
[0007] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0008] In a first aspect, an embodiment of the present application provides a detection device, characterized by comprising:
[0009] A light source module, used for emitting detection light to the object to be detected;
[0010] A photosensitive module receives the emitted light and processes the pixel;
[0011] A processing module, which can process the reflected light to obtain the distance of the object to be measured;
[0012] A control module, used for controlling the light source module and the receiving module;
[0013] The control module controls the light source module to emit detection light with a first power and a first exposure duration;
[0014] The control module controls the light source module to emit detection light with a second power and a first exposure duration.
[0015] Optionally, the control module controls the light source module to emit detection light with a first power and a second exposure duration;
[0016] The control module controls the light source module to emit detection light with a second power and a second exposure duration.
[0017] Optionally, the control module controls the light source module to emit detection light at a first power and a third exposure time; the control module controls the light source module to emit detection light at a second power and a third exposure time.
[0018] Optionally, the first power is greater than the second power.
[0019] Optionally, the control module controls the light source module not to emit detection light; the duration of not emitting detection light lasts for a first exposure duration, a second exposure duration, and a third exposure duration, respectively.
[0020] Optionally, the first exposure duration is greater than the second exposure duration, and the second exposure duration is greater than the third exposure duration.
[0021] Optionally, the duration of not emitting the detection light is respectively located after the duration of emitting the detection light, and is the same as the corresponding exposure duration of emitting the detection light.
[0022] In a second aspect, an embodiment of the present application provides a detection method, which is applied to the detection device described in the first aspect above, and the detection method includes:
[0023] The control module controls the light source module to emit detection light to the object to be measured with a first exposure time and a first emission power; the control module can also control the light source module to emit detection light to the object to be measured with a first exposure time and a second emission power.
[0024] Optionally, the control module controls the light source module to emit detection light to the object to be measured with a third exposure time and a first emission power; the control module may also control the light source module to emit detection light to the object to be measured with a third exposure time and a second emission power.
[0025] The beneficial effects of this application are:
[0026] The embodiments of the present application provide a detection device and method, the detection device comprising: a light source module, for emitting detection light to an object to be detected;
[0027] A photosensitive module receives the emitted light and processes the pixel;
[0028] A processing module, which can process the reflected light to obtain the distance of the object to be measured;
[0029] A control module, used for controlling the light source module and the receiving module;
[0030] The control module controls the light source module to emit detection light with a first power and a first exposure duration;
[0031] The control module controls the light source module to emit detection light with the second power and the first exposure time. In this mode, the detection device can simultaneously meet the detection requirements at different distances and in different scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 A schematic diagram of functional modules of a detection device provided in an embodiment of the present application;
[0034] Figure 2 A schematic diagram of a TOF ranging principle provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram illustrating the settings of different phase delays and different exposure durations for multiple subframes is shown;
[0036] Figure 4 A new frame structure provided for the implementation of this application;
[0037] Figure 5 Another new frame structure provided for the embodiments of this application;
[0038] Figure 6 The method and steps for implementing the present invention are shown. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0040] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0041] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0042] Figure 1 This is a functional module diagram of a detection device provided in an embodiment of the present application. Figure 1 As shown, the detection device includes: a light source 110, a processing module 120, a photosensitive module 130, and a detected object 140, wherein the light source 110 can be configured as a unit or array-type light source system that emits continuous light, which can be a semiconductor laser, or an LED or other light source that can be pulse modulated. When a semiconductor laser is used as a light source, a vertical cavity surface emitting laser VCSEL (Vertical-cavity surface-emitting laser) or an edge emitting semiconductor laser EEL (edge-emitting laser) can be used. This is only an exemplary description and is not specifically limited. The waveform of the light output by the light source 110 is also not limited, and can be a square wave, a triangle wave or a sine wave. The photosensitive module 130 includes a photoelectric conversion module, which has a photoelectric conversion function that can be realized by a photodiode (Photo-Diode, PD), which can be specifically a charge-coupled device (Charge-coupled Device, CCD), a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS), and its type is not specifically limited here.
[0043] The processing module 120 may include a control module, which can control the light source to emit light at different times, or control the light source module not to emit light, or control the emission power of the light source, and control the exposure time. Of course, the control module can also exist independently of the processing module. This embodiment is only for illustrative purposes and is not specifically limited. The processing module 120 can enable the photosensitive module 130 to obtain light reflected back from the object to be detected 140 corresponding to different phase delays when the light source 110 emits the emitted light at four values of 0°, 180°, 90° and 270° respectively. The reflected light forms incident light at the photosensitive module 130, and then generates different information through photoelectric conversion of the receiving part. In some cases, the two-phase scheme of 0° and 180° is also used to realize the information acquisition of the object to be detected. There are also documents that disclose the three-phase scheme of 0°, 120° and 240° to obtain target information, and there are even documents that disclose the five-phase delay scheme. The present invention is not specifically limited. The acquired target information can be the image information of the target or the distance information, contour information, etc. of the target.
[0044] Figure 2 A schematic diagram of a TOF ranging principle provided in an embodiment of the present application is shown in FIG. Figure 2 201 is the detection light emitted by the light source. The receiving end receives the signal of the reflected light with a demodulated signal with a certain phase difference (that is, a certain delay). Figure 2 The phase difference between 202 and 201 is 0°, the phase difference between 203 and 201 is 180°, the phase difference between 204 and 201 is 90°, and the phase difference between 205 and 201 is 270°. According to the four-phase distance measurement principle, the distance of the object to be measured can be obtained. The specific process is shown in the following formula (1) to formula (8):
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052] The actual distance after considering the inherent delay
[0053] The inherent delay td deviation can be corrected through the algorithm.
[0054] Figure 3 The diagram shows the settings of different phase delays and different exposure durations for multiple subframes. For example, when the frame rates are 15FPS, 30FPS or 60FPS, that is, 15, 30 or 60 subframes can be included per second, and the distances of different detection targets can be obtained in the Nth frame and the N+1th frame according to the four phase information of different long and short exposures. Moreover, by setting in this way, the distance information of the detected object can be obtained in the same way, such as the four-phase algorithm.
[0055] However, in the above-mentioned different detection distance scenarios, the long and short exposure methods cannot meet the requirements of all detection distances. For example, in the scenario where the object to be measured is 0.05m to 2.5m, the object to be measured at a close distance is overexposed in the long exposure frame, and the object to be measured at a close distance cannot be obtained. For example, when the reflectivity is 0.8 and the peak power is 54W, the long exposure frame is overexposed and the distance of the object to be measured cannot be obtained; when the reflectivity is 0.8, the peak power is reduced to 3.5W, and the range of distance that can be measured by the long exposure frame is 0.45m to 1.35m. In the short exposure frame, the distance of the object to be measured of 0.2m to 1.25m can be obtained when the peak power is 54W, and the distance of the object to be measured of 0.05m to 0.3m can be obtained when the peak power is 3.5W. It can be seen from the above example analysis that long and short exposure cannot meet the requirements of the distance range of all objects to be measured. Therefore, a new frame rate structure is needed to solve this problem.
[0056] Figure 4 A new frame structure is provided for the implementation of this application. Figure 4 In the frame structure shown, the exposure time is divided into three types: long, medium and short. For example, the long exposure time may be 4750μs, the medium exposure time may be 500μs, and the short exposure time may be 125μs. At each exposure length, the light source has two emission powers, high power and low power. The high power may be in the order of tens of W, such as 54W, and the low power may be in the order of several W, such as 3.5W. The data in this embodiment are for illustrative purposes only and are not limited to these specific values. At each exposure time length, the four-phase method may be used to obtain the distance of the object to be measured. As Figure 4 For the frame structure shown, if it is a two-TAP structure, 0° and 180° can obtain corresponding received charges in the same time; the same principle applies to the two-TAP structure, 90° and 270° can obtain corresponding received charges in the same time. Figure 4 Just for illustration, the four phases are shown in different subframes. Figure 4 The frame structure shown can meet the detection requirements of different distances. Figure 4 In the frame structure shown, the reflectivity is 0.8 at medium exposure time, the detection range is 0.4m-2.5m at a transmission power of 54W, and the detection range is 0.1m-0.6m at a transmission power of 3.5W. This can make up for the detection distance requirements that cannot be covered in the long and short exposure frame structures.
[0057] Figure 5 Another new frame structure provided in the embodiment of the present application. Figure 4 The frame structure shown solves the scene requirements of different detection distances, but the ambient light has a great influence on the detection accuracy, and it is necessary to eliminate the influence of ambient light on the detection accuracy as much as possible. Figure 5 In the frame structure shown in the figure, in the long and short exposure frame structure, each case of high transmission power and low transmission power is followed by a subframe of the same length without emitting detection light. In the subframe without emitting detection light, the receiving end only receives the ambient light, and in the subframe with emitted light, the signal obtained is a common signal of the detection light and the ambient light. The echo signal in the subframe with emitted detection light is subtracted from the echo signal of only ambient light, so that the influence of ambient light on the detection result can be eliminated. Figure 5 The duration of not emitting detection light immediately following the high-power and low-power emission frames of medium and long exposure is the same as the long exposure duration, that is, if the long exposure duration is 4750μs, then the duration of not emitting detection light immediately following the high-power and low-power emission frames of long exposure is also 4750μs; similarly, the duration of not emitting detection light immediately following the high-power and low-power emission frames of medium exposure is the same as the medium exposure duration, that is, if the medium exposure duration is 500μs, then the duration of not emitting detection light immediately following the high-power and low-power emission frames of medium exposure is also 500μs; similarly, the duration of not emitting detection light immediately following the high-power and low-power emission frames of short exposure is the same as the short exposure duration, that is, if the short exposure duration is 125μs, then the duration of not emitting detection light immediately following the high-power and low-power emission frames of short exposure is also 125μs.
[0058] Figure 6 The method and steps for implementing the present invention are shown, where the control module S601 controls the light source 110 to emit light with high power, which may be a square wave, a triangle wave or a sine wave, etc., and is not specifically limited here, and controls the exposure time (three exposure times of long, medium and short are respectively executed). Under the action of the emitted light, the field of view is illuminated, and the detected object 140 reflects the emitted light, thereby forming a reflected light echo.
[0059] S602: The control module controls the light source 110 not to emit light, and controls the exposure time (three exposure times of long, medium and short are respectively implemented) so that the detected object 140 reflects the ambient light, thereby forming a reflected light echo of the ambient light.
[0060] The S603 control module controls the light source 110 to emit low-power light, which may be a square wave, a triangle wave or a sine wave, etc., and is not specifically limited here, and controls the exposure time (performing three exposure times of long, medium and short respectively). Under the action of the emitted light, the field of view is illuminated, and the detected object 140 reflects the emitted light, thereby forming a reflected light echo.
[0061] S604: The control module controls the light source 110 not to emit light, and controls the exposure time (performing three exposure times of long, medium and short respectively) so that the detected object 140 reflects the ambient light, thereby forming a reflected light echo of the ambient light.
[0062] The S605 control module eliminates the influence of ambient light on detection based on the signal echo signal and the ambient light echo signal.
[0063] It should be noted that Figure 6 The steps shown, long, medium and short exposures are performed sequentially, such as Figure 5 The frame structure shown.
[0064] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0065] The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A detection device, characterized in that include: A light source module, used for emitting detection light to the object to be detected; Photosensitive module, receiving the emitted light and processing the pixels; A processing module, which can process the reflected light to obtain the distance of the object to be measured; A control module, used for controlling the light source module and the receiving module; The control module controls the light source module to emit detection light with a first power and a first exposure duration; The control module controls the light source module to emit detection light at a second power and a first exposure time; The control module controls the light source module to emit detection light with a first power and a second exposure duration; The control module controls the light source module to emit detection light at a second power and a second exposure time; The control module controls the light source module to emit detection light with a first power and a third exposure duration; The control module controls the light source module to emit detection light at a second power and a third exposure time; The control module controls the light source module not to emit detection light; the duration of not emitting detection light is respectively a first exposure duration, a second exposure duration, and a third exposure duration.
2. The detection device according to claim 1, characterized in that The first power is greater than the second power.
3. The detection device according to claim 1, characterized in that The first exposure duration is greater than the second exposure duration, and the second exposure duration is greater than the third exposure duration.
4. The detection device according to claim 1, characterized in that The duration of not emitting the detection light is respectively located after the duration of emitting the detection light, and is the same as the corresponding exposure duration of emitting the detection light.
5. A detection method using the detection device according to claim 1, characterized in that include: The control module controls the light source module to emit detection light to the object to be measured with a first exposure time and a first emission power; The control module can also control the light source module to emit detection light to the object to be measured with a first exposure time and a second emission power; The control module controls the light source module to emit detection light to the object to be measured at the second exposure time and the first emission power; the control module can also control the light source module to emit detection light to the object to be measured at the second exposure time and the second emission power; The control module controls the light source module to emit detection light to the object to be measured at a third exposure time and a first emission power; the control module may also control the light source module to emit detection light to the object to be measured at a third exposure time and a second emission power; The control module controls the light source module not to emit detection light; the duration of not emitting detection light is respectively a first exposure duration, a second exposure duration, and a third exposure duration.
