Rate adaptive dual chamber pacing system with automatic adjustment of operating parameters for minimizing sensor-sinus competition

Abstract: There is disclosed a pacemaker, a dual chamber VDD(R) or DDD(R) pacemaker, having improved features for avoiding undesired sensor-sinus competition and providing blended sensor and sinus (atrial) control. The pacemaker employs atrial hysteresis which is used during sensing of natural atrial beats in order to enable tracking the sinus signals that occur at rates below the current pacing limit; and sensor hysteresis which prevents early takeover by sensor control and, in a DDDR pacer, controls when the sensor rate controls over a sensed sinus rate and also enables dropping the pacing rate during sensor control so as to enable finding and tracking of underlying lower rate sinus signals. The sensor hysteresis function is automatically adapted by obtaining and processing scattergram data representative of the sensor rate compared to the average of the natural sinus rate, and adjusting the sensor hysteresis function to optimally match the data.

Description: Field of the Invention This invention lies in the area of rate-responsive cardiac pacemakers and the method of operation of same and, more particularly, dual chamber rate responsive pacemaker systems having blended sinus and sensor control so as to optimize tracking of a reliable sinus rate while permitting sensor control where atrial signals are non-physiological or otherwise unreliable. Description of the Prior Art Dual chamber rate responsive pacemakers are now widely available from pacemaker manufacturers. Such pacemakers may be of many types, including the types designated as DDDR or VDDR. The DDDR pacemaker paces and senses in both chambers, i.e., both the atrium and the ventricle, and has rate responsive (RR) backup to provide pacing in the absence of sensed natural beats, or to provide rate responsive ventricular pacing during atrial tachyarrhythmias in the absence of natural ventricular beats. The DDDR pacemaker has a lead that is placed within the atrium to deliver atrial pace pulses, as well as to sense natural atrial (sinus) signals, and a ventricular lead for pacing and sensing in the ventricle. In contrast, the VDDR pacemaker paces only in the ventricle, although it senses in both the atrium and the ventricle. The VDDR pacemaker system may be made simpler by incorporating a single lead, which has a floating atrial electrode for sensing atrial signals, in a known manner. The VDDR pacemaker is indicated for patients who are determined to have a good and reliable sinus rate, so that for a good bit of the anticipated lifetime of the patient, natural atrial signals will be present from which ventricular pace pulses can be tracked, thereby providing synchronized pacing. For DDDR and VDDR pacemakers, there is an inherent desirability of maximizing use of the sinus rate, i.e., avoiding takeover of the pacing function as long as a good atrial signal is present and sensed. For a rate responsive pacemaker, this leads to the desirability of correlating the rate response as closely as possible to the sensed natural sinus, while still enabling the rate response to take over pacing control when and if the sinus does not accurately reflect cardiac demand. Thus, for example, if a patient develops chronotropic incompetence after implant of a VDDR pacemaker, there must be an ability to switch modes or otherwise enable the sensor response to override the sinus. The prior art indicates many schemes for adjusting rate response as a function of exercise. Such schemes include algorithms for ramping up rate upon the onset of exercise, and ramping down rate after exercise, so as to provide a more physiologically natural response to exercise. Such pacemaker systems thus involve predetermined programming for optimizing the pacing response in terms of known optimum responses to exercise. It is also known to adjust the rate response as a function of a separate sensor, and to switch to the rate response mode if the atrial rate looks to be unreliable. See, for example, U.S. Patent No. 4,527,568, Rickards, assigned to the same assignee as this invention, where atrial and sensor rate are compared, and the sensor takes over if conditions indicate that this is desirable. However, in pacemakers to date, there is no capability of enabling the rate response function (or algorithm) to track or adapt to the actual sinus rate. For DDDR and VDDR mode pacers there is a need to provide a rate response control wherein the sensor-indicated pacing rate is correlated to and tracks just below the sinus rate whenever the sinus rate is reliable, so as to optimize sensing of the atrial rate and provide for pacing takeover only when the sinus is unreliable (e.g., atrial tachyarrhythmias) or missing. Stated in another manner, there is a need for improvement in avoiding competition between sinus and sensor signals that would cause the pacemaker to operate under sinus control when the sinus was unreliable, or under sensor control when the sinus was reliable but was overtaken by a too-aggressive sensor signal. The prior art patent literature discloses a number of pacemakers having various features for automatic mode switching, or "blending" control between sensor and sinus signals. US-A-5 350 409 published after the priority date of the present application, assigned to the same assignee discloses a rate-adaptive pacemaker with the capability of adjusting the sensor/rate relation as a function of current sensed sinus rate. This pacemaker provides a rate response which is controlled to follow the sensed sinus rate, i.e., the correlation between the sensor-indicated pacing rate and the sensor input is automatically adjusted by ongoing comparisons of sinus rate and sensor rate. U.S. 4,527,568 discloses mode switching whereby the atrial and sensor rates are compared, and the sensor takes over if conditions warrant. In U.S. Patent 5,052,388, parameters for the rate vs. sensor curve can be selected by the physician. While this provides for increased optimization of the sensor response, it does not address the problem of sinus-sensor competition. U.S. Patent 4,856,523 shows the related concepts of extending the pacing escape interval following natural beats by an amount which is related to the sensor rate, i.e., a sensor indicated hysteresis; and automatic mode switching at higher rates. EPO application 0 326 629 shows a hysteresis interval in a rate-responsive pacer, where the hysteresis is a function of the variable basic escape interval, or pacing rate. While the prior art thus shows different hysteresis arrangements for dual chamber pacers, it does not suggest a second hysteresis applied to the sensor rate, i.e., "sensor hysteresis", that is variable as a function of rate and utilized together with a hysteresis applied to the sensed is rate so as to avoid sensor-sinus competition. In view of the above review of the prior art, it is seen that there is a need for an improved rate adaptive dual chamber pacing system which optimizes sinus control as long as the sinus is reliable and which automatically adapts sensor-control pacing so as to minimize competition between pacing and any underlying sinus beat. Such a pacemaker evaluates the sensor rate in view of the sinus rate and provides optimized dual hysteresis functions following both atrial sense and atrial pace events. SUMMARY OF THE INVENTION In view of the above object of minimizing sensor-sinus competition, there is provided a dual chamber, rate adaptive pacing system wherein sinus and sensor data is collected and utilized for automatic adaption of the sensor vs. pacing rate function; adaptation of a sensor hysteresis which is operative to modify a sensor-determined rate; and adaptation of a flywheel hysteresis operative to modify a flywheel rate which follows sensed atrial signals. The pacemaker compiles scattergram data of two different varieties. The pacemaker accumulates a first set of data derived from atrial senses and the RR signals, representing the rate responsive signal (RR) and a measure of sensed atrial rate for each stable atrial beat over the range of the sensor function. A second scattergram-type compilation of data comprises data representative of the difference between the running atrial rate, or average atrial rate, and current atrial rate derived from the latest sensed atrial beat. The first set of data is used for comparison with the curvilinear sensor function and for adjusting of such sensor function over the pacing rate range so that the RR curve more accurately tracks reliable sinus rates. The first compilation of data is also used for generating a sensor hysteresis function operative over the pacing rate range which is used to control the rate of generated pace pulses at a hysteresis differential rate below the sensor-controlled rate. The data representative of the difference between running atrial rate and the current atrial rate represents sinus jitter, and is used for adjusting the flywheel distance (FWd) which normally sets the escape interval during tracking of sensed atrial beats. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of the overall pacing system of the invention, showing the environment in which the pacemaker software operates. Figure 2 is a block diagram which illustrates basic components of the pacemaker of this invention, together with leads and a sensor or sensors for delivering signals to and/or receiving signals from the patient. Figure 3 is a simplified flow diagram illustrating dynamic AV tracking in a DDD or VDD mode. Figures 4a, 4b and 4c are curves illustrating the dynamic pacing limit (DPL) and the Flywheel Distance FWd, as used in the pacemaker of this invention. Figure 5 is a graph illustrating how the sensor rate can control DPL and suppress the sinus (atrial) rate, in the absence of sensor hysteresis as employed in a preferred embodiment of this invention. Figure 6a is a scattergram showing data from which the pacemaker derives automatic adjustments of an activity sensor function curve in accordance with this invention. Figure 6b is a scattergram showing data from which the pacemaker derives automatic adjustments of a Q-T sensor function curve in accordance with this invention. Figure 6c is a graph illustrating the compilation of statistical data of (RR-s) obtained from the scattergram of Figure 6a or Figure 6b. Figure 7 is a flow diagram of logic steps taken in implementing automatic adjustment of the sensor function on the basis of the scattergram data such as illustrated in Figure 6a or Figure 6b. Figure 8a is a scattergram graph of data representing the difference between the sensor-indicated rate and average sinus rate from which the sensor hysteresis function RR Hyst is determined. Figure 8b illustrates a typical scattergram result where the sensor is not sufficiently aggressive. Figure 8c illustrates a representative scattergram where the sensor is too aggressive. Figure 8d represents a typical scattergram where the hysteresis function is adjusted to the scattergram data in an optimized manner. Figure 9 is a flow diagram of the logic steps taken in determining sensor hysteresis scattergram data and in automatically adjusting the sensor hysteresis (RR Hyst) function. Figure 10a is a typical scattergram showing atrial jitter representative of the difference between average sinus rate and current sinus rate, from which the FWd is determined. Figure 10b is a graph illustrating how DPL is changed in accordance with the adjusted FWd. Figure 11 is a flow diagram illustrating the logical steps taken by the pacemaker system of this invention for automatic adjustment of FWd. Figure 12a is a timing diagram illustrating undersensing of a sinus beat with and without automatic adjustment of FWd. Figure 12b is an illustration of oversensing of a sinus beat with and without the automatic FWd adjustment of this invention. Figure 13 is a rate diagram showing changes in rate with time and illustrating sensor hysteresis and flywheel hysteresis as those terms are used in this invention, and also illustrating smooth transfer to and from the different hysteresis states. Figure 14 is a flow diagram of a subroutine for limiting adjustment of slope, sensor hysteresis, or flywheel distance depending on data representative of sinus reliability throughout the rate range. Figure 15 is a flow diagram illustrating how the pacemaker of this invention sets the escape interval in accordance with the different hysteresis functions that may be enabled. DESCRIPTION OF THE PREFERRED EMBODIMENTS In the detailed description of the pacing system of this invention, as well as the illustrative figures, the following acronyms, abbreviations and symbols are utilized: Symbol Definition DPL Dynamic Pacing Limit LPL Lower Pacing Limit UPL Upper Pacing Limit LRL Lower Rate Limit URL Upper Rate Limit bpm Beats Per Minute DTL Dynamic Tracking Limit UTL Upper Tracking Limit WB Wenckebach NAB No Atrial Blanked PAC Premature Atrial Contraction TAS Tachy Atrial Sense DWL Dynamic Wenckebach Limit RR Sensor-indicated rate signal derived from the sensor signal; RR function, or curve, varies with the sensor signal s avg Running average of the natural sinus rate. This can be any measure of the recent atrial rate, and can be the phys rate as defined in referenced U.S. Patent No. 5,247,930. s Current sinus rate (A-A interval) RR Hyst Sensor Hysteresis FWd Flywheel distance, or distance between the current sinus rate or phys rate and the dynamic pacing limit. FW Hyst Flywheel Hysteresis. This is further atrial hysteresis below DPL. As used in this application, the term "atrial hysteresis" means an extension of the escape interval that is timed out following an atrial sense. This is a conventional usage of the term "hysteresis" as it has been used in the pacemaker literature, although the manner of determining such atrial hysteresis in this invention is new and different. Atrial hysteresis may be composed of one or two components. A first component is what is here referred to as the flywheel distance (FWd), which is a rate differential subtracted from the current atrial rate. Atrial hysteresis may also, optionally, include "Flywheel hysteresis," e.g., a predetermined value which is also subtracted from the atrial rate (as illustrated in Figure 4c). Thus, if both FWd and flywheel hysteresis are employed, the atrial hysteresis is computed by subtracting the FWd and atrial hysteresis values from the rate of sensed atrial beats. The term "sensor hysteresis", RR Hyst, indicates a hysteresis increment to be subtracted from the sensor-controlled pacing rate (or an interval to be added to the escape interval). The pacemaker of this invention utilizes unique combinations of these hysteresis functions in order to reduce sensor/sinus competition, and also provides new and improved methods of adjusting the hysteresis functions so that they are optimally adapted to the patient's underlying sinus (atrial) rate, to the extent that such sinus rate is reliable. In practice a hysteresis rate is available for use corresponding to each value of the sensor rate and flywheel rate, including the lower rate limit. This invention makes a selected hysteresis value available for all situations; the hysteresis value is adapted to the circumstances, e.g.; it is a function of the last event and rate. The pacing system of this invention is preferably software-based, i.e., the software controls all functions through the hardware, as illustrated in Figure 1. Referring specifically to Figure 1, the pacemaker 50 is shown as having a component hardware portion 51 and a software portion 52, the two portions being interconnected. The software is parameter-driven, i.e., there are numerous parameters that control the pacing behavior, diagnostic functions, etc. The hardware is interconnected with the patient's heart by one or more electrodes 55, and one or more sensor connections 54. As is well understood in the art, for a dual chamber pacemaker, there are generally two leads, an atrial lead and a ventricular lead, each lead having at least one electrode, unipole or bipole, positioned in the heart. The line 54 is illustrated as leading to the heart, as in a QT-type sensor arrangement, but may be attached to the outside case of the pacemaker or may couple to any other available sensor for sensing body parameter information used in rate responsive pacing systems. Further, in the preferred embodiment of the pacing system of this invention, sensor link 54 may comprise a pair of sensors, e.g., QT plus activity, as set forth in U.S. Patent 5,065,759, incorporated herein by reference. As further illustrated in Figure 1, the pacer 50 is in telemetric communication with a programmer 56. The user can select parameters and program them through programmer 56, and can also interrogate parameter and diagnostic data from the implanted pacemaker. Interrogated information from the pacer can be coupled by telemetry directly to a printer 58. Input/output devices 57 are used to input information by the user to the programmer, or to display information received by the programmer from the pacemaker. Referring to Figure 2, there is shown a basic block diagram of primary hardware components of a DDDR pacer 50. An atrial generator 61 is shown, having an output connected to lead 62 which communicates with the patient's atrium. An A sense amplifier 65 is illustrated also connected to atrial lead 62. A ventricular generator 63 is illustrated which is connected to the patient's ventricle through lead 64. V sense amplifier 66 is also connected to lead 64, to receive and sense signals from the patient's ventricle. In one embodiment of this invention which preferably incorporates QT rate control, V sense block 66 also includes means for picking out and determining the timing of the evoked T wave. As is known, for a VDDR pacemaker, the A sense and V sense signals come from the same lead. Generators 61 and 63 and sense blocks 65 and 66 are interconnected with microprocessor system 60, which microprocessor has software which is parameter-driven to control the operation of the hardware units. Microprocessor system 60 may be interconnected with hardware logic and/or timing circuits 68. The microprocessor system suitably consists of a D43 microprocessor with 4k byte ROM and 624 bytes RAM (MC146805E2 compatible); and an M05 memory chip with 4k byte ROM and 256 bytes RAM. It is preferred that the operating software fit in 8k byte ROM, and have available for use 624 bytes of RAM; 256 bytes of RAM are held unused to enable future RAM routines (executable code located in RAM). In a manner well known in the art, the software contains a number of strategic places where escape points to a RAM routine are available. As affects the scope of this invention, the degree to which software supplants hardware, or vice versa, is a matter of design choice. Thus, for the many timing functions that are carried out in the pacing system of this invention, it is to be understood that the microprocessor may have built in timing circuits, or suitably may control external hardware timer circuits. Software control of pacing function is well known in the art, such that the following detailed discussions of the software specifications enable one of ordinary skill in this art area to design a system for carrying out the functions within the scope of the invention. Data inputted from programmer 56 is stored in memory associated with microprocessor. Still referring to Figure 2, there is shown a sensor S, indicated as providing an input to microprocessor system 60. Sensor S represents one or more sensors for monitoring one or more body parameters known to be indicative of desired pacing rate. Sensor S is illustrated as being outside the pacemaker, but may be physically located inside the pacemaker casing, as with certain activity sensors. Alternately, as is the case with the Q-T-type rate responsive pacemaker, the "sensor" information is actually obtained from the ventricular lead, by extracting timing information relating to the Q-T interval. As used in the practice of this invention, the term sensor or sensor signal may refer to information obtained from any available rate responsive sensor-type source. Also, as used in the claims appended hereto, the term "rate signal" may refer to a signal deriving its information from either or both a sensor source and the sensed atrial rate. Referring now to Figure 3, there is shown a flow diagram illustrating procedure without hysteresis following an atrial event, and in particular illustrating tracking when an atrial event is determined to be physiological. This figure is presented as an example, to illustrate some of the terms and features utilized herein. See U.S. Patent No. 5,247,930. At block 70, the software first determines whether an atrial rate(s) is within predetermined phys_range limits. By atrial rate, reference is made to the rate corresponding to the A-A interval from the atrial event prior to the atrial event under examination. Thus, at block 70, the time interval from the prior atrial event is determined, and compared to a predetermined phys_range, which range can be expressed either in terms of rate values or corresponding time intervals. The phys_range limits comprise a lower limit referred to as dynamic pacing limit (DPL), which is a hysteresis type limit at which the pacer intervenes to pace, and an upper range limit referred to as dynamic tracking limit (DTL). The DTL determines how high an atrial rate can be tracked, while DPL sets the pacing interval, or rate, following a time out due to no A sense. Also, the change of A rate is checked to see whether the change is physiologic. If the A rate is within the phys_range and change limits, the software branches to block 71, where the phys_rate is adapted as a function of the just determined atrial rate; also the decision rates which are coupled to the phys_rate are adapted, i.e., DPL, DTL and DWL are adapted. Phys-rate is a measure of the running average of the rate; when tracking it follows the atrial rate, and when pacing, it follows the pacing rate. See U.S. Patent No. 5,247,930. It is to be noted that the phys_rate and the decision rates can be adapted either before the start of or after the end of this routine. At 72 it is determined whether the synchronized ventricular pulse would have a rate within the adapted phys_range, such that it can be tracked. Thus, the AV interval is added to the time of the atrial event, and the projected synchronous V stimulus time is compared with the prior V event to determine the V-V interval, and thus the V rate. Only if the determined V rate is within the adapted physiological range (DPL to DTL) does the software branch to block 73, to control the delivery of a ventricular pace after timeout of an AV-delay. If V-V is not within the phys_range, the program branches to block 78. Coming back to block 70, if the A rate is not within the phys_range and rate change limits, the software branches to block 75, where it is determined whether the atrial event has fallen within a Wenckebach range. If yes, a Wenckebach pace is delivered as indicated at block 79, in accordance with predetermined Wenckebach criteria. If no, the program proceeds to block 78, where the ventricle is paced at the escape_interval, which interval is normally set by the dynamic pacing limit. Following this, the escape interval is reset in accordance with DPL, as indicated at block 74. Referring to Figures 4a, 4b and 4c, the dynamic pacing limit is illustrated for the circumstances where it is RR controlled (Figure 4a); "flywheel" controlled (Figure 4b); and controlled by both RR and flywheel (Figure 4c). In Figure 4a, the dynamic pacing limit is shown as only RR controlled. As represented here, it is not a function of phys_rate, but for any given phys_rate may vary between programmable values of LPL and UPL as a function of the sensed parameter or parameters. In the FW controlled mode of Figure 4b, DPL tracks the phys_rate, and thus the atrial rate, maintaining a distance FWd below the phys_rate as per conventional flywheel tracking arrangements. FWd is shown as a programmable distance. Note that DPL stays constant at LPL for all rates up to a rate corresponding to the lowest phys_rate where a flywheel window of FWd is established. In the situation where DPL is both RR and FW controlled, as illustrated in Figure 4c, DPL can also be shifted up and down as a function of the sensor information, between the LPL and UPL limits. Indeed, the RR control, particularly without hysteresis, can override a phys_rate which reflects only A rate, for most of the range up to UPL. The shaded area below the DPL curve represents a form of atrial hysteresis, i.e., a band rates below DPL at which natural sinus beats can be sensed during non-pacing. This increases the area where tracking of the atrial rhythm is available. This feature may be particularly important in the RR mode, since it allows for some blending of the atrial and sensor influences. The availability of an atrial hysteresis means that the tracking mode can have more priority over the sensor. Referring now to Figure 5, there is shown a time graph illustrating how the DPL and DTL decision rates can vary over time, as a function of either the sensed atrial (sinus) rate or the RR signal. This illustrates a pacemaker with dynamic decision curves, but without any sensor hysteresis. As seen, the RR signal can effectively take over DPL, such that DPL is not coupled to the phys_rate. Further, the RR signal can override phys_rate and cause a corresponding increase in DTL up to the programmed upper tracking limit (UTL) value. Referring now to Figures 6a, 6b, and 6c, there are presented illustrations of scattergrams and a method or organizing the scattergram data for automatically adjusting the RR function, or curve, in accordance with this invention. Figure 8a shows an RR curve for an activity sensor, plotting ACT counts vs. average atrial interval in ms (the interval corresponding to s avg rate). The unadjusted curve is designated as C 0 , and the dots represent periodic samples of activity count vs. average sinus rate. In this illustration the data indicate that the curve should be shifted so that the intersection with URL is lower, i.e., the curve should be shifted to a more aggressive slope. See referenced U.S. Patent No. 5,065,759. For example, the data point indicated as T.P., for test point, corresponds to an ACT value of ACT 0 at an s avg interval which is less than what would be indicated by curve C 0 , i.e., at a higher rate. The adjusted curve, shown as a dashed line and marked C ADJ , more nearly fits the scattergram data. Note that a decision to adjust is not based on one test point; this is simply an illustration of the relation between the RR curve and the data. The same situation is illustrated in Figure 6b, which plots QT interval vs. average atrial interval. Here again, the scattergram data shows that the curve is not sufficiently aggressive, particularly for higher rates (smaller intervals). For example, at the test point T.P., QT 0 corresponds to an average sinus interval which is significantly less than that which would be indicated by the initial curve C 0 (i.e., the data point is at a higher rate than would be indicated by the curve). Accordingly, the adjusted curve, C adj , should be shifted upward for this sensor, toward the dashed line. Referring to Figure 6c, there is shown a graph representing compilation of data as used in a preferred embodiment of this invention. In this curve, the sensor rate (RR) data is plotted against s avg , the s avg axis being divided up into increments. Within each increment (or bin) of the range between LRL and URL, the data is compiled to indicate the MAX, MIN, and MEAN value of RR. This data in turn can then be used for determining the adjusted curve C adj , e.g., by getting the value of RR MEAN - s avg , and fitting the curve. Referring now to Figure 7, there is shown a diagram for implementing automatic slope adjustment of the rate response curve in accordance with this invention. Although the flow diagram is drawn to represent software logic steps, it is to be understood in the art that the implementation can be embodied with any combination of hardware and software. This subroutine may suitably be entered following exit of the subroutine shown in Figure 3. At step 101, it is determined whether the sinus rate is stable and whether the sensor is stable. For example, the data is not reliable around times of exercise, but is more reliable during moments of normal daily activity. A reasonable stability check is to determine whether the last n consecutive beats have been within a predetermined sub-range of rates, i.e., rate is not fluctuating greatly. If the data representing the difference between the sinus and the RR rate is not reliable, the routine exits. If the atrial signal and sensor are stable, then the routine proceeds to block 102. At block 102, the pacemaker gets the atrial rate s of the last interval, and the RR value. At block 103, the pacemaker determines a measure of the average atrial rate, s avg . This may be the phys_rate as was discussed above, or may be any other measure of the average sinus rate, e.g., over a predetermined number of recent pacemaker cycles. At block 104, the pacemaker calculates RR - s avg . Following this, at block 106, the recently calculated value of RR - s avg is stored. Such storage may be in any desired manner, e.g., the arrangement as set forth in Figure 6c. At block 107, it is determined whether enough scattergram data has been collected, i.e., is there enough relevant data to be used for the purpose of adjusting the sensor curve? If not, the routine exits. If yes, the routine branches to 108 and analyses the data. This analysis may be carried out by comparing, at each of the range intervals as illustrated in Figure 6c, the mean RR average with the stored RR value of the curve for the center of that range interval. Or, a mean value of RR - s avg can be computed for each sub-range value; if any one or more of such comparisons exceeds a predetermined threshold limit, then a decision is made at 109 to adjust the curve. It is to be appreciated that any statistical measures of deviation which warrant curve adjustment may be employed within the scope of this invention. If the decision to adjust is yes, the routine branches to block 111, and the RR curve is adjusted and stored as the new RR curve in memory. The adjustment is suitably a curve-fitting adjustment, and may be implemented by adjusting the curve up or down by a predetermined unit of change at each range increment, in accordance with the comparison made in block 108. It is to be understood that other equivalent ways of storing and processing the scattergram data are within the scope of the invention. Thus, as shown, the pacemaker may compute the RR - s avg data each pacemaker cycle that the routine is run; at block 106, the pacemaker can update the mean value of RR - s avg for each bin. Alternately, each cycle the pacemaker can simply store data representing RR signal values as a function of atrial rate, i.e., an RR value and its corresponding s avg value, and then compute the differences and means after a yes decision at 107. In another feature of this invention for blending the sensor control with sinus control, a sensor hysteresis value "RR Hyst" is calculated; this value is subtracted from the RR value to obtain a rate which can be used to determine when the sensor can overtake the sinus, as discussed in connection with Figure 15. The use of such a sensor hysteresis feature is an additional option which, when combined with the atrial, or "flywheel" hysteresis, permits more effective blending of RR operation and sinus tracking. The manner of selecting which hysteresis value is to be used, and when, is also discussed in connection with Figure 15. Referring to Figure 8a, there is shown a solid line indicted as RR Hyst plotted against average atrial rate. This curve represents an initial sensor hysteresis setting, yielding sensor hysteresis values as a function of atrial rate which as shown are initially higher than the expected chronic settings. In use, the RR Hyst value can be used in a DDDR pacer to set a hysteresis search depth when searching is done while pacing; and sensor hysteresis is used in both DDDR and VDDR pacers to prevent sensor takeover where RR-s is less than RR Hyst. Also indicated on Figure 8a is scattergram data in the form of data points representing the difference between the sensor-indicated rate (RR) and the current average sinus rate (RR - s avg ). As illustrated in Figure 8a, most of this scattergram data shows values of RR - s avg to have an absolute value less than the RR Hyst value for the corresponding average sinus rate. As long as this situation holds, RR Hyst may be periodically recalculated to drop the line one step across the rate range until very few or no data points end up above it, thereby optimizing the hysteresis value. Such an adjusted sensor line is shown as the dashed line at RR Hyst (adj) . The scattergram data is obtained while pacing under sensor control (RR - s avg is positive) or tracking, where RR - s avg is nominally negative. To obtain data when RR - s avg is positive; a DDD pacemaker must periodically go into a hysteresis search mode, whereby the pacing rate is dropped for a predetermined number of cycles in order to look for an underlying sinus rhythm. In such a hysteresis search mode, the hysteresis search depth must be greater than the current sinus hysteresis distance, in order to be effective. See U.S. Pat. No. 3,921,642, for a discussion of rate searching. Referring to Figure 8b, there is shown a graph of scattergram data where the sensor is not sufficiently "aggressive", such that sensor hysteresis drops to and remains at a preset minimum, i.e., RR Hyst equals approximately 0. In Figure 8c, there is illustrated the situation where the sensor is too aggressive, and the RR Hyst line must be pushed up periodically in order to make the effective sensor-controlled rate less aggressive. In Figure 8d, there shown a histogram situation where RR Hyst is effectively optimized so that the sensor hysteresis curve is matched to the scattergram data, with very few data points above it. It also is to be recognized that the slope of RR Hyst may indicate that further correction of blending is required by adjusting of the RR curve. Referring now to Figure 9, there is illustrated a flow diagram of the logic steps in automatically adjusting the RR Hyst function. The routine of Figure 9 is suitably entered following exit of the routine shown in Figure 7. At block 120, it is determined whether sufficient scattergram data has been collected from which a reliable adjustment of the hysteresis curve can be made. If yes, the routine branches to block 122, where the stored RR Hyst curve is compared with the collected RR - s avg scattergram data. This comparison may be made in a manner similar to that discussed above for automatic adjustment of the RR curve. On the basis of this comparison, it is decided at 124 whether to adjust RR Hyst. If no, meaning that the RR Hyst curve is sufficiently well adjusted with respect to the scattergram data, the routine exits. However, is adjustment is called for, this is done at block 125, and the adjusted RR Hyst curve is stored in memory. Following this, at 127, the histogram data is zeroed out, or weighted so that the following data has more influence. Referring next to Figure 10a, there is shown an illustration of a scattergram representing the "jitter" of the atrial rate, i.e., the difference between the current atrial rate of each cycle and the running average sinus rate (s avg ). As illustrated, the example shows data points showing a larger deviation toward the lower rates than toward the upper rate limit. The s avg - s distance thus represents the distance below phys_rate that a sinus beat might be expected, and is an indication of what the FWd would optimally be. The solid line labelled FWd adj is drawn so that it substantially fits the upper extent of the data points, and represents a desired adjusted FWd curve. This is contrasted with the dashed line labelled FWd = K, where the flywheel distance is constant. Referring to Figure 10b, the graph shows the dynamic pacing limit for a constant FWd, and the dashed line shows the dynamic pacing limit for an adjusted FWd corresponding to the curve in Figure 10a. In this example, there is no additional hysteresis illustrated, i.e., the intervention pacing rate is phys-rate minus FWd. Note that the hysteresis effect provided by FWd is a function of rate, and is larger at lower rates. Referring now to Figure 11, there is shown a flow diagram for carrying out the logic steps of the embodiment of this invention comprising auto-adjust of the flywheel distance i.e., automatic adjustment of FWd so as to provide a variable DPL which is optimized to the sinus jitter. This portion of the routine may be entered from the exit of the routine shown in Figure 9. At 130, the pacemaker obtains atrial rate s, which is the inverse of the A-A interval just completed. Following this, the determination of s avg - s is made, and this data is stored at block 131, thereby compiling the scattergram data. At 133, it is determined whether there is enough data to compare the sinus jitter data with the FWd curve. If no, the routine exits. If yes, it proceeds to 134 to make a comparison of the s avg - s data with the FWd curve which is stored in memory, in a manner such as discussed above at blocks 108 and 122. If the decision at 136 is not to adjust, the routine exits. If the decision is to adjust, the dynamic pacing limit (DPL) and FWd are adjusted as shown at block 138. Following this, the s avg - s data is zeroed at 140, and the routine exits. Referring now to Figures 12a and b, there are shown two examples of the efficacy of the auto-adjust of flywheel distance. In the timing diagram of Figure 12a, there is shown in the top line a high sinus rate condition where there is an undersense of a sinus beat, followed by a V pace at DPL, corresponding to an FWd of about 15 bpm. The next atrial beat comes too shortly after the V pace, and is indicated as NAB (the atrial sense is blocked). There is no tracking of this beat, and the ventricular stimulus is delivered in accordance with DPL. Likewise, the next atrial beat is not tracked, and it is only until the third atrial beat after the undersense that tracking is again achieved. The second line of Figure 12a shows the improvement resulting from minimizing FWd, e.g., adjusting it to about 5 bpm for the rate involved. Following the undersense, the V pace is delivered sooner, such that the next atrial beat is now sensed and tracking continues. Referring to Figure 12b, there are presented two timing diagrams which illustrate the improvement with regard to oversensing, i.e., far field R wave sensing (FFRS). In the top line, where the flywheel distance is set at, e.g., 15 bpm, an FFRS is sensed and interpreted as a PAC. Consequently, the next normal atrial beat is seen as a TAS (tachycardia atrial sense), and is not tracked; the next V pace is delivered at DPL, corresponding to an FWd of 15 bpm. Following this, the next atrial sense is not tracked (NAB) and it is several more atrial beats until tracking is again achieved. As shown in the second line of Figure 12b, improvement comes from minimizing FWd to about 5 bpm. As with the example of Figure 12A, this permits tracking of the next sinus beat following delivery of the ventricular pace pulse. Referring now to Figure 13, there is shown a timing diagram which illustrates both the sensor hysteresis and atrial (sinus) hysteresis as used in this invention, as well as the smooth transition from one mode to the other. As seen, initially there is a natural sinus rate that is being tracked, which is within the physiological range. The total atrial hysteresis (FWd plus flywheel hysteresis) is indicated as the lower dashed line which follows at a rate differential below the sinus rate. There comes a time when there is an undersense of two atrial beats, resulting in pacing at phys-rate minus atrial hysteresis. Following this, the sinus beat is again tracked until the sinus beat rises sharply to atrial tachycardia. At this time, with the pacemaker in either DDI(R) or VDI(R) operation, the pace rate drops and the phys_rate is decremented downward. The pacing rate is decremented downward until it is overtaken by the sensor, such that pacing is at the RR rate. Following termination of the atrial tachycardia, for a VDD pacemaker, the pacemaker senses re-appearing natural sinus beats found within the sensor hysteresis band below the RR rate, which are then tracked. For a DDD pacemaker, the re-appearing sinus beats can also be found and tracked if a hysteresis search is undertaken, i.e., pacing rate is dropped to RR-RR Hyst. Referring now to Figure 14, there is shown a software subroutine for limiting the adjustment of slope, sensor hysteresis, or flywheel distance as function of sinus reliability data. In other words, particularly for a VDD pacemaker, if it is known that the sinus is reliable only through a given rate sub range and relatively unreliable through the remainder of the rate range, it follows that automatic adjustments based on the sinus rate should not be made through the unreliable portion of the range. This information can be determined by the physician and programmed into the pacemaker, or it can be acquired automatically by the pacemaker by analyzing the stability of the sinus rate through different rate portions, or bins. Thus, for example, for a rate range between LRL of about 70 bpm and URL of about 150 bpm, the range may be divided into approximately eight sub-ranges, or bins. For each sub-range, the sinus data may be deemed to be reliable, or non-reliable. In the subroutine of Figure 14, for each of the auto-adjust routines of Figs. 7, 9 and 11, the adjust decision is first made at block 140 (representing the respective adjust decision made at 109, 124 or 136). If the decision is to adjust, then at block 141 the pacemaker reads the sinus reliability data. For each sub-range where the sinus data is deemed reliable, the adjustment is permitted; for each sub-range where the sinus data is not reliable, the adjustment is prohibited, as set forth at block 142. Following this, the routine exits either to block 115, 125 or 138, to make the respective adjustments. Going to Figure 15, there is shown a simplified flow diagram illustrating how and when the pacemaker of this invention utilizes the different hysteresis functions. Before discussing the details of Figure 15, the pertinent concepts and features are summarized. There is provided a first, or atrial hysteresis, which can be used following a sensed atrial signal. This first hysteresis gives a FW Hyst rate, (FW Hyst-rate = phys rate - FWd - FW Hyst), where FWd is preferably an adjustable function of rate. A second, or sensor hysteresis (RR Hyst) is utilized to modify when the sensor can overtake the atrial sense; RR Hyst rate = RR - RR Hyst, where RR Hyst can be adjustable as a function of rate. There is thus provided a capability of applying a particular hysteresis rate each cycle, depending on whether the calculated pacing interval is to be based on the flywheel rate or on sensor rate. The atrial type of hysteresis, or flywheel hysteresis rate, is normally selected for calculation of escape interval following a tracked atrial sense (AS), and when sensor rate (RR) is relatively low compared to the flywheel rate. When phys rate - FWd (i.e., DPL) is at the lower rate limit (LRL), a predetermined value of hysteresis may be utilized. The sensor hysteresis may be employed to prevent premature sensor overtaking of sinus, by requiring that RR exceed the sensed atrial rate by RR Hyst. Also, sensor hysteresis can be used in a DDD mode to interrupt pacing at sensor rate and search at RR Hyst-rate to try to find a natural sinus beat in the range RR Hyst below the RR-rate. Note that in VDD mode, "searching" is not done; rather the pacemaker keeps pacing at RR-rate, but monitors AS intervals to find sinus beats within the RR Hyst band, which beats can then be tracked as long as their rate stays above RR Hyst-rate. Referring now to Figure 15, at 150 it is determined whether an AS has been tracked. If yes, the routine goes to block 152, and prepares the escape interval for the next cycle by selecting the greater of FW Hyst-rate and RR-Hyst rate. Thus, if FW Hyst-rate is the greater of the two, the escape interval is set corresponding to the FW Hyst-rate for the phys-rate (or s avg ) of the last cycle. Following this, the routine goes to block 154 and waits for the next event. If, at 150, it is determined that there had been no tracked AS, the routine branches to block 156 where it is determined whether FW-rate (corresponding to DPL) is greater than sensor rate (RR). If yes, the next pace pulse is delivered at an escape interval corresponding to the dynamic pacing limit (DPL), or flywheel rate, where FW-rate = physrate-FWd. Thus, at block 158, the escape interval is set corresponding to FW-rate. After this, it is determined at block 160, whether the pacemaker is to search by dropping the pacing rate. When the pacer is to search is a decision that can be pre-programmed, or determined by an analysis of historical data. For example, the pacemaker can be programmed to search only when it has reached LRL, and no search has been conducted for a given time or a given number of cycles. See, e.g. Figure 13, where a search is initiated for DDD mode after stable RR-rate pacing for several cycles. If there is to be a search, the routine branches to block 166, and sets the escape interval corresponding to the greater of the 2 hysteresis rate, i.e., FW Hyst rate or RR Hyst-rate. Returning to block 156, if it is determined that sensor rate is greater than or equal to FW-rate, then the routine goes to 162 and sets the escape interval corresponding to sensor rate (RR). Then, at 164, it is determined whether the pacemaker is to search, and if yes the escape rate is set to the greater of FW-Hyst-rate and RR Hyst rate, as seen at 166. The pacer then waits for the next event.

Claims: A dual chamber cyclically operating rate responsive pacemaker, having generator means (61,63) for generating pace pulses for delivery to a patient's heart, atrial sense means (65) for sensing atrial signals from said patient's atrium, ventricular sense means (66) for sensing ventricular signals from said patient's ventricle, RR means (S, 102) for cyclically developing sensor-indicated pacing rate signals (RR signals) over a range of rates as a curvilinear function of at least one sensed body parameter, pace control means (60, 68) for controlling generation of pace pulses by said generator means in the absence of sensed heart signals, said pace control means having RR adjusting means (Fig. 4a, 4c) for adjusting the rate of generated pace pulses in accordance with said RR signals, and atrial rate means (103) for determining a measure of atrial rate corresponding to respective sensed atrial signals within said range, characterized by : determining means (104) for determining data representative of the relation of said RR signals to corresponding values of said measure of atrial rate, and storing means (106) for storing said data, and function adjusting means (108, 109, 111) for adjusting said curvilinear function over said range of rates in accordance with said stored data. The pacemaker as described in claim 1, wherein said determining means further comprises difference means (104) for obtaining data representative of the difference between the RR signals and the measure of atrial rate (RR - s avg ) for respective cycles of operation of said pacemaker. The pacemaker as described in claim 2, wherein said function adjusting means adjusts said curvilinear function at each of several predetermined rates in a manner so as to decrease said differences. The pacemaker as described in claim 1, comprising means for defining sub-ranges of said range of rates, and wherein said determining means accumulates said representative data separately for each of said sub-ranges (Fig. 6c). The pacemaker as described in claim 4, wherein said function adjusting means has means for periodically adjusting said function according to the data for at least one of said subranges. The pacemaker as described in claim 1, said pacemaker being a dual chamber pacemaker, said generator means comprising atrial control means for controlling said generator means to generate atrial pace pulses for delivery to a patient's atrium and ventricular control means for controlling said generator means to generate pace pulses for delivery to said patient's ventricle, said pace control means also having means for controlling the generation of ventricular pace pulses in timed relation to sensed atrial signals. The pacemaker as described in claim 1, comprising timer means (107) for timing the accumulation of data, and for initiating said function adjusting means to adjust said curvilinear function following said time out. The pacemaker as described in claim 1, wherein said function adjusting means comprises adjustment limit means for limiting said adjustment to a predetermined incremental change at each of a plurality of predetermined rates within said range of rates. The pacemaker as described in claim 1, wherein said atrial rate means determines a value of s avg each time there is an atrial sense (103), and said determining means determines an accumulated value of the average RR-s avg for a predetermined sub-range of values of s avg . The pacemaker as described in claim 2, wherein said function adjusting means comprises means for storing adjustment threshold criteria, and comparison means (108) for comparing said difference data with said criteria. A pacemaker, having generator means (61, 63) for generating pace pulses for delivery to a patient's heart, atrial sense means (65) for sensing atrial signals from said patient's atrium, ventricular sense means (66) for sensing ventricular signals from said patient's ventricle, pace control means (60, 68) for controlling the escape interval of pace pulses generated by said generator means, RR means (S, 60) for developing sensor-indicated pacing rate signals as a curvilinear function of a sensed body parameter, and atrial rate determining means (102) for determining the current rate of sensed atrial signals, said pace control means further characterized by : atrial hysteresis means (138, Fig. 15) for setting said pacing escape interval to correspond to said determined atrial rate less an atrial rate hysteresis increment, following a sensed atrial signal, and sensor hysteresis means (124, 125, Fig. 15) for setting said escape interval to correspond to said RR rate less a sensor rate hysteresis increment, following delivering of a pace pulse. The pacemaker as described in claim 11, comprising sensor hysteresis adjusting means for adjusting said sensor rate hysteresis increment as a function of RR signals and sensed atrial signals (122, 124, 125). The pacemaker as described in claim 12, comprising atrial hysteresis adjusting means for adjusting said atrial rate hysteresis increment as a function of sensed atrial signals (134, 136, 138).

Inventors: STOOP GUSTAAF A, VAN DER VEEN JOHANNES S, VAN KRIEKEN FRITS M, STOOP, GUSTAAF A., VAN DER VEEN, JOHANNES S., VAN KRIEKEN, FRITS M.
Applicants: VITATRON MEDICAL BV, VITATRON MEDICAL B.V.
Application year: 1994
Main classification: A61N1
IPC codes: A61N1