CAN Bus Relay Driver

Thread Starter

lxmyers

Joined Apr 22, 2010
5
Hello all,
I have a couple of questions regarding circuit design, pretty sure I won't explain myself properly and thought so context might help.

I am in the process of adding quite a few things to my vehicle and I am not to keen on the idea of running signal/trigger wires all throughout the vehicle. Guaranteed I will forget something, want something changed or find something new that will need more cables.

The plan is to have several relay/fuse boxes scattered around and I am trying to make a “Relay Driver” that will allow me to control the Relay’s through a CAN bus. I have attached a schematic of two of the five output/inputs.

https://www.swe-check.com.au/product/bussmann-15303-pdu-for-fuses-breakers-and-5-relays-dual-bus

The relay driver will have five outputs and each output will provide +12V for controlling a single relay. Each relay in the fuse box will also have a button wired in parallel with the relay driver allowing an override in the event of an issue. I was also hoping to get feedback from each output for fault detection and also if the relay was being overridden by the button.


The Questions

Current Limiting: Each relay draws about 100mA, the BC807 maximum current is 500mA so I was hoping to limit the current out to around 250mA. Without adding to much complexity to the circuit, what would be a good way to achieve this? Would a simple PTC fuse suffice?

Input Protection. I am not sure the 4.7K resistor will be enough to protect the optocoupler from the voltage spikes in vehicles. Should I be adding something like Zener or TVS Diodes?

The last question was... Am I on the right track? Have I done anything incorrectly or are there better ways to achieve the same result? This is all still very foreign, any comments or criticism would be greatly appreciated.

Thank you all in advance,
Alex
 

Attachments

Papabravo

Joined Feb 24, 2006
22,058
Your image is too large and too faded, rendering it virtually useless. Could you just answer the question instead of presenting us with a useless image.
 

Thread Starter

lxmyers

Joined Apr 22, 2010
5
Sorry about that.

CAN Bus --> MCP2551 --> MCP2515 --> "Arduino" --> BC807's out to Relays.

I am trying to control relays in the rear of the vehicle from buttons in the front of the vehicle over a CAN Bus. Separate from the vehicles CAN.

The first image was the driver portion of the circuit. I am not sure how to protect the BC807 from over current and how to protect the ILD312T from over voltage.

I have tried attaching the image again...

full_circuit.png
https://ibb.co/3vdy4hF
 

Papabravo

Joined Feb 24, 2006
22,058
Do you know how to do that without interfering with the other nodes on the bus? I don't think you can just willy-nilly spray data out there.
 

Thread Starter

lxmyers

Joined Apr 22, 2010
5
It is a seperate CAN Bus, not connected to anything else in the vehicle, just buttons and relay drivers. The CAN bus side is working fine, my questions are in relation to the protection of the high-side outputs and feedback inputs for the relays. This all works fine on the test bench, just not sure it will last connected to the 12V vehicle power.
 
Top