LTspice tutorial - Modeling Switches

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • #172 In this video I look at how switches can be modeled using LTspice. Now "switch" is a very generic term - it can refer to a mechanical switch, a relay or some sort of electronic component or circuit. Based on the exact propriety that needs to be modeled there is more simple or more complex method, and I try to look at some of these.
    Further reading: www.ieee.li/pdf/viewgraphs/lt...
    LTspice Tutorial series:
    EP1-Getting started:
    • LTSpice Tutorial - EP1...
    EP2-AC simulation and the Baxandall tone control circuit:
    • LTspice tutorial - EP2...
    EP3-.param and .step directives:
    • LTspice tutorial - EP3...
    EP4-How to import libraries and component models: • LTspice tutorial - EP4...
    Ep5- Stock example simulations to play with: • LTspice tutorial - Ep5...
    Ep6- Basics of FFT analysis and .four statment: • LTspice tutorial - Ep6...
    EP7- Dependent voltage and current sources
    • LTspice tutorial - Ep7...
    Ep8- Turning a datasheet into a component model
    • LTspice tutorial - Ep8...
    EP9- Independent voltage and current sources
    • LTspice tutorial - Ep9...
    Ep10- .wave statement and audio file processing
    • LTspice tutorial - Ep1...
    Ep11 The effect of temperature on your circuit
    • LTspice tutorial - The...
    EP12 Modeling a DC brushed motor
    • LTSpice Tutorial - Mod...
    Ep13- Worst Case, Monte Carlo and Gaussian statistics circuit analysis
    • LTspice tutorial - Wor...
    EP14 - Digital circuits and logic gates • LTspice tutorial - Dig...
    EP15- SMPS EMI and electrical noise and filters
    • LTspice tutorial - SMP...
    EP16- Feedback loop simulation
    • LTspice tutorial - Fee...
    Ep17 - Verifying Simulation Models
    • LTspice tutorial - Sim...
    Ep18 - Simulating Capacitors
    • LTspice tutorial - Sim...
    Ep 19 - Simulating Inductors
    • LTspice tutorial - Sim...
    EP 20 - Noise simulations
    • LTspice tutorial - Noi...
    Ep21 - Models and Libraries
    • LTspice Tutorial - Cre...
    Ep22- Voltage and current limited source
    • LTspice Tutorial - Vol...
    Ep23- Measuring Power Factor
    • LTspice tutorial - Mea...
    Ep24 - Modeling a vacuum tube triode
    • LTspice tutorial - Mod...
    Ep25- Using standard symbols
    • LTspice tutorial - Re-...
    Ep26- Modeling transformers
    • LTspice tutorial - Mod...
    Ep27 - Stepping sets of parameters
    • LTspice tutorial - Ste...
    EP28 - Simulating Quartz crystals
    • Measuring and Simulati...
    Ep29 - Simulating gas discharge tubes
    • LTspice tutorial - Gas...
    Ep30 - LT tips and tricks
    • Video
    Ep31 - Modeling switches
    • LTspice tutorial - Mod...
    Special Thanks to all my supporters on Patreon! Especially Ralf B., Paul Pr. Richard, Jonathan Alvarado and Tosta!
    If you liked this video be sure to check out my other videos and you can also subscribe to be up to date with all the new ones!
    If you want to support the creation of more and better videos please consider checking out: / feszelectronics
  • НаукаНаука

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

  • @olivierconet7995
    @olivierconet7995 Год назад +4

    Oh nice, I didn't remember that it was possible to speed up a relay when opening. Thanks for the refresh !

  • @electronics.unmessed
    @electronics.unmessed Год назад +5

    Well done! I like the mechanical switch analysis on the oscilloscope!

  • @airmann90
    @airmann90 Год назад +5

    Hey man, love your videos! The last transistor ones had me at my breadboard testing all the different biasing methods. Lots of fun to play around with while heating and cooling the transistor, etc. Really solidified how much more testing and tinkering I should be doing with my circuits.

  • @gkdresden
    @gkdresden Год назад +4

    The on and of bouncing is very characteristic for a relais. On bouncing typically starts with longer open intervals becoming progressively shorter with time. A good relais has no bouncing at all. I use to implement a .pwl file to describe the on bouncing. Therefore I measured the characteristic behaviour of the relais. Then I used a script tool to implement the relais behaviour into the control .pwl file.

  • @pfabri
    @pfabri Год назад +3

    Very useful topic, thanks!

  • @dr.imayavarambanmunuswamy808
    @dr.imayavarambanmunuswamy808 8 месяцев назад

    Many thanks for your time Sir. Great Well Explained.

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

    really well explained!

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

    Excellent... expecting videos more frequently 😃

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

      I'm happy you enjoyed it! For the moment I will stick to 1video/week for 2 weeks then 1 week break - its the best I can do.

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

    Good video! I was wondering how you were going to model switch bounce and your solution is nice. I used voltage-controlled switches in the past as poor approximations of spark gaps. The challenge there was to get the switch to turn on slowly but turn off rapidly when a lower threshold voltage was reached. I never quite found a good solution. Also I didn't know that relay trick with the zener diode. Nice.

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

      For a spark gap, I think I would go for a gas discharge tube model - there is one in LTspice; this nicely replicates the high turn on voltage, then the lower maintaining voltage. The model is under "misc" called "neon bulb".

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

    @FesZElectronics Hi, very interesting subject. On relays: You may explore the double-coil tweaking methods (one coil as "normal", one shorted by a diode, a diode with a resistor, etc.). In ol' times electromechanical phone exchanges had a lot of relay tweaks; also copper rings to slow down responses...

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

      I haven't looked into the intricacies of relays all that much, but I think there is a lot more to explore! Thanks for this feedback!

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

      The impact of higher flyback voltage in switching element breakdown voltage need to be checked.

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

      In the particular experiment in the video, I specifically used a 30V zenner since the transistor I used, BC847, had a breakdown of 45V.

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

    Hey, I have one question. I have a project where I need to model Motion sensor by using NE555 Timer, where I use aluminium foil, and that aluminium foil checks any movement by hand or something else. I need to test this circuit in LTSpice, any suggestions what can I put in LTSpice instead of aluminium foil(because it doesn’t exist in LTSpice 😂)

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

      To be able to simulate it, you first need to know what is the electrical parameter that changes with the aluminum foil. If its capacitance, then it can be modeled quite easily.

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

      @@FesZElectronics Can I contact you via email ? 🤗