This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2020-132182 filed Aug. 4, 2020.
The present disclosure relates to an information processing apparatus and a non-transitory computer readable medium.
A hyperdynamic state of the autonomic nerves is observed by measuring the interval of heartbeats from an electrocardiogram. For example, it is observed that the autonomic nerves are tense if the interval of heartbeats is short, and that the autonomic nerves are relaxed if the interval of heartbeats is long.
An example of such a technique is described in Japanese Unexamined Patent Application Publication No. 2018-130319.
It is conceivable to measure the interval of heartbeats using the interval of pulses, since it is convenient etc. Pulses may be measured using a wristband-type device, for example. However, using the interval of pulses, as it is, as the interval of heartbeats may lower the precision in estimating the waveform of heartbeats because of the difference in properties between pulses and heartbeats.
Aspects of non-limiting embodiments of the present disclosure relate to enhancing the precision in estimating the waveform of heartbeats when measuring the interval of heartbeats using the interval of pulses, compared to the case where the interval of pulses, as it is, is used as the interval of heartbeats.
Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.
According to an aspect of the present disclosure, there is provided an information processing apparatus including a processor configured to estimate a waveform of heartbeats by inputting a waveform of measured pulses to a model constructed by mounting a pulse wave measurement device and a heartbeat measurement device to a test subject and calculating a relationship between respective waveforms output from the devices.
Exemplary embodiments of the present disclosure will be described in detail based on the following figures, wherein:
Exemplary embodiments will be described in detail below with reference to the accompanying drawings.
The learning system 1A includes an electrocardiographic sensor 10 that measures an electric signal generated along with motion of a heart of a test subject, a pulse wave sensor 20 that measures the waveform of a pulse wave that appears at a fingertip of the test subject, and a model generation device 30 that learns the relationship between electrocardiographic waveform data and pulse wave data measured concurrently for the identical test subject.
The electrocardiographic waveform data are an example of heartbeat waveform data.
The electrocardiographic sensor 10 according to the present exemplary embodiment is a sensor that measures variations in the electric signal that accompany motion of the heart as electrocardiographic waveform data. The electrocardiographic sensor 10 includes a plurality of electrode pads to be mounted so as to interpose the heart, an amplifier that amplifies an electric signal generated in the electrode pads, an analog/digital conversion section that converts the amplified electric signal into a digital signal, and a computation section that generates electrocardiographic waveform data from the digital signal. The electrocardiographic sensor 10 is an example of a heartbeat measurement device.
The pulse wave sensor 20 according to the present exemplary embodiment is a sensor that measures variations in the blood flow volume that accompany motion of the heart as a pulse wave. In the case of the present exemplary embodiment, the pulse wave sensor 20 measures a pulse wave through a photoplethysmographic method.
The photoplethysmographic method includes a transmissive type in which variations in the blood flow volume are measured through the amount of variations in light that transmits the body, and a reflective type in which variations in the blood flow volume are measured through the amount of variations in light reflected within the living body.
The pulse wave sensor 20 illustrated in
The model generation device 30 learns the relationship between electrocardiographic waveform data and pulse wave data measured concurrently from an identical test subject, and generates a model that outputs, on the basis of measured pulse wave data, electrocardiographic waveform data that are highly likely to be measured concurrently with the pulse wave data. In other words, the model generation device 30 is a computer that learns the relationship between electrocardiographic waveform data and pulse wave data that are measured using different measurement methods and at different positions.
In
The model generation device 30 is a so-called machine learning device. The model generation device 30 according to the present exemplary embodiment generates a generated model that is peculiar to a test subject (i.e. peculiar to each user) using electrocardiographic waveform data and pulse wave data measured for the test subject. A general-purpose generated model may also be generated using electrocardiographic waveform data and pulse wave data measured concurrently for a plurality of test subjects.
The model generation device 30 may acquire electrocardiographic waveform data and pulse wave data measured from an identical test subject by way of a local area network (LAN) or the Internet, or may acquire electrocardiographic waveform data and pulse wave data measured from an identical test subject from a database, a semiconductor memory, etc. (not illustrated).
The model generation device 30 may be constituted as a dedicated device that specializes in generating a generated model, or may be constituted as a server.
The estimation system 1B includes a pulse wave sensor 20 that measures the waveform of a pulse wave that appears at a fingertip of the test subject, a heartbeat estimation device 40 that estimates electrocardiographic waveform data from pulse wave data output from the pulse wave sensor 20 and outputs the electrocardiographic waveform data, and an autonomic nerve index calculation device 50 that calculates an autonomic nerve index by processing the estimated electrocardiographic waveform data (hereinafter also referred to as “estimated electrocardiographic data”).
The heartbeat estimation device 40 according to the present exemplary embodiment estimates, when pulse wave data output from the pulse wave sensor 20 are provided to the generated model, electrocardiographic waveform data (hereinafter referred to as “estimated electrocardiographic data”) that are highly likely to be measured from an identical test subject concurrently with the pulse wave data, and outputs the estimated electrocardiographic data.
The generated model used by the heartbeat estimation device 40 for estimation has been provided in advance from the model generation device 30. The heartbeat estimation device 40 is an example of an information processing apparatus.
The heartbeat estimation device 40 may acquire pulse wave data by way of a local area network (LAN) or the Internet, or may acquire pulse wave data from a database, a semiconductor memory, etc. (not illustrated).
The heartbeat estimation device 40 may be constituted as a dedicated device that estimates estimated electrocardiographic data from pulse wave data, may be constituted as a server, or may be constituted as a wearable terminal.
In
The autonomic nerve index calculation device 50 according to the present exemplary embodiment is a device that calculates an autonomic nerve index given by the following formula, by performing a frequency analysis on time variations in the interval of heartbeats acquired from the estimated electrocardiographic data.
Autonomic nerve index=LF/HF Formula 1
LF is the power spectral density of an intermediate frequency component of the time variations in the interval of heartbeats. HF is the power spectral density of a high frequency component of the time variations in the interval of heartbeats.
The autonomic nerve index is also referred to as a stress index, and represents the degree of activity of the sympathetic nerves. In a relaxed state, the value of the autonomic nerve index is small. In a stressed state, the value of the autonomic nerve index is large.
In
The terms to be used in relation to the present exemplary embodiment will be described below with reference to
The waveform indicated in
The R wave gives the peak position of the entire electric signal. In the present exemplary embodiment, the period from a certain R wave to the next R wave is referred to as the interval of heartbeats or the heartbeat interval.
In the case where the heartbeat interval is long, the parasympathetic nerves are in a hyperdynamic state. This state appears in a relaxed state.
In the case where the heartbeat interval is short, the sympathetic nerves are in a hyperdynamic state. This state appears in a tense state.
In
In
The autonomic nerve index calculation device 50 (see
As indicated in
The peak positions in the pulse wave data tend to be delayed compared to the peak positions in the electrocardiographic waveform data. That is, there tends to be a deviation in the time axis direction.
If the density of capillary vessels is different, the signal level of measured pulse wave data is also varied. In the case of
The density of capillary vessels is different not only among positions of measurement but also among test subjects.
Body motion of the test subject varies the blood flow volume. Such variations are superimposed on pulse wave data as noise (hereinafter also referred to as “body motion noise”). The body motion noise affects pulse wave data measured at a wrist particularly significantly compared to data measured at other locations.
In this manner, the waveform of pulse wave data may differ in the waveform because of the difference in the measurement method, may differ in the signal level because of the difference in the measurement position, and may be affected by body motion noise.
Therefore, there is a low correlation between the interval of pulses (hereinafter referred to as a “pulse interval”) simply calculated from pulse wave data and the heartbeat interval specified from electrocardiographic waveform data.
<Configuration of Device>
The model generation device 30 includes a processor 31 that processes data, a semiconductor memory 32 that serves as a principal storage device, a hard disk device 33 that serves as an auxiliary storage device, and an interface 34 that transmits and receives data to and from an external device. The processor 31 and the other components are connected to each other through a bus or a signal line.
The processor 31 is a central processing unit (CPU), for example. The semiconductor memory 32 includes a read only memory (ROM) that stores a basic input output system (BIOS) etc. and a random access memory (RAM) that is used as a work area.
The hard disk device 33 is a storage device that stores basic software and application programs (hereinafter referred to as “apps”). The hard disk device 33 may be a non-volatile semiconductor memory.
In the case of the present exemplary embodiment, a model learning device 33A that learns the relationship between electrocardiographic waveform data and pulse wave data is stored as an example of the apps.
The model learning device 33A learns such that estimated electrocardiographic data estimated from input pulse wave data coincide with electrocardiographic waveform data measured from an identical test subject concurrently with the pulse wave data.
The interface 34 transmits and receives data to and from an external device using the Universal Serial Bus (USB) standard or the Local Area Network (LAN) standard, for example.
The model learning device 33A illustrated in
The heartbeat measurement section 331 receives electrocardiographic waveform data from the electrocardiographic sensor 10, and measures the interval of heartbeats. Specifically, the heartbeat measurement section 331 determines the interval of heartbeats by calculating the time difference between the time of occurrence of an R wave (see
The pulse measurement section 332 receives pulse wave data from the pulse wave sensor 20, and measures the interval of adjacent peak points. Specifically, the pulse measurement section 332 determines the pulse interval by calculating the time difference between the time of occurrence of a peak point detected from the pulse wave data and the time of occurrence of the preceding peak point. The pulse interval is referred to as an Inter Beat Interval (IBI).
The model learning section 333 learns the relationship between the electrocardiographic waveform data and the pulse wave data, and generates, from the pulses, a waveform from which the difference between the heartbeats and the pulses due to the difference in the method of measurement or the position of measurement has been excluded.
The model learning section 333 includes a generation unit 333A that generates, from the pulse wave data, a waveform (hereinafter referred to as a “pseudo-waveform”) that may be erroneously recognized as genuine by a discrimination unit 333C, a noise generation unit 333B that generates random noise, the discrimination unit 333C which determines whether each of the pseudo-waveform generated by the generation unit 333A and the electrocardiographic waveform data (hereinafter also referred to as an “actual waveform”) provided from the heartbeat measurement section 331 is genuine or false, and a correct/incorrect determination section 333D that determines whether or not the result (hereinafter referred to as a “discrimination result”) of the discrimination by the discrimination unit 333C is correct.
The generation unit 333A generates a pseudo-waveform on the basis of the pulse wave data and random noise. The generation unit 333A learns a relationship that generates a pseudo-waveform that may be erroneously discriminated as an actual waveform on the basis of feedback (hereinafter referred to as “training”) from the correct/incorrect determination section 333D.
This learning uses a Least Squares Generative Adversarial Network (LSGAN) which is an example of conditional Generative Adversarial Networks (GANs). The LSGAN is an example of unsupervised learning.
The generation unit 333A which has learned is transplanted to the heartbeat estimation device 40 (see
The discrimination unit 333C alternately receives an actual waveform and a pseudo-waveform. The pseudo-waveform is also input to the discrimination unit 333C as a genuine waveform. The discrimination unit 333C discriminates whether each input waveform is genuine or false. The discrimination unit 333C learns, on the basis of training from the correct/incorrect determination section 333D, so as not to erroneously discriminate a pseudo-waveform as a genuine waveform.
As the precision in the discrimination by the discrimination unit 333C becomes higher, the pseudo-waveform generated by the generation unit 333A also becomes more similar to the actual waveform. The discrimination unit 333C outputs the result of discriminating whether the input pseudo-waveform is genuine or false to the correct/incorrect determination section 333D.
The correct/incorrect determination section 333D determines whether or not the result of the discrimination by the discrimination unit 333C is correct, and feeds back the determination result to the generation unit 333A and the discrimination unit 333C. This feedback is referred to as “backward propagation of errors”.
The heartbeat estimation device 40 includes a processor 41 that processes data, a semiconductor memory 42 that serves as a principal storage device, a hard disk device 43 that serves as an auxiliary storage device, and an interface 44 that transmits and receives data to and from an external device. The processor 41 and the other components are connected to each other through a bus or a signal line.
The processor 41 is a CPU, for example. The semiconductor memory 32 includes a ROM that stores a BIOS etc., and a RAM that is used as a work area.
The hard disk device 43 is a storage device that stores basic software and apps. The hard disk device 43 may be a non-volatile semiconductor memory.
In the case of the present exemplary embodiment, an electrocardiographic waveform estimation device 43A that generates estimated electrocardiographic data from pulse wave data and outputs the estimated electrocardiographic data is stored as an example of the apps.
The electrocardiographic waveform estimation device 43A estimates, from the input pulse wave data, heartbeat waveform data that are highly likely to be measured concurrently, and outputs the estimated electrocardiographic waveform data as the estimated electrocardiographic data.
The interface 44 transmits and receives data to and from an external device using the USB standard or the LAN standard, for example.
The electrocardiographic waveform estimation device 43A illustrated in
The pulse measurement section 431 receives pulse wave data from the pulse wave sensor 20, and measures the interval of adjacent peak points. The pulse measurement section 431 is the same as the pulse measurement section 332 (see
The electrocardiographic waveform estimation section 432 includes a generation unit 432A that generates estimated electrocardiographic data from pulse wave data and a noise generation unit 432B that generates random noise.
The generated model generated by the model generation device 30 (see
As discussed earlier, the learning system 1A (see
On the other hand, the estimation system 1B, to which a generated model generated by the generation unit 333A (see
In the present exemplary embodiment, the precision of estimation is improved compared to the first exemplary embodiment.
In
The deviation in the time direction indicated in
The model learning device 33A1 illustrated in
First, the time deviation correction section 334 calculates a coefficient of correlation between the waveform of electrocardiographic waveform data and the waveform of pulse wave data (step 1).
Next, the time deviation correction section 334 records the amount of shift with which the coefficient of correlation is maximized (step 2).
Subsequently, the time deviation correction section 334 shifts data, the phase of the waveform of which is advanced, by a certain amount (step 3). In the case where the pulse wave data are delayed compared to the electrocardiographic waveform data, for example, the electrocardiographic waveform data are delayed by a certain amount. In the case where the electrocardiographic waveform data are delayed compared to the pulse wave data, on the other hand, the pulse wave data are delayed by a certain amount.
After that, the time deviation correction section 334 determines whether or not a predetermined number of measurements have been executed (step 4).
In the case where a negative result is obtained in step 4, the time deviation correction section 334 returns to step 1, and repeatedly performs the processes in steps 1 to 3.
In the case where a positive result is obtained in step 4, on the other hand, the time deviation correction section 334 outputs the electrocardiographic waveform data or the pulse wave data which have been subjected to a deviation correction (step 5).
The tables indicated in
The data indicated in
Six hundred and eight measurement data for 5.1 hours are used for learning by the generation unit 333A (see
In
Then, in the example before a correction of the deviation in the time, the proportion (i.e. correct answer rate) at which the divisions of the autonomic nerve index calculated from the estimated electrocardiographic data coincide with the divisions of the autonomic nerve index calculated from the measured electrocardiographic waveform data is 57% (=44/77).
In the example after a correction of the deviation in the time, on the other hand, the proportion (i.e. correct answer rate) at which the divisions of the autonomic nerve index calculated from the estimated electrocardiographic data coincide with the divisions of the autonomic nerve index calculated from the measured electrocardiographic waveform data is 76% (=59/77).
Basically, no abrupt variations occur in the heartbeat interval or the pulse interval. However, abrupt variations occasionally appear in the actual measurement data. In many cases, such variations are caused by noise.
In the present exemplary embodiment, data varied abruptly compared to adjacent data are referred to as abnormal values, and are not used for learning.
Abnormal values frequently appear in data on the pulse interval compared to the heartbeat interval.
The model learning device 33A2 illustrated in
In the case of the present exemplary embodiment, the abnormal value removal section 335 uses a quotient filter.
In the present exemplary embodiment, four quotients are calculated using the heartbeat interval at time n and two heartbeat intervals measured at time n−1 and n+1 which are before and after time n with different numerator/denominator relationships, and the corresponding heartbeat interval is determined as a normal value in the case where at least one of the four quotients is more than 0.8 and less than 1.2, and the corresponding heartbeat interval is determined as an abnormal value in the case where all the quotients are 0.8 or less or 1.2 or more, for example.
Therefore, in the example in
The abnormal value removal section 335 according to the present exemplary embodiment excludes data determined as an abnormal value from the target for learning. The abnormal value removal section 335 may inform the model learning section 333 of the range of normal values.
The abnormal value removal section 335 described in relation to the present exemplary embodiment may be combined with the time deviation correction section 334 (see
Specifically, the abnormal value removal section 335 may be disposed before the time deviation correction section 334.
While exemplary embodiments of the present disclosure have been described above, the technical scope of the present disclosure is not limited to the exemplary embodiments discussed earlier. It is apparent from the following claims that a variety of modifications and improvements that may be made to the exemplary embodiments discussed earlier also fall within the technical scope of the present disclosure.
(1) In the exemplary embodiments discussed earlier, pulse wave data are measured at a fingertip. However, the position of measurement of pulse wave data is not limited to a fingertip.
The position of measurement of pulse wave data is not limited to a fingertip and an earlobe, and may be a wrist or an ankle, or may be other positions of a human body.
(2) In the exemplary embodiments discussed earlier, a single generated model is learned at a time. However, a plurality of generated models may be learned at a time.
In the example illustrated in
(3) In the first exemplary embodiment discussed earlier, a generated model is generated by learning the relationship between electrocardiographic waveform data and pulse wave data measured from a single test subject. However, a generated model may be generated by learning the relationship between electrocardiographic waveform data and pulse wave data measured from a plurality of test subjects.
(4) In the embodiments above, the term “processor” refers to hardware in a broad sense. Examples of the processor include general processors (e.g., CPU: Central Processing Unit) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, and programmable logic device).
In the embodiments above, the term “processor” is broad enough to encompass one processor or plural processors in collaboration which are located physically apart from each other but may work cooperatively. The order of operations of the processor is not limited to one described in the embodiments above, and may be changed.
The foregoing description of the exemplary embodiments of the present disclosure has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the disclosure and its practical applications, thereby enabling others skilled in the art to understand the disclosure for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the disclosure be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2020-132182 | Aug 2020 | JP | national |