Summary of the invention
For problems of the prior art, the invention provides a kind of heart rate signal detection method and device, can at Measurement accuracy human heart rate signal under motion conditions, can be real-time the heart rate value of human body is sent to smart mobile phone, and lower power consumption to minimum point, extend the service life of battery.
To achieve these goals, the embodiment of first aspect present invention proposes a kind of heart rate signal detection method, comprises the following steps: S1 obtains heart rate signal; S2 carries out filtering, processing and amplifying to obtained heart rate signal; S3 screens the heart rate signal after filtering, processing and amplifying, calculation process, to obtain final HR values; S4 sends final HR values to smart mobile phone by low-power consumption bluetooth.
According to the heart rate signal detection method of the embodiment of the present invention, described step S2 specifically comprises: S21 carries out Filtering Processing by low pass filter to obtained heart rate signal, filters out obvious disturbing wave; The process of S22 first order amplifying circuit, for amplifying the heart rate signal of low-limit frequency; The amplifying circuit process of the S23 second level, for suppressing the frequency outside heart rate signal; The process of S24 third level amplifying circuit, has 50Hz trap characteristic, suppresses the 50Hz Hz noise that alternating current produces.
According to human heart rate's signal detecting method of the embodiment of the present invention, described step S3 specifically comprises: the interval of S31 screening between 250ms and 2000ms; S32 determines final HR values Rx '.
According to human heart rate's signal detecting method of the embodiment of the present invention, described step S31 specifically comprises: S311 abandons front 5 HR values; S312 judges interval whether between 250ms and 2000ms; If S313 interval is between 250ms and 2000ms, judge whether this interval drops in the interval of 0.8 and 1.2 multiples of last interval; If this interval of S314 drops in the interval of 0.8 and 1.2 multiples of last interval, then this interval can think a reasonable value; If this interval does not drop in the interval of 0.8 and 1.2 multiples of last interval, judge whether ensuing continuous several times interval drops on [250ms, 0.8 times of last interval], or on the interval of [last interval 1.2 times, 2000ms].
According to human heart rate's signal detecting method of the embodiment of the present invention, described step S32 specifically comprises:
S321 calculates first order heart rate array R
1, R
2, R
3, R
4... ..R
x, computing formula is:
Wherein In is interval, and Rx is first order heart rate array, and HRP_COUNT represents heart rate array, TIME_COUNT express time array.
S322 calculates second level heart rate array R1 ', R2 ', R3 ', R4 ' ... Rx ', this grade of array is consistent with the number of first order array, and computing formula is:
Wherein Rx ' is second level heart rate array, is also final heart rate value.
According to the detection method of the heart rate signal of the embodiment of the present invention, the heart rate value of self can be understood effectively, real-time and easily, and record heart rate value under the specific situation such as motion easily, understand Heart Rate States at any time.
To achieve these goals, the embodiment of second aspect present invention proposes a kind of heart rate signal checkout gear, comprising: heart rate signal acquisition module 1, and described heart rate signal acquisition module is heart rate signal pick-up transducers, for obtaining heart rate signal; Heart rate signal filtering, amplification module 2, described heart rate signal filtering, amplification module are used for carrying out filtering removal to the heart rate signal gathered and disturb and amplify; Heart rate signal screening, calculation process module 3, the screening of described heart rate signal, calculation process module are used for the heart rate signal after filtering, processing and amplifying to carry out screening, computing, draw final HR values; Low-power consumption bluetooth module 4, described low-power consumption bluetooth module is used for sending final HR values to smart mobile phone; Intelligence power-off modular 5, described intelligent power-off modular is used for automatic switching on or disconnecting circuit, also comprises power module 6.
According to the heart rate signal checkout gear of the embodiment of the present invention, the heart rate value of self can be understood effectively, real-time and easily, and record heart rate value under the specific situation such as motion easily, understand Heart Rate States at any time, and lower power consumption to minimum point, extend the service life of battery.
According to the heart rate signal checkout gear of the embodiment of the present invention, described heart rate signal filtering, amplification module 2 are made up of filter circuit 21 and three-stage amplifier.
According to the heart rate signal checkout gear of the embodiment of the present invention, described filter circuit 21 is low pass filter; Described three-stage amplifier is first order amplifying circuit 22, has the amplifier of high pass characteristic, can amplify the heart rate signal of low-limit frequency; Second level amplifying circuit 23, has the amplifier of low-pass characteristic, suppresses the frequency outside heart rate signal; Third level amplifying circuit 24, has 50Hz trap characteristic, suppresses the 50Hz Hz noise that alternating current produces.
According to the human heart rate detection device of the embodiment of the present invention, described intelligent power-off modular 5 is made up of metal-oxide-semiconductor 51, micro-control unit 52 and audion 53, when human contact is to described heart rate pick-up transducers, the voltage close to OV is assigned to according to electric resistance partial pressure, OV voltage is received metal-oxide-semiconductor G pole and is made metal-oxide-semiconductor conducting, and whole system powers on.Micro-control unit obtains electric rear output high level makes triode ON pin metal-oxide-semiconductor, system electrification success; After human body leaves described heart rate sensor, micro-control unit detected in a period of time does not have heart rate signal, exports a high level, audion not conducting, and metal-oxide-semiconductor G pole tension starts to rise, and metal-oxide-semiconductor is closed, system power failure.
In the human heart rate detection device of the embodiment of the present invention, low-power consumption bluetooth module 4 and intelligent power-off modular 5 make heart rate signal checkout gear lower power consumption to minimum point, extend the service life of battery.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
In describing the invention, it is to be appreciated that term " first ", " second ", " the 3rd " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.
Below with reference to the accompanying drawings heart rate detection method according to the embodiment of the present invention and device are described.
The embodiment of first aspect present invention proposes a kind of method of heart rate detection.
Fig. 1 is the flow chart of the heart rate detection method of the embodiment of the present invention, and specific implementation process prescription is as follows:
S1 obtains heart rate signal;
S2 carries out filtering, processing and amplifying to obtained heart rate signal;
As shown in Figure 2, in embodiments of the present invention, filtering is carried out to obtained heart rate signal, the concrete steps of processing and amplifying comprises:
S21 carries out Filtering Processing by low pass filter to obtained heart rate signal, filters out obvious disturbing wave;
The process of S22 first order amplifying circuit, for amplifying the heart rate signal of low-limit frequency;
The amplifying circuit process of the S23 second level, for suppressing the frequency outside heart rate signal;
The process of S24 third level amplifying circuit, has 50Hz trap characteristic, suppresses the 50Hz Hz noise that alternating current produces.
After completing above-mentioned steps, carry out following steps:
S3 screens the heart rate signal after filtering, processing and amplifying, calculation process, to obtain final HR values;
In embodiments of the present invention, the heart rate signal after filtering, processing and amplifying to be screened, calculation process, to obtain the concrete steps of final HR values is:
The interval of S31 screening between 250ms and 2000ms;
S32 determines final HR values Rx '.
In embodiments of the present invention, as shown in Figure 3, the concrete steps of screening the interval between 250ms and 2000ms are:
S311 abandons front 5 HR values;
S312 judges interval whether between 250ms and 2000ms;
If S313 interval is between 250ms and 2000ms, judge whether this interval drops in the interval of 0.8 and 1.2 multiples of last interval;
If this interval of S314 drops in the interval of 0.8 and 1.2 multiples of last interval, then this interval can think a reasonable value; If this interval does not drop in the interval of 0.8 and 1.2 multiples of last interval, judge whether ensuing continuous several times interval drops on [250ms, 0.8 times of last interval], or on the interval of [last interval 1.2 times, 2000ms].
Determine that the concrete grammar of final HR values Rx ' is:
S321 calculates first order heart rate array R
1, R
2, R
3, R
4... R
x,
Wherein In is interval, and Rx is first order heart rate array, and HRP_COUNT represents heart rate array, TIME_COUNT express time array.
S322 calculates second level heart rate array R1 ', R2 ', R3 ', R4 ' ... Rx ', this grade of array is consistent with the number of first order array,
Wherein Rx ' is second level heart rate array, is also final heart rate value.
S4 sends final HR values to smart mobile phone by low-power consumption bluetooth.
In the embodiment of second aspect present invention, a kind of heart rate signal checkout gear is proposed, as shown in Figure 4, comprise: heart rate signal acquisition module 1, heart rate signal filtering, amplification module 2, heart rate signal screening, calculation process module 3, low-power consumption bluetooth module 4, intelligent power-off modular 5 and power module 6.
Heart rate signal acquisition module 1 is heart rate pick-up transducers, for obtaining heart rate signal; Heart rate signal filtering, amplification module 2 are disturbed for carrying out filtering removal to the heart rate signal gathered and amplify; Heart rate signal screening, calculation process module 3 for the heart rate signal after filtering, processing and amplifying being carried out screen, computing, draw final HR values; Low-power consumption bluetooth module 4 is for sending final HR values to smart mobile phone; Intelligence power-off modular 5 is for automatic switching on or disconnecting circuit.
Preferably, described heart rate signal filtering, amplification module 2 are made up of low-pass filter circuit 21 and three-stage amplifier.
Described filter circuit 21 is low pass filter; Described three-stage amplifier is first order amplifying circuit 22, has the amplifier of high pass characteristic, can amplify the heart rate signal of low-limit frequency; Second level amplifying circuit 23, has the amplifier of low-pass characteristic, suppresses the frequency outside heart rate signal; Third level amplifying circuit 24, has 50Hz trap characteristic, suppresses the 50Hz Hz noise that alternating current produces.
Preferably, described intelligent power-off modular 5 is made up of metal-oxide-semiconductor 51, micro-control unit 52 and audion 53, when human contact is to described heart rate pick-up transducers, assigns to the voltage close to OV according to electric resistance partial pressure, OV voltage is received metal-oxide-semiconductor G pole and is made metal-oxide-semiconductor conducting, and whole system powers on.Micro-control unit obtains electric rear output high level makes triode ON pin metal-oxide-semiconductor, system electrification success; After human body leaves described heart rate sensor, micro-control unit detected in a period of time does not have heart rate signal, exports a high level, audion not conducting, and metal-oxide-semiconductor G pole tension starts to rise, and metal-oxide-semiconductor is closed, system power failure.
According to human heart rate's signal supervisory instrument of the embodiment of the present invention, the heart rate value of self can be understood effectively, real-time and easily, and record heart rate value under the specific situation such as motion easily, understand Heart Rate States at any time, low-power consumption bluetooth module 4 and intelligent power-off modular 5 make heart rate signal checkout gear lower power consumption to minimum point, extend the service life of battery.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.