The present invention relates to a mobile terminal and a control method.
As outdoor position estimation techniques using the Global Positioning System (GPS) have been developed, a user can know a his/her own outdoor position. In addition, there is a demand for a position notification system for recognizing an indoor position. As a technique used in a position notification system, there are a technique using geomagnetism, a technique using Wi-Fi (registered trademark), and a technique using visible light (for example, refer to Non Patent Literature 1).
In the technique using visible light, as illustrated in
In the related art, it is assumed that the mobile terminal is within a range in which light from a lighting device which transmits certain position information reliably reaches. As a result, an operation in a region in which the light does not easily reach, such as a region near an irradiation range which is directly irradiated with the light from the lighting device, is not considered. That is, in a case where the mobile terminal is located in a region in which the light does not easily reach, it is difficult to acquire a position of the mobile terminal.
In addition, pieces of position information from a plurality of lighting devices may be received near the irradiation range directly irradiated with the light. However, a case where a plurality of pieces of position information are received is not considered.
In order to expand a range in which the position can be acquired, a method of increasing the number of lighting devices which transmit the position information, a method of expanding the irradiation range of the lighting device which transmits the individual position information, or the like is used. However, in the former, a cost for installation is required, and in the latter, accuracy of position estimation is deteriorated.
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique capable of estimating a position of the mobile terminal in a case where the mobile terminal is located outside the irradiation range which is directly irradiated with light.
According to an aspect of the present invention, there is provided a mobile terminal including: a position information acquisition unit that acquires position information from a lighting device which transmits the position information by a change in a light output mode; a first derivation unit that derives a first distance between a first coordinate and a terminal projection position, the first coordinate indicating a position obtained by projecting, on a projection plane parallel to a floor surface, a first lighting device from which first position information is acquired as the position information by the position information acquisition unit, and the terminal projection position being obtained by projecting the mobile terminal on the projection plane; a second derivation unit that derives a second distance between a second coordinate and the terminal projection position, the second coordinate indicating a position obtained by projecting, on the projection plane, a second lighting device from which second position information is acquired as the position information by the position information acquisition unit; a rotation angle acquisition unit that acquires a rotation angle of rotation of the mobile terminal on the projection plane from acquisition of the first position information to acquisition of the second position information; and a coordinate estimation unit that estimates a coordinate indicating the terminal projection position based on the first coordinate, the first distance, the second coordinate, the second distance, and the rotation angle.
According to an aspect of the present invention, there is provided a control method of a mobile terminal, the method including: a position information acquisition step of acquiring position information from a lighting device which transmits the position information by a change in a light output mode; a first derivation step of deriving a first distance between a first coordinate and a terminal projection position, the first coordinate indicating a position obtained by projecting, on a projection plane parallel to a floor surface, a first lighting device from which first position information is acquired as the position information in the position information acquisition step, and the terminal projection position being obtained by projecting the mobile terminal on the projection plane; a second derivation step of deriving a second distance between a second coordinate and the terminal projection position, the second coordinate indicating a position obtained by projecting, on the projection plane, a second lighting device from which second position information is acquired as the position information in the position information acquisition step; a rotation angle acquisition step of acquiring a rotation angle of rotation of the mobile terminal on the projection plane from acquisition of the first position information to acquisition of the second position information; and a terminal estimation derivation step of deriving a coordinate indicating the terminal projection position based on the first coordinate, the first distance, the second coordinate, the second distance, and the rotation angle.
According to the present invention, it is possible to estimate a position of the mobile terminal in a case where the mobile terminal is located outside the irradiation range which is directly irradiated with light.
Embodiments of the present invention will be described in detail with reference to the drawings.
The lighting device 20 is an LED lighting device, and irradiates a floor surface 30 with light. Irradiation ranges 25-1, 25-2, 25-3, 25-4, and 25-5 drawn on the floor surface 30 are irradiation ranges obtained by respectively irradiating the floor surface 30 with light by the lighting devices 20-1, 20-2, 20-3, 20-4, and 20-5. In the following description, in a case where the irradiation ranges 25-1, 25-2, 25-3, 25-4, and 25-5 are not distinguished from each other, the irradiation ranges are referred to as the irradiation ranges 25.
The irradiation range 25 indicates a range in which light from the lighting device 20 is reliably reached. Therefore, even outside the irradiation range 25, the mobile terminal 40 can receive light in many cases as long as the mobile terminal 40 is located near the irradiation range 25. In the following description, it is assumed that the mobile terminal 40 can receive light near the irradiation range 25. It is assumed that the mobile terminal 40 is a smartphone.
The lighting device 20 can transmit a signal to the mobile terminal 40 by a change in a light output mode corresponding to position information (hereinafter, referred to as “ID”). In the present embodiment, a change in the light output mode will be described as a blinking pattern. An ID is uniquely assigned to a region irradiated with light by the lighting device 20, and the lighting device 20 transmits a signal to the mobile terminal 40 by a blinking pattern indicating the ID. Therefore, in a case where an ID is acquired, a region is specified from the ID, and thus it can be seen that a position of the mobile terminal 40 is a certain position within the region. The region is associated with a map, and thus the mobile terminal 40 can acquire a position on the map.
As illustrated in
Note that all or some functions of each of the control unit 200 and the map storage unit 242 may be implemented using hardware such as an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field programmable gate array (FPGA). The estimation program may be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a semiconductor storage device (for example, a solid-state drive (SSD)), and a storage device such as a hard disk included in a computer system.
The map storage unit 242 is configured using a storage device such as a semiconductor storage device or a magnetic hard disk device. The map storage unit 242 stores a map database.
The position indicates an installation position of the lighting device 20 by a coordinate. In the map indicated by map image data (not illustrated), a coordinate on an XY plane and a position on the map are associated with each other. The position indicates a coordinate on the XY plane. Therefore, in a case where the ID is known, a position on the map can be acquired.
Returning to
The control unit 200 of
The position information acquisition unit 201 acquires an ID from the lighting device 20. The first derivation unit 202 derives a first distance between a first coordinate indicating a position obtained by projecting a first lighting device on a projection plane parallel to the floor surface 30 and a terminal projection position obtained by projecting the mobile terminal 40 on the projection plane, the first lighting device being a lighting device from which first position information is acquired. The second derivation unit 203 derives a second distance between a second coordinate indicating a position obtained by projecting a second lighting device on a projection plane parallel to the floor surface 30 and the terminal projection position, the second lighting device being a lighting device from which second position information is acquired.
The rotation angle acquisition unit 204 acquires a rotation angle of rotation of the mobile terminal 40 on the projection plane from acquisition of the first position information to acquisition of the second position information. The coordinate estimation unit 205 estimates a coordinate indicating the terminal projection position based on the first coordinate, the first distance, the second coordinate, the second distance, and the rotation angle.
Specific processing contents in the configuration will be described.
In
It is assumed that a first coordinate indicating a position obtained by projecting the lighting device 20 on the projection plane 500 is P1. Since a coordinate of the lighting device 20 can be acquired from the map database, the coordinate of the lighting device 20 is set as P1. It is assumed that a terminal projection position obtained by projecting the mobile terminal 40 on the projection plane 500 is P. The mobile terminal 40 estimates a coordinate of the P.
A height T is a height of the lighting device 20 from the floor surface 30. The height T may be acquired from the map storage unit 242 in which the height is stored in advance as height data, or may be set in the mobile terminal 40 by default. A height t is a height of the mobile terminal 40 from the floor surface 30. The height t may be set in advance by each user of the mobile terminal 40, or may be acquired by means capable of measuring the height. A value (T−t) obtained by subtracting the height t from the height T indicates a length from P1 to the lighting device 20. That is, (T−t) is a length of a perpendicular line drawn from the lighting device 20 to the projection plane 500.
The mobile terminal 40 acquires, from the gyro sensor 224, an angle θ (an angle in a pitch direction) with respect to a vertical direction when the ID is acquired from the lighting device 20. The angle θ is an angle formed by a line segment connecting the mobile terminal 40 and the lighting device 20 and a perpendicular line drawn from the lighting device 20 to the projection plane 500.
Thereby, the mobile terminal 40 derives (T−t) tan θ (=r1) as the first distance. Therefore, it can be seen that the mobile terminal 40 is located on a circle of which a center is P1 and which has a radius r1.
In the mobile terminal 40, the rotation angle acquisition unit 204 acquires a rotation angle ϕ (an angle in a yaw direction) of rotation of the mobile terminal 40 on the projection plane 500 from acquisition of P1 to acquisition of second position information P2 from another lighting device 20. Note that, here, in addition to the rotation angle, the rotation angle acquisition unit 204 also acquires a rotation direction (for example, a clockwise direction or a counterclockwise direction). Further, similar to the case of derivation of the first distance, the second derivation unit 203 derives a second distance r2 between a coordinate P2 acquired based on another lighting device 20 and the terminal projection position P. It can be seen that the mobile terminal 40 is located on a circle of which a center is P2 and which has a radius r2.
Next, the processing will be described with reference to
It is assumed that the rotation angle acquisition unit 204 detects a counterclockwise direction as the rotation direction together with the rotation angle ϕ. In this case, when viewed from the mobile terminal 40, P1 is on the right side, and P2 is on the left side. Therefore, the arc CA passes through the coordinate Pa. The coordinate estimation unit 205 estimates an intersection Pa of the arc C1, the arc C2, and the arc CA, as a coordinate of the terminal projection position P.
In a case where the coordinate of the terminal projection position P is estimated, the mobile terminal 40 marks a position on the map corresponding to the coordinate. Thus, a position of the mobile terminal 40 on the map can be displayed.
In the estimation method described above, the estimation is performed using two lighting devices 20. On the other hand, the estimation may be performed using three or more lighting devices 20. For example, in a case where three lighting devices A, B, and C are used, the coordinate estimation unit 205 estimates a coordinate PAB (XAB, YAB) of the terminal projection position P using the lighting devices A and B, estimates a coordinate PBC (XBC, YBC) of the terminal projection position P using the lighting devices B and C, and estimates a coordinate PCA (XCA, YCA) of the terminal projection position P using the lighting devices A and C.
The coordinate estimation unit 205 estimates, as the coordinate of the terminal projection position P, a simple average of these coordinates by the following expression.
(PAB+PBC+PCA)/3=((XAB+XBC+XCA)/3,(YAB+YBC+YCA)/3)
Note that the estimation may be performed using a weighted average instead of a simple average. For example, in a case where the angle θ with respect to the vertical direction is smaller than a predetermined standard, it is considered that the lighting device 20 is at a position close to and directly above the mobile terminal 40. Therefore, the coordinate estimation unit 205 estimates a coordinate of the terminal projection position P by setting a weight for the coordinate estimated in a case where the angle θ is smaller than the predetermined standard to be larger than a weight for the coordinate estimated in a case where the angle θ is not smaller than the predetermined standard and calculating a weighted average of the coordinates.
In addition, since the coordinate P2 in
According to the embodiment described above, it is possible to estimate the position of the mobile terminal in a case where the mobile terminal is located outside the irradiation range which is directly irradiated with light. In addition, even in a case where the mobile terminal is located within the irradiation range which is directly irradiated with light, position information may be acquired from the plurality of lighting devices. Even in a case where the position information is acquired from the plurality of lighting devices, it is possible to estimate the position of the mobile terminal 40.
In a second embodiment, an embodiment in which the position of the mobile terminal 40 is acquired according to the first embodiment and then a configuration for coping with a case where the mobile terminal 40 further moves is added will be described.
In the configuration, the acceleration sensor 225 detects movement acceleration and a movement direction of the mobile terminal 40. The light intensity acquisition unit 206 acquires an intensity of the light received by the light receiving unit 221. The light intensity acquisition unit 206 acquires intensities of the light from the plurality of lighting devices 20, and thus accuracy of the position information is improved.
The comparison unit 207 compares the ID acquired from the lighting device 20, the intensity of the light, and the angles of the yaw axis, the pitch axis, and the roll axis of the mobile terminal 40, the angles being detected by the gyro sensor 224. For example, even though the mobile terminal 40 is facing toward P1 described in the first embodiment, in a case where it is determined that the intensity of the light from the lighting device 20 located at P1 is decreased based on the angles detected by the gyro sensor 224, it can be seen that the mobile terminal 40 moves away from P1. As described above, in a case where the intensity and the angles are known, it is possible to determine whether the mobile terminal 40 moves away from P1 or P2 or approaches P1 or P2.
The complement unit 208 complements the position of the mobile terminal 40 estimated by the coordinate estimation unit 205, from the movement acceleration and the movement direction which are obtained by the acceleration sensor 225, in addition to a result obtained by the comparison unit 207. For example, it is assumed that a comparison result by the comparison unit 207 indicates that the mobile terminal 40 moves away from P1. The complement unit 208 estimates a distant direction and a movement distance in the distant direction, from the movement acceleration and the movement direction which are obtained by the acceleration sensor 225, and complements the position of the mobile terminal 40 estimated by the coordinate estimation unit 205 by adding the estimated movement distance in the distant direction.
As described above, the mobile terminal 40 according to the second embodiment complements the coordinate estimated by the coordinate estimation unit based on the light intensity, and the acceleration and the movement direction which are detected by a detection unit. Thereby, it is possible to cope with a case where the position of the mobile terminal 40 is acquired according to the first embodiment and then the mobile terminal 40 further moves. For example, in a case where light reception is temporarily interrupted, or in a case where processing in the comparison unit 207 is performed at certain timings, it is possible to complement the position of the mobile terminal 40 between the timings. Further, even in a case where the position information cannot be received and estimation by the coordinate estimation unit 205 cannot be performed, it is possible to complement the position.
In the embodiments described above, the light emitted by the lighting device 20 is not limited to visible light as long as the light can be received by an illuminance sensor or a camera, and may be near-infrared light or the like. Further, in the embodiments, information is transmitted using a blinking pattern. On the other hand, instead of a blinking pattern, a color change or a light intensity may be used.
While the embodiments of the present invention have been described in detail with reference to the drawings, specific configurations are not limited to the embodiments, and include designs and the like without departing from the gist of the present invention.
The present invention can be applied to a mobile terminal that acquires position information from a lighting device which transmits position information by a change in a light output mode.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/019192 | 5/20/2021 | WO |