fig1 is a block diagram of a dual chamber pacemaker 1 in which the device according to the invention can be used . the dual chamber pacemaker 1 contains an atrial stimulation pulse generator 2 , an atrial detector 3 , a ventricular stimulation pulse generator 10 , a ventricular detector 11 , a control device 4 and a telemetry unit 12 . the atrial stimulation pulse generator 2 generates stimulation pulses , delivered to the atrium in a heart 5 via an atrial lead 6 and an atrial electrode 7 arranged thereon . the ventricular stimulation pulse generator 10 generates stimulation pulses , delivered to the ventricle in the heart 5 via a ventricular lead 8 and a ventricular electrode 9 arranged thereon . the pacemaker can sense the occurrence of physiological events in the heart 5 by sensing cardiac electrical activity . electrical activity in the atrium is sensed by the atrial electrode 7 , and is sent in the form of a raw signal via the lead 6 to the atrial detector 3 from which it is emitted , after certain signal ( processing ) such as amplification , in the form of an atrial output signal when an event is detected in the atrium . electrical activity in the ventricle is sensed by the ventricular electrode 9 , sent in the form of a raw signal via the lead 8 to the ventricular detector 11 from which it is emitted , after certain signal ( processing ) such as amplification , in the form of a ventricular output signal when an event is detected in the ventricle . both the atrial and ventricular output signals are sent to the control device 4 in which they are analyzed by the device according to the invention in a procedure described below for determining whether the atrial output signal was emitted as a response to atrial depolarization . the control device 4 , which can consist of a microprocessor , contains e . g . a clock frequency - generating time base generator 30 as shown in fig2 or a clock and a number of logic circuits . the control device 4 synchronizes the different units in the pacemaker 1 with one another and also controls the units on the basis of events detected in the heart 5 . using an external programming unit 13 , an operator / physician can check on and change settings in the pacemaker 1 . communication between the pacemaker 1 and the external programming unit 13 is conducted via a telemetry unit 12 . fig2 shows a block diagram of the atrial and ventricular detection channels plus the function blocks which analyze the output signal from the atrial detector 3 and which , according to the invention , emit an identification signal for atrial depolarization . the atrial channel 20 contains the atrial electrode 7 shown in fig1 the atrial detector 3 also shown in fig1 and an atrial pulse - prolonging circuit 25 . the atrial detector 3 is formed by a level detector 21 ( or some other kind of detector ) and a flip - flop 23 . the ventricular channel 40 contains the ventricular electrode 9 shown in fig1 the ventricular detector 10 also shown in fig1 and a ventricular pulse - prolonging circuit 45 . the ventricular detector 10 is formed by a level detector 41 ( or some other kind of detector ) and a flip - flop 43 . the output terminal of the level detector 21 in the atrial detector 3 is connected to an input terminal of the flip - flop 23 via the line 22 , and the output terminal of the flip - flop 23 is connected via the line 24 to the input terminal of the atrial pulse - prolonging circuit 25 . in the ventricular channel 40 , corresponding elements 41 , 43 and 45 are connected in an analogous manner via lines 42 and 44 . the flip - flops 23 and 43 are synchronized with the clock frequency set by the time base generator 30 . the flip - flop 23 generates the output signal of the atrial detector 3 on line 24 in the form of an atrial pulse a with a duration , designated a , governed by the sensed event . the atrial pulse - prolonging circuit 25 prolongs the atrial pulse a by an optional value y , so the prolonged atrial pulse emitted on lines 26 and 27 has a total duration of a + y . the flip - flop 43 generates the output signal of the ventricular detector 10 on line 44 in the form of a ventricular pulse v with a duration , designated v , governed by the sensed event . the ventricular pulse - prolonging circuit 45 prolongs the ventricular pulse v by an optional value x so the prolonged ventricular pulse emitted on line 46 has a total duration of v + x . the atrial pulse - prolonging circuit 25 and the ventricular pulse - prolonging circuit 45 jointly form a window generator 50 which generates a time window for events sensed in the heart 5 ( fig3 c ). the window generator 50 is followed by a comparator 60 . the comparator 60 is formed by a flip - flop 61 , a shift register 62 and a nor gate 63 . the flip - flop 61 , one input terminal 66 of which normally has a high level , is connected to the shift register 62 via the line 64 , and the shift register 62 has a line 65 connecting the shift register 62 to other logic circuits in the control device 4 . the control device 4 is also connected ( dashed line ) to the reset input terminal of the shift register 62 and , via the nor gate 63 , to the reset input terminal of the flip - flop 61 . the length ( width ) of pulses will be designated below with an index . the function of the device according to fig2 is shown in an overview in fig3 a . in fig3 a , the time is indicated on the horizontal axis with a scale in which each marking on the axis designates 50 ms . the vertical axis in fig3 indicates signal amplitude without the use of any particular scale and without the amplitude of the signals on different lines shown with a correct inter - signal relationship . the signals shown on the same line on lines 1 and 2 similarly not intended to depict correct inter - signal magnitudes or to jointly encompass all parts of the ecg signal . the object of fig3 a is solely to supply an overview of signals important to the invention . on line i is shown the electrical activity ae sensed by the atrial electrode 7 . on line 2 is shown the electrical activity ve sensed by the ventricular electrode 9 . on line 3 is shown the atrial pulses a a transmitted on line 24 after the flip - flop 23 . on line 4 is shown the ventricular pulses v v transmitted on line 44 after the flip - flop 43 . on line 5 is shown the prolonged atrial pulses a a + y transmitted on lines 26 , 27 after the atrial pulse - prolonging circuit 25 , and on line 6 is shown the prolonged ventricular pulses v v + x on line 46 after the ventricular pulse - prolonging circuit 45 . on line 7 is shown the output pulses transmitted on line 64 from the flip - flop 61 in the comparator 60 , and on line 8 is shown the identification signals id for atrial depolarizations transmitted on line 65 after the shift register 62 . finally , on line 9 is shown reset pulses from the control device for the flip - flop 61 and the shift register 62 . when a genuine p wave , e . g . p1 ( line 1 ), is sensed by the atrial electrode 7 , the flip - flop 23 generates a pulse a a with pulse width a . the pulse a a is prolonged in the pulse - prolonging circuit 25 by a value y , e . g . 10 ms , so the total width of the prolonged atrial pulse a a + y is a + y . the leading edge of the pulse a a + y sets , as designated by the vertical arrow on line 5 , the flip - flop 61 in the comparator 60 to a high level by shifting the input terminal 66 , which is set to &# 34 ; 1 &# 34 ; or a high level , so the signal ( line 7 ) arriving at the shift register 62 on line 64 goes high . on the trailing edge of the pulse a a + y , received by the shift register 62 via the line 27 , the high signal level of the shift register &# 39 ; 62 input terminal is sent to line 65 , since no electrical activity ve ( line 2 ) occurs in the ventricle during the pulse period a a + y , which via the ventricular channel 40 , can cause a reset pulse to be sent to the reset input terminal on the flip - flop 61 . thus , the high signal level on line 65 thereby constitutes an identification signal id for atrial depolarization . the identification signal id terminates , and the flip - flop 61 and shift register 62 are reset when the reset pulse ( line 9 ) is emitted by the logic in the control device 4 . when a qrs complex , e . g . qrs1 ( line 1 ), is sensed by the atrial electrode 7 , the flip - flop 23 again generates an atrial pulse a a , and this pulse is prolonged in the above - described manner into a pulse with the pulse width a a + y . however , the qrs complex qrs1 is also sensed by the ventricular electrode 9 ( line 2 ), so the flip - flop 43 generates a ventricular pulse v v which is prolonged in the pulse - prolonging circuit 45 by a value x , e . g . 20 ms , resulting in a total pulse width of v + x for the pulse v v + x . as lines 5 and 6 show , the reset pulse v v + x and the setting pulse a a + y are applied to the respective input terminals of flip - flop 61 with a time overlap so large that the flip - flop 61 cannot be set high by the leading edge of a a + y . thus , the shift register 62 reads a low level for the flip - flop 61 at the negative flank of the pulse a a + y , and there is no identification signal id for atrial depolarization . the same applies to p2 and qrs2 as was described above for p1 and qrs1 . a ves is then sensed , i . e . a ventricular depolarization without a preceding p wave . as fig3 a shows , the effect of a ves is the same as for a qrs , i . e . there is no identification signal id for atrial depolarization . at p3 the atrial electrode 7 again senses a genuine p wave . this wave is identified with an identification signal id in the same way as described above for p1 . fig3 b shows the course of events in detail for the cardiac activities covered by p2 , qrs2 and pvc in the overview fig3 a . the horizontal axis in fig3 b is expanded relative to the horizontal axis in fig3 a , although without being related to the latter by a specific scale , since the main object of fig3 b is to clearly discriminate components in the functional course . detection of a p wave ( p2 ) begins at time t 1 , leading to a high level for the pulses a a , a a + y . as previously noted , the arrow on line 5 indicates that the leading edge of the pulse a a + y sets the signal ( line 7 ) arriving at the shift register 62 high . detection of the p wave terminates at t 2 , and the pulse a a goes low . at t 3 , i . e . y ms after a concluded p wave , the pulse a a + y goes low , and its trailing edge switches the identification signal id to a high level ( vertical arrow , line 8 ). a reset pulse ( line 9 ) is emitted by the logic in the control device 4 at t 4 , the signal on the line 64 and the id then going low . at t 5 detection of a qrs ( qrs2 ) begins in the ventricle , causing the pulses v v and v v + x to go high . at t 6 detection of qrs2 ( far - field ) begins in the atrium , causing the pulses a a and a a + y to go high . at t 7 detection of qrs2 ends in the ventricle , and the pulse v v goes low . at t 8 , i . e . x ms after v v , v v + x goes low . at t 9 detection of qrs2 ends in the atrium , and a a goes low . at t 10 , i . e ., y ms after a a , a a + y goes low . in this process , as previously noted , the pulses v v + x and a a + y have such a time overlap that no identification signal id can appear . the course of events for and effect of a ves will be , as noted above , the same as for a qrs , even if , as shown in fig3 b , the morphology of a qrs and a pvc differs somewhat . the functional course of events at times t 11 - t 16 coincides with the course recently described for times t 5 - t 10 and need not be repeated here . thus , no identification signal id appears with a ves either . fig3 c shows the function of the above - described time window . detection of an atrial event is always inside the window . a ventricular event detected in the window , i . e . within the period of time x ms before or y ms after detection of the atrial event , makes it impossible for the identification signal id to appear . however , a missing , or a ventricular event not detected inside the window causes an identification signal id to appear . the upper part of fig3 c shows a detection p on the atrial level a , and the lower part shows the ventricular window x + y on the ventricular level v associated with the atrial detection . in a subsequent logic circuit arranged in the control device 4 , preferably part of the microprocessor in the control device 4 , the signals a a v v and id shown in fig3 a on lines 3 , 4 and 8 are additionally processed to permit identification of the event sensed in the atrium . fig4 shows a flow chart 70 of the additional processing . if an identification signal id is present , function block 73 determines whether the interval between consecutive identification signals id ( or atrial pulses a a ) is shorter or longer than a defined , optional reference interval , e . g . 240 ms . if shorter , block 75 indicates the presence of atrial flutter / fibrillation . if longer , block 74 indicates the presence of p waves with some other rhythm . if no identification signal id is present , i . e . the pulses a a ( always inside the window ) and v v are both inside the time window , the determination moves to block 76 in the flow chart 70 . block 76 determines whether the interval between consecutive time windows with associated atrial pulses a a and ventricular pulses v v is longer or shorter than some other optional interval , e . g . 100 ms ( the example 100 ms would correspond to a heart beating at a rate of 600 beats / minute , an improbable rate with normal - frequency qrs complexes ). if longer , block 78 indicates the presence of a qrs complex . if shorter , block 77 indicates the presence of interference external to the heart . block 78 also ascertains whether an identification signal occurs before or after a ventricular event . if before , block 79 indicates the presence of a normal qrs . if after , block 80 indicates the presence of a pvc . it is now apparent that intervals other than those exemplified can be selected with other lengths in order to indicate other conditions in the heart . if desired , block 73 can identify e . g . other kinds of atrial tachycardias , in addition to flutter / fibrillation , when an interval longer than the one constituting the criterion for flutter / fibrillation is imposed . the circuit logic and / or program flow in the microprocessor in the control device 4 following after the flowchart in fig4 for controlling , on the basis of the indications in blocks 74 , 75 and 77 , 78 , the pulses emitted by the heart stimulator ( for treating atrial flutter or bradycardia , for example ) are not described herein , since they are not part of the invention and can easily be achieved by one of ordinary skill in the art . such a person of ordinary skill in the art can also easily achieve modifications of parts shown in the block diagram in fig2 . for example , the level detectors 3 and 10 can be replaced , as noted above , with detectors which emit a pulse with a defined duration , independently of the duration of the event . although modifications and changes may be suggested by those skilled in the art , it is the intention of the inventor to embody within the patent warranted hereon all changes and modifications as reasonably and properly come within the scope of her contribution to the art .
a device for identifying an event , among atrial events sensed in a heart , as an atrial depolarization includes an atrial detector which emits a first signal when an event is sensed in the atrium , and a ventricular detector which emits a second signal when an event is sensed in the ventricle . a window generator creates a time window with the first signal inside the window , and a comparator determines whether the second signal is inside or outside the window . if the second signal is outside the window , an identification signal for the atrial depolarization is emitted . in subsequent circuits in the device , an event sensed in the atrium can be indicated as e . g . atrial flutter or a crosstalk qrs . the indications can be used for controlling a heart stimulator . a corresponding method is also disclosed .