Professional Documents
Culture Documents
Machine Learning Technique Based Wrist Radial Pulse Diagnosis
Machine Learning Technique Based Wrist Radial Pulse Diagnosis
A PROJECT REPORT
Submitted by
degree of
BACHELOR OF ENGINEERING
In
MAY 2023
SRI SAIRAM ENGINEERING COLLEGE
(An Autonomous Institution; Affiliated to Anna University, Chennai -600 025)
SIGNATURE SIGNATURE
3 METHODOLOGY
3.3.2 FILTERING
3.4.3 RASPBERRY PI 4B
REFERENCES
PUBLICATION
ABSTRACT
A growing research on nadi signal or the radial pulse has shown that blood
chemistry, genetic expression, physiological states, and chronic illnesses are
linked to each pressure changes occurring in the arteries. The variations in the
Kapha, Vata and Pitta energies is associated with various reflexes that help our
body to react to situations. The three energies together is known as Tridosha
and each individual has a unique balance of tridosha. Although the doshas are
present throughout the body, Kapha is positioned above the cardiac region, pitta
is located between the cardiac and umbilical regions, and Vata is found below
the umbilical region. In Ayurveda, nadi signal plays a crucial role in diagnosing
diseases and the imbalances in each has traced nearly 80 diseases due to Vata,
40 diseases due to pitta and 20 diseases due to Kapha. Some of the predominant
diseases which can be identified using nadi pulse are type 2 diabetes mellitus,
blood pressure, coronary diseases such as myocardial infarction, stroke. It
requires great focus and accuracy to exactly determine the tridosha ratio by an
Ayurvedic person. Owing to the advancement in technology in medical
sciences, these signals can be collected, filtered, amplified and categorized with
greater precision. The kit proposed is used to implement the above mentioned
process in order to help patients self-diagnose the imbalance in the tridosha for
diseases diabetes mellitus and blood pressure. The pulse signals are acquired
from the user with the help of pulse sensors positioned at the wrist. The signal
passes through the Arduino where the analog signals are converted to digital
form. The converted signals are sent to the raspberry pi where the features are
extracted from the signal and they are compared with the model built based on
Machine Learning algorithm. The output is finally displayed indicating which
doshas are not balanced and the illness which has occurred due to that
imbalance.
ACKNOWLEDGEMENT
We thank our Founder Chairman Thiru. MJF. Ln. LEO MUTHU for
his great endeavours in establishing this institution and standing as a figure of
guidance.
We also thank our CEO, Shri. SAI PRAKASH LEO MUTHU and
Principal, Dr K. PORKUMARAN for their kind cooperation and inspiration.
Our gratitude extends to the Staff of the ECE Department whose words of
encouragement kept our spirits high throughout the course of the project. We
thank the entire people who contributed directly and indirectly for the
completion of this project.
LIST OF FIGURE
LIST OF TABLES
LIST OF SYMBOLS
CHAPTER 1
1.1 INTRODUCTION
● User-friendly
● Portable
Early detection: The radial pulse can provide valuable information about the
health status of an individual, such as the strength, rhythm, and rate of the pulse.
Changes in the pulse can often indicate the presence of underlying health
conditions such as cardiovascular disease, hypertension, or diabetes. Early
detection of these conditions can lead to timely intervention and treatment,
which can prevent serious complications and improve health outcomes.
Preventive healthcare: Radial pulse diagnosis can also be used for preventive
healthcare, which focuses on maintaining good health and preventing the onset
of disease. By monitoring the radial pulse regularly, individuals can track
changes in their pulse and identify potential health issues before they become
more serious. This can help individuals make lifestyle changes or seek medical
care early, which can prevent the development of chronic diseases.
Overall, radial pulse diagnostic have the potential to improve healthcare access
and outcomes, promote patient-centred care, and support preventive healthcare
efforts.
The heart beats generates pulse waves. The pulse which is experienced near the
hand wrists are the radial pulses. The radial artery pulse wave fluctuation
corresponds to the events of the cardiac cycle. Because the radial artery is
shallow and its diameter is relatively thick, it is easy to touch and is not easily
disturbed by subcutaneous tissue, fat, or other factors, the pressure pulse wave
can be measured there. Radial pulse waves have been widely used in non-
invasive monitoring of human health due to their ease of measurement and
safety. They can also reflect the health status of the cardiovascular system,
including information from the aorta and peripheral arteries.
1.6 TRIDOSHA
1.6.1 KAPHA
Kapha is one of three doshas, or biological forces, that are said to impact
a person's physical and mental qualities. Kapha is related with the elements of
water and earth and is said to influence properties in the body such as stability,
sustenance, and lubrication.
A person with a strong Kapha dosha may be bulkier in stature, with thick
hair and skin, and a slower metabolism. They may also be more susceptible to
problems including congestion, obesity, and tiredness.
1.6.2 PITTA
Pitta is related with the elements fire and water and is said to influence
aspects of the body such as metabolism, digestion, and transformation.
A Pitta dosha individual may have a medium frame, fair complexion, and
a keen mind. They may also be more prone to inflammation, acidity, and rage or
impatience.
1.6.3 VATA
Vata is related with the elements of air and space and is said to influence
traits in the body such as mobility, inventiveness, and flexibility.
In individuals at rest, the usual range for radial pulse frequency (the
number of heartbeats felt per minute at the radial artery found in the wrist) is
normally between 60 and 100 beats per minute. However, there can be variation
based on age, gender, physical fitness, and other individual characteristics, and
some medical disorders or drugs can also impact pulse rate. The following
conversion factor can be used to convert the usual range of radial pulse
frequency from beats per minute to hertz
As a result, the usual range of radial pulse frequency in hertz is around 1 to 1.67
Hz.
To be more specific, according to ayurvedic principles, the normal range
of Kapha pulse rate is between 36 and 54 beats per minute, which corresponds
to a frequency range of approximately 0.6 to 0.9 Hz, the normal range of Pitta
pulse rate is between 60 and 80 beats per minute, which corresponds to a
frequency range of approximately 1 to 1.33 Hz and the normal range of Vata
pulse rate is between 72 and 108 beats per minute, which corresponds to a
frequency range of approximately 1.2 to 1.8 Hz.
1.8.1 HYPERTENSION
The intensity of a person's radial pulse is strongly connected to their
blood pressure. The radial pulse is often bounding and strong when blood
pressure is high. When blood pressure is low, however, the radial pulse may be
faint or difficult to detect. Also, the pace of the radial pulse might reveal
information regarding blood pressure. A fast pulse, for example, may suggest
high blood pressure, whereas a sluggish pulse may indicate low blood pressure.
A healthcare expert would normally assess the strength and rate of the radial
pulse and use this information to estimate the individual's blood pressure to
diagnose hypertension using radial pulse diagnosis.
In Ayurveda, hypertension is believed to be caused by an imbalance of
the Pitta dosha. According to Ayurvedic principles, the Pitta dosha is
responsible for metabolism and transformation in the body, and an excess of
Pitta energy can lead to increased metabolic activity and inflammation
1.8.3 HYPOTHYROID
The intensity and rhythm of the radial pulse might vary as a result of
hypothyroidism. In patients with hypothyroidism, the radial pulse may be
sluggish, faint, or difficult to detect. This is because thyroid hormones are
necessary for maintaining normal heart rhythm and cardiac function. In
Ayurveda, hypothyroidism is believed to be caused by an imbalance of the
Kapha dosha.
The aim of this study is to investigate the use of various sensors like
acoustic, optical, piezoelectric, piezoresistive, MEMS pressure sensors for pulse
signal analysis which includes time domain, frequency domain, and time-
frquency domain. Various wrist pulse parameters for diseases like hypertension,
diabetics, gastritis, cancer and inflammation and urinary tract infection
disorders etc were analyzed. The study concluded that wrist pulse analysis has
great potential as a complementary diagnostic tool in modern medicine.
However, further research is needed to standardize measurement techniques,
validate diagnostic criteria, and integrate it into mainstream medical practice.
Around 529 patients who were previously suspected to have CHD and
who underwent coronary angiography participated in the research. Based on the
angiographs they were divided into 3 groups. Participants were excluded if they
had chest pains caused by other heart diseases, severe neurosis, atrial
fibrillation/flutter or aortic valve stenosis, a history of percutaneous coronary
intervention surgeries or coronary artery bypass surgery, or incomplete clinical
medical records. The radial artery pulsates of the left hand were monitored and
recorded for 60secs at a sample rate of 720Hz. The features of the radial pulse
wave signals were extracted using time-domain analysis and multiscale entropy
analysis. Analysis was performed using statistical software SPSS 25.0 (IBM,
Armonk, NY) to compare the baseline features and radial pulse wave features of
patients with different groups. The 3 machine algorithms—k-nearest neighbors
(KNN), decision tree (DT), and random forest (RF)—were used to build
models. these models could be used to develop remote health monitoring based
on noninvasive and wearable radial pulse wave signals and combined with
actuators and modern communication and information technology systems for
monitoring suspected and high-risk patients of CHD in real-time, from a distant
facility.
Published in: BioMed Research International, 2021
CHAPTER 3
The proposed system is a non-invasive portable kit which can identify the
disease instantaneously. The kit is meant to assist patients in self-diagnosing
tridosha imbalances for conditions such as diabetes, hypothyroidism, and
hypertension. The pulse signals are obtained from the user via pulse sensors
located on the wrist. The signal is sent through the Arduino, which converts
analogue impulses to digital signals. The transformed signals are transferred to
the Raspberry Pi, where the features of the signal are retrieved and compared to
the model pre-trained using the Machine Learning method. Finally, the output is
shown, revealing which doshas are out of balance and which illnesses have
resulted from that imbalance.
The working principle behind radial wrist pulse diagnosis using machine
learning involves collecting data on the pulse waveform, which contains
information on the amplitude, frequency, and shape of the pulse over time. This
data is then analysed using various signal processing techniques to extract
features that are relevant to different diagnoses. These features can include
things like the peak amplitude, pulse width, and spectral power at different
frequencies.
The algorithm can then be tested on new, unlabelled data to see how
accurately it can diagnose different conditions based on the pulse waveform.
Overall, the goal of using machine learning for radial wrist pulse diagnosis is to
automate the process of analysing pulse data and improve the accuracy and
consistency of diagnoses across different practitioners.
The data set was collected from 50 people varying from age group 18 –
65 years of both genders was analogue pulse signals later converted into digital
with the help of microcontroller. Each sample collected had 1000 data points in
it. The data was collected with the help of Arduino Uno and SEN-11574 pulse
senor attached to the wrist of the subject using Velcro bands. The acquired data
was written as CSV files using python. The people from whom the samples
were collected had the following diseases: Diabetes mellitus, hypertension and
hypothyroid along with people having normal pulse values were also collected.
After filtering the files, the features from the signal was extracted. In
order to portray the data in a more useful and condensed manner that may be
used for additional analysis and modelling, features are extracted from the data.
The selection or transformation of raw data into a set of features that can be
used to represent certain specific data attributes is the process of feature
extraction.
Mean:
The arithmetic average of a set of values. In signal processing, it can be
used to determine the "centre" or "average value" of a signal.
Where, N is the number of samples and xi is the i – th sample.
Variance:
A measure of the spread of a set of values. It indicates how far the values
are from the mean.
Standard deviation:
A measure of the amount of variation or dispersion of a set of values. It is
the square root of the variance.
Skewness:
A measure of the asymmetry of a distribution. It indicates the degree to
which a distribution is not symmetric
around its mean.
Kurtosis:
A measure of the "peaked-ness" or "flatness" of a distribution. It indicates
the degree to which the distribution has more or fewer outliers than a normal
distribution.
Energy:
The total energy contained in a signal. It can be used to compare signals
of different durations or amplitudes.
Crest factor:
A measure of the ratio of the peak amplitude to the RMS value of a
signal. It indicates how "spiky" or "bursty" a signal is.
Where, N is the number of samples, xi is the i-th sample, and sign() is the
sign function.
Peak-to-peak amplitude:
The difference between the maximum and minimum values of a signal. It
is a measure of the range of the signal.
Power peak:
The frequency at which the power spectral density of a signal is highest.
It indicates the dominant frequency component of the signal.
Total power:
The sum of the power spectral density of a signal across all frequencies. It
indicates the total "energy" or "strength" of the signal.
Where, N is the number of frequency bins, X(fi) is the ith frequency bin,
and Δf is the frequency resolution.
PSD entropy:
A measure of the "complexity" or "randomness" of the power spectral
density of a signal. It indicates how "spread out" the frequency content of a
signal is.
Where, N is the number of frequency bins, P(fi) is the ith frequency bin,
and Δf is the frequency resolution.
Spectral centroid:
The centre of mass of the power spectral density of a signal. It indicates
the "average" or "typical" frequency component of the signal.
Spectral spread:
A measure of the spread of the power spectral density of a signal around
its spectral centroid. It indicates how "wide" or "narrow" the frequency content
of the signal is.
Wavelets:
A mathematical technique used to analyse signals in both time and
frequency domains simultaneously. It allows for the detection of frequency
changes over time, making it useful for analysing non-stationary signals.
The random forest algorithm can handle a large number of features, and it
can also be used to identify the most important features for classification. The
performance of the multiclass random forest algorithm depends on various
factors such as the number of trees in the forest, the maximum depth of the
decision trees, and the number of features used at each split. In general,
increasing the number of trees in the forest can improve the performance of the
algorithm, but this can also increase the computational complexity and training
time.
In our proposed system, the dataset is loaded from a CSV file and split
into features and labels. The training and testing sets are also split using the
train_test_split function from the scikit-learn library. The random forest
classifier is then trained on the training set and used to predict the classes of the
test data. The accuracy of the classifier is calculated using the accuracy_score
function, and the confusion matrix is calculated using the confusion_matrix
function. Additionally, the sensitivity and specificity are calculated using
custom code. Finally, a classification report is generated using the
classification_report function, which provides detailed information about the
performance of the classifier.
The SEN-11574 pulse sensor is a small and low-cost device that can
detect heart rate and pulse measurements. It is worn on a finger or earlobe and
uses optical sensors to detect the changes in blood volume that occur as blood
flows through the blood vessels. The output of the sensor is a small electrical
signal that can be processed by a microcontroller or other device.
3.4.3 RASPBERRY PI 4B