A kind of heart rate detection method and system
Technical field
The present embodiments relate to detection technique, more particularly, to a kind of heart rate detection method and system.
Background technology
Heart rate refers to the number of times of human heart beating per minute.Human parameterss detection in, heart rate be one extremely important
Physical signs, for medical diagnosiss provide reference.Meanwhile, heart rate also can refer to as the objective evaluation of human motion physiological stress
Mark, has been widely used in the various aspects of body building, athletics and physical training.At present, Cardio kickboxing yet suffers from a lot
Limit, finger-clipped rhythm of the heart needs measured in measurement remains stationary, and ECG electrode rhythm of the heart needs for electrode slice to be affixed on skin
Skin fixed position monitor heart rate, it is difficult to meet the requirement of future electronic health monitoring, wearable device etc., therefore carries whenever and wherever possible
The heart rate data taking people is just particularly important.
In prior art, also there are the record detecting heart rate using photoplethysmographic tracing, photoplethysmographic
The photoelectricity means that are made by tracing detect a kind of non-invasive detection methods of volumetric blood change in biological tissue.When certain wavelength
Light beam when being irradiated to skin surface, light beam will be sent to photelectric receiver by way of transmission or reflection.In the process,
Because the attenuation by absorption by integumentary musculature and blood acts on, the light intensity that detector detects will weaken, wherein skin, flesh
Meat, tissue etc. are to maintain invariable in whole blood circulation to the absorption of light, and the volumetric blood in skin is in heart
Effect is lower to be in pulsation change.When the heart contracts, at most, absorbing amount is also maximum, the light detecting for external perihaemal canal blood volume
Intensity is minimum;And in diastole, external perihaemal canal blood volume is minimum, the light intensity detecting is maximum, so that photelectric receiver is examined
The light intensity measuring is in that pulsating changes therewith.The signal of this intensity variation is converted into the signal of telecommunication, just can obtain volume
The change of pulse flow.
But this kind of mode needs a light source, in gatherer process, light source is in luminance, and light source lights for a long time, its
Power consumption is larger, and user's detection means in motor process is similarly in unstable device simultaneously, and then leads to the detection means can not
With skin surface effective contact, the heart rate value that its consequence gathers for detection means is less than actual heart rate value, and user is in strenuous exercise
Under state, the heart rate value easy error user of collection makes false judgment and produces serious consequence.
Content of the invention
The present invention provides a kind of heart rate detection method and system it is intended to improve the accuracy in detection of heart rate detection system.
The present invention provides a kind of heart rate detection method, wherein, including:
Obtain air bag current pressure values, and obtain the collection heart rate value mating with current pressure values;
Judge the described pressure value whether effective threshold signal of matching pressure or the invalid threshold signal of pressure;And form judgement knot
Fruit exports;
Send alarm in the state of described judged result is the described pressure value coupling invalid threshold signal of described pressure;
In the state of described judged result is the described pressure value coupling effective threshold signal of described pressure, according to described pressure
Force value, described collection heart rate value and pressure criteria value calculate and form heart rate signal output.
Preferably, above-mentioned heart rate detection method, wherein, obtains air bag current pressure values, and obtains and current pressure values
The collection heart rate value of coupling also includes:
A prefabricated collection heart rate cut off value;
Judge current described collection heart rate value whether more than described collection heart rate cut off value;
In the state of current described collection heart rate value is not more than described collection heart rate cut off value, frequency acquisition is arranged
For normal acquisition frequency;
In the state of current described collection heart rate value is more than described collection heart rate cut off value, frequency acquisition is set to
Motion pick frequency.
Preferably, above-mentioned heart rate detection method, wherein, described motion pick frequency is more than described normal acquisition frequency.
Preferably, above-mentioned heart rate detection method, wherein, mates the invalid threshold signal of described pressure in described pressure value
Send alarm under state to include:
In the given time, in the state of continuously acquiring the described pressure value of N number of coupling invalid threshold signal of described pressure,
Judge that current described collection heart rate value is invalid;Wherein N is positive integer;
Send described alarm.
Preferably, above-mentioned heart rate detection method, wherein, the value of N is 3.
Preferably, above-mentioned heart rate detection method, wherein, mates the effective threshold signal of described pressure in described pressure value
Under state, calculated according to described pressure value, described collection heart rate value and pressure criteria value and form heart rate signal output inclusion:
In the state of the described pressure value coupling effective threshold signal of described pressure, calculate described pressure value and described pressure
Barometric error between standard value, air pressure acquisition error coefficient;
Calculated according to heart rate maximum and described collection heart rate value and form heart rate Acquisition Error coefficient;
Gathered by mistake according to described barometric error, described air pressure acquisition error coefficient, described collection heart rate value and described heart rate
Difference coefficient combines rate calculation method and calculates formation described heart rate signal output.
Preferably, above-mentioned heart rate detection method, wherein, described rate calculation method is:
Wherein:Z is described heart rate signal;
X1For described collection heart rate value;X2 is heart rate maximum;For mean error;
For described heart rate Acquisition Error coefficient;
Y1For described pressure value;Y2For pressure criteria value;
Y2/Y1:For described air pressure acquisition error coefficient;
Y2-Y1:For described barometric error.
The present invention is providing a kind of heart rate detection system, wherein, including:
Collecting unit:In order to obtain air bag current pressure values, and obtain the collection heart rate value mating with current pressure values;
Judging unit, in order to judge the described pressure value whether effective threshold signal of matching pressure or pressure invalid threshold value letter
Number;And form judged result output;
Alarm unit, in order to be the state that described pressure value mates the invalid threshold signal of described pressure in described judged result
Under send alarm;
Computing unit, in order to be the state that described pressure value mates the effective threshold signal of described pressure in described judged result
Under, calculated according to described pressure value, described collection heart rate value and pressure criteria value and form heart rate signal output.
Preferably, above-mentioned heart rate detection system, wherein, described collecting unit prefabricated gathers heart rate cut off value, including,
Whether collection judgment means, in order to judge current described collection heart rate value more than described collection heart rate cut off value;
Frequency acquisition control device, in order to be not more than described collection heart rate cut off value in current described collection heart rate value
Under state, frequency acquisition is set to normal acquisition frequency;It is more than described collection heart rate in current described collection heart rate value to divide
In the state of dividing value, frequency acquisition is set to motion pick frequency.
Preferably, above-mentioned heart rate detection system, wherein, described motion pick frequency is more than described normal acquisition frequency.
Preferably, above-mentioned heart rate detection system, wherein, described alarm unit includes:
Alarm judgment means, in order in the given time, to continuously acquire the institute of N number of coupling invalid threshold signal of described pressure
In the state of stating pressure value, judge that current described collection heart rate value is invalid;Wherein N is positive integer;
Siren, in order to send described alarm.
Preferably, above-mentioned heart rate detection system, wherein, the value of N is 3.
Preferably, above-mentioned heart rate detection system, wherein, described computing unit includes:
Error calculating device, in the state of the described pressure value coupling effective threshold signal of described pressure, calculates described pressure
Barometric error between force value and described pressure criteria value, air pressure acquisition error coefficient;
Error coefficient computing device, calculates according to heart rate maximum and described collection heart rate value and forms heart rate Acquisition Error system
Number;
Rate calculation device, according to described barometric error, described air pressure acquisition error coefficient and described collection heart rate value, institute
State heart rate Acquisition Error coefficient and combine the described heart rate signal output of rate calculation method calculating formation.
Preferably, above-mentioned heart rate detection system, wherein, described rate calculation method is:
Wherein:Z is described heart rate signal;
X1For described collection heart rate value;X2 is heart rate maximum;For mean error;
For described heart rate Acquisition Error coefficient;
Y1For described pressure value;Y2For pressure criteria value;
Y2/Y1:For described air pressure acquisition error coefficient;
Y2-Y1:For described barometric error.
Compared with prior art, it is an advantage of the invention that:
In the present invention, detection to current pressure values, judge that detecting system is had with human body surface skin by this pressure value
Effect contact, calculates in the state of detecting system with human body surface skin effective contact and forms heart rate signal output.In the present invention,
On the one hand, when judge detecting system invalid with human body surface skin contact to send alarm and reminding user and currently gather adopt for invalid
Collection, need to do corresponding adjustment to obtain effective collection, on the other hand, according to described pressure value, the described collection heart to detecting system
Rate value and pressure criteria value calculate and form heart rate signal output, it is to avoid because detecting system is low to human body surface skin formation pressure
Cause output heart rate signal inaccurate, be intended to improve the accuracy in detection of heart rate signal by said method.
Brief description
Fig. 1 is a kind of flow chart of heart rate detection method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of heart rate detection method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of heart rate detection method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of heart rate detection system provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than entire infrastructure is illustrate only in description, accompanying drawing.
Human body is kept in motion down, heart rate detection system and human body surface skin just cannot effective contact, and then now
The heart rate signal obtaining is generally inaccurate.
Embodiment one
A kind of flow chart of heart rate detection method that Fig. 1 provides for the embodiment of the present invention one, the present embodiment is applicable to the heart
Rate detects, the method can be executed by the hardware being equipped with corresponding software, specifically includes following steps:
Step S110, acquisition air bag current pressure values, and obtain the collection heart rate value mating with current pressure values;Air bag one
Side be fixedly connected on detecting system or detection means body, opposite side then presses close to human body surface skin, the pressure value of air bag
The actually detecting system or detection means body pressure value to the human body surface time.Detecting system or detection means can adopt sound
Pressure detection mode obtains collection heart rate value.
Further, human body surface skin can be the skin corresponding to posterior auricular artery region, little because of posterior auricular artery region
Sweat gland is less, and the perspiration that motion is perspired is also relatively small, and air bag contacts human body surface skin, human body surface by direct friction
After coupling occurs, air bag will become " slip " friction with the direct friction of human body surface skin, and then the accuracy gathering has
Declined, thus as further preferred scheme, human body surface skin can be the skin corresponding to posterior auricular artery region, improves pressure
Force value and/or the collection accuracy of collection heart rate value.
Step S120, judge the described pressure value whether effective threshold signal of matching pressure or the invalid threshold signal of pressure;And
Form judged result output;
Step S130, send out in the state of described judged result is the described pressure value coupling invalid threshold signal of described pressure
Go out alarm;In the state of described judged result is the described pressure value coupling invalid threshold signal of described pressure, judge detection system
System or detection means body is not yet in effect with human body surface skin contacts.
The air bag of the present invention can for can not pressurizing balloon, alternatively can pressurizing balloon, when air bag be can not pressurizing balloon when,
If described judged result is described pressure value mates the invalid threshold signal of described pressure, usually wearing mode is inaccurate leads
Cause.When air bag be can pressurizing balloon when, if described judged result is described pressure value mates the invalid threshold signal of described pressure,
Be usually that wearing mode is inaccurate leads to, wearing mode inaccurate so that air bag cannot effectively stress it is also possible to be in air bag
Air pressure not enough, need air bag is done with pressurising and process.The reason contact not yet in effect, may have a lot.It is only for example herein, rather than
Limitation of the invention further.
Step S140, in the state of described judged result is the described pressure value coupling effective threshold signal of described pressure,
Calculated according to described pressure value, described collection heart rate value and pressure criteria value and form heart rate signal output.
Then it represents that current in the state of described judged result is the described pressure value coupling effective threshold signal of described pressure
Detecting system or detection means body and skin surface effective contact, but the heart rate value not representing current collection is just reality
Heart rate value, usual pressure value is bigger, and its collection heart rate value is closer to actual heart rate value, and pressure value is less, and it gathers heart rate value
Have some deviations and actual heart rate value between, in order to improve the accuracy of heart rate signal, the present invention according to current pressure value,
Described collection heart rate value and pressure criteria value calculate and form heart rate signal output.Wherein, pressure criteria value can be the maximum of pressure
Value.
The operation principle of the present invention is:Obtain air bag current pressure values, and obtain the collection heart mating with current pressure values
Rate value;Judge the described pressure value whether effective threshold signal of matching pressure or the invalid threshold signal of pressure;And form judged result
Output;By the pressure value of air bag judge detecting system or detection means body whether with human body surface skin effective contact,
In the state of described judged result is the described pressure value coupling invalid threshold signal of described pressure, judge detecting system or detection dress
Put that body is not yet in effect with human body surface skin to be contacted, now send alarm and reminding user's current state cannot obtain the effective heart
Rate value, in the state of described judged result is the described pressure value coupling effective threshold signal of described pressure, judges detecting system
Or detection means body is not yet in effect with human body surface skin contacts, according to described pressure value, described collection heart rate value and pressure mark
Quasi- value calculates and forms heart rate signal output.
In the present invention, detection to current pressure values, judge that detecting system is had with human body surface skin by this pressure value
Effect contact, calculates in the state of detecting system with human body surface skin effective contact and forms heart rate signal output.In the present invention,
On the one hand, when judge detecting system invalid with human body surface skin contact to send alarm and reminding user and currently gather adopt for invalid
Collection, need to do corresponding adjustment to obtain effective collection, on the other hand, according to described pressure value, the described collection heart to detecting system
Rate value and pressure criteria value calculate and form heart rate signal output, it is to avoid because detecting system is low to human body surface skin formation pressure
Cause output heart rate signal inaccurate, be intended to improve the accuracy in detection of heart rate signal by said method.
It should be noted that:In detecting system or detection means body, an air pump can also be set, when described judged result
For air bag being done in the state of the described pressure value coupling invalid threshold signal of described pressure with inflation process and/or sending alarm.With
The atmospheric pressure value in air bag is made to mate effective threshold signal.The technique effect phase of the technique effect of this kind of mode and technique scheme
Seemingly, the equivalent to above-mentioned technique effect.
Embodiment two
Generally human body is under normal condition, and changes in heart rate frequency is slower, is in relatively steady state, and human body is in fortune
Under dynamic state, changes in heart rate frequency is very fast, and under kinestate, heart rate signal is that can user judge continue under human body current state
The major criterion that reforwarding is moved, the frequency acquisition of the heart rate value under being therefore at moving is greater than the frequency collection of normal condition, fortune
The frequency collection of dynamic state is usually Real-time Collection.But the power consumption of Real-time Collection can be very big.
As further preferred embodiment, above-mentioned heart rate detection method, wherein, step S110, to obtain air bag current
Pressure value, and obtain the collection heart rate value mating with current pressure values and also include:
Step S1101, a prefabricated collection heart rate cut off value;
Step S1102, judge current described collection heart rate value whether more than described collection heart rate cut off value;
Step S1103, current described collection heart rate value be not more than described collection heart rate cut off value in the state of, will adopt
Integrate frequency configuration as normal acquisition frequency;Normal acquisition frequency can be 10s/ time, 15s/ time, 20s/ time, 30s/ time.It is only herein
Citing, not limitation of the invention further.
Step S1104, current described collection heart rate value be more than described collection heart rate cut off value in the state of, will gather
Frequency configuration is motion pick frequency.Preferably, described motion pick frequency is more than described normal acquisition frequency.Motion pick frequency
Rate can be 100ms/ time, 500ms/ time, 1000ms/ time, 1500ms/ time.It is only for example herein, not further to the present invention
Limit.
In order to reduce power consumption, in technique scheme, a prefabricated collection heart rate cut off value;Judge the current described collection heart
Whether rate value is more than described collection heart rate cut off value;It is not more than described collection heart rate cut off value in current described collection heart rate value
In the state of, frequency acquisition is set to normal acquisition frequency;According to the different frequency acquisition of different state settings, it is to avoid in
Under normal condition, heart rate signal is carried out with Real-time Collection, reduces detecting system or the power consumption of detection means body.
Embodiment three
Under kinestate, there is relative motion with human skin in detecting system or detection means body to human body, enter
And sometimes it is possible that pressure value moment is too low, then there is false alarm, in order to overcome this defect.
As further preferred embodiment, above-mentioned heart rate detection method, wherein, step S130, in described pressure value
Send alarm in the state of mating the invalid threshold signal of described pressure to include:
Step S1301, in the given time, continuously acquires the described pressure of N number of coupling invalid threshold signal of described pressure
In the state of value, judge that current described collection heart rate value is invalid;
Step S1302, send described alarm.
By continuously acquire N number of coupling the invalid threshold signal of described pressure described pressure value in the state of, just can send
Alarm signal, it is to avoid false alarm.
As further preferred embodiment, wherein N is positive integer;Wherein, the value of N is 3.
Generally, human body is under kinestate, and head is subjected to displacement generally by the left and right of rule and/or up and down, for example, doing
During upper and lower displacement campaign, its characteristics of motion is to go up up and down, or lower upper and lower, and left and right displacement is same in the same manner, is three
Secondary one circulation of formation, in order to obtain the change frequency of head displacement, can pass through a sensor (gyrosensor or gravity sensitive
Device) collection head Changing Pattern, and a motion frequency is formed according to this rule.Detecting system or detection means body are with this fortune
Dynamic frequency gathers the current pressure values of air bag, if displacement movement is to form a circulation for 3 times, continuous acquisition is to 3 coupling institutes
In the state of stating the described pressure value of the invalid threshold signal of pressure, judge that current described collection heart rate value is invalid;Need not gather
Excessive signal can achieve and judges.
Sensor (gyrosensor or gravity sensor) can be fixed and be formed at detecting system or detection means body, also may be used
There is provided by external hardware, for example intelligent mobile terminal.Only need between external hardware and detecting system or detection means body
Set up data communication.
As further preferred embodiment, above-mentioned heart rate detection method, wherein, step S140, in described pressure
In the state of the value coupling effective threshold signal of described pressure, according to described pressure value, described collection heart rate value and pressure criteria value
Calculate and form heart rate signal output inclusion:
Step S1401, described pressure value coupling the effective threshold signal of described pressure in the state of, calculate described pressure value
Barometric error and described pressure criteria value between, air pressure acquisition error coefficient;
Step S1402, calculated according to heart rate maximum and described collection heart rate value and form heart rate Acquisition Error coefficient;
Step S1403, according to described barometric error, described air pressure acquisition error coefficient, described collection heart rate value, the described heart
Rate Acquisition Error coefficient combines rate calculation method and calculates formation described heart rate signal output.
Further, above-mentioned heart rate detection method, wherein, described rate calculation method is:
Wherein:Z is described heart rate signal;
X1For described collection heart rate value;X2 is heart rate maximum;Heart rate maximum can calculate according to existing computing formula,
It is not specifically described herein.
For mean error,Computational methods more, such as equal precision measurement method, or sampling summation take error method etc.
Deng not being specifically described herein.
For described heart rate Acquisition Error coefficient;
Y1For described pressure value;Y2For pressure criteria value;
Y2/Y1:For described air pressure acquisition error coefficient;
Y2-Y1:For described barometric error.
By above-mentioned rate calculation method, according to described barometric error, described air pressure acquisition error coefficient, described collection
Heart rate value, described heart rate Acquisition Error coefficient combine rate calculation method and calculate formation described heart rate signal output.It is intended to disturb
The factor of heart rate signal accuracy removes, and improves the accuracy of heart rate signal collection.
Example IV
The present invention is providing a kind of heart rate detection system, wherein, including:
Collecting unit:In order to obtain air bag current pressure values, and obtain the collection heart rate value mating with current pressure values;
Judging unit, in order to judge the described pressure value whether effective threshold signal of matching pressure or pressure invalid threshold value letter
Number;And form judged result output;
Alarm unit, in order to be the state that described pressure value mates the invalid threshold signal of described pressure in described judged result
Under send alarm;
Computing unit, in order to be the state that described pressure value mates the effective threshold signal of described pressure in described judged result
Under, calculated according to described pressure value, described collection heart rate value and pressure criteria value and form heart rate signal output.
As further preferred embodiment, above-mentioned heart rate detection system, wherein, the prefabricated collection of described collecting unit
Heart rate cut off value, including,
Whether collection judgment means, in order to judge current described collection heart rate value more than described collection heart rate cut off value;
Frequency acquisition control device, in order to be not more than described collection heart rate cut off value in current described collection heart rate value
Under state, frequency acquisition is set to normal acquisition frequency;It is more than described collection heart rate in current described collection heart rate value to divide
In the state of dividing value, frequency acquisition is set to motion pick frequency.
Preferably, above-mentioned heart rate detection system, wherein, described motion pick frequency is more than described normal acquisition frequency.
As further preferred embodiment, above-mentioned heart rate detection system, wherein, described alarm unit includes:
Alarm judgment means, in order in the given time, to continuously acquire the institute of N number of coupling invalid threshold signal of described pressure
In the state of stating pressure value, judge that current described collection heart rate value is invalid;Wherein N is positive integer;
Siren, in order to send described alarm.
As further preferred embodiment, above-mentioned heart rate detection system, wherein, the value of N is 3.
As further preferred embodiment, above-mentioned heart rate detection system, wherein, described computing unit includes:
Error calculating device, in the state of the described pressure value coupling effective threshold signal of described pressure, calculates described pressure
Barometric error between force value and described pressure criteria value, air pressure acquisition error coefficient;
Error coefficient computing device, calculates according to heart rate maximum and described collection heart rate value and forms heart rate Acquisition Error system
Number;
Rate calculation device, according to described barometric error, described air pressure acquisition error coefficient, described collection heart rate value, institute
State heart rate Acquisition Error coefficient and combine the described heart rate signal output of rate calculation method calculating formation.
Preferably, above-mentioned heart rate detection system, wherein, described rate calculation method is:
Wherein:Z is described heart rate signal;
X1For described collection heart rate value;X2 is heart rate maximum;Heart rate maximum can calculate according to existing computing formula,
It is not specifically described herein.
For mean error,Computational methods more, such as equal precision measurement method, or sampling summation take error method etc.
Deng not being specifically described herein.
For described heart rate Acquisition Error coefficient;
Y1For described pressure value;Y2For pressure criteria value;
Y2/Y1:For described air pressure acquisition error coefficient;
Y2-Y1:For described barometric error.
The said goods can perform the method that any embodiment of the present invention is provided, and possesses the corresponding functional module of execution method
And beneficial effect.Therefore the operation principle of heart rate detection system is repeated no more herein.
It should be noted that detecting system or detection means can obtain collection heart rate value using acoustic pressure detection mode.But
Present aspect is commonly available to Photoelectric Detection heart rate.
Detecting system or detection means body can be inherited on earphone, and detecting system or detection means body one end are fixing even
Connect the support of described earphone, the other end is hanging, when needing detection, wear earphone so that detecting system or detection means body hang
Empty end thereof contacts human body surface skin.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.