Method for generating abnormality determination model, abnormality determination device, abnormality determination method, and learned model
The load sensor is used to detect the load and calculate the frequency characteristics, and machine learning is used to generate an abnormality determination model, which solves the problem of difficult to eliminate the influence of body motion and achieves accurate determination of the abnormal state of the subject on the bed.
Patent Information
- Application Number
- CN202380017220.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-28
- Filing Date
- 2023-02-21
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, it is difficult to completely eliminate the influence of load changes caused by body movement when determining the state of a subject on the bed, resulting in inaccurate determination.
By configuring a load sensor to detect the load of the subject, calculate the frequency characteristics and use machine learning to generate an abnormality determination model to determine that the subject is in an abnormal state, such as coughing or no breathing.
The generated abnormality determination model can appropriately determine the subject's abnormality based on load detection, reduce the impact of body motion, and improve the accuracy of determination.
Smart Images

Figure CN118574574A
Abstract
Description
Technical Field
[0001] The present invention relates to a method for generating an abnormality determination model, an abnormality determination device, an abnormality determination method and a learned model. Background Art
[0002] A system for determining the state of a subject by attaching a measuring device to the body of the subject who is not in bed at a medical or nursing site has been proposed. Specifically, for example, a system is known that detects the load of the subject in bed by a load detector and determines whether the subject is in bed or out of bed, determines the respiratory state, etc. based on the detected load.
[0003] Patent document 1 discloses a biological information monitoring system that determines the number of subjects on a bed, the number of breathing times of the subjects, etc. based on the detection value of a load detector. Patent document 2 discloses a biological information monitoring system that determines the body axis direction of the subject, etc. based on the detection value of a load detector.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent No. 6321719
[0007] Patent Document 2: Japanese Patent No. 6594399 Summary of the invention
[0008] Problems to be solved by the invention
[0009] In the systems described in Patent Documents 1 and 2, when determining the state of the subject on the bed, the influence of the subject's body movement on the load change needs to be considered. In addition, even if it is desired to eliminate the influence of the load change caused by the subject's body movement, it is not necessarily easy to fully eliminate the influence.
[0010] In view of the above, an object of the present invention is to provide a method for generating an abnormality determination model for generating an abnormality determination model capable of appropriately performing abnormality determination of a subject based on load detection.
[0011] Another object of the present invention is to provide an abnormality determination device, an abnormality determination method, and a learned model that can appropriately perform abnormality determination of a subject based on load detection.
[0012] Solutions for solving problems
[0013] According to a first aspect of the present invention, there is provided a method for generating an abnormality determination model, wherein the abnormality determination model determines that a subject on a bed is in an abnormal state, wherein the method for generating the abnormality determination model comprises:
[0014] detecting the load of the subject by a load sensor disposed on the bed;
[0015] Creating teaching data in which a plurality of characteristic quantities obtained based on the detected load of the subject are respectively associated with the abnormal state;
[0016] By using the teaching data for supervised machine learning, a model is created for classifying the state of the subject as the abnormal state based on the plurality of feature quantities, and at least one of the plurality of feature quantities is determined as an explanatory variable based on the model; and
[0017] generating, by machine learning using the explanatory variables, an abnormality determination model for determining that the subject is in the abnormal state based on the explanatory variables,
[0018] The plurality of feature quantities include a frequency feature quantity calculated by performing short-time Fourier transform on the load of the subject.
[0019] According to a second aspect of the present invention, there is provided an abnormality determination device for determining that a subject on a bed is in an abnormal state, wherein the abnormality determination device comprises:
[0020] a pre-processing unit that calculates a frequency feature value by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed; and
[0021] an abnormality determination unit storing an abnormality determination model,
[0022] The abnormality determination model is a learned model that uses the frequency feature quantity as an input to determine that the subject is in the abnormal state.
[0023] According to a third aspect of the present invention, there is provided an abnormality determination method for determining that a subject on a bed is in an abnormal state, wherein the abnormality determination method comprises:
[0024] calculating a frequency characteristic amount by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed; and
[0025] The subject is determined to be in the abnormal state by an abnormality determination model, wherein the abnormality determination model is a learned model that uses the frequency feature amount as an input to determine that the subject is in the abnormal state.
[0026] According to a fourth aspect of the present invention, a learned model is provided for determining that a subject on a bed is in an abnormal state, wherein:
[0027] The learned model is machine-learned based on a frequency feature quantity, wherein the frequency feature quantity is calculated by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed,
[0028] The learned model causes a computer to function so as to determine that the subject is in the abnormal state based on the frequency feature amount.
[0029] According to a fifth aspect of the present invention, there is provided a method for generating an abnormality determination model, wherein the abnormality determination model is a model for determining whether a subject on a bed is in an abnormal state, wherein the method for generating the abnormality determination model comprises:
[0030] detecting the load of the subject by a load sensor disposed on the bed;
[0031] Calculating a frequency characteristic quantity by performing a short-time Fourier transform on the load of the subject; and
[0032] generating an abnormality determination model for determining that the subject is in the abnormal state based on the frequency feature quantity by unsupervised machine learning using the frequency feature quantity,
[0033] The abnormal state includes a coughing state and an apnea state.
[0034] The frequency feature includes an average amplitude value of a spectrum in a first frequency band and an average amplitude value of a spectrum in a second frequency band, wherein the first frequency band is included in a frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in a frequency band of 3.6 [Hz] to 5.5 [Hz].
[0035] Effects of the Invention
[0036] According to the method for generating an abnormality determination model of the present invention, an abnormality determination model that can appropriately perform abnormality determination of a subject based on load detection can be generated. In addition, according to the abnormality determination device, abnormality determination method and learned model of the present invention, abnormality determination of a subject based on load detection can be appropriately performed. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a block diagram showing the structure of the abnormality determination system.
[0038] Figure 2 It is an explanatory diagram showing the arrangement of the load sensor with respect to the bed.
[0039] Figure 3 This is a flowchart of an abnormality determination method performed using the abnormality determination system.
[0040] Figure 4In FIG. 1 , (a) is a graph showing an example of temporal variation of a load signal, and (b) is a graph showing an example of a frequency spectrum obtained based on the load signal of (a).
[0041] Figure 5 In the figure, (a) to (d) are graphs showing the tendency of the average value of the spectrum amplitude in the frequency band of 0.2 [Hz] to 0.5 [Hz] of the spectrum obtained based on the load signal by setting the horizontal axis and the vertical axis to the logarithm of the spectrum amplitude. The horizontal axis shows the magnitude of the spectrum amplitude, and the vertical axis shows the distribution amount. (a) shows the tendency during the period when the subject is in an apnea state, (b) shows the tendency during the period when the subject is in a coughing state, (c) shows the tendency during the period when the subject is in a normal state, and (d) shows the tendency during the period when the subject turns over.
[0042] Figure 6 In the figure, (a) to (d) are graphs showing the tendency of the average value of the spectrum amplitude in the 4.6 [Hz] to 5.0 [Hz] frequency band of the spectrum obtained based on the load signal by setting the horizontal axis and the vertical axis to the logarithm of the spectrum amplitude. The horizontal axis shows the magnitude of the spectrum amplitude, and the vertical axis shows the distribution amount. (a) shows the tendency during the period when the subject is in an apnea state, (b) shows the tendency during the period when the subject is in a coughing state, (c) shows the tendency during the period when the subject is in a normal state, and (d) shows the tendency during the period when the subject turns over.
[0043] Figure 7 This is a schematic distribution diagram showing the distribution of spectrum amplitude pairs.
[0044] Figure 8 It is a flowchart of the abnormality determination model generation method.
[0045] Fig. 9 This is a graph showing an example of temporal changes in four load signals sensed by four load sensors.
[0046] Fig.10 This is a graph showing how the score of an abnormality determination model increases when a subject coughs or has no breathing, wherein the abnormality determination model is obtained by unsupervised machine learning using a random segmentation forest algorithm.
[0047] Fig.11 In the figure, (a) to (c) are graphs showing the tendency of the average value of the spectrum amplitude in the 3.6 [Hz] to 4.0 [Hz] frequency band of the spectrum obtained based on the load signal by setting the horizontal axis and the vertical axis to the logarithm of the spectrum amplitude. The horizontal axis shows the magnitude of the spectrum amplitude, and the vertical axis shows the distribution amount. (a) shows the tendency during the period when the subject is in an apneic state, (b) shows the tendency during the period when the subject is in a coughing state, and (c) shows the tendency during the period when the subject is in a normal state.
[0048] Fig.12 This is a schematic distribution diagram showing the distribution of spectrum amplitude pairs. DETAILED DESCRIPTION
[0049] <Implementation Method>
[0050] [Abnormality determination system, abnormality determination method]
[0051] For example, a cough state (a state in which a patient is coughing) and an apnea state (a state in which a patient has not breathed) are considered abnormal states for determination. Figures 1 to 10 The abnormality determination system 100 and the abnormality determination method according to the embodiment of the present invention will be described.
[0052] like Figure 1 As shown, the abnormality determination system 100 mainly includes a load measurement unit 10, an abnormality determination device 20, and a terminal device 30. The load measurement unit 10, the abnormality determination device 20, and the terminal device 30 are connected to each other via a network NW such as the Internet.
[0053] The load measuring unit 10 mainly includes four load sensors LS1, LS2, LS3, and LS4. Each of the four load sensors LS1 to LS4 uses, for example, a beam-shaped load cell to measure the load. Such load sensors are described in, for example, Japanese Patent No. 4829020 and Japanese Patent No. 4002905.
[0054] like Figure 2 As shown, four load sensors LS1 to LS4 are respectively arranged below casters C1, C2, C3, and C4, wherein these casters C1, C2, C3, and C4 are mounted on the lower ends of legs BL1, BL2, BL3, and BL4 at the four corners of the bed BD used by the subject S.
[0055] The abnormality determination device 20 mainly includes a preprocessing unit 21, an abnormality determination unit 220 storing an abnormality determination model 22, and a storage unit 23. The abnormality determination device 20 may be formed in a single physical server or in the cloud (cloud server).
[0056] The preprocessing unit 21 calculates data (explanatory variables) to be input to the abnormality determination model 22 based on the load value received from the load measuring unit 10 via the network NW. The abnormality determination model 22 is a learned model that determines that the subject S on the bed BD is in an abnormal state based on specified explanatory variables. Details of the functions of the preprocessing unit 21 and the abnormality determination model 22 will be described later. It should be noted that in the present invention, the "model for determining that the subject is in an abnormal state" includes a model that outputs information (score) used to determine that the subject is in an abnormal state.
[0057] The storage unit 23 stores various programs and various data used in the abnormality determination device 20. The storage unit 23 may also store data obtained by applying the abnormality determination model 22. The stored data can be used for remodeling (relearning) the abnormality determination model 22.
[0058] The terminal device 30 mainly includes a display unit 31 and an input unit 32 .
[0059] The display unit 31 displays the determination result of the abnormality determination device 20 to the user (doctor, nurse, care worker, home caregiver, etc.) of the abnormality determination system 100. The display unit 31 includes, for example, an image display unit (liquid crystal display, etc.) and / or an audio display unit (speaker, etc.).
[0060] The input unit 32 is an interface for performing various inputs to the abnormality determination system 100. The input unit 32 may be, for example, a button or a touch panel integrally formed with the liquid crystal display of the display unit 31.
[0061] The abnormality determination method performed using the abnormality determination system 100 is as follows Figure 3 As shown in the flowchart, it includes a load measurement step S11, a pre-processing step S12, an abnormality determination step S13 and a display step S14.
[0062] In the load measurement step S11, the load of the subject S on the bed BD (i.e., the load applied by the subject S to the bed BD) is measured using the load sensors LS1 to LS4 of the load measurement unit 10. The load of the subject S is distributed and applied to the load sensors LS1 to LS4 below the legs BL1 to BL4 disposed at the four corners of the bed BD, and is distributed and measured by these load sensors LS1 to LS4.
[0063] The load sensors LS1 to LS4 detect the load of the subject S as analog signals, respectively. Hereinafter, the analog signals (ie, raw data signals) detected by the load sensors LS1 , LS2 , LS3 , and LS4 , respectively, are described as analog signals s1 , s2 , s3 , and s4 .
[0064] The simulation signals s1 to s4 are transmitted to the abnormality determination device 20 via a communication interface (not shown) of the load measurement unit 10 and the network NW.
[0065] In the pre-processing step S12 , the pre-processing unit 21 of the abnormality determination device 20 is used to calculate explanatory variables to be input to the abnormality determination model 22 .
[0066] The pre-processing unit 21 first receives the analog signals s1 to s4 sent from the load measuring unit 10 via the network NW and the communication interface (not shown) of the abnormality determination device 20. Then, the analog signals s1 to s4 are digitally converted at a sampling period of, for example, 5 milliseconds to obtain digital signals. Hereinafter, the digital signals obtained by digitally converting the analog signals s1, s2, s3, and s4 are recorded as load signals ss1, ss2, ss3, and ss4.
[0067] In this embodiment, the pre-processing unit 21 calculates the low-band spectrum amplitude and the high-band spectrum amplitude obtained based on each load signal ss1 to ss4 as explanatory variables to be input to the abnormality determination model 22. n The low-frequency spectrum amplitude obtained by (n=1, 2, 3, 4) is recorded as LSAn (n=1, 2, 3, 4), and the load signal ss n The high-frequency spectrum amplitude obtained by (n=1, 2, 3, 4) is recorded as HSAn (n=1, 2, 3, 4).
[0068] The low-band spectrum amplitude LSA1 and the high-band spectrum amplitude HSA1 are specifically calculated sequentially as follows, for example.
[0069] First, for a load signal ss1 (e.g. Figure 4 (a)) are sequentially short-time Fourier transformed to generate spectra (one of which is Figure 4 (b)). The length of the window function of the short-time Fourier transform generally needs to be adjusted according to the object bandwidth and the intercepted time length. In this embodiment, the short-time Fourier transform is performed every 10 [s].
[0070] Next, for the generated spectrum, the average value of the amplitude in the frequency band of 0.2[Hz] to 0.5[Hz] and the average value of the amplitude in the frequency band of 4.6[Hz] to 5.0[Hz] are calculated. The average value of the spectrum amplitude in the frequency band of 0.2[Hz] to 0.5[Hz] is the low-band spectrum amplitude LSA1, and the average value of the spectrum amplitude in the frequency band of 4.6[Hz] to 5.0[Hz] is the high-band spectrum amplitude HSA1.
[0071] By performing the same calculation using load signals ss2 to ss4 instead of load signal ss1, low-band spectrum amplitudes LSA2 to LSA4 and high-band spectrum amplitudes HSA2 to LSA4 can be calculated in sequence.
[0072] In the abnormality judgment step S13, the low-frequency spectrum amplitudes LSA1~LSA4 and the high-frequency spectrum amplitudes HSA1~HSA4 calculated in the pre-processing step S12 are sequentially input into the abnormality judgment model 22, and the judgment of whether the subject S has entered an abnormal state (i.e., at least one of a coughing state or an apnea state) is performed sequentially.
[0073] The abnormality determination model 22 is a learned model that outputs a score for determining whether the subject S has entered a coughing state or an apnea state based on the low-band spectrum amplitudes LSA1 to LSA4 and the high-band spectrum amplitudes HSA1 to HSA4.
[0074] According to the understanding of the inventors of the present invention, when the subject S is in an apneic state, the low-frequency spectrum amplitude LSAN tends to be a smaller value. Figure 5 (a)~ Figure 5 In (d), the LSAn of the subject S in the apnea state is mostly distributed in the region of 20 to 40. This distribution region is located in a region larger than that of the subject S in the coughing state ( Figure 5 (b)) and when the subject S is in a normal state ( Figure 5 (c)) and the subject S is turning over ( Figure 5 The distribution domain of LSAn under (d)) is located on the low amplitude side (small value side). It should be noted that, here, the "normal state" refers to a state in which the subject S does not suffer from apnea, coughing, or turning over.
[0075] Similarly, according to the understanding of the inventors of the present invention, when the subject S is in a coughing state, the high-frequency spectrum amplitude HSAn tends to be a larger value. Figure 6 (a)~ Figure 6 In (d), the HSAn of the subject S in the coughing state is mostly distributed in the region of 60 to 100. This distribution region is located in a region lower than that of the subject S in the apnea state ( Figure 6 (a)) When the subject S is in a normal state ( Figure 6 (c)) and the subject S is turning over ( Figure 6 The distribution domain of HSAn under (d)) is close to the high amplitude side (large value side).
[0076] Therefore, when a distribution diagram of the spectrum amplitude pair PSAn (i.e., a pair of low-band spectrum amplitude LSAn and high-band spectrum amplitude HSAn obtained based on the load signal sensed at the same time) is prepared by setting the horizontal axis to the magnitude of the low-band spectrum amplitude LSAn and the vertical axis to the magnitude of the high-band spectrum amplitude HSAn, the area Aa where the spectrum amplitude pair PSAn is distributed when the subject S is in an apneic state is located in an area that is offset to the small value side of the low-band spectrum amplitude LSAn relative to the area An where the spectrum amplitude pair PSAn is distributed when the subject S is in a normal state and the area At where the spectrum amplitude pair PSAn is distributed when the subject S is turning over ( Figure 7 ).
[0077] In addition, the area Ac where the spectrum amplitude pair PSAn when the subject S is in a coughing state is distributed is located at a position shifted toward the large value side of the high-frequency band spectrum amplitude HSAn relative to the area An where the spectrum amplitude pair PSAn when the subject S is in a normal state is distributed and the area At where the spectrum amplitude pair PSAn when the subject S is turning over is distributed ( Figure 7 ).
[0078] Based on this tendency, by machine learning using the low-band spectrum amplitudes LSA1 to LSA4 and the high-band spectrum amplitudes HSA1 to HSA4 as learning data, a learned model, namely the abnormality determination model 22, can be generated to determine that the subject S is in an abnormal state. Specifically, the learned model outputs a high score when the subject S is in a coughing state or an apnea state. Therefore, for example, the abnormality determination unit 220 can determine (the details of the method for generating the abnormality determination model 22 will be described later) that the subject S is in an abnormal state (i.e., either a coughing state or an apnea state) by comparing the score with a specified value.
[0079] In the display step S14, the determination result of the abnormal determination model 22 (abnormal determination unit 220) is displayed on the display unit 31 of the terminal device 30. The display can be performed in any manner. For example, when the abnormal determination model 22 determines that the subject S has entered an abnormal state, the display unit 31 displays the situation through images and / or sounds. It should be noted that the display step S14 can also be omitted and only the determination result can be stored in the storage unit 23.
[0080] The abnormality determination system 100 and the abnormality determination method of the present embodiment use the abnormality determination model 22 (the details of the generation method will be described later) to perform abnormality determination on the subject S, wherein the abnormality determination model 22 is generated in a manner that also takes into account the influence of load changes caused by body movement. Therefore, the abnormality determination of the subject S can be appropriately performed.
[0081] More specifically, the abnormality determination system 100 and the abnormality determination method of the present embodiment create an abnormality determination model based on the tendency that the subject will appear in the frequency spectrum regardless of the presence or absence of body movement of the subject when the subject coughs or stops breathing, and determine whether the subject has entered a coughing state or an apnea state based on the abnormality determination model. Therefore, even during a period when the subject S has body movement and the load signals ss1 to ss4 change due to factors unrelated to the subject's breathing, it is possible to determine whether the subject S has entered a coughing state or an apnea state based on the load measurement. It should be noted that, here, "body movement" includes larger body movements accompanied by movement of the torso (such as turning over) and smaller body movements accompanied by movement of the head and / or limbs.
[0082] In the above-mentioned embodiment, the abnormal state includes both the cough state and the apnea state. When the subject S enters either the cough state or the apnea state, the abnormality determination system 100 determines that the subject S is in the abnormal state, but the present invention is not limited thereto. The abnormality determination system 100 may be configured to not determine that the subject S is abnormal when the subject S enters the apnea state but determine that the subject S is abnormal when the subject S enters the cough state, or may be configured to not determine that the subject S is abnormal when the subject S enters the cough state but determine that the subject S is abnormal when the subject S enters the apnea state.
[0083] In addition, the state considered abnormal in the abnormality judgment system 100 can be added by establishing a correspondence between the analog signals s1, s2, s3, s4 (or load signals ss1, ss2, ss3, ss4) which are the detection values of the load sensors LS1 to LS4 and the state of the subject which can be classified on the time axis and performing the annotations described later.
[0084] [Abnormality determination model generation method]
[0085] Next, the abnormality determination model generation method according to the embodiment of the present invention will be described.
[0086] The abnormality determination model 22 provided in the abnormality determination device 20 of the abnormality determination system 100 generates different abnormality determination models according to the content of the state regarded as abnormal by the abnormality determination system 100. The following describes a method of generating an abnormality determination model according to the content of the state regarded as abnormal.
[0087] The method for generating the abnormality determination model in this embodiment is as follows Figure 8 As shown in the flowchart, it includes a teaching data preparation step S21, an explanatory variable determination step S22 and a model generation step S23.
[0088] In the teaching data preparation step S21 , teaching data to be used in the interpretation variable determination step S22 is prepared by the following procedure as an example.
[0089] First, while the subject S is on the bed BD, the load sensors LS1 to LS4 are used to measure the load of the subject S and to capture the image of the subject S on the bed BD in parallel over a predetermined period of time, and the load signals ss1 to ss4 and the image (animation) of the subject S are stored. An example of the stored load signals ss1 to ss4 is as follows: Fig. 9 At this time, the voice of the subject S can also be recorded.
[0090] Next, the stored load signals ss1 to ss4 are labeled (labeled, tagged) based on the stored image of the subject S. The labeling is performed by binding the type of the state (action) of the subject S and the start and end times of the state to the load signals ss1 to ss4.
[0091] As an example, the types of marked states are "no breathing", "coughing", "normal", and "turning over". Fig. 9 In the example shown, the period from time t1 to time t2 is marked as "no breathing", the period from time t3 to time t4 and the period from time t7 to time t8 are marked as "turning over", and the period from time t5 to time t6 and the period from time t9 to time t 10 The period of cough was marked as “cough” and the other periods were marked as “normal”.
[0092] In addition, the types of marked states can also replace "no breathing", "coughing", "normal", and "turning over" and include or on the basis of "entering the bed" (the subject's movement from under the bed to on the bed), "leaving the bed" (the subject's movement from the bed to under the bed), "sitting up" (the state of the subject sitting at the end of the bed), "sitting" (the state of the subject sitting on the bed), "body movement other than turning over", "change in the angle of leaning on the bed" (rising or falling), dangerous actions in bed (jumping out from the bed railing, etc.), "eating and drinking", "lying on your back", "lying on the right side", "lying on your left side", "lying on your prone position", etc.
[0093] Next, a plurality of feature quantities are generated based on the stored load signals ss1 to ss4. The feature quantities used in this embodiment may include the following feature quantities.
[0094] (1) Load signals ss1 to ss4
[0095] The load signals ss1 to ss4 are used as feature quantities as they are.
[0096] (2) Spectral amplitude SAn in each frequency bandX-Y
[0097] For load signal ss n Perform short-time Fourier transform in sequence to generate spectrum (one of which is Figure 4 As shown in (b) of ). As an example, the length of the window function of the short-time Fourier transform can be set to about 10 [s]. As an example, the short-time Fourier transform can be performed every 5 [s] to 15 [s]. The window functions of two short-time Fourier transforms that are consecutive in time can also partially overlap with each other. The correlation between the length of the window function of the short-time Fourier transform and the time resolution and frequency resolution is known. That is, if the time length of the window function is lengthened, the time resolution will become lower and the frequency resolution will become higher. If the time length of the window function is shortened, the time resolution will become higher and the frequency resolution will become lower. As a method for improving such characteristics, it is known to suppress side lobes by introducing a window function. In addition, generalized harmonic analysis (Generalized Harmonic Analysis: GHA) and short-time Fourier transform using multiple window lengths (Multi-Windows STFT) are known. These methods can also be used to analyze the spectrum to determine the explanatory variables.
[0098] For each generated spectrum, the frequency is divided into ten frequency bands, and the average value of the spectrum amplitude in each frequency band is calculated. In this embodiment, as an example, the average value of the spectrum amplitude in each frequency band of 0.2 [Hz] to 0.5 [Hz], 0.6 [Hz] to 1.0 [Hz], 1.1 [Hz] to 1.5 [Hz], 1.6 [Hz] to 2.0 [Hz], 2.1 [Hz] to 2.5 [Hz], 2.6 [Hz] to 3.0 [Hz], 3.1 [Hz] to 3.5 [Hz], 3.6 [Hz] to 4.0 [Hz], 4.1 [Hz] to 4.5 [Hz], and 4.6 [Hz] to 5.0 [Hz] is calculated.
[0099] In the following, based on the load signal ss n The average value of the spectrum amplitude in the frequency band X [Hz] to Y [Hz] of the spectrum generated by (n = 1, 2, 3, 4) is recorded as the spectrum amplitude SAn X―Y (n = 1, 2, 3, 4). Spectral amplitude SAn 0.2-0.5 It is the average value of the spectrum amplitude in the frequency band of 0.2[Hz] to 0.5[Hz], which is equal to the above-mentioned low-frequency spectrum amplitude LSAN. 4.6-5.0 It is the average value of the spectrum amplitude in the frequency band of 4.6[Hz] to 5.0[Hz], which is equal to the above-mentioned high-frequency band spectrum amplitude HSAn.
[0100] (3) Center of gravity
[0101] This is the center of gravity position of the subject S on the bed BD calculated based on the load signals ss1 to ss4. Any known method can be used to calculate the center of gravity position. An example of a method for calculating the center of gravity position is described in Japanese Patent No. 6321719 (Patent Document 1).
[0102] (4) Respiratory waveform
[0103] The center of gravity G of the subject S swings in the direction along the body axis (spine) of the subject S according to the breathing of the subject S (hereinafter, this swing is referred to as "respiratory swing"). The respiratory waveform is a waveform that represents the state of respiratory swing, and is expressed in a manner in which the horizontal axis is set to time and the vertical axis is set to the amplitude of the respiratory swing. An example of a method for depicting a respiratory waveform is described in the specification of Japanese Patent No. 6661173.
[0104] (5) Breathing rate
[0105] The number of respirations of the subject S is calculated based on, for example, the respiration waveform. One cycle of the respiration waveform corresponds to one breath (exhalation and inhalation), so when the peak interval of the respiration waveform is T, the number of respirations B per minute is estimated to be B=60 / T.
[0106] (6) Respiratory amplitude
[0107] The number of respirations of the subject S is calculated based on, for example, the respiration waveform. The amplitude of the respiration waveform can be estimated as the respiration amplitude value.
[0108] (7) Heartbeat waveform
[0109] As an example, a waveform obtained by separating a component included in a heartbeat frequency band (approximately 0.5 Hz to approximately 3.3 Hz) from each of the load signals ss1 to ss4 can be set as the heartbeat waveform.
[0110] (8) ACI (Activity Index)
[0111] ACI is an index representing the activity of the subject. The standard deviations of the temporal variations of the load signals ss1, ss2, ss3, and ss4 are set to σ1, σ2, σ3, and σ4, respectively, and ACI is calculated, for example, as a time integral value of a predetermined period (e.g., 20 seconds) of the simple average value of the standard deviations σ1 to σ4. Instead of the standard deviations σ1 to σ4, the value obtained by dividing the standard deviations σ1 to σ4 by the amplitude of the respiratory waveform may be used. ACI is described in more detail in the specification of Japanese Patent No. 6661173.
[0112] (9) Total load
[0113] The total load can be calculated as the sum of the load values represented by the load signals ss1 to ss4.
[0114] (10) Others
[0115] Furthermore, based on a state considered to be abnormal, a predetermined feature amount estimated to be related to the state may be created and used.
[0116] In the above manner, a data set is created as teaching data, which takes a combination of a plurality of feature quantities obtained based on load signals ss1 to ss4 (hereinafter referred to as "feature quantity set FS") as input and takes the state of the subject S annotated on the load signals ss1 to ss4 as output. Each feature quantity is created based on the load signals ss1 to ss4, so each feature quantity is associated with the state of the subject S annotated on the load signals ss1 to ss4.
[0117] In the explanatory variable determination step S22 , at least one feature quantity is selected from the feature quantity set FS included in the teaching data created in the teaching data creation step S21 , and is determined as an explanatory variable to be used in the model generation step S23 described later.
[0118] As an example, the selection of feature quantities (determination of explanatory variables) can be performed using a gradient boosting method based on a decision tree algorithm (specifically, such as XGBoost, LightGBM, CatBoost, etc.) It should be noted that logistic regression can also be used instead of the gradient boosting method.
[0119] Specifically, the teaching data produced in the teaching data production step S21 is used to produce training data that takes the feature set FS as input and takes the specified state of the subject S as output. The specified state includes a state in which the generated model is to be used to determine that the state is abnormal, and at least one state is selected from multiple labeled states. Then, using the training data, a learned model is generated by the gradient boosting method that takes the feature set FS as input to classify the state of the subject S as the specified state. Thereafter, the contribution of each feature in the generated learned model is calculated based on the importance of the decision tree algorithm, and one or more feature quantities with high contribution are determined as explanatory variables to be used in the model generation step S23.
[0120] In the model generation step S23 , training data is prepared using the one or more feature quantities selected in the explanatory variable determination step S22 as explanatory variables, and the abnormality determination model 22 is generated by unsupervised learning using the training data.
[0121] New training data is created based on the load signals ss1 to ss4 measured separately. In the case of imbalance such as a small number of features corresponding to a certain state, oversampling can also be performed using well-known methods such as SMOTE. As unsupervised machine learning algorithms, in addition to random segmentation forests, random forests, clustering, principal component analysis, association analysis, generative adversarial networks, mixed normal distribution models (GMM), local outlier factor methods (LOF), isolation forests, kernel density estimation, etc. can also be used.
[0122] [Example]
[0123] The abnormality determination model generating method described above generates an abnormality determination model that regards a cough state and an apnea state as abnormal states.
[0124] In the teaching data generation step S21, a teaching data is generated based on (1) the load signals ss1 to ss4 and (2) the spectrum amplitude SAn in each frequency band. X-Y The feature set FS consists of one hundred and seventy feature quantities including (3) center of gravity position, (4) breathing waveform, (5) breathing rate, (7) heartbeat waveform, (8) ACI and (9) total load as input and the teaching data takes "coughing state", "no breathing state", "normal state" and "turning over" as output.
[0125] In the explanatory variable determination step S22, a learned model is generated by the gradient boosting method, which uses the feature set FS as input to classify the state of the subject S into "coughing state", "apnea state", "normal state", and "turning over". Then, the contribution of each feature in the generated learned model is calculated, and the spectrum amplitude SAn is confirmed. 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn 4.6-5.0 (n = 1, 2, 3, 4) have a high contribution. Therefore, the spectrum amplitude SAn 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn 4.6-5.0 (n=1, 2, 3, 4) were determined as explanatory variables.
[0126] In the model generation step S23, the spectrum amplitude SAn is used. 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn 4.6-5.0 The data set with (n=1, 2, 3, 4) as explanatory variables is used as training data, and the abnormality judgment model is generated by the random partition forest algorithm.
[0127] In the spectrum amplitude SAn 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn4.6-5.0 An example of the output score when (n=1, 2, 3, 4) is input to the generated learned model is as follows Fig.10 As shown. The score output from the learned model increases during the period Pc when the subject S is in a coughing state and during the period Pa when the subject S is in an apnea state. Therefore, for example, it can be determined that the subject S is in an abnormal state (i.e., a coughing state or an apnea state) by comparing the score with a predetermined threshold.
[0128] In the method for generating an abnormality determination model of the present embodiment, a feature quantity with a large contribution when a state is classified as abnormal in a decision tree model is selected from a plurality of feature quantities obtained based on load detection, and the feature quantity with a large contribution is set as an explanatory variable to generate an abnormality determination model. Therefore, the method for generating an abnormality determination model of the present embodiment can generate an abnormality determination model that can appropriately perform abnormality determination of a subject based on load detection.
[0129] More specifically, in the method for generating an abnormality determination model of the present embodiment, a feature quantity having a large contribution when classified as an abnormal state in a decision tree model is selected from among a plurality of feature quantities that include the influence of load changes caused by body motion, and the feature quantity having a large contribution is used as an explanatory variable to generate an abnormality determination model. Therefore, an abnormality determination model that can perform abnormality determination even during a period when the subject is in body motion can be generated.
[0130] In the method for generating an abnormality determination model of the present embodiment, the feature quantity set FS of the teaching data includes the spectrum amplitude SAn. X-Y . In the spectrum amplitude SAn X-Y In the process, since it is easy to maintain the characteristics corresponding to each state of the subject S regardless of the presence or absence of body movement, a more appropriate characteristic amount can be determined as the explanatory variable in the explanatory variable determination step S22.
[0131] It should be noted that, when generating the abnormality determination model 22 that does not regard both the cough state and the apnea state as abnormal states but only the cough state as an abnormal state, in the model generation step S23, for example, a supervised machine learning algorithm is used. Regarding the teaching data, for example, a spectrum amplitude SAn can be generated based on the teaching data generated in the teaching data generation step S21. 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn 4.6-5.0 (n=1, 2, 3, 4) are explanatory variables and the teaching data with cough status as the target variable are used. As supervised machine learning algorithms, naive Bayes classifiers, decision trees, support vector machines (SVM), neural networks, K nearest neighbors, association analysis, gradient boosting, logistic regression, etc. can be used.
[0132] Furthermore, when generating the abnormality determination model 22 that does not regard both the cough state and the apnea state as abnormal states but only regards the apnea state as an abnormal state, in the model generation step S23, for example, a supervised machine learning algorithm is used. Regarding the teaching data, for example, a spectrum amplitude SAn can be generated based on the teaching data generated in the teaching data generation step S21. 0.2-0.5 (n = 1, 2, 3, 4) and spectrum amplitude SAn 4.6-5.0 (n=1, 2, 3, 4) are explanatory variables and teaching data with apnea as the target variable are used. As supervised machine learning algorithms, naive Bayes classifiers, decision trees, support vector machines (SVM), neural networks, K nearest neighbors, association analysis, gradient boosting, logistic regression, etc. can be used.
[0133] <Modification>
[0134] In the above-mentioned embodiment, the following variations may also be used.
[0135] In the abnormality determination system 100 of the above-mentioned embodiment, the average value of the spectrum amplitude in the frequency band of 0.2 [Hz] to 0.5 [Hz] is set as the low-band spectrum amplitude LSAn, and the average value of the spectrum amplitude in the frequency band of 4.6 [Hz] to 5.0 [Hz] is set as the high-band spectrum amplitude HSAn, but it is not limited to this. The low-band spectrum amplitude LSAn may also be the average value of the spectrum amplitude in any frequency band included in the frequency band of 0.1 Hz to 1.0 Hz. Similarly, the high-band spectrum amplitude HSAn may also be the average value of the spectrum amplitude in any frequency band included in the frequency band of 3.6 Hz to 5.5 Hz, the frequency band of 4.0 Hz to 5.5 Hz, etc.
[0136] As one of the modified examples, the spectrum amplitude SAn in the frequency band of 3.6 [Hz] to 4.0 [Hz] is 3.6-4.0 The case of using the high-frequency band spectrum amplitude HSAn as an example will be described below.
[0137] exist Fig.11 (a)~ Fig.11 In (c), the HSAn when the subject S is in an apnea state is mostly distributed in the range of 40 to 60, the HSAn when the subject S is in a coughing state is mostly distributed in the range of 50 to 80, and the HSAn when the subject S is in a normal state is mostly distributed in the range of 30 to 70.
[0138] Therefore, when the horizontal axis is set to the low-frequency spectrum amplitude LSAn (equal to the spectrum amplitude SAn 0.2-0.5 ) and set the vertical axis to the high-frequency spectrum amplitude HSAn (equal to the spectrum amplitude SAn 3.6-4.0) is used to make a distribution diagram of the spectrum amplitude pair PSAn (i.e., a pair of low-band spectrum amplitude LSAn and high-band spectrum amplitude HSAn obtained based on the load signal sensed at the same time) ( Fig.12 ), the area Aa' where the spectrum amplitude pair PSAn when the subject S is in an apneic state is distributed is located in an area that is offset toward the small value side of the low-frequency spectrum amplitude LSAn relative to the area An' where the spectrum amplitude pair PSAn when the subject S is in a normal state is distributed. In addition, the area Ac' where the spectrum amplitude pair PSAn when the subject S is in a coughing state is distributed is located in an area that is offset toward the large value side of the low-frequency spectrum amplitude LSAn relative to the area An' where the spectrum amplitude pair PSAn when the subject S is in a normal state is distributed.
[0139] Based on this tendency, by using the spectrum amplitude SAn 0.2-0.5 as the low-band spectrum amplitude LSAN and use the spectrum amplitude SAn 3.6-4.0 By using machine learning of the high-frequency spectrum amplitude HSAn, it is possible to generate an abnormality determination model 22 for determining that the subject S is in an abnormal state.
[0140] Alternatively, the spectrum amplitude SAn in the 3.6[Hz] to 4.0[Hz] frequency band can be 3.6-4.0 Used as the mid-band spectrum amplitude MSAn. In this case, the low-band spectrum amplitude LSAn (n=1, 2, 3, 4), the mid-band spectrum amplitude MSAn (n=1, 2, 3, 4) and the high-band spectrum amplitude HSAn (n=1, 2, 3, 4) can also be set as explanatory variables to generate the abnormality judgment model 22. Thereby, the judgment accuracy of the abnormality judgment model 22 can be further improved. It should be noted that the mid-band spectrum amplitude MSAn can be set to the average value of the spectrum amplitude in any frequency band higher than the low-band spectrum amplitude LSa. The high-band spectrum amplitude HSAn can be set to the average value of the spectrum amplitude in any frequency band higher than the mid-band spectrum amplitude MSAn.
[0141] The abnormality determination system 100 of the above-described embodiment may be configured to use at least one of the low-band spectrum amplitudes LSA1 to LSA4 and at least one of the high-band spectrum amplitudes HSA1 to HSA4 as explanatory variables.
[0142] In the method for generating the abnormality determination model of the above embodiment, the spectrum amplitude SAn is calculated. X―Y The range of the target frequency band can be changed appropriately. For example, the target frequency band can be in the range of 0.2 Hz to 4 Hz, or in the range of 0.2 Hz to 6 Hz. In addition, the method of dividing the frequency band is not limited to ten divisions, but is arbitrary.
[0143] In the method for generating the abnormality determination model of the above embodiment, the load signal ss may be n Perform a short-time Fourier transform to calculate the spectrum amplitude SAn X-Y Specifically, for example, the load signal ss n The average value of the multivariate auto-regressive model obtained by performing short-time Fourier transform is set as the feature value.
[0144] In the method for generating the abnormality determination model of the above-described embodiment, when the explanatory variables are already known, the explanatory variable determination step S22 may be omitted.
[0145] In the abnormality determination system 100 of the above embodiment, the load measurement unit 10 may measure the load of the subject S using a plurality of pressure-sensitive sensors (pressure sensors) arranged in a matrix under the bed sheet instead of the load sensors LS1 to LS4 .
[0146] The abnormality determination system 100 of the above-mentioned embodiment does not necessarily need to include all the load sensors LS1 to LS4, and may include only any one of them. In addition, the load detectors do not necessarily need to be arranged at the four corners of the bed, and may be arranged at any position in a manner that can detect the load of the subject on the bed and its changes. In addition, the load sensors LS1 to LS4 are not limited to load sensors using beam-shaped load cells, and for example, force sensors (force sensors) may also be used.
[0147] The abnormality determination system 100 of the above-mentioned embodiment may not include the terminal device 30. In addition, the abnormality determination device 20 is not limited to being connected to the load measurement unit 10 via a network, and may be arranged near the load measurement unit 10 and the bed BD (for example, in the same room) and connected to the load measurement unit 10 via wiring.
[0148] The abnormality determination model 22 of the above embodiment may also be recorded in a non-transitory and computer-readable recording medium. By reading the recording medium with a computer, the computer can execute the abnormality determination step S13. That is, the learned model such as the abnormality determination model 22 may be recorded in a recording medium as a program.
[0149] As long as the characteristics of the present invention are maintained, the present invention is not limited to the above-described embodiments, and other embodiments that can be conceived within the technical concept of the present invention are also included in the scope of the present invention.
[0150] Description of Reference Numerals
[0151] 10: load measurement unit; 20: abnormality determination device; 21: pre-processing unit; 22: abnormality determination model; 220: abnormality determination unit; 30: terminal device; BD: bed; LS1~LS4: load sensors; S: subject.
Claims
1. A method for generating an abnormality determination model, wherein the abnormality determination model determines that a subject on a bed is in an abnormal state, wherein: The method for generating the abnormality determination model comprises: detecting the load of the subject by a load sensor disposed on the bed; Creating teaching data in which a plurality of characteristic quantities obtained based on the detected load of the subject are respectively associated with the abnormal state; By using the teaching data for supervised machine learning, a model is created for classifying the state of the subject as the abnormal state based on the plurality of feature quantities, and at least one of the plurality of feature quantities is determined as an explanatory variable based on the model; and generating, by machine learning using the explanatory variables, an abnormality determination model for determining that the subject is in the abnormal state based on the explanatory variables, The plurality of feature quantities include a frequency feature quantity calculated by performing short-time Fourier transform on the load of the subject.
2. The method for generating an abnormality determination model according to claim 1, wherein: Machine learning using the explanatory variables is unsupervised machine learning.
3. The method for generating an abnormality determination model according to claim 1 or 2, wherein: The frequency feature value is an average amplitude value in a predetermined frequency band of the frequency spectrum.
4. The method for generating an abnormality determination model according to claim 3, wherein: The average amplitude value in the prescribed frequency band includes an average amplitude value in a first frequency band and an average amplitude value in a second frequency band located at a higher frequency side than the first frequency band.
5. The method for generating an abnormality determination model according to claim 4, wherein: The first frequency band is included in the frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in the frequency band of 3.6 [Hz] to 5.5 [Hz].
6. The method for generating an abnormality determination model according to claim 4 or 5, wherein: The average amplitude value in the predetermined frequency band further includes an average amplitude value in a third frequency band that is located at a higher frequency side than the first frequency band and at a lower frequency side than the second frequency band.
7. The method for generating an abnormality determination model according to any one of claims 1 to 6, wherein: The explanatory variables include the frequency feature quantities.
8. The method for generating an abnormality determination model according to any one of claims 1 to 7, wherein: The abnormal state includes a coughing state and / or an apnea state.
9. An abnormality determination device for determining that a subject on a bed is in an abnormal state, wherein: The abnormality determination device comprises: a pre-processing unit that calculates a frequency feature value by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed; as well as an abnormality determination unit storing an abnormality determination model, The abnormality determination model is a learned model that uses the frequency feature quantity as an input to determine that the subject is in the abnormal state.
10. The abnormality determination device according to claim 9, wherein: The frequency feature value is an average amplitude value in a predetermined frequency band of the frequency spectrum.
11. The abnormality determination device according to claim 10, wherein: The average amplitude value in the prescribed frequency band includes an average amplitude value in a first frequency band and an average amplitude value in a second frequency band located at a higher frequency side than the first frequency band.
12. The abnormality determination device according to claim 11, wherein: The first frequency band is included in the frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in the frequency band of 3.6 [Hz] to 5.5 [Hz].
13. The abnormality determination device according to claim 11 or 12, wherein: The average amplitude value in the predetermined frequency band further includes an average amplitude value in a third frequency band that is located at a higher frequency side than the first frequency band and at a lower frequency side than the second frequency band.
14. The abnormality determination device according to any one of claims 9 to 13, wherein: The abnormal state includes a coughing state and / or an apnea state.
15. An abnormality determination system comprising: A load sensor is arranged on the bed; The abnormality determination device according to any one of claims 9 to 14; and The display unit performs a predetermined display based on the determination result of the abnormality determination device.
16. A method for determining that a subject on a bed is in an abnormal state, wherein: The abnormality determination method comprises: calculating a frequency characteristic amount by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed; and The subject is determined to be in the abnormal state by an abnormality determination model, wherein the abnormality determination model is a learned model that uses the frequency feature amount as an input to determine that the subject is in the abnormal state.
17. The abnormality determination method according to claim 16, wherein: The frequency feature value is an average amplitude value in a predetermined frequency band of the frequency spectrum.
18. The abnormality determination method according to claim 17, wherein: The average amplitude value in the prescribed frequency band includes an average amplitude value in a first frequency band and an average amplitude value in a second frequency band located at a higher frequency side than the first frequency band.
19. The abnormality determination method according to claim 18, wherein: The first frequency band is included in the frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in the frequency band of 3.6 [Hz] to 5.5 [Hz].
20. The abnormality determination method according to claim 18 or 19, wherein: The average amplitude value in the predetermined frequency band further includes an average amplitude value in a third frequency band that is located at a higher frequency side than the first frequency band and at a lower frequency side than the second frequency band.
21. The abnormality determination method according to any one of claims 16 to 20, wherein: The abnormal state includes a coughing state and / or an apnea state.
22. A learned model for determining that a subject on a bed is in an abnormal state, wherein: The learned model is machine-learned based on a frequency feature quantity, wherein the frequency feature quantity is calculated by performing a short-time Fourier transform on a load of the subject sensed by a load sensor disposed on the bed, The learned model causes a computer to function so as to determine that the subject is in the abnormal state based on the frequency feature amount.
23. The learned model of claim 22, wherein: The frequency feature value is an average amplitude value in a predetermined frequency band of the frequency spectrum.
24. The learned model of claim 23, wherein: The average amplitude value in the prescribed frequency band includes an average amplitude value in a first frequency band and an average amplitude value in a second frequency band located at a higher frequency side than the first frequency band.
25. The learned model of claim 24, wherein: The first frequency band is included in the frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in the frequency band of 3.6 [Hz] to 5.5 [Hz].
26. The learned model according to claim 24 or 25, wherein: The average amplitude value in the predetermined frequency band further includes an average amplitude value in a third frequency band that is located at a higher frequency side than the first frequency band and at a lower frequency side than the second frequency band.
27. The learned model according to any one of claims 22 to 26, wherein: The abnormal state includes a coughing state and / or an apnea state.
28. A non-transitory computer-readable recording medium, wherein: The learned model according to any one of claims 22 to 27 is recorded.
29. A method for generating an abnormality determination model, wherein the abnormality determination model is a model for determining that a subject on a bed is in an abnormal state, wherein: The method for generating the abnormality determination model comprises: detecting the load of the subject by a load sensor disposed on the bed; Calculating a frequency characteristic quantity by performing a short-time Fourier transform on the load of the subject; and generating an abnormality determination model for determining that the subject is in the abnormal state based on the frequency feature quantity by unsupervised machine learning using the frequency feature quantity, The abnormal state includes a coughing state and an apnea state. The frequency feature includes an average amplitude value of a spectrum in a first frequency band and an average amplitude value of a spectrum in a second frequency band, wherein the first frequency band is included in a frequency band of 0.1 [Hz] to 1.0 [Hz], and the second frequency band is included in a frequency band of 3.6 [Hz] to 5.5 [Hz].
