How can I remove the few peaks before the overshoot, so I only have the overshoot peak and then it directly transition into steady state?

조회 수: 13 (최근 30일)
I built a buck converter ( circuit will be below):
The parameters are:
Vi = 12V, L = 33e-3, the R next to L =0.5, C = 680e-6 , R next to C= 5e-3, R = 10
This is the output voltage graph i got:
Currently I'm manually tuning the PI to achieve an overshoot of between 10% to 20% and a settling time of 0.01 to 0.1 these are no problem but I just can't remove the oscillations following the overshoot. Also when I change the value of D it mess up the whole graph. Is it possible to remove the oscillations so the overshoot follows directly into the steady state because no matter what I change p and I to it never removes the oscillation before the overshoot and changing d mess up everything
  댓글 수: 5
Kevin Rogers
Kevin Rogers 2022년 3월 1일
wn = 1/sqrt(LC)
2*delta * wn = 1/(RC)
For critical damping delta = 1
Therefor C = 1 / (2*wn * R).
Substitute C inot 1st equation to get L.

댓글을 달려면 로그인하십시오.

채택된 답변

Pat Gipper
Pat Gipper 2022년 2월 26일
Hi Samuel. I found tuning the derivative to be difficult too. Eventually I settled in on P=3.5, I=850, D=0.01 and N=850. The default value of N was way too small. Here is the result.

추가 답변 (6개)

Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2022년 2월 25일
You have NOT mentioned anything about triangle carrier frequency. First obtain output voltage response without PI controller. Then apply Ziegler-Nicholas chart to tune PI controller. Refine this kp and ki value for desired response.
  댓글 수: 1
Samuel Pappalardo
Samuel Pappalardo 2022년 2월 25일
Thanks but to apply the zieglar- Nicholas i need to know the TF. The carrier frequency would be 1Khz
would it be correct to say the Tf of my circuit would be:
If is correct i will just sub my values for R L C and Vi

댓글을 달려면 로그인하십시오.


Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2022년 2월 26일
TF is one method. You know the desired output voltage and duty-ratio D. Use this in the model to get open loop voltage response. Then apply Ziegler-Nicholas chart to obtain kp and ki. Then refine this PI controller parameters for desired output voltage closed loop response.

Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2022년 2월 26일
For 8 V output, your duty-ratio should be 2/3 (0.67) for given input voltage.
  댓글 수: 1
Samuel Pappalardo
Samuel Pappalardo 2022년 2월 26일
Yes you arre correct
how can i use these two values to obtain the open loop voltage
I'm unawre of the formula if there is one

댓글을 달려면 로그인하십시오.


Zhao Wang
Zhao Wang 2022년 2월 26일
Since you have built a Simulink model for the buck converter, you may want to consider tune the PID controller based on the actual model behavior. For a switching buck converter, you will need to conduct frequency response estimation to identify a linear system description at the desired operating point. Using the linear plant model, you can use the PID Tuner App (can be opened from the PID controller block) to tune PID controller gains to achieve the performance you want.
  댓글 수: 2
Samuel Pappalardo
Samuel Pappalardo 2022년 2월 26일
It never works for me everytime i use it saids plant cannot be linearsed, i even imported simulation data and still it doesnt work
Zhao Wang
Zhao Wang 2022년 2월 26일
I totally understand that the linearization error message will very likely appear in a switching circuit model. This linearization error is because of the discontinuities intrinsic in such power electronics models. There is an alternative way of tuning PID controllers automatically using the Closed-Loop PID Autotuner, as shown in the example: https://www.mathworks.com/help/slcontrol/ug/tune-pid-controller-in-real-time-using-closed-loop-pid-autotuner-block.html

댓글을 달려면 로그인하십시오.


Pat Gipper
Pat Gipper 2022년 2월 26일
My bad. Change I to 300.
  댓글 수: 4
Pat Gipper
Pat Gipper 2022년 2월 28일
This is the model that was sent. It is using version R2021b Update 1. The gain constants are in the Model Workspace. Use Model Explorer to modify the constants.

댓글을 달려면 로그인하십시오.


Antonino Riccobono
Antonino Riccobono 2022년 2월 28일
Dear Samuel,
The difficulties you are encountering are understandable since when you tune a specific gain of your PID controller this will affect the other two. Therefore, manually tuning is not practical.
If you want to learn a systematic tuning workflow so that your feebback performance meets specific dynamic requirements, I invite you to consider the following training course:
Good luck,
Antonino

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by