ltspice behavioral source vs AC analysis

Thread Starter

kubeek

Joined Sep 20, 2005
5,730
I am trying to simulate a more complex circuit (BW limited current source) but on the way I was playing with the basic blocks, and the results don´t seem normal.
What I would expect is that voltage V2 should be 10k times V1, or about +80dB. What I get instead is -390dB. What am I doing wrong?
 

Attachments

Thread Starter

kubeek

Joined Sep 20, 2005
5,730
And I will answer myself, the expression for some reason has to containg the voltage source and not the resistor, so I=I(V1).
 

crutschow

Joined Mar 14, 2008
25,242
And I will answer myself, the expression for some reason has to containg the voltage source and not the resistor, so I=I(V1).
I don't understand that either. :confused:
It works okay with a transient simulation, but not with an AC simulation.
Looks like some kind of bug.
 

Bordodynov

Joined May 20, 2015
2,642
I don't understand that either. :confused:
It works okay with a transient simulation, but not with an AC simulation.
Looks like some kind of bug.
I perceive such insult as a reality.And I try in formulas (expressions) not to use currents through elements.
This is the legacy Spice2, in which the current through the element could be observed only by using a zero voltage source.
Then there will be no such incident.
 
Top