Distance measuring device and abnormality determination method in distance measuring device
By using the difference between the incident light intensity characteristics of multiple light-receiving areas and the non-object area in the laser ranging device to determine, the problem of reduced signal-to-noise ratio in the prior art is solved, and high detection of abnormalities in the light-receiving part and the light-emitting part is achieved. Accuracy self-determination and processing.
Patent Information
- Application Number
- CN202080022913.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-19
- Filing Date
- 2020-02-05
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-02-05
AI Technical Summary
In existing laser ranging devices, the deviation of the light-receiving part or the light-emitting part or the dirt on the optical system causes the signal-to-noise ratio to decrease. There is a lack of effective abnormality self-determination method, and it is difficult to improve the accuracy of abnormality determination.
By providing a plurality of light-receiving areas in the distance measuring device, and using the abnormality determination unit to perform a difference determination based on the irradiation intensity characteristics of the detection light and the intensity characteristics of the non-target area, abnormality self-determination of the light-receiving unit and the light-emitting unit is realized.
It improves the self-determination accuracy of abnormalities in the light-receiving part and the light-emitting part of the ranging device, can effectively identify and handle abnormalities such as dirt or offset, and improves the signal-to-noise ratio and ranging accuracy of the system.
Smart Images

Figure CN113678021B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority based on Japanese Patent Application No. 2019-51075 filed on Mar. 19, 2019, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] The present invention relates to an abnormality determination technology in a distance measuring device using laser. Background Art
[0004] Optical distance measuring devices that detect objects using laser light have been proposed (for example, Japanese Patent Application Publication No. 2012-60012 and Japanese Patent Application Publication No. 2016-176750).
[0005] However, in the existing distance measuring devices, sufficient research has not been conducted on self-determination of abnormalities of the distance measuring device and improvement of the accuracy of abnormality determination, such as a decrease in S / N caused by the offset of the light receiving part or the light emitting part in the distance measuring device and the adhesion of dirt on the optical system.
[0006] Therefore, it is required that the distance measuring device perform self-determination of abnormality related to at least one of the light receiving unit and the light emitting unit. Summary of the invention
[0007] The present invention can be implemented in the following manner.
[0008] A first aspect provides a distance measuring device. The distance measuring device of the first aspect comprises: a light receiving unit having a plurality of light receiving areas for receiving incident light, and performing light reception of the incident light with each of the light receiving areas as a unit; a light emitting unit that performs irradiation of detection light exclusively corresponding to each of the light receiving areas; and an abnormality determination unit that, when the light receiving unit receives the incident light in accordance with the irradiation of the detection light, performs abnormality determination related to at least one of the light receiving unit and the light emitting unit of the distance measuring device based on the difference between the characteristics of the incident light intensity in a light receiving target area corresponding to the exclusive irradiation of the detection light and the characteristics of the incident light intensity in a light receiving non-target area not corresponding to the exclusive irradiation of the detection light among the plurality of light receiving areas.
[0009] According to the distance measuring device of the first aspect, the distance measuring device can perform self-determination of abnormality related to at least one of the light receiving unit and the light emitting unit.
[0010] A second aspect provides an abnormality determination method in a distance measuring device. The second aspect of the abnormality determination method in a distance measuring device includes: performing irradiation of detection light exclusively with each of the light receiving areas in a light receiving unit having a plurality of light receiving areas as a unit, and when the light receiving unit receives the incident light according to the irradiation of the detection light, performing abnormality determination related to at least one of the light receiving unit and the light emitting unit of the distance measuring device based on the difference between the characteristics of the incident light intensity in the light receiving target area corresponding to the exclusive irradiation of the detection light and the characteristics of the incident light intensity in the light receiving non-target area not corresponding to the exclusive irradiation of the detection light among the plurality of light receiving areas.
[0011] According to the abnormality determination method in the distance measuring device of the second mode, it is possible to perform self-determination of abnormalities related to at least one of the light receiving unit and the light emitting unit in the distance measuring device. In addition, the present invention can also be implemented as an abnormality determination program in the distance measuring device or a computer-readable recording medium recording the program. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is an explanatory diagram showing a schematic configuration of a distance measuring device according to the first embodiment.
[0013] Figure 2 This is a block diagram showing a functional configuration of a control unit of the distance measuring device according to the first embodiment.
[0014] Figure 3 This is an explanatory diagram schematically showing the light receiving element array included in the distance measuring device according to the first embodiment and illustrating an example of a histogram in each light receiving area.
[0015] Figure 4 It is an explanatory diagram schematically showing a light emitting element included in the distance measuring device according to the first embodiment.
[0016] Figure 5 This is an explanatory diagram showing an example of the timing of the light receiving process and the light emitting process in the distance measuring device according to the first embodiment.
[0017] Figure 6 This is a flowchart showing the flow of abnormality determination processing executed by the distance measuring device according to the first embodiment.
[0018] Figure 7 It is an explanatory diagram illustrating a light receiving form of a light receiving element array.
[0019] Figure 8 This is a flowchart showing the flow of abnormality determination processing executed by the distance measuring device according to the second embodiment.
[0020] Fig. 9 This is a flowchart showing the flow of abnormality determination processing executed by the distance measuring device according to the third embodiment.
[0021] Fig.10 It is an explanatory diagram schematically showing a light receiving element array according to another embodiment. DETAILED DESCRIPTION
[0022] The distance measuring device and the abnormality determination method in the distance measuring device according to the present invention will be described below based on the embodiments.
[0023] First embodiment:
[0024] like Figure 1 As shown, the distance measuring device 100 of the first embodiment includes a control unit 10, a light emitting unit 20, a light receiving unit 30, and an electric drive unit 40. The distance measuring device 100 is mounted on a vehicle, for example, and is used to detect objects around the vehicle. The distance measuring device 100 has a predetermined scanning angle range, and performs irradiation of detection light based on the light emitting unit 20 and reception of reflected light based on the light receiving unit 30 in units of unit scanning angles obtained by dividing the scanning angle range into a plurality of angles, thereby realizing distance measurement of the entire scanning angle range. The unit scanning angle specifies the resolution of the distance measuring device 100 or the resolution of the distance measurement result obtained by the distance measuring device 100, and the resolution and resolution become higher as the unit scanning angle becomes smaller. In addition, the unit scanning angle is also referred to as a scanning column hereinafter, and sometimes a reference numeral such as N scanning column or N+1 scanning column is added for distinction. The detection result of the object is used as a determination parameter of driving assistance such as driving force control, brake assistance, and steering operation assistance, for example. The distance measuring device 100 only needs to include at least the control unit 10, the light emitting unit 20, and the light receiving unit 30. The distance measuring device 100 is, for example, a Lidar (Light Detection and Ranging), and includes a scanning mechanism 35 that is rotationally driven by an electric drive unit 40, and a semi-transparent mirror 36 that transmits laser light emitted from the light emitting unit 20 and reflects incident light. In this embodiment, the light emitting unit 20 or the light receiving unit 30 may include at least a scanning mechanism 35 and a semi-transparent mirror 36 that form an optical path for light emission or light reception, and may also include a cover glass 37 and a lens (not shown) included in the distance measuring device 100. In this case, it may also be referred to as a light emitting system or a light receiving system.
[0025] The control unit 10 includes a central processing unit (CPU) 11 as a computing unit, a memory 12 as a storage unit, an input / output interface 13 as an input / output unit, and a clock generator (not shown). The CPU 11, the memory 12, the input / output interface 13, and the clock generator are connected via an internal bus 14 so as to be able to communicate in both directions. The memory 12 includes a memory such as a ROM that stores a nonvolatile and read-only abnormality determination processing program P1 for determining abnormality related to at least one of the light receiving unit and the light emitting unit of the distance measuring device 100 based on the difference between the characteristics of the incident light intensity in the light receiving target area and the characteristics of the incident light intensity in the light receiving non-target area, and a memory such as a RAM that can be read and written by the CPU 11. In the readable and writable memory or area of the memory 12, there is a region-by-region histogram storage area 12a, which stores a histogram generated according to each of the plurality of light receiving areas provided in the light receiving unit 30. The CPU 11, i.e., the control unit 10, functions as an abnormality determination unit by expanding the abnormality determination processing program P1 stored in the memory 12 to a readable and writable memory and executing it. In addition, the CPU 11 may be a single CPU, or may be a plurality of CPUs that execute various programs, or may be a multitasking type CPU that can execute a plurality of programs simultaneously. In addition, in the case where the abnormality determination processing program P1 is executed only for abnormality determination, a distance measurement program for performing distance measurement processing may also be stored in the memory 12. By executing the distance measurement program by the CPU 11, the CPU 11 functions as a distance measurement control unit, and the distance measurement device 100 calculates the distance between the target object and the distance measurement device 100.
[0026] The light emission control unit 21, the light reception control unit 31 and the motor driver 41 are connected to the input / output interface 13 via control signal lines. The light emission control unit 21 sends a light emission control signal, receives an incident light intensity signal from the light reception control unit 31, and sends a rotation speed instruction signal to the motor driver 41.
[0027] The light receiving unit 30 in a narrow sense includes a light receiving control unit 31 and a light receiving element array 32. The light receiving element array 32 is a flat-plate-shaped optical sensor in which a plurality of light receiving elements are arranged in the vertical and horizontal directions. For example, each light receiving element is constituted by a SPAD (Single Photon Avalanche Diode) or other photodiodes. In addition, as the minimum unit of light receiving processing, the term light receiving pixel is sometimes used. In this case, each light receiving pixel can be constituted by a single light receiving element or a plurality of light receiving elements, and the light receiving element array 32 can have a plurality of light receiving pixels. The light receiving element array 32 is divided into a plurality of light receiving areas. The light receiving area is a unit of the light receiving area in which the light receiving control unit 31 performs light receiving processing in the ranging process of receiving the reflected light of the detection light irradiated from the light emitting unit 20, that is, a unit of a light receiving element group or a light receiving pixel group. In the present embodiment, the light receiving element array 32 is divided into units identified by numbers, for example, Figure 3 As shown in FIG. 1 , there are four light receiving regions Ra1 to Ra4, each of which is composed of eight light receiving pixels 321. Figure 5 As shown, the light receiving control unit 31 performs light receiving processing for outputting an incident light intensity signal corresponding to the amount of incident light or the incident light intensity incident on each light receiving area for each unit scanning angle, that is, for each scanning row. Figure 5 In the figure, reference symbol f indicates that the light receiving process is performed when the light emitting unit 20 emits light once for each scanning column, and reference symbol f+p indicates that the light emitting unit 20 emits light multiple times for each scanning column. Figure 5 In the example, the light receiving process is performed four times. Generally, when the pixels of the light receiving element array 32 are composed of a plurality of light receiving elements, an incident light intensity signal is generated by a light receiving process of emitting light once and adding the detection values of each light receiving element. When the pixels of the light receiving element array 32 are composed of a single light receiving element or a small number of light receiving elements, an incident light intensity signal is generated by emitting light multiple times and multiple light receiving processes without addition, thereby achieving an improvement in S / N. In the light receiving process, specifically, the light receiving control unit 31 outputs the current generated by each light receiving pixel constituting each light receiving area according to the amount of incident light or the voltage converted from the current to the control unit 10 as an incident light intensity signal in accordance with each scanning column, taking each light receiving area as a unit. Alternatively, an incident light intensity signal corresponding to the total number of photons received by the light receiving elements constituting each light receiving pixel can be output to the control unit 10.
[0028] The light emitting unit 20 includes a light emitting control unit 21 and a light emitting element 22 in a narrow sense, and emits detection light at each unit scanning angle. The light emitting element 22 is, for example, an infrared laser diode, and emits infrared laser light as detection light. Figure 4As shown in FIG. 1 , the light emitting unit 20 includes light emitting elements LD1 to LD4, each of which corresponds to the light receiving area Ra1 to Ra4. The light emitting control unit 21 controls the light emitting elements LD1 to LD4 to emit light exclusively according to the light emitting control signal input from the control unit 10 via the input / output interface 13 for each unit scanning angle. Figure 5 As shown, the light emitting elements LD1 to LD4 are driven exclusively according to the driving signal of the pulse driving waveform to emit infrared laser light corresponding to each light receiving area Ra1 to Ra4. That is, the light emitting unit 20 and the light receiving unit 30 are optically constructed such that the irradiation area or scanning area of the detection light exclusively irradiated by one light emitting element corresponds to one light receiving area in a unit scanning angle, and the reflected light from the target object existing in one irradiation area is incident on a corresponding light receiving area. In addition, the light receiving processing based on each light receiving area by the light receiving control unit 31 is a processing performed at the timing when the detection light is exclusively irradiated by a corresponding light emitting element. In addition, in Figure 4 In order to simplify the description, the light emitting unit 20 having four LD1 to LD4 corresponding to the light receiving regions Ra1 to Ra4 is illustrated, but the light emitting element 22 may be one. In this case, Figure 4 The reference numerals LD1 to LD4 in the figure conceptually represent the exclusive light emission timing of a single light emitting element 22. In the case of a plurality of light emitting elements 22, for example, the scanning mechanism 35 can omit the vertical scanning and implement the horizontal scanning. In the case of a single light emitting element 22, the scanning mechanism 35 implements the vertical scanning in addition to the horizontal scanning.
[0029] The electric drive unit 40 includes a motor driver 41 and a motor 42. The motor driver 41 receives a rotation speed instruction signal from the control unit 10 and changes the applied voltage to the motor 42 to control the rotation speed of the motor 42. The motor 42 is, for example, a brushless motor or a brushed motor. A scanning mechanism 35 is installed at the front end of the output shaft of the motor 42. The scanning mechanism 35 is a reflector, that is, a mirror body, which scans the detection light emitted from the light emitting element 22 in the horizontal direction. The horizontal scanning is achieved by being driven by the motor 42 to rotate. The scanning mechanism 35 achieves scanning of the detection light and receiving of the reflected light in a scanning angle range of, for example, 120 degrees and 180 degrees. The scanning mechanism 35 can also replace the horizontal direction to achieve scanning in the vertical direction in addition to the horizontal direction. In order to achieve scanning in the horizontal and vertical directions, the scanning mechanism 35 can also be a multi-faceted mirror body, such as a multi-faceted mirror, or can also be a single-faceted mirror body with a mechanism for swinging in the vertical direction or another single-faceted mirror body that swings in the vertical direction.
[0030] The detection light irradiated from the light emitting unit 20 passes through the semi-transparent half-reflecting mirror 36, and is scanned in a predetermined scanning range in the horizontal direction, that is, a rotation angle range, by a unit scanning angle as a unit via the scanning mechanism 35. The reflected light obtained by the detection light reflected by the target object passes through the same optical path as the detection light, is reflected by the semi-transparent half-reflecting mirror 36, and is incident on the light receiving unit 30 at each unit scanning angle. The unit operation angle for performing the distance measurement process, that is, the scanning train, is sequentially incremented by 1 like N, N+1, and as a result, by synthesizing the light receiving results of all the scanning trains, the distance measurement process of the desired scanning range, that is, the scanning for detecting the object can be performed. In addition, in the present embodiment, the reflected light is incident on each light receiving area Ra1~Ra4 corresponding to the irradiation of the exclusive detection light from each light emitting element LD1~LD4. Therefore, the light receiving areas Ra1~Ra4 are distinguished into the light receiving target area corresponding to the irradiation of the exclusive detection light and the light receiving non-target area not corresponding to the irradiation of the exclusive detection light. In addition, the light receiving target area may be a light receiving area where the reflected light of the detection light should be incident, and the light receiving non-target area may be a light receiving area where the reflected light of the detection light should not be incident. The light emitting unit 20 and the light receiving unit 30 may be rotated together with the scanning mechanism 35 by the motor 42, or may be independent of the scanning mechanism 35 and not rotated by the motor 42. Furthermore, the scanning mechanism 35 may not be provided, but a plurality of light emitting elements 22 and a light receiving element array 32 arranged in an array may be provided, and the structure may be provided to directly irradiate the laser to the outside and directly receive the reflected light.
[0031] Reference Figure 6 The abnormality determination process performed by the distance measuring device 100, more specifically, by the control unit 10, is described below. For example, after the distance measuring device 100 is started, the abnormality determination process is repeatedly performed at predetermined intervals, such as several milliseconds. Figure 6 Alternatively, when the ranging device 100 is mounted on a vehicle, the process may be repeatedly executed at predetermined intervals, such as several milliseconds, from the start of the vehicle system until the end of the system, or while the operation switch of the ranging device 100 is turned on, or the process may be executed a predetermined number of times at any timing such as when the vehicle system is started or ended.
[0032] The CPU 11 initializes the counter n, that is, n=1 (step S100). The CPU 11 outputs a light emission control signal for causing the light emitting element LDn to emit light to the light emitting unit 20 (step S102). The CPU 11 outputs a light receiving control signal for simultaneously performing light receiving processing of the incident light in each of the light receiving areas Ra1 to Ra4 to the light receiving unit 30 (step S104). The CPU 11 generates a detection signal input from the light receiving unit 30, that is, an incident light intensity signal. Figure 3A histogram showing the characteristics of the incident light intensity for each light receiving area Ra1 to Ra4 is generated and stored in the area histogram storage area 12a of the memory 12. The generated histogram has the incident light intensity on the vertical axis and the incident time t [μs] from the irradiation of the detection light to the incidence of the incident light on the horizontal axis, indicating the incident light intensity relative to the incident time in a unit scanning angle. Therefore, the peak value of the waveform W of the incident light intensity indicates the possibility of the presence of the target object, and the time t can be used to calculate the distance [m] between the distance measuring device 100 and the target object. Figure 3 In the example, in the N columns, a histogram of each light receiving area Ra1 to Ra4 when n=1 is shown, and each histogram represents a signal waveform Wa1 to Wa4 of the incident light intensity in each light receiving area Ra1 to Ra4. When n=1, the light emitting element LD1 emits light, the light receiving area Ra1 is the light receiving target area, and Ra2 to Ra4 are the light receiving non-target areas. In the present embodiment, the light receiving element array 32 has a plurality of light receiving areas Ra1 to Ra4, so that light receiving processing can be performed simultaneously in the light receiving target area and the light receiving non-target area. In addition, as Figure 3 As shown in FIG. 1 , histograms are generated similarly for the N−1 scan sequence and the N+1 scan sequence.
[0033] CPU11 performs the object detection process for the light receiving target area Ran (step S106). Specifically, CPU11 performs the following distance measurement process: using the generated histogram, the peak ILp of the incident light intensity in the light receiving target area Ran is obtained, and the time t when the peak ILp is generated is used to calculate the distance to the object. CPU11 determines whether the peak ILp of the incident light intensity in the light receiving target area Ran is greater than the object determination value ILr predetermined in order to determine the presence or absence of the object, that is, whether ILp>ILr (step S108). In addition to the reflected light of the detection light reflected on the object, the incident light incident on the light receiving element array 32 also includes interference light caused by environmental light such as sunlight and street lights. Therefore, in order to determine whether the incident light is caused by interference light or reflected light, the object determination value ILr is used to determine the correlation between the light receiving target area including the object and the light receiving non-target area, thereby achieving an improvement in the accuracy of abnormality determination. In addition, when there is a lot of disturbance light, the peak value ILp of the incident light intensity also becomes smaller, and the reliability of the light receiving result is also low, so no abnormality judgment is made. Figure 3 In the example, the peak ILp of the signal waveform Wa1 of the incident light intensity of the light receiving target area Ra1 is larger than the target object determination value ILr, and it is determined that the target object is included in the light receiving target area Ra1.
[0034] If CPU11 determines that ILp>ILr (step S108: yes), it uses each light receiving area Ra1~Ra4 stored in the area histogram storage area 12a of the memory 12 to perform abnormality judgment related to at least one of the light receiving part and the light emitting part according to the difference between the characteristics of the incident light intensity of the light receiving target area and the characteristics of the incident light intensity of the light receiving non-target area. CPU11 determines whether the characteristics of the incident light intensity of the light receiving target area and the light receiving non-target area are correlated. The correlation is the similarity of the waveform of the incident light intensity relative to time, or the approximation of the peak generation time in the waveform of the incident light intensity relative to time. In this processing flow, CPU11 calculates the similarity S as an indicator representing the correlation (step S110). The similarity S takes a value of 0 to 1. The larger the value, the more the characteristics of the incident light intensity of the light receiving target area and the light receiving non-target area can be correlated. When n=1, the light receiving target area is the light receiving area Ra1, and the light receiving non-target area is the light receiving area Ra2 to Ra4. The characteristics of the incident light intensity are, for example, a peak value, a histogram, and a brightness value as an average value of the histogram. When a histogram is used, a discrete value of the incident light intensity at a plurality of time sampling points of the waveform W or a peak generation time is used. In addition, a statistical value such as a central value, an average value, or a variance value of the brightness value may also be used. For example, when the discrete value of the incident light intensity at a plurality of time sampling points of the waveform W is used, the similarity is calculated by a known method such as cosine similarity or group analysis. Instead of the similarity S, the approximation of the peak generation time, i.e., time t, may be used. As in the case of the similarity S, it is sufficient to determine whether it is greater than a predetermined determination approximation. When the latter statistical value is used, for example, when the difference of each value is included in a predetermined range, it is determined to be similar, and when it exceeds the predetermined range, it is determined to be dissimilar.
[0035] CPU 11 counts the number of light-receiving non-target areas whose calculated similarity S is greater than the judgment similarity Sr, i.e., the light-receiving non-target areas where S>Sr, and calculates the total value T (step S112). The judgment similarity Sr is a judgment value for judging the light-receiving non-target areas that should not be similar to the histogram of the light-receiving target area if there is no abnormality in the light-receiving system, and is, for example, 0.5 to 1. Figure 3In the example, for example, the light-receiving non-target area Ra2 is counted as the light-receiving non-target area of S>Sr, and the light-receiving non-target areas Ra3 and Ra4 are not counted as the light-receiving non-target areas of S>Sr. In addition, the CPU 11 may also store the maximum number nmax and the minimum number nmin of the light-receiving non-target areas of S>Sr1 in the memory 12. The CPU 11 determines whether the total value T is greater than the abnormality determination value Tr, that is, whether T>Tr (step S114). Considering that the accuracy or reliability of the calculated similarity S is reduced due to the influence of interference light, in this embodiment, the total value of the light-receiving non-target areas whose similarity S is higher than the determination similarity Sr is used to improve the accuracy of abnormality determination. When at least one of the light-receiving part and the light-emitting part of the distance measuring device 100 does not have an abnormality, the reflected light from the target object does not enter the light-receiving non-target area. Therefore, in this embodiment, the abnormality determination value Tr may also be 1, or may be 2 or 3 considering the interference light factor.
[0036] If the CPU 11 determines that T>Tr (step S114: Yes), it determines that an abnormality occurs in at least one of the light receiving unit and the light emitting unit of the distance measuring device 100, such as the light emitting element 22, the light receiving element array 32, the cover glass 37, and the scanning mechanism 35 (step S116), and moves to step S118. If the CPU 11 determines that T>Tr is not (step S114: No), it does not perform an abnormality determination related to at least one of the light receiving unit and the light emitting unit of the distance measuring device 100, and moves to step S118. In addition, when the CPU 11 determines that an abnormality occurs, it may report the abnormality of the distance measuring device to the driver. In addition, the CPU 11 records the abnormality occurrence log in the memory 12, for example, records the total value T as an index indicating the degree of abnormality, and also may record the light-receiving non-target area farthest from the light-receiving target area among the light-receiving non-target areas where S>Sr as an index indicating the degree of abnormality using the maximum number nmax and the minimum number nmin of the light-receiving non-target area relative to the light-receiving target area stored in the memory 12. In this case, the larger the total value T and the farther the light-receiving non-target area is, the greater the degree of abnormality.
[0037] If the CPU 11 determines in step S108 that ILp>ILr, that is, ILp≤ILr, is not satisfied (step S108: No), the process proceeds to step S118. That is, if there is no object mark in the light receiving target area Ran, there is no intention to perform abnormality determination related to at least one of the light receiving unit and the light emitting unit in the object mark detection, so the CPU 11 does not perform similarity determination and proceeds to step S118.
[0038] In step S118, the CPU 11 determines whether the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, that is, whether n=N. Here, N is the number of light receiving areas of the light receiving element array 32, and in this embodiment, N=4. If the CPU 11 determines that n=N (step S118: Yes), it determines that the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and ends this processing program. If the CPU 11 determines that n is not N (step S118: No), in order to change the light receiving area to be the target, n is incremented by 1 (step S120), and the process moves to step S102.
[0039] If n is increased to 2, 3, or 4, then as in the case of n = 1, the light emitting elements LD2, LD3, and LD4 and the light receiving areas Ra2, Ra3, and Ra4 are used as the light receiving target areas, and steps S102 to S108 are executed. If the CPU 11 determines that n = N (step S118: Yes), it determines that the processing of using all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and ends this processing routine.
[0040] According to the distance measuring device 100 of the first embodiment described above, an abnormality related to at least one of the light receiving unit and the light emitting unit of the distance measuring device 100 is determined based on the difference between the characteristics of the incident light intensity of the light receiving target area and the characteristics of the incident light intensity of the light receiving non-target area. Therefore, it is possible to perform self-determination of an abnormality related to at least one of the light receiving unit and the light emitting unit in the distance measuring device 100, and it is possible to improve the accuracy of determination of an abnormality related to at least one of the light receiving unit and the light emitting unit in the distance measuring device 100. More specifically, according to the distance measuring device 100 of the first embodiment, it is possible to determine an abnormality such as dirt on the cover glass 37 of the distance measuring device 100 and a displacement of at least one of the light receiving unit and the light emitting unit based on the similarity of the histograms of the light receiving target area and the light receiving non-target area of the plurality of light receiving areas Ra1 to Ra4 of the light receiving element array 32. In addition, according to the distance measuring device 100 of the first embodiment, it is possible to determine an abnormality related to at least one of the light receiving unit and the light emitting unit using the light receiving element array 32 provided in the distance measuring device 100.
[0041] In the first embodiment, regardless of whether the light receiving target region is the light receiving region Ra1, Ra4 at the end of the light receiving element array 32 or the light receiving region Ra2, Ra3 at the non-end, the light receiving non-target region related to the light receiving target region is counted. Figure 7As shown, an abnormality related to the light receiving area Ra3 at the non-end of the light receiving element array 32, such as a light receiving position offset, can be detected as Ed2 in the light receiving areas Ra2 and Ra4, respectively. In contrast, an abnormality related to the light receiving area Ra1 at the end of the light receiving element array 32 is detected as Ed2 in the light receiving area Ra2, and on the other hand, the abnormality Ed1 cannot be detected. That is, it is sometimes impossible to correctly count the light receiving areas related to the light receiving area Ra1 at the end. Therefore, for the light receiving areas Ra1 and Ra4 at the end, the number of light receiving non-target areas related to the light receiving target area can also be multiplied by 2 or added by 1 to count. At this time, the accuracy of determining the abnormality of the light receiving system can be further improved.
[0042] In the first embodiment, the light emitting unit 20 having four light emitting elements LD1 to LD4 and the light receiving element array 32 having four light receiving areas Ra1 to Ra4 are used as examples for explanation, but the number of light emitting elements LD or light emitting areas and light receiving areas may be different, may be less than 4, or may be more than 5. In addition, the number of light receiving areas may be less than the number of light receiving pixels, and the number of irradiation areas or light emitting areas may be less than the number of light emitting elements.
[0043] Second implementation method:
[0044] In the abnormality determination process of the first embodiment, an abnormality related to at least one of the light receiving unit and the light emitting unit of the distance measuring device 100 is determined. In contrast, in the abnormality determination process of the second embodiment, it is determined which of the light receiving unit and the light emitting unit the abnormality is related to. In addition, the structure of the distance measuring device of the second embodiment is the same as the structure of the distance measuring device 100 of the first embodiment, so the same reference numerals are marked and the description is omitted.
[0045] Reference Figure 8 , the abnormality determination process of the second embodiment executed by the distance measuring device 100, more specifically, by the control unit 10, will be described. Figure 8 The processing flow shown is similar to Figure 6 The processing flow shown in FIG. 1 is performed in the same manner. Figure 6 The same processing steps in the processing flow shown are marked with the same step numbers and the description is omitted.
[0046] The CPU 11 initializes the counter n, that is, n=1 (step S100). The CPU 11 outputs a light control signal for causing the light emitting element LDn to emit light to the light emitting unit 20 (S102). The CPU 11 performs light receiving processing of the incident light in each light receiving area Ra1 to Ra4 of the light receiving unit 30, generates a histogram for each light receiving area Ra1 to Ra4 using the incident light intensity signal, and stores it in the area-by-area histogram storage area 12a of the memory 12 (step S104).
[0047] The CPU 11 performs the object detection process for the light receiving target area Ran (step S106). Specifically, the CPU 11 uses the generated histogram to obtain the peak ILp of the incident light intensity in the light receiving target area Ran. The CPU 11 uses each light receiving area Ra1 to Ra4 stored in the area histogram storage area 12a of the memory 12 to calculate the similarity S of the characteristics of the incident light intensity in the light receiving target area and the light receiving non-target area (step S110).
[0048] The CPU 11 determines whether the peak ILp of the incident light intensity in the light receiving target area Ran is larger than a target object determination value ILr predetermined for determining the presence or absence of a target object, that is, whether ILp>ILr (step S111 ).
[0049] If the CPU 11 determines that ILp>ILr (step S111: Yes), the CPU 11 counts the light-receiving non-target areas where the calculated similarity S is greater than the first determination similarity Sr1, that is, the light-receiving non-target areas where S>Sr1, and calculates the total value T (step S112). The CPU 11 determines whether the total value T is greater than the first abnormality determination value Tr1, that is, whether T>Tr1 (step S114). If the CPU 11 determines that T>Tr1 (step S114: Yes), it determines that an abnormality has occurred in the light-receiving part of the distance measuring device 100, specifically, the light-receiving element array 32, the scanning mechanism 35, the half mirror 36, and the cover glass 37 (step S117), and moves to step S118. If the CPU 11 determines that T>Tr1 is not (step S114: No), the CPU 11 does not perform abnormality determination of the distance measuring device 100, and moves to step S118.
[0050] In step S111, when ILp>ILr is not satisfied (step S111: No), the CPU 11 determines that there is no target object in the light receiving target area Ran, counts the number of light receiving non-target areas whose absolute value of the calculated similarity S is smaller than the second determination similarity Sr2, i.e., light receiving non-target areas where |S|<Sr2, and calculates a total value T (step S122). When there is no target object in the light receiving target area Ran, the target object should not be detected in the light receiving non-target area either, and the similarity S of the characteristics of the incident light intensity in the light receiving target area and the light receiving non-target area must be similar. Therefore, the second determination similarity Sr2 is used to determine the light receiving non-target area whose similarity to the light receiving target area is not similar, i.e., the light receiving non-target area having a peak value of the incident light intensity corresponding to the target object. The second determination similarity Sr2 is, for example, a value of 0 to 0.4. The CPU 11 determines whether the total value T is greater than the second abnormality determination value Tr2, i.e., whether T>Tr2 (step S124). When the target object does not exist in the light receiving target area, that is, when it is not detected, the target object should not be detected in the light receiving non-target area that does not correspond to the detection light, so the second abnormality determination value Tr2 is, for example, 0. If the CPU 11 determines that T>Tr2 (step S124: Yes), it determines that an abnormality occurs in the light emitting unit of the distance measuring device 100, specifically, the light emitting element 22, the scanning mechanism 35, the half mirror 36, and the cover glass 37 (step S126), and moves to step S118. If the CPU 11 determines that T>Tr2 is not (step S124: No), it does not perform abnormality determination of the distance measuring device 100, and moves to step S118.
[0051] In step S118, the CPU 11 determines whether the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, that is, whether n=N. Here, N is the number of light receiving areas of the light receiving element array 32, and in this embodiment, N=4. If the CPU 11 determines that n=N (step S118: Yes), it determines that the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and ends this processing program. If the CPU 11 determines that n is not N (step S118: No), in order to change the light receiving area to be the target, n is incremented by 1 (step S120), and the process moves to step S102.
[0052] If n is increased to 2, 3, 4, then as in the case of n = 1, the light emitting elements LD2, LD3, LD4 and the light receiving target areas Ra2, Ra3, Ra3 are taken as targets, and step S102 and the subsequent steps are executed. If the CPU 11 determines that n = N (step S118: Yes), it is determined that the processing of taking all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and the present processing program is terminated.
[0053] According to the distance measuring device 100 of the second embodiment described above, in addition to the advantages obtained by the distance measuring device 100 of the first embodiment, it is possible to determine whether the abnormality in the distance measuring device 100 is an abnormality in the light receiving unit or an abnormality in the light emitting unit. Therefore, the accuracy of determining the abnormality related to at least one of the light receiving unit and the light emitting unit in the distance measuring device 100 can be further improved.
[0054] Reference Fig. 9 , an abnormality determination process according to the third embodiment executed by the distance measuring device 100, more specifically, by the control unit 10, will be described. Fig. 9 The processing flow shown is similar to Figure 6 The processing flow shown in FIG. 1 is performed in the same manner. Figure 6 or Figure 8 The same processing steps in the processing flow shown are denoted by the same step numbers and descriptions thereof are omitted.
[0055] The CPU 11 initializes the counter n, that is, n=1 (step S100). The CPU 11 outputs a light control signal for causing the light emitting element LDn to emit light to the light emitting unit 20 (S102). The CPU 11 performs light receiving processing of the incident light in each light receiving area Ra1 to Ra4 of the light receiving unit 30, generates a histogram for each light receiving area Ra1 to Ra4 using the incident light intensity signal, and stores it in the area-by-area histogram storage area 12a of the memory 12 (step S104).
[0056] The CPU 11 executes the target object detection process for the light receiving target region Ran (step S106 ). Specifically, the CPU 11 obtains the peak value ILp of the incident light intensity in the light receiving target region Ran using the generated histogram.
[0057] The CPU 11 determines whether the peak ILp of the incident light intensity in the light receiving target area Ran is greater than a predetermined target object determination value ILr for determining the presence of a target object, that is, whether ILp>ILr (step S108). If the CPU 11 determines that ILp>ILr (step S108: YES), the process proceeds to step S118.
[0058] When ILp>ILr is not satisfied (step S108: No), the CPU 11 determines that there is no target object in the light receiving target area Ran, and calculates the similarity S of the characteristics of the incident light intensity in the light receiving target area and the light receiving non-target area using the light receiving areas Ra1 to Ra4 stored in the area histogram storage area 12a of the memory 12 (step S110). The CPU 101 counts the number of light receiving non-target areas whose absolute value of the calculated similarity S is smaller than the second determination similarity Sr2, that is, the light receiving non-target areas where |S|<Sr2, and calculates the total value T (step S122). When there is no target object in the light receiving target area Ran, the target object should not be detected in the light receiving non-target area, and the similarity S of the characteristics of the incident light intensity in the light receiving target area and the light receiving non-target area must be similar. The CPU 11 determines whether the total value T is greater than the second abnormal determination value Tr2, that is, whether T>Tr2 (step S124). When the target object does not exist in the light receiving target area, that is, when it is not detected, the target object should not be detected in the light receiving non-target area that does not correspond to the detection light, so the second abnormality determination value Tr2 is, for example, 0. If the CPU 11 determines that T>Tr2 (step S124: Yes), it determines that an abnormality occurs in at least one of the light receiving unit and the light emitting unit of the distance measuring device 100 (step S125), and moves to step S118. If the CPU 11 determines that T>Tr2 is not (step S124: No), it does not perform abnormality determination of the distance measuring device 100, and moves to step S118.
[0059] In step S118, the CPU 11 determines whether the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, that is, whether n=N. Here, N is the number of light receiving areas of the light receiving element array 32, and in this embodiment, N=4. If the CPU 11 determines that n=N (step S118: Yes), it determines that the processing of treating all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and ends this processing program. If the CPU 11 determines that n is not N (step S118: No), in order to change the light receiving area to be the target, n is incremented by 1 (step S120), and the process moves to step S102.
[0060] If n is increased to 2, 3, 4, then as in the case of n = 1, the light emitting elements LD2, LD3, LD4 and the light receiving target areas Ra2, Ra3, Ra3 are taken as targets, and step S102 and the subsequent steps are executed. If the CPU 11 determines that n = N (step S118: Yes), it is determined that the processing of taking all the light receiving areas Ra1 to Ra4 as the light receiving target areas is completed, and the present processing program is terminated.
[0061] According to the distance measuring device 100 of the third embodiment described above, like the distance measuring device 100 of the first embodiment, it is possible to self-determine an abnormality related to at least one of the light receiving part and the light emitting part of the distance measuring device 100, and it is possible to improve the accuracy of determining an abnormality related to at least one of the light receiving part and the light emitting part of the distance measuring device 100.
[0062] Other implementations:
[0063] (1) In the above embodiments, Figure 3 As shown in FIG. 1 , a light receiving unit 30 having a light receiving element array 32 corresponding to the scanning column is used. Fig.10 As shown, for example, a light receiving unit 30 having a light receiving element array 32 corresponding to N-2 scanning columns to N+2 scanning columns may be used. In this case, the light receiving processing time can have a margin. In addition, in the above-mentioned embodiments, the scanning direction of the scanning mechanism 35 is described by taking the horizontal direction as an example, and the light receiving element array 32 has a plurality of light receiving areas in the vertical direction. On the other hand, when the scanning direction of the scanning mechanism 35 is the vertical direction, the light receiving element array 32 may also have a plurality of light receiving areas in the horizontal direction.
[0064] (2) In each of the above-mentioned embodiments, when the similarity S between the light receiving target area and all the light receiving non-target areas is higher than the determination similarities Sr and Sr1, that is, when the correlation is established between all the light receiving areas, the luminous intensity of the detection light by the light emitting unit 20 may be reduced, and the abnormality determination process may be performed again. When the characteristics of the incident light intensity in all the light receiving areas have a correlation, it is possible that the reflected light from a strong reflecting object, such as a reflector, is incident on the light receiving unit 30 as interference light. Therefore, by reducing the luminous intensity of the detection light, the intensity of the reflected light from the reflector is reduced, and the S / N of the reflected light from the target relative to the reflected light from the reflector is improved.
[0065] (3) In the above-mentioned embodiments, when determining the similarity S between the light receiving target area and all the light receiving non-target areas, the similarity S may be determined using a histogram from which a clutter portion is removed. Here, clutter refers to a phenomenon in which the detection light is reflected by the cover glass 37, and a peak is generated in the beginning or front end of the histogram including time t=0, that is, the distance of 0 m for ranging. In this case, the influence of the peak as noise can be eliminated or reduced, thereby improving the determination accuracy of the similarity S.
[0066] (4) In the above-mentioned embodiments, in the abnormality determination process, the detection process of the target object, that is, the distance measurement process, is performed for the light receiving target area. However, the detection process of the target object may not be performed. That is, the detection process of the target object and the abnormality determination process may be performed separately. In this case, the execution frequency of the abnormality determination process may be lower than that of the detection process of the target object. In addition, the light receiving process of the incident light in each of the light receiving areas Ra1 to Ra4 of the light receiving unit 30 may not be performed simultaneously as long as it does not cross the light emission timing of the light emitting unit 20. In addition, in the abnormality determination process, the characteristics of the incident light intensity related to each light receiving area Ra are acquired or generated, and the abnormality is determined based on the difference between the characteristics of the incident light intensity related to the light receiving target area and the characteristics of the incident light intensity related to the light receiving non-target area. Whether the peak value ILp of the incident light intensity in the light receiving target area is greater than the target object determination value ILr and whether the total value of the light receiving non-target area having a correlation with the light receiving target area is greater than the abnormality determination value Tr may be performed to improve the accuracy of the abnormality determination.
[0067] (5) In each of the above-mentioned embodiments, the control unit 10 executes a program to implement the control unit for executing various processes including abnormality determination processing in a software manner, but it can also be implemented in a hardware manner through a pre-programmed integrated circuit or discrete circuit. That is, the control unit and the method thereof in each of the above-mentioned embodiments can also be implemented by a special-purpose computer, which is provided by constituting a processor and a memory programmed to execute one or more functions embodied by a computer program. Alternatively, the control unit and the method thereof described in the present invention can also be implemented by a special-purpose computer, which is provided by constituting a processor composed of one or more special-purpose hardware logic circuits. Alternatively, the control unit and the method thereof described in the present invention can also be implemented by one or more special-purpose computers, which are constituted by a combination of a processor and a memory programmed to execute one or more functions and a processor constituted by one or more hardware logic circuits. In addition, the computer program can also be stored as an instruction executed by a computer in a non-migratable tangible recording medium that can be read by the computer.
[0068] The present invention has been described above based on the embodiments and variations, but the embodiments of the invention described above are for easy understanding of the present invention and do not limit the present invention. The present invention can be changed and improved without departing from its main purpose and claims, and its equivalents are included in the present invention. For example, the technical features in the embodiments and variations corresponding to the technical features in each mode recorded in the column of the summary of the invention can be appropriately replaced or combined in order to solve part or all of the above-mentioned problems or to achieve part or all of the above-mentioned effects. In addition, if the technical feature is not described as a necessary feature in this specification, it can be appropriately deleted.
Claims
1. A distance measuring device, comprising: A light receiving unit having a plurality of light receiving areas for receiving incident light, and receiving the incident light in units of each of the light receiving areas; a light emitting unit configured to emit detection light exclusively toward the outside of the distance measuring device corresponding to each of the light receiving areas; and An abnormality determination unit performs abnormality determination related to at least one of the light receiving unit and the light emitting unit of the distance measuring device based on a difference between a characteristic of incident light intensity in a light receiving target area corresponding exclusively to the irradiation of the detection light and a characteristic of incident light intensity in a light receiving non-target area not corresponding exclusively to the irradiation of the detection light, when the light receiving unit receives the incident light incident to the light receiving unit from the outside of the distance measuring device in accordance with the irradiation of the detection light, among the plurality of light receiving areas, wherein: Light reception of the incident light is performed simultaneously in the light reception target area and the light reception non-target area.
2. The distance measuring device according to claim 1, wherein: When the incident light is received simultaneously in the plurality of light receiving areas, the abnormality determination unit makes an abnormality determination based on a difference between a characteristic of the incident light intensity in the light receiving target area and a characteristic of the incident light intensity in the light receiving non-target area.
3. The distance measuring device according to claim 1 or 2, wherein: The abnormality determination unit determines that an abnormality has occurred in the distance measuring device when the characteristic of the incident light intensity in the light receiving target area and the characteristic of the incident light intensity in the light receiving non-target area have a correlation relationship.
4. The distance measuring device according to claim 3, wherein: The correlation is the similarity of the waveform of the incident light intensity with respect to time, When the similarity is greater than a predetermined determination similarity, the abnormality determination unit determines that an abnormality has occurred in the distance measuring device.
5. The distance measuring device according to claim 3, wherein: The correlation is the approximation of the peak generation period in the waveform of the incident light intensity with respect to time, When the degree of similarity is greater than a predetermined determination degree of similarity, the abnormality determination unit determines that an abnormality has occurred in the distance measuring device.
6. The distance measuring device according to any one of claims 1, 2, 4 and 5, wherein: The abnormality determination unit performs the abnormality determination when reflected light of the detection light enters the light receiving target area.
7. The distance measuring device according to claim 3, wherein: The abnormality determination unit performs the abnormality determination when reflected light of the detection light enters the light receiving target area.
8. The distance measuring device according to claim 3, wherein: The abnormality determination unit determines that an abnormality has occurred in the distance measuring device when the reflected light of the detection light does not enter the light receiving target area and the number of light receiving non-target areas having no correlation is greater than a predetermined second abnormality determination value.
9. The distance measuring device according to claim 4 or 5, wherein: The abnormality determination unit determines that an abnormality has occurred in the distance measuring device when the reflected light of the detection light does not enter the light receiving target area and the number of light receiving non-target areas having no correlation is greater than a predetermined second abnormality determination value.
10. The distance measuring device according to claim 3, wherein: The abnormality determination unit determines that the light receiving unit is abnormal when the reflected light of the detection light enters the light receiving target area and the number of light receiving non-target areas having the correlation is greater than a predetermined abnormality determination value, The abnormality determination unit determines that the light emitting unit has an abnormality when the reflected light of the detection light is not incident on the light receiving target area and the number of light receiving non-target areas having no correlation is greater than a predetermined second abnormality determination value.
11. The distance measuring device according to claim 4 or 5, wherein: The abnormality determination unit determines that the light receiving unit is abnormal when the reflected light of the detection light enters the light receiving target area and the number of light receiving non-target areas having the correlation is greater than a predetermined abnormality determination value, The abnormality determination unit determines that the light emitting unit has an abnormality when the reflected light of the detection light is not incident on the light receiving target area and the number of light receiving non-target areas having no correlation is greater than a predetermined second abnormality determination value.
12. A method for determining an abnormality in a distance measuring device, wherein: include: The detection light is irradiated exclusively toward the outside of the distance measuring device, with each of the light receiving areas in the light receiving unit having a plurality of light receiving areas as a unit. When the light receiving unit receives incident light incident to the light receiving unit from the outside of the ranging device in response to irradiation of the detection light, abnormality determination related to at least any one of the light receiving unit and the light emitting unit of the ranging device is performed based on a difference between a characteristic of incident light intensity in a light receiving target area corresponding to the exclusive irradiation of the detection light and a characteristic of incident light intensity in a light receiving non-target area not corresponding to the exclusive irradiation of the detection light among the plurality of light receiving areas, wherein the reception of the incident light is performed simultaneously in the light receiving target area and the light receiving non-target area.
