Abstract:
A single channel analog-to-digital converter of the pulse density code type includes a D-type flip flop, a clock source to clock the flip flop, an analog signal input coupled to the D input of the flip flop and at least one feedback circuit connected from the Q output of the flip flop to the D input of the flip flop. The feedback circuit includes a means to integrate the Q output signal of the flip flop.

Description:
BACKGROUND OF THE DISCLOSURE 
     This invention relates to an analog-to-digital converter and is particularly applicable for use in single channel PCM (pulse code modulation) equipment. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide an analog-to-digital converter of the pulse density code types. 
     A feature of the present invention is the provision of an analog-to-digital converter comprising a D-type flip flop having a D input, a Q output, a Q output and a clock input; a first source of clock signal coupled to the clock input; first means for coupling an analog signal to the D input; at least a first feedback circuit connected from the Q output to the D input; the first feedback circuit including a second means to integrate the output signal from the Q output; and an output for the converter coupled to the Q output. 
     The output of this type of converter is a pulse stream in which the density of the pulses, i.e. the average number of pulses in a given period, is proportional to the amplitude of the signal being encoded and is referred to as a pulse density code. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Above-mentioned and other features and objects of this invention will become more apparent by reference to the following description taken in conjunction with the accompanying drawing, in which: 
     FIG. 1 illustrates a simple analog-to-digital converter in accordance with the principles of this invention; 
     FIG. 2 illustrates the relationship between a clock waveform and the output waveform for the circuit of FIG. 1 in the absence of an input signal; 
     FIG. 3 illustrates the voltage on the capacitor of FIG. 1 in the absence of an input signal; 
     FIG. 4 illustrates the relationship between the voltage on the capacitor of FIG. 1 and the output of the circuit when an input signal is present; 
     FIG. 5 illustrates a modification of the circuit of FIG. 1 in which a d.c. (direct current) bias voltage is applied; 
     FIG. 6 illustrates a further modification of FIG. 1 in which the circuit employs current gain; 
     FIG. 7 illustrates another modification of the circuit of FIG. 1 in which the converter is included in the feedback path of an amplifier; and 
     FIG. 8 illustrates a modification of the circuit of FIG. 7 in which an automatic bias voltage is incorporated. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     In the simple circuit shown in FIG. 1 an analog input signal is applied via resistor R1 to the input D of a D-type flip flop. This is a bistable device in which the sign of the output Q will be the inverse of the sign of the D input whenever the device is triggered by a signal f c , in this case a clock signal. The flip flop also has a complementary output Q, the significance of which will become apparent later on. The Q output, which is also the output of the converter, is applied via a feedback path, which includes resistor R2, to the D input of the flip flop. The flip flop input is also connected to a capacitor C1, which for convenience is shown as being grounded at its other terminal. 
     Consider first the action of the circuit in the absence of an input signal. The voltage across the capacitor C1 is derived from the Q output of the flip flop. When the Q output goes positive, the voltage e rises and crosses the triggering threshold level V c  for the flip flop (FIG. 3). When next the flip flop is clocked, the positive voltage at the D input causes Q output to go negative. This causes the voltage on the capacitor to go negative and, at the next clock pulse, Q output will go positive. The time constants of the circuit are chosen so that the Q output changes sign every alternate clock pulse, as shown in FIG. 2. 
     Consider now what happens when an input signal of positive amplitude is presented to the circuit. Current will flow in R1 and will tend to reinforce the positive going outputs from Q output. The circuit will then maintain its positive going input at the D input and Q output will continue negative until sufficient time has elapsed to bring e back to just below the threshold level V c . Q output will then go positive for one clock pulse, whereupon the combination of the input and the brief positive Q output pulse will again cause e to stay positive until e is brought back to just below V c . FIG. 4 illustrates the relationship between e and Q output for a positive input signal. It will be seen that the Q output is a pulse train in which the ratio of &#34;spaces&#34; to &#34;marks&#34; is increased compared to the 1:1 ratio of the no input, or idling, condition. The ratio of &#34;spaces&#34; to &#34;marks&#34; is proportional to the amplitude of the input signal. For a negative going input signal the situation is reversed, the number of &#34;marks&#34; being greater than the number of &#34;spaces.&#34; However, only a very small change causes the pattern of Q output pulses generated by the flip flop to be modulated such that the average current flowing in resistor R2 is equal and opposite to that in resistor R1. This change must be held within the limits +Vp and -Vp of the flip flop input threshold. Provided the input signal is maintained within these limits the pulse pattern at any given input signal sample has an average analog value equivalent to the signal (when resistor R1 equals resistor R2) and is pulse density modulated. 
     The maximum encodable signal peak will be limited to ± Vp because at these levels the Q output is an all &#34;space&#34; or all &#34;mark&#34; signal. Input signals exceeding these limits will be completely clipped. The time constant T o  = RC/2 (when R1=R2=R) is chosen so that the maximum signal frequency does not exceed 1/2πT o . 
     In practice it is often desirable to encode signals which are offset from zero, i.e. the input signal while changing amplitude is always of one sign. In the circuit of FIG. 5 a d.c. bias voltage is introduced via resistor R11. The d.c. bias is chosen so that the threshold level V c  falls midway in the amplitude range of the signal to be encoded. 
     If the circuit is required to have gain resistors R1 and R2 are replaced by transistors T1 and T2, as shown in FIG. 6. This circuit also includes the d.c. bias arrangement of FIG. 5. 
     The dynamic range of the circuits so far described is limited by the coarsest quantizing step which normally occurs at the center of the range (the idling level). One way of overcoming this is to provide a &#34;dither&#34; signal of suitable frequency outside the signal pass band. This in effect causes the input signal to exceed the positive going and negative going thresholds at frequent intervals even when the changes in the input signal are so small that normally no such crossing of V c  would occur. This technique may readily be accomplished by inserting the converter of FIG. 1 in the feedback loop of a high gain operational amplifier, as shown in FIG. 7. The input signal is applied via resistor R5 to one input of operational amplifier A. The Q output is applied not only to capacitor C1 via resistor R2 but also to the same input of the amplifier via a feedback path which includes resistors R3 and R4 and capacitor C2. The pulse output of Q output is effectively demodulated by the filtering action of resistor R3 and capacitor C2 and the resulting analog signal is fed through resistor R4 to the input of amplifier A. If the open loop gain of amplifier A is very high the closed loop gain is given by ##EQU1## where E.sub. s is the input voltage and E o  is the voltage on capacitor C2. The output waveform from the amplifier will be such that the decoded Q output will maintain this equation. Therefore the encoding errors will be minimized and especially the effects of large quantum steps. This results in an improvement in the levels of harmonic distortion of the converter. 
     In the modification of the circuit of FIG. 7 which is shown in FIG. 8 an automatic biassing is incorporated, in contrast to the d.c. biassing of the earlier figures. The Q output of the flip flop is fed back via a smoothing circuit containing resistors R6 and R7 and capacitor C3 to the other input of the operational amplifier A, which is grounded via resistor R8. To provide effective bias resistor R5 should be equal to resistor R8 and R3 + R4 = R6 + R7. The bias applied to the circuit is thus made to vary automatically as the densisty of the Q output pulses varies. 
     While I have described above the principles of my invention in connection with specific apparatus it is to be clearly understood that this description is made only by way of example and not as a limitation to the scope of my invention as set forth in the objects thereof and in the accompanying claims.