KR20170086740A - Method for processing heartbeat sound in smart phone - Google Patents
Method for processing heartbeat sound in smart phone Download PDFInfo
- Publication number
- KR20170086740A KR20170086740A KR1020160005906A KR20160005906A KR20170086740A KR 20170086740 A KR20170086740 A KR 20170086740A KR 1020160005906 A KR1020160005906 A KR 1020160005906A KR 20160005906 A KR20160005906 A KR 20160005906A KR 20170086740 A KR20170086740 A KR 20170086740A
- Authority
- KR
- South Korea
- Prior art keywords
- impulse
- heartbeat
- thr
- input signal
- avx
- Prior art date
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/024—Detecting, measuring or recording pulse rate or heart rate
- A61B5/02438—Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6887—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
- A61B5/6898—Portable consumer electronic devices, e.g. music players, telephones, tablet computers
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7225—Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7232—Signal processing specially adapted for physiological signals or for diagnostic purposes involving compression of the physiological signal, e.g. to extend the signal recording period
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7271—Specific aspects of physiological measurement analysis
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/74—Details of notification to user or communication with user or patient ; user input means
- A61B5/742—Details of notification to user or communication with user or patient ; user input means using visual displays
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B7/00—Instruments for auscultation
- A61B7/02—Stethoscopes
- A61B7/04—Electric stethoscopes
Abstract
There is provided a method of amplifying the heartbeat sound to an appropriate level regardless of the type of the smartphone, measuring the heartbeat and listening to the heartbeat sound. In the present invention, an impulse of a heartbeat is detected from an input signal, and a relatively high gain is multiplied to an impulse detected section, and a relatively low gain is multiplied to a section in which an impulse is not detected. It is possible to perform a smoothing process after multiplying the gain, and the clipping can be prevented by compressing the input signal and the smoothed output signal before detecting the impulse. According to the present invention, clipping does not occur even when the input signal is large depending on the type of the input signal because the input signal is compressed, and the signal compression is performed with different slopes according to the input level, so that no problem occurs even when the input signal is small . Since the impulse-less section is less amplified than the impulse section, a low-pitched heartbeat can be obtained.
Description
BACKGROUND OF THE
As the need for telemedicine becomes more important, more and more attempts are being made to listen to heartbeat using smartphones.
For example, in Patent Publication No. 10-2014-0040186, a digital stethoscope digitally converts a recorded stutter sound from a patient to a smartphone, and the smartphone transmits the stutter sound data to the server, In addition, the smartphone is capable of performing functions such as outputting a chart of a stethoscope waveform and playing back a stethoscope sound.
Instead of using a separate digital stethoscope as described above, the utility model registration No. 20-0389343 allows a mobile phone to be used as a stethoscope by attaching a stethoscope microphone to the mobile phone. Alternatively, a stethoscope may be connected to an earphone terminal or a separate dedicated terminal of a mobile phone as in Patent Registration No. 10-1557793 or Utility Model Registration No. 20-0384551.
When the stethoscope is connected to the smartphone and the analog stethoscope input through the stethoscope is converted into digital data from the smartphone, the input signal to the smartphone is very small, so the input signal must be multiplied by a large gain It can be used as a level of data and there is a problem that the basic noise of the hardware or the environmental noise is also amplified during amplification of the stethoscope sound. If the noise is amplified together, a clear heartbeat can not be obtained, and the probability of error in measuring the heart rate from the heartbeat sound increases.
Also, since the tuning state of the microphone mounting mode or the codec is different for each smartphone, the size of the input of the stethoscope sound to the smartphone may be several hundred times to several thousand times different depending on the model. Therefore, in the case of a model in which a small stethoscope is input, there is a problem that even if the volume button is raised to the maximum, it can not be heard well. If the stethoscope is designed to fit a small input type, Cursor clipping problems may occur.
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a heartbeat sound processing method in a smartphone capable of obtaining a heartbeat sound with little noise regardless of a model. It is another object of the present invention to provide a method for processing heartbeat sounds in a smartphone capable of increasing the accuracy of heart rate measurement irrespective of the model.
In the present invention, the impulse of the heartbeat is detected from the input signal (impulse detecting step), and the impulse detected section is multiplied by a relatively high gain, and the section where the impulse is not detected is multiplied by a relatively low gain step).
The impulse detection process, when referred avx (n) for an input signal x (n) referred to as the noise floor (floor noise), when avx (n) is less than or equal to x (n) = avx (n) α * avx (n) + (1- α ) * x (n) to calculate and, if avx (n) is greater than x (n) avx (n) = β * avx (n) + (1- β) * x (n), where 0.995 < α <1, 0 < β <0.5. Also, savx (n) = a savx (n) β * savx ( n) + (1- β) * x (n) savx (n) when d> * ν satisfies avx (n) (ν> 1 ) It is determined that the lower impulse is detected.
When the input signal is amplified, the input signal may become too large depending on the type of the signal, so clipping may occur. To prevent this, the input signal may be compressed before the impulse detection step (first signal compression step). In the first signal compression step, if the input signal is z, the maximum value of the input is E1, the first knee point is THR_E1, the second bending value is F11_E, and the bending slope is SCALE_E, then the compressed output value z '
If z < = THR_E1 then z '= z;
If z > THR_E1
z '= THR_E1 + (z-THR_E1) / SCALE_E;
If z '> = F11_E1 then z' = F11_E + (z'- F11_E) / SCALE_E;
If z '> = E1 then z' = E1
. ≪ / RTI >
Meanwhile, according to the embodiment, the signal output in the step of emphasizing the heartbeat can be smoothed (smoothing processing step). In the smoothing processing step, if the gain is g (n) and the smoothing gain is avg (n)
avg (n) = μ * avg (n) + (1-μ) * g
Can be performed by multiplying the signal output from the step of emphasizing the heartbeat by avg (n) obtained by the following equation.
The output signal may be too large depending on the type of the signal output from the smoothing processing step so that it can be compressed again (second signal compression step). The second signal compression step comprises:
If the input signal is y, the maximum value of the input is Y1, the first knee point is THR_Y1, the second folding value is F11_Y, and the folding slope is SCALE_Y, then the compressed output value y '
If y < = THR_Y1, y '= y;
y > THR_Y1
y '= THR_Y1 + (y - THR_Y1) / SCALE_Y;
If y '> = F11_Y1, y' = F11_Y + (y'-F11_Y) / SCALE_Y;
If y '> = Y1, y' = Y1
. ≪ / RTI >
In the step of emphasizing the heartbeat, if the gain determined experimentally in the section other than the impulse is G1, the gain G_av to be actually multiplied to the input signal is expressed by
From the non-impulse interval,
G_av =? * G_av + (1 -?) * G1
In the impulse section,
G_av =? * G_av + (1 -?);
Where 0 < G1 < 1, 0 < <1, 0 <η <1, ζ> η.
In addition, the heartbeat negative per minute can be calculated from the number of impulses per minute detected in the impulse detection step, and the mean value of the heartbeat negative per minute measured and the heartbeat negative per minute measured now can be displayed as a bar graph.
According to the present invention, since the input signal is signal-compressed, the possibility of clipping is low even when the input signal is large depending on the type of the apparatus. Since the signal compression is performed by varying the slope according to the input level, no problem occurs even when the input signal is small . In addition, by detecting the impulse while reducing the influence of noise, more accurate heart rate measurement can be performed. Since the impulse-less section is less amplified than the impulse section, a low-pitched heartbeat can be obtained.
FIG. 1 is a system configuration diagram for listening to a heartbeat sound using a smartphone equipped with a program implementing the method of the present invention.
2 is a flowchart of a program for implementing the method of the present invention.
FIG. 3 is an example of a screen for displaying the average value of the heartbeat negative per minute measured and the heartbeat negative per minute measured by the bar graph.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a system configuration diagram for listening to a heartbeat sound using a smartphone equipped with a program implementing the method of the present invention.
The user connects the
The heartbeat sound input to the
Next, the heartbeat sound processing method of the present invention will be described in detail with reference to FIG. 2 is a flowchart of a program for implementing the method of the present invention.
In the present invention, an impulse of a heartbeat is detected from an input signal (impulse detection step S200), and a relatively high gain is multiplied to a section in which an impulse is detected, and a relatively low gain is multiplied in a section in which an impulse is not detected (Step S300 of emphasizing the heartbeat).
In the impulse detecting step S200, when the input signal is x (n) and the floor noise is avx (n), when the floor noise avx (n) is smaller than or equal to the input signal x the noise floor avx (n) = α * avx (n) + (1- α) * x (n) to the calculation, and when the ground noise avx (n) is greater than the input signal x (n) avx the noise floor ( n) = ? * avx (n) + (1- ? ) * x (n). At this time, 0.995 < α <1, 0 < β <0.5.
Input signal x (n) = Heart rate is negative and there are various noise mixed in order to reduce the impact of such noise, the savx savx (n) after the determined noise floor (n) β * savx (n ) + (1- β ) * It is recursive as x (n). After finding savx (n), we check if savx (n)> ν * avx (n) ( ν > 1) is satisfied.
In the heartbeat emphasizing step S300, if the gain determined experimentally in the section in which the impulse is not detected is G1, the gain G_av to be actually multiplied by the input signal is
In the section where the impulse is not detected,
G_av =? * G_av + (1 -?) * G1
In the section where the impulse is detected (impulse interval), it is obtained by the following equation.
G_av =? * G_av + (1 -?);
Where 0 < G1 < 1, 0 < <1, 0 <η <1, ζ> η.
The value of G1 is a constant to make the input signal smaller by multiplying the input signal in the non-impulse interval. If it is too small, it becomes uncomfortable to listen. If it is too large, the interval which is not the impulse can not be made small. G1 can be set to a constant value that can not be disturbed by hardware, regardless of hardware.
If the input signal is amplified, the input signal may become too large depending on the type of the signal, so clipping may occur. To prevent this, the input signal may be compressed before the impulse detection step (first signal compression step S100). In the first signal compression step S100, when the input signal is z, the maximum value of the input is E1, the first knee point is THR_E1, the second folding value is F11_E, and the folding slope is SCALE_E, The
If z < = THR_E1 then z '= z;
If z > THR_E1
z '= THR_E1 + (z-THR_E1) / SCALE_E;
If z '> = F11_E1 then z' = F11_E + (z'- F11_E) / SCALE_E;
If z '> = E1 then z' = E1
. ≪ / RTI >
Here, each variable value is experimentally designed according to the characteristics and range of the input signal. The input signal range of the audio codec is typically -1 to +1 V. If the input signal is greater than the first deflection point (THR_E1) (eg 0.8), then the portion larger than the first deflection point is slowly increased to the slope SCALE_E , And if the compressed signal is greater than the second deflection point F11_E1 (ex 0.85), then increase the portion of the second deflection larger than the second deflection point by a little more slowly to the slope SCALE_E (eg 2). If the value is still larger than E1, the signal is limited to E1. With this configuration, it is possible to prevent clipping of the signal to the utmost. This is also applied to the second signal compression step (S400) to be described later. Meanwhile, according to the embodiment, the input signal may be amplified with a predetermined amplification degree before the first signal compression step (S100).
Meanwhile, according to the embodiment, the signal output in the step S300 for emphasizing the heartbeat can be smoothed (step S400 of smoothing). In the smoothing processing step S400, if the gain is g (n) and the smoothing gain is avg (n)
avg (n) = μ * avg (n) + (1-μ) * g
Can be performed by multiplying the signal output from the step of emphasizing the heartbeat by avg (n) obtained by the following equation.
Depending on the type of the signal output in the smoothing processing step S400, the output signal may become too large, so that the signal can be compressed again (second signal compression step S500). The second signal compression step (S400) is performed through the following procedure.
That is, if the input signal is y, the maximum value of the input is Y1, the first knee point is THR_Y1, the second deflection is F11_Y, and the tilting slope is SCALE_Y, then the compressed output value y '
If y < = THR_Y1, y '= y;
y > THR_Y1
y '= THR_Y1 + (y - THR_Y1) / SCALE_Y;
If y '> = F11_Y1, y' = F11_Y + (y'-F11_Y) / SCALE_Y;
If y '> = Y1, y' = Y1
. ≪ / RTI >
On the other hand, the heartbeat negative per minute can be calculated from the number of impulses per minute detected in the impulse detecting step S200. In addition, after the measured heartbeat negative per minute was stored and the mean value of the heartbeat per minute measured was calculated, the calculated mean value of the heartbeat per minute and the heartbeat negative per minute measured now are shown in a bar graph It is easy to see how the number of beats of the heart compared to the past is different by the display.
Although the present invention has been described with reference to several examples, the present invention is not limited to the specific examples.
100 smartphones,
200 stethoscopes,
300 speakers,
400 server.
Claims (11)
A step of multiplying a relatively high gain in a section where the impulse is detected and a step of multiplying a relatively low gain in a section in which the impulse is not detected
And a heartbeat sound processing method.
Assuming that the input signal is x (n) and the floor noise is avx (n)
When avx (n) is less than the x (n) or equal to avx (n) = α * avx (n) + (1- α) * x (n),
When avx (n) is greater than x (n) is calculated by avx (n) = β * avx (n) + (1- β) * x (n),
0.995 < alpha < 1, 0 < beta < 0.5,
savx (n) the savx (n) = β * savx (n) + when La (1- β) * x (n )
savx (n)> ν * avx (n) (ν> 1) when it satisfies cardiac sound processing method characterized in that it is determined that the impulse is detected.
And a first signal compression step of compressing an input signal before the impulse detection step.
If the input signal is z, the maximum value of the input is E1, the first knee point is THR_E1, the second bending value is F11_E, and the bending slope is SCALE_E, then the compressed output value z '
If z < = THR_E1 then z '= z;
If z > THR_E1
z '= THR_E1 + (z-THR_E1) / SCALE_E;
If z '> = F11_E1 then z' = F11_E + (z'- F11_E) / SCALE_E;
If z '> = E1 then z' = E1
Wherein the heartbeat sound is obtained by the following equation.
And a smoothing processing step of smoothing the signal outputted in the step of emphasizing the heartbeat sound.
If the gain is g (n) and the smoothing gain is avg (n)
avg (n) = μ * avg (n) + (1-μ) * g
And multiplying the signal output from the heartbeat negative emphasis step by the avg (n) obtained by the step (b).
And a second signal compression step of compressing the signal output from the smoothing processing step.
If the input signal is y, the maximum value of the input is Y1, the first knee point is THR_Y1, the second folding value is F11_Y, and the folding slope is SCALE_Y, then the compressed output value y '
If y < = THR_Y1, y '= y;
y > THR_Y1
y '= THR_Y1 + (y - THR_Y1) / SCALE_Y;
If y '> = F11_Y1, y' = F11_Y + (y'-F11_Y) / SCALE_Y;
If y '> = Y1, y' = Y1
Wherein the heartbeat sound is obtained by the following equation.
Let G1 be the experimentally determined gain in the non-impulse interval, and the gain G_av, which is actually multiplied by the input signal,
At non-impulse intervals
G_av =? * G_av + (1 -?) * G1;
In the impulse section
G_av =? * G_av + (1 -?);
Where 0 < G1 < 1, 0 < <1, 0 <η <1, ζ> η
Wherein the heartbeat sound is obtained by the following equation.
And calculating a heartbeat negative per minute from the number of impuls per minute detected in the impulse detecting step.
And displaying the mean value of the heartbeat negative per minute measured in the past and the heartbeat negative per minute measured now in a bar graph.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160005906A KR20170086740A (en) | 2016-01-18 | 2016-01-18 | Method for processing heartbeat sound in smart phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160005906A KR20170086740A (en) | 2016-01-18 | 2016-01-18 | Method for processing heartbeat sound in smart phone |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170086740A true KR20170086740A (en) | 2017-07-27 |
Family
ID=59427812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160005906A KR20170086740A (en) | 2016-01-18 | 2016-01-18 | Method for processing heartbeat sound in smart phone |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170086740A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108937898A (en) * | 2018-04-28 | 2018-12-07 | 出门问问信息科技有限公司 | A kind of heart rate detection method, device, storage medium and electronic equipment |
-
2016
- 2016-01-18 KR KR1020160005906A patent/KR20170086740A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108937898A (en) * | 2018-04-28 | 2018-12-07 | 出门问问信息科技有限公司 | A kind of heart rate detection method, device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2018528735A5 (en) | ||
EP3337190B1 (en) | A method of reducing noise in an audio processing device | |
US9414173B1 (en) | Fitting verification with in situ hearing test | |
US11115743B2 (en) | Signal processing device, signal processing method, and program | |
US20190320268A1 (en) | Systems, devices and methods for executing a digital audiogram | |
JP7096318B2 (en) | Equipment and methods for generating flow profiles | |
JPWO2012063423A1 (en) | Sound pressure evaluation system, method and program | |
JP2018500949A5 (en) | ||
JP5526060B2 (en) | Hearing aid adjustment device | |
US8165327B2 (en) | Method for generating acoustic signals of a hearing aid | |
WO2018098716A1 (en) | Stethoscope data processing method and apparatus, electronic device, and cloud server | |
CN104287772A (en) | Digital stethoscope | |
JP2532007B2 (en) | Hearing aid fitting device | |
US20180124525A1 (en) | Method and system for recognizing a beat with a hearing aid | |
KR20170086740A (en) | Method for processing heartbeat sound in smart phone | |
EP3879853A1 (en) | Adjusting a hearing device based on a stress level of a user | |
US7424119B2 (en) | Voice matching system for audio transducers | |
US10357402B2 (en) | Method and system for determining the occlusion effect in an earpiece | |
CN113425276A (en) | Heart rate monitoring method, earphone and computer storage medium | |
US20160151037A1 (en) | Stethoscope device | |
US10258260B2 (en) | Method of testing hearing and a hearing test system | |
Lu | Unidirectional microphone based wireless recorder for the respiration sound | |
CN114830692A (en) | System comprising a computer program, a hearing device and a stress-assessing device | |
Cole et al. | The Audioscan RM500 speechmap/DSL fitting system | |
CN113057613B (en) | Heart rate monitoring circuit and method and wearable device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |