[ 0030 ] fig1 is a simplified schematic view of one embodiment of implantable medical device (“ imd ”) 10 of the present invention . imd 10 shown in fig1 is a pacemaker comprising at least one of pacing and sensing leads 16 and 18 attached to hermetically sealed enclosure 14 and implanted near human or mammalian heart 8 . pacing and sensing leads 16 and 18 sense electrical signals attendant to the depolarization and repolarization of the heart 8 , and further provide pacing pulses for causing depolarization of cardiac tissue in the vicinity of the distal ends thereof . leads 16 and 18 may have unipolar or bipolar electrodes disposed thereon , as is well known in the art . examples of imd 10 include implantable cardiac pacemakers disclosed in u . s . pat . no . 5 , 158 , 078 to bennett et al ., u . s . pat . no . 5 , 312 , 453 to shelton et al . or u . s . pat . no . 5 , 144 , 949 to olson , all hereby incorporated by reference herein , each in its respective entirety . [ 0031 ] fig2 shows connector module 12 and hermetically sealed enclosure 14 of imd 10 located in and near human or mammalian heart 8 . atrial and ventricular pacing leads 16 and 18 extend from connector header module 12 to the right atrium and ventricle , respectively , of heart 8 . atrial electrodes 20 and 21 disposed at the distal end of atrial pacing lead 16 are located in the right atrium . ventricular electrodes 28 and 29 at the distal end of ventricular pacing lead 18 are located in the right ventricle . [ 0032 ] fig3 shows a block diagram illustrating the constituent components of imd 10 in accordance with one embodiment of the present invention , where imd 10 is pacemaker having a microprocessor - based architecture . imd 10 is shown as including activity sensor or accelerometer 11 , which is preferably a piezoceramic accelerometer bonded to a hybrid circuit located inside enclosure 14 . activity sensor 11 typically ( although not necessarily ) provides a sensor output that varies as a function of a measured parameter relating to a patient &# 39 ; s metabolic requirements . for the sake of convenience , imd 10 in fig3 is shown with lead 18 only connected thereto ; similar circuitry and connections not explicitly shown in fig3 apply to lead 16 . imd 10 in fig3 is most preferably programmable by means of an external programming unit ( not shown in the figures ). one such programmer is the commercially available medtronic model 9790 programmer , which is microprocessor - based and provides a series of encoded signals to imd 10 , typically through a programming head which transmits or telemeters radio - frequency ( rf ) encoded signals to imd 10 . such a telemetry system is described in u . s . pat . no . 5 , 312 , 453 to wyborny et al ., hereby incorporated by reference herein in its entirety . the programming methodology disclosed in wyborny et al .&# 39 ; s &# 39 ; 453 patent is identified herein for illustrative purposes only . any of a number of suitable programming and telemetry methodologies known in the art may be employed so long as the desired information is transmitted to and from the pacemaker . as shown in fig3 lead 18 is coupled to node 50 in imd 10 through input capacitor 52 . activity sensor or accelerometer 11 is most preferably attached to a hybrid circuit located inside hermetically sealed enclosure 14 of imd 10 . the output signal provided by activity sensor 11 is coupled to input / output circuit 54 . input / output circuit 54 contains analog circuits for interfacing to heart 8 , activity sensor 11 , antenna 56 and circuits for the application of stimulating pulses to heart 8 . the rate of heart 8 is controlled by software - implemented algorithms stored microcomputer circuit 58 . microcomputer circuit 58 preferably comprises on - board circuit 60 and off - board circuit 62 . circuit 58 may correspond to a microcomputer circuit disclosed in u . s . pat . no . 5 , 312 , 453 to shelton et al ., hereby incorporated by reference herein in its entirety . on - board circuit 60 preferably includes microprocessor 64 , system clock circuit 66 and on - board ram 68 and rom 70 . off - board circuit 62 preferably comprises a ram / rom unit . on - board circuit 60 and off - board circuit 62 are each coupled by data communication bus 72 to digital controller / timer circuit 74 . microcomputer circuit 58 may comprise a custom integrated circuit device augmented by standard ram / rom components . electrical components shown in fig3 are powered by an appropriate implantable battery power source 76 in accordance with common practice in the art . for the sake of clarity , the coupling of battery power to the various components of imd 10 is not shown in the figures . antenna 56 is connected to input / output circuit 54 to permit uplink / downlink telemetry through rf transmitter and receiver telemetry unit 78 . by way of example , telemetry unit 78 may correspond to that disclosed in u . s . pat . no . 4 , 566 , 063 issued to thompson et al ., hereby incorporated by reference herein in its entirety , or to that disclosed in the above - referenced &# 39 ; 453 patent to wyborny et al . it is generally preferred that the particular programming and telemetry scheme selected permit the entry and storage of cardiac rate - response parameters . the specific embodiments of antenna 56 , input / output circuit 54 and telemetry unit 78 presented herein are shown for illustrative purposes only , and are not intended to limit the scope of the present invention . continuing to refer to fig3 vref and bias circuit 82 most preferably generates stable voltage reference and bias currents for analog circuits included in input / output circuit 54 . analog - to - digital converter ( adc ) and multiplexer unit 84 digitizes analog signals and voltages to provide “ real - time ” telemetry intracardiac signals and battery end - of - life ( eol ) replacement functions . operating commands for controlling the timing of imd 10 are coupled by data bus 72 to digital controller / timer circuit 74 , where digital timers and counters establish the overall escape interval of the imd 10 as well as various refractory , blanking and other timing windows for controlling the operation of peripheral components disposed within input / output circuit 54 . digital controller / timer circuit 74 is preferably coupled to sensing circuitry , including sense amplifier 88 , peak sense and threshold measurement unit 90 and comparator / threshold detector 92 . circuit 74 is further preferably coupled to electrogram ( egm ) amplifier 94 for receiving amplified and processed signals sensed by lead 18 . sense amplifier 88 amplifies sensed electrical cardiac signals and provides an amplified signal to peak sense and threshold measurement circuitry 90 , which in turn provides an indication of peak sensed voltages and measured sense amplifier threshold voltages on multiple conductor signal path 67 to digital controller / timer circuit 74 . an amplified sense amplifier signal is then provided to comparator / threshold detector 92 . by way of example , sense amplifier 88 may correspond to that disclosed in u . s . pat . no . 4 , 379 , 459 to stein , hereby incorporated by reference herein in its entirety . the electrogram signal provided by egm amplifier 94 is employed when imd 10 is being interrogated by an external programmer to transmit a representation of a cardiac analog electrogram . see , for example , u . s . pat . no . 4 , 556 , 063 to thompson et al ., hereby incorporated by reference herein in its entirety . output pulse generator 96 provides pacing stimuli to patient &# 39 ; s heart 8 through coupling capacitor 98 in response to a pacing trigger signal provided by digital controller / timer circuit 74 each time the escape interval times out , an externally transmitted pacing command is received or in response to other stored commands as is well known in the pacing art . by way of example , output amplifier 96 may correspond generally to an output amplifier disclosed in u . s . pat . no . 4 , 476 , 868 to thompson , hereby incorporated by reference herein in its entirety . the specific embodiments of input amplifier 88 , output amplifier 96 and egm amplifier 94 identified herein are presented for illustrative purposes only , and are not intended to be limiting in respect of the scope of the present invention . the specific embodiments of such circuits may not be critical to practicing some embodiments of the present invention so long as they provide means for generating a stimulating pulse and are capable of providing signals indicative of natural or stimulated contractions of heart 8 . in some preferred embodiments of the present invention , imd 10 may operate in various non - rate - responsive modes , including , but not limited to , ddd , ddi , vvi , voo and vvt modes . in other preferred embodiments of the present invention , imd 10 may operate in various rate - responsive , including , but not limited to , dddr , ddir , vvir , voor and wtr modes . some embodiments of the present invention are capable of operating in both non - rate - responsive and rate responsive modes . moreover , in various embodiments of the present invention imd 10 may be programmably configured to operate so that it varies the rate at which it delivers stimulating pulses to heart 8 only in response to one or more selected sensor outputs being generated . numerous pacemaker features and functions not explicitly mentioned herein may be incorporated into imd 10 while remaining within the scope of the present invention . the present invention is not limited in scope to single - sensor or dual - sensor pacemakers , and is not limited to imd &# 39 ; s comprising activity or pressure sensors only . nor is the present invention limited in scope to single - chamber pacemakers , single - chamber leads for pacemakers or single - sensor or dual - sensor leads for pacemakers . thus , various embodiments of the present invention may be practiced in conjunction with more than two leads or with multiple - chamber pacemakers , for example . at least some embodiments of the present invention may be applied equally well in the contexts of single -, dual -, triple - or quadruple - chamber pacemakers or other types of imd &# 39 ; s . see , for example , u . s . pat . no . 5 , 800 , 465 to thompson et al ., hereby incorporated by reference herein in its entirety , as are all u . s . patents referenced therein . imd 10 may also be a pacemaker - cardioverter - defibrillator (“ pcd ”) corresponding to any of numerous commercially available implantable pcds . various embodiments of the present invention may be practiced in conjunction with pcds such as those disclosed in u . s . pat . no . 5 , 545 , 186 to olson et al ., u . s . pat . no . 5 , 354 , 316 to keimel , u . s . pat . no . 5 , 314 , 430 to bardy , u . s . pat . no . 5 , 131 , 388 to pless and u . s . pat . no . 4 , 821 , 723 to baker et al ., all hereby incorporated by reference herein , each in its respective entirety . [ 0044 ] fig4 and 5 illustrate one embodiment of imd 10 and a corresponding lead set of the present invention , where imd 10 is a pcd . in fig4 the ventricular lead takes the form of leads disclosed in u . s . pat . nos . 5 , 099 , 838 and 5 , 314 , 430 to bardy , and includes an elongated insulative lead body 1 carrying three concentric coiled conductors separated from one another by tubular insulative sheaths . located adjacent the distal end of lead 1 are ring electrode 2 , extendable helix electrode 3 mounted retractably within insulative electrode head 4 and elongated coil electrode 5 . each of the electrodes is coupled to one of the coiled conductors within lead body 1 . electrodes 2 and 3 are employed for cardiac pacing and for sensing ventricular depolarizations . at the proximal end of the lead is bifurcated connector 6 , which carries three electrical connectors , each coupled to one of the coiled conductors . defibrillation electrode 5 may be fabricated from platinum , platinum alloy or other materials known to be usable in implantable defibrillation electrodes and may be about 5 cm in length . the atrial / svc lead shown in fig4 includes elongated insulative lead body 7 carrying three concentric coiled conductors separated from one another by tubular insulative sheaths corresponding to the structure of the ventricular lead . located adjacent the j - shaped distal end of the lead are ring electrode 9 and extendable helix electrode 13 mounted retractably within an insulative electrode head 15 . each of the electrodes is coupled to one of the coiled conductors within lead body 7 . electrodes 13 and 9 are employed for atrial pacing and for sensing atrial depolarizations . elongated coil electrode 19 is provided proximal to electrode 9 and coupled to the third conductor within lead body 7 . electrode 19 preferably is 10 cm in length or greater and is configured to extend from the svc toward the tricuspid valve . in one embodiment of the present invention , approximately 5 cm of the right atrium / svc electrode is located in the right atrium with the remaining 5 cm located in the svc . at the proximal end of the lead is bifurcated connector 17 carrying three electrical connectors , each coupled to one of the coiled conductors . the coronary sinus lead shown in fig4 assumes the form of a coronary sinus lead disclosed in the above cited &# 39 ; 838 patent issued to bardy , and includes elongated insulative lead body 41 carrying one coiled conductor coupled to an elongated coiled defibrillation electrode 21 . electrode 21 , illustrated in broken outline in fig4 is located within the coronary sinus and great vein of the heart . at the proximal end of the lead is connector plug 23 carrying an electrical connector coupled to the coiled conductor . the coronary sinus / great vein electrode 41 may be about 5 cm in length . implantable pcd 10 is shown in fig4 in combination with leads 1 , 7 and 41 , and lead connector assemblies 23 , 17 and 6 inserted into connector block 12 . optionally , insulation of the outward facing portion of housing 14 of pcd 10 may be provided using a plastic coating such as parylene or silicone rubber , as is employed in some unipolar cardiac pacemakers . the outward facing portion , however , may be left uninsulated or some other division between insulated and uninsulated portions may be employed . the uninsulated portion of housing 14 serves as a subcutaneous defibrillation electrode to defibrillate either the atria or ventricles . lead configurations other that those shown in fig4 may be practiced in conjunction with the present invention , such as those shown in u . s . pat . no . 5 , 690 , 686 to min et al ., hereby incorporated by reference herein in its entirety . [ 0048 ] fig5 is a functional schematic diagram of one embodiment of implantable pcd 10 of the present invention . this diagram should be taken as exemplary of the type of device in which various embodiments of the present invention may be embodied , and not as limiting , as it is believed that the invention may be practiced in a wide variety of device implementations , including cardioverter and defibrillators which do not provide anti - tachycardia pacing therapies . imd 10 is provided with an electrode system . if the electrode configuration of fig4 is employed , the correspondence to the illustrated electrodes is as follows . electrode 25 in fig5 includes the uninsulated portion of the housing of pcd 10 . electrodes 25 , 15 , 21 and 5 are coupled to high voltage output circuit 27 , which includes high voltage switches controlled by cv / defib control logic 29 via control bus 31 . switches disposed within circuit 27 determine which electrodes are employed and which electrodes are coupled to the positive and negative terminals of the capacitor bank ( which includes capacitors 33 and 35 ) during delivery of defibrillation pulses . electrodes 2 and 3 are located on or in the ventricle and are coupled to the r - wave amplifier 37 , which preferably takes the form of an automatic gain controlled amplifier providing an adjustable sensing threshold as a function of the measured r - wave amplitude . a signal is generated on r - out line 39 whenever the signal sensed between electrodes 2 and 3 exceeds the present sensing threshold . electrodes 9 and 13 are located on or in the atrium and are coupled to the p - wave amplifier 43 , which preferably also takes the form of an automatic gain controlled amplifier providing an adjustable sensing threshold as a function of the measured p - wave amplitude . a signal is generated on p - out line 45 whenever the signal sensed between electrodes 9 and 13 exceeds the present sensing threshold . the general operation of r - wave and p - wave amplifiers 37 and 43 may correspond to that disclosed in u . s . pat . no . 5 , 117 , 824 , by keimel et al ., issued jun . 2 , 1992 , for “ an apparatus for monitoring electrical physiologic signals ”, hereby incorporated by reference herein in its entirety . switch matrix 47 is used to select which of the available electrodes are coupled to wide band ( 0 . 5 - 200 hz ) amplifier 49 for use in digital signal analysis . selection of electrodes is controlled by the microprocessor 51 via data / address bus 53 , which selections may be varied as desired . signals from the electrodes selected for coupling to bandpass amplifier 49 are provided to multiplexer 55 , and thereafter converted to multi - bit digital signals by a / d converter 57 , for storage in random access memory 59 under control of direct memory access circuit 61 . microprocessor 51 may employ digital signal analysis techniques to characterize the digitized signals stored in random access memory 59 to recognize and classify the patient &# 39 ; s heart rhythm employing any of the numerous signal processing methodologies known to the art . the remainder of the circuitry is dedicated to the provision of cardiac pacing , cardioversion and defibrillation therapies , and , for purposes of the present invention may correspond to circuitry known to those skilled in the art . the following exemplary apparatus is disclosed for accomplishing pacing , cardioversion and defibrillation functions . pacer timing / control circuitry 63 preferably includes programmable digital counters which control the basic time intervals associated with ddd , vvi , dvi , vdd , aai , ddi and other modes of single and dual chamber pacing well known to the art . circuitry 63 also preferably controls escape intervals associated with anti - tachyarrhythmia pacing in both the atrium and the ventricle , employing any anti - tachyarrhythmia pacing therapies known to the art . intervals defined by pacing circuitry 63 include atrial and ventricular pacing escape intervals , the refractory periods during which sensed p - waves and r - waves are ineffective to restart timing of the escape intervals and the pulse widths of the pacing pulses . the durations of these intervals are determined by microprocessor 51 , in response to stored data in memory 59 and are communicated to pacing circuitry 63 via address / data bus 53 . pacer circuitry 63 also determines the amplitude of the cardiac pacing pulses under control of microprocessor 51 . during pacing , escape interval counters within pacer timing / control circuitry 63 are reset upon sensing of r - waves and p - waves as indicated by a signals on lines 39 and 45 , and in accordance with the selected mode of pacing on time - out trigger generation of pacing pulses by pacer output circuitry 65 and 67 , which are coupled to electrodes 9 , 13 , 2 and 3 . escape interval counters are also reset on generation of pacing pulses and thereby control the basic timing of cardiac pacing functions , including anti - tachyarrhythmia pacing . the durations of the intervals defined by escape interval timers are determined by microprocessor 51 via data / address bus 53 . the value of the count present in the escape interval counters when reset by sensed r - waves and p - waves may be used to measure the durations of r - r intervals , p - p intervals , p - r intervals and r - p intervals , which measurements are stored in memory 59 and used to detect the presence of tachyarrhythmias . microprocessor 51 most preferably operates as an interrupt driven device , and is responsive to interrupts from pacer timing / control circuitry 63 corresponding to the occurrence sensed p - waves and r - waves and corresponding to the generation of cardiac pacing pulses . those interrupts are provided via data / address bus 53 . any necessary mathematical calculations to be performed by microprocessor 51 and any updating of the values or intervals controlled by pacer timing / control circuitry 63 take place following such interrupts . detection of atrial or ventricular tachyarrhythmias , as employed in the present invention , may correspond to tachyarrhythmia detection algorithms known in the art . for example , the presence of an atrial or ventricular tachyarrhythmia may be confirmed by detecting a sustained series of short r - r or p - p intervals of an average rate indicative of tachyarrhythmia or an unbroken series of short r - r or p - p intervals . the suddenness of onset of the detected high rates , the stability of the high rates , and a number of other factors known in the art may also be measured at this time . appropriate ventricular tachyarrhythmia detection methodologies measuring such factors are described in u . s . pat . no . 4 , 726 , 380 issued to vollmann , u . s . pat . no . 4 , 880 , 005 issued to pless et al . and u . s . pat . no . 4 , 830 , 006 issued to haluska et al ., all incorporated by reference herein , each in its respective entirety . an additional set of tachycardia recognition methodologies is disclosed in the article “ onset and stability for ventricular tachyarrhythmia detection in an implantable pacer - cardioverter - defibrillator ” by olson et al ., published in computers in cardiology , oct . 7 - 10 , 1986 , ieee computer society press , pages 167 - 170 , also incorporated by reference herein in its entirety . atrial fibrillation detection methodologies are disclosed in published pct application ser . no . us92 / 02829 , publication no . w092 / 18198 , by adams et al ., and in the article “ automatic tachycardia recognition ”, by arzbaecher et al ., published in pace , may - june , 1984 , pp . 541 - 547 , both of which are incorporated by reference herein in their entireties . in the event an atrial or ventricular tachyarrhythmia is detected and an anti - tachyarrhythmia pacing regimen is desired , appropriate timing intervals for controlling generation of anti - tachyarrhythmia pacing therapies are loaded from microprocessor 51 into the pacer timing and control circuitry 63 , to control the operation of the escape interval counters therein and to define refractory periods during which detection of r - waves and p - waves is ineffective to restart the escape interval counters . alternatively , circuitry for controlling the timing and generation of anti - tachycardia pacing pulses as described in u . s . pat . no . 4 , 577 , 633 , issued to berkovits et al . on mar . 25 , 1986 , u . s . pat . no . 4 , 880 , 005 , issued to pless et al . on nov . 14 , 1989 , u . s . pat . no . 4 , 726 , 380 , issued to vollmann et al . on feb . 23 , 1988 and u . s . pat . no . 4 , 587 , 970 , issued to holley et al . on may 13 , 1986 , all of which are incorporated herein by reference in their entireties , may also be employed . in the event that generation of a cardioversion or defibrillation pulse is required , microprocessor 51 may employ an escape interval counter to control timing of such cardioversion and defibrillation pulses , as well as associated refractory periods . in response to the detection of atrial or ventricular fibrillation or tachyarrhythmia requiring a cardioversion pulse , microprocessor 51 activates cardioversion / defibrillation control circuitry 29 , which initiates charging of the high voltage capacitors 33 and 35 via charging circuit 69 , under the control of high voltage charging control line 71 . the voltage on the high voltage capacitors is monitored via vcap line 73 , which is passed through multiplexer 55 and in response to reaching a predetermined value set by microprocessor 51 , results in generation of a logic signal on cap full ( cf ) line 77 to terminate charging . thereafter , timing of the delivery of the defibrillation or cardioversion pulse is controlled by pacer timing / control circuitry 63 . following delivery of the fibrillation or tachycardia therapy microprocessor 51 returns the device to a cardiac pacing mode and awaits the next successive interrupt due to pacing or the occurrence of a sensed atrial or ventricular depolarization . several embodiments of appropriate systems for the delivery and synchronization of ventricular cardioversion and defibrillation pulses and for controlling the timing functions related to them are disclosed in u . s . pat . no . 5 , 188 , 105 to keimel , u . s . pat . no . 5 , 269 , 298 to adams et al . and u . s . pat . no . 4 , 316 , 472 to mirowski et al ., hereby incorporated by reference herein , each in its respective entirety . any known cardioversion or defibrillation pulse control circuitry is believed to be usable in conjunction with various embodiments of the present invention , however . for example , circuitry controlling the timing and generation of cardioversion and defibrillation pulses such as that disclosed in u . s . pat . no . 4 , 384 , 585 to zipes , u . s . pat . no . 4 , 949 , 719 to pless et al ., or u . s . pat . no . 4 , 375 , 817 to engle et al ., all hereby incorporated by reference herein in their entireties , may also be employed . continuing to refer to fig5 delivery of cardioversion or defibrillation pulses is accomplished by output circuit 27 under the control of control circuitry 29 via control bus 31 . output circuit 27 determines whether a monophasic or biphasic pulse is delivered , the polarity of the electrodes and which electrodes are involved in delivery of the pulse . output circuit 27 also includes high voltage switches , which control whether electrodes are coupled together during delivery of the pulse . alternatively , electrodes intended to be coupled together during the pulse may simply be permanently coupled to one another , either exterior to or interior of the device housing , and polarity may similarly be pre - set , as in current implantable defibrillators . an example of output circuitry for delivery of biphasic pulse regimens to multiple electrode systems may be found in the above cited patent issued to mehra and in u . s . pat . no . 4 , 727 , 877 , hereby incorporated by reference herein in its entirety . an example of circuitry which may be used to control delivery of monophasic pulses is disclosed in u . s . pat . no . 5 , 163 , 427 to keimel , also incorporated by reference herein in its entirety . output control circuitry similar to that disclosed in u . s . pat . no . 4 , 953 , 551 to mehra et al . or u . s . pat . no . 4 , 800 , 883 to winstrom , both incorporated by reference herein in their entireties , may also be used in conjunction with various embodiments of the present invention to deliver biphasic pulses . alternatively , imd 10 may be an implantable nerve stimulator or muscle stimulator such as that disclosed in u . s . pat . no . 5 , 199 , 428 to obel et al ., u . s . pat . no . 5 , 207 , 218 to carpentier et al . or u . s . pat . no . 5 , 330 , 507 to schwartz , or an implantable monitoring device such as that disclosed in u . s . pat . no . 5 , 331 , 966 issued to bennet et al ., all of which are hereby incorporated by reference herein , each in its respective entirety . the present invention is believed to find wide application to any form of implantable electrical device for use in conjunction with electrical leads . [ 0065 ] fig6 shows a flow chart of a method for nodal rhythm detection in accordance with the present invention . an imd 10 disposed within mammalian heart 8 is programmed to detect nodal rhythm by determining if a predetermined number of successive atrial events fall within the time period between a first time limit before a ventricular event ( if the atrial event precedes the ventricular event in positive av delay ) and a second time limit after a ventricular event ( if the ventricular event precedes the atrial event in positive va delay ). when this predetermined number of successive events is found , it could be a nodal rhythm . the first time limit is typically 60 ms before a ventricular event and the second time limit is typically 100 ms after a ventricular event , but the time limits vary from patient to patient and can be tuned to fit a particular patient &# 39 ; s needs . although the nodal rhythm detection method is presented as a method used in an imd such as a ddd device sensing cardiac activity through the leads , in alternate embodiments the method can be used in external devices with epicardial sensors having a direct interface with the heart . in other alternate embodiments , the nodal rhythm detection method could be used to monitor a patient under observation . the nodal rhythm detection method starts at block 100 of fig6 . block 102 checks whether the atrial event preceded the ventricular event . if the ventricular event preceded the atrial event , the answer is no and the method proceeds to block 104 . block 104 checks if the v - a interval , the interval between the ventricular event and atrial event , is within the second time limit and may indicate a potential nodal rhythm . if the v - a interval ( vaint ) is not within the second time limit ( here , 100 ms ) indicating that there is no nodal rhythm present , the method proceeds to block 106 , which clears the nodal rhythm detection counter ( nn ) and the nodal rhythm detection method ends at block 112 . if the v - a interval ( vaint ) is within the second time limit ( here , 100 ms ) indicating that there may be nodal rhythm present , the method proceeds to block 108 , which increments the nodal rhythm detection counter ( nn ). the nodal rhythm detection counter is checked against the nodal treatment activation constant ( nca ) at block 110 and the nodal rhythm detection method ends at block 112 if the nodal rhythm detection counter is less than the nca . the nca is selected depending on the particular patient , but can be between 1 and 10 , and is typically 3 . if the nodal rhythm detection counter is greater than the nca , nodal rhythm treatment is activated . the method calculates a new atrial escape interval ( a_esc ) in block 114 such that the next atrial pace is delivered at a preferred av delay before the expected ventricular sense . this is calculated as the mean ventricular rate , less the paced av interval less the va interval [ a_esc = mvr − pav − vaint ]. the variables can be selected from the average over the successive nodal rhythm events or can be from the last set of data on reaching the nca . the delivered pav ranges from 90 - 250 ms is rate dependent and has a typical value of 150 ms . if nodal rhythm treatment is initiated , the reduced atrial escape interval will be set to a rate to terminate the nodal rhythm . a flag is set at block 116 to activate nodal rhythm treatment , the nodal rhythm detection counter ( nn ) is cleared at block 118 , and the nodal rhythm detection method ends at block 112 . the logic is similar if the atrial event precedes the ventricular event ( positive av delay ) at block 102 . if the atrial event preceded the ventricular event , the method proceeds to block 120 . block 120 checks if the av interval , the interval between the atrial event and ventricular event , is within the first time limit and may indicate a potential nodal rhythm . if the av interval ( avint ) is not within the second time limit ( here , 60 ms ) indicating that there is no nodal rhythm present , the method proceeds to block 106 , which clears the nodal rhythm detection counter ( nn ) and the nodal rhythm detection method ends at block 112 . if the av interval ( avint ) is within the second time limit ( here , 60 ms ) indicating that there may be nodal rhythm present , the method proceeds to block 122 , which increments the nodal rhythm detection counter ( nn ). the nodal rhythm detection counter is checked against the nca at block 124 and the nodal rhythm detection method ends at block 112 if the nodal rhythm detection counter is less than the nca . the nca is selected depending on the particular patient , but can be between 1 and 10 , and is typically 3 . if the nodal rhythm detection counter is greater than the nca , nodal rhythm treatment should be activated . the method calculates a new atrial escape interval ( a_esc ) in block 126 as the mean ventricular rate , less the paced av interval , plus the va interval [ a_esc = mvr − pav + avint ]. the variables can be selected from the average over the successive nodal rhythm events or can be from the last set of data on reaching the nca . the delivered pav ranges from 90 - 250 ms is rate dependent and has a typical value of 150 ms . if nodal rhythm treatment is initiated , the reduced atrial escape interval will be set to rate to terminate the nodal rhythm . a flag is set at block 128 to activate nodal rhythm treatment , the nodal rhythm detection counter ( nn ) is cleared at block 130 , and the nodal rhythm detection method ends at block 112 . the nodal rhythm detection method as described can be used in the nodal treatment method described in fig7 . [ 0072 ] fig7 shows a flow chart of a method for nodal rhythm detection and treatment in accordance with the present invention . an imd 10 disposed within mammalian heart 8 is programmed to treat nodal rhythm by pacing , that is , tuning the atrial escape interval such that an optimal hemodynamic av delay is obtained while the mean ventricular rate maintains the same . the atrial pacing is further tuned by the av delay : if the av delay becomes shorter , the nodal rhythm rate may overtake the atrial rate , so the atrial rate is increased . the av delay tuning of the atrial pacing avoids pacemaker syndrome caused by nodal activity , rather than artificial pacemaker activity . the nodal treatment method allows restoration of the intrinsic rhythm with an optimized hemodynamic av delay while maintaining ventricular intrinsic activity ( either or not caused by atrial pacing or nodal rhythm ). the nodal rhythm detection and treatment method starts at block 140 of fig7 . if atrial tachycardia is present at block 142 ( tachy ?) or the average ventricular rate is greater than 100 beats per minute at block 144 ( vvint & gt ; 100 min − 1 ? ), the nodal therapy is deactivated at block 146 . nodal rhythm will not occur with atrial tachycardia or high intrinsic ventricular rate , so nodal therapy is not required . if no atrial tachycardia or high intrinsic ventricular rate is present , the method proceeds to block 148 to check whether nodal therapy is active . if nodal therapy is not active , the nodal rhythm detection routine at block 150 checks for nodal rhythm . the nodal rhythm detection routine can be the nodal rhythm detection described in fig6 above . when nodal rhythm is detected , the nodal rhythm detection routine is activated . if nodal therapy is active , the method enters the nodal treatment portion of the nodal rhythm detection and treatment method at block 152 . the nodal treatment portion maintains the mean ventricular rate ( vvrate ), and tries to restore the physiologic avdelay . this is accomplished by delivering atrial paces at a physiologic avdelay before the expected vsense . block 152 determines if the atrial event is an atrial pace or an atrial sense . if the atrial event is an atrial pace , the method proceeds to block 154 , which determines if the ventricular event is a ventricular pace or a ventricular sense . if the ventricular event is a ventricular sense , the pacing is not yet in control and further nodal treatment is required . the method proceeds to block 176 where a new atrial escape interval ( a_esc ) is calculated , and the sinus rhythm counter ( ns ) is cleared at block 178 . if in block 154 the ventricular event is a ventricular pace , the nodal rhythm might have stopped . a flywheel down is initiated at block 156 . the flywheel mode allows the pacing interval to gradually ease out of nodal treatment , rather than making an abrupt change that might cause patient concern or discomfort . the atrial escape is adjusted so the next atrial pace will be delivered at a longer interval . the method then proceeds to block 158 where the nodal counter ( no ) is incremented . block 160 checks to see if the nodal counter is greater than the predetermined nodal treatment pace deactivation constant ( npd ). the npd is selected depending on the particular patient , but can be between 1 and 10 , and is typically 3 . if the nodal counter is not greater than the npd , the method returns to the start at block 140 . if the nodal counter is greater than the npd , nodal treatment is no longer required , so nodal treatment is deactivated at block 162 and the nodal counter ( no ) is cleared at block 164 . if block 152 determines if the atrial event is an atrial sense , the method proceeds to block 166 , which starts the portion of the procedure that determines whether the atrial sense originated from the atrium or the av node . the logic is similar to the nodal rhythm detection method presented in fig6 determining if an atrial event falls within the time period between a first time limit before a ventricular event and a second time limit after a ventricular event . an atrial sense within the window may indicate that the nodal rhythm is in control and further adjustment of the atrial escape interval is required . block 166 checks whether the atrial event preceded the ventricular event . if the ventricular event preceded the atrial event , the answer is no and the method proceeds to block 180 . block 180 checks if the v - a interval , the interval between the ventricular event and atrial event , is within the second time limit and may indicate a potential nodal rhythm . if the v - a interval ( vaint ) is not within the second time limit ( here , 100 ms ) indicating that there is no nodal rhythm present , the method proceeds to block 170 , which increments the sinus rhythm counter ( ns ). block 172 checks to see if the sinus rhythm counter is greater than the predetermined nodal treatment sinus deactivation constant ( nsd ). the nsd is selected depending on the particular patient , but can be between 1 and 10 , and is typically 3 . if the sinus rhythm counter is not greater than nsd , the method returns to the start at block 140 . if the sinus rhythm counter is greater than nsd , sinus rhythm has been established and nodal treatment is no longer required , so nodal treatment is deactivated at block 174 . if the v - a interval ( vaint ) is within the second time limit ( here , 100 ms ) indicating that there may be nodal rhythm present , the method proceeds to block 182 , which calculates a new escape interval . the method calculates a new atrial escape interval ( a_esc ) as the mean ventricular rate , less the paced av interval less the v - a interval [ a_esc = mvr − pav − vaint ]. the sinus rhythm counter ( ns ) is cleared at block 184 . the logic is similar at block 166 if the atrial event precedes the ventricular event ( positive av delay ), only the method looks for atrial events within the first time limit of the ventricular event . if the atrial event preceded the ventricular event , the method proceeds to block 168 . block 168 checks if the a - v interval , the interval between the atrial event and ventricular event , is within the first time limit and may indicate a potential nodal rhythm . if the a - v interval ( avint ) is not within the second time limit ( here , 60 ms ) indicating that there is no nodal rhythm present , the method proceeds to block 170 , which increments the sinus rhythm counter ( ns ). block 172 checks to see if the sinus rhythm counter is greater nsd . if the sinus rhythm counter is not greater than nsd , the method returns to the start at block 140 . if the sinus rhythm counter is greater than the nsd , sinus rhythm has been established and nodal treatment is no longer required , so nodal treatment is deactivated at block 174 . if the a - v interval ( avint ) is within the second time limit ( here , 60 ms ) indicating that there may be nodal rhythm present , the method proceeds to block 176 , which calculates a new escape interval . this point may also be reached from block 154 if an atrial pace was followed by a ventricular sense . the method calculates a new atrial escape interval ( a_esc ) which is tuned such that an hemodynamic av delay is obtained , as the mean ventricular rate , less the paced av interval , plus the v - a interval [ a_esc = mvr − pav + vaint ]. the sinus rhythm counter ( ns ) is cleared at block 178 . [ 0085 ] fig8 a & amp ; 8b are cardiac activity schematic diagrams for nodal rhythm and atrial pacing response in accordance with the present invention . the diagrams show all possible sequences of atrial and ventricular sensing that might occur and demonstrate that the nodal rhythm detection and treatment method is effective even if a far field wave is present . the first two ventricular beats of each case are the cardiac activity before nodal treatment and the last two ventricular beats of each case are the cardiac activity with pacing on , as can be seen by the atrial paces ( ap ). the diagrams show the atrial , ventricular , far field , and combination sense . far field sense is a ventricular contraction r wave sensed in the atrium . far field senses have similar features as nodal atrial senses . they can be absent , but if present the illustrations show that the algorithm still works appropriately . combination sense is an atrial sense and a far field sense occurring simultaneously ( xs ). using the “ asense , ffsense , vsense ( nodal rhythm )” case as an example , the ( intrinsic ) nodal activity is initiated at the av node between the atrium and the ventricle . the atrial sense , then the far field sense , is detected in the atrium . the ventricular sense is then detected in the ventricle . the sequence repeats in the second diagram . in the third diagram , nodal treatment is active . an atrial pace is applied , then an atrial sense detected ( this far field r wave is ignored in the av delays ), followed by a ventricular sense irrespective of far field r waves . the various cases illustrate that the nodal rhythm detection and treatment method will be effective for all possible sequences . the preceding specific embodiments are illustrative of the practice of the invention . it is to be understood , therefore , that other expedients known to those skilled in the art or disclosed herein , may be employed without departing from the invention or the scope of the appended claims . for example , the present invention is not limited to a method of nodal rhythm detection and treatment . the present invention is also not limited to nodal rhythm detection and treatment algorithms per se , but may find further application as a means for detecting and treating nodal rhythm . the present invention further includes within its scope methods and systems for nodal rhythm detection and treatment as described above . in the claims , means - plus - function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents , but also equivalent structures . thus , although a nail and a screw may not be structural equivalents in that a nail employs a cylindrical surface to secure wooden parts together , whereas a screw employs a helical surface , in the environment of fastening wooden parts a nail and a screw are equivalent structures .
a method and system nodal rhythm detection and treatment is provided . detecting consecutive atrial events within a nodal activity window around ventricular events identifies nodal rhythm . nodal rhythm is treated by calculating and applying a new atrial escape interval adjusted by the interval between the atrial and ventricular events .