Analog computing using dynamic amplitude scaling and methods of use
11120230 · 2021-09-14
Assignee
Inventors
Cpc classification
G06G7/161
PHYSICS
International classification
Abstract
An improved integrator for use in physical analog-computing systems is disclosed, featuring real-time dynamic amplitude scaling schemas that make use of an injected correction factor responsive to a contemporaneous change in an input dynamic-amplitude-scaling compensation factor. The injected correction factor is designed to reduce or eliminate transient output perturbations due to the amplitude scaling change. The disclosures discussed have real-world applications for physical analog computers and hybrid computers used to control and manage many types of industrial-control systems.
Claims
1. A method for operating a physical analog computer adapted to receive and process at least one input signal, the physical analog computer defining an integrator downstream of said at least one input signal and further defining an output downstream of said integrator, the method comprising the steps of: applying a first change to a scaling value at the at least one input signal responsive to an increase or a decrease in a magnitude of the at least one input signal; and in response to any change in the scaling value: dynamically calculating a first one-time correction factor based upon the magnitude of the first change to the scaling value; and at the integrator, injecting the first one-time correction factor to the integrator with an adder, the timing and magnitude of the first one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the first one-time correction factor.
2. The method of claim 1 wherein the application of a first change to the scaling value at the at least one input signal is an increase in the scaling value in response to an increase in a magnitude of the at least one input signal.
3. The method of claim 1 wherein the application of a first change to the scaling value at the at least one input signal is a decrease in the scaling value in response to a decrease in a magnitude of the at least one input signal.
4. The method of claim 1 wherein the selection of the timing and magnitude of the first one-time correction factor are carried out by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
5. The method of claim 1 wherein the changing of the scaling value at the least one input signal is determined by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
6. The method of claim 1 further comprising the steps, carried out after the steps of applying a first change to a scaling value and injecting a first one-time correction factor, of: applying a second change to the scaling value at the at least one input signal; at the integrator, injecting a second one-time correction factor to the integrator with an adder, the timing and magnitude of the second one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the second one-time correction factor.
7. The method of claim 6 wherein the second change to the scaling value is in a different direction than the first change to the scaling value.
8. The method of claim 6 wherein the second change to the scaling value is in the same direction as the first change to the scaling value.
9. A physical analog computer adapted to receive and process at least one input signal, the physical analog computer defining an integrator downstream of said at least one input signal and further defining an output downstream of said integrator, the analog computer further comprising: first means responsive to increases and decreases in a magnitude of the at least one input signal for applying a first change to a scaling value at the at least one input signal; second means, responsive to any change to the scaling value, for selecting a timing and magnitude of a one-time correction factor for injection at an output of the integrator, the timing and magnitude of the first one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the first one-time correction factor, and an adder which injects the one-time correction factor at the integrator, wherein the first one-time correction factor is dynamically calculated based on the magnitude of the first change to the scaling value.
10. The analog computer of claim 9 wherein the selection of the timing and magnitude of the first one-time correction factor are carried out by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
11. The analog computer of claim 9 wherein the changing of the scaling value at the least one input signal is determined by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
12. A method for operating a physical analog computer adapted to receive and process at least one input signal, the physical analog computer defining an integrator downstream of said at least one input signal and further defining an output downstream of said integrator, the method comprising the steps of: applying a first change to a scaling value at the at least one input signal; at the integrator, injecting a first one-time correction factor to the integrator with an adder, the timing and magnitude of the first one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the first one-time correction factor; wherein the application of a first change to the scaling value at the at least one input signal is an increase in the scaling value in response to an increase in a magnitude of the at least one input signal.
13. The method of claim 12 wherein the selection of the timing and magnitude of the first one-time correction factor are carried out by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
14. The method of claim 12 wherein the changing of the scaling value at the least one input signal is determined by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
15. The method of claim 12 further comprising the steps, carried out after the steps of applying a first change to a scaling value and injecting a first one-time correction factor, of: applying a second change to the scaling value at the at least one input signal; at the integrator, injecting a second one-time correction factor to the integrator, the timing and magnitude of the second one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the second one-time correction factor.
16. The method of claim 15 wherein the second change to the scaling value is in a different direction than the first change to the scaling value.
17. The method of claim 15 wherein the second change to the scaling value is in the same direction as the first change to the scaling value.
18. A method for operating a physical analog computer adapted to receive and process at least one input signal, the physical analog computer defining an integrator downstream of said at least one input signal and further defining an output downstream of said integrator, the method comprising the steps of: applying a first change to a scaling value at the at least one input signal; at the integrator, injecting a first one-time correction factor to the integrator with an adder, the timing and magnitude of the first one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the first one-time compensation factor; wherein the application of a first change to the scaling value at the at least one input signal is a decrease in the scaling value in response to a decrease in a magnitude of the at least one input signal.
19. The method of claim 18 wherein the selection of the timing and magnitude of the first one-time correction factor are carried out by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
20. The method of claim 18 wherein the changing of the scaling value at the least one input signal is determined by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
21. The method of claim 18 further comprising the steps, carried out after the steps of applying a first change to a scaling value and injecting a first one-time correction factor, of: applying a second change to the scaling value at the at least one input signal; at the integrator, injecting a second one-time correction factor to the integrator, the timing and magnitude of the second one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the second one-time correction factor.
22. The method of claim 21 wherein the second change to the scaling value is in a different direction than the first change to the scaling value.
23. The method of claim 21 wherein the second change to the scaling value is in the same direction as the first change to the scaling value.
24. A method for operating a physical analog computer adapted to receive and process at least one input signal, the physical analog computer defining an integrator downstream of said at least one input signal and further defining an output downstream of said integrator, the method comprising the steps of: applying a first change to a scaling value at the at least one input signal; at the integrator, injecting a first one-time correction factor to the integrator with an adder, the timing and magnitude of the first one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the first one-time correction factor, further comprising the steps, carried out after the steps of applying a first change to a scaling value and injecting a first one-time correction factor, of: applying a second change to the scaling value at the at least one input signal; at the integrator, injecting a second one-time correction factor to the integrator with the adder, the timing and magnitude of the second one-time correction factor selected to reduce any perturbation that would be observed at the output in the absence of the injection of the second one-time correction factor, wherein the second change to the scaling value is in the same direction as the first change to the scaling value.
25. The method of claim 24 wherein the application of a first change to the scaling value at the at least one input signal is an increase in the scaling value in response to an increase in a magnitude of the at least one input signal.
26. The method of claim 24 wherein the application of a first change to the scaling value at the at least one input signal is a decrease in the scaling value in response to a decrease in a magnitude of the at least one input signal.
27. The method of claim 24 wherein the selection of the timing and magnitude of the first one-time correction factor are carried out by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
28. The method of claim 24 wherein the changing of the scaling value at the least one input signal is determined by means of digital computation running in parallel with any analog computation carried out by the physical analog computer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DETAILED DESCRIPTION
I. Overview
(20) Amplitude scaling can help internal signals avoid exceeding their allowable range and being buried in noise. In a sense, amplitude scaling optimizes the “dynamic range” of an analog computer. The idea is to maximize the signal-to-noise ratio for the analog paths.
(21) The inventive disclosures described herein pertain to improved physical analog computers and integrators that employ dynamic amplitude scaling in order to reduce or eliminate analog-computer output distortions and input-signal-to-noise ratios in real-world applications. The basic schemas provide for detecting when an input signal range is not optimum for the analog-computing environment, then strategically introducing an input dynamic-amplitude-scaling compensation factor in response to an input-signal while the physical analog computer is in service in order to ensure that said input signal's range is constrained to be within the design limits of said physical analog computer, whereby the introduction of said dynamic-amplitude-scaling compensation factor reduces system-output distortion and the signal-to-noise ratio. The schema also provides for introducing an output dynamic-amplitude-descaling compensation factor at the output of said physical analog computer in order to prepare the analog computer output for presentation to a system user. In variations, the schema incorporates an improved integrator that is adapted to receive a one-time correction factor in input amplitude responsive to an imminent change in the input dynamic-amplitude-scaling compensation factor, which is designed to counteract any transient output perturbations due to the introduction of a dynamic-amplitude-scaling compensation factor and to ensure that the output of the improved physical analog computer is better than without said one-time correction factor.
(22) It may be helpful to clarify what “one-time” means in this context. The insertion of a one-time correction factor at an integrator, to correct for a contemporaneous change in a scaling factor at an input, is a correction factor that is inserted one time in response to the scaling factor change. It does not mean that such insertion of a correction factor happens only one time during a period of time during which analog computation is taking place. Indeed the teachings of the invention contemplate that during a time when analog computation is taking place, for a particular input to the analog computer a scaling factor change might happen at one time and another scaling factor change might happen at another time. The teachings of the invention also contemplate that during a time when analog computation is taking place, for a first input to the analog computer a scaling factor change might happen at one time and for a second input to the analog computer another scaling factor change might happen, at the same time or at a different time.
II. General Technical Description of Dynamic Amplitude Scaling in an Improved Physical Analog Computer
(23) This Section II generally describes the principles underlying the use of dynamic amplitude scaling in an improved physical analog computer. Refer to
(24) Amplitude scaling can help internal signals avoid exceeding their allowable range and being buried in noise. In a sense, amplitude scaling optimizes the “dynamic range” of an analog computer.
(25)
|x|.sub.max=100A
|ÿ|.sub.max=55.7A
|{dot over (y)}|.sub.max=14.8A
|y|.sub.max=5.8A
(26) The above information, using the techniques described herein, results in the amplitude-scaled system shown in
(27) Following computation, the amplitude-scaled variables should be de-scaled before presentation to the system user. For example, the amplitude-scaled solution for variable y depicted in
(28) The alert reader will appreciate that different types of input signals (e.g., different amplitudes or frequency content) may ideally require different scaling. If the types of input signals are known ahead of time, then the amplitude scaling can be adjusted beforehand.
(29) However, if a change in amplitude scaling is needed while a computer is in service, then, while the “before” and “after” scaling may be correct, the transition from the old to the new amplitude-scaling factors (gains) can cause disturbances at the output, thus disrupting system operation. For example,
y(t)=g.sup.−1∫.sub.0.sup.1gx(τ)δτ=∫.sub.0.sup.1x(τ)dτ
(30) The output of the integrator is represented in
(31)
(32) Thus, the output jumps by:
(33)
(34) Such system disruptions (i.e., output jumps) has been observed in filters. In the prior-art literature, it has been addressed by updating the values of capacitor voltages (for example, see U.S. Pat. No. 5,541,600 to Blumenkrantz). However, a better and more feasable solution is as follows.
(35) Refer to
(36) The above requires sampling the output around the time it jumps. To avoid possible complications, the output of the integrator, w, is sampled instead:
(37) Since:
w(t.sub.k.sup.−)=g.sub.1y(t.sub.k.sup.−)
(38) Then the following compensation for the disruption can be used to add to the output:
(39)
(40) Referring to
(41)
(42)
(43)
(44) A “jump” correction E may be added, as depicted in
(45) The above-discussed principles can be generalized to linear analog computers with: Arbitrary topologies; Gains that depend not only on one, but on multiple integrator outputs; and Arbitrary g shapes (even continuously varying).
(46) Such implementations can be accomplished by applying to the analog computer earlier results as discussed in the following prior-art references, which were created by the same Inventor as for the present patent application, and which are hereby incorporated by reference: Y. Tsividis, “Externally linear, time-invariant systems and their application to companding signal processors”, IEEE Transactions on Circuits and Systems, Part II, vol. 44, no. 2, pp. 65-85, February 1997; and U.S. Pat. No. 6,389,445, “Methods and Systems for Designing and Making Signal-Processor Circuits With Internal Companding, and the Resulting Circuits,” Yannis Tsividis.
(47) Refer to
{dot over (x)}.sub.1=−a.sub.1x.sub.1−a.sub.2x.sub.2+u
{dot over (x)}.sub.2=x.sub.1
y=c.sub.1x.sub.1+c.sub.2x.sub.2+d.sub.1u
(48) This can also be expressed in matrix form:
(49)
(50) These are of the form:
{dot over (x)}=Ax+Bu
y=Cx+Du Where:
(51)
(52) As was developed in the two references cited earlier, in general, any linear implementation on the analog computer can be described by state equations:
{dot over (x)}(t)=Ax(t)+Bu(t)
y(t)=Cx(t)+Du(t) Where: x is the vector of all integrator outputs; u is the vector of all inputs; y is the vector of the analog computer's outputs; and A, B, C, and D are appropriate matrices.
(53) These state equations can be applied to dynamic amplitude scaling, and can also be written for nonlinear systems. In
(54) This is accomplished by starting with a linear-time-invariant (LTI) prototype:
{dot over (x)}(t)=Ax(t)+Bu(t)
y(t)=Cx(t)+Du(t)
(55) Consider a linear-time-varying (LTV) system:
{dot over (w)}(t)=Â(t)w(t)+{circumflex over (B)}(t)u(t)
ŷ(t)=Ĉ(t)w(t)+{circumflex over (D)}(t)u(t)
(56) The actual physical analog-computing system is required to have, for the same input, the same output as the prototype:
ŷ(t)=y(t),allt
(57) Whereas, its state variables are “scaled” according to a gain matrix G(t):
w(t)=G(t)x(t)
(58) Direct substitution shows that for the above equations to be satisfied the following is required:
Â(t)=Ġ(t)G.sup.−1(t)+G(t)AG.sup.−1(t)
{circumflex over (B)}(t)=G(t)B
Ĉ(t)=CG.sup.−1(t)
{circumflex over (D)}(t)=D
(59) These are linear transformations that convert the original, time-invariant analog computer to a time-varying one. This allows the internal waveforms to be amplitude-scaled, without any transients at the output. However, unfortunately, practical implementation is difficult. This technique is valid for linear equations only. Scaling for nonlinear cases is tricky and case-dependent.
CONCLUSIONS
(60) Gain adjustments are important for optimizing the input-output performance of analog-computer circuits that have, by themselves, severe linearity and noise limitations. When it is attempted to vary gains while the analog computer is in service, output disturbances occur. Such disturbances can be large, and are likely to interfere with proper operation in the case of real-time control. A simple technique for eliminating such disturbances in the case of an integrator has been presented in the above discussion. In addition, related results have been adapted from linear systems theory and have been reviewed. Gain adjustment has the potential of drastic power reduction for a given signal-to-noise ration (SNR), if implemented successfully.
III. Alternative Embodiments and Other Variations
(61) The various embodiments and variations thereof described herein, including the descriptions in any appended Claims and/or illustrated in the accompanying Figures, are merely exemplary and are not meant to limit the scope of the inventive disclosure. It should be appreciated that numerous variations of the invention have been contemplated as would be obvious to one of ordinary skill in the art with the benefit of this disclosure.
(62) Hence, the alert reader will have no difficulty devising myriad obvious variations and improvements to the invention, all of which are intended to be encompassed within the scope of the Description, Figures, and Claims herein.