by myself248 · 4y ago · 0 comments
One is the Single Pair Ethernet industrial partner network mentioned in this post:
https://www.single-pair-ethernet.com/en
which seems to be standardized as 802.3cg and calls itself 10base-T1L.
The second is the One-Pair EtherNet (OPEN) Alliance:
which seems to be standardized as 802.3bw and calls itself 100base-T1 and 1000base-T1. I believe this is the one I see deployed in production cars today.
The third is HDMI Ethernet, which rides pins 14 and 19 of the HDMI connector. It is absolutely impossible to find information on. Does it have a standard? Does it use a standard MAC? Where can I buy the PHY?
What a stinking mess.
I'm not too familiar with the current state of -T1L, but the little I've seen about it in the past was a focus on taking the advantages of -T1 (low wiring cost, simplicity, robustness, PoDL) and applying it to industrial applications, where MUCH longer cable runs than in automotive are desired. While I was following this was mostly done by adding in a 10base-T1L physical layer, giving up an order of magnitude of speed in exchange for an order of magnitude or two more run length. Don't know if there's any intent to have faster -T1Ls, haven't followed that far.
10base-T1L, 100base-T1, and 1000base-T1 are all pretty different physical layers, although they share some principles. I /think/ the Broadcom 1000base-T1 PHY can run in 100base-T1 mode, and maybe even auto-negotiate (yuck), but they're quite different under the hood.
Your drone would probably do the same if the manufacturer had more engineers to spend on optimizing the design. But it's probably also sold in lower volume than car parts. Alternatively, maybe it's using CAT5 in a nonstandard way. For example, maybe two links or non-PoE power or even not Ethernet at all.
The main benefit is Ethernet. It has already started, but in the next few model years of cars, there is a large transition happening from CAN -> Ethernet as the primary communication bus. The simplest reason for that is software + bandwidth + integration.
To implement semantics like an RPC call across two modules in car via CAN, it is kind of ugly and almost always results in awkward software interfaces and extremely inflexible implementations. Whereas with Ethernet now you can do something like use gRPC and protobufs, which is entirely flexible and results in well-defined/formed software interfaces. CAN will still be used for a while for what it is best at: low-level, reliable, low-bandwidth chatty data interfaces that make sense for electro-mechanical parts - especially those that don't have (or need) anything more than a very bare-bones microcontroller. Cost is still a huge factor in automotive design, because a $1 difference x 1 million cars blah blah it makes a difference.
Bandwidth is obvious. CAN can't do video, and in practice audio either (although theoretically possible I guess). Cars have lots of audio and video devices now, and it is unnecessarily complicated to always have command/control and media data on separate buses. Imagine if your computer used one physical network interface for HTTP requests and another interface for streaming video. Sure it'd work fine but you'd have a bunch of extra cables, ports, hardware, and software complexity to make it work.
Marvel claims their 88Q211x PHYs can do that. No auto-negotiation.
[0] https://www.marvell.com/content/dam/marvell/en/public-collat...
[1] https://www.semiconn.com/ep91h1 [2] https://en.wikipedia.org/wiki/Telephone_hybrid
10Base-T1S is multidrop on single pair--which is basically a CAN replacement.
Unfortunately, I haven't seen much movement at all in the T1S space.
About 2 years ago I tried to make a prototype using 100baseT1 with PoDL but most of the components weren't on the market yet. I did manage to get samples of some but not all parts, and gave up and kept using this[1] tiny switch. There's also a 1000base-T version.
One thing to note about using ethernet in embedded applications, and also the reason why you can't find many small microcontrollers that support it, is ethernet uses a lot of power. About 0.5W per port (meaning 1.0W per line) for 100Mbps, 0.7W per port for 1Gbps, and 4W per port for 10Gbps. There are low-power standards that work by idling when not in use, but I've yet to see any devices that support it. The 2 wire standards are designed for much, much lower power consumption.
There's really no goal for these to do anything other than PtP with these solutions.
I also find some of the CAN architecture decisions kind of questionable nowadays. A lot of stuff like ACK and retransmit in the hardware made sense back when microcontrollers were expensive. Nowadays, its just something that chip implementors are likely to screw up that you can't fix with software.
If you've ever moved a few meg of firmware over CAN, you know how agnozingly slow that turns out to be in practice. Which is fine enough in development, okay, go get a coffee and chat with the other engineers for a bit, it'll be done soon enough. But in the field, incentives change:
At the dealer, reflashes are usually not paid by the customer, so time is money in the negative sense. Get the car done as fast as possible and go back to work that pays.
For over-the-air reflashing, it's even worse. You have to guess that the car is gonna be parked for a while (or get user consent), and perform the reflash before they change their mind and decide to go for a drive again. A 2-minute reboot on a phone is obnoxious enough, a 20-minute reflash for one module is a death knell for OTA, and if you need to update several modules at once in order for their versions to be in sync, that can well take an hour or longer. Absolutely unacceptable.
PtP is fine because it's just one pair, and you're running back to a gateway module anyway. The gateway module houses the flash memory lake that stages the OTA update packages. When you get the go-signal, blast those out to all the affected modules, finish in 2 minutes, and the car is driveable again.
This is HUGE. Everyone on HN mocks automakers-other-than-tesla for not having OTA figured out yet, and Ethernet is a key enabling technology for it.
But are microcontrollers with ethernet common? How cheap are they? A MAC needs a lot of pins compared to CAN which will increase footprint. And to really take full advantage of ethernet, you need a good networking stack and a solid set of utilities and applications on top. So Linux is the way to go in that case. But then you need a big processor with external RAM, eMMC, PMIC, several layer board, and don't forget a couple of Linux weirdos (speaking as one) who can actually develop in that environment. A lot of embedded guys can understand CAN pretty easily; show them gRPC and their heads may explode.
So I guess the use case is: embedded system with a lot of Linux boards that don't need that much bandwidth? Does that accurately reflect the architecture of a modern car?
Define "common". However, they are available. I see some right around $4 from ST.
> A MAC needs a lot of pins compared to CAN which will increase footprint.
Normally the pins on the connector are far more critical than the pins on the microcontroller. RMII takes up 9 pins on the microcontroller.
> And to really take full advantage of ethernet, you need a good networking stack and a solid set of utilities and applications on top. So Linux is the way to go in that case. But then you need a big processor with external RAM, eMMC, PMIC, several layer board, and don't forget a couple of Linux weirdos (speaking as one) who can actually develop in that environment. A lot of embedded guys can understand CAN pretty easily; show them gRPC and their heads may explode.
You are WAY too high-level. UDP works just fine for a lot of applications and takes next to nothing in terms of resources. And TCP doesn't require as much resource as you think (remember TCP dates back to the 1980s when memory was scarce). Even straight HTTP isn't too bad.
The biggest problem is HTTPS. That invokes a whole crapload of overhead.
> which seems to be standardized as 802.3cg and calls itself 10base-T1L.
> The second is the One-Pair EtherNet (OPEN) Alliance:
> What a stinking mess.
One is high speed point-to-point, to replace expensive proprietary crap like MOST, FLEXRAY, etc. Another to replace slow buses, like CanBus, ModBus.
10Base-T1L (the subject of the article) is really an industrial/sensing application and supports cables up to 1km in length.
The 100Base-T1 and 1000Base-T1 standards are targeting the transportation market with cables <50m in length.
(Although it is an 18 month old article, so things may have changed since).
Audio Return Channel (ARC) uses the same pins as HEC. Enhanced ARC (eARC), available on some newer TVs and AV Receivers/preamps/soundbars, takes advantage of the twisted pair to support greater audio bandwidth and surround channels (ARC was limited to 5.1), so it’s a happy ending for folks who bought HEC compatible HDMI cables.