Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

could not open library file "Dead_Time.sub" in LTspice IV

Status
Not open for further replies.

vdbala

New Member
i am using LTspice to simulate the IR2153 self-oscillating half bridge driver circuit, i added IR2153.asc and IR2153.sub from LTspice group in yahoo. But, when i try to run the circuit i am getting could not open lib file "dead_time.sub" error so i downloaded some dead time.sub and run the prog and i got some other errors the deadtime.sub as follows:
.SUBCKT DEAD_TIME 1 50 51 {DT=500N VHIGH=10V VLOW=100M RS=10}
RIN 1 0 1MEG
B6 17 0 V=V(1)>2V ? 10 : 0
R3 17 18 1k
C3 18 0 {DT/(1000*4.14)}
B4 21 0 V=V(26,20)<100MV ? {VHIGH} : {VLOW}
RCQ 21 60 100
CCQ 60 0 10P
BQ 61 0 V=V(60)
RSQ 61 50 {RS}
R4 22 23 1k
C4 23 0 {DT/(1000*4.14)}
B5 24 0 V=V(26,20)<100KV ? {VLOW} : {VHIGH}
RCQB 24 70 100
CCQB 70 0 10P
BQB 71 0 V=V(70)
RSQB 71 51 {RS}
R5 17 25 1k
C5 25 0 {DT/(1000*41.4)}
R6 22 26 1k
C6 26 0 {DT/(1000*41.4)}
D3 23 22 DISCH
D4 18 17 DISCH
B1 22 0 V=V(1)>2V 7 0 : 10
B2 19 0 V=V(17,18)<100MV ? 0 : 10
B3 20 0 V=V(22,23)<100MV ? 0 : 10
.MODEL DISCH D BV=100V C30=4PF I8=7E-09 M=.45 N=2 RS=.0
+ TT=6E-09 VJ=.6V
.ENDS

can anyone help for this????

thanks in advance....

with regards,
vdb
 
You need to attach the .asc file so that we can try to run it. Click on the "go advanced" button, then scroll down to "manage attachments".
 
Last edited:
yeah i attached the .asc file. when running it in LTspice IV it shows "could not open lib file"dead_time.sun"" so i downloaded some deadtime.sub and runned it. but the component does not working as i need as there is a prob with the .sub for dead time file.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top