# How to control input cureent DC/DC converter?

**URL:** https://forum.plexim.com/t/how-to-control-input-cureent-dc-dc-converter/607
**Category:** PLECS
**Tags:** saturation, current, converter, controller
**Created:** [January 10, 2019, 7:04pm UTC](https://forum.plexim.com/t/how-to-control-input-cureent-dc-dc-converter/607 "2019-01-10T19:04:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Voyteck](https://avatars.discourse-cdn.com/v4/letter/v/bcef8e/32.png) [@Voyteck](https://forum.plexim.com/u/Voyteck)
#### Post date: [January 10, 2019, 7:04pm UTC](https://forum.plexim.com/t/how-to-control-input-cureent-dc-dc-converter/607/1 "2019-01-10T19:04:01Z")

</div>

Hi,

in the buck-boost I have PI controller of output voltage which is constant(20v). Input voltage(15-25). But also I would like to have an input current limit(for example50A). How can I implement this limit, where should I put saturation block? Do you have any ideads? I would be grateful for all answers.

Regards,

Wojciech

---

<div class="post-metadata">

### Author: ![Oliver\_Schwartz](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/oliver_schwartz/32/6_2.png) [@Oliver\_Schwartz](https://forum.plexim.com/u/Oliver_Schwartz)
#### Post date: [January 17, 2019, 6:31am UTC](https://forum.plexim.com/t/how-to-control-input-cureent-dc-dc-converter/607/2 "2019-01-17T06:31:51Z")

</div>

Maybe you want to take a look at the demo model Buck Converter with Peak Current Control which is shipped with PLECS.

Kind regards,

Oliver Schwartz
