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.

related to pspice code

Status
Not open for further replies.

2010vl04

Newbie level 4
Joined
Oct 7, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,327
i want someone to interpret the following two lines--
G_G1 N05620 SOURCE VALUE { V(0, N05492)*{PWR((25/TEMP),1.11)} }
V_V1 GATE N05652 {{TEMP/25}*7.0m}
 

G is a voltage controlled current source, V is an independent voltage source. The connected nodes are given after the source name. Both are controlled by behavioral expressions, that should be self explanatory. Otherwise consult the PSpice reference.
 
G is a voltage controlled current source, V is an independent voltage source. The connected nodes are given after the source name. Both are controlled by behavioral expressions, that should be self explanatory. Otherwise consult the PSpice reference.


Thanks for reply.It is clear to me about the source.the problem is that the simulator ,which i am using, does not recognize the expression appended to source.i want to know how exactly the expression within the braces is related to the dependent source--
G_G1 N05620 SOURCE VALUE { V(0, N05492)*{PWR((25/TEMP),1.11)} }
 

Both PSpice and LTSpice are using a syntax of VALUE = { expression } as far as I'm aware of. But apart from this point, the meaning of the expression should be obvious, isn't it? The controlling expression is a voltage difference multiply a (temperature dependent) constant.

I couldn't do but reviewing the reference manual, reading possible error messages exactly and trying corrections. Nothing different from what you can do.
 
AIM Spice doesn't seem to support the said behavioral expressions, also not the PWR() function.
 
ok sir. i have got Orcad Pspice A/D simulator.i m trying but the code is not being compiled. kindly help me how should i proceed.
 
Last edited:

You may be able to use the demo version of Orcad/Pspice - it is limited by circuit size. Otherwise, the demo version of SIMetrix may be suitable.

Keith
 

i have got Orcad Pspice A/D simulator.i m trying to simulate a simple code but the code is not being compiled. kindly help me how should i proceed
 

Exactly what error message do you get?

Keith

---------- Post added at 16:50 ---------- Previous post was at 16:02 ----------

By the way, the correct syntax for PSPICE for the G source is
Code:
Gxx +node -node +control -control transconductance

I think the syntax you have is one where the controlling current is a device name rather than two nodes. So, you would need to find "VALUE" which appears to be your current source and replace it with two nodes. It might be useful if you posted the full netlist.

Keith.
 

Specifically related to PSpice (=Orcad A/D) reread my comment from post #4. PSpice is basically supporting this kind of behavioral expressions.
 

My mistake then - my Pspice manuals are pretty old and don't list that syntax.

Keith
 

This expression G_G1 N05620 SOURCE VALUE { V(0, N05492)*{PWR((25/TEMP),1.11)} } should not give any error. If it is giving error, please check about following

Is node N05492 defined and not floating
make sure variable TEMP is defined, if you have very old version of PSpice you may get error for same, however this error would not appear in newer ones.

Share the error message so that once can suggest a solution.
This expression means V multiply (25/TEMP) to the power 1.11
Hope this is readable format.
 

The PSpice reference manual shows an equal sign after VALUE, I didn't test if it can be omitted. The manual example is:
Code:
GT ANODE CATHODE VALUE = {200E-6*PWR(V(1)*V(2),1.5)}
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top