Author Topic: Variable voltage with high power, from a µC  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline PinheadBETopic starter

  • Regular Contributor
  • *
  • Posts: 231
  • Country: be
  • Pinball Freak
Variable voltage with high power, from a µC
« on: March 15, 2025, 01:41:37 pm »
Hi,

I'm in the need of being able to generate a variable voltage between 3.0 V and 5.0 V, with an output current that can go up to 6 A.
This will be commanded by a micro-controller.

What I already have thought of:
- Using PWM, commanding a MOSFET.   But I have to place a cap somewhere (a low-pass filter).  Since the current is not stable and can vary largely up to 6 A, where do I have to place it, and what value to use ?
- Using DAC.   After that, I have to amplify the current.   A BJT transistor mounted in an emitter-following configuration seems adequate.   But can I do that with a MOSFET ?

Any help welcome

Thanks
« Last Edit: March 15, 2025, 02:01:11 pm by PinheadBE »
Please keep our planet clean
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6845
  • Country: es
Re: Variable voltage with high power, from a µC
« Reply #1 on: March 15, 2025, 02:00:37 pm »
TPS55289 ? Has i2c control with 10mv steps.

You can use the DAC, but feed it to an op-amp and let it control a BJT.
Mosfets are harder to control, better use a BJT for this.
« Last Edit: March 15, 2025, 02:04:15 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: PinheadBE

Offline PinheadBETopic starter

  • Regular Contributor
  • *
  • Posts: 231
  • Country: be
  • Pinball Freak
Re: Variable voltage with high power, from a µC
« Reply #2 on: March 15, 2025, 02:23:48 pm »
VQFN.....  Not a chance I'm able to solder this  ;D

In fact, the micro-controller already exists and generates 6 PWM signals driving each a mosfet for a part of the circuit (a lot of LED's) that can work with that.

In another part of the circuit, I have to be able to slightly dim special LED's (like blinking ones, flame effects,....) .   Those LED's do integrate an IC, and I suspect it will not be happy with PWM....

I made some tests, and to dim them, I can make the voltage vary between 3 V and 5 V.

So, my preference would go to a simple circuit able to convert the existing PWM signal in a voltage.   That way, I will be able to use the same control board as for the simple LED's, with a simple add-on.   This circuit having to be repeated more than 20 times, it should be very basic (I cannot afford a buck/boost converter for each channel  :-[  )
Please keep our planet clean
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6845
  • Country: es
Re: Variable voltage with high power, from a µC
« Reply #3 on: March 15, 2025, 06:05:48 pm »
Do you really need 6amps for each channel?
A linear regulator will cause a ton of heat.
There're very inexpensive buck converters for 2-3A, if you could use one for each channel then you could control then by filtering the PWM to control the feedback signal.

Googling "dac controlled buck converter" shows plenty of topics.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf