Author Topic: MOSFET as a rheostat is it safe?  (Read 1592 times)

0 Members and 1 Guest are viewing this topic.

Offline ChrissTopic starter

  • Frequent Contributor
  • **
  • Posts: 534
  • Country: 00
MOSFET as a rheostat is it safe?
« on: June 30, 2021, 10:13:19 pm »
Hi!
I have a small task to finish, to make a kind of rheostat to drive a solenoid valve.
The solenoid valve is 12V, when the valve is max opened, applied 12V it takes around 2.5A.

Here is what I have to do:
The valve should be controlled around half open and fully open, what means to feed the solenoid with around 5-6V up to 12V.

I'm thinking to do it as simple as it could be, to use a potentiometer to set up the required voltage on the G of the mosfet.

Is this kind of setup safe enough?
I mean are there some hidden thinks to take in count if I use a potentiometer to increase and reduce the amount of voltage to the G of the mosfet and like this drive the solenoid?

Thanks for any advice and ideas.

My best regards.
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3325
  • Country: au
Re: MOSFET as a rheostat is it safe?
« Reply #1 on: June 30, 2021, 11:44:35 pm »
First off, will your solenoid actually behave the way you expect as regards applied voltage vs percentage open? Solenoids generally need a bit of encouragement to get them opening, but once they get toward the full open position they really go for it because the closing up of the magnetic gap makes the attraction stronger. The force vs distance is very nonlinear.
 
The following users thanked this post: Chriss

Offline bob91343

  • Super Contributor
  • ***
  • Posts: 2675
  • Country: us
Re: MOSFET as a rheostat is it safe?
« Reply #2 on: July 01, 2021, 12:51:00 am »
You should have a diode to protect the FET from induction due to the valve's configuration.  Put a diode of 3A rating, any voltage is fine, in parallel with the valve coil in such a direction as to not conduct when the valve is energized.
 
The following users thanked this post: Chriss

Offline pqass

  • Frequent Contributor
  • **
  • Posts: 915
  • Country: ca
Re: MOSFET as a rheostat is it safe?
« Reply #3 on: July 01, 2021, 12:56:33 am »
According to https://tameson.com/proportional-solenoid-control-valve.html PWM is the way to go.
See bottom of https://www.electronics-tutorials.ws/waveforms/555-circuits-part-1.html for typical 555 PWM circuit.  Replace the motor with the solenoid.

You may also want to try a variable current sink https://www.codrey.com/electronic-circuits/simple-electronic-dc-load/.
Add the solenoid and +12V voltage source in series with the MOSFET drain.  Add a reversed diode across the solenoid terminals (like the motor example).

Both circuits above assume DC operated solenoid valve.
 
The following users thanked this post: Chriss

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2043
  • Country: au
    • Halestrom
Re: MOSFET as a rheostat is it safe?
« Reply #4 on: July 01, 2021, 12:56:37 am »
Check "Safe Operating Area (SOA)" in your mosfet's datasheet, make sure it can handle the expected conditions.  Expect to be disappointed by many mosfets :)
 
The following users thanked this post: Chriss

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9222
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: MOSFET as a rheostat is it safe?
« Reply #5 on: July 01, 2021, 01:07:40 am »
Just PWM the solenoid, simpler than making a variable current sink.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline ChrissTopic starter

  • Frequent Contributor
  • **
  • Posts: 534
  • Country: 00
Re: MOSFET as a rheostat is it safe?
« Reply #6 on: July 01, 2021, 04:48:58 am »
Thanks to everyone for the replay.
I will solve my task with pwm.

My valve is actually a proportional solenoid valve as pqass mentioned.

Thank's to all of you.
My best regards.
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3325
  • Country: au
Re: MOSFET as a rheostat is it safe?
« Reply #7 on: July 01, 2021, 05:23:27 am »
My valve is actually a proportional solenoid valve as pqass mentioned.
I missed that. I didn't know there was such a thing as a proportional solenoid. I wish our washing machine had them. Depending on the size of the load, it turns the water on and off as much as 15-20 times during the fill cycle, sometimes being on for as short as a fraction of a second. One of these solenoids could make for a gentle shutoff and saved me having to fit two water hammer surge arrestors.
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8772
  • Country: fi
Re: MOSFET as a rheostat is it safe?
« Reply #8 on: July 01, 2021, 09:13:54 am »
Yes, definitely PWM since the solenoid itself has a lot of inductance meaning a square wave control signal becomes a triangle wave current, and given high enough frequency (depending on the solenoid, even just a few kHz could be enough), this triangle current approximates a constant value with low enough ripple not to cause mechanical vibration.
 
The following users thanked this post: Chriss

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19937
  • Country: gb
  • 0999
Re: MOSFET as a rheostat is it safe?
« Reply #9 on: July 01, 2021, 01:06:34 pm »
Definitely control the current, rather than the voltage. A sense resistor can be used to monitor the current flowing through it.
 
The following users thanked this post: Siwastaja, Chriss

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2723
  • Country: us
Re: MOSFET as a rheostat is it safe?
« Reply #10 on: July 01, 2021, 03:21:33 pm »
I'm thinking to do it as simple as it could be, to use a potentiometer to set up the required voltage on the G of the mosfet.

I most cases it's definitely better to PWM the MOSFET than to use a linear solution like this, but if for some reason you DID want a linear driver, you wouldn't do it like this.  The relationship between Vgs and Rds is dependent on operating conditions, so you can't really get a consistent mapping across temperature range or across multiple devices.  Instead you'd want an active current regulator, as shown in this link pqass shared earlier: https://www.codrey.com/electronic-circuits/simple-electronic-dc-load/  The op amp drives the gate of the pass transistor as needed to regulate the voltage across the sense resistor, which means you get a constant current through the load.  (There are still temperature and other factors that will affect stability and precision, but these are much better controlled through the op amp's feedback than they would be if you just applied a fixed voltage to the FET gate.  You would still need to review the safe operating area chart for your transistor to ensure it will be suitable for your application, many FETs are optimized for switching applications these days and not all are suitable for linear applications like this.

It's good to know that you're using a proportional solenoid valve.  Many solenoid-actuated valves can't really be used proportionally, even with an external current driver, because the solenoid does not directly actuate the main valve.  Instead it controls the flow of a small amount of the working fluid that is used to actuate the main valve spool.  This allows the solenoid to be much smaller and lower power than a direct-acting solenoid valve would require.  Most pneumatic/hydraulic control valves operate this way, as do a lot of diaphragm valves like are used for irrigation systems.
 
The following users thanked this post: Chriss

Offline ChrissTopic starter

  • Frequent Contributor
  • **
  • Posts: 534
  • Country: 00
Re: MOSFET as a rheostat is it safe?
« Reply #11 on: July 01, 2021, 07:55:33 pm »
My driver should mitigate an ecu output which is gonna bad but the machinery should still work until the ecu is not switched to a new one. To get the new ecu we have to wait several weeks, so we have no option, just to solve the problem in some way.

Then I come to the ide, ok, I could make a dimmer with a mosfet and pot. But after I go back to the machine and checked again the valve, I realized it is a proportional valve 12 VDC. And when I checked back here I saw also a writing about this type of valve, and links to the valve too.

I realized quickly does I have nothing to do with my dimmer stuff here.
And you suggested also to go to pwm controller.

I didn't design lot of electronics but I have some clue about and finished many project successfully, but I like to be careful, and  like to hear others opinions as well before I burn down something.  :-DD

I will solve my task with a pwm driver which I constructed many years ago, and I know it is good design cos I tested it many times in real situations, and also made measurements during the usage.

Thank you folks for such of nice infos, I really appreciate your time spent on my question.
My best regards.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf