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


Groups > sci.electronics.design > #372414

Re: AN: TL598 Spice Model

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Newsgroups sci.electronics.design
Subject Re: AN: TL598 Spice Model
Date Mon, 10 Aug 2015 22:37:04 -0400
Organization A noiseless patient Spider
Lines 85
Message-ID <55C95FD0.4020401@electrooptical.net> (permalink)
References <rejfsapas6382o6j5babjpd3iiihkpu39n@4ax.com> <9240a9dd-3310-4cc0-b6bb-add6bef918a4@googlegroups.com> <ffiisa9ukje1ln1s8skf501tovpbtgk0o5@4ax.com> <55C94BD7.9000803@electrooptical.net> <lmmisa923r53iv3o05nv3a2qn58h7rjq59@4ax.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Info mx02.eternal-september.org; posting-host="e1355fd8c2133ed0e70d1dbfee3de196"; logging-data="29877"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fuLr2u7pSOock0e7D70Tq"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To <lmmisa923r53iv3o05nv3a2qn58h7rjq59@4ax.com>
Cancel-Lock sha1:FdLUFEOfmDH2lzlHCNTLERX9FOc=
Xref csiph.com sci.electronics.design:372414

Show key headers only | View raw


On 8/10/2015 10:18 PM, Jim Thompson wrote:
> On Mon, 10 Aug 2015 21:11:51 -0400, Phil Hobbs
> <hobbs@electrooptical.net> wrote:
>
>> On 8/10/2015 9:04 PM, Jim Thompson wrote:
>>> On Sun, 9 Aug 2015 16:24:53 -0700 (PDT), Phil Hobbs
>>> <pcdhobbs@gmail.com> wrote:
>>>
>>>> Hi, Jim,
>>>>
>>>> If you've got some spare bandwidth, I could really use an improved
>>>> OPA2140 model.
>>>>
>>>> It's a very good part for moderate speed, low current, high
>>>> linearity TIAs, but it's a bear to simulate because the model won't
>>>> converge on an operating point in LTspice.
>>>>
>>>> I took the TINA model TI supplies and replaced the VSWITCH cards
>>>> with LTspice SW cards with negative hysteresis (more or less like
>>>> your fave tanh curve), but it still won't converge on ac or noise
>>>> sims.
>>>>
>>>> Thanks
>>>>
>>>> Phil Hobbs
>>>
>>> How do you set the parameters of the SW in LTspice?  ...Jim Thompson
>>>
>>
>> RON, ROFF, which do what you'd expect;
>> VT, which is the switching threshold (the switch looks like RON for V >
>> VT, and ROFF for V < VT);
>> and VH, the hysteresis.
>>
>> If VH is positive, then the upward-going transition occurs at V = VT +
>> VH and the downward-going one at V = VT - VH.  (IOW it does what you
>> expect except that VH is the half-width of the deadband, not the full
>> width.)
>>
>> Negative values of VH cause a smooth transition between RON and ROFF, so
>> that the switching begins at VT + VH (which is less than VT in this
>> case) and is complete at VT - VH (which is more than VT).  IIRC the
>> function is some smooth polynomial approximation to the arctan, so at
>> least the first few derivatives are continuous.
>>
>> Cheers
>>
>> Phil Hobbs
>
> I'm used to PSpice, click on a symbol and you see a table where you
> fill in the blanks.  I click on SW in LTspice, I see several blank
> lines...
>
>   SpiceLine
>   SpicelIne2
>
> Where do I enter Ron, Roff, Von, Voff, etc?
> 		
>                                          ...Jim Thompson
>
You have to put in a .model statement:

.model simplesw sw(Vt=1 Vh=-.5 Ron=1 Roff=1T)

and put 'simplesw' on the 'value' line in the dialogue box.

To make a NC switch, you can interchange the values of Ron and Roff, i.e.

.model simpleNC sw(Vt=1 Vh=-.5 Ron=1T Roff=1)

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-09 15:05 -0700
  AN:  TL598 Spice Model Phil Hobbs <pcdhobbs@gmail.com> - 2015-08-09 16:24 -0700
    Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-09 17:11 -0700
    Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 08:03 -0700
      Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 11:40 -0400
        Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 09:01 -0700
          Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 12:40 -0400
            Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 12:45 -0400
              Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 10:20 -0700
                Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 10:23 -0700
                Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 14:44 -0400
                Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 12:46 -0700
                Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 14:42 -0400
      Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 08:52 -0700
      Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 11:55 -0400
      Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 11:59 -0400
    Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 11:26 -0700
      Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 14:45 -0400
    Re: AN:  TL598 Spice Model George Herold <gherold@teachspin.com> - 2015-08-10 13:22 -0700
      Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 16:33 -0400
        Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 14:35 -0700
          Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 17:44 -0400
            Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 14:46 -0700
    Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 18:04 -0700
      Re: AN:  TL598 Spice Model Phil Hobbs <hobbs@electrooptical.net> - 2015-08-10 21:11 -0400
        Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-10 19:18 -0700
          Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-10 22:37 -0400
            Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-11 07:45 -0700
              Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-11 09:52 -0700
                Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-11 13:40 -0400
                Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-11 11:09 -0700
                Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-11 11:14 -0700
                Re: AN:  TL598 Spice Model Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-11 14:26 -0400
                Re: AN:  TL598 Spice Model Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-11 12:38 -0700
                Re: AN:  TL598 Spice Model Phil Hobbs <hobbs@electrooptical.net> - 2015-08-11 17:02 -0400
    OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-13 16:19 -0700
      Re: OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-13 16:38 -0700
        Re: OPA2140 OpAmp Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-14 20:15 -0400
          Re: OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-14 21:08 -0700
        Re: OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-18 11:02 -0700
          Re: OPA2140 OpAmp Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-08-18 14:42 -0400
            Re: OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-18 14:27 -0700
              Re: OPA2140 OpAmp Phil Hobbs <pcdhobbs@gmail.com> - 2015-08-18 14:32 -0700
              Re: OPA2140 OpAmp Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-08-18 14:34 -0700
                Re: OPA2140 OpAmp Phil Hobbs <hobbs@electrooptical.net> - 2015-08-18 17:49 -0400

csiph-web