This application is based upon and claims the benefit of priority from Japanese patent application No. 2018-060075, filed on Mar. 27, 2018, the disclosure of which is incorporated herein in its entirety by reference.
The present disclosure relates to a moving amount detection device.
A moving amount detection device that detects a moving amount of a moving body by using a plurality of optical sensors mounted therein is known. Japanese Unexamined Patent Application Publication No. 2015-187798 discloses a configuration in which four optical sensors such as optical mouse-type sensors are respectively mounted on the front, rear and sides of a moving body. Japanese Unexamined Patent Application Publication No. H4-151715 discloses a configuration in a moving amount detection device using an optical mouse-type sensor as an optical sensor in which four optical sensors are disposed at 90° intervals on the same circumference in the top view. Each of the optical sensors disclosed in Japanese Unexamined Patent Application Publication No. H4-151715 is capable of detecting only a moving amount in one direction, and are disposed so that directions in which the moving amounts of each of the optical sensors can be detected is tangential to the above-described circumference.
When a plurality of optical sensors are used to detect a moving amount of a moving body, a moving amount of a movement in a combination of a translational movement and a rotational movement in the moving body cannot be detected accurately depending on an attachment position of each optical sensor and a direction of outputting a moving amount. Japanese Unexamined Patent Application Publication No. 2015-187798 fails to disclose the details (an attachment position and a direction of outputting a moving amount) on how each of the plurality of optical sensors are attached to a moving body. Further, Japanese Unexamined Patent Application Publication No. 2015-187798 fails to disclose how data acquired by each of the optical sensors is used to detect a moving amount and a position of the moving body.
On the other hand, Japanese Unexamined Patent Application Publication No. H4-151715 discloses attachment conditions of each optical sensor and a method for detecting a moving amount and a position of a moving body as described above. However, in the moving amount detection device disclosed in Japanese Unexamined Patent Application Publication No. H4-151715, it is necessary that the four optical sensors be disposed at 90° intervals on the same circumference and a reference position detecting a moving amount be set to the center of the same circumference in which each of the optical sensors is disposed. Thus, the flexibility in positions where the optical sensors are disposed is low.
The present disclosure is made in view of the above background and provides a moving amount detection device capable of accurately detecting a moving amount of a movement in a combination of a translational movement and a rotational movement in the moving body, and improving a flexibility in positions where optical sensors are disposed.
A first exemplary aspect is a moving amount detection device including: a plurality of at least three of optical sensors having a light source for irradiating a floor surface where a moving body is located, the plurality of optical sensors acquiring image data of the floor surface; a moving amount acquisition unit configured to acquire a moving amount of the moving body in a one-axial or two-axial predetermined coordinate system by using the image data acquired from the optical sensors; and an arithmetic processing unit configured to detect the moving amount of the moving body in a coordinate system of a reference position on the moving body by performing arithmetic processing using the moving amount of the moving body in the predetermined coordinate systems in each of the plurality of optical sensors acquired by the moving amount acquisition unit, in which the plurality of optical sensors are disposed so that three or more of them are not arranged on the same straight line in a top view of the moving body and the predetermined coordinate systems that are respectively set in the plurality of optical sensors have angles different from each other with respect to the coordinate system in the reference position, and the arithmetic processing unit detects the moving amount of the moving body in the coordinate system of the reference position by repeatedly performing arithmetic processing of converting the moving amount of the moving body in each of the plurality of optical sensors in the predetermined coordinate systems that are respectively set in the plurality of optical sensors into the moving amount of the moving body in the coordinate system of the reference position and integrating the converted moving amount.
In a top view of a moving body, three or more of a plurality of optical sensors are disposed so as not to be arranged on the same straight line, and thereby variations in sensitivity among the plurality of optical sensors can be suppressed with respect to a translational movement. Further, the predetermined coordinate systems respectively set in the plurality of the optical sensors are disposed so as to have angles different from each other with respect to a coordinate system of a reference position so that variations in sensitivity among the plurality of optical sensors can be suppressed with respect to a rotational movement. Variations in sensitivity among a plurality of optical sensors can be thereby suppressed with respect to both translational and rotational movements.
Further, the plurality of optical sensors are disposed on a circumference in which the coordinate center of the predetermined coordinate systems respectively set in the plurality of optical sensors are centered around the reference position, and the plurality of optical sensors are disposed so that angles formed by the predetermined coordinate systems that are respectively set in the plurality of optical sensors and the coordinate system in the reference position are shifted by an angle obtained by dividing 90° by the number of the plurality of optical sensors.
Sensitivity of the plurality of optical sensors depends on a distance of them from the reference position. When a plurality of optical sensors are disposed on the same circumference in which the coordinate centers of predetermined coordinate systems respectively set in the optical sensors are centered around a control center as a reference position, the sensitivity of each of the optical sensors can be uniform. Further, when a plurality of optical sensors are disposed so that angles formed by the predetermined coordinate systems respectively set in the plurality of optical sensors and a coordinate system of a reference position are shifted by an angle obtained by dividing 90° by the number of the plurality of optical sensors, variations in sensitivity in a rotational movement can be further suppressed.
Further, the moving amount detection device further includes a control unit configured to control so as to reduce a displacement amount between a current position of the moving body calculated by using a moving amount of the reference position in the arithmetic processing unit and a point closest to the current position on a planned moving path of the moving body, the planned moving path being planned in advance.
In this manner, the moving body can autonomously move along the planned moving path.
According to the present disclosure, in a moving body, a moving amount of a movement in a combination of a translational movement and a rotational movement can be detected accurately, and a flexibility in positions where optical sensors are disposed can be improved.
The above and other objects, features and advantages of the present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not to be considered as limiting the present disclosure.
Hereinafter, although the present disclosure will be described with reference to embodiments of the disclosure, the present disclosure according to claims is not limited to the following embodiment. Further, not all the configurations described in this embodiment are necessary as the means for solving the problem.
First, a schematic configuration of a moving body 1 incorporating a moving amount detection device according to this embodiment is described with reference to
The optical sensors 2 include a light source that irradiates a floor surface where a moving body 1 is located, and acquires image data of the floor surface. The optical sensors 2 are, for example, optical mouse-type sensors. The light source of the optical sensors 2 is, for example, a laser light or an LED (Light Emitting Diode). Details of an arrangement of the plurality of optical sensors 2 in the moving body 1 will be described later.
The moving amount acquisition unit 3 uses image data acquired from the optical sensors 2 to acquire a moving amount of the moving body in a one-axial or two-axial predetermined coordinate system. The moving amount acquisition unit 3 includes an amplifier or the like that amplifies signals from the optical sensors 2.
The arithmetic processing unit 4 performs arithmetic processing by using moving amounts in the respective predetermined coordinate systems of the plurality of optical sensors 2, which are acquired by the moving amount acquisition unit 3, and thereby detects a moving amount of the moving body in the coordinate system of the reference position on the moving body.
The moving body 1 includes wheels 7, and a drive unit 8 including a motor connected to the wheels 7 and a battery for driving the motor is provided inside the housing 6. This motor in the drive unit 8 is driven so that the wheels 7 rotate to move the moving body 1. The moving body 1 may further include a control unit 5 that controls the drive unit 8 so as to reduce a displacement amount between a current position of the moving body 1 calculated by using a moving amount of the reference position in the arithmetic processing unit 4 and a point closest to the current position on a planned moving path of the moving body 1, the planned moving path being planned in advance. In this manner, the moving body 1 can autonomously move along the planned moving path.
The arithmetic processing unit 4 and the control unit 5 are arithmetic processing devices including a CPU (Central Processing Unit), a ROM (Read Only Memory), RAM (Random Access Memory), a communication interface, and the like. Further, the arithmetic processing unit 4 and the control unit 5 may include a HDD, an optical disk, or an optical magnetic disk, which are detachable, for storing various programs, control parameters, and the like, and supplying the programs and the data to a memory and the like as necessary. Note that the arithmetic processing unit 4 and the control unit 5 may be configured as one arithmetic unit.
Next, an arrangement of a plurality of optical sensors 2 in the moving body 1 will be described.
Further, the plurality of optical sensors 2 are disposed so that the predetermined coordinate systems that are respectively set in the plurality of optical sensors 2a, 2b and 2c have angles different from each other with respect to a coordinate system in a control center 10 which is the reference position. Note that a coordinate system of the control center 10 is defined as an x-y coordinate system, a predetermined coordinate system set in the optical sensor 2a is defined as an x1-y1 coordinate system, a predetermined coordinate system set in the optical sensor 2b is defined as an x2-y2 coordinate system, and a predetermined coordinate system set in the optical sensor 2c is defined as an x3-y3 coordinate system.
The x1-y1 coordinate system of the optical sensor 2a has an angle of θ1 with respect to the x-y coordinate system of the control center 10. The x2-y2 coordinate system of the optical sensor 2b has an angle of θ2 with respect to the x-y coordinate system of the control center 10. The x3-y3 coordinate system of the optical sensor 2c has an angle of θ3 with respect to the x-y coordinate system of the control center 10. The angles of θ1, θ2, and θ3 are angles different from each other.
The coordinate center of the x1-y1 coordinate system of the optical sensor 2a is located a distance R1 away from the control center 10. The coordinate center of the x2-y2 coordinate system of the optical sensor 2b is located a distance R2 away from the control center 10. The coordinate center of the x3-y3 coordinate system of the optical sensor 2c is located a distance R3 away from the control center 10. The further the coordinate center of the predetermined coordinate system of the optical sensor 2 is located from the control center 10, the higher the sensitivity of the optical sensor 2 becomes.
Next, a method for detecting a moving amount of the moving body in a coordinate system of the reference position will be described. Note that in the following descriptions, as appropriate, a configuration of the moving body 1 will be described with reference to
The arithmetic processing unit 4 repeatedly performs arithmetic processing of converting the moving amount of the moving body in each of the plurality of optical sensors 2 in the predetermined coordinate systems respectively set therein into the moving amount of the moving body in the coordinate system of the reference position and integrating the converted moving amount. In such a manner, the arithmetic processing unit 4 detects the moving amount of the moving body in the coordinate system of the reference position.
A moving amount ΔPsen in the predetermined coordinate system of the optical sensors 2 is expressed as the Expression (1) by using a matrix M determined by a moving amount ΔPodom of the control center and a geometric arrangement of the optical sensors 2.
ΔPsen=MΔPodom (1)
As shown in
ΔPodom is expressed as the Expression (4) by using a pseudo inverse matrix Minv of the matrix M expressed by the Expression (3).
[Expression 2]
M
inv=(MTM)−1MT (3)
ΔPodom=MinvΔPsen (4)
The moving amount ΔPodom of the control center obtained from the Expression (4) is integrated as shown in the Expression (5), and thereby the current position of the moving body 1 can be calculated. Note that xodom, yodom, and θodomn are the coordinates of the current positions which are currently calculated, and xodomo, yodomo, and θodomo are the coordinates of the current positions which were calculated in the previous time.
Even in the case shown in
Note that a coordinate system of the control center 10 is defined as an x-y coordinate system, a predetermined coordinate system set in the optical sensor 2a is defined as an x1 coordinate system, a predetermined coordinate system set in the optical sensor 2b is defined as an x2 coordinate system, and a predetermined coordinate system set in the optical sensor 2c is defined as an x3 coordinate system. The x1 coordinate system of the optical sensor 2a has an angle of θ1 with respect to the x coordinate system of the control center 10. The x2 coordinate system of the optical sensor 2b has an angle of θ2 with respect to the x coordinate system of the control center 10. The x3 coordinate system of the optical sensor 2c has an angle of θ3 with respect to the x coordinate system of the control center 10. The angles of θ1, θ2, and θ3 are angles different from each other.
As shown in
In the Expressions (3) to (5), when the matrix on the left side of the Expression (6) is defined as ΔPsen, and the matrix of the second item on the right side is defined as ΔPodom, the current position of the moving body 1 can be calculated in a manner similar to that in the case where the optical sensors are two-axial sensors.
Here, a problem regarding an arrangement position of the plurality of optical sensors 2 in comparative examples 1 to 3, and an effect of an arrangement position of the plurality of optical sensors 2 in the moving body 1 according to this embodiment which has been described with reference to
In contrast to the comparative examples 1 to 3, as shown in
As described above, the further the plurality of optical sensors 2a, 2b, and 2c are located from the control center 10 as the reference position, the higher the sensitivity thereof becomes. That is, sensitivity of the plurality of optical sensors 2a, 2b, and 2c depends on a distance of them from the control center 10 as the reference position. When the plurality of optical sensors 2 are disposed on the same circumference in which the coordinate centers of the predetermined coordinate systems respectively set in the optical sensors are centered around the control center 10 as the reference position, the sensitivity of each of the optical sensors can be uniform. Further, when the plurality of optical sensors 2 are disposed so that angles formed by the predetermined coordinate systems respectively set in the plurality of optical sensors and the x-y coordinate system in the control center 10 as the reference position are shifted by an angle obtained by dividing 90° by the number of the plurality of optical sensors, variations in sensitivity in a rotational movement can be suppressed.
Four or more optical sensors 2 may be disposed.
Further, the plurality of optical sensors 2 are disposed so that the predetermined coordinate systems that are respectively set in the plurality of optical sensors 2a, 2b, 2c and 2d have angles different from each other with respect to the coordinate system in the control center 10 which is the reference position. Note that a coordinate system of the control center 10 is defined as an x-y coordinate system, a predetermined coordinate system set in the optical sensor 2a is defined as an x1-y1 coordinate system, a predetermined coordinate system set in the optical sensor 2b is defined as an x2-y2 coordinate system, a predetermined coordinate system set in the optical sensor 2c is defined as an x3-y3 coordinate system, and a predetermined coordinate system set in the optical sensor 2d is defined as an x4-y4 coordinate system.
The x1-y1 coordinate system of the optical sensor 2a has an angle of θ1 with respect to the x-y coordinate system of the control center 10. The x2-y2 coordinate system of the optical sensor 2b has an angle of θ2 with respect to the x-y coordinate system of the control center 10. The x3-y3 coordinate system of the optical sensor 2c has an angle of θ3 with respect to the x-y coordinate system of the control center 10. The x4-y4 coordinate system of the optical sensor 2d has an angle of θ4 with respect to the x-y coordinate system of the control center 10. The angles of θ1, θ2, θ3, and θ4 are angles different from each other.
Even when four or more optical sensors 2 are disposed, variations in sensitivity among the plurality of optical sensors can be suppressed with respect to both translational and rotational movements by arranging the plurality of optical sensors 2 as described above.
Note that the present disclosure is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present disclosure. For example, even in the case where four or more optical sensors 2 are disposed, which is described with reference to the modified example 2, the optical sensors 2 can be disposed in the same manner as that in which the optical sensors 2 are disposed in the modified example 1. That is, the plurality of optical sensors are disposed on the same circumference in which the coordinate centers of the predetermined coordinate systems respectively set in the optical sensors are centered around the control center 10 as the reference position. Further, the plurality of optical sensors are disposed so that angles formed by the predetermined coordinate systems respectively set in the plurality of optical sensors and the x-y coordinate system in the control center as the reference position are shifted by an angle obtained by dividing 90° by the number of the plurality of optical sensors.
From the disclosure thus described, it will be obvious that the embodiments of the disclosure may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the disclosure, and all such modifications as would be obvious to one skilled in the art are intended for inclusion within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2018-060075 | Mar 2018 | JP | national |