Author Topic: i2c controlled current limited boost switching regulator  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
i2c controlled current limited boost switching regulator
« on: June 01, 2026, 06:06:06 am »
hello. as the title says I'm trying to build a boost converter with current limiting that is digitally adjustable with I2C or SPI. It should be able to provide up to 500mA, take 5V in and output up to 10V.
So far I haven't found any switching ICs that have current limiting integrated and such would have to implement that seperately with an op amp feeding into the fb pin of the switching IC. https://www.instructables.com/Adding-a-Current-Limit-Feature-to-a-BuckBoost-Conv/

If you know any switching ICs that are directly controllable with I2C/SPI I'd be interested to hear, since DACs >10bit are a significant price factor and I'd like at least 10mV accuracy.
Right now I'm eying the TLV61048 which is just a simple boost converter without CC control or I2C, and the MCP47FVB2X 12bit dual DAC to digitally adjust the regulator and CC limiting circuit.

« Last Edit: June 01, 2026, 07:24:29 am by dosensuppe »
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3145
  • Country: au
Re: i2c controlled current limited boost switching regulator
« Reply #1 on: June 01, 2026, 06:39:22 am »
Maybe the NCT3933U from NUVOTON ?
Intended for power supply setting/margin and trim i2c 3 DAC channels
 

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #2 on: June 01, 2026, 06:50:08 am »
Not what I'm looking for, I'm afraid. That one is only available in quantities of 3k and it also only has 7bit which would result in 30mV steps at 5V adjustment range 5/(2^7)
 

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #3 on: June 01, 2026, 06:54:17 am »
I guess what I'm looking for doesn't exist in integrated form.
if I were to find an I2C adjustable boost converter I'd still have to get a single DAC for the current limiting.
But maybe there is a better way to do this.

https://www.digikey.de/de/products/detail/microchip-technology/MCP47FVB12A0-E-ST/5033373
The 10bit of this dual channel DAC might be enough after all, that's already 10mV accuracy. Still expensive at 1€/pcs, but acceptable.
« Last Edit: June 01, 2026, 07:14:32 am by dosensuppe »
 

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #4 on: June 08, 2026, 01:42:28 pm »
how can I improve this current limiting circuit?
the comparator always swings around when limiting the current. there must be a cleaner way to implement this.

« Last Edit: June 08, 2026, 01:45:50 pm by dosensuppe »
 

Online mtwieg

  • Super Contributor
  • ***
  • Posts: 1649
  • Country: us
Re: i2c controlled current limited boost switching regulator
« Reply #5 on: June 08, 2026, 02:02:33 pm »
The comparator effectively has infinite gain, so the current feedback loop is bound to be unstable.

The cleanest way to implement both average voltage and average current feedback is to give each their own error amplifier with its own compensation network, then feed the lesser of the two to the PWM modulator. This isn't really practical to hack onto an existing PWM controller like the LT1307B.
« Last Edit: June 09, 2026, 11:49:20 am by mtwieg »
 
The following users thanked this post: dosensuppe

Online mtwieg

  • Super Contributor
  • ***
  • Posts: 1649
  • Country: us
Re: i2c controlled current limited boost switching regulator
« Reply #6 on: June 09, 2026, 11:49:01 am »
Attached is an example of what I described above. The current sense feedback has its own error amplifier and compensation network, which can override the main VC node.

Though looking for a more suitable PWM controller with an externally controllable current limit would avoid having to add all this external circuitry.
 
The following users thanked this post: dosensuppe

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #7 on: June 19, 2026, 12:26:30 pm »
indeed. this seems to work fairly well. thanks a lot for the effort.
Quote
Though looking for a more suitable PWM controller with an externally controllable current limit would avoid having to add all this external circuitry.
I couldn't find any that would meet my requirements of delivering >=500mA at 12v at an affordable price.
I found the Silergy SY21222ABC. combining that with a cheap rail to rail op amp seems to be the most cost effective method to me.
 

Offline dosensuppeTopic starter

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #8 on: Yesterday at 06:55:11 am »
the sy21222 doesn't have an error amplifier compensation pin. Is there any way to get this to work regardless?
 

Online mtwieg

  • Super Contributor
  • ***
  • Posts: 1649
  • Country: us
Re: i2c controlled current limited boost switching regulator
« Reply #9 on: Yesterday at 12:41:50 pm »
the sy21222 doesn't have an error amplifier compensation pin. Is there any way to get this to work regardless?
You could try having the current feedback override the FB pin, but in a more linear way, using an ideal diode. See attached. Note how V5 offsets Isns to get the desired 100mA limit.

Whether this ends up being stable with the SY21222 is impossible to say, but it's worth a try.
« Last Edit: Yesterday at 12:44:01 pm by mtwieg »
 

Online Phil1977

  • Frequent Contributor
  • **
  • Posts: 784
  • Country: de
Re: i2c controlled current limited boost switching regulator
« Reply #10 on: Yesterday at 02:20:59 pm »
Of course it depends on the application, but sometimes it´s worth considering driving the regulator switch transistor directly with the MCU.

I once did this for charging the caps of a xenon flash - so regulation speed was of no concern, the MCU measured the slowly rising cap voltage and set its PWM-output as a simple PI-regulator.
 

Offline MariuszD

  • Frequent Contributor
  • **
  • Posts: 487
  • Country: pl
Re: i2c controlled current limited boost switching regulator
« Reply #11 on: Yesterday at 06:42:52 pm »
Doesn't it bother you that the current limiter won't work for output voltages below 5V?
 
The following users thanked this post: Someone


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf