Depth imaging module, depth imaging method and electronic device
By emitting multi-duration optical signals and fusion processing in the depth imaging module, the problem of insufficient detection range and accuracy of the depth imaging module in the existing technology at long and short distances is solved, achieving high-precision and flexible depth image acquisition, reducing the cost reduces system cost and complexity.
Patent Information
- Application Number
- CN202410775010.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Existing depth imaging modules have shortcomings in taking into account both long and short range detection range and accuracy, which results in the need to stack multiple cameras to achieve detection for different applications and distances, which increases the cost and complexity of the robot structure.
By using the transmitting module in the depth imaging module to transmit at least two optical signals of different durations to the target object, and receiving and processing the reflected light signals through the receiving module, combined with the motion compensation module to obtain the motion offset information of the target object, and the fusion processing is Obtain high-precision depth images.
It achieves the acquisition of depth images of target objects taking into account different distances, reduces system cost and structural complexity, and improves the accuracy and flexibility of depth images.
Smart Images

Figure CN118330673B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 3D vision technology, and specifically to a depth imaging module, a depth imaging method and an electronic device. Background Art
[0002] Depth imaging modules have begun to be applied to some electronic consumer products in the market, such as robot movement obstacle avoidance and positioning navigation. For example, the positioning, navigation and obstacle avoidance requirements of traditional sweeping and mopping robots are usually achieved by selecting two independent sensors. LDS (Laser Direct Structing) laser radar is commonly used to achieve positioning and navigation, combined with other optical measurement sensors to achieve obstacle avoidance, which increases the cost and the structural height of the robot.
[0003] Conventional depth camera ToF cannot take into account the detection range and accuracy of both long and short distances, so multiple cameras need to be stacked to achieve detection of different applications and distances. Summary of the invention
[0004] In view of the above, it is necessary to propose a depth imaging module, a depth imaging method and an electronic device to obtain depth images of target objects at different distances.
[0005] The first embodiment of the present application provides a depth imaging module for acquiring depth images of target objects at different distances, which includes: a transmitting module, which transmits at least two light signals of different durations to the target object; a receiving module, which is electrically connected to the transmitting module, and controls the transmitting module to transmit light signals to the target object, and receives and processes light signals reflected by the target object to obtain a first depth image of the target object.
[0006] The above-mentioned depth imaging module controls the transmitting module through the receiving module to transmit at least two light signals of different durations to the target object, and receives and processes the light signal reflected by the target object to obtain a first depth image of the target object, which can take into account the acquisition of depth images of target objects at different distances.
[0007] In some embodiments, the transmitting module is used to transmit n periodic signal groups to the target object, each of the signal groups includes at least a light signal of a first duration and a light signal of a second duration, the first duration is not equal to the second duration, the receiving module receives and processes the light signal of the first duration and the second duration reflected by the target object, and obtains the corresponding second depth image and third depth image, and the receiving module fuses the second depth image and the third depth image to obtain the first depth image.
[0008] In this way, the receiving module receives and processes the light signal of the first time length and the light signal of the second time length reflected by the target object, and obtains the corresponding second depth image and third depth image. After fusing the second depth image and the third depth image, the first depth image can be obtained. Since the first time length is not equal to the second time length, the acquisition of depth images of target objects at different distances can be taken into account.
[0009] In some embodiments, the transmitting module includes at least one speckle emitting element or at least one surface light emitting element, and both the speckle emitting element or the surface light emitting element can emit at least two light signals of different durations toward the target object, and the at least two light signals of different durations are emitted alternately.
[0010] In this way, when the transmitting module is at least one speckle transmitting element or at least one surface light transmitting element, the light signal emitted to the target object can be a short-duration light signal and a long-duration light signal, or two short-duration light signals and one long-duration light signal, or one short-duration light signal and two long-duration light signals. In this way, the depth image of the target object at different distances can be acquired based on at least two light signals of different durations received.
[0011] In some embodiments, the transmitting module includes at least one speckle emitting element and at least one surface light emitting element, and the speckle emitting element and the surface light emitting element can cooperate with each other to alternately emit at least two light signals of different durations to the target object.
[0012] In this way, during alternating emission, the speckle emission element may emit a short-duration light signal and the surface light emission element may emit a long-duration light signal, or the speckle emission element may emit a long-duration light signal and the surface light emission element may emit a short-duration light signal. In this way, based on receiving at least two light signals of different durations, it is possible to acquire depth images of target objects at different distances.
[0013] In some embodiments, the speckle emission element may emit light signals of a first duration and a second duration to the target object, wherein the first duration is not equal to the second duration, and / or the surface light emission element may emit light signals of a third duration and a fourth duration to the target object, wherein the third duration is not equal to the fourth duration.
[0014] In this way, both the speckle emission element and the surface light emission element can emit short-duration light signals and long-duration light signals.
[0015] In some embodiments, the first duration is smaller than the second duration, the third duration is smaller than the fourth duration, the at least two light signals of different durations emitted alternately include at least the light signal of the first duration and the light signal of the fourth duration, or the at least two light signals of different durations emitted alternately include at least the light signal of the second duration and the light signal of the third duration.
[0016] In this way, the alternately emitted light signals, whether they are the light signals of the first duration and the light signals of the fourth duration, or the light signals of the second duration and the light signals of the third duration, can both take into account the acquisition of depth images of target objects at different distances.
[0017] In some embodiments, the depth imaging module further includes:
[0018] A motion compensation module is electrically connected to the receiving module, and is used to obtain motion offset information of the target object during at least two consecutive light signal transmissions by the transmitting module, so that the receiving module processes the motion offset information and the first depth image and obtains a fourth depth image of the target object.
[0019] In this way, the motion compensation module can obtain the motion offset information of the target object during at least two times of transmitting light signals, so that the receiving module processes the motion offset information and the first depth image and obtains a fourth depth image of the target object. The motion compensation module can compensate for the motion of the target object so that the obtained fourth depth image has higher accuracy.
[0020] In some embodiments, the ratio of the first duration to the second duration and the ratio of the third duration to the fourth duration are both in the range of 1:(4-6).
[0021] In this way, the depth images of target objects at different distances can be acquired, and the acquired depth images have higher accuracy.
[0022] A second embodiment of the present application provides a depth imaging method, which is applied to a depth imaging module to acquire depth images of target objects at different distances. The depth imaging module includes a transmitting module and a receiving module. The method includes:
[0023] The receiving module controls the transmitting module to transmit at least two light signals of different durations toward the target object;
[0024] The receiving module is enabled to receive and process the light signal reflected by the target object to obtain a first depth image of the target object.
[0025] The above-mentioned depth imaging method controls the transmitting module through the receiving module to transmit at least two light signals of different durations to the target object, and receives and processes the light signal reflected by the target object to obtain a first depth image of the target object, which can take into account the acquisition of depth images of target objects at different distances.
[0026] A third embodiment of the present application provides an electronic device, which includes a main body and the depth imaging module as described above, wherein the depth imaging module is arranged on the main body.
[0027] The above-mentioned electronic device includes a depth imaging module, which controls the transmitting module through the receiving module to transmit at least two light signals of different durations to the target object, and receives and processes the light signal reflected by the target object to obtain a first depth image of the target object, which can take into account the acquisition of depth images of target objects at different distances. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the structure of the depth imaging module provided in the first embodiment of the present application.
[0029] Figure 2 yes Figure 1 Schematic diagram of the structure of the speckle emission element in the depth imaging module shown.
[0030] Figure 3 yes Figure 1 A schematic diagram of the structure of the surface light emitting element in the depth imaging module shown.
[0031] Figure 4 yes Figure 1 A schematic diagram of the structure of the emission angles of two speckle emission elements and the receiving angle of the receiving module in the depth imaging module shown.
[0032] Figure 5 yes Figure 1 A schematic structural diagram of the emission angles of the two surface light emitting elements and the receiving angle of the receiving module in the depth imaging module shown.
[0033] Figure 6 yes Figure 1 A schematic structural diagram of the emission angle of a speckle emission element, the emission angle of a surface light emission element and the receiving angle of the receiving module in the depth imaging module shown.
[0034] Figure 7 This is a flowchart of the depth imaging method provided in the second embodiment of the present application.
[0035] Figure 8 yes Figure 7 A specific flow chart of a depth imaging method in one embodiment is shown in FIG.
[0036] Fig. 9 It is a relationship diagram between the exposure timing and light intensity of a speckle emitter or a surface light emitter emitting a light signal to a target object.
[0037] Fig.10 This is a schematic diagram of the position change of a machine equipped with a depth imaging module from T0 to T1.
[0038] Fig.11 It is a relationship diagram between the exposure timing, motion displacement, and timestamp of a machine equipped with a depth imaging module moving from T0 to T1.
[0039] Fig.12 yes Figure 7 A specific flow chart of the depth imaging method in another embodiment is shown in FIG.
[0040] Fig.13 It is a relationship diagram between the exposure timing and light intensity of the speckle emitter and the surface light emitter emitting light signals to the target object.
[0041] Fig.14 is a schematic diagram of a depth image obtained after the seventh depth image completes the sixth depth image.
[0042] Fig.15 It is a schematic diagram of the three-dimensional structure of an electronic device provided in the third embodiment of the present application. DETAILED DESCRIPTION
[0043] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0044] In the description of the present invention, it should be understood that the terms indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the term "connection" 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, an electrical connection, or mutual communication; 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.
[0046] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.
[0047] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0048] See also Figure 1 The first embodiment of the present application provides a depth imaging module 10 for acquiring depth images of a target object 101 at different distances, wherein the target object 101 may be a fixed object or a relatively moving object, and the depth imaging module 10 includes a transmitting module 11 and a receiving module 12.
[0049] The transmitting module 11 transmits at least two optical signals of different durations to the target object 101. The receiving module 12 is electrically connected to the transmitting module 11, and the receiving module 12 controls the transmitting module 11 to transmit the optical signal to the target object 101, and receives and processes the optical signal reflected by the target object 101 to obtain a first depth image of the target object 101.
[0050] The above-mentioned depth imaging module 10 controls the transmitting module 11 through the receiving module 12 to transmit at least two light signals of different durations to the target object 101, and receives and processes the light signal reflected by the target object 101 to obtain a first depth image of the target object 101, which can take into account the acquisition of depth images of the target object 101 at different distances.
[0051] In some embodiments, the transmitting module 11 is used to transmit n periodic signal groups to the target object 101, where n is a positive integer, and each signal group includes at least a light signal of a first duration and a light signal of a second duration, and the first duration is not equal to the second duration. The receiving module 12 receives and processes the light signal of the first duration and the second duration reflected by the target object 101, and obtains a corresponding second depth image and a third depth image. The receiving module 12 fuses the second depth image and the third depth image to obtain a first depth image.
[0052] In this way, the receiving module 12 receives and processes the light signal of the first time length and the light signal of the second time length reflected by the target object 101, and obtains the corresponding second depth image and third depth image. After fusing the second depth image and the third depth image, the first depth image can be obtained. Since the first time length is not equal to the second time length, the acquisition of depth images of target objects 101 at different distances can be taken into account.
[0053] It can be understood that in other embodiments, each signal group further includes a light signal of a third duration, and the first duration, the second duration and the third duration are not equal.
[0054] See also Figure 2 and Figure 3 In some embodiments, the transmitting module 11 includes at least one speckle emitting element 111 or at least one surface light emitting element 112. The speckle emitting element 111 or the surface light emitting element 112 can emit at least two light signals of different durations to the target object 101, wherein the at least two light signals of different durations are emitted alternately.
[0055] Please continue to see Figure 2The speckle emitting element 111 includes a laser light source 111A and a diffractive optical element 111B. The laser light source 111A emits a light beam, and after passing through the diffractive optical element 111B, a speckle pattern is projected onto the target object 101. The speckle pattern includes pseudo-random speckles, stripes, two-dimensional coding patterns, etc., which can form different embodiments. The laser light source 111A can be a planar array laser, such as a vertical cavity surface laser emitter vcsel, or a single point laser, such as an edge emitting laser EEL. The diffractive optical element 111B is made by micro-nano technology, and its function is to perform spatial light modulation on each incident light beam, that is, to split and replicate each light beam to form a speckle pattern of multiple speckle light spots. Among them, each speckle light spot can make at least one sensor pixel sensitive, and the interval between the speckle light spots is greater than one pixel, and the emission angle of each speckle light spot is less than 1°. Since the smaller the emission angle, the more concentrated the signal strength, whether the above-mentioned emission angle range can make the detection distance farther and better avoid the multipath problem. The arrangement of multiple speckle light spots can be disordered or regular, such as an equilateral triangle or parallel intervals, alternating staggered settings. Regardless of any arrangement method, there should be obvious intervals between the points.
[0056] In some embodiments, the speckle emission element 111 further includes a collimating lens 111C, which is located between the laser light source 111A and the diffractive optical element 111B and is used for light beam collimation. The collimating lens 111C is composed of one lens, or may be composed of another number of lenses, and its function is to collimate the light beam emitted by the laser light source 111A so that each light beam enters the diffractive optical element 111B in the form of a nearly parallel light beam.
[0057] Please continue to see Figure 3 The surface light emitting element 112 includes a parallel light source 112A and a diffuser 112B. The parallel light source 112A can be a light source such as a light emitting diode (LED), an edge emitting laser (EEL), a vertical cavity surface emitting laser (VCSEL), etc. The light beam emitted by the light source can be visible light, infrared light, ultraviolet light, etc.
[0058] In this way, the receiving module 12 controls the speckle emission element 111 or the surface light emission element 112 to emit at least two light signals of different durations to the target object 101. Among the at least two light signals of different durations, there may be one light signal of short duration and one light signal of long duration, two light signals of short duration and one light signal of long duration, or one light signal of short duration and two light signals of long duration. In this way, the receiving module 12 can receive and process the light signals reflected by the target object 101, thereby obtaining the first depth image of the target object 101 at different distances. Furthermore, there may be multiple speckle emitting elements 111 or multiple surface light emitting elements 112. When there are multiple speckle emitting elements 111, different functions may be realized, namely, at least one speckle emitting element 111 performs real-time positioning and mapping within an application distance of, for example, 15 m, and at least one speckle emitting element 111 performs precise obstacle avoidance within an application distance of 1 m, thereby realizing positioning, mapping and obstacle avoidance at different distances. When there are multiple surface light emitting elements 112, multiple surface light emitting elements 112 may emit light simultaneously, which can increase the intensity of the optical signal, thereby reducing power consumption and avoiding the problem of severe heating.
[0059] In this embodiment, there are two speckle emission elements 111, one of which is used for real-time positioning and mapping (slam) within an application distance of, for example, 15 m, and the other speckle emission element 111 is used for precise obstacle avoidance within an application distance of 1 m, thereby achieving positioning, mapping and obstacle avoidance at different distances; see Figure 4 , the emission areas of the two speckle emission elements 111 fall into the receiving area of the receiving module 12, so that the receiving module 12 can receive the light signal reflected by the target object 101. There are two surface light emission elements 112, and the two surface light emission elements 112 can emit light at the same time, which can increase the intensity of the light signal, thereby reducing power consumption and avoiding serious heating problems. Please refer to Figure 5 , the emission areas of the two surface light emitting elements 112 fall into the receiving area of the receiving module 12 , so that it can be ensured that the receiving module 12 receives the light signal reflected by the target object 101 .
[0060] The receiving module 12 includes an image sensor having at least one array pixel unit for receiving a light signal reflected by the target object 101. Each array pixel unit is used to convert the received light signal into a charge signal, and the charge signal is calculated to obtain three-dimensional depth information. The number of array pixel units is determined by the system resolution. The pixels in the array pixel unit can output signals in all areas or in part of the area. The output area of the pixel is matched according to the projection area of the transmitting module 11, which can reduce the computing power for the back end. For example, when there are two speckle emitting elements 111, the receiving area of the receiving module 12 corresponding to one speckle emitting element 111 outputs pixels, and the output area is switched when the other receiving module 12 is used.
[0061] The light type emitted by the surface light emitting element 112 is planar, and a plurality of adjacent pixels on the image sensor of the receiving module 12 can be exposed to light at the same time.
[0062] The transmission module 11 and the reception module 12 may be arranged horizontally, vertically or diagonally, which may be set according to actual needs.
[0063] In some embodiments, the transmitting module 11 includes at least one speckle emitting element 111 and at least one surface light emitting element 112 . The speckle emitting element 111 and the surface light emitting element 112 can cooperate to alternately emit at least two light signals of different durations to the target object 101 .
[0064] In this embodiment, there is one speckle emission element 111 and one surface light emission element 112. Figure 6 The emission angle of the speckle emission element 111 and the emission area of the surface light emission element 112 both fall within the receiving area of the receiving module 12 , so that it can be ensured that the receiving module 12 receives the optical signal reflected by the target object 101 .
[0065] In this way, during alternating emission, the speckle emission element 111 may emit a short-duration light signal and the surface light emission element 112 may emit a long-duration light signal, or the speckle emission element 111 may emit a long-duration light signal and the surface light emission element 112 may emit a short-duration light signal. In this way, the acquisition of depth images of target objects 101 at different distances can be taken into account based on at least two light signals of different durations received.
[0066] In some embodiments, the speckle emission element 111 may emit light signals of a first duration and a second duration to the target object 101, the first duration is not equal to the second duration, and / or the surface light emission element 112 may emit light signals of a third duration and a fourth duration to the target object 101, the third duration is not equal to the fourth duration.
[0067] In this way, both the speckle emission element 111 and the surface light emission element 112 can emit short-duration light signals and long-duration light signals.
[0068] In some embodiments, the first duration is smaller than the second duration, the third duration is smaller than the fourth duration, and the at least two light signals of different durations emitted alternately include at least a light signal of the first duration and a light signal of the fourth duration, or the at least two light signals of different durations emitted alternately include at least a light signal of the second duration and a light signal of the third duration.
[0069] In this way, the alternately emitted light signals, whether they are the light signals of the first duration and the light signals of the fourth duration, or the light signals of the second duration and the light signals of the third duration, can both take into account the acquisition of depth images of target objects at different distances.
[0070] It can be understood that in other embodiments, the at least two light signals of different durations emitted alternately may also include a light signal of a first duration, a light signal of a second duration, a light signal of a third duration, and a light signal of a fourth duration, wherein the light signal of the first duration, the light signal of the second duration, the light signal of the third duration, and the light signal of the fourth duration may be emitted sequentially, or two of them may be emitted simultaneously, for example, the light signal of the first duration is emitted first, then the light signal of the second duration and the light signal of the third duration are emitted simultaneously, and then the light signal of the fourth duration is emitted. For example, the light signal of the first duration and the light signal of the second duration are emitted simultaneously first, and then the light signal of the third duration and the light signal of the fourth duration are emitted simultaneously.
[0071] It can be understood that in other embodiments, the at least two light signals of different durations that are emitted alternately may also include a light signal of a first duration, a light signal of a second duration, and a light signal of a fourth duration, wherein the light signal of the first duration, the light signal of the second duration, and the light signal of the fourth duration may be emitted sequentially, or two of them may be emitted simultaneously, for example, a light signal of the first duration is emitted first, and then a light signal of the second duration and a light signal of the fourth duration are emitted simultaneously.
[0072] It can be understood that in other embodiments, the at least two light signals of different durations that are alternately emitted may also include a light signal of a first duration, a light signal of a second duration, and a light signal of a third duration, wherein the light signal of the first duration, the light signal of the second duration, and the light signal of the third duration may be emitted sequentially, or two of them may be emitted simultaneously, for example, a light signal of the first duration is emitted first, and then a light signal of the second duration and a light signal of the third duration are emitted simultaneously.
[0073] It can be understood that as long as the alternately emitted light signals include at least one long-duration light signal and a short-duration light signal, whether emitted sequentially or simultaneously, they are within the protection scope of the present application and can take into account the acquisition of depth images of target objects at different distances.
[0074] In some embodiments, the depth imaging module 10 further includes a motion compensation module 13. The motion compensation module 13 is electrically connected to the receiving module 12, and the motion compensation module 13 obtains the motion offset information of the target object 101 during at least two consecutive light signal transmissions by the transmitting module 11, so that the receiving module 12 processes the motion offset information and the first depth image and obtains a fourth depth image of the target object 101. In this embodiment, the motion compensation module 13 is used to measure the angular velocity and acceleration of the target object 101 when it moves. Specifically, the motion compensation module 13 is an inertial measurement unit.
[0075] In this way, the motion compensation module 13 can obtain the motion offset information of the target object 101 during at least two times of transmitting light signals, so that the receiving module 12 processes the motion offset information and the first depth image and obtains a fourth depth image of the target object 101, and can compensate for the motion of the target object 101. The fourth depth image obtained has a higher accuracy.
[0076] In some embodiments, the ratio of the first duration to the second duration and the ratio of the third duration to the fourth duration are both in the range of 1:(4-6).
[0077] In this way, the depth images of target objects at different distances can be acquired, and the acquired depth images have higher accuracy.
[0078] See also Figure 7 The second embodiment of the present application provides a depth imaging method, which is applied to the depth imaging module 10 of the first embodiment to obtain depth images of target objects 101 at different distances. The method includes:
[0079] S10 , enabling the receiving module 12 to control the transmitting module 11 to transmit at least two optical signals of different durations toward the target object 101 .
[0080] S20 , enabling the receiving module 12 to receive and process the optical signal reflected by the target object 101 to obtain a first depth image of the target object 101 .
[0081] The above-mentioned depth imaging method controls the transmitting module 11 to transmit at least two light signals of different durations to the target object 101 through the receiving module 12, and receives and processes the light signal reflected by the target object 101 to obtain a first depth image of the target object 101, which can take into account the acquisition of depth images of the target object 101 at different distances.
[0082] In some embodiments, see Figure 8 , the depth imaging method further comprises:
[0083] S10A, enabling the speckle emission element 111 or the surface light emission element 112 to sequentially emit a light signal of a fifth duration and a light signal of a sixth duration toward the target object 101 , wherein the fifth duration is shorter than the sixth duration.
[0084] Among them, Fig. 9As shown, the light signal of the fifth duration and the light signal of the sixth duration can form a group of light signals. In this embodiment, there are three groups of light signals. Emission 1 is a speckle emission element 111 or a surface light emission element 112. The light signal of the fifth duration is a short light emission, and the light signal of the sixth duration is a long light emission. When the distance of the target object 101 is close, the light emission time of the speckle emission element 111 or the surface light emission element 112 is short, which is a short light emission, for example, the light emission time is 25 microseconds; when the distance of the target object 101 is far, the light emission time of the speckle emission element 111 or the surface light emission element 112 is long, which is a long light emission, for example, the light emission time is 1000 microseconds. In this embodiment, short light emission generally detects a target object 101 within 1m, for example, 0.2m, and long light emission generally detects a target object 101 greater than 1m, for example, 7m.
[0085] S20A, enabling the receiving module 12 to receive the light signal of the fifth duration and the light signal of the sixth duration reflected by the target object 101 .
[0086] S30A: Enable the receiving module 12 to process the received light signal of the fifth duration and the received light signal of the sixth duration to obtain a fifth depth image and a sixth depth image of the target object 101 , respectively.
[0087] Among them, there are multiple pixels on the receiving module 12. During processing, if a pixel on the receiving module 12 obtains a depth image in both light emissions, then the depth image of the long light emission is output; if a pixel on the receiving module 12 obtains a depth image for only one light emission in two light emissions, then the depth image of the light emission is output; if a pixel on the receiving module 12 does not obtain a depth image in both light emissions, no depth image is output.
[0088] S40A, enabling the motion compensation module 13 to obtain the motion offset information of the target object 101 during the two light signal emission periods.
[0089] The motion offset information is the motion offset information of the target object 101 relative to the depth imaging module 10 during two light signal emission periods. The target object 101 may be fixed or may be moving relative to the depth imaging module 10 .
[0090] S50A: enable the receiving module 12 to process the motion offset information, the fifth depth image, and the sixth depth image to obtain a seventh depth image of the target object 101 .
[0091] See also Fig.10 and Fig.11, when the electronic device 100 (robot) equipped with the depth imaging module 10 moves from T0 to T1, T0 is short light and T1 is long light. The motion compensation module 13 can record the angular velocity and acceleration of the electronic device 100 during movement. The motion offset of the electronic device 100 satisfies the relationship: X1-X0=V(T1-T0), and the motion offset of the receiving module 12 during signal processing satisfies the relationship: X2-X0=V(T2-T0). By converting the displacement into pixel coordinates, fusing the fifth depth image and the sixth depth image and aligning the multi-transmission data, a more accurate seventh depth image can be obtained. At the same time, the motion offset that occurs during the data transmission period can also be accurately compensated to achieve real-time signal output.
[0092] In some embodiments, see Fig.12 , the method further comprises:
[0093] S10B, sequentially causing the speckle emission element 111 to emit a light signal of a seventh duration toward the target object 101 , and causing the surface light emission element 112 to emit a light signal of an eighth duration toward the target object 101 .
[0094] Among them, see Fig.13 , the light signal of the seventh duration and the light signal of the eighth duration can form a group of light signals. In this embodiment, there are three groups of light signals. Emission 1 is a speckle emission element 111, and emission 2 is a surface light emission element 112. In this embodiment, the light intensity of the light signal of the seventh duration is relatively small, and the light intensity of the light signal of the eighth duration is relatively large. It can be understood that in other embodiments, the light intensity of the light signal of the seventh duration is equal to the light intensity of the light signal of the eighth duration is relatively large. It can be understood that in other embodiments, the light intensity of the light signal of the seventh duration is relatively large, and the light intensity of the light signal of the eighth duration is relatively small.
[0095] S20B, enabling the receiving module 12 to receive the light signal of the seventh duration and the light signal of the eighth duration reflected by the target object 101 .
[0096] S30B: enabling the receiving module 12 to process the received light signal of the seventh duration and the received light signal of the eighth duration to respectively obtain an eighth depth image and a ninth depth image of the target object 101 .
[0097] S40B, enabling the motion compensation module 13 to obtain the motion offset information of the target object 101 during the two light emission periods.
[0098] S50B: enable the receiving module 12 to process the motion offset information, the eighth depth image, and the ninth depth image to obtain a tenth depth image of the target object 101 .
[0099] Among them, see Fig.14, I is the eighth depth image before fusion, and the eighth depth image is composed of multiple relatively sparse points; II is the ninth depth image, and the ninth depth image is composed of multiple relatively dense points. The ninth depth image can be complemented with the eighth depth image by a completion algorithm to obtain a denser depth image. In this way, the expansion of the detection range, AI recognition + slam (i.e., one speckle emission element 111 performs slam, and one surface light emission element 112 performs AI recognition), blind spot filling and obstacle avoidance (i.e., two surface light emission elements 112 cooperate to perform blind spot filling and obstacle avoidance), and obstacle avoidance + slam (i.e., one speckle emission element 111 performs slam, and one surface light emission element 112 performs obstacle avoidance) can be achieved.
[0100] See also Fig.15 The third embodiment of the present application provides an electronic device 100, including a main body 20 and a depth imaging module 10, wherein the depth imaging module 10 is disposed on the main body 20. The electronic device 100 may be a sweeping robot, a mobile phone, or a depth camera, but is not limited thereto.
[0101] The above-mentioned electronic device 100 includes a depth imaging module 10, which controls the transmitting module 11 through the receiving module 12 to transmit at least two light signals of different durations to the target object 101, and receives and processes the light signal reflected by the target object 101 to obtain a first depth image of the target object 101, which can take into account the acquisition of depth images of the target object 101 at different distances.
[0102] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claim involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural.
[0103] Finally, it should be noted that the above implementation modes are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred implementation modes, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A depth imaging module, applied to ToF, for acquiring depth images of target objects at different distances, wherein: include: A transmitting module, the transmitting module is used to transmit n periodic signal groups to the target object, each of the signal groups at least includes a light signal of a first duration and a light signal of a second duration, and the first duration is not equal to the second duration; A receiving module is electrically connected to the transmitting module, and is used to control the transmitting module to transmit a light signal to the target object, and to receive and process a light signal of a first duration and a light signal of a second duration reflected by the target object, and obtain a corresponding second depth image and a third depth image. The receiving module obtains a first depth image after fusing the second depth image and the third depth image.
2. The depth imaging module according to claim 1, wherein: The transmitting module includes at least one speckle emitting element or at least one surface light emitting element, and the speckle emitting element or the surface light emitting element can emit at least two light signals of different durations toward the target object, and the at least two light signals of different durations are emitted alternately.
3. The depth imaging module according to claim 1, wherein: The transmitting module comprises at least one speckle emitting element and at least one surface light emitting element, and the speckle emitting element and the surface light emitting element can cooperate with each other to alternately emit at least two light signals of different durations to the target object.
4. The depth imaging module according to claim 3, wherein: The speckle emission element may emit light signals of a first duration and a second duration to the target object, the first duration is not equal to the second duration, and / or the surface light emission element may emit light signals of a third duration and a fourth duration to the target object, the third duration is not equal to the fourth duration.
5. The depth imaging module according to claim 4, wherein: The first duration is smaller than the second duration, the third duration is smaller than the fourth duration, the at least two optical signals of different durations emitted alternately include at least an optical signal of the first duration and an optical signal of the fourth duration, or the at least two optical signals of different durations emitted alternately include at least an optical signal of the second duration and an optical signal of the third duration.
6. The depth imaging module according to claim 1, wherein: The depth imaging module also includes: A motion compensation module is electrically connected to the receiving module, and is used to obtain motion offset information of the target object during at least two consecutive light signal transmissions by the transmitting module, so that the receiving module processes the motion offset information and the first depth image and obtains a fourth depth image of the target object.
7. The depth imaging module according to claim 5, wherein: The ratio of the first duration to the second duration and the ratio of the third duration to the fourth duration are both in the range of 1:(4-6).
8. A depth imaging method, applied to a depth imaging module to obtain depth images of target objects at different distances, wherein the depth imaging module is applied to ToF and includes a transmitting module and a receiving module, and the method includes: The receiving module controls the transmitting module to transmit n periodic signal groups toward the target object, each of the signal groups at least includes a light signal of a first duration and a light signal of a second duration, and the first duration is not equal to the second duration; The receiving module receives and processes a light signal of a first duration and a light signal of a second duration reflected by a target object, and obtains a corresponding second depth image and a third depth image. The receiving module fuses the second depth image and the third depth image to obtain a first depth image.
9. An electronic device, wherein: It comprises a main body and a depth imaging module as described in any one of claims 1 to 7, wherein the depth imaging module is arranged on the main body.
