Summary of the invention
The main purpose of the present invention is for providing a kind of method and the device that detect snore disease relative to sonic detection snore disease more accurately.
In order to realize foregoing invention object, the present invention proposes a kind of method detecting snore disease, comprising:
Obtain vibration signal during sleep quality, and judge the breath signal of human body, wherein, the inspiration signal produced when breath signal comprises air-breathing, and the breath signal produced when exhaling;
Obtain the intensity of the first vibration signal of the stated limit frequency of superposition on inspiration signal, and the intensity of the 2nd vibration signal of the stated limit frequency of superposition on the breath signal adjacent with inspiration signal;
According to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge whether human body is snoring state according to comparative result.
Further, described according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge that whether human body is the step of snoring state according to comparative result, comprising:
Respectively the first vibration signal and the 2nd vibration signal are carried out intensity integrated, then compare two after process data, judge whether human body is snoring state.
Further, described according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge that whether human body is the step of snoring state according to comparative result, comprising:
The intensity of the intensity of the first vibration signal and the 2nd vibration signal is carried out ratio computing;
By the ratio of gained with preset threshold ratio relatively, judge whether human body is snoring state according to comparative result.
Further, described by the ratio of gained and the threshold ratio preset relatively, judge that whether human body is the step of snoring state according to comparative result, comprising:
When using the intensity of the first vibration signal divided by the intensity of the 2nd vibration signal, when gained result is more than or equal to the first threshold value of setting, judge that human body is as snoring state;
When using the intensity of the 2nd vibration signal divided by the intensity of the first vibration signal, when gained result is less than or equals the Second Threshold of setting, judges that human body is as the state of snoring.
Further, described by the ratio of gained and the threshold ratio preset relatively, judge that whether human body is the step of snoring state according to comparative result, comprising:
When the intensity of the first vibration signal and the intensity of the 2nd the vibration signal ratio carrying out ratio computing and the threshold ratio preset relatively, when continuous predetermined number of times meets snoring status flag, judge that human body is in snoring state.
The present invention also provides a kind of device detecting snore disease, comprising:
First acquiring unit, vibration signal during for obtaining sleep quality, and judge the breath signal of human body, and wherein, the inspiration signal produced when breath signal comprises air-breathing, and the breath signal produced when exhaling;
2nd acquiring unit, for obtaining the intensity of the first vibration signal of the stated limit frequency of superposition on inspiration signal, and the intensity of the 2nd vibration signal of the stated limit frequency of superposition on the breath signal adjacent with inspiration signal;
According to comparative result, judging unit, for according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judging whether human body is snoring state.
Further, described judging unit, comprising:
Integration module, for respectively the first vibration signal and the 2nd vibration signal being carried out intensity integrated, then compares two after process data, judges whether human body is snoring state.
Further, described judging unit, comprising:
Ratio computing module, for carrying out ratio computing by the intensity of the intensity of the first vibration signal and the 2nd vibration signal;
Judge module, for by the ratio of gained with preset threshold ratio relatively, judge whether human body is snoring state according to comparative result.
Further, described judgement module, comprising:
First judges submodule block, for when using the intensity of the first vibration signal divided by the intensity of the 2nd vibration signal, when gained result is more than or equal to the first threshold value of setting, judging that human body is as the state of snoring; Or,
2nd judges submodule block, when using the intensity of the 2nd vibration signal divided by the intensity of the first vibration signal, when gained result is less than or equals the Second Threshold of setting, judges that human body is as the state of snoring.
Further, described judgement module, comprising:
3rd judges submodule block, for the ratio carrying out ratio computing when the intensity of the intensity of the first vibration signal and the 2nd vibration signal and the threshold ratio preset relatively, when continuous predetermined number of times meets snoring status flag, judges that human body is in snoring state.
The method of the detection snore disease of the present invention and device, the intensity of the designated frequency signal superposed with breath signal by the intensity of the designated frequency signal of inspiration signal superposition is compared, judge whether human body is in snore symptom state, owing to using contact-sensing to gather breath signal, can with respiratory movement synchronous detection, cough can be avoided, the interference that the voice signal etc. spoken and propagate in air causes, simultaneously, present method and device only (are placed in pillow in existing sleep sensor, the micro-tremor signal induction installation of mattress) on slightly do the amendment on software and just can realize, need not additionally increase hardware expenditure, its software module increased is also very simple, only the high signal again and again of breath signal not same-phase is entered type detection and filtering process, then enter type division arithmetic etc. carry out to.
Embodiment
It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
Referring to figs. 1 through Fig. 3, the embodiment of the present invention proposes a kind of method detecting snore disease, comprises step:
Vibration signal when S1, acquisition sleep quality, and judge the breath signal of human body, wherein, the inspiration signal produced when breath signal comprises air-breathing, its corresponding electric signal shows as the baseline upcurve reaching the 1-3 second; And the breath signal produced when exhaling, corresponding electric signal shows as the baseline downcurve reaching the 1-3 second;
S2, the intensity obtaining the first vibration signal of the stated limit frequency of superposition on inspiration signal, corresponding electric signal shows as the higher frequency signals near the 300Hz being superimposed upon on inspiration signal baseline, and the intensity of the 2nd vibration signal of the stated limit frequency of superposition on the breath signal adjacent with inspiration signal, corresponding electric signal shows as the higher frequency signals near the 300Hz being superimposed upon on breath signal baseline;
S3, according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge whether human body is snoring state according to comparative result.
As described in above-mentioned steps S1, the method of vibration signal when obtaining sleep quality can be that the pillow by being provided with micro-tremor signal induction installation or mattress etc. gather, the information that this vibration signal generally contains the heartbeat of human body, breathes, stands up, the present invention only needs to obtain breath signal by the process such as detection, filtering. Above-mentioned breath signal comprises inspiration signal and breath signal, the process namely comprised in the one-period of human body respiration process, such as air-breathing---exhale as one-period, or exhale---air-breathing is one-period etc. When human body is snored, mainly hindered during human body air-breathing, and sent " snore " sound, when exhaling, then generally be there will not be " snore " sound, so breath signal being carried out the explanation that careful differentiation can facilitate subsequent analysis.
As described in above-mentioned steps S2, respiratory rate during sleep quality is generally 0.2Hz��0.5Hz, when human body is snored, there will be the vibration signal of 200Hz��300Hz, it can be added on breath signal, say it is be added on inspiration signal more accurately, so the intensity of the vibration signal of the 200Hz��300Hz being added on breath signal, it is possible to whether snoring occurs when reflecting sleep quality.
As described in above-mentioned steps S3, with reference to Fig. 2, when human body snoring state occurs, on inspiration signal, the intensity of the first vibration signal of superposition can be obviously different from the intensity of the 2nd vibration signal of superposition on breath signal, and the such as intensity of the first vibration signal is obviously greater than the 2nd vibration signal; With reference to Fig. 3, and when the intensity of the first vibration signal is identical with the intensity cardinal principle of the 2nd vibration signal, then illustrate that human body is not snored. Above-mentioned default method comprises multiple, such as the intensity of the first vibration signal and the intensity of second signal are subtracted each other, the absolute value of the result value obtained is compared with default threshold value, if the absolute value of result value is more than or equal to default threshold value, then can think that human body is in snoring state etc.
In the present embodiment, above-mentioned according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge that whether human body is the step S3 of snoring state according to comparative result, comprising:
S31, respectively the first vibration signal and the 2nd vibration signal are carried out intensity integrated, then compare two after process data, judge whether human body is snoring state.
As described in above-mentioned steps S31, the first vibration signal and the 2nd vibration signal carry out intensity integrated, it is possible to obtain the result that two are equivalent to intensity, and gained result is more directly perceived, facilitates two data to compare computing.
With reference to Fig. 4, in the present embodiment, above-mentioned according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judge that whether human body is the step of snoring state according to comparative result, comprising:
S301, the intensity of the intensity of the first vibration signal and the 2nd vibration signal is carried out ratio computing;
S302, by the ratio of gained with preset threshold ratio relatively, judge whether human body is snoring state according to comparative result.
As described in above-mentioned steps S301, when human body is normally slept, the intensity of the first vibration signal is substantially identical with the intensity of the 2nd vibration signal, so ratio between the two is about 1.
As described in above-mentioned steps S302, when human body is in snoring state, both ratio persons can be greater than an appointment threshold value, or be less than another and specify threshold value, and which is relevant as denominator according to the intensity of the intensity of the first vibration signal and the 2nd vibration signal for the result of ratio. As in one embodiment, when using the intensity of the first vibration signal divided by the intensity of the 2nd vibration signal, when gained result is more than or equal to the first threshold value of setting, judging that human body is as snoring state, in the present embodiment, the first threshold value generally selects 1.5; In another specific embodiment, when using the intensity of the 2nd vibration signal divided by the intensity of the first vibration signal, when gained result is less than or equals the Second Threshold of setting, judging that human body is as the state of snoring, in the present embodiment, Second Threshold generally selects 0.67.
In the present embodiment, above-mentioned by the ratio of gained and the threshold ratio preset relatively, judge that whether human body is the step S302 of snoring state according to comparative result, comprising:
S3021, when the intensity of the first vibration signal and the intensity of the 2nd the vibration signal ratio carrying out ratio computing and the threshold ratio preset relatively, when continuous predetermined number of times meets snoring status flag, judge that human body is in snoring state.
As described in above-mentioned steps S3021, above-mentioned continuous predetermined number of times meets snoring status flag and refers to, when in continuous print several respiratory cycles, the ratio that the intensity of the first vibration signal of each breath signal and the intensity of the 2nd vibration signal carry out ratio computing and the threshold ratio preset are relatively, snoring state may be in when all representing sleep quality, so just can determine that this human body is in snoring state. Due to respiratory movement synchronous detection, multiple respiratory movement meets snoring status flag and just judges, the interference of initiations such as coughing, speak can be avoided, simultaneously, other vibration signal is synchronous with respiratory movement owing to being difficult to repeatedly, so being difficult to the identification that makes the mistake, improve the identification accuracy of snoring state widely.
In one embodiment, shaking device and the device of detection snore disease are set in a pillow, when the device detecting snore disease detects that human body is in snoring state, control shaking device vibrations; The device of detection snore disease comprises the hardware structures such as micro-tremor signal induction installation, and when the head of human body is urged on pillow, micro-tremor signal induction installation can collect the vibration signal of human body, and its testing process is:
1, micro-tremor signal induction installation gathers the micro-tremor signal of human body, and obtains the breath signal in micro-tremor signal;
2, the vibration frequency detecting superposition on inspiration signal in the device acquisition breath signal of snore disease is first vibration signal of 150Hz, and the vibration frequency obtaining breath signal superposition is the 2nd vibration signal of 150HZ;
3, then respectively the first vibration signal and the 2nd vibration signal are carried out intensity integrated, obtain representing the first result and the 2nd result of the first vibration signal and the 2nd vibration signal intensity respectively;
4, by the first result divided by the 2nd result, if ratio result is more than or equal to 1.5, then think that human body meets snoring status flag;
If 5 continuous five respiratory cycles, the ratio result got all meets and is more than or equal to 1.5, then assert that human body is in snoring state, and controls shaking device vibrations, changes the position etc. of human body head, stops the state of human body snoring.
The method of the detection snore disease of the present embodiment, due to respiratory movement synchronous detection, multiple respiratory movement meets snoring status flag and just judges that human body is in snoring state, the interference of initiations such as coughing, speak can be avoided, simultaneously, other vibration signal is synchronous with respiratory movement owing to being difficult to repeatedly, and also be difficult to make the mistake identification, so its reliability is extremely high; Simple, present method is only slightly done the amendment on software in existing sleep sensor (being placed in the micro-tremor signal induction installation of pillow, mattress) and just can be realized, it is not necessary to the extra hardware that increases is paid; Its software module increased is also very simple, only the high-frequency signal of breath signal not same-phase is carried out detection and filtering process, then carries out division arithmetic and compare.
With reference to Fig. 5, the embodiment of the present invention also provides a kind of device detecting snore disease, comprising:
First acquiring unit 10, vibration signal during for obtaining sleep quality, and judge the breath signal of human body, and wherein, the inspiration signal produced when breath signal comprises air-breathing, its corresponding electric signal shows as the baseline upcurve reaching the 1-3 second; And the breath signal produced when exhaling, its corresponding electric signal shows as the baseline downcurve reaching the 1-3 second;
2nd acquiring unit 20, for obtaining the intensity of the first vibration signal of the stated limit frequency of superposition on inspiration signal, its corresponding electric signal shows as the higher frequency signals near the 300Hz being superimposed upon on inspiration signal baseline; And the intensity of the 2nd vibration signal of the stated limit frequency of superposition on the breath signal adjacent with inspiration signal, corresponding electric signal shows as the higher frequency signals near the 300Hz being superimposed upon on breath signal baseline;
According to comparative result, judging unit 30, for according to the intensity of default Measures compare first vibration signal and the intensity of the 2nd vibration signal, judging whether human body is snoring state.
Such as above-mentioned first acquiring unit 10, the method of vibration signal when obtaining sleep quality can be that the pillow by being provided with micro-tremor signal induction installation or mattress etc. gather, the information that this vibration signal generally contains the heartbeat of human body, breathes, stands up, the present invention only needs to obtain breath signal by the process such as detection, filtering. Above-mentioned breath signal comprises inspiration signal and breath signal, the process comprised in the one-period of instant human body respiration process, such as air-breathing---exhale as one-period, or exhale---air-breathing is one-period etc. When human body is snored, mainly hindered during human body air-breathing, and sent " snore " sound, when exhaling, then generally be there will not be " snore " sound, so breath signal being carried out the explanation that careful differentiation can facilitate subsequent analysis.
Such as above-mentioned 2nd acquiring unit 20, respiratory rate during sleep quality is generally 0.2Hz��0.5Hz, when human body is snored, there will be the vibration signal of 200Hz��300Hz, it can be added on breath signal, say it is be added on inspiration signal more accurately, so the intensity of the vibration signal of the 200Hz��300Hz being added on breath signal, it is possible to whether snoring occurs when reflecting sleep quality. When snoring state occurs, on inspiration signal, the intensity of the first vibration signal of superposition can be obviously different from the intensity of the 2nd vibration signal of superposition on breath signal, and when the intensity of the first vibration signal is identical with the intensity cardinal principle of the 2nd vibration signal, then illustrate that human body is not snored.
Such as above-mentioned judging unit 30, with reference to Fig. 2, when human body snoring state occurs, on inspiration signal, the intensity of the first vibration signal of superposition can be obviously different from the intensity of the 2nd vibration signal of superposition on breath signal, and the such as intensity of the first vibration signal is obviously greater than the 2nd vibration signal; With reference to Fig. 3, and when the intensity of the first vibration signal is identical with the intensity cardinal principle of the 2nd vibration signal, then illustrate that human body is not snored. Above-mentioned default method comprises multiple, such as the intensity of the first vibration signal and the intensity of second signal are subtracted each other, the absolute value of the result value obtained is compared with default threshold value, if the absolute value of result value is more than or equal to default threshold value, then can think that human body is in snoring state etc.
With reference to Fig. 6, in the embodiment of the present invention, above-mentioned judging unit 30, comprising:
Integration module 31, for respectively the first vibration signal and the 2nd vibration signal being carried out intensity integrated, then compares two after process data, judges whether human body is snoring state.
As above-mentioned integration module 31, first vibration signal and the 2nd vibration signal carry out intensity integrated, it is possible to obtain the result that two are equivalent to intensity, gained result is more directly perceived, facilitates two data to compare computing.
In the embodiment of the present invention, above-mentioned judging unit 30, comprising:
Ratio computing module 32, for carrying out ratio computing by the intensity of the intensity of the first vibration signal and the 2nd vibration signal;
Judge module 33, for by the ratio of gained with preset threshold ratio relatively, judge whether human body is snoring state according to comparative result.
Such as above-mentioned ratio computing module 32, when human body is normally slept, the intensity of the first vibration signal is substantially identical with the intensity of the 2nd vibration signal, so ratio between the two is about 1.
Such as above-mentioned judgement module 33, when human body is in snoring state, both ratio persons can be greater than an appointment threshold value, or be less than another and specify threshold value, and which is relevant as denominator according to the intensity of the intensity of the first vibration signal and the 2nd vibration signal for the result of ratio.
As in one embodiment, above-mentioned judgement module 33 comprises the first judgement submodule block 331, for when using the intensity of the first vibration signal divided by the intensity of the 2nd vibration signal, when gained result is more than or equal to the first threshold value of setting, judge that human body is as snoring state, in the present embodiment, the first threshold value generally selects 1.5; In another specific embodiment, above-mentioned judgement module 33 comprises the 2nd and judges submodule block 332, for when using the intensity of the 2nd vibration signal divided by the intensity of the first vibration signal, when gained result is less than or equals the Second Threshold of setting, judge that human body is as snoring state, in the present embodiment, Second Threshold generally selects 0.67.
In the present embodiment in, above-mentioned judgement module 33, comprising:
3rd judges submodule block 333, for the ratio carrying out ratio computing when the intensity of the intensity of the first vibration signal and the 2nd vibration signal and the threshold ratio preset relatively, when continuous predetermined number of times meets snoring status flag, judges that human body is in snoring state.
As the above-mentioned 3rd judges submodule block 333, above-mentioned continuous predetermined number of times meets snoring status flag and refers to, when in continuous print several respiratory cycles, the ratio that the intensity of the first vibration signal of each breath signal and the intensity of the 2nd vibration signal carry out ratio computing and the threshold ratio preset are relatively, snoring state may be in when all representing sleep quality, so just can determine that this human body is in snoring state. Due to respiratory movement synchronous detection, multiple respiratory movement meets snoring status flag and just judges, the interference of initiations such as coughing, speak can be avoided, simultaneously, other vibration signal is synchronous with respiratory movement owing to being difficult to repeatedly, so being difficult to the identification that makes the mistake, improve the identification accuracy of snoring state widely.
In one embodiment, shaking device and the device of detection snore disease are set in a pillow, when the device detecting snore disease detects that human body is in snoring state, control shaking device vibrations; The device of detection snore disease comprises the hardware structures such as micro-tremor signal induction installation, and when the head of human body is urged on pillow, micro-tremor signal induction installation can collect the vibration signal of human body, and its testing process is:
1, micro-tremor signal induction installation gathers the micro-tremor signal of human body, and obtains the breath signal in micro-tremor signal;
2, the vibration frequency detecting superposition on inspiration signal in the device acquisition breath signal of snore disease is first vibration signal of 150Hz, and the vibration frequency obtaining breath signal superposition is the 2nd vibration signal of 150HZ;
3, then respectively the first vibration signal and the 2nd vibration signal are carried out intensity integrated, obtain representing the first result and the 2nd result of the first vibration signal and the 2nd vibration signal intensity respectively;
4, by the first result divided by the 2nd result, if ratio result is more than or equal to 1.5, then think that human body meets snoring status flag;
If 5 continuous five respiratory cycles, the ratio result got all meets and is more than or equal to 1.5, then assert that human body is in snoring state, and controls shaking device vibrations, changes the position etc. of human body head, stops the state of human body snoring.
The method of the detection snore disease of the present embodiment, due to respiratory movement synchronous detection, multiple respiratory movement meets snoring status flag and just judges that human body is in snoring state, the interference of initiations such as coughing, speak can be avoided, simultaneously, other vibration signal is synchronous with respiratory movement owing to being difficult to repeatedly, and also be difficult to make the mistake identification, so its reliability is extremely high; Simple, present method is only slightly done the amendment on software in existing sleep sensor (being placed in the micro-tremor signal induction installation of pillow, mattress) and just can be realized, it is not necessary to the extra hardware that increases is paid; Its software module increased is also very simple, only the high-frequency signal of breath signal not same-phase is carried out detection and filtering process, then carries out division arithmetic and compare.
The foregoing is only the preferred embodiments of the present invention; not thereby the patent scope of the present invention is limited; every utilize specification sheets of the present invention and accompanying drawing content to do equivalent structure or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all it is included in the scope of patent protection of the present invention with reason.