Introduction

The heart has a unique electrical system that controls the rhythm of the heartbeat. In a healthy heart, the sinoatrial node in the right atrium serves as the natural pacemaker, generating rhythmic electrical pulses that spread across both atria. These electrical pulses are delayed at the atrio-ventricular (AV) junction, or AVJ, before traveling along left and right bundle branches and exciting both ventricles (Fig. 1). It is well known that structural or functional abnormalities of the cardiac electrical conduction system can lead to cardiac arrhythmias.

Figure 1
figure 1

Illustration of the cardiac electrical conduction pathway and an implantable dual-chamber cardiac pacemaker connecting with a right atrial lead and a right ventricular lead

First invented about a half-century ago, the implantable cardiac pacemaker is a medical device designed to regulate the heartbeat. It can monitor the intrinsic heart rhythm, and deliver pacing pulses to proper heart chamber(s) when needed. Modern cardiac pacemaker can also adjust the pacing rate according to patient’s metabolic demand, time pacing sequence to synchronize the contraction of multiple chambers, trigger special pacing algorithm to terminate arrhythmic episodes or prevent their occurrence, among many other features.22 The dual-chamber pacemaker is the most common type of pacemaker implanted today.19 Connecting to an atrial lead and a ventricular lead, a dual-chamber pacemaker senses electrical signals in both right atrium and right ventricle, and paces one or both chambers if needed (Fig. 1).

For the native heart rhythm and the artificial pacemaker to form a close-loop system and coordinate their functions, complex interactions are expected. From sensing perspective, intrinsic heart activity may be detected by the pacemaker, or it may not be seen by the device if it falls into pacemaker blanking window or if the signal amplitude is smaller than the predefined sensing threshold (i.e., under-sensing). Other sensing problems, such as far-field sensing, T wave over-sensing, noise sensing, etc., have also been well known in the pacemaker industry. From pacing perspective, a pacing pulse is designed to capture the target heart chamber. Alternatively, it is also possible that the pacing fails to depolarize the heart if the stimulation strength is below the physiological capture threshold, or if the heart is still refractory due to an earlier excitation. Things become more complicated when both sensing and pacing are considered. For example, device sensing of intrinsic cardiac signal may inhibit the pacing output, whereas device pacing may pre-excite the myocardium and suppress its intrinsic rhythm. Furthermore, when both intrinsic depolarization and paced depolarization are present, fusion of activation waves is possible.

Prior work

Ironically, despite the progress of cardiac arrhythmia research and the advance of the pacemaker technology, so far there is no computer model that can realistically simulate how the external pacemaker interacts with the heart’s intrinsic rhythm.

Early efforts had focused on modeling RR intervals in atrial fibrillation (AF), likely reflecting both its clinical significance and its perplexing ‘irregularly irregular’ ventricular rhythm. The variation of RR intervals during AF has been attributed to unstable electrophysiological properties of both atrial source and AVJ.3 As a convenient mathematical assumption, the arrival of ‘random’ AF impulses has been conventionally modeled as a Poisson process.4,7,18 The modeling of AV conduction, however, has been a matter of debate for decades.

Concealed conduction models have been traditionally used to explain the ventricular response in AF.10,18 However, theoretical analysis showed that these simplified models could not adequately account for various patterns of RR interval histograms observed experimentally.4 Wittkampf et al. proposed a different model in which the AVJ functions as a pacemaker whose rate and rhythm are modulated by AF impulses,24,25 but this hypothesis was later rejected by an experimental validation.23 An alternative model was developed by Meijler et al., who believed that electrotonic modulation of AV conduction by concealed impulses is responsible for the irregular RR intervals in AF.17 Nonetheless, the inverse relationship between atrial and ventricular rates in AF predicted by this model was not confirmed in a clinical study.2

Treating the AVJ as a lumped structure with defined electrical properties, Cohen et al. developed another computer model, which they showed could account for most principal statistical properties of the RR intervals during AF.4 In a different approach, Glass’s group developed several models to characterize the nonlinear dynamics of AV conductions or statistical properties of RR intervals.11,21,26 Although all these models could provide reasonable estimate of RR interval output for a given AF input, cardiac pacing was not considered thus its effect on intrinsic rhythm could not be addressed.

Recently, we have developed an AF–VP model to elucidate the effects of ventricular pacing (VP) on the ventricular rhythm in AF.12 This model can be viewed as an extension and enhancement of Cohen’s model, by taking into account VP, rate-dependent AV conduction and AV refractoriness, and electrotonic modulation in the AVJ. It has been demonstrated that this model could explain most experimental observations, including various patterns of RR interval distribution in AF,12 biphasic relationship between atrial and ventricular rates in AF,12 and the rate stabilization effects of VP.12,14,15 We have further validated this model through simulated atrial pacing protocols, which are simpler-case scenarios by factoring out the randomness of AF and the interactions with VP.13 To facilitate the use and further improvement of the AF–VP model, its software has been made freely available on PhysioNet (http://www.physionet.org/physiotools/afvp/).6 The software architecture and design of the computer model have also been provided in an open access format.16

Aim of study

Although the AF–VP model can simulate many types of cardiac rhythms in both physiological and pathological conditions,1214 it does not support more advanced simulations involving dual-chamber cardiac pacing and sensing. The availability of such a computer model would not only facilitate cardiac rhythm analysis in pacemaker patients, but also make it possible to bench test various embedded pacemaker algorithms and guide the development of novel device features for cardiac rhythm management.

In this study, we present a new simulation framework called integrated dual-chamber heart and pacer (IDHP) model, which is an extension of the AF–VP model by incorporating more realistic heart rhythm generators, bi-directional wave conductions, and an industry-standard dual-chamber pacemaker timing control logic. As demonstrated below, the IDHP model provides an abstract yet realistic representation of the native cardiac electrical conduction system and its interactions with external cardiac pacing.

Model structure

Figure 2 shows the schematic diagram of the IDHP model structure, which consists of 8 inter-connected modules: (1) atrial source, (2) ventricle source, (3) atrial conductor, (4) ventricle conductor, (5) AVJ, (6) atrial lead, (7) ventricle lead, and (8) pacer. As illustrated in the figure and described below, bi-directional couplings exist between different modular pairs.

Figure 2
figure 2

Schematic diagram of the IDHP model structure

Atrial Source Module

The atrial source module maintains an atrial rhythm generator, which supports generating different types of intrinsic atrial impulses, including sinus rhythm (with fixed atrial intervals, or random atrial intervals with predefined probability distribution); AF rhythm (e.g., Poisson distribution of impulse arrival rate and varying impulse strength); atrial ectopic rhythm (with predefined incidence probability and random atrial coupling interval); and custom rhythm (i.e., import atrial intervals from external files representing preselected atrial rhythms).

An impulse output from the atrial rhythm generator can start an antegrade wave (toward AVJ) in the atrial conductor. Meanwhile, it provides input to the atrial lead for atrial sensing (AS). On the other hand, the atrial rhythm generator is reset by either a retrograde wave (escaping from AVJ) in the atrial conductor, or a supra-threshold atrial pace (AP) delivered by the atrial lead. In addition, the atrial source module can also generate exogenous atrial noise (with defined incidence probability), which can be sensed by the atrial lead, but cannot generate activation wave in the atrial conductor nor reset the atrial rhythm generator.

Ventricle Source Module

The ventricle source module maintains a ventricle rhythm generator, which can generate two types of intrinsic ventricular impulses: ventricular escape rhythm (with fixed or random intervals which are usually long to simulate slow escape rate, but can be short to simulate ventricular tachyarrythmia); and ventricular ectopic rhythm (with predefined incidence probability and random ventricular coupling interval).

An impulse output from the ventricle rhythm generator can start a retrograde wave (toward AVJ) in the ventricle conductor. Meanwhile, it provides input to the ventricle lead for ventricular sensing (VS). On the other hand, the ventricle rhythm generator is reset by either an antegrade wave (escaping from AVJ) in the ventricle conductor, or a supra-threshold VP delivered by the ventricle lead. In addition, the ventricle source module can also generate exogenous ventricle noise (with defined incidence probability), which can be sensed by the ventricle lead, but cannot generate activation wave in the ventricle conductor nor reset the ventricle rhythm generator.

Atrial Conductor Module

The atrial conductor module supports simulation of bi-directional atrial conductions. An atrial activation wave (antegrade or retrograde) will not be initiated unless the atrial conductor completes a predefined atrial refractory period since its last activation.

The antegrade atrial conduction is started by either an atrial rhythm generator output or a captured AP, and is terminated after the antegrade wave hits the AVJ, or collides with a retrograde atrial conduction wave (atrial fusion). Conversely, the retrograde atrial conduction is started after the completion of a retrograde AV conduction (escaping from AVJ), and is terminated after the retrograde wave conducts to atrial rhythm generator or collides with an antegrade atrial conduction wave (atrial fusion).

Ventricle Conductor Module

The ventricle conductor module supports simulation of bi-directional ventricular conductions. A ventricular activation wave (antegrade or retrograde) will not be initiated unless the ventricle conductor completes a predefined ventricular refractory period since its last activation.

The antegrade ventricular conduction is started after the completion of an antegrade AV conduction (escaping from AVJ), and is terminated after the antegrade wave conducts to ventricle rhythm generator, or collides with a retrograde ventricular conduction wave (ventricular fusion). Conversely, the retrograde ventricular conduction is initiated by either a ventricle rhythm generator output or a captured VP, and is terminated after the retrograde wave hits the AVJ or collides with an antegrade ventricular conduction wave (ventricular fusion).

AVJ Module

The AVJ is modeled as a lumped structure with defined electrical properties, including automaticity, conductivity, and refractoriness.4,12 The AVJ fires when its membrane potential (V m) reaches the depolarization threshold (V T). The activation of AVJ starts a refractory period, when the AVJ is refractory to any stimulation. At the end of refractory period, the AVJ membrane potential returns to the resting potential (V R) and starts to rise in a linear manner. Each time an impulse (antegrade or retrograde) hits the AVJ during phase 4, its membrane potential is increased by a discrete amount (ΔV), which is dependent on the impulse strength.

The firing of AVJ generates an activation wave that starts an antegrade or retrograde AV conduction. If AVJ is retrograde activated while an antegrade wave has not finished its AV conduction or vice versa, a collision occurs, annihilating the activation waves in both directions. Both refractory period and conduction delay of the AVJ are dependent upon its recovery time (RT), which is defined as the interval between the end of last AVJ refractory period and the current AVJ activation time. Mathematically, the AV conduction delay (AVD) is modeled as11,12,21,26

$$ AVD = AVD_{{{\text{min}}}} + \alpha \exp ( - RT/\tau _{{\text{c}}} ) $$
(1)

where AVD min is the shortest AVD when RT → \(\propto\), α is the longest extension of AVD when RT = 0, and τ c is the conduction time constant. The AV refractory period (τ) is modeled as4,12

$$ \tau = \tau _{{{\text{min}}}} + \beta {\left( {1 - \exp ( - RT/\tau _{{\text{r}}} )} \right)} $$
(2)

where τ min is the shortest τ corresponding to RT = 0, β is the longest extension of τ when RT → \(\propto\), and τ r is the refractory time constant. In addition, the electrotonic modulation is also incorporated in the model, by assuming τ is prolonged by a concealed impulse according to11,12,17

$$ \tau ^{\prime} = \tau + \tau _{{\min }} (t/\tau )^{\theta } {\left[ {\min (1,\Updelta V/(V_{{\text{T}}} - V_{{\text{R}}} ))} \right]}^{\delta } $$
(3)

where τ and τ′ are, respectively, the original and prolonged refractory periods, t is the time when the impulse is blocked (0 < t < τ), and the degree of extension depends on the timing and strength of the blocked impulse, which are respectively modulated by two positive parameters θ and δ.

Atrial Lead Module

The atrial lead module supports simulation of both AP and AS.

An AP captures the atrium if the atrial conductor is non-refractory and the AP strength is greater than a predefined atrial threshold. The captured AP also resets the atrial rhythm generator, and starts an antegrade wave in the atrial conductor. On the other hand, no effect follows a non-capture AP.

The atrial lead senses any types of electrical signals in the atrium, which could be intrinsic atrial depolarizations (including atrial rhythm generator output and retrograde atrial activation), or exogenous noise (generated by the atrial source module).

Ventricle Lead Module

Similarly, the ventricle lead module supports simulation of both VP and VS.

A VP captures the ventricle if the ventricle conductor is non-refractory and the VP strength is greater than a predefined ventricular threshold. The captured VP also resets the ventricle rhythm generator, and starts a retrograde wave in the ventricle conductor. On the other hand, no effect follows a non-capture VP.

The ventricle lead senses any types of electrical signals in the ventricle, which could be intrinsic ventricular depolarizations (including ventricle rhythm generator output and antegrade ventricular activation), or exogenous noise (generated by the ventricle source module).

Pacer Module

Modern pacemakers maintain a plural of timers and windows to perform sense event classification and pace timing control. Most of these timing control logics are supported by the pacer module, such as the basic interval, pace and sense AV delays, atrial and ventricular blanking windows, atrial and ventricular refractory periods, upper tracking interval, far-field window, safety window, etc. Interacting with both atrial and ventricle leads, the pacer module classifies atrial and ventricular senses, and controls the timing of AP and VP, according to various industry-standard pacing modes, such as DDD, DDI, DVI, VDD, VVI, AAI, etc.5 Some basic concepts on pacemaker timing are summarized in Appendix A.

The pacer module also provides support of continuous interval measurement, including but not limited to, the A–A intervals, the V–V intervals, the A–V intervals, the V–A intervals, etc., based on which the pacemaker can perform rate and rhythm analysis, log diagnostic statistics, and implement advanced pacing algorithms.

Model implementation

Figure 3 shows the top-level flowchart of the IDHP model. The simulation reads model parameters from an external configuration file (see Appendix B), and then initializes model variables including various timers, flags, counters, etc. Some major timers associated with the heart modules and their start and stop conditions are listed in Table 1. Besides, the simulation maintains a plural of pacer specific timers (e.g., to schedule AP and VP, to start and stop various windows for sense classification, to measure intervals between different event types), which are mostly dependent on the pacing mode. The simulation runs at the predefined sampling frequency. At each sample time, the model updates its time-dependent variables (e.g., AVJ membrane potential, active timers), and then handles possible event(s) as detailed below. The simulation continues until a predefined number of cardiac beats are generated or the simulation time runs out, when the model logs statistics and exits.

Figure 3
figure 3

Top-level flowchart of running IDHP model simulation

Table 1 List of major timers associated with the heart modules of the IDHP model

The general event handling routine is described in Fig. 4, in which the AP/AS handling and VP/VS handling are further illustrated in Fig. 5. The model checks its timers and status flags to detect various events and calls for respective service routines when necessary. Atrial or ventricular fusion (AtrFusion or VtrFusion) occurs when antegrade and retrograde waves meet in the atrium or ventricle, respectively. Completion of antegrade atrial conduction or retrograde ventricle conduction leads to antegrade or retrograde invasion of AVJ (AnteHitAvj or RetrHitAvj). An antegrade or retrograde activation wave escapes the AVJ (AnteEscAvj or RetrEscAvj) upon completing the respective AV conduction. The AVJ is activated (ActivateAvj) and becomes refractory (StartAvjRef) if its membrane potential exceeds its depolarization threshold, whereas the end of AVJ refractory period starts the phase 4 (StartAvjPh4). Pacer delivers AP or VP (AtrPace or VtrPace) according to programmed timing logic. Atrial sense (AtrSense) can be caused by atrial rhythm generator output (ArgOutput), retrograde atrial activation, or atrial noise, whereas ventricle sense (VtrSense) can be the result of ventricle rhythm generator output (VrgOutput), antegrade ventricle activation, or ventricle noise. More detailed flowcharts of IDHP model event handling are shown in Appendix C.

Figure 4
figure 4

General event handling routines implemented in IDHP model

Figure 5
figure 5

Specific event handling routines implemented in IDHP model for AP/AS events (left) and VP/VS events (right)

Results

By changing model parameters through the configuration file (see Appendix B), the IDHP model can simulate various types of heart rhythm in the presence of dual-chamber cardiac pacing and sensing.

As examples, Figs. 611 show some representative segments of the model generated event markers. In these figures, sense and pace events are represented by vertical bars; atrial events are plotted in the upper area and ventricular events are plotted in the lower area. Each vertical bar has a symbol representing event type classified by the pacer: pace (circle), sense (triangle), refractory or far-field sense (star), and undetected due to blanking (cross). Pace amplitudes (unit: V) are shown next to the pace markers. In addition, the following marker annotations are used to show the true event type: I—intrinsic depolarization; E—ectopic depolarization; R—retrograde atrial depolarization; S—conducted ventricular depolarization; C—captured pace; L—loss-of-capture pace.

Figure 6 shows a segment of model generated event markers when the heart is in normal sinus rhythm and the pacer operates in DDD mode. In this example, the intrinsic sinus rate (about 60 beats/min) is similar to pacer’s basic rate (fixed at 60 pulses/min), thus the atrial rhythm is mixed between paces and senses. After four ventricular paces, a ventricular ectopic beat occurs, followed by a retrograde atrial depolarization. Two cycles later, an atrial ectopic beat occurs, followed by a conducted ventricular depolarization.

Figure 6
figure 6

An exemplary segment of model-generated event markers when the heart is in normal sinus rhythm with incidental atrial extra-systole and ventricular extra-systole, and the pacer operates in DDD mode

Similarly, Fig. 7 shows another segment of model generated event markers when the heart is in normal sinus rhythm and the pacer operates in DDD mode. However, in this example, the AP amplitude (0.5 V) was set below the atrial threshold (1.0 V). Because the sub-threshold AP does not capture the atrium, the sinus rhythm is preserved, evidenced by intrinsic atrial depolarization shortly after each AP (undetected by the pacer due to post-AP blanking, or detected as a far-field or refractory sense); or alternatively, the atrium is activated by retrograde conduction induced by VP.

Figure 7
figure 7

An exemplary segment of model-generated event markers when the heart is in normal sinus rhythm, and the pacer operates in DDD mode but with sub-threshold AP amplitude

Figure 8 shows a segment of model generated event markers when the heart is in AF rhythm and the pacer operates in DDI mode (as during pacemaker mode switch). The AF rhythm is characterized by random arrival of atrial impulses and irregular ventricular response. Evidently, some AF impulses are blocked and not conducted to the ventricle. Also note that the first two VPs fail to capture the ventricle despite their supra-threshold (threshold 1.0 V) pacing amplitude (3.6 V). As shown in the figure, each of the non-capture VP is immediately preceded by a conducted ventricular depolarization (but undetected by the pacer due to post-AP blanking) that renders the ventricle refractory.

Figure 8
figure 8

An exemplary segment of model-generated event markers when the heart is in AF rhythm while the pacer operates in DDI mode

Figure 9 shows an example of model simulated atrial tachycardia rhythm while the pacer operates in DDD mode. In this example, the atrial rate (about 126 beats/min) is slightly higher than the pacer upper tracking rate (fixed at 120 pulses/min). As expected, each normal AS is tracked by the pacer and followed by a VP. However, due to the limitation of the upper tracking rate, VP is postponed and can only be delivered at the end of the upper tracking interval. This causes progressive lengthening of the AS–VP interval, until an AS falls into the post-ventricular atrial refractory period (i.e., not tracked by the pacer), thus there is no following VP (i.e., periodic AV block). This is the well-known pacemaker Wenckebach behavior.5

Figure 9
figure 9

An exemplary segment of model-generated event markers when the heart is in atrial tachycardia rhythm, and the pacer operates in DDD mode but the VP rate is limited by the programmed upper tracking rate

Figure 10 shows an example of model simulated ventricular tachycardia rhythm while the pacer operates in DDD mode. Atrial tachycardia (intrinsic rate about 150 beats/min) is also simulated in this example (evidenced by three intrinsic AS events shown in the figure), but higher ventricular rate (about 200 beats/min) overdrives the ventricle and blocks antegrade AV conduction, and frequently entrains the atrium through retrograde VA conductions.

Figure 10
figure 10

An exemplary segment of model-generated event markers when the heart is in ventricular tachycardia rhythm while the pacer operates in DDD mode

Finally, Fig. 11 shows a typical example of model simulated pacemaker-mediated tachycardia episode.5 The model configuration for this example is similar to that of Fig. 6 except that the pacer’s post-ventricular atrial refractory period is shortened. After three cycles of baseline AP–VP rhythm in DDD mode, a ventricular ectopic beat causes retrograde atrial depolarization, which is detected by the pacer as a normal AS. The pacer tracked this detected AS by delivering a VP at the programmed AV delay. The VP causes another retrograde AS, and the sequence repeats, leading to an endless loop tachycardia.

Figure 11
figure 11

An exemplary segment of model-generated event markers representing pacemaker-mediated tachycardia in DDD mode

Discussion

In this paper, we present a new IDHP model, which for the first time allows realistic simulation of heart rhythm in the presence of a dual-chamber cardiac pacemaker.

The IDHP model is an extension and improvement of the previous AF–VP model, which was shown to be able to explain many experimental observations in AF.12 The AF–VP model was further validated through simulated atrial pacing protocols,13 by reproducing most experimental results obtained in an isolated rat heart model.8,9 Recently, the AF–VP model was also applied to elucidate the role of ventricular conduction time in rate stabilization for AF,16 providing mechanistic explanation to the findings of a clinical study that found no measurable difference in rate stabilization effects between His bundle pacing and right ventricle apex pacing.20

Building on success of the AF–VP model, the IDHP model incorporates more realistic properties of the heart, including various rhythm generators (e.g., sinus rhythm, ectopic rhythm, escape rhythm, tachyarrhythmias, etc.), and bi-directional atrial, ventricular, and AVJ conductions. More importantly, the IDHP model encapsulates an industry standard pacer module that supports advanced timing control logic existing in state-of-the-art dual-chamber pacemakers. With these enhanced features, the IDHP model provides a unique platform to study complex interactions between intrinsic heart rhythm and extrinsic dual-chamber cardiac pacing. By adjusting model parameters, Figs. 611 provide clear, albeit certainly not exhaustive, examples of how the intrinsic heart rhythm would be affected by cardiac pacing, and how the cardiac pacemaker would sense, interpret and respond to the intrinsic heart activity.

Model Framework

It is clear from Fig. 1 that, in the IDHP model, the intrinsic heart rhythm generator, the cardiac conduction pathway, and the implantable cardiac pacemaker are integrated into a closed-loop system—as it is in the real world. The antegrade branch of the loop starts from the atrial source output, or from AP delivered by the pacer via the atrial lead. The resulting atrial depolarizations pass through the atrial conductor before bombarding the AVJ, where the signals are processed, then further propagate through the ventricle conductor, until reaching the ventricle source and being sensed by the pacer via the ventricle lead. On the other hand, the retrograde branch of the loop starts from the ventricle source output, or from VP delivered by the pacer via the ventricle lead. The resulting ventricular depolarizations pass through the ventricle conductor before penetrating the AVJ, where it is delayed before further invading the atrial conductor, until reaching the atrial source and being sensed by the pacer via the atrial lead. Evidently, multi-level interactions may occur between these two opposite electrical conduction branches.

The kernel component of the heart model is AVJ, which is treated as a hypothetical equivalent cell whose electrophysiological properties represent the overall behavior of all AV nodal cells.4,12,16 A black-box modeling approach is used to characterize the input–output relationship of the AVJ: the input to the AVJ is the antegrade or retrograde invading impulses, while the output of the AVJ is the antegrade or retrograde activation waves conducting to the ventricle or atrium, respectively. Moreover, the functional behavior of the AVJ can be equated to multiple signal processing steps that involve blanking (refractory period), summation (phase 4), thresholding (activation), and time delay (AV conduction). From the system modeling perspective, the AVJ can also be regarded as a relay unit that connects its output (antegrade and retrograde activation waves) to the ventricle and atrium, which are, respectively, driven by two opposing electrical sources. The atrial source and the ventricular source compete for the activation of the AVJ, which serves as the common pathway for both antegrade and retrograde conductions.

Model Applications

The present model has a number of applications. First and foremost, the IDHP model provides a unique simulation environment to generate various cardiac rhythms, to emulate how the pacemaker would sense and classify cardiac events and then yield diagnosis, and moreover, to study how the cardiac pacing would affect the intrinsic cardiac rhythm. This makes it possible to rigorously bench test advanced pacemaker algorithms (in the presence of different heart rhythms and numerous variants, e.g., ectopic beat, noise, etc.) even before experimental or clinical investigations, thus may guide and speed up the development of novel device features for cardiac rhythm management.

Second, the IDHP model can help unravel many puzzling cardiac rhythms encountered in the real world. As demonstrated before, the AF–VP model can generate various patterns of normal and abnormal heart rhythms that are consistent with previous experimental observations.1214,16 Some seemingly conflicting observations could be explained in terms of a difference in model parameter settings.1214 With enhanced simulation capabilities, the IDHP model offers a new tool to probe complex heart rhythms while taking into account dual-chamber cardiac pacing and sensing.

Third, the model provides an abstract yet realistic representation of the cardiac electrical conduction system including atrial and ventricular sources, and the atrium-AVJ-ventricle conduction pathway, all of which are under autonomic control. Many cardiac arrhythmias are thought to result from disturbances in autonomic modulation of the electrophysiological properties of the heart’s electrical conduction system. Hence, the present model may become a useful tool to facilitate better understandings on the mechanisms of arrhythmia genesis, maintenance, and termination.

Last but not least, the model can contribute to the development of advanced biomedical signal processing techniques for cardiac arrhythmia research. For example, the present model can generate at least three closely coupled time series: PP (or A–A) intervals, RR (or V–V) intervals, and PR (or A–V) intervals. By simulating various cardiac rhythms, the model-generated time series can be used to build a standard test platform for quantitative evaluation or comparison of different signal processing techniques that have been developed for heart rhythm analysis.

Limitations and Future Work

This study is limited by the nature of computer simulation. Direct experimental validation of the model is certainly warranted to confirm its concrete behavior. Nonetheless, the IDHP model is a conceptual representation of: (a) the cardiac electrical conduction system with well-documented electrophysiological properties and (b) the dual-chamber cardiac pacing system whose technical features and control logics are clearly defined. The integration of these two systems allows rational encapsulation of cardioelectric and pacemaker variables, and the set of logical and quantitative relationships between them. Moreover, the validity of the model has also been demonstrated by its capability to account for most known experimental observations.1214

Another limitation of the present study is that the model parameters are empirically defined. Ideally the parameters could be derived by fitting the model to experimental data, but a simultaneous search over all model parameters is technically impractical. Nonetheless, the dimension of the search space could be significantly reduced by deriving some baseline parameters independently. For example, the parameters pertaining to AV conduction time and refractory period may be derived from respective recovery curves, which can be obtained during application of standard atrial pacing protocols.8 The parameters pertaining to electrotonic modulation may be found through a scanning process,11 or estimated through more elaborate pacing protocols involving concealed conduction.9 Other model parameters (e.g., AF frequency, relative impulse strength, and the rate of phase 4 depolarization) may be estimated by fitting the model with recorded RR interval distribution.4

Finally, further improvement of the IDHP model is planned for the future study. The architecture of the IDHP model is constructed in a modular manner. Such a modular design not only facilitates model change to achieve a particular purpose, but also allows potentially more realistic features of the heart and pacer to be included. For instance, it is highly attractive to enhance the heart model with autonomic modulation, which is known to significantly affect automaticity, excitability, and conductivity of the myocardial cells. The history-dependent behavior of the AV node, namely the fatigue and facilitation,21 can also be incorporated into the present model by modifying the AV conduction formula. For the pacer model, more advanced device features and clinical problems (e.g., over-sensing, under-sensing, etc.) could be simulated. Besides, in view of the rapid progress in cardiac resynchronization therapy for treating refractory heart failure with cardiac dyssynchrony,1 the next incremental step to build an integrated three-chamber (right atrium, right ventricle, left ventricle) heart and pacer model will be certainly challenging yet rewarding.

Conclusion

An integrated dual-chamber heart and pacer model is presented that enables realistic simulation of heart rhythm in the presence of a dual-chamber cardiac pacemaker. The detailed model structure is described within a unified yet flexible framework, where it is possible to study the interactions between intrinsic heart rhythm and extrinsic cardiac pacing. Representative examples are provided to illustrate the usage of the model, and its validity is demonstrated by its realistic outputs that are consistent with clinical observations. Further improvement of the model, as well as its scientific merits and potential applications are discussed.