Background of the Invention
In any digital sample rate generator, the precision or ambiguity as to the repeatability of taking samples of any waveform, is determined by the variation in the total propagation delay of logic elements. Deviation of the propagation delay is caused by fan out, temperature, and capacitive loading on the logic elements. The problem is usually minimized by designing with the fastest switching logic available, thus the packaging problems and the radio frequency interference problems to the analog portion of the system become very costly.
One prior art technique for sampling is the synchronization of a sample clock using a flip-flop on receipt of a sample initiate command pulse. This causes a sampling ambiguity equal to the PRI. The present invention is an improvement over the prior art in that the sampling ambiguity is not determined by the PRI but rather by the resolution established by the number of delay line taps.
Summary of the Invention
A precision digital sampler is provided including a sample clock pulse generator which supplies pulses to a tapped delay line. The total delay of the delay line equals the PRI of the sample clock and the number of taps is selected to achieve the desired minimum ambiguity in taking the first sample. The outputs of the tapped delay line are tied to a buffer register. The buffer register includes one storage cell per delay line tap. The data from the delay line is stored in the register on receipt of a command. A decoder determines where the leading edge of the sample clock pulse was when the command was received. The location in time of the leading edge of the sample clock pulse is determined which is then used by a control switching circuit to determine which delay line tap should be enabled. The enabled tap then supplies the leading edge of the sample clock pulse.
It is a principal object of the invention to provide a new and improved precision digital sampler.
It is another object of the invention to provide a precision digital sampler that is less expensive than currently available devices.
These together with other objects features and advantages of the invention will become more readily apparent from the following detailed description when taken in conjunction with the illustrative embodiment in the accompanying drawings.
Description of the Drawings
FIG. 1 is a block diagram of one presently preferred embodiment of the invention; and
FIG. 2 is a detailed schematic diagram of the block diagram of FIG. 1.
Detailed Description of the Preferred Embodiment
Referring now to FIG. 1, the basic components of the invention are shown to be a sample rate clock 1 tapped delay line 2 data storage register 3, decoder 4 and control switching circuit 5. Operation of the circuit is initiated by a command signal designated "sample initiate command".
The sample clock 1 is inputted to tapped delay line 2 as shown. Each output tap is inputted to a buffer register in data storage register 3 which is a simple flip flop storage device. On command "Sample Initiate Command" the output state of each tap of the delay line is stored within the buffer register. This data provides a time sample of the position of the sample rate clock within the delay line. Decoder circuit 4 analyzes this data to establish at which tap the leading edge of the sample clock is presently positioned. The control switching circuit based on the decision made by the decoder enables the specified tap of the delay line to provide the gated sample rate.
Sample rate clock 1 may be a free running oscillator generating a 50 percent duty cycle pulse at the desired sampling rate. The pulses from sample rate clock 1 drive tapped delay line 2 as noted above. Tapped delay line 2 includes output taps T.sub.1, T.sub.2 . . . T.sub.n. The total delay of tapped delay line 1 equals the PRI of sample clock 1 and the number of taps is established by the minimum ambiguity (the smallest interval of time in which one cannot establish where a pulse will occur) allowed in taking the first sample. For example, a 100 nanosecond delay line tapped every 10 nanoseconds would enable a 10 MHz sample clock to generate a maximum deviation in the sample time of 10 nanoseconds. Thus using this example, there is less technical risk and lower cost in packaging a 10 MHz sampling system with an ambiguity of 10 nanoseconds using a 10 MHz clock than a 100 MHz clock.
The outputs of tapped delay line 2 are tied to buffer register 3 which is a storage device whose basic element is a flip flop. A typical integrated circuit used as a buffer register could be a SN74161 which is a 4 bit register. This register is illustrated in FIG. 2 and contains one flip flop (or storage cell) per delay line tap. The data from tapped delay line 2 is stored in register 3 on receipt of a sample initiate command.
The Sample Initiate Command is an enable pulse generated by an external circuit from the invention herein disclosed which commands the Precision Digital Sample circuit to begin generate sample clock pulses.
A typical example of such an input would be a video waveform that is to be sampled. The video waveform is inputted to a A/D converter and a voltage threshold circuit. Upon the video pulse exceeding the preset reference voltage on the threshold circuit, a pulse is developed called Sample Initiate Command to the Precision Digital Sample Circuit. This circuit then generates the clock pulses at a fixed frequency to the A/D converter to digitize the video pulse.
In storing the outputs of the delay line 2, the state of the sample clock is now known to the resolution of the taps.
State of the sample clock refers to establishing the leading edge of the sample clock. The leading edge of the sample rate clock is established by looking at each tap of the delay line simultaneously. Starting with the last tap, the decoder looks for the first tap in zero state. Upon finding this location, the decoder knows the next tap in the one state is the leading edge of the sample clock.
The leading edge of the sample rate clock is the first translation from a zero to one state after receipt of the Sample Initiate Command. Decoder 4 in performing this function studies the states and determines where the leading edge of the sample rate clock was when the sample initiate command was received. Determining the location of the leading edge of the sample clock takes X nanoseconds, which is easily calculated. The calculated time is used by conventional control switching circuit 5 to determine which tap should be enabled. The leading edge of the sample clock is thus enabled at the resolution of the delay line taps. It is noted that the control switching circuit has inputs from decoder 4 and inputs T.sub.1, T.sub.2 . . . T.sub.n from tapped delay line 2.
A detailed schematic diagram of the precision digital sampler described above is shown in FIG. 2. This Figure illustrates the tapped delay line 2 fed by sample rate clock 1 through inverter 10 and NAND gate 11 and connected to ground through resistor 22. The output taps of delay line 2 are fed to flip flop 15 of data storage register 3 and also to the NAND gates 18 of control switching circuit 5 as shown. Decoder 4 consists of the arrangement of inverter gates 16 and AND gates 17 shown. Decoder 4 operates from flip flops 15 and actuates control switching circuit 5. Control switching circuit 5 also includes NAND gates 19, 21 and inverter gates 20. A reset circuit includes NAND gate 13 and inverter gate 14 connected as shown. Actuation of the reset circuit clears the storage register 3 prior to the generation of each sample initiate command.
There has thus been disclosed a precision digital sampler having the ability to gate out a sample rate clock at a known time interval upon receipt of a sample initiate command. The number of taps within the delay line enable the system to be designed at a low sample clock rate while providing high resolution or minimum ambiguity.
While the invention has been described in its preferred embodiment it is understood that the words which have been used are words of description rather than words of limitation and that changes with the purview of the appended claims may be made without departing from the scope and spirit of the invention in its broader aspects.