Context estimation system

A beacon tag-based context estimation system estimates user context with reduced complexity and cost, improving privacy and user convenience by using a learning model to analyze elevation and azimuth angles, addressing the limitations of multi-sensor systems.

JP2024129225APending Publication Date: 2024-09-27NAGOYA ELECTRICAL EDUCATIONAL FOUNDATION
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023038283
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing context estimation systems using multiple optical sensors are complex and costly, potentially infringing on user privacy and causing psychological burden.

Method used

A context estimation system utilizing a beacon tag attached to the user that wirelessly transmits signals, a receiving unit to detect these signals, and a learning model to estimate context based on elevation and azimuth angles, without requiring multiple optical sensors.

Benefits of technology

The system provides accurate context estimation with reduced complexity and cost, enhances privacy protection, and reduces user burden by allowing users to control tag attachment, enabling estimation for multiple users in shared spaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129225000001
    Figure 2024129225000001
Patent Text Reader

Abstract

To provide a context estimation system capable of estimating a context by a comparatively simple configuration and making an introduction cost lower.SOLUTION: A context estimation system 1 includes: a beacon tag 3 mounted on a user capable of wirelessly transmitting a predetermined signal; a reception unit 41 for receiving the signal transmitted from the beacon tag 3; and an angle calculation unit 42 for calculating an elevation angle and an azimuth angle of the beacon tag 3 with respect to the reception unit 41 from the signal received by the reception unit 41. The context estimation system estimates a context of the user using a learning model generated by causing it to learn time-series data on the elevation angle and the azimuth angle or statistic data based on the time-series data as feature values.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a system for inferring a user's context. [Background technology]

[0002] In recent years, context inference systems have been proposed to infer a user's context (user's situation or events that have occurred to the user).

[0003] A possible context estimation system is one that estimates a user's context based on image data obtained by a camera. However, from the viewpoints of reducing the psychological burden on the user and protecting the user's privacy, a system that uses a camera is not necessarily preferable.

[0004] Therefore, a camera-free context estimation system has been proposed that includes multiple optical sensors arranged on or around bedding such as a bed, and a transmission device capable of outputting multiple types of activity signals based on the presence or absence of detection by each optical sensor, and that estimates the user's context (sleeping position, standing position, starting to walk, etc.) based on the activity signals output from the transmission device (see, for example, Patent Document 1, etc.). [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2001-327549 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, the system described in Patent Document 1 requires a plurality of optical sensors and the like, which may lead to a complex system and increased implementation costs.

[0007] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a context estimation system that is capable of estimating a context with a relatively simple configuration and that can reduce introduction costs. [Means for solving the problem]

[0008] The following describes each of the means suitable for achieving the above object. Note that, as necessary, the specific effects of the corresponding means will be added.

[0009] Means 1. A context inference system for inferring a user's context, comprising: a beacon tag attached to the user and capable of wirelessly transmitting a predetermined signal; a receiving means capable of receiving the signal transmitted from the beacon tag; An angle calculation means for calculating an elevation angle and an azimuth angle of the beacon tag relative to the receiving means from the signal received by the receiving means; and a context estimation means capable of estimating the context of the user by using a learning model generated by learning time series data of the elevation angle and azimuth angle, or statistical data based on the time series data, as feature values.

[0010] According to the above-mentioned means 1, the user's context can be estimated by a relatively simple system without requiring multiple optical sensors, etc. Therefore, the introduction cost of the system can be reduced.

[0011] In addition, since the beacon tag is attached to the user, if the user removes the beacon tag, the user's context cannot be estimated. In other words, the user can switch between wearing and not wearing the beacon tag, thereby switching between being able to estimate the context and not being able to estimate it. Therefore, coupled with the fact that the system does not use a camera, it is possible to more reliably protect the user's privacy. In addition, it is possible to reduce the psychological burden on the user when using the system.

[0012] The signal transmitted from the beacon tag may include information that can identify each beacon tag. In this case, the context of multiple users can be estimated individually, and the accuracy of the context estimation can be improved. In addition, the system can be applied to a room shared by multiple users, thereby improving convenience.

[0013] Means 2. The context estimation system according to Means 1, wherein the context estimation means is configured to be able to estimate at least "fall" as the user's context.

[0014] According to the above-mentioned means 2, it is possible to estimate a context that may lead to an emergency such as a "fall". Therefore, it is possible to take an appropriate response to the occurrence of a "fall" (for example, when a "fall" is estimated, to notify the outside of the occurrence). This can further improve convenience.

[0015] Means 3. The context estimation system described in Means 1, wherein the context estimation means is configured to be capable of distinguishing and estimating at least "falling," "walking," "standing," and "sleeping" as the user's context.

[0016] According to the above-mentioned means 3, it is possible to distinguish and estimate four types of contexts, namely, "falling", "walking", "standing" and "lying down". Therefore, it is possible to take an appropriate action according to the type of context (for example, to provide a different notification mode to the outside when "walking", "standing" or "lying down" is estimated and when "falling" is estimated). This can further improve convenience.

[0017] Means 4. The context estimation system described in Means 1, characterized in that the angle calculation means is configured to calculate the elevation angle and azimuth angle of the beacon tag relative to the receiving means using a direction detection function of the Bluetooth (registered trademark) standard, which is a function that utilizes the Angle of Arrival (AoA) or Angle of Departure (AoD).

[0018] According to the above-mentioned means 4, in calculating the elevation angle and azimuth angle, a direction detection function of the Bluetooth (registered trademark) standard, which is a function using AoA or AoD, is used. Therefore, the elevation angle and azimuth angle can be calculated with high accuracy by a relatively simple method, and good estimation accuracy related to the context can be obtained more reliably.

[0019] Moreover, by using the Bluetooth (registered trademark) standard (particularly Bluetooth (registered trademark) Low Energy), the beacon tag can be operated with extremely low power. Therefore, a small button battery or the like can be used as the power source for the beacon tag, and as a result, the beacon tag can be made smaller. In addition, the frequency of troublesome power-related tasks (e.g., battery replacement, etc.) required for continuous use of the beacon tag can be reduced. These combined features can extremely effectively improve usability for users.

[0020] Means 5. The context estimation system described in Means 1, characterized in that the context estimation means is configured to be able to estimate the user's context using a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method.

[0021] According to the above-mentioned means 5, a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method is used. Therefore, it is possible to improve the estimation accuracy of the context. [Brief description of the drawings]

[0022] [Figure 1] 1 is a schematic perspective view illustrating a context estimation system and a room to which the system is applied. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of a context estimation system and the like. [Diagram 3] FIG. 13 is a schematic perspective view showing another example of an antenna array. [Figure 4] FIG. 1 is an explanatory diagram for explaining a method for calculating an arrival angle using AoA. [Diagram 5] 11 is an explanatory diagram for explaining a change in an elevation angle and an azimuth angle when the context is "walking." FIG. [Figure 6] FIG. 13 is an explanatory diagram for explaining the manner in which the elevation angle and the azimuth angle change when the context is “falling over.” [Figure 7] 11 is an explanatory diagram for explaining the manner in which the elevation angle and the azimuth angle change when the context is "standing up." FIG. [Figure 8] 11 is an explanatory diagram for explaining a change in an elevation angle and an azimuth angle when the context is "sleep". FIG. [Figure 9] FIG. 2 is an explanatory diagram for explaining a method for creating time-series data, etc. [Figure 10] FIG. 2 is an explanatory diagram for explaining a test environment, etc. [Figure 11] FIG. 1 is a schematic perspective view showing a test environment. [Figure 12] FIG. 11 is an explanatory diagram for explaining a method for acquiring data at different sampling rates in a test. [Figure 13] 13 is a graph showing the average context estimation accuracy for each learning model when the sampling rate is 40 times per second. [Figure 14] 13 is a graph showing the average context estimation accuracy for each learning model when the sampling rate is 20 times per second. [Figure 15] 13 is a graph showing the average context estimation accuracy for each learning model when the sampling rate is 10 times per second. [Figure 16] 13 is a graph showing the average context estimation accuracy for each learning model when the sampling rate is set to 5 times per second. [Figure 17] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 40 times per second and statistical data is used. [Figure 18] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 20 times per second and statistical data is used. [Figure 19] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 10 times per second and statistical data is used. [Figure 20] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 5 times per second and statistical data is used. [Figure 21] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 40 times per second and time series data is used. [Figure 22] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 20 times per second and time series data is used. [Figure 23] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 10 times per second and time series data is used. [Figure 24] FIG. 13 is a table showing a confusion matrix when a sampling rate is set to 5 times per second and time series data is used. [Diagram 25] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 40 times per second and statistical data is used. [Figure 26] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 20 times per second and statistical data is used. [Figure 27] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 10 times per second and statistical data is used. [Figure 28] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 5 times per second and statistical data is used. [Figure 29] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 40 times per second and time series data is used. [Diagram 30] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 20 times per second and time series data is used. [Diagram 31] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 10 times per second and time series data is used. [Diagram 32] FIG. 13 is a table showing evaluation indexes when a sampling rate is set to 5 times per second and time series data is used. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] An embodiment will be described below with reference to the drawings. As shown in Fig. 1, a context estimation system 1 in this embodiment is for automatically grasping the situation of a user X located in a room 100 such as a living room of a house, and estimates the context of the user X in the room 100 (the situation of the user X and events that have occurred to the user X) and executes a response according to the estimation result. As shown in Figs. 1 and 2, the context estimation system 1 includes a display and input device 2, a beacon tag 3, an antenna array 4, and a data processing system 5.

[0024] The display and input device 2 includes, for example, a touch panel and has a function of displaying the context estimation result and information stored in the data processing system 5, and a function of inputting information to the data processing system 5. By using the display and input device 2, it is possible to check whether the context estimation result is normal or not and to change settings related to the context estimation, etc.

[0025] The beacon tag 3 is a small communication device that wirelessly transmits a predetermined signal at regular intervals (e.g., 20 ms). In this embodiment, the beacon tag 3 performs broadcast communication and uses Bluetooth (registered trademark) Low Energy, a Bluetooth (registered trademark) standard, as a communication protocol. The beacon tag 3 transmits an advertising packet as the predetermined signal. The advertising packet includes information (referred to as "ID information") for identifying each individual beacon tag 3.

[0026] The beacon tag 3 is attached to the user X. In this embodiment, the beacon tag 3 is hung around the neck of the user X and is configured to be detachable from the user X. It is preferable to attach the beacon tag 3 to a relatively high position on the user X's body (the waist or a part above the waist (e.g., chest or head)). The beacon tag 3 may also be attached to clothing, a hat, glasses, etc.

[0027] In addition, the beacon tag 3 operates using a small button battery as a power source. By utilizing the Bluetooth (registered trademark) standard (particularly Bluetooth (registered trademark) Low Energy), the beacon tag 3 can operate continuously for a long period of time (for example, about one year) using a button battery with a relatively small capacity as a power source.

[0028] The antenna array 4 is a device including a receiver 41 that receives signals transmitted from the beacon tags 3, and an angle calculation unit 42 that calculates the elevation angle and azimuth angle of the beacon tags 3 relative to the receiver 41 based on the signals received by the receiver 41. Note that the "elevation angle" mentioned here includes not only an upward angle based on the horizontal, but also a downward angle (i.e., depression angle). In this embodiment, the receiver 41 constitutes the "receiving means", and the angle calculation unit 42 constitutes the "angle calculation means". The antenna array 4 in this embodiment is a device in which the receiver 41 and the angle calculation unit 42 are integrated.

[0029] The receiving unit 41 is an antenna arranged on the side of the user X's activity area (in the room 100 in this embodiment) toward the activity area (in the present embodiment, the center of the activity area). The receiving unit 41 is configured by regularly arranging a plurality of (five in this embodiment) antenna elements 41a on a plane. The receiving unit 41 in this embodiment includes a row of antenna elements 41a arranged at equal intervals along the vertical direction, and a row of antenna elements 41a arranged at equal intervals along the horizontal direction. The receiving unit 41 may include a plurality of antenna elements 41a arranged in the vertical and horizontal directions, and the number and arrangement of the antenna elements 41a may be appropriately changed. For example, the receiving unit 41 may include a plurality of antenna elements 41a arranged at equal intervals along both the vertical and horizontal directions (see FIG. 3).

[0030] The angle calculation unit 42 is configured by a predetermined microcomputer chip, and is provided, for example, on the back surface of the receiving unit 41 (the surface behind the surface on which the antenna element 41a is provided). The angle calculation unit 42 calculates the elevation angle and azimuth angle of the beacon tag 3 with respect to the receiving unit 41 by using a direction detection function of the Bluetooth (registered trademark) standard, which is a function using Angle of Arrival (AoA). More specifically, since the distances from the beacon tag 3 to the antenna elements 41a are different, each antenna element 41a receives a signal with a different phase. As shown in FIG. 4, AoA is a method of calculating the arrival angle θ of a signal based on the phase difference φ of the signal received by each antenna element 41a, the wavelength λ of the signal, and the distance d between the antenna elements 41a. The arrival angle θ can be calculated from the following formula 1.

[0031]

number

[0032] The angle calculation unit 42 prestores an angle calculation algorithm using AoA, and calculates the elevation angle and azimuth angle of the beacon tag 3 relative to the receiving unit 41 using this angle calculation algorithm. The calculated elevation angle and azimuth angle are sent to the data processing system 5. When multiple beacon tags 3 are provided, the angle calculation unit 42 calculates the elevation angle and azimuth angle for each beacon tag 3 using ID information included in the transmission signal from the beacon tag 3.

[0033] The calculated elevation angle and azimuth angle have the following characteristics depending on the context of user X. That is, as shown in Fig. 5, when the context of user X is "walking", the height of the beacon tag 3 is almost constant, so the elevation angle is maintained almost constant at a relatively high value. On the other hand, since the beacon tag 3 moves horizontally, the azimuth angle changes over time. In Fig. 5 etc., the elevation angle data is indicated by a thick line, and the azimuth angle data is indicated by a thin line.

[0034] 6, when the context of user X is "falling", the height of the beacon tag 3 decreases in a relatively short time and then remains almost constant, so the elevation angle decreases in a relatively short time and then remains almost constant. Also, the beacon tag 3 moves horizontally and then stops, so the azimuth angle changes over time and then remains almost constant.

[0035] 7, when the context of user X is "standing" (standing state), the beacon tag 3 is maintained at a relatively high position, so the elevation angle is maintained approximately constant at a relatively high value. Also, the beacon tag 3 hardly moves in the horizontal direction, so the azimuth angle is maintained approximately constant.

[0036] In addition, as shown in Fig. 8, when the context of user X is "sleep" (lying down), the beacon tag 3 is maintained at a relatively low position, so the elevation angle is maintained almost constant at a relatively low value. Also, the beacon tag 3 hardly moves in the horizontal direction, so the azimuth angle is maintained almost constant.

[0037] The beacon tag 3 and the antenna array 4 may be, for example, "XPLR-AOA-1" (product name) manufactured by u-blox. "XPLR-AOA-1" is a product including "C209" (product name) functioning as the beacon tag 3 and "C211" (product name) functioning as the antenna array 4. "C209" functioning as the beacon tag 3 is equipped with a NINA-B406 Bluetooth (registered trademark) LE module, and "C211" functioning as the antenna array 4 is equipped with a NINA-B411 Bluetooth (registered trademark) LE module. The angle calculation unit 42 can be configured by a microcomputer chip incorporated in the NINA-B411 Bluetooth (registered trademark) LE module. The above-mentioned angle calculation algorithm calculates the elevation angle and azimuth angle of the beacon tag 3 relative to the receiver 41 using "u-connectLocate software" provided by u-blox.

[0038] The data processing system 5 is a system that executes various processes on the elevation angle and azimuth angle calculated by the angle calculation unit 42, and performs operations according to the process results. The data processing system 5 is composed of a computer including a CPU (Central Processing Unit) that executes predetermined arithmetic processing, a ROM (Read Only Memory) that stores various programs and fixed value data, a RAM (Random Access Memory) that temporarily stores various data when executing various arithmetic processing, a storage device for storing information, and peripheral circuits for these.

[0039] 2, the data processing system 5 includes a time-series data creation unit 51, a statistical data creation unit 52, a context estimation unit 53, and an alarm unit 54. In this embodiment, the context estimation unit 53 constitutes a "context estimation means." Note that the various functions of the time-series data creation unit 51, the statistical data creation unit 52, the context estimation unit 53, and the alarm unit 54 are realized by cooperation between the various hardware components such as the CPU, ROM, and RAM and software pre-stored in the storage device.

[0040] The time series data creation unit 51 sequentially stores the elevation angles and azimuth angles calculated by the angle calculation unit 42 in the storage device, and creates time series data of the elevation angles and azimuth angles from the stored data of both angles. More specifically, the time series data creation unit 51 extracts data for a certain period within a predetermined time window from the stored data of both angles, and creates time series data of the elevation angles and azimuth angles from the extracted data, by repeatedly performing this process while shifting the time window by a predetermined time S, thereby creating multiple time series data of the elevation angles and azimuth angles (see FIG. 9). The time series data indicates the changes over time of the elevation angles and azimuth angles, and at least a part of the data of the elevation angles and azimuth angles that constitute the time series data is common to a part of the data of the elevation angles and azimuth angles that constitute other time series data. The created time series data is stored in the storage device and sent to the statistical data creation unit 52.

[0041] The statistical data creation unit 52 creates statistical data based on the time series data of the elevation angle and the azimuth angle created by the time series data creation unit 51. More specifically, the statistical data creation unit 52 calculates and creates the average value and variance of the time series data of the azimuth angle based on the time series data of the azimuth angle created by the time series data creation unit 51. Also, the statistical data creation unit 52 calculates and creates the average value and variance of the time series data of the elevation angle based on the time series data of the elevation angle created by the time series data creation unit 51. The statistical data (average value and variance) are calculated and created for each individual time series data. Therefore, based on a plurality of "time series data of the azimuth angle", statistical data (average value and variance) related to the same number of azimuth angles as the time series data is calculated and created, and based on a plurality of "time series data of the elevation angle", statistical data (average value and variance) related to the same number of elevation angles as the time series data is calculated and created. The created statistical data is stored in the storage device and is sent to the context estimation unit 53.

[0042] The context estimation unit 53 uses a learning model generated by learning statistical data (average and variance) as feature values ​​to estimate the context of the user X, distinguishing at least between "falling", "walking", "standing" and "sleeping". As described above, when the context of "falling", "walking", "standing" or "sleeping" occurs, the elevation angle and azimuth angle have features according to the type of context (see Figs. 6 to 9), so that the time series data and the statistical data based on the time series data also have features according to the type of context. Therefore, by using a learning model generated by learning statistical data (average and variance) as feature values, the context estimation unit 53 can distinguish at least between "falling", "walking", "standing" and "sleeping".

[0043] In this embodiment, the context estimation unit 53 estimates the context of the user X by using a learning model that is pre-constructed using a random forest.

[0044] Ensemble learning using random forests can be used to generate a learning model. Ensemble learning is a method for constructing a classifier that performs highly accurate classification by integrating the classification results of multiple weak classifiers.

[0045] To generate a learning model, first, multiple training data are created by sampling using the bootstrap method from previously acquired statistical data (average and variance). Furthermore, for each training data, features to be used when creating a decision tree (regression tree) by machine learning are randomly selected. When performing machine learning, there is no limit to the depth of the decision tree.

[0046] Then, a learning model is generated by constructing multiple decision trees as weak classifiers by machine learning from each feature in each training data. The generated learning model (information related to the multiple decision trees constructed) is stored in the storage device.

[0047] The context estimation unit 53 inputs the statistical data (average value and variance) created by the statistical data creation unit 52 into the learning model. Then, based on the majority vote of the estimation results by the decision tree, the context estimation unit 53 estimates the context of the user X by distinguishing between "falling," "walking," "standing," and "sleeping," and outputs one of these as the estimation result. Here, when multiple beacon tags 3 are provided, that is, when there are multiple users X, the context estimation unit 53 estimates the context for each beacon tag 3 (user X) by using the "ID information" transmitted from the beacon tag 3.

[0048] The learning model is not limited to the one configured using the random forest. Therefore, the learning model may be, for example, a neural network, a decision tree, a logistic regression, or a k-nearest neighbor method (kNN).

[0049] Furthermore, the context estimation unit 53 may estimate the context of the user X by using a learning model generated by learning time-series data as feature values ​​instead of statistical data. As described above, since the time-series data has features according to the type of context, even when using a learning model generated by learning time-series data as feature values, it is possible to distinguish between "falling", "walking", "standing" and "sleeping" and estimate.

[0050] The creation of time series data by the time series data creation unit 51, the creation of statistical data by the statistical data creation unit 52, and each process related to the estimation of context by the context estimation unit 53 are performed when a predetermined condition is satisfied. Examples of the predetermined condition include a predetermined time having elapsed since the previous processing time, and a predetermined number or more of data on the elevation angle and azimuth angle calculated by the angle calculation unit 42 (stored in the storage device) compared to the previous processing time. Of course, conditions other than the above may be adopted as the predetermined condition.

[0051] The notification unit 54 notifies the user X's context to the outside by transmitting information related to the estimation result by the context estimation unit 53 to a terminal device 200 (e.g., a smartphone) carried by a related person of the user X outside the room 100. In this embodiment, when the context estimation unit 53 estimates "fall" as the context, that is, when an event that may correspond to an emergency for the user X is estimated, the notification unit 54 transmits information related to the estimation result to the terminal device 200 and notifies the outside of the occurrence of the "fall". This allows the related person of the user X to quickly know the occurrence of the "fall" and to take appropriate measures against the "fall" early.

[0052] Note that the device may be configured to be able to notify a context other than "fall" to the outside. In this case, the manner of notification to the outside may be different between when "walking", "standing" or "lying down" is estimated and when "fall" is estimated. The device may also be configured to be able to arbitrarily select the context to be notified to the outside using the display and input device 2. Furthermore, a device other than the terminal device 200 may be used to notify the result of the estimated context to the outside.

[0053] As described above in detail, according to this embodiment, the context of the user X can be estimated by a relatively simple system. Therefore, the introduction cost of the context estimation system 1 can be reduced.

[0054] In addition, since the beacon tag 3 is attached to the user X, if the user X removes the beacon tag 3, the context of the user X cannot be estimated. In other words, the user X can switch between wearing and not wearing the beacon tag 3 to switch between being able to estimate the context and not being able to estimate the context. This, combined with the fact that the system does not use a camera, can ensure the privacy protection of the user X. In addition, the psychological burden on the user X when using the system can be reduced.

[0055] Furthermore, in this embodiment, the contexts of multiple users X can be estimated individually, and the accuracy of the context estimation can be improved. Also, the context estimation system 1 can be applied to a room shared by multiple users X, and therefore convenience can be improved.

[0056] In addition, since the system can distinguish and estimate at least four types of contexts, namely, "falling," "walking," "standing," and "sleeping," it can take appropriate action according to the type of context, thereby further improving convenience.

[0057] In addition, in this embodiment, the elevation angle and azimuth angle are calculated using a direction detection function of the Bluetooth (registered trademark) standard, which is a function that uses AoA. Therefore, the elevation angle and azimuth angle can be calculated with high accuracy using a relatively simple method, and good estimation accuracy related to the context can be obtained more reliably.

[0058] Furthermore, by using the Bluetooth (registered trademark) standard (particularly Bluetooth (registered trademark) Low Energy), the beacon tag 3 can be operated with extremely low power. Therefore, a small button battery or the like can be used as the power source for the beacon tag 3, and as a result, the beacon tag 3 can be made smaller. In addition, the frequency of troublesome power-related tasks (e.g., battery replacement, etc.) required for continuous use of the beacon tag 3 can be reduced. These combined effects can extremely effectively improve usability for the user X.

[0059] In addition, a learning model constructed using random forest is used, so the accuracy of the context estimation can be improved.

[0060] Next, in order to confirm the effects achieved by the above embodiment, a test was carried out to confirm the accuracy of the context estimation.

[0061] 10 and 11, five observation points P1, P2, P3, P4, and P5 (hereinafter referred to as observation points P1 to P5) were provided in a 6.0 m x 6.0 m verification area KA, and the antenna array 4 was installed facing the center of the verification area KA (i.e., observation point P3). The height of the antenna array 4 was 1.0 m, and the sampling rate of the antenna array 4 was 40 times per second (i.e., 40 pieces of data related to azimuth angles and elevation angles were obtained per second).

[0062] Then, within the verification area KA, a person (virtual user) wearing a beacon tag 3 around his neck, corresponding to user X, "walked," and at each of the observation points P1 to P5, the virtual user "fell," "stood," or "slept." In this test, seven virtual users of different heights "fell," "walked," "stood," or "slept" a total of 560 times each, and a total of 2240 (=560×4) pieces of data related to elevation angles and azimuth angles were obtained.

[0063] In this test, "walking" refers to walking around within the verification area KA, and "falling" refers to falling and lying down on the air beds installed at the observation points P1 to P5. "Standing" refers to standing up at the observation points P1 to P5, and "sleeping" refers to lying down on the air beds installed at the observation points P1 to P5. The height of the air beds is approximately 20 cm.

[0064] In addition, for the actions of “falling down,” “standing up,” and “lying down,” the orientation and falling direction of virtual user X (user direction: see FIG. 10) were set to eight different directions, and the actions of “falling down,” “standing up,” and “lying down” were performed in each of these eight directions.

[0065] Next, from the acquired data, time series data of the elevation angle and azimuth angle, and statistical data based on the time series data were calculated. In calculating the time series data, the size (time length) of the time window was set to 2 seconds. This is because the time it takes for a "fall" to occur is approximately 2 seconds.

[0066] As described above, the sampling rate of the antenna array 4 is set to 40 times per second, so one piece of time-series data (two seconds worth of data) includes 80 pieces of elevation angle data and 80 pieces of azimuth angle data. Therefore, one piece of time-series data includes 160 explanatory variables and one objective variable (context type). In addition, one piece of statistical data includes the average value and variance of the azimuth angle time-series data and the average value and variance of the elevation angle time-series data, so it includes four explanatory variables and one objective variable.

[0067] Furthermore, in this test, in order to evaluate the case where the sampling rate of the antenna array 4 is set to 20, 10 or 5 times per second, data of elevation angles and azimuth angles obtained at a sampling rate of 40 times per second was extracted to create data of elevation angles and azimuth angles obtained at a sampling rate of 20, 10 or 5 times per second. Data for the sampling rate of 20, 10 or 5 times per second was created by extracting every 1st, 3rd or 7th data from the data obtained at a sampling rate of 40 times per second (see FIG. 12).

[0068] Then, from the data of the elevation angle and the azimuth angle when the sampling rate was set to 20 times, 10 times, or 5 times per second, time series data of the azimuth angle and the elevation angle and statistical data based on the time series data were created. As a result, the time series data and statistical data (i.e., a total of eight types of data sets) when the sampling rate was set to 40 times, 20 times, 10 times, or 5 times per second were finally obtained.

[0069] Next, each of the eight acquired data sets was evaluated using five-fold cross-validation (K-fold cross-validation (K=5)) and the hold-out method.

[0070] That is, in performing the evaluation using the 5-fold cross-validation method, first, 80% of the acquired dataset was used as learning data, and 20% of the acquired dataset was used as evaluation data, so that a total of 5 sets of datasets were prepared. Then, for each prepared dataset, a learning model was generated based on the learning data using random forest, neural network, decision tree, logistic regression, k-nearest neighbor method, SVM (Support Vector Machine), linear discriminant, or AdaBoost. Then, the generated learning model was used to estimate the context using the evaluation data, and the average estimation accuracy (the average value of the 5 estimation accuracy obtained from the 5 sets of datasets) was calculated.

[0071] In addition, when performing evaluation using the hold-out method, first, 80% of the acquired data set was used as training data, and 20% of the acquired data set was used as evaluation data. Then, based on the training data, a learning model was generated using random forest, neural network, decision tree, logistic regression, k-nearest neighbor method, SVM, linear discrimination, or Adaboost. Then, using the generated learning model, context was estimated using the evaluation data, and a confusion matrix and evaluation index were obtained.

[0072] The confusion matrix classifies the estimation results for the evaluation data from four perspectives: true positive (TP), true negative (TN), false positive (FP), and false negative (FN), and summarizes the estimation results for each. In addition, precision, recall, and F-score (f1-score) were calculated as evaluation indices. Precision can be calculated by the formula TP / (TP+FP), and recall can be calculated by the formula TP / (TP+FN). F-score is the harmonic mean of precision and recall, and can be calculated by the formula (2×precision×recall) / (precision+recall).

[0073] This test was conducted on the roof of a building, an environment where there were relatively few objects around the antenna array 4. Machine learning was performed using scikit-learn, a Python machine learning library. Default parameters were used in the machine learning.

[0074] Figures 13 to 16 show the evaluation results using the 5-fold cross-validation method. Figures 13 to 16 show the average estimation accuracy (average accuracy rate) of the context by each learning model when the sampling rate is 40, 20, 10, or 5 times per second. In Figures 13 to 16, the average estimation accuracy when statistical data is used is shown in black, and the average estimation accuracy when time series data is used is shown in white.

[0075] Furthermore, the evaluation results using the hold-out method are shown in Figures 17 to 24. Figures 17 to 20 respectively show confusion matrices when statistical data is used, and Figures 21 to 24 respectively show confusion matrices when time-series data is used.

[0076] 25 to 32 also show evaluation indices (such as precision) when statistical data or time-series data is used.

[0077] 13 to 32, it was confirmed that better estimation accuracy was obtained when statistical data was used compared to when time-series data was used. Therefore, in terms of improving the estimation accuracy of the context, it is more preferable to use a learning model generated by learning statistical data as feature values.

[0078] Furthermore, it was found that a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method could provide good context estimation accuracy. It was also confirmed that a learning model constructed using logistic regression could provide good estimation accuracy when statistical data was used.

[0079] In addition, it has been revealed that when a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method is used, a high estimation accuracy can be obtained even when the sampling rate is set to 10 or 5 times per second. Therefore, from the viewpoint of reducing the power consumption of the beacon tag 3 and reducing the processing load of the angle calculation unit 42 while maintaining a good estimation accuracy, it is preferable to set the signal sampling rate of the antenna array 4 (receiving unit 41) to 10 times per second or less while using a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method. Note that lowering the sampling rate means that the signal transmission interval of the beacon tag 3 can be made relatively long while maintaining a good estimation accuracy, and from this point of view, it is possible to reduce the power consumption of the beacon tag 3 as described above. For example, when the sampling rate is set to 10 times per second, it is possible to extend the signal transmission interval of the beacon tag 3 from the above-mentioned 20 ms to 100 ms while maintaining a good estimation accuracy, and thus the power consumption of the beacon tag 3 can be reduced to 1 / 5 by simple calculation.

[0080] The present invention is not limited to the above-described embodiment, and may be implemented as follows: Of course, other applications and modifications not exemplified below are also possible.

[0081] (a) In the above embodiment, the angle calculation unit 42 calculates the elevation angle and azimuth angle of the beacon tag 3 relative to the receiving unit 41 using a direction detection function of the Bluetooth (registered trademark) standard that uses AoA. In contrast, the angle calculation unit 42 may calculate the elevation angle and azimuth angle of the beacon tag 3 relative to the receiving unit 41 using a direction detection function of the Bluetooth (registered trademark) standard that uses Angle of Departure (AoD).

[0082] In this case, the beacon tag 3 is equipped with multiple antenna elements for transmitting signals. Meanwhile, the receiver 41 can be configured with one antenna element 41a. Since the distances from each antenna element of the beacon tag 3 to the receiver 41 are different, the receiver 41 receives signals with different phases. AoD is a method for calculating the arrival angle θ of a signal based on the phase difference φ of the signal received by the receiver 41, the wavelength λ of the signal, and the distance d between the antenna elements. The arrival angle θ can be calculated from the following formula 2.

[0083]

number

[0084] (b) In the above embodiment, the contexts can be estimated by distinguishing between “falling”, “walking”, “standing” and “sleeping”, but it may be configured to be able to estimate at least only “falling”.

[0085] Other contexts may also be estimated. For example, contexts such as "standing up" and "sitting down" may be estimated. Furthermore, for "walking," information including the direction of movement of user X (i.e., "walking from right to left" or "walking from right to left") may be estimated as a context.

[0086] (c) In the above embodiment, the context estimation system 1 is used to grasp the situation of the user X located in the room 100, but the context estimation system may be used for other purposes. For example, the context estimation system may be used for labor management of employees in a factory or the like.

[0087] (d) The context estimation system 1 may have a function of measuring the duration of "walking," "standing," or "sleeping" estimated as the context of the user X. This function can be realized, for example, by measuring the duration based on the number of consecutive occurrences of the same estimation result. By making it possible to measure the duration of the context, it becomes possible to take measures according to the duration. For example, when the duration of "sleeping" is measured to be equal to or longer than a predetermined time, it becomes possible to take measures such as notifying the outside of that fact. Therefore, it is possible to further improve convenience.

[0088] (e) It may be possible to determine whether user X is present or absent based on the signal output from the beacon tag 3. This function can be realized, for example, by determining whether user X is present or absent based on the length of the period during which the receiver 41 does not receive the signal output from the beacon tag 3.

[0089] (f) In the above embodiment, the average value and the variance are used as the statistical data, but only one of the average value and the variance may be used. Also, data other than the average value and the variance (such as the median) may be used as the statistical data. [Explanation of symbols]

[0090] 1...context estimation system, 3...beacon tag, 41...receiving unit (receiving means), 42...angle calculation unit (angle calculation means), 53...context estimation unit (context estimation means).

Claims

1. A context inference system for inferring a context of a user, comprising: a beacon tag attached to the user and capable of wirelessly transmitting a predetermined signal; a receiving means capable of receiving the signal transmitted from the beacon tag; An angle calculation means for calculating an elevation angle and an azimuth angle of the beacon tag relative to the receiving means from the signal received by the receiving means; and a context estimation means capable of estimating the context of the user by using a learning model generated by learning time series data of the elevation angle and azimuth angle, or statistical data based on the time series data, as feature values.

2. The context estimation system according to claim 1 , wherein the context estimation means is configured to be able to estimate at least "falling" as the context of the user.

3. 2. The context estimation system according to claim 1, wherein the context estimation means is configured to be able to distinguish and estimate at least "falling," "walking," "standing," and "sleeping" as the user's context.

4. 2. The context estimation system according to claim 1, wherein the angle calculation means is configured to calculate the elevation angle and azimuth angle of the beacon tag relative to the receiving means by using a direction detection function of the Bluetooth (registered trademark) standard, which is a function that utilizes Angle of Arrival (AoA) or Angle of Departure (AoD).

5. The context estimation system according to claim 1, characterized in that the context estimation means is configured to be able to estimate the user's context by using a learning model constructed using a random forest, a neural network, a decision tree, or a k-nearest neighbor method.

Citation Information

Patent Citations

  • Behavior estimation device, behavior estimation method and behavior estimation program

    JP2017164376A

  • Motion estimating device and motion estimating program

    JP2019025134A

  • Method, apparatus, and system for wireless sensing, monitoring, and recognition

    JP2021133252A

  • Moving state detecting system and moving state detector

    JP2001327549A