¿ªÔÆÌåÓý

simulation time function


 

Maybe this question was already asked but I cannot find an example, but is it possible to generate a signal like A/t + t/B where A and B are two generic constant and t is the simulation time?
thanks


 

--- In LTspice@..., "bcapaldo" <bcapaldo@...> wrote:



Maybe this question was already asked but I cannot find an
example, but is it possible to generate a signal like
A/t + t/B where A and B are two generic constant and t
is the simulation time?
thanks
Hello,

There are arbitrary sources Bv and Bi. Their symbol is bv and bi.
The time is "time" in the formulas.

V=A/(time+small_const) +B*time

You can't divide by 0 at time=0. Thus you have to add a small
number.

Also look at the help pages of B-sources for the possible
functions like sin, exp, if, ...

Best regards,
Helmut


 

oh, thanks easier than I expected...

--- In LTspice@..., "Helmut" <helmutsennewald@...> wrote:



--- In LTspice@..., "bcapaldo" <bcapaldo@> wrote:



Maybe this question was already asked but I cannot find an
example, but is it possible to generate a signal like
A/t + t/B where A and B are two generic constant and t
is the simulation time?
thanks
Hello,

There are arbitrary sources Bv and Bi. Their symbol is bv and bi.
The time is "time" in the formulas.

V=A/(time+small_const) +B*time

You can't divide by 0 at time=0. Thus you have to add a small
number.

Also look at the help pages of B-sources for the possible
functions like sin, exp, if, ...

Best regards,
Helmut