The present disclosure relates to a light detecting device and a distance measuring system.
Automated driving technologies have attracted attention. In the automated driving technologies, it is necessary to measure a distance to an object positioned in the vicinity of a vehicle accurately and quickly. As one method of measuring a distance, a technique of dividing a light reception range of a light receiving element array in which a plurality of light receiving elements are arranged in an array form into a plurality of areas, setting an optimal calculation coefficient for each of the areas, and calculating a distance to an object has been proposed (for example, see PTL 1).
A distance measuring system disclosed in PTL 1 includes a processing circuit for measuring a distance in each of a plurality of areas, and thus the configuration thereof is complicated. Particularly, in order to detect an object positioned in the vicinity of a vehicle with high accuracy, it is necessary to increase the number of light receiving elements included in a light receiving element array. In a case in which the number of light receiving elements included in the light receiving element array increases, from the point of view of increasing the speed of processing, the number of areas acquired by dividing the light reception range needs to be increased. In a case in which the number of areas acquired by dividing the light reception range is increased, the number of processing circuits used for measuring distances is increased.
An in-vehicle device has functional safety to be important and, originally, is preferably include a structure for performing a malfunction diagnosis of each processing circuit disposed inside a distance measuring system. However, in PTL 1 described above, malfunction diagnosis of the distance measuring system is not described.
Thus, according to the present disclosure, a light detecting device and a distance measuring system capable of efficiently performing a malfunction diagnosis and malfunction detection are provided.
In order to solve the problems described above, according to the present disclosure, a light detecting device including: an array unit configured to have a plurality of light reception areas and have a plurality of light receiving elements disposed inside each of the light reception areas; a calculation unit, for each pixel including one or more light receiving elements included in each of the plurality of light reception areas, configured to generate a histogram relating to the number of times of reception of light in the light receiving element inside the pixel and a light reception timing; and a malfunction detecting unit configured to detect a malfunction of the inside of the calculation unit is provided.
The calculation unit may include: a sampling circuit configured to sample output signals of the plurality of light receiving elements included in each of the plurality of light reception areas with a predetermined sampling period and output detection signals indicating that the plurality of light receiving elements have received light for each pixel: an addition circuit configured to generate a pixel value acquired by adding the number of the detection signals for each pixel; and a histogram generating circuit configured to generate the histogram of each pixel in each of the plurality of light reception areas on the basis of the pixel value generated by the addition circuit, and the malfunction detecting unit may detect a malfunction of at least one of the sampling circuit, the addition circuit, and the histogram generating circuit.
The calculation unit may include: a filter circuit configured to eliminate a noise component included in the histogram generated by the histogram generating circuit: an echo detecting circuit configured to measure a distance to an object by detecting a time difference until light is reflected by the object and is received by the array unit after the light is projected on the basis of the histogram after elimination of the noise component using the filter circuit, and the malfunction detecting unit may detect a malfunction of at least one of the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit.
The calculation unit may include a plurality of area calculation units corresponding to each of the plurality of light reception areas, each of the plurality of area calculation units may include at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, and the malfunction detecting unit may detect a malfunction of at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit for each of the plurality of area calculation units.
The malfunction detecting unit may input the same test pattern signal to two area calculation units among the plurality of area calculation units and, in a case in which output signals of the two area calculation units are not the same, determine that any one of the two area calculation units has a malfunction.
The malfunction detecting unit may include: two selectors configured to select whether or not the test pattern signal is to be input to input nodes or internal nodes of the two area calculation units; and a comparator configured to compare output signals of the two area calculation units with each other when the two selectors select input of the test pattern signal.
The malfunction detecting unit may include two encoding units generating encoded data of output signals of the two area calculation units when the two selectors select input of the test pattern signal, and the comparator may compare two pieces of the encoded data generated by the two encoding units.
The calculation unit may include an even number, which is two or more, of the area calculation units, and the malfunction detecting unit may divide the even number of the area calculation units into each set of two area calculation units, input the same test pattern signal to the two area calculation units of each set and, in a case in which output signals of the two area calculation units are not the same, determine that any one of the two area calculation units has a malfunction.
The calculation unit may include an odd number, which is three or more, of the area calculation units, and the malfunction detecting unit may divide the odd number of the area calculation units into a plurality of sets of two area calculation units using some of the area calculation units in a duplexing manner, inputs the same test pattern signal to the two area calculation units of each set and, in a case in which output signals of the two area calculation units are not the same, determine that any one of the two area calculation units has a malfunction.
The calculation unit may include three or more of the plurality of the area calculation units, and the malfunction detecting unit may input the same test pattern signal to the plurality of the area calculation units and, in accordance with whether output signals of some area calculation units among the plurality of the area calculation units are different from output signals of remaining area calculation units that are greater in number than the some area calculation units, determine that the some area calculation units have a malfunction.
Each of the plurality of the area calculation units may have a plurality of stages of processing circuits, which are cascade-connected, including at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, and the comparator may include a plurality of comparison units connected to output nodes of the processing circuits of two or more stages that are cascade-connected to a later stage side of the selector for each of the plurality of the area calculation units, and each of the plurality of comparison units may compare output signals of output nodes of the processing circuits of different stages in the two area calculation units with each other.
The calculation unit may have processing circuits of a plurality of stages, which are cascade-connected, including some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, and different selectors may be connected to input sides of two or more processing circuits among the plurality of stages of processing circuits, and the test pattern signal may be selectable using each of the selectors, and the comparator may be disposed in association with each of the selectors on a later stage side of the processing circuit to which each of the selectors is connected.
The number of pixels of the array unit may be larger than the number of pixels for which the calculation unit performs generation of the histogram, the sampling circuit may output the detection signal for each pixel of the array unit, the addition circuit may generate the pixel value of each of pixels of which the number of pixels is smaller than the number of pixels of the array unit, and the selector may be disposed between the sampling circuit and the addition circuit, input a detection signal output from the sampling circuit to the addition circuit with time adjustment at the time of a normal operation, and input the test pattern signal to the addition circuit at the time of a malfunction diagnosis.
The number of pixels of the array unit may be larger than the number of pixels for which the calculation unit performs generation of the histogram, the sampling circuit may output the detection signal for each pixel of the array unit, the addition circuit may generate the pixel value of each of pixels of the array unit, and the histogram generating circuit may generate the histogram of each of pixels of which the number of pixels is smaller than the number of pixels of the array unit, and the selector may be disposed between the addition circuit and the histogram generating circuit, input the pixel value generated by the addition circuit to the histogram generating circuit with time adjustment at the time of a normal operation, and input the test pattern signal to the histogram generating circuit at the time of a malfunction diagnosis.
Each of the plurality of area calculation units may include a calculation coefficient storing unit storing a first calculation coefficient used in a calculation process at the time of a normal operation and a second calculation coefficient used in a calculation process at the time of a malfunction diagnosis, the light detecting device may further include a control unit configured to perform control of selecting one of the first calculation coefficient and the second calculation coefficient and supplying the selected calculation coefficient to the plurality of stages of processing circuits and perform selection switching of the selector.
Each of the plurality of area calculation units may have a first calculation coefficient storing unit storing a first calculation coefficient used in a calculation process at the time of a normal operation, and the light detecting device may further include: a second calculation coefficient storing unit configured to store a second calculation coefficient used in a calculation process at the time of a malfunction diagnosis; and a control unit configured to perform control of supplying the first calculation coefficient to the plurality of stages of processing circuits at the time of the normal operation, perform control of supplying the second calculation coefficient to the plurality of stages of processing circuits at the time of the malfunction diagnosis, and perform selection switching of the selector.
A timing control unit configured to control the array unit and the calculation unit separately in a normal operation period in which the histogram is generated on the basis of light received by the array unit and in a malfunction diagnosis period in which malfunction detection of the calculation unit is performed on the basis of the test pattern signal in a state in which a light reception operation of the array unit is stopped may be included.
A timing control unit configured to perform control of inputting the test pattern signal to an input node or an internal node of the calculation unit and outputting a malfunction diagnosis signal from the calculation unit in a period in which each processing circuit inside the calculation unit performs processing on the basis of light received by the array unit may be included.
A pattern generator configured to generate the test pattern signal including a random pattern of a time series may be included, and the same test pattern signal may be supplied to the plurality of area calculation units.
According to the present disclosure, a distance measuring system including: the light detecting device described above; and a light projection unit configured to project light to the object is provided.
Hereinafter, embodiments of a light detecting device and a distance measuring system will be described with reference to the drawings. Hereinafter, although main components of the light detecting device and the distance measuring system will be mainly described, in the light detecting device and the distance measuring system, components or functions that are not illustrated or described may be present. The following description does not exclude components or functions that are not illustrated or described.
The control unit 11 is configured as, for example, an information processing device such as a central processing unit (CPU) and controls each unit of the ToF sensor 1.
The external output I/F 19 may be, for example, a communication adapter for establishing communication with an external host 80 via a communication network in conformity with any standard such as not only a wireless local area network (LAN) or a wired LAN but also a controller area network (CAN), a local interconnect network (LIN), or FlexRay (registered trademark).
Here, for example, when the ToF sensor 1 is mounted in an automobile or the like, the host 80 may be an engine control unit (ECU) mounted in the automobile or the like. When the ToF sensor 1 is mounted in an autonomous moving robot such as a robot pet at home or an autonomous moving body such as robot cleaner, an unmanned aircraft, or follow-up conveyance robot, the host 80 may be a control device or the like that controls the autonomous moving body.
The light emitting unit 13, for example, includes one or a plurality of semiconductor laser diodes as light sources and emits laser light L1 having a pulse form of a predetermined time width with a predetermined period (also referred to as a light emission period). In addition, the light emitting unit 13, for example, emits laser light L1 having a time width of 1 nano seconds (ns) with a period of 1 megahertz (MHz). For example, in a case in which an object 90 is present within a distance measurement range, the laser light L1 emitted from the light emitting unit 13 is reflected by this object 90 and is incident in the light receiving unit 14 as reflective light L2.
Although details will be described below, the light receiving unit 14, for example, includes a plurality of single photon avalanche photodiode (SPAD) pixels arranged in a two-dimensional lattice pattern and outputs information relating to the number of SPAD pixels (hereinafter, referred to as a detection number) that have detected incidence of photons after light emission of the light emitting unit 13 (for example, corresponding to the number of detection signals to be described below). For example, the light receiving unit 14 detects the incidence of photons with a predetermined sampling period in response to one light emission of the light emitting unit 13 and outputs the number of detections.
The calculation unit 15 collects each detection number output from the light receiving unit 14 for a plurality of SPAD pixels (for example, corresponding to one or a plurality of macro pixels to be described below) and, on the basis of pixel values acquired by the collection thereof, generates a histogram having a horizontal axis as a flight time and a vertical axis as an accumulated pixel number. For example, by repeatedly performing acquisition of a pixel value by collecting detection numbers for light emission of one time from the light emitting unit 13 at a predetermined sampling frequency for light emission of a plurality of times from the light emitting unit 13, the calculation unit 15 generates a histogram having a horizontal axis (a bin of the histogram) as a sampling period corresponding to a flight time and a vertical axis as an accumulated pixel value acquired by accumulating pixel values acquired at each sampling period.
In addition, after performing a predetermined filter process on the generated histogram, the calculation unit 15 identifies a flight time at a time when the accumulated pixel value becomes a peak from the histogram after the filter process. Then, the calculation unit 15 calculates the distance from the ToF sensor 1 or a device on which the ToF sensor 1 is mounted to the object 90 present in the distance measurement range based on the identified flight time. The information of the distance calculated by the calculation unit 15, for example, may be output to the host 80 or the like via the external output I/F 19.
As illustrated in
In the configuration illustrated in
The laser light L1 reflected by the galvanometer mirror 135 is reflected by the object 90 present in the distance measurement range AR and the reflective light L2 is incident on the galvanometer mirror 135. A part of the reflective light L2 that has been incident in the galvanometer mirror 135 is transmitted through the half mirror 133 and is incident in the light receiving lens 146, and, in accordance therewith, forms an image in a specific used SPAD array 142 in the SPAD array 141. In addition, the used SPAD array 142 may be the entire SPAD array 141 or may be a part thereof.
The SPAD array 141 includes a plurality of SPAD pixels 20 arranged in a two-dimensional lattice pattern. A pixel driving line LD (a vertical direction in the drawing) is connected to the plurality of SPAD pixels 20 for each column, and an output signal line LS (a horizontal direction in the drawing) is connected thereto for each row. One ends of the pixel drive lines LD are connected to output ends of the driving circuit 144 corresponding to the columns and one ends of the output signal lines LS are connected to input ends of the output circuit 145 corresponding to the rows.
In
The driving circuit 144 includes a shift register, an address decoder, and the like and drives the SPAD pixels 20 of the SPAD array 141 all at the same time, column by column, or the like. Thus, the driving circuit 144 includes at least a circuit that applies a quench voltage V_QCH which will be described later to each SPAD pixel 20 in a selected column of the SPAD array 141 and a circuit that applies a selection control voltage V_SEL which will be described later to each SPAD pixel 20 in the selected column. Then, the driving circuit 144 selects SPAD pixels 20 used to detect the incidence of photons column by column by applying the selection control voltage V_SEL to a pixel drive line LD corresponding to a column to be read.
Signals (referred to as detection signals) V_OUT output from the SPAD pixels 20 in the column selected and scanned by the driving circuit 144 are input to the output circuit 145 through the output signal lines LS. The output circuit 145 inputs the detection signal V_OUT output from each SPAD pixel 20 to the calculation unit 15 to be described below.
The timing control circuit 143 includes a timing generator that generates various timing signals or the like and controls the driving circuit 144 and output circuit 145 based on the various timing signals generated by the timing generator.
For example, the used SPAD array 142 is configured by a plurality of macro pixels 30 arranged in a vertical direction (corresponding to a column direction). In the present disclosure, the used SPAD array 142, for example, is divided into a plurality of areas (hereinafter, referred to as SPAD areas) in the vertical direction. In the example illustrated in
The reading circuit 22 includes a quench resistor 23, a digital converter 25, an inverter 26, a buffer 27, and a selection transistor 24. The quench resistor 23, for example, is configured using an N-type Metal Oxide Semiconductor Field Effect Transistor (MOSFET; hereinafter, referred to as an NMOS transistor), a drain thereof is connected to the anode of the photodiode 21, and a source thereof is grounded through the selection transistor 24. Further, a preset quench voltage V_QCH for allowing the NMOS transistor to act as a quench resistor is applied to a gate of the NMOS transistor constituting the quench resistor 23 from the driving circuit 144 via a pixel drive line LD.
The photodiode 21 illustrated in
The digital converter 25 includes a resistor 251 and an NMOS transistor 252. A drain of the NMOS transistor 252 is connected to a power supply voltage VDD via the resistor 251 and a source thereof is grounded. In addition, a voltage at a connection node N1 between the anode of the photodiode 21 and the quench resistor 23 is applied to a gate of the NMOS transistor 252.
The inverter 26 includes a P-type MOSFET (hereinafter referred to as a PMOS transistor) 261 and an NMOS transistor 262. A drain of the PMOS transistor 261 is connected to the power supply voltage VDD and a source thereof is connected to a drain of the NMOS transistor 262. The drain of the NMOS transistor 262 is connected to the source of the PMOS transistor 261 and a source thereof is grounded. A voltage at a connection node N2 between the resistor 251 and the drain of the NMOS transistor 252 is applied to a gate of the PMOS transistor 261 and the gate of the NMOS transistor 262. An output of the inverter 26 is input to the buffer 27.
The buffer 27 is a circuit for impedance conversion. When an output signal is input to the buffer 27 from the inverter 26, the buffer 27 impedance-converts the input output signal and outputs the converted signal as a detection signal V_OUT.
The selection transistor 24 is, for example, an NMOS transistor, a drain thereof is connected to the source of the NMOS transistor constituting the quench resistor 23, and a source thereof is grounded. The selection transistor 24 is connected to the driving circuit 144. The selection transistor 24 changes from off to on when the selection control voltage V_SEL from the driving circuit 144 has been applied to a gate of the selection transistor 24 via the pixel drive line LD.
The reading circuit 22 illustrated in
On the other hand, in a period in which the selection control voltage V_SEL is not applied from the driving circuit 144 to the selection transistor 24, and the selection transistor 24 is in an off-state, the reverse bias voltage V_SPAD is not applied to the photodiode 21, and thus the operation of the photodiode 21 is prohibited.
In a case in which a photon is incident in the photodiode 21 when the selection transistor 24 is in the on-state, an avalanche current is generated in the photodiode 21. In accordance therewith, the avalanche current flows through the quench resistor 23, and the voltage of the connection node N1 rises. When the voltage of the connection node N1 becomes higher than the on-voltage of the NMOS transistor 252, the NMOS transistor 252 comes into the on-state, and the voltage of the connection node N2 changes from the power supply voltage VDD to 0 V. Then, when the voltage of the connection node N2 changes from the power supply voltage VDD to 0 V, the PMOS transistor 261 changes from the off state to the on state, the NMOS transistor 262 changes from the on state to the off state, and the voltage of the connection node N3 changes from 0 V to the power supply voltage VDD.
As a result, a high-level detection signal V_OUT is output from the buffer 27.
Thereafter, when the voltage of the connection node N1 continues to rise, the voltage applied between the anode and the cathode of the photodiode 21 becomes lower than the breakdown voltage, and, in accordance therewith, the avalanche current stops, and the voltage of the connection node N1 falls. Then, when the voltage of the connection node N1 becomes lower than the on voltage of the NMOS transistor 252, the NMOS transistor 252 comes into the off state, and the output of the detection signal V_OUT from the buffer 27 stops (low level).
In this way, in a period from a timing at which a photon is incident in the photodiode 21 to generate an avalanche current, and in accordance with this, the NMOS transistor 252 comes into the on state to a timing at which the avalanche current stops, and the NMOS transistor 252 comes into the off state, the reading circuit 22 outputs a detection signal V_OUT of the high level. The output detection signal V_OUT is input to the calculation unit 15 through the output circuit 145.
The first area 50-1 positioned on the lowermost side, for example, is a depth image near the bottom of a vehicle in which the ToF sensor 1 is mounted. Thus, in the first area 50-1, for example, there is a high possibility of an object present at a short distance from a vehicle such as a road face, a white line, a curbstone, or the like being included.
The fourth area 50-4 positioned on the uppermost side, for example, is a depth image near an upper side of the vehicle. Thus, in the fourth area 50-4, for example, there is a high possibility of an object present at a long distance from the vehicle such as a sign, a signboard, or the like being included.
The second area 50-2, for example, is a depth image of a front lower side of the vehicle. Thus, in the second area 50-2, for example, there is a high possibility of an object at an intermediate distance between the short distance and the long distance such as a preceding vehicle having a short inter-vehicle distance, a road face, or the like being included.
The third area 50-3, for example, is a depth image of a front upper side of the vehicle. Thus, in the third area 50-3, for example, there is a high possibility of an object present at a distance that is an intermediate distance between the short distance and the long distance and is present at a distance longer than that of an object having a high possibility of being included in the second area 50-2 such as a preceding vehicle having a long inter-vehicle distance, an on-road workpiece such as a traffic light or the like being included.
In addition, the horizontal line H1 may be included in the second area 50-2 or may be included in the third area 50-3. Furthermore, the configuration is not limited to these, and the horizontal line may be included in the first or fourth area 50-1 or 50-4 or may not be included in any of the areas 50-1 to 50-4.
In addition, for emission of the laser light L1 for acquisition of a depth image of a certain area (a certain angle of view) performed once or more, a frame image of an area corresponding to the angle of view of the used SPAD array 142 denoted by a dotted line in
Here, when the first area 50-1 positioned on the lowermost side and the fourth area 50-4 positioned on the uppermost side are focused, generally, an object present near the bottom of a device corresponding to the first area 50-1 is positioned near the device, and an object present near the upper side of a device corresponding to the fourth area 50-4 is positioned far from the device. Thus, as illustrated in
(Problem of Case in which Calculation Coefficient is Configured to be Common)
For this reason, as illustrated in
Thus, in the present disclosure, as illustrated in
By configuring as such, individual calculation coefficients 16-1 to 16-4 according to predicted distances to objects can be respectively set to the area calculation units 15-1 to 15-4, and thus respective distance measurement results 17-1 to 17-4 can be calculated using optimal calculation coefficients. In accordance therewith, even in a case in which an object at a short distance and an object at a long distance are present within the distance measurement range AR, degradation of the distance measurement accuracy can be inhibited.
For example, for the area calculation unit 15-1 corresponding to the SPAD area 142-1 in which an object may be easily present at a short distance, a high threshold Sth1 (see
In addition, similarly, also for the area calculation units 15-2 and 15-3, optimal calculation coefficients 16-2 and 16-3 can be set in accordance with distances to objects that are predicted in the second area 50-2 and the third area 50-3.
As examples of the calculation coefficients 16-1 to 16-4 respectively set by the area calculation units 15-1 to 15-4 according to the present disclosure, for example, as illustrated in
The echo threshold, as described above, is a threshold used for extracting a component of reflective light L2 from light detected by the SPAD pixel 20 and, as illustrated in
As described above, the filter coefficient is a filter coefficient used for eliminating a noise component from a generated histogram and, as illustrated in
As described above, the resolution, for example, can be changed by changing the number of macro pixels 30 configuring one pixel. As illustrated in
For example, by changing a bin number of a histogram generated by a histogram circuit 152 to be described below and the emission period of the light emitting unit 13, the frame rate can be changed. For example, by configuring the bin number of the histogram to be in half and doubling the emission period of the light emitting unit 13, the frame rate can be doubled. As illustrated in
For example, the histogram output range can be changed by changing a range (a time frame) of the generated histogram to be output. For example, in a case in which a distance to an object positioned at a short distance is calculated, by outputting a previous time frame of the histogram, an output band can be reduced. On the other hand, in a case in which a distance to an object positioned at a long distance is calculated, by outputting a subsequent time frame of the histogram, similarly, the output band can be reduced. As illustrated in
Here, the calculation coefficients described above are merely simple examples, and various additions and changes can be made. For example, a value at the time of subtracting noise according to external disturbance light from the histogram, a sampling frequency, and the like may be included in the calculation coefficients.
The register block 155, for example, is a memory area configured using a static random access memory (SRAM) or the like and stores individual calculation coefficients used in a calculation process performed by each of the sampling circuit 150, the SPAD addition circuit 151, the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154 belonging to a corresponding area calculation unit.
For example, the sampling circuit 150 converts a pulse waveform of a signal V_OUT output from the SPAD array 141 through the output circuit 145 into a detection signal of a pulse waveform of a time width according to an operation clock of the SPAD addition circuit 151 in accordance with a resolution among calculation coefficients stored in the register block 155 of a corresponding area calculation unit and outputs the detection signal.
By counting detection signals V_OUT input from the corresponding macro pixel 30 for each sampling period, the SPAD addition circuit 151 counts the number of SPAD pixels 20 in which incidence of a photon has been detected (a detection number) for each sampling period and outputs this counted value as a pixel value of the macro pixel 30.
Here, the sampling period is the interval at which the time from the emission of the laser light L1 by the light emitting unit 13 to the detection of the incidence of a photon by the light receiving unit 14 (flight time) is measured. A period shorter than the light emission period of the light emitting unit 13 is set for this sampling period. For example, shortening the sampling period enables calculation of the flight time of a photon emitted from the light emitting unit 13 and reflected by the object 90 with a higher time resolution. This means that increasing the sampling frequency enables calculation of the distance to the object 90 with a higher distance measuring resolution.
For example, in a case in which a flight time until reflective light L2 is incident in the light receiving unit 14 after the light emitting unit 13 emits laser light L1, and this laser light L1 is reflected by an object 90 is denoted by t, the speed of light C is constant (C≈300,000,000 m (meters)/s (second), and thus a distance L to the object 90 can be calculated as in the following Equation (1).
Thus, when the sampling frequency is 1 GHz, a sampling period is 1 ns (nano seconds). In that case, one sampling period corresponds to 15 cm (centimeters). This indicates that a distance measurement resolution is 15 cm in a case in which the sampling frequency is 1 GHz. In addition, when the sampling frequency is doubled to be 2 HGz, the sampling period becomes 0.5 ns (nano seconds), and thus one sampling period corresponds to 7.5 cm (centimeters). This indicates that the distance measuring resolution can be halved when the sampling frequency is doubled. Thus, increasing the sampling frequency and shortening the sampling period enables calculation of the distance to the object 90 with higher accuracy.
The histogram circuit 152, for example, adds a pixel value of each pixel synchronously calculated by the sampling circuit 150 to a value of a bin corresponding to a sampling period in the histogram of the pixel, that is, a bin corresponding to a flight time in accordance with a frame rate among calculation coefficients stored in the register block 155 of a corresponding area calculation unit and/or a generation range of the histogram, thereby generating a histogram of each pixel (for example, see
The filter circuit 153, for example, performs a filter process on the histogram generated by the histogram circuit 152 in accordance with a filter coefficient of noise cut among calculation coefficients stored in the register block 155 of a corresponding area calculation unit, thereby eliminating noise of a frequency band according to the filter coefficient.
For example, in accordance with an echo threshold among calculation coefficients stored in the register block 155 of a corresponding area calculation unit, the echo detecting circuit 154 extracts a component of reflective light L2 from the histogram after noise elimination and calculates a distance to an object drawn in each pixel from a bin number (a flight time) in which an accumulated pixel value becomes a peak in the extracted component of the reflective light L2.
The frame images 51-1 to 51-4 configured using the distances to objects calculated as described above, for example, may be input to the host 80 through the control unit 11 or the external output I/F 19.
In bonding between the light receiving chip 101 and the circuit chip 102, for example, so-called direct bonding in which bonding faces thereof are planarized, and both chips are bonded using an inter-electron force can be used. However, the configuration is not limited thereto, and, for example, so-called CU-CU bonding in which electrode pads made of copper (Cu) formed on bonding faces thereof are bonded or any other bonding such as bump bonding can be used.
In addition, the light receiving chip 101 and the circuit chip 102 are electrically connected to each other through a connection portion such as a through-silicon via (TSV) penetrating a semiconductor substrate. In connection using a TSV, for example, a so-called twin TSV method for connecting two TSVs, that is, a TSV provided in the light receiving chip 101 and a TSV provided from the light receiving chip 101 to the circuit chip 102 on the outer surfaces of the chips, a so-called shared TSV method for connecting the light receiving chip 101 and the circuit chip 102 through a TSV penetrating both of the chips, or the like can be adopted.
However, in a case where a Cu-Cu junction or bump junction is used to join the light receiving chip 101 and the circuit chip 102 together, both the light receiving chip 3121 and the circuit chip 3122 are electrically connected to each other through a Cu-Cu joining portion or a bump joining portion.
In addition, in the lamination chip 100 illustrated in
In each of the area calculation units 15-1 to 15-4, in order from an area closest to the reading circuit area 22A, a sampling circuit 150, a histogram circuit 152, a filter circuit 153, and an echo detecting circuit 154 are disposed. In this way, by disposing the components in order of performing the process for a detection signal output from the reading circuit 22, a wiring length from reading to output can be shortened, and thus a signal delay and the like can be decreased.
In addition, the register block 155 is disposed in parallel with the sampling circuit 150, the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154. In this way, by disposing the register block 155 to be adjacent to the sampling circuit 150, the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154, drawing out of signal lines from the register block 155 to circuits can be simplified.
In addition, as described above, by dividing the calculation unit 15 into four area calculation units 15-1 to 15-4, circuit design of individual area calculation units can be easily performed, a circuit pattern of one area calculation unit can be used in the other three area calculation units, and thus there is an advantage in that efforts and a time required for the circuit design can be significantly shortened can be acquired.
In the light detecting device 10 and the distance measuring system illustrated in
In addition, since the area calculation units 15-1 to 15-4 for each area can be configured to have the same circuit pattern, efforts and a time required for circuit design can be significantly shortened.
Furthermore, for example, in a case in which a distance measuring process is not performed for a part of the areas, power supply to a corresponding calculation unit (any one of the area calculation units 15-1 to 15-4) can be stopped, and thus there is also an advantage in that power consumption can be reduced in accordance with a situation.
In addition, in the light detecting device 10 and the distance measuring system 1 illustrated in
As illustrated in
Thus, a light detecting device 10 and a distance measuring system 1 described below have a feature of having a malfunction diagnosis function. More specifically, the light detecting device 10 according to the present disclosure includes a malfunction detecting unit 4 in addition to a SPAD array (an array unit) 141 and a calculation unit 15. The SPAD array is similar to the SPAD array illustrated in
The calculation unit 15 has four area calculation units 15-1 to 15-4 corresponding to the SPAD array areas 0 to 3 (142-1 to 142-4). Each of the four area calculation units 15-1 to 15-4 includes at least some circuits of a sampling circuit 150, a SPAD addition circuit 151, a histogram circuit 152, a filter circuit 153, an echo detecting circuit 154, and a register block 33. Each circuit inside the area calculation units 15-1 to 15-4 performs an operation similar to that illustrated in
The sampling circuit 150 samples output signals of a plurality of light receiving elements 21 included in each of a plurality of light reception areas with a predetermined sampling period and outputs a detection signal indicating that the plurality of light receiving elements 21 have received light for each pixel. The SPAD addition circuit 151 generates a pixel value acquired by adding the number of detection signals for each pixel (macro pixel 30). The histogram circuit 152 generates a histogram of each pixel in each of a plurality of light reception areas on the basis of the pixel value generated by the SPAD addition circuit 151. The filter circuit 153 eliminates a noise component included in the histogram generated by the histogram circuit 152. The echo detecting circuit 154 detects a time difference until light is reflected by an object and is received by the array unit after the light is projected on the basis of the histogram after a noise component is eliminated by the filter circuit 153, thereby measuring a distance to the object.
The malfunction detecting unit 4 inputs the same test pattern to two area calculation units among four area calculation units 15-1 to 15-4 and determines that one of the two area calculation units has a malfunction when output signals of the two area calculation units are not the same.
The malfunction detecting unit 4 includes four selectors 8 and four pattern generators (PG) 9 corresponding to four area calculation units 15-1 to 15-4 and two comparators 31.
Each of the pattern generators 9 generates a test pattern signal at the time of performing a malfunction diagnosis. Four pattern generators 9 inside the malfunction detecting unit 4 respectively generate test pattern signals. The generated test pattern signals are respectively input to the corresponding selectors 8. Each pattern generator 9 changes a test pattern signal in accordance with the time. For example, each pattern generator 9 generates a test pattern signal of which a pattern is randomly changed in accordance with the time. Each pattern generator 9 may generate a test pattern signal using a pseudo random number. Two pattern generators 9 corresponding to each comparator 31 generate test pattern signals of which pattern series change the same.
Each selector 8 selects one of a detection signal sampled by the sampling circuit 150 and a test pattern signal generated by the pattern generator 9 and inputs the selected signal to the corresponding SPAD addition circuit 151. Each selector 8 selects a detection signal sampled by the sampling circuit 150 at the time of performing a normal operation and selects a test pattern signal at the time of performing a malfunction diagnosis.
At the time of performing a malfunction diagnosis, for example, the same test pattern signal is input to each SPAD addition circuit 151, and the register blocks 33 respectively set the same calculation coefficients in the area calculation units 15-1 to 15-4. For this reason, the SPAD addition circuit 151, the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154 perform processes on the basis of a test pattern signal input to the SPAD addition circuit 151.
The malfunction detecting unit 4 includes two comparators 31 for the four area calculation units 15-1 to 15-4. Each comparator 31 compares output signals of two area calculation units that are different from each other at the time of performing a malfunction diagnosis. At the time of performing a malfunction diagnosis, when the same test pattern signal is input to the SPAD addition circuits 151, and the register blocks 33 set the same calculation coefficients in the area calculation units 15-1 to 15-4, in a case in which each SPAD addition circuit 151, each histogram circuit 152, each filter circuit 153, and each echo detecting circuit 154 are normally operated, output signals of the echo detecting circuits 154 are the same. Thus, each comparator 31 outputs a signal that indicates coincidence of a comparison result.
At the time of performing a malfunction diagnosis, in a case in which at least some of circuits inside one area calculation unit among two area calculation units input to the comparator 31 have a malfunction, output signals of these two area calculation units do not coincide with each other, and the comparator 31 outputs a signal indicating no coincidence of a comparison result. In accordance therewith, it can be determined that any one of the two area calculation units input to this comparator 31 has a malfunction.
A comparison result signal output from the comparator 31, for example, is output to the outside through the error output I/F 7 and the external output I/F 19. In accordance with the comparison result signal output from the comparator 31, it can be detected that any one of the area calculation units 15-1 to 15-4 inside the calculation unit 15 has a malfunction.
The control unit 5 performs switching of the selector 8. More specifically, the control unit 5 causes the selector 8 to select a detection signal output from the sampling circuit 150 at the time of performing a normal operation and causes the selector 8 to select a test pattern signal output from the pattern generator 9 at the time of performing a malfunction diagnosis.
The error output I/F 7 notifies of detection of a malfunction. In addition, by omitting the error output I/F 7, detection of a malfunction may be notified by the external output I/F 19. In a case in which a malfunction has been detected, for example, in accordance with an output signal from the error output I/F 7 or the external output I/F 19, an interrupt may be applied to a host processor not illustrated in the drawing. Alternatively, a host processor may detect a malfunction by regularly polling values of the error output I/F 7, the external output I/F 19, and various registers. Alternatively, information of presence/absence of a malfunction detection result may be added to data of a predetermined format (for example, MIPI: Mobile Industry Processor Interface, I2C: Inter-Integrated Circuits, SPI: Serial Peripheral Interface, or the like) output from the external output I/F 19.
In this way, the light detecting device 10 according to the first embodiment inputs respective two of output signals of the four area calculation units 15-1 to 15-4 inside the calculation unit 15 to mutually-different comparators 31 and inputs the same test pattern signal to the area calculation units 15-1 to 15-4 at the time of performing a malfunction diagnosis. In accordance with this, when at least a part of circuits inside a part of the area calculation units has a malfunction, non-coincidence is detected in a comparator 31 to which an output signal of an area calculation unit having the circuit having the malfunction is input. In accordance with this, depending on whether or not non-coincidence has been detected in any one comparator 31, it can be detected whether or not one of the four area calculation units 15-1 to 15-4 inside the calculation unit 15 has a malfunction.
In the light detecting device 10 illustrated in
In
The light detecting device 10 illustrated in
At the time of performing a malfunction diagnosis, the encoding unit 32 generates encoded data of output signals of corresponding area calculation units 15-1 to 15-4. The encoded data, for example, is a Cyclic Redundancy Check (CRC) signal. In the drawings of this application, the encoding unit 32 will be denoted by CRC 32. A CRC signal is generated by performing data compression of output signals of the area calculation units 15-1 to 15-4, and thus the number of stored bits can be reduced more than in a case in which the output signals of the area calculation units 15-1 to 15-4 are stored as they are. Thus, a cost at the time of storing output results of the area calculation units 15-1 to 15-4 can be reduced.
In a case in which a distance measuring system 1 including the light detecting device 10 according to this embodiment has the encoding unit 32 for communication already mounted therein, the encoding unit 32 can generate a CRC signal using the encoding unit 32, and thus there is no need to newly dispose an encoding unit 32.
The comparator 31 illustrated in
In this way, in the light detecting device 10 according to the second embodiment, encoded data acquired by encoding output signals of the area calculation units 15-1 to 15-4 is compared, and thus the configuration of the comparator 31 can be more simplified than in a case in which output signals of the area calculation units 15-1 to 15-4 are compared with each other, and thus the number of bits at the time of storing output results of the area calculation units 15-1 to 15-4 can be reduced.
In the first and second embodiments described above, area calculation units 15-1 to 15-4 of an even number are disposed inside the calculation unit 15, the malfunction detecting unit 4 divides the even number of the area calculation units 15-1 to 15-4 into each set of two area calculation units, inputs the same test pattern signal to two area calculation units of each set and, in a case in which output signals of the two area calculation units are not the same, determines that any one of the two area calculation units has had a malfunction. In contrast to this, a third embodiment described below represents a case in which area calculation units 15-1 to 15-3 of an odd number are disposed inside a calculation unit 15. In addition, the odd number is not limited to three and may be an odd number of five or more.
The malfunction detecting unit 4 includes three pattern generators 9, three selectors 8, and two comparators 31. Each comparator 31 compares output signals of two area calculation units among three area calculation units 15-1 to 15-3 with each other. An output signal of one area calculation unit among the three area calculation units 15-1 to 15-3 is input to both the two comparators 31. Output signals of the remaining two area calculation units are input to one of the two comparators 31. In accordance with this, the two comparators 31 compare output signals of two area calculation units with each other using an output signal of one area calculation unit in a duplicated manner.
When non-coincidence of a comparison result is detected in at least one of the two comparators 31, it can be determined that one of area calculation units inside the calculation unit 15 has had a malfunction.
In addition, similar to
In this way, in the third embodiment, although the area calculation units 15-1 to 15-3 of an odd number are disposed inside the calculation unit 15, by inputting output signals of some area calculation units to a plurality of comparators 31 in a duplicated manner, output signals of two area calculation units can be compared with each other by each comparator 31 by dividing all the area calculation units 15-1 to 15-3 inside the calculation unit 15 into each set of two area calculation units, and similar to the first and second embodiments, it can be detected that any one of the area calculation units 15-1 to 15-3 inside the calculation unit 15 has had a malfunction.
In the light detecting devices 10 according to the first to third embodiments described above, although it can be known that any one of area calculation units inside the calculation unit 15 has had a malfunction, it cannot be identified which area calculation unit has had the malfunction by the malfunction detecting unit 4, and for the identification, as described above, a verification means or the like is necessary in addition to the malfunction detecting unit 4. A light detecting device 10 according to a fourth embodiment described below is configured to be able to identify an area calculation unit that has had a malfunction using a malfunction detecting unit 4.
The malfunction detecting unit 4 includes three pattern generators 9 and three selectors 8 corresponding to three area calculation units 15-1 to 15-3 and one comparator 31. Output signals of three area calculation units 15-1 to 15-3 are input to the comparator 31, and the comparator 31 compares these three output signals with each other. Then, in a case in which one output signal among the three output signals is different from the remaining two output signals, it can be identified that the area calculation unit that has output the one output signal has had a malfunction.
In this way, by comparing the three output signals that have been input with each other, the comparator 31 can identify an area calculation unit that has had a malfunction through a majority decision.
In
In addition, similar to
In this way, in the fourth embodiment, output signals of three or more area calculation units are input to the comparator 31, the output signals are compared with each other, and an area calculation unit that has had a malfunction is identified through a majority decision, whereby a malfunctioning place can be identified using a simple configuration.
In a fifth embodiment, a malfunction diagnosis is individually performed on processing circuits of a plurality of stages inside area calculation units 15-1 to 15-4.
In the example illustrated in
The malfunction detecting unit 4 illustrated in
Although the malfunction detecting unit 4 illustrated in
In addition, similar to
In this way, in the fifth embodiment, output signals of processing circuits of each stage inside a plurality of the area calculation units 15-1 to 15-4 are compared by corresponding comparators 31 (the first to fourth comparators 31-1 to 31-4), and thus it can be detected which processing circuit inside the area calculation units 15-1 to 15-4 has had a malfunction.
In a sixth embodiment, a test pattern signal is input to a plurality of places inside a sampling circuit 150 and a calculation circuit, and malfunction detection is performed at the plurality of places.
The four first pattern generators 9-1, the four first selectors 8-1, and the two first comparators 31-1 are used for detecting a malfunction of any one of the four sampling circuits 150 and the four SPAD addition circuits 151 at the time of a test mode. When non-coincidence of output signals is detected in at least one of the two first comparators 31-1, it is detected that any one of the four sampling circuits 150 and the four SPAD addition circuits 151 has had a malfunction. Four test patterns generated by the four first pattern generators 9-1 are random patterns generated using pseudo random numbers or the like, two test patterns corresponding to the two first comparators 31-1 are patterns in which a pattern series changes the same.
The four second pattern generators 9-2, the four second selectors 8-2, and the two second comparators 31-2 are used for detecting a malfunction of any one of the four histogram circuits 152, the four filter circuits 153, the four echo detecting circuits 154 at the time of a test mode. When non-coincidence of output signals is detected in at least one of the two second comparators 31-2, it is detected that any one of the four histogram circuits 152, the four filter circuits 153, and the four echo detecting circuits 154 has had a malfunction. Four test patterns generated by the four second pattern generators 9-2 are random patterns generated using pseudo random numbers or the like, and two test patterns corresponding to the two second comparators 31-2 are patterns in which a pattern series changes the same.
At the time of performing a malfunction diagnosis, a control unit 5 selects one of a first malfunction diagnosis mode and a second malfunction diagnosis mode. When the first malfunction diagnosis mode is selected by the control unit 5, the first selector 8-1 selects a first test pattern and inputs the selected first test pattern to the sampling circuit 150. In this case, processes of the sampling circuit 150 and the SPAD addition circuits 151 are sequentially performed on the basis of the first test pattern, and two of output signals of the four SPAD addition circuits 151 are input to the two first comparators 31-1 as one set. In accordance with this, when the first malfunction diagnosis mode is selected, the two first comparators 31-1 can detect a malfunction of any one of the four sampling circuits 150 or the four SPAD addition circuits 151.
When the second malfunction diagnosis mode is selected by the control unit 5, the second selector 8-2 selects a second test pattern and inputs the selected second test pattern to the histogram circuits 152. In this case, processes of the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154 are sequentially performed on the basis of the second test pattern, and two of output signals of the four echo detecting circuits 154 are input to the two second comparators 31-2 as one set. In accordance with this, when the second malfunction diagnosis mode is selected, the two second comparators 31-2 can detect a malfunction of any one of the four histogram circuits 152, the four filter circuits 153, or the four echo detecting circuits 154.
At the time of performing a malfunction diagnosis, the control unit 5 selects one of the first malfunction diagnosis mode and the second malfunction diagnosis mode. When the first malfunction diagnosis mode is selected by the control unit 5, the first selector 8-1 selects the first test pattern and inputs the selected first test pattern to the sampling circuit 150. In this case, on the basis of the first test pattern, processes of the sampling circuit 150, the SPAD addition circuit 151, and the histogram circuit 152 are sequentially performed, and two of output signals of the four histogram circuits 152 are input to the two first comparator 31-1 as one set. In accordance with this, when the first malfunction diagnosis mode is selected, the two first comparators 31-1 can detect that any one of the four sampling circuits 150, the four SPAD addition circuits 151, or the four histogram circuits 152 has had a malfunction.
When the second malfunction diagnosis mode is selected by the control unit 5, the second selector 8-2 selects the second test pattern and inputs the selected second test pattern to the histogram circuit 152. In this case, on the basis of the second test pattern, processes of the histogram circuit 152, the filter circuit 153, and the echo detecting circuit 154 are sequentially performed, and two of output signals of the four echo detecting circuits 154 are input to the two second comparator 31-2 as one set. In accordance with this, when the second malfunction diagnosis mode is selected, the two second comparators 31-2 can detect that any one of the four histogram circuits 152, the four filter circuits 153, or the four echo detecting circuits 154 has had a malfunction.
Also in the light detecting devices 10 illustrated in
In addition, similar to
In this way, in the sixth embodiment, test patterns are input to a plurality of places inside the light detecting device 10, and output signals of processing circuits of different stages among processing circuits of a plurality of stages inside each of the area calculation units 15-1 to 15-4 are input to individual comparators 31, whereby it becomes easy to identify a place inside the light detecting device 10 at which a malfunction has occurred.
A light detecting device 10 according to a seventh embodiment represents a case in which the number of pixels inside a SPAD array 141 is larger than the number of pixels that can be processed by a calculation unit 15.
In this embodiment, a case in which the number of pixels inside the SPAD array 141 is larger than the number of pixels that can be processed by the calculation unit 15 is assumed, and a distance measuring process is performed by the calculation unit 15 for each pixel group of a column direction inside the SPAD array 141.
The sampling circuit 150 outputs detection signals corresponding to the number of pixels inside the SPAD array 141. A detection signal output from the sampling circuit 150 is shifted by a column number set in the column shift number setting register 34 and is output from the selector 8 at the time of a normal operation. In this way, a detection signal corresponding to each pixel inside some columns inside the SPAD array 141 is selected by the selector 8 and is supplied to the calculation unit 15.
The selector 8 is disposed between the sampling circuit 150 and four SPAD adders. At the time of a normal operation, the selector 8 performs column shift on a detection signal output from the sampling circuit 150 as described above and then supplies the detection signals to each SPAD addition circuit 151.
On the other hand, at the time of performing a malfunction diagnosis, the selector 8 selects a test pattern signal generated by the pattern generator 9 and supplies the selected test pattern signal to each SPAD addition circuit 151 inside the calculation unit 15 without performing an operation of shifting each column (hereinafter, referred to as column shift).
Similar to
A pixel value output from the SPAD addition circuit 151 is column-shifted and then is input to each histogram circuit 152.
Four selectors 8 inside the light detecting device 10 illustrated in
Also in the light detecting devices 10 illustrated in
In addition, similar to
In this way, even in a case in which the number of pixels of the SPAD array 141 is larger than the number of pixels of each processing circuit inside the calculation unit 15, the light detecting device 10 according to the seventh embodiment can perform a malfunction diagnosis by inputting a test pattern signal to each processing circuit at the time of performing the malfunction diagnosis.
In an eighth embodiment, a register block 33 storing calculation coefficients used when processing circuits inside area calculation units 15-1 to 15-4 perform calculation processes stores calculation coefficients for a malfunction diagnosis.
The register block 33 is disposed for each of the area calculation units 15-1 to 15-4, and the second register 36 is disposed in each register block 33, and thus calculation coefficients at the time of a malfunction diagnosis can be individually set for each of the area calculation units 15-1 to 15-4.
In addition, the light detecting device 10 according to the eighth embodiment can be combined with the light detecting devices 10 according to the first to seventh embodiments described above, and thus configurations other than the register block 33 and the control unit 5 inside the light detecting device 10 may be the same as those of the light detecting devices 10 according to the second to seventh embodiments.
Also in the light detecting device 10 illustrated in
In addition, similar to
In this way, in the eighth embodiment, the calculation coefficients for a normal operation and the calculation coefficients for a malfunction diagnosis are stored in the register block 33, and, in accordance with an instruction from the control unit 5, one of the calculation coefficients is selected and is supplied to each of the area calculation units 15-1 to 15-4. In accordance with this, after calculation coefficients that are appropriate at the time of performing a malfunction diagnosis are set in each of the area calculation units 15-1 to 15-4, by inputting a test pattern, a malfunction diagnosis can be performed. In addition, in the eighth embodiment, not only at the time of a normal operation but also at the time of a malfunction diagnosis, individual calculation coefficients can be set in each of the area calculation units 15-1 to 15-4.
At the time of performing a malfunction diagnosis, test pattern signals changing in the same pattern series are assumed to be input to a plurality of the area calculation units 15-1 to 15-4. For this reason, it is assumed that the calculation coefficients set in the area calculation units 15-1 to 15-4 at the time of performing a malfunction diagnosis may be configured to be the same without incurring any problem. Thus, in a ninth embodiment described below, at the time of performing a malfunction diagnosis, the same calculation coefficients are set in a plurality of area calculation units 15-1 to 15-4.
The internal configuration of the register block 33 illustrated in
In addition, the light detecting device 10 according to the ninth embodiment includes a malfunction diagnosis register block (a second calculation coefficient storing unit) 40 in addition to the register block 33 for each of the area calculation units 15-1 to 15-4. One malfunction diagnosis register block 40 is disposed for a plurality of the area calculation units 15-1 to 15-4.
At the time of a normal operation and at the time of a malfunction diagnosis, the control unit 5 controls selection of the selector 39 inside the register block 33 for each of the area calculation units 15-1 to 15-4. In accordance with this, the selector 39 selects calculation coefficients stored in the normal operation register 38 at the time of a normal operation and selects calculation coefficients stored in the malfunction diagnosis register block 40 at the time of a malfunction diagnosis.
Also in the light detecting device 10 illustrated in
In addition, similar to
In this way, in the light detecting device 10 according to the ninth embodiment, at the time of performing a malfunction diagnosis, a test pattern signal is input after common calculation coefficients are set in a plurality of area calculation units 15-1 to 15-4, and thus the internal configuration of the register block 33 disposed in each of the area calculation units 15-1 to 15-4 can be simplified.
In a light detecting device 10 according to a tenth embodiment, a normal operation period and a malfunction diagnosis period are completely separated from each other. The light detecting device 10 according to the tenth embodiment can be combined with the light detecting devices 10 according to the first to ninth embodiments described above and thus has an internal configuration according to the light detecting device 10 according to any one of the first to ninth embodiments.
The period control illustrated in
In this way, in the tenth embodiment, a malfunction diagnosis is performed in a state in which a processing operation in the normal operation period is stopped, and thus a malfunction diagnosis of each of the area calculation units 15-1 to 15-4 can be performed without any influence on the processing operation within the normal operation period.
A light detecting device 10 according to the 11th embodiment performs a malfunction diagnosis until next light is received after a SPAD array 141 receives light. The light detecting device 10 according to the 11th embodiment can be combined with the light detecting devices 10 according to the first to ninth embodiments described above, and thus the internal configuration of the light detecting device 10 is in accordance with that of the light detecting device 10 according to any one of the first to ninth embodiments.
The period control illustrated in
According to the 11th embodiment, a malfunction diagnosis is performed between processes of a pipeline without stopping the process of the pipeline of a normal operation, and thus a malfunction diagnosis and malfunction detection of the calculation unit 15 can be performed without degrading distance measurement accuracy and rapidity.
In the 1st to 11th embodiments, a malfunction diagnosis and malfunction detection can be performed without providing a physically redundant circuit, and thus a malfunction diagnosis and malfunction detection can be performed without increasing the circuit scale of the light detecting device 10 and increasing the power consumption thereof.
In addition, in the 1st to 11th embodiments, a comparison between an output signal at the time of inputting a test pattern signal and an output expected value prepared in advance is not performed, and thus a storage unit for storing the output expected value is not required.
Furthermore, in the 1st to 11th embodiments, the malfunction detecting unit 4 can be added with hardly changing the block configuration of the light detecting device 10, and thus the malfunction detecting unit 4 can be added to a light detecting device 10 having various internal configurations as post-installation.
In addition, in the 1st to 11th embodiments, without duplexing each processing circuit inside the light detecting circuit, a malfunction detection rate equivalent to that of a case in which duplexing is implemented can be acquired.
In this way, although the light detecting devices 10 according to the 1st to 11th embodiments have various technical effects described above, in the light detecting device 10 including the histogram circuit 152 and the echo detecting circuit 154, there is no light detecting device 10 having a malfunction detecting function in the future, and thus configurations as below may be considered.
The comparator 31 disposed for each of the area calculation units 15-1 to 15-4 compares an output signal of a corresponding one of the first area calculation units 15-1 to 15-4 with an output signal of a corresponding one of the second area calculation units 15-1 to 15-4 and outputs a comparison result signal. The comparison result signals are signals indicating whether or not any one of the first area calculation units 15-1 to 15-4 and the second area calculation units 15-1 to 15-4 has had a malfunction. The comparison result signals output from four comparators 31 corresponding to the four area calculation units 15-1 to 15-4 are output to the outside through the error output I/F 7.
Similar to the first area calculation units 15-1 to 15-4, a detection signal output from the sampling circuit 150 is input to the second area calculation units 15-1 to 15-4 inside the malfunction detecting unit 4. For this reason, without using a test pattern, malfunction detection can be constantly performed by the comparator 31 using a detection signal output from the sampling circuit 150 during a normal operation period.
In the light detecting device 10 according to the 12th embodiment, the internal configuration of a plurality of the area calculation units 15-1 to 15-4 inside the calculation unit 15 is duplexed, and thus although there is a problem in that the circuit scale of the light detecting device 10 becomes large, malfunction detection can be performed by the comparator 31 continuously during a normal operation period without inputting a test pattern signal from the outside.
The light detecting device 10 illustrated in
At the time of performing a malfunction diagnosis, each selector 8 selects a test pattern signal and inputs the selected test pattern signal to the SPAD addition circuit 151. Each of the area calculation units 15-1 to 15-4 sequentially processes test pattern signals, and an output signal of the echo detecting circuit 154 that is a final stage is input to the comparator 31. The comparator 31 compares an output signal of the echo detecting circuit 154 with an expected value output from the expected value output circuit 41 and, in the case of non-coincidence, determines that a corresponding one of area calculation units 15-1 to 15-4 has had a malfunction.
In this way, the light detecting device 10 according to the 13th embodiment has the expected value output circuit 41 for each of the area calculation units 15-1 to 15-4, and the circuit scale becomes large. On the other hand, the output signal of each of the area calculation units 15-1 to 15-4 and the expected value are compared by the comparator 31, and thus, in the case of non-coincidence with the expected value, it can be identified that a corresponding one of the area calculation units 15-1 to 15-4 has had a malfunction.
The technique according to the present disclosure can be applied to various products. For example, the technique according to the present disclosure may be implemented as an apparatus mounted on any kind of mobile body such as an automobile, an electric vehicle, a hybrid electric vehicle, a motorcycle, a bicycle, a personal mobility, an airplane, a drone, a ship, a robot, a construction machine, or an agricultural machine (tractor).
Each control unit includes a microcomputer that performs arithmetic processing according to various programs, a storage unit that stores programs executed by the microcomputer, parameters used for various arithmetic operations, and the like, and a driving circuit that drives various control target devices. Each control unit includes a network I/F for performing communication with other control units via the communication network 7010, and includes a communication I/F for performing communication through wired communication or wireless communication with devices, sensors, or the like inside or outside the vehicle. In
For example, the driving system control unit 7100 controls operations of devices relating to a driving system of a vehicle in accordance with various programs. For example, the driving system control unit 7100 functions as control devices such as a driving force generation device for generating driving force for the vehicle such as an internal combustion engine or a driving motor, a driving force transmission mechanism for transmitting a driving force to vehicle wheels, a steering mechanism for adjusting a steering angle of the vehicle, a braking device that generates a braking force for the vehicle, and the like. The driving system control unit 7100 may have a function of a control device such as an Antilock Brake System (ABS), Electronic Stability Control (ESC), or the like.
A vehicle state detection unit 7110 is connected to the driving system control unit 7100. The vehicle state detection unit 7110 includes, for example, at least one of a gyro sensor that detects an angular velocity of an axial rotation motion of a vehicle body, an acceleration sensor that detects an acceleration of a vehicle, and sensors for detecting an amount of operation with respect to an accelerator pedal, an amount of operation with respect to a brake pedal, a steering angle of a steering wheel, an engine speed, a rotation speed of wheels, and the like. The driving system control unit 7100 performs arithmetic processing using a signal input from the vehicle state detection unit 7110 to control an internal combustion engine, a drive motor, an electric power steering device, a brake device, and the like.
The body system control unit 7200 controls operations of various devices equipped in the vehicle body in accordance with various programs. For example, the body system control unit 7200 functions as a control device of a keyless entry system, a smart key system, a power window device, or various lamps such as a head lamp, a back lamp, a brake lamp, a turn indicator, and a fog lamp. In this case, radio waves emitted from a portable device in place of a key or signals of various switches can be input to the body system control unit 7200. The body system control unit 7200 receives inputs of radio waves or signals and controls a door lock device, a power window device, and a lamp of the vehicle.
The battery control unit 7300 controls a secondary battery 7310 which is a power supply source of a driving motor in accordance with various programs. For example, information such as a battery temperature, a battery output voltage, or a remaining capacity of a battery is input from a battery device including the secondary battery 7310 to the battery control unit 7300. The battery control unit 7300 performs arithmetic processing using such a signal and performs temperature adjustment control of the secondary battery 7310 or control of a cooling device equipped in the battery device, and the like.
The vehicle external information detecting unit 7400 detects external information of a vehicle in which the vehicle control system 7000 is mounted. For example, at least one of the imaging unit 7410 and the vehicle external information detector 7420 is connected to the vehicle external information detecting unit 7400. In the imaging unit 7410, at least one of a Time of Flight (ToF) camera, a stereo camera, a single-lens camera, an infrared camera, and other cameras is included. The vehicle external information detector 7420 includes at least one of, for example, an environmental sensor detecting present weather or atmospheric phenomena and a surrounding information detection sensor detecting other vehicles, obstacles, pedestrians, and the like around a vehicle on which the vehicle control system 7000 is mounted.
An environment sensor, for example, may be at least one of a rain drop sensor detecting rain, a fog sensor detecting fog, a sunshine sensor detecting a degree of sunshine, and a snow sensor detecting a snowfall. The surroundings information detection sensor may be at least one of an ultrasonic sensor, a radar device, and a LIDAR (Light Detection and Ranging or Laser Imaging Detection and Ranging) device. The imaging unit 7410 and the vehicle external information detector 7420 may be included as independent sensors or devices or may be included as a device in which a plurality of sensors or devices are integrated.
Here,
In
Vehicle external information detecting units 7920, 7922, 7924, 7926, 7928, and 7930 provided in a front, a rear, a side, a corner, and an upper part of the windshield in the vehicle cabin of the vehicle 7900 may be, for example, ultrasonic sensors or radar devices. The vehicle external information detecting units 7920, 7926, and 7930 provided at the front nose, the rear bumper, the back door, and the upper part of the windshield in the vehicle cabin of the vehicle 7900 may be, for example, LIDAR devices. These vehicle external information detecting units 7920 to 7930 are mainly used for detection of a preceding vehicle, a pedestrian, an obstacle, or the like.
The description will be continued with reference to
Further, the vehicle external information detecting unit 7400 may perform image recognition processing or distance detection processing for recognizing a person, a vehicle, an obstacle, a sign, a character on a road surface, or the like on the basis of the received image data. The vehicle external information detecting unit 7400 may perform processing such as distortion correction or alignment on the received image data, and combine image data captured by the different imaging units 7410 to generate a bird's-eye view image or a panoramic image. The vehicle external information detecting unit 7400 may perform viewpoint conversion processing using the image data captured by the different imaging units 7410.
The vehicle internal information detecting unit 7500 detects information inside the vehicle. For example, a driver state detection unit 7510 that detects a driver's state is connected to the vehicle internal information detecting unit 7500. The driver state detection unit 7510 may include a camera that images a driver, a biological sensor that detects biological information of the driver, or a microphone that collects a sound in the vehicle cabin. The biological sensor is provided on, for example, a seat surface, a steering wheel, or the like and detects biological information of an occupant sitting on the seat or the driver holding the steering wheel. The vehicle internal information detecting unit 7500 may calculate the degree of fatigue or the degree of concentration of the driver or determine whether the driver is drowsing based on detected information input from the driver state detection unit 7510. The vehicle internal information detecting unit 7500 may perform a noise cancellation process or the like on a collected sound signal.
The integrated control unit 7600 controls overall operations of the inside of the vehicle control system 7000 in accordance with various programs. An input unit 7800 is connected to the integrated control unit 7600. For example, the input unit 7800 is realized by a device of which an input can be operated by an occupant such as a touch panel, a button, a microphone, a switch, a lever, or the like. Data acquired by performing speech recognition of speech input from a microphone may be input to the integrated control unit 7600. For example, the input unit 7800 may be a remote control device using infrared rays or other electric waves or may be an external connection device such as a mobile phone or a Personal Digital Assistant (PDA) that can respond to an operation of the vehicle control system 7000. The input unit 7800 may be, for example, a camera, and in this case, the occupant can input information by gesture. Alternatively, data obtained by detecting a motion of a wearable device worn by the occupant may be input. Further, the input unit 7800 may include, for example, an input control circuit that generates an input signal on the basis of information input by the occupant or the like using the input unit 7800 and outputs the input signal to the integrated control unit 7600. The occupant or the like inputs various types of data to the vehicle control system 7000 or instructs a processing operation by operating the input unit 7800.
The storage unit 7690 may include a read only memory (ROM) that stores various programs that are executed by the microcomputer and a random access memory (RAM) that stores various parameters, calculation results, sensor values, and the like. In addition, the storage unit 7690 may be realized by a magnetic storage device such as a hard disk drive (HDD), a semiconductor storage device, an optical storage device, a magneto-optical storage device, or the like.
The general-purpose communication I/F 7620 is a general-purpose communication I/F that mediates communication with various devices present in an external environment 7750. The general-purpose communication I/F 7620 may have implemented therein, a cellular communication protocol such as GSM (registered trademark) (Global System of Mobile communications), WiMAX (registered trademark), LTE (registered trademark) (Long Term Evolution), or LTE-A (LTE-Advanced), or other wireless communication protocols such as wireless LAN (also referred to as Wi-Fi (registered trademark)) or Bluetooth (registered trademark). The general-purpose communication I/F 7620, for example, may be connected to a device (for example, an application server or a control server) present on an external network (for example, the Internet, a cloud network, or a business-specific network) via a base station or an access point. In addition, for example, the general-purpose communication I/F 7620 may be connected to a terminal present near the vehicle (for example, a terminal of a driver, a pedestrian, or a store or a machine type communication (MTC) terminal) using a peer-to-peer (P2P) technology.
The dedicated communication I/F 7630 is a communication I/F supporting a communication protocol formulated for the purpose of use in a vehicle. The dedicated communication I/F 7630, for example, may implement a standard protocol such as a wireless access in vehicle environment (WAVE) that is a combination of IEEE802.11p of a lower layer and IEEE1609 of an upper layer, a dedicated short range communications (DSRC), or a cellular communication protocol. The dedicated communication I/F 7630, typically, performs V2X communication having a concept including one or more of vehicle to vehicle communication, vehicle to infrastructure communication, vehicle to home communication, and vehicle to pedestrian communication.
The positioning unit 7640 receives, for example, a GNSS signal from a global navigation satellite system (GNSS) satellite (for example, a GPS signal from a global positioning system (GPS) satellite), executes positioning, and generates position information including a latitude, longitude, and altitude of the vehicle. The positioning unit 7640 may specify a current position by exchanging signals with a wireless access point, or may acquire position information from a terminal such as a mobile phone, PHS, or smartphone having a positioning function.
The beacon reception unit 7650 receives radio waves or electromagnetic waves transmitted from a radio station or the like installed on a road, and acquires information such as a current position, traffic jam, no throughfare, or required time. A function of the beacon reception unit 7650 may be included in the above-described dedicated communication I/F 7630.
The in-vehicle device I/F 7660 is a communication interface that mediates connections between the microcomputer 7610 and various in-vehicle devices 7760 present in the vehicle. The in-vehicle device I/F 7660 may establish a wireless connection using a wireless communication protocol such as wireless LAN, Bluetooth (registered trademark), NFC (Near Field Communication), or WUSB (Wireless USB). Furthermore, the in-vehicle device I/F 7660 may establish a wired connection such as a USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or MHL (Mobile High-definition Link) via a connection terminal (not illustrated) (and a cable if necessary). The in-vehicle device 7760 may include, for example, at least one of a mobile device or wearable device of an occupant and an information device carried in or attached to the vehicle. Further, the in-vehicle device 7760 may include a navigation device that searches for a route to an arbitrary destination. The in-vehicle device I/F 7660 exchanges control signals or data signals with the in-vehicle devices 7760.
The vehicle-mounted network I/F 7680 is an interface that mediates communication between the microcomputer 7610 and the communication network 7010. The vehicle-mounted network I/F 7680 transmits and receives signals or the like in conformity with a predetermined protocol supported by the communication network 7010.
The microcomputer 7610 of the integrated control unit 7600 controls the vehicle control system 7000 in accordance with various programs on the basis of information acquired through at least one of the general-purpose communication I/F 7620, the dedicated communication I/F 7630, the positioning unit 7640, the beacon reception unit 7650, the in-vehicle device I/F 7660, and the vehicle-mounted network I/F 7680. For example, the microcomputer 7610 may calculate control target values for the driving force generation device, the steering mechanism, or the braking device based on the acquired information on the inside and outside of the vehicle and output control commands to the driving system control unit 7100. For example, the microcomputer 7610 may perform cooperative control for the purpose of implementing functions of an advanced driver assistance system (ADAS) including vehicle collision avoidance, impact mitigation, following traveling based on an inter-vehicle distance, vehicle speed maintenance driving, vehicle collision warning, vehicle lane deviation warning, and the like. The microcomputer 7610 may perform coordinated control to perform automated driving or the like in which a vehicle travels autonomously regardless of an operation of a driver by controlling a driving force generation device, a steering mechanism, or a braking device, or the like based on acquired surrounding information of the vehicle.
The microcomputer 7610 may generate 3-dimensional distance information between the vehicle and objects such as surrounding structures or people based on information acquired via at least one of the general-purpose communication I/F 7620, the dedicated communication I/F 7630, the positioning unit 7640, the beacon reception unit 7650, the in-vehicle device I/F 7660, and the vehicle-mounted network I/F 7680 and may generate local map information including surrounding information of a current position of the vehicle. The microcomputer 7610 may predict a danger such as collision of the vehicle, approach of a pedestrian, or entry into a traffic prohibition road based on the acquired information and may generate a warning signal. The warning signal may be, for example, a signal for generating a warning sound or turning on a warning lamp.
The audio/image output unit 7670 transmits an output signal of at least one of an audio and an image to an output device that is able to visually or audibly notify an occupant of the vehicle or the outside of the vehicle of information. In the example illustrated in
In the example illustrated in
Alternatively, each control unit may be configured of a plurality of control units. Further, the vehicle control system 7000 may include another control unit (not illustrated). Further, in the above description, the other control unit may have some or all of functions of any one of the control units. That is, predetermined calculation processing may be performed by any one of the control units as long as information is transmitted and received via the communication network 7010. Similarly, a sensor or device connected to any one of the control units may be connected to the other control unit, and a plurality of control units may transmit or receive detection information to and from each other via the communication network 7010.
The present technique can also take on the following configurations.
(1) A light detecting device including: an array unit configured to have a plurality of light reception areas and have a plurality of light receiving elements disposed inside each of the light reception areas; a calculation unit, for each pixel including one or more light receiving elements included in each of the plurality of light reception areas, configured to generate a histogram relating to the number of times of reception of light in the light receiving element inside the pixel and a light reception timing; and a malfunction detecting unit configured to detect a malfunction of the inside of the calculation unit.
(2) The light detecting device described in (1), in which the calculation unit includes: a sampling circuit configured to sample output signals of the plurality of light receiving elements included in each of the plurality of light reception areas with a predetermined sampling period and output detection signals indicating that the plurality of light receiving elements have received light for each pixel: an addition circuit configured to generate a pixel value acquired by adding the number of the detection signals for each pixel; and a histogram generating circuit configured to generate the histogram of each pixel in each of the plurality of light reception areas on the basis of the pixel value generated by the addition circuit, and the malfunction detecting unit detects a malfunction of at least one of the sampling circuit, the addition circuit, and the histogram generating circuit.
(3) The light detecting device described in (2), in which the calculation unit includes: a filter circuit configured to eliminate a noise component included in the histogram generated by the histogram generating circuit; an echo detecting circuit configured to measure a distance to an object by detecting a time difference until light is reflected by the object and is received by the array unit after the light is projected on the basis of the histogram after elimination of the noise component using the filter circuit, and the malfunction detecting unit detects a malfunction of at least one of the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit.
(4) The light detecting device described in (3), in which the calculation unit includes a plurality of area calculation units corresponding to each of the plurality of light reception areas, each of the plurality of area calculation units includes at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, and the malfunction detecting unit detects a malfunction of at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit for each of the plurality of area calculation units.
(5) The light detecting device described in (4), in which the malfunction detecting unit inputs the same test pattern signal to two area calculation units among the plurality of area calculation units and, in a case in which output signals of the two area calculation units are not the same, determines that any one of the two area calculation units has a malfunction.
(6) The light detecting device described in (5), in which the malfunction detecting unit includes: two selectors configured to select whether or not the test pattern signal is to be input to input nodes or internal nodes of the two area calculation units; and a comparator configured to compare output signals of the two area calculation units with each other when the two selectors select input of the test pattern signal.
(7) The light detecting device described in (6), in which the malfunction detecting unit includes two encoding units generating encoded data of output signals of the two area calculation units when the two selectors select input of the test pattern signal, and the comparator compares two pieces of the encoded data generated by the two encoding units.
(8) The light detecting device described in any one of (5) to (7), in which the calculation unit includes an even number, which is two or more, of the area calculation units, and the malfunction detecting unit divides the even number of the area calculation units into each set of two area calculation units, inputs the same test pattern signal to the two area calculation units of each set and, in a case in which output signals of the two area calculation units are not the same, determines that any one of the two area calculation units has a malfunction.
(9) The light detecting device described in any one of (5) to (7), in which the calculation unit includes an odd number, which is three or more, of the area calculation units, and the malfunction detecting unit divides the odd number of the area calculation units into a plurality of sets of two area calculation units using some of the area calculation units in a duplexing manner, inputs the same test pattern signal to the two area calculation units of each set and, in a case in which output signals of the two area calculation units are not the same, determines that any one of the two area calculation units has a malfunction.
(10) The light detecting device described in (4), in which the calculation unit includes three or more of the plurality of the area calculation units, the malfunction detecting unit inputs the same test pattern signal to the plurality of the area calculation units and, in accordance with whether output signals of some area calculation units among the plurality of the area calculation units are different from output signals of remaining area calculation units that are more than the some area calculation units, determines that the some area calculation units have a malfunction.
(11) The light detecting device described in (6) or (7), in which each of the plurality of the area calculation units has a plurality of stages of processing circuits, which are cascade-connected, including at least some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, the comparator includes a plurality of comparison units connected to output nodes of the processing circuits of two or more stages that are cascade-connected to a later stage side of the selector for each of the plurality of the area calculation units, and each of the plurality of comparison units compares output signals of output nodes of the processing circuits of different stages in the two area calculation units with each other.
(12) The light detecting device described in (6) or (7), in which the calculation unit has processing circuits of a plurality of stages, which are cascade-connected, including some circuits among the sampling circuit, the addition circuit, the histogram generating circuit, the filter circuit, and the echo detecting circuit, and different selectors are connected to input sides of two or more processing circuits among the plurality of stages of processing circuits, and the test pattern signal is selectable using each of the selectors, and wherein the comparator is disposed in association with each of the selectors on a later stage side of the processing circuit to which each of the selectors is connected.
(13) The light detecting device described in (6) or (7), in which the number of pixels of the array unit is larger than the number of pixels for which the calculation unit performs generation of the histogram, the sampling circuit outputs the detection signal for each pixel of the array unit, the addition circuit generates the pixel value of each of pixels of which the number of pixels is smaller than the number of pixels of the array unit, and the selector is disposed between the sampling circuit and the addition circuit, inputs a detection signal output from the sampling circuit to the addition circuit with time adjustment at the time of a normal operation, and inputs the test pattern signal to the addition circuit at the time of a malfunction diagnosis.
(14) The light detecting device described in (6) or (7), in which the number of pixels of the array unit is larger than the number of pixels for which the calculation unit performs generation of the histogram, the sampling circuit outputs the detection signal for each pixel of the array unit, the addition circuit generates the pixel value of each of pixels of the array unit, and the histogram generating circuit generates the histogram of each of pixels of which the number of pixels is smaller than the number of pixels of the array unit, and the selector is disposed between the addition circuit and the histogram generating circuit, inputs the pixel value generated by the addition circuit to the histogram generating circuit with time adjustment at the time of a normal operation, and inputs the test pattern signal to the histogram generating circuit at the time of a malfunction diagnosis.
(15) The light detecting device described in (12), in which each of the plurality of area calculation units includes a calculation coefficient storing unit storing a first calculation coefficient used in a calculation process at the time of a normal operation and a second calculation coefficient used in a calculation process at the time of a malfunction diagnosis, the light detecting device further including a control unit configured to perform control of selecting one of the first calculation coefficient and the second calculation coefficient and supplying the selected calculation coefficient to the plurality of stages of processing circuits and perform selection switching of the selector.
(16) The light detecting device described in (12), in which each of the plurality of area calculation units has a first calculation coefficient storing unit storing a first calculation coefficient used in a calculation process at the time of a normal operation, the light detecting device further including: a second calculation coefficient storing unit configured to store a second calculation coefficient used in a calculation process at the time of a malfunction diagnosis: and a control unit configured to perform control of supplying the first calculation coefficient to the plurality of stages of processing circuits at the time of the normal operation, performs control of supplying the second calculation coefficient to the plurality of stages of processing circuits at the time of the malfunction diagnosis, and perform selection switching of the selector.
(17) The light detecting device described in any one of (5) to (16), further including a timing control unit configured to control the array unit and the calculation unit separately in a normal operation period in which the histogram is generated on the basis of light received by the array unit and in a malfunction diagnosis period in which malfunction detection of the calculation unit is performed on the basis of the test pattern signal in a state in which a light reception operation of the array unit is stopped.
(18) The light detecting device described in any one of (5) to (16), further including a timing control unit configured to perform control of inputting the test pattern signal to an input node or an internal node of the calculation unit and outputting a malfunction diagnosis signal from the calculation unit in a period in which each processing circuit inside the calculation unit performs processing on the basis of light received by the array unit.
(19) The light detecting device described in any one of (5) to (18), further including a pattern generator configured to generate the test pattern signal including a random pattern of a time series, wherein the same test pattern signal is supplied to the plurality of area calculation units.
(20) A distance measuring system including: the light detecting device described in any one of (3) to (19); and a light projection unit configured to project light to the object.
Aspects of the present disclosure are not limited to the aforementioned individual embodiments and include various modifications that those skilled in the art can achieve, and effects of the present disclosure are also not limited to the details described above. In other words, various additions, modifications, and partial deletion can be made without departing from the conceptual idea and the gist of the present disclosure that can be derived from the details defined in the claims and the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2021-084821 | May 2021 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2022/015947 | 3/30/2022 | WO |