Information
-
Patent Grant
-
5343419
-
Patent Number
5,343,419
-
Date Filed
Wednesday, October 21, 199232 years ago
-
Date Issued
Tuesday, August 30, 199430 years ago
-
Inventors
-
Original Assignees
-
Examiners
Agents
-
CPC
-
US Classifications
Field of Search
US
- 364 807
- 364 808
- 364 841
- 364 844
-
International Classifications
-
Abstract
An analog calculation circuit has a circuit input for receiving a first input voltage, a circuit output, a first timer, and a second timer. The first timer has a first capacitive coupler, a first RC circuit, and a first threshold circuit for outputting a first timer output voltage. The first threshold circuit has a first threshold input terminal. The first capacitive coupler has a first capacitive coupler input connected to the circuit input, a second capacitive coupler input, and a first capacitive coupler output connected to the first threshold input terminal. The first RC circuit has a first resistance, a first capacitance, a first RC input for receiving a second input voltage, and a first RC output connected to the second capacitive coupler input. The second timer has a second RC circuit, a second threshold circuit for outputting a second timer output voltage to the second RC circuit, and for receiving the first timer output voltage. The second RC circuit has a second resistance, a second capacitance, a second RC input for receiving a third input voltage, and a second RC output connected to the circuit output. A third timer, similar in design to the first timer may also be used in the calculation circuit.
Description
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a precise analog calculation circuit which utilizes timers.
2. Description of the Art
A digital calculation circuit is normally highly accurate but is usually rather large in scale. A typical analog calculation circuit, on the other hand, performs rather imprecise calculations.
In a digital computer, a memory is used as a table for defining the relationship between an input and an output according to a mathematical calculation. This is merely one way to minimize the scale of the logical circuits required in order to perform a calculation. However, the memory itself is comprised of a large number of transistor gates and therefore, an immense amount of electrical power is wasted.
SUMMARY OF THE INVENTION
An object of the present invention is to provide a calculation circuit which is small in scale but performs highly accurate calculations.
A calculation circuit, according to the present invention, includes analog timers and produces an output voltage which is based on an exponential time factor.
The present invention performs precise calculations because the exponential time factor, and can be produced by the use of conventional analog circuit technology. The circuit's physical scale is therefor much smaller than a conventional digital calculation circuit which performs a similar calculation.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 depicts a multiplication circuit according to one embodiment of the present invention.
FIG. 2 is a diagram illustrating the characteristics of timers shown in FIG. 1.
FIG. 3 shows a variation of the third timer of FIG. 1.
FIG. 4 depicts a multiplication circuit according to another embodiment of the present invention.
FIG. 5 shows another embodiment of a calculation circuit according to the present invention.
FIG. 6 shows another embodiment of a calculation circuit according to the present invention.
FIG. 7 is a diagram illustrating the characteristics of the embodiments shown in FIG. 4-6.
FIG. 8 depicts an embodiment of an exponential calculation circuit according to the present invention.
FIG. 9 shows the first RC circuit depicted in FIG.8.
FIG. 10 shows a variation of the first RC circuit depicted in FIG. 8.
FIG. 11 shows the second RC circuit depicted in FIG. 8.
FIG. 12 shows a variation of the second RC circuit depicted in FIG. 8.
FIG. 13 shows another variation of the second RC circuit depicted in FIG. 8.
FIG. 14 shows another variation of the second RC circuit depicted in FIG. 8.
FIG. 15 depicts another embodiment of an exponential circuit according to the present invention.
FIG. 16 shows the first RC circuit depicted in FIG. 15.
FIG. 17 shows a variation of the first RC circuit depicted in FIG. 15.
FIG. 18 shows the second RC circuit depicted in FIG.15.
FIG. 19 shows a variation of the second RC circuit depicted in FIG. 15.
FIG. 20 shows another variation of the second RC circuit depicted in FIG. 15.
FIG. 21 shows another variation of the second RC circuit depicted in FIG. 15.
FIG. 22 depicts an embodiment of a subtraction circuit according to the present invention.
FIG. 23 shows a variation of the third timer depicted in FIG. 22.
FIG. 24 is a graph showing the relationship between time and the voltage at V.sub.6, V.sub.3 and Z as seen in FIG. 22.
PREFERRED EMBODIMENTS OF THE PRESENT INVENTION
An embodiment of a multiplication circuit according to the present invention is described with reference to the attached drawings.
In FIG. 1, the multiplication circuit comprises a first timer T.sub.1, a second timer T.sub.2 and a third timer T.sub.3. Input voltage "X" and "Y" are input to timers T.sub.1 and T.sub.2, respectively.
Timer T.sub.1 comprises capacitances C.sub.1 and C.sub.2 connected in series: the connection between capacitances C.sub.1 and C.sub.2 is grounded through a high resistance R.sub.1. A step voltage, which acts as a starting trigger (ST), is input to the lead of capacitor C.sub.1 which is not connected to capacitance C.sub.2. The input voltage "X" is connected through capacitance C.sub.3 to capacitance C.sub.2. Inverter (INV.sub.1) is connected between capacitances C.sub.2 and C.sub.3. INV.sub.1 outputs a maximum value when its input voltage is smaller than a threshold voltage, and it outputs 0V when its input voltage is above the threshold voltage. If starting trigger ST is input while the input voltage "X" is also input, the potential difference across capacitance C.sub.1 increases gradually, and the voltage between capacitances C.sub.1 and C.sub.2 decreases gradually. Consequently, the input voltage to INV.sub.1 decreases. The output voltage of INV.sub.1 becomes 0V when V.sub.1 equals "X".
The change in voltage V.sub.1, between capacitances C.sub.1 and C.sub.2, is graphed in FIG. 2 and can be expressed by the formula: ##EQU1## wherein: t.sub.1 is time; and
V.sub.st is the Maximal Voltage of the Starting Trigger ST
Timer T.sub.2 is constructed in a manner similar to timer T.sub.1. The construction elements are expressed using "'". The output of INV.sub.1 is used as an input to capacitance C.sub.1 '. When the output of INV.sub.1 is 0V, the voltage between capacitance C.sub.1 ' and capacitance C.sub.2 ' begins to decrease and the output voltage of INV.sub.1 ' becomes 0V when V.sub.1 ' equals "Y".
The output of INV.sub.1 ' and the starting trigger ST are input to the timer T.sub.3. The total charging time or the total acting time of timers T.sub.1 and T.sub.2 is equal to the total charging time of timer T.sub.3. Timer T.sub.3 comprises a pMOS ("Tr", hereafter) in which the output of INV.sub.1 ' is used as the input to the gate of Tr. The starting trigger ST is input to the drain of Tr through capacitance C.sub.4 and resistance R.sub.2. The source of Tr is grounded, Tr becomes conductive when the output voltage of INV.sub.1 ' is above a threshold voltage. When the gate voltage of Tr is 0V, a type of breaking occurs on Tr and the electrical charge of C.sub.4 is maintained. In other words, timer T.sub.3 is charged by starting trigger ST in period of time which is equal to the sum of the charging times for Timers T.sub.1 and T.sub.2.
The charging characteristic of timer T.sub.3 can be expressed by the following equation: ##EQU2##
wherein:
t.sub.3 is time; and
V.sub.st is the Maximal Voltage of the Starting Trigger
when R.sub.1 =R.sub.1 '=R.sub.2 and C.sub.1 =C.sub.1 '=C.sub.4, the following formulas can be derived. ##EQU3## The output voltage "Z" of timer T.sub.3 (i.e. the voltage between capacitance C.sub.4 and R.sub.2) is equal to the input voltage "X" multiplied by the input voltage "Y".
An RC circuit is very simple in structure as compared to digital multiplication circuits. Moreover, the voltage obtained according to the charging characteristic of an RC circuit is more precise than can be obtained by the use of general analog multiplication circuits.
In order to obtain the compliment output of "Z" (i.e. the output "1-Z"), the source of Tr' is grounded through C.sub.4 ', starting trigger ST is input to the drain of Tr' through R.sub.2 ' and the voltage measured at the source of Tr' is the output voltage "1-Z" as shown in FIG. 3
In FIG. 4, a multiplication circuit comprises timers T.sub.1, T.sub.2 and T.sub.3. Input voltage "X" is input to timer T.sub.1 and input voltage "Y" is input to timer T.sub.2.
Timer T.sub.1 comprises threshold element Th.sub.1 which generates an output voltage when its input voltage is above a given threshold. "Cp.sub.1 " which performs capacitive coupling of two inputs is connected to the input of Th.sub.1. If the voltage impressed upon capacitances C.sub.1 and C.sub.2 is V.sub.1 and V.sub.2 respectively, then the input voltage V.sub.3 for Th.sub.1 can be expressed by the following equation: ##EQU4## Th.sub.1 comprises a pair of inverters INV.sub.1 and INV.sub.2 connected in series. When V.sub.3 exceeds a threshold voltage, the output of INV.sub.1 is 0V, and the output of INV.sub.2 becomes high (i.e. the maximum voltage V.sub.m).
The first input voltage "X" is connected to capacitance C.sub.1, and a standard voltage pulse RP is connected to capacitance C.sub.2 through resistance R.sub.1. Capacitance C.sub.2 is grounded through capacitance "CC.sub.1 ". When voltage pulse RP is high CC.sub.1 becomes charged and V.sub.2 rises up to the same voltage as voltage pulse RP.
When the voltage pulse RP rises up to a predetermined level while the input voltage "X" is input to capacitance C.sub.1, capacitance CC.sub.1 is charged by a predetermined time constant which is determined by the value of CC.sub.1 .times.R.sub.1. The input voltage V.sub.3 can be expressed by the following formula: ##EQU5## According to the formula in (2), the input voltage V.sub.3 rises as "t" increases. When V.sub.3 exceeds the threshold voltage, the output voltage Vt.sub.1 of Th.sub.1 becomes its maximum voltage "V.sub.m ".
The time it takes Vt.sub.1 to obtain the maximal voltage V.sub.m when V.sub.1 is 0V is the time period "tx". FIG. 7 shows the change of V.sub.1 and Vt.sub.1.
Timer T.sub.2 comprises threshold element Th.sub.2, capacitive coupling element Cp.sub.2, charging capacitance CC.sub.2 and resistance R.sub.2. The construction of T.sub.2 is similar to that of T.sub.1. Therefore, each element of T.sub.2 corresponds to an element of T.sub.1 : that is, Th.sub.2, Cp.sub.2, CC.sub.2 and R.sub.2 of T.sub.2 corresponds to Th.sub.1, Cp.sub.1, CC.sub.1 and R.sub.1 of T.sub.1. The output of T.sub.1 is the input to R.sub.2. When Th.sub.1 is at a maximal voltage V.sub.m, capacitance CC.sub.2 is charged and the input voltage V.sub.4 to Cp.sub.2 rises. If each capacitance of Cp.sub.2 is labeled C.sub.3 and C.sub.4, the second input voltage to C.sub.3 labeled Y, and the input to C.sub.4 labeled V.sub.4, the output voltage V.sub.5 of Cp.sub.2 can be expressed by the following formulas: ##EQU6##
When V.sub.5 exceeds the threshold voltage of Th.sub.2, Th.sub.2 generates a maximum output voltage V.sub.m. Th.sub.2 comprises three inverters INV.sub.3, INV.sub.4 and INV.sub.5 connected in series. The change in voltage at V.sub.4 and Vt.sub.2 is shown in FIG. 7. The period of time it takes Vt.sub.2 to become 0V when Vt.sub.1 becomes V.sub.m is labeled "ty". Therefore, the overall time it takes Vt.sub.2 to reach 0V is tx+ty.
T.sub.3 comprises charging capacitance CC.sub.3. Voltage pulse RP is input to one terminal of capacitance CC.sub.3 and the other lead is the output terminal Vt.sub.3. Vt.sub.3 is grounded through resistance R.sub.3 and an nMOS ("Th.sub.3 ", hereafter) Vt.sub.2 is input to the gate of Th.sub.3. CC.sub.3 begins charging from the rise of voltage pulse RP and continues charging while Vt.sub.2 is at the maximum voltage V.sub.m. When Vt.sub.2 becomes 0V at time tx+ty, a type of breaking occurs on Th.sub.3 and the charging CC.sub.3 is completed. Here, Vt.sub.3 can be expressed by the following formulas: ##EQU7##
The formula in (2) can be transformed into the formula in (7) using tx and Vt.sub.1. ##EQU8##
In the same way, the formula in (4) can be transformed into the formula in (8). ##EQU9##
When R.sub.1 =R.sub.2 =R.sub.3, CC.sub.1 =CC.sub.2 =CC.sub.3, RP=V.sub.m, and Vt.sub.1 =Vt.sub.2 =RP/2, Vt.sub.3 can be expressed by the following formula. ##EQU10## Thus, the multiplication X and Y can be obtained by the formula in (9).
The calculation performed by the method just described is very precise. As is clear from FIG. 4, the circuit remains very simple structure.
FIG. 5 shows a circuit of another embodiment of the present invention, in which timers T.sub.4 and T.sub.5 are used instead of timer T.sub.3 in FIG. 4.
Timer T.sub.4 comprises nMOS Th.sub.4, charging capacitance CC.sub.4 and resistance R.sub.4 in the same way as was used in timer T.sub.3. ##EQU11##
A predetermined value can be obtained by satisfying the relationship from the formula in (10). The output voltage Vt.sub.4 can be expressed by the formula in (11). ##EQU12## Thus, the calculation in (11) is substantially the same as (XY).sup.1/2 The calculation can be changed by changing the time constant.
Timer T.sub.5 has the same structure as timer T.sub.4, wherein only the time constant is changed. In this case the following formula is used:
R.sub.5 CC.sub.5 =2R.sub.1 CC.sub.1 =2R.sub.2 CC.sub.2 (12)
In this case, Vt.sub.5 can then be expressed by the formula in (13) . ##EQU13## Thus by satisfying the formula in (13), the square of the inputs is obtained as an output.
In FIG. 6, timer T.sub.6 is used instead of timer T.sub.3 and timer T.sub.6 comprises resistance R.sub.6, CMOS Th.sub.6 and capacitance CC.sub.6 in series. Furthermore, RP is connected to R.sub.6 and CC.sub.6 is grounded. The output terminal of timer T.sub.6 is between Th.sub.6 and CC.sub.6. The output Vt.sub.6 of timer T.sub.6 is described by the following formula: ##EQU14##
If in formula (14), R.sub.6 =R.sub.1 =R.sub.2 and CC.sub.6 =CC.sub.1 =CC.sub.2, Vt.sub.6 can be expressed by the following formula: ##EQU15##
Thus, by this embodiment, the calculation of the complement of the product of inputs is substantially executed.
The characteristic of the voltage at Vt.sub.4 -Vt.sub.6 is shown in FIG. 7.
In FIG. 8, the computation circuit comprises a first and second RC circuit to which a common standard voltage pulse RP is input. The capacitance of RC.sub.1 and RC.sub.2 is charged by RP in accordance with the time constant of the circuit.
The output voltage V.sub.1 of RC.sub.1 is the input to one end of capacitance coupler CP and input voltage X is input to the another end of capacitance coupler CP. Selecting each capacitance value of capacitance coupler CP as capacitances C.sub.1 and C.sub.2, the output voltage V.sub.2 of capacitance coupler CP can be expressed by the formula: ##EQU16## In formula (16), X and V.sub.1 are linearly coupled. If capacitance C.sub.1 is equal to capacitance C.sub.2, formula (16) can be expressed as: ##EQU17##
The output voltage V.sub.2 of capacitance coupler CP is input to threshold element Th.sub.1 which outputs an output voltage "S" when V.sub.2 reaches a predetermined voltage V.sub.th.
RC.sub.1 can be constructed as shown in FIG. 9 or in FIG. 10. In the structure shown in FIG. 9, one end of capacitance CC.sub.1 is grounded and the other end is the output terminal to which RP is input through resistance R.sub.1. Expressing time as "t", V.sub.1 can be expressed as follows: ##EQU18## Thus, V.sub.1 increases with time.
The formula of (17) can then be rewritten as: ##EQU19## Thus, V.sub.2 increases with time. When the structure in FIG. 9 is used, threshold element Th.sub.1 produces an output which corresponds to the input over if it is above a threshold voltage.
FIG. 10 shows a structure similar to the structure in FIG. 9 with R.sub.1 and CC.sub.1 switched. Voltages V.sub.1 and V.sub.2 can be expressed by the formula: ##EQU20## Thus, both of these voltages decrease with time.
When the structure in FIG. 10 is used, threshold element Th.sub.1 produces a corresponding output when the input is equal to or below a threshold voltage.
RC.sub.2 can be any of the structures shown in FIGS. 11-14. All of these comprise threshold element Th.sub.2, resistance R.sub.2 and capacitance CC.sub.2. The circuit structures shown in FIG. 11 and 12 have the characteristic of increasing with time. Threshold element Th.sub.2 performs a type of breaking between R.sub.2 and CC.sub.2 in FIG. 11, and between CC.sub.2 and ground in FIG. 12. The output voltage Y of RC.sub.2 depicted in FIG. 11 and 12 can be represented by the formula: ##EQU21##
The structures in FIG. 13 and 14 have the characteristic of decreasing with time. Threshold element Th.sub.2 performs a type of breaking between R.sub.2 and CC.sub.2 in FIG. 13, and between CC.sub.2 and ground in FIG. 14. The characteristic of these circuits can be expressed as: ##EQU22##
Threshold element Th.sub.1 generates an output when V.sub.2 is equal to the threshold voltage V.sub.th, consequently, Th.sub.2 performs a type of breaking and the voltage Y is preserved due to the fact that charging of capacitance CC.sub.2 has stopped.
Combining formulas {(19) and (22)} or {(21) and (23)} gives the following formula: ##EQU23## Combining formulas {(19) and (23)} or {(21) and (22)} gives the following formula: ##EQU24##
When RP is equal to 2V.sub.th, formulas (24) and (25) can be simplified to the following formulas: ##EQU25##
As seen by the formulas above, the calculating circuit in this embodiment of the invention can perform exponential calculation on the input X with the exponent being equal to (R.sub.1 CC.sub.1)/(R.sub.2 CC.sub.2). The characteristics of the circuit described by formulas (24) and (25) can be obtained from the relationship between RC.sub.1 and RC.sub.2. Furthermore, the simple characteristics of the circuit described by formulas (26) and (27) can be obtained from the relationship between V.sub.th and RP.
In FIG. 15, the computation circuit comprises a first and the second RC circuits RC.sub.1 and RC.sub.2, respectively, to which a standard voltage pulse RP is input. The capacitance of RC.sub.1 and RC.sub.2 is charged by voltage pulse RP in accordance to its time constant. The output voltage V.sub.1 of RC.sub.1 is input to one terminal of capacitance coupler CP, input voltage X is input to another terminal of CP, and offset voltage V.sub.off is input to a third terminal of CP.
Expressing each capacitance value of CP as C.sub.1, C.sub.2 and C.sub.3, the output voltage V.sub.2 of CP can then be expressed by the following formula: ##EQU26## In formula (28), X, V.sub.1 and V.sub.off are parallel. If C.sub.1, C.sub.2 and C.sub.3 are selected to be equival to each other, the formula (28) can be expressed as: ##EQU27##
The output voltage V.sub.2 of CP is input to threshold element Th.sub.1 which outputs an output voltage "S" when V.sub.2 reaches the predetermined threshold voltage V.sub.th.
RC.sub.1 can have the construction as shown in FIG. 16 or in FIG. 17. In the structure in FIG. 16, one terminal of capacitance CC.sub.1 is grounded and the other terminal is used as the output terminal to which voltage pulse RP is input through resistance R.sub.1. Expressing time as "t", V.sub.1 can be expressed by the following formula: ##EQU28## Thus, V.sub.1 increases with time. According to formula (30), formula (29) can be rewritten as: ##EQU29## If the structure in FIG. 16 is used, threshold element Th.sub.1 produces an output corresponding to the input when the input is over the threshold voltage.
The circuit in FIG. 17 has the same type of structure used in FIG. 16 with only CC.sub.1 and R.sub.1 switched. V.sub.1 and V.sub.2 can be expressed by the formulas: ##EQU30## Thus, both of these voltages decrease with time. If the structure in FIG. 17 is used, threshold terminal Th.sub.1 produces an output when the input is equal to or below the threshold voltage.
RC.sub.2 can be one of the structures shown in FIGS. 18-21, all of these embodiments comprise threshold element Th.sub.2 resistance R.sub.2 and capacitance CC.sub.2. The circuit structures shown in FIG. 18 and 19 have the characteristic of increasing with time. Threshold element Th.sub.2 in FIG. 18 performs a type of breaking between R.sub.2 and CC.sub.2. In FIG. 19 on the other hand, threshold element Th.sub.2 performs a type of breaking between CC.sub.2 and ground. The output voltage Y of RC.sub.2 can be represented by the following formula, if the structures shown in FIG. 18 or 19 is used. ##EQU31##
The circuit structures shown in FIG. 20 and 21 have the characteristic of decreasing with time. Threshold element Th.sub.2 performs a type of breaking between R.sub.2 and CC.sub.2. In FIG. 21, and on the other hand, Th.sub.2 performs a type of breaking between CC.sub.2 and ground. The characteristic of these circuits can be expressed as in (35). ##EQU32##
Th.sub.1 generates an output when V.sub.2 is equal to the threshold voltage V.sub.th, consequently, Th.sub.2 performs a type of breaking and the voltage Y is preserved because the charging of CC.sub.2 has stopped.
Combining formulas {(31) and (34)} or {(33) and (35)}, produces the following formula: ##EQU33##
Combining formulas {(31) and (35)} or {(33) and (34)}, produces the following formula: ##EQU34##
When (RP+V.sub.off) equals 3V.sub.th, formulas (36) and (37) can be reduced to the following formulas: ##EQU35##
As seen by the formulas expressed above, the calculating circuit in this embodiment of the invention can perform exponential calculation on the input X with the exponent being (R.sub.1 CC.sub.1)/(R.sub.2 CC.sub.2). The characteristics of the circuit expressed by formulas (36) and (37) can be obtained from the relationship between RC.sub.1 and RC.sub.2. Likewise the characteristics of the circuit expressed by formulas (38) and (39) can be obtained from the relationship between V.sub.th and Rp. When RP equals 3V.sub.th, the related formula can be simplified without the need for V.sub.off. On the other hand, V.sub.off can be used in order to absorb any deviation in V.sub.th.
As shown in FIG. 22, a multiplication circuit comprises first, second and third times T.sub.1, T.sub.2 and T.sub.3, respectively. Input voltage X is input to timer T.sub.1, and input voltage Y is input to timer T.sub.2.
Timer T.sub.1 comprises threshold element Th.sub.1 which generates an output voltage when its input voltage is over the threshold voltage. Capacity coupling Cp.sub.1 is connected to the input of threshold element Th.sub.1. Capacity coupling Cp.sub.1 comprises a pair of capacitances C.sub.1 and C.sub.2 connected in series. When the voltage input to capacitances C.sub.1 and C.sub.2 is V.sub.1 and V.sub.2, respectively, the input voltage V.sub.3 for Th.sub.1 can be expressed by the following formula: ##EQU36##
Threshold element Th.sub.1 comprises a pair of inverters connected in series. When V.sub.3 exceeds the threshold voltage, the output of INV.sub.1 is 0V, and the output of INV.sub.2 goes high (i.e. becomes its maximal voltage V.sub.m). The first input voltage X is connected to C.sub.1. The standard voltage pulse RP is connected to C.sub.2 through resistance R.sub.1. C.sub.2 is grounded through charging capacitance C.sub.3. When RP goes high C.sub.3 is charged and V.sub.2 rises up to the same voltage level as RP.
When RP rises up to a predetermined level and X is input to C.sub.1, C.sub.3 is charged by a time constant which is determined by the value of C.sub.3 xR.sub.1. Expressing time as "t", V.sub.3 can be expressed by the formula: ##EQU37## As seen by the expression in (41), V.sub.3 rises as time increases. When V.sub.3 exceeds the threshold voltage V.sub.th1 of Th.sub.1, the output voltage V.sub.7 of Th.sub.1 becomes the maximal voltage V.sub.m. The period of time it takes V.sub.3 to rise from 0V to the threshold voltage V.sub.th1 is "tx". V.sub.th1 can then be represented by the formula: ##EQU38##
Timer T.sub.2 comprises threshold element Th.sub.2, a two input capacity coupling Cp.sub.2, charging capacitance C.sub.6 and resistance R.sub.2. They are connected in a similar manner as its corresponding components in timer T.sub.1. Capacity coupling Cp.sub.2 comprises a couple of capacitances C.sub.4 and C.sub.5 connected in series. When the voltage input to C.sub.4 and C.sub.5 are labeled V.sub.4 and V.sub.5, respectively, input voltage V.sub.6 for Th.sub.2 can be expressed by the following formula: ##EQU39##
Th.sub.2 comprises a pair of inverters connected in series. When V.sub.6 exceeds the threshold voltage, the output of INV.sub.3 is 0V, and the output of INV.sub.4 goes high (i.e. becomes the maximal voltage V.sub.m). The second input voltage Y is connected to capacitance C.sub.4. The standard voltage pulse RP is connected to capacitance C.sub.5 through resistance R.sub.2. Capacitance C.sub.5 is grounded through charging capacitance C.sub.6. When RP goes high, C.sub.6 is charged and V.sub.5 rises up to the same voltage level as RP.
When RP rises up to the predetermined level and Y is input to capacitance C.sub.4, capacitance C.sub.6 is charged by a time constant determined by the value of C.sub.6 xR.sub.2. Expressing time as "t", V.sub.6 can be represented by the following formula: ##EQU40## As seen by formula (44), V.sub.6 rises as time increases. When V.sub.6 exceeds the threshold voltage V.sub.th2 of threshold element Th.sub.2, the output voltage V.sub.8 of Th.sub.2 becomes the maximal voltage V.sub.m. The time period it takes V.sub.6 to rise from 0V to the threshold voltage V.sub.th2 is expressed by "ty", V.sub.th2 can then be represented by the following formula: ##EQU41##
T.sub.3 comprises charging capacitances C.sub.7. V.sub.7 is input to one terminal of T.sub.3 and the output voltage Z is measured at the other terminal. The output side of capacitance C.sub.7 is grounded through resistance R.sub.3, and an nMOS ("Th.sub.3 ", hereafter) V.sub.8 is input to the gate of Th.sub.3. Capacitance C.sub.7 is charged from the point that V.sub.7 is V.sub.m, and it is completed at the point that V.sub.8 is V.sub.m by the breaking of Th.sub.3. That is, capacitance C.sub.7 is charged during the time period (ty-tx). Therefore, "Z" can be expressed by the following formula: ##EQU42## Formula (42) can now be expressed as: ##EQU43## Likewise, formula (45) can be expressed as: ##EQU44## When the formulas (47) and (48) are used in formula (46), the following formula is derived: ##EQU45## If V.sub.th1 =V.sub.th2 =V.sub.m /2, V.sub.m =RP, and C.sub.1 =C.sub.2 =C.sub.3 =C.sub.4 =C.sub.5 =C.sub.6, formula (49) becomes: ##EQU46## Thus, by this embodiment of the invention, division of X and Y can be obtained. This calculation is very precise and it is clear from FIG. 22, the circuit is very simple in structure.
FIG. 23 shows a timer T.sub.4 comprising a resistance R.sub.4, a CMOS Th.sub.4 and a capacitance C.sub.8 in series instead of timer T.sub.3. Timer T.sub.4 is connected to timer T.sub.1 through resistance R.sub.4, C.sub.8 is grounded, and timer T.sub.2 is connected to the gate of the CMOS Th.sub.4. The output terminal of timer T.sub.4 is located between Th.sub.4 and C.sub.8. The output voltage 1-Z of timer T.sub.4 is expressed by the following formula: ##EQU47## If R.sub.4 =R.sub.1 =R.sub.2 and C.sub.8 =C.sub.3 =C.sub.6, formula (51) can be reduced to:
1-Z=V.sub.m (52)
As seen by formula (52), the calculation of compliment of the quotient is performed by this circuit.
FIG. 24 is a set of graphs showing the voltages at V.sub.3, V.sub.6, and Z for the embodiment depicted in FIG. 22.
Claims
- 1. A calculating circuit comprising:
- a circuit input for receiving a first input voltage;
- a circuit output;
- a first timer; and
- a second timer; wherein said first timer comprises:
- a first RC circuit for outputting a first RC circuit output voltage which is based upon a second input voltage and changes according to a first exponential function of time;
- a first capacitive coupler for outputting a first capacitive coupler output voltage based upon said first input voltage and said first RC circuit output voltage; and
- first threshold means, having a first threshold input terminal, for outputting a first timer output voltage based on a comparison of said first capacitive coupler output voltage and a first predetermined threshold level;
- wherein said first capacitive coupler comprises:
- a first capacitive coupler input connected to said circuit input;
- a second capacitive coupler input; and
- a first capacitive coupler output, connected to said first threshold input terminal, for outputting said first capacitive coupler output voltage; and
- wherein said first RC circuit comprises:
- a first resistance;
- a first capacitance coupled to said first resistance;
- a first RC input, coupled to at least one of said first resistance and said first capacitance, for receiving said second input voltage; and
- a first RC output, connected to at least one of said first resistance and said first capacitance, and to said second capacitive coupler input, for outputting said first RC circuit output voltage; and
- wherein said second timer comprises:
- second threshold means, connected to said first threshold means, for outputting a second timer output voltage based on a comparison of said first timer output voltage and a second predetermined threshold level; and
- a second RC circuit for outputting a circuit output voltage which is based upon a third input voltage and said second timer output voltage, and changes according to a second exponential function of time;
- wherein said second RC circuit comprises:
- a second resistance;
- a second capacitance coupled to said second resistance;
- a second RC input, coupled to at least one of said second resistance and said second capacitance, for receiving said third input voltage; and
- a second RC output, connected to at least one of said second resistance and said second capacitance, and to said circuit output, for outputting said circuit output voltage.
- 2. A calculating circuit according to claim 1 including a third timer comprising:
- a third RC circuit for outputting a third RC circuit output voltage which is based upon said third input voltage and changes according to a third exponential function of time;
- a second capacitive coupler for outputting a second capacitive coupler output voltage based upon a fourth input voltage and said third RC circuit output voltage; and
- a third threshold means, having a second threshold input terminal, for producing said second input voltage based upon a comparison of said second capacitive coupler output voltage and a third predetermined threshold level;
- wherein said second capacitive coupler comprises:
- a third capacitive coupler input for receiving said fourth input voltage;
- a fourth capacitive coupler input; and
- a second capacitive coupler output, connected to said second threshold input terminal, for outputting said second capacitive coupler output voltage; and wherein said third RC circuit comprises:
- a third resistance; a third capacitance coupled to said third resistance;
- a third RC input, coupled to at least one of said third resistance and said third capacitance, for receiving said third input voltage-;
- a third RC output, connected to at least one of said third resistance and said third capacitance, and to said fourth capacitive coupler input, for outputting said third RC circuit output voltage.
- 3. A calculation circuit according to claim 2 wherein a time constant of said first RC circuit, a time constant of said second RC circuit and a time constant of said third RC circuit are equal.
- 4. A calculation circuit according to claim 2 wherein said first predetermined threshold level, said second predetermined threshold level, and said third predetermined threshold level are equal.
- 5. A calculation circuit according to claim 2 wherein said third predetermined threshold level is equal to said first predetermined threshold level; and
- wherein said first input voltage and said fourth input voltage are equal to one half of said third input voltage.
- 6. A calculating circuit according to claim 1 including a third timer comprising:
- a third RC circuit for outputting a third RC circuit output voltage which is based upon said second input voltage and changes according to a third exponential function of time;
- a second capacitive coupler for outputting a second capacitive coupler output voltage based upon a fourth input voltage and said third RC circuit output voltage; and
- a third threshold means, having a second threshold input terminal, for producing said third input voltage based upon a comparison of said second capacitive coupler output voltage and a third predetermined threshold level;
- wherein said second capacitive coupler comprises:
- a third capacitive coupler input for receiving said fourth input voltage;
- a fourth capacitive coupler input; and
- a second capacitive coupler output, connected to said second threshold input terminal, for outputting said second capacitive coupler output voltage; and
- wherein said third RC circuit comprises:
- a third resistance;
- a third capacitance coupled to said third resistance;
- a third RC input, coupled to at least one of said third resistance and said third capacitance, for receiving said second input voltage;
- a third RC output, connected to at least one of said third resistance and said third capacitance, and to said fourth capacitive coupler input, for outputting said third RC circuit output voltage.
- 7. A calculation circuit according to claim 6 wherein a time constant of said first RC circuit, a time constant of said second RC circuit and a time constant of said third RC circuit are equal.
- 8. A calculation circuit according to claim 6 wherein said first predetermined threshold level, said second predetermined threshold level, and said third predetermined threshold level are equal.
- 9. A calculation circuit according to claim 6 wherein said first predetermined threshold level, said second predetermined threshold level, and said third predetermined threshold level are equal; and
- wherein said first predetermined threshold level is equal to one half of said first timer output voltage; and
- wherein said first timer output voltage is equal to said second input voltage.
- 10. A calculating circuit according to claim 6 wherein said third predetermined threshold level is equal to said first predetermined threshold level; and
- wherein said first input voltage and said fourth input voltage are equal to one half of said second input voltage.
- 11. A calculating circuit according to claim 1 wherein a time constant of said first RC circuit is equal to a time constant of said second RC circuit.
- 12. A calculating circuit according to claim 1 wherein a time constant of said first RC circuit is equal to a time constant of said second RC circuit multiplied by a real positive number larger than 1.
- 13. A calculating circuit according to claim 1 wherein a time constant of said second RC circuit is equal to a time constant of said first RC circuit multiplied by a real positive number larger than 1.
- 14. A calculating circuit according to claim 1 Wherein a time constant of said first RC circuit is equal to a time constant of said second RC circuit multiplied by a real positive integer larger than 1.
- 15. A calculating circuit according to claim 1 wherein a time constant of said second RC circuit is equal to a time constant of said first RC circuit multiplied by a real positive integer larger than 1.
- 16. A calculating circuit according to claim 1 wherein said first resistance comprises:
- a first resistance terminal connected to said second input voltage; and
- a second resistance terminal connected to said second capacitive coupler input; and
- wherein said first capacitance comprises:
- a first capacitance terminal connected to said second resistance terminal; and
- a second capacitance terminal which is grounded.
- 17. A calculating circuit according to claim 1 wherein said second resistance comprises:
- a first resistance terminal connected to said third input voltage; and
- a second resistance terminal; and
- wherein said second capacitance comprises:
- a first capacitance terminal connected to said second resistance terminal; and
- a second capacitance terminal for receiving said second timer output voltage.
- 18. A calculating circuit according to claim 1 wherein said first capacitance comprises:
- a first capacitance terminal connected to said second input voltage; and
- a second capacitance terminal connected to said second capacitive coupler input; and
- wherein said first resistance comprises:
- a first resistance terminal connected to said second capacitance terminal; and
- a second resistance terminal which is grounded.
- 19. A calculating circuit according to claim 1 wherein said second capacitance comprises:
- a first capacitance terminal connected to said third input voltage; and
- a second capacitance terminal; and
- wherein said second resistance comprises:
- a first resistance terminal connected to said second capacitance terminal; and
- a second resistance terminal for receiving said second timer output voltage.
- 20. A calculating circuit according to claim 1 wherein said first predetermined threshold level and said second predetermined threshold level are equal.
- 21. A calculating circuit according to claim 1 wherein said first predetermined threshold level and said second predetermined threshold level are equal to one half of said first timer output voltage.
- 22. A calculation circuit according to claim 2 wherein said first predetermined threshold level, said second predetermined threshold level, and said third predetermined threshold level are equal; and
- wherein said first predetermined threshold level is equal to one half of said first timer output voltage; and
- wherein said first timer output voltage is equal to said second input voltage.
- 23. A calculating circuit according to claim 1 wherein said second input voltage and said third input voltage are equal to one half said first timer output voltage.
- 24. A calculating circuit according to claim 1 wherein said second threshold means further comprises a field-effect transistor, having a drain and a source; and
- wherein second resistance comprises:
- a first resistance terminal connected to said third input voltage; and
- a second resistance terminal connected to said drain; and
- wherein said second capacitance comprises:
- a first capacitance terminal connected to said source; and
- a second capacitance terminal which is grounded.
- 25. A calculating circuit according to claim 1 wherein said second threshold means further comprises a field-effect transistor, having a drain and a source; and
- wherein said second capacitance comprises:
- a first capacitance terminal connected to said third input voltage; and
- a second capacitance terminal connected to said drain; and
- wherein said second resistance comprises:
- a first resistance terminal connected to said source; and
- a second resistance terminal which is grounded.
- 26. A calculating circuit according to claim 1 wherein said first capacitive coupler further comprises a third capacitive coupler input for receiving an offset voltage.
Priority Claims (5)
Number |
Date |
Country |
Kind |
4-280792 |
Sep 1992 |
JPX |
|
4-292137 |
Oct 1992 |
JPX |
|
4-298110 |
Oct 1992 |
JPX |
|
4-298044 |
Oct 1992 |
JPX |
|
4-304944 |
Oct 1992 |
JPX |
|
US Referenced Citations (2)