LTSpice current dependent current source

Thread Starter

Sagan820

Joined Jul 10, 2016
19
Hello,

I'm trying to create a current dependent current source and I'm really stuck. I've attached the circuit below. The current source B1 depends on i1 which is the current in the source branch (V1-R1). Google search suggested either I = I(V1) or I = I(R1), but neither of those gave the correct answer. The correct answer is v_out = 0.718*v1. Please help! :=(. Thanks in advance!

Capture.PNG
 

MrAl

Joined Jun 17, 2014
11,342
Hello there,

It is true we can use either B or F for a linear source, but i am betting that crutschow's idea to use F is the better one when the source is a linear dependent source for two reasons. One, it will probably simulate faster, and Two it will be less likely to force a teeny tiny step in time in order to get to the solution.
Maybe in this simpler circuit it wont matter that much, but in a more complicated circuit it could matter. Maybe look at the time steps the program uses to arrive at the solution using one source and then the other (not both at once) and see if there is any difference.
Of course i am assuming it's a linear source we need not a non linear one.
 
Top