hi every body,
can anybody help me out of this confusion...?
Why CAN bus has two lines..CAN_L and CAN_H
I tried to get the sollution for this from some of my friends..but cantget the exact answer..
Why it is using two lines
1. was it for the process of arbitration...?
2. or is the bit level data transmission (dominant or recessive) for CAN
bus using two lines for any purpose...?
or what is the main purpose of using two lines for CAN bus....??
plz help me out from this confusion in detail ...i will be greatly thank fullto you alllllllllllll
regards
KASU
regards
Yadunandan Kasu(Nandu)
Reply by ●May 17, 20072007-05-17
Hi,
CAN actually needs 3 lines, CAN_L, CAN_H and ground. It is a differential line,
where the the signal is represented by a differencs between CAN_L and CAN_H. If
the difference is positive and larger than a certain minimum voltage it is a
"1" and if the difference is negative it is a "0" (or theother way around, but
you get the picture). You can read more about differential signalling here
<http://en.wikipedia.org/wiki/Differential_signaling>.
It is done in this way because then you can have very long cable lengths with a
twisted pair type of cable. If a disturbance is affecting the cable, it is
affecting both wires in the same way, which then effectiviely is canceled out
since it isn't differential. Also the line is said to be balanced which means
that each node (or perhaps only the end nodes in a large network) are
terminated with the same impedance as the cable (normally around 120 ohms)
which cancels out reflections that would otherwise be a big problem for higher
communication speeds.
The ground is needed since it isn't a current loop type of circuit but a
voltage level (difference) circuit. The voltage with respect to ground has to
be within certain maximum limits. To be sure that the ground levels at both end
are at the same (or almost the same) level, the grounds have to be connected.
Hope this helps as a start. Here are another good link.
<http://www.interfacebus.com/Design_Connector_CAN.html>
Otherwise google is your friend.
Regards / Ruben
<http://rjjournal.zapto.org>
Reply by kasu nandu ●May 18, 20072007-05-18
Hi Jonsson,
I really thankful for you for such a useful information and i am clearwith the confusion with your reply ...
thanks alot for consuming your valluable time for me toexplain,
I wil go through the links u have send to me also...
thanks and regards
Kasu
Reply by Robert Boys ●May 20, 20072007-05-20
Hello
There are a couple of misconceptions here. Please see
http://www.dgtech.com/images/primer.pdf and especially Figure 5.
It is indeed true that the important characteristic is the difference
voltage between Can_Hi and Can_Lo and not their relationship to ground. It
is not necessary to even use the ground - I typically give demonstrations
with up to 20 nodes at 500 Kbps with only the two CAN wires - not ground -
not even an invisible one (i.e. through ground or earth of AC mains
supply). Telephones work like this - there are 2 differential lines plus
one or two ground leads. Now we all know we just need 2 wires to connect
our phone up ...right ? We only need the Plus and minus wires and it
works fine. (at least in USA and Canada - but others must be the same)
Further - in most differential signal schemes such as RS485, FlexRay and
J1708, CAN is a notable exception in its voltages. The two lines do not
"cross" each other to create these "negative" voltages...butrather they
come together to give zero volts difference (both lines are at about 2.5
volts) , or are pulled apart (Can_hi to 3.5 and Can_lo drops to about 1.5
volts) to give about +2.5 volts difference (between the hi and lo lines).
See Figure 5 on the link above.
When the difference is zero volts (both at about 2.5 volts) - this is
recessive or a logic 1.
When the difference voltage is about 2...this is dominant or a logic 0.
This is also how the arbitration scheme works. A node can pull the two
wires apart to create a "0", but can't force them together to create a"1".
Think open collector.
Also: you mention that external interference cancels out inside the node
because this signal will be in-phase while the wanted CAN signals are 180
degrees out of phase. This is true. BUT also: since the CAN signals are
108 out of phase, these high frequency signals cancel out as far as the
outside world sees them - this means the CAN wires (a transmission line) do
not act as a radio transmitter attracting the attention of the radio police
(i.e USA FCC). Therefore, no shielded cable is needed (as J1939
specifies). In fact, several manufacturers using J1939 are getting rid of
the shielded cable and notice no performance degradation.
While I am at it - ISO 18898 specifies a CAN network can tolerate a short
of either CAN signal to ground or one open lead (ground has to be intact
for this to work) and still function. Of course, this will be without the
benefits of the differential bus.
However, in practice it appears that many CAN transceivers are unable to
work with Can_Hi shorted to ground. This is apparently not meeting this
specification. However, J1939 (heavy duty truck and bus) specifies that
CAN will not work with Can_Hi shorted to ground but will with Can_Lo
shorted to ground. But, in this same document schematics of CAN
transceiver circuits using discrete components (no ICs) are shown meaning
this is an old document. I invite comment on this issue. Two
semiconductor companies have not responded to my questions on their
products (yet).
Hope this helps
Bob Boys
San Francisco, California
on temporary assingment to Detroit, Michigan.
Reply by ●May 20, 20072007-05-20
Hi,
Thank you for some interesting points regarding the CAN bus. See comments
below.
> Hello
>
> There are a couple of misconceptions here. Please see
> http://www.dgtech.com/images/primer.pdf and especially Figure 5.
>
> It is indeed true that the important characteristic is the difference
> voltage between Can_Hi and Can_Lo and not their relationship to ground. It
> is not necessary to even use the ground - I typically givedemonstrations
> with up to 20 nodes at 500 Kbps with only the two CAN wires - not ground-
> not even an invisible one (i.e. through ground or earth of AC mains
> supply). Telephones work like this - there are 2 differential linesplus
> one or two ground leads. Now we all know we just need 2 wires toconnect
> our phone up ...right ? We only need the Plus and minus wires and it
> works fine. (at least in USA and Canada - but others must be the same)
Running without ground may work in a close area where the different euipment on
the bus always is at the same, or almost the same, ground level. Remember that
the voltage level the transciever sees is relative it's own ground. All
circuits, including CAN transceivers, have an absolute maximum rating regarding
voltage with respect to ground on their inputs. This has to be addressed if the
ground level fluctuation differs between nodes in a bus. One way to do it is to
connect the grounds and force the different nodes to the same ground reference.
This may cause large ground loop currents though which in turn may be solved
using a buss isolated from the node grounds, which then has it's own ground
reference that doesn't fluctuate. Although the CAN bus isn't a current loop,
the transceiver circuits provides a (sort of) internal connection between the
bus and the ground and this makes a weak connection between the grounds in the
different nodes which makes the voltage level be within the maximum rating for
the circuits in most of the cases. However, without the extra ground wire, and
sometimes also with it, the tranceiver circuits has to be protected from
transients on the Can_Hi and the Can_Lo lines. With the extra ground wire, the
transient currents runs through the ground wire. If there is no ground wire you
must make sure there is a current path to the local ground through some
transient protection devices, such as TVS diodes, before the voltage levels
caused by the transient rises above the absolute maximum rating of the
transceiver, causing a breakdown in it.
Fluctuating ground differences, caused by heavy load equipment switching on and
off, for example, may also disturb high speed communication.
A telephone, on the other hand, is a completely different thing compared to a
CAN bus and it's voltage level signaling. It has only two wires because it uses
a current signaling interface, converting the current variations to sound and
vice versa, with a transformer. This method is also used with Twisted Pair
Ethernet communication. A transformer doesn't need a connection to ground since
the current goes through it the same way either with or without a ground
reference. And the secondary of the transformer is isolated from the primary,
making the secondary circuit isolated from the telephone line. Any voltage
biased on the primary will not go through to the secondary, as long as the
voltage difference is below the insulation breakdown voltage of the
transformer.
> Further - in most differential signal schemes suchas RS485, FlexRay and
> J1708, CAN is a notable exception in its voltages. The two lines do not
> "cross" each other to create these "negative"voltages...but rather they
> come together to give zero volts difference (both lines are at about 2.5
> volts) , or are pulled apart (Can_hi to 3.5 and Can_lo drops to about 1.5
> volts) to give about +2.5 volts difference (between the hi and lo lines).
> See Figure 5 on the link above.
>
> When the difference is zero volts (both at about 2.5 volts) - this is
> recessive or a logic 1.
> When the difference voltage is about 2...this is dominant or a logic 0.
>
> This is also how the arbitration scheme works. A node can pull the two
> wires apart to create a "0", but can't force them together tocreate a "1".
> Think open collector.
Yes, this is correct. I was thinking more about RS485 signals which doesn't
have the dominant/recessive part.
> Also: you mention that external interferencecancels out inside the node
> because this signal will be in-phase while the wanted CAN signals are180
> degrees out of phase. This is true. BUT also: since the CAN signalsare
> 108 out of phase, these high frequency signals cancel out as far as the
> outside world sees them - this means the CAN wires (a transmission line)do
> not act as a radio transmitter attracting the attention of the radiopolice
> (i.e USA FCC). Therefore, no shielded cable is needed (as J1939
> specifies). In fact, several manufacturers using J1939 are getting ridof
> the shielded cable and notice no performance degradation.
This is also correct and an important thing to keep in mind. EMC is not only
about not getting disturbed but also about not disturbing. A lot of times, as
here, these goes hand in hand though.
>
> While I am at it - ISO 18898 specifies a CAN network can tolerate ashort
> of either CAN signal to ground or one open lead (ground has to be intact
> for this to work) and still function. Of course, this will be withoutthe
> benefits of the differential bus.
>
> However, in practice it appears that many CAN transceivers are unable to
> work with Can_Hi shorted to ground. This is apparently not meeting this
> specification. However, J1939 (heavy duty truck and bus) specifies that
> CAN will not work with Can_Hi shorted to ground but will with Can_Lo
> shorted to ground. But, in this same document schematics of CAN
> transceiver circuits using discrete components (no ICs) are shownmeaning
> this is an old document. I invite comment on this issue. Two
> semiconductor companies have not responded to my questions on their
> products (yet).
>
Good to know.
Regards / Ruben
<http://rjjournal.zapto.org>
Reply by theobee00 ●May 21, 20072007-05-21
--- In 6..., Robert Boys wrote:
>
> Hello
>
> There are a couple of misconceptions here. Please see
> http://www.dgtech.com/images/primer.pdf and especially Figure 5.
>
> It is indeed true that the important characteristic is the difference
> voltage between Can_Hi and Can_Lo and not their relationship to ground. It
> is not necessary to even use the ground - I typically givedemonstrations
> with up to 20 nodes at 500 Kbps with only the two CAN wires - not ground-
> not even an invisible one (i.e. through ground or earth of AC mains
> supply). Telephones work like this - there are 2 differential linesplus
> one or two ground leads. Now we all know we just need 2 wires toconnect
> our phone up ...right ? We only need the Plus and minus wires and it
> works fine. (at least in USA and Canada - but others must be the same)
>
> Further - in most differential signal schemes such as RS485, FlexRay and
> J1708, CAN is a notable exception in its voltages. The two lines do not
> "cross" each other to create these "negative"voltages...but rather they
> come together to give zero volts difference (both lines are at about 2.5
> volts) , or are pulled apart (Can_hi to 3.5 and Can_lo drops to about 1.5
> volts) to give about +2.5 volts difference (between the hi and lo lines).
> See Figure 5 on the link above.
Looks like roughly designed for TTL input levels.
I am not very familiar with the can spec, but like all these differentialcurrent schemes there are two options, either direct connected or isolated.
If there is a direct galvanic connection and you have no earth reference pointyou are in effect relying on input protective devices and the generated outputlevels to keep the system operating within the power supply ranges, not a veryrobust scheme in my view, maybe usable if you work of one supply voltage like ina car and you rely on distributed earth.
In theory you should also be able to short either line to ground or power, youwould still have a differential input, of course unless there is an isolationscheme this would result in an inverted signal in fifty percent of the cases,most receivers would not like that.
Since I just woke up (five in the morning) and are operating on only onecylinder feel free to disagree:-)
Regards
Theo
Reply by Jefferson Smith ●May 23, 20072007-05-23
--- In 6..., "Ruben Jsson" wrote:
> Running without ground may work in a close areawhere the different
> euipment on the bus always is at the same, or almost the same,
> ground level. Remember that the voltage level the transciever sees
> is relative it's own ground. All circuits, including CAN
> transceivers, have an absolute maximum rating regarding voltage with
> respect to ground on their inputs. This has to be addressed if the
> ground level fluctuation differs between nodes in a bus. One way to
> do it is to connect the grounds and force the different nodes to the
> same ground reference. This may cause large ground loop currents
> though which in turn may be solved using a buss isolated from the
> node grounds, which then has it's own ground reference that doesn't
> fluctuate. Although the CAN bus isn't a current loop, the
> transceiver circuits provides a (sort of) internal connection
> between the bus and the ground and this makes a weak connection
> between the grounds in the different nodes which makes the voltage
> level be within the maximum rating for the circuits in most of the
> cases. However, without the extra ground wire, and sometimes also
> with it, the tranceiver circuits has to be protected from transients
> on the Can_Hi and the Can_Lo lines. With the extra ground wire, the
> transient currents runs through the ground wire. If there is no
> ground wire you must make sure there is a current path to the local
> ground through some transient protection devices, such as TVS
> diodes, before the voltage levels caused by the transient rises
> above the absolute maximum rating of the transceiver, causing a
> breakdown in it.
Note to all, I hope the information I give is useful, as it is
priceless to me...
LOL!
Ruben, I don't really try to step on toes--I don't know if you can
see the problem, but your statements appear awefully misleading and
somewhat incorrect to me, so I want to clarify...
You talked about "running without ground", but what do you mean,
really? Technically, such an idea does not even exist. I suppose you
meant using only one wire for a signal, and relying on a common power
supply ground or such for the reference. In other words, not running
two wires directly between the boards (signal and reference, which is
often common ground). Well, do you understand what CANH and CANL are?
They are the "differential" pair, which works the same as the twowire
(signal and ground), only more helpful in long distances because it
avoids ground loops. Note that there is only one signal level at any
time on a CAN bus, though the MCU itself uses one pin for each
direction of communication (CANRX,CANTX), which does NOT DIRECTLY
CORRESPOND to CANL and CANH on the bus.
You seemed to indicate that a CAN bus is not a current loop, but you
should know that the current loop is more important than voltage. That
is why there are strict recommendations for the termination resistance
of each CAN node. The drivers depend on enough current flowing, to be
reliable at long distances!
Trust me, this technology is well used on the expensive automobiles;
the manufacturers are not being naive about these issues ;-)
There is an excellent purpose for using the common GND surrounding
CANL/CANH wires on a cable. It is not for GND reference. It is to
allow shielding of the cable, to avoid RF radiation or interference.
Hope this helps enlighten all. Note that I'm not here to argue, just
drop this information. Thanks for tuning in ;-)
Reply by theobee00 ●May 23, 20072007-05-23
> Note to all, I hope the information I give isuseful, as it is
> priceless to me...
>
> LOL!
> Ruben, I don't really try to step on toes--I don't know if you can
> see the problem, but your statements appear awefully misleading and
> somewhat incorrect to me, so I want to clarify...
>
> You talked about "running without ground", but what do youmean,
> really? Technically, such an idea does not even exist. I suppose you
> meant using only one wire for a signal, and relying on a common power
> supply ground or such for the reference. In other words, not running
> two wires directly between the boards (signal and reference, which is
> often common ground). Well, do you understand what CANH and CANL are?
> They are the "differential" pair, which works the same as the twowire
> (signal and ground), only more helpful in long distances because it
> avoids ground loops. Note that there is only one signal level at any
> time on a CAN bus, though the MCU itself uses one pin for each
> direction of communication (CANRX,CANTX), which does NOT DIRECTLY
> CORRESPOND to CANL and CANH on the bus.
>
> You seemed to indicate that a CAN bus is not a current loop, but you
> should know that the current loop is more important than voltage. That
> is why there are strict recommendations for the termination resistance
> of each CAN node. The drivers depend on enough current flowing, to be
> reliable at long distances!
Ruben said the CAN bus is not a current loop, that is because such aconfiguration forms a transmission line with a defined cable impedance and aterminating resistor to match.
That is also where the confusion stems from, the drivers would need to supplyenough current to drive the termination resistor, i.e. an output to supplycurrent, but it is not what is known as a current loop, these assume low freq.or DC levels.
Of course the higher the freq. and the longer the distance the closer the actualcabling needs to match this characteristic impedance, say coax comes in closelydefined impedance ranges same for cat5 and other such schemes.
You may remember the "terminating" caps you needed to fit to unusedreceivers in distributed systems, they could not be left open, same for extraoutlets on the TV cable, they have a resistor built in.
A perfectly balanced and matched transmission line would not interact with theexternal environments at all, all transmitted energy is dumped in the cable andterminating resistor, nothing gets reflected or radiated and no radiation entersthe system.
But just in case there is a flaw in all this perfection, like a bend in thecable or a cable made with bell wire for example spoiling the impedance, ashield is often a good idea to improve noise immunity and by coincidence alsocan provide the ground reference in cheapass systems were you want to save theexpense of isolation.
The teacher's interminable ramblings about organ pipes in an engineering coursehad a purpose other then get the students to attend church.
> There is an excellent purpose for using the commonGND surrounding
> CANL/CANH wires on a cable. It is not for GND reference. It is to
> allow shielding of the cable, to avoid RF radiation or interference.
Hmm, not quite, Ruben is quite correct, you -always- need a ground referencesomewhere to stay in the operating range of the receivers, a different issuefrom balanced lines.
If you do not provide one, the protective input devices will form one for you, a"weak" Earth as Ruben calls it.
If you are using some form of isolation on the receiver you still need a zeroreference, say the Ethernet cards I use have Itsy Bitsy transformers on theirbalanced inputs to provide isolation and a relatively high value resistor tosome form of ground reference like case and power ground to avoid exceeding thevoltage spec on the isolators..
I note a direct coupled system is not a good idea for systems that can havesubstantial differences in ground potential, ground loop currents in shields arenot a good thing, maybe not an issue in cars with all potentials close toground.
Cheers,
Theo
Reply by Robert Boys ●May 24, 20072007-05-24
Hello
This is becoming quite the discussion. This is interesting as we are
looking at some assumptions many people have that might not be entirely
true.
Today I connected up two Dearborn Group S3 analyzers (
www.dgtech.com/~rboys/flyers/s3.pdf ).
Each S3 has two dual wire CAN channels and they are not isolated with
galvanic or opto isolators. I chose the S3 because of this. I figured the
isolators in the other analyzers DG has might interfere with my experiment.
Each has two Philips SJA1000 CAN controller chips and I think they also are
using Philips transceiver chips.
I made a small network about 1 meter long with two 120 ohm termination
resistors - one at each end of my small network.
Three wires: CAN_Hi and CAN_Lo and a ground. I can easily disconnect or
short these three wires together.
So - my small network contains 4 CAN nodes - two connected at each end of
the network (no drop lines).
Speed 500 Kbps. Sending a CAN message from one node to the other three
every 50 msec..
When I do this the CAN traffic stops:
- short hi to ground.
- open either hi or low with ground attached or not (makes no difference).
- short hi and lo together.
When I do this it does not matter - CAN continues with no error frames or
other discernable misfortune:
- short lo to ground
- disconnect the ground wire.
I found this interesting because I had read that CAN should work with one
of the hi or lo open if the ground is intact. I was at Chrysler the other
day and when we disconnected either one on a mockup car - the CAN network
stopped !
Now - concerning the ground:
It did not seem to make any difference whether it was connected or not.
This makes some sense as the CAN signals are supposed to be reference to
each and not ground.
I did not subject the network to any nasty stuff.
I then connected a lab power supply between the grounds of the S3 analyzers
(of course with the ground disconnected) and I saw no difference with the
two grounds 0 to 40 volts apart - polarity was tried both ways.
No difference was seen. No smoke, no error frames and no bus-off. Just
worked fine.
Bob Boys
on temporary assignment in Detroit, Michigan
Reply by Jordi Costa ●May 25, 20072007-05-25
> I found this interesting because I had read thatCAN should work with one of the hi or lo open if the ground is intact. I was atChrysler the other day and when we disconnected either one on a mockup car - theCAN network stopped !
There is a kind of "fault tolerant CAN transceivers" capable ofmaintain communication under some fault conditions: no differential mode (onewire open), some shorts, etc., with reduced noise immunity and reliability, andreporting failure to CPU. They were developed for automotive app. (short wiring& good ground).
Regards,
Jordi Costa
Previous1234Next
FAQs
Why does CAN bus have 2 wires? ›
One wire is called CAN High and one wire is called CAN Low. Both wires are needed for proper communication. A device which is connected to the bus is called a 'Node'. There are always two or more nodes required on the CAN network to communicate.
What is CAN_H and Can_l? ›In a CAN bus network, cables with twisted wires (CAN_H and CAN_L) form the CAN bus line. Both CAN_H and CAN_L carry the same voltage under the idle mode of a CAN bus network. While transmitting data, CAN_H carries a higher voltage compared to CAN_L and generates a differential voltage between the lines.
What is the difference between CAN H and CAN L? ›The CAN-L waveform switches from 2.5 V down to 1.5 V and the CAN-H waveform switches from 2.5 V up to 3.5 V. The low and high voltages and transitions between them are without significant noise or distortion. Two complete CAN messages, with each having a more pronounced voltage at the end.
What is the difference between dominant and recessive bits on a CAN bus? ›The CAN specifications use the terms "dominant" bits and "recessive" bits, where dominant is a logical 0 (actively driven to a voltage by the transmitter) and recessive is a logical 1 (passively returned to a voltage by a resistor). The idle state is represented by the recessive level (Logical 1).
How many wires does CAN bus use? ›The CAN-bus uses 3 wires (CANH, CANL, GND) for communication between nodes. The CANH and CANL signal form a differential signal pair. Differential signals are much more immune against external influences such as high voltage wiring, inductive loads, ...
Why are CAN bus wires twisted? ›CAN bus cable consists of a pair of wires known as CAN high and CAN low (indicating high and low speed, respectively). Both wires are twisted tightly together to ensure that electromagnetic interference affects the signal in both wires uniformly, limiting errors.
What is the voltage level of canh and canl? ›For 5V CAN, CANH and CANL are weakly biased at about 2.5V (VCC/2) during recessive. The recessive common-mode voltage for 3.3V CAN is biased higher than VCC/2, typically about 2.3V.
What voltage level is CAN bus? ›Standard CAN bus transceivers operate over a limited common mode voltage range that extends from −2V to +7V. In commercial or industrial environments, ground faults, noise, and other electrical interference can induce common mode voltages that greatly exceed these limits.
What should CAN bus voltage be? ›Checking CAN Voltage
The resulting voltage should be between 2.5 and 3.0VDC. At the same location, measure voltage between CAN LOW and GROUND. The resulting voltage should be between 2.5 and 2.0 VDC.
The signal is broadcast over two communication wires to ensure signal integrity is maintained, these wires are twisted together and are referred to as CAN High and CAN Low. To ensure messages of the highest priority are transmitted first, an arbitration field is part of the message structure.
CAN H and CAN L shorted? ›
CAN is a differential protocol. That means 0 or 1 (to be specific, dominant and recessive) is decided on the basis of the difference between voltages on the CANH and CANL lines. When you short these two lines, there will not be any voltage difference and that falls under the voltage range of recessive bits.
How do I identify a CAN bus wire? ›Typical places to pick up CAN include the ABS system (look for a pair of twisted wires, but ignore the four wheel speed wires) or on the back of the dashboard (look for a pair of twisted wires). If the vehicle does have CAN Bus on the OBD connector, it will normally be on Pins 6 and 14 as indicated below.
Why zero is dominant in CAN? ›A zero volt on CAN bus is an ideal state of the bus. When CAN high line is pulled up to 3.5 volt and the CAN low line is pulled down to 1.5 volt, then the bus's actual differential voltage would be 2 volts. It is treated as a dominant bit or logic 0 by the CAN transceiver.
Why zero is dominant in CAN protocol? ›CAN protocol is based on Wired AND logic. Wired AND logic means – 0 is dominant. Meaning of Zero dominant is that whenever there is a conflict in two data transmissions, then the sender who is sending 0 will get the priority.
Why 0 is called dominant in CAN protocol? ›Dominant applies to 0 because if two arbitration ID's are being transmitted at the same time and the first 4 bits are the same and the fifth is 0 for one of them and 1 for the other, the ID with the 0 will end up being transmitted.
What is a 2 wire bus? ›High reliability 2-wire bus systems incorporate two master controllers in a redundant configuration, to maintain system operation if one master fails or is removed. In a redundant configuration, each master is connected to its own 2-wire bus, while all of the slaves are connected to a single downstream redundant bus.
What is CAN bus explained? ›The Controller Area Network (CAN bus) is the nervous system, enabling communication. In turn, 'nodes' or 'electronic control units' (ECUs) are like parts of the body, interconnected via the CAN bus. Information sensed by one part can be shared with another.
What are the colors of CAN bus wire? ›CAN is generally wired with yellow and green wire with yellow acting as the CAN-High and green as the CAN-Low signals. Many devices show this yellow and green color scheme to indicate how the wires should be plugged in.
Do CAN bus wires need to be twisted? ›All CANBUS wire must be twisted pair cable, even short lengths (longer than 1 inch / 2 cm). The twisted pair wire is an essential part of how the differential mode filtering works on CANBUS, and without it, the signal can be easily distorted.
What is the purpose of twisting wires? ›To prevent noise, signal interference and crosstalk during transmissions, twisting is introduced into conducting cables. Twisting reduces the strength of noise signals and cancels out external waves by moving a part of the noise in the direction of the signal and another part in the opposite direction.
Does CAN bus need a ground? ›
Not only is it necessary, it is required by the CAN standard. Needless to say, there needs to be some sort of common ground reference between two electronic devices, or all bets are off if they try to communicate.
What happens if Canh and Canl are shorted? ›If CANH and CANL are shorted to a supply and the transceiver is not able to overdrive the supply, the receiver will always see a fixed signal on the CAN bus.
CAN bus high and low voltage? ›There are two wires used for communication that transmit data at the same time. They are called CAN Hi (High) and CAN Lo (Low) and have different voltage levels that are interpreted by each controller (called CAN Nodes). CAN Hi usually measures from 2.5V to 3.75V while CAN Lo measures from 2.5V to 1.25V.
What is bus voltage too high? ›This Error occurs when the internal bus voltage exceeds its expected limits. This can be caused by several causes, one of them is that both the solar and battery module are trying to create/maintain the internal bus voltage, causing the voltage to rise rapidly.
Where does CAN bus get power? ›Charge pumps are often the best choice for powering a CAN-bus application that requires a combination of low-power, low-voltage operation and low cost.
Why 120 ohm is used in CAN? ›For best results, the CAN bus termination should match the nominal impedance of the cables, which for ISO 11898-2 (high speed CAN) is specified at 120 Ohm. Hence 120 Ohm termination adaptors are considered the standard for CAN bus.
How much current is in CAN bus? ›The CAN bus is referenced to 3.3V, and thus the recessive and dominant voltages are different compared to a more typical 5V CAN transceiver. Microcontrollers only connect to the logic pins of a CAN transceiver, such as TXD, RXD, and STB; they do not interface with the actual CAN bus.
How many ohms does a CAN bus have? ›The resistance of the CAN bus terminal is usually 120 ohms. Two 60 ohm resistors are linked in series in the design, and there are usually two 120 ohm nodes on the bus.
What causes bus voltage to drop? ›As the speed of the motor increases, and/or as the load on the motor increases, the DC bus voltage is dropping and the motor current is increasing, while the main input voltage stays the same or drops very slightly. When you measure the incoming voltage with a voltmeter, you are measuring the RMS voltage.
How much resistance should a CAN bus have? ›It is important that there are just two bus termination resistors installed or configured in a CAN network. This can be checked easily by powering down all CAN devices and measuring the resistance in between the "CAN High" and "CAN Low" wires. The measured resistance must be approximately 60 Ohm.
CAN Hi and CAN low wires? ›
CAN high / CAN low. CANconsists of two dedicated wires for communication. These wires are called CAN high (CAN_H) and CAN low (CAN_L). When the CANbus is in idle mode, both of these lines carry 2.5V but when data bits are being transmitted, the CAN high line goes to 3.75V and the CAN low drops to 1.25V.
What is the resistance between CAN high and CAN low? ›CAN Bus - Demystified - Techmor. Line Resistance (Between CAN High and CAN Low) should read 60 ohms. Products: Check out the many Techmor products with CAN Bus capabilities, including LINC connectivity to Smartphones and Tablets.
How do you diagnose a CAN bus fault? ›To test, disconnect the device (under test) from the CAN bus. Make sure power is off to the CAN device under test. Measure resistance from CAN HI to Ground and from CAN LOW to Ground. The result should be Mega ohms or open.
What causes CAN bus errors? ›CAN bus errors can occur for several reasons - faulty cables, noise, incorrect termination, malfunctioning CAN nodes etc. Identifying, classifying and resolving such CAN errors is key to ensuring the continued performance of the overall CAN system.
How do you test a CAN bus terminator? ›To check your network's termination, disconnect the CAN interface's D-sub 9 pin from the network and measure resistance through the cable by placing a digital multimeter / ohmmeter between pin 2 and 7. Make sure any CAN nodes e.g. a motor controller, are still attached but powered down.
What type of wiring is used in CAN bus? ›The CAN bus uses a twisted pair of wires called CAN high (CAN-H) and CAN low (CAN-L) to send the data frames, although other types of wiring like coaxial cables or fibre optics can be used as well.
How do I know if I need a CAN bus? ›If the vehicle warns you when a bulb is out, it is equipped with CAN Bus. The easiest way is to contact the vehicle's supplier or dealership. If you're still not sure, we normally tell customers to remove a light and drive the vehicle to see if it gives a warning.
What is the difference between full CAN and basic CAN? ›Full CAN can be used only for receiving a single type of message per mailbox, whereas Basic CAN configuration can accept messages with a range of identifiers per mailbox. The random transaction rate (RTR) feature is available only for the mailbox that is set as Full CAN. Basic CAN does not have the RTR feature enabled.
What are the different types of CAN protocol? ›There are four types of CAN messages, or “frames:” Data Frame, Remote Frame, Error Frame and Overload Frame. The data frame is the standard CAN message, broadcasting data from the transmitter to the other nodes on the bus. A remote frame is broadcast by a transmitter to request data from a specific node.
What are the basics of CAN? ›CAN allows for four different message types. They are the data frame, remote frame, overload frame, and error frame. A standard CAN data frame makes use of the identifier, the data, and data length code, the cyclic redundancy check, and the acknowledgment bits. Both the RTR and IDE bits are dominant in data frames.
What is the difference between LIN and CAN? ›
As LIN is single wire-based interface, it reduces the cost and the complexity of implementation. LIN is self-synchronized and therefore no need of external oscillators. LIN is the best and the most suited alternative to the CAN for applications that do not need high bandwidth and that are of low speed.
Why only CAN protocol is used in automotive? ›With the help of the CAN bus system, which allows ECUs to communicate with each other without much complexity by just connecting each ECU to the common serial bus. Hence when compared with the other protocols used in automotive systems i.e., CAN vs LIN, CAN is robust due to less complexity.
Where is CAN protocol used? ›The Controller area network or CAN protocol is a method of communication between electronic devices embedded in a vehicle, such as the engine-management systems, active suspension, central locking, air conditioning, airbags, etc.
What is the difference between I2C and CAN? ›CAN is a message based protocol. I2C is a address based protocol. In CAN each node can behave as Master or Slave. *In I2C the slave device can't be a master.
What is synchronization in CAN protocol? ›The SYNC protocol provides the basic network synchronization mechanism. The SYNC producer triggers the synchronization object (SYNC) periodically. The transmission period of this SYNC protocol is configurable. Any CANopen FD device can be configured as SYNC consumer.
What are the 2 basic types of wiring associated in CAN bus systems? ›The CAN bus uses two wires for communication - CAN low and CAN high (CANL and CAN H). ISO 11898-2 describes the physical layer of the CAN bus and ISO 11898-1 describes the data link layer.
Which bus system is a two wire system? ›High reliability 2-wire bus systems incorporate two master controllers in a redundant configuration, to maintain system operation if one master fails or is removed. In a redundant configuration, each master is connected to its own 2-wire bus, while all of the slaves are connected to a single downstream redundant bus.
CAN bus system consists of two wires What are these two wires called? ›A CAN bus enables communication using two wires: CAN low (CAN L) and CAN high (CAN H).
How do I identify a CAN wire on a bus? ›Typical places to pick up CAN include the ABS system (look for a pair of twisted wires, but ignore the four wheel speed wires) or on the back of the dashboard (look for a pair of twisted wires). If the vehicle does have CAN Bus on the OBD connector, it will normally be on Pins 6 and 14 as indicated below.
How do you check a CAN wire on a bus? ›Unplug the connector from the device. Measure resistance on the connector pins of the device between CAN HI and CAN LOW. The resulting resistance should be between 28k – 50k ohms. Measure resistance between CAN HI and GROUND.
What is the difference between Lin and CAN? ›
As LIN is single wire-based interface, it reduces the cost and the complexity of implementation. LIN is self-synchronized and therefore no need of external oscillators. LIN is the best and the most suited alternative to the CAN for applications that do not need high bandwidth and that are of low speed.
How does a CAN bus system work? ›A CAN bus works by allowing any device in the network to create a “data frame”, the standard message format, and transmit it sequentially. If more than one device transmits at the same time, the highest priority device continues while the others wait.
What are the two parts of the system bus? ›- Data bus: The data bus carries the actual data between the computer's main processor, the memory and all other internal hardware components. ...
- Address bus: The address bus tells the system where data comes from or goes.
The term “bus” is used to represent a group of electrical signals or the wires that carry these signals. As shown in Figure 1.5, the system bus consists of three major components: an address bus, a data bus, and a control bus. memory. Furthermore, each data transfer can move 64 bits of data.
What is two bus structure? ›Multiple bus structure. The same bus is shared by three units (Memory, Processor, and I/O units). The two independent buses link various units together. One common bus is used for communication between peripherals and processors. Two buses are used, one for communication from peripherals and the other for the processor ...
WHY CAN bus has 2 resistors at both ends? ›Terminal resistors are needed in CAN bus systems because CAN communication flows are two-way. The termination at each end absorbs the CAN signal energy, ensuring that this is not reflected from the cable ends. Such reflections would cause interference and potentially damaged signals.
Why are busses attached to wires? ›Electric trolley buses are rubber-tired vehicles with motors powered by electricity from overhead wires. “Trolley” refers to the trolley poles on the roof of the bus that are used to transmit the electricity from the overhead wires.
What is the difference between CAN bus and Modbus? ›Modbus is a defacto industry standard PROTOCOL. CANbus is a hardware w/low level protocol communications standard. CANbus gives you an electrical specification, media specification and how to get data packets across some wires.