Background of the Invention
1. Field of the Invention
This invention relates to the field of converting digital signals to analog representation and, more particularly, to high resolution pipelined digital-to-analog converters.
2. Description of Related Art
A wide variety of analog devices are often controlled by digital computers, examples of which include various types of analog positioning devices which may be part of systems designed to control missile steerage and speed. To interface these devices with digital computers, circuits known as digital-to-analog converters have been developed which can provide an analog output voltage dependent on the value of a digital input signal from the computer. The output voltage of an n-bit digital-to-analog converter can typically be represented as:
where V.sub.out is the output voltage of the converter, V.sub.ref is a reference voltage applied to the converter, and b.sub.o -b.sub.1. . . -b.sub.n-1 is the digital input signal delivered to the converter where b.sub.o represents the least significant bit and b.sub.n-1 is the most significant bit.
Many digital-to-analog converters are essentially voltage divider networks having each bit driving a weighted resistor to produce the desired output voltage. Other digital-to-analog converters use an R-2R resistive ladder, in which resistors of two values are arranged in a ladder network to produce an analog output signal. Because resistors fabricated from polysilicon or by diffusion are inherently large and non-linear with respect to voltage, the preferred practice in MOS (metal oxide semiconductor) technology is to use capacitive elements in integrated digital-to-analog converters. Such capacitors are typically constructed by placing a metal or polysilicon electrode over a thin insulating layer on the surface of a doped region of the silicon substrate or on the surface of a second polysilicon layer. By using binary weighted conversion capacitors and fedback capacitors of this type, in conjunction with field-effect transistors, digital-to-analog converters can be fabricated relatively simply.
While digital-to-analog converters using binary weighted capacitors can be fabricated using MOS technology as described above, their utility often becomes limited as the desired resolution (i.e., the number of bits to be converted) increases. Since each bit generally requires a weighted conversion capacitor having a value equal to twice that of the next least significant bit, the ratio of the feedback capacitance to that of the conversion capacitor associated with the least significant bit doubles for each one bit increase in resolution. This doubling of the capacitance ratio may inherently reduce the accuracy of conversion by a statistically determined quantity and has generally limited resolution of MOS converters to approximately 8 bits in actual practice.
In addition, the digital-to-analog converters fabricated using MOS are not generally pipelined (i.e., unable to operate on more than one word simultaneously) thus limiting throughput. Though relatively fast converters exist in other technologies, a number of difficulties have emerged in attempting to implement pipelined converters using MOS fabrication techniques. In addition to requiring resistors having the disadvantages described above, the energy dissipated by these converters is generally relatively large and hence, unsuitable for MOS implementation.
Summary of the Invention
It is therefore a primary purpose of the present invention to provide a high speed digital-to-analog converter which may be pipelined. A related purpose of the present invention is to provide a digital-to-analog converter in which the ratio of the feedback capacitance to that of the conversion capacitors remains substantially constant while resolution increases.
It is further purpose of the present invention to provide a digital-to-analog converter which may be used in applications where high resolution is required.
It is also a purpose of the present invention to provide an integrated digital-to-analog converter in which the accuracy of conversion remains high as the resolution increases.
These and other objects of the invention are accomplished by providing a digital-to-analog converter comprising a first switching means for charging a first capacitor upon receipt of a digital signal during the first half of a clock cycle. Second switching means is further provided for transferring the charge from the first capacitor to a second capacitor during the second half of the clock cycle. Also provided is a means for discharging and preventing the charging of the second capacitor during the first half of the succeeding clock cycle, such discharge constituting the analog output. Further provided is a plurality of such converters and flip-flops so adapted as to allow pipelining of succesive multibit digital words.
Brief Description of the Drawngs
The various advantages of the present invention will become apparent to one skilled in the art upon reading the following specifications and by reference to the drawings in which:
FIG. 1 illustrates a circuit capable of simultaneously converting a one-bit digital signal and an analog signal into an analog representation which is able to be pipelined;
FIG. 2 is a timing diagram for the clock used in conjunction with the circuit of Fig. 1; and
FIG. 3 illustrates a pipelined, multiple-bit digital-to-analog converter using a plurality of the circuits of FIG. 1.
Description of the Preferred Embodiment
Referring to FIG. 1, to convert a one-bit digital word into an analog representation, a one-bit digital-to-analog converter 10 is provided which has an analog voltage output terminal 14 coupled to a feedback capacitor C1 through an analog switch 16. As illustrated in FIG. 2, the converter 10 is supplied wth a suitable means such as inverter 18 for generating from a master clock generator (not shown), two clock pulse trains .PHI. (during the first half of the clock cycle) and .PHI. (during the last half of the clock cycle) from a master clock generator (not shown). The analog switch 16 in the preferred embodiment is an enhancement mode MOS n-channel field-effect transistor, and is closed upon receipt of an enabling .PHI. signal which is generated during the second half of the clock period or cycle. An output voltage V.sub.out at the output terminal 14 of the converter 10 is delivered during the next .PHI. cycle and is related to the capacitance of the capacitor C.sub.1 and the charge stored thereon according to the following approximate relationship:
where C1 is the capacitance of the capacitor C.sub.1 measured in farads, and Q.sub.1 is the charge on the capacitor in coulombs. Typically, the capacitance of capacitor C.sub.1 is relatively low (e.g., approximatley 1 picofarad) in applications where speed is the primary concern so that charging time can be minimized. When high resolution is also important, the value of capacitor C.sub.1 is somewhat larger (i.e., approximately 5 picofarads) to reduce random edge and random oxide effects occurring when the plate area of the capacitor is relatively small with respect to its perimeter.
The feedback capacitor C.sub.1 derives its charge from conversion capacitor C.sub.2 and as will be discussed later, from conversion capacitor C.sub.3.
To deliver charge to the capacitor C.sub.1, the second plate 20 of the capacitor C.sub.1 is connected to the first plate 22 of a conversion capacitor C.sub.2. The capacitor C.sub.2 is used to initially store a charge during the first half of the clock cycle, which is then transferred to the capacitor C.sub.1 during the second half of the clock cycle. The capacitor C.sub.2 is charged by creating a voltage drop across its plates, and has a capacitance of approximately half that of the capacitor C.sub.1 so as to generate an appropriate transfer function as discussed subsequently.
To place a positive voltage on the second plate 24 of the capacitor C.sub.2 during the first half of the clock cycle, the second plate 24 is connected to a reference voltage terminal 26 of the converter 10 by analog switches 28 and 30. As with the other analog switches of the converter 10 (e.g., switch 16), the analog switches 28 and 30 are enhancement mode MOS n-channel field-effect transistors. When a high logic level for a given bit position b is received by the converter 10 from a digital computer (not shown), the analog switch 28 connects the analog switch 30 to the reference voltage terminal 26 which is at a potential of V.sub.ref. When an enabling .PHI. signal is received by the analog switch 30 during the first half of the clock cycle, the switch 30 connects the reference voltage terminal 26 to the second plate 24 of the capacitor C.sub.2, the potential of which increases to V.sub.ref. To prevent the node between the analog switches 28 and 30 from floating, an analog switch 32 is provided which couples this node to ground upon receipt of a low logic level for bit position b.
To ground the first plate 22 of the capacitor C.sub.2 during the first portion of the clock cycle, the first plate 22 is further connected to the inverting terminal 34 of an operational amplifier 36. While in the preferred embodiment, the operational amplifier 36 is a folded cascade operational amplifier, it is to be understood that other types of operational amplifiers may be used. The first plate 22 is also connected through a switch 38 to the output terminal 14, which serves to deliver the output of the operational amplifier 36. Because of the low output impedance of the operational amplifier 36, the output terminal 14 of the operational amplifier 36 is grounded which grounds the first plate 22 of the capacitor C.sub.2 and the second plate 20 of the capacitor C.sub.1. The first plate 12 of the capacitor C.sub.1 is also grounded during the first half of the clock cycle by the actuation of an analog switch 40. In addition to supplying the analog output voltage V.sub.out during the first half of the succeeding clock cycle, the capacitor C.sub.1 provides the desired dominant pole compensation for the operational amplifier 36 to ensure proper operation. Further, the arrangement of C.sub.1 and C.sub.2 eliminates the effect the offset voltage of the operational amplifier 36 would otherwise have on the operation of the converter 10. While the operational amplifier 36 and the analog switch 40 discharge and prevent the charging of the capacitor C.sub.1 during the first half of the clock cycle, it is to be understood that any other means for discharging and preventing the charging of the capacitor C.sub.1 during the first half of the clock cycle can also be used.
To transfer the charge on the capacitor C.sub.2 to the capacitor C.sub.1 during the second half of the clock cycle, an analog switch 42 is used to couple the second plate 24 of the capacitor C.sub.2 to ground upon receipt of an enabling .PHI. signal. When the second plate 24 of the capacitor C.sub.2 is connected to ground through the switch 42, the charge stored on the capacitor C.sub.2 is dissipated by current flowing from the terminal 14 of the operational amplifier 36 through the analog switch 16 and the capacitor C.sub.1 to the capacitor C.sub.2. Since the current flowing through the capacitors C.sub.1 and C.sub.2 is the same, the charge on the capacitor C.sub.1 induced by the current is equivalent to the dissipated charge on capacitor C.sub.2. This charge on the capacitor C.sub.1 causes a voltage to be developed across its plates equal to (C2) (V.sub.ref /C1), or V.sub.ref /2, as the capacitance of the capacitor C.sub.1 is chosen to be twice that of the capacitor C.sub.2. This voltage is applied to the output terminal 14 by the analog switch 16.
To allow the converter 10 to be pipelined, an additional feed-in capacitor C.sub.3 is used. The first plate 44 of the feed-in capacitor C.sub.3 is connected to the second plate 20 of the capacitor C.sub.1 and the second plate 46 of C.sub.3 is connected to the analog input terminal 48 of the converter 10 through an analog switch 50. The analog input terminal 48 is used to receive an analog signal V.sub.in from a substantially identical upstream converter (not shown). When actuated during the first half of the clock cycle upon receipt of an enabling .PHI. signal, the analog switch 50 connects the analog input terminal 48 of the converter 10 to the second plate 46 of the capacitor C.sub.3 which increases the potential at the plate 46 to V.sub.in. Because the first plate 44 of the capacitor C.sub.3 is grounded during the first half of the clock cycle by means of the operational amplifier 36, the charge on the capacitor C.sub.3 is equal to Q.sub.3 =(C3) (V.sub.in), where C3 is the capacitance of the capacitor C.sub.3 and is chosen to be half that of the capacitor C.sub.1.
To transfer the charge on the capacitor C.sub.3 to the capacitor C.sub.1 during the second half of the clock cycle, an analog switch 52 is located between the second plate 46 of the capacitor C.sub.3 and ground. When the analog switch 52 is actuated upon receipt of an enabling .PHI. signal, the charge stored on the capacitor C.sub.3 is dissipated by current flowing from the terminal 14 of the operational amplifier 36 through the analog switch 16 and the capacitor C.sub.1 to the capacitor C.sub.3. Since the current flowing through the capacitors C.sub.1 and C.sub.3 is the same, the charge on the capacitor C.sub.1 induced by the current is equivalent to the dissipated charge on the capacitor C.sub.3. Because both the capacitors C.sub.2 and C.sub.3 cause charge to be induced on the capacitor C.sub.1, the voltage at the first plate 12 of the capacitor C.sub.1 is equal to: ##EQU1## Since the values of capacitors C.sub.2 and C.sub.3 are chosen to be half that of the capacitor C.sub.1, the converter is able to produce the following transfer function: ##EQU2## where Z.sup.-1/2 indicates that the output signal appears one-half of a clock cycle after the input is applied to the converter. Importantly, the ratio of feedback capacitance to that of the conversion capacitor is low and remains constant as resolution increases, so that the accuracy of conversion remains high as words exceeding 8 bits in length are converted.
To accomplish pipelining and to combine the conversion of multiple bits of a digital word into a single analog output, a plurality of shift registers composed of D-flip-flops 56-74 are connected to a plurality of one-bit converters 78-86 as shown in FIG. 3. The D-flip-flops 56-74 are used to delay delivery of the bits b.sub.1 -b.sub.n-1 to the converter 78 and to the flip-flops 66-72 by one-half of a clock cycle. The D-flip-flops 56-74 are connected directly to a clock generator (not shown) or to an inverter 88 which is connected to the clock generator.
In operation, the digital bits b.sub.0 -b.sub.n-1 are applied simultaneously to the one-bit converter 76 and the D-flip-flops 56-64, respectively, over successive clock cycles. During the first half of the first clock cycle, the processing of bit b.sub.o by the converter 76 begins while the bits b.sub.1 -b.sub.n-1 are delayed by D-flip-flops 56-64 for one-half of the first clock cycle. During the first half of the succeeding clock cycle, the analog representation of bit b.sub.o is delivered to the converter 78 for the processing as V.sub.in, while b.sub.1 is simultaneously delivered by the D-flip-flop 56. In addition, the bits b.sub.2 -b.sub.n-1 are transferred to the next D-flip-flops 66-72 in their respective shift registers for another one-half clock cycle. Also, during the first half of the next clock cycle, another word having new bits b.sub.o -b.sub.n-1 is applied to the converter 76 and the D-flip-flops 56-64, respectively. Simultaneously, the analog representation of the bits b.sub.o and b.sub.1 of the first word generated by the converter 78 is also applied to the input of the converter 80, and is later combined with the analog representation of bit b.sub.2 during the subsequent half clock cycle. This process continues until bit b.sub.n-1 is combined with the previous bits to produce an analog representation of the n-bit word of the following form:
The analog representation of the n-bit word is therefore available in n/2 clock cycles, and successive digital words are provided to the converter 76 and D-flip-flops 56-64 at the beginning of each clock cycle.
It should be understood that while the present invention was described in connection with one specific embodiment, other modifications will become apparent to one skilled in the art upon a study of the specification, drawings and following claims.