Driving 12V 3A solenoid from 5V

Thread Starter

picotrain

Joined Apr 12, 2013
32
Hi,
I want to drive a 12V 3A solenoid valve from an 5V Arduino pin. I am mostly interested in the power side of things, so I hope this is the right forum.
I have designed a circuit using a 4N35 opto and a TIP120 Darlington NPN transistor.

From the 4N35 datasheet the pins 4 and 5 (CE) has a forward voltage of 1V at 10mA , while the TIP120 Darlington has a BE voltage drop of 2.5V.
So there is a total of 3.5V dropped by the transistors. So 12V-3.5V = 8.5V across the current limiting resistor.
From the TIP120 datasheet, 10mA is well within the max Base current, so then R=V/I
R = 8.5V/10mA = 850 ohms, so lets use 820 ohms

https://www.vishay.com/docs/81181/4n35.pdf
https://www.onsemi.com/pub/Collateral/TIP120-D.PDF

Does this sound right? I tried using Spice simulator, but I couldn't find a Darlington transistor to use to simulate the circuit.


 

Attachments

dl324

Joined Mar 30, 2015
16,943
If you don't require electrical isolation, meaning the Arduino and solenoid can share the same ground, you don't need an optocoupler.
 

ian field

Joined Oct 27, 2012
6,536
If you don't require electrical isolation, meaning the Arduino and solenoid can share the same ground, you don't need an optocoupler.
The opto isolator has 1 or 2 attractions whether you need isolation or not, someone suggested a LL MOSFET - which could also make life easier regardless.
 

ian field

Joined Oct 27, 2012
6,536
True, very true.
Sometimes I put faster diodes in TV vertical flyback energy recovery circuits because the retrace is supposed to be pretty steep - but there probably wasn't all that much wrong with the opiginal standard recovery types.

The big bad number is reverse recovery time - unless you hit the solenoid again very soon, there's plenty of time for carriers to dissipate from the junction. If anything - it might help damp any ringing.
 

Thread Starter

picotrain

Joined Apr 12, 2013
32
With the current design, that is using a Darlington, do I calculate the power dissipated by the transistor as the voltage drop across CE multiplied by the current being passed from C-E ?
That's how I did it, 1.7V across CE and passing 3A, that gives 5.1W being dissipated. Except that the Darlington doesn't get hot, so I am assuming I have missed something here...
 

crutschow

Joined Mar 14, 2008
34,470
1.7V across CE and passing 3A, that gives 5.1W being dissipated. Except that the Darlington doesn't get hot, so I am assuming I have missed something here...
That's the correct calculation.
So if it's not getting hot, then either Vce or Ice (or both) are less than you calculated.
 
Top