Driving device, distance measuring device, and light emission device
By allowing a second light emitting section to emit during the non-emitting period of the first section, the driving device efficiently reduces the time needed for multiple light emitting periods, enhancing distance measurement speed and accuracy.
Patent Information
- Application Number
- JP2023067229
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-29
AI Technical Summary
In distance measuring devices with multiple light emitting sections, extending the interval between light emitting periods to reduce heat generation leads to prolonged completion times for scheduled light emitting periods.
A driving device that controls light emitting sections to emit pulsed light multiple times during each period, allowing the second section to emit light during the non-emitting period of the first section, thereby reducing overall completion time.
This approach significantly shortens the time required to complete multiple light emitting periods across all sections, improving measurement efficiency and accuracy.
Smart Images

Figure 2024153369000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a driving device, a distance measuring device, and a light emitting device. [Background technology]
[0002] There are distance measuring devices that measure the distance to an object (called "ranging") by the so-called time-of-flight (ToF) method, which measures the time from when light is emitted to when the light is received after being reflected by the object. For example, Patent Document 1 describes a distance measuring device having multiple light-emitting units in which, instead of causing all the light-emitting units to emit light at the same time, the light-emitting units are divided into four groups, first to fourth groups, and control is performed to select (switch) the group to emit light in chronological order. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-153796 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a distance measuring device equipped with a light emitting unit including multiple light emitting sections, distance measurement may be performed by providing a predetermined number of light emitting periods (sometimes called the "planned number of times") for each light emitting section. In such a distance measuring device, when a light emitting period of one light emitting section is provided after a planned number of light emitting periods of another light emitting section, if the interval between the light emitting periods is lengthened to reduce the effect of heat generation due to light emission, for example, the time until the planned number of light emitting periods is completed in all light emitting sections will be long. The object of the present invention is to shorten the time required to complete the planned number of light-emitting periods in all light-emitting sections, compared to a case in which the interval between light-emitting periods in a certain light-emitting section is made longer and a light-emitting period for another light-emitting section is set after the planned number of light-emitting periods. [Means for solving the problem]
[0005] The invention described in claim 1 is a driving device that drives a light-emitting device including a first light-emitting section and a second light-emitting section, wherein each of the first light-emitting section and the second light-emitting section has a predetermined number of light-emitting periods, the light-emitting device is pulsed to emit light 500 or more times during the light-emitting period, and the light-emitting device is driven so that the second light-emitting section has a light-emitting period during a non-light-emitting period between the light-emitting period of the first light-emitting section and the next light-emitting period when the first light-emitting section does not emit light. The invention described in claim 2 is the driving device described in claim 1, characterized in that the light-emitting device is driven so that a group of light-emitting sections including the first light-emitting section and the second light-emitting section provided in the light-emitting device and another group of light-emitting sections including another light-emitting section have a light-emitting period after the predetermined number of light-emitting periods of the first group of light-emitting sections. The invention described in claim 3 is the drive device described in claim 2, characterized in that the light emitting device is driven so that the light emitting sections belonging to one group of light emitting sections are adjacent to each other. The invention described in claim 4 is the driving device described in claim 1, characterized in that the non-light-emitting period is determined by the number of unit times, with the time equivalent to the light-emitting period being the unit time, and for one light-emitting section group including the first light-emitting section and the second light-emitting section provided in the light-emitting device, and another light-emitting section group including another light-emitting section, the number of light-emitting sections belonging to the one light-emitting section group matches the number of unit times defined as the non-light-emitting period. The invention described in claim 5 is the driving device described in claim 1, characterized in that the light-emitting device is driven so that the light-emitting period of a third light-emitting section that is not adjacent to the first light-emitting section of the light-emitting device overlaps with the light-emitting period of the first light-emitting section. The invention described in claim 6 is a distance measuring device comprising: a light-emitting unit including a first light-emitting section and a second light-emitting section; a driving unit that drives the light-emitting unit so that each of the first light-emitting section and the second light-emitting section has a predetermined number of light-emitting periods; a light-receiving unit that receives light emitted from the light-emitting unit and reflected by an object; and a calculation unit that calculates the distance to the object based on the result of the light reception by the light-receiving unit, wherein the driving unit drives the light-emitting unit so that the second light-emitting section has a light-emitting period during a non-light-emitting period when the first light-emitting section does not emit light between the light-emitting period and the next light-emitting period of the first light-emitting section. The invention described in claim 7 is a distance measuring device as described in claim 6, characterized in that the light emitting unit includes one group of light emitting sections including the first light emitting section and the second light emitting section, and another group of light emitting sections including another light emitting section, and the calculation unit acquires the result of light received by the light receiving unit from the start of the light emitting period of the first light emitting section in the one group of light emitting sections to the end of the light emitting period of the last light emitting section, after all light emitting sections belonging to the one group of light emitting sections have each completed their light emitting period once. The invention described in claim 8 is a distance measuring device as described in claim 6, characterized in that the light receiving unit includes a first light receiving section that receives light reflected by an object during the light emission period of the first light emission section, and a second light receiving section that receives light reflected by an object during the light emission period of the second light emission section, and the calculation unit obtains the light receiving result for each light receiving section included in the light receiving unit. The invention described in claim 9 is a distance measuring device described in claim 8, characterized in that the driving unit drives the light emitting unit so that the second light emitting section has a light emitting period during the period in which the calculation unit acquires the result of light reception in the first light receiving section. The invention described in claim 10 is a light-emitting device comprising: a light-emitting section including a first light-emitting section and a second light-emitting section; and a drive section that drives the light-emitting section so that each of the first light-emitting section and the second light-emitting section has a predetermined light-emitting period a predetermined number of times, wherein the drive section drives the light-emitting section to emit pulsed light 500 times or more during the light-emitting period, and drives the light-emitting section so that the second light-emitting section has a light-emitting period during a non-light-emitting period in which the first light-emitting section does not emit light between the light-emitting period of the first light-emitting section and the next light-emitting period. Effect of the Invention
[0006] According to the inventions described in claims 1, 6 and 10, the time required to complete the predetermined multiple light emission periods in all light emission sections is shorter than when a light emission period in one light emission section is followed by a light emission period in another light emission section. According to the invention recited in claim 2, the time required to complete a plurality of predetermined light emission periods in one light emitting section group is shorter than when driving is not performed in units of light emitting section groups. According to the invention as set forth in claim 3, the irradiation sections adjacent to each other are irradiated with light a predetermined number of times in a short period of time. According to the invention described in claim 4, the time required to complete multiple predetermined light emission periods in one group of light-emitting sections is shorter than when the number of light-emitting sections belonging to one group of light-emitting sections is greater than the number of unit times defined as non-light-emitting time. According to the invention described in claim 5, the time required for the completion of the predetermined multiple light emission periods in all light emission sections is shorter than when the light emission period of the first light emission section and the light emission period of the third light emission section do not overlap. According to the invention as set forth in claim 7, the time required to complete distance measurement in all irradiation zones is shortened, compared to the case where readout is performed at different timings. According to the invention as set forth in claim 8, the result of light reception is acquired for each light emission period of the light emission section, which contributes to improving the accuracy of distance measurement. According to the invention described in claim 9, the time required to complete distance measurement is shorter than when the second light-emitting section does not have a light-emitting period during the period in which the light reception results in the first light-receiving section are obtained. [Brief description of the drawings]
[0007] [Figure 1] 1 is a block diagram showing an example of a schematic configuration of a distance measuring device to which an embodiment of the present invention is applied; [Diagram 2] 4A to 4C are diagrams illustrating the relationship between a light emitting surface of a light emitting unit and an irradiation surface onto which light emitted from the light emitting unit is irradiated in the present embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a light-emitting section according to the present embodiment. [Figure 4] 4A to 4C are diagrams illustrating the relationship between a light receiving surface of a light receiving unit according to the present embodiment and the above-mentioned irradiation surface. [Diagram 5] 1A and 1B are diagrams for explaining distance images in this embodiment, where (a) is a diagram showing the positional relationship between the distance measuring device and the object, (b) is a diagram showing the state of the irradiated surface, and (c) is a diagram showing an example of a distance image created by the control unit. [Figure 6] FIG. 13 is a diagram showing an operation pattern of a comparative example. [Figure 7] FIG. 2 is a diagram showing a first operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 8] FIG. 11 is a diagram showing a second operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 9] FIG. 13 is a diagram showing a third operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 10] FIG. 13 is a diagram showing a fourth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 11] FIG. 13 is a diagram showing a modified example of the second operation pattern. [Figure 12] FIG. 13 is a diagram showing a modified example of the second operation pattern. [Figure 13] FIG. 13 is a diagram showing a fifth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 14]FIG. 13 is a diagram showing a sixth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 15] 13A and 13B are diagrams illustrating an example of a light emitting operation in one light emitting period of each light emitting section. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The technical scope of the present invention is not limited to the scope described below as the embodiment. It is clear from the claims that combinations of multiple embodiments and various modifications or improvements to these embodiments are also included in the technical scope of the present invention.
[0009] <Distance measuring device 1> (Overall composition) FIG. 1 is a block diagram showing an example of a schematic configuration of a distance measuring device 1 to which this embodiment is applied. The distance measuring device 1 measures the distance to the object based on the time from when light is emitted from the light emitting unit 4 to when the light reflected by the object is received by the light receiving unit 5. In other words, the distance measuring device 1 is a device that performs distance measurement based on the ToF method. The ToF method includes an indirect ToF (iToF: indirect ToF) method that measures time from the difference between the phase of emitted light and the phase of received light, and a direct ToF (dToF: direct ToF) method that directly measures the time from when light is emitted to when it is received. In this embodiment, the distance measuring device 1 is described as performing distance measurement based on the indirect ToF method.
[0010] As shown in FIG. 1, the distance measuring device 1 includes an optical device 3 and a control unit 8. The optical device 3 includes an emitter 4 that emits light toward a predetermined irradiation range, a light-receiving unit 5 that receives light emitted from the emitter 4 and reflected by an object present within the irradiation range, an emitter drive unit 6 that drives the emitter 4, and a light-receiving drive unit 7 that drives the light-receiving unit 5. The configurations of the light emitting section 4 and the light receiving section 5 of the optical device 3 will be described in detail later. Also, the reference numeral 2 indicated by the dashed line and the reference numeral 9 indicated by the dashed line will be described later.
[0011] The control unit 8 controls the operations of the light emitting unit 4 and the light receiving unit 5 of the optical device 3 . Furthermore, the control unit 8 acquires the result of light reception by the light receiving unit 5, and calculates the distance from the distance measuring device 1 to the object based on the result of light reception using the ToF method. The control unit 8 is an example of a calculation unit that calculates the distance to the target object based on the result of light reception.
[0012] (Light emitting part 4) FIG. 2 is a diagram for explaining the relationship between the light-emitting surface 40 of the light-emitting unit 4 according to the present embodiment and the irradiation surface 60 onto which the light emitted from the light-emitting unit 4 is irradiated. In FIG. 2, the left direction of the paper is the +x direction, the upward direction of the paper is the +y direction, and the backward direction of the paper is the +z direction, and the opposite directions are the -x, -y, and -z directions. Note that in FIG. 2, the light-emitting surface 40 and the irradiation surface 60 are shown shifted in the vertical direction (±y direction) of the paper, but in reality, the light-emitting surface 40 and the irradiation surface 60 are arranged so as to face each other. In FIG. 2, the light-emitting surface 40 of the light-emitting unit 4 is located in the front direction (-z direction) of the paper, and the irradiation surface 60 is located in the backward direction (+z direction) of the paper. That is, FIG. 2 shows the light-emitting unit 4 emitting light to the irradiation surface 60 as viewed from the opposite side to the side from which the light-emitting unit 4 emits light. The light emitting section 4 is configured with, for example, one or more light emitting chips. The light emitting section 4 is an example of a light emitting device.
[0013] The light emitting unit 4 has a light emitting surface 40 on which a plurality of vertical cavity surface emitting lasers (VCSELs, denoted by reference numeral 43 in FIG. 3 described later) are arranged. The light emitting unit 4 emits light toward an irradiation surface 60 by the emission of the VCSELs. The VCSELs are an example of a light emitting element. The VCSELs are not shown in FIG. 2.
[0014] The light-emitting surface 40 is divided into a plurality of light-emitting sections 41, each including at least one VCSEL. Here, as an example, the light-emitting surface 40 is divided into a total of 12 light-emitting sections 41, arranged in four in the x direction and three in the y direction. As shown in the figure, when it is necessary to distinguish between the light-emitting sections 41, they are distinguished as light-emitting sections A1 to A12 in order from the upper left side in FIG. 2 (the ends in the +x direction and +y direction). In this specification, "~" indicates a number of components that are distinguished from each other, and includes those written before and after "~" and those with numbers between them. For example, light-emitting sections A1 to A12 include 12 light-emitting sections 41, starting from light-emitting section A1 to light-emitting section A12 in numerical order.
[0015] Each light-emitting section 41 is independently driven by a light-emitting drive unit 6 (see FIG. 1) to perform light-emitting operation. Driving a light-emitting section 41 refers to power being supplied to the VCSEL included in the light-emitting section 41 to emit light, and light-emitting operation refers to the VCSEL included in the light-emitting section 41 emitting light for a predetermined light-emitting period. Furthermore, "independently driven" refers to driving each light-emitting section 41 to emit light. The light-emitting drive unit 6 drives each light-emitting section 41 in response to a control signal from a control unit 8 (see FIG. 1). Therefore, the light emitting sections 41 do not necessarily all emit light at the same time. For example, in the example of FIG. 2, the light emitting section A1 may emit light while the light emitting section A12 does not emit light.
[0016] The irradiation surface 60 is a surface that is irradiated with light from the light-emitting unit 4, and is perpendicular to the light emission direction at a certain distance in the light emission direction (+z direction) from the center 40C of the light-emitting surface 40. 2, the light-emitting unit 4 emits light in the +z direction, so that the irradiation surface 60 spreads in the x and y directions at a certain distance in the +z direction. Here, a central axis Ax (two-dot chain line) passing through a center 60C of the irradiation surface 60 and a center 40C of the light-emitting surface 40 is perpendicular to the light-emitting surface 40 and the irradiation surface 60. In this embodiment, the irradiation surface 60 is rectangular in shape in response to the light-emitting surface 40 being rectangular in shape.
[0017] As shown in the figure, the irradiation surface 60 is divided into a plurality of irradiation sections 61 corresponding to the light-emitting sections 41 in the light-emitting surface 40. In the example of Fig. 2, it is divided into 12 irradiation sections 61, arranged in groups of four in the x direction and three in the y direction. When it is necessary to distinguish between the irradiation sections 61, they are denoted as irradiation sections B1 to B12 in order from the upper left side in Fig. 2 (the ends in the +x direction and +y direction). In addition, a light-emitting section Ai that is assigned the same number i as a certain light-emitting section Bi may be called a "corresponding light-emitting section." For example, a light-emitting section A1 is a light-emitting section that corresponds to a light-emitting section B1. Conversely, a light-emitting section Bi that is assigned the same number i as a certain light-emitting section Ai may be called a "corresponding light-emitting section."
[0018] The illumination sections B1 to B12 are arranged symmetrically with the light emitting sections A1 to A12 in the xy plane. For example, the illumination sections B1, B2, B3, and B4 are arranged in the -x direction in this order, while the light emitting sections A1, A2, A3, and A4 are arranged in the -x direction in this order in FIG. Each light-emitting section 41 emits light toward the corresponding irradiation section 61. Then, each irradiation section 61 is irradiated with the light emitted from the corresponding light-emitting section 41. Here, the light-emitting section 41 irradiates light toward the corresponding irradiation section 61, meaning that the optical axis of the light emitted from each light-emitting section 41 faces the corresponding irradiation section 61, and is not limited to all of the light emitted from the light-emitting section 41 being irradiated to the corresponding irradiation section 61. In other words, a part of the light emitted from a certain light-emitting section 41 may be irradiated to an irradiation section 61 different from the corresponding irradiation section 61 or outside the range of the irradiation surface 60.
[0019] Fig. 3 is a diagram showing an example of the light-emitting unit 4 according to the present embodiment. Fig. 3 shows the light-emitting unit 4 as viewed from the side from which it emits light, opposite to Fig. 2. Therefore, the rightward direction on the paper surface in Fig. 3 is the +x direction, the upward direction on the paper surface is the +y direction, and the front direction on the paper surface is the +z direction. 3, the light-emitting unit 4 has a substrate 42 and a light-emitting surface 40 on which a plurality of VCSELs 43 are arranged. More specifically, the substrate 42 and the light-emitting surface 40 are provided overlapping in the light-emitting direction (+z direction, the front direction of the paper). Note that, in addition to wiring for supplying power and exchanging electrical signals, electronic components related to the operation of the light-emitting unit 4 may be formed or attached on the substrate 42, but illustration thereof is omitted.
[0020] As described above, the light-emitting unit 4 includes 12 light-emitting sections 41 (light-emitting sections A1 to A12) in which VCSELs 43 are arranged on the light-emitting surface 40. As shown in Fig. 3, the light-emitting sections A1 to A12 all have the same area. Furthermore, the same number of VCSELs 43 (seven in this example) are arranged in each of the light-emitting sections A1 to A12. The area of each light-emitting section 41 and the number of VCSELs 43 arranged therein are not limited, and some or all of the light-emitting sections 41 may have different areas and different numbers of VCSELs 43 arranged therein.
[0021] The light emitted from each light-emitting section 41 of the light-emitting unit 4 is spread by a diffusion unit (not shown) in a plane perpendicular to the emission direction (axial direction of the central axis Ax) and irradiated onto the irradiation surface 60. As the diffusion unit, a diffusion plate that is provided on the optical path of the light and diffuses the light by scattering or the like, a diffractive optical element (DOE) that changes the angle of incident light and emits it, and / or an optical member such as a lens can be used.
[0022] (Light receiving part 5) FIG. 4 is a diagram for explaining the relationship between the light receiving surface 50 of the light receiving unit 5 according to this embodiment and the above-mentioned irradiation surface 60. In FIG. 4, as in FIG. 2, the left direction of the paper is the +x direction, the upward direction of the paper is the +y direction, and the back direction of the paper is the z direction, and the opposite directions are the -x, -y, and -z directions. In FIG. 4, the light receiving surface 50 and the irradiation surface 60 are shifted in the up-down direction (±y direction) of the paper, but in reality, the light receiving surface 50 and the irradiation surface 60 are arranged so as to face each other. In FIG. 4, the light receiving unit 5 (light receiving surface 50) is located in the front direction (-z direction) of the paper, and the irradiation surface 60 is located in the back direction (+z direction) of the paper. In other words, FIG. 4 shows the light receiving unit 5 receiving light reflected from the irradiation surface 60 as viewed from the opposite side to the side where the light receiving unit 5 receives light.
[0023] The light receiving unit 5 extends in the x and y directions and has a light receiving surface 50 on which a plurality of light receiving elements (not shown) are arranged. The light receiving unit 5 receives light emitted from the light emitting unit 4 and reflected by an object present on the irradiation surface 60, by each of the light receiving elements. A central axis Bx (two-dot chain line) passing through a center 60C of the irradiation surface 60 and a center 50C of the light-receiving surface 50 is perpendicular to the irradiation surface 60 and the light-receiving surface 50. In this embodiment, the light-receiving surface 50 has a rectangular shape, similar to the light-emitting surface 40 (see FIG. 2) and the irradiation surface 60.
[0024] The light receiving surface 50 is divided into a plurality of light receiving sections 51 corresponding to the light emitting sections 41 (see FIG. 2) of the light emitting surface 40 (see FIG. 2) and the irradiation sections 61 of the irradiation surface 60. In the example of FIG. 4, the light receiving surface 50 is divided into 12 light receiving sections 51, arranged in groups of four in the x direction and three in the y direction. When it is necessary to distinguish between the light receiving sections 51, they are distinguished as light receiving sections C1 to C12 in order from the upper left side in FIG. 4 (the ends in the +x direction and the +y direction). In addition, a light-receiving section Ci to which the same number i is assigned to a certain light-emitting section Ai or an irradiation section Bi may be called a "corresponding light-receiving section." For example, a light-receiving section C1 is a light-receiving section corresponding to a light-emitting section A1 or an irradiation section B1. Conversely, a light-emitting section Ai to which the same number is assigned to a certain light-receiving section Ci may be called a "corresponding light-emitting section," and an irradiation section Bi to which the same number is assigned to a certain light-receiving section Ci may be called a "corresponding irradiation section."
[0025] The light receiving sections C1 to C12 are arranged symmetrically with the irradiation sections B1 to B12 with respect to the xy plane. For example, in FIG. 4, the irradiation sections B1, B2, B3, and B4 are arranged in this order in the -x direction, and the light receiving sections C1, C2, C3, and C4 are arranged in this order in the -x direction. Each light receiving section 51 receives light emitted from the light emitting section 4 and reflected by an object present in the corresponding irradiation section 61 .
[0026] Each light receiving section 51 has a plurality of light receiving elements arranged regularly. Each light receiving element receives light emitted from the light emitting unit 4 and reflected by an object present on the irradiation surface 60, and can output an electrical signal in accordance with the received light. Examples of light receiving elements include photodiodes and phototransistors.
[0027] Each light-receiving section 51 is independently driven by a light-receiving drive unit 7 (see FIG. 1) to perform light-receiving operation. Driving the light-receiving section 51 here means that the light-receiving section 51 is put into a state in which it is possible to accumulate charge in response to light reception by the light-receiving element, and the light-receiving operation means that the light-receiving element of the light-receiving section 51 accumulates charge in response to light reception. Additionally, "independently driven" means that each light-receiving section 51 is driven separately to a state in which it is possible to accumulate charge in response to light reception. The light-receiving drive unit 7 drives each light-receiving section 51 in response to a control signal from a control unit 8 (see FIG. 1). In addition, in response to a read operation by the control unit 8 (details will be described later), the light receiving unit 5 outputs to the control unit 8 an electrical signal corresponding to the charge accumulated in the light receiving section 51, i.e., the result of light reception in the light receiving section 51.
[0028] (Control unit 8) Returning to FIG. 1, the control unit 8 is made up of a CPU (Central Processing Unit) 81, a ROM (Read Only Memory) 82, and a RAM (Random Access Memory) 83. The CPU 81 is an example of a processor, and realizes various functions described below by loading various programs stored in the ROM 82 or the like into the RAM 83 and executing them. The RAM 83 is a memory used as a working memory or the like for the CPU 81. The ROM 82 is a memory that stores various programs executed by the CPU 81.
[0029] Here, the program executed by the CPU 81 may be provided in a state stored in a computer-readable recording medium such as a magnetic recording medium (such as a magnetic tape or a magnetic disk), an optical recording medium (such as an optical disk), a magneto-optical recording medium, a semiconductor memory, etc. Furthermore, the program executed by the CPU 81 may be provided using a communication means such as the Internet.
[0030] In addition, in this embodiment, the term "processor" refers to a processor in a broad sense, and includes general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.). In addition, the operations of the processor in this embodiment may be performed not only by one processor, but also by multiple processors located at physically separate locations working together. The order of the operations of the processor is not limited to the order described in this embodiment, and may be changed.
[0031] The control unit 8 controls the light emitting operation of the light emitting unit 4 through the light emitting drive unit 6, and controls the light receiving operation of the light receiving unit 5 through the light receiving drive unit . The control unit 8 also performs a read operation on the light receiving unit 5 through the light receiving drive unit 7. Here, the "read operation" refers to the control unit 8 controlling the light receiving unit 5 through the light receiving drive unit 7 to output an electrical signal corresponding to the result of light reception by the light receiving elements in the light receiving section 51, and acquiring the result of light reception for each light receiving section 51. Note that the control unit 8 according to this embodiment can perform a read operation independently for each light receiving section 51. For example, when a certain light receiving section Ci and another light receiving section Cj perform a light receiving operation and accumulate electric charges, it is possible to perform not only a read operation on both the light receiving section Ci and the light receiving section Cj, but also a read operation only on the light receiving section Ci.
[0032] Generally, in the indirect ToF method, light is received at multiple phase differences with respect to emitted light, and the difference between the phase of the emitted light and the phase of the received light is calculated from the results of receiving light at each phase difference to measure distance. Generally, light is received multiple times for one phase difference to suppress deterioration of distance measurement accuracy due to external light (ambient light). Therefore, when receiving light k times at each of n phase differences φ (φ1, φ2, ..., φn), the emission of light, receiving light at a certain phase difference φ, and reading out the results of receiving light are repeated n x k times. The distance measuring device 1 to which this embodiment is applied performs distance measurement based on the indirect ToF method from the results of two light receptions at two phase differences φ of 0 degrees and 180 degrees with respect to the emission of light. Therefore, in the distance measuring device 1, when measuring the distance of a certain irradiation section Bi, for example, the light emission operation in the corresponding light emission section Ai, the light reception operation in the corresponding light reception section Ci, and the read operation for the light reception section Ci by the control unit 8 are repeated four times each. More specifically, in the distance measuring device 1, four light emission operations in each light emission section 41, four light reception operations in each light reception section 51, and four read operations for each light reception section 51 are performed according to a predetermined operation pattern. The predetermined operation pattern will be described in detail later with reference to FIG. 8.
[0033] The control unit 8 performs distance measurement for each irradiation section 61 based on the result of light reception in each light receiving section 51. Then, the control unit 8 collects the results of distance measurement for each irradiation section 61 and creates a distance image showing the distance between the distance measuring device 1 and the object. More specifically, the control unit 8 performs a predetermined arithmetic process on four electrical signals acquired from the light receiving unit 5 as a result of four light receptions in each light receiving section 51, thereby calculating (measuring) the distance between the distance measuring device 1 and the object in each irradiation section 61 of the irradiation surface 60 and creating a distance image.
[0034] <Distance image 100> Figure 5 is a diagram explaining the distance image 100 in this embodiment, where (a) is a diagram showing the positional relationship between the distance measuring device 1 and the objects S1 and S2, (b) is a diagram showing the state of the irradiation surface 60, and (c) is a diagram showing an example of the distance image 100 created by the control unit 8. Distance image 100 shown in Fig. 5(c) is created as a result of performing distance measurement for all irradiation sections 61 on irradiation surface 60. In the example of Fig. 5, objects S1 and S2 (sometimes referred to as object S without distinction) are stationary and do not change position relative to distance measuring device 1 at least from the start to the completion of distance measurement required for creating distance image 100 in distance measuring device 1.
[0035] As shown in Fig. 5(c), distance image 100 has a number of image sections 101 corresponding to light-emitting section 41 of light-emitting surface 40, irradiation section 61 of irradiation surface 60, and light-receiving section 51 of light-receiving surface 50 (see Figs. 2 and 4). In the example of Fig. 5(c), distance image 100 has 12 image sections 101, four arranged in the left-right direction of the figure corresponding to the ±x directions of irradiation surface 60 and light-receiving surface 50, and three arranged in the up-down direction of the figure corresponding to the ±y directions. When it is necessary to distinguish between the image sections 101, they are distinguished as image sections D1 to D12 starting from the upper left in Fig. 5(c). The image section Di in the distance image 100 is an image obtained based on light emitted from the light-emitting section Ai of the light-emitting surface 40, reflected by the object at the irradiation section Bi of the irradiation surface 60, and received by the light-receiving section Ci of the light-receiving surface 50. Note that an image section Di to which the same number i is assigned to the light-emitting section Ai, the irradiation section Bi, and the light-receiving section Ci may be called a "corresponding image section." Conversely, a light-emitting section Ai to which the same number i is assigned to the image section Di may be called a "corresponding light-emitting section," an irradiation section Bi to which the same number i is assigned to the image section Di may be called a "corresponding irradiation section," and a light-receiving section Ci to which the same number is assigned to the image section Di may be called a "corresponding light-receiving section."
[0036] Each image section 101 of distance image 100 has a plurality of pixels (not shown) corresponding to a plurality of light receiving elements of the corresponding light receiving section 51. In distance image 100, the pixel value of each pixel of image section 101 corresponds to the distance from distance measuring device 1 to the object, calculated from the electrical signal from each light receiving element of light receiving section 51.
[0037] In the example shown in Fig. 5(a), objects S1 and S2 are present at a certain distance away from the distance measuring device 1. As shown in Fig. 5(b), the object S1 in this example is present in a range that spans the irradiation sections B1, B5, and B9 of the irradiation surface 60, and the object S2 is present in a range that spans the irradiation sections B2 and B6. In addition, the distance from the distance measuring device 1 to the object S1 (e.g., about 1 m) is smaller than the distance from the distance measuring device 1 to the object S2 (e.g., about 3 m).
[0038] 5(c), in the distance image 100, an image S1' representing the object S1 and an image S2' representing the object S2 (sometimes referred to as image S' without distinction) are depicted by pixels contained in each image section 101. More specifically, the image S1' is depicted across the image sections D1, D5, and D9 of the distance image 100 corresponding to the irradiation sections B1, B5, and B9, and the image S2' is depicted across the image sections D2 and D6 of the distance image 100 corresponding to the irradiation sections B2 and B6. In this example, information regarding the distance from the distance measuring device 1 to the object S1 and the distance from the distance measuring device 1 to the object S2 can be obtained from the pixel values (represented by shading in the figure) of the pixels that make up the images S1' and S2' in the distance image 100.
[0039] Note that distance image 100 includes information on the distance between each point on the surface of object S and distance measuring device 1, and therefore can be considered to include information on the three-dimensional shape of object S. Therefore, distance measuring device 1 to which this embodiment is applied can also be used for three-dimensional measurement.
[0040] <Operation pattern> Incidentally, in the case where each light-emitting section 41 of the light-emitting unit 4 performs four light-emitting operations like the distance measuring device 1, four light-emitting periods are provided. Note that the four light-emitting periods are an example of a predetermined number of light-emitting periods (planned number of times) in this embodiment. In such a distance measuring device, when a light emission period of another light emission section Aj is set after four light emission periods in a light emission section Ai, if the interval between the light emission periods of the light emission sections Ai is lengthened, for example to reduce the effects of heat generation due to light emission (details will be described later), the time until the four light emission periods are completed in all light emission sections 41 will be longer.
[0041] Here, the light emitting operation of the light emitting sections 41 during the light emitting period will be described in more detail with reference to Fig. 15. Fig. 15(a) and (b) are diagrams for explaining an example of the light emitting operation of each light emitting section 41 (see Fig. 2 and Fig. 3) during one light emitting period. Fig. 15 shows an example of the light emitting operation by two light emitting sections A1 and A2 out of the multiple light emitting sections 41. Each light-emitting section 41 according to the present embodiment is driven by the light-emitting drive unit 6 (see FIG. 1) as a light-emitting operation, and emits light by making the VCSEL emit pulses many times during the light-emitting period, and irradiates the corresponding irradiation section 61. More specifically, as shown in FIG. 15(a) and FIG. 15(b), each of the light-emitting periods (indicated by reference numerals 911 to 914) of the light-emitting section A1 is composed of many pulses 900. Similarly, each of the light-emitting periods (indicated by reference numerals 921 to 924) of the light-emitting section A2 is composed of many pulses 900. The number of pulses 900 constituting one light-emitting period varies depending on the length of the light-emitting period and the width of the pulses 900, but can be exemplified as about several tens to several hundreds. The light-emitting section 41 according to the present embodiment emits pulses 10,000 times during one light-emitting period. The number of pulses may be changed depending on the accuracy of distance measurement required for the distance measuring device 1, the performance of the device, and the like, but is preferably at least 500 times or more.
[0042] For example, as shown in Fig. 15(a), each light-emitting section 41 can perform a light-emitting operation so that the light-emitting period (e.g., light-emitting period 921) of one light-emitting section 41 (e.g., light-emitting section A1) is included between the light-emitting periods (e.g., light-emitting periods 911, 912) of another light-emitting section 41 (e.g., light-emitting section A2). Also, for example, each light-emitting section 41 can perform a light-emitting operation so that the pulse 900 constituting the light-emitting period (light-emitting period 921) of the other light-emitting section 41 (light-emitting section A2) is included between the pulses 900 constituting the light-emitting period (light-emitting period 911) of one light-emitting section 41 (light-emitting section A1) as shown in Fig. 15(b).
[0043] Hereinafter, an operation pattern of a comparative example to which this embodiment is not applied and an operation pattern of the distance measuring device 1 to which this embodiment is applied will be described, taking as an example a case in which the light emission period of each light emission section 41 is 500 μs (microseconds). That is, as a light emission operation, each light emission section 41 is driven by the light emission drive unit 6 (see FIG. 1) to emit light by making the VCSEL emit light for 500 μs, and irradiates the corresponding irradiation section 61. More specifically, as described above with reference to FIG. 15, the light emission section 41 according to this embodiment emits pulse light 10,000 times during one light emission period of 500 μs, and irradiates the corresponding irradiation section 61. Note that the light emission period is not limited to 500 μs, but is determined in advance according to the amount of light required to ensure the accuracy of distance measurement, etc.
[0044] FIG. 6 is a diagram showing an operation pattern 701 of the comparative example. FIG. 7 is a diagram showing a first operation pattern 801 of the distance measuring device 1 to which this embodiment is applied. 6 and 7, the operation patterns 701 and 801 are shown divided into two stages (front and back stages). Also, in Fig. 6, a part of the operation pattern 701, between the front and back stages, is omitted.
[0045] 6 and 7, the "Time" item in the first row indicates the time elapsed since the distance measuring device started the distance measuring operation, and time passes as one moves to the right in the figure (to the right column). The numbers written in each column indicate the elapsed time using the number of unit times u. The unit time used is the time equivalent to the light emitting period of each light emitting section 41, which is 500 μs in this example. 6 and 7, the items "B1" to "B12" in the second to thirteenth rows indicate which irradiation section 61 the operation is related to distance measurement, using the code Bi (i=1 to 12) (see Figs. 2 and 4) of the irradiation section. That is, the cell where the column of time u intersects with the row of the irradiation section Bi indicates the operation related to distance measurement of the irradiation section Bi at the time when unit time x u has elapsed since the distance measurement device started the operation related to distance measurement.
[0046] 6 and 7, a cell with shading H1 (see legend at right edge of drawing) indicates that the corresponding light-emitting section Ai is performing a light-emitting operation and the corresponding light-receiving section Ci is performing a light-receiving operation. That is, a cell with shading H1 corresponds to a light-emitting period in the corresponding light-emitting section Ai. A cell with shading H2 (see legend) indicates that the control unit 8 is performing a readout operation for the corresponding light-receiving section Ci. Note that in the distance measuring device 1 to which this embodiment is applied, the control unit 8 will be described as taking 500 μs, which is one unit time, to perform a readout operation for the light-receiving section 51.
[0047] Here, when multiple light emission periods are provided for the light emission section 41, a non-light emission period in which the light emission section 41 does not emit light is provided between one light emission period and the next light emission period. If this non-light emission period is too short, the temperature of the light emission section 41 may become too high due to heat generated by the light emission of the VCSEL, which may have an effect such as a decrease in the light output and a decrease in the lifespan of the VCSEL. For this reason, the non-light emission period of the light emission section 41 is provided so as to include a predetermined cooling period to suppress the effect of heat generated by the light emission. Here, an example will be described in which the cooling period is 1500 μs (= 3 unit times of 500 μs). Note that the length of the cooling period is not limited, as it is determined according to the length of the light emission period of the VCSEL and the heat dissipation efficiency of the light emission section 41, etc. 6 and 7, the cells shaded with H3 (see legend) indicate the non-light-emitting period of the corresponding light-emitting section Ai, which is a period secured as a cooling period. Note that it is also possible to provide a period of readout operation by the control unit 8 and a cooling period in parallel, and in that case, the shaded area H2 is given priority.
[0048] First, the operation pattern 701 of the comparative example shown in FIG. 6 will be described in detail. In the operation pattern 701 of the comparative example, the operation related to distance measurement of a certain irradiation section Bi is completed, and then the operation related to distance measurement of the next irradiation section Bj (j=i+1) is started. Here, the completion of the operation related to distance measurement of the irradiation section Bi means that the scheduled number of four light emission operations and light reception operations and the readout operations corresponding to each light reception operation are completed, and the data required for distance measurement of the irradiation section Bi is obtained.
[0049] More specifically, at time u=1 of the operation pattern 701 of the comparative example, a light emitting operation is performed in the light emitting section A1 corresponding to the irradiation section B1, and a first light receiving operation with a phase difference φ=0 degrees is performed in the corresponding light receiving section C1. Next, at time u=2, the control unit 8 performs a read operation on the light receiving section C1, and 1 / 3 (one unit time) of the cooling period of the light emitting section A1 passes. Furthermore, at times u=3 and u=4, the remaining 2 / 3 (two unit times) of the cooling period of the light emitting section A1 passes. At times u=2 to 4, a predetermined cooling period (three unit times) passes, so at time u=5, a light emitting operation is performed in the light emitting section A1, and a second light receiving operation with a phase difference φ=0 degrees is performed in the light receiving section C1. At times u=6 to 8, the control unit 8 performs a read operation, as in times u=2 to 4, and the cooling period of the light emitting section A1 passes. Similarly, at times u=9 to u=12, the light emitting section A1 emits light, the light receiving section C1 receives light with a phase difference φ=180 degrees, and the control unit 8 reads out the data, and the cooling period of the light emitting section A1 elapses. At time u=13, the light emitting section A1 emits light, and the light receiving section C1 receives light with a second phase difference φ=180 degrees, and at time u=14, the control unit 8 reads out the data, completing the operation of measuring the distance of the irradiation section B1. The subsequent operations of measuring the distance of the irradiation sections B2 to B12 are performed in the same manner as the operation of measuring the distance of the irradiation section B1, and at time u=168, the control unit 8 performs a fourth readout operation on the light receiving section C12 corresponding to the last irradiation section B12, completing the measurement of the distances of all the irradiation sections 61 (B1 to B12).
[0050] In this way, in the operation pattern 701 of the comparative example, the operation related to distance measurement of the next irradiation section Bj (j=i+1) is started after the operation related to distance measurement of the irradiation section Bi is completed. Then, when the operation related to distance measurement of the last irradiation section B12 is completed, distance measurement of all irradiation sections 61 is completed, and data necessary for the control unit 8 to create the distance image 100 is collected. As shown in Fig. 6, in the operation pattern 701 of the comparative example, the time until distance measurement of all irradiation sections 61 is completed is unit time u x 168 (=84.0 ms). In the operation pattern 701 of the comparative example, after four light emitting periods in the light emitting section Ai, a light emitting period in another light emitting section Aj (j=i+1) is provided. As shown in Fig. 6, in the operation pattern 701 of the comparative example, the time until the scheduled number of four light emitting periods in all the light emitting sections 41 is completed is unit time u x 167 (=83.5 ms).
[0051] Next, a first operation pattern 801 of the distance measuring device 1 to which this embodiment is applied, shown in FIG. 7, will be described in detail. In the first operation pattern 801, when the operation related to distance measurement of a certain irradiation section Bi is not completed, the operation related to distance measurement of the next irradiation section Bj (j=i+1) is started. More specifically, the next light-emitting section Aj (j=i+1) has a light-emitting period during the non-light-emitting period of the light-emitting section Ai between the light-emitting period of the light-emitting section Ai corresponding to a certain irradiation section Bi and the next light-emitting period. In this example, the light-emitting section Ai is an example of the first light-emitting section, and the light-emitting section Aj is an example of the second light-emitting section.
[0052] 7, at time u=1 of the first operation pattern 801, a light emitting operation is performed in the light emitting section A1 corresponding to the irradiation section B1, and a light receiving operation is performed in the corresponding light receiving section C1 with a phase difference of φ=0 degrees. Next, at time u=2, 1 / 3 (one unit time) of the cooling period of the light emitting section A1 has elapsed, and a light emitting operation is performed in the light emitting section A2 corresponding to the irradiation section B2, and a light receiving operation is performed in the corresponding light receiving section C2 with a phase difference of φ=0 degrees. Furthermore, at time u=3, 1 / 3 of the cooling period of the light emitting section A1 and the light emitting section A2 has elapsed, and a light emitting operation is performed in the light emitting section A3 corresponding to the irradiation section B3, and a light receiving operation is performed in the corresponding light receiving section C3 with a phase difference of φ=0 degrees. This is repeated until, at time u=12, the light emitting section A12 corresponding to the last irradiation section B12 performs a light emitting operation and the corresponding light receiving section C12 performs a light receiving operation with a phase difference φ=0 degrees. At time u=13, 1 / 3 of the cooling period of the light emitting sections A10, A11, and A12 that have not yet completed the cooling period has elapsed, and the control unit 8 performs a readout operation for all the light receiving sections 51 (C1 to C12). As a result, the control unit 8 obtains the results of the first light receiving with a phase difference φ=0 degrees for all the irradiation sections 61. Then, from time u=14 onwards, the results of the second light receiving with a phase difference φ=0 degrees, the results of the first light receiving with a phase difference φ=180 degrees, and the results of the second light receiving with a phase difference φ=180 degrees are obtained in the same manner. Then, at time u=52, the control unit 8 performs a total of a fourth readout operation on the light-receiving sections C1 to C12, thereby completing distance measurement for all of the irradiation sections 61 (B1 to B12). 7, the light emitting operations of the light emitting sections A1 to A12 are performed in numerical order, but the order in which the light emitting operations are performed is not limited to this. Similarly, the order can be changed in other operation patterns as well.
[0053] As described above, in the first operation pattern 801, after the light emitting operation of the light emitting section Ai and the light receiving operation of the light receiving section Ci, the light emitting operation of the next light emitting section Aj and the light receiving operation of the light receiving section Cj are performed, and after one light receiving operation is completed for all the irradiation sections 61, the read operation is performed for all the light receiving sections 51. This is repeated four times, and when the read operation of the result of the fourth light receiving is completed, the distance measurement of all the irradiation sections 61 is completed, and the data required for the control unit 8 to create the distance image 100 (see FIG. 5(c)) is obtained. As shown in FIG. 7, in the first operation pattern 801, the time until the distance measurement of all the irradiation sections 61 is completed is unit time u×52 (=26.0 ms). In the first operating pattern 801, after four light emitting periods in the light emitting section Ai, a light emitting period in another light emitting section Aj (j=i+1) is provided. As shown in Fig. 7, in the first operating pattern 801, the time required for the scheduled number of four light emitting periods in all light emitting sections 41 to be completed is unit time u x 51 (=25.5 ms).
[0054] In this way, in the first operation pattern, the time (25.5 ms) until the scheduled number of light emitting periods in all light emitting sections 41 is completed is shorter than that (83.5 ms) in the operation pattern 701 of the comparative example. Furthermore, in the first operation pattern, the time required to complete distance measurement for all irradiation sections 61 (26.0 ms) is shorter than that required for the operation pattern 701 of the comparative example (84.0 ms). As a result, in the distance measuring device 1 operating according to the first operation pattern 801, the time required for the control unit 8 to create one distance image 100 is shorter than that required for the distance measuring device operating according to the operation pattern 701 of the comparative example.
[0055] In the distance measuring device 1, the distance images 100 shown in Fig. 5(c) may be continuously created and arranged in chronological order to create a video (sometimes called a "distance video") showing distance measurement results over time. By using such a distance video, for example, it is possible to track the change in distance (position) over time of a moving object S, calculate the moving speed, monitor the moving pattern, and so on. The distance video is created with one distance image 100 as one frame, and has a frame rate corresponding to the number of distance images 100 created per unit time. As described above, in the distance measuring device operating according to the operation pattern 701 of the comparative example, the time until distance measuring of all irradiation sections 61 is completed is 84.0 ms, so the frame rate of the distance video is 12 fps (frames per second) at most. On the other hand, in the distance measuring device 1 operating according to the first operation pattern 801, the time until distance measuring of all irradiation sections 61 is completed is 26.0 ms, so the frame rate of the distance video is improved to a maximum of 38 fps. Therefore, it can be used to track an object S that moves at a higher speed.
[0056] Next, examples of other operation patterns of the distance measuring device 1 to which this embodiment is applied will be described. In addition, in Fig. 8 to Fig. 14 described below, the contents indicated by each item in the 1st to 13th lines and the hatched areas H1 to H3 are the same as the corresponding notations in Fig. 7. In each figure, the operation pattern may be described divided into two stages (front stage and back stage). Furthermore, each operation pattern will be described using an example in which the light emission period of each light-emitting section 41 is 500 μs and the cooling period is 1500 μs, similar to the first operation pattern 801 described using Fig. 7.
[0057] FIG. 8 is a diagram showing a second operation pattern 802 of the distance measuring device 1 to which this embodiment is applied. In the second operation pattern 802, the irradiation sections 61 and the corresponding light-emitting sections 41 and light-receiving sections 51 are divided into a plurality of groups, and the operation of the distance measuring device 1 is determined based on this grouping. As shown in the figure, the irradiation sections B1 to B3 belong to group G1, the irradiation sections B4 to B6 belong to group G2, the irradiation sections B7 to B9 belong to group G3, and the irradiation sections B10 to B12 belong to group G4. Also, each light-emitting section Ai and each light-receiving section Ci belong to the same group as the corresponding irradiation section Bi. Note that, although FIG. 8 illustrates an example in which three irradiation sections 61 and three corresponding light-emitting sections 41 and light-receiving sections 51 belong to each group, this is not limited. The groups may be divided according to the number of light-emitting sections 41 provided in the light-emitting unit 4 (see FIG. 2) and the performance to be prioritized (described later using FIG. 12). Hereinafter, these groups G1 to G4 may be referred to as group G without distinction.
[0058] 8, after the operation related to distance measurement of group Gi is completed, the operation related to distance measurement of group Gj (j=i+1) is started. From the viewpoint of light emission operation, a light emission period of light emission section Aj (j≠i) belonging to the same group Gi is provided during a non-light emission period of light emission section Ai belonging to group Gi, and a light emission period of light emission section Ak (k≠i,j) belonging to group Gj is provided after the planned number of light emission periods of four times in light emission sections Ai, Aj belonging to group Gi. In this example, light emission section Ai is an example of a first light emission section, light emission section Aj is an example of a second light emission section, group Gi is an example of one group of light emission sections, and group Gj is an example of another group of light emission sections.
[0059] As shown in the figure, in the second operation pattern 802, at time u=1, the light-emitting section A1 corresponding to the irradiation section B1 performs a light-emitting operation, and the corresponding light-receiving section C1 performs a first light-receiving operation with a phase difference φ=0 degrees. At time u=2, the light-emitting section A2 corresponding to the irradiation section B2 performs a light-emitting operation, and the corresponding light-receiving section C2 performs a light-receiving operation. At time u=3, the light-emitting section A3 corresponding to the irradiation section B3 performs a light-emitting operation, and the corresponding light-receiving section C3 performs a light-receiving operation. Then, at time u=4, the control unit 8 performs a readout operation for each of the light-receiving sections C1 to C3. As a result, the distance measuring device 1 (control unit 8) obtains the results of the first light-receiving operation with a phase difference φ=0 degrees in the irradiation sections B1 to B3 belonging to the group G1. That is, the control unit 8 in the second operation pattern 802 obtains the results of light reception by the light-receiving sections C1 to C3 from the start of the light-emitting period of the first light-emitting section A1 to the end of the light-emitting period of the last light-emitting section A3 after all the light-emitting sections A1 to A3 belonging to the group G1 have completed their light-emitting periods once each. Note that the cooling period of the light-emitting section A1 is ensured at time u=2 to 4, the cooling period of the light-emitting section A2 is ensured at time u=3 to 5, and the cooling period of the light-emitting section A1 is ensured at time u=4 to 6. Similarly, the results of the second light reception at a phase difference of φ=0 degrees are obtained at time u=5 to 8, the results of the first light reception at a phase difference of φ=180 degrees are obtained at time u=9 to 12, and the results of the second light reception at a phase difference of φ=180 degrees are obtained at time u=13 to 16. In this way, at time u=1-16, four light emitting operations are performed in the light emitting sections A1-A3 corresponding to the irradiation sections B1-B3 of group G1, four light receiving operations are performed in the corresponding light receiving sections C1-C3, and four readout operations are performed for the light receiving sections C1-C3 by the control unit 8. In other words, at time u=16, the planned four light emitting operations, light receiving operations, and readout operations are completed for all the irradiation sections B1-B3 belonging to group G1, and the operations related to distance measurement for group G1 are completed.
[0060] When the operation related to the distance measurement of the group G1 is completed, at time u=17, the light-emitting section A4 corresponding to the irradiation section B4 performs a light-emitting operation, and the corresponding light-receiving section C4 performs a first light-receiving operation with a phase difference φ=0 degrees, thereby starting the operation related to the distance measurement of the group G2. Then, as with the group G1, the light-emitting sections A4 to A6 belonging to the group G2 perform a planned number of four light-emitting operations, the light-receiving sections C4 to C6 perform a planned number of four light-receiving operations, and the control unit 8 performs four readout operations, and the operation related to the distance measurement of the group G2 is completed at time u=32. Similarly, the operation related to the distance measurement of the group G3 is performed at time u=33 to 48, and the operation related to the distance measurement of the group G4 is performed at time u=49 to 64. Thus, in the second operation pattern 802, the distance measurement of all the irradiation sections 61 (B1 to B12) is completed.
[0061] In this way, in the second operation pattern 802, the fourth read operation in the last group G4 is performed, and thus the distance measurement of all the irradiation sections 61 is completed, and the data required for the control unit 8 to create the distance image 100 (see FIG. 5(c)) is obtained. As shown in FIG. 8, in the second operation pattern 802, the time required for the distance measurement of all the irradiation sections 61 to be completed is unit time u×64 (=32.0 ms). Also, the time required for the light emission period of the planned number of four times in all the light emission sections 41 to be completed is unit time u×63 (=31.5 ms). That is, even when the second operation pattern 802 is applied, the time required for the light emission period of the planned number of times in all the light emission sections 41 to be completed (31.5 ms) is shorter than that of the operation pattern 701 of the comparative example (83.5 ms). Also, the time required for the distance measurement of all the irradiation sections 61 to be completed (32.0 ms) is shorter than that of the operation pattern 701 of the comparative example (84.0 ms). As a result, even in the distance measuring device 1 operating according to the second operation pattern 802, the time required by the control unit 8 to create one distance image 100 is shorter than in the distance measuring device operating according to the comparative example operation pattern 701. In addition, in the distance measuring device 1 operating according to the second operation pattern 802, the frame rate of the distance video is improved to a maximum of 31 fps.
[0062] Here, when the object S (see FIG. 5(a)) is a moving object, if the interval between the light emission and light reception of a certain irradiation section 61 of the distance measuring device 1 and the next light emission and light reception (sometimes called the "distance measurement interval") is large, the effect of motion artifacts may become large. More specifically, if the interval between the first light emission of the light emission section 41 and the first light reception of the light reception section 51 corresponding to a certain irradiation section 61 and the second light emission of the same light emission section 41 and the second light reception of the light reception section 51 is large, the movement of the object S during that interval becomes large, resulting in a large difference between the result of the first light reception and the result of the second light reception. This difference in the result of light reception affects the result of distance measurement as a motion artifact, and may cause a large error in the distance to the object S, or may cause the image S' to be depicted in a shape different from the actual object S in the distance image 100 (see FIG. 5(c)), resulting in a decrease in the accuracy of distance measurement.
[0063] 7, in the first operation pattern 801, for example, the first light emitting operation and light receiving operation for the irradiation section B1 are performed at time u=1, and the second light emitting operation and light receiving operation are performed at time u=14. That is, in the distance measuring device 1 operating according to the first operation pattern 801, the distance measuring interval is 12 unit times (6.0 ms). In contrast, in the second operation pattern 802, for example, the first light emitting operation and light receiving operation for the irradiation section B1 are performed at time u = 1, and the second light emitting operation and light receiving operation are performed at time u = 5. That is, in the distance measuring device 1 operating according to the second operation pattern 802, the distance measuring interval is three unit times (1.5 ms), and the influence of motion artifacts can be reduced compared to when operating according to the first operation pattern 801.
[0064] FIG. 9 is a diagram showing a third operation pattern 803 of the distance measuring device 1 to which this embodiment is applied. In the first operation pattern 801 and the second operation pattern 802 described with reference to FIG. 7 and FIG. 8, the operation pattern is defined so that the read operation of the control unit 8 for the light receiving section Ci, the light emitting operation of the light emitting section Aj (j≠i) and the light receiving operation of the light receiving section Ci are not performed in parallel. In contrast, in the third operation pattern 803 shown in FIG. 9, the read operation of the control unit 8 for the light receiving section Ci, the light emitting operation of the light emitting section Aj (j≠i) and the light receiving operation of the light receiving section Cj are allowed to be performed in parallel. More specifically, in the third operation pattern 803, during the period in which the control unit 8 performs the read operation for the light receiving section Ci and obtains the result of light reception in the light receiving section Ci, the light emitting section Aj (j≠i) performs the light emitting operation and has a light emitting period. In this example, the light emitting section Ai is an example of the first light emitting section, and the light emitting section Aj is an example of the second light emitting section. In the third operation pattern 803, the irradiation sections B1 to B4 belong to group G1, the irradiation sections B5 to B8 belong to group G2, and the irradiation sections B9 to B12 belong to group G3, and the operation of the distance measuring device 1 is determined based on the grouping. Also, the light emitting sections A1 to A12 and the light receiving sections C1 to C12 each belong to the same group as the corresponding irradiation section 61. Hereinafter, these groups G1 to G3 may be referred to as group G without distinction.
[0065] As shown in the figure, in the third operation pattern 803, at time u=1, the light-emitting section A1 corresponding to the irradiation section B1 performs a light-emitting operation, and the corresponding light-receiving section C1 performs a first light-receiving operation with a phase difference φ=0 degrees. Also, at time u=2, in parallel with the readout operation of the control unit 8 for the light-receiving section C1, the light-emitting section A2 corresponding to the irradiation section B2 performs a light-emitting operation, and the corresponding light-receiving section C2 performs a light-receiving operation. Furthermore, at time u=3, in parallel with the readout operation of the control unit 8 for the light-receiving section C2, the light-emitting section A3 corresponding to the irradiation section B3 performs a light-emitting operation, and the corresponding light-receiving section C3 performs a light-receiving operation. Furthermore, at time u=4, in parallel with the readout operation of the control unit 8 for the light-receiving section C3, the light-emitting section A4 corresponding to the irradiation section B4 performs a light-emitting operation, and the corresponding light-receiving section C4 performs a light-receiving operation. Then, at time u=5, in parallel with the readout operation for the light-receiving section C4 by the control unit 8, the light-emitting section A1 performs a light-emitting operation, and the light-receiving section C1 performs a second light-receiving operation with a phase difference φ=0 degrees. As a result, the distance measuring device 1 (control unit 8) obtains the result of the first light-receiving operation with a phase difference φ=0 degrees in the irradiation sections B1 to B4, and starts an operation related to the second distance measurement with a phase difference φ=0 degrees. By repeating this, at times u=1 to 17, four light-emitting operations are performed in the light-emitting sections A1 to A4 corresponding to the irradiation sections B1 to B4 of the group G1, four light-receiving operations are performed in the corresponding light-receiving sections C1 to C4, and four readout operations are performed by the control unit 8 for the light-receiving sections C1 to C4. In other words, at time u=17, the planned number of four light-emitting operations, light-receiving operations, and readout operations are completed for all the irradiation sections B1 to B4 belonging to the group G1, and the operation related to the distance measurement for the group G1 is completed.
[0066] Also, at time u=17, in parallel with the fourth readout operation for the light-receiving section C4 of the control unit 8, the light-emitting section A5 corresponding to the irradiation section B5 performs a light-emitting operation, and the corresponding light-receiving section C5 performs a first light-receiving operation with a phase difference φ=0 degrees, thereby starting the operation related to distance measurement for the group G2. Then, as with the group G1, the light-emitting sections A5 to A8 belonging to the group G2 perform the scheduled number of four light-emitting operations, the light-receiving sections C5 to C8 perform four light-receiving operations, and the control unit 8 performs four readout operations for the light-receiving sections C5 to C8, and the operation related to distance measurement for the group G2 is completed at time u=33. Similarly, the operation related to distance measurement for the group G3 is performed at times u=34 to u=49. Thus, in the third operation pattern 803, distance measurement for all the irradiation sections 61 (B1 to B12) is completed.
[0067] As shown in FIG. 9, in the third operation pattern 803, the time required to complete distance measurement of all irradiation sections 61 is unit time u×49 (=24.5 ms), which is shorter than the operation pattern 701 (84.0 ms) of the comparative example. In addition, the time required to complete the scheduled number of four light emission periods in all light emission sections 41 is unit time u×48 (=24.0 ms), which is shorter than the operation pattern 701 (83.5 ms) of the comparative example. In addition, in the distance measuring device 1 operating according to the third operation pattern 803, the frame rate of the distance video is improved to a maximum of 40 fps. In addition, the distance measurement interval in the third operation pattern 803 is three unit times (1.5 ms), which can reduce the influence of motion artifacts compared to the case of operating according to the first operation pattern 801.
[0068] Here, the adjacency of the light-emitting sections 41 to each other will be described with reference to FIG. 2. As described above, in the light-emitting section 4 according to this embodiment, the 12 light-emitting sections A1 to A12 are arranged in two directions, the x direction (the left-right direction on the paper in FIG. 2) and the y direction (the up-down direction on the paper) perpendicular to the x direction. Adjacent to a certain light-emitting section Ai means that the light-emitting section Ai is arranged in either the x direction or the y direction without sandwiching another light-emitting section 41 therebetween. Therefore, a light-emitting section 41 arranged in the light-emitting section Ai with another light-emitting section 41 therebetween, or a light-emitting section 41 arranged in a diagonal direction on the paper, i.e., in the x direction and the y direction, is not adjacent to the light-emitting section Ai. For example, in the light-emitting section 4 shown in Figure 2, the only light-emitting sections adjacent to light-emitting section A6 are light-emitting section A2 which is aligned in the +y direction relative to light-emitting section A6, light-emitting section A5 which is aligned in the +x direction, light-emitting section A7 which is aligned in the -x direction, and light-emitting section A10 which is aligned in the -y direction; the other light-emitting sections 41 are light-emitting sections 41 that are not adjacent to light-emitting section A6. In the second operation pattern 802 and the third operation pattern 803 illustrated in Fig. 8 and Fig. 9, the light-emitting sections 41 belonging to the same group G are grouped so that they are adjacent to each other. The method of grouping is not limited, and light-emitting sections 41 that are not adjacent to each other, such as light-emitting sections A1, A7, and A12, may belong to the same group G. However, as in the example of Fig. 8 and Fig. 9, when group G is composed of light-emitting sections 41 adjacent to each other, the corresponding irradiation sections 61 are also close to each other. As a result, the planned number of light-emitting operations and light-receiving operations for the irradiation sections 61 that are close to each other are performed in a short time, which contributes to improving the accuracy of distance measurement in the distance measuring device 1.
[0069] FIG. 10 is a diagram showing a fourth operation pattern 804 of the distance measuring device 1 to which this embodiment is applied. In the first operation pattern 801, the second operation pattern 802, and the third operation pattern 803 described with reference to Figs. 7 to 9, the operation patterns are determined so that the light-emitting period of a certain light-emitting section Ai does not overlap with the light-emitting period of another light-emitting section Aj (j ≠ i). In contrast, in the fourth operation pattern 804 shown in Fig. 10, the light-emitting operation is permitted to be performed so that the light-emitting period of a certain light-emitting section Ai overlaps with the light-emitting period of a light-emitting section Ak (k ≠ i) that is not adjacent to the light-emitting section Ai. In this example, the light-emitting section Ai is an example of the first light-emitting section, and the light-emitting section Ak is an example of the third light-emitting section.
[0070] In the fourth operation pattern 804, at time u=1, the light-emitting section A1 corresponding to the irradiation section B1 performs a light-emitting operation, and the corresponding light-receiving section C1 performs a first light-receiving operation with a phase difference φ=0 degrees. At the same time u=1, in parallel, the light-emitting section A3 corresponding to the irradiation section B3 performs a light-emitting operation, and the corresponding light-receiving section C3 performs a first light-receiving operation with a phase difference φ=0 degrees. At time u=2, the light-emitting section A2 corresponding to the irradiation section B2 performs a light-emitting operation, and the corresponding light-receiving section C2 performs a light-receiving operation. At the same time u=2, in parallel, the light-emitting section A4 corresponding to the irradiation section B4 performs a light-emitting operation, and the corresponding light-receiving section C4 performs a light-receiving operation. Similarly, for the combination of the irradiation sections B5 and B7, the combination of the irradiation sections B6 and B8, the combination of the irradiation sections B9 and B11, and the combination of the irradiation sections B10 and B12, the light-emitting operation of the corresponding light-emitting section 41 and the light-receiving operation of the corresponding light-receiving section 51 are performed in parallel. Therefore, in the fourth operation pattern 804, the combination of non-adjacent light-emitting sections A1 and A3, the combination of light-emitting sections A2 and A4, the combination of light-emitting sections A5 and A7, the combination of light-emitting sections A6 and A8, the combination of light-emitting sections A9 and A11, and the combination of light-emitting sections A10 and A12 perform light-emitting operations at the same time u, and the light-emitting periods overlap. Then, at time u=7, the control unit 8 performs a read operation on each of the light-receiving sections C1 to C12 to obtain the results of the first light reception at a phase difference φ=0 degrees for all the irradiation sections 61. Similarly, at times u=8 to 14, the results of the second light reception at a phase difference φ=0 degrees are obtained, at times u=15 to 21, the results of the first light reception at a phase difference φ=180 degrees are obtained, and at times u=22 to 28, the results of the second light reception at a phase difference φ=180 degrees are obtained. Thus, in the fourth operation pattern 804, distance measurement of all the irradiation sections 61 (B1 to B12) is completed.
[0071] As shown in FIG. 10, in the fourth operation pattern 804, the time required to complete distance measurement of all irradiation sections 61 is unit time u×28 (=14.0 ms), which is shorter than the operation pattern 701 (84.0 ms) of the comparative example. In addition, the time required to complete the scheduled number of four light emission periods in all light emission sections 41 is unit time u×27 (=13.5 ms), which is shorter than the operation pattern 701 (83.5 ms) of the comparative example. In addition, in the distance measuring device 1 operating according to the fourth operation pattern 804, the frame rate of the distance video is improved to a maximum of 71 fps. In addition, the distance measurement interval in the fourth operation pattern 804 is unit time 6 (3.0 ms), which can reduce the influence of motion artifacts compared to the case of operating according to the first operation pattern 801.
[0072] Here, unlike the above-mentioned fourth operation pattern 804, it is also possible to set the operation pattern of the distance measuring device 1 so that the light emission period of the light-emitting section Ai overlaps with the light emission period of the adjacent light-emitting section Aj (j ≠ i, k). In this case, as with the fourth operation pattern 804, the time until the distance measurement of all the irradiation sections 61 is completed and the time until the scheduled number of light emission periods in all the light-emitting sections 41 is completed are shortened. However, when the light emission periods of the adjacent light-emitting sections Ai and Aj overlap, the periods during which the corresponding light-receiving sections Ci and Cj perform light receiving operations overlap. As a result, for example, the light emitted by the light-emitting section Ai and reflected by the corresponding irradiation section Bi may be incident not only on the corresponding light-receiving section Ci but also on the adjacent light-receiving section Cj, which may reduce the accuracy of the distance measurement in the light-receiving section Cj. For this reason, it is advisable to set the operation pattern of the distance measuring device 1 so as to allow the light-emitting period of the light-emitting section Ai to overlap with the light-emitting period of the non-adjacent light-emitting section Ak, as in the fourth operation pattern 804, but not allow the light-emitting period of the light-emitting section Ai to overlap with the light-emitting period of the adjacent light-emitting section Aj.
[0073] The combination of light-emitting sections 41 whose light-emitting periods overlap is not limited to the example shown in Fig. 10. For example, the light-emitting periods may overlap in combinations other than those described above, such as the combination of light-emitting sections A1 and A4, or the combination of light-emitting sections A2 and A9. 10, the operation pattern is set so that the light emission periods of any two light emission sections 41 overlap, but there is no limit to the number of light emission sections 41 whose light emission periods overlap. For example, the light emission periods of three or more light emission sections 41 that are not adjacent to each other may overlap. Furthermore, in the example of Figure 10, the operation pattern is set so that the readout operations of all light receiving sections 51 (C1 to C12) are performed at the same time u, but the readout operations may be performed at different times u for some or all of the light receiving sections 51, as in the operation patterns 802 and 803 shown in Figures 8 and 9, for example.
[0074] <Other> (Cooling off period) In the above-mentioned first to fourth operation patterns 801, 802, 803, and 804, the cooling period is three unit times. The length of the cooling period is not limited, and may be shorter or longer than three unit times. The cooling period is not limited to an integer multiple of the unit time. In any case, the operation pattern may be set so that the next light emitting section Aj (j=i+1) has a light emitting period during the non-light emitting period of the light emitting section Ai between the light emitting period of the light emitting section Ai corresponding to a certain irradiation section Bi and the next light emitting period. As an example, a modified example in which the cooling period is four unit times in the second operation pattern 802 will be described.
[0075] FIG. 11 is a diagram showing a modification 802' of the second operation pattern. As shown in the figure, in the modified example 802', the irradiation sections B1 to B4 belong to group G1, the irradiation sections B5 to B8 belong to group G2, and the irradiation sections B9 to B12 belong to group G3, and the operation of the distance measuring device 1 is determined based on the grouping. Also, the light emitting sections A1 to A12 and the light receiving sections C1 to C12 belong to the same group as the corresponding irradiation sections 61, respectively.
[0076] In the modified example 802', the operation of the distance measuring device 1 at times u=1 to 3 is the same as that of the second operation pattern 802. At time u=4, the light-emitting section A4 corresponding to the irradiation section B4 performs a light-emitting operation, and the corresponding light-receiving section C4 performs a light-receiving operation. Then, at time u=5, the control unit 8 performs a readout operation for each of the light-receiving sections C1 to C4. As a result, the distance measuring device 1 (control unit 8) obtains the results of the first light reception at the phase difference φ=0 degrees in the irradiation sections B1 to B4 belonging to the group G1. Note that the cooling period of the light-emitting section A1 is ensured at times u=2 to 5, the cooling period of the light-emitting section A2 is ensured at times u=3 to 6, the cooling period of the light-emitting section A3 is ensured at times u=4 to 7, and the cooling period of the light-emitting section A4 is ensured at times u=5 to 8. Similarly, at times u=6-10, the second light reception result with a phase difference φ=0 degrees is obtained, at times u=11-15, the first light reception result with a phase difference φ=180 degrees is obtained, and at times u=16-20, the second light reception result with a phase difference φ=180 degrees is obtained. In this way, at times u=1-20, four light emission operations are performed in the light emission sections A1-A4 corresponding to the irradiation sections B1-B4 of the group G1, four light reception operations are performed in the corresponding light reception sections C1-C4, and four read operations are performed by the control unit 8 for the light reception sections C1-C4. After the light emission operations of the light emission sections A1-A4, a cooling period of four unit times including the period of the read operation is secured. Thereafter, the operations relating to distance measurement are carried out in the same manner for the other groups G2 and G3.
[0077] As shown in FIG. 11, in the modified example 802′, the time required to complete distance measurement for all irradiation sections 61 is u×60 units (=30.0 ms), which is shorter than the operation pattern 701 (84.0 ms) of the comparative example. Also, the time required to complete the scheduled number of four light emission periods in all light emission sections 41 is u×59 units (=29.5 ms), which is shorter than the operation pattern 701 (83.5 ms) of the comparative example. In addition, in the distance measuring device 1 operating according to the modified example 802′, the frame rate of the distance video is improved to a maximum of 33 fps. Also, the distance measurement interval in the fourth operation pattern 804 is 4 unit times (2.0 ms). In this way, even if the operation pattern is modified according to the cooling period, the time required to complete the planned number of light emission periods can be shortened. Note that, although the modified example 802' of the second operation pattern 802 is illustrated, the first, third and fourth operation patterns 801, 803 and 804 can also be modified according to the cooling period.
[0078] However, depending on the temperature of the environment in which the light-emitting unit 4 is installed, the temperature of the light-emitting unit 4 after the light-emitting operation may change. For example, when the light-emitting unit 4 is installed in a low-temperature environment, the temperature of the light-emitting unit 4 decreases more quickly after the light-emitting operation compared to when the light-emitting unit 4 is installed in a high-temperature environment. Therefore, the cooling period of the light-emitting unit 4 may be determined based on the temperature of the environment and the temperature of the light-emitting unit 4. For example, the control unit 8 may acquire the temperature of the environment and the temperature of the light-emitting unit 4 measured by a temperature sensor or the like, and determine the cooling period according to the acquired temperature information. More specifically, the control unit 8 may determine the cooling period to be short when the difference between the temperature of the environment and the temperature of the light-emitting unit 4 is larger, and may determine the cooling period to be long when the difference between the temperature of the environment and the temperature of the light-emitting unit 4 is smaller. Then, the control unit 8 may select an operation pattern according to the determined cooling period and control the operation related to distance measurement.
[0079] (non-light emitting period) In addition, in the above-mentioned first to fourth operation patterns 801, 802, 803, 804 and modified example 802', the non-light emitting period is explained as an example in which the non-light emitting period coincides with the cooling period. The length of the non-light emitting period is not limited, and may be longer than the cooling period. As an example, a modified example in which the cooling period is three unit times and the non-light emitting period is four unit times in the second operation pattern 802 will be explained. FIG. 12 is a diagram showing a modification 802 ″ of the second operation pattern.
[0080] As shown in the figure, variant 802'' is similar to variant 802' shown in Figure 11, except that the cooling period for each light-emitting section 41 is three unit times. Therefore, in variant 802'', the time until distance measurement for all irradiation sections 61 is completed (60 unit times = 30.0 ms), the time until the planned number of four light-emitting periods for all light-emitting sections 41 is completed (59 unit times = 29.5 ms), the frame rate of the distance video (maximum 33 fps), and the distance measurement interval (4 unit times = 2.0 ms) are the same as those of variant 802'. In this way, even if the non-light emitting period is made different from the cooling period, it is possible to shorten the time required to complete the planned number of light emitting periods.
[0081] Incidentally, since the number of light-emitting sections 41 belonging to each group G and the length of the non-light-emitting period are not limited, it is also possible to set an operation pattern by making the number of light-emitting sections 41 belonging to each group G and the number of unit times defined as the non-light-emitting period different. However, by making the number of light-emitting sections 41 belonging to each group G and the number of unit times defined as the non-light-emitting period the same, as in the second operation pattern 802, the third operation pattern 803, the modified example 802', and the modified example 802'', the time until the planned number of light-emitting periods in each group G is completed is shorter than when they are made different.
[0082] In addition, in the modified example 802″, compared to the second operation pattern 802 in which the non-light emitting period coincides with the cooling period, the time until the distance measurement of all the irradiation sections 61 is completed and the time until the scheduled number of four light emitting periods is completed in all the light emitting sections 41 are shorter, and the frame rate of the distance video is improved. On the other hand, the distance measurement interval is shorter in the second operation pattern 802. In other words, when the number of light emitting sections 41 belonging to each group G is made to coincide with the number of unit times defined as the non-light emitting period, if the non-light emitting period is made longer than the cooling period and the number of light emitting sections 41 belonging to each group G is increased as in the modified example 802″, the time until the distance measurement of all the irradiation sections 61 is completed and the time until the scheduled number of four light emitting periods is completed in all the light emitting sections 41 can be shortened, and the frame rate of the distance video is improved. On the other hand, if the non-light emitting period is made to coincide with the cooling period and the number of light emitting sections 41 belonging to each group G is reduced as in the second operation pattern 802, the distance measurement interval can be shortened. In this way, the non-emission period may be determined according to the performance that is prioritized in the distance measuring device 1.
[0083] In addition, like the cooling period, the non-light emitting period is not limited to an integer multiple of the unit time. Therefore, it is possible to set a non-light emitting period that is not an integer multiple of the unit time by matching it with a cooling period that is not an integer multiple of the unit time. However, as in the examples of Figs. 7 to 12, when the period of the light emitting operation or the read operation corresponds to the unit time, it is easy to set the operation pattern by making the non-light emitting period an integer multiple of the unit time. Therefore, even if the cooling period is not an integer multiple of the unit time, it is good to set the non-light emitting period as an integer multiple of the unit time. For example, when the cooling period is 2.5 unit times, it is good to set the non-light emitting period as 3 unit times and make the non-light emitting period an integer multiple of the unit time while securing the cooling period.
[0084] (Unit time) In the above example, it has been described that the light-emitting period during which the light-emitting section 41 performs the light-emitting operation is equal to the period during which the control unit 8 performs the read operation on the light-receiving section 51, and the operation pattern is set with the time (500 μs) corresponding to the light-emitting period and the read operation period as the unit time. The light-emitting period and the read operation period may be different, and the unit time can be the time corresponding to either the longer one of the light-emitting period and the read operation period or the shorter one of the light-emitting period and the read operation period. When the longer one is selected, the non-light-emitting period is secured longer than when the shorter one is used as the unit time. Conversely, when the shorter one is selected, the time until the scheduled number of light-emitting periods is completed in all the light-emitting sections 41 is shorter than when the longer one is used as the unit time. Alternatively, unlike the above-mentioned example, the operation pattern may be set not based on the unit time.
[0085] (Scheduled number of times) In the above example, the operation pattern has been described assuming that each light-emitting section 41 has a planned number of four light-emitting periods. The planned number is not limited, and for example, in the indirect ToF method, distance measurement may be performed based on the results of two light receptions at four phase differences φ of 0 degrees, 90 degrees, 180 degrees, and 270 degrees with respect to the emission of light. In this case, when measuring the distance of a certain irradiation section Bi, for example, the distance measuring device 1 repeats eight times each of the light-emitting operation in the corresponding light-emitting section Ai, the light-receiving operation at the phase difference φ in the corresponding light-receiving section Ci, and the read operation for the light-receiving section Ci by the control unit 8. More specifically, eight light-emitting operations in each light-emitting section 41, eight light-receiving operations in each light-receiving section 51, and eight read operations for each light-receiving section 51 are performed. As the scheduled number of times increases, the time required for the operation related to distance measurement becomes longer. For example, in the operation pattern 701 (see FIG. 6) of the comparative example, if the scheduled number of times is 8, the time until distance measurement of all irradiation sections 61 is completed is 240 unit times (120.0 ms). Also, the time until the light emission period is completed in all light emission sections 41 is 239 unit times (119.5 ms). And the frame rate of the distance video is a maximum of 5 fps.
[0086] Hereinafter, the fifth and sixth operation patterns of the distance measuring device 1 with the planned number of times set to 8 will be described. Note that in the fifth and sixth operation patterns, similar to the third operation pattern 803 (see FIG. 9), the readout operation of the control unit 8 for the light receiving section Ci, the light emitting operation of the light emitting section Aj (j≠i) and the light receiving operation of the light receiving section Cj are allowed to be performed in parallel. FIG. 13 is a diagram showing a fifth operation pattern 805 of the distance measuring device 1 to which this embodiment is applied. FIG. 14 is a diagram showing a sixth operation pattern 806 of the distance measuring device 1 to which this embodiment is applied.
[0087] As shown in FIG. 13, in the fifth operation pattern 805, at time u=1, the light-emitting section A1 corresponding to the irradiation section B1 performs a light-emitting operation, and the corresponding light-receiving section C1 performs a first light-receiving operation with a phase difference φ=0 degrees. Also, at time u=2, in parallel with the readout operation of the control unit 8 for the light-receiving section C1, the light-emitting section A2 corresponding to the irradiation section B2 performs a light-emitting operation, and the corresponding light-receiving section C2 performs a light-receiving operation. This is repeated, and at time u=13, in parallel with the readout operation of the control unit 8 for the light-receiving section C12, the light-emitting section A1 performs a light-emitting operation, and the light-receiving section C1 performs a second light-receiving operation with a phase difference φ=0 degrees. As a result, the distance measuring device 1 (control unit 8) obtains the result of the first light-receiving operation with a phase difference φ=0 degrees in the irradiation sections B1 to B4, and starts an operation related to the second distance measurement with a phase difference φ=0 degrees. This is repeated for each phase difference φ, and at time u=97, the planned number of eight light emitting operations in the light emitting sections A1-A12 corresponding to all the irradiation sections B1-B12, eight light receiving operations in the corresponding light receiving sections C1-C12, and eight readout operations for the light receiving sections C1-C12 by the control unit 8 are completed. Thus, in the fifth operation pattern 805, distance measurement for all the irradiation sections 61 (B1-B12) is completed.
[0088] 14, in the sixth operation pattern 806, similarly to the third operation pattern 803 (see FIG. 9), the irradiation sections B1 to B4 belong to group G1, the irradiation sections B5 to B8 belong to group G2, and the irradiation sections B9 to B12 belong to group G3, and the operation of the distance measuring device 1 is determined based on the grouping. Also, the light emitting sections A1 to A12 and the light receiving sections C1 to C12 belong to the same group as the corresponding irradiation sections 61, respectively. In the sixth operation pattern 806, at time u=1, the light-emitting section A1 corresponding to the irradiation section B1 performs a light-emitting operation, and the corresponding light-receiving section C1 performs a first light-receiving operation with a phase difference φ=0 degrees. At time u=2, in parallel with the readout operation of the control section 8 for the light-receiving section C1, the light-emitting section A2 corresponding to the irradiation section B2 performs a light-emitting operation, and the corresponding light-receiving section C2 performs a light-receiving operation. This is repeated, and at time u=5, in parallel with the readout operation of the control section 8 for the light-receiving section C4, the light-emitting section A1 performs a light-emitting operation, and the light-receiving section C1 performs a second light-receiving operation with a phase difference φ=0 degrees. As a result, the distance measuring device 1 (control section 8) obtains the results of the first light-receiving operation in the irradiation sections B1 to B4 and starts an operation related to the second distance measurement with a phase difference φ=0 degrees. This is repeated until the planned number of eight light emitting operations, light receiving operations and readout operations are completed for all irradiation partitions B1 to B4 belonging to group G1 at time u=33, completing the operations related to distance measurement for group G1. Also, at time u=33, in parallel with the eighth readout operation for the light-receiving section C4 of the control unit 8, the light-emitting section A5 corresponding to the irradiation section B5 performs a light-emitting operation, and the corresponding light-receiving section C5 performs a first light-receiving operation, thereby starting the operation related to the distance measurement of the group G2. Then, as with the group G1, the light-emitting sections A5 to A8 belonging to the group G2 perform the scheduled eight light-emitting operations, the light-receiving sections C5 to C8 perform eight light-receiving operations, and the control unit 8 performs eight readout operations for the light-receiving sections C5 to C8, and the operation related to the distance measurement of the group G2 is completed at time u=65. Similarly, the operation related to the distance measurement of the group G3 is performed at times u=65 to 97. Thus, in the sixth operation pattern 806, the distance measurement of all the irradiation sections 61 (B1 to B12) is completed.
[0089] 13 and 14, in the fifth operation pattern 805 and the sixth operation pattern 806, the time required to complete distance measurement for all irradiation sections 61 is unit time u×97 (=48.5 ms), which is shorter than the operation pattern 701 (84.0 ms) of the comparative example. Also, the time required to complete the scheduled number of four light emission periods in all light emission sections 41 is unit time u×96 (=48.0 ms), which is shorter than the operation pattern 701 (83.5 ms) of the comparative example. In addition, in the distance measuring device 1 operating according to the fifth operation pattern 805 or the sixth operation pattern 806, the frame rate of the distance video is improved to a maximum of 20 fps. In this way, according to the operation pattern of the present embodiment, even if the planned number of times is increased, it is possible to shorten the time until the planned number of light emission periods is completed in all light emission sections 41. Note that, unlike the fifth operation pattern 805 and the sixth operation pattern 806, even if the read operation of the control unit 8 for the light receiving section Ci and the light emission operation of the light emission section Aj (j≠i) and the light receiving operation of the light receiving section Cj are not allowed to be performed in parallel, the operation pattern is set so that the next light emission section Aj (j=i+1) has a light emission period during the non-light emission period of the light emission section Ai between the light emission period of the light emission section Ai corresponding to a certain irradiation section Bi and the next light emission period, thereby making it possible to shorten the time until the planned number of light emission periods is completed in all light emission sections 41.
[0090] (Switching operation patterns) The distance measuring device 1 to which this embodiment is applied may follow only one of the above-mentioned operation patterns, or may be capable of switching between a plurality of operation patterns. For example, the control unit 8 may select one from a plurality of operation patterns based on a user's input, a distance measurement history, or the like, and control the operation of the distance measuring device 1 according to the selected operation pattern. Note that the operation pattern options in the control unit 8 may include not only the operation patterns 801-806, 802', and 802'' according to this embodiment described above, but also an operation pattern to which this embodiment is not applied, such as the operation pattern 701 of the comparative example. In addition, the control unit 8 may select an operation pattern that improves the accuracy of distance measurement based on an evaluation value that evaluates the accuracy of distance measurement of the target object S from the distance measurement results in each of a plurality of operation patterns.
[0091] (Range measuring device 1, light emitting device 2, and driving device 9) The distance measuring device 1 that operates according to the operating patterns 801-806, 802', 802" described above is an example of a distance measuring device equipped with a drive unit that drives a light emitting unit so that the second light emitting section has a light emitting period during the non-light emitting period in which the first light emitting section does not emit light between the light emitting period of the first light emitting section and the next light emitting period. 1, a light emitting device 2 can be configured that includes a light emitting section 4, a light emitting drive section 6, and a control section 8. In other words, a light emitting device 2 can be configured that causes the light emitting section 4 to emit light in accordance with operation patterns 801-806, 802', 802". This light emitting device 2 is an example of a light emitting device that includes a drive section that drives the light emitting section so that the second light emitting section has a light emitting period during a non-light emitting period in which the first light emitting section does not emit light, between the light emitting period of the first light emitting section and the next light emitting period. Furthermore, as indicated by the dashed line in FIG. 1, a drive device 9 can be configured that includes a light emission drive unit 6 and a control unit 8 and drives the light emission unit 4 (an example of a light emission device). In other words, the drive device 9 can be configured to drive the light emission unit 4 so that the light emission unit 4 emits light according to the operation patterns 801-806, 802', 802". This drive device 9 is an example of a drive device that drives a light-emitting device so that the second light-emitting section has a light-emitting period during a non-light-emitting period in which the first light-emitting section does not emit light, between the light-emitting period of the first light-emitting section and the next light-emitting period.
[0092] <Additional Notes> (((1))) A driving device for driving a light emitting device including a first light emitting section and a second light emitting section, Each of the first light-emitting section and the second light-emitting section has a predetermined number of light-emitting periods, causing the light emitting device to emit pulsed light 500 times or more during the light emitting period; The light-emitting device is driven so that the second light-emitting section has a light-emitting period during a non-light-emitting period during which the first light-emitting section does not emit light, between a light-emitting period of the first light-emitting section and a next light-emitting period of the first light-emitting section. A drive device characterized by: (((2))) The driving device described in (((1))) is characterized in that, for a group of light-emitting sections including the first light-emitting section and the second light-emitting section provided in the light-emitting device, and another group of light-emitting sections including another light-emitting section, the light-emitting device is driven so that the other group of light-emitting sections has a light-emitting period after the predetermined multiple light-emitting periods of the one group of light-emitting sections. (((3))) The driving device according to (((2))) is characterized in that the light emitting device is driven so that the light emitting sections belonging to the one group of light emitting sections are adjacent to each other. (((4))) The non-light emitting period is determined by the number of unit times, with a time period corresponding to the light emitting period being taken as a unit time, Regarding one light-emitting section group including the first light-emitting section and the second light-emitting section provided in the light-emitting device, and another light-emitting section group including another light-emitting section, the number of light-emitting sections belonging to the one light-emitting section group is equal to the number of unit times defined as the non-light-emitting period. The drive device according to (((1))) , (((5))) The driving device described in ((1))) to (((4))) is characterized in that the light emitting device is driven so that the light emitting period of a third light emitting section not adjacent to the first light emitting section of the light emitting device overlaps with the light emitting period of the first light emitting section. (((6))) A light emitting section including a first light emitting section and a second light emitting section; a drive unit that drives the light emitting unit so that each of the first light emitting section and the second light emitting section has a predetermined number of light emitting periods; a light receiving unit that receives light emitted from the light emitting unit and reflected by an object; A calculation unit that calculates a distance to the object based on a result of light reception by the light receiving unit, The driving unit drives the light emitting unit so that the second light emitting section has a light emitting period during a non-light emitting period during which the first light emitting section does not emit light, between the light emitting period of the first light emitting section and the next light emitting period. A distance measuring device comprising: (((7))) The light emitting section includes a first light emitting section group including the first light emitting section and the second light emitting section, and another light emitting section group including another light emitting section; The distance measuring device described in (((6))) is characterized in that the calculation unit obtains the result of light received by the light receiving unit from the start of the light emission period of a first light emission section in a group of light emission sections to the end of the light emission period of a last light emission section in the group of light emission sections after all the light emission sections belonging to the group of light emission sections have each completed their light emission period once. (((8))) The light receiving unit includes a first light receiving section that receives light reflected by an object during a light emitting period of the first light emitting section, and a second light receiving section that receives light reflected by an object during a light emitting period of the second light emitting section; The calculation unit acquires a result of the light reception for each light receiving section included in the light receiving unit. A distance measuring device as described in (((6))). (((9))) The distance measuring device described in (((8))), characterized in that the driving unit drives the light emitting unit so that the second light emitting section has a light emitting period during a period in which the calculation unit acquires the result of light reception in the first light receiving section. (((10))) A light emitting section including a first light emitting section and a second light emitting section; A drive unit that drives the light emitting unit so that each of the first light emitting section and the second light emitting section has a predetermined light emitting period a predetermined number of times, The driving unit drives the light emitting unit to emit pulsed light 500 times or more during the light emitting period, and drives the light emitting unit so that the second light emitting section has a light emitting period during a non-light emitting period during which the first light emitting section does not emit light between the light emitting period of the first light emitting section and the next light emitting period. A light emitting device characterized by:
[0093] According to the driving device of (((1))), the time required for the predetermined number of light emission periods to be completed in all light emission sections is shorter than when a light emission period for another light emission section is set after a predetermined number of light emission periods in one light emission section. According to the drive device of (((2))), the time required to complete a number of predetermined light emission periods in one light-emitting section group is shorter than when driving is not performed in units of light-emitting section group. According to the driving device of (((3))), the adjacent irradiation sections are irradiated with light a predetermined number of times in a short period of time. According to the driving device of (((4))), the time required for a predetermined number of light-emitting periods in one group of light-emitting sections to be completed is shorter than when the number of light-emitting sections belonging to one group of light-emitting sections is greater than the number of unit times defined as non-light-emitting time. According to the driving device of (((5))), the time required for the predetermined multiple light emission periods to be completed in all light emission sections is shorter than when the light emission period of the first light emission section and the light emission period of the third light emission section do not overlap. According to the distance measuring device of (((6))), the time required for the completion of the predetermined number of light emission periods in all light emission sections is shorter than when a light emission period in one light emission section is followed by a light emission period in another light emission section. According to the distance measuring device of (((7))), the time required to complete distance measurement for all irradiation zones is shorter than when readout is performed at different timings. According to the distance measuring device of (((8))), the result of light reception is obtained for each light emitting period of the light emitting section, which contributes to improving the accuracy of distance measurement. According to the light emitting device of (((9))), the time until distance measurement is completed is shorter than when the second light emitting section does not have a light emitting period during the period in which the light reception results in the first light receiving section are obtained. According to the light emitting device of (((10))), the time required for the predetermined number of light emitting periods to be completed in all light emitting sections is shorter than when a light emitting section has a light emitting period followed by a predetermined number of light emitting periods in another light emitting section. [Explanation of symbols]
[0094] 1... distance measuring device, 2... light emitting device, 3... optical device, 4... light emitting section, 5... light receiving section, 6... light emitting drive section, 7... light receiving drive section, 8... control section, 9... drive device, 41... light emitting section, 51... light receiving section, 43... VCSEL, 100... distance image, 801, 802, 802', 802", 803, 804, 805, 806... operation pattern
Claims
1. A driving device for driving a light-emitting device including a first light-emitting section and a second light-emitting section, Each of the first light-emitting section and the second light-emitting section has a predetermined number of light-emitting periods, causing the light emitting device to emit pulsed light 500 times or more during the light emitting period; The light-emitting device is driven so that the second light-emitting section has a light-emitting period during a non-light-emitting period during which the first light-emitting section does not emit light, between the light-emitting period of the first light-emitting section and the next light-emitting period. A drive device characterized by:
2. 2. The driving device according to claim 1, characterized in that the light-emitting device is driven such that a group of light-emitting sections including the first light-emitting section and the second light-emitting section and another group of light-emitting sections including another light-emitting section have a light-emitting period after the predetermined multiple light-emitting periods of the one group of light-emitting sections.
3. The driving device according to claim 2 , wherein the light-emitting device is driven so that the light-emitting sections belonging to the one group of light-emitting sections are adjacent to each other.
4. The non-light emitting period is determined by the number of unit times, with a time period corresponding to the light emitting period being taken as a unit time, Regarding one group of light-emitting sections including the first light-emitting section and the second light-emitting section provided in the light-emitting device, and another group of light-emitting sections including another light-emitting section, the number of light-emitting sections belonging to the one group of light-emitting sections is equal to the number of unit times defined as the non-light-emitting period.
2. The drive device according to claim 1, characterized in that:
5. The driving device according to claim 1, characterized in that the light-emitting device is driven so that the light-emitting period of a third light-emitting section not adjacent to the first light-emitting section in which the light-emitting device is provided overlaps with the light-emitting period of the first light-emitting section.
6. A light emitting section including a first light emitting section and a second light emitting section; a drive unit that drives the light emitting unit so that each of the first light emitting section and the second light emitting section has a predetermined number of light emitting periods; a light receiving unit that receives light emitted from the light emitting unit and reflected by an object; A calculation unit that calculates a distance to the object based on a result of light reception by the light receiving unit, The driving unit drives the light emitting unit so that the second light emitting section has a light emitting period during a non-light emitting period during which the first light emitting section does not emit light, between the light emitting period of the first light emitting section and the next light emitting period. A distance measuring device comprising:
7. The light emitting section includes a first light emitting section group including the first light emitting section and the second light emitting section, and another light emitting section group including another light emitting section, The distance measuring device according to claim 6, characterized in that the calculation unit obtains the results of light received by the light receiving unit from the start of the light emission period of the first light emission section in a group of light emission sections to the end of the light emission period of the last light emission section in the group of light emission sections after all of the light emission sections belonging to the group of light emission sections have each completed their light emission period once.
8. The light receiving section includes a first light receiving section that receives light reflected by an object during a light emission period of the first light emitting section, and a second light receiving section that receives light reflected by an object during a light emission period of the second light emitting section; The calculation unit acquires a result of the light reception for each light receiving section included in the light receiving unit.
7. The distance measuring device according to claim 6,
9. The distance measuring device according to claim 8 , characterized in that the driving unit drives the light emitting unit so that the second light emitting section has a light emitting period during a period in which the calculation unit acquires the result of light reception in the first light receiving section.
10. A light emitting section including a first light emitting section and a second light emitting section; a drive unit that drives the light emitting unit so that each of the first light emitting section and the second light emitting section has a predetermined light emitting period a predetermined number of times; The driving unit drives the light emitting unit to emit pulsed light 500 times or more during the light emitting period, and drives the light emitting unit so that the second light emitting section has a light emitting period during a non-light emitting period in which the first light emitting section does not emit light between the light emitting period of the first light emitting section and the next light emitting period. A light emitting device characterized by:
Citation Information
Patent Citations
Distance measuring device and method for measuring distance
JP2020153796A
