This application claims the priority benefit of Taiwan application serial no. 106202562, filed on Feb. 22, 2017. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The invention relates to a distance measuring device for detecting obstacle.
With advancements in technology, cleaning robots (e.g., vacuuming robots, sweeping robots or mopping robots) have been extensively applied in daily life for cleaning operations. In general, because the cleaning robots are usually unmanned equipments, the cleaning robots are disposed with a scanning unit for detecting obstacle. With operation of the scanning unit, the cleaning robots are able to effective go around avoiding obstacle during cleaning operations within a space.
Taking a chair 200 as an example of the obstacle, in
That is to say, in conventional art, the cleaning robot 100 is only able to detect the obstacle on the plane S1 in parallel to the emission direction according to the light beam L1 but unable to detect obstacles at locations in a vertical direction of the plane S1 with the height higher than the height h2 from the plane S1 to the light beam L1 according to the light beam L1.
The invention is directed to a distance measuring device and a distance measuring method, which can effectively detect the obstacle and prevent the distance measuring device from collusion with the obstacle by adjusting the emission direction of the light beam emitted by the scanning unit.
The invention provides a distance measuring device. The distance measuring device has a vehicle, a scanning unit and a processing unit. The scanning unit includes a light-emitting unit and a light-receiving unit. The scanning unit and the processing unit are disposed on the vehicle. The processing unit is electronically coupled to the scanning unit. The vehicle is configured to move on a plane. The light-emitting unit is configured to emit a light beam along an emission direction, wherein the emission direction of the light beam is not parallel to the plane. The light-receiving unit is configured to receive a reflective light of the light beam reflected by an object. The processing unit is configured to determine a distance between the vehicle and the object according to the reflective light.
In an embodiment of the invention, an acute angle included by the plane and the emission direction is greater than 0° and less than 90°.
In an embodiment of the invention, the acute angle included by the plane and the emission direction is 1°.
In an embodiment of the invention, the processing unit is further configured to determine a vertical height between a reflective spot on the object and the plane according to the reflective light. The light beam is reflected at the reflective spot to generate the reflective light.
In an embodiment of the invention, the processing unit is further configured to send a control signal for adjusting an angle of the acute angle included by the plane and the emission direction.
In an embodiment of the invention, the scanning unit is configured to rotate along a normal line of the plane.
The invention also provides a distance measuring method for a distance measuring device. The distance measuring device has a vehicle, a scanning unit and a processing unit. The scanning unit includes a light-emitting unit and a light-receiving unit. The scanning unit and the processing unit are disposed on the vehicle. The processing unit is electronically coupled to the scanning unit. The vehicle is configured to move on a plane, and the distance measuring method includes: emitting a light beam along an emission direction by the light-emitting unit, wherein the emission direction of the light beam is not parallel to the plane; receiving a reflective light of the light beam reflected by an object by the light-receiving unit; and determining a distance between the vehicle and the object according to the reflective light by the processing unit.
In an embodiment of the invention, an acute angle included by the plane and the emission direction is greater than 0° and less than 90°.
In an embodiment of the invention, the acute angle included by the plane and the emission direction is 1°.
In an embodiment of the invention, the method further includes: determining a vertical height between a reflective spot on the object and the plane according to the reflective light by the processing unit, wherein the light beam is reflected at the reflective spot to generate the reflective light.
In an embodiment of the invention, the method further includes: sending a control signal by the processing unit to adjust an angle of the acute angle included by the plane and the emission direction.
In an embodiment of the invention, the method further includes: rotating the scanning unit along a normal line of the plane.
Based on the above, by adjusting the emission direction of the light beam emitted by the scanning unit, the distance measuring device of the invention can effectively detect the obstacle and prevent the distance measuring device from collusion with the obstacle. In particular, instead of using a three-dimensional scanning unit in high price, the distance measuring device of the invention can scan the vertical height of the obstacle within the space by using common scanning units in low price, so as to achieve the similar effect of the three-dimensional scanning unit for detecting the height of the obstacle.
To make the above features and advantages of the disclosure more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Descriptions of the invention are given with reference to the exemplary embodiments illustrated with accompanied drawings, in which same or similar parts are denoted with same reference numerals. In addition, whenever possible, identical or similar reference numbers stand for identical or similar elements in the figures and the embodiments.
The processing unit 40 may be, for example, a processor for general purposes, a processor for special purposes, a conventional processor, a data signal processor, a plurality of microprocessors, one or more microprocessors, controllers, microcontrollers and Application Specific Integrated Circuit (ASIC) which are combined to a core of the digital signal processor, a Field Programmable Gate Array (FPGA), any other integrated circuits, a state machine, a processor based on Advanced RISC Machine (ARM) and similar products.
The scanning unit 42 includes a light-emitting unit 42a and a light-receiving unit 42b. The light-emitting unit 42a is electrically coupled to the light-receiving unit 42b. The light-emitting unit 42a is configured to provide a light source output required by the scanning unit 42. The light-emitting unit 42a can emit a light beam along an emission direction. In the present embodiment, the light-emitting unit 42a may be elements capable of emitting the light beam, such as a laser diode (LD) or a light emitting diode (LED). The light-receiving unit 42b may be elements capable of receiving light, such as a photoresistor, a phototransistor or a Photo-Detector diode.
The vehicle 44 can include a motion control unit (not illustrated) and a cleaning unit (not illustrated). Each of the motion control unit and the cleaning unit may be electrically coupled to the processing unit 40. The motion control unit may be configured to receive, for example, a control signal sent by the processing unit 40 and control the vehicle 44 to move on a plane based on the control signal. The motion control unit is composed of, for example, a plurality of hardware chips and further includes a motor (not illustrated) and a control equipment (not illustrated). Among them, the motor of the motion control unit may be coupled to tires (not illustrated) and the control equipment. After receiving the control signal from the control equipment, the motor can control rotation of the tires so as to control movement of the vehicle 44 on the plane. In addition, the cleaning unit may be a device for executing corresponding cleaning operations (e.g., vacuuming, sweeping or mopping) after receiving the control signal sent by the processing unit 40.
It should be understood that, elements included by distance measuring device 2000 are not limited only to be the elements illustrated in
In the present exemplary embodiment, the light-emitting unit 42a emits a light beam along an emission direction, where the emission direction of the light beam is not parallel to the plane where the vehicle 44 of the distance measuring device 2000 is located.
For instance,
In particular, with the configuration described above, the distance measuring device 2000 may be prevented from the situation where the scanning unit collides with the obstacle as described in
In addition, how to calculate the vertical height from the plane S2 to the reflective spot of the light beam L2 on the obstacle according to the reflective light and calculate the horizontal distance between the vehicle 44 and the obstacle according to the reflective light may be learnt with use the conventional art, and thus details regarding the same are omitted hereinafter.
In particular, the distance measuring device 2000 of the invention can further detect multiple obstacles arranged in ladder-like manner. For example,
In an exemplary embodiment, the scanning unit 42 of the distance measuring device 2000 can also rotate to increase a detectable range of the scanning unit 42.
In an exemplary embodiment, the distance measuring device 2000 can also record locations of obstacles within a space according to a scanning result of the scanning unit 42. For example,
Referring to
In summary, by adjusting the emission direction of the light beam emitted by the scanning unit, the distance measuring device of the invention can effectively detect the obstacle and prevent the distance measuring device from collusion with the obstacle. In particular, instead of using a three-dimensional scanning unit in high price, the distance measuring device of the invention can scan the vertical height of the obstacle within the space by using common scanning units in low price, so as to achieve the similar effect of the three-dimensional scanning unit for detecting the height of the obstacle.
Although the present invention has been described with reference to the above embodiments, it will be apparent to one of ordinary skill in the art that modifications to the described embodiments may be made without departing from the spirit of the invention. Accordingly, the scope of the invention will be defined by the attached claims and not by the above detailed descriptions.
Number | Date | Country | Kind |
---|---|---|---|
106202562 | Feb 2017 | TW | national |