Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

difference Hspice and Pspice

Status
Not open for further replies.

020170

Full Member level 4
Joined
Jan 31, 2005
Messages
231
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
2,221
I designed very simple RC circuit like that.

vac 1 0 ac 120v
r1 1 2 200
r2 2 0 400
c1 2 0 10u
.ac lin 1 60 60
.print ac vm(1,2) im(r1) vp(1,2) vm(2) vdb(2) vm(1)
.end

when I run it in Pspice & Hspice, the results is different.
but I don't know why

------------------------------------------------------------
*Hspice result

freq voltage m i mag volt phase voltage m
1 r1 1 2
2 2
60.00000 48.5219 323.3326m 26.6866 71.4781

------------------------------------------------------------

*Pspice result


FREQ VM(1,2) IM(r1) VP(1,2) VM(2)


6.000E+01 6.467E+01 3.233E-01 2.976E+01 7.148E+01
--------------------------------------------------------------

why is so different in voltage magnitude ? especially VM(1,2)??

in my opinion, Hspice may be correct. how about your opinion?
 

I donot think that I could say HSPICE is right or pspice is wrong.
If u were using MOS obviously model modelling in HSPICE are better that in PSPICE, but u are using R and C and ideal elements.
 

Both H and P (spice) are solving the same set of equations (Kirckoff lows) to get the result.

The results are very close.

Since they use diferent algoritms to get the results, some diferences in the final numerical result is expected.

Both results represent the aproximation of the exact solution.

This is a normal behavior.
 

I want a someone who can explain me about this difference in detail

difference in algorithm ?? that's so invalid...plz... explain in detail.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top