4
\$\begingroup\$

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.

enter image description here

\$\endgroup\$
1

3 Answers 3

4
\$\begingroup\$

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.

\$\endgroup\$
2
  • \$\begingroup\$ Thank you for the answer. \$\endgroup\$
    – blackblade
    Jan 29 at 13:24
  • 2
    \$\begingroup\$ You can also use V(Vmic,Vx). \$\endgroup\$
    – Hearth
    Jan 29 at 20:39
7
\$\begingroup\$

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)
\$\endgroup\$
1
  • \$\begingroup\$ That will be useful for quick analysis. Thank you. \$\endgroup\$
    – blackblade
    Jan 29 at 13:25
5
\$\begingroup\$

Use a differential voltage probe.

Click on the first node, and drag to the second node.

\$\endgroup\$
1
  • \$\begingroup\$ Nice. This can be used when viewing simulation window. \$\endgroup\$
    – blackblade
    Jan 29 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.