Forum: Analoge Elektronik und Schaltungstechnik LTSpice Model TL494 PWM-Controller


von Gerhard C. (crok)


Lesenswert?

Hallo,
ich benötige für einen TL494 von Texas Instruments ein LTSpice Model.
Alternativ wäre mir auch mit PSpice geholfen.
Eine diesbezügliche Anfrage habe ich bei TI schon gemacht aber (noch) 
keine Antwort erhalten. DANKE für die Hilfe.

: Verschoben durch User
von Dietmar (Gast)


Angehängte Dateien:

Lesenswert?

Sieh mal, ob hier was passendes drin it.

von Gerhard C. (crok)


Lesenswert?

Danke, leider kann ich die Library nicht ins LTSpice oder in PSpice 
einbinden. Da ich mit dem Programmen wenig Erfahrung habe wär es nett 
wenn du mir sagen könntes wie ich .lib bzw .slb einbinden kann.
Danke Gerhard

von Dietmar (Gast)


Lesenswert?

Einbinden einer Fremd Library wie folgt:
File open. Dateityp All files.
Die Datei Schaltnetz_IC öffnen.Ev. Verzeichis wechseln.
Den Cursor auf .subckt tl494 IN1 -IN1 IN2 -IN2 FB DTC Vref OCT CT1 ET1 
CT2 ET2 Ct Rt GND Vcc .
Die Schrift sollte blau sein.Rechte Maustaste drücken.
Create Symbol wählen.
Im Dialog Do you wish to automatically.. usw. ja drücken.
Das Symbol des TL 494 wird jetzt automatisch erzeugt und erscheint im
Symbol Editor. Manuelle Korrekturen sind möglich.
Das Symbol wird im Ordner AutoGenerated gespeichert.
Nun ein neues Schematic öffnen.
Mit dem Und Gatter im Verzeichnis AutoGenerated den TL494 wählen.
Bauteil platzieren und verdrahten.
Nun muß die Lib Schaltnetz_IC mit einer Spice Direktive wie folgt 
eingebunden werden:
In der Symbolleiste auf .op klicken.
Spice Directive sollte grün sein.
Nun .inc schaltnetz_ic.lib eingeben.Mit OK bestätigen.
Den am Cursor hängenden Text irgendwo im Schema ablegen.
Der Punkt vor inc ist wichtig. Er kennzeichnet den Beginn einer 
Directive.
Sollte die Simulation nicht laufen, mit einer Meldung abbrechen oder 
endlos laufen, kann die Modelldatei falsch, fehlerhaft oder inkompatibel 
sein. Dann kann ich nich weiter helfen.
In der Schaltnetz_ic.lib befindet sich eine Mail Adresse aus Rußland.
Eventuell haben die noch eine andere Lib.

Ich hoffe, es hilft etwas.
Dietmar

von Malte M. (malte_m)


Angehängte Dateien:

Lesenswert?

Hi,
schau mal im LTSpice Forum unter yahoo. Dort gibt es das Modell zum 
Download.
Ansonsten müssten die beiden anghängten auch klappen.

Malte

von Gerhard C. (crok)


Lesenswert?

Hallo Dietmar und Malte,
ich bedanke mich für die ausführlichen Ratschläge und werde damit in ca. 
2 Wochen mein Glück versuchen. Nochmals Danke    Gerhard

von Andrey (Gast)


Angehängte Dateien:

Lesenswert?

Hi!
I use LTspice IV (Version 4.20 - Nov 4 2013)

I have download:
 - the "TL494.sub" into directory "C:\Program 
Files\LTC\LTspiceIV\lib\sub"
 - the "TL494.asy" into directory "C:\Program 
Files\LTC\LTspiceIV\lib\sym\Misc"

Then I create "File -> New Schematic" with new LT494 icon 
"Draft-TL494.asc".
It is OK!!
Then I try to "Run" this schematic... and obtain the next message:

SPICE ERROR: Could not open library "eigene/TL494.sub"

Log file "Draft-TL494.log" consists the next:
 Error: Could not open library file "eigene/TL494.sub"

What is wrong?
8-(

von Andrey (Gast)


Lesenswert?

OK !!
 - I catch it!
It is needed to create the subdirectory "eigene" at the same level as 
the subdir. "lib" and "examples" and place the "tl494.sub" into this 
subdirectory.
 - It is works!
 - I am happy.
8-))
Thanks a lot for your participation.

von Andrew (Gast)


Angehängte Dateien:

Lesenswert?

TL494 LTSpice Model Text and Issues Discussion

When I first used the TL494 LTSpice model, I noticed that the voltage at 
the PWM outputs went only up to 4.8V, despite having 13V at the VCC pin. 
This did not make sense, since the saturation voltage of the internal 
transistors was only 2.5V maximum according to the datasheet. So I would 
expect a 10.5V minimum PWM output voltage. 4.8V at the PWM pins is ok to 
drive logic level MOSFETs, but standard MOSFETs will NOT fully enhance 
at such a low gate voltage. The model therefore had to be tweaked. I 
list the original model text below:

http://markkhusid.ddns.net/current_projects/current_projects_electronics_hacking_TL494_LTSpice_model.html


//

* TL494.asc
*              1    2   3   4  5  6   7  8  9  10 11 12  13  14  15   16
.subckt tl494 1IN+ 1IN- FB DTC CT RT GND C1 E1 E2 C2 VCC OC REF 2IN- 
2IN+
XEA1 1IN+ 1IN- VCC 0 N015 level.2 Avol=1e5 GBW=1Meg Slew=10k ilimit=25m 
rail=0 Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=1Meg
XEA2 2IN+ 2IN- VCC 0 N016 level.2 Avol=1e5 GBW=1Meg Slew=10k ilimit=25m 
rail=0 Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=1Meg
V�DT N007 DTC 0.12
V2 N014 CT 0.7
A1 0 N005 0 N011 0 0 N009 0 OR vhigh=4.8 td=50n
A2 0 N006 0 N009 0 N002 0 0 OR vhigh=4.8 td=50n
A3 0 N010 0 N009 0 N012 0 0 OR vhigh=4.8 td=50n
A4 0 OC` 0 N008 0 0 N006 0 AND vhigh=4.8 td=50n
A5 0 N004 0 OC` 0 0 N010 0 AND vhigh=4.8 td=50n
E1 OC` 0 OC 0 1
A6 N004 0 N009 N001 0 N004 N008 0 DFLOP vhigh=4.8 vlow=0.2 td=50n
I2 FB 0 0.7m
R1 N003 N002 470
R2 N013 N012 470
R4 N003 E1 2k7
R5 N013 E2 2k7
Q3 RT RT Ref 0 PNP
Q4 CT RT Ref 0 PNP
S1 0 CT ctl 0 SW off
A10 CT 0 0 0 0 0 ctl 0 SCHMITT vhigh=1 vlow=-1 vt=1.5 vh=1.495 td=10n 
tripdt=1n
R3 VCC Ref 270
R6 N001 0 470
C1 N001 VCC 1n
XU1 N007 CT VCC 0 N005 level.2 Avol=1G GBW=1G Slew=1G ilimit=25m rail=0 
Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=500Meg
XU2 FB N014 VCC 0 N011 level.2 Avol=1G GBW=1G Slew=1G ilimit=25m rail=0 
Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=500Meg
Q1 C1 N1010 E1 0 NPN
Q2 C2 N1011 E2 0 NPN
E1000 N1000 0 N003 0 2.1875
E1001 N1001 0 N013 0 2.1875
R1000 N1000 N1010 100
R1001 N1001 N1011 100
D3 0 Ref DZ
D1 N016 FB D
D2 N015 FB D
D4 N001 VCC D
D5 0 N001 D
.model D D
.model NPN NPN
.model PNP PNP
.model sw sw(ron=1)
.lib ltc.lib
.model dz d(vrev=5)
.lib UniversalOpamps2.sub
.ends tl494

//

Best regards

Andrew

von Victor Cuellar (Gast)


Lesenswert?

Hello
I use LTspiceXVII

I have downloaded and placed:
 - the "TL494.sub" into directory "C:\Program
Files\LTC\LTspiceIV\eigene"
 - the "TL494.asy" into directory "C:\Program
Files\LTC\LTspiceIV\lib\sym\Misc"

Then I created a new schematic with new LT494 icon but when I try to 
"Run" this schematic I obtain the next message:

SPICE ERROR: Could not open library "eigene/TL494.sub"

What could be wrong?

In advance thanks for your help

von Victor Cuellar (Gast)


Lesenswert?

Hello,

I have solved this.

Thanks

von jota (Gast)


Lesenswert?

Boas

Como fizeste?

von Rick (Gast)


Lesenswert?

I have the same issue with LTSspice XVII. The solution is to apply the 
files in "Documents>LTspiceXVII" Folder, not in the program folder.

von Suprio (Gast)


Lesenswert?

Victor Cuellar schrieb:
> Hello,
>
> I have solved this.
>
> Thanks

Hi,
Can you please share how did you solve the issue?

von Mohan D. (mohan_d)


Lesenswert?

Victor Cuellar schrieb:
> Hello,
>
> I have solved this.
>
> Thanks

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.