Maker Pro
Maker Pro

MOSFET control using Digital Potentiometer

I would like to control the amplitude across a load (36V max). I would like to do this using a microcontroller and a digital potentiometer. I will try to explain the best I can without having a schematic, but I can draw one. It is a P-channel mosfet (9530). I was thinking of using the digital potentiometer in a voltage divider from VCC/source to ground with the gate in the middle so that when I vary the digital pot's resistance, the mosfet will be more/less on.

Any suggestions and feedback will be greatly appreciated!
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Your best bet, unless the current is very low is to design a variable voltage switchmode power supply. If the load is constant, you could simply use PWM in an open loop arrangement.

You can't do it as simply as you suggest as the mosfet's response is not linear.

You could use an op-amp to compare the voltage across your pot and your load and thus control the gate voltage to maintain them at the same value.
 
Thank you again for your help. I think I've stumbled upon a proper design.

I will use something like a LM2591HV "Simple Switcher" Buck Regulator IC whose load voltage can be controlled by varying Rf, which will be a digital potentiometer.
 
Top