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.
3 Answers
You can use .meas Vmicpk MAX(V(Vmic)-V(Vx))*1000
Is it just (Vmic-Vx)?
Vmic
and Vx
are node names and not voltages.
The voltages associated with each node are V(Vmic)
and V(Vx)
The difference voltage between the two nodes is V(Vmic)-V(Vx)
Then multiply by 1000 if that's what you want.
-
-
2
In addition to the other answers, in LTspice you can identify in any command the voltage across two nodes with the syntax
V(node1,node2)
which in your case becomes
V(Vmic,Vx)
-
\$\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