Abstract:
A pulse height analyzer determining, by about the end of an input pulse, whether the pulse&#39;s magnitude falls within a preselected range. Two comparators, which establish the preselected range, couple to a coincidence means, such as a D-type flip-flop. The coincidence means provides one indication when the pulse falls within the selected range and another indication when the pulse exceeds the upper limit. Output means, typically one or more flip-flops, may then operate upon these indications to provide, as usual, one output pulse for each input pulse falling within the range. The circuit obviates the need for R-C delaying components and results in greater resolution between close pulses, quicker response times, and less sensitivity to the particular value of the components used. The timing for the output means may derive either from an external clock or from the effect of the input pulse itself upon the comparators.

Description:
BACKGROUND 
     Pulse height analyzers frequently function by counting the pulses falling within a particular energy or voltage range, called a &#34;window.&#34; Two comparators generally set the upper and lower limits of the range, with the subsequent cicuitry providing a single pulsed output for each input pulse in the range. 
     One area in which such pulse height analyzers have found appreciable use involves the counting of decay products of radio isotopes. Devices performing the function generally include a transducer which produces electrical pulses having magnitudes generally related to the energies of the decay products. 
     The window feature of the analyzer has particular value in discriminating between the particles emanating from a particular nucleus as opposed to those from other sources. The particles produced by a selected radio isotope undergoing decay will generally have energies falling within a narrow range. An appropriate selection by the comparators of the upper and lower limits of the analyzer&#39;s window permits the counting of these particles and the rejection of others with different energies. 
     Pulse height analyzers have had to overcome a problem associated with the use of the two comparators to establish the desired range. The pulses provided by the transducer almost invariably display sloping beginning and ending edges as opposed to square edges. Accordingly, a pulse exceeding the levels set by both comparators, and thus falling outside the energy range, effects transitions of the two comparators at different times. Consequently, analyzers of this type require circuitry to compare events occurring at different times. The circuitry must also, of course, accomodate the desired pulses which induce a transition in one of the comparators but none in the other. 
     Previous analyzers have extended the responses of the comparators to an input pulse sufficiently to insure coincidence of the extended responses at some particular time. The remaining circuitry of the analyzer then compares these extended responses. It determines whether the pulse exceeded the levels established by both comparators, thus falling outside of the established range, or merely exceeded the lower level to come within the selected window. 
     The analyzers have extended the comparators&#39; responses by including resistance-capacitance (R-C) components within the circuitry. The monostable multivibrator represents one method of including the desired R-C components as shown in J. Laughter&#39;s article &#34;TTL Gates Speed Up Pulse-Height Analyses&#34; appearing in the Aug. 14, 1972, issue of Electronics on page 111. 
     Although performing satisfactorily in a number of applications, the circuits employing the R-C components, however, possess a number of inherent limitations. The proper comparison of the two comparators&#39; outputs requires fairly precise timing on the extensions produced by the components. This in turn imposes strict limitations on the actual value of the resistances and compacitances used since these determine the relevant periods of extension. Furthermore, since these components tend to change over a period of time, they must undergo checks and possible replacement to assure that the originally selected values have not undergone alteration or degeneration. 
     Moreover, extending the outputs of the comparators increases the time that the circuitry remains occupied with a particular pulse. During this time, it can not react separately to a subsequent pulse. Thus, extending the comparators&#39; outputs limits the ability of the pulse-height analyzer to resolve, or separately count, closely spaced pulses. 
     Additionally, the circuit makes its determination at a predetermined time after the lower-level comparator has signaled the arrival of a pulse. However, large pulses with a very slow rise time, may not have yet exceeded the upper level at this preset time. As a result, the circuit will indicate a pulse within the seleced energy range although, subsequently, the pulse exceeds the upper level. Thus, the circuit shows a limitation with very slow rising pulses as with very fast pulses. Because of the above limitations, the search continues for pulse-height analyzers with less severe restrictions. 
     SUMMARY 
     Providing the appropriate indication for a pulse by the time it leaves the comparators will ameliorate and minimize the limitations inhereing in the R-C circuits. It will allow the elimination of the resistances and compacitances forming the R-C circuits and remove the required precise control over their values. Further, not extending the pulses beyond their natural duration, the circuit has the potential for improved resolution. Lastly, where the circuit actually waits until the end of the pulse, slow-rising inputs will not produce deceptive results. 
     This type of circuit, as with the prior circuits, includes two comparators. The firt comparator produces one voltage or current output when the input pulse falls below a first predetermined level and another output when the pulse exceeds that level. It produces the first of these outputs before an input pulse has crossed the predetermined level near its beginning. The second output results after the pulse has crossed the level and until the pulse crosses back over that level near its end. 
     The second comparator operates analagously with regards to a second predetermined level. With the first comparator producing the first and second outputs, the second comparator produces a third output before an input pulse has crossed the second predetermined level near its beginning. A fourth output appears from the time a pulse has crossed the second predetermined level at the beginning of the pulse until it has recrossed that level near its end. 
     A coincidence means, coupled to these comparators, converts their outputs to information useful for subsequent processing. The coincidence means operates whenever the output of the first comparator switches from its first to its second output. This indicates that the pulse has come within one limit of the preselected range. 
     After the switching of the first comparator&#39;s output, the coincidence means provides a first indication should the second comparator switch from the third to the fourth output prior to when the first comparator switches back to its first output. This serves to indicate that the pulse has gone beyond both limits of the selected range. 
     Contrariwise, the first comparator may switch from the first to the second output and return to the first without the second comparator having switched at all. This ocurs when the pulse exceeds one limit of the range but not the other and consequently deserve counting. When this happens, the coincidence means provides a second indication. 
     To avoid extending the input pulses, the coincidence means should provide its information by about the time the first comparator has switched back from the second to the first output near the pulse&#39;s end. This eliminates the need for the R-C circuit components and the possible error they may introduce. The ability of the analyzer to resolve close pulses and operate upon slow-rising pulses may also show the desired improvement. 
     For a pulse height analyzer, specifically, the first predetermined level occurs lower than the second level. The pulse crosses one or both of these first from the lower side near the beginning of the pulse, and then from the higher side as the pulse approaches its termination. 
     Present comparators allow one of their outputs to equal a logical ZERO value and their other output to assume a logical ONE. This type of comparator permits the further processing of information by other logic components. In particular, a D-type flip-flop may serve as the coincidence means. The first comparator then couples to the clock input of the flip-flops to activate it upon the arrival of a pulse. With the second comparator coupled to the reset input, the information it produces when a pulse exceeds the upper level controls the flip-flop&#39;s output. Employing this arrangement allows the indications provided by the flip-flop to become available at about the time that the pulse, near its end, falls below the lower level. 
     When the input pulse exceeds the level set by both comparators, the coincidence-means flip-flop produces a logical ZERO at its Q output for its first indication. This ZERO appears at about the time the pulse falls below the lower level established by the first comparator. 
     When the pulse exceeds only the lower level the second comparator cannot reset the flip-flop. Accordingly, at the end of the pulse, the Q output will provide, as the coincidence means&#39; second output, a logical ONE. 
     Output means convert the indications from the coincidence means into a different electronic results. Generally, this will assume the form of a normal level, most conveniently logical ZERO, in the absence of any pulse at the comparators. Where a pulse exceeds only the lower level and thus comes within the desired range, the output means may provide a single pulsed variation from the normal level. For a pulse that exceeds both levels and falls outside the range, the output means will not vary from its normal level. 
    
    
     BRIEF DISCRIPTION OF THE FIGURES 
     FIG. 1A shows a pulse height analyzer which utilizes an external clock. FIG. 1B illustrates the timing of the voltages at a number of the components in FIG. 1A. 
     FIG. 2A includes a circuit which relies upon internally produced timing derived from the input pulses themselves. FIG. 2B illustrates the voltages at different locations for FIG. 2A. 
     FIG. 3A&#39;s circuit, while similar to FIG. 2A, provides its final output by about the time the pulse has departed from the comparators. FIG. 3B shows the timing for various components in FIG. 3A. 
    
    
     DETAILED DESCRIPTION 
     In FIG. 1, a pulse, perhaps produced by a transducer, appears along the lead 10 where it encounters the capacitor C 1 . The capacitor C 1  serves merely to provide an a.c. coupling from the input to the rest of the circuit while blocking out any d.c. voltage. After the capacitor C 1 , the pulse then proceeds along the lead 11 to the lower level comparator COM 1  and the lead 12 to the upper-level comparator COM 2 . 
     The lower voltage level E L  appears along the lead 13 and provides the other input to the first comparator COM 1 . The level E L  of course establishes the lower limit for the preselected range or &#34;window.&#34; Generally, the apparatus will include components coupling to the lead 13 to allow for the selection of the particularly desired lower limit E L . Similarly, the desired upper limit E U  of the range appears along the lead 14 which connects to the second comparator COM 2 . 
     The comparator COM produces two outputs. Its higher voltage output represents a logical ONE, with the lower voltage output representing a logical ZERO. As diagramed in FIG. 1B, when the pulse input along lead 11 remains below the lower level E L , the output assumes the logical ZERO along the lead 15. When the pulse exceeds the lower level E L , the lower level comparator COM 1  produces a logical ONE. Similarly, the upper level comparator COM 2  produces a ZERO on the lead 16 when the pulse on the lead 12 remains below the upper level E U  of the range and a ONE when the pulse exceeds the upper level E U . 
     The output from the first comparator feeds along the lead 15 to the clock input C P  of the D-type flip-flop FF 1 . Upon receiving a positive-going pulse at its clock input, the D-type flip-flop transfers the input appearing at its D terminal to its Q output. Moreover, the D input to the flip-flop FF 1   remains permanently affixed to the logical ONE value of plus five volts d.c. Accordingly, upon the receipt of a positive-going pulse from the lead 15, the flip-flop FF 1  will produce a ONE at the Q 1  output. 
     However, the first comparator COM 1 , as shown in FIG. 1B, can provide a positive-going pulse to the C P  input at the moment that the pulse input first exceeds the lower level E L . Crossing the level E L  from below to above thus results in the flip-flop FF 1  providing a ONE at its output Q 1 . 
     Should the input pulse rise sufficiently to cross the upper level E U  of the desired range, the output from the second comparator COM 2  will switch from ZERO to ONE along the lead 16 to the NOR gate N. With either of its inputs in the ONE state, a NOR gate will produce a ZERO output. Thus, receiving a ONE from the comparator COM 2 , the NOR gate N will provide a ZERO to the reset input 2/R of the flip-flop FF 1 . The bar over the R in this notation indicates that a ZERO to this input will force the flip-flop FF 1  to provide a ZERO at its Q 1  output. The reset input R acts immediately and predominates over the input supplied to the flip-flop through the D and C P  connections acting together. Consequently, when the input pulse exceeds both the lower level E L  and the upper level E U , the flip-flop FF 1  produces a ONE at its Q 1  output which, however, changes to a ZERO. This change to a ZERO occurs almost as soon as the pulse exceeds the upper level E L , and thus, appears while the pulse remains at the input to the circuit along the lead 10. 
     On the other hand, a pulse which, having exceeded the lower level E L , crests before reaching the upper level E U , cannot return the Q 1  output of the flip-flop FF 1  to a ZERO. Moreover, the D input to the flip-flop FF 1 , tied to the ONE state, also cannot induce a change of the output Q 1  to ZERO. Thus, for a pulse falling within the window determined by E L  and E U , the Q 1  output will return to ZERO only after the Q 3  output of the flip-flop FF 3  has produced a ONE pulse on the lead 20. This ONE pulse on the lead 20 causes the NOR gate N to produce a ZERO along the lead 17 which, when it reaches the reset input R of the flip-flop FF 1 , returns the Q 1  output to ZERO. 
     Thus, any pulse input which exceeds the lower level E L  causes the Q 1  output of the flip-flop FF 1  to jump to ONE. The Q 1  output will return to ZERO if the pulse also crosses the upper limit E U . Otherwise, Q 1  will occupy the ONE state at least long enough to produce a ONE pulse on the output lead 20, which may even occur after the input pulse had departed from the comparators COM 1  and COM 2  by dropping below the lower level E L . 
     The output are Q 1  appears at the reset R input to the flip-flop FF 2  along the lead 21 and also to the D input of the same flip-flop along the lead 22. A ONE value has no effect upon the R input. Consequently, a ONE from Q 1  must wait at the D input to the flip-flop FF 2  until a positive-going clock pulse appears along the lead 23. When such a pulse appears, it will induce the flip-flop FF 2  to transfer the ONE from its D input to its Q 2  output. 
     A ZERO from Q 1  travels along the lead 21 to the R input to the flip-flop FF 2  and immediately causes the output Q 2  to assume the ZERO state. A ZERO from Q 1  also appears at the D input to the flip-flop FF 2  - where, upon the arrival of the next clock pulse, it would transfer to the Q 2  output. However, the R input to the flip-flop FF 2  accomplishes the same result for a ZERO from Q 1  without waiting for the next clock pulse. 
     As with Q 1 , a ZERO output from Q 2  will pass to both the D input of the next flip-flop FF 3  along the lead 26 and to the R input of the same flip-flop along the lead 27. Again, a zero at the R input immediately forces the Q 3  output to the ZERO state. 
     A ONE output from Q 2 , having no effect on the R input to the flip-flop FF 3 , must wait at the D input to that flip-flop for a positive-going or ONE pulse at its C P  input. Such a pulse can appear only when a negative-going or ZERO pulse appears along the lead 29 for the inverter I 1  to transform into a ONE pulse. When this happens, the flip-flop FF 3  provides a ONE along the lead 20 at its Q 3  output. 
     However this ONE state does not last a particularly long time. The ONE on lead 20, as mentioned above, passes through the NOR gate N, and converts to a ZERO for the lead 17 and the R input to the flip-flop FF 1 . This forces the Q 1  output to ZERO which travels along lead 21 to the R input to the flip-flop FF 2 . Again, the Q 2  output goes ZERO which, when it appears at the R input of the flip-flop FF 3 , returns the Q 3  output and the lead 20 to ZERO. 
     Consequently, as illustrated in FIG. 1B, a pulse exceeding the lower level E L  but not the upper level E U  causes Q 1  to go to ONE. Upon the receipt of the first positive, or ONE, clock pulse, t 1  in FIG. 1B, the flip-flop FF 2  will produce a ONE at its Q 2  output. At the succeeding negative clock pulse, the beginning of t 2 , the flip-flop FF 3  produces a ONE at its Q 3  output along the output lead 20. This ONE feeds back through the flip-flops to return the lead 20 to the ZERO state and produces a short positive pulse. Such positive pulses on the lead 20, when counted, determine the number of input pulses falling within the desired range. 
     An input pulse exceeding both the E L  and the E U  levels in the circuit of FIG. 1A results in certain ambiguities, depending upon the duration of the pulse. During the interval after the pulse crosses the lower level E L  but before it exceeds the upper level E U , the circuit, of course, considers it as a pulse within the desired range. Finally, when it crosses the E U  level, it informs the circuit of the contrary. 
     However, if the pulse remains between the two levels sufficiently long, the circuit may, in fact, produce an output pulse indicating that the input pulse fell within the desired range. Specifically, if the input pulse exceeds E L  immediately prior to a positive clock pulse t 1  and remains below E U  throughout the entire t 1 , then the circuit counts it as a pulse within the range. This derives from the fact that the Q 1  output jumps to ONE almost as soon as the first comparator COM 1  produces a ONE output when the pulse crosses the E L  level. This ONE from Q 1  then transfers to the Q 2  output of th flip-flop FF 2  upon the receipt of the positive-going clock pulse at the beginning of t 1 . On the negative clock pulse ending t 1 , the ONE from Q 2  transfers to Q 3  on the flip-flop FF 3  which indicates an input pulse within the range. 
     Accordingly, any pulse which exceeds the upper level E within the same time period t 1  as when it exceeded the lower level E L  cannot produce a positive pulse on the lead 20. A slow-rising pulse which takes longer than t 1  to cross the upper level E U  after exceeding the E L  may produce an output pulse, depending upon when it exceeded the lower level E L . It definitely will produce a pulse should the time period of 2t 1  + t 2  intervene between the crossing of the E L  and E U  levels. 
     Generally, however, the time for an input pulse to exceed the upper level E U  after crossing the lower level E L  represents a small period compared to the time t 1 . Consequently, the possible production of a spurious output pulse for an input pulse exceeding the upper level E U , as a practical matter, presents no serious problem. Moreover, the time for the pulse to exceed the upper level E U  may result from the presence of an additional pulse within the desired range very close to and merely forming a &#34;shoulder&#34; on the larger pulse. In this instance, the ability to produce an output indicative of the closely spaced smaller pulse may represent a desirable feature. 
     The receipt of a ZERO at the set inputs S of the flip-flops in FIG. 1 produce a ONE at the Q outputs. This setting of the flip-flops does not require the concurrence of a pulse at the clock input C P . Accordingly, by tying the S inputs to the logical-ONE five volt source, the S inputs become inoperative and do not affect the operation of the flip-flops. 
     The circuit of FIG. 1A requires an external clocking circuit. Moreover, the possibility of counting slow-rising pulses which nonetheless exceed the upper limit may represent an unacceptable feature in some situations. The circuits of FIGS. 2A and 3A both obviate these concerns. 
     In the circuit of FIG. 2A, the two comparators COM 1  and COM 2 , the capacitor C 1 , and the flip-flop FF 1  operate in the same fashion as in FIG. 1. Consequently, they carry the same designations as do these components in the prior figure. 
     The capacitor C 1  again serves to provide a a.c. coupling between the pulse input and the comparators while excluding d.c. voltages. However, they also exclude very slow-rising pulses themselves. The circuit of FIG. 2, which responds well to such pulses, may omit the capacitor C 1  for those applications which expect them. 
     The output of the comparator COM 2  feeds through the invertor I 2 , along the lead 18, and to the R input of the flip-flop FF 1 . As with FIG. 1, this arrangement provides a ZERO to this R input whenever the input pulse exceeds the upper level E U . The ZERO resets the flip-flop so that its Q 1  output drops to ZERO to preclude counting the large pulse as falling within the desired range. 
     FIG. 1A also includes the NOR gate N. Upon the appearance of a positive output pulse on the lead 20, the gate N resets the first flip-flop FF 1  to force its Q 1  output to ZERO. If Q 1  remained ONE for a number of clock pulses, the circuit would produce several output pulses at its output on lead 20, one for each clock pulse. Consequently, the circuit in FIG. 1A requires the feedback from the lead 20 through the NOR gate N to reset itself after having provided a positive output pulse. 
     In FIG. 2A, as discussed below, the input pulses along lead 10 also activate the flip-flops through their clock inputs. Consequently, by controlling the flip-flops, the input pulses provide the circuit with the information requisite to prevent unwarranted output pulses. Thus, the need for the circuit output to reset the flip-flop FF 1  becomes obviated. As a result, FIG. 2A does not include the NOR gate N or any coupling between the lead 20 and the reset input R of the flip-flop FF 1 . 
     Consequently, the Q 1  output in FIG. 2B assumes the ONE state as soon as an input pulse, crossing the lower level E L , provides a ONE to the clock input C P  of the first flip-flop FF 1 . Q 1  will remain in the ONE state until some input pulse exceeds the upper level E U  and provides a ONE along the lead 16 to the invertor I 2 , which converts it to a ZERO for the R input of the flip-flop FF 1 . At that time, the Q 1  output returns to ZERO. 
     As the timing diagram in FIG. 2B shows, the Q 1  output in the first instance jumps to ONE upon the receipt of a pulse P 1  crossing the lower level E L . It remains positive until the third pulse P 3  finally crosses the upper level E U , causing it to return to ZERO. Q 1  then stays ZERO until the fourth pulse P 4  again crosses the lower level E L  and remains at ONE until the fifth pulse P 5  crosses the upper level E U . 
     When a pulse falling within the desired range induces the Q 1  output to assume the ONE state, it becomes available to the D input of the flip-flop FF 4 . To transfer from the D input of the flip-flop FF 4  to the Q 4  output requires, of course, an activating positive-going ONE pulse along the lead 19 to its C P  input. However, the same activating pulse that caused the transfer in the flip-flop FF 1  cannot effectuate a similar transfer of the same ONE in the next flip-flop FF 4 . This results from the time actually required for the transfer from the D input to the Q 1  output of the first flip-flop. As a result, the ONE has not yet appeared at Q 1  when the same pulse activates the C P  input of the flip-flop FF 4 . Consequently, after an input pulse has placed Q 1  in the ONE state, it remains there for the succeeding pulse along the lead 19 to transfer it to the Q 4  output. 
     As shown for the sequence of pulses in FIG. 2B, the first pulse input P 1  crosses the lower E L  but not the upper level E U . When it exceeds the lower level, it causes the first comparator COM 1 , previously ZERO, to rise to ONE. This positive-going pulse from COM 1  appears at the first flip-flop FF 1  and causes its Q 1  output to go from ZERO to ONE. The same pulse from the comparator COM 1  also appears at the clock input C P  of the flip-flop FF 4 . However, at that time, the D input to that flip-flop lies at ZERO. Accordingly, notwithstanding the receipt of the pulse P 1 , the Q 4  output remains ZERO. 
     Subsequently, the first pulse input descends below the level E L  and causes the first comparator COM 1  to return to ZERO. As shown in the diagram, though, the Q 1  output remains at ONE. 
     The second pulse input P 2  similarly exceeds E L  but not E U . As it crosses the lower level E L , the first comparator COM 1  again transitions from ZERO to ONE. This positive-going pulse appears along the lead 19 to the clock input C P  of the flip-flop FF 4 . It accordingly transfers the ONE which appeared at the D input of that flip-flop shortly after the prior pulse P 1  had exceeded the E L  level, to the Q 4  output. As a result, this ONE appears on the output lead 20. 
     Simultaneously, with the appearance of the ONE at the Q 4  output, its converse, or ZERO appears at the Q output of the flip-flop FF 4  which connects to the reset input R. the ZERO at R causes the Q 4  output of the flip-flop FF 4  to return to ZERO to produce a ONE pulse or, equivalently, a single pulsed variation along the lead 20. 
     Including the capacitor C 2  if desired, causes a slight delay until the R input receives the ZERO input and the lead 20 returns to ZERO afterwards. This allows for the production of a pulse on the lead 20 of any desired length. Omitting the capacitor C 2  results in a shorter pulsed output on the lead 20. 
     Thus, the second pulse input P 2  on the lead 10 has educed a single pulsed output on the lead 20. This output pulse, however, signifies that the first input pulse P 1  fell within the desired energy range. It says nothing about the magnitude of the second pulse P 2  which has merely served a midwife role in bringing forth this output pulse from the flip-flop FF 4 . 
     The second pulse P 2 , as it exceeds the lower level E L , induces the comparator COM 1  to return to the ONE state. Again, the ONE at the D input of the flip-flop FF 1  transfers to the Q 1  output. However, since Q 1  had become positive on the first pulse, it simply remains in that state when the second pulse reaches the C P  input of that flip-flop. 
     The third pulse input P 3  first exceeds the lower level E L  and then the lower level E U . Its first crossing of E L  causes the first comparator COM 1 , to jump to the ONE state. This positive pulse from the comparator COM 1  moves along the lead 19 to the clock input C P  of the flip-flop FF 4 . This again transfers the one appearing at the D input of that flip-flop to its output Q 4 . After the appropriate time, the connection between the Q output of the flip-flop FF 4  and its R input returns the lead 20 to ZERO to formulate the desired output pulse. 
     Thus, the third pulse input P 3  which does not fall within the desired range has produced a pulsed output from Q 4  which signifies that the circuit had, in fact, received a pulse in the selected window. However this pulsed output derives from the second pulse input P 2  and not the third pulse P 3  which again has merely served to elicit this output pulse. 
     Since, for the pulse P 3 , the comparator COM 1  for E L  goes positive before the comparator COM 2 , it again transfers the ONE at the D input of the flip-flop FF 1  to its Q 1  output. Previously at ONE due to the prior pulses, Q 1  merely remains in the ONE state, albeit for a short period of time. As soon as the third pulse P 3  exceeds the upper level E U , the second comparator COM 2  goes to ONE. The invertor I 2  converts this ONE to a ZERO for the R input to the flip-flop FF 1 . The ZERO to the reset input R causes Q 1  to drop to ZERO. 
     The fourth pulse input P 4  again falls within the preselected range. By similar reasoning as for the first pulse input P 1 , the fourth pulse P 4  causes Q 1  to go from ZERO, into which the pulse P 3  had placed it, to ONE. However, Q 1  had existed in the ZERO state when the first comparator COM 1  went to ONE. Thus a ONE pulse to the clock input C P  of the fourth flip-flop FF 4  causes a Q 4  output to remain at ZERO resulting in no pulse output. This simply indicates that the third pulse P 3  exceeded both levels and thus should not be counted as falling within the window. 
     Reversing the two leads 12 and 14 in FIG. 2A to the comparator COM 2  permits the elimination of the invertor I 2 . Accordingly, the pulse input appears at the negative-labelled connection of the comparator COM 2  while the voltage establishing the upper level E U  appears at its positive connection. This arrangement produces the same effect as the wiring shown in the figure. 
     An occasional application may require a circuit which, for an input pulse within the range, does not wait for the succeeding pulse before producing an output pulse. The circuit of FIG. A effectuates the elimination of this delay. 
     This figure bears strong resemblance to FIG. 2A and, from the input through the first flip-flop FF 1 , is identical. The comments for the earlier circuit accordingly also pertain to this one. Consequently, a slow-rising input pulse would dictate the removal of the capacitor C 1 . 
     Furthermore, reversing the input connections to the upper-level comparator COM 2  would again allow the elimination of the invertor I 2 . However, this circuit does require the invertor I 3 . Since manufacturers sell a multitude of invertors in a single unit, employing the invertor I 2  generally does not entail additional expense. 
     The circuit also uses an additional invertor to accomplish one of the tasks of FIG. 2A in a different fashion. In particular, the invertor I 4  converts a ONE output from Q 4  to a ZERO for the R input of the flip-flop FF 4 . This causes the Q 4  output to return to ZERO to construct the desired output pulse. The short transition time for the invertor I 4  to change to ZERO after receiving a ONE input allows for a ONE pulse along the output lead 20 of the desired duration. Clearly, however, the arrangements in FIGS. 2A and 3A would work well in the other circuit. 
     As with the prior figures, an input pulse to FIG. 3A first exceeds the lower level E L . At that time, the first comparator COM 1  provides a ONE pulse along the lead 15 to the C P  input of the flip-flop FF 1 . This, of course, transfers a ONE from the D input of that flip-flop to its Q 1  output. 
     At some subsequent time, the input pulse will crest. It may do so, of course, either with or without having first crossed the upper level E U . If it does cross that level, the second comparator COM 2  provides a ONE along lead 16 which the invertor I 2  converts to a ZERO along the lead 18 and to the R of the flip-flop FF 1 . The ZERO to the R input causes the Q 1  output to promptly return to ZERO. If the input pulse crests without exceeding E U , then Q 1  remains in the ONE state. 
     After reaching its zenith, the input pulse begins to descend. As it drops below the lower level E L , the output of the first comparator COM 1  drops from ONE to ZERO which appears on the lead 15. The invertor I 3 , of course, displays the opposite behavior, and goes from ZERO to ONE providing a positive-going ONE pulse to the C P  input of the flip-flop FF 4 . This ONE pulse effectuates the transfer of the information from the D input of the flip-flop FF 4  to its Q 4  output and the output lead 20. However, the information at that D input depends whether the very pulse which activated the C P  input falls within the desired range. Thus, the pulse, on its rise, places a ONE or a ZERO on Q 1  as it comes within or exceeds the window, respectively; on its descent, the same pulse triggers the flip-flop FF 4  to provide a pulse or no pulse on the output lead 20, as appropriate. 
     The timing diagram of FIG. 3B shows that the circuit provides the appropriate response for an input pulse at about the time that input pulse leaves the comparators COM 1  and COM 2 . Pulses P 1 , P 3 , and P 4  fall within the desired range while the P 2 , P 5 , and P 6  exceed it. As shown for the Q 4  output, output pulses for each of P 1 , P 3 , and P 4  develop when those pulses finally descend below the lower level E L . 
     The components suggested for the figures appear in the following table: 
     
                       TABLE______________________________________Components for the circuits in the figuresComponent          Identification______________________________________C.sub.1               820 pf.C.sub.2               100 pf.COM.sub.1, COM.sub.2  μA710FF.sub.1, FF.sub.2, FF.sub.3, FF.sub.4                 SN7474NI.sub.1, I.sub.2, I.sub.3, I.sub.4                 SN7404NN                     SN7402N______________________________________ 
    
     The foregoing has discussed these components as though they possess instantaneous transitions times. Clearly, they do not; rather they require a finite time period before a change in their input produces the appropriate change in their output. 
     In FIG. 3A, after the lower-level comparator COM 1  has reached the ONE state, the flip-flop FF 1  requires 14 nanoseconds until its output Q 1  also goes to ONE. After the comparator COM 1  returns to ZERO as the input pulse drops below the lower level E L , the invertor I 3  requires 12 nanoseconds to produce a ONE at the clock input C P  of the flip-flop FF 4 . 
     The flip-flop FF 4  requires at least 15 nanoseconds of a ONE input at its D connection before it can respond to a positive-going pulse at its clock input C P . After these 15 nanoseconds, it requires an additional 14 nanoseconds to respond and produce a ONE at its Q 4  output. After the appearance of the ONE at the Q 4  output, and with a direct connection between the Q 4  output and the R input, the flip-flop FF 4  requires about 4 nanoseconds to reset its Q 4   output to ZERO. 
     Other types of components than those in the table experience different response times. For example, emitter-coupled logic (ECL) requires approximately one tenth of the time to respond. As drawbacks, they require a greater economic outlay for their puchase and larger amounts of power for their operation. Complementary metal-oxide semiconductors (CMOS), on the other hand, respond with one tenth of the speed. 
     The components in FIG. 3A require about 83 nanoseconds to formulate an output pulse after the lower level comparator COM 1  first produces a ONE on the lead 15. Subsequent to receiving a ONE at its clock input C P , the flip-flop FF 1  requires 14 nanoseconds to produce a ONE at its Q 1  output. This must remain ONE for approximately 15 nanoseconds to set up the D input to the flip-flop FF 4 . Upon its D input becoming set up, the flip-flop FF 4  then requires 14 seconds after the receipt of a positive-going ONE pulse at the C P  input to transfer the ONE at its input to its Q 4  output. The circuit has required at least 43 nanoseconds at this point. As discussed above, 40 additional nanoseconds must pass to complete the pulse and reset the flip-flop FF 4 . 
     However, the circuit can nonetheless resolve two pulses within the desired range occurring within 83 nanoseconds of each other. The flip-flop FF 4  requires 14 nanoseconds after the receipt of a positive pulse at its C p  input until the information appears at its output Q 4 . It then requires an additional 40 seconds until it can reset itself and for the Q 4  output to return to ZERO. It may then receive a subsequent pulse at its clock input C P  to restart the process. Consequently, two pulses separated by 56 nanoseconds, and certainly if separated by 60 nanoseconds, will produce two separate output pulses on the output lead 20. 
     Further, for an input pulse within the window, the positive-going pulse from the invertor I 3  must not reach the clock input C P  of the flip-flop FF 4  before it can transfer a ONE to its Q 4  output. From the time the first comparator COM.sub. 1 produces a ONE, this requires 14 nanoseconds for Q 1  to first go to ONE, and, subsequently, 15 nanoseconds, with Q 1  at one, before the D input to the flip-flop FF 4  sets up, totaling 29 nanoseconds. However, the invertor I 3  delays 12 nanoseconds in transfering from ZERO to ONE; thus the input pulse need maintain the comparator COM 1  at ONE for only 17 nanoseconds. An input pulse that allows the comparator COM 1  to return to ZERO before 17 nanoseconds will produce no output pulse. 
     Lastly, the circuit requires approximately 83 nanoseconds to construct an output pulse after the comparator COM 1  goes to ONE. Moreover, the comparator COM 1  must remain at ONE for at least 17 nanoseconds or else no output results. Accordingly the circuit requires no more than 67 nanoseconds, or 70 nanoseconds to allow leeway, after COM 1  returns to ZERO to produce the appropriate output pulse.