Driving device, light emission device, and distance measuring device

The driving device optimizes light emitting section switching and positioning in distance measuring devices to address inadequate irradiation and heat issues, enhancing accuracy and reducing artifacts in moving objects with varying light emission levels.

JP2024153370APending Publication Date: 2024-10-29FUJIFILM BUSINESS INNOVATION CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023067230
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In distance measuring devices with multiple light emitting sections, uniform switching of light emitting periods can lead to inadequate light irradiation for the object, heat generation issues, and difficulty in performing accurate distance measurements, especially when objects are moving or emitting high amounts of light.

Method used

A driving device that switches the light emitting periods and positions of light emitting sections based on the object's situation, adjusting the number and position of active sections during non-emitting periods to optimize light irradiation and reduce heat generation, using a control unit to manage these adjustments.

Benefits of technology

Enhances light irradiation suitability for the object, reduces heat generation, and improves distance measurement accuracy by adapting to object movement and light emission levels, thereby minimizing motion artifacts and extending device lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153370000001_ABST
    Figure 2024153370000001_ABST
Patent Text Reader

Abstract

To allow radiation of light suitable for a situation more easily than when other light emission sections are not switched which emit light in a non-light-emission period of time in one of a plurality of light emission sections.SOLUTION: A driving device causes a light emission device including a plurality of light emission sections to emit light so that each light emission section has a predetermined number of light emission periods of time and non-light-emission periods of time subsequent to the light emission periods of time. A second light emission section other than a first light emission section can be switched, the second light emission section including a light emission period of time in a non-light-emission period of time in a first light emission section of the light emission sections.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a driving device, a light emitting device, and a distance measuring device. [Background technology]

[0002] Patent Document 1 discloses a light-projecting unit having multiple light-emitting units, and a distance measuring device that acquires distance data to an object based on light projected from the light-projecting unit and reflected by the object. In this distance measuring device, the multiple light-emitting units are divided into multiple groups, and the light-emitting units that emit light are switched for each group in a time series. [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 or the like equipped with a light emitting unit including a plurality of light emitting sections, distance measurement may be performed by emitting light from each light emitting section so as to have a plurality of light emitting periods and a non-light emitting period following each light emitting period. In such a distance measuring device or the like, when one of the plurality of light emitting sections is made to emit light during the non-light emitting period of the other light emitting section, if the other light emitting sections are made to emit light during the non-light emitting period of the one light emitting section, it may be difficult to irradiate light suitable for the situation such as the object illuminated by the light emitting section or heat generation of the light emitting section. The present invention aims to enable illumination of light appropriate to the situation, compared to a case in which one light-emitting section among a plurality of light-emitting sections is caused to emit light during a non-light-emitting period of the other light-emitting sections without switching. [Means for solving the problem]

[0005] The invention described in claim 1 is a driving device that causes a light-emitting device including a plurality of light-emitting sections to emit light such that each of the light-emitting sections has a predetermined number of light-emitting periods and a non-light-emitting period following each of the light-emitting periods, and is capable of switching a second light-emitting section other than the first light-emitting section, in which the non-light-emitting period of a first light-emitting section among the plurality of light-emitting sections includes a light-emitting period. The invention described in claim 2 is a driving device described in claim 1, which switches the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections depending on an object to which light is irradiated by the light-emitting device. The invention recited in claim 3 is the drive device recited in claim 2, wherein, when the object is moving, the number of the second light emitting sections is reduced as the moving speed of the object is increased. The invention described in claim 4 is a driving device described in claim 2 or 3, in which, when the object moves in a first direction, among the multiple light-emitting sections, the light-emitting section that is aligned with the first light-emitting section in the first direction is designated as the second light-emitting section. The invention described in claim 5 is the driving device described in claim 1, in which the number of the second light-emitting sections is increased as the amount of light emitted from the plurality of light-emitting sections of the light-emitting device increases. The invention described in claim 6 is the driving device described in claim 1, which drives the light-emitting device to drive a plurality of groups of light-emitting sections, each of which includes the first light-emitting section and the second light-emitting section having a light-emitting period during the non-light-emitting period of the first light-emitting section, so that the multiple light-emitting periods of one group of light-emitting sections start after the multiple light-emitting periods of the next group of light-emitting sections, and differs the number of the second light-emitting sections or the position of the second light-emitting section relative to the first light-emitting section for each of the groups of light-emitting sections. The invention described in claim 7 is the driving device described in claim 6, in which the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections is made different between one group of light-emitting sections that includes the light-emitting section that irradiates light onto an object and another group of light-emitting sections that does not irradiate light onto the object. The invention described in claim 8 is the driving device described in claim 1, which causes a third light-emitting section among the multiple light-emitting sections, which is different from the first light-emitting section and the second light-emitting section and is not adjacent to the first light-emitting section, to emit light so that the light-emitting period of the third light-emitting section overlaps with the light-emitting period of the first light-emitting section. The invention described in claim 9 is a light-emitting device comprising: a light-emitting section including a plurality of light-emitting sections; and a drive section that drives the light-emitting section so that each of the light-emitting sections has a predetermined number of light-emitting periods and a non-light-emitting period following each of the light-emitting periods, and is capable of switching a second light-emitting section other than the first light-emitting section, in which the non-light-emitting period of a first light-emitting section among the plurality of light-emitting sections includes a light-emitting period. The invention described in claim 10 is a distance measuring device comprising: a light-emitting unit including a plurality of light-emitting sections; a drive unit that drives the light-emitting unit so that each of the light-emitting sections has a predetermined number of light-emitting periods and a non-light-emitting period following each of the light-emitting periods, and is capable of switching a second light-emitting section other than a first light-emitting section among the plurality of light-emitting sections, the second light-emitting section including a light-emitting period in the non-light-emitting period of the first light-emitting section; a light-receiving unit that receives light emitted from the light-emitting unit and reflected by an object; and a control unit that calculates the distance to the object based on the result of the light reception by the light-receiving unit. The invention described in claim 11 is a distance measuring device described in claim 10, in which the driving unit acquires an index that changes due to heat generation of the multiple light-emitting sections of the light-emitting unit, and switches the second light-emitting section depending on the index when the multiple light-emitting sections of the light-emitting unit are caused to emit light under predetermined conditions. The invention described in claim 12 is a distance measuring device described in claim 11, in which the driving unit switches the second light-emitting area depending on the result of light reception by the light-receiving unit when multiple light-emitting areas of the light-emitting unit are caused to emit light as the index under predetermined conditions. The invention described in claim 13 is a distance measuring device described in claim 10, further comprising an imaging unit that captures an image of an object onto which light is irradiated by the light emitting unit, and the driving unit switches the second light emitting section depending on the condition of the object grasped from the image captured by the imaging unit. The invention described in claim 14 is a distance measuring device described in claim 10, wherein the control unit acquires a result of the light received by the light receiving unit between the start of the light emission period of the first light-emitting section and the end of the light-emitting period of the second light-emitting section after the first light-emitting section and the second light-emitting section have each completed their light-emitting periods, and the drive unit switches the number of the second light-emitting sections so that the sum of the acquisition period required for the control unit to acquire the result of the light reception and the light-emitting period of the second light-emitting section included in the non-light-emitting period of the first light-emitting section is not less than a predetermined cooling period required to cool each of the light-emitting sections. Effect of the Invention

[0006] According to the inventions of claims 1, 9 and 10, it is possible to irradiate light appropriate to the situation, compared to a case where one light-emitting section among a plurality of light-emitting sections is not switched to emit light during a non-light-emitting period of the other light-emitting sections. According to the invention of claim 2, it is possible to irradiate the object with light suitable for the situation thereof, compared to a case in which the second light-emitting zone is not switched depending on the object. According to the invention of claim 3, it is possible to irradiate the object with light suitable for the object's movement, compared to a case in which the number of second light emitting sections is increased as the object's movement speed increases. According to the invention of claim 4, when an object moves in a first direction, it is possible to irradiate light suitable for the movement of the object, compared to a case in which the light-emitting section aligned in the first direction with the first light-emitting section is not the second light-emitting section. According to the invention of claim 5, the greater the amount of light emitted from the multiple light-emitting sections of the light-emitting device, the more the effects of heat generation in the light-emitting sections can be reduced compared to a case in which the number of second light-emitting sections is not large. According to the invention of claim 6, it is possible to irradiate light appropriate to the situation, compared to a case in which the second light-emitting sections are not different between one light-emitting section group and another light-emitting section group. According to the invention of claim 7, it is possible to irradiate the object with light suited to the situation, compared to a case where the second light-emitting sections are not different between one light-emitting section group and another light-emitting section group. According to the invention of claim 8, the time required to complete 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 of claim 11, the time required to complete 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 of claim 12, the influence of heat generation in the light-emitting sections can be reduced compared to a case where the second light-emitting sections are not switched in accordance with the result of light reception. According to the invention of claim 13, the accuracy of measuring the distance to the object can be improved compared to a case where the second light emitting zone is not switched according to the state of the object grasped from the image. According to the invention of claim 14, the influence of heat generation in the light emitting sections can be reduced compared to a case where the sum of the acquisition period and the light emitting period of the second light emitting section is shorter than the cooling period. [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. 2 is a diagram showing a first operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 7] FIG. 11 is a diagram showing a second operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 8] FIG. 13 is a diagram showing a third operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 9] FIG. 13 is a diagram showing a fourth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 10] 13A to 13C are diagrams illustrating an example of the state of an object present on an irradiation surface and a method of grouping irradiation sections in a fifth operation pattern. [Figure 11] FIG. 13 is a diagram showing a fifth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 12] 13A to 13C are diagrams for explaining the state of an object present on the irradiation surface and a method of grouping irradiation sections in the sixth operation pattern. [Figure 13] FIG. 13 is a diagram showing a sixth operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 14] 13 is a diagram for explaining the state of an object present on the irradiation surface and a method of grouping irradiation sections in the seventh operation pattern. FIG. [Figure 15] FIG. 13 is a diagram showing a seventh operation pattern of the distance measuring device to which the present embodiment is applied. [Figure 16] 13(a) and 13(b) are diagrams showing an eighth operation pattern and a ninth operation pattern of a distance measuring device to which an embodiment is applied. [Figure 17] 13(a) to 13(c) 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 a light-emitting unit 4 that emits light toward a predetermined irradiation range, a light-receiving unit 5 that receives light emitted from the light-emitting unit 4 and reflected by an object present in the irradiation range, a light-emitting drive unit 6 that drives the light-emitting unit 4, and a light-receiving drive unit 7 that drives the light-receiving unit 5. Furthermore, the optical device 3 includes an imaging unit 9 that captures an image of the irradiation range to obtain an infrared image of the irradiation range. This infrared image is an example of an image captured by the imaging unit 9. 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 10 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 measures the distance from the distance measuring device 1 to the object by the ToF method based on the result of light reception. The control unit 8 is an example of a control unit.

[0012] The photographing unit 9 detects infrared rays emitted from an object present in the irradiation range (irradiation surface 60 in FIG. 2 described later) and outputs an infrared image generated from the detection result to the control unit 8. The photographing unit 9 detects infrared rays in the irradiation range continuously or intermittently at predetermined time intervals and generates an infrared image. The control unit 8 grasps the state of the object in the irradiation range by analyzing the infrared image acquired from the photographing unit 9. The control unit 8 grasps, as the state of the object in the irradiation range, whether the object is a moving object moving in the irradiation range or a still object. The control unit 8 also grasps, as the state of the object in the irradiation range, in which irradiation section 61 (see FIG. 2 described later) the object exists in the irradiation range. Furthermore, the control unit 8 grasps, as the state of the object in the irradiation range, the movement direction of the object in the irradiation range and the relative movement amount of the object in the irradiation range when the object is a moving object.

[0013] (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.

[0014] 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.

[0015] 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.

[0016] Each light-emitting section 41 is independently driven by a light-emitting drive unit 6 (see FIG. 1) to perform light-emitting operation. In addition, each light-emitting section 41 emits light when power is supplied to the VCSEL included in the light-emitting section 41 by the light-emitting drive unit 6. In this embodiment, the power supplied to the VCSEL included in each light-emitting section 41 and the amount of light emitted from each light-emitting section 41 as the VCSEL emits light due to the supplied power can be adjusted depending on the environment, such as the brightness of the irradiation range, the operation of the distance measuring device 1 by the user, etc. In addition, in this embodiment, driving the light-emitting section 41 refers to power being supplied to the VCSEL included in the light-emitting section 41 to cause it 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. Moreover, "independently driven" refers to driving each light-emitting section 41 individually to emit light. The light-emitting drive unit 6 drives each light-emitting section 41 in response to a control signal from the 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.

[0017] 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.

[0018] 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."

[0019] 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.

[0020] 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.

[0021] 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.

[0022] 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.

[0023] (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.

[0024] 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.

[0025] 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."

[0026] 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 .

[0027] 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.

[0028] 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.

[0029] (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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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. 6.

[0034] 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.

[0035] <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.

[0036] 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."

[0037] 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.

[0038] 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).

[0039] 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.

[0040] 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.

[0041] <Operation pattern> Incidentally, when each light-emitting section 41 performs a light-emitting operation as in 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 1, if the operating pattern is uniform, which involves four light emission operations in each light-emitting section 41, four light receiving operations in each light-receiving section 51, and four readout operations for each light-receiving section 51, it may become difficult to perform distance measurements that are appropriate for the condition of the object present on the irradiation surface 60 and the influence of heat generated by each light-emitting section 41.

[0042] First, the light-emitting operation of each light-emitting section 41 will be described. Fig. 17(a)-(c) are diagrams for explaining an example of the light-emitting operation of each light-emitting section 41 (see Fig. 2 and Fig. 3) in one light-emitting period. Fig. 17(a)-(c) show an example of the light-emitting operation by two light-emitting sections A1 and A2 out of the plurality of light-emitting sections 41. Here, as a light-emitting operation, each light-emitting section 41 emits light by causing the VCSEL driven by the light-emitting drive unit 6 (see Fig. 1) to emit pulses having a width of about 10 ns to 100 ns many times within 500 μs, and irradiates the corresponding irradiation section 61. More specifically, as shown in Fig. 17(a)-(c), one light-emitting period (indicated by reference numerals 911-914) of the light-emitting section A1 is composed of many pulses 900. Similarly, one light-emitting period (indicated by reference numerals 921-924) of the light-emitting section A2 is composed of many pulses 900. The number of pulses 900 emitted in one light emitting period of each light emitting section 41 may be several tens to several hundreds, for example, although it depends on the width of the pulses 900. The light emitting 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.

[0043] Here, as shown in FIG. 17(a), each light-emitting section 41 may perform a light-emitting operation so that the light-emitting period (e.g., light-emitting period 921) of another light-emitting section 41 (e.g., light-emitting section A2) is included during the light-emitting period (e.g., light-emitting periods 911, 912) of one light-emitting section 41 (e.g., light-emitting section A1). Also, as shown in FIG. 17(b), each light-emitting section 41 may perform a light-emitting operation so that the light-emitting period (light-emitting period 921-924) of another light-emitting section 41 (light-emitting section A2) is not included during the four light-emitting periods (light-emitting periods 911-914) of one light-emitting section 41 (light-emitting section A1). Furthermore, as shown in FIG. 17(c), each light-emitting section 41 may perform a light-emitting operation so that the pulse 900 constituting the light-emitting period (light-emitting period 921) of another 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). The light emitting operation of each light emitting section 41 will be described in detail together with the operation pattern of the distance measuring device 1.

[0044] Hereinafter, one operation pattern of the distance measuring device 1 of this embodiment will be described as an example. Fig. 6 is a diagram showing a first operation pattern 801 which is one of the operation patterns of the distance measuring device 1 to which this embodiment is applied. Note that in Fig. 6, the operation pattern 801 is shown divided into two stages (front stage and back stage). The VCSEL is driven by the light emission drive unit 6 (see FIG. 1) to emit light for 500 μs, and the light is emitted to illuminate 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.

[0045] In Fig. 6, the "Time" item in the first row indicates the time that has passed since the distance measuring device 1 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. Note that 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, the items "B1" to "B12" in the second to thirteenth rows indicate which of the irradiation sections 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 61. 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 × u has elapsed since the distance measurement device 1 started the operation related to distance measurement.

[0046] 6, the cells shaded with H1 (see the legend on the right side of the drawing) indicate 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. In other words, the cells shaded with H1 correspond to the light-emitting period of the corresponding light-emitting section Ai. 6, the cells shaded with H2 (see legend) indicate that the control unit 8 is performing a read operation on the corresponding light-receiving section Ci. In the distance measuring device 1 to which the present embodiment is applied, the control unit 8 will be described as taking one unit time, 500 μs, to perform a read operation on the light-receiving section 51. 6, the cells shaded with H3 (see legend) indicate a non-light emitting period in which the corresponding light emitting section Ai does not emit light, and a period secured as a predetermined cooling period to suppress the influence of heat generation accompanying the light emission of the light emitting section Ai. In the distance measuring device 1, it is also possible to provide a period of readout operation by the control section 8 and a cooling period in parallel, so in that case, the shaded with H2 is applied preferentially. The length of the cooling period in the operation pattern 801 shown in FIG. 6 will be described in detail later.

[0047] Here, when a plurality of light-emitting periods are provided for the light-emitting section 41, a non-light-emitting period in which the light-emitting section 41 does not emit light is provided between one light-emitting period and the next light-emitting period. During this non-light-emitting period, the light-emitting section 41 dissipates heat and cools down. In addition, the non-light-emitting period is used as a cooling period for the light-emitting section 41 to prevent the temperature of the light-emitting section 41 from becoming too high due to heat generated by the light emission of the VCSEL.

[0048] 6, 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. 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. 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 corresponding to a certain illumination section Bi between the light-emitting period of the light-emitting section Ai corresponding to the certain illumination 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. In addition, in this example, if the light-emitting section A1 is the first light-emitting section, the light-emitting sections A2 to A12 having a light-emitting period during the non-light-emitting period of the light-emitting section A1 correspond to the second light-emitting section. In addition, in this example, the number of second light-emitting sections whose light-emitting period is included in the non-light-emitting period of the first light-emitting section is 11.

[0049] 6, 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, 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, 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, and at time u=12, a light emitting operation is performed in the light emitting section A12 corresponding to the last irradiation section B12, and a light receiving operation is performed in the corresponding light receiving section C12 with a phase difference of φ=0 degrees. At time u=13, the control unit 8 performs a read operation for all light receiving sections 51 (C1 to C12). As a result, the control unit 8 obtains the results of the first light receiving operation with a phase difference of φ=0 degrees for all irradiation sections 61. Then, from time u=14 onwards, similarly, the second result of light reception at a phase difference φ=0 degrees, the first result of light reception at a phase difference φ=180 degrees, and the second result of light reception at a phase difference φ=180 degrees are obtained. Then, at time u=52, the control unit 8 performs a total of four readout operations on the light-receiving sections C1 to C12, completing distance measurement for all irradiation sections 61 (B1 to B12). 6, 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.

[0050] Thus, 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 by completing the read operation of the fourth light receiving result, 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. 6, 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. 6, 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).

[0051] In the first operation pattern 801, the interval between the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci and the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is u×12 unit times (6.0 ms). In the first operation pattern 801, the period from the end of the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci to the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci corresponds to the non-light emitting period of the light-emitting section Ai. In the distance measuring device 1, the period from the end of the first light emitting operation of the light-emitting section Ai and the end of the first light receiving operation of the light-receiving section Ci until the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is the period that can be used as the cooling period of the light-emitting section Ai. That is, in the first operation pattern 801, the period of u×12 unit time (6.0 ms) can be used as the cooling period of the light-emitting section Ai.

[0052] Here, when the object S (see FIG. 5(a)) is a moving object, if the interval (sometimes called the "distance measurement interval") between the light emission operation of the light-emitting section 41 and the light reception operation of the light-receiving section 51 for a certain irradiation section 61 of the distance measuring device 1 and the next light emission operation of the light-emitting section 41 and the light reception operation of the light-receiving section 51 is large, the effect of motion artifacts may become large. More specifically, for example, if the interval between the first light emission operation of the light-emitting section 41 and the first light reception operation of the light-receiving section 51 corresponding to a certain irradiation section 61 and the second light emission operation of the same light-emitting section 41 and the second light reception operation of the light-receiving section 51 is large, the movement of the object S during that time 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 light reception results will affect the distance measurement results as a motion artifact, and may result in a large error in the distance to the object S, or the image S' will be depicted in the distance image 100 (see Figure 5(c)) with a shape different from the actual object S, which may result in a decrease in distance measurement accuracy.

[0053] On the other hand, if the interval between the light emission operation of the light-emitting section 41 and the light reception operation of the light-receiving section 51 for a certain irradiation section 61 of the distance measuring device 1 and the next light emission operation of the light-emitting section 41 and the light reception operation of the light-receiving section 51 is small, the period secured as the cooling period of the light-emitting section 41 becomes short. In this case, the temperature of the light-emitting section 41 becomes 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 shortened lifespan of the VCSEL. The cooling period of each light-emitting section 41 required to suppress the effect of heat generated by light emission varies depending on the amount of light emitted from the light-emitting section 41 by the power supplied to the VCSEL, etc.

[0054] In contrast, in the distance measuring device 1 of this embodiment, the operating pattern is switched depending on the amount of light emitted from the light-emitting section 41 by the power supplied to the VCSEL, the condition of the target object S present on the irradiation surface 60 (see Figure 5 (b)), etc. Specifically, in the distance measuring device 1 of the present embodiment, another light-emitting section 41, which is an example of a second light-emitting section, in which a light-emitting period is included in the non-light-emitting period of the light-emitting section 41, which is an example of a first light-emitting section, is switched depending on the amount of light emitted from the light-emitting section 41 by the power supplied to the VCSEL, the state of the target S present on the irradiation surface, etc. Although details will be described later, switching a second light-emitting section in which a light-emitting period is included in the non-light-emitting period of the first light-emitting section means switching at least one of the number of second light-emitting sections in which a light-emitting period is included in the non-light-emitting period of the first light-emitting section and the position of the second light-emitting section relative to the first light-emitting section. In addition, the number of second light-emitting sections in which a light-emitting period is included in the non-light-emitting period of the first light-emitting section may be 0.

[0055] (Switching of operation patterns according to the light intensity of the light-emitting section 41) First, a manner in which the distance measuring device 1 switches the operation pattern depending on the amount of light emitted from the light-emitting section 41 will be described. As described above, in the distance measuring device 1, the cooling period of each light-emitting section 41 required to suppress the effects of heat generation accompanying the light emission of the VCSEL differs depending on the amount of light emitted from the light-emitting section 41 by the power supplied to the VCSEL, etc. That is, normally, the greater the power supplied to the VCSEL, the greater the amount of light emitted from each light-emitting section 41 by the light emission of the VCSEL. And, the greater the amount of light emitted from the light-emitting section 41, the greater the amount of heat generated by the light emission of the VCSEL, and the longer the cooling period of each light-emitting section 41 required to suppress the effects of heat is likely to be. In the distance measuring device 1 of this embodiment, the greater the amount of light emitted from the light-emitting section 41, the greater the number of other light-emitting sections 41 whose non-light-emitting period includes a light-emitting period. Also, in the distance measuring device 1 of this embodiment, the longer the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission, the greater the number of other light-emitting sections 41 whose non-light-emitting period includes a light-emitting period. Furthermore, in the distance measuring device 1 of this embodiment, the sum of the acquisition period required for the control unit 8 to perform the readout operation on each light-receiving section 51 and the light-emitting period of the other light-emitting section 41 whose non-light-emitting period includes a light-emitting period is determined so that it is not shorter than the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission. As a result, the distance measuring device 1 ensures a cooling period necessary to suppress the influence of heat generation accompanying light emission from the light-emitting section 41 during a period in which the light-emitting section 41 does not emit light. In this embodiment, the amount of light emitted from the light-emitting section 41 is an example of an index that changes due to heat generation from the light-emitting section 41.

[0056] FIG. 7 is a diagram showing a second operation pattern 802 of the distance measuring device 1 to which this embodiment is applied. In this example, the distance measuring device 1 performs a light emitting operation in each light emitting section 41, a light receiving operation in each light receiving section 51, and a readout operation for each light receiving section 51 in accordance with a first operating pattern 801 shown in FIG. 6 or a second operating pattern 802 shown in FIG. 7 depending on the amount of light emitted from the light emitting section 41.

[0057] First, the second operation pattern 802 shown in FIG. 7 will be described. In addition, in Fig. 7 to Fig. 16 described below, the contents indicated by the items H1 to H3 on the 1st to 13th lines are the same as the corresponding notations in Fig. 6. 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 by taking as an example a case where the light emitting period of each light emitting section 41 is 500 μs, similar to the first operation pattern 801 described using Fig. 6.

[0058] 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. Moreover, each light-emitting section Ai and each light-receiving section Ci belong to the same group as the corresponding irradiation section Bi. Hereinafter, these groups G1 to G4 may be referred to as group G without distinction.

[0059] In the second operation pattern 802 shown in FIG. 7, after the operation related to distance measurement of the group Gi is completed, the operation related to distance measurement of the group Gj (j=i+1) is started. From the viewpoint of light emission operation, the light emission period of the light emission section Aj (j≠i) belonging to the same group Gi is provided during the non-light emission period of the light emission section Ai belonging to the same group Gi, and the light emission period of the light emission section Ak (k≠i,j) belonging to the group Gj is provided after the light emission period of the light emission sections Ai, Aj belonging to the group Gi, which is scheduled four times. In this example, the light emission section Ai is an example of the first light emission section, the light emission section Aj is an example of the second light emission section, the group Gi is an example of one light emission section group, and the group Gj is an example of another light emission section group. In addition, in the second operation pattern 802, when the light emission section A1 is the first light emission section, the light emission sections A2, A3 having a light emission period during the non-light emission period of the light emission section A1 correspond to the second light emission section. In addition, in the second operation pattern 802, the number of second light-emitting sections whose light-emitting periods are included in the non-light-emitting periods of the first light-emitting sections is 2. That is, in the second operation pattern 802, the number of second light-emitting sections whose light-emitting periods are included in the non-light-emitting periods of the first light-emitting sections is smaller than that in the first operation pattern 801.

[0060] 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, after all the light-emitting sections A1 to A3 belonging to the group G1 have completed their light-emitting periods once, 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. Similarly, the second light-receiving result with a phase difference of φ=0 degrees is obtained at time u=5 to 8, the first light-receiving result with a phase difference of φ=180 degrees is obtained at time u=9 to 12, and the second light-receiving result with a phase difference of φ=180 degrees is obtained at time u=13 to 16. In this way, at time u=1 to 16, four light-emitting operations are performed in the light-emitting sections A1 to A3 corresponding to the irradiation sections B1 to B3 of the group G1, four light-receiving operations are performed in the corresponding light-receiving sections C1 to C3, and four readout operations are performed by the control unit 8 for the light-receiving sections C1 to C3. In other words, at time u=16, the planned four light emission operations, light reception operations and readout operations are completed for all irradiation sections B1 to B3 belonging to group G1, and the operations related to distance measurement for group G1 are completed.

[0061] 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.

[0062] Thus, in the second operation pattern 802, the fourth read operation in the last group G4 is performed, completing distance measurement for all irradiation sections 61, and the control unit 8 has all the data necessary to create a distance image 100 (see FIG. 5(c)). As shown in FIG. 7, in the second operation pattern 802, the time required to complete distance measurement for all irradiation sections 61 is unit time u×64 (=32.0 ms). Also, the time required to complete the planned number of four light emission periods in all light-emitting sections 41 is unit time u×63 (=31.5 ms).

[0063] In the second operation pattern 802, the interval between the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci and the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is u×3 unit times (1.5 ms). In the second operation pattern 802, as in the first operation pattern 801, the period from the end of the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci to the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci corresponds to the non-light emitting period of the light-emitting section Ai. As described above, in the distance measuring device 1, the period from the end of the first light emitting operation of the light-emitting section Ai and the end of the first light receiving operation of the light-receiving section Ci until the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is the period that can be used as the cooling period of the light-emitting section Ai. That is, in the second operation pattern 802, the period of u×3 unit time (1.5 ms) can be used as the cooling period of the light-emitting section Ai. In this way, in the second operating pattern 802, the period that can be allocated as a cooling period for the light-emitting section Ai (3 unit times u, 1.5 ms) is shorter than the period that can be allocated as a cooling period for the light-emitting section Ai in the first operating pattern 801 (12 unit times u, 6.0 ms).

[0064] As described above, the distance measuring device 1 of this embodiment operates according to either a first operating pattern 801 or a second operating pattern 802, in which the number of other light-emitting sections 41 that have light-emitting periods included in the non-light-emitting period of the light-emitting section 41 differs depending on the amount of light emitted from the light-emitting section 41. More specifically, when the amount of light emitted from the light-emitting section 41 is equal to or greater than a predetermined reference value, the distance measuring device 1 of the present embodiment operates according to a first operation pattern 801 in which the number of other light-emitting sections 41 in which the non-light-emitting period of the light-emitting section 41 includes a light-emitting period is greater than that in the second operation pattern 802. In this example, the reference value of the amount of light emitted from the light-emitting section 41 can be set to the amount of light of the light-emitting section 41 such that the cooling period of the light-emitting section 41 required to suppress the influence of heat generation accompanying the light emission of the VCSEL is 1.5 ms (=3 unit times u (500 μs)). In addition, when the amount of light emitted from the light-emitting section 41 is less than a reference value, the distance measuring device 1 operates according to a second operating pattern 802 in which the number of other light-emitting sections 41 that include light-emitting periods in the non-light-emitting period of the light-emitting section 41 is smaller than that of the first operating pattern 801.

[0065] As described above, in the first operation pattern 801, the interval (6.0 ms) between the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci and the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is longer than that in the second operation pattern 802 (1.5 ms). As a result, when the amount of light emitted from the light-emitting section 41 is equal to or greater than the reference value, the distance measuring device 1 operates according to the first operation pattern 801, and the period that can be allocated as the cooling period of each light-emitting section Ai becomes longer than that when the distance measuring device 1 operates according to the second operation pattern 802. In this example, a period of up to 12 unit times u (6.0 ms) can be allocated as the cooling period H3. As a result, in the distance measuring device 1, even when the amount of light emitted from the light-emitting section 41 is large and the amount of heat generated by the light emission of the VCSEL is large, it is possible to cool each light-emitting section 41 to a temperature at which the influence of heat is suppressed.

[0066] Furthermore, as described above, in the first operating pattern 801, the time (25.5 ms) until the scheduled number of light emitting periods in all light emitting sections 41 is completed is shorter than in the second operating pattern 802 (31.5 ms). Furthermore, in the first operation pattern 801, the time (26.0 ms) required to complete distance measurement of all irradiation sections 61 is shorter than that (32.0 ms) required in the second operation pattern 802. As a result, by operating the distance measuring device 1 according to the first operation pattern 801 when the amount of light emitted from the light-emitting sections 41 is equal to or greater than the reference value, the time required for the control unit 8 to create one distance image 100 is shorter than that required in operating according to the second operation pattern 802.

[0067] 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 first operation pattern 801, the time required to complete distance measurement of all irradiation sections 61 is 26.0 ms, so the frame rate of the distance video is a maximum of 38 fps (frames per second). On the other hand, in the distance measuring device 1 operating according to the second operation pattern 802, the time required to complete distance measurement of all irradiation sections 61 is 32.0 ms, so the frame rate of the distance video is a maximum of 31 fps. Therefore, when the amount of light emitted from the light-emitting section 41 is equal to or greater than a reference value, the distance measuring device 1 operates according to the first operating pattern 801, and can be used to track a target object S moving at a higher speed than when it operates according to the second operating pattern 802.

[0068] On the other hand, when the amount of light emitted from the light-emitting section 41 is less than the reference value, the distance measuring device 1 operates according to the second operation pattern 802, thereby shortening the distance measuring interval compared to when it operates according to the first operation pattern 801. In addition, as described above, 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), whereas in the distance measuring device 1 operating according to the second operation pattern 802, the distance measuring interval is 3 unit times (1.5 ms). As a result, in the distance measuring device 1, by operating according to the second operating pattern 802 when the amount of light emitted from the light-emitting section 41 is less than a reference value, the effects of motion artifacts can be reduced compared to when operating according to the first operating pattern 801.

[0069] As described above, the distance measuring device 1 of this embodiment increases the number of other light-emitting sections 41 (second light-emitting sections) whose light-emitting periods are included in the non-light-emitting period of the light-emitting section 41 (first light-emitting section) as the amount of light emitted from the light-emitting section 41 increases. In other words, the distance measuring device 1 decreases the number of other light-emitting sections 41 (second light-emitting sections) whose light-emitting periods are included in the non-light-emitting period of the light-emitting section 41 (first light-emitting section) as the amount of light emitted from the light-emitting section 41 decreases. In the above example, when the amount of light emitted from the light-emitting sections 41 is less than the reference value, the distance measuring device 1 follows the second operation pattern 802 in which the number of second light-emitting sections whose light-emitting period is included in the non-light-emitting period of the first light-emitting section is two. However, when the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission is short, the number of second light-emitting sections whose light-emitting period is included in the non-light-emitting period of the first light-emitting section in the operation pattern followed by the distance measuring device 1 may be zero. In other words, the operation pattern followed by the distance measuring device 1 does not have to include a second light-emitting section whose light-emitting period is included in the non-light-emitting period of the first light-emitting section.

[0070] FIG. 8 is a diagram showing a third operation pattern 803 of the distance measuring device 1 to which this embodiment is applied. In the third operation pattern 803, after an operation relating to distance measurement of a certain irradiation section Bi is completed, an operation relating to distance measurement of the next irradiation section Bj (j=i+1) is started.

[0071] More specifically, at time u=1 of the third operation pattern 803, 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. At time u=3, 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. Next, at time u=4, similar to time u=2, the control unit 8 performs a read operation on the light receiving section C1. At times u=5 to 6, similarly, a light emitting operation is performed in the light emitting section A1, a first light receiving operation with a phase difference φ=180 degrees is performed in the light receiving section C1, and a read operation is performed by the control unit 8. Furthermore, at times u=7 to 8, similarly, a light emitting operation is performed in the light emitting section A1, a second light receiving operation with a phase difference φ=180 degrees is performed in the light receiving section C1, and a read operation is performed by the control unit 8. This completes the operation of measuring the distance to the irradiation section B1. The operations of measuring the distance to the subsequent irradiation sections B2 to B12 are performed in the same manner as the operation of measuring the distance to the irradiation section B1, and at time u=96, the control section 8 performs a fourth read operation to the light receiving section C12 corresponding to the last irradiation section B12, thereby completing the measurement of the distance to all irradiation sections 61 (B1 to B12).

[0072] In this way, in the third operation pattern 803, 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. 8, in the third operation pattern 803, the time until distance measurement of all irradiation sections 61 is completed is unit time u x 96 (=48.0 ms). In the third operating pattern 803, 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. 8, in the third operating pattern 803, 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 95 (=47.5 ms).

[0073] In the third operation pattern 803, the interval between the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci and the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is u×1 unit time (0.5 ms). In the third operation pattern 803, similarly to the first operation pattern 801 and the second operation pattern 802, the period from the end of the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci to the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci corresponds to the non-light emitting period of the light-emitting section Ai. As described above, in the distance measuring device 1, the period from the end of the first light emitting operation of the light-emitting section Ai and the end of the first light receiving operation of the light-receiving section Ci until the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is the period that can be used as the cooling period of the light-emitting section Ai. That is, in the third operation pattern 803, the period of one unit time u (0.5 ms) can be used as the cooling period of the light-emitting section Ai. Therefore, in this embodiment, it is preferable that the distance measuring device 1 operates according to the third operating pattern 803 when the amount of light emitted from the light-emitting section 41 is such that the cooling period of the light-emitting section required to suppress the effects of heat generation is 0.5 ms (= 1 unit time u).

[0074] By operating according to the third operation pattern 803, the distance measuring device 1 has a shorter distance measuring interval than when it operates according to the first operation pattern 801 and the second operation pattern 802. In addition, as described above, the distance measuring device 1 operating according to the first operation pattern 801 has a distance measuring interval of 12 unit times (6.0 ms), the distance measuring device 1 operating according to the second operation pattern 802 has a distance measuring interval of 3 unit times (1.5 ms), while the distance measuring device 1 operating according to the third operation pattern 803 has a distance measuring interval of 1 unit time (0.5 ms). As a result, in the distance measuring device 1, by operating according to the third operation pattern 803, it is possible to further reduce the influence of motion artifacts compared to the cases where the distance measuring device 1 operates according to the first operation pattern 801 and the second operation pattern 802.

[0075] In the distance measuring device 1 of this embodiment, the amount of light emitted from the light-emitting sections 41 may be set, for example, by a user operating the distance measuring device 1. Based on the amount of light set by the user, the control unit 8 calculates the cooling period of each light-emitting section 41 required to suppress the influence of heat generation accompanying light emission. Then, based on the calculated cooling period of each light-emitting section 41, the control unit 8 selects an operation pattern to be followed by the distance measuring device 1 and controls the operation of the light-emitting unit 4 and the light-receiving unit 5 of the optical device 3. In the distance measuring device 1, for example, the amount of light emitted from the light-emitting section 41 may be acquired based on the detection result of a light amount sensor or the like that detects the amount of light emitted from the light-emitting section 41.

[0076] In addition, depending on the temperature of the environment in which the light-emitting unit 4 is installed, the transition of the temperature of the light-emitting unit 4 after the light-emitting operation is performed may differ, and the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission may differ. 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 is performed than when the light-emitting unit 4 is installed in a high-temperature environment, so the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission is likely to be short. Therefore, the control unit 8 may calculate the cooling period of each light-emitting section 41 required to suppress the influence of heat generation due to light emission based on the temperature of the environment and the temperature of the light-emitting unit 4. For example, the control unit 8 may obtain the temperature of the environment and the temperature of the light-emitting unit 4 measured by a temperature sensor or the like, and calculate the cooling period according to the obtained temperature information. More specifically, the control unit 8 may shorten the cooling period when the difference between the temperature of the environment and the temperature of the light-emitting unit 4 is larger, and may lengthen the cooling period when the difference between the temperature of the environment and the temperature of the light-emitting unit 4 is smaller.

[0077] In addition, the distance measuring device 1 may perform some or all of the distance measuring operations according to a predetermined operation pattern, and then change the operation pattern based on the obtained distance measuring result. In this case, the distance measuring result is an example of an index that changes due to heat generation of the light emitting section 41. For example, based on the state of the distance image 100 (see FIG. 5(c)) obtained as a result of distance measurement, the distance measuring device 1 calculates the cooling period of each light-emitting section 41 required to suppress the influence of heat generation accompanying light emission, and changes the operation pattern followed by the distance measuring device 1. Specifically, when a decrease in the accuracy of distance measurement is confirmed in the obtained distance image 100, such as an image S' being depicted in a shape different from the actual object S, the distance measuring device 1 may determine that the cooling period of each light-emitting section 41 is insufficient and change the operation pattern followed to an operation pattern that ensures a longer cooling period.

[0078] (First mode of switching of operation patterns according to the state of the object on the irradiation surface 60) Next, a first mode will be described in which the distance measuring device 1 switches the operation pattern depending on the state of an object present on the irradiation surface 60. Here, a mode will be described in which the operation pattern is switched depending on the relative movement amount of the object on the irradiation surface 60 when the object is a moving object as the state of the object present on the irradiation surface 60. In this embodiment, the relative movement amount of the object means the movement amount of the object per unit time on the irradiation surface 60. In addition, even if the moving speed of the object is the same, the closer the distance between the light emitting surface 40 and the irradiation surface 60 on which the object exists, the larger the relative movement amount of the object. The distance measuring device 1 of this embodiment acquires the relative movement amount of the object based on, for example, an infrared image captured by the imaging unit 9.

[0079] In the distance measuring device 1, the greater the relative movement of the object, the greater the movement of the object between the first light emission operation of the light-emitting section 41 and the first light reception operation of the light-receiving section 51 corresponding to a certain irradiation section 61, and the second light emission operation of the same light-emitting section 41 and the second light reception operation of the light-receiving section 51, making it more likely that motion artifacts will occur. Furthermore, as described above, in the distance measuring device 1, the greater the interval between the first light emission operation of the light-emitting section 41 and the first light reception operation of the light-receiving section 51 corresponding to a certain irradiation section 61, and the second light emission operation of the same light-emitting section 41 and the second light reception operation of the light-receiving section 51, the greater the movement of the object S during that interval, making it more likely that motion artifacts will occur.

[0080] In the distance measuring device 1 of the present embodiment, the greater the amount of relative movement of the object on the irradiation surface 60, the fewer the number of other light emitting sections 41 whose light emitting periods are included in the non-light emitting period of the light emitting section 41. As described above, in the operation pattern of the distance measuring device 1, the period from the end of the first light emitting operation of the light emitting section 41 corresponding to a certain irradiation section 61 and the end of the first light receiving operation of the light receiving section 51 to the start of the second light emitting operation of the same light emitting section 41 and the second light receiving operation of the light receiving section 51 corresponds to the non-light emitting period. In the distance measuring device 1, the greater the relative movement amount of the object on the irradiation surface 60, the fewer the number of other light emitting sections 41 in which the light emitting period is included in the non-light emitting period of the light emitting section 41, thereby shortening the period from the end of the first light emitting operation of the light emitting section 41 corresponding to a certain irradiation section 61 and the end of the first light receiving operation of the light receiving section 51 to the start of the second light emitting operation of the same light emitting section 41 and the second light receiving operation of the light receiving section 51. This makes it possible to reduce the movement of the object between the first light emitting operation of the light emitting section 41 corresponding to a certain irradiation section 61 and the first light receiving operation of the light receiving section 51, and the second light emitting operation of the same light emitting section 41 and the second light receiving operation of the light receiving section 51, and to reduce the influence of the motion artifact.

[0081] FIG. 9 is a diagram showing a fourth operation pattern 804 of the distance measuring device 1 to which this embodiment is applied. In this example, the distance measuring device 1 performs a light emitting operation in each light emitting section 41, a light receiving operation in each light receiving section 51, and a readout operation for each light receiving section 51 in accordance with the second operation pattern 802 shown in FIG. 7 or the fourth operation pattern 804 shown in FIG. 9, depending on the relative movement amount on the irradiation surface 60 of the object. Here, an example will be described in which the predetermined cooling period for suppressing the effects of heat generation accompanying light emission is 1.5 ms (equivalent to three unit times) in both the second operation pattern 802 and the fourth operation pattern 804.

[0082] First, the fourth operation pattern 804 shown in FIG. 9 will be described. The fourth operation pattern 804 is similar to the first operation pattern 801 shown in FIG. 6, except that the cooling period in each light-emitting section 41 is three unit times. Therefore, in the fourth operation pattern 804, the interval (distance measurement interval) between the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci and the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci is unit time u×12 (6.0 ms). Note that in the fourth operation pattern 804, the period from the end of the first light emitting operation of the light-emitting section Ai and the first light receiving operation of the light-receiving section Ci to the start of the second light emitting operation of the light-emitting section Ai and the second light receiving operation of the light-receiving section Ci corresponds to the non-light emitting period of the light-emitting section Ai. Furthermore, in the fourth operation pattern 804, the time until distance measurement of all irradiation sections 61 is completed (52 unit times = 26.0 ms), the time until the planned number of four light emission periods in all light-emitting sections 41 is completed (51 unit times = 25.5 ms), and the frame rate of the distance video (maximum 38 fps) are the same as those of the first operation pattern 801.

[0083] In addition, in the second operation pattern 802, as described above, the interval (distance measurement interval) between the first light-emitting operation of the light-emitting section Ai and the first light-receiving operation of the light-receiving section Ci and the second light-emitting operation of the light-emitting section Ai and the second light-receiving operation of the light-receiving section Ci is 3 unit times u (1.5 ms).

[0084] When the relative movement of the object on the irradiation surface 60 is equal to or greater than a predetermined reference value, the distance measuring device 1 of this embodiment operates according to a second operating pattern 802 in which the number of other light-emitting sections 41 that include light-emitting periods in the non-light-emitting period of the light-emitting section 41 is smaller than that of the fourth operating pattern 804. In the second operating pattern 802, the interval (1.5 ms) between the first light-emitting operation of the light-emitting section Ai and the first light-receiving operation of the light-receiving section Ci and the second light-emitting operation of the light-emitting section Ai and the second light-receiving operation of the light-receiving section Ci is shorter than that in the fourth operating pattern 804 (6.0 ms). As a result, in the distance measuring device 1, when the relative movement amount of the object on the irradiation surface 60 is equal to or greater than a predetermined reference value, the distance measuring device 1 operates according to the second operation pattern 804, thereby reducing the influence of motion artifacts compared to when the distance measuring device 1 operates according to the fourth operation pattern 804.

[0085] On the other hand, when the amount of relative movement of the object on the irradiation surface 60 is less than a predetermined reference value, the distance measuring device 1 operates according to a fourth operation pattern 804 in which the number of other light-emitting sections 41 in which the light-emitting period is included in the non-light-emitting period of the light-emitting section 41 is greater than that in the second operation pattern 802. Note that when the amount of relative movement of the object on the irradiation surface 60 is less than a predetermined reference value, this also includes the case where the amount of relative movement of the object on the irradiation surface 60 is 0, in other words, the case where there is no moving object on the irradiation surface 60.

[0086] In the fourth operation pattern 804, the time (25.5 ms) until the scheduled number of light emission periods in all light emission sections 41 is completed is shorter than that (31.5 ms) in the second operation pattern 802. Furthermore, in the fourth operation pattern 804, the time (26.0 ms) until the distance measurement of all irradiation sections 61 is completed is shorter than that in the second operation pattern 802 (32.0 ms). As a result, when the relative movement of the object on the irradiation surface 60 is less than a predetermined reference value, the distance measuring device 1 operates according to the fourth operation pattern 804, thereby shortening the time required by the control unit 8 to create one distance image 100 compared to when operating according to the second operation pattern 802.

[0087] Furthermore, in the fourth operation pattern 804, the frame rate of the distance video (maximum 38 fps) is higher than that in the second operation pattern 802 (maximum 31 fps). As a result, the distance measuring device 1 can be used to track an object S moving at a higher speed by operating according to the fourth operation pattern 804 when the relative movement amount of the object on the irradiation surface 60 is less than a predetermined reference value, compared to when operating according to the second operation pattern 802.

[0088] (Second embodiment of switching of operation pattern according to the state of the object on the irradiation surface 60) Next, a second mode will be described in which the distance measuring device 1 switches the operation pattern depending on the state of an object present on the irradiation surface 60. Here, a mode will be described in which, when the object is a moving object as the state of the object present on the irradiation surface 60, the operation pattern is switched depending on the moving direction of the object on the irradiation surface 60. FIG. 10 is a diagram for explaining the state of the target object S3 present on the irradiation surface 60 and an example of a method for grouping the irradiation sections 61 in a fifth operation pattern 805 described later. 10, an object S3 is present at a position a certain distance away from the distance measuring device 1. In this example, the object S3 moves in the -x direction from the irradiation section B1 of the irradiation surface 60. In addition, the object S3 moves in the -x direction on the irradiation surface 60 from the irradiation sections B1, B2, B3, and B4 in that order. The distance measuring device 1 of this embodiment acquires the moving direction of the object S3 on the irradiation surface 60 based on, for example, an infrared image captured by the imaging unit 9.

[0089] However, in the distance measuring device 1, when the irradiation section 61 and the corresponding light emitting section 41 and light receiving section 51 are divided into multiple groups and the operation of the distance measuring device 1 is determined based on this grouping, depending on the relationship between the grouping method and the direction of movement of the target object S3 on the irradiation surface 60, there is a risk that the accuracy of distance measurement will be reduced, such as by causing distortion in the obtained distance image 100 (see Figure 5 (c)).

[0090] FIG. 11 is a diagram showing a fifth operation pattern 805 of the distance measuring device 1 to which this embodiment is applied. In the fifth operation pattern 805, similar to the second operation pattern 802 described above, the irradiation sections 61 and the corresponding light-emitting sections 41 and light-receiving sections 51 are divided into multiple groups, and the operation of the distance measuring device 1 is determined based on this grouping. Here, we will explain an example in which the predetermined cooling period for suppressing the effects of heat generation due to light emission is 1.5 ms (three unit times) in both the fifth operation pattern 805 shown in FIG. 11 and the sixth operation pattern 806 shown in FIG. 13 described below.

[0091] 10 and 11, in the fifth operation pattern 805, the irradiation sections B1, B5, and B9 belong to group G1, the irradiation sections B2, B6, and B10 belong to group G2, the irradiation sections B3, B7, and B11 belong to group G3, and the irradiation sections B4, B8, and B12 belong to group G4. In addition, in the fifth operation pattern 805, three irradiation sections 61 arranged along the y direction on the irradiation surface 60 belong to the same group G. In addition, although details will be described later, in the fifth operation pattern 805, the direction in which the multiple irradiation sections 61 belonging to the same group G are arranged is different from the moving direction of the target object S3 on the irradiation surface 60. Each light-emitting section Ai and each light-receiving section Ci belong to the same group as the corresponding irradiation section Bi.

[0092] In the fifth operation pattern 805, similarly to the second operation pattern 802, after the operation related to distance measurement of the group Gi is completed, the operation related to distance measurement of the group Gj (j=i+1) is started. From the viewpoint of light emission operation, a light emission period of the light emission section Aj (j≠i) belonging to the same group Gi is provided during a non-light emission period of the light emission section Ai belonging to the same group Gi, and a light emission period of the light emission section Ak (k≠i,j) belonging to the group Gj is provided after the light emission period of the light emission sections Ai, Aj belonging to the group Gi, which is scheduled four times. In this example, the light emission section Ai is an example of a first light emission section, the light emission section Aj is an example of a second light emission section, the group Gi is an example of one group of light emission sections, and the group Gj is an example of another group of light emission sections. In addition, in the fifth operation pattern 805, when the light-emitting section A1 is the first light-emitting section, the light-emitting sections A5 and A9 having a light-emitting period during the non-light-emitting period of the light-emitting section A1 correspond to the second light-emitting section. In addition, in the fifth operation pattern 805, the second light-emitting section is arranged in a direction different from the moving direction of the target S3 with respect to the first light-emitting section.

[0093] As shown in the figure, 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. At time u=2, 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 light-receiving operation. At time u=3, the light-emitting section A9 corresponding to the irradiation section B9 performs a light-emitting operation, and the corresponding light-receiving section C9 performs a light-receiving operation. Then, at time u=4, the control section 8 performs a readout operation for each of the light-receiving sections C1, C5, and C9. As a result, the distance measuring device 1 (control section 8) obtains the results of the first light-receiving operation with a phase difference φ=0 degrees in the irradiation sections B1, B5, and B9 belonging to the group G1. Similarly, at times u=5 to 8, the second light reception result with a phase difference φ=0 degrees is obtained, at times u=9 to 12, the first light reception result with a phase difference φ=180 degrees is obtained, and at times u=13 to 16, the second light reception result with a phase difference φ=180 degrees is obtained. In this way, at times u=1 to 16, four light emission operations are performed in the light emission sections A1, A5, and A9 corresponding to the irradiation sections B1, B5, and B9 of the group G1, four light reception operations are performed in the corresponding light reception sections C1, C5, and C9, and four read operations are performed by the control unit 8 for the light reception sections C1, C5, and C9. In other words, at time u=16, the planned four light emission operations, light reception operations, and read operations are completed for all the irradiation sections B1, B5, and B9 belonging to the group G1, and the operation related to the distance measurement of the group G1 is completed.

[0094] When the operation related to the distance measurement of the group G1 is completed, at time u=17, 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 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 A2, A6, and A10 belonging to the group G2 perform a scheduled number of four light-emitting operations, the light-receiving sections C2, C6, and C10 perform a scheduled 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 times u=33 to 48, and the operation related to the distance measurement of the group G4 is performed at times 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.

[0095] Thus, in the fifth operation pattern 805, the fourth read operation in the last group G4 is performed, completing distance measurement for all irradiation sections 61, and the control unit 8 has all the data necessary to create a distance image 100 (see FIG. 5(c)). As shown in FIG. 11, in the fifth operation pattern 805, the time until distance measurement for all irradiation sections 61 is completed is unit time u×64 (=32.0 ms). Also, in the fifth operation pattern 805, the time until the scheduled number of four light emission periods is completed in all light-emitting sections 41 is unit time u×63 (=31.5 ms).

[0096] Here, in the fifth operation pattern 805, the period from the completion of the light emission operation of the light emission section A1 corresponding to the irradiation section B1 belonging to group G1 and the light reception operation of the light reception section C1 to the completion of the light emission operation of the light emission section A2 corresponding to the irradiation section B2 belonging to group G2 adjacent to the irradiation section B1 in the moving direction of the target S3 and the light reception operation of the light reception section C2 is the unit time u × 16 (8.0 ms). Similarly, in the fifth operation pattern 805, the period from the completion of the light emission operation of the light emission section A2 corresponding to the irradiation section B2 belonging to group G2 and the light reception operation of the light reception section C2 to the completion of the light emission operation of the light emission section A3 corresponding to the irradiation section B3 belonging to group G3 and the light reception operation of the light reception section C3 is the unit time u × 16 (8.0 ms). Similarly, in the fifth operation pattern 805, the period from the completion of the light-emitting operation of the light-emitting section A3 corresponding to the irradiation section B3 belonging to group G3 and the light-receiving operation of the light-receiving section C3 to the completion of the light-emitting operation of the light-emitting section A4 corresponding to the irradiation section B4 belonging to group G4 and the light-receiving operation of the light-receiving section C4 is u x 16 unit times (8.0 ms).

[0097] FIG. 12 is a diagram for explaining the state of the object S3 present on the irradiation surface 60 and the method of grouping the irradiation sections 61 in the sixth operation pattern 806. In FIG. FIG. 13 is a diagram showing a sixth operation pattern 806 of the distance measuring device 1 to which this embodiment is applied. 12 and 13, in the sixth operation pattern 806, 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. In addition, in the sixth operation pattern 806, four irradiation sections 61 arranged along the x direction on the irradiation surface 60 belong to the same group G. In addition, although details will be described later, in the sixth operation pattern 806, a plurality of irradiation sections 61 belonging to the same group G are arranged in the moving direction of the target object S3 on the irradiation surface 60. Each light-emitting section Ai and each light-receiving section Ci belong to the same group as the corresponding irradiation section Bi.

[0098] In the sixth operation pattern 806, similarly to the second operation pattern 802, after the operation related to distance measurement of the group Gi is completed, the operation related to distance measurement of the group Gj (j=i+1) is started. From the viewpoint of light emission operation, the light emission period of the light emission section Aj (j≠i) belonging to the same group Gi is provided during the non-light emission period of the light emission section Ai belonging to the same group Gi, and the light emission period of the light emission section Ak (k≠i,j) belonging to the group Gj is provided after the light emission period of the light emission sections Ai, Aj belonging to the group Gi, which is scheduled four times. In this example, the light emission section Ai is an example of the first light emission section, the light emission section Aj is an example of the second light emission section, the group Gi is an example of one light emission section group, and the group Gj is an example of another light emission section group. In addition, in the sixth operation pattern 806, when the light emission section A1 is the first light emission section, the light emission sections A2 to A4 having a light emission period during the non-light emission period of the light emission section A1 correspond to the second light emission section. More specifically, in the fifth operation pattern 805, the second light emitting zone is aligned with the first light emitting zone in the moving direction of the target object S3.

[0099] As shown in the figure, in the sixth operation pattern 806, 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 receiving at a phase difference φ=0 degrees in the irradiation sections B1 to B4 belonging to the group G1. Similarly, the results of the second light receiving at a phase difference φ=0 degrees are obtained at times u=6 to 10, the results of the first light receiving at a phase difference φ=180 degrees are obtained at times u=11 to 15, and the results of the second light receiving at a phase difference φ=180 degrees are obtained at times u=16 to 20. In this way, during times u=1 to 20, four light emitting operations are performed in the light emitting sections A1 to A4 corresponding to the irradiation sections B1 to B4 of group G1, four light receiving operations are performed in the corresponding light receiving sections C1 to C4, and four readout operations are performed for the light receiving sections C1 to C4 by the control unit 8. After the light emitting operations of the light emitting sections A1 to A4, a cooling period of four unit times is ensured, including the period of the readout operation. Thereafter, the operations relating to distance measurement are carried out in the same manner for the other groups G2 and G3.

[0100] Thus, in the sixth operation pattern 806, the fourth read operation in the last group G3 is performed, completing distance measurement for all irradiation sections 61, and the control unit 8 has all the data necessary to create a distance image 100 (see FIG. 5(c)). As shown in FIG. 13, in the sixth operation pattern 806, the time required to complete distance measurement for all irradiation sections 61 is unit time u×60 (=30.0 ms). Also, in the sixth operation pattern 806, the time required to complete the scheduled number of four light emission periods in all light-emitting sections 41 is unit time u×59 (=29.5 ms).

[0101] Here, in the sixth operation pattern 806, the period from the completion of the light emission operation of the light emission section A1 corresponding to the irradiation section B1 belonging to the group G1 and the light reception operation of the light reception section C1 to the completion of the light emission operation of the light emission section A2 corresponding to the irradiation section B2 adjacent to the irradiation section B1 in the moving direction of the target S3 belonging to the group G1 and the light reception operation of the light reception section C2 is the unit time u × 1 (0.5 ms). Similarly, in the sixth operation pattern 806, the period from the completion of the light emission operation of the light emission section A2 corresponding to the irradiation section B2 and the light reception operation of the light reception section C2 to the completion of the light emission operation of the light emission section A3 corresponding to the irradiation section B3 and the light reception operation of the light reception section C3 is the unit time u × 1 (0.5 ms). Similarly, in the sixth operation pattern 806, the period from the completion of the light-emitting operation of the light-emitting section A3 corresponding to the irradiation section B3 and the light-receiving operation of the light-receiving section C3 to the completion of the light-emitting operation of the light-emitting section A4 corresponding to the irradiation section B4 and the light-receiving operation of the light-receiving section C4 is one unit time u x 1 (0.5 ms).

[0102] Here, a case will be considered in which, when the object S3 moves in the ±x directions on the irradiation surface 60, the distance measuring device 1 operates according to the fifth operation pattern 805 described above. As described above, in the fifth operation pattern 805, the interval (16.0 ms) between the completion of the light-emitting operation of the light-emitting section 41 and the light-receiving operation of the light-receiving section 51 corresponding to a certain irradiation section 61 and the completion of the light-emitting operation of the light-emitting section 41 and the light-receiving operation of the light-receiving section 51 corresponding to the irradiation section 61 adjacent to this irradiation section 61 in the -x direction is longer than that in the sixth operation pattern 806 (0.5 ms).

[0103] Furthermore, if the movement speed of the object S3 on the irradiation surface 60 is excessively high, in a distance measuring device 1 operating according to the fifth operation pattern 805, the distance moved by the object S3 between the completion of the light emission operation of the light-emitting section 41 corresponding to a certain irradiation section 61 and the light reception operation of the light-receiving section 51 and the completion of the light emission operation of the light-emitting section 41 corresponding to the irradiation section 61 adjacent to this irradiation section 61 in the -x direction and the completion of the light reception operation of the light-receiving section 51. In this case, there is a risk that the accuracy of distance measurement for the object S3 will decrease, for example, due to distortion of the image of the object S3 in the obtained distance image 100 (see FIG. 5(c)).

[0104] In contrast, the distance measuring device 1 of this embodiment operates according to a sixth operation pattern 806 when the object S3 moves on the irradiation surface 60 in the ±x directions. In the sixth operation pattern 806, the interval (0.5 ms) between the completion of the light-emitting operation of the light-emitting section 41 and the light-receiving operation of the light-receiving section 51 corresponding to a certain irradiation section 61 and the completion of the light-emitting operation of the light-emitting section 41 and the light-receiving operation of the light-receiving section 51 corresponding to the irradiation section 61 adjacent to this irradiation section 61 in the -x direction is shorter than that in the fifth operation pattern 805 (16.0 ms). As a result, even when the movement speed of the object S3 on the irradiation surface 60 is high, the distance moved by the object S3 from the completion of the light-emitting operation of the light-emitting section 41 corresponding to a certain irradiation section 61 and the light-receiving operation of the light-receiving section 51 to the completion of the light-emitting operation of the light-emitting section 41 corresponding to the irradiation section 61 adjacent to this irradiation section 61 in the -x direction and the light-receiving operation of the light-receiving section 51 is reduced compared to when the fifth operation pattern 805 is followed. As a result, the image of the object S3 in the obtained distance image 100 is less likely to be distorted, and the accuracy of measuring the distance to the object S3 is less likely to decrease.

[0105] 12, the moving direction of the object S3 on the irradiation surface 60 coincides with the direction in which the irradiation sections 61 (for example, the irradiation sections B1 to B4 of the group G1) included in each group G into which the multiple irradiation sections 61 are grouped are arranged, but they do not have to coincide completely. That is, it is sufficient that the moving direction of the object S3 on the irradiation surface 60 includes a vector in the direction in which the irradiation sections 61 (for example, the irradiation sections B1 to B4 of the group G1) included in each group G into which the multiple irradiation sections 61 are grouped are arranged.

[0106] Although not shown, for example, when the movement direction of the object on the irradiation surface 60 is the ±y direction, the distance measuring device 1 may operate according to the fifth operation pattern 805 shown in Fig. 11. In this case, compared to when the distance measuring device 1 operates according to the sixth operation pattern 806, the image of the object is less likely to be distorted in the distance image 100, and the accuracy of distance measurement of the object is less likely to decrease.

[0107] Here, the distance measuring device 1 acquires the movement direction of the object S3 present on the irradiation surface 60 based on the captured image captured by the photographing unit 9, and follows an operation pattern according to the acquired movement direction of the object S3. However, this is not limited to this. For example, when the object to be measured is an object whose direction of movement and relative amount of movement are predetermined, such as an object transported on a conveyer belt, the distance measuring device 1 can accept input of the direction of movement and relative amount of movement of the object, for example, from a user, and operate according to an operating pattern corresponding to the accepted direction of movement and relative amount of movement of the object.

[0108] (Third aspect of switching of operation pattern according to the state of the object on the irradiation surface 60) Incidentally, in the above-mentioned second operation pattern 802, fifth operation pattern 805, and sixth operation pattern 806, when the irradiation sections 61 and the corresponding light-emitting sections 41 and light-receiving sections 51 are divided into a plurality of groups, the number of irradiation sections 61, light-emitting sections 41, and light-receiving sections 51 belonging to each group is set to be equal to each other. However, the number of irradiation sections 61, light-emitting sections 41, and light-receiving sections 51 belonging to each group may be different from each other. Next, a third aspect will be described in which the distance measuring device 1 switches the operation pattern depending on the state of the object present on the irradiation surface 60. Here, an aspect will be described in which the method of dividing the multiple irradiation sections 61 etc. into groups is changed depending on the position of the object on the irradiation surface 60, as the state of the object present on the irradiation surface 60. The distance measuring device 1 of this embodiment acquires the position of the object on the irradiation surface 60 based on, for example, an infrared image captured by the imaging unit 9.

[0109] FIG. 14 is a diagram for explaining the state of the target object S4 present on the irradiation surface 60 and the method of grouping the irradiation sections 61 in the seventh operation pattern 807. FIG. 15 is a diagram showing a seventh operation pattern 807 of the distance measuring device 1 to which this embodiment is applied. Here, in the seventh operation pattern 807 shown in FIG. 15, a case where a cooling period predetermined for suppressing the influence of heat generation accompanying light emission is 1.5 ms (corresponding to three unit times) will be described as an example.

[0110] In the example shown in FIG. 14, on the irradiation surface 60, a target object S4, which is a stationary object that does not move, exists across the irradiation sections B1 to B3. 14 and 15, in the seventh operation pattern 807, the irradiation sections B1 to B4 belong to group G1, and the irradiation sections B5 to B12 belong to group G2. Thus, in the seventh operation pattern 807, the group G1 including the irradiation sections B1 to B3 in which the object S4 exists on the irradiation surface 60 has a larger number of irradiation sections 61 in group G than the group G2 not including the irradiation sections B1 to B3 in which the object S4 exists on the irradiation surface 60. Each light-emitting section Ai and each light-receiving section Ci belong to the same group as the corresponding irradiation section Bi.

[0111] In the seventh operation pattern 807, similarly to the second operation pattern 802, after the operation related to distance measurement of the group Gi is completed, the operation related to distance measurement of the group Gj (j=i+1) is started. From the viewpoint of light emission operation, a light emission period of the light emission section Aj (j≠i) belonging to the same group Gi is provided during a non-light emission period of the light emission section Ai belonging to the same group Gi, and a light emission period of the light emission section Ak (k≠i,j) belonging to the group Gj is provided after the light emission period of the light emission sections Ai, Aj belonging to the group Gi, which is scheduled four times. Note that in this example, the light emission section Ai is an example of a first light emission section, the light emission section Aj is an example of a second light emission section, the group Gi is an example of one group of light emission sections, and the group Gj is an example of another group of light emission sections. In addition, in the seventh operation pattern 807, when the light-emitting section A1 is the first light-emitting section in the group G1, the light-emitting sections A2 to A4 having a light-emitting period during the non-light-emitting period of the light-emitting section A1 correspond to the second light-emitting section. Also, in the seventh operation pattern 807, when the light-emitting section A5 is the first light-emitting section in the group G2, the light-emitting sections A6 to A12 having a light-emitting period during the non-light-emitting period of the light-emitting section A5 correspond to the second light-emitting section. That is, in the seventh operation pattern 807, the number of second light-emitting sections and the position of the second light-emitting sections relative to the first light-emitting section are different between the group G1 and the group G2, which are examples of light-emitting section groups.

[0112] As shown in the figure, in the seventh operation pattern 807, the operation of the distance measuring device 1 at times u=1 to 20 is the same as that of the sixth operation pattern 806. That is, at time u=20, the distance measuring device 1 (controller 8) completes the planned number of four light emitting operations, light receiving operations, and readout operations for all irradiation sections B1 to B4 belonging to group G1, and the operations related to distance measuring for group G1 are completed. When the operation related to distance measurement of group G1 is completed, at time u=21, 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 of group G2. Then, similar to group G1, the light-emitting sections A5-A12 belonging to group G2 perform a planned number of four light-emitting operations, the light-receiving sections C5-C12 perform a planned number of four light-receiving operations, and the control unit 8 performs four readout operations, and the operation related to distance measurement of group G2 is completed at time u=56.

[0113] Thus, in the seventh operation pattern 807, the fourth read operation in group G2 is performed, completing distance measurement for all irradiation sections 61, and the data necessary for the control unit 8 to create a distance image 100 (see FIG. 5(c)) is obtained. As shown in FIG. 15, in the seventh operation pattern 807, the time required to complete distance measurement for all irradiation sections 61 is unit time u×56 (=28.0 ms). Also, the time required to complete the scheduled number of four light emission periods in all light-emitting sections 41 is unit time u×55 (=27.5 ms).

[0114] In the seventh operation pattern 807, the interval between the first light-emitting operation of the light-emitting section Ai and the first light-receiving operation of the light-receiving section Ci belonging to group G1 and the second light-emitting operation of the light-emitting section Ai and the second light-receiving operation of the light-receiving section Ci is u×4 unit times (2.0 ms). In addition, in the seventh operation pattern 807, the interval between the first light-emitting operation of the light-emitting section Aj (j ≠ i) belonging to group G2 and the first light-receiving operation of the light-receiving section Cj and the second light-emitting operation of the light-emitting section Aj and the second light-receiving operation of the light-receiving section Cj is u × 8 unit times (4.0 ms). That is, in the seventh operation pattern 807, the interval between the first light-emitting operation of the light-emitting section 41 and the first light-receiving operation of the light-receiving section 51 corresponding to the irradiation section 61 belonging to group G and the second light-emitting operation of the same light-emitting section 41 and the second light-receiving operation of the light-receiving section 51 is shorter in group G1 than in group G2.

[0115] As described above, in the distance measuring device 1, the shorter the interval between the first light emission operation of the light-emitting section 41 and the first light reception operation of the light-receiving section 51 corresponding to a certain irradiation section 61, and the second light emission operation of the same light-emitting section 41 and the second light reception operation of the light-receiving section 51, the less the effect of motion artifacts. In this embodiment, by the distance measuring device 1 operating according to the seventh operation pattern 807, the influence of motion artifacts can be reduced compared to a case where, for example, the interval between the first light emission operation of the light-emitting section 41 and the first light reception operation of the light-receiving section 51 corresponding to the irradiation section 61 belonging to group G1 and the second light emission operation of the same light-emitting section 41 and the second light reception operation of the light-receiving section 51 is equal to that of group G2.

[0116] In addition, in the seventh operation pattern 807, the number of irradiation sections 61, light-emitting sections 41 and light-receiving sections 51 included in a group including irradiation sections 61 etc. where no object S4 is present is increased compared to a group including irradiation sections 61 etc. where an object S4 is present, thereby shortening the time required for the control unit 8 to create one distance image 100. For example, the seventh operation pattern 807 is compared with the sixth operation pattern 806 in which the numbers of irradiation sections 61, light-emitting sections 41, and light-receiving sections 51 belonging to groups G1 to G3 are equal to each other. In the seventh operation pattern 807, the time (27.5 ms) until the scheduled number of light-emitting periods in all light-emitting sections 41 is completed is shorter than that in the sixth operation pattern 806 (29.5 ms). Furthermore, in the seventh operation pattern 807, the time (28.0 ms) until the distance measurement of all irradiation sections 61 is completed is shorter than that in the sixth operation pattern 806 (30.0 ms).

[0117] Furthermore, in the seventh operation pattern 807, the frame rate of the distance video (maximum 35 fps) is higher than that in the sixth operation pattern 806 (maximum 33 fps). As a result, the distance measuring device 1 can be used to track an object S that moves at a higher speed than when operating according to the sixth operation pattern 807, by increasing the number of irradiation sections 61, light-emitting sections 41 and light-receiving sections 51 included in a group including an irradiation section 61 etc. where an object S4 is not present, compared to a group including an irradiation section 61 etc. where an object S4 is present.

[0118] (Regarding operation patterns in which the light emission periods of multiple light emission sections overlap) 16(a) and 16(b) are diagrams showing an eighth operation pattern 808 and a ninth operation pattern 809 of the distance measuring device 1 to which this embodiment is applied. In the above-mentioned first operation pattern 801 to seventh operation pattern 807, the operation pattern is 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 eighth operation pattern 808 and the ninth operation pattern 809 shown in Fig. 16(a)-(b), the light-emitting operation is allowed 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. In addition, in the eighth operation pattern 808, when the light-emitting section A1 is the first light-emitting section, the light-emitting section A3, which has an overlapping light-emitting period with the light-emitting section A1 and is not adjacent to the light-emitting section A1, corresponds to the third light-emitting section. In addition, in the ninth operation pattern 808, when the light-emitting section A1 is the first light-emitting section, the light-emitting section A3 and the light-emitting section A5, which have an overlapping light-emitting period with the light-emitting section A1 and are not adjacent to the light-emitting section A1, correspond to the third light-emitting section. In other words, the eighth operation pattern 808 and the ninth operation pattern 809 are different in the number of third light-emitting sections and the position of the third light-emitting section relative to the first light-emitting section.

[0119] In the eighth operation pattern 808, 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 eighth operation pattern 808, 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 light-receiving section C1 to C12, thereby obtaining the results of the first light reception at a phase difference of φ=0 degrees for all irradiation sections 61. Similarly, at times u=8 to 14, the results of the second light reception at a phase difference of φ=0 degrees are obtained, at times u=15 to 21, the results of the first light reception at a phase difference of φ=180 degrees are obtained, and at times u=22 to 28, the results of the second light reception at a phase difference of φ=180 degrees are obtained. Thus, in the eighth operation pattern 808, distance measurement of all the irradiation sections 61 (B1 to B12) is completed.

[0120] 16(a), in the eighth operation pattern 808, the time required to complete distance measurement for all irradiation sections 61 is unit time u×28 (=14.0 ms). Also, the time required to complete the scheduled number of four light emission periods for all light emission sections 41 is unit time u×27 (=13.5 ms). Furthermore, the distance measurement interval in the eighth operation pattern 808 is unit time 6 (3.0 ms).

[0121] In the ninth operation pattern 809, 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 the same time u=1, in parallel, 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. At the same 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. Furthermore, at the same time u=2, the light-emitting section A6 corresponding to the irradiation section B6 performs a light-emitting operation in parallel, and the corresponding light-receiving section C6 performs a first light-receiving operation with a phase difference φ=0 degrees. Similarly, for the combination of the irradiation sections B7, B9, B11 and the combination of the irradiation sections B8, B10, 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 ninth operation pattern 809, the combination of the non-adjacent light-emitting sections A1, A3, A5, the combination of the light-emitting sections A2, A4, A6, the combination of the light-emitting sections A7, A9, A11, and the combination of the light-emitting sections A8, A10, A12 perform a light-emitting operation at the same time u, and the light-emitting periods overlap. Then, at the time u=5, the control unit 8 performs a readout operation for each of the light-receiving sections C1 to C12 to obtain the results of the first light-receiving operation with a phase difference φ=0 degrees for all the irradiation sections 61. Similarly, at times u=6 to 10, the results of the second light reception with a phase difference φ=0 degrees are obtained, at times u=11 to 15, the results of the first light reception with a phase difference φ=180 degrees are obtained, and at times u=16 to 20, the results of the second light reception with a phase difference φ=180 degrees are obtained. Thus, in the ninth operation pattern 809, distance measurement of all irradiation sections 61 (B1 to B12) is completed.

[0122] 16(b), in the ninth operation pattern 809, the time required to complete distance measurement for all irradiation sections 61 is unit time u×20 (=10.0 ms), which is shorter than that in the eighth operation pattern 808 (14.0 ms). Also, the time required to complete the scheduled number of four light emission periods in all light emission sections 41 is unit time u×19 (=9.5 ms), which is shorter than that in the eighth operation pattern 808 (13.5 ms). Furthermore, the distance measurement interval in the ninth operation pattern 809 is four unit times (2.0 ms).

[0123] That is, the distance measuring device 1 operates according to the eighth operation pattern 808 or the ninth operation pattern 809, which allows light emission so that the light emission period of a certain light-emitting section Ai overlaps with the light emission period of a light-emitting section Ak (k≠i) that is not adjacent to the light-emitting section Ai, and thus the distance measurement interval becomes shorter than when the distance measuring device 1 operates according to an operation pattern (for example, the first operation pattern 801) in which 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). This makes it possible to reduce the influence of motion artifacts.

[0124] In addition, in Figures 16(a) to (b), in the eighth operation pattern 808 and the ninth operation pattern 809, the cooling period H3 that is predetermined to suppress the effects of heat generation due to light emission is shown to be 1.5 ms (three unit times), but this is not limited to this.

[0125] In the present embodiment, when light emitting operation is permitted so that the light emitting period of a 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, the distance measuring device 1 operates according to different operating patterns depending on the condition of the object present on the irradiation surface 60, the influence of heat generated by each light emitting section 41, etc. For example, the greater the amount of light emitted from the light-emitting section 41, or the longer the cooling period of each light-emitting section 41 required to suppress the effects of heat generation associated with light emission, the smaller the operating pattern the distance measuring device 1 follows, with fewer light-emitting sections Ak (k ≠ i) that are not adjacent to a light-emitting section Ai and whose light-emitting periods overlap with each other in a light-emitting section Ai.

[0126] As described above, in the eighth operation pattern 808, which has fewer light-emitting sections Ak (k≠i) that are not adjacent to the light-emitting section Ai and whose light-emitting periods overlap with each other in a certain light-emitting section Ai compared to the ninth operation pattern 809, the distance measurement interval (3.0 ms) corresponding to the non-light-emitting period is longer than that of the ninth operation pattern 809 (2.0 ms). As a result, in the eighth operation pattern 808, the period that can be used as the cooling period for each light-emitting section 41 is longer than that of the ninth operation pattern 809. Furthermore, compared to the ninth operation pattern 809, the eighth operation pattern 808 has a smaller number of light-emitting sections Ak (k≠i) that are not adjacent to light-emitting section Ai and whose light-emitting periods overlap with each other, and therefore the eighth operation pattern 808 generates less heat per unit time from the entire light-emitting unit 4 than the ninth operation pattern 809. Therefore, by operating according to the eighth operation pattern 808, the distance measuring device 1 is less susceptible to the effects of heat generation, such as a decrease in the optical output and shortened lifespan of the VCSEL, compared to when it operates according to the ninth operation pattern 809.

[0127] Furthermore, under conditions where the effects of heat generation from each light-emitting section 41 are unlikely to occur, the distance measuring device 1 follows a ninth operation pattern 809 that has a greater number of light-emitting sections Ak (k≠i) that are not adjacent to a light-emitting section Ai and whose light-emitting periods overlap with each other, compared to the eighth operation pattern 808. As described above, the distance measuring interval (2.0 ms) in the ninth operation pattern 80 is shorter than that of the eighth operation pattern 808 (3.0 ms). This allows the distance measuring device 1 to reduce the effects of motion artifacts compared to when it operates strictly according to the eighth operation pattern 808.

[0128] Here, unlike the above-mentioned eighth operation pattern 808 and ninth operation pattern 809, 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). However, if 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 reception operations will overlap. As a result, for example, light irradiated 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 distance measurement in the light-receiving section Cj. For this reason, it is preferable 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 non-adjacent light-emitting section Ak, as in the eighth operation pattern 808 and ninth operation pattern 809, but the light emission period of the light-emitting section Ai overlaps with the light emission period of the adjacent light-emitting section Aj. In the example of Figures 16(a) to (b), 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.

[0129] (cooling period, non-emission period) In the above-described first operation pattern 801 to ninth operation pattern 809, the cooling period and the non-light emitting period are all described as an integer multiple of the unit time, but they are not limited to being an integer multiple of the unit time.

[0130] (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.

[0131] (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.

[0132] (Range measuring device 1, light emitting device 2, and driving device 10) The distance measuring device 1 that operates according to the operating patterns 801 to 809 described above is an example of a distance measuring device that drives the light emitting unit so that each light emitting section has a predetermined number of light emitting periods followed by a non-light emitting period, and is equipped with a drive unit that can switch to a second light emitting section other than the first light emitting section, in which the light emitting period is included in the non-light emitting period of the first light emitting section among the multiple light emitting sections. 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 according to operation patterns 801-809. This light emitting device 2 is an example of a light emitting device that drives the light emitting section so that each light emitting section has a predetermined number of light emitting periods and a non-light emitting period following each light emitting period, and is equipped with a drive capable of switching a second light emitting section other than the first light emitting section, in which the non-light emitting period of the first light emitting section among the multiple light emitting sections includes a light emitting period. 1, a driving device 10 can be configured that includes a light emission driving unit 6 and a control unit 8 and drives the light emission unit 4 (an example of a light emission device). In other words, a driving device 10 can be configured that drives the light emission unit 4 so that the light emission unit 4 emits light according to operation patterns 801 to 809. This driving device 10 is an example of a driving device that drives the light emission unit so that each light emission section has a predetermined number of light emission periods and a non-light emission period following each light emission period, and can switch a second light emission section other than the first light emission section, in which the non-light emission period of the first light emission section of the multiple light emission sections includes a light emission period.

[0133] <Additional Notes> (((1))) A light emitting device including a plurality of light emitting sections is caused to emit light such that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods; A drive device capable of switching a second light-emitting section other than a first light-emitting section, the second light-emitting section including a light-emitting period during a non-light-emitting period of the first light-emitting section among the plurality of light-emitting sections. (((2))) The driving device described in (((1))) switches the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections depending on an object to which light is irradiated by the light-emitting device. (((3))) The driving device according to (((2))), in the case where the object is moving, the number of the second light emitting sections is decreased as the moving speed of the object increases. (((4))) A driving device as described in ((2))) or (((3))), in which, when the object moves in a first direction, among the multiple light-emitting sections, a light-emitting section that is aligned in the first direction with respect to the first light-emitting section is defined as the second light-emitting section. (((5))) The driving device according to any one of ((1)) to ((4)) above, wherein the number of the second light-emitting sections is increased as the amount of light emitted from the plurality of light-emitting sections of the light-emitting device increases. (((6))) Drive the light emitting device to drive a plurality of groups of light emitting sections, each of which includes the first light emitting section and the second light emitting section having a light emitting period during a non-light emitting period of the first light emitting section, such that the plurality of light emitting periods of the next group of light emitting sections start after the plurality of light emitting periods of the first group of light emitting sections; The driving device according to (((1))), wherein the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections is made different for each of the groups of light-emitting sections. (((7))) The driving device described in (((6))) in which the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections is made different between one group of light-emitting sections that includes the light-emitting section that irradiates light onto an object and another group of light-emitting sections that does not irradiate light onto the object. (((8))) A driving device described in any of ((1)) to ((7))), which causes a third light-emitting section, among the plurality of light-emitting sections, which is different from the first light-emitting section and the second light-emitting section and is not adjacent to the first light-emitting section, to emit light such that the light-emitting period of the third light-emitting section overlaps with the light-emitting period of the first light-emitting section. (((9))) A light emitting section including a plurality of light emitting sections; a drive unit that drives the light emitting unit so that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods, and is capable of switching a second light emitting section other than the first light emitting section, in which a light emitting period is included in the non-light emitting period of a first light emitting section among the plurality of light emitting sections; A light emitting device comprising: (((10))) A light emitting section including a plurality of light emitting sections; a drive unit that drives the light emitting unit so that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods, and is capable of switching a second light emitting section other than the first light emitting section, in which a light emitting period is included in the non-light emitting period of a first light emitting section among the plurality of light emitting sections; a light receiving unit that receives light emitted from the light emitting unit and reflected by an object; a control unit that calculates a distance to the target object based on a result of light reception by the light receiving unit; A distance measuring device comprising: (((11))) The driving unit obtains an index that changes due to heat generation of the plurality of light-emitting sections of the light-emitting unit, The distance measuring device according to (((10))), wherein the second light-emitting section is switched depending on the index when the plurality of light-emitting sections of the light-emitting unit are caused to emit light under predetermined conditions. (((12))) The driving unit switches the second light-emitting section depending on the result of light reception by the light receiving unit when the multiple light-emitting sections of the light-emitting unit are caused to emit light under predetermined conditions as the indicator. (((13))) The image capturing unit further includes an image capturing unit configured to capture an image of an object illuminated with light by the light emitting unit. The distance measuring device according to (((10))), wherein the drive unit switches the second light-emitting zone depending on the state of the object grasped from the image captured by the imaging unit. (((14))) the control unit, after the first light-emitting section and the second light-emitting section each finish one light-emitting period, acquires a result of the light received by the light receiving unit from the start of the light-emitting period of the first light-emitting section to the end of the light-emitting period of the second light-emitting section; The driving unit switches the number of the second light-emitting sections so that the sum of the acquisition period required for the control unit to acquire the result of the light reception and the light-emitting period of the second light-emitting section included in the non-light-emitting period of the first light-emitting section does not fall short of a predetermined cooling period required to cool each of the light-emitting sections.

[0134] According to the driving device of (((1))), it is possible to emit light appropriate to the situation, compared to a case in which the other light-emitting sections that are caused to emit light during the non-light-emitting period of one light-emitting section among a plurality of light-emitting sections are not switched. The driving device according to (((2))) makes it possible to irradiate the object with light suited to the state of the object, compared to a case in which the second light-emitting sections are not switched in accordance with the object. The drive device according to (((3))) makes it possible to irradiate the object with light suited to its movement, compared to a case in which the number of second light emitting sections is increased as the movement speed of the object increases. According to the driving device of (((4))), when an object moves in a first direction, it is possible to irradiate light suitable for the movement of the object, compared to a case in which the light-emitting section aligned in the first direction with the first light-emitting section is not the second light-emitting section. According to the driving device of (((5))), the greater the amount of light emitted from the multiple light-emitting sections of the light-emitting device, the more the effects of heat generation in the light-emitting sections can be reduced compared to a case in which the number of second light-emitting sections is not large. The driving device according to (((6))) enables illumination of light appropriate to the situation, compared to a case in which the second light-emitting sections are not different between one light-emitting section group and another light-emitting section group. According to the driving device of (((7))), it is possible to irradiate light appropriate to the situation of the object, compared to a case in which the second light-emitting sections are not different between one light-emitting section group and another light-emitting section group. According to the driving device of (((8))), the time required to complete 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. The light emitting device according to (((9))) makes it possible to emit light that is appropriate for the situation, compared to a case in which the light emitting sections that are caused to emit light during the non-light emitting period of one of the plurality of light emitting sections are not switched. According to the distance measuring device of (((10))), it is possible to irradiate light appropriate to the situation, compared to a case in which the light-emitting sections that are caused to emit light during the non-emission period of one of the multiple light-emitting sections are not switched. According to the distance measuring device of (((11))), the time required for 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 (((12))), the influence of heat generation in the light-emitting sections can be reduced compared to a case where the second light-emitting sections are not switched in accordance with the result of light reception. According to the distance measuring device of (((13))), the accuracy of measuring the distance to the object can be improved compared to a case where the second light emitting zone is not switched according to the state of the object grasped from the image. According to the distance measuring device of (((14))), the influence of heat generation in the light-emitting sections can be reduced compared to the case where the sum of the acquisition period and the light-emitting period of the second light-emitting section is shorter than the cooling period. [Explanation of symbols]

[0135] 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... photographing section, 10... drive device, 41... light emitting section, 43... VCSEL, 51... light receiving section, 100... distance image, 801 to 809... operation pattern

Claims

1. A light emitting device including a plurality of light emitting sections is caused to emit light such that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods; A drive device capable of switching a second light-emitting section other than a first light-emitting section among the plurality of light-emitting sections, the second light-emitting section being included in a light-emitting period during a non-light-emitting period of the first light-emitting section.

2. The driving device according to claim 1 , wherein the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections is switched depending on an object to be illuminated by the light-emitting device.

3. The drive device according to claim 2 , wherein, when the object is moving, the number of the second light emitting sections is reduced as the moving speed of the object increases.

4. A driving device as described in claim 2 or 3, when the object moves in a first direction, among the multiple light-emitting sections, the light-emitting section that is aligned in the first direction with respect to the first light-emitting section is set to the second light-emitting section.

5. The driving device according to claim 1 , wherein the number of the second light-emitting sections is increased as the amount of light emitted from the plurality of light-emitting sections of the light-emitting device increases.

6. A plurality of groups of light-emitting sections each including the first light-emitting section and the second light-emitting section having a light-emitting period during a non-light-emitting period of the first light-emitting section are driven by the light-emitting device so that the plurality of light-emitting periods of the next group of light-emitting sections start after the plurality of light-emitting periods of the first group of light-emitting sections; The drive device according to claim 1 , wherein the number of the second light-emitting sections or the positions of the second light-emitting sections relative to the first light-emitting sections are made different for each of the groups of light-emitting sections.

7. The driving device described in claim 6, wherein the number of the second light-emitting sections or the position of the second light-emitting sections relative to the first light-emitting sections is different between one group of light-emitting sections that includes the light-emitting section that irradiates light onto an object and another group of light-emitting sections that does not irradiate light onto the object.

8. The driving device of claim 1, wherein a third light-emitting section among the plurality of light-emitting sections, which is different from the first light-emitting section and the second light-emitting section and is not adjacent to the first light-emitting section, is illuminated so that the light-emitting period of the third light-emitting section overlaps with the light-emitting period of the first light-emitting section.

9. A light emitting section including a plurality of light emitting sections; a drive unit that drives the light emitting unit so that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods, and is capable of switching a second light emitting section other than the first light emitting section, in which a light emitting period is included in the non-light emitting period of a first light emitting section among the plurality of light emitting sections; A light emitting device comprising:

10. A light emitting section including a plurality of light emitting sections; a drive unit that drives the light emitting unit so that each of the light emitting sections has a predetermined number of light emitting periods and a non-light emitting period following each of the light emitting periods, and is capable of switching a second light emitting section other than the first light emitting section, in which a light emitting period is included in the non-light emitting period of a first light emitting section among the plurality of light emitting sections; a light receiving unit that receives light emitted from the light emitting unit and reflected by an object; a control unit that calculates a distance to the target object based on a result of light reception by the light receiving unit; A distance measuring device comprising:

11. The driving unit obtains an index that changes due to heat generation of the plurality of light-emitting sections of the light-emitting unit, The distance measuring device according to claim 10 , wherein the second light-emitting section is switched in response to the index when the plurality of light-emitting sections of the light-emitting unit are caused to emit light under a predetermined condition.

12. The distance measuring device according to claim 11 , wherein the driving unit switches the second light-emitting section depending on the result of light reception by the light receiving unit when the multiple light-emitting sections of the light-emitting unit are caused to emit light as the index under predetermined conditions.

13. The image capturing unit further includes an image capturing unit configured to capture an image of an object illuminated with light by the light emitting unit. The distance measuring device according to claim 10 , wherein the driving section switches the second light emission zone depending on a state of the object grasped from the image captured by the imaging section.

14. The control unit, after the first light-emitting section and the second light-emitting section each finish one light-emitting period, acquires a result of the light received by the light receiving unit from the start of the light-emitting period of the first light-emitting section to the end of the light-emitting period of the second light-emitting section; The distance measuring device of claim 10, wherein the driving unit switches the number of the second light-emitting sections so that the sum of the acquisition period required for the control unit to acquire the light reception result and the light-emitting period of the second light-emitting section included in the non-light-emitting period of the first light-emitting section does not fall below a predetermined cooling period required to cool each of the light-emitting sections.

Citation Information

Patent Citations

  • Distance measuring device and method for measuring distance

    JP2020153796A