Deutsch   English   Français   Italiano  
<vm9v61$27sf$1@nnrp.usenet.blueworldhosting.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: "Edward Rawde" <invalid@invalid.invalid>
Newsgroups: sci.electronics.design
Subject: Re: Current mirror version of the lowish distortion 1kHz sine wave osillator
Date: Wed, 15 Jan 2025 22:41:51 -0500
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Lines: 53
Message-ID: <vm9v61$27sf$1@nnrp.usenet.blueworldhosting.com>
References: <vm89vp$2ulja$1@dont-email.me> <vm8u2l$pns$1@nnrp.usenet.blueworldhosting.com> <20250115a@crcomp.net> <vm95g6$2682$1@nnrp.usenet.blueworldhosting.com> <vm9tod$37i55$1@dont-email.me>
Injection-Date: Thu, 16 Jan 2025 03:41:53 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
	logging-data="73615"; mail-complaints-to="usenet@blueworldhosting.com"
Cancel-Lock: sha1:MyCBqmeTnTnU0cv4LzilbZ9uRDg= sha256:8GyPMSOEa/x8ZVEx30zC3u/zksqq1B6w0f4xqPj9NIY=
	sha1:P2qcTn6zbzNrZBQfD2m0ooLRmNM= sha256:hYi+yhj79s+bow9J5dVwQzZxtlLswpd9fFbwNNmZqYo=
X-Priority: 3
X-RFC2646: Format=Flowed; Response
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Bytes: 3996

"Bill Sloman" <bill.sloman@ieee.org> wrote in message news:vm9tod$37i55$1@dont-email.me...
> On 16/01/2025 7:23 am, Edward Rawde wrote:
>> "Don" <g@crcomp.net> wrote in message news:20250115a@crcomp.net...
>>> Edward Rawde wrote:
>>>> Bill Sloman wrote:
>>>>> This just reworks my circuit to use a controllable asymmetric current mirror instead of the FET for gain control. I take the
>>>>> feedback from the full wave rectifier and switch every half-cycle to reconstruct a variable amplitude sine wave to control the
>>>>> output amplitude. It does use a lot of components, but it strikes me as fairly comprehensible.
>>>>>
>>>>
>>>> First I corrected the usual line wrap issues.
>>>>
>>>> In the latest LTSpice (24.1.0) it took me a good hour or two to find out why I was getting strange netlist errors for all the
>>>> opamps
>>>> in the circuit.
>>>>
>>>> This turned out to be .ENDS in the BAS70L model. Remove .ENDS and the issues go away.
>>>>
>>>> So this is the circuit I'm simulating in 24.1.0 with no component updates available.
>>>> I'm expecting it to take 2 hours to complete.
>>>
>>> Thank you for your tip to wait 2 hours for results. For what it's worth,
>>> Bill's original LTSpice source worked for me "as is."
>>
>> It did for me too, but because it looked like simulation time would be long I moved it to another machine I use over remote 
>> desktop.
>> On that machine LTSpice asked if I'd like the latest version so I upgraded to 24.1.0.
>> After the upgrade I got very strange netlist errors which didn't mention BAS70L and it took a while to figure out the cause.
>>
>> I'm now revising the simulation time to a minimum of 4 days for 10 seconds.
>> 24.1.0 seems to be faster.
>
> My computer seems to be faster. It mostly simulates at about 25msec/sec for me so I get my 10 seconds in about seven minutes of 
> real time. There are spots early in the process where it slows down, but not for long.

The Lenovo core i7 3.6GHz with SSD I'm running it on hasn't gone above 30us/s.
If your computer is 1000 times faster I'd like to have one, otherwise there's another explanation somewhere.

>
> I pushed up R27 from 9.1R to 13R to make the Ic(Q6) and Ic(Q9) peak currents more nearly equal - you lose some base current in the 
> second current mirror and R7 corrects for that.
>
> It doesn't make much difference to the third harmonic content in  the output which is still only 59 dB below the fundamental. I 
> suppose I ought to low pass filter the current through R30 with a filter with a 1msec propagation delay, but that would be even 
> more components.
>
> -- 
> Bill Sloman, Sydney
>
>
>