Sweat rate estimation system and bathroom warning system
The sweat rate estimation system uses machine learning to improve sweat prediction accuracy in bathrooms by considering user and environmental factors, allowing for timely warnings and prevention of health issues.
Patent Information
- Application Number
- JP2022160040
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-10-04
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2042-10-04
AI Technical Summary
Existing methods for estimating sweat rate in bathrooms lack accuracy and ease, leading to potential health risks such as heat stroke due to insufficient sweat prediction.
A sweat rate estimation system using machine learning to estimate sweat based on user and environmental data, including age, gender, weight, bathroom temperature, humidity, and bathing time, with continuous data acquisition and feature weighting for improved accuracy.
Accurately estimates sweat rate and predicts potential health issues, enabling timely warnings and preventive measures to avoid conditions like heat stroke.
Smart Images

Figure 0007805271000001 
Figure 0007805271000002 
Figure 0007805271000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a sweat rate estimation system that estimates the amount of sweat produced by a bathroom user, and a bathroom warning system that warns of possible changes in physical condition based on the amount of sweat estimated by the sweat rate estimation system. [Background technology]
[0002] Bathroom users tend to sweat due to the temperature and humidity of the bathroom, as well as the environment while bathing. If users sweat too much, they may suffer from heat stroke or other health problems.
[0003] Patent Document 1 discloses a technology in which a biosensor is attached to the human body to measure changes in activity level, body temperature, etc. while bathing and while not bathing, and the amount of sweat is obtained from these changes. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-26006 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in order to improve the accuracy of predicting abnormalities in physical condition in advance, there is a demand for an easier and more accurate method of estimating the amount of sweat.
[0006] An object of the present invention is to easily and accurately estimate the amount of sweat. [Means for solving the problem]
[0007] In order to achieve the above object, one embodiment of the present invention provides a sweat rate estimation system for estimating the amount of sweat of a user using a bathroom, and includes: an information acquisition unit for acquiring estimation environment information; an estimation feature generation unit for generating estimation features from user information of the user and the estimation environment information; a model acquisition unit for acquiring a trained model that outputs an estimated sweat rate when the estimation features are input, by machine learning a plurality of training input data linked to training features and teacher data that are the amount of sweat generated when bathing in specified training environment information; and a sweat rate estimation unit that outputs the estimated sweat rate by inputting the estimation features into the trained model, wherein the training features include the user information and the training environment information, and the user information includes age, gender, and weight, the estimation environment information includes bathroom temperature, bathroom humidity, bathtub temperature, total bathing time, continuous bathing time, and bathroom usage time, and the learning environment information includes the bathroom temperature, the bathroom humidity, the bathtub temperature, the total bathing time, the continuous bathing time, and the bathroom usage time.
[0008] With this configuration, the amount of sweat produced by a user taking a bath or in the bathroom can be easily and accurately estimated based on the user's characteristics and the environment in the bathroom.
[0009] In particular, the amount of sweat is estimated based on the user's age, gender, and weight, as well as bathroom temperature, bathroom humidity, bathtub temperature, total bathing time, continuous bathing time, and bathroom usage time, which have a large impact on human sweating, allowing for more accurate estimation of sweating.
[0010] Preferably, the estimation environment information is continuously acquired at predetermined time intervals, and the sweat rate estimator continuously outputs the estimated sweat rate.
[0011] Users sweat from time to time while bathing, and sweating is strongly influenced by environmental information that changes in a variety of ways. With the above configuration, environmental information for estimation is continuously acquired, and the estimated amount of sweating is also continuously output accordingly. As a result, it is possible to check the changing or increasing amount of sweating, and to accurately estimate the amount of sweating.
[0012] In addition, it is preferable that the device further includes a feature calculation unit, and in order to output the estimated sweat rate using the trained model, the degree of influence of each of the estimation features is measured in advance, and the feature calculation unit assigns a weight to each of the estimation features according to the degree of influence.
[0013] With this configuration, the amount of sweat can be estimated more accurately by estimating the amount of sweat using estimation feature amounts that take into account the degree of influence on sweating.
[0014] The information acquisition unit may also include a human presence sensor, a temperature sensor, a humidity sensor, a water temperature sensor, a water pressure sensor, a scale, and a timer, wherein the bathroom temperature is measured by the temperature sensor, the bathroom humidity is measured by the humidity sensor, and the bathtub temperature is measured by the water temperature sensor, the total bathing time and the continuous bathing time are calculated from the change in the bathtub water level calculated from the change in the detection value of the water pressure sensor and the time the user is immersed in the bathtub determined by the timer, and the bathroom usage time may be determined by the human presence sensor and the timer as the time the user is in the bathroom.
[0015] With this configuration, it is possible to easily obtain the environmental information for estimation and the environmental information for learning, and to easily estimate the amount of sweat.
[0016] The information acquisition unit may include an imaging device, and at least one of the estimation environment information and the learning environment information may include an image captured by the imaging device.
[0017] The images make it easy to check the movements of the user's head, shoulders, eyelids, etc. Since the user's movements can affect the amount of sweating, checking the user's movements allows for a more accurate estimation of the amount of sweating.
[0018] The model acquisition unit may also generate the trained model by performing machine learning on the training input data.
[0019] This configuration eliminates the need to prepare a separate trained model, making it easy to obtain a trained model.
[0020] The information acquisition unit may be provided in the bathroom, and the model acquisition unit, the estimation feature generation unit, and the sweat rate estimation unit may be provided in a server that communicates data with the bathroom.
[0021] With this configuration, the model acquisition unit, estimation feature generation unit, and sweat amount estimation unit, which may require large processing power, can be placed on a server where processing power can be easily increased, thereby simplifying the configuration within the bathroom.
[0022] The trained model may also be a gradient boosting decision tree model.
[0023] This configuration makes it possible to generate a trained model with high estimation accuracy.
[0024] Furthermore, a bathroom warning system according to one embodiment of the present invention comprises the sweat rate estimation system, an alarm unit, a sweat rate determination unit that determines whether the estimated sweat rate is equal to or greater than a predetermined threshold, and a warning control unit that causes the alarm unit to issue a predetermined warning when the sweat rate determination unit determines that the estimated sweat rate is equal to or greater than the threshold.
[0025] If the amount of sweating becomes too much, the user's physical condition may change due to heat stroke or the like. With the above configuration, it is possible to predict the possibility of a change in physical condition from the amount of sweating. Then, by issuing a warning before a change in physical condition occurs, it is possible to alert the user.
[0026] The warning may include at least one of issuing a warning sound, turning on a warning light, displaying on a display unit, and notifying a pre-registered mobile terminal.
[0027] This configuration allows for easy attention to be drawn, and in a manner that is easily noticed by the user or those who may be able to assist the user.
[0028] The threshold value may be determined according to the user information.
[0029] The amount of sweating that leads to a change in physical condition varies from person to person. With the above configuration, it is possible to predict the possibility of a change in physical condition from the amount of sweating based on the impact of the amount of sweating on the physical condition of an individual identified by user information or estimated from the user information. This makes it possible to issue a warning with greater accuracy before a change in physical condition occurs.
[0030] The bathroom may further include an air conditioning unit installed in the bathroom and a bathroom control unit that controls the air conditioning unit, and when the sweat rate determination unit determines that the estimated sweat rate is greater than or equal to the threshold, the bathroom control unit may operate the air conditioning unit.
[0031] With this configuration, when the user's sweating rate increases, the air conditioning equipment can operate to suppress the amount of sweating by ventilating, blowing air, cooling, etc. This suppresses the amount of sweating by the user and prevents abnormalities in the user's physical condition. [Brief explanation of the drawings]
[0032] [Figure 1] FIG. 1 is a schematic diagram illustrating the configuration of a bathroom. [Figure 2] FIG. 1 is a diagram illustrating an outline of a configuration for estimating the amount of sweating. [Figure 3] FIG. 1 is a diagram illustrating a schematic configuration of a bathroom warning system. [Figure 4] 3 is a diagram illustrating information stored in a storage unit included in the remote controller. FIG. [Figure 5] FIG. 2 is a diagram illustrating information stored in a storage unit included in the server. [Figure 6] FIG. 10 is a diagram illustrating a flow for generating a trained model. [Figure 7] FIG. 10 is a diagram illustrating a flow for estimating an estimated amount of sweat. [Figure 8] FIG. 10 is a diagram illustrating a flow for issuing a warning. [Figure 9] FIG. 10 is a diagram illustrating an example of the estimation accuracy of the amount of sweating. [Figure 10] FIG. 10 is a diagram illustrating an example of the degree of influence of a feature amount. DETAILED DESCRIPTION OF THE INVENTION
[0033] The sweat rate estimation system and bathroom warning system of this embodiment will be described with reference to the drawings. The sweat rate estimation system estimates the amount of sweat a user will produce while using the bathroom. The bathroom warning system predicts and warns the user of any changes in their physical condition based on the estimated amount of sweat.
[0034] [Overview of sweat rate estimation system and bathroom warning system] As shown in FIGS. 1 to 3, the bathroom is provided with a bathtub 3, a remote control 1, an air conditioning unit 5, an information acquisition unit 6, and the like.
[0035] Bathtub 3 is filled with hot water for users to bathe in. Air conditioning equipment 5 can ventilate, cool, heat, and so on in the bathroom, and can also function as a bathroom dryer.
[0036] The information acquisition unit 6 includes a human presence sensor 12, a temperature sensor 13, a humidity sensor 14, a water temperature sensor 15, a water pressure sensor 16, a weight scale 17, and a timer 18. The information acquisition unit 6 acquires estimation environment information 9 and learning environment information 8, which will be described later.
[0037] As shown in FIG. 2, the sweat rate estimation system estimates an estimated sweat rate 58, which is the amount of sweat of the user, by inputting estimation features 57 into a trained model 55 that has been generated in advance.
[0038] The trained model 55 is generated by inputting training input data 53 into AI 60 (Artificial Intelligence) and performing machine learning. The training input data 53 is information in which training features 51 and teacher data 52 are linked together. The training features 51 are generated from user information 7 and training environment information 8 that are acquired in advance.
[0039] Learning input data 53 for generating trained model 55 is generated based on multiple pieces of information collected in advance about sweating by a certain user when actually bathing in a bathroom in a certain environment. When one piece of information is collected, user information 7 of the user, learning environment information 8 which is the bathing environment, and training data 52 which is the amount of sweating at that time are linked to each other and stored.
[0040] The learning input data 53 may be information including a plurality of linked pairs of user information 7, learning environment information 8, and teacher data 52, or the user information 7 and the learning environment information 8 may be learning features 51 to which weighting is assigned in consideration of the influence on sweating, as described below. In this case, the learning input data 53 is information including a plurality of linked pairs of learning features 51 and teacher data 52.
[0041] The feature quantity for estimation 57 is generated from the user information 7 and the environmental information for estimation 9. The environmental information for estimation 9 is various kinds of environmental information when the user, whose sweat rate is to be estimated, is taking a bath.
[0042] The bathroom warning system predicts the possibility of a change in the user's physical condition, such as the user developing heat stroke, based on the estimated sweat rate 58 estimated by the sweat rate estimation system. If the bathroom warning system determines that there is a possibility of a change in the user's physical condition, it issues a predetermined warning in advance.
[0043] The sweat rate estimation system can easily and accurately estimate the estimated sweat rate 58 by outputting the estimated sweat rate 58 of the user using the trained model 55.
[0044] The bathroom warning system can predict the possibility of an abnormality occurring in the user's physical condition based on the accurately estimated estimated amount of sweat 58, and can therefore issue a warning before an abnormality occurs in the user's physical condition, thereby preventing an abnormality from occurring in the user's physical condition.
[0045] [Information acquisition department] Next, with reference to FIG. 1, the information acquisition unit 6 and the information acquired by the information acquisition unit 6 will be described using FIGS.
[0046] Human presence sensor 12 detects people in the bathroom, and timer 18 measures the time the user is in the bathroom to obtain bathroom usage time 48. Temperature sensor 13 obtains bathroom temperature 41, which is the temperature in the bathroom. Humidity sensor 14 obtains bathroom humidity 42, which is the humidity in the bathroom. For example, temperature sensor 13 and humidity sensor 14 may be installed at any position in the bathroom, or may be installed in air conditioning equipment 5. Water temperature sensor 15 obtains bathtub temperature 43, which is the temperature of the water in bathtub 3. Water temperature sensor 15 may be installed at any position as long as it can measure the temperature of the water in bathtub 3, but it may also be installed in the piping between bathtub 3 and the water heater, for example. If water temperature sensor 15 is installed in the piping between bathtub 3 and the water heater, it can also measure the temperature of the water supplied to bathtub 3.
[0047] Water pressure sensor 16 measures the water pressure of the hot water in bathtub 3, and the water level of the hot water in bathtub 3 (bathtub water level 44) is determined from the water pressure (detected value). The water level may be calculated by water pressure sensor 16, or by remote control 1, a processor in remote control 1, or any functional block. Water pressure sensor 16 may be installed in any location as long as it can measure the water pressure of the hot water in bathtub 3, but it may also be installed in the piping between bathtub 3 and a water heater, for example.
[0048] Weight scale 17 measures the user's weight 7D. Weight scale 17 may be installed in any location as long as it can measure the weight 7D of the user using the bathroom, but may also be installed near the entrance to the bathroom, such as outside the bathroom door, for example. This allows the weight 7D of the user immediately before entering the bathroom to be measured.
[0049] Furthermore, whether or not the user is soaking in the bathtub 3 is determined from changes in the water level obtained by the water pressure sensor 16, and the time the user is soaking in the bathtub 3 is measured by the timer 18. This makes it possible to obtain the continuous bathing time 47 during which the user is continuously bathing in the bathtub 3, and the total bathing time 46.
[0050] [Remote control] Next, the remote control 1 constituting the sweat rate estimation system and the bathroom warning system will be described with reference to FIGS. 3 and 4 as well as FIGS.
[0051] Remote control 1 accepts and controls settings for hot water temperature and volume, accepts and controls settings for air conditioning equipment 5, and accepts and controls various other settings for the bathroom. Remote control 1 has a processor (computer) such as a CPU, and the processor controls each functional block of remote control 1. Multiple remote controls 1 may be provided, and they may be provided in any location, such as inside the bathroom, near the entrance to the bathroom, or elsewhere.
[0052] The remote control 1 includes an operation unit 1A, a display unit 1B, a speaker 1C, a warning light 1D, a communication unit 31, an estimation feature generation unit 33 (corresponding to a feature calculation unit), a bathroom control unit 34, a sweat amount determination unit 35, a warning control unit 36, and a memory unit 38.
[0053] The operation unit 1A accepts various operations on the remote control 1. The operation unit 1A may be a combination of any operation tools such as various switches such as a numeric keypad, levers, and dials, and may also include software switches displayed on the display unit 1B.
[0054] The display unit 1B is a monitor that displays various types of information. The speaker 1C issues audio information, warning sounds, etc. The warning light 1D displays various types of information such as warnings by emitting light. The communication unit 31 performs data communication with the server 2 described below and other remote controls 1. The communication unit 31 may also be configured to perform data communication with a mobile terminal such as a smartphone.
[0055] Estimation feature generator 33 generates estimation feature 57 for estimating estimated sweat rate 58 and stores it in memory 38. Bathroom controller 34 adjusts the water temperature, amount of water, etc., in accordance with the operation received by operating unit 1A, and controls air conditioning equipment 5.
[0056] The sweat rate determination unit 35 predicts the possibility of an abnormality in the user's physical condition, such as heat stroke, from the estimated sweat rate 58.
[0057] The warning control unit 36 issues a predetermined warning when there is a possibility that something unusual will happen to the user's physical condition. The warning control unit 36 controls the display unit 1B, the speaker 1C, and the warning light 1D, and issues the warning by displaying on the display unit 1B, issuing a warning sound or voice from the speaker 1C, illuminating the warning light 1D, etc.
[0058] The storage unit 38 stores a personal information database 10, a weight 7D, user information 7, environmental information for estimation 9, feature amount for estimation 57, and estimated sweat rate 58.
[0059] The personal information database 10 is a database that stores information on multiple users, and each user is associated with user information 7. The user information 7 includes age 7A, gender 7B, weight 7D, and may also include height 7C. In other words, the personal information database 10 can identify the user information 7 of an individual user by identifying that user.
[0060] Weight 7D is the weight of the user measured by scale 17 when the user enters or leaves the bathroom. Weight 7D is not limited to being measured by scale 17, but may also be input by the user via operation unit 1A.
[0061] The estimated environmental information 9 includes bathroom temperature 41, bathroom humidity 42, bathtub temperature 43, total bathing time 46, continuous bathing time 47, and bathroom usage time 48, all of which are acquired by the information acquisition unit 6. The estimated environmental information 9 may also include bathtub water level 44, which is acquired by the information acquisition unit 6. In other words, the information acquisition unit 6 stores the acquired information in the memory unit 38 as estimated environmental information 9.
[0062] It is preferable that the estimation environment information 9 be continuously acquired at predetermined time intervals while the user is in the bathroom (while bathing). This allows the sweat rate to be continuously estimated while the user is bathing. For example, the estimation environment information 9 is acquired every 5 seconds.
[0063] The estimation feature 57 is a feature to which weighting is assigned according to the degree of influence of the user information 7 and the estimation environmental information 9 on estimating the sweat rate. The trained model 55 is analyzed in advance to determine the degree of influence of each piece of information in the user information 7 and the estimation environmental information 9 on estimating the sweat rate. For example, the weighting can be determined by adjusting the parameters (weighting) of each piece of information in the user information 7 and the estimation environmental information 9 so as to minimize the root mean square error of the estimation result. The estimation feature generation unit 33 performs a calculation to assign weighting according to the degree of influence to each piece of information in the user information 7 and the estimation environmental information 9, generates the estimation feature 57, and stores it in the storage unit 38.
[0064] The estimated amount of sweat 58 is the amount of sweat estimated by the server 2, as will be described later, and is obtained from the server 2 via the communication unit 31.
[0065] 〔server〕 Next, the server 2 constituting the sweat rate estimation system and the bathroom warning system will be described using FIGS. 3 and 5 with reference to FIGS. 1 and 2. FIG.
[0066] The server 2 is configured to be able to communicate data with the remote control 1 via any communication line such as the Internet. Data communication may be performed via a mobile terminal such as a smartphone that communicates data with the remote control 1 via a wireless LAN or the like. The server 2 also includes a processor (computer) such as a CPU, and the processor controls each functional block of the server 2.
[0067] The server 2 includes a communication unit 21, a learning feature generation unit 23, a learning input data generation unit 24, a learning unit 25, a sweat rate estimation unit 27, and a storage unit .
[0068] The communication unit 21 performs data communication with the remote control 1 via the communication unit 31 of the remote control 1. Specifically, the server 2 receives estimation features 57 from the remote control 1 and transmits an estimated sweat rate 58 to the remote control 1 via the communication units 21 and 31. The training feature generation unit 23 calculates training features 51 from a training dataset 11 acquired in advance, as described below.
[0069] The learning input data generation unit 24 links the learning feature 51 with the teacher data 52 to generate learning input data 53, and stores the data in the storage unit .
[0070] The learning unit 25 is equipped with an AI 60, and generates a trained model 55 by inputting learning input data 53 into the AI 60 and performing machine learning, and stores the trained model 55 in the storage unit .
[0071] For example, machine learning is performed using linear regression models such as gradient boosting decision tree models.
[0072] The sweat rate estimation unit 27 inputs the estimation feature amount 57 into the trained model 55 to estimate an estimated sweat rate 58 and stores it in the storage unit 28.
[0073] The memory unit 28 stores the learning dataset 11, learning features 51, teacher data 52, learning input data 53, a trained model 55, estimation features 57, and an estimated sweat rate 58.
[0074] Learning dataset 11 includes multiple sets of linked user information 7 and learning environment information 8. User information 7 includes age 7A, gender 7B, and weight 7D, and may also include height 7C. Learning environment information 8 includes bathroom temperature 41, bathroom humidity 42, bathtub temperature 43, bathtub water level 44, total bathing time 46, continuous bathing time 47, and bathroom usage time 48.
[0075] Similar to the estimation features 57, the training features 51 are features to which weighting is assigned according to the degree of influence that the user information 7 and the learning environment information 8 have on estimating the amount of sweat. The magnitude of the weighting may be the same as that of the estimation features 57, or may be determined separately. The training feature generation unit 23 performs a calculation to assign weighting according to the degree of influence to each piece of information in the user information 7 and the learning environment information 8, and generates training features 51, which are stored in the storage unit 28.
[0076] The teacher data 52 is the amount of sweat actually produced by a user under the conditions of a set of linked user information 7 and learning environment information 8. In other words, a user corresponding to the user information 7 takes a bath in an environment corresponding to the learning environment information 8 in advance, and the amount of sweat produced at that time becomes the teacher data 52. Then, the amount of sweat produced when multiple users take a bath in various environments is calculated, and multiple sets of teacher data 52 corresponding to the user information 7 and the learning environment information 8 are obtained and stored in the memory unit 28.
[0077] The learning input data 53 is a collection of multiple pairs of learning features 51 and teacher data 52 linked to the learning features 51. The learning input data generation unit 24 generates learning input data 53 by linking the learning features 51 and teacher data 52 corresponding to each of the user information 7 and learning environment information 8, and stores the data in the storage unit 28.
[0078] The trained model 55 is a model generated by the training unit 25, and outputs an estimated sweat rate 58 in response to input of the estimation feature 57. The sweat rate estimation unit 27 inputs the estimation feature 57 into the trained model 55, thereby estimating the estimated sweat rate 58 and storing it in the storage unit 28.
[0079] The feature for estimation 57 is information generated and stored in the remote controller 1, and is acquired via the communication unit 21.
[0080] Machine learning is performed using such detailed user information 7 and detailed learning environment information 8 to generate trained model 55, thereby enabling accurate estimation of estimated sweat rate 58. In particular, training features 51 weighted according to the degree of influence they have on estimating the sweat rate are generated from user information 7 and learning environment information 8, and machine learning is performed using these training features 51 to generate trained model 55, enabling more accurate estimation of estimated sweat rate 58.
[0081] The sweat rate estimation system is composed of the information acquisition unit 6, the estimation feature generation unit 33 of the remote control 1, the learning feature generation unit 23, the learning input data generation unit 24, the learning unit 25, and the sweat rate estimation unit 27 of the server 2. In addition to the sweat rate estimation system, the bathroom warning system also includes a notification unit including at least one of the display unit 1B, the speaker 1C, and the warning light 1D, and a sweat rate determination unit 35 and a warning control unit 36 of the remote control 1.
[0082] [Sweat rate estimation system] Next, with reference to FIGS. 1 to 5, the processing of the sweat rate estimation system, which includes generating the trained model 55 and estimating the estimated sweat rate 58, will be described using FIGS.
[0083] First, a training dataset 11 is collected to generate a trained model 55 (step #1 in FIG. 6). Specifically, a user (verifier) actually takes a bath, and the amount of sweat is obtained using a predetermined method. This amount of sweat is used as training data 52. At this time, training environment information 8 during bathing is obtained. User information 7 of the user is also stored. The user information 7, training environment information 8, and training data 52 are then linked and stored. Such information is obtained in advance from different users in different environments, and stored in the storage unit 28 of the server 2.
[0084] Next, the learning feature generation unit 23 calculates (generates) learning features 51 from a learning dataset 11 consisting of multiple pieces of user information 7 and learning environment information 8 that are linked to each other, and stores them in the memory unit 28 (step #2 in Figure 6).
[0085] At this time, the magnitude of the influence of each piece of information constituting the user information 7 and the learning environment information 8 on estimating the sweat rate (estimated sweat rate 58) is calculated in advance using any method. For example, a trained model 55 generated in the past is verified to calculate the influence of each piece of information.
[0086] The learning feature generator 23 performs a calculation to assign weights according to the magnitude of the influence to each piece of information constituting the user information 7 and the learning environment information 8, thereby generating learning features 51 and storing them in the storage unit 28. The learning features 51 are generated for each set of linked user information 7 and learning environment information 8.
[0087] Next, the learning input data generation unit 24 generates learning input data 53 by linking the learning features 51 with the teacher data 52 linked to the user information 7 and learning environment information 8 on which the learning features 51 are based, and stores the learning input data 53 in the storage unit 28 (step #3 in FIG. 6). As a result, the learning input data 53 is generated, which includes all of the learning datasets 11 and teacher data 52 collected in advance.
[0088] Next, the learning unit 25 inputs the generated learning input data 53 into the AI 60 for machine learning, thereby generating a trained model 55 (step #4 in FIG. 6). The trained model 55 is generated prior to estimating the amount of sweat and is stored in the storage unit 28.
[0089] At this time, the generated trained model 55 may be analyzed to determine the magnitude of the influence (importance) on estimating the estimated sweat rate 58, and the magnitude of the influence may be updated. Furthermore, the trained model 55 may be generated again using the magnitude of the influence after the update.
[0090] With such trained model 55 stored in storage unit 28, when a user uses the bathroom, the amount of sweat of the user while bathing is estimated.
[0091] First, the user operates operation unit 1A of remote control 1 to read their own user information 7 from personal information database 10 previously stored in storage unit 38 (step #1 in FIG. 7). The read user information 7 is stored in storage unit 38. The user information 7 includes age 7A, gender 7B, weight 7D, and may also include height 7C. Weight 7D may be measured using scale 17 when entering the bathroom, or may be input using operation unit 1A. Age 7A, gender 7B, and height 7C may also be input using operation unit 1A.
[0092] Next, the information acquisition unit 6 acquires the estimated environmental information 9 and stores it in the memory unit 38 (step #2 in FIG. 7). The estimated environmental information 9 includes the above-mentioned bathroom temperature 41, bathroom humidity 42, bathtub temperature 43, total bathing time 46, continuous bathing time 47, and bathroom usage time 48, and may further include bathtub water level 44.
[0093] The information acquisition unit 6 may acquire the estimation environment information 9 at a predetermined timing while the user is bathing, but it is preferable to continuously acquire the estimation environment information 9 every 5 seconds (a predetermined time). Simply estimating the amount of sweat at a certain timing while bathing will not be able to detect a subsequent increase in sweat amount and a deterioration in physical condition. By continuously acquiring the estimation environment information 9, it is possible to continuously estimate the amount of sweat and determine the possibility of an abnormality in the user's physical condition, as described below, while the user is bathing. As a result, it is possible to more accurately estimate the amount of sweat and determine the possibility of an abnormality in the user's physical condition.
[0094] Furthermore, the actual measured value of the sweat rate can be obtained by subtracting the weight measured after the user leaves the bathroom from the weight 7D before entering the bathroom. That is, the estimated sweat rate 58 is estimated from the estimation environment information 9 and the user information 7, and various information used for the sweat rate estimation is added to the learning input data 53. The actual measured value of the sweat rate is added as training data 52, and the trained model 55 is updated, thereby improving the accuracy of the sweat rate estimation.
[0095] As described above, it is not necessarily necessary to add the actual measured sweat rate and the environmental information at the time the actual measured sweat rate was obtained as learning environment information 8 to the learning input data 53 and update the learned model 55, but it is preferable to do so at any time in order to improve the accuracy of sweat rate estimation.
[0096] Next, the estimation feature generating unit 33 generates estimation feature 57 by performing a calculation to assign weights according to the magnitude of the influence to each piece of information constituting the user information 7 and the estimation environment information 9, and outputs the estimation feature 57 to the storage unit 38 (step #3 in FIG. 7). When the estimation environment information 9 is continuously acquired, the estimation feature generating unit 33 generates estimation feature 57 every time it is acquired.
[0097] Next, the remote control 1 transmits the generated feature for estimation 57 to the server 2 via the communication unit 31. The server 2 receives the transmitted feature for estimation 57 via the communication unit 21 and stores it in the storage unit 28 (step #4 in FIG. 7). The remote control 1 transmits the feature for estimation 57 to the server 2 every time a feature for estimation 57 is generated.
[0098] Next, the sweat rate estimation unit 27 of the server 2 estimates the amount of sweat from the feature for estimation 57. Specifically, the sweat rate estimation unit 27 inputs the received feature for estimation 57 into the trained model 55 stored in the storage unit 28, thereby outputting an estimated amount of sweat 58 (step #5 in FIG. 7). The sweat rate estimation unit 27 of the server 2 estimates the estimated amount of sweat 58 every time it receives the feature for estimation 57.
[0099] Then, the server 2 transmits the output estimated sweat rate 58 to the remote control 1 via the communication unit 21 (step #6 in FIG. 7). The server 2 transmits the estimated sweat rate 58 to the remote control 1 every time the estimated sweat rate 58 is output.
[0100] [Bathroom warning system] Next, the processing of the bathroom warning system will be described using FIG. 8 while referring to FIGS. 1 to 5.
[0101] First, the remote control 1 receives the transmitted estimated sweat rate 58 via the communication unit 31 and stores it in the storage unit 38 (step #1 in FIG. 8).
[0102] Next, the sweat rate determination unit 35 of the remote control 1 determines, from the estimated sweat rate 58, whether or not the user is in a state where there is a possibility that the user will develop an abnormality in their physical condition due to heat stroke or the like (step #2 in FIG. 8). Specifically, the sweat rate determination unit 35 checks whether or not the estimated sweat rate 58 is equal to or greater than a predetermined threshold, and if the estimated sweat rate 58 is equal to or greater than the threshold, determines that there is a possibility that the user will develop an abnormality in their physical condition. Each time the estimated sweat rate 58 is received, the sweat rate determination unit 35 determines whether or not there is a possibility that the user will develop an abnormality in their physical condition. The threshold is the amount of sweat at which there is a risk of developing heat stroke or the like, and may be, for example, the amount of sweat that is 3% of body weight 7D.
[0103] Note that a plurality of thresholds may be prepared, and the likelihood of an abnormality occurring may be determined according to the threshold. The threshold may also be determined according to the user information 7, or a predetermined function may be used as the threshold.
[0104] Next, the warning control unit 36 issues a warning by a predetermined notification unit as necessary based on the determination result. If the estimated amount of sweat 58 is smaller than the threshold value (No in step #2 of FIG. 8), the warning control unit 36 does not issue a warning and waits for the next determination result.
[0105] If the estimated amount of sweat 58 is equal to or greater than the threshold value (Yes in step #2 in FIG. 8), the warning control unit 36 causes the notification unit to issue a warning (step #3 in FIG. 8).
[0106] The notification unit is, for example, at least one of a display unit 1B, a speaker 1C, and a warning light 1D. The display unit 1B displays characters, pictures, etc. indicating the warning as a warning. The speaker 1C issues a warning sound or voice as a warning. The warning light 1D emits a predetermined light, such as a light that turns on or flashes, as a warning. It is also preferable that these warnings be issued on a remote control 1 other than the remote control 1 in the bathroom. The warning may also be issued on a mobile device such as a smartphone carried by another person, such as a family member of the user. By having someone other than the user receive the warning, the person who receives the warning can take appropriate action even if the user is unable to deal with the problem on their own.
[0107] Furthermore, if it is determined that there is a high possibility that an abnormality will occur, the display content, warning sound, light color, and light pattern are changed according to the degree of possibility.
[0108] In this way, a warning is given to the user before an abnormality occurs in the user's physical condition, allowing the user or other persons to take appropriate measures before an abnormality occurs in the user.
[0109] Furthermore, if estimated sweat rate 58 is equal to or greater than the threshold (Step #2 Yes in FIG. 8), bathroom controller 34 may control air conditioning equipment 5 to start ventilation, air blowing, or cooling, or may lower the hot water temperature. This can prevent the user's physical condition from worsening.
[0110] [Prediction accuracy] As shown in FIG. 9, as a result of cross-validating the learning input data 53, the estimation accuracy of the estimated sweat rate 58 using the trained model 55 was good.
[0111] In other words, the results of the residual analysis showed that regardless of the estimated sweat rate (estimated amount), no large estimation error was observed, and the distribution of errors was concentrated near zero.
[0112] Furthermore, as a result of analyzing the trained model 55, the influence (importance) of each feature on the estimation was as shown in Figure 10. As shown in Figure 10, it can be seen that the influence, in descending order, is bathroom temperature at the time of judgment, height 7C, initial bathroom humidity (described below), and weight 7D...
[0113] The training feature 51 and the estimation feature 57 are weighted according to the importance as shown in FIG.
[0114] [Another embodiment] (1) Either the learning environment information 8 or the estimation environment information 9 may include at least one of the user's volume, the size of the bathtub 3, and the hot water supply temperature. The user's volume is calculated from changes in the water level obtained by changes in the water pressure sensor 16. The size of the bathtub 3 is at least one of the amount of hot water contained in the bathtub 3, the depth of the bathtub 3, the length of the bathtub 3, and the width of the bathtub 3. The hot water supply temperature is the temperature of the hot water supplied to the bathtub 3 while the user is bathing. Furthermore, either the learning environment information 8 or the estimation environment information 9 may include various other information. By including this information in either the learning environment information 8 or the estimation environment information 9, it is possible to generate a trained model 55 and estimate the estimated sweat rate 58 with greater accuracy.
[0115] (2) The bathroom temperature 41 in either the learning environment information 8 or the estimation environment information 9 may include the bathroom temperature measured at a predetermined timing, for example, at predetermined intervals (bathroom temperature at the time of determination), as well as the bathroom temperature when the user enters the bathroom (initial bathroom temperature). Similarly, the bathroom humidity 42 in either the learning environment information 8 or the estimation environment information 9 may include the bathroom humidity measured at a predetermined timing, for example, at predetermined intervals (bathroom humidity at the time of determination), as well as the bathroom humidity when the user enters the bathroom (initial bathroom humidity). Furthermore, the bathtub temperature 43 in either the learning environment information 8 or the estimation environment information 9 may include the bathtub temperature measured at a predetermined timing, for example, at predetermined intervals (bathtub temperature at the time of determination), as well as the bathtub temperature when the user enters the bathroom (initial bathtub temperature). This allows for more accurate generation of the trained model 55 and estimation of the estimated sweat rate 58.
[0116] (3) The information acquisition unit 6 may include an imaging device. Either the learning environment information 8 or the estimation environment information 9 may include an image captured by the imaging device. The image makes it easy to confirm the movements of the user's head, shoulders, eyelids, etc. The user's movements may affect the amount of sweating, and the amount of sweating may affect the user's movements. Therefore, by checking the user's movements, it is possible to generate the trained model 55 and estimate the estimated amount of sweating 58 with higher accuracy.
[0117] (4) At least one of the estimation feature generating unit 33, the sweat amount determining unit 35, and the warning control unit 36 may be provided in the server 2, not in the remote control 1. That is, the remote control 1 may transmit the user information 7 and the estimation environment information 9 to the server 2. The server 2 may generate estimation feature 57, estimate the estimated sweat amount 58, and then generate a control signal for a warning according to the determination result of the estimated sweat amount 58, and transmit the control signal to the remote control 1. The remote control 1 then receives the control signal and issues a predetermined warning in accordance with the control signal.
[0118] With this configuration, the configuration of the remote controller 1 can be simplified, and the estimated amount of sweat 58 can be estimated and necessary warnings can be issued with an efficient configuration.
[0119] Conversely, the trained model 55 may be stored in the remote control 1, rather than in the server 2. In this case, the sweat rate estimation unit 27 is also provided in the remote control 1, rather than in the server 2. Then, in the remote control 1, the estimation feature 57 is input to the trained model 55, and an estimated sweat rate 58 is estimated.
[0120] With this configuration, an optimal system can be easily configured for the remote control 1.
[0121] (5) The learning feature generation unit 23, the learning input data generation unit 24, and the learning unit 25 may be provided in the remote control 1 instead of the server 2. In other words, the trained model 55 may be generated in the remote control 1 instead of the server 2.
[0122] With this configuration, it is possible to easily generate a trained model 55 that is specialized for the bathroom and the users who use the bathroom, and it is possible to generate the trained model 55 and estimate the estimated sweat rate 58 with greater accuracy.
[0123] (6) The trained model 55 is not limited to being generated by the server 2, and the server 2 may be configured to acquire a trained model 55 that has been generated separately. In other words, the learning unit 25 of the server 2 may generate the trained model 55 or may function as a model acquisition unit that acquires the trained model 55. In this case, the sweat rate estimation system includes a model acquisition unit instead of the training feature generation unit 23, the training input data generation unit 24, and the learning unit 25. Furthermore, the trained model 55 and the sweat rate estimation unit 27 may be provided in the remote control 1, and the trained model 55 may be generated by the remote control 1 or may be generated separately and transmitted to the remote control 1.
[0124] Such a configuration can simplify the system configuration.
[0125] (7) At least one of the remote control 1 and the server 2 is not limited to being configured with the functional blocks shown in FIG. 3, but may be configured with any functional blocks. For example, each functional block of at least one of the remote control 1 and the server 2 may be further subdivided, or conversely, some or all of the functional blocks may be combined. Furthermore, the functions of at least one of the remote control 1 and the server 2 may be realized by a method executed by any functional block, not limited to the functional blocks described above. Furthermore, some or all of the functions of the remote control 1 and the server 2 may be configured with software. A program related to the software is stored in any storage device such as the storage unit 28 or the storage unit 38, and is executed by a processor such as a CPU included in the remote control 1 or the server 2, or by a separately provided processor.
[0126] The configurations disclosed in the above embodiments (including other embodiments, the same applies below) can be applied in combination with configurations disclosed in other embodiments, as long as no contradiction arises. Furthermore, the embodiments disclosed in this specification are examples, and the embodiments of the present invention are not limited to these, and can be modified as appropriate within the scope that does not deviate from the purpose of the present invention. [Industrial Applicability]
[0127] The present invention can be applied when estimating the amount of sweat produced by a bathroom user, or when warning of a possible change in physical condition based on the amount of sweat produced. [Explanation of symbols]
[0128] 1 Remote Control 2 Server 6 Information acquisition section 7 User information 8. Learning Environment Information 9 Environmental information for estimation 23 Learning feature generation unit 24 Learning input data generation unit 25 Learning Department 27 Sweat rate estimation unit 33 Estimation feature generation unit (feature calculation unit) 35 Sweat amount determination unit 36 Warning control section 51 Learning features 52 Training data 53 Learning input data 55 trained models 57 Estimation Features 58 Estimated sweat rate 60 AI
Claims
1. A sweat rate estimation system for estimating the amount of sweat of a user using a bathroom, comprising: an information acquisition unit that acquires environmental information for estimation; an estimation feature generating unit that generates estimation feature values from the user information of the user and the estimation environment information; a model acquisition unit that acquires a trained model that is generated by machine learning training data that is the amount of sweating when bathing in predetermined learning environment information and a plurality of training input data linked to training features, and that outputs an estimated amount of sweating when the estimation features are input; a sweat rate estimation unit that outputs the estimated sweat rate by inputting the estimation feature amount to the trained model; the learning features include the user information and the learning environment information, The user information includes age, sex, and weight, the environmental information for estimation includes bathroom temperature, bathroom humidity, bathtub temperature, total bathing time, continuous bathing time, and bathroom usage time; The learning environment information includes the bathroom temperature, the bathroom humidity, the bathtub temperature, the total bathing time, the continuous bathing time, and the bathroom usage time.
2. the environmental information for estimation is continuously acquired at predetermined time intervals; The sweat rate estimation system according to claim 1 , wherein the sweat rate estimation unit continuously outputs the estimated sweat rate.
3. Further comprising a feature amount calculation unit, In order to output the estimated sweat rate using the trained model, the magnitude of the influence of each of the estimation features is measured in advance; The sweat rate estimation system according to claim 1 , wherein the feature amount calculation unit assigns a weight to each of the estimation feature amounts according to the magnitude of the degree of influence.
4. The information acquisition unit includes a human sensor, a temperature sensor, a humidity sensor, a water temperature sensor, a water pressure sensor, a weight scale, and a timer, the bathroom temperature is measured by the temperature sensor; The bathroom humidity is measured by the humidity sensor, The bathtub temperature is measured by the water temperature sensor, The total bathing time and the continuous bathing time are calculated from the change in the bathtub water level calculated from the change in the detected value of the water pressure sensor and the time the user is immersed in the bathtub calculated by the timer, The sweat rate estimation system according to claim 1 , wherein the bathroom usage time is determined by the human presence sensor and the timer as the time the user is in the bathroom.
5. an imaging device is included as the information acquisition unit, The sweat rate estimation system according to claim 1 , wherein at least one of the estimation environment information and the learning environment information includes an image captured by the imaging device.
6. The sweat rate estimation system according to claim 1 , wherein the model acquisition unit generates the trained model by performing machine learning on the training input data.
7. the information acquisition unit is provided in the bathroom, The sweat rate estimation system according to claim 1 , wherein the model acquisition unit, the estimation feature generation unit, and the sweat rate estimation unit are provided in a server that communicates data with the bathroom.
8. The sweat rate estimation system according to claim 1 , wherein the trained model is a gradient boosting decision tree model.
9. The sweat rate estimation system according to any one of claims 1 to 8, The notification department, a sweat rate determination unit that determines whether the estimated sweat rate is equal to or greater than a predetermined threshold; and a warning control unit that causes the notification unit to issue a predetermined warning when the sweat rate determination unit determines that the estimated sweat rate is equal to or greater than the threshold.
10. The bathroom warning system according to claim 9, wherein the warning includes at least one of issuing a warning sound, illuminating a warning light, displaying on a display unit, and notifying a pre-registered mobile device.
11. The bathroom warning system according to claim 9 , wherein the threshold value is determined in accordance with the user information.
12. an air conditioning device provided in the bathroom; Further, a bathroom control unit that controls the air conditioning equipment is provided. The bathroom warning system according to claim 9 , wherein the bathroom control unit activates the air conditioning device when the sweat rate determination unit determines that the estimated sweat rate is equal to or greater than the threshold value.
Citation Information
Patent Citations
Power grid outdoor operator heat stress early warning method and system
CN113808743A
Sauna device
JP2001276169A
Bathroom monitoring device
JP2004185150A
Energy management system
JP2016057057A
JP26006A