referring to fig1 there is depicted a block diagram of an arrhythmia control system 1 . system 1 is designed to be implanted within a patient and includes a pulse module 10 and appropriate leads for connecting module 10 to a patient &# 39 ; s heart 11 . more particularly , system 1 will generally include an atrial cardiac lead 12 extending to the atrium of the patient &# 39 ; s heart for the administration of therapy to the atrium , and a ventricular cardiac lead 13 extending to the ventricle of the patient &# 39 ; s heart for the administration of therapy to the ventricle . system 1 generally also includes a pacemaker 17 for the detection of analog signals representing cardiac electrical activity and for the delivery of pacing pulses to the heart ; a microprocessor 19 which , in response to various inputs received from the pacemaker 17 as well as from a defibrillator 16 , performs various operations so as to generate different control and data outputs to pacemaker 17 , skeletal muscle stimulator 20 and defibrillator 16 ; and a power supply 18 for the provision of a reliable voltage level to pacemaker 17 , microprocessor 19 , skeletal muscle stimulator 20 and defibrillator 16 by suitable electrical conductors ( not shown ). skeletal muscle stimulator 20 generates electrical pulses on a skeletal muscle lead 21 for stimulating a skeletal muscle graft 9 , such as a patient &# 39 ; s latissimus dorsi muscle , according to timed control signals from microprocessor 19 communicated via skeletal muscle stimulation control bus 22 . defibrillator 16 produces a high voltage to charge its capacitors and then discharges them in response to control signals from microprocessor 19 . a defibrillator electrode lead 14 transfers the energy of a defibrillator shock 15 from the implanted pulse module 10 to the heart 11 . microprocessor 19 is connected to a random access memory / read only memory ( ram / rom ) unit 121 by an address and data bus 122 . an end - of - life ( eol ) signal line 124 is used to provide , to microprocessor 19 , a logic signal indicative of the approach of battery failure in power supply 18 . as more fully described below , microprocessor 19 and pacemaker 17 are connected by a communication bus 42 , an atrial sense line 45 , an atrial pace control line 46 , an atrial sensitivity control bus 43 , an atrial pacing energy control bus 44 , a ventricular sense line 49 , a ventricular pace control line 50 , a ventricular sensitivity control bus 47 , and a ventricular pacing energy control bus 48 . microprocessor 19 transmits control signals , according to the description below , over skeletal muscle stimulation control bus 22 to the skeletal muscle stimulator 20 . as also more fully described below , microprocessor 19 is connected to defibrillator 16 by a charge voltage level line 61 , a charge control bus 60 , a shock control bus 59 , and a dump control bus 58 . referring to fig2 pacemaker 17 comprises circuitry for atrial pacing 24 , ventricular pacing 34 , atrial sensing 25 , ventricular sensing 35 , and telemetry 30 . in addition , pacemaker 17 includes a control block 39 which includes an interface to microprocessor 19 . in operation , sensing circuits 25 and 35 detect respective atrial and ventricular analog signals 23 and 33 from the heart 11 and convert the detected signals to digital signals . in addition , the sensing circuits 25 and 35 receive an input atrial sense control 27 and an input ventricular sense control 37 , respectively , from the control block 39 which determines the sensitivity applied to the detection circuit . atrial pacing circuit 24 receives from control block 39 , via an atrial pacing control bus 28 , an atrial pace control input and an atrial pacing energy control input . similarly , ventricular pacing circuit 34 receives from control block 39 , via a ventricular pacing control bus 38 , a ventricular pace control input and a ventricular pacing energy control input . the atrial and ventricular pace control inputs determine the respective types of atrial and ventricular pacing to be delivered to the heart via atrial pacing pulse lead 31 and atrial cardiac lead 12 , and via ventricular pacing pulse lead 32 and ventricular cardiac lead 13 , respectively . the atrial and ventricular pacing energy control inputs determine the respective magnitudes of the pacing pulse energy so delivered . the operation of the logic which changes the pulse energy is described in greater detail in u . s . pat . no . 4 , 869 , 252 to norma louise gilli , issued sep . 26 , 1989 , and entitled &# 34 ; apparatus and method for controlling pulse energy in antitachyarrhythmia and bradycardia pacing devices ,&# 34 ; which description is incorporated herein by reference . telemetry circuit 30 provides a bidirectional link between control block 39 of pacemaker 17 and an external device such as a programmer . it allows data such as the operating parameters to be read from or altered in the implanted module 10 . referring to fig3 microprocessor 19 comprises two 16 - bit timers 51 and 52 , a cpu 53 , a vectored interrupts block 54 , a rom 55 , a ram 56 , an external memory 57 , a ports block 41 and an internal communications bus 40 . ram 56 acts as a scratch pad and active memory during execution of the various programs stored in rom 55 and used by microprocessor 19 . these programs includes system supervisory programs , detection algorithms for detecting and confirming various arrhythmias , and programming for implementing the logic flow diagrams of fig6 and fig1 , as well as storage programs for storing , in external memory 57 , data concerning the functioning of module 10 and the electrogram provided by ventricular cardiac lead 13 ( fig1 ). timers 51 and 52 , and associated control software , implement some timing functions required by microprocessor 19 without resort entirely to software , thus reducing computational loads on and power dissipation by cpu 53 . signals received from telemetry circuit 30 ( fig2 ) permit an external programmer ( not shown ) to change the operating parameters of pacemaker 17 by supplying appropriate signals to control block 39 . communication bus 42 serves to provide signals indicative of such control to microprocessor 19 . thus , it is also possible for an external programmer to control operation of the skeletal muscle stimulator 20 and the defibrillator 16 by means of signals provided to microprocessor 19 . appropriate telemetry commands may cause telemetry circuit 30 to transmit data to the external programmer . data stored is read out , by microprocessor 19 , on to communication bus 42 , through control block 39 in pacemaker 17 , and into telemetry circuit 30 for transmission to the external programmer by a transmitter in telemetry circuit 30 . microprocessor 19 receives various status and / or control inputs from the pacemaker 17 and defibrillator 16 , such as the sense signals on sense lines 45 and 49 . it performs operations , such as arrhythmia detection , and produces outputs , such as the atrial pace control on line 46 and the ventricular pace control on line 50 , which determine the type of pacing that is to take place . other control outputs generated by microprocessor 19 include the atrial and ventricular pacing energy controls on buses 44 and 48 , respectively , which determine the magnitude of the pulse energy , the shock control on bus 59 which signals that a shock is to be delivered to the patient , the dump control on bus 58 which indicates that a shock is to be dumped at an internal load within the defibrillator , the charge control on bus 60 which determines the voltage level of the shock to be delivered , and the atrial and ventricular sensitivity controls on buses 43 and 47 , respectively , which determine the sensitivity settings of the sensing circuits . in addition , the microprocessor 19 controls all aspects of skeletal muscle stimulation , as will be described in detail below , by formulating control signals and transmitting these signals over the skeletal muscle stimulation control bus 22 to skeletal muscle stimulator 20 . charge voltage level line 61 provides a digital signal representative of charge voltage from an analog - to - digital converter within defibrillator 16 , thus providing a feedback loop which assures that a shock of proper energy level is delivered by defibrillator 16 . referring to fig4 the skeletal muscle stimulator 20 receives input signals from microprocessor 19 over the skeletal muscle stimulation control bus 22 . these signals include power ( vdd ), which is typically an amplitude of 2 . 8 v , and ground reference ( vss ) as well as control signals s -- l , 2x -- l , d -- l , xchb -- l and m -- on -- h . the pacemaker 17 supplies battery power b -- pos and b -- neg which provides energy for biphasic skeletal muscle stimulation . in the preferred embodiment of the present invention , the b -- pos amplitude is about 3 v . the battery voltages b -- pos and b -- neg are floating with respect to circuit power vdd to prevent variations in circuit energy during different parts of the cardiac cycle caused by inconsistent demands on the battery from the pacing pulse and skeletal muscle stimulation pulse generation circuits . xchb -- l , a cross channel blanking control signal from the microprocessor 19 , is also supplied to a sense blanking input of the pacemaker 17 to disable pacemaker sensing during generation of a skeletal muscle stimulation pulse . this prevents the pacemaker 17 from incorrectly classifying a skeletal muscle stimulation pulse as an episode of intrinsic cardiac activity . the circuit of fig4 in response to codes written from the microprocessor 19 , produces biphasic skeletal muscle stimulation pulses on the skeletal muscle lead , m + and m -. all characteristics of the skeletal muscle stimulation pulses : the timing , frequency , burst duration , amplitude , pulse width , and pulse morphology , are determined by the microprocessor . fig4 circuitry merely responds to these input codes by producing a particular amplitude and polarity signal on the m + and m - leads . in this manner , the microprocessor generates the characteristics of the skeletal muscle stimulation pulses according to the timing of codes written to the skeletal muscle stimulation control bus 22 . input signal lines s -- l , m -- on -- h and xchb -- l contain skeletal muscle pulse enable and polarity control signals which are dynamic in the sense that the microprocessor 19 writes and times the codes written to these lines to produce a particular amplitude for a predetermined duration . the microprocessor enables the circuit of fig4 to produce an output on one or the other of leads m + and m - by setting input signal line m -- on -- h to 1 which , by means of control by p - channel switching field effect transistor q3 , applies either b -- pos or b -- neg battery power to the corresponding leads m + and m -, depending on the signal on input input signal line s -- l . the microprocessor controls the stimulus pulse timing and width by setting a signal on input signal line s -- l for a predetermined time and duration . when the microprocessor writes a 0 value to input signal line s -- l while a 1 value is on input signal line m -- on -- h , the outputs of p - channel switching field effect transistors q7 and q8 are enabled to enable the m + lead , and the outputs of n - channel switching field effect transistors q10 and q11 are disabled to disable the m - lead , producing a positive polarity output pulse , having a duration r , as shown at 62 in fig5 . alternatively , the microprocessor may write a 1 value to line s -- l to disable field effect transistors q7 and q8 and enable transistors q10 and q11 to produce a negative polarity output pulse , having a duration s , as shown at 63 in fig5 . if the value applied to input signal line m -- on -- h is 0 , neither lead m + nor lead m - are energized and the skeletal muscle stimulator does not produce a pulse . if the value on input signal line m -- on -- h is set to 1 and s -- l is set to 0 , line m + is energized and the skeletal muscle stimulator produces a positive polarity pulse 62 , as shown in fig5 . the duration r is a programmable parameter for the microprocessor . if the initial value on line m -- on -- h is set to 1 and the value on line s -- l is set to 1 , lead m - is energized and the skeletal muscle stimulator produces a negative polarity pulse 63 , having the duration s of fig5 . stimulus duration s is a programmable parameter for the microprocessor . the microprocessor controls line xchb -- l to set the timing and duration of the sense blanking input of the pacemaker 17 to disable pacemaker sensing during generation of a skeletal muscle stimulation pulse . cross channel blanking duration may be a programmable parameter for the microprocessor . input signal lines d -- l and 2x -- l contain skeletal muscle pulse amplitude control signals which are static in the sense that the microprocessor writes them , at most , only once per cycle . normally , the microprocessor only writes amplitude control signals upon reprogramming , via telemetry , by an external communicating device . line d -- l is utilized as a battery voltage doubler . line 2x -- l is utilized as a stimulus voltage doubler . thus , lines d -- l and 2x -- l remain at the same settings throughout numerous cardiac cycles , while the skeletal muscle pulse that is generated has a negative , positive or zero polarity . when the microprocessor sets line d -- l to 1 (&# 34 ; on &# 34 ;), the n - channel switching field effect transistor q9 enables doubling of the battery voltage . in a similar manner ( but with an opposite polarity ), when the microprocessor sets line 2x -- l to 0 (&# 34 ; on &# 34 ;), the p - channel switching field effect transistor q9 enables doubling of the stimulus voltage . therefore , when the microprocessor sets line d -- l &# 34 ; off &# 34 ; ( o ) and line 2x -- l &# 34 ; off &# 34 ; ( 1 ), the amplitude of the skeletal muscle stimulation pulse is equal to the battery voltage , 3 v in the preferred embodiment of the invention . when the microprocessor sets line d -- l &# 34 ; on &# 34 ; ( 1 ) and line 2x -- l &# 34 ; off &# 34 ; ( 1 ), the amplitude of the skeletal muscle stimulation pulse is equal to twice the battery voltage ( 6 v ). when the microprocessor sets line d -- l &# 34 ; on &# 34 ; ( 1 ) and line 2x -- l &# 34 ; on &# 34 ; ( o ), the amplitude of the skeletal muscle stimulation pulse is equal to four times the battery voltage ( 12 v ). referring again to fig1 when the microprocessor 19 determines that skeletal muscle graft stimulation is appropriate , it works in conjunction with the skeletal muscle stimulator 20 to produce pulses or bursts of pulses , which are applied to the skeletal muscle graft 9 . the microprocessor may time these pulses or bursts of pulses with respect to intrinsic or paced cardiac activity which is sensed or generated , respectively , by the pacemaker 17 . this mode of skeletal muscle stimulation is termed &# 34 ; synchronous &# 34 ; skeletal muscle stimulation . alternatively , the microprocessor 19 may time the pulses or bursts of pulses according to the operations of an internal timer , wherein the stimulation occurs asynchronously with respect to individual cardiac events . according to &# 34 ; synchronous &# 34 ; programming of the microprocessor 19 , when the pacemaker 17 detects either a natural atrial or a natural ventricular intrinsic event it will send a signal to the microprocessor 19 via atrial sense line 45 or ventricular sense line 49 . the microprocessor 19 may be programmed to respond to such a signal by generating skeletal muscle stimulation . alternatively , in the event that the patient &# 39 ; s natural heart rate falls below a predetermined rate , then the microprocessor will send an atrial pace control signal on line 46 , a ventricular pace control signal on line 50 , or both signals , to the pacemaker 17 to generate a pacing pulse to the heart . in addition , the microprocessor 19 , may be programmed to trigger skeletal muscle stimulation after such a pacing event . programming of synchronous operation of the skeletal muscle stimulator includes the specification of a synchronization ratio which determines the ratio of cardiac events for each skeletal muscle stimulation burst . the microprocessor 19 resets a cardiac event counter with each initiation of a skeletal muscle stimulation burst and increments the counter with each subsequent cardiac event . for each skeletal muscle stimulation burst , the microprocessor 19 waits a predetermined and programmed delay interval before initiating the burst . other programmed parameters which may beutilized are an interpulse interval ( the time between sequential pulses ), the stimulus duration , the recharge duration , the cross - channel blanking duration and a maximum muscle stimulation rate . all or some of these parameters may have preprogrammed sets of values which depend on the rate at which the heart is beating . an interpulse interval determines the time intervals between each individual pulse within a burst of pulses . a burst frequency is the reciprocal of the interpulse interval . the maximum muscle stimulation rate is an upper rate boundary of synchronization of cardiac and muscle stimulation activity . upon a cardiac event occurring at cardiac rates faster than the maximum muscle stimulation rate , the microprocessor will fail to generate skeletal muscle stimulation but will , instead , stimulate the skeletal muscle based upon triggering by the next subsequent cardiac event . the antiarrhythmia pacemaker of the present invention monitors activity of the heart to determine when and how to deliver an antiarrhythmia therapy . the flow chart of fig6 defines one example of arrhythmia detection , confirmation and classification operations , performed by a microprocessor , which may be employed by the antiarrhythmia pacemaker of the present invention . the microprocessor 19 of fig1 is programmed to respond to atrial sense signals on line 45 and ventricular sense signals on line 49 from the pacemaker 17 . for some or all cardiac cycles , the microprocessor may measure a time interval associated with that cardiac cycle . the program in the microprocessor may define a cardiac cycle as an atrial cycle interval ( p wave to p wave ) or a ventricular cycle interval ( r wave to r wave ). furthermore , interval timing may relate to stimulated cardiac events as well as to intrinsic cardiac events . referring to fig6 microprocessor 19 first performs arrhythmia detection . in a detect cycle update 130 operation , the microprocessor measures the time interval associated with the present cardiac cycle . the microprocessor may discard interval information for a particular cardiac cycle based on the duration of an interval so as to ignore signals due to noise or artifacts , as controlled by the detect cycle noise 131 logic operation . the resulting interval information as well as a log of information concerning the recent history of interval information is stored by the microprocessor in ram memory 121 ( fig1 ) and used to detect , confirm and classify arrhythmias . during arrhythmia detection , unless a cardiac cycle is characterized as a noise cycle , each time the microprocessor updates the interval duration and interval history memories in block 130 , it begins to perform arrhythmia detection beginning with fibrillation detection 132 operation . fibrillation detection 132 operation distinguishes tachyarrhythmias with very short intervals by comparing the current interval duration to a predetermined short interval , called a fibrillation detection interval , which is considered to be indicative of fibrillation ( for example , 250 msec ). however , the microprocessor does not detect an arrhythmia based on only one cardiac cycle . instead , an x out of y detection criterion is used to define an arrhythmia , in which a criterion is met only when at least x of the last y cardiac cycles have cycle intervals shorter than the defined interval . for example , fibrillation detection may require that 8 of the last 10 intervals be shorter than 250 msec . if so , a fibrillation detect 133 logic operation initiates arrhythmia confirmation , beginning with a confirm cycle update 138 operation . if not , the microprocessor performs a tachycardia detection 134 operation . tachycardia detection 134 operation discerns tachycardias in the same manner as fibrillation detection 132 operation described above , by comparing the current cardiac cycle length with a predetermined limit and by monitoring the history of cardiac cycle lengths with respect to this comparison . the cycle length limit is called a tachycardia detection interval . it is programmable to a duration ranging from 200 to 600 msec . the x of y detection criterion for tachycardia detection is also programmable . common criteria may be 8 out of 10 , 12 out of 15 or 16 out of 20 . if the x of y criterion is met , a tachycardia detect 135 logic operation initiates arrhythmia confirmation , beginning with the confirm cycle update 138 operation . if not , the microprocessor performs a tachycardia onset detection 136 operation . tachycardia onset detection 136 operation recognizes a sudden and sustained decrease in interval duration to indicate the onset of a tachycardia episode . it incorporates two detection methods , the x of y criterion to ensure that the decrease in interval length is sustained and a change of interval detector which checks for a sudden change in interval length . the change of interval detector employs a predetermined and programmable delta function . delta is the amount by which the intervals must decrease at onset to satisfy the change of interval detector . the cycle length limit is programmable and called an onset detection interval . the range of onset detection intervals is , like the tachycardia detection interval , from 200 to 600 msec . however , the onset detection interval must be programmed to an interval length longer than the tachycardia detection interval . the x of y detection criterion for tachycardia onset detection is also programmable . the detect cycle update 130 operation performs two averaging operations for usage by the change of interval detector . when the cardiac rhythm is stable and slow , detect cycle update averages cardiac cycle intervals to obtain a normal sinus rhythm interval . this averaging occurs when cardiac cycle intervals are longer than the onset detection interval for more than a predetermined number of consecutive cardiac cycles . the detect cycle update 130 operation also performs a short - term average of a predetermined number of the most recent cardiac cycles ( for example , 2 cycles ). the tachycardia onset detector 136 , discerns a change of interval when the short - term average interval is shorter than the normal sinus rhythm interval less the predetermined and programmed delta interval . if the change of interval and onset x of y criterion is met , an onset detect 137 logic operation initiates arrhythmia confirmation , beginning with the confirm cycle update 138 operation . if not , the microprocessor has not detected an arrhythmia and operation control returns to the detect cycle update 130 operation . the confirm cycle update 138 operation is analogous to the detect cycle update 130 operation . the microprocessor measures the time interval associated with the present cardiac cycle , discards interval information for noisy cardiac cycles ( under the control of the confirm cycle noise 139 logic operation ), and logs interval length and interval length history information . an arrhythmia confirmation 140 operation confirms the presence of a tachyarrhythmia before delivering an antitachycardia pacing , cardioversion or defibrillation therapy . like the arrhythmia detection operations 132 , 134 and 136 , arrhythmia confirmation uses an x out of y criterion which compares a history of intervals compiled in the confirmation cycle update 138 operation with respect to a tachycardia confirmation interval . the value of the tachycardia confirmation interval depends on the arrhythmia detector which determined the presence of an arrhythmia . if the arrhythmia was detected by the tachycardia onset detector , the tachycardia confirmation interval is set to the normal sinus rhythm interval determined by the detect cycle update 130 operation less one - half the predetermined and programmed delta interval . if the arrhythmia was detected by the fibrillation or tachycardia detector , the tachycardia confirmation interval is set to the tachycardia detection interval . the x out of y criterion is predetermined and may be programmed . in a confirmation logic 141 operation , if the x out of y criterion is met , the pacemaker performs an arrhythmia classification 14 operation . if the criterion is not met , the pacemaker again monitors for arrhythmia detection in the detect cycle update 130 operation . if more cycles are required to determine whether the x of y criterion is met , control returns to the confirm cycle update 138 operation . after confirmation of tachyarrhythmia and before delivering therapy , the arrhythmia classification 142 operation classifies the tachyarrhythmia to determine the therapy or therapies to be used in treating the tachyarrhythmia . classification is based on an x out of y criterion applied to the cardiac cycle intervals which were monitored in confirmation cycle update 138 operation . these cycle intervals are compared to two predetermined and programmable intervals -- a minimum tachycardia cycle length for antitachycardia pacing ( mintcl buq ) and a maximum tachycardia cycle length for defibrillation ( maxtcl egjc ). for arrhythmias with detected intervals shorter than mintcl buq , antitachycardia pacing is ineffective . for arrhythmias with detected intervals shorter than maxtcl egjc , that patient is considered to be hemodynamically compromised by the arrhythmia and therefore requires defibrillation shock therapy . so if the detected intervals are longer than mintcl buq , the microprocessor initiates antitachycardia pacing in an arrhythmia therapy 143 operation . ( note that arrhythmia has been confirmed at this point .) if the detected intervals are shorter than mintcl buq but longer than maxtcl egjc , the microprocessor initiates antitachycardia pacing in the arrhythmia therapy 143 operation , but will also use defibrillation if antitachycardia pacing is not successful . if the detected intervals are shorter than maxtcl egjc , then the microprocessor initiates defibrillation in the arrhythmia therapy 143 operation . the arrhythmia therapy 143 operation is discussed in detail hereinafter . following the arrhythmia therapy 143 operation , the pacemaker returns to arrhythmia detection operation in detect cycle update block 130 . other embodiments of the antitachycardia pacemaker of the present invention may employ other means for detecting the occurrence of arrhythmia episodes , some of which involve the usage of physiological and metabolic sensors . in this regard , reference may be made to u . s . patent application ser . no . 654 , 930 , entitled &# 34 ; apparatus and method for detecting abnormal cardiac rhythms in dual chamber arrhythmia control system &# 34 ;, filed on feb . 13 , 1991 , in the names of tibor a . nappholz et al ., and to u . s . patent application ser . no . 665 , 842 , entitled &# 34 ; apparatus and method for detecting abnormal cardiac rhythms using an ultrasound sensor in an arrhythmia control system &# 34 ;, filed on mar . 8 , 1991 , in the names of tibor a . nappholz et al ., both of which are assigned to the assignee of the present invention . reference may also be made to u . s . patent application ser . no . 667 , 316 , entitled &# 34 ; apparatus and method for detecting abnormal cardiac rhythms using evoked potential measurements in an arrhythmia control system &# 34 ;, filed on mar . 8 , 1991 , by tibor a . nappholz et al ., and to u . s . patent application ser . no . 738 , 184 , entitled &# 34 ; detection of cardiac arrhythmias using correlation of cardiac electrical signals and temporal data compression &# 34 ;, filed on jul . 29 , 1991 , by bruce m . steinhaus et al ., both of which are assigned to the assignee of the present invention . in addition to performing an antiarrhythmia therapy in response to the detection of arrhythmias , the antiarrhythmia pacemaker of the present invention also performs a therapy upon the detection of arrhythmia precursors . the pacemaker 17 of fig1 acquires intracardiac electrogram ( iegm ) samples which the microprocessor 19 monitors and analyzes to detect arrhythmia precursors . some iegm features are known to occur in patients experiencing potentially lethal ventricular tachyarrhythmias . two types of precursors have been identified which are antecedent to ventricular fibrillation or sudden death relating to : ( a ) abnormal ventricular rhythms , and ( b ) abnormal electrocardiogram polarization waveforms . fig7 a - 7c illustrate ventricular fibrillation precursors displaying abnormal ventricular rhythms in the form of complex ventricular arrhythmias , including ventricular tachycardia ( fig7 a ), ventricular couplets ( fig7 b ) and premature ventricular complexes ( pvcs in fig7 c ). the degree of complexity of such ventricular arrhythmias ( for example , dynamic oscillations in the rate of emergence of ventricular tachycardia or wild variations in the length of ventricular tachycardia outbursts ) and an increasing rate of occurrence of ventricular arrhythmias are as important as the presence of such features in the detection of precursors . density of ventricular arrhythmias , defined as the ratio of abnormal to normal ventricular rhythms , is also helpful for diagnosing harmful arrhythmias . precursors which are characterized primarily by abnormalities in the iegm waveform , rather than by abnormalities in cardiac rate or rhythm , are shown in fig8 a , 8b and 9a - 9c and include : repolarization abnormalities , st - segment changes and late potentials . the microprocessor must analyze fine detail within the iegm waveforms to detect waveform abnormality precursors . the microprocessor 19 analyzes the fine detail of iegms to detect r - on - t ventricular premature depolarizations ( fig8 a ) which frequently initiate malignant arrhythmias , repolarization abnormalities such as a prolonged qt intervals ( fig8 b ), and st - segment changes ( fig9 a and 9b , st - segment elevation and depression ). all these events have diagnostic significance for predicting imminent ventricular fibrillation . late potentials ( designated lp in fig9 c ) also anticipate episodes of ventricular tachycardia or fibrillation . timing of particular precursors , as well as their presence , is diagnostically important for determining onset and risk of sudden death . in many cases of sudden cardiac death , the first indications of arrhythmia are a maximum incidence of intermediately frequent ( from 100 to 500 per hour ) premature ventricular complexes occurring between fifteen and six hours prior to ventricular fibrillation . this is followed by an increased frequency in ventricular couplets and runs of complex ventricular arrhythmias , including ventricular tachycardia . repolarization abnormalities often appear in the iegm waveform several hours before ventricular fibrillation . often there is an increased incidence of st - segment changes having an amplitude greater than 2 mm throughout the risk period and lasting until hours prior to sudden death . within the three hours prior to sudden death , st - segment changes of this amplitude diminish in incidence . in the final six hours preceding sudden death there is an increased incidence of lower amplitude st - segment changes . during these final hours the st - segment change gradually diminishes from a high amplitude toward the baseline . the microprocessor 19 constantly acquires iegm signals and from these detects ventricular events and analyzes the fine detail of portions of the signal using known analytical techniques . much of the diagnostic detail of an iegm lies in the vicinity of the qrs - complex . fig1 illustrates a waveform of a normal cardiac cycle with conventional timing intervals indicated therein . s - t and q - t intervals end , respectively , at the beginning and end of the t wave . normal p waves have a duration ranging from 0 . 04 to 0 . 08 seconds and precede the r wave ( the p - r interval ) by from 0 . 12 to 0 . 20 seconds . the normal duration of a qrs - complex is 0 . 04 to 0 . 10 sec . for each cardiac cycle , the microprocessor 19 performs the operations shown in the flow diagram of fig1 . the microprocessor identifies cardiac events , correlates the events with time intervals within the cardiac cycle , and analyzes the detailed structure within the iegm . the microprocessor first searches iegm signals for the r wave within the present cardiac cycle in block 303 . the r wave normally has the largest slope within the cardiac cycle ( the greatest change in polarization amplitude in a short time ) and a large amplitude . the preferred embodiment of the invention uses a delta comparator , a slope detector , to detect r waves . the microprocessor continuously samples in block 300 until it detects an r wave in block 303 . as part of the sampling process in block 300 , the microprocessor saves data relating to morphology of the qrs - complex for further analysis . this data may include samples of iegm amplitude , maximum positive and negative polarity excursions and derivatives ( slopes ) of the leading and trailing edge of the qrs - complex . after detecting the r wave , the microprocessor determines the elapsed time since the last r wave in block 305 . the reciprocal of the elapsed time is the instantaneous heart rate for the present cycle . the microprocessor calculates this reciprocal value and averages the instantaneous rate over a few cardiac cycles ( for example , four ) to determine the average rate in block 310 . in block 313 , the microprocessor compares the current average rate to predetermined limit values . these limit reflect the rates of various types of arrhythmias . the limits may vary , depending on certain physiological characteristics , indicative of exercise , for example . standard rate - responsive sensors may be used for this purpose . therefore , before the test in block 313 , the rate limits are set in block 311 in accordance with whichever standard rate - response parameter is monitored . if the average rate lies within the boundaries set for a particular class of ventricular arrhythmia in block 313 , the microprocessor ( in block 315 ) tests the morphology of details within the qrs - complex against predetermined and stored morphology parameters to classify the rhythm as either an arrhythmia or a normal rhythm . if the microprocessor detects an arrhythmia , it classifies the arrhythmia according to type and logs the occurrence of the particular arrhythmia type in memory in block 317 . in block 320 the microprocessor processes subsequent samples and analyzes the iegm signal from the r wave to the t wave to determine the qt interval and to diagnose myocardial ischemia from st - segment morphology . the st - segment occurs in the sampling window beginning at the j - point following a qrs - complex as is known in the art ( see fig1 ) and persists for at least 80 milliseconds . st - segment depression , defined as a horizontal or downsloping shift of 0 . 1 mv ( some researchers use 0 . 2 mv or 0 . 3 mv ) during the st - segment which endures for at least 30 seconds in consecutive heartbeats ( some researchers use from 40 to 60 seconds ), correlates positively with myocardial ischemia both in exercise tolerance tests and in ambulatory testing of resting patients and patients performing daily activities . most patients with stable angina and proven coronary artery disease frequently have episodes of st - segment depression during daily life . st - segment changes warn of injury to myocardial tissue even in patients afflicted with otherwise asymptomatic silent myocardial ischemia , since they are frequently accompanied by regional disturbances of myocardial perfusion and disturbances of left ventricular function . the microprocessor analyzes the waveform to determine when the t wave occurs ( it should arrive within 400 milliseconds of the r wave ) within the current cardiac cycle . after detecting the r wave , the microprocessor may change the acquisition parameters of the iegm signal ( for example , by selecting a different set of impedances in an input amplifier to adjust the bandwidth ) to better analyze the waveform structure following the r wave . referring back to fig1 , immediately after the comparator detects an r wave , the microprocessor 19 processes the iegm to measure the leading and trailing r wave slopes , then continues to track the signal down the s wave and back up until the slope diminishes at what is called the j - point . while processing the iegm ( in block 320 of fig1 ) from the j - point until the waveform crosses the baseline ( tested in block 323 ), the microprocessor integrates and determines the slope of the signal . if the magnitude ( the absolute value ) of the integrated signal is larger than at least one predetermined value and remains larger for a consecutive number of cardiac cycles lasting a predetermined time ( for example , 40 seconds ), then the microprocessor classifies this event as an st - segment elevation . if the integrated signal is below the baseline ( a negative signal ) and the slope is level or negative , then the microprocessor classifies the event as st - segment depression , an indication of ischemia . if the st - segment is either elevated or depressed by a value greater than a predetermined value ( block 325 of fig1 ) the microprocessor stores a code in memory to identify this incidence in block 327 . if the st - segment is abnormal , either depressed or elevated , the microprocessor may use the total duration of deviation persistence as an index of ischemia . also in block 320 , while processing the iegm following the qrs - complex , the microprocessor 19 analyzes the data to determine the presence , amplitude , frequency content and duration of late potentials ( fig9 c ). the presence of late potentials predicts subsequent episodes of ventricular tachycardia , possibly leading to ventricular fibrillation and sudden cardiac death . late potentials are fluctuations in iegm signal amplitude occurring more than 10 milliseconds after the qrs - complex . the amplitude , frequency content and duration of the late potential are diagnostically significant for predicting the occurrence of ventricular tachycardia and ventricular fibrillation . in an operation distinct from the st - segment processing , the microprocessor analyzes the samples beginning about 10 milliseconds following the end of the qrs - complex and persisting for up to 125 milliseconds . in the preferred embodiment of the invention this analysis may include : ( 1 ) determining the peak positive and negative deflections of the signal from the baseline amplitude , ( 2 ) detecting the presence and duration of the late potential by detecting the first ( if any ) and last samples wherein the deflection from baseline is greater than a predetermined amplitude within the late potential window , ( 3 ) averaging the late potential signal for the present cardiac cycle with that of previous cycles beginning with the first sample having an amplitude greater than the predetermined trigger amplitude , and ( 4 ) performing fourier analysis of the data within the late potential sample window . if the late potential is present and has an amplitude greater than a predetermined level , the microprocessor logs a code signifying the presence of the late potential as well as the amplitude , duration and one or more parameters specifying frequency content information in block 327 of fig1 . in block 330 the microprocessor 19 continues to process the iegm to detect the end of the t wave or the occurrence of an r wave ( block 333 ). if the next r wave occurs during the t wave ( block 335 ), the microprocessor notes this abnormality and stores a code in memory reflecting the incidence of an r - on - t beat in block 337 . at the end of the t wave in block 340 the microprocessor determines the qt - interval illustrated in fig1 . in block 340 , the microprocessor normalizes the qt - interval to cardiac cycle time ( r - r ) in accordance with standard techniques . in block 343 , the microprocessor compares the normalized qt - interval with a predetermined threshold qt - interval value to detect abnormalities in repolarization ( see fig8 b ). if an abnormality occurs the microprocessor stores a code to signify the event in block 345 . the microprocessor 19 may designate a separate circular buffer for each of the precursor events ( ventricular arrhythmia , a particular type of ventricular arrhythmia , st - segment changes , and repolarization ) or it may tag each type of precursor with an identifying code and store it in a single circular buffer . upon the identification of any of the precursors ( block 350 ), the microprocessor will also update a similar circular buffer memory ( block 353 ) to store the rate of precursor occurrences of any type . if , upon updating the precursor rate buffer , the microprocessor detects a rate greater than a predetermined value or otherwise flags a dangerous situation ( block 355 ), the microprocessor will update a warning memory and may initiate a precursor therapy in block 357 , as will be described hereinafter . the therapy performed in arrhythmia therapy 143 operation of fig6 and precursor therapy 357 operation of fig1 is a combination of arrhythmia pacing stimulation , applied to the heart , and a therapy for ameliorating myocardial ischemia by stimulating contraction of a skeletal muscle graft . the first symptom of a ventricular arrhythmia is frequently an episode of myocardial ischemia , a severe reduction of coronary flow , in which the supply of oxygen to the myocardium is inadequate to meet the oxygen demands of the tissue . one type of ischemia , supply ischemia , is a failure of myocardial contractility caused by a lack of blood flow to the myocardium due to complete cardiac occlusion . degradation of myocardial contractility causes systolic failure , which further aggravates the ischemia condition by lowering cardiac output , and may also result in diastolic dysfunction , which precipitates pulmonary congestion and shortness of breath . the antiarrhythmia pacemaker of the present invention , upon detecting either an arrhythmia or an arrhythmia precursor , initiates skeletal muscle graft stimulation , or changes the control parameters of such stimulation , to increase cardiac output , thereby assisting myocardial perfusion . a second type of ischemia , demand ischemia , is a narrowing , but not total occlusion , of the coronary arteries , combined with an increase of oxygen demand that occurs when the heart rate is increased during pacing - induced angina . rather than a systolic failure , demand ischemia is predominantly a diastolic dysfunction in which pulmonary congestion results from impaired return of blood from the lungs to the left side of the heart . in the case of demand ischemia , the antiarrhythmia pacemaker of the present invention increases blood flow to the heart to alleviate damage to the heart muscle from ischemia . the initial stage of myocardial ischemia , angina pectoris , is reversible . prolonged ischemia causes irreversible physiological changes , including cell death and necrosis ( myocardial infarction ). ischemia may cause death in case of a severe flow reduction to less than 20 % of normal flow for more than 30 to 45 minutes or if slightly less flow reduction up to 40 % of normal occurs for more than a few hours . prolonged ischemia may progress to irreversible infarction . the antiarrhythmia pacemaker of the present invention is intended to act quickly , at the first detection and confirmation of an arrhythmia ( block 143 of fig6 ), or earlier , at the first detection of an arrhythmia precursor ( block 357 of fig1 ) to terminate the effects of myocardial ischemia in its reversible stage . a critical consequence of ischemia is its propensity to degenerate into ventricular arrhythmias and sudden death by the following mechanisms . ischemia induces ventricular automaticity in which multiple ventricular ectopic beats occur in rapid succession . a ventricular tachycardia then occurs in which there is insufficient time for diastolic filling . cardiac output declines , further aggravating ischemia and leading to the risk of acute myocardial ischemia . in this manner , ischemia predisposes the heart to development of totally disorganized ventricular rhythm called ventricular fibrillation . regular cardiac pumping ceases and sudden cardiac death develops . the sole treatment for this condition is defibrillation . the arrhythmia pacemaker of the present invention applies a combined therapy , usually prior to ventricular fibrillation , comprised of arrhythmia pacing stimulation and muscle graft stimulation to terminate an arrhythmia while stimulating the muscle graft to increase perfusion of the heart . the pacemaker applies the therapy at the first sign of arrhythmia , at the precursor , tachycardia or fibrillation stages . if the arrhythmia changes form , such as from precursor to tachycardia or tachycardia to fibrillation , the pacemaker may alter the therapy to best terminate the abnormal cardiac condition . two coronary arteries , which arise from the aorta immediately above the semilunar valves , supply the heart with blood . blood is fed to the heart throughout the cardiac cycle , under the force of lateral aortic pressure . branches of the coronary arteries penetrate the cardiac muscle to supply deeper layers of the heart where intravascular pressure becomes progressively lower more peripherally from the aorta . the antiarrhythmia pacemaker of the present invention provides for skeletal muscle graft stimulation to increase cardiac output and lateral aortic pressure during an ischemia episode , raising blood pressure throughout the coronary circulation to reduce cardiac occlusion and increase perfusion of the heart . detection and confirmation of an occurrence of a cardiac abnormality , either an arrhythmia precursor , tachycardia or fibrillation , is evidence of diminished myocardial perfusion . thus , in addition to performing an antiarrhythmia pacing therapy , the pacemaker in the arrhythmia therapy 143 operation of fig6 directs the generation of stimulation pulses to the skeletal muscle graft to increase cardiac output , lateral aortic blood pressure and coronary arterial perfusion . these stimulation pulses are in the form of repetitive , brief bursts of pulses . upon a triggering event , a sensed intrinsic cardiac event or a cardiac pacing pulse stimulus delivery , the pacemaker waits a predetermined delay time then generates the burst of pulses to stimulate contraction of the skeletal muscle graft . in the preferred embodiment of the invention , the skeletal muscle stimulation pulse amplitude varies from 3 to 12 volts . the predetermined pulse width ranges from 0 . 01 to 2 milliseconds . fig1 a depicts signals for an electrocardiogram ( ecg ), an antitachycardia pacing stimulation ( atp ) and a skeletal muscle stimulation ( ms ), when the heart is functioning with a normal sinus rhythm . the electrocardiogram ( ecg ) illustrates natural electrical activity of the heart which inhibits operation of cardiac pacing stimulation . because the heart is functioning with a normal sinus rhythm , the pacemaker is not generating an antiarrhythmia pacing stimulation ( atp ) to stimulate the heart . in this example , skeletal muscle stimulation ( ms ) generates a burst of pulses for one out of every two natural cardiac contractions to assist the heart and increase cardiac output . fig1 b depicts signals for an electrocardiogram ( ecg ), an antitachycardia pacing stimulation ( atp ) and a skeletal muscle stimulation ( ms ), when the heart is functioning under ventricular tachycardia conditions . the pacemaker generates an antitachycardia pacing therapy ( atp ), which is intended to terminate the tachycardia episode . this example of antitachycardia pacing is disclosed in u . s . pat . no . 4 , 390 , 021 invented by r . a . j . spurrell et al ., issued jun . 28 , 1983 , entitled &# 34 ; two pulse tachycardia control pacer &# 34 ;. this patent discloses a pacemaker for controlling tachycardia in which the coupled interval , as well as the initial delay , is scanned . the time parameters which are successful in terminating the tachycardia are stored so that upon confirmation of another tachycardia event , the previously successful time parameters are first attempted . the pacemaker generates skeletal muscle stimulation ( ms ) in the form of a burst of pulses for no more than one out of every two natural cardiac contractions . if the natural cardiac interval is shorter than a predetermined arrhythmia interval limit , the pacemaker skips a cardiac cycle and does not generate a burst of pulses until the next cardiac cycle occurs in which the interval between bursts is not shorter than the limit . the pacemaker may set the muscle stimulation pulse amplitude and duration to new predetermined levels to strengthen the skeletal muscle contraction and increase cardiac output during tachycardia conditions . fig1 b illustrates an increased skeletal muscle stimulation pulse amplitude when tachycardia conditions are detected . in addition , the pacemaker may cause burst scanning , in which the interval between pulses within a burst shorten or lengthen to change the contraction strength of the skeletal muscle . fig1 b illustrates burst scanning in which the interval between pulses is lengthened with each succeeding pulse . the pacemaker , in response to detecting and confirming a tachycardia condition , generates muscle stimulating pulse trains which remain in synchrony with the timing of heart contractions but are generated for fewer of the sensed cardiac cycles so that the interval between successive muscle stimulation pulse trains is greater than the detected tachycardia cycle interval . in the example of fig1 b , the interval between the pulses within the train is extended and the pulse train duration is lengthened to increase the strength of the muscle contraction . other examples of antitachycardia pacing techniques which appropriately augment skeletal muscle stimulation to correct a cardiac arrhythmia include the pacer disclosed in u . s . pat . no . 3 , 942 , 534 to k . r . allen et al ., entitled device for terminating tachycardia , which issued mar . 9 , 1976 . following a tachycardia detection , the pacer generates an atrial ( or ventricular ) stimulus after a delay interval . if that stimulus is not successful in terminating the condition , then another stimulus is generated after another premature heartbeat following a slightly different delay . the device constantly adjusts the delay interval by scanning through a predetermined delay range . stimulation ceases as soon as the heart is restored to sinus rhythm . if successful reversion is not achieved during one complete scan , then the cycle is repeated . the device further provides a second stimulus following the first , both stimuli occurring within the tachycardia cycle , i . e . before the next naturally occurring rapid beat . also , u . s . pat . no . 4 , 398 , 536 to t . a . nappholz et al ., entitled &# 34 ; scanning burst tachycardia control pacer &# 34 ;, issued aug . 16 , 1983 , discloses a scanning burst tachycardia control pacer . u . s . pat . no . 4 , 406 , 287 invented by t . a . nappholz et al ., issued sep . 27 , 1983 , entitled &# 34 ; variable length scanning burst tachycardia control pacer &# 34 ;, discloses a variable length scanning burst tachycardia control pacer . furthermore , u . s . pat . no . 4 , 408 , 606 to r . a . j . spurrell et al ., entitled &# 34 ; rate related tachycardia control pacer &# 34 ;, issued oct . 11 , 1983 , discloses a rate related tachycardia control pacer . even in the absence of an arrhythmia condition , the antiarrhythmia pacemaker of the present invention monitors cardiac activity to detect arrhythmia precursors , such as episodes of myocardial ischemia . therefore , upon detection of an arrhythmia precursor , the microprocessor in precursor therapy 357 operation of fig1 directs a therapy which augments cardiac output and lateral aortic blood pressure to improve coronary perfusion to prevent ventricular tachycardia and fibrillation by stimulating the skeletal muscle graft during acute myocardil ischaemia . this skeletal muscle stimulation therapy in response to arrhythmia precursor detection is similar to the therapy which is performed to terminate arrhythmia episodes . the antiarrhythmia pacemaker of the present invention includes a means for stimulating a skeletal muscle graft to assist the hemodynamic status of a patient . a graft of skeletal muscle is wrapped around a patient &# 39 ; s heart , aorta , or a compressible reservoir connected in series or parallel with the aorta . the pacemaker may be configured to perform cardiac assistance in the form of systolic augmentation or diastolic counterpulsation . systolic augmentation uses skeletal muscle graft stimulation to aid cardiac systole and reduce dilation due to cardiomyopathy . stimulation of the skeletal muscle graft aids the heart by increasing cardiac output and the blood pressure within the aorta . diastolic counter pulsation employs skeletal muscle graft stimulation to cause aortic contraction during ventricular diastole . relaxation of the aorta during ventricular systole helps to unload the ventricles , thereby reducing ejection impedance , cellular fatigue and peak systolic pressure , while increasing cardiac output . fig1 illustrates an example of a cardiac assist system for performing both cardiac pacing and long - term stimulation of skeletal muscles using systolic augmentation in accordance with one embodiment of the antiarrhythmia pacemaker of the present invention . a latissimus dorsi skeletal muscle graft 215 is positioned over the right ventricle 201 and left ventricle 202 of a patient &# 39 ; s heart 200 . the longitudinal fibers of the latissimus dorsi graft 215 are oriented generally parallel to the longitudinal axes of the ventricles 201 and 202 and interventricular septum 203 of the heart . the skeletal muscle is positioned in this manner so that when it is stimulated , it compresses the ventricles , particularly the left ventricle 202 , and improves the force of right and left ventricular contraction . the latissimus dorsi muscle graft 215 is attached to the heart 200 along the borders of the ventricular walls 204 using running sutures 220 . a ventricular cardiac lead 13 is implanted in the heart &# 39 ; s right ventricle 201 and a skeletal muscle lead 21 extends from the muscle stimulator 20 ( of fig1 ) to the latissimus dorsi muscle graft 215 . the skeletal muscle lead 21 may be placed directly on a nerve or placed near nerve branches within the latissimus dorsi muscle graft 215 to provide for depolarization of intact motor nerve fibers . fig1 illustrates the heart / skeletal muscle configuration of a device which employs the muscle stimulation technique of systolic augmentation . the present invention is also intended to provide for cardiac assistance devices which employ the muscle stimulation technique of diastolic counterpulsation described in u . s . pat . no . 5 , 009 , 229 to grandjean et al , entitled &# 34 ; steroid eluting intramuscular lead &# 34 ;, which issued apr . 23 , 1991 . from the foregoing discussion , it is apparent that the present invention provides an antiarrhythmia pacemaker which accomplishes substantial improvement in detecting and confirming a wide range of abnormal cardiac states and , in response to such detection and confirmation , provides a combined antiarrhythmia therapy and skeletal muscle stimulation therapy to prevent and terminate dangerous cardiac arrhythmias . the success rate of arrhythmia termination is increased while the risks of aggravating arrhythmias is decreased when the present invention is utilized . moreover , the use of the present invention increases cardiac perfusion during arrhythmia episodes to ameliorate ischemia and avoid aggravation of arrhythmias into more dangerous forms . although the invention has been shown and described with reference to particular embodiments , it is to be understood that these embodiments are merely illustrative of the application of the principles of the invention . numerous modifications may be made therein and other arrangements may be devised without departing from the true spirit and scope of the invention .
an antiarrhythmia pacemaker and method detect and confirm the occurrence of an abnormal condition of a patient &# 39 ; s heart selected from the group comprising tachycardia , fibrillation and precursors thereof , and , in response thereto , deliver an antiarrhythmia therapy to the patient which includes two components , electrical stimulation of the heart and electrical stimulation of a skeletal muscle graft which has been surgically grafted to the heart to augment performance of the heart . the antiarrhythmia pacemaker and method control electrical stimulation of the heart in terms of timing , frequency , amplitude , duration and other operational parameters , to provide such pacing therapies as antitachycardia pacing , cardioversion and defibrillation . a skeletal muscle graft stimulation electrode , which is driven by a skeletal muscle pulse stimulator , stimulates preselected nerve fibers within the skeletal muscle graft . an arrhythmia therapy control responds to the detection and confirmation of an abnormal heart condition by controlling and coordinating the operation of the heart stimulator and the skeletal muscle graft stimulator to direct performance of a combined heart stimulation and skeletal muscle graft stimulation therapy .