Go Down

Topic: Relays vs Transistors. What to choose? (Read 2169 times) previous topic - next topic

pgmartin

I'd like to compile some general rules that help me choose between relays and transistors as switches in my projects. I know there is a lot written around, but i'd like to compile a list of does and don'ts.

In my short experience the rules I'm following are:

  • Use a relay for heavy loads - say more that 1.5 Amps or anything beyond 18V

  • To use a transistor, you have to know the load. To give more flexibility, use a relay

  • Use a relay for AC

  • Use a transistor for quick switching (like PWM)

  • If you don't like doing transistor calculations, use a relay  8)



wanderson



  • Use a relay for heavy loads - say more that 1.5 Amps or anything beyond 18V




Power MOSFETS have not problem with loads well beyond that.  In general I use solid state relays for convenience, since the provide opto-isolated protection, and then only for switch AC loads.
New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

pgmartin

Thanks wanderson for your comment. I'll have to accept that I'm not proficient with Mosfets. I'm just a BJT user. I do have to learne and experiment mor with Mosfets.
I'll add to the list:

  • Use relays when you want to isolate circuits


Constantin

#3
Jul 25, 2012, 06:38 pm Last Edit: Jul 25, 2012, 06:44 pm by Constantin Reason: 1
More often than not, a mechanical relay will require an external transistor anyway to energize it. A ULN2003A darlington array is something I see over and over in appliances that use relays. Mechanical relays are great in that they're usually agnostic regarding the load going across the contacts. You can run AC, DC, reactive loads, inductive loads, etc. But you usually cannot switch quickly and you want to look out for potential wear of the contacts by using snubbers and other circuits if the loads are not totally resistive in nature. For that matter, it is also good design practice to include a snubber diode on the input side of a relay to deal with the inductive kickback as the solenoid inside the relay is turned off.

As for SSRs and transistors, you have to pay more attention to the load being passed. Turning off a Triac with a DC load is difficult, for example :). SCR-based SSRs still require an AC load but will only allow 50% of the power to be applied. Most other commonly-used transistors will only tolerate DC loads (though they may accommodate a AC-component in the greater DC signal). So you need to characterize the load being applied and choose the appropriate transistor. Snubbers and so on may also be needed, SSRs sometimes incorporate them. But transistors allow the use of PWM in ways that mechanical relays usually do not (unless your time constant is quite long).

So, sorry not to give you hard and fast rules re: use of AC or DC. It all depends on the load, what you want to do control-wise, and your price point. SSRs are usually more expensive to implement properly for a given capacity than mechanical relays because they usually require heat sinks, the SSR costs more, etc. But the devil is in the details.

wanderson


Thanks wanderson for your comment. I'll have to accept that I'm not proficient with Mosfets. I'm just a BJT user. I do have to learne and experiment mor with Mosfets.
I'll add to the list:

  • Use relays when you want to isolate circuits




Logic level mosfets are actually easier to use than BJTs.  And relays don't provide all that much isolation, at least the mechanical kind.  An SSR, which is really just a repackaged transistor or SCR with opto-isolation is what I was referring to.
New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

Go Up