Author Topic: micro-controller driving isolated output  (Read 4376 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad ProfessorTopic starter

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
micro-controller driving isolated output
« on: May 07, 2015, 10:42:48 am »
Hi All

I am not sure if this topic would be best suited listed under Beginners or Projects section of the forum so please move as needed.

I am trying to work out the best way to drive two solenoid valves from a micro-controller, but both the micro-controller and the solenoid valves are on there own isolated power supplies and I can not share the power or ground rails.

The simplest way I can thing about doing this is by using optocouplers and mosfets.

Here is what I am thinking about using, I have not yet decided on the components to use, that is why there are no part numbers and or values listed.


Before I think about things to much, will the above work, or is there a better way?

Thanks for your time.

Best Regards.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19869
  • Country: gb
  • 0999
Re: micro-controller driving isolated output
« Reply #1 on: May 07, 2015, 11:05:25 am »
Yes, it'll work but don't expect it to be fast.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 10203
  • Country: nz
Re: micro-controller driving isolated output
« Reply #2 on: May 07, 2015, 11:12:42 am »
How big are the solenoids? You can get optoisolators with build in drivers that can do 500mA - 2A directly. It would cut down the amount of parts you need.

you could also use solid state relays.
« Last Edit: May 07, 2015, 11:17:02 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2112
Re: micro-controller driving isolated output
« Reply #3 on: May 07, 2015, 11:18:30 am »
You might want to check the polarity of V01 and V02.
 

Offline TopLoser

  • Supporter
  • ****
  • Posts: 1925
  • Country: fr
Re: micro-controller driving isolated output
« Reply #4 on: May 07, 2015, 11:28:35 am »
 

Offline Mad ProfessorTopic starter

  • Regular Contributor
  • *
  • Posts: 90
  • Country: gb
Re: micro-controller driving isolated output
« Reply #5 on: May 07, 2015, 03:52:00 pm »
Thank you for your replies.

I should not need to use any PWM switching with the solenoids, I am simply looking at on/off, and quite low cycle times something like 5 to 10sec on time. The off time varies.

I will need to re-check the current draw of the intended solenoids but from memory we are looking around 600ma at 14volts.

Thanks again for your time.

Best Regards.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19869
  • Country: gb
  • 0999
Re: micro-controller driving isolated output
« Reply #6 on: May 07, 2015, 07:47:16 pm »
You might want to check the polarity of V01 and V02.
Oh yes, the phototransitors are upside down.
 

Offline mushroom

  • Regular Contributor
  • *
  • Posts: 123
  • Country: fr
Re: micro-controller driving isolated output
« Reply #7 on: May 07, 2015, 09:35:24 pm »
Solid state relays are designed for that usage.

They are opto isolated. Get a DC solid state relay.

http://www.crydom.com/en/tech/tips/dc%20relays-technical%20guidelines.pdf

 

Offline Delta

  • Super Contributor
  • ***
  • Posts: 1221
  • Country: gb
Re: micro-controller driving isolated output
« Reply #8 on: May 07, 2015, 11:29:11 pm »
Fuck all this opto shit and just use some oldskool relays with cheeky low side NPN switches. KISSFFS :-)

Easy.
 

Offline TopLoser

  • Supporter
  • ****
  • Posts: 1925
  • Country: fr
Re: micro-controller driving isolated output
« Reply #9 on: May 07, 2015, 11:41:16 pm »
Fuck all this opto shit and just use some oldskool relays with cheeky low side NPN switches. KISSFFS :-)

Easy.

Click click click click 2 years later mechanical failure bits falling off...

More tea vicar?
 

Offline Delta

  • Super Contributor
  • ***
  • Posts: 1221
  • Country: gb
Re: micro-controller driving isolated output
« Reply #10 on: May 08, 2015, 12:25:16 am »
Nah, but I'll take another ale, please.

Probably shouldn't be posting whilst I'm on the piss watching the election results roll in...
 

Offline TopLoser

  • Supporter
  • ****
  • Posts: 1925
  • Country: fr
Re: micro-controller driving isolated output
« Reply #11 on: May 08, 2015, 12:32:06 am »
Your round mate, a cheeky half pint of vodka for me if you don't mind
 

Offline SL4P

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
  • There's more value if you figure it out yourself!
Re: micro-controller driving isolated output
« Reply #12 on: May 08, 2015, 06:18:23 am »
Thank you for your replies.

I should not need to use any PWM switching with the solenoids, I am simply looking at on/off, and quite low cycle times something like 5 to 10sec on time. The off time varies.
You may not 'want' to use PWM, but your solenoids and power supply may like you more if you do.
100% fast pull in, then 20% (approx) to hold the position.
Don't ask a question if you aren't willing to listen to the answer.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4146
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: micro-controller driving isolated output
« Reply #13 on: May 08, 2015, 08:11:26 am »
What voltage are the solenoids?
You can get DC high side drivers, and use opto's or digital isolaters to control them.
Such as ITS 4142N with Si8620. (total <$5)

You can use those profets, un-isolated, to control some larger (DIN rail) relays if your solenoids are AC or high voltage DC. Some are designed to switch inductive stuff, such as relays.
« Last Edit: May 08, 2015, 08:14:05 am by Jeroen3 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf