Digitally dual-programmable integrator circuit
Analog-signal integrators are described that have a transfer function containing a composite parameter that is the product of two parameters each of which is separately changeable, via application of digital programming signals. In a continuous analog-signal integrator the integrating capacitor is a programmable capacitor array, preceded in the feed back branch with a programmable voltage divider. In a discrete-time analog-signal integrator the integrating resistor is a switched-capacitor resistor including a programmable capacitor array that is preceded in the input circuit branch by a programmable voltage divider.
Latest Allegro Microsystems, Inc. Patents:
- Integrated magnetic field sensor and method of powering on and off a load
- System and Method for Serial Communication by an Electronic Circuit
- METHODS AND APPARATUS FOR MAGNETIC SENSOR HAVING AN EXTERNALLY ACCESSIBLE COIL
- Systems and Methods for Driving a Load Under Various Power Conditions
- PACKAGING FOR AN ELECTRONIC DEVICE
This invention relates to digitally programmable analog-signal manipulating circuits and more particularly to programmable integrator circuits having an analog transfer function comprised of variables and parameters wherein the value of each one of a pair of the parameters is capable of being set and or altered to a desired value by introducing a digital signal at a corresponding group of programming terminals.
A simple example of a digitally programmable analog-signal manipulating circuit is a standard digital to analog converter (DAC) employed in an unconventional manner to provide a programmable voltage divider (PVD). Standard DAC circuits are described by L. P. Huelsman, J. G. Graeme and G. E. Tobey at pages 336-339 in their book Operational Amplifiers, McGraw Hill, 1971. Such a PVD is further described herein below.
Another example of a digitally programmable analog-signal manipulating circuit is described D. J. Allstot, R. O. Brodersen and P. R. Gray in their paper entitled An Electrically-Programmable Switched Capacitor Filter, published in the IEEE Journal of Solid-State Circuits, Vol. Sc-14, No. 6, December 1979, pages 1034-1041. There, the analog-signal manipulating circuit is a second-order filter employing active integrators connected in tandem. The integrating (feedback) capacitor in each integrator consists of a digitally programmable capacitor array so that the filter transfer function has programmable poles. It is also known to use a fixed resistors voltage divider preceding the integrator resistor.
It is an object of this invention to provide a digitally programmable analog-signal manipulating circuit having a transfer function containing the product of two separately programmable parameters, one parameter being rendered programmable by electrically altering the value of a capacitor and the other by electrically altering the ratio of a voltage divider.
SUMMARYA dual programmable switched-capacitor-resistor integrator includes integrator input and output conductors, an operational amplifier having a negative input, an integrating resistor of the switched-capacitor type having one end connected to the amplifier input, an integrating capacitor connected between the output of the amplifier and the amplifier input, the amplifier output being connected to the integrator output conductor, the switched capacitor of the integrating switched-capacitor-resistor being a programmable capacitor array having a first group of digital-signal programming terminals, a programmable voltage divider having a second group of digitally programming terminals, having an input connected to the integrator input conductor and having an output connected to the other end of the switched-capacitor-resistor, so that the transfer function of the integrator contains the product of a parameter M and a parameter N that are separate functions respectively of the digital signals applied to the first and second groups of digital programming terminals. This discrete-time integrator advantageously makes it possible to extend the range of possible RC integration time constants without increasing the ratio of the integrated circuit areas occupied by the switched capacitor and the array capacitors in comparison with use of a fixed voltage divider.
In another aspect of the invention, a dual programmable switched-capacitor-resistor integrator includes integrator input and output conductors, an operational amplifier having a negative input, an integrating resistor connected between the integrator input conductor and the amplifier input, an integrating capacitor having one end connected the amplifier input, the integrating capacitor being a programmable capacitor array having a first group of digital programming terminals, the amplifier output being connected to the integrator output conductor, a programmable voltage divider having a second group of digitally programming terminals, having an input connected to the amplifier output and having an output connected to the other end of the integrating capacitor, so that the transfer function of the integrator contains the product of a parameter M and a parameter N that are separate functions respectively of the digital signals applied to the first and second groups of digital programming terminals. Not only is the RC integration time constant of this integator programmable in operation, but the dual-programmable feature permits a calibration adjustment of the integrator constant to compensate for component parameter variations at manufacturing, variations in the resistance of a poly-silicon integration resistor.
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 shows the symbol for a conventional digital to analog converter (DAC).
FIG. 2 shows a symbol representing a digitally programmable voltage divider (PVD).
FIG. 3 shows a particularly suitable PVD circuit for use in the dual-programmable circuit of this invention.
FIG. 4 shows a simple voltage divider circuit that is equivalent to the PVD of FIG. 3 for any number of digital programming bits n and any given digital programming signal, m.
FIG. 5 shows a circuit diagram of a suitable digitally programmable capacitor array for use in the dual-programmable circuit of this invention.
FIG. 6 shows a symbol representing a digitally programmable capacitor array.
FIG. 7 shows a circuit diagram of a first preferred embodiment of a dual-programmable analog-signal integrator circuit of this invention.
FIG. 8 shows a circuit diagram of a second preferred embodiment of a dual-programmable analog-signal integrator circuit of this invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTSDigitally programmable voltage divider circuits may be obtained by using standard digital-to-analog circuits (DAC's) in voltage mode. A conventional symbol 10 representing a DAC is shown in FIG. 1, with a DC voltage reference terminal 14, an analog-signal output terminal 16 and a ground terminal 12. The DAC composite digital input terminal (not shown) consists of a group of input conductors for parallel application thereto of the digital input signal.
The symbol 18 of FIG. 2 is used herein to represent a digitally programmable voltage divider (PVD). The PVD input terminal 20 was the DAC reference voltage terminal 14, the PVD group of digital programming terminals 22 was the DAC composite digital input terminal, and the PVD output terminal 24 was the DAC output terminal 16. A terminal 21 is the PVD circuit "ground" that was the DAC ground terminal 12.
The preferred PVD circuit shown in FIG. 3 is a voltage-mode connected conventional "R/2R" DAC. The resistors 30, 31, 32, 33 and 34 each have a resistance value R. The resistors 36, 37, 38 and 39 each have a resistance value 2R. The digital-signal-activated switches 40, 41, 42 and 43 are preferably implemented as MOS transistors (not shown). A switch to which a binary zero is applied is connected to the ground terminal 21 as shown, and a switch to which a binary 1 is applied is connected to the input terminal 22. Thus for example, when the digital programmable signal is 1/0/0/1 is applied to programming terminals 22, only switches 40 and 43 are connected to the input terminal 20 while the switches 41 and 42 are connected to the ground terminal 21. The corresponding decimal number is N=D0+2D1+4D2+8D3=1.multidot.1+2.multidot.0+4.multidot.0+8.multidot.1=9.
This R/2R programmable voltage divider advantageously has a Thevenin equivalent output source impedance equal to R ohms no matter how the switches are set.
The PVD output voltage Vout is seen to be a function of both the analog input voltage Vin and the digital programming control signal, according to ##EQU1## where n is the number of binary bits capacity of the programming terminal 22 and N is the decimal number corresponding to the digital programming signal applied to the programming terminal 22. Note that when the voltage V.sub.2 at terminal 21 is zero, the divider output voltage Vout is always directly proportional to the input voltage Vin, and ##EQU2##
In the case n=4, N is an integer less than 16. FIG. 4 shows the resulting generic equivalent circuit.
The digitally programmable capacitor array of FIG. 5 is binarily weighted. All of the capacitors 45 have the same capacitance value, C, and they are connected in binary groups of 1, 2, 4, etc. Electrically programmable switches 47, 48, 49 and 50 determine which groups of capacitors 45 contribute to the capacitance C.sub.A of the array as measured between terminals 52 and 54, and
C.sub.A =(D0+2D1+4D2+8D3)C
More generally C.sub.A =MC, wherein M is the decimal number corresponding to the digital programming signal that sets the switches 47 through 50. Here, the number of array programming bits, m, is just 4 whereas a greater number of bits will usually be preferred. M can be any integer between 0 and 2.sup.m-1, so for m=4, M can be any integer between 0 and 15.
The programmable capacitor array of FIG. 5 may be more simply represented by the symbol 58 of FIG. 6, wherein the programmed-array capacitor 56 has the value C.sub.A, and the group of digital programming terminals is 60.
The programmable analog-signal manipulating circuit of FIG. 7 is a programmable discrete-time analog-signal integrator, e.g. employing a switched-capacitor resistor. The integrating resistor is a switched-capacitor resistor made up of the programmable capacitor array 58 of FIG. 5 and the two clocked switches 62 and 63. A similar switched-capacitor resistor is employed in the integrator circuit described by Makebe et al, in the patent U.S. Pat. No. 4,498,063 issued Feb. 5, 1985, except that the integrator in FIG. 7 further includes the fixed integrating feedback capacitor 65 and an operational amplifier 67. The programmable voltage divider 18 of FIGS. 2 and 3 is connected at the input of the integrator.
At the end of any first half-clock period (phase .phi.1), during which switch 62 is closed, for an instantaneous output voltage v.sub.R (t) at the output terminal 24 of the PVD 18, a charge q will have flowed through closed switch 62 into capacitor 56 of capacitance C.sub.A. The same charge q will flow from the array capacitor 56 into the feedback capacitor 65 (of capacitance C.sub.F) during the subsequent second half-clock period (phase .phi.2) during which switch 63 is closed. This is more accurate for the conditions that the RC time constant of the PVD 18 and the array capacitor 65 (namely R.multidot.C.sub.A) is much less than the clock frequency f.sub.c, e.g. preferably less by a factor of 10.
The feedback capacitor 65 is preferably made up of a plurality of identical capacitors of the same construction and capacitance C as the capacitors 45 making up the capacitor array 58 of FIGS. 5 and 6, because in an integrated circuit, simultaneously manufactured capacitors of the same kind and size lead to better repeatability and predictability of capacitance ratios, e.g. C.sub.A /C.sub.F. Therefore in this embodiment, the fixed capacitance CF is set at the value 2.sup.m C, where m is the number of digital programming bits of the programmable capacitor array 58. Since for any given clock period the charges q in and out of the array capacitor 56 are the same, the charge transfer equations are: ##EQU3## wherein v.sub.in and v.sub.out are respectively the instantaneous input and output voltages of the entire circuit of FIG. 7 during any full clock period.
The transfer function, in Laplace form, of the switched capacitor integrator circuit which is preceded by the PVD is: ##EQU4##
This last equation is the transfer function of the integrator circuit of FIG. 7. In it there appears the product of MN, the two decimal numbers corresponding respectively to the two digital-program inputs to the PVD 18 and the capacitor array 58. M and N are thus transfer-function parameters forming in the transform function a product MN which in turn is a composite parameter of the transfer function. Thus, for example, M may be decreased to provide a lower switching-capacitor capacitance C.sub.A while N is correspondingly increased for keeping the transfer function constant. Or, the user may similarly increase the clock frequency f.sub.c without affecting transfer function gain.
The programmable analog-signal manipulating circuit of FIG. 8 is a programmable continuous analog-signal integrator. The integrating resistor 70, of R.sub.I ohms is a resistor, e.g. an integrated-circuit polysilicon resistor or silicon diffused resistor. A programmable voltage divider (PVD) 18 is connected between the output of the operational amplifier 72 and a programmable integrating feedback capacitor 58 having the capacitance C.sub.A =MC.
We will assume in the following analysis that the highest frequency of interest of the analog output signal, v.sub.out (t), is much greater than the inverse time constant, which is the array capacitance C.sub.A times the PVD output resistance R. The current i(t) flowing from the integrating array capacitor 56 into the integrating resistor 70 at any time t is ##EQU5## where v.sub.R is the PVD output voltage. In Laplace form ##EQU6## Let the transconductance ##EQU7##
Here again the transfer function contains a composite parameter that is the product NM of two independently programmable parameters N and M, or from another point of view the product of parameter 1/N times parameter 1/M.
The programmable discrete-time integrator of this invention is especially well suited as one of the analog-signal manipulating circuits (ASMCs) employed in the key integrated circuit servo co-processor described in the patent application Serial No. 07/912,387 filed concurrently herewith entitled HYBRID CONTROL-LAW SERVO CO-PROCESSOR INTEGRATED CIRCUIT, of the same inventive entity and assigned to the same assignee as is the present invention. Uses and additional advantages of this integrator circuit are described in that co-filed application and that co-filed application is hereby incorporated by reference herein.
Claims
1. A dual programmable discrete-time integrator comprising input and output conductors; an operational amplifier; an integrating switched-capacitor-resistor circuit having one end connected to said amplifier input; an integrating capacitor connected between the output of said amplifier and said amplifier input, said amplifier output being connected to said integrator output conductor, the switched capacitor of said integrating switched-capacitor-resistor circuit being a programmable capacitor array having a first group of digital-signal programming terminals; a programmable voltage divider (PVD) having a second group of digitally programming terminals, said PVD having an input connected to said integrator input conductor and having an output connected to said other end of said switched-capacitor-resistor circuit, so that the transfer function of said dual programmable integrator is proportional to the product of the independently programmable numbers M and N, wherein the decimal number N is proportional to the PVD voltage-divider ratio that corresponds to the digital signal that may be applied to said first group of digital programming terminals, and wherein the decimal number M is proportional to the capacitance of said programmable capacitor array that corresponds to the digital signal that may be applied to said second group of digital programming terminals.
2. A dual programmable integrator comprising integrator input and output conductors; an operational amplifier; an integrating resistor connected between said integrator input conductor and said amplifier input; an integrating capacitor having one end connected to said amplifier input, said integrating capacitor being a programmable capacitor array having a first group of digital programming terminals, said amplifier output being connected to said integrator output conductor; a programmable voltage divider having a second group of digitally programming terminals, said PVD having an input connected to said amplifier output and having an output connected to said other end of said integrating capacitor, so that the transfer function of said dual programmable integrator is proportional to the reciprocal of the product of the independently programmable numbers M and N, wherein the voltage-divider ratio is proportional to the decimal number N that corresponds to the digital signal that may be applied to said first group of digital programming terminals wherein the capacitance of said programmable capacitor array is proportional to the decimal number M that corresponds to the digital signal that may be applied to said second group of digital programming terminals.
3. An integrated-circuit dual-programmable integrator comprising:
- a) an integrator input conductor and output conductor;
- b) an operational amplifier having an input, and having an output connected to said integrator output conductor;
- c) a series-circuit feedback branch connected between said amplifier output and said amplifier input, said feedback branch including an integrating capacitor having one end directly connected to said amplifier input;
- d) a series-circuit integrator-input branch connected between said integrator input conductor and said amplifier input, said integrator input branch including an integrating resistor having one end connected to said amplifier input; and
- e) a digitally programmable voltage divider (PVD) having a divider input, a divider output and a first group of digital programming terminals, wherein the voltage-divider ratio is proportional to the decimal number N that corresponds to the digital signal that may be applied to said first group of digital programming terminals;
- f) a digitally programmable electrical component having a second group of digital programming terminals wherein the value of said programmable component is proportional to the decimal number M that corresponds to the digital signal that may be applied to said second group of digital programming terminals,
- g) wherein one of said resistor and capacitor is said digitally programmable component which is connected in series with said PVD,
- so that the transfer function of said dual programmable integrator is a function of the product of the independently programmable numbers M and N.
4. The dual programmable integrator of claim 3 wherein the other end of said programmable component is connected directly to the output of said PVD.
5. The dual programmable integrator of claim 3 wherein said programmable component is said programmable resistor which is a switched-capacitor-resistor circuit including a switched capacitor composed of a digitally programmable capacitor array.
6. The dual programmable integrator of claim 3 wherein said programmable component is said programmable capacitor which is a digitally programmable array.
Type: Grant
Filed: Jul 13, 1992
Date of Patent: Nov 2, 1993
Assignee: Allegro Microsystems, Inc. (Worcester, MA)
Inventors: Kristaan L. Moody (Nottingham, NH), Paul W. Latham, II (Lee, NH)
Primary Examiner: A. D. Pellinen
Assistant Examiner: Brian K. Young
Application Number: 7/912,386
International Classification: H03M 150;