Prediction of atrial fibrillation, AV block 1 and normal ECG with more than 90% reliability
Sudden heart attack and increased deaths: growing concern.
In the last decade, deaths from sudden heart attacks have skyrocketed,
particularly in developing countries, apart from genetic and lifestyles, the lack of medical resources in rural areas causes most of the deaths in heart attacks.
The reasons for death from heart attack in different countries are: rural areas without sanitary facilities, lack of awareness about the symptoms of cardiac arrest leads to death and increased cases of heart disease.
Irregular heart rate: The difference between the current R-R interval and the previous R-R interval is 200 ms
If the P-R interval exceeds 200 ms, it may be indicated as first-degree heart block
For best results: place the electrodes on the chest wall equidistant from the heart (instead of specific extremities)
Normal ECG data
When training a model with filtered ECG data only for atrial fibrillation, normal heart block, and first degree, the accuracy is less than 23%. The reason is that in the shorter window the model cannot differentiate the difference. If a longer window time is sought, the processing time and maximum RAM usage increase quite a bit, but without precision.
When a doctor or a trained person analyzes the ECG graph, they will be counting the small squares between the R wave to R, the interval P to R and they will write the counts on the graph or save it for calculation.
ECG graph reading
The solution is to convert human observations into data sets. This is how the accuracy of the ECG analyzer model is increased.
New waveforms:
RR interval
PR interval
Condition
Normal
Atrial fibrillation
First Degree Heart Block
Human Observation
Observe squares on the graph and find no deviations.
Remark: the box count in the graph varies between two intervals R R
Cell count on graph between P and R indicates> 200 ms
ECG analyzer
R-R interval value: 100
P-R interval value: 50
R-R interval value: -100
P-R interval value: 50
R-R interval value: 100
P-R interval value: -50
ECG Analyzer Algorithm
Normal ECG Data: Decoded RR interval and PR interval data are always 100 and 50 for normal ECG data.
Atrial Fibrillation: Deviation between the previous RR interval and the current RR interval, the RR interval data will be reduced to -100 for one cycle.
First Degree Heart Block: Whenever the P to R interval exceeds 200 ms, the PR interval data will be reduced to -50 for one cycle.
As a result we have developed a pocket-sized mini-diagnostic ECG analyzer device that can independently diagnose heart disease without the Internet.