LTSpice Beginner To Expert Part 2: Models, Subcircuits & Symbols

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • An LTspice tutorial where we explain Models, Subcircuits, & Symbols

КОМЕНТАРІ • 37

  • @timflynn3218
    @timflynn3218 11 місяців тому +6

    I have learned more about this in less time from you than I have in several hours of other people's videos. They all assume I know what to click on, or what the other ways of doing the same thing is. Your skill at teaching is sorely needed for those not familiar with using this software on a daily basis. Thank you.

  • @ralphacosta4726
    @ralphacosta4726 2 роки тому +3

    Thanks. Very useful. A part of LTSpice i didn't even know existed. I'm still really new to all this.

  • @ReyciclismoMTB
    @ReyciclismoMTB 2 роки тому +4

    Finally well explained, most assume that people know all the stuff. Awesome series!!

  • @claude77573
    @claude77573 Рік тому +7

    Excellent video. You have a gifted way of explaining LTspice, thank you. By the way, a comment for the slide at 1:54. When reviewing the LTspice help for the .include command, I see that LTspice now puts "user stuff" into %LOCALAPPDATA%\LTspice (which, for me, works out to C:\Users\Claude\AppData\Local\LTspice). The LTspice menu Tools>Control Panel tab called "Sym. and Lib. Search Paths" lets me create directories that don't junk up the default install files, and the Waveforms tab lets me specify a directory to put all the work files (the .raw, .plt, and .log files) so these don't clutter up the symbol and library directories.

  • @biswajit681
    @biswajit681 2 роки тому +2

    Best tutorial for LTspice

  • @rodjohnson2632
    @rodjohnson2632 2 роки тому +2

    Very good video. I've been looking for a decent explanation of subcircuits and models, this is the first one that was able to answer some questions I had about them.

  • @leosarrazin7391
    @leosarrazin7391 7 місяців тому +1

    Finaly, a well explained tutorial for newbies

  • @sahibgasimov4907
    @sahibgasimov4907 9 місяців тому

    Thanks for your effort. It's very useful video that helps to beginners of LTspice program.

  • @anthonyheak3479
    @anthonyheak3479 Рік тому +1

    Great tutorial, learned some new things in LTSpice, thanks!

  • @glenk0
    @glenk0 3 роки тому +1

    Thanks for your tutorials on LTSpice!

  • @matthiasklose1085
    @matthiasklose1085 Рік тому +1

    Thanks very much. Great help for me to start with subcircuits.

  • @pbaemedan
    @pbaemedan 2 роки тому +5

    Sir, good video on LTspice. I would recommend you introduce net lists. Net lists are fundamental to understanding sub circuit modeling. Also allows individuals to review how they model is wired up in their circuit model. Thank you.

    • @claude77573
      @claude77573 Рік тому +1

      Yes, I agree. Using the term "Node" implies a Nodal analysis. This is not a nodal analysis, per se. It's defining connection points between the subcircuit and the schematic in which that subcuit is used. So it appears we have two sets of connections: Wires between the components in the subcircuit, and then connection points from the subcuit to the schematic. Looking at the subcircuit definitions for things like op amps, I'm sure there's a lot more to it than this, but this help my dim mind understand what's going on. For what it's worth, the menu command View > Spice Netlist, you can see how LTspice defines the automatically generated netnames when a simulation is run. Also, when I'm looking at a measurement (like Vn002, for example), I'm always asking myself where, exactly, is the net in the schematic. If you click Ctrl+F, and enter the netname (like n002 for V(n002)) in the search box in the upper righthand corner, the network will be highlighted in the schematic.

  • @strangestuff8863
    @strangestuff8863 Рік тому

    Appreciated - I also like your method of explaining.

  • @ferrabras
    @ferrabras Рік тому

    Thank you very much. Now I can easyly organize my models.

  • @russpeck1320
    @russpeck1320 7 місяців тому

    As a complete newbie to LTspice, this is the best video I have seen so far. One quick question, I don't see anywhere where you define number one as being in, number two as being out, and number three is being ground when putting the sub circuit into the symbol. Does it know based on what's on the left, the right, and on the bottom? Many thanks for your time.

    • @hugoyares8335
      @hugoyares8335 5 місяців тому

      @ 18:12 netlist order for pin in is 1.that means the node 1 in subcircuit is equal to in.

  • @lewislee6414
    @lewislee6414 10 місяців тому

    Thank you so much, sir! Very informative video! I have a question: how the subcircuit and symbols are connected? What will happen if we have 2 subcircuit with the same connection, eg. only the resistor value is different. And we include both in the schematic. How can the symbol tell which subcircuit to use?

  • @wagsman9999
    @wagsman9999 Рік тому

    Thank you. This was very helpful.

  • @piyush-hp9pz
    @piyush-hp9pz 2 дні тому

    Thanks sir

  • @rithwikmanu9893
    @rithwikmanu9893 8 місяців тому +1

    Great explanation! Thanks for the video. Had a doubt:
    When we create the symbol, how does LTSpice automatically identify that 'IN' is to be associated to node 1, 'OUT' to node 2 and 'GND' to node 3?
    What if I wanted node 2 to be grounded and node 3 to be output, is there any particular method to specify this? Also, what happens when there are more than 3 nodes, but I only assign IN, OUT and GND at the symbol?

    • @ctan001
      @ctan001 5 місяців тому

      That's my question, too.

    • @ctan001
      @ctan001 5 місяців тому

      I guess the best way is to assign the same name in the symbol and SPICE sub-circuit. Here is the answer from ChatGPT
      In LTspice, linking the symbol ports of a custom symbol to a SPICE subcircuit model involves several steps to ensure that the symbol correctly interfaces with the underlying netlist of the subcircuit. Here’s how you can do it:
      1. **Create the Subcircuit (`.subckt`) Definition:**
      - Begin by defining your subcircuit in a SPICE model file. This involves using the `.subckt` command followed by the name of the subcircuit and a list of nodes. For example:
      ```
      .subckt MySubcircuit in+ in- out
      * Your subcircuit components go here
      .ends MySubcircuit
      ```
      2. **Create a Symbol for the Subcircuit:**
      - You need a graphical symbol to represent your subcircuit in the schematic editor. LTspice allows you to create a new symbol using its Symbol Editor.
      - Go to `File` > `New Symbol` and design your symbol. Place pins where you need them to match the nodes in your subcircuit definition. Each pin will correspond to a node (port) in your subcircuit.
      3. **Assign Names to Symbol Pins:**
      - Select each pin and assign it a name that matches the node names in your `.subckt` definition. This is crucial because LTspice uses these names to link the symbol to the subcircuit nodes.
      - To name a pin, right-click on it, select `Attributes`, and then enter the name in the `Label` field.
      4. **Save the Symbol:**
      - Save your symbol with a suitable name, preferably the same as your subcircuit for ease of recognition.
      5. **Link the Symbol to the Subcircuit:**
      - Place the symbol in a schematic. Right-click on it and select `Pick New Subcircuit`.
      - Navigate to the SPICE model file where your subcircuit is defined and select it. This step links your graphical symbol to the SPICE subcircuit definition.
      6. **Testing the Subcircuit:**
      - Once everything is set up, place the symbol in your schematic, connect it as needed, and run simulations to test its functionality.
      By following these steps, you ensure that each port on your symbol correctly corresponds to a node in your SPICE subcircuit definition, allowing for accurate simulations in LTspice.

  • @dougbas3980
    @dougbas3980 10 місяців тому

    Learning a lot!

  • @amarmail8033
    @amarmail8033 Рік тому

    Superb....

  • @qzorn4440
    @qzorn4440 Рік тому

    wow.. this should be one of the 1st videos to watch. Analog Devices AD202KN iso-amp has cad info but how to get it in the LTspice simulation for their own product? 🐬
    looks like draw the sub-circuit and make one? there is one somewhere for the design people?? so here goes the re-engineer mode in to get a LTspice simulation model 🧐 🤣

  • @jonathanlister5644
    @jonathanlister5644 11 місяців тому

    Brilliant! I just don't understand all these tech term obfuscations.

  • @sky7265
    @sky7265 Рік тому

    Thank you teacher.

  • @ancientmoon4303
    @ancientmoon4303 2 місяці тому

    Great, like it.

  • @donnymac575
    @donnymac575 3 роки тому +1

    Awesome!

  • @MukeshKumar-py9sv
    @MukeshKumar-py9sv 3 місяці тому

    ERROR: can not include myfilter.sub file, when running the simulation. Where can i be wrong ?

  • @discretecomponent2982
    @discretecomponent2982 Рік тому

    excellent.

  • @rushikeshkumawat1361
    @rushikeshkumawat1361 2 місяці тому

    I have followed whole procedure. But I still get error Box. Any solution ?

  • @comment8767
    @comment8767 Рік тому

    If LTSpice is open source, I should be able to download the source code somewhere. Can you provide a link to the source download? Thanks for the video!

    • @tommy8716
      @tommy8716 9 місяців тому

      LTSpice is not open source, it's just free. He misspoke or misunderstood when he said that

  • @davidreichert9392
    @davidreichert9392 Рік тому

    My installation is a bit weird. Everything was put under User > AppData > and the lib is a subdirectory that is saved as a zip, and I can't save anything in it. Anyone else having this issue?