How do I measure voltage between two nodes when neither of them is ground? In the schematic below, I want to measure the voltage between nodes Vmic and Vx. Is it just (Vmic-Vx)? I'm afraid that gives a wrong answer.
\$\begingroup\$ related, possibly a duplicate: electronics.stackexchange.com/questions/204096/… \$\endgroup\$– PlasmaHHJan 29 at 20:31
You can use
.meas Vmicpk MAX(V(Vmic)-V(Vx))*1000
Is it just (Vmic-Vx)?
Vx are node names and not voltages.
The voltages associated with each node are
The difference voltage between the two nodes is
Then multiply by 1000 if that's what you want.
\$\begingroup\$ Thank you for the answer. \$\endgroup\$ Jan 29 at 13:24
2\$\begingroup\$ You can also use V(Vmic,Vx). \$\endgroup\$– HearthJan 29 at 20:39
In addition to the other answers, in LTspice you can identify in any command the voltage across two nodes with the syntax
which in your case becomes
\$\begingroup\$ That will be useful for quick analysis. Thank you. \$\endgroup\$ Jan 29 at 13:25
Use a differential voltage probe.
Click on the first node, and drag to the second node.
\$\begingroup\$ Nice. This can be used when viewing simulation window. \$\endgroup\$ Jan 29 at 13:24