A ramp type analogue to digital converter including an integrating circuit the output of which is first set to a level dependent upon the magnitude of an analogue input voltage to be converted. A reference signal is then applied to ramp down the integrator output level to a datum level and the conversion is effected by counting clock pulses while the integrator output is ramping down to datum level. The magnitude of the reference signal and the numerical weighting of the clock pulses being counted are scaled down by a common factor when the ramp reaches a value close to the datum level so that the slope of the ram is reduced and the resolution of conversion is increased as it approaches datum. Thus, compared with a ramp type digital voltmeter having a constant slope discharge ramp and a given resolution, the discharge time is reduced for the same resolution of conversions.
|
1. An analog-to-digital converter comprising an integrating means having an input and an output, means for applying an analog input signal to be converted to the input of the integrating means to drive the integrating means output from a datum level to a level dependent upon the magnitude of the input signal, a source of a reference signal, means for applying the reference signal to the input of the integrating means to drive the integrating means output to the datum level and thereby generate a ramp function, a counter, means for generating clock pulses, means for causing clock pulses to be counted by the counter during an interval commencing with the application of the reference signal, means for applying a first increment to the ramp function before the ramp reaches the datum level a first time, means for detecting when the ramp reaches the datum level, means for applying to the ramp function a second increment equal in magnitude but opposite in polarity to said first increment, and means for scaling down the reference signal and the numerical weighting with which the clock pulses are counted by a common factor, the means for applying the second increment and the means for scaling down the reference signal and the numerical weighting of the clock pulses being responsive to operation of said detecting means when the ramp reaches the datum level said first time, and said detecting means being operative to determine the count in the counter when the ramp reaches the datum level a second time, whereby the count in the counter when the ramp reaches the datum level said second time provides a digital representation of the analog signal magnitude.
2. A converter according to
3. A counter according to
4. A converter according to
|
This is a division of application Ser. No. 764,490 filed Oct. 2, 1968.
This invention related to analogue to digital (a-to-d) converters of the type in which the conversion involves measuring the duration of a ramp function voltage derived from an integrating means, an integrating amplifier for example. The digital conversion is effected by counting clock pulses during the ramp. Such a-to-d converters are used often as digital voltmeters. Typically the integrating means is charged to a value dependent upon the input voltage to be converted and then discharged at a constant rate to a datum level. Examples of such a-to-d converters are to be found in Huskey & Korn "Computer Handbook" McGraw Hill 1962 pages 18-35 and FIG. 18.55 and the specifications of our British Pat. No. 1,058,501 (U.S. Pat. application Ser. No. 449,809 filed Apr. 21, 1965) and U.S. British Pat. application Ser. No. 9743/67(U.S. Pat. application Ser. No. 708,652 filed Feb. 27, 1968), which patents and applications are assigned to the same assignee as the instant application.
The counting of the clock pulses is arranged to start simultaneously with the initiation of the discharging ramp and must be terminated when the ramp reaches datum level. Consequently for high resolution of conversion it is extremely important to detect the exact moment when the ramp reaches datum level.
According to the invention there is provided a ramp type analog to digital converter comprising an integrating means, means for charging the integrating means to a level dependent upon the magnitude of an input signal to be converted, means for applying a reference signal to the integrating means to discharge the integrating means to a datum level and thereby generate a ramp function voltage, means for causing clock pulses to be counted by a counter during an interval commencing with the application of the reference signal means arranged to scale down the reference signal and the numerical weight with which the clock pulses are counted by a common factor when the ramp reaches a value close to the datum level and means for subsequently detecting when the ramp reaches datum level to stop the counting of the pulses. Thus the slope of the ramp is reduced during a latter part of the said interval commencing when the ramp reaches the value close to datum level and terminating when the ramp reaches datum level. The reference signal may be provided by a voltage, current or charge source. The value close to the datum level may be above or below the datum level; in the latter case the polarity of the reference signal must be reversed and pulses must be subtracted from the counter during the latter part of the ramp.
If the pulses are counted by a decade counter or a binary counter it is convenient to scale down the reference signal by a factor of 10(n-1) for the decade counter or 2(n-1) for the binary counter, where n is a positive integer, and to scale down the weighting of the clock pulses by feeding constant rate pulses to the nth stage of the counter during the first part of the ramp and to the first stage during the latter part of the ramp.
Compared with a known ramp type a-to-d converter having a constant-slope discharge ramp, a converter according to the present invention can, in one aspect, be so designed that the slope of the latter part of the ramp is the same as that of the known converter. Such a converter would have the same resolution as the known converter but a higher conversion rate. For example, consider a known converter having a decade counter capable of counting up to a maximum of 19,999, a clock-pulse frequency f, and a reference source of magnitude VR. To convert a full scale input voltage would require a time interval equal to 19,999/f. If a converter having the same counter capability and clock pulse frequency had reference signals of magnitude 10VR and VR applied to discharge the integrating means during the first and latter parts respectively of the ramp while clock pulses were fed into the second and first decades of the counter during the first and latter parts respectively of the discharge ramp, the discharge time would be reduced to (1,999 + 9)/f, that is 2,008/f, with no reduction in the resolution of the conversion. This discharge time is almost 20 times less than that of the known converter.
Similarly, if the reference signal were increased to 100VR and the clock pulses fed into the third decade during the first part of the discharge ramp, it can be shown that the discharge time would be almost 70 times less than that of the known converter.
If a reduction in the resolution of conversion can be tolerated then the discharge time can be reduced still further. The relatively high conversion rates which can be obtained with a-to-d converters according to the present invention make them particularly suitable for incorporation in high-speed data-logging systems which often require conversions in excess of 10,000 per second.
In another aspect of the invention the slope of the latter part of the ramp can be reduced to increase the resolution of the converter. This aspect would find applications in high accuracy, high resolution digital voltmeters in which the speed of conversion is of lesser importance.
The invention will be described in more detail, by way of example, with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram of one embodiment,
FIG. 2 shows a waveform illustrating the operation thereof, and
FIG. 3 shows a modification of the embodiment of FIG. 1,
FIG. 4 shows a waveform illustrating the operation of the embodiment of FIG. 3.
FIG. 5 shows a further modification of the embodiment of FIG. 1 and,
FIG. 6 shows a waveform illustrating the operation of the embodiment of FIG. 5.
FIG. 7 shows a modification to convert the embodiments of FIGS. 1, 2 or 3 to an indicating digital voltmeter.
In FIG. 1 three bistable circuits 10, 11 and 12 have been shown as controlling the various stages of operation in order to facilitate a clear description, the bistable circuits controlling various switches. In practice the logic employed may be rather different and naturally semi-conductor switches such as transistor or field-effect transistors F.E.T.'s or other electronic gating devices will be used rather than the mechanical switches shown.
The first stage of operation involves applying an input voltage VU to be converted to the input of an operational amplifier 13 having a feedback capacitor 14 to form an integrating circuit for a predetermined length of time to charge the capacitor 14. To this end the bistable circuit 10 is set by a START signal which also clears a decade counter 15.
The START signal may be derived from the 60 Hz power line frequency by shaping the sinusoidal waveform and dividing it by two to provide a 30 Hz square wave which is used to set the bistable 30 times per second.
The bistable circuit 10 closes a switch 16 to apply the voltage VU to the amplifier through a resistor 17 and also closes a switch 18 through which pulses pass from a clock source 19 to the second decade of the counter 15. With the switch 16 closed the output level Vo of the amplifier 13 ramps up from a datum level at a rate dependent upon the magnitude of the voltage VU. The clock source may be an astable multivibrator.
When the counter overflows the bistable circuit 10 is reset, the switches 16 and 18 open and the bistable circuit 11 is set to initiate the next stage of operation.
At the end of the first stage, of fixed duration T (FIG. 2) the output Vo of the amplifier 13 has risen from a datum level, to a value Vo max. proportional to VU. The datum level may conveniently be zero volts. The clock-pulse frequency and the capacity of the counter are usually so arranged that the duration T of the first stage of operation when the integrator is being charged is made equal to one or more periods of the lower line frequency.
The bistable circuit 11 closes switches 20, 21 and 22. The switch 20 applies a reference voltage VR of opposite polarity to that of the input voltage, VU to the amplifier 13 through a resistor 23 in order to discharge the amplifier at a relatively rapid rate. The switch 21 feeds clock pulses to the second decade of the counter 15, which starts to count up from zero. The switch 22 connects the output Vo of the amplifier to a first level detector 24 which operates when Vo has returned to a slightly positive level VI (FIG. 2) to reset the bistable circuit 11. The bistable circuit 11, then opens the switches 20, 21 and 22 and sets the bistable circuit 12 to initiate the final stage of operation.
In the final stage the ramp voltage Vo completes its return to zero at a rate 1/10th that of its former rate. To this end the bistable circuit 12 closes swithces 25, 26 and 27. The switch 25 applies a scaled down reference voltage VR /10 to the resistor 23, the switch 26 supplies clock pulses to the first decade of the counter 15 and switch 27 connects the amplifier output to a second level detector 28 which operates at datum level (FIG. 2) to reset the bistable circuit 12 and terminate the conversion. The number now in the counter 15 is proportional to the input voltage VU.
The level detectors 24 and 28 can be differential amplifiers and may conveniently be integrated-circuit differential comparator amplifiers such as those supplied by Fairchild under type No. μA710. The detector 24 would have one input connected to a voltage of magnitude VI and the other input to the switch 22. Similarly the detector 28 would have one input connected to zero volts and the other to the switch 27.
The use of two level detectors 24 and 28 is not essential. If a single level detector is connected to the amplifier output a switch can be used to add an increment of voltage VI to the voltage Vo as an offset during the second stage only. At the end of this stage VI is removed and Vo continues at the slower rate to zero. The effect of an offset can also be obtained by feeding a small unit of charge or current into the integrating amplifier at some time during the first and second stages. Then when Vo has reached zero at the end of stage two the unit of charge is removed again causing Vo to rise to VI from whence it then returns in the third stage to zero at the slower rate.
This latter embodiment is shown in FIG. 3 and its mode of operation is illustrated in FIG. 4. In FIG. 3 the input of the level detector 28 is connected permanently to the output of the amplifier 13 and the output is connected to the reset input of both bistable circuits 11 and 12. Change-over switches 32 and 37 are substituted for the switches 22 and 27 of FIG. 1. The switch 32 has a normally-closed contact 33 connected to a source of voltage -VI, a normally-open contact 34 connected to the resistor 23 and a changeover contact 35 connected through a capacitor 38 and resistor 39 to earth. The resistor is provided merely to limit the capacitor charging current when the contact 35 is moved to the position shown. The switch 32 is operated with the switches 20 and 21 by the bistable circuit 11 and causes the capacitor 38 to discharge into the amplifier through the resistor 23 thus reducing the amplitude of Vo by a small amount as shown at 29 in FIG. 4.
The switch 37 has a normally-closed contact 40 connected to a source of voltage +VI, normally-open contact 41 connected to the resistor 23 and a changeover contact 42 connected through a capacitor 43 and a current-limiting resistor 44 to earth. The switch 37 is operated with the switches 25 and 26 by the bistable circuit 12. The values of the capacitors 38 and 43 and the resistors 39 and 44 are made equal. When Vo has reached zero volts at the end of stage two the level detector 28 provides an output to reset the bistable circuit 11 which then sets the bistable circuit 12. The switch 37 changes over and the capacitor 43 discharges into the integrating amplifier and Vo rises from zero to VI as shown at 30 in FIG. 4. The ramp then continues to discharge towards zero at the slower rate defined by VR /10. The output of the level detector 28 is a.c. coupled to the bistable circuits 11 and 12 through a capacitor 45 to ensure that the bistable circuit 12 is reset by the level detector 28 only at the end of the third stage.
A second modification of FIG. 1 is shown in FIG. 5 in which the switches 22 and 27 are dispensed with. When Vo first reaches zero, it is allowed to overshoot and in the third stage switch 25 connects +VR /10 to the resistor 23 and the switch 26 connects the clock source to a subtractive input on the first decade of a bidirectional counter 55. The appropriate waveform is shown in FIG. 6. When the overshoot occurs, the ramp is stopped by the occurrence of the next clock pulse from the clock pulse generator 19. To achieve this the outputs from the clock pulse source 19 and the detector 28 are connected to the inputs of an AND gate 56, the output of which is connected to the reset input of the bistable circuit 11. The output from the level detector 28 is connected to the reset input of the bistable circuit 12 through an inverter 57 to ensure that the bistable circuit is reset by the level detector only at the end of the third stage. As an alternative to a bi-directional counter, a uni-directional counter can be used with the output of the first decade wire to give the complement of the true count. This assumes that not more than ten pulses have to be counted in the third stage.
In any of the above systems a pulse generator capable of generating pulses of defined magnitude and duration could be used in place of the reference voltage source VR. The pulse generator could be for example an astable multivibrator or a monostable multivibrator triggered by the clock pulses. It would also be necessary to provide a divider circuit (÷ 10 in the embodiments described) to scale down the pulses during the latter part of the discharge ramp.
Whilst the invention has been described which is an improvement to the dual ramp type of a-to-d converter in which the voltage to be converted is applied to the input of an integrating amplifier for a fixed period of time defined by counting a pre-determined number of clock pulses other means for charging the integrating means are possible. For example, the integrating means can be charged by a charge-transfer technique such as described in our British Pat. Specification Nos. 1,058,501 and 1,067,734 (U.S. application Ser. Nos. 499,809 and 459,540, the latter application having been filed in the U.S. on May 28, 1965). This charge-transfer technique is particularly useful when a high rate of conversion is required.
Any of the embodiments of FIGS. 1, 2 and 3 can be converted to an indicating digital voltmeter by the addition of a decode circuit 71 and a display device 72 as shown in FIG. 7.
Patent | Priority | Assignee | Title |
4160607, | Oct 17 1977 | TYCO INDUSTRIES, INC | Hinge joints for elongated collapsible members such as a fishing rod |
4204197, | Aug 15 1977 | METTLER-TOLEDO, INC | Digital scale |
4354176, | Aug 27 1979 | Takeda Riken Kogyo Kabushikikaisha | A-D Converter with fine resolution |
4525794, | Jul 16 1982 | METTLER-TOLDEO PROCESS ANALYTICAL INC ; HI-SPEED CHECKWEIGHER CO , INC ; Ohaus Corporation | Electronic balance |
4562424, | Jul 28 1982 | Hitachi, Ltd.; Hitachi Microcomputer Engineering Ltd. | Circuit for integrating analog signal and converting it into digital signal |
4584566, | Dec 21 1984 | Honeywell Inc. | Analog to digital converter |
4768019, | Sep 25 1987 | Honeywell INC | Analog-to-digital converter |
Patent | Priority | Assignee | Title |
3296613, | |||
3313924, | |||
3316547, | |||
3480948, | |||
3564538, | |||
3577140, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 23 1975 | The Solartron Electronic Group Limited | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Date | Maintenance Schedule |
Feb 03 1979 | 4 years fee payment window open |
Aug 03 1979 | 6 months grace period start (w surcharge) |
Feb 03 1980 | patent expiry (for year 4) |
Feb 03 1982 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 03 1983 | 8 years fee payment window open |
Aug 03 1983 | 6 months grace period start (w surcharge) |
Feb 03 1984 | patent expiry (for year 8) |
Feb 03 1986 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 03 1987 | 12 years fee payment window open |
Aug 03 1987 | 6 months grace period start (w surcharge) |
Feb 03 1988 | patent expiry (for year 12) |
Feb 03 1990 | 2 years to revive unintentionally abandoned end. (for year 12) |