LTspice - tips and tricks

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии •

  • @paulpaulzadeh6172
    @paulpaulzadeh6172 2 года назад +25

    This was the best content about Ltspice , 30 years experience working with ltspice, still teach my self from your channel, keep going. Great channel. Regards from Sweden

  • @johnjordan3126
    @johnjordan3126 2 года назад +21

    Useful bits I've learned on your channel:
    using .step param (e.g.,
    Resistor value = {X}
    .step param X LIST 1k 2k 5k )
    to simulate with multiple values in one run,
    and drawing a wire from V+ through one or more components directly to ground is way faster than drawing the individual wire segments.

  • @alaricsnellpym
    @alaricsnellpym 2 года назад +3

    That's really helpful. When I tried Ltspice out, I gave up on my switching PSU circuit as I couldn't get it to work... I was just using default components... Now I know it wasn't just me failing to understand the principles!

  • @pfabri
    @pfabri 2 года назад +3

    *To integrate a waveform:*
    CTRL + Click on the waveform's label in the plot window. This is very useful, for example, to obtain average power consumption over time from a simple time-domain plot of momentary power consumption.

  • @DeDeNoM
    @DeDeNoM 2 года назад +8

    One thing that was relay helpful for me was learning some hotkeys. Learning to use F1 through F5 as well as the hotkeys for standard components and rotating/mirroring made designing circuits some much more easy.

    • @vladomaimun
      @vladomaimun 2 года назад +2

      Or just changing them to something that you are already familiar with. The first thing I do after installing LTSPICE is setting custom hotkeys.

    • @alexloktionoff6833
      @alexloktionoff6833 2 года назад

      Hotkeys is the only way to go under MacOS I have…

  • @breedj1
    @breedj1 2 года назад +3

    Great video! Here's another small tip. If you right click on a net and add an '.op Data label' you will see a number with 6 decimals. These take up a lot of space and I normally only need to know one decimal. You can change the data label and use, for instance, 'round(I(R7)*10000)/10000' to round a current to 1 mA, or use round($*1)/1 to round to 1.

  • @johncarson2877
    @johncarson2877 2 года назад +7

    A tip that I learned a short time back was how to easily measure the differential voltage between two nodes. I thought that i would have to write an equation in the plot window but all you have to do is to move your mouse to the initial node you are interested in, press and hold the left mouse button while moving the mouse to the second node, then release. The differential voltage between the two nodes will be plotted. This doesn't seem to work with measuring current, however.

  • @p_mouse8676
    @p_mouse8676 2 года назад +5

    The best advice I can give, is the following. I see a lot of people simulating very big and complicated circuits. Often struggling with it or having to wait forever for it to finish. It's a lot easier to divide the circuit in smaller subcircuits and just simulate those little subcircuits instead and focus just on a few parameters. For example, the behavior of a mosfet or some kind of over current protection doesn't need the practical circuit to study its behavior.
    Also, instead of a constant current source, it's easier to work with a resistor and giving it the value R=V(out)/I. For I fill in the current (100m for example). The issue with a constant current source is that it will always draw the current, which can give very strange values or behavior sometimes.
    One more very practical tip. Bind the run command shortcut to the spacebar. Will make your day so much easier.

    • @FesZElectronics
      @FesZElectronics  2 года назад +5

      Great suggestions! I would just like to point out that for current sources, you have a box to tick on the middle right somewhere "this is an active load". This should stop it from sourcing current.

    • @bwolfe58
      @bwolfe58 2 года назад +1

      The default hotkey for the spacebar is to fit the schematic to the display window. I use this all the time. I would choose a different hotkey for the run command. By default, there is no hotkey for the run command.

    • @p_mouse8676
      @p_mouse8676 2 года назад

      @@FesZElectronics Oh right, I never thought about that, haha Thanks! :)

    • @p_mouse8676
      @p_mouse8676 2 года назад

      @@bwolfe58 I know, spacebar was just a suggestion, I never ever use that schematic fitting option at all :)

  • @mglepd
    @mglepd 2 года назад +1

    Wow, thanks! I’ve been struggling to see the waveform traces (thin navy blue line against black background). Changing the defaults has made it so much better

  • @jacobfaseler5311
    @jacobfaseler5311 10 месяцев назад +1

    The last trick with duplicate circuits is also great for deriving the amount of error in a system you’re doing monte-Carlo analysis on. Having both ideal values and varying values on the same sheet makes it trivial to .measure the difference between the ideal output and various worst-case outputs.

    • @FesZElectronics
      @FesZElectronics  10 месяцев назад +1

      I never though of that, but you are right!

  • @dippybird1166
    @dippybird1166 2 года назад +14

    Thanks, very helpful!
    Small remark regarding the cshunt. I guess it should be pronounced c-shunt, rather than cs-hunt

  • @alexfedorov1160
    @alexfedorov1160 2 года назад +1

    I've been using LTspice for quite some time now. Though, almost all of your tips are new to me and indeed very useful. Thank you!

  • @kiltrash1
    @kiltrash1 Год назад +1

    Other useful tips include: 1) Using formulae not just node names in the Plot window eg 10*V(R1)*I(R6). 2) The .savebias and .loadbias commands to save/load the entire set of initial conditions - useful with audio amplifier models when you want to look at waveforms or do frequency sweeps without waiting for large caps to charge/settle, 3) The .step temp list.... command to check bias conditions when output transistors get hot, 4) the View, FFT command in the plot window to get an insight into amplifier clipping/distortion. 5) And for advanced users, you can use the .meas command to calculate things like 10-90% risetimes, waveform overshoot, etc. A final simple tip is just to break the circuit and also the simulation down into smaller chunks.

  • @AdityaMehendale
    @AdityaMehendale 2 года назад +5

    "Tile vertically" and "panes" to add more plots on a common timescale, e.g. at 13:00 ; math on the plots' title to multiply/integrate etc.

  • @soothcoder
    @soothcoder 2 года назад +1

    Another good one is breaking loops so you can measure loop response. Also another scenario is where your simulation works but your circuit doesn’t (as it oscillates for ex). Adding wire resistances, capacitances and inductances are good tricks to replicate the measured behavior.

  • @bowfinger26
    @bowfinger26 2 года назад +1

    Awesome! I had the time step too small problem with exactly the MCP6001 and it drove me crazy. Thanks!

  • @hedleyfurio
    @hedleyfurio 2 года назад +5

    yet another great video

  • @Graham_Wideman
    @Graham_Wideman 2 года назад +1

    Very useful tips indeed! One possible addition for hotkeys: I use so many different drawing, MCAD and ECAD programs that have their own hotkeys that it's very difficult to remember them all. So I have found Streamdeck quite useful. It's a function key pad where the keys are backed by a video screen to provide the keys with programmable legends. You can quickly switch between key maps as you switch between programs.

  • @petrusbosman4264
    @petrusbosman4264 2 года назад +3

    This is really helpful, thank you very much.

  • @CliveChamberlain946
    @CliveChamberlain946 2 года назад +2

    Most helpful! Thank you 👍

  • @ahmadiyatzindabad3622
    @ahmadiyatzindabad3622 11 месяцев назад +1

    Your work is very good.

  • @bbigboy01
    @bbigboy01 Год назад

    I have watched many of your podcasts and they are very helpful. I am trying to use LTSpice to simulate a circuit that can detect asynchronous pulses from a source that can have its polarities switched at any time. I have done this part, but when I try and take the digitized pulses from this circuit and input the pulses to the available counters LTSpice provides, the counters wont work. The counters do work, if I use an LTSpice pulse generator. Can you offer any areas where I may be doing something LTSpice doesn't like? Thank you.

  • @surendrakumarsahoo9878
    @surendrakumarsahoo9878 2 года назад +2

    Nice and helpful 🙏

  • @vidhyadhar64
    @vidhyadhar64 9 месяцев назад

    For the last trick, will the 'built-in difference calculations' be more useful? I mean, can we plot the waveform showing difference between waveform of circuit1 and waveform of circuit 2?

    • @FesZElectronics
      @FesZElectronics  9 месяцев назад

      Of course, you can perform calculations with any value from the simulation as long as both circuits are run in the same simulation.

  • @dimsum5567
    @dimsum5567 2 года назад +1

    Brilliant content

  • @pieters286
    @pieters286 2 года назад +4

    very informative!
    cs-hunt -> c-shunt -> 'shunt' is a bypass i.e. capacitive shunt?

    • @pieters286
      @pieters286 2 года назад

      @Rocky Robinson yes, current shunt is probably a better description as the cap is shunting current.

    • @AdityaMehendale
      @AdityaMehendale 2 года назад

      @@pieters286 Then it should've been called i_shnt

  • @kumu2024
    @kumu2024 5 месяцев назад +1

    Thank you very much. How would any one know about that kind of tricks like the cshunt? Where do you get that info? How many similar tricks are out there that we don't know??

    • @FesZElectronics
      @FesZElectronics  5 месяцев назад

      Honestly, I found it by searching on random forums on how to fix convergence issues; a problem I got when trying to import various component models - the cshunt option usually helps with that.

    • @kumu2024
      @kumu2024 5 месяцев назад

      @@FesZElectronics
      And thanks for you that we didn't need to get that trouble to search for a solution .. you just helped us before getting the issue. Great thanks for you.

    • @kumu2024
      @kumu2024 5 месяцев назад

      @@FesZElectronics
      And thanks for you, you helped us to not go to that rabbit hole .. we know now how to solve that. Great help and thanks.

  • @savinogiovannimuscio2953
    @savinogiovannimuscio2953 8 месяцев назад

    You are the best absolutly

  • @electronix2919
    @electronix2919 Год назад

    Hello Fesz, i would like to know if it will be possible to make a video that explain how to do a sweep frequencies (vobulation) on a Lc parallel circuit using LTSPICE. I saw in your different videos that you really mastered Ltspice. Thank you a lot for the share of your knowledge. 😉👍

    • @electronix2919
      @electronix2919 Год назад

      Hello Fesz, did you Saw my message.... I Hope you 'll Can answer to my question.

  • @AdityaMehendale
    @AdityaMehendale 2 года назад +4

    Isn't CS -hunt actually c_shunt :: as in "series resistor or shunt capacitor" ?

    • @FesZElectronics
      @FesZElectronics  2 года назад +2

      I think you are right! I think it stands for shunt capacitor

  • @maxgooglesohn2955
    @maxgooglesohn2955 2 года назад +1

    I have a question regarding the 3rd party symbols and sharing your spice simulation. As of now I create a symbol by opening the .lib file and then I autogenerate a symbol. The symbols are then saved in the default directory. The problem occurs when I move the .lib or I want to share the project with another person who was a different path file setup. The other person cannot find the implementation of that model on their computer as the simulation uses a file path which only existed on my computer.
    Is there a way to share LTspice simulations easily without having the other person needing to generate the 3rd party symbols themselves?
    I have tried putting the .asy file and .lib in the same folder as the .asc file, implementing the .lib via a .include statement and tried some different path setting the options menu. Sadly without success.
    Any ideas?

  • @ReyciclismoMTB
    @ReyciclismoMTB 2 года назад +2

    God, is supposed to be German hahahah epic. Another great video!

  • @JohnDuthie
    @JohnDuthie 2 года назад

    Have you ever made a LTSpice tutorial on how a musical tesla coil works? I bought one off amazon the other day and it only has a few parts and I wish I understood what was going on.

  • @alexloktionoff6833
    @alexloktionoff6833 2 года назад

    I have 12cores CPU, but I’ve found that LTSpice loads only single core, do you have a tip for this?

  • @arabeagle7591
    @arabeagle7591 2 года назад

    Fascinating explanation manner as usual and as we used to from you.... Many thanks, could you please clarifying me a point that how to isolat an AC signal on a plot pan that superimposed on a DC, in other words how to plot the AC signal with a zero offset isolating the component of the DC in the simulation.
    MANY Thanks

    • @yveslesage8525
      @yveslesage8525 2 года назад +1

      if I understand correctly what you want to see...just add a large capacitor at the wanted node (e.g. 1F (one farad !) and put a probe after the capacitor, you'll get rid of the DC component that bothers you. If needed to zoom the AC content (as it may be too small on the same scale as the DC+AC content)..right click on the graph, select "add a plot pane" and add the AC trace on it).Another way is to substract the mean value (ie the DC content) to the trace (AC+DC).

    • @FesZElectronics
      @FesZElectronics  2 года назад +1

      Other than the other good responses I have seen to this problem, I would suggest simply subtracting the DC part - for example if you are interested in node V(n001) which has a 2V DC component; in the traces window, you can right click and edit the plotted expression to be V(n001)-2

    • @arabeagle7591
      @arabeagle7591 2 года назад

      Many thanks @Yves Lesage I have of course used a coupling DC capcitor 😁😁👍🙏 but for sure the subtracting function is more professional way😉👍😉👍

    • @arabeagle7591
      @arabeagle7591 2 года назад

      @@FesZElectronics thanks a lot I appreciate your concern to reply...

    • @arabeagle7591
      @arabeagle7591 2 года назад

      @@yveslesage8525
      Many thanks I have of course used a coupling DC capcitor 😁😁👍🙏 but for sure the subtracting function is more professional way😉👍😉👍

  • @jakep8484
    @jakep8484 2 года назад

    I like storms and for the most part the grey and black in spice but then again I am in engineering and am mostly German 😁

  • @qzorn4440
    @qzorn4440 2 года назад

    very interesting , ltspice has so many features, can LTspice be used in design and testing Modbus rtu master slave rs485 arduino projects with CRC error codes? 😎 thanks, great video

  • @Lolipop5370
    @Lolipop5370 2 года назад

    Great Video !

  • @aiswaryanarayanan7269
    @aiswaryanarayanan7269 Год назад

    Sir, how to create LM741/NS on ltspice??

  • @kacperbardecki3671
    @kacperbardecki3671 Год назад

    Alt+Left click doesn't work for me :( Can anyone relate? Should I be able to use it for a resistor? Does it only work for "U" components?

    • @FesZElectronics
      @FesZElectronics  Год назад

      It should work as long as you are running a transient type simulation..

  • @alessiocaffi5992
    @alessiocaffi5992 2 года назад

    LTSpice is an incredible for electronics but still some Users: I would like modern looks, icons ,wiring sort of QUCS/ADS, KiCad.
    Author: "it is free and it works so why change". Haha Cheers

  • @johnwest7993
    @johnwest7993 Год назад +1

    As strange as it seems, I have trouble reading a schematic with interconnects that aren't black. I suppose that's from seeing them in black for the last 60 years.

    • @FesZElectronics
      @FesZElectronics  4 месяца назад

      Well, that is not difficult to change; in the color's menu, you can change any color, including interconnections and component colors - black is of course an option

  • @R2AUK
    @R2AUK 2 года назад

    LTSpice UI on MacOS is so terrible that I used to pay for CrossOver to emulate Windows environment.... until I learned that you have to pay again for it after the major system update 😭

  • @paulcohen1555
    @paulcohen1555 2 года назад

    This isn't related to LTspice, I just need a simple method to find which unmarked Ferrite core in my"stock" is better for inductors (high Q) and which is better to RFI suppression (high losses)

  • @Henry-sv3wv
    @Henry-sv3wv 2 года назад +1

    2:07 nooo, a white background, my eyes start bleeding, need dark theme

  • @dr-mnizam
    @dr-mnizam 2 года назад

    Here is the video for intallation of LTSpice with basic voltage divider circuit: ruclips.net/video/g5t4C2UdKJI/видео.html

  • @funmath3835
    @funmath3835 2 года назад +1

    is electronics good paying work ? i am confused pls tell

  • @stevenbliss989
    @stevenbliss989 2 года назад +1

    THANK YOU, I learnt some VERY useful tips! :)