It was really very helpful but I'm finding difficulty in building the gain block it is showing an error :unknown sub circuit called in xx2 001 002 gain value, I have implemented the gain block as shown in the video please let me know how to rectify the error
@lorebarta1698 Жыл бұрын
Grazie mille per questi video
@manoA98A Жыл бұрын
Grazie a voi che li guardate!
@ivankouemo8293 Жыл бұрын
Hello @Mano Arrostita, first of all thank you for sharing your knowledge about how to control a buck converter. However i did follow all your step to build every part of the PI controller and test it as well as you. But according to your integrator with the arbitrary behavioural voltage source in the input : V={V(1)}, this may not work, because the voltage will be in parallel with another voltage, when the Gain and this integrator will be connected together. So, to correct this error and display the Bode diagram exactly as your simulation, i did delete that voltage source of the integrator. So, my question is, why is your simulation working, when you have two voltage sources in parallel?
@manoA98A Жыл бұрын
Hi, thank you for watching.You are right, and for this reason i put a 1n series resistor, to avoid the singular Matrix Spice error. In this way, you are not making a parallel
@baharehadokht Жыл бұрын
I really like how you made the symbols from scratch, but I wish I could get a little bit more theoretical explanation regarding gain A and lower frequencies. I got lost at that point.
@manoA98A Жыл бұрын
OK Basically here's the trick To create any of these symbol, you will need the Red nets (1) and (2) by pressing F4 For the Gain, you are saying that the voltage at node 2, it is equal to the voltage of node 1 multiplied by K, a factor that you can choose once the symbol is created. The rest is just knowing the software For what regards the theory, the only trick used is for the ideal integrator, which is basically the ideal definition of integral, which from the equation at 13:45, by putting L=1 you obtain an ideal integral Anyway, you can realize these function with just the TYpe2 and type3 compensator. So it's useful to have a "Simulink" in ltspice yes, but remember that you can do these circuits with analog electronics and opamp as well (just search on the web for Type 2-3Compensator APPLICATION NOTE and you will see)