Buck,boost and buck-boost with PID controller problem

Click For Summary

Discussion Overview

The discussion revolves around simulating buck, boost, and buck-boost converters using PID controllers in Matlab/Simulink. Participants explore various control methods, seek guidance on PID parameter calculation, and share resources and examples related to converter design and simulation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks help in calculating PID parameters for buck, boost, and buck-boost converters and inquires about alternative control methods.
  • Another participant asks about the level of detail desired in the simulation, questioning whether simplified or SPICE-level accuracy is preferred.
  • A participant expresses a desire to use an Ideal Switch for their converters and requests guidance on designing a PID regulator for closed-loop control.
  • One reply emphasizes the importance of feedback in the PID circuit, noting that the pulse width modulation (PWM) will be necessary to maintain output voltage regulation.
  • Resources for tutorials and application notes on buck converters are shared by a participant, suggesting further reading for the original poster.
  • A participant requests clarification on the compensation method for the feedback loop, including questions about phase margin and current limits.
  • One participant describes their buck converter parameters and mentions using voltage as the feedback signal with a PID regulator incorporating both lead and lag compensators.
  • Another participant prompts for details on the feedback equation and stability measures, highlighting the importance of testing load and line responses in the simulation.

Areas of Agreement / Disagreement

Participants express various viewpoints on the design and simulation of converters, with no consensus reached on specific methods or parameters. Multiple competing views on control strategies and simulation details remain evident throughout the discussion.

Contextual Notes

Participants mention various assumptions regarding control methods, feedback mechanisms, and simulation accuracy, but these assumptions are not fully resolved or agreed upon.

tester
Messages
4
Reaction score
0
Hi!

I try to simulate buck,boost and buck-boost converters in Matlab/Simulink with PID controller but I don't know how calculate PID parameters Sad Anybody knows how I calculate this parameters ? Or maybe someone haves buck,boost or buck-boost example circuit in Matlab/Simulink ?

Or maybe someone simulate this converters with another method of control like hysteresis controll, current programmed control or sliding mode control ?

Plz help me :(

PS. Sorry for my language mistakes :(
 
Engineering news on Phys.org
What power supply textbook are you using? And what power supply design website resources have you found so far? How detailed do you want your simulation to be? Like, do you want just simplified cycle-by-cycle simulations, or do you want SPICE level accuracy, including parasitics?
 
I looked to Simulink Help and I found model of boost converter : http://www.mathworks.com/access/helpdesk/help/toolbox/physmod/powersys/igbt.html

But I want to build buck, boost and buck-boost converters using an Ideal Switch (not IGBT or MOSFET) and I want build my converters with one of control methods in closed-loop circuit (not using block Pulse Generator). So I have decided to build this converters with PID regulator and I don't know how design this regulator.

I read this pages :
http://services.eng.uts.edu.au/~venkat/pe_html/pe07_nc8.htm
http://www.powerdesigners.com/InfoWeb/design_center/articles/DC-DC/converter.shtm


Maybe someone earlier try to simulate this converters in Simulink and have some examples circuit ?
 
Last edited by a moderator:
The last link you show is a good one. It doesn't talk much about the feedback loop, however. Your PID circuit will need to use a sample of the output voltage, and determine the cycle-by-cycle pulse width to use in turning on your ideal switch. Quiescently, the PW will just be related to the ratio of the input and output voltages (assuming an ideal switch and a zero volt drop ideal diode). But when the output current varies, your control element needs to use PWM to keep the output voltage within regulation.

What have you used PID loops for so far? How much control loop theory have you had?
 
Heh :(

Maybe you take a look for my Simulink model and maybe you try fix this ? Here is link : http://gacolek.wz.cz/buck_PID.zip

I wait for answer :)
 
Last edited by a moderator:
I'm only able to read the Simulink file as a text file -- I don't use Simulink.

What compensation method are you going to use for the feedback loop? Are you using lag or lead compensation? What is your phase margin? Are you using a state space approximation in your calculations? What minimum current are you going to allow on the buck output? Are you going to include discontinuous mode operation (and the different loop characteristics), or are you going to require a minimum Iout that keeps your buck running in continuous mode?
 
I try to build a buck converter with follow parameters :
Vin = 24V
Vo = 12V
Ro = 13Ohm
L = 69uH
C = 220uF
fs = 100kHz
it's work with CCM mode.

My feedback signal witch I use to control is voltage. In feedback loop I added PID regulator, where the lead compensator is derivative action (D) and lag compensator is integral action (I).
 
Good so far. Now what is your feedback equation? What gain-phase plot does that give? What is your phase margin?

To test your control loop, you will need to vary the output current and see what the loop response is. You generally test a power supply circuit to determine its load response (how well the output voltage stays regulated when the output current changes) and its "line" response (how well the output voltage stays regulated when the input voltage varies). Your simulation should test both of these responses, and your calculation of the phase margin is an important measure of stability.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
9
Views
3K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 2 ·
Replies
2
Views
14K
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 10 ·
Replies
10
Views
15K