Liste des Groupes | Revenir à se design |
"Bill Sloman" <bill.sloman@ieee.org> wrote in message news:vol49p$2vd0d$1@dont-email.me...>On 14/02/2025 1:45 am, Edward Rawde wrote:It will for anyone else using 24.1.2."Bill Sloman" <bill.sloman@ieee.org> wrote in message news:voh7a5$26aqj$1@dont-email.me...>On 10/02/2025 5:18 pm, Bill Sloman wrote:After fixing line wraps I had to move U1 down into position.Basically same idea, but two separate controllable asymmetric current mirrors, rather than one, and no current steering. The>
half-wave rectifier still seems to be the source of the distortion in the stabilised output.
>
C25 and C26 take out as much of it as I can. Increasing them - from 15nF to 33nF makes the distortion worse. Splitting the
resistors into three rather than two and adding two more capacitors might help, but what this circuit needs is more insight,
rather than more components.
Splitting the resistors did help, and the optimum capacitor value at C25, C26, C27 and C28 turned out to be 4.7nF. The second
and
fifth harmonics were just 80dB below the fundamental and the third 91dB down. Not dramatically good, but respectable.
>
Other changes were less successful - the current mirror approach does suffer from the need to split the waveform in order to
generate the amplitude correction waveform and minimising the 2usec wide switching spikes that show up at cross-over is what it
takes to get it to work tolerably well
>
I've swapped out the LT1115 for the LT1678 - that doesn't seem to suffer from parasitic oscillations in LTSpice 24, so it should
simulate tolerably fast.
>
I then noticed an issue with C10 so I converted to ANSI in Notepad++ and saved the file.
When I picked up your text file, I noted that C10 (on the output of U4, the LTC6655-1.25 voltage reference) had gone back to 3.3 -
no suffix. I set it back to 3300n(F) and the circuit worked as it did for me with the harmonics mostly 80dB down with the third
harmonic about 91dB down
>Simulation then failed without giving any clue what was wrong.>
But instead of spending hours tracing the problem I removed .ENDS from the BAS70 model.
I put it back in again. and it didn't make any difference to my simulation.
I note that the model for MMBF4391 is still present and does not have .ENDS so why should BAS70 need it?The BAS70 model dates back to 2015. It's a classic Spice model - and LTSpice is supposed to run them.
In 24.1.2 you get errors which make no sense and do not mention BAS70.
And when I run it (after having put U1 back where I intended it to go and restored it's connection to the negative rail) I got the second to the fifth harmonics harmonics 80dB below the fundamental with the third 91dB down. When I stretched the frequency display out to 100kHz the higher harmonics were going down.Simulation now runs fine at about 44 ms/s in LTSPice 24.1.2C10 is 3.3uFFFT is approaching 60dB>
Not having the right value capacitor at C10 usually totally messes it up. We've had that issue before.
Changing to 3300n and resimulating makes no difference. Definitely only 60dB difference between 1kHz and 2,3,4,5kHz
Exact circuit I'm simulating (in 24.1.2) included below.
That is the simplest phase shift oscillator. Why didn't you identify it when you first mentioned it?Phase shift oscillator with feedback from the collector through CRCRCRCR to the base.Simulated circuit included below.>
I can get 80dB by adding an LC tuned circuit to a simple phase shift oscillator of the type which turns up here:
https://www.google.com/search?q=sine+wave+oscillator&udm=2
Where? There's a lot of stuff there.
Reduce rather than remove. Cancellation schemes rarely work perfectly.Yeah I've had that problem before, decades ago.No gain control yet but for unknown reasons it does run at constant (unpredictable) amplitude with very critical emitter resistor>
adjustment.
It's probably relying on the change in current gain with changing collector-base voltage. It is a small effect - the Early
effect - and non-linear.
>I'm thinking of trying the sample/hold method posted by JM but with real components.>
So I need to turn a FET on (not sure for how long yet) at the peaks of the sine wave.
Sample and holds tend to put spikes on the supply rails. Keeping them out of the output can take a lot of work.
A capacitively coupled inverted sampling signal was able to sufficiently remove the problem of the sampling signal appearing in the
output.
But that may not work at 140dB down.Give or take the usual problems.
Here is the exact version of your circuit from my most recent simulation of it.
Les messages affichés proviennent d'usenet.