LTspice #7: Closed-Loop Frequency Response of DC-DC converters

How to obtain the closed-loop frequency response of a DC-DC power converter.

Пікірлер: 27

  • @h8018567
    @h80185672 жыл бұрын

    Professor, this is my first time visit your channel. It's awsome! Please make the current mode control converter, thanks!

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Thanks for your nice comment. This topic is in my mind for a future video. Thanks!

  • @syedsikandarshah9254
    @syedsikandarshah9254 Жыл бұрын

    Thank you so much for these amazing videos. Please make a video about EMC filter design procedure for DC/DC converters and simulate it it in LTspice.

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    Жыл бұрын

    Thanks for the suggestion. EMI topic is on my list.

  • @syedsikandarshah9254

    @syedsikandarshah9254

    Жыл бұрын

    @@MarcosAlonsoElectronics Thank you

  • @Marcelo98_Nas
    @Marcelo98_Nas Жыл бұрын

    Great video, watching here from Brazil, I've been looking for this theme for a while. By the way, I didn't even know that this simulation was possible in LTSpice, your video and tip will help me a lot in my projects. I have a doubt, in the Maximum Timestep window did you use 0.1uS, that is, 1% of the period of the maximum sweep frequency 100Khz? If yes, can I use this 1% of the period of the maximum sweep frequency as default in the Maximum Timestep to simulate any converter?

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    Жыл бұрын

    Thanks for your nice comment. Yes, 1% of the switching period is a value that usually works fine. This type of simulation is tricky to adjust because you have to achieve convergence for all the simulations at the different step frequencies (31 in this case). To achieve this I usually "play" with two parameters. One is the maximum timestep, and the other the "reltol" parameter that you can adjust by using ".options reltol=value." The default value is 1m. Increasing this value usually improves convergence if necessary and can also speed up the simulation. Sometimes I use 10m, 100m or even 1 and the accuracy of the results is usually good. With a similar process you can measure other parameters, like the input impedance of the converter. See an example here: kzread.info/dash/bejne/jIx3xdmme7vgaaw.html

  • @Marcelo98_Nas

    @Marcelo98_Nas

    Жыл бұрын

    @@MarcosAlonsoElectronics Thanks for the comment, I'll take a look at the video indicated. Hug!

  • @asadrao5147
    @asadrao51472 жыл бұрын

    How did you calculate the values of capacitor and resistor in compensator??

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Hi, it is explained at 4:33. We get two equations: 1/(2*pi*R2*C2)=7.1 kHz and R2/R1=1. We choose a suitable value for C2, for example, C2=10nF and get the other two from the equations.

  • @asadrao5147
    @asadrao51472 жыл бұрын

    How did you choose the open loop gain for op amp?

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Hi, we would like an open loop gain for the opamp as high as possible. At the end this can affect the steady state error. Common opamps have very high gain, usually 100 dB, so this is not an issue for most applications. In the video there is Avol=1meg (120 dB). You can change it to Avol=1e5 and see that there is no much change.

  • @asadrao5147
    @asadrao51472 жыл бұрын

    Can you share slides and lectures pdf and simulation of this video

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Hi, I do not share slides. Sorry. You have the link to the simulation file in the answer to your previous comments. Thanks for watching!

  • @asadrao5147
    @asadrao51472 жыл бұрын

    How did you choose the values of R2 and C2 and R1???

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Hi, it is explained at 4:33. We get two equations: 1/(2*pi*R2*C2)=7.1 kHz and R2/R1=1. We choose a suitable value for C2, for example, C2=10nF and get the other two from the equations.

  • @foodyshrii6795
    @foodyshrii6795 Жыл бұрын

    Hi professor.. thanks for this fantastic video.. why did you take pm wrt -180 but not with 0 degrees.. I see some people take it so.. Please explain. When to consider pm with 0 degrees and -180 degrees.

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    Жыл бұрын

    Hi, thanks for your nice comment and question. PM means "Phase Margin", so it is a margin, which is an "amount of difference" according to the dictionary. So the correct way to define PM is as the difference between the loop gain phase at 0 dB and -180, this is: PM = (loop gain phase at 0dB) - (-180). In our case: PM= -135 - (-180) = 45. It should always be given as a positive number. Thanks for watching!

  • @foodyshrii6795

    @foodyshrii6795

    Жыл бұрын

    @@MarcosAlonsoElectronics Hi professor. Thanks for reply.. . But, still can you make a video or a note, When to take wrt 0 deg and -180 with some illustrations or example as necessary. I generally take wrt 0 degrees when we have opaamp as error amplifier. I believe, negetive feedback connected to inverting pin of opamp offers that -180 component. Is my understanding correct .? Thanks in advance. ...,,👍👍

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    Жыл бұрын

    ​@@foodyshrii6795 The correct way to do it is to measure the PM wrt -180º. Sometimes you can see it measured wrt 0º because what they are really representing is not exactly the loop gain phase but (180º - loop gain phase). This happens when you measure the loop gain with an analyzer. What you get is not exactly the loop gain phase but (180 - loop gain phase). See explanation in the video at 17:10. You should do the following correction: Actual loop gain phase = 180º - Loop gain phase measured by the analyzer. This is what it is done in the video at 17:10. Sometimes people avoid doing this correction to save time and just measure the PM wrt to 0 on the uncorrected curve of the loop gain phase. So you have to pay attention to the curve that you have. If you have the actual loop gain phase then measure PM wrt -180º. If you have (180º - loop gain phase) then measure PM wrt 0º. I prefer the former rather than the latter. Hope this clarifies. Thanks!

  • @foodyshrii6795

    @foodyshrii6795

    Жыл бұрын

    ​@@MarcosAlonsoElectronics Thank you.. professor.. for your clarification...

  • @santhoshj6258
    @santhoshj62583 жыл бұрын

    can you please upload a video on simulation of synchronous buck converter,ZVS converter in ltspice

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Thanks for your suggestion

  • @biswajit681
    @biswajit681 Жыл бұрын

    Hi Sir .. please make the Current mode control Buck converter simulation

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    Жыл бұрын

    Yes, it's on my list. Thanks!

  • @asadrao5147
    @asadrao51472 жыл бұрын

    Ca you share its simulation ????

  • @MarcosAlonsoElectronics

    @MarcosAlonsoElectronics

    2 жыл бұрын

    Hi, this is the link to the file. Thanks for watching! drive.google.com/file/d/1oUVPWHc9nZ9J9YujLSmsLEeuSScrRIvn/view?usp=sharing