Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an
inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of
Integrator A.
In ideal integration, the function y � which is the output of Integrator
B � would be a steady sinusoidal wave that does not increase or decrease
in amplitude. However, in practice the wave will either grow or decay in >amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with
larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both >integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp
(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard ><[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an >>inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of >>Integrator A.
In ideal integration, the function y � which is the output of Integrator
B � would be a steady sinusoidal wave that does not increase or decrease
in amplitude. However, in practice the wave will either grow or decay in >>amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with >>larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both >>integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp >>(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
A stable oscillator needs to be managed to keep amplitude constant.
That requires a nonlinear limiter of some sort.
There was a big (and fairly silly) thread here about that, a couple
months agot.
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
For which I was originally responsible for (before BS and Edward took
it to a whole new level).
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge oscillator's principle of operation and how they overcame this problem
to stabilise the loop in the most simple and elegant way.
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard >><[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an >>>inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the >>>differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of >>>Integrator A.
In ideal integration, the function y � which is the output of Integrator >>>B � would be a steady sinusoidal wave that does not increase or decrease >>>in amplitude. However, in practice the wave will either grow or decay in >>>amplitude, once the integrators are started. I've found that, with >>>smaller capacity feedback capacitors, the wave tends to grow, and with >>>larger ones, it tends to decay. One can see this as a growing or >>>shrinking circle on an oscilloscope, by feeding the outputs from both >>>integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the >>>basic cause of this. I've been trying to read up about op amp >>>(in)stability, like in amplifiers and voltage followers, but I'm not >>>seeing if/how there is a connection between that and what is going on >>>here.
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
A stable oscillator needs to be managed to keep amplitude constant.
That requires a nonlinear limiter of some sort.
There was a big (and fairly silly) thread here about that, a couple
months agot.
For which I was originally responsible for (before BS and Edward took
it to a whole new level).
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge >oscillator's principle of operation and how they overcame this problem
to stabilise the loop in the most simple and elegant way.
On 20/07/2025 5:58 pm, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
<snip>
For which I was originally responsible for (before BS and Edward took
it to a whole new level).
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator's principle of operation and how they overcame this problem
to stabilise the loop in the most simple and elegant way.
Cursitor Doom has delusions of competence.
There are a variety of ways of stabilising a Wein Bridge, and none of them are all that elegant. What the thread did manage to
establish was that there were a couple of ways of getting the harmonic content of the nominally sinewave output close to 150dB
below the fundamental nanovolts in a notionally 1V peak-to-peak signal.
John May was the most influential contributor, mostly because he has actually built examples of that kind of circuit. Edward Rawde
was the most persistent.
--
Bill Sloman, Sydney
On Sun, 20 Jul 2025 08:58:12 +0100, Cursitor Doom <[email protected]>
wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an
inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of
Integrator A.
In ideal integration, the function y — which is the output of Integrator >>>> B — would be a steady sinusoidal wave that does not increase or decrease >>>> in amplitude. However, in practice the wave will either grow or decay in >>>> amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with >>>> larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both
integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp
(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
A stable oscillator needs to be managed to keep amplitude constant.
That requires a nonlinear limiter of some sort.
There was a big (and fairly silly) thread here about that, a couple
months agot.
For which I was originally responsible for (before BS and Edward took
it to a whole new level).
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator's principle of operation and how they overcame this problem
to stabilise the loop in the most simple and elegant way.
An simple opamp double-integrator oscilllator can be made to run very
close to 1.000 loop gain, so needs very little nonlinear gain tweaking
to be amplitude stable. A Wein bridge needs much more tweaking hence
inherits a lot of distortion from the gain control mechanism.
The thing that (d)evolved in that other thread became hilarious.
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge oscillator [...]
"Bill Sloman" <[email protected]> wrote in message news:105ihmc$3ahv8$[email protected]...
On 20/07/2025 5:58 pm, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
<snip>
For which I was originally responsible for (before BS and Edward took
it to a whole new level).
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator's principle of operation and how they overcame this problem
to stabilise the loop in the most simple and elegant way.
Cursitor Doom has delusions of competence.
There are a variety of ways of stabilising a Wein Bridge, and none of them are all that elegant. What the thread did manage to
establish was that there were a couple of ways of getting the harmonic content of the nominally sinewave output close to 150dB
below the fundamental nanovolts in a notionally 1V peak-to-peak signal.
John May was the most influential contributor, mostly because he has actually built examples of that kind of circuit. Edward Rawde
was the most persistent.
I'm still persisting but I don't currently have time to find out why a circuit which stabilizes and produces low distortion in
LTSpice just hits the power rail when the same circuit is run in QSpice.
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an
inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of
Integrator A.
In ideal integration, the function y — which is the output of Integrator
B — would be a steady sinusoidal wave that does not increase or decrease
in amplitude. However, in practice the wave will either grow or decay in amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with
larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp
(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
On Sun, 20 Jul 2025 12:58:49 -0400, "Edward Rawde"
<[email protected]d> wrote:
"Bill Sloman" <[email protected]> wrote in message news:105ihmc$3ahv8$[email protected]...
On 20/07/2025 5:58 pm, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Be careful what you wonder about in this forum, Edward. Our
troll-in-chief Bill Sloman will use anything to inveigle you into yet
another of his pointless pissing contests.
Christopher Howard <[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an
inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of
Integrator A.
In ideal integration, the function y — which is the output of Integrator >> B — would be a steady sinusoidal wave that does not increase or decrease >> in amplitude. However, in practice the wave will either grow or decay in
amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with
larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both
integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp
(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
In ideal world your circuit is marginally stable, just at the border
between dumping and infinitely growing ones. In real world, due to
non-ideal nature of components and due to tolerances you get circuit
that behaves slightly differently.
If you want useful result take circuit that is asymptotically stable
(that is damping) and provide it with some excitation, you should
see result close to theoretical one. Or, if you insist on
sinusoidal test add nonlinear amplitude limiter (as other suggest).
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer and have also been studying schematics for
some historical analog computers. An integrator is modeled with an
inverting op amp with a feedback capacitor.
In the circle test, a simple loop is constructed modeling the
differential equation y'' = -y. This is implemented with
Integrator A -> Integrator B -> inverter -> loop back to input of
Integrator A.
In ideal integration, the function y � which is the output of Integrator
B � would be a steady sinusoidal wave that does not increase or decrease
in amplitude. However, in practice the wave will either grow or decay in >amplitude, once the integrators are started. I've found that, with
smaller capacity feedback capacitors, the wave tends to grow, and with
larger ones, it tends to decay. One can see this as a growing or
shrinking circle on an oscilloscope, by feeding the outputs from both >integrators into an XY scope display.
Could somebody please explain why this happens? I'm not grasping the
basic cause of this. I've been trying to read up about op amp
(in)stability, like in amplifiers and voltage followers, but I'm not
seeing if/how there is a connection between that and what is going on
here.
On 7/20/25 09:58, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer
[Snip!...]
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator [...]
Wien! The guy's name was Wien, Max Wien.
Let's stamp out this Wein misspelling.
Jeroen Belleman
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
In real life, there are no ideal integrators, so the loop has
additional phase shifts so there are different solutions to the
equation; specifically decaying or increasing sine waves.
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard <[email protected]> wrote:
I was recently talking to my design center kids about differential
equations and circuits. All three are CE/EE grads or students. I
mentioned "initial conditions" and one of them recalled hearing the
term. [1]
Your equation has an infinite number of solutions. One is Y=0, cold
and dead. One is a 1-volt sine wave. Another is a megavolt sine wave.
Which it does depends on the initial condition, what it's already
doing when you walk into the room. It will keep doing that. You can
Spice that.
In real life, there are no ideal integrators, so the loop has
additional phase shifts, so there are different solutions to the
equation; specifically decaying or increasing sine waves.
To make a decent oscillator, you need an increasing amplitude circuit
and some sort of active amplitude limiter. Opamp clipping is the
cheapest limiter.
[1] Computer Engineering is a kinda oxymoron.
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
In real life, there are no ideal integrators, so the loop has
additional phase shifts so there are different solutions to the
equation; specifically decaying or increasing sine waves.
Could you clarify: where is the phase shift happening and why? Is it in
the op amp, or the feedback capacitor, or...?
As mentioned, if I switch the integrator capacitor to a lower value —
which in turn increases the frequency of the y'' = -y model — then the oscillation amplitude grows quickly. But at the higher values (and lower frequency), it dampens instead.
Jeroen Belleman <[email protected]> wrote:
On 7/20/25 09:58, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I
built one analog computer
[Snip!...]
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator [...]
Wien! The guy's name was Wien, Max Wien.
Let's stamp out this Wein misspelling.
Jeroen Belleman
I’ll take Riesling over schnitzel or torte any day. ;)
Cheers
Phil Hobbs
BTW Jeroen, seems like you’ve been getting out of bed on the wrong side lately.
"According to the Oxford Learner's Dictionary, oxymoron is defined as “a phrase that combines two words that seem to be the opposite of each
other
On 7/21/25 15:11, Phil Hobbs wrote:
Jeroen Belleman <[email protected]> wrote:You are right. I should work on contributing something useful, or keep
On 7/20/25 09:58, Cursitor Doom wrote:
On Sat, 19 Jul 2025 15:29:53 -0700, john larkin <[email protected]>
wrote:
On Sat, 19 Jul 2025 12:29:38 -0800, Christopher Howard
<[email protected]> wrote:
Hi, I'm continuing my exploration of electrical analog computing. I >>>>>> built one analog computer
[Snip!...]
You need to managed the gain actively to compensate for the effect
John mentioned. It might be instructive to look into the Wein Bridge
oscillator [...]
Wien! The guy's name was Wien, Max Wien.
Let's stamp out this Wein misspelling.
Jeroen Belleman
I’ll take Riesling over schnitzel or torte any day. ;)
Cheers
Phil Hobbs
BTW Jeroen, seems like you’ve been getting out of bed on the wrong side
lately.
quiet. Sorry.
Max Wien invented the bridge that bears his name 'just' to measure
complex impedances. I believe it was Hewlett who first used it to
make an oscillator.
As has been amply stated in this thread, sine wave oscillators need
some mechanism to stabilize their amplitude, and that inevitably
introduces some distortion. There's a trade-off to be made between
the speed of the amplitude regulation and the distorion. We've had
a near-endless discussion about that in this group last year, but
as far as I recall, nobody actually built something to test the
theory and everyone is tired of the subject.
Jeroen Belleman
I wouldn't worry too much. Stable oscillation is really an edge case.
Your capacitors aren't likely to be better than +/- 5% or so, so
inevitably you are going to see the amplitude shrink or grow pretty
fast, a few percent per cycle.
Are you familiar with Laplace transforms and root-locus analysis?
I wouldn't worry too much. Stable oscillation is really an edge
case. Your capacitors aren't likely to be better than +/- 5% or
so, so inevitably you are going to see the amplitude shrink or
grow pretty fast, a few percent per cycle.
I'm not quite following this. I'm not currently tuning things that
finely in my analog computer, but I could. I think the normal
approach with analog computers in the past was (1) component
tolerance of 1% or better; and (2) insert a gain adjustment knob
right before the capacitor(s) so you can speed or slow down the
integration to a precise time unit, using a counter. Or,
alternatively, you could use a comparator and test two integrators
at a time just to make sure they are all at the same time unit.
I used high precision resistors — I think they were 0.25%. I'm not
sure though what the tolerance is on these polyester capacitors that
I had handy. A batch I got off Amazon a few years back. 10nF is
2A103J.
point, even for folks like yours truly, who has done a lot of hand calculations. (Root locus is sometimes useful in complicated controlAre you familiar with Laplace transforms and root-locus analysis? Single-sided Laplace and root locus are pretty well obsolete at this
Don't blame the poor opamps. They can't do y'' = -y perfectly. A
little extra phase shift always sneaks in.
At the peak frequency, if the loop gain is 1.001, the oscillation will
grow exponentially. If gain is 0.9999, it will decay exponentially.
In real life, there are no ideal integrators, so the loop has
additional phase shifts so there are different solutions to the
equation; specifically decaying or increasing sine waves.
Could you clarify: where is the phase shift happening and why? Is it in
the op amp, or the feedback capacitor, or...?
As mentioned, if I switch the integrator capacitor to a lower value �
which in turn increases the frequency of the y'' = -y model � then the >oscillation amplitude grows quickly. But at the higher values (and lower >frequency), it dampens instead.
The point of the circle test (y'' = -y), from what I've read and been
told, was to test how good an integrator was by seeing how fast it
deviated from the ideal circle. Each integrator output could be used for
X and Y, respectively, to generate the circle. But I haven't been able
to find an explanation on how you make the integrator good/better. The >schematics I look at for various electronic analog integrator � in
historical analog computers � are all pretty much the same, except
sometimes different models of op amps are used.
I accept that, to have the perfectly stable wave, you must have some
kind of regulator. But it bothers me that, in my analog computer, the >deviation is very rapid. When using the high value capacitor, it damps
from IC to quarter wave in about four seconds. When using the low value >capacitor, the wave stays reasonably stable for only about 50
milliseconds. I'm wondering how such dampening or growth is affecting
the accuracy of models where there is a lot of rapid oscillation going
on. E.g., spring-mass system like x'' = -(dx' + kx) / m. How do you know
how much deviation is going on? Or how do you minimize the impact of it
by building a better integrator?
Bill Sloman <[email protected]> wrote:
[...]
"According to the Oxford Learner's Dictionary, oxymoron is defined as “a
phrase that combines two words that seem to be the opposite of each
other
I always thought it meant a Stupid Cow.
On Mon, 21 Jul 2025 09:37:14 -0800, Christopher Howard <[email protected]> wrote:
Two serious limits are the finite gain-bandwidth of the opamps and
losses in capacitors.
I'd Spice it to get a feel for things. I like to use Universal Opamp2
so I can fiddle the gain-bandwidth. And one can add series and
parallel resistance to the caps.
On 22/07/2025 5:28 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
[...]
"According to the Oxford Learner's Dictionary, oxymoron is defined as
�"a phrase that combines two words that seem to be the opposite of
each other
I always thought it meant a Stupid Cow.
An ox is male. A cow is female. It may be fashionable to ignore gender differences, but it is imprecise.
Bill Sloman <[email protected]> wrote:
On 22/07/2025 5:28 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
[...]
"According to the Oxford Learner's Dictionary, oxymoron is defined as
â€Å"a phrase that combines two words that seem to be the opposite of
each other
I always thought it meant a Stupid Cow.
An ox is male. A cow is female. It may be fashionable to ignore gender
differences, but it is imprecise.
Oxen are a type of bovine, bull and cow are the sexes.
Single-sided Laplace really applies only to initial-value problems.
Those are nice for teaching purposes but have only a very oblique
connection to the real world, where there is all sorts of external
forcing after power-up, due to supply voltage, load variations,
temperature, circuit noise, yada yada.
The complex-valued ratio of the output signal to the input is called
the _loop_gain_. (If you're not comfortable with complex notation for circuits, we can talk about that too.)
In order for the oscillation to be stable, the magnitude of the loop
gain |A_VL| has to be exactly unity. Loosely speaking, if the initial
signal is 1, the first pass round the loop will make it A_VL, the
second pass A_VL**2, and so on. So if |A_VL| isn't 1.0000..., you
don't get amplitude stability.
In the same vein, the phase of the loop gain has to be an integer
multiple of 2 pi, or else the phase will keep walking, i.e. f_0 isn't
what we thought it was.
A nice critically-damped second-order system has a phase margin of
about 65 degrees, iirc. At higher values the system is overdamped,
and at lower values it's underdamped, so that the impulse response
exhibits overshoot and rings. The ringing gets worse quite rapidly as
phi_M declines, and for most purposes 45 degrees is effectively the
limit. This is more or less true even for higher-order loops--65
degrees gets you a nice monotonic step response, anything less will
ring at least a bit. As phi_M goes to 0, the ringing gets worse and
worse, and when phi_M reaches zero, it becomes a continuous
oscillation.
Thanks for the response Phil, seems like the most helpful one so far.
Single-sided Laplace really applies only to initial-value problems.
Those are nice for teaching purposes but have only a very oblique
connection to the real world, where there is all sorts of external
forcing after power-up, due to supply voltage, load variations,
temperature, circuit noise, yada yada.
Sorry, I got lost on the discussion of Laplace and Z-transform and such
like. Hopefully I'll catch up with you in another few months of study.
The complex-valued ratio of the output signal to the input is called
the _loop_gain_. (If you're not comfortable with complex notation for
circuits, we can talk about that too.)
I'm familiar with the basic idea of complex numbers and relation to
circuits (i.e., inductance/capacitance as imaginary) but I'm not
practiced in circuit analysis and more hand-holding would be appreciated.
I explored complex numbers a little once a few years ago in some studies
in SDR DSP, in a ham radio context.
In order for the oscillation to be stable, the magnitude of the loop
gain |A_VL| has to be exactly unity. Loosely speaking, if the initial
signal is 1, the first pass round the loop will make it A_VL, the
second pass A_VL**2, and so on. So if |A_VL| isn't 1.0000..., you
don't get amplitude stability.
In the same vein, the phase of the loop gain has to be an integer
multiple of 2 pi, or else the phase will keep walking, i.e. f_0 isn't
what we thought it was.
...snip...
A nice critically-damped second-order system has a phase margin of
about 65 degrees, iirc. At higher values the system is overdamped,
and at lower values it's underdamped, so that the impulse response
exhibits overshoot and rings. The ringing gets worse quite rapidly as
phi_M declines, and for most purposes 45 degrees is effectively the
limit. This is more or less true even for higher-order loops--65
degrees gets you a nice monotonic step response, anything less will
ring at least a bit. As phi_M goes to 0, the ringing gets worse and
worse, and when phi_M reaches zero, it becomes a continuous
oscillation.
Help me as I try to process this: so, a particular amp op model has
a certain phase margin for a given frequency, which is the "safety
margin" (wikipedia) where the output won't at least grow in amplitude.
Now assume that I'm just using op amps as integrators with feedback >capacitors and input resistors, and that the outputs are just connected
to other integrators of like design (not some really weird load): can I >calculate my phase just by looking at the input resistor, feedback
capacitor, and a target frequency?
In my application, aiming for accurate modeling of, say, a spring
damper system, I would think the goal would be to stay as close as
possible to the phase where I would have unity gain. So maybe I would
need to speed or slow down the simulation with a coefficient variable >resistor, to stay near an ideal frequency?
I had trouble following the part where you explained how we stay stable
at DC, though I'm not doubting it was a good explanation. I'll try to >study/review this some more.
Thanks for the response Phil, seems like the most helpful one so far.
Help me as I try to process this: so, a particular amp op model has
a certain phase margin for a given frequency, which is the "safety
margin" (wikipedia) where the output won't at least grow in amplitude.
Now assume that I'm just using op amps as integrators with feedback capacitors and input resistors, and that the outputs are just connected
to other integrators of like design (not some really weird load): can I calculate my phase just by looking at the input resistor, feedback
capacitor, and a target frequency?
In my application, aiming for accurate modeling of, say, a spring
damper system, I would think the goal would be to stay as close as
possible to the phase where I would have unity gain. So maybe I would
need to speed or slow down the simulation with a coefficient variable resistor, to stay near an ideal frequency?
I had trouble following the part where you explained how we stay stable
at DC, though I'm not doubting it was a good explanation. I'll try to study/review this some more.
On 22/07/2025 6:21 pm, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
On 22/07/2025 5:28 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
[...] > "According to the Oxford Learner's Dictionary, oxymoron is >>>defined as > â€Å"a phrase that combines two words that seem >>>to be the opposite of > each other
I always thought it meant a Stupid Cow.
An ox is male. A cow is female. It may be fashionable to ignore gender
differences, but it is imprecise.
Oxen are a type of bovine, bull and cow are the sexes.
Oxen are usually castrated males.
Bill Sloman <[email protected]> wrote:
On 22/07/2025 6:21 pm, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
On 22/07/2025 5:28 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
[...] > "According to the Oxford Learner's Dictionary, oxymoron is
defined as > â€Å"a phrase that combines two words that seem
to be the opposite of > each other
I always thought it meant a Stupid Cow.
An ox is male. A cow is female. It may be fashionable to ignore gender >>>> differences, but it is imprecise.
Oxen are a type of bovine, bull and cow are the sexes.
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are
used for draft, for milk or for meat.
Unless you are going to tell me
you have succesfully milked a bull, "Stupid Cow" makes sense.
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are
used for draft, for milk or for meat.
The dictionaries I've consulted concentrated on the draft animal aspect. Ignorant people do use words on the basis of their idiosyncratic understanding of what they mean, but the intelligent ignorant do
generally learn to do better.
Unless you are going to tell me
you have succesfully milked a bull, "Stupid Cow" makes sense.
Since I've never been in the bovine artificial insemination business, I
can't ever claim to have "milked" a bull.
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:[...]
Bill Sloman <[email protected]> wrote:
[...]
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are
used for draft, for milk or for meat.
The dictionaries I've consulted concentrated on the draft animal aspect. >> Ignorant people do use words on the basis of their idiosyncratic
understanding of what they mean, but the intelligent ignorant do
generally learn to do better.
I am amazed that I managed to work in animal husbandry for 30 years and obtain a degree in biology without your helpful advice to enlighten my ignorance.
John Larkin has worked in electronics for just as long and still seems
to need advice (not that he appreciates it when he gets it).
Puns don't make any sense at all, and the proper response to any pun is always derision.
Bill Sloman <[email protected]> wrote:
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
It's a cross-linguistic pun on oxymoron, and has no other justification.
Puns don't make any sense at all, and the proper response to any pun is always derision.
Perhaps you should ignore my puns in future
and I, in return, shall ignore your advice on non-electronic subjects.
Bill Sloman <[email protected]> wrote:
[...]
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are
used for draft, for milk or for meat.
The dictionaries I've consulted concentrated on the draft animal aspect.
Ignorant people do use words on the basis of their idiosyncratic
understanding of what they mean, but the intelligent ignorant do
generally learn to do better.
I am amazed that I managed to work in animal husbandry for 30 years and obtain a degree in biology without your helpful advice to enlighten my ignorance.
Unless you are going to tell me
you have succesfully milked a bull, "Stupid Cow" makes sense.
Since I've never been in the bovine artificial insemination business, I
can't ever claim to have "milked" a bull.
Well I have been in that business and I can assure you that the 'milk'
you get from a bull is not something you would want to waste on your cornflakes, there are more productive places to put it (and it is very expensive to buy, if the bull is of good repute).
I have no reason to
doubt that the milk referred to in the dictionary confirms the common existence of oxen cows.
Bill Sloman <[email protected]> wrote:
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:[...]
Bill Sloman <[email protected]> wrote:
[...]
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are
used for draft, for milk or for meat.
The dictionaries I've consulted concentrated on the draft animal aspect. >> >> Ignorant people do use words on the basis of their idiosyncratic
understanding of what they mean, but the intelligent ignorant do
generally learn to do better.
I am amazed that I managed to work in animal husbandry for 30 years and
obtain a degree in biology without your helpful advice to enlighten my
ignorance.
John Larkin has worked in electronics for just as long and still seems
to need advice (not that he appreciates it when he gets it).
Puns don't make any sense at all, and the proper response to any pun is
always derision.
Perhaps you should ignore my puns in future and I, in return, shall
ignore your advice on non-electronic subjects.
On 24/07/2025 12:45 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
<snip> >> It's a cross-linguistic pun on oxymoron, and has no other justification. >> Puns don't make any sense at all, and the proper
response to any pun is always derision. >
Perhaps you should ignore my puns in future
Puns always earn derision.
and I, in return, shall ignore your advice on non-electronic subjects.
That's no kind of a fair exchange. I'm perfectly used to having my
advice ignored on a whole range of subjects.
On Wed, 23 Jul 2025 15:45:56 +0100, [email protected]d
(Liz Tuddenham) wrote:
Bill Sloman <[email protected]> wrote:
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:[...]
Bill Sloman <[email protected]> wrote:
[...]
Oxen are usually castrated males.
Some may be castrated males but, according to my dictionary they are >>>>>> used for draft, for milk or for meat.
The dictionaries I've consulted concentrated on the draft animal aspect. >>>>> Ignorant people do use words on the basis of their idiosyncratic
understanding of what they mean, but the intelligent ignorant do
generally learn to do better.
I am amazed that I managed to work in animal husbandry for 30 years and >>>> obtain a degree in biology without your helpful advice to enlighten my >>>> ignorance.
John Larkin has worked in electronics for just as long and still seems
to need advice (not that he appreciates it when he gets it).
Puns don't make any sense at all, and the proper response to any pun is
always derision.
Perhaps you should ignore my puns in future and I, in return, shall
ignore your advice on non-electronic subjects.
Why limit yourself?
Bill Sloman <[email protected]> wrote:
On 24/07/2025 12:45 am, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
On 23/07/2025 10:41 pm, Liz Tuddenham wrote:
Bill Sloman <[email protected]> wrote:
<snip> >> It's a cross-linguistic pun on oxymoron, and has no other
justification. >> Puns don't make any sense at all, and the proper
response to any pun is always derision. >
Perhaps you should ignore my puns in future
Puns always earn derision.
...but you don't always have to post your every thought, especially the copious negative ones.
and I, in return, shall ignore your advice on non-electronic subjects.
That's no kind of a fair exchange. I'm perfectly used to having my
advice ignored on a whole range of subjects.
It sounds as though I should expand the range of subjects to make it
fairer.
That's one way of thinking about it. I'd prefer you raised your game so
that you gave us less to complain about.
Bill Sloman <[email protected]> wrote:
[...]
That's one way of thinking about it. I'd prefer you raised your game so
that you gave us less to complain about.
Is that the royal "us" (like the royal "we") or has someone else
complained?
Bill Sloman <[email protected]> wrote:
[...]
That's one way of thinking about it. I'd prefer you raised your game so
that you gave us less to complain about.
Is that the royal "us" (like the royal "we") or has someone else
complained?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 149:28:17 |
| Calls: | 12,091 |
| Calls today: | 4 |
| Files: | 15,000 |
| Messages: | 6,517,580 |