Author Topic: LTspice: need to see currents when clicking nodes  (Read 1841 times)

0 Members and 1 Guest are viewing this topic.

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
LTspice: need to see currents when clicking nodes
« on: November 15, 2022, 06:13:35 am »
In “LTspice” once I’ve run a simulation and I click on the nodes, I can see the voltage of that node. Please, is there a simple way to do this for current too?

Thank you
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 7012
  • Country: ro
Re: LTspice: need to see currents when clicking nodes
« Reply #1 on: November 15, 2022, 07:01:47 am »
LTspice will not show the current of a node.  It can only show the current flowing through a component in the circuit.

A node is a place where many wires are put in electrical contact together.  Each wire tied at the same node node will carry its own currentm they do not carry each the same current.  The currents from all the wires in a given node will sum zero (Kirchhoff's law).  So the current of a node, any node, is always zero, because of physics laws.

To probe the current through a specific wire, insert a voltage source of zero volts, and display the current through that 0V voltage source.
« Last Edit: November 15, 2022, 07:07:51 am by RoGeorge »
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: LTspice: need to see currents when clicking nodes
« Reply #2 on: November 15, 2022, 07:24:24 am »
LTspice will not show the current of a node.  It can only show the current flowing through a component in the circuit.

A node is a place where many wires are put in electrical contact together.  Each wire tied at the same node node will carry its own currentm they do not carry each the same current.  The currents from all the wires in a given node will sum zero (Kirchhoff's law).  So the current of a node, any node, is always zero, because of physics laws.

To probe the current through a specific wire, insert a voltage source of zero volts, and display the current through that 0V voltage source.

 Thank you for your help, that’s what I actually meant, so how do I automatically show the current going through a component when I click it?
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: LTspice: need to see currents when clicking nodes
« Reply #3 on: November 15, 2022, 07:38:16 am »
Run the simulation. The mouse pointer changes to show a current arrow, then click on the component. Note that LTspice often draws the current arrow in the opposite direction of what you want. If that happens, and you need the current in the plot window to show the opposite way, you can edit the trace’s formula to add a minus sign in front of it.

If you want a simulation to display the voltages and currents on the schematic, I don’t think that’s something LTspice does. But other simulators, like Tina and Falstad, do.
« Last Edit: November 15, 2022, 07:39:48 am by tooki »
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 7012
  • Country: ro
Re: LTspice: need to see currents when clicking nodes
« Reply #4 on: November 15, 2022, 07:39:48 am »
Don't know what you mean by automatically display the current.  Post a capture of the schematic, and attach the .asc file together with the question(s).

First result when searching for "LTspice 101 youtube" was this:


It happens to show how to probe the current through a resistor.
Side note, never draw the GND touching the wire, like the dude in the video.
« Last Edit: November 15, 2022, 10:21:13 am by RoGeorge »
 

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: LTspice: need to see currents when clicking nodes
« Reply #5 on: November 15, 2022, 09:17:58 am »
Don't know what you mean by automatically display the current.  Post a capture of the schematic, and attach the .asc file together with the question(s).

First result when searching for "LTspice 101 youtube" was this:


It happens to show show how to probe current through a resistor.
Side note, never draw the GND touching the wire, like the dude in the video.

Thanks mate. I'll have a look.

That poor bloke having to use a Mac for Ltspice :-DD
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2766
  • Country: ca
Re: LTspice: need to see currents when clicking nodes
« Reply #6 on: November 16, 2022, 03:58:30 am »
Hi,
There is a list of shortcuts here:

https://www.analog.com/media/en/news-marketing-collateral/solutions-bulletins-brochures/ltspice_shortcutflyer.pdf

To look at the current in a trace, [ALT] [LEFT-CLICK].

To measure the voltage between two nodes, click on the first node, keep the button pressed and release on the second node.


Regards,
Jay_Diddy_B
 
The following users thanked this post: Zero999, Zeyneb, Ian.M, RoGeorge

Offline Geoff-AU

  • Regular Contributor
  • *
  • Posts: 241
  • Country: au
Re: LTspice: need to see currents when clicking nodes
« Reply #7 on: November 16, 2022, 05:59:52 am »
The mouse pointer changes to show a current arrow, then click on the component.

This will show you the current through a 2-terminal device like a resistor, if you have a (N>2)-terminal device then where each wire contacts a pin then the icon will change also and you can click on the individual pin to see the current flowing.
 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: LTspice: need to see currents when clicking nodes
« Reply #8 on: November 16, 2022, 07:05:10 pm »
Oh yeah, that’s right, and I’ve even used that capability before, come to think of it!
 

Offline Geoff-AU

  • Regular Contributor
  • *
  • Posts: 241
  • Country: au
Re: LTspice: need to see currents when clicking nodes
« Reply #9 on: November 17, 2022, 07:42:55 am »
Oh yeah, that’s right, and I’ve even used that capability before, come to think of it!

That's called "too many beers ago" for me  ;D
 
The following users thanked this post: tooki

Offline tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: LTspice: need to see currents when clicking nodes
« Reply #10 on: November 17, 2022, 09:10:40 am »
That's called "too many beers ago" for me  ;D
  ;D

Too many… or too few? >:D
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 5570
  • Country: va
Re: LTspice: need to see currents when clicking nodes
« Reply #11 on: November 17, 2022, 09:11:14 am »
Simply place the probe at the wire such it shows "voltage". Then click at that voltage value and you will get a window with all the voltages and currents in your circuit. Do select a current flowing through that wire. It will show you the current then. You may have current as well as voltage probe set at a wire.. See below..
« Last Edit: November 17, 2022, 09:13:50 am by imo »
Readers discretion is advised..
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 7335
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: LTspice: need to see currents when clicking nodes
« Reply #12 on: November 17, 2022, 09:37:09 am »
In the past I've added a 1uohm resistor into a circuit to measure current where it was not otherwise possible to measure current through a specific net.  LTSpice does not allow you to use a zero ohm resistor but a micro-ohm is a close approximation to one.
 
The following users thanked this post: tooki

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2766
  • Country: ca
Re: LTspice: need to see currents when clicking nodes
« Reply #13 on: November 17, 2022, 02:10:24 pm »
In the past I've added a 1uohm resistor into a circuit to measure current where it was not otherwise possible to measure current through a specific net.  LTSpice does not allow you to use a zero ohm resistor but a micro-ohm is a close approximation to one.

Hi, if you need to do this, use a 0V voltage source as the sensing element.

Jay_Diddy_B
 
The following users thanked this post: tom66, tooki, ledtester

Online Zero999

  • Super Contributor
  • ***
  • Posts: 20361
  • Country: gb
  • 0999
Re: LTspice: need to see currents when clicking nodes
« Reply #14 on: November 17, 2022, 04:30:44 pm »
In the past I've added a 1uohm resistor into a circuit to measure current where it was not otherwise possible to measure current through a specific net.  LTSpice does not allow you to use a zero ohm resistor but a micro-ohm is a close approximation to one.
Pressing Alt whilst the mouse cursor is over the net works for me. Under WINE I need to hold both Alt keys, or the Windows+Alt. Failing that, manually enter the components in, for example if it's three resistors I(R1)+I(R2)+I(R3).
 
The following users thanked this post: tooki


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf