CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

CAN bus optical isolation
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

CAN bus optical isolation
PostPosted: Mon Aug 23, 2004 5:22 pm     Reply with quote

Colleagues,

I'm concieving a medical instrument with multiple PICs, which are talking to each-other through a CAN bus. I need to isolate one of the PICs. Is it possible to optically isolate a part of the CAN bus? As far as I understand CAN bus is differential, and doesn't have a dedicated TX and RX lines. Optical isolation, however is directional. Could anyone point me to the appnone or a schematic?

Nick
Yashu



Joined: 08 Oct 2003
Posts: 26

View user's profile Send private message

Re: CAN bus optical isolation
PostPosted: Tue Aug 24, 2004 8:51 pm     Reply with quote

kender wrote:
Colleagues,

I'm concieving a medical instrument with multiple PICs, which are talking to each-other through a CAN bus. I need to isolate one of the PICs. Is it possible to optically isolate a part of the CAN bus? As far as I understand CAN bus is differential, and doesn't have a dedicated TX and RX lines. Optical isolation, however is directional. Could anyone point me to the appnone or a schematic?

Nick


idea.... mag isolation with NVE Corp IL710T between PIC and CAN transceiver and use DC-DC converter to power the transceiver
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Wed Aug 25, 2004 7:50 am     Reply with quote

or perhaps opto couplers. I use fairchild HCPL-0600
http://www.fairchildsemi.com/collateral/opto/optocoupler_ssr.pdf
and for the DC-DC conversion I use the NTE0505M from C&D electronics.
this is for RS485 isolation. I am not sure if they would be the same.
I am isolating 5V signals.
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Re: CAN bus optical isolation
PostPosted: Sun Dec 19, 2004 3:17 am     Reply with quote

Quote:

idea.... mag isolation with NVE Corp IL710T between PIC and CAN transceiver and use DC-DC converter to power the transceiver


Checked the IL710T datasheet - it looks as directional as an opto-coupler.

Thanks for the idea though!

Nick[/quote]
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Sun Dec 19, 2004 4:31 am     Reply with quote

I remembered reading an article about galvanic isolation of the I2C bus, which is in this this regard has the same challenge having a bidirectional data line. The article shows and explains how to use two optocouplers to split the bidirectional dataflow and recombine it. This might be of help to you, if you can adapt it to the diffential signal lines somehow (if all else fails maybe with two CAN transceivers, one on each side)
Here is the article.
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Sun Dec 19, 2004 5:11 am     Reply with quote

A follow up:
You can't spare using CAN-bus transceivers on each side of the isolation border. These transceivers have splitted unidirectional data lines on their host side anyway, so there is no need for tricking this bidirectional thing into the circuit, just use one optocoupler on each direction per side. A total of four will be needed for one link. (you may have up to two or even four of them in one package)
This is also the way industrial CAN bus products are made, look at this Application Note at agilent.com: AN 1321- High Speed CMOS Optocoupler Applications in Industrial Field Bus Networks (search for "AN 1321" on their site)
Sandman



Joined: 26 Jan 2004
Posts: 15
Location: Kiruna, Sweden

View user's profile Send private message

PostPosted: Sun Dec 19, 2004 11:46 am     Reply with quote

Do you have to isolate the CAN-transceiver from the bus? Why?
If not: you could use ordinary optical (like opto-couplers) or digital (like; ADUM1XXX from analog div.) isolators between the PIC and the transceiver. This method is used in space application where redundancy and security is a major design factor which it also is in the medical industry.
The CAN transceivers are usually very good when it comes to stay functional in unfriendly environments.


Last edited by Sandman on Sun Dec 19, 2004 12:22 pm; edited 1 time in total
Yashu



Joined: 08 Oct 2003
Posts: 26

View user's profile Send private message

PostPosted: Sun Dec 19, 2004 12:01 pm     Reply with quote

libor wrote:
A follow up:
You can't spare using CAN-bus transceivers on each side of the isolation border. These transceivers have splitted unidirectional data lines on their host side anyway, so there is no need for tricking this bidirectional thing into the circuit, just use one optocoupler on each direction per side. A total of four will be needed for one link. (you may have up to two or even four of them in one package)
This is also the way industrial CAN bus products are made, look at this Application Note at agilent.com: AN 1321- High Speed CMOS Optocoupler Applications in Industrial Field Bus Networks (search for "AN 1321" on their site)


thanks for elaborating on what I assumed was obvious.
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: CAN bus optical isolation
PostPosted: Sun Dec 19, 2004 5:09 pm     Reply with quote

kender wrote:
Colleagues,
.... Optical isolation, however is directional....Nick


For the record this is no longer the case. With current generation optical multiplexers and transceivers, bidirection comms can be implemented over a single strand of fibre.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Tue May 03, 2005 11:02 am     Reply with quote

I see: the CAN-to-plain-serial chips are unavoidable. Although, CAN is becoming increasingly popular, and hopefully some day some company will make a CAN optoisolation chip, which would integrate all the necessary stuff.

Nick
MikeW



Joined: 15 Sep 2003
Posts: 184
Location: Warrington UK

View user's profile Send private message

here is a circuit
PostPosted: Wed May 04, 2005 12:41 am     Reply with quote

here is what you want.

check the circuit diagram, the PIC is opto isolated from the CAN network.


http://www.triangledigital.com/man2020f/ch7can.htm


Mike
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Thu May 05, 2005 1:49 am     Reply with quote

Thanks Mike!

I have also found this reference design, which is very similar:

http://www.slac.stanford.edu/~wtmeyer/detcon/can_optoiso.ps

If you can not open the PoscScript, I can send you the PDF[/url]
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Thu May 05, 2005 1:51 am     Reply with quote

By the way:

Is there a standard connector for CAN?
Is there a free version of a CAN bus spec?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu May 05, 2005 2:03 am     Reply with quote

For CAN bus connectors, we use this document:
CiA DR 303-1 V1.3: CANopen cabling and connector pin assignment

It's available here:
http://www.can-cia.org/downloads/ciaspecifications/
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Sat May 21, 2005 12:31 am     Reply with quote

PCM programmer,

I have requested the "CiA DR 303-1 V1.3: CANopen cabling and connector pin assignment" on the CiA web site, but they didn't send it to me. Could you send this document to me?

Nick
alexeev@stanford.edu
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group