Background of the Invention
Traditional methods of providing analog to digital conversion is accomplished using counters, clocks, latches, or integrators. Typically a previous method uses frequency counters feeding digital to analog (DA) converters with the counters counting up or down until the output of the DA converter equals the original analog voltage. A second method uses the integrator technique with counters counting until the integrator voltage equals the unknown input voltage. For both of these methods the digital outputs are obtained from the outputs of counters.
Summary of the Invention
A direct conversion analog to digital converter is provided by using subtractors, comparators, and field effect transistor switches. The converter directly converts analog voltages to digital logic voltages with simple, direct circuitry and can provide the output as a binary or binary coded decimal (BCD) output. An input voltage signal is supplied and operated on in sequence by successive stages of the converter, each stage responding to the particular input signal according to established bias for the particular stage, which determines the digital output of that stage.
Brief Description of the Drawings
FIG. 1 is a schematic diagram of a preferred embodiment of the invention.
FIG. 2 is a schematic diagram of a typical field effect transistor switch for providing the switching function in FIG. 1.
Description of the Preferred Embodiment
Referring now to the drawings wherein like numbers represent like parts in each figure, FIG. 1 discloses a preferred embodiment of a four bit subtractor analog to digital converter for providing direct conversion. Analog to digital converter 10 is shown typically as comprising separate section 20, 30, 40 and 50 for providing a four bit binary or binary coded decimal (BCD) output. Sections 20-50 are substantially identical responding only to different voltage input levels according to preset biasing. Section 20 comprises an operational amplifier 21, a comparator 22 and a field effect transistor (FET) switch 24. Resistors R1, R2, R3, and R4 are identical in value and function with operational amplifier 21 to provide a subtractor circuit. R1 provides a feedback path from the output of amplifier 21 to the negative input, R2 is coupled to an input terminal 26 and the negative input of amplifier 21 for providing a comparison or biased voltage input thereto. R3 is coupled between the system ground and the positive input of amplifier 21, and R4 is coupled between the positive input of the amplifier and an input terminal 28. Input terminal 28 is adapted for receiving input analog signals for processing by the analog to digital converter. The field effect transistor switch 24 operates as a single pole-double throw switch and is shown schematically as having terminals A, B and C with terminal C being connected to the switch blade and terminal positions A-C representing one switch position and terminal positions B-C representing another switch position. Terminal A is connected to terminal 28 for selectively providing a path through switch 24 to subsequent sections 30, 40 and 50 for the input signal. Terminal B of switch 24 is connected to the output of operational amplifier 21 for selectively coupling output signals from the operational amplifier to the subsequent sections of the converter. Comparator 22 has a positive input coupled to the output of operational amplifier 21 and a negative input coupled to ground for providing a positive or negative output to an output terminal 29 which is indicative of the high-low or 1-0 output of the section. The output of comparator 22 is further fed back to FET 24 at input D for controlling the position or state of the switch. Sections 30, 40 and 50 are substantially the same in structure as section 20. In these sections resistances R1, R2, R3, and R4 provide the same functions as the resistances in section 20 and have the same numerical value. Operational amplifier 31 receives a bias input from terminal 36 and a signal input from the output of FET 24 through resistor R4 to the positive input of operational amplifier 31. The output of amplifier 31 is coupled as the positive input to a comparator 32 and provides a signal to the B input of FET switch 34. The A terminal of FET 34 is also coupled to the C terminal or output of FET 24. The output signal from comparator 32 is coupled to terminal 39 of section 30 and to switch FET 34. Similarly elements 41, 42 and 44 of section 40 operate in response to the input signal received from FET 34 to provide a binary output at terminal 49 and to supply the remainder signal to FET 44 and section 50. Section 50 responds in like manner with operational amplifier 51, comparator 52 and FET 54 responding to any output signal from FET switch 44 to provide an appropriate binary output at terminal 59 and couple any remainder signal to a following stage.
Depending on the degree of signal processing desired, processing may be terminated at this point with outputs from terminals 29, 39, 49 and 59 being coupled to provide the binary or BCD output signal indicative of the analog voltage supplied thereto. If additional resolution of the input signal is desired an operational amplifier 60 is shown having the positive input coupled to receive the output from FET 54, with the output signal from amplifier 60 being coupled to an output terminal 28B. A feedback path is provided from the output of amplifier 60 through resistance R1 to the negative input of the amplifier. The negative input of amplifier 60 is further coupled through resistances 62 and 64 to a selector switch 66. Selector switch 66 is coupled to ground and is switchable between resistors 62 and 64 to change the input bias signal coupled to the negative input of operational amplifier 60 for selecting binary or binary coded decimal signal processing for a subsequent stage. Typically with switch 66 coupling ground to resistor 62, amplifier 60 provides a voltage amplification of 16 times the input signal for preparing the input signal for subsequent analog to digital processing to provide a binary output signal. Similarly with switch 66 coupled to resistor 64 amplification of amplifier 60 is 10 times the input voltage signal for preparing the input signal for subsequent processing to provide a BCD output. Terminal 28B which is the output of amplifier 60 may be considered typically as the input to a subsequent four bit subtractor analog to digital convertor stage identical to sections 20, 30, 40 and 50 which are responsive to inputs signals at terminal 28.
FIG. 2 shows a typical FET switching circuit for providing the switching functions of FET switches 24, 34, 44, and 54. Typically, FET 24 comprises first and second field effect transistors coupled to receive a gating or logic input D from the output of the comparator. The normally closed switch path of the first field effect transistor is coupled between input A and output C. The normally opened switch path of the second field effect transistor is coupled between input B and output C. This state is maintained when the respective sections comparator outputs are logical zero. When a logic 1 output is coupled to terminal D, the switches change position, coupling the output from the operational amplifier through the FET.
In operation, the input voltage at terminal 28 (V.sub.1) is applied to terminal A of FET switch 24 and to one input of subtractor amplifier 21. A voltage reference E.sub.1R signal such as an 8 volt reference is applied to the negative input of amplifier 21. The difference of the two signals appears at the output of amplifier 21, at point B of FET switch 24, and at the input of comparator 22. For V.sub.1 less than E.sub.1R switch 24 remains in position A and V.sub.1 is applied to the second stage amplifier 31. A logic 0 is present on the output terminal 29 for this condition. If V.sub.1 is greater than E.sub.1 switch 24 is switched to position B, changing the voltage coupled to the second stage, the changed voltage being V.sub.1 -E.sub.1R. Comparator 22 goes high causing a logic 1 to appear on output terminal 29.
Operation of the second section 30 is similar to the first. The voltage V.sub.2 (V.sub.2 =V.sub.1 -E.sub.1R) applied through FET switch 24 has reference voltage E.sub.2R subtracted from it on the output of amplifier 31. If the voltage V.sub.2 -E.sub.2R is greater than 0 switch 34 is switched to the B position and a logic 1 appears on the output terminal 39. If the voltage V.sub.2 -E.sub.2R is less than 0 switch 34 remains in position A and a logic 0 appears on output terminal 39.
This process is continued for the next two stages, the signal going through FET 54 being less than reference voltage E.sub.4R provided at terminal 56. This signal identified as V.sub.5 is coupled to amplifier 60. Amplifier 60 increases the signal either by 10 or 16 times depending on whether BCD or binary outputs are desired.
For an actual voltage example, assuming 7.5 volts analog are applied to input terminal 28 and E.sub.1R being 8 volts, E.sub.2R being 4 volts, E.sub.3R being 2 volts, and E.sub.4R being 1 volt, FET switch 24 will be in position A since the output of amplifier 21 is less than 0 (V.sub.1 -E.sub.1R =7.5 volts-8 volts=-0.5 volts). Switch 34 will be in position B since V.sub.2 -4=7.5-4=3.5 volts, which is greater than 0 and a positive output from comparator 32 switches FET 34. A logic 1 will appear at the output terminal 39. The output of amplifier 41 is V.sub.3 -2=3.5-2=1.5 volts which is greater than 0 causing FET 44 to be in position B and a logic 1 to appear at the output terminal 49. The output of amplifier 51 is V.sub.4 -1=1.5-1=0.5 volts which is greater than 0 causing FET 54 to be in position B and a logic 1 to appear at the output 59. The remainder of 0.5 volts is amplified by amplifier 60 and applied to the next stage of conversion. Thus for the 7.5 volt input, comparators 22, 32, 42 and 52 have logic outputs at terminals 29, 39, 49, and 59 of 0111 which is binary seven.
This circuit of FIG. 1 is for only 1 digit and a display unit can be driven from the binary outputs to indicate the instantaneous value of the analog signal being processed in digital format. For each additional digit desired additional circuits like FIG. 1 are added following amplifier 60. By using quad operational amplifiers, quad comparators and quad FET switches, the analog to digital conversion can be accomplishd with a minimum package count.
Typical components which can provide the respective amplifier and switching functions of the converter include the following shelf items of National Semiconductor Corporation but are not limited thereto.
Operational amplifiers: LM1458
Comparators: LM334
Amplifier 60: LM1458
FET switches: LF11333
Typically, for binary operation the maximum voltage processed by a single, four section circuit as shown is less than 16 volts. Adding one additional stage with proper reference voltages (E ref) per stage would allow a binary readout of less than 32 volts. Similarly reducing the section to three sections would allow processing only signals less than 8 volts analog. For BCD operation the limiter at the input of terminal 28 insures that the initial input analog signal is less than 10 volts.
Although a particular embodiment and form of this invention has been illustrated, it is apparent that various modifications and embodiments of the invention may be made by those skilled in the art without departing from the scope and spirit of the foregoing disclosure. Accordingly, the scope of the invention should be limited only by the claims appended hereto.