EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: CoilKid on August 28, 2014, 10:22:24 pm

Title: Solenoid power supply
Post by: CoilKid on August 28, 2014, 10:22:24 pm
I am building a power supply for a solenoid, and came up with this.
(https://5bbbafd3-a-62cb3a1a-s-sites.googlegroups.com/site/picturehostingsites/home/storage/Full%20circuit9.png?attachauth=ANoY7crMj5AQLwcqLFFxRZrMQg18eCsb_9lxdMSiEh3jLRnFd-dXb-jO6n-QVwIcgu8YMlEHi5FGNQ8WqFT3MyXhiucOWHJwDADOGVwfE3CywKeWohrPgsjYR-4kBf3E4NLFDomXKv-ra4axDGH4k_iPJ-0yhCvfPvPpgrmhf45SVfz90zlUUDPEhThX1K4a29S7kBBDeTkkiHWvn2kmsmLuVNe5zXXpw9v1RPuawpOckHW-7kEsJc03iKU-Nx_2zRt6PlbkmSG5&attredirects=0)

I use a CVCC to power this, not a capacitor. That probably can go without saying, but I wanted to say it.

I also use an FET (http://www.digikey.com/product-detail/en/IRLD014PBF/IRLD014PBF-ND/812481), a diode (http://www.digikey.com/product-detail/en/SB540E-G/641-1419-2-ND/2075755), and a photo interrupter (http://www.ebay.com/itm/10-Pieces-5-16-Slot-PCB-Photo-Interrupter-Sensor-HY860H-/171325143377?pt=LH_DefaultDomain_0&hash=item27e3c63951).


So I'm fairly sure this will work, and I've gotten a "Looks good to me" but I'd like to double check.

This should function in such a way, that the inductor(solenoid) receives a current of 1A when the photo-interrupter is occluded. When the interrupter is no longer occluded, the inductor(solenoid) will turn off, and will release a voltage spike, which gets dissipated by the  freewheeling diode.

If someone else can give me the all clear I'll start ordering parts. Otherwise, could you please point out what's wrong?

TIA,
CoilKid
Title: Re: Solenoid power supply
Post by: Paul Price on August 28, 2014, 11:38:10 pm
Just use a transistor instead.
Title: Re: Solenoid power supply
Post by: CoilKid on August 28, 2014, 11:58:05 pm
Assuming I want to use an FET. Would this work?
Title: Re: Solenoid power supply
Post by: Paul Price on August 28, 2014, 11:59:04 pm
if you hooked it up just like the NPN transistor and the MOSFET is a N-MOSFET, then yes!
Title: Re: Solenoid power supply
Post by: CoilKid on August 29, 2014, 12:01:11 am
It is an N-Channel MOSFET, rated for 40V @ 5A. The link to the page was in my OP.  :)
Title: Re: Solenoid power supply
Post by: CoilKid on August 29, 2014, 08:12:31 pm
So, assuming that I use an N-channel MOSFET, could someone look over my schematic, look over the parts I'll be using, and tell if if this should supply 1A current to the inductor when the interrupter is occluded?