Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

problem importing spice model

 

Hi everybody,

 

I'm trying to import a spice model to multisim 10. t's a Mosfet driver (IR2110). I've been following some manuals about this issue. Moreover, after reading posts, I've seen that this model (downloaded from the manufacturer's website) works fine once you substitute TEMP and write a number instead( otherwise, there's a problem with temperature when simulating). Nevertheless, I cannot find the way to import the info properly to multisim. I attach the beginning and the end of the spice model.

 

**************************************************​********************
*
*  Copyright (c) International Rectifier
*
*  IR2110: High and Low Side Driver
*  
*  Ports
*    VDD: Logic Supply
*    HIN: Logic Input for High Side Gate Driver Output (HO), in phase
*    SD:  Logic Input for Shutdown
*    LIN: Logic Input for Low Side Gate Driver Output (LO), in phase
*    VSS: Logic Ground
*    VB:  High Side Floating Supply
*    HO:  High Side Gate Diver Output
*    VS:  High Side Floating Supply Return
*    VCC: Low Side Supply
*    LO:  Low Side Gate Driver Output
*    COM: Low Side Return
*
*  Created by Pspice Version 8
*
*  Date Created: 03/25/2003
*
**************************************************​*********************
*
*  This behavioral model was developed in compliance with Data Sheet
*  No. PD60147-R except noted below:
*  (1) There is no frequency effect on temperature.
*  (2) The power dissipation is different.
*  (3) The values of output high/low short circuit current are adjusted
*      for the proper modeling of turn-on rise/turn-off fall time.
*  (4) The "Low side return (COM)" pin must be grounded.
**************************************************​*********************

.SUBCKT IR2110 VDD HIN SD LIN VSS HO VB VS VCC COM LO
+PARAMS: 
+         T1=-40 T2=25 T3=125
+         V1=10 V2=15 V3=20
+         tonT1=90n tonT2=120n tonT3=170n
+         tonV1=140n tonV2=120n tonV3=100n
+         toffT1=77n toffT2=94n toffT3=130n
+         toffV1=115n toffV2=94n toffV3=75n
+         tonVdd1=125n tonVdd2=120n tonVdd3=115n
+         toffVdd1=113n toffVdd2=94n toffVdd3=72n

.MODEL diode25 d
+IS=1.0e-14 RS=0.01 N=1 EG=1.11
+XTI=3 BV=25 IBV=0.0001 CJO=0
+VJ=0.75 M=0.333 FC=0.5 TT=0
+KF=0 AF=1

.MODEL diode525 d
+IS=1.0e-14 RS=0.01 N=1 EG=1.11
+XTI=3 BV=525 IBV=0.0001 CJO=0
+VJ=0.75 M=0.333 FC=0.5 TT=0
+KF=0 AF=1

C_MD1_C2         VSS MD2_Nor3b_2  10p 
C_MD1_C3         VSS MD2_Inv2_1  10p 
C_MD1_C1         VSS MD2_Inv1_1  1n 
D_MD1_D2         VSS HIN diode25
D_MD1_D3         SD VDD diode25
D_MD1_D4         VSS SD diode25
D_MD1_D5         LIN VDD diode25
D_MD1_D6         VSS LIN diode25
D_MD1_D7         VSS VDD diode25
D_MD1_D1         HIN VDD diode25
C_MD1_Trig3_CTrig         VSS MD2_Inv2_1  10p 
R_MD1_Trig3_R1Trig         MD1_Trig3_3 VDD  100Meg 
R_MD1_Trig3_R2Trig         MD1_Trig3_4 MD1_Trig3_3  66.7Meg 
R_MD1_Trig3_R3Trig         VSS MD1_Trig3_4  106.1Meg 
X_MD1_Trig3_Comp         LIN MD1_Trig3_3 MD2_Inv2_1 com COMP
S_MD1_Trig3_PTrig         MD1_Trig3_4 VSS MD2_Inv2_1 VSS _MD1_Trig3_PTrig
RS_MD1_Trig3_PTrig        MD2_Inv2_1 VSS 1G
.MODEL        _MD1_Trig3_PTrig VSWITCH Roff=1e9 Ron=1 Voff=0.01 Von=4.99
R_MD1_R1         VSS HIN 750k TC=-0.00783811, 0.0000372046
R_MD1_R2         VSS SD 750k TC=-0.00783811, 0.0000372046
C_MD1_Trig1_CTrig         VSS MD2_Inv1_1  10p 
R_MD1_Trig1_R1Trig         MD1_Trig1_3 VDD  100Meg 
R_MD1_Trig1_R2Trig         MD1_Trig1_4 MD1_Trig1_3  66.7Meg 
R_MD1_Trig1_R3Trig         VSS MD1_Trig1_4  106.1Meg 

 
..................................................​.............................I have avoided copying all the file.

 

 

V_MD3_DlyLS_VCC2         MD3_DlyLS_12 VSS 5V
S_MD3_DlyLS_N2         MD3_DlyLS_9 VSS MD3_DlyLS_6 VSS _MD3_DlyLS_N2
RS_MD3_DlyLS_N2        MD3_DlyLS_6 VSS 1G
.MODEL        _MD3_DlyLS_N2 VSWITCH Roff=1e6 Ron=1 Voff=0.1V Von=4.9V
C_MD3_DlyLS_C4         VSS MD3_DlyLS_7  10p 
E_MD3_DlyLS_ABM13         MD3_DlyLS_17 com   VALUE { (1-EXP(-( {toffV1}+({toffV3}-
+ {toffV1})/({V3}-{V1})*((V(VCC))-{V1}))/10/ 10n))/ 
+ (1-EXP(-( {toffV1}+({toffV3}-{toffV1})/({V3}-{V1})*({V2}  -{V1}))/10/ 10n))
+   }

.ENDS    IR2110

.SUBCKT COMP 1 2 3 4
E1 5 4 VALUE={IF((V(1)>V(2)), V(4)+5V, V(4))}
R1 5 3 1
C1 3 4 10P
.ENDS

 

I don't know if it must be considered analogic or digital when creating the multisim model. On the other hand, I'm not sure if it's a multimodel or single model because I see .SUBCKT IR2110 VDD HIN SD LIN VSS HO VB VS VCC COM LO (11 pins VDD the first and LO the last, in theory) but I also see some .MODEL.

 

Any suggestions?

 

Kind regards.

 

 

 

0 Kudos
Message 1 of 7
(5,227 Views)

Hi,

 

 

Any SPICE model you import into Multisim is an analog model.  The model starts with the ".suckt" statement and ends with an ".ends" statement, everything in between is part of the model.  In SPICE, you are allowed to have model inside a model.

 

 

 

Attached is a circuit with the IRF2110 I created using the model downloaded from IRF website.

 

Tien P.

National Instruments
0 Kudos
Message 2 of 7
(5,190 Views)

Thank you. I appreciate your help.

0 Kudos
Message 3 of 7
(5,187 Views)

Hi socio74,

 

      I think you will have to create a new component in Multisim and then import the Pspice file for it. There are instructions on creating new components in Multisim, you can find them on page 6-3 of the user manual. Step 13 (found on page 6-6) explains how you can import the spice model once you have created the component.

     Moreove, I think you may find the following document useful. Hope this helps.

 

     Regards,

David Oña
0 Kudos
Message 4 of 7
(5,137 Views)

Thanks David. It's been very useful.

 

Regards.

 

Sebastian.

0 Kudos
Message 5 of 7
(5,134 Views)

Hi.

I also have such problem with IR2110. Does your model worked already?

0 Kudos
Message 6 of 7
(4,402 Views)

Thank you very much , I've searched for it very long period of time 

you are the best ^_^

0 Kudos
Message 7 of 7
(3,797 Views)