Rules | Recent posts | topic RSS | Search | Register  | Log in

Operates as a switch! Relay or transistor?

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Author Message
ericmar



Joined: 14 Apr 2004
Posts: 279
Location: Singapore


Post04 Oct 2004 16:43   Operates as a switch! Relay or transistor?

hi,

I want to do some switching on my circuit so I need either a DPDT relay or 2 transistors to act as switch. I wonder which one is better and can last longer. Relay takes more power and they r usually bigger in size, right? But if I m going to use transistor as a switch, how can I make it behaves like a double throw relay (i.e. either in operation mode 1 or 2)?

Thanks.

Regards,
Eric
Back to top
flatulent



Joined: 19 Jul 2002
Posts: 4863
Helped: 292
Location: Middle Earth


Post04 Oct 2004 17:07   Re: Operates as a switch! Relay or transistor?

There are many things to consider when selecting.

Relays have low on resistance, no distortion, slow switching times, frequency responses into the microwave region, high power switching capacity, about a million switching cycle limit.

In critical applications in systems where cost is not as important as performance, I frequently design in relays.
Back to top
golfbumb



Joined: 29 Sep 2004
Posts: 40
Helped: 5
Location: California


Post04 Oct 2004 18:19   Re: Operates as a switch! Relay or transistor?

Flatulent's comments are quite correct. I would add, you can use transistors to source and sink current within your circuit but the beauty of relays is that they provide isolated contact closure--no references to anything else in your circuit. Two transistors will never exactly behave like a relay.

The primary drawback to the relay is those slow switching times, as stated, often exceeding 50-250mS, depending on the frame size. Secondarily there is significant power consumption in operating the relay (hold currents are fairly low). But it costs no energy when the relay is "relaxed", i.e., design to use the relaxed mode (coil off) as much as possible.

If a 1/4 second switching time is not cutting it close then a relay should work. But always stay within the current ratings for the operating voltages suggested by the relay manufacturer. Even on the low side of the current spec. Otherwise, someday, you will likely find your contacts stuck together.

Your need for two poles implies that you might need electrical isolation. If you need higher switching speed and also need to decouple your circuit's logic from the "relay" section, consider a pair of optical isolators. An optical insolator is a photodiode optically coupled to a photo transistor. Flow enough current through the diode, and the phototransitor biases on. That phototransistor is completely electrically un-referenced to your circuit.

And when using a relay, remember that as the relay is turned off and the coil field collapses Faraday's law says you will get a voltage spike (which can be supressed with a reverse biased diode across the coil).
Back to top
Johnson



Joined: 04 Oct 2004
Posts: 677
Helped: 18


Post04 Oct 2004 18:21   Re: Operates as a switch! Relay or transistor?

Optocoupler sometime is good choice!
Back to top
djalli



Joined: 10 Nov 2001
Posts: 887
Helped: 15
Location: 1600 Pennsylvania Avenue, Washington DC 20500


Post04 Oct 2004 20:57   Operates as a switch! Relay or transistor?

How about diodes? I designed a 9GHz switch just using diodes. Diodes are fast and are not a big challenge in circuitry.
Back to top
ericmar



Joined: 14 Apr 2004
Posts: 279
Location: Singapore


Post05 Oct 2004 2:20   Re: Operates as a switch! Relay or transistor?

djalli wrote:
How about diodes? I designed a 9GHz switch just using diodes. Diodes are fast and are not a big challenge in circuitry.

How did u do that? Do u mind giving me some examples?

Thanks!
Back to top
onemilimeter



Joined: 23 Sep 2004
Posts: 65
Helped: 2


Post05 Oct 2004 2:35   Operates as a switch! Relay or transistor?

SSR = Solid State Relay

Opto + SSR could be an alternative to mechanical relay.
Back to top
ericmar



Joined: 14 Apr 2004
Posts: 279
Location: Singapore


Post05 Oct 2004 3:36   Operates as a switch! Relay or transistor?

I was planning to use 3 relays on my circuit but my power supply couldnt provide enough power if I use 3 relays!
Back to top
flatulent



Joined: 19 Jul 2002
Posts: 4863
Helped: 292
Location: Middle Earth


Post05 Oct 2004 4:56   Re: Operates as a switch! Relay or transistor?

There are such things as magnetic latching relays for small signal use. they cost more and require more complex drive circuitry.
Back to top
platonas



Joined: 14 Aug 2004
Posts: 165
Helped: 5
Location: Universal Citizen


Post05 Oct 2004 5:49   Re: Operates as a switch! Relay or transistor?

There is another one option, use CMOS IC switches like the 4016 and 4066. There are more ic simillara to the above. Chech the RS or Farnell catalogue for analogue switch ICs.
Back to top
djalli



Joined: 10 Nov 2001
Posts: 887
Helped: 15
Location: 1600 Pennsylvania Avenue, Washington DC 20500


Post05 Oct 2004 6:13   Re: Operates as a switch! Relay or transistor?

ericmar wrote:
djalli wrote:
How about diodes? I designed a 9GHz switch just using diodes. Diodes are fast and are not a big challenge in circuitry.

How did u do that? Do u mind giving me some examples?

Thanks!

You can use diodes that at fast pin diodes, schottkys... transistors, anything that is fast. Depends how you look at the problem.

See figure!



Sorry, but you need login in to view this attachment

Back to top
cent24.3



Joined: 14 Jul 2004
Posts: 12
Helped: 1


Post05 Oct 2004 21:29   Re: Operates as a switch! Relay or transistor?

There is lots of solutions depending of the application.

As previously said:

- you can use "flip-flop" relays OR... some models specialy design to draw less curent (have a look on online catalogs). I remenber changing one relay and fall from 90mA to 30mA of current.

- You can use 4066 (I think 4016 is out of date by know) OR... some Maxim IC like the MAX4760, datasheet : "The MAX4760/MAX4761 (DPDT) analog switches operate from a single +1.8V to +5.5V supply.", you've got four of them inside the IC.

bye
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Elementary Electronic Questions
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap