DUAL RANK SAMPLE AND HOLD CIRCUIT AND METHOD

Abstract: A dual rank sample and hold circuit and method, particularly applicable to deglitching the output of a digital-­ to-analog converter. One signal path is provided for coupling an input signal to the output of the sample and hold circuit to track the input signal during sampling. A second signal path is provided for coupling the input signal to a storage capacitor for charging or discharging the capacitor to the level of the input signal. In one embodiment the output is coupled simultaneously via the first signal path to the input signal and through a resistor to the storage capacitor, during a sampling phase, the capacitor being coupled to the input signal, and thereafter only to the capacitor during a hold phase, the capacitor being decoupled from the input signal. In another embodiment the output is coupled alternatively through the first signal path to the input signal during a sampling phase, the capacitor being coupled to the input signal, and thereafter to the capacitor during a hold phase, the capacitor being decoupled from the input signal. In application to a digital-to-analog converter sampling begins after the analog output signal settles and ends prior to the next conversion event, and hold lasts past the next conver­ sion event to the next sample.

Description: This invention relates to circuits and methods for sampling the level of a signal and holding the sampled value constant for a predetermined period of time. Sample and hold circuits typically employ a switching device for periodically connecting a capacitor to an input signal to be sampled so that while the capacitor is connected to the signal it will charge or discharge to the voltage level of the signal, and after the switch is disconnected the capacitor will hold that voltage level. The capacitor is also typically connected to a high impedance input of a buffer amplifier which provides the hold output signal of the sample and hold circuit, the high impedance input ensuring minimal discharge of the capacitor during the hold phase of the circuit's operation. Where the signal to be sampled is derived from a relatively high impedance source an input amplifier to the sample and hold circuit is also typically employed preceding the switching device to provide a relatively low impedance source of current to the charging capacitor thereby minimizing the time required for the capacitor to charge or discharge from one voltage level to another. Nevertheless, the time required for the capacitor to charge or discharge from one voltage level to another, that is the "acquisition time" of the sample and hold circuit, is limited by, among other things, the finite effective source impedance from which the charging signal is derived. As the frequency of the sample signal and, hence, the sampling rate increase, the acquisition time takes on greater significance. EP-A-0.023.750 describes a sample and hold circuit having a capacitor for storing a charge representative of a voltage. The circuit includes a pair of operational amplifiers that are connected in circuit during both the sample and the hold modes of operation. In the sample mode of operation, one of the operational amplifiers receives the input signal and, in accordance therewith, controls the magnitude of an inverted voltage stored on the capacitor, while the other operational amplifier provides a feedback voltage. In the hold mode said other operational amplifier senses the voltage stored on the capacitor and, in accordance therewith, via the first inverting amplifier controls the output signal. The known circuit makes it necessary to trade off hold stability against high slew rate. One of the applications for sample and hold circuits is to eliminate certain defects in the output of a typical digital-to-analog converter ("DAC"). Due to the nature of operation of a DAC and to practical limitations in the construction of a theoretically perfect DAC, the analog output of a DAC typically includes spikes, or "glitches", occurring during conversion events, i.e., the transition of the output from one voltage level to another. Although the high frequency components in the analog output of a DAC resulting from the conversion switching frequency can be eliminated by low pass filtering, the glitches introduce frequency components that often lie within the spectrum of the analog signal to be reconstructed and therefore produce significant distortion in some applications. Consequently it is desirable to eliminate those glitches. One known approach (JP-A-57-15528) to the elimination of glitches in the output of a DAC is to employ a sample and hold circuit at the output of the DAC, commonly known as a "deglitcher". The output of the DAC settles to within an acceptable accuracy of the new voltage level within a maximum settling time following the beginning of the conversion event. In the use of a sample and hold circuit as a deglitcher the output of the DAC is sampled after the settling time of one event has passed and held until the settling time of the next event has passed, and so on. Thus, the output of the sample and hold circuit is held during the time that the glitches occur, thereby eliminating their effect, though introducing a slight output time delay. An example of a circuit that employs such a method is found in the GVG 3280, Four Channel Audio Multiplex system manufactured and sold by the Grass Valley Group of Tektronix, Inc. While a deglitcher of the type previously described eliminates the frequency components otherwise introduced by glitches, the resultant signal is still not a perfect "stair-step" output, due to the acquisition time of the sample and hold circuit. Heretofore efforts to increase the slew rate of sample and hold circuits, and thereby decrease acquisition time, have compromised hold stability, and vice versa. This is because, in part, acquisition time increases as the size of the storage capacitor increases and hold stability, or "droop," increases as the size of the storage capacitor decreases. The distortion introduced by acquisition and droop is in many cases significant and introduces frequency components that cannot be eliminated by low pass filtering. Accordingly, it is an object of the present invention to provide a sample and hold circuit and method which exhibits both a high signal acquisition slew rate and high hold output stability. It is a further object of the present invention to provide a digital-to-analog converter system comprising a sample and hold circuit for deglitching the output of the system while introducing minimal additional distortion. The invention is defined in claims 1, 11 and 12. The sample and hold circuit according to the invention minimizes the need to trade off hold stability for high slew rate and particularly can be employed to deglitch the output of a digital-to-analog converter while introducing minimal additional distortion. The aforementioned drawbacks of prior art sample and hold circuits, particularly as applied to deglitching the output of DACs, have been eliminated by the provision of a dual rank sample and hold circuit and method. That is, a circuit is provided wherein at the start of a sampling period the sample and hold output tracks the sampled input signal in response to that signal via one signal path, while a storage capacitor is charged or discharged to the level of the input signal via another signal path. Once enough time has passed to allow for acquisition of the signal level by the capacitor, the capacitor is disconnected from the input signal and the output is provided in response to the voltage on the storage capacitor. In application to the deglitching of the output of a DAC, a sampling phase of the sample and hold circuit begins after the settling time of one conversion event and ends prior to the beginning of the next conversion event, and a hold phase of the circuit continues through the next conversion event to the beginning of the next sampling phase. In this way glitches in the DAC output are ignored while introducing very little acquisition or droop distortion. In one embodiment of the invention switching and timing circuitry is provided so that during a first sampling phase the input signal to be sampled is coupled to an output amplifier via a first signal path and also coupled to the storage capacitor via a second signal path, the capacitor being coupled to the output amplifier by a resistor. Consequently, the output tracks the input signal while the capacitor charges or discharges to the level of the input signal. Thereafter, during a hold phase, the input signal is decoupled from both the output amplifier and the capacitor so that the output amplifier obtains its only input from the voltage on the storage capacitor. Input buffer amplifiers and single-throw switches are included in both of the signal paths. This embodiment provides the advantages of dramatically increasing slew rate while permitting the use of a capacitor having relatively high capacitance so as to minimize droop distortion, and of permitting relatively large input voltage transitions without increasing acquisition time. A second embodiment substitutes for the single-throw switch in the first signal path and the resistor coupling the capacitor to the output amplifier, a double-throw switch which alternatively couples the output amplifier either to the input signal or to the storage capacitor. In this embodiment, during the sampling phase the output amplifier is coupled to the input signal and decoupled from the storage capacitor by the double-throw switch, while the storage capacitor is coupled to the input signal by a second switch. During the hold phase the output amplifier is decoupled from the input signal and coupled to the capacitor by the double-throw switch, while the capacitor is decoupled from the input signal by the second switch. This embodiment provides the essential feature of tracking the input signal via one path while the storage capacitor is being charged via another, thereby dramatically increasing slew rate while permitting the use of a storage capacitor having relatively high capacitance, in a simpler and more economic configuration. However, it requires more accurate switch devices to obtain the same accuracy as the first embodiment and therefore is limited in its application by the lack of current availability of highly accurate switches. The foregoing objectives, features, and advantages of the invention will be more readily understood upon consideration of the following detailed description of the invention, taken in conjunction with the accompanying drawings. In the drawings FIG. 1 shows a waveform illustrative of the analog output of a typical DAC, and a waveform illustrative of an idealized deglitched output. FIG. 2 shows waveforms illustrative of a signal to be sampled, and the resultant sampled signal, in relation to an illustrative sample and hold timing signal. FIG. 3 shows a preferred embodiment of a circuit according to the present invention. FIG. 4 shows waveforms illustrative of the operation of the circuits shown in FIGS. 3 and 5. FIG. 5 shows an alternative embodiment of a sample and hold circuit according to the present invention. DETAILED DESCRIPTION OF THE INVENTION Referring to FIG. 1, a typical DAC waveform 10 includes glitches 12 associated with conversion events. T s designates a maximum settling time following the beginning of a conversion event by which the glitches have dissipated sufficiently that the analog output voltage is within an acceptable accuracy. Waveform 14 illustrates an idealized output from a sample and hold DAC deglitcher, T d representing the time delay from the beginning of a conversion event to the beginning of sample acquisition. The effect of acquisition time is shown in FIG. 2. A signal to be sampled is represented by waveform 16, and a logic timing signal controlling sample and hold events is shown by waveform 18. When the timing signal goes "high" sample acquisition begins. When the timing signal goes "low" the hold phase of a typical sample and hold circuit begins. In the sample and hold output signal 20 it can be seen that there is a portion occurring during the acquisition time T a which does not track the input signal 16. There is a second portion 24, occurring after acquisition, which tracks the input signal, within some degree of accuracy depending upon the rate of change of the input signal, and a third portion 26 which remains at the input signal level at the moment the hold phase begins and typically exhibits some droop. The acquisition portion 22 and droop in the hold portion 26 introduce unwanted distortion which is alleviated by the present invention. Turning now to FIG. 3, a preferred embodiment of a digital-to-analog conversion system according to the present invention employs a DAC 28, having a digital input 30 and an analog output 32; a preferred embodiment of a sample and hold circuit 34 according to the present invention, having an input 36 for receiving an input signal to be sampled and an output 38 for providing a hold output signal; and a low pass filter 40 connected to the output 38 for providing a filtered signal at an output 42. In the sample and hold circuit 34 a capacitor 44 is provided for storing a voltage equal to the level of the sampled signal. A single-throw switch 46 is provided for selectively coupling the capacitor 44 to the input signal. Preferably, a buffer amplifier 48 is provided to couple the input signal to the switch 46 to maximize the slew rate of the signal on the capacitor 44, particularly where the source of the input signal exhibits a relatively high source impedance. It is also preferred that the amplifier employ a negative feedback loop 50 derived from the capacitor 44 for maximum sample accuracy. When the switch 46 is closed capacitor 44 charges or discharges to the level of the input signal during an acquisition period whose length is determined primarily by the capacitance of capacitor 44, the change in voltage level of the input signal, and the effective source impedance of the amplifier 48. The switch is maintained closed for a predetermined period of time long enough for the voltage on the capacitor 44 to reach the voltage of the input signal, after which the switch is opened so that the voltage on the capacitor will remain constant. An output amplifier 52 provides a sample and hold circuit hold output signal at output 38. The input impedance of amplifier 52 must be relatively high in order to minimize droop due to charging or discharging of the capacitor 44 during the hold phase. The input of the amplifier 52 is coupled to the input signal by a single-throw switch 54. Preferably, the switch 54 is coupled to the input signal by a buffer amplifier 56, which provides additional current to the storage capacitor 44 during the sampling phase, as explained below, and provides a low source impedance for the input to output amplifier 52. It is also preferred that amplifiers 52 and 56 each have negative feedback loops to maximize accuracy and stability. When switch 54 is closed the hold output 38 tracks the input signal. The capacitor 44 is connected to the input of output amplifier 52 by a resistor 58. When the switch 54 is closed the amplifier 56 not only drives the input to output amplifier 52, but assists in charging capacitor 44 through resistor 58, thereby decreasing the sample acquisition time. The resistance of resistor 58 is preferably relatively high so as to allow large sample steps with reasonable output drive capabilities in amplifier 56. A timing circuit 60 is provided for opening and closing the switches 46 and 54 at the proper time. The operation of the sample and hold circuit is best explained, in connection with a digital-to-analog conversion system, with reference to FIG. 4. In that figure the DAC output waveform is shown at 62, and illustrative timing signals are shown at 64 and 65. The timing signal 64 is such that it goes high a predetermined period following the beginning of a conversion event, that period being selected so as to exceed the maximum settling time of the DAC. When the timing signal goes high the switch 54 is closed. This causes buffer amplifier 56 to drive output amplifier 52, and thereby track the input signal at a slew rate limited only by the respective slew rates of the two amplifiers, and simultaneously to charge or discharge the capacitor 44 through the resistor 58. Very shortly afterwards, timing signal 65 goes high, closing switch 46 to cause buffer amplifier 48 to charge or discharge the capacitor 44, the two buffer amplifiers combining to increase the slew rate of the signal on capacitor 44. Since the input signal is coupled through amplifiers 56 and 52 to the output 38 the acquisition time T a of the capacitor 44 does not affect the slew rate of the output signal, provided that the sampling period exceeds the acquisition time. The closing of switch 46 is delayed slightly after the closing of switch 54 to prevent glitches from being produced in the hold output by the sample and hold circuit itself due to imprecise synchronization of the two switches. After a predetermined sampling time, the timing signals 64 and 65 go low, thereby opening switches 46 and 54. As can be seen in FIG. 4, the sampling period is set so that the switches are opened after acquisition has ended, as shown by the signal 66 on the capacitor 44. By that time the voltage on the capacitor will have reached the input signal voltage. Consequently the output voltage remains constant despite the opening of switch 54, as shown by the output signal 68 in FIG. 4. In the exemplary application to the deglitching of a DAC, it is preferred that switch 46 be opened slightly before switch 54. This allows capacitor 44 to adjust to the output level of buffer amplifier 56, in the event of a slight mismatch between buffer amplifiers 48 and 56, prior to entering the hold phase. It is to be recognized, however, that in other applications this may not be necessary, or even desirable. In the deglitching of a DAC, sampling begins after the DAC output is settled and continues until after the acquisition period, at which point the hold phase begins and continues through the next conversion event until the next sample. Thus, the circuit eliminates glitches without introducing significant acquisition or droop distortion. While the circuit is particularly applicable to deglitching a DAC output, it is to be recognized that there may be other applications as well. Turning now to FIG. 5, which shows an alternative embodiment, buffer amplifier 56, switch 54, and resistor 58 in FIG. 3 have been eliminated and replaced by a double-throw switch 70 and a timing circuit 72 which may be, but is not necessarily, different from timing circuit 60. In this case the switch 70 alternatively selects as an input to the output amplifier 52 the input signal or the signal on the capacitor 44. It selects the input signal while the capacitor 44 is charging, i.e., during the sample phase, and the signal on the capacitor 44 during the hold phase. Thus, as shown in FIG. 4, a timing signal 74 first goes high, causing switch 70 to be connected to the input signal to track the input signal; shortly thereafter timing signal 65 goes high to close switch 46 and charge capacitor 44. After a period allowed for acquisition, timing signal 74 then goes low, causing switch 70 to be connected to the capacitor 44, and timing signal 65 also goes low, causing switch 46 to open while presenting the same voltage level to the output amplifier 52. While in the exemplary application to the deglitching of a DAC switch 70 could be connected to the capacitor after switch 46 is opened, in some applications simultaneous, or other relative, actuation of the switches to enter the hold phase, may be desirable. While the embodiment of FIG. 5 may be chosen for simplicity and economy in systems, such as video systems, wherein switches with sufficient accuracy to fulfill the task of switch 70 are available, it does not provide the additional advantage of charging the capacitor through two amplifiers, as in the embodiment of FIG. 3. Where high switch accuracy is necessary, as in audio circuits, the embodiment of FIG. 3 is preferred due to the unavailability of accurate switches to fulfill the task of switch 70. It is to be recognized that the switches referred to herein would, in most cases, be electronic switches constructed of semiconductor devices and associated circuitry, though electronically controlled mechanical switches may serve for some applications and are considered within the scope of the invention. It is also to be recognized that other charge storage devices, or an electronic circuit that performs an equivalent function, might be substituted for the conventional capacitor 44 without departing from the principles of the invention. It is further to be recognized that the design of appropriate switches, appropriate timing circuitry, digital-to-analog converters and low pass filters suitable for use with the invention is commonly known in the art. The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention of the use of such terms and expressions of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited by the claims which follow.

Claims: A sample and hold circuit comprising storage means (44) for storing a charge; charging means (46, 48) for charging said storage means (44) to a voltage the level of which is substantially equal to the level of an input signal for a first predetermined period of time; output means (52, 54, 56, 58, 60; 52, 70, 72) for providing an output signal the level of which is substantially equal to the level of said input signal in tracking response to said input signal for a first portion of a second predetermined period of time while said storage means is being charged; and for thereafter providing the voltage from said storage means (44) as said output signal for a second portion of said second predetermined period of time. The circuit of claim 1, characterized in that said output means (52, 54, 56, 58, 60) comprises: a first amplifier (52) having a high impedance input; a resistor (58) connected between said high impedance input and said storage means (44); and tracking means (54, 56) for selectively coupling said high impedance input to said input signal. The circuit of claim 2, characterized in that said storage means comprises a capacitor (44), said charging means (46, 48) comprises a second amplifier (48) having an input responsive to said input signal and first switch means (46) for selectively coupling an output of said second amplifier (48) to said capacitor (44), and said tracking means (54, 56) comprises a third amplifier (56) having an input responsive to said input signal and a second switch means (54) for selectively coupling an output of said third amplifier (56) to said high impedance input. The circuit of claim 3, characterized in that said output means (52, 54, 56, 58, 60) further comprises timing means (60) for synchronizing said first switch means (46) and said second switch means (54) so as first to couple said output of said third amplifier (56) to said high impedance input and thereafter to couple said output of said second amplifier (48) to said capacitor (44). The circuit of claim 2, characterized in that said output means (52, 54, 56, 58, 60) further comprises timing means (60) for synchronizing said charging means (46, 48) and said tracking means (54, 56) so as first to couple said high impedance input to said input signal and thereafter to couple said input signal to said storage means (44). The circuit of claim 1, characterized in that said output means (52, 70, 72) comprises a first amplifier (52) having a high impedance input and selector switch means (70) for selectively coupling said high impedance input either to said input signal during said first portion of said second predetermined period of time or to said storage means (44) during said second portion of said second predetermined period of time. The circuit of claim 6, characterized in that said storage means comprises a capacitor (44), said charging means (46, 48) comprises a second amplifier (48) having an input responsive to said input signal, and first switch means (46) for selectively coupling an output of said second amplifier (48) to said capacitor (44). The circuit of claim 7, characterized in that said output means (52, 70, 72) further comprises timing means (72) for synchronizing said first switch means (46) with said selector switch means (70) so as first to couple said high impedance input to said input signal and thereafter to couple said output of said second amplifier (48) to said capacitor (44). The circuit of claim 6, characterized in that said output means (52, 70, 72) further comprises timing means (72) for synchronizing said charging means (44) and said selector switch means (70) so as first to couple said high impedance input to said input signal and thereafter to couple said input signal to said storage means (44). The circuit of claim 1, characterized in that said input signal is provided by the analog output of a digital-to-analog converter (28) having a predetermined maximum settling period following each conversion event, said output means (52, 54, 56, 58, 60; 52, 70, 72) including timing means (60; 72) for starting said first and second time periods after the settling period of one conversion event but before the next conversion event, said second time period lasting past the settling period of said next conversion event and said first portion of said second time period terminating prior to said next conversion event. A sample and hold method comprising the steps of: a) charging or discharging a capacitor (44) in response to an input signal along a first signal path and b) after said capacitor (44) has charged or discharged to a voltage substantially equal to the voltage of said input signal terminating step (a) and providing as an output signal the voltage on said capacitor (44), characterized by the steps of c) while charging or discharging said capacitor (44) in step (a), providing as said output signal said input signal along a second signal path; and d) after said capacitor (44) has charged or discharged to the voltage of said input signal terminating also step (c) and providing said output signal according to step (b) along a third signal path. A digital-to-analog converter system, comprising: a) a digital-to-analog converter (28) having an analog output and a predetermined maximum analog output settling period following each conversion event; ` b) storage means (44) for storing a charge representative of sampled voltage; c) charging means (46, 48) for selectively coupling said analog output to said storage means (44) along a first signal path for a first time period starting after the settling time of one conversion event, and ending after said sampled voltage has reached the voltage of said analog output but before the next conversion event; and d) output means (52, 54, 56, 58, 60; 52, 70, 72) for providing as an output signal the voltage of said analog output along a second signal path during said first time period and for thereafter providing said sampled voltage along a third signal path for a second time period lasting past the settling time of said next conversion event.

Inventors: PENNEY, BRUCE J.
Applicants: TEKTRONIX, INC.
Application year: 1985
Main classification: G11C27
IPC codes: H03M1, G11C27