I would like to propose few corrections here. Current through a capacitor has +90 phase shift from the voltage across the capacitor. The capacitor current is ahead of the voltage. That means the phase shift is +90 degree. In the video, it is described otherwise. Secondly, it is stated that the inductor current is ahead of the voltage. A peak that occurs later in time is not considered ahead. The inductor current is behind the voltage. It is not ahead of the voltage. Therefore, current through an inductor has -90 degree phase shift from the voltage across it. If we think in terms of delay, the inductor current is behind the voltage.
For measuring the phase shift on the oscilloscope I usually look at the zero crossing, much easier to get an accurate rating that way. Anyway, nice and clear explanation again!
@@FesZElectronics I paused the video and started to calculate stuff right away. After an hour of the results not making any sense I checked the wikipedia and headed straight to the comments. If you add some kind of indications/corrections to the video(s) where you find inaccuracies after the upload it might just save some impatient soul like me an hour or two :) P.S. Love your work, man! And I might just remember the formulas better because of this incident
Don’t forget that in real life outside of computer simulations, passive components are not purely resistive, inductive or capacitive… but a combination of these things. A resistor may be a better inductor than a resistor at certain frequencies and the capacitance of a coil may not be negligible. Especially in high voltage high frequency circuits, you can get strange unexpected behaviors. And if you work with open circuits… things get really weird.
A thing that I noticed about "impedeances" and voltage generator in Ltspice The voltage generator generates a current based on the impedeance that he sees consirering ohm's law I=V/R Example: if you put 5V and 1 ohm, you will have 5A. But if you want to simulate and arduino power supply, it would be 5V and 250mA as maximum current and the only way that I found is to put an ideal diode with Vfw=0V and illimit=200mA. In this way I can simulate a laboratory power supply with desired voltage and current, is that correct in your opinion?
"... and the inductor current - this green one - is ahead of the voltage ..." No it's not; it's *behind* the voltage. Current through an inductor lags the applied voltage: the peaks (for example) of current occur 90 degrees *later* than - i.e. to the right of - the voltage peaks. You apply a voltage which tries to force current through the inductor; the inductor resists the increase in current, so the current can only build up slowly - it lags the voltage.
My favorite channel on RUclips.
I didn't ever think to try this within LTspice. Very interesting
I would like to propose few corrections here. Current through a capacitor has +90 phase shift from the voltage across the capacitor. The capacitor current is ahead of the voltage. That means the phase shift is +90 degree. In the video, it is described otherwise. Secondly, it is stated that the inductor current is ahead of the voltage. A peak that occurs later in time is not considered ahead. The inductor current is behind the voltage. It is not ahead of the voltage. Therefore, current through an inductor has -90 degree phase shift from the voltage across it. If we think in terms of delay, the inductor current is behind the voltage.
This is so clear ! Thx
For measuring the phase shift on the oscilloscope I usually look at the zero crossing, much easier to get an accurate rating that way. Anyway, nice and clear explanation again!
This series is golden.
this video is extremely informative !! Impressive! Very clear and detailed explanations
Perfect explanation
Fantastic video
Great video.
You bought yourself a nice frequency generator :)
Theta is arctangent of x/r
Yes it is...
@@FesZElectronics honestly I felt ashamed to point it out. You do an exceptional work making these videos. Quite brilliant actually.
Don't worry! I do make mistakes from time to time, and its important to point it out.. that is how we learn :D
@@FesZElectronics but I thought you were Jesus 🤣 kidding 😂😂😂
@@FesZElectronics I paused the video and started to calculate stuff right away. After an hour of the results not making any sense I checked the wikipedia and headed straight to the comments. If you add some kind of indications/corrections to the video(s) where you find inaccuracies after the upload it might just save some impatient soul like me an hour or two :)
P.S. Love your work, man! And I might just remember the formulas better because of this incident
Don’t forget that in real life outside of computer simulations, passive components are not purely resistive, inductive or capacitive… but a combination of these things. A resistor may be a better inductor than a resistor at certain frequencies and the capacitance of a coil may not be negligible. Especially in high voltage high frequency circuits, you can get strange unexpected behaviors. And if you work with open circuits… things get really weird.
A thing that I noticed about "impedeances" and voltage generator in Ltspice
The voltage generator generates a current based on the impedeance that he sees consirering ohm's law I=V/R
Example: if you put 5V and 1 ohm, you will have 5A.
But if you want to simulate and arduino power supply, it would be 5V and 250mA as maximum current and the only way that I found is to put an ideal diode with Vfw=0V and illimit=200mA. In this way I can simulate a laboratory power supply with desired voltage and current, is that correct in your opinion?
Impedance is the ratio between a cause and its effect.
This video shows how to install LTSpice: ruclips.net/video/g5t4C2UdKJI/видео.html
Could you also help in simulating for Op-amp output impedance
"... and the inductor current - this green one - is ahead of the voltage ..."
No it's not; it's *behind* the voltage. Current through an inductor lags the applied voltage: the peaks (for example) of current occur 90 degrees *later* than - i.e. to the right of - the voltage peaks. You apply a voltage which tries to force current through the inductor; the inductor resists the increase in current, so the current can only build up slowly - it lags the voltage.
You are right. I wrote similar comment before I read yours.
can you help me ?, how can we do transimpedance analysis of a single photon detector in LTSpicea ?
14:37 The formula for theat is wrong.
For rf analysis which mode of simulation is used in Ltspice?
The type of analysis will mostly be decided by what exactly you are trying to simulate.
Is Ltspice a paid program?
No. At least at the moment of writing, LTspice is free, it can be downloaded from the Analog.com website