Dear Professor. Your videos are wonderful, and this subject, both from Ltspice and Qspice, turns your video as gold. I wish you success in this channel.
Thanks for your comment and information. We will be using both simulators in this channel. My plan is to use Qspice to study the dynamic response of digitally controlled dc-dc converters in next videos
Hi Professor, this Qspice playlist is so great. thank you so much for doing this. Why is V(in) measured instead of V(duty) in the fra gain measurement in the Qspice simulation? I noticed that in the LTSpice simulation, you have the perturbation sine wave above the Vduty voltage source, and in the Qspice simulation, the perturbation sine wave is below the Vduty source. Could that make a difference in the open-loop response between the two simulators?
Just explored Qspice; however, when I tried to export the .csv file in MATLAB and subsequently attempted to plot it, I encountered numerous challenges. In LTSpice, the process was much simpler: I could save the plot data (Bode plot data) in .txt format, import it into MATLAB, and then compare it with other plots. Dear professor, could you please enlighten me on this?
Hello, I have just taken a look and I do not see any especial difficulty. From Qspice you can export into .csv format. This is a text file where the data points are on the same line separated by commas. This is similar to the .txt file from LTspice, only that the .txt file has no commas between data. If the commas bother you, just edit the file with Notepad and use Edit->Replace and replace all the commas by blank spaces. You will get the same format as from LTspice. This can be a good topic for a Tips&Tricks video. Thanks
respected sir I need a pwm genration with variable decreasing frequency (4,6,8,12,18,24,36,72 micro seconds ) with fixed 1micro seconds as fixed off time sir to control buck converter sir how should i do it sir in matlab ?
reltol is the relative error tolerance. The lower the value, the higher the accuracy of each iteration. The default value is 1m (0.1%). You can decrease it to get more accurate results but with a longer simulation time. If your simulation is accurate enough you can increase it to get a faster simulation.
Thanks to the professor for bringing QSPICE’s new teaching video. I’m very lucky to be able to study with the professor all the time.
Thank you!
Dear Professor. Your videos are wonderful, and this subject, both from Ltspice and Qspice, turns your video as gold. I wish you success in this channel.
Thank you very much for your comment!
Thank you so much dear Professor, Kindly upload more videos on Qspice.
Sure, thanks!
Good morning Professor Alonso. Thank for introducing to us this new simulation tool.
Thanks for watching the channel and for your support!
Simulation files are available here: github.com/marcosalonsoelectronics/Qspice-4
Nice video, as always.
BTW, the new LTspice has now an intrinsic FRA tool.
Thanks for your comment and information. We will be using both simulators in this channel. My plan is to use Qspice to study the dynamic response of digitally controlled dc-dc converters in next videos
Thank you for sharing.
Thanks!
Hi Professor, this Qspice playlist is so great. thank you so much for doing this.
Why is V(in) measured instead of V(duty) in the fra gain measurement in the Qspice simulation? I noticed that in the LTSpice simulation, you have the perturbation sine wave above the Vduty voltage source, and in the Qspice simulation, the perturbation sine wave is below the Vduty source. Could that make a difference in the open-loop response between the two simulators?
Hello, there is no difference, the FRA analysis removes the DC component before calculating the AC gain. You can do either way
@@MarcosAlonsoElectronics Ok sounds good, thank you so much for all you do!
Just explored Qspice; however, when I tried to export the .csv file in MATLAB and subsequently attempted to plot it, I encountered numerous challenges. In LTSpice, the process was much simpler: I could save the plot data (Bode plot data) in .txt format, import it into MATLAB, and then compare it with other plots. Dear professor, could you please enlighten me on this?
Hello, I have just taken a look and I do not see any especial difficulty. From Qspice you can export into .csv format. This is a text file where the data points are on the same line separated by commas. This is similar to the .txt file from LTspice, only that the .txt file has no commas between data. If the commas bother you, just edit the file with Notepad and use Edit->Replace and replace all the commas by blank spaces. You will get the same format as from LTspice.
This can be a good topic for a Tips&Tricks video. Thanks
respected sir I need a pwm genration with variable decreasing frequency (4,6,8,12,18,24,36,72 micro seconds ) with fixed 1micro seconds as fixed off time sir to control buck converter sir how should i do it sir in matlab ?
In this video you can get some hint about how to do this: th-cam.com/video/wUh0oboSycs/w-d-xo.html
ok sir thank u
❤@@MarcosAlonsoElectronics
What is the function of .options reltol=10m?
reltol is the relative error tolerance. The lower the value, the higher the accuracy of each iteration. The default value is 1m (0.1%). You can decrease it to get more accurate results but with a longer simulation time. If your simulation is accurate enough you can increase it to get a faster simulation.