IR Model and XSpice

Z

ZeZe

Guest
Hello,

I'm trying to use a PSpice model from International Rectifier on Protel 99
se. Protel use XSpice to simulate circuits.

The model can be found here :
http://www.irf.com/product-info/models/sim/ir2181.zip

I tried to convert the model with ps2sp.pl but the script never convert the
model.

If I use this model in the simulator I have the following error: (I removed
some):

Setup Error: No parameter data specified for V in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for VCC in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for COM in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD1_TRIG2_ABM18
MD1_TRIG2_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for VCC in: E_MD1_TRIG2_ABM18
MD1_TRIG2_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD1_TRIG2_ABM18
MD1_TRIG2_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD1_TRIG2_ABM18
MD1_TRIG2_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for COM in: E_MD1_TRIG2_ABM18
MD1_TRIG2_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
Setup Error: No parameter data specified for V in: E_MD4_UVBS_ABM18
MD4_UVBS_5 COM VALUE { V(VS)+8.9 }
Setup Error: No parameter data specified for VS in: E_MD4_UVBS_ABM18
MD4_UVBS_5 COM VALUE { V(VS)+8.9 }
Setup Error: No parameter data specified for V in: E_MD4_UVBS_ABM19
MD4_UVBS_6 COM VALUE { V(VS)+8.2 }
Setup Error: No parameter data specified for VS in: E_MD4_UVBS_ABM19
MD4_UVBS_6 COM VALUE { V(VS)+8.2 }

I tried to modified the file but It's look like XSpice don't understand V(X)
function.Does XSpice understand VALUE token ?

Do you have an idea to solve the issues ? How to convert the file to use
with Protel 99SE ?

Thanks for your help

Z
 
On Sun, 7 May 2006 19:11:59 +0200, "ZeZe" <No-Email> wrote:

Hello,

I'm trying to use a PSpice model from International Rectifier on Protel 99
se. Protel use XSpice to simulate circuits.

The model can be found here :
http://www.irf.com/product-info/models/sim/ir2181.zip

I tried to convert the model with ps2sp.pl but the script never convert the
model.

If I use this model in the simulator I have the following error: (I removed
some):

Setup Error: No parameter data specified for V in: E_MD1_TRIG1_ABM18
MD1_TRIG1_7 COM VALUE { V(VCC) * 0.0+15V+V(COM) }
[snip]
Setup Error: No parameter data specified for V in: E_MD4_UVBS_ABM19
MD4_UVBS_6 COM VALUE { V(VS)+8.2 }
Setup Error: No parameter data specified for VS in: E_MD4_UVBS_ABM19
MD4_UVBS_6 COM VALUE { V(VS)+8.2 }

I tried to modified the file but It's look like XSpice don't understand V(X)
function.Does XSpice understand VALUE token ?

Do you have an idea to solve the issues ? How to convert the file to use
with Protel 99SE ?

Thanks for your help

Z
Several possible issues...

Shouldn't { V(VCC) * 0.0+15V+V(COM) }

be { V(VCC) * (0.0+15V+V(COM)) }

Missing parentheses?

PSpice needs "Value =", note the "=" sign.

Does XSpice use PSpice-style behavioral expressions, or Berkeley "B"
functions?

"V(X)" => "X" is always a NODE.

"E" behavioral sources can have expressions.

Does XSpice delimit expressions with {...} or HSpice-style '...' ?

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
Several possible issues...

Shouldn't { V(VCC) * 0.0+15V+V(COM) }

be { V(VCC) * (0.0+15V+V(COM)) }

Missing parentheses?
Yes it's weird, because otherwise the result it's always 15. I'll ask to IR
if the model is correct.

PSpice needs "Value =", note the "=" sign.

Does XSpice use PSpice-style behavioral expressions, or Berkeley "B"
functions?
I tried with the equal sign but it change nothing

"V(X)" => "X" is always a NODE.

"E" behavioral sources can have expressions.

Does XSpice delimit expressions with {...} or HSpice-style '...' ?

...Jim Thompson
Thanks Jim.

Olivier


--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 

Welcome to EDABoard.com

Sponsor

Back
Top