This invention pertains to circuitry for sampled data systems. More particularly, the present invention relates to analog square root calculating circuits and methods, as well as root mean square (RMS) circuits and digital signal processing (DSP) algorithms and methods.
There exist previously known techniques for realizing a square root of an input voltage with an analog square root calculating circuit that implements non-linear feedback loops. For example,
Circuits and methods are implemented in an analog sampled data system in a manner that will produce a square root of an input voltage. The circuits can also be combined with a multiplier and a low pass filter (or a filtering multiplier) in order to produce a Root Mean Square (RMS) circuit. Furthermore, the circuits can be represented by difference equations, and methods can be applied in order to produce a digital signal processing (DSP) algorithm in order to calculate a square root value.
According to one aspect, a square root calculating circuit is provided for an analog sampled data system. The square root calculating circuit includes a summing integrator circuit and a multiplier circuit. The summing integrator circuit has two inputs wherein the first input is configured to receive an input signal, Vinput. The multiplier circuit is provided in a feedback loop to the summing integrator circuit. The multiplier circuit provides a second input to the summing integrator circuit. The multiplier is configured to produce a signal that is proportional to a product of two signals. Both signals represent an output of the summing integrator circuit, Voutput, being proportional to the square root of the input signal, Vinput.
According to another aspect, a square root calculating circuit is provided for an analog sampled data system. The square root calculating circuit includes a low-pass filter and a divider circuit. The low-pass filter is configured to receive an input signal, Vd input, and produce an output signal, Voutput. The divider circuit is provided as an input to the low-pass filter. The divider circuit is configured to receive an input signal, Vinput, and produce an output signal, Vd output, equal to the input signal divided by a term proportional to the output signal, Voutput.
According to yet another aspect, a square root calculating circuit is provided for an analog sampled data system. The square root calculating circuit includes a summing integrator and a multiplying feedback branch. The summing integrator has two inputs, wherein the first input is configured to receive an input signal, Vinput. The multiplying feedback branch provides a second input to the summing integrator circuit. The multiplying feedback branch is configured to generate a product term of two input signals. Both input signals represent an output, Voutput, of the summing integrator as being a square root of the input signal, Vinput.
According to yet even another aspect, a configurable analog module is provided for configuring a field programmable analog array in order to implement a square root calculation for an analog sampled data system. The configurable analog module includes an analog switched-capacitor circuit. The analog switched-capacitor circuit is configured to calculate a square root of an input voltage from an analog sampled data system.
Preferred embodiments of the invention are described below with reference to the following accompanying drawings.
This disclosure of the invention is submitted in furtherance of the constitutional purposes of the U.S. Patent Laws “to promote the progress of science and useful arts” (Article 1, Section 8).
Reference will now be made to several preferred embodiments of Applicant's invention. A square root calculating circuit and method are provided for use with an analog sampled data system. According to two aspects, square root calculation is provided for a sampled data system. According to another aspect, a non-linear input branch of an integrator is provided with a multiplying feedback branch in order to provide more compact, elegant circuitry for calculating a square root. Furthermore, the circuitry and methods can be applied to other sampled data systems.
For example, the circuits can be represented by difference equations, and the apparatus and method can be applied in order to produce a digital signal processing (DSP) algorithm in order to calculate a square root. Even furthermore, the circuitry can be used in conjunction with a multiplier and low-pass filter, or in conjunction with a filtering multiplier in order to produce a root mean square (RMS) circuit.
While the invention is described by way of several preferred embodiments, it is understood that the description is not intended to limit the invention to such embodiments, but is intended to cover alternatives, equivalents, and modifications which may be broader than the embodiments, but which are included within the scope of the appended claims.
In an effort to prevent obscuring the invention at hand, only details germane to implementing the invention will be described in great detail, with presently understood peripheral details being incorporated by reference, as needed, as being presently understood in the art.
Voutput=sgn(Vinput)√{square root over (abs)}(Vinput). [Equation 1]
In contrast, the prior art circuit 10 of
However, an additional improvement can be realized by replacing the difference amplifier and low-pass filter with a difference integrator. As well as providing a beneficial reduction in circuit elements, the difference integrator provides a high DC gain that is required in order to realize an accurate feedback loop, as well as to realize a reduction in high frequency gain that is required in order to achieve stability. The negative feedback that is applied to the difference integrator forms a low-pass filter in conjunction with a square root function.
The circuit 20 of
As shown in
Switches S1+ and S1− cooperate with respective capacitive circuit elements 26 (C1+ and C1−) to each provide a switched capacitor implementation. Furthermore, capacitors C2+ and C2− cooperate with respective switches S2+ and S2− to each further provide a switched capacitor implementation.
Summing integrator circuit 24 includes another operational amplifier 30. Operational amplifier 30 comprises a fully differential amplifier, according to one implementation, having a pair of differential inputs and a pair of differential outputs. Also according to one construction, operational amplifier 28 similarly comprises a differential amplifier having a pair of differential inputs and a pair of differential outputs.
Operational amplifier 30 is configured to receive a pair of differential inputs via an array of switched capacitors. More particularly, switched capacitors are provided via switches S6+, S7+, and capacitor C4+; switches S6−, S7−, and capacitor C4−; switches S4+, S5+, and capacitor C3+; and switches S4−, S5−, and C3−. Summing integrator circuit 24 also includes capacitors C5+ and C5−, each provided in a feedback loop between respective differential outputs and inputs of operational amplifier 30.
In order to understand such implementation, it is beneficial to understand that a square root function can be realized with a divider element and a feedback circuit. For the case of continuous time analog circuits, a divider can be realized using a multiplier element that is provided in a feedback loop. By combining these concepts, a pair of feedback paths are provided to multiplier inputs, yielding the prior art circuit depicted in
More particularly, low-pass filter 42 can be placed after the divider circuit 40 in order to reduce high frequency loop gain, thereby resulting in a stable circuit. A change that is imparted in the divider element of divider circuit 40 to produce an output voltage equal to input voltage divided by the absolute value of the feedback input voltage will again result in a feedback circuit that will produce an output voltage equal to the sign of the input voltage multiplied by the square root of the absolute value of the input voltage:
Voutput=sgn(Vinput)√{square root over (abs)}(Vinput). [Equation 1]
Accordingly, the output can be realized in a switched-capacitor circuit as illustrated in
As shown in
As shown in
Low-pass filter 42 includes an operational amplifier 50. According to one construction, operational amplifier 50 comprises a fully differential amplifier with a pair of differential inputs and a pair of differential outputs. Switched capacitor arrays S4+, C3+, S5+, and S4−, C3−, S5− are provided at respective differential inputs for operational amplifier 50. Furthermore, switched capacitor arrays S6+, C4+, S7+, and S6−, C4−, S7− provide feedback between the respective differential output and differential input for operational amplifier 50. Low-pass filter 42 also includes capacitors C5+ and C5−.
It is understood that circuit 20 of
As shown in
In contrast with the circuitry 20 (of
As shown in
The concept of combining a non-linear element along with an input branch of an integrator can also be used in order to create a filtering divider circuit. It is interesting to note that, when a square root circuit is made from a divider and a low-pass filter, the resulting circuit is different from that depicted in
Circuit 220 of
ADC 32 (of
The embodiments depicted in
In compliance with the statute, the invention has been described in language more or less specific as to structural and methodical features. It is to be understood, however, that the invention is not limited to the specific features shown and described, since the means herein disclosed comprise preferred forms of putting the invention into effect. The invention is, therefore, claimed in any of its forms or modifications within the proper scope of the appended claims appropriately interpreted in accordance with the doctrine of equivalents.
This patent claims the benefit of U.S. Provisional Patent Application Ser. No. 60/588,914, entitled “Analog Square Root Calculating Circuit for a Sampled Data System and Method”, which was filed Jul. 15, 2004, and which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60588914 | Jul 2004 | US |