Pages: [1]   Go Down
Author Topic: Position of Back EMF diode on Relay  (Read 1064 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does the diode have to be physically on the relay or can I put it on the circuit board near the transistor instead?

If there is a maximum distance of relay to diode, what is it? I have a control board with an arduino on, opto isolated and now through a ULN2803 driving 16 relays. I wsa hoping to just put the protection diode on the circuit board enabling easy wiring.

Thanks
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 20
Posts: 1653
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Best practice: place it close to the coil... but it just needs to be "electrically" there.  The only thing that will really change with distance is the resistance of the electrical path due to the length of the copper wire and you can pretty much ignore that variable.
Logged

0
Offline Offline
Shannon Member
****
Karma: 206
Posts: 12092
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

More importantly the inductance and loop area will increase the further the diode is from the coil - leading to
more radiated interference.
Logged

[ I won't respond to messages, use the forum please ]

India
Offline Offline
Full Member
***
Karma: 0
Posts: 176
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ULN series of relay drivers have free wheeling diode built in. So you do not have to attach them externally
Logged

Windy City
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If the relay is remote from the driving circuitry, I usually try to solder the diode directly across the coil of the relay, regardless of whether the drive circuitry also has a diode.  Without the diode at the relay long wires will cause a lot of broad spectrum radiation which is not only (strictly speaking) illegal but undesirable too.

I know a guy that used a large relay to control some fish tank heaters for a large tank,  He had the relay about 3 feet from the controller and did not have a diode across the coil at the relay.  However, there was one in the controller.  The radiated "pop" was so bad it would cause his wireless phones to disconnect if they were used in the same room.  Sure, it may be that his wireless phones were cheap, but the problem went away after we soldered a 1N4001 across the relay coil.  $0.10 solution.
Logged

Dirt Biker

Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for everybody's response.

Will fit a diiode into the connector of the relay so changing relays will still be easy.

Hadn't realised the ULN already had a built in diode, so won't put one on the board.

EMI in Bangladesh isn't an issue, especially in these industrial washing plants but good to know.

Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2916
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A ULN2803/etc would still be a useful relay driver if you have > 1 relay. I also concur
that it's best to tack the diode right onto the relay, especially if the wires are longer
than a few inches. The extra one in the ULN2803 will still be ok.

These sort of things you have to play with, and see how they go. I've seen similar
situations to what dirtbiker mentioned - relay transients trigger resetting in industrial
microcontrollers.
Logged

Pages: [1]   Go Up
Jump to: