CN106491118A - Real-time rate calculation system and method based on the electrocardiograph of Android system - Google Patents

Real-time rate calculation system and method based on the electrocardiograph of Android system Download PDF

Info

Publication number
CN106491118A
CN106491118A CN201610870971.0A CN201610870971A CN106491118A CN 106491118 A CN106491118 A CN 106491118A CN 201610870971 A CN201610870971 A CN 201610870971A CN 106491118 A CN106491118 A CN 106491118A
Authority
CN
China
Prior art keywords
module
ripples
data
real
rate calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610870971.0A
Other languages
Chinese (zh)
Inventor
何义飞
杨和平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN JIXING MEDICAL SCIENCE & TECHNOLOGY Co Ltd
Original Assignee
WUHAN JIXING MEDICAL SCIENCE & TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN JIXING MEDICAL SCIENCE & TECHNOLOGY Co Ltd filed Critical WUHAN JIXING MEDICAL SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201610870971.0A priority Critical patent/CN106491118A/en
Publication of CN106491118A publication Critical patent/CN106491118A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, 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/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/0245Detecting, measuring or recording pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Physics & Mathematics (AREA)
  • Cardiology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Physiology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention discloses a kind of real-time rate calculation method of electrocardiograph based on Android system, its feature, including:The first step, obtains R ripples from lead module in the leads that electrocardio computing module sends;Second step, electrocardio computing module find out the peak value and its threshold values of R ripples;3rd step, the value of R ripples is compared with the threshold values for calculating gained, if more than threshold values, being labeled as maximum and recording its index position;The present invention is successfully applied to rate calculation in Android system, and on the basis of additional hardware is not increased, using software algorithm, it is ensured that accuracy ground quickly calculates heart rate simultaneously.According to the present invention, normal cardiac rate just can calculate result within 2 seconds, compare traditional method, greatly reducing the calculating time, the real-time of heart rate is ensure that, so as to for much needing to know that the heart disease of heart rate real-time change provides important medical reference.

Description

Real-time rate calculation system and method based on the electrocardiograph of Android system
Technical field
The invention belongs to biomedical and computing technique field, and in particular to a kind of electrocardiograph based on Android system Real-time rate calculation system and method.
Background technology
Heart rate refers to the number of times of heart heart beating per minute under normal person's rest state, is also HRrest, is in electrocardiogram The index that most easily understands.Normal cardiac rate is 60~100 beats/min, can produce individual diversity because of age, sex or other physiologic factors Different.In general, the age is less, and heart rate is faster, and old people's heart beating is slower than youngster, and the heart rate of women is faster than male of the same age, fortune The heart rate of mobilization is partially slow compared with average adult, generally 50 beats/min or so, and these are all normal physiological phenomenons.Heart rate is machine One window of body function state, changes in heart rate are closely related with heart disease, and therefore, the present invention provides a kind of based on ARIXTRA system The real-time rate calculation method of system is significant.
Or most of at present ripe rate calculation methods are realized from proprietary hardware chip, single function, cost ratio Higher;Realized using traditional method, algorithm is complicated, real-time is not high.With science and technology and the Internet fast development, all faces Consumer's Experience sense will be improved to the operation of terminal.
Content of the invention
The purpose of the present invention is aiming at the defect of prior art, there is provided a kind of reality of the electrocardiograph based on Android system When rate calculation system and method, real-time heart rate can be drawn by software algorithm using existing data, be reduced extra Software and hardware expense.
The invention provides a kind of real-time rate calculation system of electrocardiograph based on Android system, it is characterised in that bag Include for gathering front end data acquisition module, display module and the master board of the real-time heart rate signal of human body, master board is arranged There are central processing module, signal conversion module, filtration module, I leads modules, rate calculation module and internal interface mould Block;Front end data acquisition module is electrically connected with the internal interface module of master control borad by USB line, and central processing module and inside connect Mouth mold block is electrically connected, and central processing module is realized carrying out heart rate number and front end data acquisition module between by internal interface module According to interaction;Central processing module transmit heart rate data to signal conversion module, signal conversion module realize data splicing and The conversion of voltage;Signal conversion module by process after data transfer electrically connect to filtration module, filtration module realizes data Filtering operation, eliminates noise signal;Filtration module by process after signal transmission to I leads modules, I leads modules Leads are extracted from lead electrocardiogram (ECG) data;Leads are transferred to rate calculation module, rate calculation mould by lead module Block receives leads and realizes rate calculation, and result of calculation is transferred to show by rate calculation module by internal interface module Module shows.
The invention provides a kind of real-time rate calculation method of electrocardiograph based on Android system, it is characterised in that: It comprises the following steps:
The first step, obtains R ripples from lead module in the leads that electrocardio computing module sends;
Second step, electrocardio computing module find out the peak value and its threshold values of R ripples;
3rd step, the value of R ripples is compared with the threshold values for calculating gained, if more than threshold values, being labeled as maximum and remembering Record its index position;
4th step, calculates heart rate using following equation:HR=60*1000*2/ (Index_R [N]-Index_R [0]), its In, HR refers to that heart rate, Index_R [0] refer to that the index position of first maximum, Index_R [N] refer to the rope of last maximum Draw position, N is 2.
In above-mentioned technical proposal, in second step, the peak value of R ripples is found from the leads of 2.2s.
In above-mentioned technical proposal, the R ripples threshold values is to be multiplied by threshold coefficient 0.707 by peak value to calculate.
In above-mentioned technical proposal, the 3rd step is led from (DataLen=timesecend*fs/down) of DataLen length R ripples maximum and its index position are found out in connection data;The DataLen is referred to every time for calculating the number of heart rate data; The timesecend refers to the time span (second) for calculating N number of R ripples;The fs refers to data sampling frequency, i.e., per second The data amount check that clock is collected;The down refers to down-sampled rate.
In above-mentioned technical proposal, also include finding R ripple maximums in 50 data points from after current data point, if found R ripple maximums, then count is incremented and records the index position of current R ripples for R ripples, then is skipped from current R ripples maximum value position backward 200 data points find next one R ripple maximums;If not finding R ripple maximums, data point moves one backward, then with 50 Individual data point continually looks for R ripple maximums for an interval, involves its corresponding index position Index_R until finding 3 R [0], Index_R [1] and Index_R [2].
In above-mentioned technical proposal, data sampling frequency fs is 1000Hz;Down-sampled rate down is 1.
Case of the present invention is passed through and is tested on the electrocardiograph based on Android system, accurately calculates the heart rate one of normal person As all within 2s, compare traditional mode, operand and calculating time greatly shorten, and the change for heart rate provides in real time guarantor Card.
Real-time rate calculation method of the present invention based on Android system compared with traditional method, with quick, accurate, do not increase Plus additional hardware, the features such as software algorithm is simplified.The present invention has done in terms of the real-time of rate calculation and accuracy and has carried greatly very much Rise, particularly suitable apply ARIXTRA, Linux etc. be embedded, on hand-held mobile terminal so that in real time the ease for use of heart rate and Practicality is greatly improved.
Description of the drawings
Fig. 1 is for patent structure schematic diagram of the present invention;
Fig. 2 is the electric hookup for patent of the present invention.
Fig. 3 is the software flow pattern for patent of the present invention.
Specific embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, is easy to be well understood to this Bright, but they do not constitute restriction to the present invention.
The present invention is described in detail to invention with reference to concrete example:
As shown in figure 1, being the electrocardio in Android system based on the real-time rate calculation method of the electrocardiograph of Android system Realize on figure machine, including master board, display module and front end data acquisition module etc..The present embodiment master board centre Reason module used by central processing unit (CPU) adopt tetra- nuclear industry level processors of Fresscale i.MX6Q, with high performance, Superior power consumption performance, high cost performance and stability.The present invention is included for gathering the front end of the real-time heart rate signal of human body Data acquisition module, display module and master board, master board are provided with central processing module, signal conversion module, filtering Module, I leads modules, rate calculation module and internal interface module;Front end data acquisition module is by USB line and master control The internal interface module electrical connection of plate, central processing module and the electrical connection of internal interface module, central processing module is by inside Interface module realizes the interaction for carrying out heart rate data and front end data acquisition module between;Central processing module transmits heart rate data To signal conversion module, signal conversion module realizes the splicing of data and the conversion of voltage;After signal conversion module is by process Data transfer is electrically connected to filtration module, and filtration module realizes the filtering operation of data, eliminates noise signal;Filtration module will be located To I leads modules, I leads module extracts leads from lead electrocardiogram (ECG) data to signal transmission after reason;Lead Leads are transferred to rate calculation module by module, and rate calculation module receives leads and realizes rate calculation, heart rate Result of calculation is transferred to display module by internal interface module and is shown by computing module.
As shown in Fig. 2 being electric hookup of the present embodiment based on the electrocardiograph of Android system.
As shown in figure 3, being software flow of the present embodiment based on the real-time rate calculation method of the electrocardiograph of Android system Cheng Tu.Invention is described in detail with reference to concrete example:
Heart rate is rapidly and accurately calculated by positioning and counting R ripples, it is characterised in that included:It is based on Android system reality A kind of computational methods of existing real-time heart rate.
The program of the present invention is made a thread, is executed once per DataLen point.Interference is not produced to systematic function And do not affect system other functions.
Above-mentioned DataLen represented every time for calculating the number of heart rate data, the definition of DataLen in the middle of the present invention It is:DataLen=statesecend*fs/down;
Wherein,
Down=1;// down-sampled rate;
Fs=1000;// sample frequency Hz;
Statesecend=4;// be used for calculating the time span (second) of 3 R ripples.
The present invention is to tell about the side of real-time rate calculation under Android system using as a example by filtered I leads Method.Can also a most strong breast of selection signal lead to calculate heart rate, or calculated with the data of several leads simultaneously, only need to adjust Whole each lead R ripple threshold coefficient, selects that maximum numeral as Current heart rate, and its method is just as.Concrete steps For:
(1) maximum and its threshold values of R ripples are asked
Because the heart beating scope of normal person both should not be below 30 beats/min, 300 beats/min are also should not be above, through surveying Examination, it is to find the maximum (peak value) of R ripples in 2200 data points to select the data from 2.2 seconds.Function is:
[R_value, R_index]=max (dx);//R_value refers to that the amplitude of R ripples, R_index refer to the rope of R ripples Draw position.
Wherein, max () function function to be realized is:I leads after input filter, by the size of R-wave amplitude Relatively, the call number of R ripple maximums (peak value) and its position that finds is exported.
According to max function output results are called, the threshold values of R ripples is calculated.
Formula is:
Thres=Th*R_value;//R ripple threshold values
Wherein, thres represents threshold values, and Th=0.707 is R ripple threshold coefficients.
(2) 3 R are found and involves its index position
It is to find out 3 R ripples in 4000 data points to select the data from 4 seconds.
R ripple maximums are found in 50 data points from after current data point, if finding R ripple maximums, R ripples are counted and added 1 and the index position of current R ripples is recorded, then 200 data points are skipped backward from current R ripples maximum value position find next one R Ripple maximum (;If not finding R ripple maximums, data point moves one backward, then with 50 data points as an interval continuation Find R ripple maximums, until find 3 R ripples maximums and its corresponding index position Index_R [0], Index_R [1] and Index_R[2].After often having executed 4 second datas, circulation is entered back into, execute clear operation.
(3) heart rate is obtained
Through above result of calculation, substitute in formula below:
HR=60*1000*2/ (Index_R [2]-Index_R [0]);
Wherein, Index_R [2] refers to the index position of the 3rd R ripple maximum;Index_R [0]) refer to the 1st R ripple most The index position of big value.
Heart rate can be obtained.
The content that this specification is not described in detail belongs to prior art known to professional and technical personnel in the field.

Claims (7)

1. the real-time rate calculation system of a kind of electrocardiograph based on Android system, it is characterised in that include for gathering human body The in real time front end data acquisition module of heart rate signal, display module and master board, master board be provided with central processing module, Signal conversion module, filtration module, I leads modules, rate calculation module and internal interface module;Front end data acquisition mould Block is electrically connected with the internal interface module of master control borad by USB line, and central processing module and internal interface module are electrically connected, central authorities Processing module realizes the interaction for carrying out heart rate data and front end data acquisition module between by internal interface module;Central authorities are processed Module transmits heart rate data to signal conversion module, and signal conversion module realizes the splicing of data and the conversion of voltage;Signal turns Data transfer after block is changed the mold by process is electrically connected to filtration module, and filtration module realizes the filtering operation of data, eliminates clutter Signal;Filtration module by process after signal transmission to I leads modules, I leads module is from lead electrocardiogram (ECG) data Extract leads;Leads are transferred to rate calculation module by lead module, and rate calculation module receives leads simultaneously Realize that result of calculation is transferred to display module by internal interface module and is shown by rate calculation, rate calculation module.
2. a kind of real-time rate calculation method of electrocardiograph based on Android system, it is characterised in that:It comprises the following steps:
The first step, obtains R ripples from lead module in the leads that electrocardio computing module sends;
Second step, electrocardio computing module find out the peak value and its threshold values of R ripples;
3rd step, the value of R ripples is compared with the threshold values for calculating gained, if more than threshold values, being labeled as maximum and recording which Index position;
4th step, calculates heart rate using following equation:HR=60*1000*2/ (Index_R [N]-Index_R [0]), wherein, HR Refer to that heart rate, Index_R [0] refer to that the index position of first maximum, Index_R [N] refer to the index bit of last maximum Put, N is 2.
3. the real-time rate calculation method of the electrocardiograph based on Android system according to claim 2, it is characterised in that In second step, the peak value of R ripples is found from the leads of 2.2s.
4. the real-time rate calculation method of the electrocardiograph based on Android system according to claim 2, it is characterised in that The R ripples threshold values is to be multiplied by threshold coefficient 0.707 by peak value to calculate.
5. the real-time rate calculation method of the electrocardiograph based on Android system according to claim 2, it is characterised in that 3rd step, find out from (DataLen=timesecend*fs/down) leads of DataLen length R ripples maximum and Its index position;The DataLen is referred to every time for calculating the number of heart rate data;The timesecend is referred to for counting Calculate the time span (second) of N number of R ripples;The fs refers to the data amount check for collecting data sampling frequency, i.e. each second;Described Down refers to down-sampled rate.
6. the real-time rate calculation method of the electrocardiograph based on Android system according to claim 5, it is characterised in that Also include finding R ripple maximums in 50 data points from after current data point, if finding R ripple maximums, count is incremented for R ripples And record the index position of current R ripples, then 200 data points are skipped backward from current R ripples maximum value position and find next one R ripples Maximum;If not finding R ripple maximums, data point moves one backward, then is continued to seek with 50 data points as an interval R ripple maximums are looked for, involves its corresponding index position Index_R [0], Index_R [1] and Index_R until finding 3 R [2].
7. the real-time rate calculation method of the electrocardiograph based on Android system according to claim 2, it is characterised in that Data sampling frequency fs is 1000Hz;Down-sampled rate down is 1.
CN201610870971.0A 2016-09-30 2016-09-30 Real-time rate calculation system and method based on the electrocardiograph of Android system Pending CN106491118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610870971.0A CN106491118A (en) 2016-09-30 2016-09-30 Real-time rate calculation system and method based on the electrocardiograph of Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610870971.0A CN106491118A (en) 2016-09-30 2016-09-30 Real-time rate calculation system and method based on the electrocardiograph of Android system

Publications (1)

Publication Number Publication Date
CN106491118A true CN106491118A (en) 2017-03-15

Family

ID=58290879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610870971.0A Pending CN106491118A (en) 2016-09-30 2016-09-30 Real-time rate calculation system and method based on the electrocardiograph of Android system

Country Status (1)

Country Link
CN (1) CN106491118A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107440708A (en) * 2017-06-07 2017-12-08 武汉吉星医疗科技有限公司 The lead-fail detector computing system and its method of electrocardiograph based on Android system
CN108744284A (en) * 2017-04-10 2018-11-06 西艾丰控股公司 Wearable cardioverter-defibrillator(WCD)System
CN109157212A (en) * 2018-08-30 2019-01-08 武汉吉星医疗科技有限公司 The compound filter computing system and its method of electrocardiograph based on android system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104586384A (en) * 2013-10-30 2015-05-06 深圳华清心仪医疗电子有限公司 ECG signal real-time heart rate detection method and system
CN204500675U (en) * 2015-02-02 2015-07-29 四川理工学院 A kind of portable cardiac monitor system
CN105125199A (en) * 2015-07-29 2015-12-09 北京医康世纪科技有限公司 Heart rate detection method and heart rate detection device
CN105430137A (en) * 2016-01-06 2016-03-23 深圳市卡卓无线信息技术有限公司 Mobile phone with electrocardiogram test function
CN105496391A (en) * 2015-11-27 2016-04-20 武汉吉星医疗科技有限公司 Digital electrocardiograph based on Android system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104586384A (en) * 2013-10-30 2015-05-06 深圳华清心仪医疗电子有限公司 ECG signal real-time heart rate detection method and system
CN204500675U (en) * 2015-02-02 2015-07-29 四川理工学院 A kind of portable cardiac monitor system
CN105125199A (en) * 2015-07-29 2015-12-09 北京医康世纪科技有限公司 Heart rate detection method and heart rate detection device
CN105496391A (en) * 2015-11-27 2016-04-20 武汉吉星医疗科技有限公司 Digital electrocardiograph based on Android system
CN105430137A (en) * 2016-01-06 2016-03-23 深圳市卡卓无线信息技术有限公司 Mobile phone with electrocardiogram test function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108744284A (en) * 2017-04-10 2018-11-06 西艾丰控股公司 Wearable cardioverter-defibrillator(WCD)System
CN108744284B (en) * 2017-04-10 2021-11-16 西艾丰控股公司 Wearable Cardioverter Defibrillator (WCD) system
CN107440708A (en) * 2017-06-07 2017-12-08 武汉吉星医疗科技有限公司 The lead-fail detector computing system and its method of electrocardiograph based on Android system
CN109157212A (en) * 2018-08-30 2019-01-08 武汉吉星医疗科技有限公司 The compound filter computing system and its method of electrocardiograph based on android system

Similar Documents

Publication Publication Date Title
CN109171712B (en) Atrial fibrillation identification method, atrial fibrillation identification device, atrial fibrillation identification equipment and computer readable storage medium
CN107569226B (en) The method and application of HRV are obtained based on piezoelectric sensing
CN111493850A (en) Blood pressure measuring method and device based on deep neural network
CN107530005A (en) Method and apparatus for the mean arterial pressure of derived object
WO2021109601A1 (en) Method for measuring depth of anesthesia, storage medium, and electronic device
CN101065058A (en) Monitoring physiological activity using partial state space reconstruction
CN104840186A (en) Evaluation method of autonomic nervous function of patient suffering from CHF (Congestive Heart-Failure)
CN111887858B (en) Ballistocardiogram signal heart rate estimation method based on cross-modal mapping
CN108310759A (en) Information processing method and related product
CN104473660B (en) A kind of abnormal recognition of heart sound method based on sub-belt energy envelope autocorrelation characteristic
CN109009073A (en) Atrial fibrillation detection device and storage medium
Zhang et al. A wristband device for detecting human pulse and motion based on the Internet of Things
CN109512395B (en) Method, device and equipment for analyzing and processing biological signals
CN106491118A (en) Real-time rate calculation system and method based on the electrocardiograph of Android system
CN115251845B (en) Sleep monitoring method for processing brain wave signals based on TB-TF-BiGRU model
CN109222964A (en) atrial fibrillation detection device and storage medium
CN111832537B (en) Abnormal electrocardiosignal identification method and abnormal electrocardiosignal identification device
TWI810447B (en) Method for detecting wave complex, ecg detection device and readable storage medium
TW201831138A (en) Method and device for measuring blood pressure
CN109893121A (en) Acquisition method, device, terminal and the computer readable storage medium of electrocardiosignal
CN106778561B (en) Identity recognition method and device of wearable equipment
Hegde et al. A review on ECG signal processing and HRV analysis
CN105997095A (en) Method and device for detecting fetal movement in real time based on electrode array
CN115715684A (en) Heart detection evaluation method, system, storage medium and device
CN109770851A (en) A kind of health of heart condition monitoring system and method based on Bluetooth wireless communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication