The sub circuit at 11:29 is incorrect, that way you have an interesting feedback circuit with the independent and the behavioral source. With the small values that you are using the difference is very minimal, but it has an x/(1+x) division. It should be: V1 ref 0 AC 1 - the independent source is referenced to ground, and: B1 1 n002 ... - the behavioral source was flipped, you can see that your plot has 180 degree phase. It took me some time to figure out what was wrong and with your data it is practically invisible.
You are right; I did not notice that; I guess you can either flip the reference or the behavioural source - both will give the same result. I put the reference source to node 1 but indeed its much better to leave it at Gnd (0) as you suggested.
What I hate about the new version of LTspice is that they moved the step legend to annotations. When you plot the annotations you cannot easily move them around. I much more prefer the old popup. Another great statement is the ako (alias) statement where you can create a model by refering to another but with some parameters changed.
Hi Fesz, so to simulate the power drawn from a buck you can use a constant power load. circuit to test was an AC source -> bridge rectifier -> smoothing cap -> constant power load. If I make the constant power load with a resistor and then mathing it (V^2/Power_consumed) compared to using the behaviorial source method (p = power consumed) the voltage seemed very similar but looking at the power plots they were different. Why would that be?
@@FesZElectronics Well you have many strengths - I have called the engine with python it works. The great thing is you can setup long simulations, change values run again etc all without the GUI. Now you may be too young to understand the benefits of console programing - I am an old fart and remember the days prior to GUI's. It has not always been a strength to have them - in fact GUI's are a constraint. LOL ranting sorry. Anyhow cheers and I always enjoy and learn from your posts. dan
Its sometimes easier to perform operations on a signal this way - one thing I did in the past was to take a current pulse measurement on a transistor to determine the peak temperature that would be achieved in the junction during a transient.
You need a "k" statement. For example "k1 l1 l2 0.99"; k1 is the statement reference; l1, l2 are the inductors (you can add more than 2) and 0.99 is the exact coupling factor
Physics is the same now as it has always been, it doesn't change. And LTspice already has modeled every basic electronic component that exists in real life. There isn't anything that can be made better. The only way to improve LTspice at all is by increasing performance: adding support for multi threading, SSE extensions, and so on.
Thanks for the tutorial. It seems the link in your description for LT tips and tricks isn't working. I believe this is the correct link: th-cam.com/video/xjj2XXDhZRQ/w-d-xo.html
Excellent LTspice information. 😎 I really enjoyed the test equipment demonstration. Thank you.
Thanks for this valuable tutorial.
👍👍👍Very interesting episode! Like it a lot.
Wow, good stuff, thanks!
Thanks!
The sub circuit at 11:29 is incorrect, that way you have an interesting feedback circuit with the independent and the behavioral source. With the small values that you are using the difference is very minimal, but it has an x/(1+x) division. It should be: V1 ref 0 AC 1 - the independent source is referenced to ground, and: B1 1 n002 ... - the behavioral source was flipped, you can see that your plot has 180 degree phase. It took me some time to figure out what was wrong and with your data it is practically invisible.
You are right; I did not notice that; I guess you can either flip the reference or the behavioural source - both will give the same result. I put the reference source to node 1 but indeed its much better to leave it at Gnd (0) as you suggested.
What I hate about the new version of LTspice is that they moved the step legend to annotations. When you plot the annotations you cannot easily move them around. I much more prefer the old popup.
Another great statement is the ako (alias) statement where you can create a model by refering to another but with some parameters changed.
Hi Fesz, so to simulate the power drawn from a buck you can use a constant power load. circuit to test was an AC source -> bridge rectifier -> smoothing cap -> constant power load. If I make the constant power load with a resistor and then mathing it (V^2/Power_consumed) compared to using the behaviorial source method (p = power consumed) the voltage seemed very similar but looking at the power plots they were different. Why would that be?
Using the LTspice engine with python would be another interesting topic,...
I have to say I never tried that; neither did I try python... I was never really good at programming
@@FesZElectronics Well you have many strengths - I have called the engine with python it works. The great thing is you can setup long simulations, change values run again etc all without the GUI. Now you may be too young to understand the benefits of console programing - I am an old fart and remember the days prior to GUI's. It has not always been a strength to have them - in fact GUI's are a constraint. LOL ranting sorry. Anyhow cheers and I always enjoy and learn from your posts. dan
Using a real life signal into simulation... Interesting 🤔
Its sometimes easier to perform operations on a signal this way - one thing I did in the past was to take a current pulse measurement on a transistor to determine the peak temperature that would be achieved in the junction during a transient.
How can i make copuld inductor in Ltspice
You need a "k" statement. For example "k1 l1 l2 0.99"; k1 is the statement reference; l1, l2 are the inductors (you can add more than 2) and 0.99 is the exact coupling factor
Like MS, they didn't make it better .. rather just some bad polishing. Thanks for the tips.
yep 😉
Physics is the same now as it has always been, it doesn't change. And LTspice already has modeled every basic electronic component that exists in real life. There isn't anything that can be made better. The only way to improve LTspice at all is by increasing performance: adding support for multi threading, SSE extensions, and so on.
Thanks for the tutorial. It seems the link in your description for LT tips and tricks isn't working. I believe this is the correct link:
th-cam.com/video/xjj2XXDhZRQ/w-d-xo.html
Indeed you are right; I'm not sure what happened there... I corrected it though; Thanks!
brilliant but this is becoming outadated. could you do any ng spice videos in kicad?
Can you tell me why it is becoming outdated? I'm new to LTspice. Is it worth learning it as of now?
@@asifsir2689 Don't listen to that shill. LTspice is a physics simulation and physics will NEVER be "outdated". Complete BS.