Patent Publication Number: US-2021167572-A1

Title: Light source apparatus, temperature detection method, and sensing module

Description:
TECHNICAL FIELD 
     The present technology relates to a light source apparatus provided with an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed, a temperature detection method that detects the temperature of the emission section, and a sensing module provided with an image sensor that captures an image by receiving light that is emitted by the emission section and then reflected by a subject. 
     BACKGROUND ART 
     The vertical-cavity surface-emitting laser (VCSEL) is known as a light-emitting element that emits laser light (see Patent Literatures 1 and 2 below, for example). 
     A VCSEL light-emitting element is configured such that an oscillator is formed perpendicular to the semiconductor substrate surface and laser light is emitted in the perpendicular direction, and in recent years, VCSELs have been used widely as light sources when measuring the distance to a subject according to a structured light (STL) method and a time of flight (ToF) method, for example. 
     CITATION LIST 
     Patent Document 
     
         
         Patent Document 1: Japanese Patent Application Laid-Open No. 2012-195436 
         Patent Document 2: Japanese Patent Application Laid-Open No. 2015-103727 
       
    
     SUMMARY OF THE INVENTION 
     Problems to be Solved by the Invention 
     Here, in the case of measuring the distance to a subject according to an STL method or a ToF method, a light source in which a plurality of VCSEL light-emitting elements is disposed in a two-dimensional array is used. Specifically, the subject is illuminated with light emitted from the plurality of light-emitting elements, and the distance to the subject is measured on the basis of an image obtained by receiving reflected light from the subject. 
     When measuring distance in this way, the plurality of light-emitting elements is made to emit light, but the light-emitting efficiency also falls as the temperature of the light-emitting elements rises, making it necessary to detect the temperature appropriately and control the driving of the light-emitting elements accordingly. 
     For this reason, to be able to detect the temperature of the plurality of light-emitting elements, a temperature sensor (for example, a detecting element such as a diode that forms a temperature sensor) is disposed near each individual light-emitting element or each block of multiple light-emitting elements. However, for example, size constraints and manufacturing inconsistencies make it difficult to guarantee the absolute accuracy of the detection values obtained from the plurality of temperature sensors. 
     The present technology has been devised in light of the above circumstances, and an object is to enable the temperature to be detected accurately for a light source apparatus provided with an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed. 
     Solutions to Problems 
     A light source apparatus according to the present technology includes an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed, a driving circuit section configured to cause the plurality of light-emitting elements of the emission section to emit light, a temperature detection section including a plurality of temperature sensors arranged to detect a temperature of the emission section, and a control section configured to, when the light-emitting elements of the emission section are driven by the driving circuit section, correct a detection value from each of the plurality of temperature sensors by using a correction value set for each of the temperature sensors. 
     The temperature sensors are disposed near the array of light-emitting elements for example, making it possible to detect the temperature state of the plurality of light-emitting elements. At this time, it is difficult to guarantee the absolute accuracy of each temperature sensor, and consequently, the detection value from each temperature sensor is corrected using a correction value set prior to driving light emission. 
     In the light source apparatus according to the present technology described above, it is conceivable that the correction value is an offset value indicating a difference from a reference detection value for the detection value from each of the temperature sensors. 
     By setting a reference detection value that serves as a reference for the detection accuracy, and by measuring the difference (offset) from the reference detection value for the detection value from each temperature sensor, the detection value from each temperature sensor is corrected. 
     In the light source apparatus according to the present technology described above, it is conceivable that the correction value is computed by using the detection value of each of the temperature sensors obtained in a non-emission period during which the driving circuit section is not driving the light-emitting elements of the emission section to emit light, and a reference detection value. 
     In other words, the correction value (offset value) is computed by comparing the detection value from each temperature sensor when the emission section is not being driven to the reference detection value. 
     In the light source apparatus according to the present technology described above, it is conceivable that the temperature detection section includes a reference temperature sensor as an absolute thermometer, and the reference detection value is a detection value from the reference temperature sensor. 
     By disposing a single reference temperature sensor for the entire system and treating the reference temperature sensor as an absolute thermometer that serves as a reference, the reference detection value when computing the correction value is established. 
     In the light source apparatus according to the present technology described above, it is conceivable that the reference detection value is an average of detection values from the plurality of temperature sensors. 
     Instead of providing a reference temperature sensor, the average of the detection values from all temperature sensors to be corrected is obtained, for example, and the average is treated as the reference detection value. 
     In the light source apparatus according to the present technology described above, it is conceivable that the temperature sensors are respectively disposed underneath mesas where the light-emitting elements are formed. 
     In the case where light-emitting elements having a diode structure are formed as mesas, for example, a temperature sensor is disposed in correspondence with each mesa. 
     In the light source apparatus according to the present technology described above, it is conceivable that the driving circuit section is configured to be capable of individually driving emission operation for each predetermined unit of a plurality of the light-emitting elements. 
     The predetermined unit may be a unit containing a single light-emitting element, a unit containing a block of multiple light-emitting elements, or the like. 
     With this configuration, the emission driving current can be set to turn emission ON/OFF individually for each light-emitting element or in units of blocks acting as multiple light-emitting element groups, for example. 
     In the light source apparatus according to the present technology described above, it is conceivable that a method of driving the emission section by the driving circuit section is switched on the basis of a temperature detection value corrected and acquired by the control section. 
     The driving method is switched according to the corrected temperature detection values, such as by switching between simultaneous emission driving that causes the plurality of light-emitting elements to emit light simultaneously inside an emission target period, and time-division emission driving that causes the plurality of light-emitting elements to emit light at alternating times inside an emission target period, for example. 
     In the light source apparatus according to the present technology described above, it is conceivable that the emission section is configured to emit light in synchronization with a frame period of an image sensor configured to receive light emitted by the emission section and reflected by a subject. 
     With this arrangement, to handle the case of measuring distance by illuminating a subject with light emitted by the emission section and receiving the light with an image sensor, it is possible to cause the light-emitting elements to emit light at appropriate timings according to the frame cycle of the image sensor. 
     A temperature detection method according to the present technology is executed in a light source apparatus provided with the above emission section, driving circuit section, and temperature detection section, and includes correcting the detection value from each of the plurality of temperature sensors by using the correction value set for each of the temperature sensors in an emission target period during which the light-emitting elements of the emission section are driven to emit light by the driving circuit section. With this arrangement, the accuracy of the detection value from each temperature sensor is improved. 
     Furthermore, a sensing module according to the present technology includes the light source apparatus according to the present technology described above, and an image sensor that captures an image by receiving light that is emitted by the emission section provided in the light source apparatus and then reflected by a subject. 
     Action similar to the light source apparatus according to the present technology described above are also obtained by such a driving method and sensing module. 
     Effects of the Invention 
     According to the present technology, the temperature detection accuracy can be improved for a light source apparatus provided with an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed. 
     Note that, the effect described here is not necessarily limited, and can be any effect described in the present disclosure. 
    
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         FIG. 1  is a block diagram of an exemplary configuration of a distance measuring apparatus including a light source apparatus according to an embodiment of the present technology. 
         FIG. 2  is a diagram explaining a technique of measuring distance according to a structured light (STL) method. 
         FIG. 3  is a diagram illustrating an exemplary circuit configuration of the light source apparatus according to an embodiment. 
         FIG. 4  is a diagram illustrating a modification of a driving circuit provided in the light source apparatus according to an embodiment. 
         FIG. 5  is a diagram illustrating a circuit configuration as a modification of the light source apparatus according to an embodiment. 
         FIG. 6  is a diagram illustrating an exemplary substrate configuration of the light source apparatus according to an embodiment. 
         FIG. 7  is a diagram illustrating another exemplary substrate configuration of the light source apparatus according to an embodiment. 
         FIG. 8  is a diagram illustrating yet another exemplary substrate configuration of the light source apparatus according to an embodiment. 
         FIG. 9  is a diagram illustrating an exemplary structure of an emission section provided in the light source apparatus according to an embodiment. 
         FIG. 10  is a diagram illustrating another exemplary structure of an emission section provided in the light source apparatus according to an embodiment. 
         FIG. 11  is a diagram illustrating an exemplary arrangement of temperature sensors according to a first embodiment. 
         FIG. 12  is a diagram illustrating an exemplary circuit of a temperature sensor according to an embodiment. 
         FIG. 13  is a diagram that schematically illustrates the placement of a temperature sensor according to an embodiment. 
         FIG. 14  is diagram explaining an example of simultaneous emission driving according to an embodiment. 
         FIG. 15  is diagram explaining an example of time-division emission driving according to an embodiment. 
         FIG. 16  is diagram for explaining the action by time-division emission driving according to an embodiment. 
         FIG. 17  is a flowchart illustrating an example of the flow of operations in the case of switching between simultaneous emission driving and time-division emission driving depending on the temperature according to an embodiment. 
         FIG. 18  is a flowchart illustrating the flow of operations in another example of driving according to an embodiment. 
         FIG. 19  is a flowchart of a pre-emission offset computation process according to the first embodiment. 
         FIG. 20  is a flowchart of a temperature detection process performed during emission driving according to an embodiment. 
         FIG. 21  is a diagram illustrating an exemplary arrangement of temperature sensors according to a second embodiment. 
         FIG. 22  is a flowchart of a pre-emission offset computation process according to the second embodiment. 
     
    
    
     MODE FOR CARRYING OUT THE INVENTION 
     Hereinafter, the attached drawings will be referenced to describe embodiments according to the present technology in the following order. 
     &lt;1. Configuration of distance measuring apparatus&gt; 
     &lt;2. Distance measuring techniques&gt; 
     &lt;3. Circuit configuration related to emission driving&gt; 
     &lt;4. Variations in substrate configuration&gt; 
     &lt;5. Exemplary VCSEL structure&gt; 
     &lt;6. Temperature detection section&gt; 
     &lt;7. Example of driving emission according to temperature&gt; 
     &lt;8. Temperature detection in first embodiment&gt; 
     &lt;9. Temperature detection in second embodiment&gt; 
     &lt;10. Summary and modifications&gt; 
     1. Configuration of Distance Measuring Apparatus 
       FIG. 1  illustrates an exemplary configuration of a distance measuring apparatus  1  as an embodiment of a light source apparatus according to the present technology. 
     As illustrated in the diagram, the distance measuring apparatus  1  is provided with an emission section  2 , a driving section  3 , a power supply circuit  4 , an emission-side optical system  5 , an imaging-side optical system  6 , an image sensor  7 , an image processing section  8 , a control section  9 , and a temperature detection section  10 . 
     The emission section  2  emits light from a plurality of light sources. As described later, the emission section  2  in this example includes vertical-cavity surface-emitting laser (VCSEL) light-emitting elements  2   a  as the light sources, and these light-emitting elements  2   a  are arrayed in a predetermined pattern, such as a matrix for example. 
     The driving section  3  includes an electrical circuit for driving the emission section  2 . 
     The power supply circuit  4  generates a power supply voltage for the driving section  3  (a driving voltage Vd described later) on the basis of an input voltage (an input voltage Vin described later) from a source such as a battery not illustrated that is provided in the distance measuring apparatus  1 , for example. The driving section  3  drives the emission section  2  on the basis of the power supply voltage. 
     Light emitted by the emission section  2  illuminates, through the emission-side optical system  5 , a subject S treated as the target of distance measurement. Thereafter, reflected light from the subject S out of the light emitted in this way is incident on the imaging surface of the image sensor  7  through the imaging-side optical system  6 . 
     The image sensor  7  is an image sensor such as a charge-coupled device (CCD) sensor or a complementary metal-oxide semiconductor (CMOS) sensor for example that receives reflected light from the subject S incident through the imaging-side optical system  6  as above, and converts the received light to output an electrical signal. 
     The image sensor  7  executes processes such as a correlated double sampling (CDS) process and an automatic gain control (AGC) process on the electrical signal obtained by photoelectric conversion of the received light, and furthermore performs an analog/digital (A/D) conversion process. An image signal is then output as digital data to the image processing section  8  downstream. 
     Additionally, the image sensor  7  in this example outputs a frame synchronization signal Fs to the driving section  3 . With this arrangement, the driving section  3  is capable of causing the light-emitting elements  2   a  in the emission section  2  to emit light at timings according to the frame cycle of the image sensor  7 . 
     The image processing section  8  is configured as an image processor such as a digital signal processor (DSP), for example. The image processing section  8  performs various types of image signal processing on the digital signal (image signal) input from the image sensor  7 . 
     The control section  9  is provided with an information processing device such as a microcomputer including components such as a central processing unit (CPU), read-only memory (ROM), and random access memory (RAM), or a DSP. The control section  9  controls the driving section  3  for controlling the emission operations by the emission section  2  and controls imaging operations by the image sensor  7 . 
     The control section  9  includes functions that act as a distance measurement section  9   a . The distance measurement section  9   a  measures the distance to the subject S on the basis of the image signal input through the image processing section  8  (that is, the image signal obtained by receiving reflected light from the subject S). The distance measurement section  9   a  in this example measures the distance to different portions of the subject S, thereby making it possible to identify the three-dimensional shape of the subject S. 
     Herein, specific techniques of measuring distance in the distance measuring apparatus  1  will be described in further detail later. 
     The temperature detection section  10  detects the temperature of the emission section  2 . A configuration that detects temperature using a diode for example can be adopted as the temperature detection section  10 . 
     In this example, information about the temperature detected by the temperature detection section  10  is supplied to the driving section  3 , thereby enabling the driving section  3  to drive the emission section  2  on the basis of the information about the temperature. 
     Alternatively, as illustrated by the dashed line, information about the temperature detected by the temperature detection section  10  may be supplied to the control section  9 , thereby enabling the control section  9  to control the driving section  3  on the basis of the information about the temperature to drive the emission section  2  according to the temperature. 
     In the present embodiment, as described later, a detection value correction process that improves the accuracy of the temperature detection by the temperature detection section  10  is performed, and this correction process (and related processes) is anticipated to be performed in the driving section  3  in one case and in the control section  9  in another case. 
     2. Distance Measuring Techniques 
     As the technique of measuring distance in the distance measuring apparatus  1 , a technique of measuring distance according to a structured light (STL) method or a time of flight (ToF) method can be adopted, for example. 
     The STL method measures distance on the basis of an image obtained by imaging the subject S illuminated with light having a predetermined light/dark pattern, such as a dot pattern or a grid pattern, for example. 
       FIG. 2  is a diagram explaining the STL method. 
     In the STL method, the subject S is illuminated with pattern light Lp having a dot pattern like the one illustrated in  FIG. 2A , for example. The pattern light Lp is divided into a plurality of blocks BL, and a different dot pattern is assigned to each block BL (the dot patterns are not duplicated among the blocks BL). 
       FIG. 2B  is a diagram explaining the principle of distance measurement according to the STL method. 
     In the example herein, a wall W and a box BX placed in front are treated as the subject S, and the subject S is illuminated with pattern light Lp. In the diagram, “G” schematically represents the angle of view of the image sensor  7 . 
     Also, “BLn” in the diagram means the light from a certain block BL among the pattern light Lp, and “dn” means the dot pattern of the block BLn appearing in the captured image obtained by the image sensor  7 . 
     Here, in the case where the box BX in front of the wall W does not exist, the dot pattern of the block BLn appears in the captured image at a position “dn′” in the diagram. In other words, the position where the pattern of the block BLn appears in the captured image is different between the case where the box BX exists and the case where the box BX does not exist, and more specifically, a distortion in the pattern occurs. 
     The STL method is a method of obtaining the shape and the depth of the subject S by utilizing how the illuminating pattern is distorted by the physical shape of the subject S in this way. Specifically, the STL method is a method of obtaining the shape and the depth of the subject S from the way in which the pattern is distorted. 
     In the case of adopting the STL method, an infrared (IR) image sensor with a global shutter is used as the image sensor  7 , for example. Additionally, in the case of the STL method, the distance measurement section  9   a  controls the driving section  3  such that the emission section  2  emits pattern light, and in addition, detects pattern distortion in the image signal obtained through the image processing section  8 , and calculates the distance on the basis of the way in which the pattern is distorted. 
     Next, the ToF method measures the distance to a target by detecting the time of flight (time difference) of light that is emitted by the emission section  2 , reflected by the target, and arrives at the image sensor  7 . 
     In the case of adopting what is called the direct ToF method as the ToF method, a single-photon avalanche diode (SPAD) is used as the image sensor  7 , and the emission section  2  is pulse-driven. In this case, the distance measurement section  9   a  calculates the time difference from emission to reception for light that is emitted by the emission section  2  and received by the image sensor  7  on the basis of the image signal input through the image processing section  8 , and calculates the distance to different portions of the subject S on the basis of the time difference and the speed of light. 
     Note that in the case of adopting what is called the indirect ToF method (phase difference method) as the ToF method, an IR image sensor is used as the image sensor  7 , for example. 
     3. Circuit Configuration Related to Emission Driving 
       FIG. 3  illustrates an exemplary circuit configuration of a light source apparatus  100  that includes the emission section  2 , the driving section  3 , and the power supply circuit  4  illustrated in  FIG. 1 . Note that in addition to the exemplary circuit configuration of the light source apparatus  100 ,  FIG. 3  also illustrates the image sensor  7  and the control section  9  illustrated in  FIG. 1 . 
     In this example, the emission section  2 , the driving section  3 , and the power supply circuit  4  are formed on a common substrate (a substrate B described later). Here, the configuration unit that includes at least the emission section  2  and is formed on a common substrate with the emission section  2  is referred to as the light source apparatus  100 . 
     As illustrated in the diagram, the light source apparatus  100  is provided with the temperature detection section  10  in addition to the emission section  2 , the driving section  3 , and the power supply circuit  4 . 
     The emission section  2  is provided with a plurality of VCSEL light-emitting elements  2   a  as described earlier. In  FIG. 3 , the number of light-emitting elements  2   a  is treated as “4” for convenience, but the number of light-emitting elements  2   a  in the emission section  2  is not limited thereto, and is sufficiently at least two or more. 
     The power supply circuit  4  is provided with a DC/DC converter  40 , and generates a driving voltage Vd (DC voltage) that the driving section  3  uses to drive the emission section  2  on the basis of an input voltage Vin supplied as a DC voltage. 
     The driving section  3  is provided with a driving circuit  30  and a driving control section  31 . 
     The driving circuit  30  includes a switching element Q 1  and a switch SW for each light-emitting element  2   a , as well as a switching element Q 2  and a constant current source  30   a.    
     A field-effect transistor (FET) is used for the switching element Q 1  and the switching element Q 2 , and in this example, a P-channel metal-oxide-semiconductor (MOS) FET, or MOSFET, is used. 
     The switching elements Q 1  are connected in a parallel relationship with respect to the output line of the DC/DC converter  40 , or in other words the supply line of the driving voltage Vd, and the switching element Q 2  is connected in parallel with the switching elements Q 1 . 
     Specifically, the source of each of the switching elements Q 1  and the switching element Q 2  is connected to the output line of the DC/DC converter  40 . The drain of each switching element Q 1  is connected to the anode of a corresponding light-emitting element  2   a  among the light-emitting elements  2   a  in the emission section  2 . 
     As illustrated in the diagram, the cathode of each light-emitting element  2   a  is connected to ground (GND). 
     The drain of the switching element Q 2  is connected to ground through the constant current source  30   a , while the gate is connected to the node between the drain and the constant current source  30   a.    
     The gate of each switching element Q 1  is connected to the gate of the switching element Q 2  through a corresponding switch SW. 
     In the driving circuit  30  having the above configuration, the switching elements Q 1  whose switch SW is ON are electrically conductive, the driving voltage Vd is applied to the light-emitting elements  2   a  connected to the electrically conductive switching elements Q 1 , and the light-emitting elements  2   a  emit light. 
     At this time, a driving current Id flows to the light-emitting elements  2   a , but in the driving circuit  30  having the above configuration, the switching elements Q 1  and the switching element Q 2  form a current mirror circuit, and the current value of the driving current Id is set to a value corresponding to the current value of the constant current source  30   a.    
     By controlling the ON/OFF state of the switches SW in the driving circuit  30 , the driving control section  31  controls the ON/OFF state of the light-emitting elements  2   a.    
     The frame synchronization signal Fs is supplied to the driving control section  31  by the image sensor  7 , thereby enabling the driving control section  31  to synchronize the ON timings and OFF timings of the light-emitting elements  2   a  with the frame cycle of the image sensor  7 . 
     Additionally, the driving control section  31  is capable of controlling the ON/OFF state of the light-emitting elements  2   a  on the basis of an instruction from the control section  9 . 
     Also, the driving control section  31  in this example controls the ON/OFF state of the light-emitting elements  2   a  on the basis of the temperature of the emission section  2  detected by the temperature detection section  10 , but this control will be described in further detail later. 
     Note that, as described above, detection information from the temperature detection section  10  is supplied to the driving control section  31  or the control section  9 . The temperature detection is corrected as described later, and it is necessary to store a correction value (an offset value OF described later) used for the correction. 
     For example, in the case where the control section  9  is configured as a microcomputer, it is sufficient to store the correction value in an internal storage area (such as a register or RAM) or an external storage element (such as RAM or flash memory). 
     In the case where the driving control section  31  executes the temperature detection, it is sufficient to provide the driving control section  31  with a computational function provided by a microcomputer, a DSP, a logic circuit, or the like, and also with a memory function (such as a register, RAM, or flash memory). 
     Here,  FIG. 3  illustrates an example of a configuration in which the switching elements Q 1  are provided on the anode side of the light-emitting elements  2   a , but like the driving circuit  30 A illustrated in  FIG. 4 , a configuration in which the switching elements Q 1  are provided on the cathode side of the light-emitting elements  2   a  is also possible. 
     In this case, the anode of each light-emitting element  2   a  in the emission section  2  is connected to the output line of the DC/DC converter  40 . 
     For each of the switching elements Q 1  and the switching element Q 2  forming a current mirror circuit, an N-channel MOSFET is used. The drain and the gate of the switching element Q 2  is connected to the output line of the DC/DC converter  40  through the constant current source  30   a , while the source is connected to ground. 
     The drain of each switching element Q 1  is connected to the cathode of the corresponding light-emitting element  2   a , while the source is connected to ground. The gate of each switching element Q 1  is connected to the gate and the drain of the switching element Q 2  through each corresponding switch SW. 
     In this case as well, by controlling the ON/OFF state of the switches SW, the driving control section  31  can turn the light-emitting elements  2   a  ON/OFF. 
       FIG. 5  illustrates an exemplary configuration of a light source apparatus  100 A as a modification. 
     The light source apparatus  100 A is provided with a power supply circuit  4 A instead of the power supply circuit  4  and a driving section  3 A instead of the driving section  3 . 
     The power supply circuit  4 A includes multiple (in the illustrated example, two) DC/DC converters  40 . An input voltage Vin 1  is supplied to DC/DC converter  40 , while an input voltage Vin 2  is supplied to the other DC/DC converter  40 . The driving section  3 A is provided with multiple driving circuits  30  that accept the input of the driving voltage Vd from the respectively different DC/DC converters  40 . As illustrated in the diagram, in each driving circuit  30 , a variable current source  30   b  is provided instead of the constant current source  30   a . The variable current source  30   b  is a current source having a variable current value. 
     In this case, the light-emitting elements  2   a  in the emission section  2  are divided into multiple light-emitting element groups whose states are controlled ON/OFF by different driving circuits  30 . 
     The driving control section  31  in this case controls the ON/OFF state of the switches SW in each driving circuit  30 . 
     Like the light source apparatus  100 A, by taking a configuration in which at least the pair of the DC/DC converter  40  and the driving circuit  30  are reproduced as multiple subsystems, the driving current Id of the light-emitting elements  2   a  can be set to a different value for each subsystem. For example, by causing the voltage value of the driving voltage Vd and the current value of the variable current source  30   b  to be different for each subsystem, the value of the driving current Id can be made different for each subsystem. Also, in a configuration in which the DC/DC converter  40  keeps the driving current Id constant, by making the target value of the constant current control different for each DC/DC converter  40 , the value of the driving current Id can be made difference for each subsystem. 
     In the case of adopting a configuration like  FIG. 5 , it is conceivable to make the values of the driving voltage Vd and the driving current Id different for each subsystem according to factors such as the emission intensity distribution and the temperature distribution in the emission section  2 . For example, it is conceivable to take measures such as increasing the driving current Id and also raising the driving voltage Vd for a subsystem corresponding to a high-temperature location in the emission section  2 . 
     4. Variations in Substrate Configuration 
     Here, the light source apparatus  100  may take the configurations illustrated in  FIGS. 6 to 8 . 
     As illustrated in  FIG. 6A , the light source apparatus  100  may take a configuration in which a chip Ch 2  containing a circuit that acts as the emission section  2 , a chip Ch 3  containing a circuit that acts as the driving section  3 , and a chip Ch 4  containing the power supply circuit  4  are formed on the same substrate B. 
     Additionally, the driving section  3  and the power supply circuit  4  may also be formed in the same chip Ch 34 , and in this case, the light source apparatus  100  may take a configuration in which the chip Ch 2  and the chip Ch 34  are formed on the same substrate B, as illustrated in  FIG. 6B . 
     It is also possible to take a configuration in which a chip Ch is mounted on another chip Ch. 
     In this case, the light source apparatus  100  may take a configuration in which the chip Ch 3  having the chip Ch 2  mounted thereon and the chip Ch 4  are formed on the substrate B like in  FIG. 7A , a configuration in which the chip Ch 3  having the chip Ch 2  and the chip Ch 4  mounted thereon is formed on the substrate B like in  FIG. 7B , or a configuration in which the chip Ch 34  having the chip Ch 2  mounted thereon is formed on the substrate B like in  FIG. 7C , for example. 
     Additionally, the light source apparatus  100  may also take a configuration that includes the image sensor  7 . 
     For example,  FIG. 8A  illustrates an example of a configuration of the light source apparatus  100  in which the chip Ch 2 , the chip Ch 3 , and the chip Ch 4  as well as a chip Ch 7  containing a circuit that acts as the image sensor  7  are formed on the same substrate B. 
     Also,  FIG. 8B  illustrates an example of a configuration of the light source apparatus  100  in which the chip Ch 34  having the chip Ch 2  mounted thereon and the chip Ch 7  are formed on the same substrate B. 
     Note that the light source apparatus  100 A described above likewise may adopt a configuration similar to those described using  FIGS. 6 to 8 . 
     5. Exemplary VCSEL Structure 
     Next, an exemplary structure of the chip Ch 2  in which the emission section  2  is formed will be described with reference to  FIGS. 9 and 10 . 
       FIG. 9  illustrates an exemplary structure of the chip Ch 2  in the case of being formed on the substrate B like in  FIGS. 6A, 6B, and 8A , while  FIG. 10  illustrates an exemplary structure of the chip Ch 2  in the case of being mounted onto another chip Ch like in  FIGS. 7A to 7C  and  FIG. 8B . 
     Note that, as an example,  FIGS. 9 and 10  illustrate an exemplary structure corresponding to the case where the driving circuit  30  is inserted on the anode side of the light-emitting elements  2   a  (see  FIG. 3 ). 
     As illustrated in  FIG. 9 , in the chip Ch 2 , the portions corresponding to each of the light-emitting elements  2   a  are formed as mesas M. 
     A semiconductor substrate  20  is used as the substrate of the chip Ch 2 , and a cathode electrode Tc is formed on the underside of the semiconductor substrate  20 . For the semiconductor substrate  20 , a gallium arsenide (GaAs) substrate is used, for example. 
     On the semiconductor substrate  20 , in each mesa M, a first multilayer reflective layer  21 , an active layer  22 , a second multilayer reflective layer  25 , a contact layer  26 , and an anode electrode Ta are formed in order from bottom to top. 
     A current constriction layer  24  is formed in a part (specifically the lower part) of the second multilayer reflective layer  25 . Also, the portion including the active layer  22  that is sandwiched between the first multilayer reflective layer  21  and the second multilayer reflective layer  25  acts as a resonator  23 . 
     The first multilayer reflective layer  21  is formed using a compound semiconductor exhibiting N-type conductivity, while the second multilayer reflective layer  25  is formed using a compound semiconductor exhibiting P-type conductivity. 
     The active layer  22  acts as a layer for generating laser light, while the current constriction layer  24  acts as a layer that injects current efficiently into the active layer  22  and achieves a lens effect. 
     After the mesas M are formed, the current constriction layer  24  is subjected to selective oxidation in the unoxidized state, and includes a central oxidized region (also referred to as a selectively oxidized region)  24   a  and an unoxidized region  24   b  that is not oxidized in the periphery of the oxidized region  24   a . In the current constriction layer  24 , a current constricting structure is formed by the oxidized region  24   a  and the unoxidized region  24   b , and current is conducted to the current constriction region as the unoxidized region  24   b.    
     The contact layer  26  is provided to ensure an ohmic contact with the anode electrode Ta. 
     The anode electrode Ta is formed on the contact layer  26  in an annular (ring) shape or the like that is open in the center for example when looking at a plan view of the substrate B. In the contact layer  26 , the portion where the anode electrode Ta is not formed on top acts as an opening  26   a.    
     Light generated in the active layer  22  travels back and forth inside the resonator  23  and then is emitted to the outside through the opening  26   a.    
     Here, the cathode electrode Tc in the chip Ch 2  is connected to ground through a ground lead Lg formed in a wiring layer of the substrate B. 
     Also, in the diagram, a pad Pa represents a pad for the anode electrode formed on the substrate B. The pad Pa is connected to the drain of any one of the switching elements Q 1  included in the driving circuit  30  through a lead Ld formed in the wiring layer of the substrate B. 
     In the diagram, the anode electrode Ta is illustrated as being connected to the single pad Pa through an anode lead La formed on the chip Ch 2  and a bonding wire BW for only one light-emitting element  2   a , but the pad Pa and the lead Ld are formed for each light-emitting element  2   a  on the substrate B, and furthermore, the anode lead La is formed for each of the light-emitting elements  2   a  on the chip Ch 2 , and the anode electrodes Ta of the individual light-emitting elements  2   a  are connected to the corresponding pad Pa through the corresponding anode lead La and bonding wire BW. 
     Next, in the case of  FIG. 11 , a back-illumination chip Ch 2  is used as the chip Ch 2 . In other words, rather than emitting light in the upward direction (surface direction) of the semiconductor substrate  20  like the example in  FIG. 10 , a chip Ch 2  of a type that emits light in the back direction of the semiconductor substrate  20 . 
     In this case, an opening for emitting light is not formed in the anode electrode Ta, and the opening  26   a  is not formed in the contact layer  26 . 
     In the chip Ch 3  (or the chip Ch 34 ; the same applies hereinafter in the description of  FIG. 11 ) in which the driving section  3  (driving circuit  30 ) is formed, the pad Pa for establishing an electrical connection with the anode electrode Ta is formed for each light-emitting element  2   a . In the wiring layer of the chip Ch 3 , the lead Ld is formed for each pad Pa. Although omitted from illustration, each of the pads Pa is connected, by these leads Ld, to the drain of a corresponding switching element Q 1  in the driving circuit  30  formed in the chip Ch 3 . 
     Also, in the chip Ch 2 , the cathode electrode Tc is connected to an electrode Tc 1  and an electrode Tc 2  via leads Lc 1  and Lc 2 , respectively. The electrode Tc 1  and the electrode Tc 2  are electrodes for respectively connecting with a pad Pc 1  and a pad Pc 2  formed in the chip Ch 3 . 
     In the wiring layer of the chip Ch 3 , a ground lead Lg 1  connected to the pad Pc 1  and a ground lead Lg 2  connected to the pad Pc 2  are formed. Although not illustrated, these ground leads Lg 1  and Lg 2  are connected to ground. 
     The connections between each anode electrode Ta in the chip Ch 2  and each pad Pa in the chip Ch 3  as well as the connections between the electrodes Tc 1  and Tc 2  in the chip Ch 2  and the pads Pc 1  and Pc 2  in the chip Ch 3  are established through respective solder bumps Hb. 
     In other words, the mounting of the chip Ch 2  on the chip Ch 3  in this case is achieved by what is called flip chip mounting. 
     6. Temperature Detection Section 
     Next, the temperature detection section  10  will be described. 
     In the case where the chip Ch 2  is formed on the substrate B like in  FIGS. 6A, 6B, and 8A  for example, it is sufficient to form temperature detection elements such as diodes in the temperature detection section  10  at positions near the chip Ch 2  in the substrate B (such as positions beside the chip Ch 2  on the substrate B, for example). 
     Also, in the case where the chip Ch 2  is mounted onto another chip Ch like in  FIGS. 7A to 7C  and  FIG. 8B , it is sufficient to form the temperature detection elements at positions near the chip Ch 2  in the other chip Ch (such as positions underneath the mesas M of the chip Ch 2 , for example). 
     The temperature detection section  10  includes a plurality of temperature sensors  10   a  including temperature detection elements such as diodes. 
       FIGS. 11A and 11B  illustrate exemplary arrangements of the temperature sensors  10   a  in the temperature detection section  10 . 
     In the example of  FIG. 11A , the plurality of temperature sensors  10   a  are not concentrated in a single location, but are dispersed in a plane parallel to the plane in which the light-emitting elements  2   a  are arrayed. 
     This case illustrates an example in which the VCSEL light-emitting elements  2   a  described above are arranged regularly in a matrix horizontally and vertically, and the temperature sensors  10   a  likewise are arranged regularly. In other words, the temperature sensors  10   a  are arranged at substantially equal intervals in a plane parallel to the plane in which the light-emitting elements  2   a  are arrayed. 
     In this case, the plurality of temperature sensors  10   a  is arranged such that one temperature sensor  10   a  is disposed for each emission block containing a predetermined number of light-emitting elements  2   a , for example. 
     On the other hand,  FIG. 11B  illustrates an example in which the light-emitting elements  2   a  are not arranged in a matrix but instead are arranged for the purpose of forming a predetermined emission pattern, and likewise, the temperature sensors  10   a  are not arranged in a matrix but instead are arranged with suitable positions selected according to the arrangement of the light-emitting elements  2   a.    
     As in  FIGS. 11A and 11B , various arrangements of the light-emitting elements  2   a  and the temperature sensors  10   a  are anticipated depending on the purpose of the distance measuring apparatus  1 . 
     Although not illustrated, there are also cases where the light-emitting elements  2   a  are arranged regularly in a matrix horizontally and vertically while the temperature sensors  10   a  are arranged in a non-matrix layout, and conversely, there are also cases where the light-emitting elements  2   a  are arranged in a non-matrix layout while the temperature sensors  10   a  are arranged regularly in a matrix horizontally and vertically. 
     Furthermore, it is sufficient to provide one temperature sensor  10   a  at a time in correspondence with a predetermined unit of one or multiple light-emitting elements  2   a , and for example, one temperature sensor  10   a  may be provided in correspondence with one light-emitting element  2   a , or one temperature sensor  10   a  may be provided with respect to a block of several light-emitting elements  2   a . The number of light-emitting elements  2   a  and the number of temperature sensors  10   a  and the ratio of the two are considered to be diverse. 
     Also, by dispersing the plurality of temperature sensors  10   a  like in the examples of  FIGS. 11A and 11B , it is possible to detect an in-plane temperature distribution of the emission section  2 . In addition, different temperatures can be detected for different areas of the emission surface, and furthermore, by increasing the number of disposed temperature sensors  10   a , it is also possible to detect different temperatures for different predetermined units of light-emitting elements  2   a.    
     Here, for the process by a first embodiment described later, a reference temperature sensor  10 R is disposed as illustrated in  FIGS. 11A and 11B . 
     The reference temperature sensor  10 R is considered to be disposed at a position relatively distant from the light-emitting elements  2   a . However, the reference temperature sensor  10 R is not necessarily stipulated to be disposed at such a position. 
     The reference temperature sensor  10 R is used to compute a correction value (offset value OF) that corrects inconsistencies in the absolute accuracy of each of the temperature sensors  10   a . Details will be described later. 
       FIGS. 12A, 12B, and 12C  illustrate examples of the circuit configuration of one of the temperature sensors  10   a.    
     The example in  FIG. 12A  is a configuration in which a current I 1  flows through FETs  91  and  92  to diodes D 1  and D 2  that act as a temperature detection element  110 . A resistor R 1  is connected between the drain of the FET  92  and the anode of the diode D 2 . The voltage appearing at the anode end of the diode D 1  and the voltage (V 1 ) appearing at the resistor R 1  are input into an op-amp  93 . The output of the op-amp  93  is connected to the gates of the transistors  91  and  92 . In this case, a voltage Vo detected by a resistor R 2  connected between the anode terminal of the op-amp  93  and ground is a temperature detection value corresponding to the temperature. 
     The example in  FIG. 12B  is a configuration in which currents  211  and I 1  flow through the FETs  91  and  92  to a series connection of diodes D 1   a  and D 1   b  and a series connection of diodes D 2   a  and D 2   b  that act as the temperature detection element  110 . The voltage V 2  appearing at the anode end of the diode D 1   a  and the voltage V 1  appearing at the diode D 2   a  are input into an op-amp  94 . The output of the op-amp  94  is the voltage (V 2 −V 1 ), and is a temperature detection value corresponding to the temperature. 
     The example in  FIG. 12C  is a configuration in which the current I 1  flows through the FET  91  to a series connection of diodes D 1   a  and D 1   b  that act as the temperature detection element  110 . The voltage V 1  appearing at the anode end of the diode D 1   a  is input into an amp  95 . The output voltage  2 VD of the amp  95  is a temperature detection value corresponding to the temperature. 
     Note that the above configurations are merely examples. Various configurations other than the above are anticipated. 
     Also, in  FIGS. 12B and 12C , the number of diodes D is changeable if necessary. Also, in  FIGS. 12A, 12B, and 12C , the current value is changeable to any value. 
     For example, in these examples, the portions of at least the diodes D enclosed by the dashed lines are disposed as the temperature detection elements  110  at the positions of the temperature sensors  10   a  in  FIGS. 11A and 11B . 
       FIG. 13  illustrates the placement of one of the temperature sensors  10   a  in correspondence with the example of  FIG. 10  earlier. In this configuration, the chip ch 3  is disposed below the chip ch 2  in which the light-emitting elements  2   a  are formed. 
       FIG. 13  schematically illustrates the switching elements Q 1 , the switches SW, the switching element Q 2 , and the constant current source  30   a  forming the driving circuit  30  illustrated in  FIG. 3  earlier as being formed in the chip ch 3 . The leads in the driving circuit  30  are formed in a wiring layer  100 . 
     Additionally, as illustrated in the diagram, the components of the temperature sensor  10   a , such as the FETs  91  and  92 , the diodes D 1   a  and D 1   b , and a current source  30   c , for example, are formed inside the chip ch 3  together with the driving circuit  30 . Also, necessary leads are formed in the wiring layer  100 . 
     Regarding the diodes D that are the temperature detection elements in the temperature sensor  10   a  here, various numbers of diodes and connection configurations are conceivable as illustrated in  FIG. 12 , but the diodes D that form the configuration portion acting as the temperature detection element  110  are considered to be disposed underneath the mesas M. For example, at least one or more temperature detection elements  110  are disposed in correspondence with each mesa M. With this arrangement, it is possible to detect the temperature of the light-emitting elements  2   a  in each mesa M, which is suited to controlling each unit of light-emitting elements  2   a  in each mesa M as the predetermined unit. 
     Obviously, as described above, one temperature detection element  110  may also be provided with respect to one light-emitting element  2   a , or one temperature detection element  110  may be provided with respect to a block of light-emitting elements  2   a , irrespectively of the mesas M. In any case, the temperature detection element  110  is considered to be formed in the chip ch 3  (or ch 34 ) together with the driving circuit  30 , for example. 
     Note that in the case where the chip ch 2  is not stacked onto the chip ch 3  (or ch 34 ), it is conceivable to dispose the temperature detection elements  110  surrounding the chip ch 2 , provide a layer in the temperature detection elements  110  are formed underneath the chip ch 2 , or the like. 
     7. Example of Driving Emission According to Temperature 
     An example of driving the light-emitting elements  2   a  according to temperature in the case of providing the temperature sensors  10   a  as above will be described. 
     As a basic example that is anticipated, the driving current value or the emission period is changed according to the temperature. 
     The light-emitting elements  2   a  have a property in which the emission efficiency falls as the temperature rises. Accordingly, the length of the emission period and the driving current value are changed for each predetermined unit of light-emitting elements  2   a  corresponding to a temperature sensor  10   a  according to the temperature detected by the temperature sensor  10   a.    
     With this arrangement, light emission of stable intensity can be achieved regardless of temperature. 
     Additionally, it is conceivable to switch the emission driving between simultaneous emission and time-division emission. 
     When measuring distance by causing the emission section  2  in which a plurality of VCSEL light-emitting elements  2   a  is arrayed to emit light like the distance measuring apparatus  1  described above, first, a driving method that causes the plurality of light-emitting elements  2   a  to emit light simultaneously is conceivable. 
       FIG. 14  is a diagram for explaining an example of such driving by simultaneous emission. 
     As an initial premise, when measuring distance, the emission section  2  emits light repeatedly according to a fixed emission cycle. Specifically, the emission cycle is synchronized with the frame cycle of the image sensor  7 . An emission target period St in the diagram is synchronized with the frame period of the image sensor  7 . For example, the frame rate of the image sensor  7  is 60 fps, and the emission target period St is set to 16.6 milliseconds (ms). 
     Here, the following description assumes that when measuring distance, all of the light-emitting elements  2   a  in the emission section  2  emit light during each emission target period St. The number of light-emitting elements  2   a  in the emission section  2  is assumed to be 800 for the sake of explanation. In other words, there are 800 emission channels from CN 1  to CN 800 . 
     In the driving method illustrated in  FIG. 14 , the light-emitting elements  2   a  from CN 1  to CN 800  are made to emit light simultaneously during each emission target period St. At this time, the period in which each light-emitting element  2   a  is made to emit light (the ON period) is shorter than the emission target period St, and is set to approximately 4 ms, for example. 
     In the case of performing simultaneous emission like the above, the temperature of the chip (chip Ch 2 ) in which the light-emitting elements  2   a  are formed rises easily, and depending on the ambient temperature, this may lead to a heat-induced malfunction such as a drop in the emission efficiency of the light-emitting elements  2   a  or degraded circuit performance by the driving circuit (driving circuit  30 ,  30 A) that drives the light-emitting elements  2   a.    
     Accordingly, it is conceivable to drive the plurality of light-emitting elements  2   a  (CN 1  to CN 800 ) that are to emit light in the emission target period St according to time-division emission in the emission target period St in response to the temperature conditions. 
       FIG. 15  illustrates an example of time-division emission.  FIG. 15  illustrates an example of dividing the light-emitting elements  2   a  in 800 channels that are to emit light in the emission target period St into two groups, such that inside the emission target period St, the 400 light-emitting elements  2   a  from CN 1  to CN 400  are made to emit light and then the remaining 400 light-emitting elements  2   a  from CN 401  to CN 800  are made to emit light. 
     By performing such time-division emission, as illustrated in  FIG. 16 , the peak value of the temperature can be moderated compared to the case of simultaneous emission. In other words, a suppression of a rise in the temperature of the chip Ch 2  may be attained. 
     Time-division emission like the above is achieved by having the driving control section  31  control the switches SW. In this example, the driving control section  31  includes a logic circuit, and the logic circuit is configured to control the switches SW for the above time-division emission. 
     As an example of time-division emission, the light-emitting elements  2   a  are not limited to being divided into the two groups from CN 1  to CN 400  and from CN 401  to CN 800  as above, and may also be divided into three or more groups. 
     At this time, the number of light-emitting elements  2   a  made to emit light at the same time in time-division emission may also be changed in the time direction. For example, after causing the 400 elements from CN 1  to CN 400  to emit light, the 200 elements from CN 401  to CN 600  are made to emit light, and then the remaining 200 elements from CN 601  to CN 800  are made to emit light. In other words, the number of light-emitting elements  2   a  made to emit light at the same time in time-division emission may be decreased in the time direction. 
     When performing time-division emission, there is a high probability that the surrounding temperature will rise for later elements in the order of emission. Consequently, by decreasing the number of light-emitting elements  2   a  made to emit light at the same time in the time direction as above, or in other words, by decreasing the number of light-emitting elements  2   a  later in the order of emission to less than the number of light-emitting elements  2   a  earlier in the order of emission, a suppression of the temperature peak value in the emission target period St may be attained, and the effect of suppressing the temperature rise can be enhanced. 
     At this point, the driving control section  31  in this example is configured to be capable of switching between simultaneous emission driving that causes the light-emitting elements  2   a  to emit light simultaneously as illustrated in the example of  FIG. 14 , and time-division emission driving that causes the light-emitting elements  2   a  to emit light by time division as illustrated in the example of  FIG. 15 . Specifically, the driving control section  31  switches between the simultaneous emission driving and the time-division emission driving on the basis of the temperature detected by the temperature detection section  10 . 
     The drop in the emission efficiency of the light-emitting elements  2   a  is relatively noticeable in the region at and above 70° C., for example. For this reason, it is conceivable to set a value equal to or less than 70° C. for example as a temperature threshold TH, and switch between the simultaneous emission driving and the time-division emission driving by using the threshold TH as a reference. 
     The flowchart in  FIG. 17  illustrates an example of the flow of operations by the driving control section  31  in the case of switching between the simultaneous emission driving and the time-division emission driving according to the temperature. 
     As illustrated in the diagram, if the temperature detected by the temperature detection section  10  is not the threshold TH or higher (step S 101 : N), the driving control section  31  causes the light-emitting elements  2   a  in all channels to emit light simultaneously (step S 102 ). On the other hand, if the temperature detected by the temperature detection section  10  is the threshold TH or higher (step S 101 : Y), the driving control section  31  causes the light-emitting elements  2   a  to emit light by time division (step S 103 ). 
     In the embodiment herein, the temperature detection section  10  is provided with a plurality of temperature sensors  10   a , and in step S 101 , it is conceivable to adopt a representative value of the temperature detection values from the temperature sensors  10   a . Note that the temperature detection values referred to herein are the temperature detection values that have been corrected as described later. 
     For example, it is conceivable to use the average of the temperature detection values from the plurality of temperature sensors  10   a  as the representative value. Alternatively, it is also conceivable to treat a temperature detection value from a predetermined temperature sensor  10   a  (for example, the temperature sensor  10   a  having the highest temperature detection value) as the representative value. 
     Here, when executing the time-division emission driving, the driving control section  31  drives the light-emitting elements  2   a  such that the total amount of luminescence by the emission section  2  (the total amount of luminescence in the emission target period St) is the same as when executing the simultaneous emission driving. Specifically, if the ON period of each light-emitting element  2   a  when executing the simultaneous emission driving is 4 ms as described above, for example, the ON period of each light-emitting element  2   a  in the time-division emission driving is also set to 4 ms. 
     Note that in the case of reproducing the DC/DC converter  40  and the driving circuit  30  as multiple subsystems like the example illustrated in  FIG. 5 , the ON periods of the light-emitting elements  2   a  for each driving circuit  30  are made uniform while also making the values of the driving current Id uniform for example, thereby causing the total amount of luminescence to be the same. 
     By executing the simultaneous emission driving, even if there is motion in the subject S targeted for distance measurement, it is possible to prevent the combined reception of reflected light from when the subject S is at different positions inside a single frame period, and a drop in the distance measurement accuracy may be prevented. 
     By switching between the time-division emission driving and the simultaneous emission driving as above, both a prevention of a drop in the distance measurement accuracy and a suppression of a rise in the temperature can be attained. 
     Note that it is not essential to switch between the simultaneous emission driving and the time-division emission driving, and a configuration that always executes the time-division emission driving and switches the method of division according to the temperature is also conceivable. 
     Also, the above illustrates an example of switching the driving method for the entire plurality of light-emitting elements  2   a , but the driving method may also be switched for each block of light-emitting elements  2   a.    
     As an example, the light-emitting elements in 900 channels may be divided into blocks of 100 channels each, and the driving method may be switched between the simultaneous emission driving and the time-division emission driving in units of the 100-channel blocks. 
     In this case, the driving method is switched according to the temperature detected for each block (or a representative value of the temperature detection values in the case where a plurality of temperature sensors  10   a  are provided in correspondence with the block). 
     For example, in the case of simultaneous emission driving, the 100 channels are made to emit light simultaneously, while in the case of time-division emission driving, the 100 channels are divided into two groups, such that inside the emission target period St, the 50 light-emitting elements  2   a  from CN 1  to CN 50  are made to emit light and then the remaining 50 light-emitting elements  2   a  from CN 51  to CN 100  are made to emit light. 
     In the emission section  2 , a temperature distribution occurs easily in the plane in which the light-emitting elements  2   a  are arranged. The temperature conditions are different depending on the location, such as the temperature rising more easily closer to the center, for example. Accordingly, by forming and controlling blocks for each location according to the temperature, more precise driving control can be achieved. 
     As yet another example of driving, it is conceivable to change the number of concurrent emission groups in the time-division emission according to the temperature. 
     Here, a concurrent emission group means a group of light-emitting elements  2   a  made to emit light at the same time in time-division emission. For example, in time-division emission that drives the light-emitting elements  2   a  in 800 channels by 400 channels at a time like the example described earlier, each group of light-emitting elements  2   a  in 400 channels corresponds to a concurrent emission group. 
     In this example, the number of concurrent emission groups is increased in response to a rise in temperature. 
       FIG. 18  is a flowchart illustrating the flow of operations performed by the driving control section  31 . 
     First, in this example, a plurality of thresholds TH are set as the threshold TH of the temperature detected by the temperature detection section  10 . Here, an example of setting a first threshold TH 1  and a second threshold TH 2  having a larger value than the first threshold TH 1  is assumed. 
     When the temperature detected by the temperature detection section  10  is below the first threshold TH 1  (step S 201 : Y), the driving control section  31  executes the simultaneous emission driving (step S 102 ). Also, in the case where the temperature detected by the temperature detection section  10  is not lower than the first threshold TH 1  (step S 201 : N), when the temperature is the first threshold TH 1  or higher and also lower than the second threshold TH 2  (step S 202 : Y), the driving control section  31  executes time-division emission in two groups (step S 203 ). In other words, the light-emitting elements  2   a  are driven by time-division emission with the number of concurrent emission groups set to “2”, or more specifically, time-division emission of 400 channels and 400 channels is executed, for example. 
     Also, when the temperature detected by the temperature detection section  10  is the second threshold TH 2  or higher (step S 202 : N), the driving control section  31  executes time-division emission in three groups (step S 204 ). That is to say, the light-emitting elements  2   a  are driven by time-division emission with the number of concurrent emission groups set to “3”, or more specifically, time-division emission driving of 400 channels→200 channels→200 channels is executed, for example. 
     By increasing the number of concurrent emission groups in response to a rise in the temperature as above, it is possible to drive emission with a further enhanced effect of suppressing a rise in the temperature in response to the temperature increasing. 
     Consequently, malfunctions associated with a rise in the temperature can be made to occur less readily. 
     Here, the first threshold TH 1  is set to the same value as the threshold TH described above (for example, approximately 70° C.), while the second threshold TH 2  is set to a temperature lower than an allowable limit temperature (for example, approximately 130° C.) dictated by the specifications of the chip Ch 2 , for example. With this arrangement, in the case where the temperature rises enough that a drop in the emission efficiency is expected, time-division emission driving in two groups can be executed, and in the case where the temperature rises enough that the temperature is expected to reach the allowable limit temperature, time-division emission driving in three groups can be executed, or in other words, time-division emission driving with a further enhanced effect of suppressing a rise in the temperature can be executed. 
     In the case of such an example of driving, it is also conceivable to execute the above control independently for each predetermined unit of the light-emitting elements  2   a.    
     Obviously, various examples of emission driving control according to the temperature besides the examples illustrated above are conceivable. 
     In addition, the various types of emission driving control like the above are performed on the basis of temperature detection values that have been corrected as described below. 
     8. Temperature Detection in First Embodiment 
     The emission driving control according to the temperature like the above naturally is based on the result of the temperature detection section  10  detecting the temperature. In the present embodiment, the temperature detection accuracy is improved. 
     Hereinafter, the temperature detection process according to the first embodiment will be described. 
     Note that the processes related to temperature detection described as the first and second embodiments hereinafter may be executed by the driving control section  31  or by the control section  9 . For the sake of explanation, the processes are assumed to be executed by the driving control section  31 , but the processes are also similar in the case of being executed by the control section  9 . 
       FIG. 19  illustrates an example of a process before emission driving executed by the driving control section  31  as the first embodiment. 
     The driving control section  31  performs the process in  FIG. 19  before driving the emission by the emission section  2 , for example. This is a process of computing an offset value OF that acts as a correction value in correspondence with each temperature sensor  10   a.    
     In step S 301 , the driving control section  31  sets a variable n=1. Here, “n” is a variable for sequentially specifying the individual temperature sensors  10   a  as the processing target. A total number nMAX described later is assumed to be the total number of temperature sensors  10   a.    
     In step S 302 , the driving control section  31  first acquires a temperature detection value TMPA from the reference temperature sensor  10 R. 
     In step S 303 , the driving control section  31  acquires a temperature detection value TMPn from the nth temperature sensor  10   a . First, because the variable n=1, the temperature detection value TMP 1  from the 1st temperature sensor  10   a  is acquired. Note that the driving control section  31  sets an order of the temperature sensors  10   a  from the 1st to the (nMAX)th, and the 1st temperature sensor  10   a  refers to the 1st temperature sensor  10   a  in the set order. 
     In step S 304 , the driving control section  31  computes an offset value OFn for the nth temperature sensor  10   a  by subtracting the temperature detection value TMPn from the temperature detection value TMPA of the reference temperature sensor  10 R. 
     For example, the offset value OF 1  for the 1st temperature sensor  10   a  is computed by the operation (TMPA)-(TMP 1 ). 
     Thereafter, in step S 305 , the driving control section  31  stores the offset value OFn for the nth temperature sensor  10   a  in internal memory or the like. For example, the offset value OF 1  for the 1st temperature sensor  10   a  is stored. It is also conceivable to store the offset value OFn in non-volatile memory, for example. 
     In step S 306 , the driving control section  31  checks whether or not the variable n has reached the total number nMAX, and if not, the driving control section  31  increments the variable n in step S 307  and returns to step S 303 . In other words, a similar process is performed for each temperature sensor  10   a  like the 2nd temperature sensor  10   a , the 3rd temperature sensor  10   a , and so on, and respectively corresponding offset values OF 2 , OF 3 , and so on are computed and stored. 
     When the offset value OF has been stored for all of the temperature sensors  10   a , the process in  FIG. 19  ends after step S 306 . 
     By performing the above process before starting emission, the offset value OF for each temperature sensor  10   a  obtained by using the temperature detection value from the reference temperature sensor  10 R as a reference can be stored. 
     Note that because this process obtains the offset value OF corresponding to the error in the absolute accuracy of each temperature sensor  10   a , it is sufficient to perform the process at least once. 
     However, to absorb changes in properties due to aging and environmental changes, the process may also be performed periodically or every time the emission (that is, distance measurement) operations are executed. 
     By storing the offset value OF for each temperature sensor  10   a , the driving control section  31  is able to correct and acquire temperature detection values according to the process in  FIG. 20  while driving the emission by the emission section  2 . 
       FIG. 20  illustrates an example in which the driving control section  31  executes the temperature detection at a predetermined timing, such as a periodic timing for example, while driving emission. 
     When the temperature detection timing is reached, the driving control section  31  proceeds from steps S 401  to S 402  in  FIG. 20 , and sets the variable n specifying the individual temperature sensors  10   a  to  n= 1. 
     Next, in step S 403 , the driving control section  31  acquires the temperature detection value TMPn from the nth temperature sensor. 
     In step S 404 , the driving control section  31  reads out the offset value OFn stored for the nth temperature sensor. 
     In step S 405 , the driving control section  31  performs temperature correction. Namely, the offset value OFn is added to the temperature detection value TMPn to obtain a corrected temperature detection value TMPSn for the nth temperature sensor  10   a.    
     Next, in step S 406 , the driving control section  31  stores the corrected temperature detection value TMPSn in an internal register or the like as the temperature detection value for the nth temperature sensor  10   a.    
     In step S 407 , the driving control section  31  checks whether or not the variable n has reached the total number nMAX, and if not, the driving control section  31  increments the variable n in step S 408  and returns to step S 403 . 
     Consequently, corrected temperature detection values (TMPS 1  to TMPS(nMAX)) are acquired by the process from step S 403  to step S 406  for the 1st temperature sensor  10   a , the 2nd temperature sensor  10   a , the 3rd temperature sensor  10   a , and so on to the last temperature sensor  10   a.    
     When temperature detection is complete for all of the temperature sensors  10   a , the process in  FIG. 20  ends after step S 407 . Thereafter, when the next temperature detection timing is reached, the process again proceeds from steps S 401  to S 402 , and the temperature is detected similarly. 
     With the temperature detection results for each of the temperature sensors  10   a  corrected in this way, the temperature conditions of the emission section  2  can be checked accurately. By having the driving control section  31  control the emission driving method like in the examples described above according to the temperature detection results, appropriate emission operations according to the temperature are achieved. 
     9. Temperature Detection in Second Embodiment 
     The second embodiment will be described. The second embodiment is an example of a case where the reference temperature sensor  10 R is not provided, as in  FIGS. 21A and 21B . With regard to the arrangement of the temperature sensors  10   a  and the light-emitting elements  2   a , various examples similar to the case described using  FIGS. 11A and 11B  above are conceivable. 
     The driving control section  31  performs the process in  FIG. 22  as the process of computing the offset value OF before emission. 
     In step S 351 , the driving control section  31  sets the variable n specifying the individual temperature sensors  10   a  to  n= 1. 
     In step S 352 , the driving control section  31  acquires the temperature detection value TMPn from the nth temperature sensor  10   a.    
     In step S 353 , the driving control section  31  stores the temperature detection value TMPn for the nth temperature sensor  10   a  in an internal register or the like. 
     In step S 354 , the driving control section  31  checks whether or not the variable n has reached the total number nMAX, and if not, the driving control section  31  increments the variable n in step S 355  and returns to step S 352 . 
     Consequently, detected temperature detection values TMP 1  to TMP(nMAX) are acquired by the process in steps S 352  and S 353  for each of the 1st temperature sensor  10   a , the 2nd temperature sensor  10   a , the 3rd temperature sensor  10   a , and so on to the last temperature sensor  10   a.    
     When the temperature detection values TMP 1  to TMP(nMAX) have been stored for all of the temperature sensors  10   a , the driving control section  31  proceeds to step S 356  and computes an average value TMPav of the temperature detection values TMP 1  to TMP(nMAX). 
     Next, in step S 357 , the driving control section  31  sets the variable to n=1, and proceeds to step S 358 . 
     In step S 358 , the driving control section  31  computes the offset value OFn for the nth temperature sensor  10   a . That is to say, the temperature detection value TMPn stored earlier for the nth temperature sensor  10   a  and the average value TMPav are used to compute the offset value OFn by (TMPav)−(TMPn). 
     In step S 359 , the driving control section  31  stores the offset value OFn for the nth temperature sensor  10   a  in an internal register, RAM, or non-volatile memory. 
     In step S 360 , the driving control section  31  checks whether or not the variable n has reached the total number nMAX, and if not, the driving control section  31  increments the variable n in step S 361  and returns to step S 358 . 
     Consequently, offset values OF 1  to OF(nMAX) are acquired by the process in steps S 358  and S 359  for each of the 1st temperature sensor  10   a , the 2nd temperature sensor  10   a , the 3rd temperature sensor  10   a , and so on in order to the last temperature sensor  10   a.    
     When the offset value OF has been stored for all of the temperature sensors  10   a , the process in  FIG. 22  ends after step S 360 . 
     By performing the above process before starting emission, even in the case where the reference temperature sensor  10 R is not provided, the offset value OF for each temperature sensor  10   a  obtained by using the average value of all temperature sensors  10   a  as a reference can be stored. 
     Note that this process may also be performed at least once, but to absorb changes in properties due to aging and environmental changes, the process may also be performed periodically or every time the emission (that is, distance measurement) operations are executed. 
     The processing during emission, or in other words the process of correcting the temperature detection values, is similar to  FIG. 20  of the first embodiment. 
     10. Summary and Modifications 
     In the above embodiment, effects like the following are obtained. 
     A light source apparatus (distance measuring apparatus  1 ) according to the embodiment is provided with the emission section  2  in which a plurality of vertical-cavity surface-emitting laser light-emitting elements  2   a  is arrayed, the driving circuit section  30  that causes the plurality of light-emitting elements  2   a  of the emission section  2  to emit light, the temperature detection section  10  that includes a plurality of temperature sensors  10   a  arranged to detect the temperature of the emission section  2 , and a control section (the driving control section  31  or the control section  9 ). 
     When the light-emitting elements  2   a  of the emission section  2  are driven to emit light by the driving circuit section  30 , the control section performs a process of correcting the detection value TMPn of each of the plurality of temperature sensors  10   a  by using a correction value set in a non-emission period for each temperature sensor  10   a  (see  FIG. 20 ). 
     By using the correction value (offset value OF) preset for each temperature sensor to correct the detection value, a temperature detection value (corrected detection value TMPSn) guaranteeing absolute accuracy can be acquired. With this arrangement, the temperature conditions of the emission section  2  can be ascertained accurately, making it possible to perform appropriate emission driving control according to the temperature conditions. 
     In the embodiment, the correction value is taken to be the offset value OF indicating the difference from the reference detection value for the detection value of each temperature sensor  10   a.    
     By measuring the offset value OF as the difference from the reference detection value in advance for use as a correction value, an appropriate correction value can be used for each of the temperature sensors  10   a.    
     The embodiment gives an example in which the correction value (offset value OF) is computed by using the temperature detection value TMPn of each temperature sensor  10   a  obtained in a non-emission period during which the driving circuit section  30  is not driving the light-emitting elements  2   a  of the emission section  2  to emit light, and a reference detection value (see  FIGS. 19 and 22 ). 
     The detection value from each temperature sensor  10   a  in the non-emission period during which the light-emitting elements  2   a  do not emit light is a detection value that is unaffected by temperature changes due to emission by the light-emitting elements  2   a . Consequently, if the temperature detection value TMPn and the reference detection value are compared at this time, it is possible to obtain a correction value (offset value OF) corresponding to the accuracy inconsistencies in each temperature sensor  10   a  itself, including those caused by manufacturing due to factors such as the size and placement of each temperature sensor  10   a . With this arrangement, each temperature sensor  10   a  can be corrected accurately, and the temperature detection accuracy can be improved. 
     The embodiment gives an example in which the temperature detection section  10  includes the reference temperature sensor  10 R as an absolute thermometer, and the reference detection value is the temperature detection value TMPA from the reference temperature sensor  10 R ( FIG. 19 ). 
     As illustrated in  FIGS. 11A and 11B , by disposing the single reference temperature sensor  10 R for the entire system and treating the reference temperature sensor  10 R as an absolute thermometer that serves as a reference, the reference detection value when computing the correction value is established. With this arrangement, the reference detection value is established, and the offset value OF can be computed appropriately. 
     The embodiment gives an example in which the reference detection value is the average value TMPav of the temperature detection values from the plurality of temperature sensors  10   a  ( FIG. 22 ). 
     In the case where the reference temperature sensor  10 R is not provided like in  FIGS. 21A and 21B , the average of the temperature detection values from all of the temperature sensors  10   a  is obtained and treated as the reference detection value, for example. 
     With this arrangement, the reference detection value can be acquired without providing the absolute reference temperature sensor  10 R, and the offset value OF for each temperature sensor  10   a  can be computed appropriately. 
     Note that the average value TMPav is not necessarily the average of all of the temperature sensors  10   a , and may also be the average of some of the temperature sensors  10   a.    
     The embodiment describes an example in which each temperature sensor  10   a  (particularly, each temperature detection element  110 ) is disposed underneath each mesa M where the light-emitting elements  2   a  are formed (see  FIG. 13 ). 
     For example, in the case where the light-emitting elements  2   a  having a diode structure are formed as mesas, the temperature detection elements  110  of the temperature sensors  10   a  are arranged in correspondence with each mesa M. 
     With this arrangement, the temperature conditions of each mesa M can be detected, and the driving of the light-emitting elements  2   a  can be controlled according to the mesa temperature. 
     The driving circuit section  30  of the embodiment is configured to be capable of individually driving the emission operation for each predetermined unit of a plurality of the light-emitting elements  2   a  (see  FIG. 3  and the like). 
     With this configuration, the emission driving current is set to turn emission ON/OFF individually for each light-emitting element or in units of blocks acting as multiple light-emitting element groups, for example. 
     This arrangement achieves a configuration capable of control according to the temperature conditions for each predetermined unit ascertained as the temperature detection value from each temperature sensor  10   a.    
     Additionally, driving control according to an in-plane temperature distribution of the emission section  2  is possible. 
     With regard to the distance measuring sensor  1 , by controlling the light-emitting elements  2   a  for each predetermined unit, exposure with uniform emission and light energy is possible, and the brightness of the image of reflected light from the target (subject S) appearing in the image captured by the image sensor  7  can be made to approach uniformity. With this arrangement, the distance measurement sensing accuracy is also improved. 
     The embodiment gives an example in which the method of driving the emission section  2  by the driving circuit section  30  is switched on the basis of the temperature detection values corrected and acquired by the control section (the driving control section  31  or the control section  9 ). 
     The driving method is switched according to the corrected temperature detection values, such as by switching between simultaneous emission driving that causes the plurality of light-emitting elements to emit light simultaneously inside an emission target period, and time-division emission driving that causes the plurality of light-emitting elements to emit light at alternating times inside an emission target period, for example. 
     With this arrangement, appropriate driving is achieved according to the temperature detection values obtained with high accuracy. 
     The switching of the driving method according to the temperature may be performed for each predetermined unit (individually or in blocks) of light-emitting elements  2   a , or may be performed universally on all of the light-emitting elements  2   a.    
     The embodiment describes an example in which the emission section  2  emits light in synchronization with the frame period of the image sensor  7  that receives light emitted by the emission section  2  and reflected by the subject. 
     With this arrangement, to handle the case of measuring distance by illuminating a subject with light emitted by the emission section and receiving the light with an image sensor, it is possible to cause the light-emitting elements to emit light at appropriate timings according to the frame cycle of the image sensor. 
     Consequently, an improvement in distance measurement accuracy may be attained. In addition, a suppression of a temperature rise in correspondence with the case where a light source apparatus is used as the light source for measuring the distance to the subject may be attained. 
     Note that the above describes an example of a configuration in which the switch SW is provided for each light-emitting element  2   a  to enable individual control of each light-emitting element  2   a , but in the present technology, a configuration enabling the individual driving of each light-emitting element  2   a  is not essential. 
     Additionally, although the above describes an example in which the present technology is applied to a distance measuring apparatus, the present technology is not limited to being applied to a light source for distance measurement. 
     Note that the effects described in this specification are merely non-limiting examples, and there may be other effects. 
     Note that the present technology may be configured as below. 
     (1) 
     A light source apparatus including: 
     an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed; 
     a driving circuit section configured to cause the plurality of light-emitting elements of the emission section to emit light; 
     a temperature detection section including a plurality of temperature sensors arranged to detect a temperature of the emission section; and 
     a control section configured to, when the light-emitting elements of the emission section are driven by the driving circuit section, correct a detection value from each of the plurality of temperature sensors by using a correction value set for each of the temperature sensors. 
     (2) 
     The light source apparatus according to (1), in which 
     the correction value is an offset value indicating a difference from a reference detection value for the detection value from each of the temperature sensors. 
     (3) 
     The light source apparatus according to (1) or (2), in which 
     the correction value is computed by using the detection value of each of the temperature sensors obtained in a non-emission period during which the driving circuit section is not driving the light-emitting elements of the emission section to emit light, and a reference detection value. 
     (4) 
     The light source apparatus according to (2) or (3), in which 
     the temperature detection section includes a reference temperature sensor as an absolute thermometer, and 
     the reference detection value is a detection value from the reference temperature sensor. 
     (5) 
     The light source apparatus according to (2) or (3), in which 
     the reference detection value is an average of detection values from the plurality of temperature sensors. 
     (6) 
     The light source apparatus according to any one of (1) to (5), in which 
     the temperature sensors are respectively disposed underneath mesas where the light-emitting elements are formed. 
     (7) 
     The light source apparatus according to any one of (1) to (6), in which 
     the driving circuit section is configured to be capable of individually driving emission operation for each predetermined unit of a plurality of the light-emitting elements. 
     (8) 
     The light source apparatus according to any one of (1) to (7), in which 
     a method of driving the emission section by the driving circuit section 
     is switched on the basis of a temperature detection value corrected and acquired by the control section. 
     (9) 
     The light source apparatus according to any one of (1) to (8), in which 
     the emission section is configured to emit light in synchronization with a frame period of an image sensor configured to receive light emitted by the emission section and reflected by a subject. 
     (10) 
     A temperature detection method executed by a light source apparatus including an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed, 
     a driving circuit section configured to cause the plurality of light-emitting elements of the emission section to emit light, and 
     a temperature detection section including a plurality of temperature sensors arranged to detect a temperature of the emission section, 
     the method including: 
     correcting, when the light-emitting elements of the emission section are driven by the driving circuit section, a detection value from each of the plurality of temperature sensors by using a correction value set for each of the temperature sensors. 
     (11) 
     A sensing module including: 
     an emission section in which a plurality of vertical-cavity surface-emitting laser light-emitting elements is arrayed; 
     a driving circuit section configured to cause the plurality of light-emitting elements of the emission section to emit light; 
     a temperature detection section including a plurality of temperature sensors arranged to detect a temperature of the emission section; and 
     a control section configured to, when the light-emitting elements of the emission section are driven by the driving circuit section, correct a detection value from each of the plurality of temperature sensors by using a correction value set for each of the temperature sensors; and 
     an image sensor configured to capture an image by receiving light emitted by the emission section and reflected by a subject. 
     REFERENCE SIGNS LIST 
     
         
           1  Distance measuring apparatus 
           2  Emission section 
           2   a  Light-emitting element 
           3 ,  3 A Driving section 
           7  Image sensor 
           10  Temperature detection section 
           10   a  Temperature sensor 
           10 R Reference temperature sensor 
           110  Temperature detection element