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.

begginer question about spice command: calc DC point

Status
Not open for further replies.

tariavo

Junior Member level 1
Joined
Nov 30, 2007
Messages
17
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Graz, Austria
Activity points
1,409
spice command

Hi,

how to calculate circuit DC point with spice?
usually i use tricky method - like this:

Code:
.lib ./lib/L130E_HS12_V241.lib TT


MM1 VDD VDD interm 	VDD 	P_12_HSL130E L=0.120U W=1.000U
MM2 interm VDD VSS 	VDD 	P_12_HSL130E L=0.120U W=0.820U


VVDD VDD 0 1.2V
VVSS VSS 0 0V

VV_VAR VAR 0 1.2V

.measure DC I  avg i(VVDD)
.measure DC V avg v(interm)

.DC VV_VAR 0 1.2  1

.end

Here i start variation of mock dc source (VV_VAR) in order to get value of interm voltage and power consumption.

Any suggestions?
(i feel this method is not very good from the point of performance)[/code]

Added after 53 minutes:

it seems like using
.OP
directive instead of
.DC
will help. can't test it since my spice simulator do not provide saving operation points... searching for alternative simulator.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top