Author Topic: Spice model for TL494  (Read 9159 times)

0 Members and 1 Guest are viewing this topic.

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Spice model for TL494
« on: November 10, 2017, 03:17:30 pm »
Hi,
I'm new to TI TINA software, it looks promising, I could have found many things that I wanted but I couldn't find any model for TL494, do we have any TINA or spice model for the old good friend? :)
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21972
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Spice model for TL494
« Reply #1 on: November 10, 2017, 09:51:41 pm »
Forget where I found it, if it was here or online: https://www.seventransistorlabs.com/Images/tl494.ckt

Don't think I've actually tried it yet, YMMV.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Re: Spice model for TL494
« Reply #2 on: November 11, 2017, 06:26:20 am »
Thanks so much Tim, is it for Tina? ;) it has some errors in the model, when I compile it |O |O |O
« Last Edit: November 11, 2017, 08:39:07 am by ali_asadzadeh »
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19672
  • Country: gb
  • 0999
Re: Spice model for TL494
« Reply #3 on: November 11, 2017, 06:16:36 pm »
Thanks so much Tim, is it for Tina? ;) it has some errors in the model, when I compile it |O |O |O
SPICE is a standard, so theoretically, a model made for one SPICE simulator, should work with another. The trouble is, not all simulators follow the standard. Quite often proprietary extensions are added and if the model relies on them, it won't work.

Someone who knows spice will be able to look at the model, identify any proprietary extensions, figure out how it works and make it standards compliant. Unfortunately I have no experience with creating or editing SPICE models.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21972
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Spice model for TL494
« Reply #4 on: November 12, 2017, 01:25:09 am »
It looks like it should be 3f5 compatible (or even less), and AFAIK all SPICE simulators support that.

What did TINA say?  If it was convergence issues, that's your problem*.

*Sort of. PSPICE models are notoriously bad, using piecewise expressions all over the f***ing place.  Presumably, PSPICE has greatly improved convergence to facilitate such things.  That doesn't help the rest of us...

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Re: Spice model for TL494
« Reply #5 on: November 12, 2017, 08:36:15 am »
Thanks, I have done it like this, first of I check the file syntax and it has two errors, I correct them simply by changing the PR15 to PR115 and PR18 to PR118 now the file syntax would work, now when I import it like a macro, it complains that there is a missing lib... see the pictures
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21972
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Spice model for TL494
« Reply #6 on: November 12, 2017, 10:42:36 am »
Two RR15s?  Missing D1?  What the fuck man, this model... :-DD

I don't have a clue who or when sjaiswal created or modified this thing, but apparently it's been bumping around the internet for about that many years and still has this bug.  No one tried to use it, or figure out what was wrong with it and correct it?

Anyway, try copying ".MODEL D12 D(" and so on until "+)" into the .SUBCKT TFF_TL493 scope.

SPICE is a scoped language, so MODELs only apply within a SUBCKT.

Man, so many SPICE models are so bad... I'd love to investigate them, fix 'em up and put it on my website for free.  If only I had some... motivation ;)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Re: Spice model for TL494
« Reply #7 on: November 13, 2017, 06:31:44 am »
Dear Tim
Thanks for the tips, Actually I do not know SPICE, and I think you know a lot about them, I do not understand  this

Quote
Anyway, try copying ".MODEL D12 D(" and so on until "+)" into the .SUBCKT TFF_TL493 scope.
SPICE is a scoped language, so MODELs only apply within a SUBCKT

would you please explain it more? what motivates you to do it? I share a nice looking EE13 hand made pulse transformer,maybe it could inspire you ;) by the way the guy next to him is our TL494 :D ;D ;)
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19672
  • Country: gb
  • 0999
Re: Spice model for TL494
« Reply #8 on: November 13, 2017, 10:28:02 am »
That looks nice. The soldering isn't perfect but I suppose it's difficult, without a solder mask.

Did you make that PCB yourself? If so, how did you do the vias? Did you use rivets or plated through holes?

Sorry I can't help you with the SPICE though.
 

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Re: Spice model for TL494
« Reply #9 on: November 14, 2017, 06:33:24 am »
Thanks, I have designed the board myself using altium, it's a single layer board with a dual layer TL494 controller board, I did not manufacture the boards myself though :)

Since it's a prototype I did not spent anything on silk screen as maybe I should have some modifications, but so far every thing has worked as expected ;) :)
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Online ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1913
  • Country: ca
Re: Spice model for TL494
« Reply #10 on: November 26, 2017, 03:22:42 pm »
I still need that Model, can anybody help me? :)
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf