What is ethernet bringing to the picture?
What is ethernet bringing to the picture?
My Chevy Volt had 4 different CAN buses and one additional LIN bus.
This can all be replaced with just two Ethernet buses: for safety-critical and non-critical uses. And the gigabit speed provides plenty of bandwidth for any reasonable sensor traffic, even including camera feeds.
The current architecture was justified in 90-s when LIN PHYs were an order of magnitude cheaper than even CAN PHYs. Now Gigabit Ethernet PHYs cost less than a dollar.
The "main" bus was saturated with data, more than 80% of bandwidth utilization at 512kbs. And it kinda had a mix of everything, from street names to be displayed on the dashboard to ECU messages. The other two buses had some random messages, with no rhyme or reason for the split ( https://vehicle-reverse-engineering.fandom.com/wiki/GM_Volt ).
Over 3 orders of magnitude faster datarates.
CAN FD: up to 5Mb/s
Automotive Ethernet: up to 10 Gb/s
60 Hz * 3840 * 2160 * 14bit is 6.96 Gbps.
What you'll actually be sending is a high bitrate mpeg stream, probably 54Mbps or thereabouts, you could probably fit 50x camera streams on a shared 10Gbps bus.
Bandwidth: you can't ship backup camera video or entertainment system audio over CAN, for example.
CAN was meant for short, real-time packets. 8 bytes in initial configuration. CAN FD allows 64 byte packets.
You spend a LOT of protocol doing packet fragmentation and assembly using CAN--which then negates a lot of the real-time guarantees.
CAN should be used for the short safety critical stuff. Ethernet should be used for everything else.
10BASE-T1S is a new standard geared for automotive. It uses physical layer collision avoidance instead of classic Ethernet exponential backoff. This provides deterministic maximum latency.
Though you can get max latency guarantees with switched Ethernet and the appropriate switch QoS and hardware.
More speed and zonal architecture:
* https://www.electronicdesign.com/markets/automotive/article/...
* https://www.bosch-mobility.com/en/solutions/control-units/zo...
They can probably develop for a car ethernet lan with a desktop pc and car "peripherals".
Not that there aren't canbus cards for pcs, but still.
I can imagine a container to simulate each hardware unit, a small inter-contaner lan, and develop code that way.
I think the bigger factor is that innovation in the CAN ecosystem has been lagging behind Ethernet for decades now. Only reason it's had such staying power is industry inertia.
1. https://netmodule-linux.readthedocs.io/en/latest/howto/can.h...