The text of a manual · part 7 of 14
Feasibility of formal model checking in the Vitatron environment: Chapter 3The human heart
Pages 33 to 40 of 91, from Feasibility of formal model checking in the Vitatron environment
The original document is the PDF (6.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Vitatron EE244
Page 33
Chapter 3
The human heart The purpose of an artificial pacemaker is to maintain an adequate heart rate when the heart’s own pacemaker is too slow or when there is a block in the heart’s electrical conduction system. Since both of these reasons why patients need an artificial pacemaker reside in the electrical conduction system of the heart, this chapter focuses on this system. The presented information is based on Vitatron’s internal education modules [7] and [8]; more information can be found in [15] and [17].
3.1
The heart function
The heart is a muscular organ, responsible for pumping blood through the blood vessels. This is done by rhythmic contractions of the atria (the upper chambers of the heart) and the ventricles (the lower chambers of the heart). The flow of blood through the heart is visualized in figure 3.1: de-oxygenated blood flows into the right atrium, which upon its contraction pumps this blood into the right ventricle. The ventricle contracts a short interval after the atrial contraction and pumps the blood to the lungs. The short interval is typically around 0,2 seconds and is necessary to fill the ventricle completely to maximize the effectiveness of the heart’s pump function. The lungs provide oxygen to the blood and the blood is returned to the heart, where it flows via the left atrium and the left ventricle (analogous to the flow through the heart’s right side) into the aorta to the rest of the body.
3.2
The electrical conduction system
The electrical impulses that create and coordinate the contraction of the atria and ventricles are generated and conducted by the conduction system of the heart. Before we discuss this conduction system, we must know more about the cellular structure of the heart’s muscle tissue.
3.2.1
Cellular structure
Each cell consists of a nucleus surrounded by a jelly like substance called cytoplasm. The nucleus and cytoplasm are surrounded by a cellular membrane. The cell membrane separates the inside of the cell from the outside and preserves its integrity. An important function of
32
Page 34
Figure 3.1: Blood circulation in the heart (picture taken from Vitatron internal training program level B, 29-03-2005)
the cell membrane is to keep the concentrations of ions at certain values. The concentrations of sodium(Na+ ), potassium(K+ ), and calcium(Ca++ ) inside the cell are different from the concentrations of these ions in the surrounding fluid. The difference in concentrations would normally disappear, because of diffusion through the semi permeable membrane. But the membrane has an active mechanism, the sodium pump, which constantly maintains the concentrations of the ions inside and outside the cell at different levels. The difference in ion concentrations results in a negative charge inside the cell and a positive charge outside. The difference in potential is called the resting membrane potential, and ranges from -70 to -100 mV. Stimulation of the cell can cause a change in the cell’s membrane potential. This can be an electrical stimulation from an artificial pacemaker or an electrochemical and mechanical stimulation, caused by contraction of a neighbor cell. Such a stimulation of the cell causes the permeability of the membrane for sodium and calcium ions to increase, allowing an influx of these ions into the cell. When the sodium influx is able to reduce the membrane potential to the threshold level (approximately -40 to -60 mV), a massive influx of sodium ions brings the transmembrane potential to approximately +20 mV. The change in potential is called depolarization. The state of depolarization is quickly transferred to the adjacent muscle cells, causing a depolarization of the entire muscle mass. After the depolarization the muscle contracts immediately. At this moment an inflow of chlorine ions (Cl− ) initiates the repolarization process and the inside becomes negative again.
33
Page 35
Figure 3.2: Phases in depolarization and repolarization process (picture taken from [7])
Figure 3.2 gives a schematic overview of the five phases in the depolarization and repolarization process of the cardiac muscle cell. The graph gives the membrane potential as a function of time during two complete cycles of the depolarization and repolarization process. In phase 4 the resting potential is maintained by the sodium pump and phase 0 represents the depolarization as a result of the rapid sodium and calcium inflow. In phase 1 the cell repolarizes rapidly through the chlorine inflow and phase 2 represents a period of relative stability of the membrane, which is called the plateau phase. Finally in phase 3 the repolarization process completes through sodium and potassium outflow. An important part in the process of depolarization and repolarization is the refractory period. The refractory period starts immediately after the depolarization and stops gradually during the repolarization phase. Hence, in figure 3.2 this period covers phases 1, 2 and partially phase 3. During the refractory period the tissue is less (relative refractory) or not at all (absolute refractory) excitable, meaning that it does not react to stimulations. The refractory period prevents that a stimulus starts cycling, because of the mechanism that a depolarized cell transfers its depolarization state to all the adjacent cells. Actually the potential in phase 4 is not completely constant, because all heart cells show an interesting phenomenon in phase 4, caused by the slow influx of sodium ions. Through this influx the transmembrane potential slowly decreases towards the threshold potential (see figure 3.2). In most cells, long before the threshold has been reached, the next externally stimulus arrives and the depolarization is started as a result of this stimulus. Without the appearance of this stimulus, the potential of the cell will eventually reach the threshold value and depolarize automatically. This phenomenon explains the automaticity of some specialized cardiac cells, the pacemaker cells. Tissues made from these specialized cells can be found in the sinus node (appointed SA node in figure 3.3) and in some other elements of the conduction system. In these specialized cells the slow depolarization in phase 4 is faster than in other heart cells, although there are also different types of these specialized cells. The cells in the 34
Page 36
sinus node are of the slowly responding type. Cells of the slowly responding type have a low conduction velocity but a relatively high automatic depolarization rate. Cells of this type are therefore suitable for the generation of signals. Next there are cells of a fast responding type which have a high velocity of conduction and a relatively low automatic frequency. Cells of this type are suitable to transport signals from one part of the heart to the other.
3.2.2
Functional description of the conduction system
In figure 3.3, a schematic picture of the conduction system is given.
Figure 3.3: The heart’s conduction system (picture taken from www.onevalveforlife.com; c St. Jude Medical, Inc.)
The sinus node (also called SA node or sino-atrial node) consists of a group of specialized pacemaker cells and is located in the upper part of the right atrium. The sinus node cells are of the slowly responding type and thus have a high automatic depolarization frequency (typically between 60 and 100 min−1 , but dependent of the person’s exercise level), which is the highest of all pacemaker tissues in the heart. Because the sinus node has the highest depolarization frequency it determines the rate of the complete heart which is the reason why the sinus node is called the natural pacemaker. The electrical signal from the sinus node is transferred to the right atrium and left atrium and causes there an atrial contraction. This happens because a chain of stimulations is started by the sinus node signal: the sinus node’s neighbor muscle cells depolarize and spread the signal to all their neighbor cells, etcetera. The sinus node signal is also quickly transported via three pathways of conductive tissue to the atrio-ventricular or AV node located in the lower part of the atrium (see figure 3.3). 35
Page 37
The AV node is activated and, because its cells are also of the slow responding type, delays the further conduction of the signal by approximately 0,08 to 0,2 seconds. The delay prolongs the filling time of the ventricles before the ventricular contraction is initiated. After the delay in the AV node, the signal is passed to the only channel of communication between atria and ventricles, the His bundle. The His bundle divides into the right and left bundle branches, which divide further into the finer Purkinje fibers forming the final contact with the muscle cells of the ventricles. The His bundle, right and left bundle branches and the Purkinje fibers are all made of cells of the fast responding type. Hence, the speed of conduction through these channels is faster than in the muscle cells of the ventricles itself. This is important, because it causes the depolarization of the muscle cells, where the Purkinje fibers are present, to start all at the same moment. This optimizes the ventricular contraction into the direction of the outflow valves.
3.3
Artificial pacemakers
An artificial pacemaker (also called implantable pulse generator to avoid confusion with the heart’s natural pacemaker) is a medical device which uses electrical impulses, delivered by leads contacting the heart muscles, to regulate the rhythm of the heart. The primary purpose of a pacemaker is to maintain an adequate heart rate, either because the heart’s own pacemaker is too slow, or there is a block in the heart’s electrical conduction system. Modern pacemakers are externally programmable and allow the cardiologist to select the optimal pacing modes for individual patients. The cardiologist has a lot of freedom in setting these modes, because the pacemaker contains several therapies that can be switched on or off. As already said, leads form the connection between the pacemaker and the heart. These leads can be attached to either the right atrium only, to the right ventricle only, or to both the right atrium and the right ventricle. Figure 3.4 shows the position of the leads of a dual chamber pacemaker, which has leads in both the right atrium and the right ventricle. When the muscle cells in the neighborhood of a lead depolarize spontaneously, this can be measured by the pacemaker as electrical activity on this lead. The measurement of electrical activity on a lead is called sensing and this actually forms the input of the pacemaker. Furthermore the pacemaker is able to deliver paces on the same lead, which are short electrical pulses to stimulate the muscle cells in the neighborhood of the lead. The electrical pulse will cause these muscle cells to depolarize and hence causes the start of a chain of depolarizations. So by delivering a pace on a lead that is attached to the muscle cells of the ventricle, the pacemaker causes a ventricular contraction to occur. Basically we can define the operational interface of a pacemaker as follows: its two possible inputs are atrial senses and ventricular senses, which are measured spontaneous contractions of the corresponding heart chambers and its two possible outputs are atrial paces and ventricular paces, which are electrical stimulations to force a contraction to occur. The pacemakers of Vitatron have different modes, which are described by a three-letter-code: • the first letter indicates in which chamber(s) the pacemaker can deliver paces. There are four options: O=None, A=Atrium, V=Ventricle, D=Dual, in which Dual means that pacing is possible in both the atrium and the ventricle. • the second letter indicates in which chamber(s) the pacemaker can sense spontaneous contractions. (O=None, A=Atrium, V=Ventricle, D=Dual) 36
Page 38
Figure 3.4: Dual chamber pacemaker (picture taken from www.londonafcentre.co.uk; c 2005 Dr Richard Schilling)
• the third letter indicates how the pacemaker responses to sensing. O=None, T=Triggered, I=Inhibited, D=Dual(=both Triggered and Inhibited). In case of ‘Dual’ the pacemaker delivers a ventricular pace some time interval after an atrial sense. ‘Inhibited’ means that a planned atrial pace is not given when an atrial sense has been detected. Some of the most used modes are for instance AAI, VVI and DDD. In this project we focus on the DDD pacemaker, which can be seen as the most sophisticated mode of Vitatron’s pacemaker and therefore is the most challenging when it comes to model checking.
3.4
Arrhythmias
As already indicated, the purpose of an artificial pacemaker is to maintain an adequate heart rate when the electrical activity of the heart itself is irregular or slower than normal. Such conditions in which the electrical activity of the heart is not appropriate are called cardiac arrhythmias. In this section we will describe a few important arrhythmias and the possible measures that can be taken by the artificial pacemaker to handle these arrhythmias. • Sinus tachycardia: The sinus node depolarizes faster than normally (typically > 100 min−1 ). An artificial pacemaker can’t do anything about this, because it can’t slow down the sinus node. However it tries to maintain a normal ventricular rate by pacing the ventricle. Then the phasing of the atrial and ventricular contractions will not be correct which decreases 37
Page 39
the effectiveness of the heart’s pump function. But because a normal ventricular rate is maintained there is at least a regular blood supply to the body. • Sinus bradycardia: The sinus node depolarizes slower than normally (typically < 60 min−1 ). The artificial pacemaker will deliver paces at a certain minimum rate in the atria when sinus bradycardia is discovered. • AV block: The AV node function is disturbed. There are different types of AV block, varying from only a prolonged conduction interval through the AV node (first degree AV block) to a complete block (third degree AV block). In case of a complete AV block, the sinus node determines only the contraction frequency of the atria and the contraction frequency in the ventricles is determined by a focus somewhere in the ventricular tissue. This focus generally is the group of cells in the ventricle with the highest automatic depolarization frequency. A depolarization in this group of cells will cause the entire ventricle to contract. Since the automatic frequency of the cells generally is lower than the atrial contraction frequency, there is no relationship between the atrial and ventricular rhythms. The pacemaker will follow the normal atrial rate by pacing the ventricle a certain AV-delay after each atrial sense as to mimic the normal function of the AV node. This is called tracking. • Premature ventricular contractions (PVC): A PVC is a ventricular contraction which is not the result of an earlier atrial contraction or a stimulus from an artificial pacemaker, but originates from a spontaneously depolarizing muscle cell of the ventricle. A ventricular contraction will be classified as PVC when it is not preceded by an atrial event (sense or pace). After a PVC the artificial pacemaker can deliver an atrial pace in order to make the atrium refractory and thus preventing that the PVC is conducted in reverse direction to the atrium (see below). • Retrograde conduction: Retrograde conduction is the conduction of a stimulus from the ventricles via the AV node to the atria (so via the ‘retrograde’ path, as opposed to the normal ‘anterograde’ path from the atria to the ventricles). One of the causes of retrograde conduction can be a PVC that occurs when the AV node and the atria are not refractory. The depolarization signal then is conducted from the ventricles to the atria and the atria contract a short interval after the ventricular contraction. This is the wrong order and must be avoided or at least the effects must be minimized. When the artificial pacemaker is not aware of the retrograde conduction, the effect could be that it tracks each (retrograde conducted) atrial sense by a ventricular pace, which again is retrograde conducted, and so on. This results in a too high heart rate and is highly undesirable. When the artificial pacemaker detects this effect, it stops tracking the atrial sense in order to break the cycle of retrograde conduction. • Atrioventricular crosstalk: It may happen that shortly after an atrial pace a ventricular event is sensed. This sense may not be induced by an actual depolarization, but may be caused by atrial crosstalk artifacts (the atrial pace is detected in the ventricle and interpreted as a ventricular depolarization). Such a ventricular sense is called a crosstalk ventricular sense. This 38
Page 40
may result in the inhibition of the ventricular pace which is highly undesirable. To avoid inhibition a Ventricular Safety Pace (VSP) is delivered by the artificial pacemaker to ensure ventricular contraction in case of crosstalk detection.
39