VansAirForceForums  
Home > VansAirForceForums

- POSTING RULES
- Donate yearly (please).
- Advertise in here!

- Today's Posts | Insert Pics


Go Back   VAF Forums > Avionics / Interiors / Fiberglass > Glass Cockpit
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 08-26-2016, 10:13 AM
jdeas's Avatar
jdeas jdeas is offline
 
Join Date: Mar 2006
Location: SoCal
Posts: 626
Default CAN bus basics

Quote:
Originally Posted by KatieB View Post
Kindof off-topic, but since we're talking CAN Bus... What exactly happens if a node is too long?
I have not worked on the Garmin implementation but in general, the speed of the CAN bus determines the maximum cable length. This is nessisary for CAN to resolve communication conflicts if more than one device tries to use the bus at the same time (auto negotiate without any loss of data).

If the wire is too long, bus conflict errors can result. Garmin most likely has some secondary error correction on top of this.
__________________
JD
----------------------
RV-7 N314SY (KWHP)
IO-360-B1B

CANbus based trim/flaps and electrical
Reply With Quote
  #12  
Old 08-26-2016, 11:03 AM
KatieB's Avatar
KatieB KatieB is offline
 
Join Date: Jun 2010
Location: Stilwell, KS
Posts: 1,096
Default

Quote:
Originally Posted by jdeas View Post
I have not worked on the Garmin implementation but in general, the speed of the CAN bus determines the maximum cable length. This is nessisary for CAN to resolve communication conflicts if more than one device tries to use the bus at the same time (auto negotiate without any loss of data).

If the wire is too long, bus conflict errors can result. Garmin most likely has some secondary error correction on top of this.
If this conflict scenario happens, can it show up as an intermittent network error, or would the system just not work at all?
__________________
Katie Bosman
RV-3B sold, but flying!
Next project: ???
Builders gonna build...
Reply With Quote
  #13  
Old 08-26-2016, 06:27 PM
N96TJ N96TJ is offline
 
Join Date: Sep 2011
Location: Costa Mesa, CA
Posts: 28
Default

Quote:
Originally Posted by KatieB View Post
Kindof off-topic, but since we're talking CAN Bus... What exactly happens if a node is too long?
This is a simple question with a can of worms answer.

Longer nodes degrade the signal quality and if it degrades enough there will be transmission errors. These errors will not sneak through unnoticed, the CAN bus will detect them and tell the sending device to try again. As long as there are not too many errors you will never know there was a problem.

When you start getting too many errors then good data is not getting through, you just have a lot of failed retries. The CAN bus never gives up, it keeps trying but eventually the Garmin software says "enough, this isn't working" and gives you the "red X".

So how long is too long? The early G3X manuals specified the maximum node length at 1 meter and say "shorter is better". The latest versions say the maximum is 1 foot. I will bet there are many 1 meter nodes out there working just fine, and a few that didn't.

It is tricky because the signal integrity is effected by the entire network, not just one node. If all your nodes are short except for one you might be fine. If they are all 1 meter long then maybe not. I made all mine about 6 inches.
__________________
Tom Johnson
RV6 @ Chino, CA
Reply With Quote
  #14  
Old 08-27-2016, 09:43 AM
KatieB's Avatar
KatieB KatieB is offline
 
Join Date: Jun 2010
Location: Stilwell, KS
Posts: 1,096
Default

Tom, thanks, that helps me imagine what's going on.

I work with the G3X Touch system every day at my day job. We haven't had any known problems with the CAN bus so far after 6 completed airplanes, but I know there is still a lot to learn. So, I've signed up for the G3X Touch installation class and looking forward to it very much!
__________________
Katie Bosman
RV-3B sold, but flying!
Next project: ???
Builders gonna build...
Reply With Quote
  #15  
Old 08-27-2016, 10:11 AM
g3xpert's Avatar
g3xpert g3xpert is offline
 
Join Date: Sep 2010
Location: Olathe, KS
Posts: 2,882
Default

Hello all,

The title of this thread is a bit off the mark... although CAN is the primary interface to connect devices in the G3X system, of course we provide the most critical components in a G3X system (namely the ADAHRS, and optionally the engine interface) with redundant mechanisms for communicating with the pilot's display screen.

The CAN network interface has been around for more than 30 years, and has been used in millions of automotive and industrial applications. If you drove a car today, you probably used a CAN bus. In a proper installation, which is easily achievable by following a set of simple principles, CAN is highly reliable and fault-tolerant.

In the latest revision of the G3X installation manual (Rev Z), the section on CAN network installation and troubleshooting (section 2.3.1.3) has been rewritten to be more user-friendly, including plenty of examples. We encourage anyone with questions about the G3X CAN bus to check it out.

- Matt
__________________
Garmin G3X Support
g3xpert@garmin.com
1-866-854-8433 - 7 to 7 Central Time M to F
Please email us for support instead of using Private Messaging due to the limitations of the latter.

Last edited by g3xpert : 08-27-2016 at 10:24 AM.
Reply With Quote
  #16  
Old 06-23-2017, 01:42 PM
dcollins dcollins is offline
 
Join Date: Mar 2016
Location: Mogollon Airpark, Overgaard Arizona
Posts: 4
Default

In my day job as an embedded programmer I've worked with CAN bus for almost 20 years. It's exceedingly robust, and you can violate lots of rules and it still works (I've seen nasty unplanned "star" networks in piles of wires on the floor - also at a NMEA2000 "plug fest" where a dozen companies plugged into the same bus at the same time, physically strung out in a hotel ball room, I've seen huge numbers of devices communicating simultaneously). Although obviously doing it by the book is best.
At a hardware level, CAN devices track message failures and the hardware will stop attempting to transmit after a certain number of failures. Sometimes network protocols will tell you to restart the device (like ISOBUS, the CAN network for farm tractors). But that has to be a deliberate software effort. I've seen CAN networks function with missing terminators, or terminators in the middle of the network, or extra terminators. If you wire it as Garmin tells you (ISO 11898 standards), it's nearly impossible to kill it, outside of major wiring failures.
Reply With Quote
  #17  
Old 06-23-2017, 04:59 PM
SMO's Avatar
SMO SMO is offline
 
Join Date: Oct 2007
Location: Salmon Arm, BC
Posts: 933
Default

Quote:
Originally Posted by dcollins View Post
...... it's nearly impossible to kill it, outside of major wiring failures.
As long as you define getting one strand of the wire shield contacting the bus wire as a "major wiring failure". Since fixing that issue it has been rock solid.
__________________
Mark Olson
1987 RV-4 Sold
2003 Super Decathlon - Sold
F1 EVO Rocket, first flight May 31/14
First in line for the Sonex JSX-2T kit
Reply With Quote
  #18  
Old 06-24-2017, 12:47 PM
lr172 lr172 is offline
 
Join Date: Oct 2013
Location: Schaumburg, IL
Posts: 5,277
Default

Quote:
Originally Posted by SMO View Post
As long as you define getting one strand of the wire shield contacting the bus wire as a "major wiring failure". Since fixing that issue it has been rock solid.
I believe that just about anyone with electrical knowledge, and even most without, would consider introducing an un-specified ground into a circuit as a MAJOR wiring failure. One strand or 100 strands, a ground is a ground.

Larry
__________________
N64LR - RV-6A / IO-320, Flying as of 8/2015
N11LR - RV-10, Flying as of 12/2019
Reply With Quote
  #19  
Old 07-04-2017, 06:40 AM
paulmiller's Avatar
paulmiller paulmiller is offline
 
Join Date: Jul 2016
Location: Calgary and Spruce Creek
Posts: 119
Default

It is also called a "short circuit". Fortunately, this was not on a power cable. Building a CANBUS harness and checking the hi and lo and shield connections from node to node is quite simple. In fact, checking all your wiring for continuity and shorts is pretty simple. A short circuit is the exact opposite of the goal to isolate and insulate individual wired paths so I'd say it was more of an error by the builder and not a failure where something broke.

Yes, I've had CANBUS problems when I first started. I stripped the signal wires using 24 slot and I had 22 wire and I also had an old batch of solder sleeves that did not flow properly. it did not pass the first power-up.

CANBUS is great on the G3X when built as directed.
Reply With Quote
  #20  
Old 09-26-2017, 02:10 PM
bnt83 bnt83 is offline
 
Join Date: Sep 2014
Location: Lincoln NE
Posts: 77
Default

Can you wire a CANBUS through disconnects like at a wing root or is everyone running one-piece wires from each equipment's connector?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:52 PM.


The VAFForums come to you courtesy Delta Romeo, LLC. By viewing and participating in them you agree to build your plane using standardized methods and practices and to fly it safely and in accordance with the laws governing the country you are located in.