Hacker News new | ask | show | jobs
by jvanderbot 1748 days ago
As Hamming suggested in "Art of doing science and engineering", when you want to make something autonomous, you usually have to build a completely different device that solves the same problem, rather than automating the same device.

I wonder. For all the money thrown into self-driving cars research, could we have had an autonomous rail system by now? The technology for mostly-autonomous rail is well understood. Most of the financial cost is in infrastructure to support the system. Seems to me self-driving cars try to short-circuit that infrastructure build-up. They try to "automate the device" rather than "producing an automated system that solves the problem of moving people and goods".

Specifically, I wonder if, for the cost and time spent on CPU-and-engineer-driven research and development of autonomous cars, if we could have had nationwide autonomous rail rolled out by now.

8 comments

> could we have had an autonomous rail system by now?

We already have autonomous rail systems. Its called positive train control and was fully implemented like a year or two ago (mandated in 2009, but you know how government works, lol) https://en.wikipedia.org/wiki/Positive_train_control

The train conductor has become more-and-more automated to remove the chance of human error. It works with a system of very reliable sensors that indicate where every train engine is on the rails.

Given the huge amount of cargo any particular train has, I don't think there's any intent on cutting the last two humans (the conductor + engineer) out of their job. Their salary costs are miniscule compared to the safety value they deliver, even if the job of driving a train has been almost entirely automated away by now.

Paris got its first autonomous metro line in 1998. It was developed in ADA. http://archive.adaic.com/projects/atwork/paris.html

Using the B method: https://en.wikipedia.org/wiki/B-Method

https://link.springer.com/content/pdf/10.1007%252F3-540-4811...

https://arxiv.org/pdf/2005.07190.pdf

All this was developed in the 80's and 90's. It would be interesting to see how this evolved. Obviously with a ML/AI approach it would be different now. Although there might be some ways to specify some constraints or boundaries to an AI system, for safety, comfort, physics, etc.

> Obviously with a ML/AI approach it would be different now.

Is it? The theory of block signals and path signals don't change because AI was invented. And I have my doubts that AI could do better than path-signal algorithms.

https://en.wikipedia.org/wiki/Railway_signalling

OpenTTD players, wassup? You can run these block signals / path signals in video games. Its a bit complicated to setup and the terminology is arcane... but the algorithms aren't so advanced that they require "AI" or anything. (If at block signal, wait until exit signal is ready. Etc. etc.). Its actually pretty fun (OpenTTD is a videogame built around these signals!!), because if you mess up your signals, you get deadlocks and/or "race conditions" (aka: risk of a deadly crash). But once you get used to the methodology, you can build incredibly complex junctions that automatically and safely routes trains everywhere.

That's why you had legions of railway nerds playing with trains in their basement all day: they're trying to get their path signals / block signals / chain signals correct so that those toy trains traverse their toy-tracks automatically without crashing. These concepts were like, from the 1930s or something (Path signals are newer)

EDIT: Apparently "before 1923": https://www.amazon.com/gp/product/117705681X. Definitely an ancient and arcane art of old wizards. Railway engineers were dealing with semaphores, race conditions, and deadlocks __LONG__ before us programmers even existed!!

I wonder if, for the cost spent on CPU-and-engineer-driven research and development of autonomous cars, if we could have had nationwide autonomous rail rolled out.
Nope, requires a sane society that gathers around and does whats best for the collective whole. What we have, however, is a kleoptocracy, and being as such, the opportunity to extract more wealth, faster, and easier, existed with selling the promise of autonomous vehicles. If the same incentives existed for autonomous rail, it would have happened already.
Let’s not be so cynical here. No amount of mustache-twirling evil robber barons would change the fact that for any nationwide rail system to be useful at a last mile, billions (if not trillions, if we’re talking coast to coast) of dollars of existing real estate and infrastructure would have to be bulldozed, or else you end up with California’s joke of a Central Valley rail that will never connect Los Angeles to San Francisco and recreate the Shinkansen miracle between Tokyo and Osaka.

In other words, the problem is not a matter of engineering (it can be built) or finance (it can be funded) - it’s politics.

> existing real estate and infrastructure would have to be bulldozed,

You mean like they've done with every beltway and interstate? They claim eminent domain, take whatever strip of land they need from you, and bulldoze anything in it's path to build nice fancy exits full of the same features: a few hotels/motels, gas stations, couple of fast food chains, and, perhaps, if you are fancy enough, a strip mall with a Department store, Sporting Goods, and a fine dining establishment from one of America's most recognized brands: Bloomin' or Darden

There was a push for something like that and it would have been great...it fell afoul of NIMBY and Toll road haters. https://en.wikipedia.org/wiki/Trans-Texas_Corridor Everyone in Austin hated SH-45 & 130 when they were built, they were practically empty for a few years to my delight as I could travel the entirety of Austin in a fraction of the normal time even during rush hours. After MOPAC was added residents began to see the light and the tollways are now congested. Many are regretting their opposition to Perry's lost/last road project but, that train has left the station unless Elon can get the Boring project going or Virgin is able to implement their version of Hyperloop. Hell, I'd have settled for elevated wire gondolas over the roads, works well enough for Australia.
Not for passengers. You still need conductors, if for no other reason to be the equivalent of flight attendants (there for extremely rare safety incidents -- deaths per passenger mile are higher for trains than planes -- to manage unruly passengers, etc.)
No because its a political and labor relations problem not a cost problem
https://railroads.dot.gov/train-control/ptc/positive-train-c...

> On December 29, 2020, FRA announced that PTC technology is in operation on all 57,536 required freight and passenger railroad route miles, prior to the December 31, 2020 statutory deadline set forth by Congress.

We got that. We literally got that.

I suspect the OP may be more interested in nationwide, convenient, affordable, automated passenger rail.

Which in the US is possibly (?) several orders of magnitude more in terms of capital investment compared to both electrifying the entire ICE fleet and automating it.

The majority of the costs of passenger rail is in the land-costs of placing those statins (and rail-lines) somewhere important.

The US Freight Rail network is just the right place to deploy this technology right now. We may have crappy passenger systems, but our freight is world class.

EDIT: It should be noted that PTC sensors cost $50,000 per train. But each train costs $2+ million, so the PTC sensors aren't that much compared to the overall system. The idea of having a similar suite of $50,000+ sensors / radios on every car is clearly too costly in contrast.

Probably not, that's likely a hundreds of billions of dollars investment, whereas I imagine self driving investment totals a couple tens at the most.
Remember that derailment/near derailment that happened when someone cut the electrical circuit connector cable on some rails, which then prevented the system for knowing where the train was?
PTC, from my understanding, is that the train gets "positive orders" from a central server. The central server says "It is safe to move through X", and the train then moves through X.

If the sensor in X is broken, then the server will say "I cannot prove it is safe to move through X", and the train will stop.

I'm not a transportation engineer however, so I'll defer to anyone with actual experience in the field. But the idea is that our sensors are so effective today, that it is better to "prove" each leg of the journey is safe with "positive train control", rather than the opposite normal approach. (Ex: Sensor detects a problem, which stops the train).

That is to say: all sensors in the USA are in positive-train control mode. Trains will therefore stop if any sensor malfunctions. We're now in a "default stop" state for all trains, unless those sensors are working, deployed across USA.

Wow that sounds like a fantastic failure mode for a busy freeway on a prime commute day when someone nefariously interferes with the system.
Just break the traffic lights of a few busy intersections near the freeway. If they are in any way like the ones in my home country then the only protection for the cables is a cover locked in place by a single screw.
Tracks fail all the time due to natural disasters... or even just wear-and-tear (heat causes expansion / contraction of lines). Or snow covering an area, making the tracks unsafe.

The answer is simple: a 2nd or 3rd track for redundancy. Which is needed for maintenance purposes anyway. And flamethrowers for snowy areas.

From this perspective, the infrastructure to prove a line of track is safe is just "part of the cost" of a modern rail line. And any such failure is fixed as part of the maintenance costs.

---------

In any case, if you really wanted to stop a train during rush hour or something, I suggest a crowbar on the rail lines. There's easier ways to derail a train, and sabotage is a known problem. Physical security measures are available, camera systems etc. etc.

But a saboteur with a crowbar is roughly the same problem as too much snow on any given track. We definitely have more to worry from Mother Nature rather than our fellow man (at least.. for now).

We could have possibly automated some existing rail, but I am not altogether certain that doing so would have lead to any significant improvements in cost or efficiency.

Actually laying the infrastructure for mass transit via rail is an entirely different league of cost from what has been dumped into self driving cars.

We have a hard enough time agreeing on how to do light rail transit in places that want it, and then actually getting it done.

I'm not altogether convinced that the money and effort spent on self-driving cars has led or will lead to any significant improvements in cost or efficiency either.

Even if it does succeed, it seems to be about convenience anyway.

If self driving succeeds, it is because it is safer than a human driver. If nothing else, it'll cut down on insurance premiums, and increase fuel efficiency by reducing speeding and unnecessary hard acceleration.

There are also a lot more people currently driving than there are existing train drivers (which you can see I was comparing existing infrastructure) so the time tradeoff could easily lead to increased productivity, however you choose to measure it.

All of this, of course, assumes fully autonomous driving. I'm somewhat sceptical that we'll actually get there, myself.

A self-driving streetcar, that only has 1 degree of freedom, might be a practical problem to solve and maybe if it existed we would not have had to go through the 90-day outage of VTA light rail service that the Bay Area just experienced, an experience which in all likelihood killed VTA light rail forever.
The VTA control building/center was badly damaged in the shooting that caused the outage you're talking about. Surely a fully automated light rail line would require everything in said building to likely be running at full capacity to work.

Also, it was a result of a mass shooting. Have some tact.

VTA restarted service a couple of days ago.
Rail is already highly autonomous with external monitoring systems integrated with vehicle control systems, but I'll just go on as if the distinction between what it is now and what are calling "autonomous" is significant.

What problem does autonomous rail solve? The single driver is already a rounding error in total costs. Also, rail is already a controlled environment where collisions are much less likely to happen than road, so the fruit is much higher up the tree on that aspect too.

It seems to me that bringing autonomy to rail would have little on it's bottom line.

> build a completely different device that solves the same problem

I realised this while discussing self-driving cars with my friends.

I used example of Uber Eats. The problem statement is "I don't want to cook" and a reasonably acceptable solution IMO is cloud kitchens + delivery. As opposed to building a cooking robot.

Cloud kitchens could automate 80% of repeatable stuff because it makes sense to solve that problem at scale.

Why not optimize Blue Apron and HelloFresh style meal kits so that they involve even less labor, then distribute the production to local commercial kitchens? There are already businesses that package this kind of prep work for restaurants.
I'm pretty sure you're just reinventing Domino's pasta line.

Standardize the ovens you distribute around the world. Simplify food cooking so that its just "put this pre-cut prepared block of aluminum foil into the standard-temperature oven for 15 minutes", and "deliver".

You just reinvented it by taking what I was picturing about 3 steps further.

Simplify food cooking so that its just "put this pre-cut prepared block of aluminum foil into the standard-temperature oven for 15 minutes", and "deliver".

HelloFresh already has "kits" that get delivered, and later people more or less just place them into the oven on the provided aluminum foil trays.

The labor saving advantages of carrying 100 people on the same vehicle are so enormous that there is little motivation if any to quit paying conductors and engineers.
The profit motivation of having 100 people being required to buy gas is the anti-motivation in capitalist oligarchies
That's not a valid argument given that it is just as feasible to price individual transport out of the market while simultaneously raising the price for public transport in such a "capitalist oligarchy". Fossil fuel companies will again go on a public transport buying spree, this time around with the intention of keeping the trains rolling while raising prices to the point of maximum profit.
I've always wondered if TCP and networking design could be applied to autonomous traffic... basically think of every car/train as a packet and ensure no collisions...

Which networking protocol best maps to this?

And what if we had smart traffic lights that were aware of every car in an surrounding area of an intersection...

I mean FFS certain tech companies track all vehicles that drive by/near their corporate campuses and report that back to the city...

And that's almost a decade old now...

So apply the same but report the data back to the traffic management system which is also trained on all the traffic patterns for a given intersection to best optimize for their patterns...

For the most part the MAC just looks for another signal on the wire (another train on the same section of rail) and when it looks clear, starts transmitting (driving). As you can imagine, there will be cases when 2 MACs start talking at the same time, at which point they detect the collision, wait a random delay and try again. I wouldn’t want to be on that train, I’d prefer plain old serial with hardware flow control
Ethernet has not worked like that since the 1990s.

Even WiFi avoids relying on collision detection by routing client-to-client traffic via the AP instead of being peer-to-peer.

Large part of TCP is dealing with dropped packets. Presumably you don't want that to carry that over to rail/road traffic :)
HAHAH yes, I know -- I just didnt have a better example protocol... TCP is "ensuring the traffic gets there" -- not so much "ensuring no collisions" that was why I chose that one.

Maybe BGP instead? "Route failed - go this way instead, as a backup"

I'm pretty sure there's very active logistics R&D involved for decades already and they don't need any mansplaining about network protocols.

However if it were possible to develop completely new transportation system with autonomy considered from the planning stage, that might be more efficient. Musks' gadgets don't count, their capacity is laughable.

The London Docklands Light Railway (DLR) has had fully automatic running since 1987 https://en.wikipedia.org/wiki/Docklands_Light_Railway
We could go the other way and have humanoid robot drivers that can get in and drive any car. Now that'd be difficult!