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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 2024

ความคิดเห็น • 36

  • @timflynn3218
    @timflynn3218 10 หลายเดือนก่อน +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.

  • @ReyciclismoMTB
    @ReyciclismoMTB 2 ปีที่แล้ว +4

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

  • @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.

  • @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.

    • @zarraffahmid5478
      @zarraffahmid5478 2 หลายเดือนก่อน

      TNX FOR THE INFO ON FILE LOCATION
      😁

  • @biswajit681
    @biswajit681 ปีที่แล้ว +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 6 หลายเดือนก่อน +1

    Finaly, a well explained tutorial for newbies

  • @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.

  • @glenk0
    @glenk0 2 ปีที่แล้ว +1

    Thanks for your tutorials on LTSpice!

  • @sahibgasimov4907
    @sahibgasimov4907 7 หลายเดือนก่อน

    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!

  • @matthiasklose1085
    @matthiasklose1085 ปีที่แล้ว +1

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

  • @ferrabras
    @ferrabras ปีที่แล้ว

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

  • @strangestuff8863
    @strangestuff8863 ปีที่แล้ว

    Appreciated - I also like your method of explaining.

  • @ancientmoon4303
    @ancientmoon4303 หลายเดือนก่อน

    Great, like it.

  • @wagsman9999
    @wagsman9999 ปีที่แล้ว

    Thank you. This was very helpful.

  • @dougbas3980
    @dougbas3980 8 หลายเดือนก่อน

    Learning a lot!

  • @donnymac575
    @donnymac575 2 ปีที่แล้ว +1

    Awesome!

  • @russpeck1320
    @russpeck1320 6 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

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

  • @sky7265
    @sky7265 ปีที่แล้ว

    Thank you teacher.

  • @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 🧐 🤣

  • @rithwikmanu9893
    @rithwikmanu9893 7 หลายเดือนก่อน +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 4 หลายเดือนก่อน

      That's my question, too.

    • @ctan001
      @ctan001 4 หลายเดือนก่อน

      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.

  • @lewislee6414
    @lewislee6414 9 หลายเดือนก่อน

    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?

  • @MukeshKumar-py9sv
    @MukeshKumar-py9sv 2 หลายเดือนก่อน

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

  • @amarmail8033
    @amarmail8033 11 หลายเดือนก่อน

    Superb....

  • @davidreichert9392
    @davidreichert9392 11 หลายเดือนก่อน

    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?

  • @rushikeshkumawat1361
    @rushikeshkumawat1361 หลายเดือนก่อน

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

  • @jonathanlister5644
    @jonathanlister5644 10 หลายเดือนก่อน

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

  • @discretecomponent2982
    @discretecomponent2982 ปีที่แล้ว

    excellent.

  • @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 8 หลายเดือนก่อน

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