Just found your channel and it's been a great time watching at your videos, I find the way you present them very appealing. This topic is new to me and it's very interesting.
Likewise, beyond glad, thank you. In WC analysis how would you model correlated resistances (like two conductors in a cable that could each be between 0R and 100R (ie will track each other depending on cable length)?
I'm not sure I understood the question, but you can define a parameter independent of a component as having a tolerance: ".param res={mc(40,1)}" and then use this parameter in the component definition, or any number of components; so you can have R1 and R2 with the value {res}; or some variation of this ex {2*res}
Great work sir, can I use this command? {mc(10k tc=0.0001,tol}} . As I want to do monte carlo analysis at different temperature. Please guide me as soon as possible.
Great tutorial as usual. However, I am getting an error message "can't find model MC". I thought this was built in to LTSPICE. Using values such as {mc(2nF,tola)} with version 17.0.24.0 on Windows 10. Do you have any idea? Thanks
I currently have the 17.0.23.0 version installed and have no issue. Anyway the mc function was around even in LTspiceIV so it should not be a version issue. Did you try running the "montecarlo.asc" simulation found in the LTspice instalation folder under examples->educational? if that runs correctly, the issue should be some sort of syntax thing.. Maybe you can share the netlist if the circuit is simple? (View->SpiceNetlist)
Great Work; excellent explanation! Can the temperature Spice Directive .tmp -40 25 85 be included in your mc schematic? Also, do you have a website? If so, please let me have the link. Many thanks, R.
You can include temp directive also, just make sure the circuit actually takes temperature into account. I don't have a website though, never found the time to make one.
This analysis, although technically correct doesn't necessarily reflect the real world. The reason is that the component manufacturers often measure the value of each new component and then bin them accordingly. That skews the distribution of values considerably. The result is that if you purchase 1000 5% 1k MF resistors virtually none will fall within the 1% tolerance as they will have already been weeded out and classified as 1% tolerance. What you will get is resistors that are about plus and minus 5% away from the nominal value but virtually none that are within the 1% and 0.1% bands.
I have to say I only partly agree; Of course some amount of binning is done when resistors are manufactured, but the 0.1% resistor and the 5% resistor will most often be built from different materials and using different techniques; with very good precision you also want low temperature coefficients and other parameters to be more controlled. I guess also the measuring its self is far more pretentious to verify the 0.1% compared to the 5%; anyway, I do agree that a 5% and a 1% (or any other close tolerances) resistor can be built the same way and just separated by binning; This raises an interesting question though - how can you simulate a tolerance interval - so not 0 to 5% but rather 1% to 5%. I will have to look into this a bit.
@@FesZElectronics I would think 0.1% resistors would be individually laser trimmed simply to improve the production yield. It may also depend on the manufacturer.
For videos nowadays this is relatively dense information well presented. Thank you!
Beyond glad I found your channel. Thanks for sharing your knowledge!!
Just found your channel and it's been a great time watching at your videos, I find the way you present them very appealing. This topic is new to me and it's very interesting.
I'm happy you enjoyed it! Thank you!
Great tutorial. Nice demonstration. Thanks a ton !!!!
Thank you for your tutorials. As I am using LTspice more and more they are very useful to me
This dude makes better tutorials than LTspice itself lol.
Thank you so much! Your tutorials are amazing.
Your tutorials are awesome!!
Excellent presentation. Thanks you; a ton of it!!!!
Glad it was helpful! Thank you!
Very good job!
Thank you!
Likewise, beyond glad, thank you. In WC analysis how would you model correlated resistances (like two conductors in a cable that could each be between 0R and 100R (ie will track each other depending on cable length)?
I'm not sure I understood the question, but you can define a parameter independent of a component as having a tolerance: ".param res={mc(40,1)}" and then use this parameter in the component definition, or any number of components; so you can have R1 and R2 with the value {res}; or some variation of this ex {2*res}
@@FesZElectronics Perfect, thank you so much. That is the fix I needed.
Great work sir, can I use this command? {mc(10k tc=0.0001,tol}} . As I want to do monte carlo analysis at different temperature. Please guide me as soon as possible.
Great tutorial as usual. However, I am getting an error message "can't find model MC". I thought this was built in to LTSPICE. Using values such as {mc(2nF,tola)} with version 17.0.24.0 on Windows 10. Do you have any idea? Thanks
I currently have the 17.0.23.0 version installed and have no issue. Anyway the mc function was around even in LTspiceIV so it should not be a version issue.
Did you try running the "montecarlo.asc" simulation found in the LTspice instalation folder under examples->educational? if that runs correctly, the issue should be some sort of syntax thing..
Maybe you can share the netlist if the circuit is simple? (View->SpiceNetlist)
great video... do you have one on the Vishay-IL300 linear opto-isolator? thanks...:)
Not really... I didn't make anything on opto components. Maybe in the future, but nothing is planned at the moment
Is there any good books on WCCA
Great Work; excellent explanation! Can the temperature Spice Directive .tmp -40 25 85 be included in your mc schematic? Also, do you have a website? If so, please let me have the link. Many thanks, R.
You can include temp directive also, just make sure the circuit actually takes temperature into account.
I don't have a website though, never found the time to make one.
in my case it is showing incorrect use of curly braces,
what was the exact syntax you used?
This analysis, although technically correct doesn't necessarily reflect the real world. The reason is that the component manufacturers often measure the value of each new component and then bin them accordingly. That skews the distribution of values considerably. The result is that if you purchase 1000 5% 1k MF resistors virtually none will fall within the 1% tolerance as they will have already been weeded out and classified as 1% tolerance. What you will get is resistors that are about plus and minus 5% away from the nominal value but virtually none that are within the 1% and 0.1% bands.
I have to say I only partly agree; Of course some amount of binning is done when resistors are manufactured, but the 0.1% resistor and the 5% resistor will most often be built from different materials and using different techniques; with very good precision you also want low temperature coefficients and other parameters to be more controlled. I guess also the measuring its self is far more pretentious to verify the 0.1% compared to the 5%; anyway, I do agree that a 5% and a 1% (or any other close tolerances) resistor can be built the same way and just separated by binning;
This raises an interesting question though - how can you simulate a tolerance interval - so not 0 to 5% but rather 1% to 5%. I will have to look into this a bit.
@@FesZElectronics I would think 0.1% resistors would be individually laser trimmed simply to improve the production yield. It may also depend on the manufacturer.