Forum: Analog Circuits PID calculation boost converter

Author: Nizar Sghaier (Company: issat kairouan) (issatkr)
Posted on:

Rate this post
0 useful
not useful
Peace, mercy and blessings of God:
when the input voltage equal to 1V and the output voltage equal to 5V.
Our goal was to maintain the output voltage of the boost converter 
constante.Nous have used a simple P controller to achieve this goal. The 
converter output voltage can be controlled by the PWM signal given to 
the gate.
How to calculate the PID boost converter.
please help me

Author: Joe F. (easylife)
Posted on:

Rate this post
0 useful
not useful
I would say, use a calculator. ;-)
Without knowledge of which boost converter you are using or how your 
circuit looks like at the moment, it is very unlikely that somebody 
could give you a more qualified answer.
Please provide more meaningful information.

Author: Nizar Sghaier (Company: issat kairouan) (issatkr)
Posted on:
Attached files:

Rate this post
0 useful
not useful
please help me

Author: IUnknown (Guest)
Posted on:

Rate this post
1 useful
not useful
Please don't use .docx, not all users can read this format. PDF would be 
more suitable.

> document wrote:
> the switching frequency was 31150 kHz, thus Ts= 0.05 ms .

That does not work. Ill assume you use 31.15 kHz.

> document wrote:
> how to calculate the PID valueloop close

it's a control loop :)

First, let me ask you why you are using a microcontroller for 
controlling? Should the code hang the microchip, or do something 
unexpected, you're likely to burn your switching device. I would use an 
externel analog circuit for that purpose. But enough of that.

The problem with P controllers is that they are not stable in a boost 
converter, because the converter has an RHPZ (right half plane zero). A 
PID controller can indeed deal with this problem.

First, to build your control loop, have a look at
they use a flyback converter, but it's similar to a boost converter.

Now, when you have your transfer function, convert it to the z-domain, 
so it can be implemented in code. This is described here:

also, more information is needed, do you want to run in CCM, CRM or DCM?
(DCM is easy to control, but has more losses).


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.