Setting an ABM in LTspice!

Thread Starter

nornandxor

Joined Dec 11, 2017
148
How to set an ABM to output certain frequency at certain voltage? Also, how to square some specific node? An example will be so helpful!
 

kubeek

Joined Sep 20, 2005
5,795
The formula you have in your picture will almost work, the V(%in+, %in-) will most likely have to become V(n068) or V(Vfsk) or whatever. If you want to offset it by 2khz, then use (...)*TIME*(V(Vfsk)+12345)) where 12345 is the correct number that yields 2kHz in the whole equation when Vfsk is 0V (and I can't be bothered to find out what it is in your case)

just use a B source in the schematic, and google "ltspice voltage behavioral source" and you should find good enough examples how to use it and achieve what you need.
 
Top