Voltage Controlled Transconductance

I am trying to use a G source where I want to relate its transconductance to voltage of a node. Is it possible to do in the QSPICE? Thanks in advance!
Capture1

No, but you can use B source.

Best regards

1 Like

Thanks for the help!

@ivan1 already mentioned an alternative solution. But for your information, it is possible to use G-source with legacy syntax.
Qspice actually support G-source with two terminals only in netlist format. However, Qspice default symbol only offers 4-terminal G-source. You have to create a two-terminal symbol (I attach a symbol for your reference), and with value={expression} for G-source (** curly bracket is required in this usage)

G-Source Two-terminal.qsym (696 Bytes)

1 Like

By the way, I took a look at your question again, and perhaps it would be better to also show you how to connect a 4-terminal G-source.

Thanks for the explanations. I see your point, but I wanted to make the gain voltage dependent. For example, I want to replace the gain “1” with a syntax such as {V(node01)}. I applied the method @ivan1 mentioned and it worked fine.

1 Like