Some references, which may include patents, patent applications and various publications, may be cited and discussed in the description of this disclosure. The citation and/or discussion of such references is provided merely to clarify the description of the present disclosure and is not an admission that any such reference is “prior art” to the disclosure described herein. All references cited and discussed in this specification are incorporated herein by reference in their entireties and to the same extent as if each reference was individually incorporated by reference.
The present disclosure relates to an optical sensing system and a method for improving judgment made by the optical sensing system, and more particularly to an optical sensing system and a method for eliminating misjudgment of reflective lights that are sensed by the optical sensing system.
A conventional autonomous robot may include a sensor for detecting obstacles on the floor of the house and can plan a route by robotics technology in order to navigate around the house. When the autonomous robot automatically navigates in an area, one of the most important tasks is to avoid obstacles on its navigation path.
Various conventional sensors can be used in the autonomous robot for detecting the obstacles. For example, a light sensor can be used to detect the obstacles by sensing detection lights emitted by a light source when the detection light is reflected by the obstacle on the navigation path.
In the current method to avoid incorrect judgments, a sequence of steps is followed to detect obstacles. This involves storing and comparing two frames with distinct patterns, one from the past and one from the present in memory. Such a comparison helps identify genuine reflective signals in the current frame. However, if the previous frame has errors due to secondary reflections, it can lead to inaccuracies in identifying real reflective signals in the current frame. Additionally, this method requires substantial storage space.
In response to the above-referenced technical inadequacies, the present disclosure provides a method for eliminating misjudgment of reflective lights and an optical sensing system.
In order to solve the above-mentioned problems, one of the technical aspects adopted by the present disclosure is to provide a method for eliminating misjudgment of reflective lights, and the method includes: emitting a detection light by a light source; receiving reflective light signals by a light sensor; and configuring a processing circuit to: generate a characteristic pattern according to the reflective light signals received by the light sensor; analyze the characteristic pattern and determine whether or not the characteristic pattern includes a plurality of sub-patterns; in response to determining that the characteristic pattern includes the plurality of sub-patterns, compare positions of the sub-patterns with a reference position of a reference pattern; and select the sub-pattern having the position that is closest to the reference position to determine whether an object possesses and eliminate misjudgment caused by the reflective lights.
In order to solve the above-mentioned problems, another one of the technical aspects adopted by the present disclosure is to provide an optical sensing system, which includes: a light source configured to emit a detection light, a light sensor configured to receive reflective light signals; and a processing circuit. The processing circuit is configured to: generate a characteristic pattern according to the reflective light signals received by the light sensor; analyze the characteristic pattern and determine whether or not the characteristic pattern includes a plurality of sub-patterns; in response to determining that the characteristic pattern includes the plurality of sub-patterns, compare positions of the sub-patterns with a reference position of a reference pattern; and select the sub-pattern having the position that is closest to the reference position to determine whether an object presents in a detection range while eliminating misjudgment of reflective lights.
These and other aspects of the present disclosure will become apparent from the following description of the embodiment taken in conjunction with the following drawings and their captions, although variations and modifications therein may be affected without departing from the spirit and scope of the novel concepts of the disclosure.
The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a,”“an” and “the” includes plural reference, and the meaning of “in” includes “in” and “on.” Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first,”“second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
Reference can be made to
The processing circuit 104 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor, digital signal processor (DSP), programmable controllers, application-specific integrated circuits (ASIC), a programmable logic device (PLD), a graphics processing unit (GPU), other similar devices, or a combination of these devices. The processing circuit 104 can execute program codes, software modules, instructions, and the like that are recorded in the memory 106 to implement the method for eliminating misjudgment of reflective lights sensed by the optical sensing system of the embodiment of the present disclosure.
The memory 106 can be any type of fixed or removable random-access memory (RAM), read-only memory (ROM), flash memory, hard disks or other similar devices, integrated circuits and combinations thereof.
Specifically, the present disclosure is related to an optical sensing system and a method for eliminating misjudgment of reflective lights from highly reflective environment or caused by secondary reflections. According to one concept the present disclosure, the misjudgment can be eliminated by comparing multiple sub-patterns included in a characteristic pattern obtained from reflected linear light with a reference pattern and selecting the sub-pattern that is closest to the reference pattern.
Furthermore, as shown in
Reference can be further made to
As shown in
Reference is made to
The driving system 14 includes a controller 140 that controls a driving circuit 141 to drive the autonomous robot 1 to move or rotate through using wheels 142, e.g., a kind of omni-directional wheels, and the controller 140, the driving circuit 141 and the wheels 142 can also be controlled by the processor 108 directly, and the present disclosure is not limited thereto.
Reference can be further made to
Step S10: emitting a detection light by a light source.
Step S11: receiving reflective light signals by a light sensor.
The processing circuit 104 can be configured to perform the following steps:
Step S12: generating a characteristic pattern according to the reflective light signals received by the light sensor.
More specifically, the light sensor 100 can include a plurality of sensor units arranged in a matrix having a plurality of columns and rows. For each column of the matrix, a plurality of light intensities can be generated by corresponding ones of the sensor units. For example, a first row of the sensor units can be configured to generate the light intensities for the first column of the light sensor 102 according to the lights received therefrom.
Moreover, one or more peak values can be further obtained from the light intensities, and a column pattern of gravity for each column of the matrix can be generated according to the one or more peak values.
In an example, for the first column, a maximum value of the light intensities of the first column is found and marked as one peak value, and a predetermine range is set according to the maximum value. For instance, a predetermined quantity of the light intensities adjacent to the light intensity corresponding to the maximum value are filtered out, and whether another one of the peak value presents in the rest of the light intensities is further determined.
Taking the light patterns P2 and P3 shown in
After another one of the peak value is found and is not within the predetermined range, the above steps can be repeatedly performed until no more peak value can be found, and all of the obtained peak values can be represented by discrete points, so as to generate the column pattern of gravity for each column.
Afterward, multiple ones of the column pattern of gravity can be combined to generate the characteristic pattern. As shown in
The method proceeds to step S13: analyze the characteristic pattern and determine whether or not the characteristic pattern includes a plurality of sub-patterns. More specifically, when multiple sub-patterns appear in the characteristic pattern, it means that certain sub-patterns that may cause misjudgments need to be filtered and eliminated.
In response to determining that the characteristic pattern includes the plurality of sub-patterns, the method proceeds to step S14: comparing positions of the sub-patterns with a reference position of a reference pattern.
Step S15: select the sub-pattern having the position that is closest to the reference position, and determine whether an object present in a detection range according to the selected sub-pattern.
It should be noted that, since a relationship among the light patterns P2, P3, and P4 correspond to a relationship among the sub-pattern SP1, SP2 and SP3, the sub-pattern SP3 can be used as a reference pattern for determining which of the sub-pattern SP1 and SP2 is caused by the secondary reflective light L3. That is, one of the sub-pattern SP1 and SP2 that is closest to the reference pattern (i.e., sub-pattern SP3) can be determined as corresponding to the real reflective light L2, and the other can be determined as corresponding to the secondary reflective light L3.
Therefore, in the case shown in
Reference can be further made to
As shown, the light sensor module 200 has a configuration in which the light source 100 is located below the light sensor 102. The light sensor module 200 is tilted by a predetermined angle, such that both of the light source 100 and the light sensor 102 are tilted and face downward to the floor 22. The real reflective light L2, the secondary reflective light L3 and the ground reflective light L4 are all assumed to be received by the light sensor 102.
As shown in
Therefore, by performing the steps S10, S11 and S12, the characteristic pattern including sub-patterns SP1 and SP2 can be obtained from the light patterns P2 and P3. In the case that the ground reflective light L4 is received by the light sensor 102, a sub-pattern SP3 can be obtained from the light pattern P4 corresponding to the ground reflective light L4.
Furthermore, one of the sub-pattern SP1 and SP2 that is closest to the reference pattern (i.e., sub-pattern SP3) can be determined as corresponding to the real reflective light L2, and the other can be determined as corresponding to the secondary reflective light L3.
Similarly, the sub-pattern SP1 having the position that is closest to a reference position of the reference pattern (sub-pattern SP3) is selected, and the selected sub-pattern SP1 is further used to determine whether the object present in the detection range.
Therefore, the method for eliminating misjudgment of the reflective lights provided by the present disclosure can be applied to the light sensor modules with different configurations, without being confused by the light pattern caused by multiple reflection lights.
In response to determining that the characteristic pattern does not include the plurality of sub-patterns in step S13, the method proceeds to step S16: determine whether an object present in the detection range according to the characteristic pattern.
It can be understood that, if there is only one sub-pattern appear in the characteristic pattern, the characteristic pattern can be directly used for obstacle detection or avoidance.
Reference can be made to
Step S20: retrieving at least two reference ground points from the memory.
Step S21: generating a reference ground line as the reference pattern by using a linear interpolation according to the at least two reference ground points.
Specifically, for saving data usage for the method provided by the present disclosure, the above-mentioned steps S20 and S21 are executed, such that only a few data points need to be stored and retrieved during the process of eliminating misjudgments, instead of storing the entire image or the data of each column for the reference pattern.
As shown in
Step S30: controlling the light source to emit the detection light directly on a reference floor.
Step S31: receiving lights reflected from the reference floor by the light sensor.
Reference is further made to
As shown, the light sensor module 200 has a configuration in which the light source 100 is located below the light sensor 102. The light sensor module 200 is tilted by a predetermined angle, such that both of the light source 100 and the light sensor 102 are tilted and face downward to a reference floor 22′, and a material of the reference floor 22′ can be specifically selected, such as a material with high reflectivity, so as to establish a predetermined environment in which secondary reflective lights may be generated. The light source 100 can emit the linear light L1 to the reference floor 22 along a predetermined direction, and an acute angle can be formed between the predetermined direction and the reference floor 22. After the linear light L1 reaches the reference floor 22, a ground reflective light L4 is generated and reflected back to the light sensor 102.
Step S32: generating a measured ground line according to the received lights.
Step S33: extracting at least two measured points from the measured ground line to serve as the at least two reference ground points.
Step S34: storing data of the at least two reference ground points in the memory.
As shown in
Therefore, by performing the calibration process, only a few data points need to be stored and retrieved during the process of eliminating misjudgments, instead of storing the entire image or the data of each column for the reference pattern, and the method for eliminating misjudgment of reflective lights provided by the present disclosure can be implemented without using a line-buffer or a frame-buffer.
The embodiment shown in
The light source 300 can be a light emitting device that includes one or more light bulbs or light emitting diodes, and can be used to emit a linear light along a direction that is substantially parallel to the floor. The first light sensor 302 and the second light sensor 308 are used to receive the reflected lights (e.g., by an object, the floor and/or the wall).
More specifically, the first light sensor 302 and the second light sensor 308 are separately arranged to capture distance information of the light source 300. Since the positions of the first light sensor 302 and the second light sensor 308 are different, positions caused by the reflected lights can also be different, and such an optical characteristic can be used to distinguish a primary pattern of a real object from secondary patterns caused by multiple reflection lights.
Referring to
Reference is made to
In detail, the first characteristic pattern 1500 includes patterns P1, P2 and P3, and the second characteristic pattern 1502 includes patterns P4, P5 and P6. By comparing the first characteristic pattern 1500 and the second characteristic pattern 1502, it can be seen that the patterns P1, P2 and P3 correspond to the patterns P4, P5 and P6, respectively. However, a distance between the patterns P3 and P6 is lesser than a distance between the patterns P1 and P4, or than a distance between the patterns P2 and P5.
Therefore, a primary pattern corresponding to a to-be-detected object can be obtained by the processing circuit 304, the primary pattern can be the pattern P3 or P6, and the obtained primary pattern can be further utilized and analyzed by the processing circuit 304, so as to obtain a distance of the to-be-detected object and achieve obstacle detection or avoidance.
Furthermore, various of light sensors can be utilized in the present disclosure. For example, the first light sensor 302 and the second light sensor 308 can both be infrared light sensors.
In some embodiment, one of the first light sensor 302 and the second light sensor 308 includes a monochromic light sensor and an infrared light sensor, and another one of the first light sensor 302 and the second light sensor 308 can be an infrared light sensor. Alternatively, each of first light sensor 302 and the second light sensor 308 can include a monochromic sensor and an infrared light sensor.
Referring to
In the case that one of the first light sensor 302 and the second light sensor 308 includes the monochromic light sensor and the infrared light sensor, and the other is another infrared light sensor, after distance information is obtained by comparing the characteristic patterns captured by the infrared light sensors, original data captured by the monochromatic sensor can then be used for more applications, such as object recognition, in which the type of the to-be-detected object may be further obtained.
In the case that each of the first light sensor 302 and the second light sensor 308 includes the monochromic light sensor and the infrared light sensor, after distance information is obtained by comparing the characteristic patterns captured by the infrared light sensors, original data captured by the two monochromatic sensors can then be utilized for obtaining more depth information from disparity therebetween.
It should be noted the light source 300, the first light sensor 302 and the second light sensor 308 can be additionally provided for the optical sensing system 10, so as to eliminate misjudgment caused by the reflection lights in different manners.
In conclusion, in the optical sensing system and the method for eliminating misjudgment of reflective lights sensed by the optical sensing system provided by the present disclosure, the misjudgment can be eliminated by comparing multiple sub-patterns included in a characteristic pattern obtained from reflected linear light with a reference pattern and selecting the sub-pattern that is closest to the reference pattern.
Moreover, by performing the calibration process, only a few data points need to be stored and retrieved during the process of eliminating misjudgments, instead of storing the entire image or the data of each column for the reference pattern, and the method for eliminating misjudgment of reflective lights provided by the present disclosure can be implemented without using a line-buffer or a frame-buffer.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.
This application is a continuation-in-part of U.S. application Ser. No. 18/418,767, filed on Jan. 22, 2024 and entitled “OPTICAL SENSING SYSTEM,” and U.S. application Ser. No. 18/381,108, filed on Oct. 17, 2023 and entitled “METHOD FOR ELIMINATING MISJUDGMENT OF REFLECTIVE LIGHT AND OPTICAL SENSING SYSTEM,” the entire disclosures of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 17535108 | Nov 2021 | US |
Child | 18418767 | US | |
Parent | 17102558 | Nov 2020 | US |
Child | 18381108 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 18418767 | Jan 2024 | US |
Child | 18656814 | US | |
Parent | 17102558 | Nov 2020 | US |
Child | 17535108 | US | |
Parent | 18381108 | Oct 2023 | US |
Child | 18656814 | US |