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.

[SOLVED] PSPICE node parameter

Status
Not open for further replies.

sk614

Newbie level 5
Joined
Aug 9, 2017
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
65
Hello,
I want to set the current source I1 as a function of node "VO", how can I do as a parameter? such that I1=60/(Vo+1)?
View attachment SCHEMATIC1 _ PAGE1.pdf


**** INCLUDING SCHEMATIC1.net ****
* source BASSOSIMS
C_C1 N14434 VO 1u TC=0,0
R_R1 0 N14434 .5 TC=0,0
R_R2 N14403 N14423 .1 TC=0,0
L_L1 N14423 VO 100u IC=0
I_I1 VO 0 DC {60/(V(VO)+1)}
---------------------$
ERROR(ORPSIM-16318): Missing or invalid expression
V_V2 N14403 0
+PULSE 150 130 0 10n 10n 10m

**** RESUMING simac.cir ****
.END

Error code.
 
Last edited:

You should use Voltage Controlled Current Source ( VCCS )
Syntax :
Linear Voltage-Controlled Current Sources
General form:
GXXXXXXX N+ N- NC+ NC- VALUE

Examples:
G1 2 0 5 0 0.1MMHO

N+ and N- are the positive and negative nodes, respectively. Current flow is from the positive node, through the source, to the negative node. NC+ and NC- are the positive and negative controlling nodes, respectively. VALUE is the transconductance (in mhos)
 
  • Like
Reactions: sk614

    sk614

    Points: 2
    Helpful Answer Positive Rating
Use controlled current source with behavioral expression, e.g.
Code:
 G_I1 VO 0 VALUE = {60/(V(VO)+1)}

Review reference manual for details.
 

Use controlled current source with behavioral expression, e.g.
Code:
 G_I1 VO 0 VALUE = {60/(V(VO)+1)}

Review reference manual for details.

This is exactly what I want but I cant find the part for it. The closest is "GVALUE" is that right?

my netlist came out as
Code:
G_G1         VO 0 VALUE { 60/(V(VO, 0)+1) }
. It'll run now but I have convergence issues on GVALUE
 
Last edited:

If you prefer schematic entry, you can use GVALUE with a respective behavioral expression. Or more generally an ABM block (e.g. ABM1) in combination with a voltage controlled current source G.

- - - Updated - - -

Convergence issues are just expectable with a division operation. Need to add value constraints or modify the behavioral expression.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top