You are on page 1of 5

5th International Conference on Electrical and Computer Engineering

ICECE 2008, 20-22 December 2008, Dhaka, Bangladesh

Acquisition and Analysis of Electrogastrogram for


Digestive System Disorders Using a Novel Approach
1 2 3
G.Gopu , Dr.R.Neelaveni , and Dr.K.Porkumaran
1. Research Scholar, Dept. of EEE. PSG College of Technology, Coimbatore- 04,
2. Assistant Professor, Dept. of EEE. PSG College of Technology, Coimbatore- 04,
3. Professor & Head, Dept. of BME, Sri Ramakrishna Engineering College, Coimbatore-22.
E-mail: gopugovindasamy@gmail.com

Abstract - The digestive system is the one of the important the muscles are not working normally. It is done by
system in the human body, which plays major role directly placing the electrode cutaneously over the stomach and
or indirectly for the function of human body. Most of the the electrical signals coming from the stomach’s muscles
people around the world have the digestive system disorders are sensed by the electrode and recorded on a computer
due to improper digestion of food due to inefficient for analysis by lying patient quietly. In normal individuals
performance of stomach activity. The main objective of this the electrogastrogram is a regular electrical rhythm
paper is to propose a novel method of finding the digestive generated by the muscles of the stomach and the power
system disorders using Electrogastrogram [EGG], which is a
(voltage) of the electrical current increases after the meal.
non-invasive, cheap and painless method by detecting the
electrical signal from the stomach cutaneously and also it act In patients with abnormalities of the muscles or nerves of
as a preliminary investigation without a need for Endoscopy the stomach, the rhythm often is irregular or there is no
which is painful investigation. The recording setup explained post-meal increase in electric power. It will not have any
in this proposed system includes LabVIEW software and side effects and it is painless study.
hardware which is used to record the EGG for more than
hundred patients, nearly 75% of the patients suffered from III. Proposed EGG Recording Setup
results in digestive system disorders such as Dyspepsia,
Stomach ulcer, nausea, cyclic vomiting syndrome, etc. For The Ag/Agcl electrodes [5, 12] are used as a sensor to
the above said digestive system disorders dissimilarity is record the electrical activity of the stomach’s muscle
found in its frequency and amplitude compared with its cutaneously.The electrical signals generated are usually of
normal individual parameter (3cpm) at a fair amount of very low amplitude ranging from 0.01 to 0.5 mV is given
accuracy. to signal conditioning unit (SCU) because proper
conditioning of signals is necessary to produce analog
signal without noise before giving it to the ADC. The
I. Introduction
SCU consist of instrumentation amplifier and low pass
An Electrogastrogram (EGG) is a non-invasive test used to
measure gastric myoelectrical activity [2, 18]. The normal
gastric myoelectrical activity consists of a slow wave and
spike potential. The abnormality arises due to recurrent
nausea, vomiting, Dyspepsia, Stomach ulcer, Cyclic
vomiting syndrome, etc which signals that the stomach is
not emptying food normally. If the electrogastrogram is
abnormal, it confirms that the problem probably is with the
stomach's muscles or the nerves that control the muscles.
This paper deals with the novel approach of recording of
the electrical signals that travel through the muscles of the
stomach and control the muscle’s contraction. The EGG
can be considered as an experimental procedure since its
exact role in the diagnosis of digestive disorders of the Fig.1 General Block diagram for recording EGG
stomach has not been defined yet.
filter. The instrumentation amplifier has a gain of 1000 to
II. Electrogastrogram 10,000. The amplified signals are input to a second order
low pass Butterworth filter to remove the noises and
An electrogastrogram is similar to an electrocardiogram ripples. The analog output of the filtered signal is
of the heart. It is a recording of the electrical signals that converted to digital through Analog to Digital Converter
travel through the muscles of the stomach and control the (ADC).These outputs are then given to a microcontroller
muscle’s contraction. It is used when there is a suspicion circuit which transfers the digital outputs to the PC via
that the muscles of the stomach or the nerves controlling RS232 to view the recorded signal in a readable form. The

978-1-4244-2015-5/08/$25.00 (c)2008 IEEE 65


LabVIEW software which uses the graphical data flow corpus of the stomach. The third electrode C is placed as
programming technique for the purpose of recording EGG ground at the end of the stomach region for patient safety
for the investigation of digestive system disorders as shown [4].
in Fig.1.

IV. The Anatomy of the Stomach


The main function of the stomach is to process and
transport food [2]. After feeding, the contractile activity
of the stomach helps to mix, grind and eventually
evacuate small portions of chyme into the small bowel,
while the rest of the chyme is mixed and ground.
Anatomically, the stomach can be divided into three
major regions: fundus (the most proximal), corpus and
antrum. Histologically, the fundus and corpus are hardly
separable. In the antral area, the density of the smooth
muscle cells increases. The area in the corpus around the
greater curvature, where the split of the longitudinal
layers takes place, is considered to be anatomically
correlated with the origin of gastric electrical activity. The
stomach wall, like the wall of most other parts of the Fig.3 Electrode Positioning for Recording EGG
digestive canal, consists of three layers: the mucosal (the
innermost), the muscularis and the serosal (the
VI. Materials and Methods
outermost). The mucosal layer itself can be divided into Patients consecutively attending a hospital outpatient’s
three layers: the mucosa (the epithelial lining of the gastroenterology clinic were studied. All patients were
gastric cavity), the muscularis mucosae (low density considered by their general practitioner to have significant
smooth muscle cells) and the submucosal layer symptoms to merit referral to a specialist clinic for further
(consisting of connective tissue interlaced with plexi of evaluation and investigation. The patients included 50
the enteric nervous system). The second gastric layer, the with Dyspepsia, 40 with Stomach ulcer, and 25 with
muscularis, can also be divided into three layers: the Nausea (Table 1). Hematological and biochemical
longitudinal (the most superficial), the circular and the profiles were normal in all patients.
oblique. The longitudinal layer of the muscularis can be
separated into two different categories: a longitudinal Table .1: Sex and Age Distribution Of Patient Groups
layer that is common with the esophagus and ends in the
corpus, and a longitudinal layer that originates in the Disorders Mean Age Male Female
corpus and spreads into the duodenum as shown in Fig 2. (years)
Dyspepsia(D) 42 28 22
(n=70)
Stomach 31 19 31
Ulcer(SU)
(n=40)
Nausea(N) 45 25 20
(n=25)

A gastrointestinal symptom profile was recorded on


all patients immediately before the EGG [3, 7]. This
profile detailed the presence or absence of the following
dyspeptic symptoms in the previous 2 weeks: Dyspepsia
(D), Stomach ulcer (SU), Nausea (N) and Cyclic vomiting
syndrome. The EGG was performed after a 6 hours
fasting. All medication with the potential affect to gastric
function was discontinued for more than 48 hours before
the recording. Patients were studied in a semireclaining
position and requested to avoid any major movements.
Fig.2 The Anatomy Of The Stomach The skin was lightly abraded with gauze before placement
of adhesive gel EGG electrodes. Two bipolar skin
V. Electrodes Positioning electrodes were placed on the abdomen, one on the
fundus and the other on the mid-corpus. A reference
The electrical signals are generally produced in the mid-
electrode was placed on the right side of the abdomen.
corpus of the stomach where the electrical activity takes
The electrodes were connected to a signal conditioning
place. The positioning of the Ag/ Agcl electrodes for
unit (SCU). The EGG recording included a 1 hour fasting
tapping of these signals is as follows as shown Fig 3: Two
study, after which the patient ate a sandwich (575 kcal,
electrodes A and B are placed in the fundus and the mid

66
50% carbohydrate, 25% protein, 25% fat) and drank • Enable Serial Port to transmit data.
200ml of water. This was immediately followed by • Initialization of Timer.
another 1 hour recording. Visual inspection of the • ADC values are read for amplitude.
waveform detected any obvious major movement • Timer values are read for cycles.
artifacts. These were defined as abnormally large positive • Conversion of values in to decimal.
or negative peaks in the tracing and were detected from • Data are sent to PC through serial port.
the analysis. The EGG data was observed by the • LabVIEW software is used to observe and
LabVIEW software running on a personal computer. The Record.
EGG frequency ,amplitude are recorded and its respective
• Continue from step 4.
values are stored for further analysis of the same to
The pictorial representation of the above algorithm is
investigate the digestive system disorders as shown in
shown in Fig.5
Fig.4.
A sampling frequency of 4Hz was used. The EGG
analysis is based on the frequency and amplitude of the
signals. For the periods before and after the test meal, the
frequency and amplitude values are observed. Normal
electrical activity was defined as a frequency between 2-4
cycles/minute.

Fig.5 Flowchart of EGG Acquisition System

VIII. Results and Discussions


The effectiveness of the proposed methodology is
illustrated and the Table. 2 shows the range of frequencies
and amplitudes for various abnormalities at preprandial
and postprandial condition as observed from the recording
Fig.4 A and B are recorded EGG from Dyspepsia Nausea setup in consultation of physician.
patients respectively
Table.2: Frequency and Amplitude Ranges of Various
[9, 17, 20]. Activity of 0-2 cycles / minute was termed Disorders of Stomach
bradygastria, and 4-9 cycles / minute as tachygastria. The
percentage of normal electrical activity, bradygastria, and
tachygastria were calculated both before and after the test
meal. The amplitude of the dominant frequency was
measured both before and after the test meal. The electrical
frequency is stable and does not change significantly after a
standard test meal.

VII. Algorithms and Flowchart


The algorithm for this proposed recording setup includes
the following steps for recording EGG signal as given
below
• Initialization of Analog to Digital Converter

67
The Variation in the frequency and amplitude values are In this study, we have used the EGG to record
observed between preprandial and postprandial condition myoelectrical activity for the patients suffering from
as Shown in Fig.6 Dyspepsia, Stomach ulcer, and Nausea. The abnormal
EGG has a high specificity for the detection of abnormal
Disorders for Preprandial Condition myoelectrical activity [15, 16]. The observation that the
test meal can worsen or correct the EGG reflects the
Frequency / Amplitude

8 7.5
7 5.8
6.3 interaction between fasting, feeding, and electrical
6
5 4.5 activity. The effect of fasting or feeding indicates that
4 3 both an abnormality and change in the EGG recording. A
3
2 0.95 0.6 0.72 0.78
postprandial power reduction has been proposed as an
1 0.5
0
EGG abnormality, and correlated with gastroparesis [11].
Dyspepsia Stomach Nausea Vomiting Normal However, in this study, eight controls demonstrated a
Ulcer postprandial power reduction, indicating that power
Digestive System Disorders reduction is an unreliable sign. The significance of power
Frequency in CPM Amplitude in Volt
reduction after meals has also been questioned by a recent
study comparing internal gastric electrical activity with
the EGG [6]. There are important practical implications
Disorders for Postprantial Condition stemming from this study. In the absence of readily
available tests in functional dyspepsia, there has been an
3.5 assumption that patients with functional dyspepsia
F re q u en c y /

4 3
A m p litu de

2.8 2.5
3 2 entered into clinical trials represent a homogeneous
2 0.8 group. This study indicates that it is possible to identify a
0.7 0.55 0.67 0.5
1
0
subgroup of patients with EGG evidence of abnormal
Dyspepsia Stomach Nausea Vomiting Normal
gastric myoelectrical activity that is likely to have antral
Ulcer hypomotility. The EGG could help distinguish stomach
Digestive System Disorders
ulcer from dyspepsia in clinical trials. The treatment of
dyspepsia should be aimed at correcting physiological
Frequency in CPM Amplitude in Volt abnormalities [8]. A normal or abnormal EGG will not
only help distinguish patient heterogeneity in clinical
Fig.6 Bar Chart represents the variation in Frequency and studies but might also provide a useful objective marker
Amplitude for the digestive system disorder for preprandial of treatment effect [10,13,14,19]. Further studies of
and postprandial condition statistical analysis, power spectrum and by using
LabVIEW software in dyspepsia patients, with and
The Fig.7 shows the various waveforms obtained for without an abnormal EGG will help to determine whether
various diseases. these other abnormalities define more coherent or
overlapping subtypes of disorder.
IX. Conclusion
A simplified novel approach is proposed in this paper for
recording of gastro electrical activity. The EGG setup is
used to record the activity of patients suffering from
digestive disorders like Dyspepsia (D), Stomach ulcer
(SU), Nausea (N) and Cyclic vomiting syndrome. About
more than 100 patients were tested using this setup and
the results are summarized based on the observation. In
future, NI based LabVIEW with Data Acquisition Card
(DAC) can be used to perform the recording of EGG to
the fair amount of accuracy for further analysis using
wavelet transform, statistical analysis ,etc which may
improve the accuracy of diagnosis.

ACKNOWLEDGEMENT

The authors acknowledge their indebtedness to the


following medical experts Dr L Venkatakrishnan,
Dr,J.Krishnaveni, from PSG Hospitals, Coimbatore and
Fig.7 Waveforms for different disease patterns. Normal Dr.M.G.Shekar, from Stanley Medical College and
patient Waveform with 3 cycles per minute as frequency Hospital, Chennai for their support and for permitting us to
(recording A). A dyspepsia patient wave pattern (recording use the facilities at the hospitals for live testing of the
B). A Nausea patient wave pattern (recording C). A recording setup and sharing valuable patient database with
Vomiting patient wave pattern (recording D). An Ulcer us.
patient wave pattern (recording E)

68
References
[11] Pfaffenban B,Adamek RJ,kuhn K,et al., “Electrogastrography
[1] A.B Luckhard , H.T Phillips ,A.J Carlson , “Contributions to in healthy subjects. Evalation of normal values influences of
the physiology of the stomach.” Am. J. Physol., vol.50, age and gender.” Digestive Diseases and Sciences ,vol. 40,
pp. 57-62, 1919. pp. 1445-50, 1995.
[2] W.C.Alvarez. “The Electrogastrogram and what it shows”. [12] NJ Talley, “Review article: Functional dyspepsia- should
vol .78, pp.1116–1118, JAMA 1922. treatment be targeted on distributed physiology?” Aliment
[3] W.C Watson, S.N Sullivan, M Corke, et al. “Incidence of Pharmacol Ther, vol 9, pp. 107-15, 1995.
oesophageal symptoms in patients with irritable bowel [13] G Riezzo, S Cucchiara, M Chiloiro, et al. “Gastric emptying
syndrome”, vol 17, pp. 827A, Gut 1976. and myoelectrical activity in children with non-ulcer
[4] A.J.P.M Smout, E.J Van Der Schee, J.L Grashuis, “What is dyspepsia. Effect of cisapride.” Digestive Diseases and
measured in electrogastrography.” Digestive Diseases and Sciences; vol .40, pp. 1428-34, 1995.
Sciences , A253, 1980. [14] HP Parkman, AD Harris, MA Miller, et al, “Influence of age,
[5] K L Koch, R M Stern, W R Stewart, et al. “Gastric emptying gender and menstrual cycle on the normal
and gastric myoelectrical activity in patients with diabetic Electrogastrogram”. Am J Gastroenterology, vol .91, pp.
gastroparesis: Effect of long term domperidone treatment.” 127-33, 1996.
Am. J Gastroenterology, vol. 84, pp. 1069-75, 1989. [15] JDZ Chen, Z Lin, J Pan, et al, “Abnormal gastric
[6] J. Chen, R.W. McCallum,” Electrogastrography: myoelctrical activity and delayed gastric emptying in patients
measurement, analysis and prospective applications”. Med with symptoms suggestive of gastroparesis.” Digestive
Biol Eng Comput, vol.29, pp.339–350, 1991. Diseases and Sciences , vol .41,pp. 1538-45, 1996.
[7] J Chen, RW McCallum. “Gastric slow wave abnormalities in [16] XM Lin, D Levanon, MH Mellow, et al. “Prevalence of
patients with gastroparesis.” Am J Gastroenterology, impaired gastric myoelectrical activity in patients with
vol .87,pp. 477-82, 1992. functional dyspepsia.” Am J Gastroenterology, A199, 1997.
[8] KL Koch, M Medina, S Bingman, et al. “Gastric [17] JF Fielding. “The irritable bowel syndrome. Clinic
dysrhythmias and visceral sensations in patients with Gastroenterology, vol .6, pp.:607-22. 1997.
functional dyspepsia”, Am J Gastroenterology, A469, 1992. [18] M P Mintchev, A Stickel, K L Bowes. “Comparative
[9]. RD Rothstein, A Alavi, JC Reynolds, “Electrogastrography assessment of power dynamics of gastric electrical activity” ,
in patients with gastroparesis and effect of long term Digestive Diseases and Sciences, vol .42, pp. 1154-7, 1997.
cisapride.” Digestive Diseases and Sciences, vol. 38, [19] K Besherdas, ACB Leachy, I Mason, et al. "The effect of
pp. 1518-24, 1993. cisapride on the electrogastrogram and dyspepsia score in
[10] Fumitaka Asa no, Yoshio Yamada, “Method of, and nonulcer dyspepsia.” Gut, 41(suppl 3):A154, 1997.
apparatus for, measuring Electrogastrogram and intestinal [20] Simon Zhao, Giancario Succi, Martin P. Mintchev, “Tele-
Electrogastrogram.” Digestive Diseases and Sciences, A489, Electrogastrography.” Digestive Diseases and Sciences,
1995. A214, 1999.

69

You might also like