The present application claims priority of Japanese Application Number 2018-174806, filed Sep. 19, 2018, the disclosure of which is hereby incorporated by reference herein in its entirety.
The present invention relates to an object monitoring system including a distance measuring device, and in particular, relates to an object monitoring system for detecting the influence of external objects outside of a monitoring area.
TOF (time of flight) cameras which output a distance on a basis of the time of flight of light as distance measuring devices for measuring the distance to an object are known. Many TOF cameras use a phase difference method in which a target space is irradiated with reference light which is intensity-modulated over predetermined cycles, and the measurement value of the target space is output based on a phase difference between the irradiated measurement light and the light reflected from the target space.
Since such TOF cameras measure distance by indirect measurement of the path lengths of reference light on a basis of the phase difference, the phenomenon (so-called “multipath”) wherein distance measurement values are erroneously large when certain distance measurement points are strongly influenced by reference light which has been multi-reflected via other objects is known. The following Patent Documents are known as technologies related to the suppression or reduction of the influence of multipath.
Re-publication of PCT International Publication (Sai-Kohyo) No. 2014/097539 discloses a three-dimensional measurement device comprising a light source unit which is configured so as to be capable of adjusting the irradiation light amount for at least two irradiation areas. The three-dimensional measurement device takes the difference between the sum of the exposure amount of an irradiation pattern A, in which a predetermined baseline light amount is set as the irradiation light amount in each of irradiation areas a, b, and c, and the sum of the exposure amount of an irradiation pattern B, in which the irradiation light amount of the irradiation area b, which is at least one of the irradiation areas, is smaller than the baseline light amount and doubles the difference to calculate exposure components of unwanted reflected light mixed in the irradiation pattern A.
Japanese Unexamined PCT Publication (Kohyo) No. 2015-513825 discloses a time of flight camera comprising an illumination module (stripe illumination) that illuminates only an arbitrary area in the field of view of the imaging sensor. The configuration that performs illumination and measurement independently for each pixel area can reduce indirect light paths and multi-reflection, and at the same time allows more direct light to be received by the pixel area, which is advantageous in terms of multi-reflection (multipath reflection).
In an object monitoring system in which it is determined, using a TOF camera, whether or not a monitored object is present in a set monitoring area in a target space on a basis of the distance measurement value, when there is an external object which causes the multipath phenomenon in the vicinity of the monitoring area, the distance measurement value output from the TOF camera can be accidentally large. In this case, particularly in distant positions in the monitoring area, it may be erroneously determined that the monitored object is absent even when the monitored object is present in the monitoring area.
Furthermore, even if the external object is not in the vicinity of the monitoring area at the time of installation of the object monitoring system, if an operator arranges the external object in the vicinity of the monitoring area after installation, the distance measurement value may become large and the determination may be erroneous. Thus, it is desirable that the presence or absence of an external object near the monitoring area be continuously checked not only at the time of installation but also after installation.
Even if the external object is present in the vicinity of the monitoring area, depending on the arrangement relationship between the monitoring area and the external object or the reflectivity of the external object, the external object may not exert a large influence on the object distance measurement in the monitoring area.
Thus, an object monitoring system which can recognize an influence degree of an external object on the object distance measurement in the monitoring area has been demanded.
An aspect of the present disclosure provides an object monitoring system comprising a distance measuring device which outputs a distance measurement value of a target space on a basis of a phase difference between reference light emitted toward the target space and reflected light reflected from the target space, for determining, based on the distance measurement value, whether or not a monitored object is present in a set monitoring area in the target space, the system comprising means for determining an arrangement relationship between the monitoring area and an external object outside the monitoring area on a basis of the distance measurement value of the external object, and calculating an influence degree of the external object on an object distance measurement in the monitoring area in accordance with the determined arrangement relationship.
The embodiments of the present disclosure will be described in detail below with reference to the attached drawings. In the drawings, the same or similar constituent elements have been assigned the same or similar reference numerals. Furthermore, the embodiments described below do not limit the technical scope of the inventions described in the claims or the definitions of the terms.
The distance measuring device 10 is, for example, a TOF camera, and outputs distance measurement value data 11 of the target space on a basis of the phase difference between reference light emitted toward the target space and light reflected from the target space. Further, the distance measuring device 10 may output light intensity value data 12 of the reference light reflected from the target space in some cases.
The computing device 20 comprises a CPU 21, RAM 22, ROM 23, an input/output unit 24, a nonvolatile memory 25, and a display unit 26. Monitoring area data 31 including three-dimensional information of the monitoring area is stored in the nonvolatile memory 25. When the CPU 21 executes the object monitoring program 30 stored in the ROM 23 using the RAM 22 as working RAM, the monitoring area data 31 is read from the nonvolatile memory 25, and the distance measurement value data 11 and light intensity value data 12, etc., are read from the distance measuring device 10 via the input/output unit 24. The CPU 21 determines the presence or absence of objects in the monitoring area on a basis of the distance measurement value data 11 and the monitoring area data 31, and when a monitored object is present in the monitoring area, an object detection signal is output using the signal output unit 27. Furthermore, the display unit 26 displays the distance measurement value data 11 or light intensity value data from the distance measuring device 10 as an image.
The object monitoring system 1 according to the present embodiment calculates the influence degree of the external object on the object distance measurement in the monitoring area. The CPU 21 determines the arrangement relationship between the monitoring area and the external object on a basis of the distance measurement value data 11 of the external object and the monitoring area data 31, and calculates the influence degree 32 of the external object on the object distance measurement in the monitoring area in accordance with the determined arrangement relationship. Furthermore, if necessary, the CPU 21 can calculate the influence degree 32 from the light intensity value data 12 of the external object in addition to the arrangement relationship. The influence degree 32 may be stored in the nonvolatile memory 25 in association with the external object data 33.
Furthermore, the object monitoring system 1 according to the present embodiment can detect whether or not the influence degree 32 exceeds a first threshold value 34. The first threshold value 34 is stored in the nonvolatile memory 25. When an influence degree 32 which is equal to or greater than the first threshold value 34 is detected, the CPU 21 outputs a warning signal using the signal output unit 27. By outputting a warning signal from the object monitoring system 1, for example, the operator who arranged the object compromising the determination of the monitored object in the monitoring area can recognize the potential of the occurrence of an erroneous determination, and can act by eliminating or moving the arranged external object.
Furthermore, the object monitoring system 1 according to the present embodiment can convert the area in which the influence degree 32 on the monitoring area exceeds the first threshold value 34, the influence degree 32 thereof, and an external object or a portion thereof identified as the main factor of the influence degree 32 into an image superimposed on the image of the distance measurement value data 11 or the light intensity value data 12 and display the image on the display unit 26. Further, the object monitoring system 1 of the present embodiment includes a second threshold value 35 the set value of which can be easily changed by the user, and like the first threshold value 34, can convert the area in which the influence degree 32 on the monitoring area exceeds the set second threshold value 35, the influence degree 32 thereof, and an external object or a portion thereof identified as the main factor of the influence degree 32 into an image superimposed on the image of the distance measurement value data 11 or the light intensity value data 12 and display the image on the display unit 26. Note that the display of the first threshold value 34 and the display of the second threshold value 35 are distinguished by the font, color, etc. As a result of these functions, the cause of the exceeding of the first threshold value 34 can be easily confirmed. Further, by confirming the display while changing the set value of the second threshold value 35, even in, for example, a situation in which the influence degree 32 does not cause the output of a warning signal, it is possible to confirm the influence degree 32 or to identify external objects having a relatively large influence degree, which enables investigation for improvement purposes.
Further, the object monitoring system 1 according to the present embodiment may comprise means for changing the set value of the first threshold value 34. As a result, at, for example, the time of installation of the object monitoring system 1, when a situation exceeding the first threshold value 34 has already occurred due to an external object that is difficult to eliminate or move such as floors, walls, and existing facilities, in the initially set monitoring area, it is possible to take measures such as reviewing the first threshold value 34 and the monitoring area. Changing of the set value of the first threshold value 34 may be protected by a password lock or the like so that only an installer familiar with the installation status or the required safety of the monitoring area can perform the change.
The distance measurement device 10 performs distance measurement on a basis of the phase difference between the reference light emitted toward the target space 46 and the reflected light from the target space 46 in accordance with the measurement principal, and in the case in which reference light which is multi-reflected via the external object 47 has a strong influence, the distance measurement value may be erroneously large. Thus, as shown in
Since the distance measuring device 10 performs distance measurement on a basis of the time of flight of light, the object distance measurement at influence confirmation point Pj is influenced by not only the single reflected light distance delay Td directly reflected from influence confirmation point Pj, but also by a forward delay Tf of multi-reflected light from influence confirmation point Pj via the external object 47. Thus, the forward delay Tf of the multi-reflected light depends on the sum of the magnitude of vector Ai and the magnitude of vector Bi. Furthermore, the object distance measurement at influence confirmation point Pj is influenced by not only the light intensity Lo of single reflected light directly reflected from influence confirmation point Pj, but also by the light intensity value Lf of multi-reflected light reflected from the influence confirmation point Pj via the external object 47. When the fine surfaces Δsi of the external object 47 are considered, the reference light of the distance measuring device 10 is strongly emitted toward the fine surfaces Δsi as the normal vector si of fine surfaces Δsi more directly face the distance measuring device 10. Furthermore, the influence confirmation point Pj is strongly influenced as the normal vector si of the fine surfaces Δsi more directly faces the influence confirmation point Pj. In other words, the influence degree from the fine surfaces Δsi of the external object 47 depends on the arrangement relationship (vector Ai, vector Bi, and normal vector si) between the influence confirmation point Pj (i.e., the monitoring area), and the fine surfaces Δsi of the external object 47. Thus, in the object monitoring system 1 of the present embodiment, the arrangement relationship between the monitoring area and the external object 47 is determined based on the distance measurement value of the external object 47, and the influence degree of the external object 47 on the object distance measurement within the monitoring area is calculated in accordance with the determined arrangement relationship.
When distorted composite reflected light (iv) is received, the distance measuring device 10 performs distance measurement of the light as the rectangular equivalent light (vi) from the distance measurement principle. Even if the multi-reflected light (ii) is considered as rectangular equivalent light (iii) having a forward delay Tf, a light intensity value Lf, and a time width of Tp/2, the influence of the equivalent light (iii) on the actually received distorted composite reflected light (iv) is equivalent as shown in (v) and (vi). At this time, the following formula is obtained from the relationship wherein the areas of the shaded area a and the shaded area b are equal, where t is the time width of the shaded area a.
[Formula 1]
t·Lo=(Tf−Td/2−t)·Lf 1
Further, by converting the above formula, the following formula is obtained.
[Formula 2]
t=(Tf−Td/2)·Lf/(Lo+Lf) 2
Since the time width t of the shaded area a is equal to the difference between the distance delay Td′ of the equivalent light (vi) of the composite reflected light which is influenced by the external object and the distance delay Td of the single reflected light (i) which is not influenced by the external object, the following formula is obtained.
[Formula 3]
Td′−Td=(Tf−Td/2)·Lf/(Lo+Lf) 3
Since the difference Td′−Td is equal to the influence degree of the external object, the influence degree (Td′−Td) of the external object can be calculated from the above formula. In the above formula, the distance delay Td of the single reflected light (i) is determined from the position of the influence confirmation point Pj determined in advance. Furthermore, the light intensity value Lo of the single reflected light (i) can be calculated assuming the most influential reflectivity from the predetermined position of influence confirmation point Pj and the reflectivity of the monitored object designated by the object monitoring system 1. Thus, by determining the light intensity value Lf and the forward delay Tf of the multi-reflected light in the above formula, it is possible to determine the influence degree (Td′−Td) of the external object.
ΔLi and ΔTi of the above formulas will be examined.
Thus, the relationship formula of ΔTi×ΔLi in formula 5 is as described below from formulas 6 and 7.
The normal vector si can be estimated using a plurality of pieces of distance information in the vicinity of the fine surfaces Δsi output by the distance measuring device. Thus, if normal vector si is obtained, the angle θi formed by vector Ai and the angle αi formed by vector Bi can also be calculated.
Further, since the fine surfaces Δsi of the external object 47 are detected based on the distance measurement value output by the distance measuring device, the normal vector si of the fine surfaces Δsi always faces the distance measuring device. Thus, 0°≤θi≤90°. Further, fine surfaces Δsi of external object 47 outside the range of 0°<αi<90° may not be included in the calculation of influence degree since they are surfaces not facing in the direction of influence confirmation point Pj.
By substituting formulas 7 and 8 into formulas 4 and 5, the light intensity value Lf and the forward delay Tf of multi-reflected light can be determined from the following formulas.
Since i in formulas 9 and 10 is an integer, these formulas represented the light intensity value Lf and forward delay Tf of multi-reflected light calculated from the discrete values. When formulas 9 and 10 are expressed as the following integral formulas, Lf and Tf are calculated as continuous values. Specifically, the following integral formulas are more precise calculations of the light intensity value Lf and forward delay Tf of multi-reflected light reflected from influence confirmation point Pj through all of the reflection surfaces S of the external object 47. In other words, the influence degree (Td′−Td) of the external object 47 is calculated based on the shape estimated from the distance measurement value of the external object 47. Note that in the following integral formulas, the reflectivity of the reflection surface S is set to a constant value ρs. Further, cos θs, cos αs, vector As, and vector Bs in the following formulas are determined from an arbitrary position on the reflection surface S.
Furthermore, as described above, assuming that the reflection of light by the external object 47 is a Lambert reflection, the following relational formulas hold between the reflectivity ρs, the light intensity value data Ls, and the distance measurement value data As (i.e., the magnitude of the vector As) of the reflection surface S. k is a proportionality factor.
Thus, by converting formula 13, the reflectance ρs of the reflection surface S can be determined from the light intensity value data L and the distance measurement value data Ai of the representative point of the reflective surface S, as described in the formula below.
When there are a plurality of reflection surfaces S, i.e., when there are m reflection surfaces (m is an integer of 2 or more), for the individual Lfj and Tfj (1≤j≤m) determined from formulas 11 and 12, the following formulas can be solved to calculate the influence degree of a plurality of reflection surfaces S.
In the case in which the unit area of the plane located at the unit distance from the center of the lens 51 of the distance measuring device and directly facing the image sensor 50 in field-of-view range of each pixel is s0, since the area Δsi of a part of the surface of the external object 47 at the position indicated by the distance measurement value Ai of the arbitrary pixel ui is proportional to the square of the distance and roughly inversely proportional to the cosine of the angle θi with the normal vector si, the area Δsi can be determined from the following approximate formula. Note that k is a proportionality factor.
Thus, by substituting formula 17 into formulas 9 and 10 and using the new proportionality factor kp, the light intensity value Lf and the forward delay Tf of the multi-reflected light can be determined from the following formulas simplified in units of each pixel constituting the external object 47.
When the distance measuring device 10 cannot output the light intensity value data, or if the reflectance ρi is a constant value and the new proportionality coefficient kp1 is used in formula 18 and 19 as a method of simplifying the formula, the light intensity value Lf and forward delay Tf of the multi-reflected light can also be determined from the following simplified formulas.
Formulas 20 and 21 represent methods for calculating the influence degree of the external object using only the distance measurement value of each pixel output by the distance measuring device. The proportional coefficient kp1 is practically determined based on actual measurement.
As described above, assuming that the reflection of light by the external object 47 is a Lambert reflection, the light intensity value Ii of each pixel reflects the reflectivity of a part of the surface of the external object 47 corresponding to each pixel. Thus, by substituting formula 14 into formulas 18 and 19 and using the new proportionality factor kp2, the following formulas are obtained.
Formulas 22 and 23 represent methods for calculating the influence degree of the external object using the light intensity value of each pixel output by the distance measuring device as well, with respect to formulas 20 and 21. As a result, the influence of the reflectivity of the external object can be taken into consideration, thereby improving the accuracy of the influence degree calculation. The proportional coefficient kp2 is practically determined based on actual measurement. Furthermore, the normal vector si is obtained from the distance measurement values of a plurality of pixels adjacent to the target pixel ui. Furthermore, cos αi may be set to 1 as the maximum value in order to further simplify the formulas.
The operation of the object monitoring system according to the present embodiment will be described below with reference to the summary flowchart of
In step S15, it is determined whether or not an influence degree equal to or greater than the first threshold value has been detected. When an influence degree equal to or greater than the first threshold value has been detected (Yes in step S15), a warning signal is output in step S16 using the signal output unit. By issuing an alarm via the warning signal, it can be confirmed whether or not an external object exerting influence on the object distance measurement within the monitoring area is present.
In step 17, an influence degree equal to or greater than the second threshold value and the external object imparting the influence degree which is equal to or greater than the second threshold value are displayed on the display unit as necessary. As a result, the position of the external object and the influence degree thereof can be visually confirmed. Furthermore, when a change in the position of the external object or a change in the monitoring area occurs, the effect of this change on the influence degree of the external object can be visually confirmed. By making the set value of the second threshold value easily changeable by the user, even in a situation in which there is an influence degree for which a warning signal is not output, it is possible to confirm the influence degree or identify the external object having a relatively high influence degree, which enables investigation for improvement purposes.
The program for executing the above-described flowchart may be provided by being recorded on a computer readable non-transitory recording medium such as a CD-ROM.
Though various embodiments have been described in the present description, the present invention is not limited to the embodiments described above. It can be recognized that various modifications can be made within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2018-174806 | Sep 2018 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20070237363 | Hagio | Oct 2007 | A1 |
20110246116 | Kamitani | Oct 2011 | A1 |
20120033045 | Schweizer et al. | Feb 2012 | A1 |
20150146010 | Yokozeki | May 2015 | A1 |
Number | Date | Country |
---|---|---|
102012103681 | Oct 2013 | DE |
H8220220 | Aug 1996 | JP |
200980767 | Apr 2009 | JP |
2013143069 | Jul 2013 | JP |
2015-513825 | May 2015 | JP |
201715448 | Jan 2017 | JP |
WO2014097539 | Jan 2017 | JP |
201778707 | Apr 2017 | JP |
2018155725 | Oct 2018 | JP |
2018091970 | May 2018 | WO |
Number | Date | Country | |
---|---|---|---|
20200088877 A1 | Mar 2020 | US |