Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #547680 > unrolled thread

Using Spice to verify a circuit works

Started byTom Gardner <spamjunk@blueyonder.co.uk>
First post2019-06-18 01:29 +0100
Last post2019-06-19 11:59 -0700
Articles 20 on this page of 105 — 20 participants

Back to article view | Back to sci.electronics.design


Contents

  Using Spice to verify a circuit works Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-18 01:29 +0100
    Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-17 17:35 -0700
      Re: Using Spice to verify a circuit works Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-18 01:47 +0100
        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-17 18:04 -0700
          Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-17 21:49 -0400
            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-17 20:06 -0700
              Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-17 23:20 -0400
            Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 04:19 +0000
              Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 00:37 -0400
                Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 05:01 +0000
                  Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 01:21 -0400
                    Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 05:26 +0000
                  Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-18 08:11 -0700
                    Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 14:54 -0400
              Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 00:44 -0400
                Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 05:20 +0000
                  Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 01:50 -0400
                    Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 07:32 +0000
              Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-18 07:04 -0700
                Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 15:42 +0000
                  Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-18 10:09 -0700
                    Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 18:01 +0000
                      Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:22 -0400
                        Re: Using Spice to verify a circuit works Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-06-24 09:25 +0100
                      Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-24 06:38 -0700
                    Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-18 23:09 +0300
                      Re: Using Spice to verify a circuit works Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-18 21:55 +0100
                        Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:22 -0400
                      Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-18 14:42 -0700
                Re: Using Spice to verify a circuit works John S <Sophi.2@invalid.org> - 2019-06-19 08:40 -0500
                  Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-19 07:17 -0700
                    Re: Using Spice to verify a circuit works Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-06-19 15:54 +0100
                      Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:24 -0400
          Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-17 22:00 -0400
            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-18 10:14 -0700
              Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 14:36 -0400
          Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-18 03:57 -0700
        Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-18 06:55 +0300
      Re: Using Spice to verify a circuit works Winfield Hill <winfieldhill@yahoo.com> - 2019-06-17 18:21 -0700
        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-17 20:13 -0700
          Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-18 04:18 -0700
          Re: Using Spice to verify a circuit works George Herold <gherold@teachspin.com> - 2019-06-18 07:40 -0700
        Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-18 04:05 +0000
        Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:26 -0400
          Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-23 07:35 -0700
          Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-23 09:40 -0700
            Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-23 14:20 -0700
            Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-24 04:00 -0700
      Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-18 03:53 -0700
        Re: Using Spice to verify a circuit works makolber@yahoo.com - 2019-06-18 07:10 -0700
          Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-18 07:22 -0700
      Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-20 12:54 -0700
        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-20 15:49 -0700
          Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-21 07:29 +0300
            Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-21 04:27 -0700
              Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-21 16:00 +0300
                Re: Using Spice to verify a circuit works George Herold <gherold@teachspin.com> - 2019-06-22 17:17 -0700
                  Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-23 10:39 +0300
                Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-23 07:14 -0700
            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-21 07:41 -0700
              Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:32 -0400
                Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-23 07:38 -0700
              Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-23 07:21 -0700
          Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-20 22:47 -0700
            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-21 07:51 -0700
              Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-21 18:18 -0700
                Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-21 19:36 -0700
                  Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-22 09:55 -0700
                Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-22 04:29 +0000
                  Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-21 21:57 -0700
                  Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-22 11:09 +0300
                    Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-22 09:57 -0700
                      Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-22 18:54 +0000
                        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-22 12:07 -0700
                          Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-22 20:08 +0000
                            Re: Using Spice to verify a circuit works Joseph Gwinn <joegwinn@comcast.net> - 2019-06-22 17:23 -0400
                            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-22 15:34 -0700
                              Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-22 23:31 +0000
                                Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-22 18:29 -0700
                                  Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-23 01:42 +0000
                  Re: Using Spice to verify a circuit works Jasen Betts <jasen@xnet.co.nz> - 2019-06-22 23:35 +0000
                  Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-23 21:57 -0700
                    Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-24 05:17 +0000
                      Re: Using Spice to verify a circuit works whit3rd <whit3rd@gmail.com> - 2019-06-24 15:04 -0700
                        Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-25 03:05 +0000
                    Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-23 22:31 -0700
                      Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-24 08:20 +0000
                        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-24 06:52 -0700
                          Re: Using Spice to verify a circuit works Steve Wilson <no@spam.com> - 2019-06-24 15:33 +0000
                            Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-24 08:41 -0700
                    Re: Using Spice to verify a circuit works Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-06-24 07:18 +0000
                      Re: Using Spice to verify a circuit works upsidedown@downunder.com - 2019-06-24 10:49 +0300
              Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-23 07:36 -0700
            Re: Using Spice to verify a circuit works krw@notreal.com - 2019-06-21 23:32 -0400
          Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-21 04:19 -0700
    Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-17 21:41 -0400
      Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-17 20:17 -0700
        Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highlandtechnology.com> - 2019-06-18 08:14 -0700
          Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 14:46 -0400
      Re: Using Spice to verify a circuit works Bill Sloman <bill.sloman@ieee.org> - 2019-06-18 03:58 -0700
        Re: Using Spice to verify a circuit works bitrex <user@example.net> - 2019-06-18 10:50 -0400
          Re: Using Spice to verify a circuit works legg <legg@nospam.magma.ca> - 2019-06-18 11:26 -0400
    Re: Using Spice to verify a circuit works Jeff Liebermann <jeffl@cruzio.com> - 2019-06-17 19:26 -0700
    Re: Using Spice to verify a circuit works "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2019-06-19 04:03 -0400
      Re: Using Spice to verify a circuit works John Larkin <jjlarkin@highland_snip_technology.com> - 2019-06-19 11:59 -0700

Page 5 of 6 — ← Prev page 1 2 3 4 [5] 6  Next page →


#548305

FromJasen Betts <jasen@xnet.co.nz>
Date2019-06-22 23:35 +0000
Message-ID<qeme0f$4ha$1@gonzo.revmaps.no-ip.org>
In reply to#548223
On 2019-06-22, Steve Wilson <no@spam.com> wrote:
> whit3rd <whit3rd@gmail.com> wrote:
>
>> On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
>>> On Thu, 20 Jun 2019 22:47:33 -0700 (PDT), whit3rd <whit3rd@gmail.com>
>>> wrote: 
>  
>>> >On Thursday, June 20, 2019 at 3:51:40 PM UTC-7, John Larkin wrote:
>
>>> >> In a complex, nonlinear, chaotic simulation, you can tune its
>>> >> parameters to give any results you want. 
>
>>> >That's now how one handles a simulation.   Is that how you use SPICE?
>  
>>> I don't model nonlinear chaotic systems in Spice, I model electronic
>>> circuits that I know I can simulate usefully. 
>  
>> So, a self-starting  oscillator, you don't model that?
>> Lame, like your other excuses and lies.   
>  
>> Believe the models, or improve them, but
>> don't spin feeble devil-theories about 'em.
>  
> What's the big deal with self-starting oscillators? An HC14 is self-
> starting. Here's a Classic Colpitts:

They're an example of "nonlinear chaotic systems", that's all.

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


#548456

Fromwhit3rd <whit3rd@gmail.com>
Date2019-06-23 21:57 -0700
Message-ID<309f5df6-5cc5-4a43-9885-a628229346bb@googlegroups.com>
In reply to#548223
On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
> whit3rd <whit3rd@gmail.com> wrote:
> 
> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:

> >> I don't model nonlinear chaotic systems in Spice, I model electronic
> >> circuits that I know I can simulate usefully. 
>  
> > So, a self-starting  oscillator, you don't model that?
> > Lame, like your other excuses and lies.   

> What's the big deal with self-starting oscillators? An HC14 is self-
> starting. 

That's a good example that Spice can't handle (well, not correctly); the initial condition for
a Schmitt trigger (or '555, or hysteretic gate) with the right feedback is indeterminate
(depends on tiny amounts of noise or capacitor charge).

[toc] | [prev] | [next] | [standalone]


#548461

FromSteve Wilson <no@spam.com>
Date2019-06-24 05:17 +0000
Message-ID<XnsAA78D118FEABidtokenpost@69.16.179.23>
In reply to#548456
whit3rd <whit3rd@gmail.com> wrote:

> On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>> whit3rd <whit3rd@gmail.com> wrote:

>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
 
>> >> I don't model nonlinear chaotic systems in Spice, I model electronic
>> >> circuits that I know I can simulate usefully. 
  
>> > So, a self-starting  oscillator, you don't model that?
>> > Lame, like your other excuses and lies.   
 
>> What's the big deal with self-starting oscillators? An HC14 is self-
>> starting. 
 
> That's a good example that Spice can't handle (well, not correctly); the
> initial condition for a Schmitt trigger (or '555, or hysteretic gate)
> with the right feedback is indeterminate (depends on tiny amounts of
> noise or capacitor charge). 

There is nothing wrong with the HC14 in SPICE. It runs fine.

Whatever the initial conditions, the feedback will drive the input voltage 
to the opposite side of the hysteresis voltage. It cannot fail to start. 

Try it:

Version 4
SHEET 1 1028 680
WIRE 112 256 80 256
WIRE 144 256 112 256
WIRE 256 256 240 256
WIRE 288 256 256 256
WIRE 256 288 256 256
WIRE 80 384 80 256
WIRE 256 384 256 368
WIRE 256 384 80 384
WIRE 80 400 80 384
WIRE 80 480 80 464
FLAG 80 480 0
FLAG 288 256 U1O
FLAG 112 256 U1I
SYMBOL res 240 272 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL cap 96 464 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL 74hc14 192 208 R0
SYMATTR InstName U1
TEXT 80 48 Left 2 !.tran 0 40u 0
TEXT 432 48 Left 2 !.inc 74hc.lib
TEXT 432 72 Left 2 !.options plotwinsize=0
TEXT 432 96 Left 2 !.ic V(U1I)=0
TEXT 80 16 Left 2 ;'74HC14 Astable Multivibrator

If you don't have 74hc.lib you can get it from Helmut's site.




 

[toc] | [prev] | [next] | [standalone]


#548638

Fromwhit3rd <whit3rd@gmail.com>
Date2019-06-24 15:04 -0700
Message-ID<897cab88-a64f-4ef7-98db-eee196b21f70@googlegroups.com>
In reply to#548461
On Sunday, June 23, 2019 at 10:17:08 PM UTC-7, Steve Wilson wrote:
> whit3rd <whit3rd@gmail.com> wrote:

> > That's a good example that Spice can't handle (well, not correctly); the
> > initial condition for a Schmitt trigger (or '555, or hysteretic gate)

> There is nothing wrong with the HC14 in SPICE. It runs fine.
> 
> Whatever the initial conditions, the feedback will drive the input voltage 
> to the opposite side of the hysteresis voltage. It cannot fail to start. 

Famous last words!   The problem of metastability in flipflops, and of starting
conditions in hysteretic chips, is that there's an insoluble bit of math in
the center.   There's TWO solutions at power-on, output HIGH and LOW
initial states are both allowed, unless you break the symmetry somehow.

Temperature, roundoff error, or a fudge constant in a model, will break
that symmetry, but those are all going to break it differently: the theory
just doesn't have the randomness of thermal fluctuations and thus 
diverges from reality.   The symptom, is that a SPICE model may  always start
in some phase after power-on, but the chip might not.   Absolute
phase usually doesn't matter (because we've learned not to depend on it),
but that isn't the same as being able to predict it.

A power-on sequence usually geta a few dozen clock cycles completed THEN
resets everything and starts the process.   There's other good reasons for that,
but oscillator startup predictability plays a part.

[toc] | [prev] | [next] | [standalone]


#548688

FromSteve Wilson <no@spam.com>
Date2019-06-25 03:05 +0000
Message-ID<XnsAA78EAD14D29Didtokenpost@69.16.179.22>
In reply to#548638
whit3rd <whit3rd@gmail.com> wrote:

> On Sunday, June 23, 2019 at 10:17:08 PM UTC-7, Steve Wilson wrote:
>> whit3rd <whit3rd@gmail.com> wrote:
 
>> > That's a good example that Spice can't handle (well, not correctly);
>> > the initial condition for a Schmitt trigger (or '555, or hysteretic
>> > gate) 
 
>> There is nothing wrong with the HC14 in SPICE. It runs fine.
 
>> Whatever the initial conditions, the feedback will drive the input
>> voltage to the opposite side of the hysteresis voltage. It cannot fail
>> to start. 
 
> Famous last words!   The problem of metastability in flipflops, and of
> starting conditions in hysteretic chips, is that there's an insoluble
> bit of math in the center.   There's TWO solutions at power-on, output
> HIGH and LOW initial states are both allowed, unless you break the
> symmetry somehow. 

That does you no good. The output had to settle in one state or the other. 
It cannot remain suspended between the two.

In the event that both states exist, feedback will quickly resolve the 
issue and the circuit will settle to one state or the other.
 
> Temperature, roundoff error, or a fudge constant in a model, will break
> that symmetry, but those are all going to break it differently: the
> theory just doesn't have the randomness of thermal fluctuations and thus
> diverges from reality.   The symptom, is that a SPICE model may  always
> start in some phase after power-on, but the chip might not.   Absolute
> phase usually doesn't matter (because we've learned not to depend on
> it), but that isn't the same as being able to predict it.

Wordy nonsense. Metastability is resolved very fast. Many modern ic's in 
the EcliPse class sho no measurable metastability at all.
 
> A power-on sequence usually geta a few dozen clock cycles completed THEN
> resets everything and starts the process.   There's other good reasons
> for that, but oscillator startup predictability plays a part.

The hysteresis is not a flip-flop circuit. There is no metastability in a 
HC14. Once you hit on hysteresis voltage threshold, the output will switch 
to the opposite side. There is no way to avoid it.

[toc] | [prev] | [next] | [standalone]


#548466

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-23 22:31 -0700
Message-ID<ern0hetrqcgd2paj94ooeipji1mabs83t3@4ax.com>
In reply to#548456
On Sun, 23 Jun 2019 21:57:05 -0700 (PDT), whit3rd <whit3rd@gmail.com>
wrote:

>On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>> whit3rd <whit3rd@gmail.com> wrote:
>> 
>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
>
>> >> I don't model nonlinear chaotic systems in Spice, I model electronic
>> >> circuits that I know I can simulate usefully. 
>>  
>> > So, a self-starting  oscillator, you don't model that?
>> > Lame, like your other excuses and lies.   
>
>> What's the big deal with self-starting oscillators? An HC14 is self-
>> starting. 
>
>That's a good example that Spice can't handle (well, not correctly); the initial condition for
>a Schmitt trigger (or '555, or hysteretic gate) with the right feedback is indeterminate
>(depends on tiny amounts of noise or capacitor charge).

LT Spice will sim a Schmitt gate oscillator fine, if you set up the
gate params right.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#548493

FromSteve Wilson <no@spam.com>
Date2019-06-24 08:20 +0000
Message-ID<XnsAA782C3406373idtokenpost@69.16.179.23>
In reply to#548466
John Larkin <jjlarkin@highlandtechnology.com> wrote:

> On Sun, 23 Jun 2019 21:57:05 -0700 (PDT), whit3rd <whit3rd@gmail.com>
> wrote:

>>On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>>> whit3rd <whit3rd@gmail.com> wrote:
 
>>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:

>>> >> I don't model nonlinear chaotic systems in Spice, I model
>>> >> electronic circuits that I know I can simulate usefully. 
  
>>> > So, a self-starting  oscillator, you don't model that?
>>> > Lame, like your other excuses and lies.   

>>> What's the big deal with self-starting oscillators? An HC14 is self-
>>> starting. 

>>That's a good example that Spice can't handle (well, not correctly); the
>>initial condition for a Schmitt trigger (or '555, or hysteretic gate)
>>with the right feedback is indeterminate (depends on tiny amounts of
>>noise or capacitor charge). 
 
> LT Spice will sim a Schmitt gate oscillator fine, if you set up the
> gate params right.

What do you need to do for gate params?

[toc] | [prev] | [next] | [standalone]


#548548

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-24 06:52 -0700
Message-ID<l1l1hedr3vn3np6k99tpmangnqjflcl84r@4ax.com>
In reply to#548493
On Mon, 24 Jun 2019 08:20:43 GMT, Steve Wilson <no@spam.com> wrote:

>John Larkin <jjlarkin@highlandtechnology.com> wrote:
>
>> On Sun, 23 Jun 2019 21:57:05 -0700 (PDT), whit3rd <whit3rd@gmail.com>
>> wrote:
>
>>>On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>>>> whit3rd <whit3rd@gmail.com> wrote:
> 
>>>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
>
>>>> >> I don't model nonlinear chaotic systems in Spice, I model
>>>> >> electronic circuits that I know I can simulate usefully. 
>  
>>>> > So, a self-starting  oscillator, you don't model that?
>>>> > Lame, like your other excuses and lies.   
>
>>>> What's the big deal with self-starting oscillators? An HC14 is self-
>>>> starting. 
>
>>>That's a good example that Spice can't handle (well, not correctly); the
>>>initial condition for a Schmitt trigger (or '555, or hysteretic gate)
>>>with the right feedback is indeterminate (depends on tiny amounts of
>>>noise or capacitor charge). 
> 
>> LT Spice will sim a Schmitt gate oscillator fine, if you set up the
>> gate params right.
>
>What do you need to do for gate params?

Something like this:

https://www.dropbox.com/s/z5tetvvfoncsem1/Scmitt_Gate_Osc.jpg?dl=0

It really needs that nonzero prop delay param. LT Spice was apparently
not intended to be a digital simulator!

I haven't had much luck with PLLs in LT Spice either. We usually write
our own code for them. I've got one now that I want to simulate, but
I'd need better than double floats to do the math. PowerBasic supports
the 80 bit format, which just might do.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#548574

FromSteve Wilson <no@spam.com>
Date2019-06-24 15:33 +0000
Message-ID<XnsAA78758684C4Fidtokenpost@69.16.179.22>
In reply to#548548
John Larkin <jjlarkin@highlandtechnology.com> wrote:

> Something like this:
 
> https://www.dropbox.com/s/z5tetvvfoncsem1/Scmitt_Gate_Osc.jpg?dl=0
 
> It really needs that nonzero prop delay param. LT Spice was apparently
> not intended to be a digital simulator!

As long as you are not too fussy, Helmut's 74hc.lib includes that 
automatically. Then you can use the whole range of 74HC devices without 
worrying about gate parameters. This is very useful for a quick check on a 
logic circuit.

Another alternaative if you just need a 74HC14 is Helmut's B-Source shown 
in items 8 and 9 in my oscillator page at 

https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf
 
> I haven't had much luck with PLLs in LT Spice either. We usually write
> our own code for them. I've got one now that I want to simulate, but
> I'd need better than double floats to do the math. PowerBasic supports
> the 80 bit format, which just might do.
 
I have come across simulations using Laplace Transforms. They are really, 
really fast. However I never use them as I wrote my own software that gives 
the values for the loop components.



[toc] | [prev] | [next] | [standalone]


#548577

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-24 08:41 -0700
Message-ID<6nr1heh37ej132s59hass1hveii6eevfgq@4ax.com>
In reply to#548574
On Mon, 24 Jun 2019 15:33:01 GMT, Steve Wilson <no@spam.com> wrote:

>John Larkin <jjlarkin@highlandtechnology.com> wrote:
>
>> Something like this:
> 
>> https://www.dropbox.com/s/z5tetvvfoncsem1/Scmitt_Gate_Osc.jpg?dl=0
> 
>> It really needs that nonzero prop delay param. LT Spice was apparently
>> not intended to be a digital simulator!
>
>As long as you are not too fussy, Helmut's 74hc.lib includes that 
>automatically. Then you can use the whole range of 74HC devices without 
>worrying about gate parameters. This is very useful for a quick check on a 
>logic circuit.
>
>Another alternaative if you just need a 74HC14 is Helmut's B-Source shown 
>in items 8 and 9 in my oscillator page at 
>
>https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf
> 
>> I haven't had much luck with PLLs in LT Spice either. We usually write
>> our own code for them. I've got one now that I want to simulate, but
>> I'd need better than double floats to do the math. PowerBasic supports
>> the 80 bit format, which just might do.
> 
>I have come across simulations using Laplace Transforms. They are really, 
>really fast. However I never use them as I wrote my own software that gives 
>the values for the loop components.
>
>
>

I want to resolve time-domain jitter to picoseconds, which gets
numerically ugly fast. We might just do some proto boards and skip
simulation.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#548478

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2019-06-24 07:18 +0000
Message-ID<qepth4$d4s$1@dont-email.me>
In reply to#548456
On a sunny day (Sun, 23 Jun 2019 21:57:05 -0700 (PDT)) it happened whit3rd
<whit3rd@gmail.com> wrote in
<309f5df6-5cc5-4a43-9885-a628229346bb@googlegroups.com>:

>On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>> whit3rd <whit3rd@gmail.com> wrote:
>> 
>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
>
>> >> I don't model nonlinear chaotic systems in Spice, I model electronic
>> >> circuits that I know I can simulate usefully. 
>>  
>> > So, a self-starting  oscillator, you don't model that?
>> > Lame, like your other excuses and lies.   
>
>> What's the big deal with self-starting oscillators? An HC14 is self-
>> starting. 
>
>That's a good example that Spice can't handle (well, not correctly); the initial condition for
>a Schmitt trigger (or '555, or hysteretic gate) with the right feedback is indeterminate
>(depends on tiny amounts of noise or capacitor charge).

In reality, apart from all the 'noise', a power up sequence
will cause enough signal to start oscillation?

[toc] | [prev] | [next] | [standalone]


#548489

Fromupsidedown@downunder.com
Date2019-06-24 10:49 +0300
Message-ID<tnv0hehdvj0655tmtlm5k2ugto9ir84hf5@4ax.com>
In reply to#548478
On Mon, 24 Jun 2019 07:18:57 GMT, Jan Panteltje
<pNaOnStPeAlMtje@yahoo.com> wrote:

>On a sunny day (Sun, 23 Jun 2019 21:57:05 -0700 (PDT)) it happened whit3rd
><whit3rd@gmail.com> wrote in
><309f5df6-5cc5-4a43-9885-a628229346bb@googlegroups.com>:
>
>>On Friday, June 21, 2019 at 9:29:18 PM UTC-7, Steve Wilson wrote:
>>> whit3rd <whit3rd@gmail.com> wrote:
>>> 
>>> > On Friday, June 21, 2019 at 7:52:10 AM UTC-7, John Larkin wrote:
>>
>>> >> I don't model nonlinear chaotic systems in Spice, I model electronic
>>> >> circuits that I know I can simulate usefully. 
>>>  
>>> > So, a self-starting  oscillator, you don't model that?
>>> > Lame, like your other excuses and lies.   
>>
>>> What's the big deal with self-starting oscillators? An HC14 is self-
>>> starting. 
>>
>>That's a good example that Spice can't handle (well, not correctly); the initial condition for
>>a Schmitt trigger (or '555, or hysteretic gate) with the right feedback is indeterminate
>>(depends on tiny amounts of noise or capacitor charge).
>
>In reality, apart from all the 'noise', a power up sequence
>will cause enough signal to start oscillation?

There are cases in which an oscillator starts fine when battery
powered, but not when powered from the mains. 

In a mains power supply with big electrolytic capacitors it can take a
long time, before the capacitors are charged, thus the dV/dt is too
slow to kick start the oscillator. When battery is used, the voltage
grows immediately, having a much higher dV/dt, which will give a nice
kick.

[toc] | [prev] | [next] | [standalone]


#548365

FromBill Sloman <bill.sloman@ieee.org>
Date2019-06-23 07:36 -0700
Message-ID<2adcc285-e7f7-4e30-977f-1aca831dcb9f@googlegroups.com>
In reply to#548158
On Friday, June 21, 2019 at 4:52:10 PM UTC+2, John Larkin wrote:
> On Thu, 20 Jun 2019 22:47:33 -0700 (PDT), whit3rd <whit3rd@gmail.com>
> wrote:
> 
> >On Thursday, June 20, 2019 at 3:51:40 PM UTC-7, John Larkin wrote:
> >
> >> In a complex, nonlinear, chaotic simulation, you can tune its
> >> parameters to give any results you want.
> >
> >That's now how one handles a simulation.   Is that how you use SPICE?
> 
> I don't model nonlinear chaotic systems in Spice, I model electronic
> circuits that I know I can simulate usefully. I do of course tune the
> model to get the results that I can put into production; the trick
> there is to not fool myself. Extreme sensitivity to any parameter or
> value is one red flag that the circuit is not suitable for production.
> Except when that sensitivity is in fact a mathematical artifact of
> Spice, like the giant femtosecond spikes that someone here mentioned
> recently.
> 
> Mike gets a lot of feedback about how LT Spice actually models
> circuits. Climate modelers don't.

Actually, climate modellers do. There's a planet's worth of real climate out there.
 
> >I'm not trying to lie to myself when I fiddle with a model.   Why would anyone?
> >
> >It sounds like you're trying to sneak up on a conspiracy theory, but it would
> >have to be of the sort that starts with underpants and ends with
> >3.  ???
> >4.  PROFIT !!!
> 
> Al Gore did pretty well.

But he did popularise good science. The profits were incidental, and came a long time after "Earth in the Balance" got published back in 1992.

-- 
Bill Sloman, Sydney

[toc] | [prev] | [next] | [standalone]


#548222

Fromkrw@notreal.com
Date2019-06-21 23:32 -0400
Message-ID<u98rge9vut2sshcog2i7l382t1kahcj5d6@4ax.com>
In reply to#548106
On Thu, 20 Jun 2019 22:47:33 -0700 (PDT), whit3rd <whit3rd@gmail.com>
wrote:

>On Thursday, June 20, 2019 at 3:51:40 PM UTC-7, John Larkin wrote:
>
>> In a complex, nonlinear, chaotic simulation, you can tune its
>> parameters to give any results you want.
>
>That's now how one handles a simulation.   Is that how you use SPICE?
>I'm not trying to lie to myself when I fiddle with a model.   Why would anyone?

For political advantage, of course.

>It sounds like you're trying to sneak up on a conspiracy theory, but it would
>have to be of the sort that starts with underpants and ends with
>3.  ???
>4.  PROFIT !!!

[toc] | [prev] | [next] | [standalone]


#548122

FromBill Sloman <bill.sloman@ieee.org>
Date2019-06-21 04:19 -0700
Message-ID<2e30825a-d35e-4b8d-8765-867b5edd1954@googlegroups.com>
In reply to#548078
On Friday, June 21, 2019 at 12:51:40 AM UTC+2, John Larkin wrote:
> On Thu, 20 Jun 2019 12:54:19 -0700 (PDT), whit3rd <whit3rd@gmail.com>
> wrote:
> 
> >On Monday, June 17, 2019 at 5:37:53 PM UTC-7, John Larkin wrote:
> >
> >> We're supposed to rework the economy of the entire world based on
> >> climate simulations.
> >
> >No, based on observations (simulations are the all-terms-considered
> >final step, NOT THE BASE).   Several technologies, but NOT the
> >world (and not 'the economy') will have to change.   
> >
> >The claim you just made, wrenches ALL those nouns out of their proper meanings.
> >
> >> What could possibly go wrong with that?
> >
> >Do you have  mind picture, or a simulation in mind?   Why not?   How else can you support an answer
> >to that question?
> >
> >Imagination and simulations are ways of dealing with the future.    If you
> >don't use them, you don't plan, and folk who DO will outcompete you.
> 
> In a complex, nonlinear, chaotic simulation, you can tune its
> parameters to give any results you want.

Not if you want the simulation to predict anything useful.

> Climate sims are obviously tuned to hindcast accurately (they won't get published if they don't) but that doesn't make them predictive. Past sims have not been very predictive.

Specific example? The first IPCC report came out in 1990, and what it said about what the world was gong to be like in 2019 wasn't too far off  the mark.

 The Statue of Liberty is still above water. The polar
> bears are doing fine.

And where are the published simulation results that suggested that they would be under water in 2019?
 
> But, of course, we have more powerful computers now.

Not that John Larkin has a clue what they would be telling him if he ever bothered to find out about what the science is saying.

He vastly prefers denialist propaganda web-sites which presumably provide him with all the flattery he craves, even though the "informaton" they present is deliberately misleading.

-- 
Bill Sloman, Sydney

[toc] | [prev] | [next] | [standalone]


#547698

Frombitrex <user@example.net>
Date2019-06-17 21:41 -0400
Message-ID<WiXNE.156235$TD1.41209@fx48.iad>
In reply to#547680
On 6/17/19 8:29 PM, Tom Gardner wrote:
> Nobody in their right mind would sign-off a complex circuit
> solely on the basis of a spice simulation. But Boeing is
> planning on doing the equivalent for their 777X!
> 
>   "Specifically, Boeing is “reducing the scope and duration
>   of certain costly physical tests used to certify the
>   planemaker’s new aircraft,” Reuters reported over the
>   weekend.
>   We're thus told that engineers working on Boeing's new
>   777X airliner project are intending to use computer
>   simulations instead of real-world flight tests to
>   validate their engineering decisions."
> 
> What could possibly go wrong with that?
> 
> https://www.theregister.co.uk/2019/06/17/boeing_certification_simulation_tests/ 
> 
> 
> https://www.reuters.com/article/us-france-airshow-boeing-certification-e/exclusive-boeing-seeking-to-reduce-scope-duration-of-some-physical-tests-for-new-aircraft-sources-idUSKCN1TH0A3 
> 

Boeing hasn't started a clean-sheet design in decades and they'll likely 
be selling variants of the 737 through the year 2080 so it'll probably 
be OK.

Simulation lets you test all kinds of edge-cases repeatedly that would 
be extremely dangerous to do even once in the real world.

[toc] | [prev] | [next] | [standalone]


#547716

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-17 20:17 -0700
Message-ID<fnlgge5rbu8so4o2lamknj6rreogelu9b7@4ax.com>
In reply to#547698
On Mon, 17 Jun 2019 21:41:09 -0400, bitrex <user@example.net> wrote:

>On 6/17/19 8:29 PM, Tom Gardner wrote:
>> Nobody in their right mind would sign-off a complex circuit
>> solely on the basis of a spice simulation. But Boeing is
>> planning on doing the equivalent for their 777X!
>> 
>>   "Specifically, Boeing is “reducing the scope and duration
>>   of certain costly physical tests used to certify the
>>   planemaker’s new aircraft,” Reuters reported over the
>>   weekend.
>>   We're thus told that engineers working on Boeing's new
>>   777X airliner project are intending to use computer
>>   simulations instead of real-world flight tests to
>>   validate their engineering decisions."
>> 
>> What could possibly go wrong with that?
>> 
>> https://www.theregister.co.uk/2019/06/17/boeing_certification_simulation_tests/ 
>> 
>> 
>> https://www.reuters.com/article/us-france-airshow-boeing-certification-e/exclusive-boeing-seeking-to-reduce-scope-duration-of-some-physical-tests-for-new-aircraft-sources-idUSKCN1TH0A3 
>> 
>
>Boeing hasn't started a clean-sheet design in decades and they'll likely 
>be selling variants of the 737 through the year 2080 so it'll probably 
>be OK.

They will start on the NMA, the New Midrange Aircraft, in the next few
years. The CEO just said so in an interview with Aviation Week.

>
>Simulation lets you test all kinds of edge-cases repeatedly that would 
>be extremely dangerous to do even once in the real world.

Aerodynamics is sufficiently hard to simulate that wind tunnels are
still important. Electronics is trivial by comparison.




-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#547812

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-06-18 08:14 -0700
Message-ID<csvhge11li33u16sifo2qdcsj2u2t514sg@4ax.com>
In reply to#547716
On Mon, 17 Jun 2019 20:17:29 -0700, John Larkin
<jjlarkin@highlandtechnology.com> wrote:

>On Mon, 17 Jun 2019 21:41:09 -0400, bitrex <user@example.net> wrote:
>
>>On 6/17/19 8:29 PM, Tom Gardner wrote:
>>> Nobody in their right mind would sign-off a complex circuit
>>> solely on the basis of a spice simulation. But Boeing is
>>> planning on doing the equivalent for their 777X!
>>> 
>>>   "Specifically, Boeing is “reducing the scope and duration
>>>   of certain costly physical tests used to certify the
>>>   planemaker’s new aircraft,” Reuters reported over the
>>>   weekend.
>>>   We're thus told that engineers working on Boeing's new
>>>   777X airliner project are intending to use computer
>>>   simulations instead of real-world flight tests to
>>>   validate their engineering decisions."
>>> 
>>> What could possibly go wrong with that?
>>> 
>>> https://www.theregister.co.uk/2019/06/17/boeing_certification_simulation_tests/ 
>>> 
>>> 
>>> https://www.reuters.com/article/us-france-airshow-boeing-certification-e/exclusive-boeing-seeking-to-reduce-scope-duration-of-some-physical-tests-for-new-aircraft-sources-idUSKCN1TH0A3 
>>> 
>>
>>Boeing hasn't started a clean-sheet design in decades and they'll likely 
>>be selling variants of the 737 through the year 2080 so it'll probably 
>>be OK.
>
>They will start on the NMA, the New Midrange Aircraft, in the next few
>years. The CEO just said so in an interview with Aviation Week.

Just read that they expect it to be in service in 2025.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#547842

Frombitrex <user@example.net>
Date2019-06-18 14:46 -0400
Message-ID<IjaOE.80867$R23.23582@fx01.iad>
In reply to#547812
On 6/18/19 11:14 AM, John Larkin wrote:
> On Mon, 17 Jun 2019 20:17:29 -0700, John Larkin
> <jjlarkin@highlandtechnology.com> wrote:
> 
>> On Mon, 17 Jun 2019 21:41:09 -0400, bitrex <user@example.net> wrote:
>>
>>> On 6/17/19 8:29 PM, Tom Gardner wrote:
>>>> Nobody in their right mind would sign-off a complex circuit
>>>> solely on the basis of a spice simulation. But Boeing is
>>>> planning on doing the equivalent for their 777X!
>>>>
>>>>    "Specifically, Boeing is “reducing the scope and duration
>>>>    of certain costly physical tests used to certify the
>>>>    planemaker’s new aircraft,” Reuters reported over the
>>>>    weekend.
>>>>    We're thus told that engineers working on Boeing's new
>>>>    777X airliner project are intending to use computer
>>>>    simulations instead of real-world flight tests to
>>>>    validate their engineering decisions."
>>>>
>>>> What could possibly go wrong with that?
>>>>
>>>> https://www.theregister.co.uk/2019/06/17/boeing_certification_simulation_tests/
>>>>
>>>>
>>>> https://www.reuters.com/article/us-france-airshow-boeing-certification-e/exclusive-boeing-seeking-to-reduce-scope-duration-of-some-physical-tests-for-new-aircraft-sources-idUSKCN1TH0A3
>>>>
>>>
>>> Boeing hasn't started a clean-sheet design in decades and they'll likely
>>> be selling variants of the 737 through the year 2080 so it'll probably
>>> be OK.
>>
>> They will start on the NMA, the New Midrange Aircraft, in the next few
>> years. The CEO just said so in an interview with Aviation Week.
> 
> Just read that they expect it to be in service in 2025.
> 
> 

the audio industry tends to be a world of incremental improvements 
rather than revolutions. The average "workstation synthesizer" synthesis 
engine tends to have a lifespan of a decade. Many variations and updates 
and "Special Editions" and "Extreme Editions" are manufactured at 
various price points.

Products are released in 2019 that cost the better part of $4000 and 
have a 3" non-touch-sensitive display and 384 megabytes of editing 
memory and the reviewers will gush about how revolutionary it all is. 
The polyphony has been upgraded from 64 to 72. amazingggg

People try clean-sheet totally radical new designs from time to time and 
musicians mostly sulk and complain it doesn't sound like the good ol' days.

[toc] | [prev] | [next] | [standalone]


#547778

FromBill Sloman <bill.sloman@ieee.org>
Date2019-06-18 03:58 -0700
Message-ID<57ac049c-f8d7-4fa9-9b81-6a108f0a6769@googlegroups.com>
In reply to#547698
On Tuesday, June 18, 2019 at 3:41:14 AM UTC+2, bitrex wrote:
> On 6/17/19 8:29 PM, Tom Gardner wrote:
> > Nobody in their right mind would sign-off a complex circuit
> > solely on the basis of a spice simulation. But Boeing is
> > planning on doing the equivalent for their 777X!
> > 
> >   "Specifically, Boeing is “reducing the scope and duration
> >   of certain costly physical tests used to certify the
> >   planemaker’s new aircraft,” Reuters reported over the
> >   weekend.
> >   We're thus told that engineers working on Boeing's new
> >   777X airliner project are intending to use computer
> >   simulations instead of real-world flight tests to
> >   validate their engineering decisions."
> > 
> > What could possibly go wrong with that?
> > 
> > https://www.theregister.co.uk/2019/06/17/boeing_certification_simulation_tests/ 
> > 
> > 
> > https://www.reuters.com/article/us-france-airshow-boeing-certification-e/exclusive-boeing-seeking-to-reduce-scope-duration-of-some-physical-tests-for-new-aircraft-sources-idUSKCN1TH0A3 
> > 
> 
> Boeing hasn't started a clean-sheet design in decades and they'll likely 
> be selling variants of the 737 through the year 2080 so it'll probably 
> be OK.
> 
> Simulation lets you test all kinds of edge-cases repeatedly that would 
> be extremely dangerous to do even once in the real world.

The 737-Max hasn't been OK.

-- 
Bill Sloman, Sydney

[toc] | [prev] | [next] | [standalone]


Page 5 of 6 — ← Prev page 1 2 3 4 [5] 6  Next page →

Back to top | Article view | sci.electronics.design


csiph-web