Hello,
I need to drive small valves (you can see them as resistors which heats up and deforms to let the liquid flow). They usually need 250mA to be oppened but from my early testing it's sometime more sometime less.
I would like to design an adjustable by potentiometer constant current source to drive them.
I have acces to a 24V and 5V power supply but if possible I would like to only use 5V.
The output current of the current driver should be adjustable between [100mA -500mA].
It would be better to not have the potentiommeter in the 250mA current path for power dissipation issues.
I have looked at many options :
1) Linear Regulator current source :
Probably the easiest option but not sure if it's compatible here.

The main issue here is that the potentiommeter R1 sees the entire output current so I checked this improved version :

But from what I understood you need at least 5.5V as input voltage (I didn't undestand why if you can explain) so I should use my 24V power supply but I'm afraid that the power dissipation would be far to big for a linear regulator (P=(Vin-Vout)*Iout). It's hard to measure the load but the voltage drop across the valve was 0.7V when 250mA current is going through.
2) OpAmp current source
By adjusting Vin with a voltage divider between 0-4V, and with R=10 instead of 1ohm, I shoud get Iout=[0-400mA].

I simulated this with V+=5V and I found that Vin must be less than 1V in order to acheive VIN+=VIN- and I don't know why. And I think it's not PCB friendly to have 0,1V tensions. I put RL=4ohm (the resistance measured across the valve when it's not powered).
I also looked at transitor mirrors but same there, if you want to adjust the outputcurrent your potentiommeter will see the same current (a lot of heat).
If you have any experience with Linear Regulator current source can you say if it is possible ? I didn't acheive it with simultions.
What should I do for with the OpAmp circuit ? Change references ? Use 24V supply instead of 5 (I works on simulations but it seems so overkilled to use 24V for such aplication) ?
Any other circuit I could do ?
I need to drive small valves (you can see them as resistors which heats up and deforms to let the liquid flow). They usually need 250mA to be oppened but from my early testing it's sometime more sometime less.
I would like to design an adjustable by potentiometer constant current source to drive them.
I have acces to a 24V and 5V power supply but if possible I would like to only use 5V.
The output current of the current driver should be adjustable between [100mA -500mA].
It would be better to not have the potentiommeter in the 250mA current path for power dissipation issues.
I have looked at many options :
1) Linear Regulator current source :
Probably the easiest option but not sure if it's compatible here.

The main issue here is that the potentiommeter R1 sees the entire output current so I checked this improved version :

But from what I understood you need at least 5.5V as input voltage (I didn't undestand why if you can explain) so I should use my 24V power supply but I'm afraid that the power dissipation would be far to big for a linear regulator (P=(Vin-Vout)*Iout). It's hard to measure the load but the voltage drop across the valve was 0.7V when 250mA current is going through.
2) OpAmp current source
By adjusting Vin with a voltage divider between 0-4V, and with R=10 instead of 1ohm, I shoud get Iout=[0-400mA].

I simulated this with V+=5V and I found that Vin must be less than 1V in order to acheive VIN+=VIN- and I don't know why. And I think it's not PCB friendly to have 0,1V tensions. I put RL=4ohm (the resistance measured across the valve when it's not powered).
I also looked at transitor mirrors but same there, if you want to adjust the outputcurrent your potentiommeter will see the same current (a lot of heat).
If you have any experience with Linear Regulator current source can you say if it is possible ? I didn't acheive it with simultions.
What should I do for with the OpAmp circuit ? Change references ? Use 24V supply instead of 5 (I works on simulations but it seems so overkilled to use 24V for such aplication) ?
Any other circuit I could do ?