The present invention relates to a state detection method and the like.
In recent years, motion sensors are used for detecting behaviors in daily life. A technique for comparing detection data with a threshold of learning data obtained in advance for each behavior and detecting a behavior of a subject is known in relation to the motion sensor (for example, Non Patent Document 1).
Non Patent Document 1: O. D. Lara et al., “A Survey on Human Activity Recognition using Wearable Sensors”, IEEE Communications Survey & Tutorials, vol. 15, no. 3, pp. 1192-1209, 2013
However, in a conventional behavior detection technique, there is a problem that it is difficult to detect a behavior depending on the situation of a subject when detecting the behavior of the subject. That is, when the situation of a subject is the same as that during learning, by comparing the detection data with the threshold obtained by learning, it is possible to detect the behavior. However, when the situation of the subject is different from that during learning, there is a possibility that an error occurs in the behavior detection or the behavior is not detected.
Here, a human behavior changes depending on a growth phase such as children, adults, and elderly people. The human behavior changes depending on a physical condition, a time period, and a recovery phase of an illness even if the behavior is of the same person. As an example, when a person has a back injury, the behavior such as walking or sitting is slower than when the person does not have a back injury. As another example, immediately after a person is discharged from a hospital, since the body does not move as intended, the behavior is slow. As described above, when the situation of the subject is different from that during learning, there is a possibility that an error occurs in the behavior detection or the behavior is not detected.
According to one aspect of the embodiments, a state detection method includes: storing first information obtained from a first sensor and second information obtained from a second sensor in a predetermined segment in a storage, by a processor; specifying a behavior segment indicating a segment in which a subject performs a specific behavior and a non-behavior segment indicating a segment in which the subject does not perform the specific behavior using the second information stored in the storage, by the processor; determining a feature amount to be used for detecting a specific state of the subject using respective values of a plurality of feature amounts included in the first information stored in the storage in each of the behavior segment and the non-behavior segment and determining a threshold value for the determined feature amount, for distinguishing a behavior and a non-behavior, by the processor; and detecting the specific state of the subject from the information obtained from the first sensor using the determined feature amount and the determined threshold value, by the processor.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
Hereinafter, embodiments of a state detection method, a state detection device, and a state detection program disclosed in the present application will be described in detail with reference to the drawings. The present invention is not limited to these embodiments. Moreover, a segment in embodiments indicates a segment on a time axis.
[Configuration of State Detection Device]
The closed environment space mentioned herein indicates a residential environment space, for example, and the closed environment space may be a space in which it is possible to understand the number of persons present in the space using data obtained from environment sensors. Hereinafter, a case in which the closed environment space is a residential environment space will be described.
The environment sensor mentioned herein is a sensor that measures a surrounding environment, a sensor that measures the state of an installed object itself, and a sensor that measures the state of an entire residential environment. The sensor that measures the surrounding environment may be, for example, a luminance sensor, a lighting sensor, a thermo sensor, a temperature sensor, a thermal bubble sensor, a lighting sensor, an electricity sensor, and a human sensor, but is not limited to this. The sensor that measures an installed object itself may be, for example, a blind sensor, a door sensor, a bed sensor, and a window sensor, but is not limited to this. The sensor that measures the state of the entire residential environment may be, for example, a water consumption sensor, an electricity consumption sensor, and a gas consumption sensor, but is not limited to this.
The motion sensor mentioned herein is a sensor that measures a motion of a person and may be an acceleration sensor or a gyro sensor, for example, but is not limited to this.
Here, the flow of a state detection process of the state detection device 1 will be described with reference to
As illustrated at the center of
As illustrated on the right side of
Returning to
The storage unit 20 corresponds to a storage device of a nonvolatile semiconductor memory such as a flash memory or ferroelectric random access memory (FRAM) (registered trademark), for example. The storage unit 20 includes a data recording database (DB) 21 and a threshold value DB 22. The data obtained from the environment sensors and the data obtained from the motion sensor are stored in the data recording DB 21 in a time-series order. The respective items of data are recorded in the data recording DB 21 by a data recording unit 12 to be described later. A data structure of the data recording DB 21 will be described later.
A threshold value and a feature amount are stored in the threshold value DB 22. The threshold value and the feature amount are recorded in the threshold value DB 22 by a threshold value determining unit 14 to be described later. When the state detection device 1 detects behaviors of a plurality of behavior types, the threshold value and the feature amount of each behavior type may be stored in the threshold value DB 22.
The control unit 10 includes an internal memory for storing a program and control data that define various processing procedures and executes various processes using the program and the control data. The control unit 10 corresponds to an electronic circuit of an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). Alternatively, the control unit 10 corresponds to an electronic circuit such as a central processing unit (CPU) or a micro processing unit (MPU). Furthermore, the control unit 10 includes a data receiving unit 11, a data recording unit 12, a segment specifying unit 13, a threshold value determining unit 14, and a behavior detection unit 15.
The data receiving unit 11 receives the data obtained from the environment sensors and the data obtained from the motion sensor.
The data recording unit 12 records various items of data received by the data receiving unit 11 in the data recording DB 21. The data recording unit 12 records various items of data for a predetermined segment in the data recording DB 21. The predetermined segment is one day, for example, but is not limited to this and may be a half day or a ¾ day. That is, the predetermined segment may be a segment in which a threshold value can be determined. Hereinafter, a case in which the predetermined segment is one day will be described. Here, the data structure of the data recording DB 21 will be described with reference to
As illustrated in
The event number 21a is a number assigned to each event. The event number 21a is assigned with a serial number such that the earlier an event, the smaller the event number. The acquisition time 21b is a time point at which an event corresponding to the event number 21a was acquired. The motion sensor value (the acceleration on the vertical axis) 21c is a value of an acceleration sensor attached to the waist of a user, for example, and is a value of acceleration on the vertical axis. The acceleration on the vertical axis expressed by the motion sensor value mentioned herein is an example of a feature amount. Although the acceleration value on the vertical axis is mentioned as an example of the motion sensor value, the motion sensor value is not limited to this and may be an amplitude value of an acceleration in a horizontal direction or may be an amplitude value on each axis of a gyro sensor.
The human sensor values 21d and 21e are OFF (0), for example, when no person is detected and are ON (1), for example, when a person is detected. The human sensor value 21d is the data of an environment sensor installed in the room “a”, for example, included in the residential environment space used when determining the threshold value. The human sensor value 21e is the data of an environment sensor installed in the room “b”, for example, included in the residential environment space used when determining the threshold value. The human sensor values 21d and 21e are examples of the environment sensor data installed in the rooms “a” and “b”, and the environment sensor data is not limited to this. The environment sensor value may be set according to the environment sensor installed in the room “a”. The environment sensor value may be set according to the environment sensor installed in the room “b”. Moreover, the environment sensor data is not limited to the data of the environment sensor installed in the room “a” and the data of the environment sensor installed in the room “b” but may be the data of an environment sensor installed in a room included in the residential environment space.
Returning to
The threshold value determining unit 14 determines a feature amount and a threshold value used for detecting walking of a subject using the respective values of the respective feature amounts of the motion sensor stored in the data recording DB 21 in the behavior segment and the non-behavior segment. For example, the threshold value determining unit 14 extracts the data in the behavior segment from the respective values of the respective feature amounts of the motion sensor stored in the data recording DB 21 as positive example data. The threshold value determining unit 14 extracts the data in the non-behavior segment from the respective values of the respective feature amounts of the motion sensor stored in the data recording DB 21 as negative example data. Moreover, the threshold value determining unit 14 generates a feature amount distribution of the positive example and a feature amount distribution of the negative example for the respective feature amounts from the positive example data and the negative example data of the respective feature amounts according to a machine learning algorithm. The threshold value determining unit 14 determines a feature amount for distinguishing the feature amount distribution of the positive example from the feature amount distribution of the negative example and determines a threshold value for distinguishing behaviors from non-behaviors with respect to the determined feature amount. The threshold value determining unit 14 records the determined threshold value and the determined feature amount in the threshold value DB 22. In this way, the threshold value determining unit 14 can determine a threshold value depending on the current situation of the subject using the latest one-day data stored in the data recording DB 21.
The behavior detection unit 15 detects walking of the subject using the threshold value and the feature amount stored in the threshold value DB 22 from the information obtained from the motion sensor. In this way, the behavior detection unit 15 can detect walking as a behavior type depending on the current situation of the subject.
[Flowchart of State Detection Process]
Next, an example of a processing procedure of the state detection process according to the first embodiment will be described with reference to
First, upon acquiring new one-day data (that is, the data obtained from environment sensors and the data obtained from the motion sensor) (step S11), the data receiving unit 11 records the acquired data in the data recording DB 21.
The behavior detection unit 15 detects the behavior of the subject using the feature amount and the threshold value stored in the threshold value DB 22 from the data obtained from the motion sensor (step S12).
The data recording unit 12 determines whether one-day data has been acquired (step S13). When it is determined that one-day data has not been acquired (step S13: No), the data recording unit 12 proceeds to step S11 in order to acquire new data.
On the other hand, when it is determined that one-day data has been acquired (step S13: Yes), the segment specifying unit 13 specifies a behavior segment and a non-behavior segment of the subject from the environment sensor data stored in the data recording DB 21 (step S14). For example, the segment specifying unit 13 specifies a period between a time point at which the human sensor values changes from OFF (0) to ON (1) and a time point at which the human sensor value changes from ON (1) to OFF (0) as a behavior segment using the human sensor values stored in the data recording DB 21. The segment specifying unit 13 specifies a period between a time point at which the bed sensor value changes from OFF (0) to ON (1) and a time point at which the human sensor value changes from ON (1) to OFF (0) as a non-behavior segment using the bed sensor values stored in the data recording DB 21.
Subsequently, the threshold value determining unit 14 extracts a feature amount from the motion sensor data stored in the data recording DB 21 in the behavior segment and the non-behavior segment specified by the segment specifying unit 13 (step S15). The motion sensor data mentioned herein means the motion sensor values stored in the data recording DB 21.
The threshold value determining unit 14 determines an appropriate feature amount and a threshold value thereof from the extracted feature amounts according to a machine learning algorithm (step S16). For example, the threshold value determining unit 14 extracts the behavior segment data as positive example data from the respective values of the respective feature amounts of the motion sensor stored in the data recording DB 21. The threshold value determining unit 14 extracts the non-behavior segment data as negative example data from the respective values of the respective feature amounts of the motion sensor stored in the data recording DB 21. The threshold value determining unit 14 generates a positive example feature amount distribution and a negative example feature amount distribution for the respective feature amounts from the positive example data and the negative example data of the respective feature amounts according to the machine learning algorithm. The threshold value determining unit 14 determines a feature amount for distinguishing the positive example feature amount distribution from the negative example feature amount distribution and determines a threshold value for the determined feature amount, for distinguishing behaviors from non-behaviors.
Subsequently, the threshold value determining unit 14 adds the feature amount and the threshold value for each behavior type to the threshold value DB 22 (step S17). The threshold value determining unit 14 determines whether all behavior types have been processed (step S18). When it is determined that all behavior types have not be processed (step S18: No), the threshold value determining unit 14 proceeds to step S14 so that a non-processed behavior type is processed.
On the other hand, when it is determined that all behavior types have been processed (step S18: Yes), the threshold value determining unit 14 proceeds to step S11 so that the next one-day data is processed.
[Advantages of First Embodiment]
In this way, in the first embodiment, the state extraction device 1 records the data obtained from the motion sensor and the data obtained from the environment sensors in a predetermined segment in the data recording DB 21. The state extraction device 1 specifies a behavior segment indicating a segment in which a subject has performed a specific behavior and a non-behavior segment indicating a segment in which the subject has not performed the specific behavior using the data obtained from environment sensors, stored in the data recording DB 21. The state extraction device 1 determines a feature amount to be used for detecting a specific state of the subject using the respective values of a plurality of feature amounts included in the data stored in the data recording DB 21, obtained from the motion sensor in each of the behavior segment and the non-behavior segment. Furthermore, the state detection device 1 determines a threshold value for the determined feature amount, for distinguishing behaviors from non-behaviors. The state extraction device 1 detects the specific state of the subject using the determined feature amount and the determined threshold value from the data obtained from the motion sensor. According to this configuration, the state detection device 1 can determine a threshold value of the specific state depending on the current situation of the subject using the latest data for a predetermined segment stored in the data recording DB 21. As a result, the state detection device 1 can detect a specific state of the subject (for example, the behavior of the subject) depending on the current situation of the subject using the motion sensor only. As an example, the state detection device 1 can detect the behavior of the subject depending on the current situation of the subject even when the symptom of the recovery stage or the like of an illness of the subject changes day by day.
It has been described that the state detection device 1 according to the first embodiment combines the data of a plurality of environment sensors installed in a residential environment space to specify a behavior segment and a non-behavior segment of the subject's behavior. However, the state detection device 1 may erroneously detect the behavior segment and the non-behavior segment of the subject when another source (for example, a cohabitant or a visitor) other than the subject is present. Therefore, the state detection device 1 according to a second embodiment combines a change in the data of a plurality of environment sensors installed in the residential environment space and the data of the motion sensor of the subject to select the environment sensor data in which the change is associated with a motion of the subject. Moreover, the state detection device 1 may combine the changes in the selected data to reliably specify the behavior segment and the non-behavior segment of the subject in relation to the subject's behavior.
Therefore, the state detection device 1 according to the second embodiment combines a change in the data of a plurality of environment sensors installed the residential environment space and the motion sensor data of the subject to select the environment sensor data in which the change is associated with a motion of the subject. Moreover, a case in which the state detection device 1 combines changes in the selected data to reliably specify the behavior segment and the non-behavior segment of the subject in relation to the subject's behavior will be described.
[Configuration of State Detection Device According to the Second Embodiment]
The segment specifying unit 13A estimates the number of persons present in the residential environment space and specifies a behavior segment and a non-behavior segment of a subject using only a change in the data of an environment sensor that does not react to a person other than the subject.
The consistency determination unit 131 determines whether there is a consistency between the motion sensor data of the subject and a change in the data of all environment sensors present in the residential environment space. In other words, the consistency determination unit 131 estimates the number of persons present in the residential environment space by determining consistency among the data obtained from sensors in each segment between closing of a door sensor installed at a position corresponding to an entrance hall of the residential environment space and the subsequent opening of the door sensor. For example, the consistency determination unit 131 sets the number of persons present in the residential environment space to “1” by assuming that only the subject is present therein. The consistency determination unit 131 determines whether there is a consistency between the motion sensor data of the subject and changes in the data of all environment sensors using the data stored in the data recording DB 21. When it is determined that there is no consistency, the consistency determination unit 131 determines that there is a person other than the subject to which the environment sensor reacts and adds “1” to the number of persons in the residential environment space.
Here, a case in which it is determined that there is no consistency by the consistency determination process of the consistency determination unit 131 will be described with reference to
As illustrated in
As illustrated in
Returning to
Here, an example of the change extraction process of the change extraction unit 132 will be described with reference to
The change extraction unit 132 specifies a room where the subject A is present as “A” as illustrated on the left side of
As illustrated on the right side of
After that, the segment specifying unit 13A can specify a behavior segment in which a person opens a window using the extracted change in the data of the window sensor in the room “a”.
[Flowchart of Segment Specifying Process]
Next, an example of a processing procedure of a segment specifying process according to the second embodiment will be described with reference to
In this example, it is assumed that the segment specifying unit 13A receives one-day data. The data mentioned herein means the environment sensor data and the motion sensor data stored in the data recording DB 21. Moreover, it is assumed in
The segment specifying unit 13A sequentially read the input one-day data (step S21). The segment specifying unit 13A determines whether the read data indicates an open state of the door in the entrance hall (step S22). That is, the segment specifying unit 13A determines whether the data of the door sensor installed in the entrance hall changes from ON indicating a closed state to OFF indicating an open state.
When it is determined that the read data does not indicate an open state of the door in the entrance hall (step S22: No), the segment specifying unit 13A determines whether the read data indicates an open state of the door in the entrance hall (step S23) . That is, the segment specifying unit 13A determines whether the data of the door sensor installed in the entrance hall is OFF. When it is determined that the read data indicates an open state of the door in the entrance hall (step S23: Yes), the segment specifying unit 13A does not store the data and proceeds to step S25. This data is not stored since it is not possible to estimate the number of persons present in the residence when the door in the entrance hall is open.
On the other hand, when it is determined that the read data does not indicate an open state of the door in the entrance hall (step S23: No), the segment specifying unit 13A stores the data temporarily in the storage unit 20 as data to be analyzed (step S24). This data is stored since it is possible to estimate the number of persons present in the residence when the door in the entrance hall is closed. After that, the segment specifying unit 13A proceeds to step S25.
In step S25, the segment specifying unit 13A determines whether all items of the input one-day data have been read (step S25). When it is determined that all items of the input one-day data have not been read (step S25: No), the segment specifying unit 13A proceeds to step S21 so that the next data is read. On the other hand, when it is determined that all items of the input one-day data have been read (step S25: Yes), the segment specifying unit 13A proceeds to step S26.
In step S22, when it is determined that the read data indicates an open state of the door in the entrance hall (step S22: Yes), the consistency determination unit 131 sets the number of persons x present in the residence to “1” (step S26). Here, “x” is a variable indicating the number of persons present in the residence.
The consistency determination unit 131 checks a consistency between the data of the motion sensor of the subject and the changes in the data of all environment sensors in the residence using the data stored temporarily (step S27). In other words, the consistency determination unit 131 checks a consistency between items of data obtained from sensors in a segment after the door sensor installed in the entrance hall of the residence is closed before the door is open again.
The consistency determination unit 131 determines whether there is a consistency between the motion sensor data of the subject and the changes in the data of all environment sensors in the residence (step S28). When it is determined that there is no consistency between the motion sensor data of the subject and the changes in the data of all environment sensors in the residence (step S28: No), the consistency determination unit 131 adds “1” to “x” (step S29). After that, the consistency determination unit 131 proceeds to step S27.
On the other hand, when it is determined that there is a consistency between the motion sensor data of the subject and the changes in the data of all environment sensors in the residence (step S28: Yes), the change extraction unit 132 extracts a change in the data of the environment sensor which does not react to any person other than the subject (step S30). In other words, the change extraction unit 132 extracts a change in the data of the environment sensor that reacts to the subject only. For example, the change extraction unit 132 determines whether there is a consistency between the motion sensor data and the data obtained by an environment sensor when the environment sensor was caused to react to a person other than the subject using the temporarily stored data. The change extraction unit 132 extracts a change in the data of the environment sensor for which it is determined that no consistency is found even when the environment sensor was caused to react to any person other than the subject.
Subsequently, the segment specifying unit 13A specifies a behavior segment and a non-behavior segment using the extracted change in the environment sensor data (step S31).
The segment specifying unit 13A determines whether all items of the input one-day data have been read (step S32). When it is determined that all items of the input one-day data have not been read (step S32: No), the segment specifying unit 13A proceeds to step S21 so that the next data is read. On the other hand, when it is determined that all items of the input one-day data have been read (step S32: Yes), the segment specifying unit 13A ends the segment specifying process.
[Specific Example of Consistency Determination Process]
Next, a specific example of a consistency determination process according to the second embodiment will be described with reference to
As illustrated in
As illustrated in
As illustrated in
[Specific Example of Consistency Determination Process]
Next, a specific example of a change extraction process according to the second embodiment will be described with reference to
As illustrated in
As illustrated in
As illustrated in
[Advantages of the Second Embodiment]
In this way, in the second embodiment, the state detection device 1 estimates the number of persons present in a space where environment sensors are present using the data obtained from a motion sensor and the data obtained from environment sensors, stored in the data recording DB 21. The state extraction device 1 extracts a change in the data which is not changed by a person other than the subject from the data obtained from the environment sensors, stored in the data recording DB 21. The state extraction device 1 specifies a behavior space and a non-behavior space using the extracted change in the data. According to this configuration, the state extraction device 1 can extract a change in the data changed by the subject by extracting the change in the data that is not changed by other persons even when there is another person other than the subject and to specify a behavior space and a non-behavior space of the subject. As a result, the state extraction device 1 can determine a threshold value of a specific state depending on the current situation of the subject even when there is another person other than the subject.
A case in which the state detection devices 1 according to the first and second embodiments determine the feature amount and the threshold value to be used for detecting walking of a subject using the respective values of the respective feature amounts of a motion sensor in each of the behavior segment and the non-behavior segment has been described. However, when a change in the threshold value matches a predetermined pattern, the state detection device 1 may estimate a threshold value in a predetermined subsequent segment according to the predetermined matching pattern. The predetermined pattern may be a monotonously increasing or decreasing pattern, for example.
Therefore, a case in which when a change in the threshold value matches a predetermined pattern, the state detection device 1 according to a third embodiment estimates a threshold value in a predetermined subsequent segment according to the predetermined matching pattern.
[Configuration of State Detection Device According to the Third Embodiment]
The threshold value determining unit 14A determines a feature amount and a threshold value to be used for detecting walking of a subject using respective values of respective feature amounts of a motion sensor, stored in the data recording DB 21 in each of a behavior segment and a non-behavior segment in a predetermined segment. Moreover, the threshold value determining unit 14A adds the determined threshold value and the determined feature amount to the threshold value DB 22 in correlation with the predetermined segment when the threshold value and the feature amount were determined. The predetermined segment is one day, for example, but is not limited to this and may be a half day or a ¾ day. That is, the predetermined segment may be a segment in which a threshold value can be determined. Hereinafter, a case in which the predetermined segment is one day will be described.
When a change in the threshold value matches a predetermined pattern, the threshold value estimation unit 31 estimates a threshold value in the next one day according to the predetermined matching pattern. In other words, the threshold value estimation unit 31 assumes that a feature amount of which the threshold value monotonously increases (decreases) day by day and the amount of change in each day is large among the feature amounts to be used for behavior detection has the same tendency on the next day and estimates a threshold value to be used for the next day for the feature amount. For example, the threshold value estimation unit 31 determines whether a change in a threshold value obtained from the evaluation values of every day, stored in the threshold value DB 22 matches a predetermined pattern. When it is determined that the change in the threshold value matches the predetermined pattern, the threshold value estimation unit 31 estimates the threshold value of the next one day from the amount of change in the threshold value. Moreover, the threshold value estimation unit 31 overwrites the estimated threshold value in the behavior detection threshold value DB 32 together with the feature amount determined in advance. In this way, the threshold value estimation unit 31 can determine a threshold value with high accuracy depending on the current situation of the subject by estimating the threshold value of the next one day according to the changing pattern of the threshold value.
The behavior detection unit 15A detects walking of the subject using the threshold value and the feature amount stored in the behavior detection threshold value DB 32 from the information obtained from the motion sensor. In this way, the behavior detection unit 15A can detect walking as a behavior type with high accuracy depending on the current situation of the subject.
[Example of Threshold Value Estimation Process]
When the threshold value of February 4 (2/4) is determined when the threshold value estimation process on the date 2/3 ends and when the change in the threshold values accumulated every previous day matches a predetermined pattern, the threshold value estimation unit 31 estimates the threshold value of the next one day according to the predetermined matching pattern. In this example, the threshold value estimation unit 31 determines that the change in the threshold value matches a monotonously increasing pattern. The threshold value estimation unit 31 estimates the threshold value θ4 of the date 2/4 from the amount of change in the threshold value. For example, the threshold value estimation unit 31 may calculate a linear model from the amount of change in the threshold value and estimate the threshold value of the date 2/4.
Although it has been described that the threshold value estimation unit 31 estimates the threshold value of the next one day from the amount of change in the threshold value when the change in the threshold value matches a monotonously increasing or decreasing pattern, for example, the present invention is not limited to this. The threshold value estimation unit 31 may estimate the threshold value of the next one day from the amount of change in the threshold value when the change in the threshold value matches a monotonously increasing or decreasing pattern and the amount of change in each day is larger than a specific amount.
[Flowchart of Threshold Value Estimation Process]
Next, an example of a processing procedure of a threshold value estimation process according to the third embodiment will be described with reference to
In this example, a threshold value DB 22 determined by the threshold value determining unit 14A every day is accumulated in correlation with a feature amount and a behavior type. The behavior type is “walking” as an example and is a type for distinguishing subject's behaviors that are to be detected.
The threshold value estimation unit 31 performs a threshold value estimation process for each of the feature amounts accumulated in the threshold value DB 22. First, the threshold value estimation unit 31 calculates the amount of daily change in a predetermined period with respect to the threshold value accumulated in the threshold value DB 22 (step S41). The threshold value estimation unit 31 determines whether the change in the threshold value is monotonously increasing or decreasing based on the calculated amount of daily change in a predetermined period (step S42). That is, the threshold value estimation unit 31 determines whether the change in the threshold value matches a predetermined pattern.
When it is determined that the change in the threshold value is not monotonously increasing or decreasing (step S42: No), the threshold value estimation unit 31 proceeds to step S45 in order to determine the threshold value determined by the threshold value determining unit 14A as a threshold value for behavior detection. On the other hand, when it is determined that the change in the threshold value is monotonously increasing or decreasing (step S42: Yes), the threshold value estimation unit 31 determines whether the amount of change in the threshold value for each day is large (step S43).
When it is determined that the amount of change in the threshold value for each day is not large (step S43: No), the threshold value estimation unit 31 proceeds to step S45 in order to determine the threshold value determined by the threshold value determining unit 14A as a threshold value for behavior detection. On the other hand, when it is determined that the amount of change in the threshold value for each day is large (step S43: Yes), the threshold value estimation unit 31 estimates the threshold value of the next day from the amount of daily change in the threshold value stored in the threshold value DB 22 (step S44). For example, the threshold value estimation unit 31 calculates a linear model from the amount of daily change in the threshold value stored in the threshold value DB 22 and estimates the threshold value of the next day.
The threshold value estimation unit 31 overwrites the behavior type, the feature amount, and the threshold value in the behavior detection threshold value DB 32 (step S45). The overwritten threshold value is an estimated threshold value when the threshold value is estimated by the threshold value estimation unit 31 and is a threshold value determined by the threshold value determining unit 14A when the threshold value is not estimated by the threshold value estimation unit 31.
The threshold value estimation unit 31 determines whether the threshold value estimation process has been completed for all feature amounts (step S46). When it is determined that the threshold value estimation process has not been completed for all feature amounts (step S46: No), the threshold value estimation unit 31 proceeds to step S41 in order to perform the threshold value estimation process for the subsequent feature amount.
When it is determined that the threshold value estimation process has been completed for all feature amounts (step S46: Yes), the threshold value estimation unit 31 ends the threshold value estimation process.
[Advantages of the Third Embodiment]
In this way, in the third embodiment, the state detection device 1 determines the threshold value for respective predetermined segments. When a change in the threshold value matches a predetermined pattern, the state detection device 1 estimates a threshold value in a subsequent predetermined segment. According to this configuration, the state detection device 1 can determine the threshold value to be used for detecting the specific state with high accuracy by estimating the threshold value in a subsequent predetermined segment using the threshold value determined in respective predetermined segments. As a result, the state detection device 1 can determine a specific state of the subject (for example, a behavior of the subject) with high accuracy depending on the current situation of the subject.
[Others]
In the first to third embodiments, it has been described that the state detection device 1 has the behavior detection unit 15, and the behavior detection unit 15 detects the behavior of the subject from the information obtained from the motion sensor using the threshold value and the feature amount stored in the threshold value DB 22. However, the motion sensor may have a functional unit corresponding to the behavior detection unit 15 and a threshold value storage unit corresponding to the threshold value DB 22. The motion sensor receives the threshold value and the feature amount determined by the threshold value determining unit 14 of the state detection device 1 and records the received threshold value and the received feature amount in the threshold value storage unit. The functional unit corresponding to the behavior detection unit 15 may detect the behavior of the subject having a motion sensor attached thereto from the information obtained from the motion sensor using the threshold value and the feature amount stored in the threshold value storage unit. In this way, the state detection device 1 can detect the behavior of the subject at a high speed since communication with the motion sensor does not occur.
In the first to third embodiments, walking has been described as an example of the behavior type for which the threshold value changes depending on the situation of the subject. That is, the state detection device 1 determines a feature amount and a threshold value to be used for detecting walking of the subject and detects walking of the subject using the determined feature amount and the determined threshold value. However, the behavior type for which the threshold value changes depending on the situation of the subject may be “sitting” or “standing up”. In such a case, for example, the segment specifying unit 13 may specify the behavior segment and the non-behavior segment of the subject using the values of a sensor (a chair sensor) installed in a chair as the environment sensor. Moreover, the threshold value determining unit 14 may determine the feature amount and the threshold value to be used for detecting “sitting” or “standing up” of the subject using the respective values of the respective feature amounts of the motion sensor in each of the behavior segment and the non-behavior segment. In this way, in a situation in which the subject sits or stands up slowly such as a case in which the subject is wounded or was discharged from a hospital, the state detection device 1 can detect “sitting” or “standing up” of the subject using the motion sensor of the subject depending on the situation of the subject.
The behavior type for which the threshold value changes depending on the situation of the subject may be ascending or descending stairs. In such a case, for example, the segment specifying unit 13 may specify that the behavior of the subject is ascending or descending of stairs using human sensors installed in an entrance as environment sensors and may specify the behavior segment and the non-behavior segment of the subject. Moreover, the threshold value determining unit 14 may determine the feature amount and the threshold value to be used for detecting the subject ascending or descending stairs using the respective values of the respective feature amounts of the motion sensor in each of the behavior segment and the non-behavior segment. In this way, in a case in which a person ascends or descends stairs slowly so as not to disturb other people, the state detection device 1 can detect the subject ascending or descending stairs using the motion sensor of the subject only depending on the situation of the subject.
The behavior type for which the threshold value changes depending on the situation of the subject may be opening or closing of a door. In such a case, for .example, the segment specifying unit 13 may specify that the behavior of the subject is opening or closing of a door using a door sensor installed in a door as an environment sensor and may specify the behavior segment and the non-behavior segment of the subject. Moreover, the threshold value determining unit 14 may determine the feature amount and the threshold value to be used for detecting the subject opening or closing of a door using respective values of the respective feature amounts of the motion sensor in each of the behavior segment and the non-behavior segment. In this way, in a situation in which a person holds something in his or her hands and slow pushes a door slowly using a portion of the body, the state detection device 1 can detect the subject ascending or descending stairs using the motion sensor of the subject only depending on the situation of the subject.
In the first to third embodiments, it has been described that the state detection device 1 detects the feature amount and the threshold value to be used for detecting the behavior of the subject. However, the state detection device 1 may determine the feature amount and the threshold value to be used for detecting a biological state of the subject. Examples of the biological state include an abnormal disorder in electrocardiogram and an abnormally high heart rate. When the biological state is an abnormal disorder in electrocardiogram, for example, the segment specifying unit 13 specifies a segment (corresponding to a behavior segment) in which an abnormal disorder in electrocardiogram in comparison to the subject's behavior is present and a segment (corresponding to a non-behavior segment) in which a disorder in electrocardiogram is natural in comparison to the subject's behavior. Moreover, the threshold value determining unit 14 may determine the feature amount and the threshold value to be used for detecting an abnormal disorder in electrocardiogram of the subject using electrocardiogram obtained from an electrocardiogram detection sensor in each of the segment corresponding to the behavior segment and the segment corresponding to the non-behavior segment. In such a case, the feature amount may be a dispersion of the heights and the time intervals of electrocardiogram, a maximum-to-minimum ratio, and the like. In this way, the state detection device 1 can detect an abnormal disorder in electrocardiogram of the subject using the electrocardiogram of the subject only depending on the situation of the subject.
In the third embodiment, it has been described that the state detection device 1 determines the feature amount and the threshold value to be used for detecting the subject's behavior and detects the behavior of the subject using the determined threshold value and the determined feature amount. However, the state detection device 1 is not limited to this and may quantize the feature of the state in a period in which the detected subject's state continues. Examples of an index indicating the feature of a behavior when the state is walking include a cadence, a walking cycle, a variation in walking cycle, a stride, a variation in stride, a walking speed, and a foot-to-foot distance. The cadence means the number of steps per minutes. The walking cycle means a period after the heel of one foot contacts the ground before the heel of the other foot contacts the ground. A variation in walking cycle means the ratio of a standard deviation of the walking cycles and the average of the walking cycles ((standard deviation of walking cycles)/(average of walking cycles)). The stride means the distance from the tiptoe of one foot to the tiptoe of the other foot or the distance from the heel of one foot to the heel of the other foot. A variation in stride means the ratio of a standard deviation of stride to the average. A walking speed means a division of a walking distance from the start of walking to the end of walking by a walking period. The foot-to-foot distance means the distance between the left and right heels when the subject was seen from the top. The foot-to-foot distance is 0 when the subject walking along a straight line. In this way, the state detection device 1 can detect the walking state of the subject.
The constituent elements of each device illustrated do not always need to be physically configured as illustrated in the drawings. That is, specific forms of separation and integration of each device are not limited to those depicted in the drawings, and all or some of them may be functionally or physically separated or integrated in arbitrary units depending on various types of loads or usage. For example, the segment specifying unit 13 and the threshold value determining unit 14 may be integrated as a single unit. Moreover, the data recording DB 21 and the threshold value DB 22 may be connected via a network as external devices of the state detection device 1.
Various processes described in the above-described embodiments may be implemented when a computer such as a personal computer or a workstation executes a program prepared in advance. Hereinafter, an example of a computer that executes a state detection program that implements the same functions as the state detection device 1 illustrated in
As illustrated in
The drive device 213 is a device for a removable disk 211, for example. The HDD 205 stores a state detection program 205a and state detection process related information 205b.
The CPU 203 reads the state detection program 205a, loads the program into the memory 201, and executes the program as a process. The process corresponds to each functional unit of the state detection device 1. The state detection process related information 205b corresponds to the data recording DB 21 and the threshold value DB 22. For example, the removable disk 211 stores items of information such as the state detection program 205a.
The state detection program 205a is not necessarily stored initially in the HDD 205. For example, the program may be stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disc, an opto-magnetic disk, or an IC card inserted into the computer 200. The computer 200 may reads the state detection program 205a from these media and execute the program.
According to one aspect, it is possible to detect a behavior of a subject depending on the situation of the subject when detecting the behavior of the subject.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventors to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2015-041812 | Mar 2015 | JP | national |
This application is a continuation application of International Application No. PCT/JP2015/081414, filed on Nov. 6, 2015 which claims the benefit of priority of the prior Japanese Patent Application No. 2015-041812, filed on Mar. 3, 2015, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2015/081414 | Nov 2015 | US |
Child | 15691218 | US |