74 points ZeljkoS 9 hours ago 134 comments

ktallett 8 hours ago | parent

I can't imagine what every passenger who survived and the families of those who passed are going through. Such a catastrophic incident with multiple human failures is so tragic and so needless. From the controller to the driver, every single one of them should have said hey we shouldn't just ignore a signal and should investigate why it's on first. For this to be such a quick decision suggests it's not a one off. I would be extremely interested to see how many near misses or ignored signals there has been across Spain. The crash earlier this year was due to inexperienced workers and it seems as if significant training improvements and protocols are needed.

jplrssn 8 hours ago | parent

If as a driver you get told by the control centre to get the train moving again at maximum line speed, surely you should be able to trust that it is safe to do so?

I don't see how this would fall on the drivers at all.

gpvos 8 hours ago | parent

My thoughts as well. It appears that such signal failures happen so often that the controllers regularly let trains run through red under verbal authorization. I don't know the exact protocols, but I would expect a driver to ask for confirmation, as happened here, and then trust the control centre. However, there is clearly a huge systemic problem, with added complexity for the controllers, and there should at least be double checks in the control centre.

1718627440 6 hours ago | parent

The person who controls whether the light shows red or green and gives verbal authorization is the same. It's both a tool, to transmit the same information.

crote 7 hours ago | parent

Trust but verify. You wouldn't drive your car into a lake just because your satnav tells you to, would you?

As we also know from the aviation industry, controllers are human and therefore will make mistakes. A controller shouldn't issue a wrong order, but a driver also shouldn't accept an order they aren't certain about, and there should be technical systems backing both sides of that up.

It doesn't "fall" on the driver, but it doesn't "fall" solely on the controller either. It's a systemic issue, and many pieces have to fail for a disaster to happen.

1718627440 6 hours ago | parent

> As we also know from the aviation industry

The aviation industry operates like the railway industry ~1920 (somewhat by necessity).

> You wouldn't drive your car into a lake just because your satnav tells you to, would you?

You are assuming a train driver is equivalent to a car driver. He's not, the analog would be more a repairmen that you always take with you on journeys.

gus_massa 23 minutes ago | parent

You can't verify, the rail has curves and other stuff that block sight.

Also stopping distance for trains is huge. This video for high speed trains says 5km (3mi) https://www.facebook.com/Renfe/videos/%EF%B8%8Fcu%C3%A1l-es-... That is probably at full speed, but IIUC the accident was at half speed so the distance should be like 1.2km (0.8mi).

dutchbart 8 hours ago | parent

The even more insane thing to me is that the controller knew that there was another train in that block, knowing it was no signal failure. The driving train should’ve never been commanded to continue on full speed by the controller.

cedws 7 hours ago | parent

Trains shouldn’t even be manually driven in 2026. We have self driving cars now which is a way harder problem to solve. Relying on a system of signals and driver attentiveness is archaic.

delta_p_delta_x 7 hours ago | parent

> Trains shouldn’t even be manually driven in 2026

Potentially, but the point is that signallers should physically be unable to allow trains to proceed, and drivers should physically not be able to override them. British signalling from the 1800s has physical interlocks; this isn't a matter of manual versus automatic train operation. It is clearly systemic.

M95D 5 hours ago | parent

How do you pass a defective signal then? How do you couple a second locomotive? How do you add cars?

1718627440 7 hours ago | parent

We do not have self-driving cars in all environments that clear the necessary security regulation! Also the socially accepted number of deaths due to trains is way below that for cars. The current accident is just a Tuesday for car traffic. (Spain recorded 1785 road deaths in 2024[1], that's 4.9 per day) Detecting objects (and future objects!) on a train track is still a hard problem.

The current system is basically that the train is driven both automatically and by a professional attentive driver at the same time. Changing it to just the automatic system is going to reduce safety. Also the real world is way to messy to reach acceptable availability rates with only automatic systems.

[1] https://www.itf-oecd.org/sites/default/files/spain-road-safe...

fn-mote 7 hours ago | parent

> Detecting objects (and future objects!) on a train track is still a hard problem.

In this case the “object” was another train. That’s not the “hard” part of the problem. This sounds like an apologist comment.

dns_snek 6 hours ago | parent

What difference does that make, genuinely?

Are there systems that can warn drivers and prevent collisions without external signaling, like ACAS?

1718627440 6 hours ago | parent

Yeah, that's a solved problem. Did you even read my whole comment? I answered why "just use the system from self-driving cars" wouldn't work and in fact would be less safe than the current system.

AnimalMuppet 1 hour ago | parent

What's the stopping distance of a high-speed train at full speed? I don't know, but I bet it's kilometers, not meters.

Detecting an object on the tracks 2 km away (say), as opposed to * beside* the track at the same distance, is in fact a hard problem. The tech used in self-driving cars is not going to solve it.

dns_snek 6 hours ago | parent

Driving a train and driving a car are two completely different challenges.

If signaling worked properly then it wouldn't matter whether the train was driven autonomously or not, the "problem" becomes trivial. Establishing and continuously verifying that signaling is working properly is the hard part.

Without signaling you're limited to crawling speed just like humans are when they don't have any signalling .

kube-system 39 minutes ago | parent

Yeah, if you completely ignore availability as a problem. The state of the art self-driving technologies we have today only work in some conditions, some of the time.

The reason vehicles are still driven manually is because humans rely on transportation every day, all of the time.

bigDinosaur 8 hours ago | parent

To have had this many incidents compared to other HSR networks around the world gives all the signs of a classic case of normalisation of deviance.

Sadly we'll probably watch a lot of individuals being blamed/scapegoated for systemic issues, but hopefully even Spanish politics can organise a proper investigation after this many deaths in a single year.

1718627440 7 hours ago | parent

> From the controller to the driver, every single one of them should have said hey we shouldn't just ignore a signal

A train driver has zero insight in what is going on and where other trains are. They do need to trust the orders they get, if you want to question every order you will never start to drive.

AdrianCX 7 hours ago | parent

The train driver's job is to say: "it's red, I'm no moving, not my problem, you make it green if you want me to go"

That's why it's a union job

Also he's the first person to die on accident so it's that and the safety of everyone else

They do not 'need' to follow others, they just need to refuse unless all safe and green.

If they never start to drive it's the companies problem to deal with angry non-dead customers

stevage 7 hours ago | parent

That is not how the procedures work, so the driver would be fired as soon as they did that.

Every train network has situations where drivers are authorised to proceed against a red signal. Not usually at full speed though.

AdrianCX 6 hours ago | parent

They wouldn't get fired. They are protected both in the US and Spain.

At most face unlikely discipline.

Here they would even have valid reason to refuse - order was given for full speed, regulation says low speed ready to stop.

So a "No, i'm not doing that, you're moron" would be justified.

1718627440 6 hours ago | parent

No, he would get fired, because that's not his job. It would be like the machine engineer on a race track refusing to fix the ignition, because somewhere on the track he doesn't see, the asphalt might be broken.

knottn 5 hours ago | parent

So it’s clearly an industry wide problem then. The more I read the more thankful I am California can’t build high speed rail.

1718627440 5 hours ago | parent

Except that car vs. rail deaths per 100 million person km is 0.7 vs. 0.035 and per 100 million person hours 25 vs. 2 (https://etsc.eu/transport-safety-performance-in-the-eu-a-sta... or https://injuryfacts.nsc.org/home-and-community/safety-topics...). It's more of an human wide problem, rather than industry wide problem. If you want to be safe, you need stay at home, but that's also not going to be actually safe.

The point of this discussion is that people blame the train driver or say "use self-driving", when that is not going to solve the problem, because that's not where the error is. The error is not there, *because* for rail making errors operating the train is not going to cause an accident (most of the time), which is not the case for cars.

ktallett 5 hours ago | parent

The driver always has the final say on whether the train is safe to move. They are not just a button and lever pusher. They have to analyse whether the decision is correct. Hence why I stated there were multiple points of failure. The controller and the driver both went with full speed despite it being completely against regulation on a red signal.

1718627440 3 hours ago | parent

> They are not just a button and lever pusher.

I agree. But the decision whether all switches are locked in the correct position and that the track is clear, is not one that he is supposed to make and he also doesn't have the information for it.

> The controller and the driver both went with full speed despite it being completely against regulation on a red signal.

Going full-speed in the case of a red signal is not necessarily against regulation. Also the information of "red signal" or "you can go" is both a signal from the same source. There is no information for the driver to make a different decision over the dispatcher.

I can't comment about whether the current accident was caused by going against regulation, and more important by whom and against which. We need to wait for the proper safety report, not for a BBC article. If you take the latter at face value, it would mean there are clowns operating, which I am sure, is not actually the case. The real error is always way more subtle, otherwise it would not have happened.

kube-system 43 minutes ago | parent

Do train conductors not have the final authority in safe operation the way airline pilots do? If so that is absolutely insane.

1718627440 6 hours ago | parent

> The train driver's job is to say: "it's red, I'm no moving, not my problem, you make it green if you want me to go"

A written movement authority is a signal as well in railway terms. It's more like "I don't trust your second traffic light, that you placed next to the normal one, because the normal one is broken".

schnitzelstoat 8 hours ago | parent

It's incredible the minister didn't resign after the January crash and I doubt he will now either. I understand that perhaps the problem started in the control centre but surely at the end of the day the minister is responsible - they don't get paid a fortune just to pass the blame on to the workers.

agarsev 7 hours ago | parent

I fail to see how the two accidents, which seem to have very "down to earth" explanations (maintenance failure by workers, protocol override by operators) are being assumed to be a political responsibility so quickly by some and asking for the minister resignation. Now, two in a row seem to point to systemic issues. Is this responsibility of Adif or Renfe? maybe those state companies have to be thoroughly revised. is it due to lack of funding? maybe taxes should be raised, or money diverted from somewhere else (though seeing the spanish budget, it's hard to tell where from, both teachers and doctors are currently protesting for lack of funding). Maybe it is, in the end, a political directive that should have responsibilities declared in the executive. But seeing so many interested parties jumping to that conclusion literally hours after the crash means it's not done out of any reasoning but political animosity

Xenoamorphous 7 hours ago | parent

> are being assumed to be a political responsibility so quickly by some and asking for the minister resignation

It sucks but that's how it is over here. It's "my" party the one in power when a catastrophe like this happens? It's not the politicians, it's someone else. Is it the "other" party? Surely the politicians are ultimately responsible.

This reflects on the news media as well.

Xenoamorphous 7 hours ago | parent

> they don't get paid a fortune

Salary for ministers is around 80k euro per year. Yes significantly more than the minimum salary but hardly a fortune.

Yokolos 8 hours ago | parent

So based on this, the safest place to sit is presumably the middle carriage?

comrade1234 7 hours ago | parent

That's where the bus hits you.

1718627440 7 hours ago | parent

That has been true in the last century, but now the classic collisions are way rarer. See https://en.wikipedia.org/wiki/Eschede_train_disaster .

I would actually sit in front now. Sometimes you would be able to still get vital information and being actually able to act. But the safe decision would be no to enter the train.

barbazoo 1 hour ago | parent

> Sometimes you would be able to still get vital information and being actually able to act.

Optimistically assuming you have a minute to react (I'm imagining closer to 10s), what could one possibly do?

1718627440 57 minutes ago | parent

Yeah, I would also guess about that time. Run away, jump out of the train, duck behind some larger wall, pray.

swiftcoder 7 hours ago | parent

The level of human negligence here is astounding. The system did exactly what it was supposed to (lock the train down if the track can't be confirmed clear), and then a human controller ordered the crew to override the system, and ordered them to proceed at an unsafe speed towards a similarly disabled train?

1718627440 7 hours ago | parent

Sorry, but ordering trains to drive manually after the system locks itself down, is the proper procedure. Of course you are still supposed to only send trains to free sections, but the error is in that step, not that they ordered a train to drive on it's own.

Also the fallback procedure is also aided by automatic systems and a sizable number of accidents in the past were caused by that information being faulty.

_trampeltier 7 hours ago | parent

Yes, but just with max. 40km/h

wafflemaker 7 hours ago | parent

So that's why my train slowed to 40kmph when the Norwegian Telecom died for a few hours 3 weeks ago.

_trampeltier 7 hours ago | parent

Yes, 40km/h is for driving on sight in most Europa. I think in France it's even 30km/h.

1718627440 7 hours ago | parent

Depends. For example German Zs1 (https://en.wikipedia.org/wiki/Railway_signals_in_Germany#Zs1...) would give them the full clear outside of stations.

julik 7 hours ago | parent

It is the proper procedure, and it does come (in a lot of countries, AFAIK) with a lot of guardrails:

There will be a so-called "train order" allowing passage of a specific section ignoring the safety system warnings, which has strict validity limits both in time and in the area where it applies, usually denoted by specific hectometric mileposts

When cab signaling is involved (LZB is one of these) and it malfunctions, the entire system normally changes to "driving on sight only" - which indeed limits the train to 40, 30, 20, sometimes - 15 km/h (see https://fr.wikipedia.org/wiki/Marche_%C3%A0_vue) or the line gets switched to lineside signaling - if it is available.

I don't know how you could violate all of those rules - both from the driver's side and from the traffic control side - but it sounds absolutely horrible. Like an override of at least 2 (if not 3) very explicit safety margins.

dist-epoch 6 hours ago | parent

There are audio recording from this incident where you can hear the "train orders" being given and acknowledged.

They were the wrong orders apparently.

AdrianCX 7 hours ago | parent

Why is that?

I remember a long time ago I was stuck in a train in a field a considerable time because of a similar failure and conductor just wouldn't move unless green

I was expecting the same here, conductor is the first to die so just refuse until the idiots fix their system

1718627440 7 hours ago | parent

> Why is that?

What exactly?

A conductor always just gets a movement order. They are not able to assess whether the track is clear, that's the reason why the signalling system exists in the first place. How they get that movement order doesn't necessarily tell what the security steps were to back it.

Of course an attentive conductor can notice and mention there something being weird ("Doesn't the other train normally arrive first?"), but that's a rare lucky occasion, nothing to be relied on. And they just need to swallow the answer ("No, you go first today...") anyway.

> and conductor just wouldn't move unless green

The conductor won't ever move unless they get a movement authority, which most of the time is a green signal.

AdrianCX 7 hours ago | parent

so in this case, couldnt conductor just say - make it green, not my problem, staying still until then

1718627440 7 hours ago | parent

Why would they trust "a random blinking green light", but not a written and stamped order? Yes, they could do that (and sometimes it will actually prevent an accident), but it will be more being a snowflake, then being a decision for safety. A conductor is simply not responsible for whether it's safe to drive on a given track. Their equivalent is not a car driver.

AdrianCX 7 hours ago | parent

The "random blinking green light" is generally more reliable

Being a snowflake here has 2 benefits:

1. Getting company managing tracks to fix the lights (they need to deal with angry customers and pay off damages for delays and more), so there's a direct path from unreliable lights to economic damage.

2. Avoid crashing and killing yourself and passengers on the offchance the person on the radio is a moron

1718627440 6 hours ago | parent

> The "random blinking green light" is generally more reliable

Yes, but not because of the light itself, but due to the safety steps done before. Which should also have happened before the movement order in any other form.

As a train driver, you do not have the information required to distinguish these situations. If drivers simple refuse all movement orders, besides "green lights", running trains will become a rare occasion and the drivers will simply get fired for not doing their job. _The train driver is not the one who decides where a train goes._ For this safety-relevant decision a driver is (roughly speaking) nothing more than an innocent bystander.

You can think of a train driver more of the person who makes sure the automatic engine works correctly and also has an eye, that nothing weird happens. Most of your train driver education is knowing how the train works and how to get a broken train back working fast. In addition you also learn the safety protocols how you get the information in which state the engine should operate in. This is what train signals are, it's not really the equivalent of a green traffic light for car traffic.

robhlt 6 hours ago | parent

Many train systems have a trip-stop on signals that will automatically activate the trains's emergency brake if one passes a red signal.

It cannot be bypassed, if an operator must go through a red they have to manually reset the e-brake on each car once it passes the signal.

wjnc 7 hours ago | parent

I would argue that we should look at systems-level explanations. The human factor is so glaring we can get caught up in it. There are what, 50?, high speed trains in movement in Spain at the same time. Even GPS + Starlink + 1 monitor (is that 50k€?) could have prevented this. But it happened, and the question is what is going on with train security in Spain in general for people to (be able to) make such decisions.

1718627440 7 hours ago | parent

Trains are still not able to assess properly where they are, even using satellites and inside train sensors. Of course there is research on that, but it's still an unsolved problem. (Current alternative is to put markers in the track, but that's also expensive at scale.)

Pragmata 7 hours ago | parent

Yeah and that's fucking ridiculous and a damning indictment of the glaring incompetence of train companies.

If I can have reasonably accurate gps readings of my phone while I'm on the train, there is zero reason for train companies to not have systems that are at least as accurate.

giovannibajo1 7 hours ago | parent

Would that work in tunnels and forests too?

1718627440 7 hours ago | parent

> a damning indictment of the glaring incompetence of train companies.

No, what I describe has nothing to do with the companies, that's the research state. It's just an indictment of you making bold statement about a subject, you don't now enough about.

> I can have reasonably accurate gps readings of my phone

Would you dare to cross on a rope over a deep valley, blind using only GPS readings of your phone? Because that's kind what you are suggesting, expect you also move a few hundred other people.

swiftcoder 7 hours ago | parent

> Would you dare to cross on a rope over a deep valley, blind using only GPS readings of your phone?

Hang on, this is nothing at all like that - trains run on fixed tracks. The only bit of data we are interested in for collision avoidance is the linear offset along the track. Even the shittiest GPS fix of all-time would give a good-enough intersection with a fixed path to avoid crashing into a second stationary train in the open country-side (do you see any satellite line-of-sight blockers in the crash footage?)

1718627440 6 hours ago | parent

> The only bit of data we are interested in for collision avoidance is the linear offset along the track.

So that is naive, but assuming that would be all that you need, with GPS you would also need the positions of all other trains. But why would you transmit all this information to every train, instead of just computing the collisions in a central node? (That's what is done now.) A better fit for what you suggest would be radar, and this does exist. [1] But that's where your original assumption is naive. You regularly pass other trains within <2m at high speeds, so linear offset is not all you need.

   [1] https://www.dlr.de/en/kn/research-transfer/projects/next-generation-train/rcas-railway-collision-avoidance-system

swiftcoder 4 hours ago | parent

> But why would you transmit all this information to every train, instead of just computing the collisions in a central node?

Because central nodes can fail (as they did here, both human and machine), and providing this redundant data allows both the computer and the human-in-the-loop on the fast-moving chunk of steel to independently validate the decisions coming from the central node.

> You regularly pass other trains within <2m at high speeds, so linear offset is not all you need.

In this collision, both trains were on the same track. So while we obviously care about adjacency issues in the general case, this specific failure mode can be detected purely via a linear offset.

1718627440 3 hours ago | parent

You can and do have redundancy in the central node already. Also that's not what failed here.

> In this collision, both trains were on the same track.

Yeah, but how do you distinguish that? So when I understand you correctly, what you want is: Find another moving chunk of metal in the radius of 2km, which moves toward you, but not in a direct or ballistic trajectory, but in a arbitrary complicated trajectory, but which can lookup in a database. Also you are operating in the real world, so there are potentially houses, trees and mountains in between. I guess that would be possible, but it would be really expensive. Your best bet would be to adapt a missile detection and targeting system from the military. A system which does exist and is somewhat similar is RCAS (https://www.dlr.de/en/kn/research-transfer/projects/next-gen...).

swiftcoder 3 hours ago | parent

> Yeah, but how do you distinguish that?

By enumerating the tracks?

I feel like you are intentionally trying to turn this into a spherical cow situation by insisting on solutions that work in an information vacuum. All of this sort of problem in the real world is solved by sensor fusion from multiple data sources.

Trains are captive to a particular track - they can only change tracks at specific pre-determined junctions. With a pretty minimal sensor feed from each junction we can statically determine which track segment a given train is on. With GPS we can shrink that segment length down to a few kilometres. By sharing data persistently every single train can validate that central command-and-control is not about to run it into another train from behind...

There cases which are genuinely challenging engineering problems (i.e. derailments that impinge on adjacent tracks), but this trivial case of bumper cars is not one of them.

1718627440 2 hours ago | parent

>> Yeah, but how do you distinguish that?

> By enumerating the tracks?

How do you distinguish that the <2km away detected moving train runs on your track on not on the one directly besides you?

> Trains are captive to a particular track - they can only change tracks at specific pre-determined junctions.

Yeah, but you do not know which one it runs on. Your entire point is that you do not trust the information the infrastructure knows. If you do allow to use information from the infrastructure, then why not use the sensors that already exist along the whole train network? It's also very unlikely that there is something electrically connecting the two rails of a track, that you would like to run over. So why wouldn't you trust that information, but some vague GPS signal?

> we can statically determine

But the current state of the art is, that you deterministically and provable know where a train is. Why would you use a more expensive, less safe system? The current focus to reduce errors in computing train conflicts is to prevent random bit flips due to radiation at the same time in three different computers running different software.

> I feel like you are intentionally trying to turn this into a spherical cow situation

The situation where you proposal makes sense, but the current system does not, is a spherical cow situation, that's my point.

swiftcoder 1 hour ago | parent

> that you deterministically and provable know where a train is

You are the one who framed this conversation as it not being solved how to deterministically know where a train is. Everyone else in here has been kindly suggest that if perfect information is unobtainable, then we should work with what we have

1718627440 1 hour ago | parent

Oh, I see how you could think that, without context. That's in fact not what I wanted to say. I meant that pretty literally. The infrastructure of course knows where the train is.

> Trains are still not able to assess properly where they are, even using satellites and inside train sensors. Of course there is research on that, but it's still an unsolved problem.

*Trains* on there own! This IS a hard problem, how to do that with any other infrastructure. It IS current research and not yet solved. That is for example relevant, if you want to be able to run trains at full speed <1m tolerance, so that you can have more than one train stopping at a station <60s. All while still not paying for infrastructure and maintaining backward compatibility with a century old trains. (I mean in the future you could use the same to also couple trains at full speed, but that's still sci-fi.)

tancop 49 minutes ago | parent

Redundancy in a central node is an oxymoron. Safety critical systems need to work 100% of the time if any single node fails, and stop safely if there are multiple failures and it can't work properly. Doesn't matter if each individual node is 100% reliable by itself because connections fail too.

collabs 6 hours ago | parent

The way I think of it, divide the tracks into segments. Before you put a train on a segment, you must ask a question - is there a train on it. There are only two answers possible, No, and something else. If it is something else, stop. Don't let the train on that segment.

There are optimizations possible like make segments smaller etc but the original algorithm is trivial. If we can't figure things out, we make segments longer and we slow down the trains until we can. I am positive for a sufficiently large track segment and a sufficiently slow train, we can always answer the question with a no.

1718627440 6 hours ago | parent

Congratulation you are reinventing 1890 state of the art.

jdmichal 18 minutes ago | parent

You've "invented" interlocking railway semaphores, after which the computer science concept was named.

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

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

Pragmata 1 hour ago | parent

who said anything about only using gps? I'm saying in addition to their current system!

1718627440 1 hour ago | parent

The exact comment I answered to. https://news.ycombinator.com/item?id=50287160

AnimalMuppet 1 hour ago | parent

Part of the problem is multiple tracks. Those tracks may be only 10 feet (3 m) apart. (I don't know if high-speed rail lines in Spain are that close, and I don't know if the line where the accident occurred was double track.)

"Reasonably accurate GPS" trying to determine which track you're on at 150 mph is not as simple as you make it sound. Yeah, it can determine how far along the track you are. But when you get two trains moving toward each other, each at 150 MPH, do you really trust that GPS to tell you that they're on different tracks?

esafak 1 hour ago | parent

It's very easy since there is limited ability for trains to change tracks, so the location history of the train is a strong indicator of which track it is on. Even Google Maps can tell you which lane you are in since god knows when, and cars can freely change lanes.

And that's just consumer software. For something commercial like a train they could trivially solve this problem with something more robust. But I'm not familiar with the Spanish system; how much of the engineering did they do?

AnimalMuppet 1 hour ago | parent

Yes, it can tell you. How perfectly, though? Perfectly enough to bet 60 lives on?

When Google Maps gets wrong what lane I'm in, nobody dies. It can be right 99% of the time, that's good enough. It's not good enough for a train system, though - at least, I suspect it's not. I'd want a lot more than "it works in my car" before I trusted it.

californical 23 minutes ago | parent

Can we just have it as an additional data point, on top of what we should already know from where the train should be from switching history? If we get 99% accuracy, is that enough to check with an operator “specify which track you are in, left or right” when the measured value is different than the expected?

kube-system 58 minutes ago | parent

Google maps gives me the directions for the express lanes when I'm in the normal lanes and vice versa like 50% of the time, and that's an order of magnitude greater error in distance than the distance between adjacent train tracks. And several orders of magnitude greater failure rate than is acceptable for a safety system.

brookst 53 minutes ago | parent

There are switches that move trains between tracks. Now you need every switch to report, keep a history of that. Many trains also separate and combine. Trains sometimes go backwards to be switched.

It's not impossible. But handwaving GPS placement of trains at the correct location, direction, and track deserves more than a handwave as trivial.

busywaiting 50 minutes ago | parent

Trains can't change lanes without warning like a Nissan Altima on the Dan Ryan Expressway. The only way a train can move from one track to an adjacent track -- or get on the first track in the first place -- is if switches are set to allow the train onto that track. And on any modern high-speed line, those switches are centrally controlled by dispatch.

Keeping track of which parallel track a train was on automatically was a solved problem a hundred years ago, using relays and lights and hard-wired logic. Adding computers and GPS greatly increases the precision with which dispatch knows position and speed along the track, but knowing which track has not changed in the last century.

pixl97 5 minutes ago | parent

>Trains can't change lanes without warning

Oh, they can, but it's usually a very traumatic event.

swiftcoder 7 hours ago | parent

> Trains are still not able to assess properly where they are, even using satellites and inside train sensors. Of course there is research on that, but it's still an unsolved problem

Throwing up our hands about how hard a problem this is seems like a ridiculous position to stake. If we can design self-driving cars, that operate safely in far less controlled environments, we can figure out the linear offset of a large vehicle traveling along a physical rail running along a fixed pre-determined path.

1718627440 6 hours ago | parent

I said nothing about "throwing up out hands", this is a current research topic. But you can hardly blame the workers for not using a system, the researchers haven't invented yet.

> If we can design self-driving cars

We can not design self-driving cars to the safety standard that is required for railways. They are way less safe than the current half-manual system for railways. What you suggest is using less automatic safety systems than what we currently do.

knottn 5 hours ago | parent

Has there ever been a case where two self driving cars collide with each other? I hate to be part of the peanut gallery, but as a totally naive person when it comes to railway safety research it really does seem amazing train collisions can’t be easily prevented with gps, lasers, sonar or various other trivial ways. Even the crash in question seems like it might have been easily prevented by having a second human in the loop. Maybe I and others just suspect the difficulty isn’t so much technological as it is financial.

1718627440 5 hours ago | parent

As far as I am aware, there has been no non-supervised train in a general train network. (They exist in closed systems.) However whether the train is self-driving is really not the issue here. In current railway safety systems (even from the 80s) a crash is about the same probability as random bitflips. However reality is too messy, so that the availability is not satisfactory enough to not use a human fallback, and then you are back to the assisted human error rate.

Current operation of a train is basically self-driving and supervising driver. So if you suggest "just use self-driving", you make the system less safe, not more, because it means just getting rid of the human supervisor. This is not currently done, because it would be too insecure. It might be done in the future, but rather because less safety is going to be accepted in favor for getting rid of the costly human.

A self-driving train will happily cause a crash, if the target is "drive with high-speed in that segment currently occupied by another train". The issue is that that becomes a target, not that there is a human in the loop.

Fargren 26 minutes ago | parent

> Has there ever been a case where two self driving cars collide with each other?

I don't think that's relevant to trains. Cars can avoid a collision much more easily than trains can. Cars can swerve, and if they are at a distance at which line of sight tells them they will hit an obstacle, they are moving slow enough to stop before hitting that obstacle. Trains have to say on tracks, and they need a lot of distance to stop moving.

The constraints are very different, so the solutions and tradeoffs will be different too.

wjnc 6 hours ago | parent

Would you mind sharing some more of the why it is still an open problem? (I know I know little about this subject.) I understand satellite positioning isn't definitive and did not suggest it should be the /primary/ risk mitigating factor. But even as a tertiary or lower risk mitigating factor, this would have been a worthwhile investment. (Sorry for the bleak introduction of economics.)

And some problems are just _open_ to outside looks. My assistant tells me that the room for error in trains on one dimension ('left - right') is mere 10s of centimeters. I understand that problem. But what track you are on, isn't that obvious to the human in the cabin? (Again, simplifying, not flaming. Production ready safety is _hard_.) So could a vision based solution help count tracks from left to right? (Assistant: "US PTC, on about 54,000 route-miles, uses GPS for the lead locomotive plus crew-entered track information and switch position".) So you use the dimension that matters most in crashes (forwards / backwards) from satellite, augmented with vision or human based left-right positioning. Some trains already have sensors to sense things like leaves on the track to adjust speeding and braking... So the sensor based approach is already there.

Perhaps I am read as suggesting that the problem is easy, and that is not my intention. But for cars this was solved decades ago for routing and years ago for self-driving. I use that daily. Flying is organised with a very clear 6 sigma approach. Crashes are nearly always situations where events / risks stack. Trains (in Spain)...?

Tl;dr - Safety is a function of (human; process; technology) and there is clearly something lacking for trains, when compared to other types of transport.

1718627440 4 hours ago | parent

So that's a lot of questions, that I all can't answer in full.

> Would you mind sharing some more of the why it is still an open problem?

Because for train sensors, there is a small drift which accumulates too much, hence it is synchronized by magnetic position markers in the tracks.

> I understand satellite positioning isn't definitive

Yes, and the point is it might be some solution if we would have the safety systems from 1860. But we do not and hence it needs to be more accurate than the current system, and it is not and in addition also more expensive (and subject to remote influence and reliance on potentially adversary nation states).

> Sorry for the bleak introduction of economics

No, economics is basically the primary constraint for safety. We could pay million people to make sure a single person does not stumble if we want total safety, but that's completely pointless, and also these million people would starve, because no one is producing food anymore.

> But even as a tertiary or lower risk mitigating factor

But for that it's too expensive and still unreliable. There is RCAS[1], which I already linked elsewhere in the thread. That's basically cutting edge and too expensive to introduce everywhere. Also previous safety systems are already not rolled out enough, which is causing these accidents, so rolling out yet another expensive system is not going to improve much.

> But what track you are on, isn't that obvious to the human in the cabin?

Yes, but if it is already known, why use GPS to calculate the same information with more error?

> So could a vision based solution help count tracks from left to right?

If the train driver or dispatcher makes use of vision to assess the train position, the error will be higher than the current sensor/electric-resistance based system.

> Assistant: "US PTC [...]

BTW, that seems to be a verbatim quote from https://www.railwayage.com/cs/the-way-forward/

> US PTC

According to Wikipedia, ASFA being introduced in 1975 is rolled out in the entire Spain network. ETCS which is the European standardization seems to be rolled out on all high-speed lines or currently being rolled out.

> So you use the dimension that matters most in crashes (forwards / backwards) from satellite, augmented with vision or human based left-right positioning.

Duh, that just sounds like trains would be operating blindly in space currently and need to assess their approximate position.

> Perhaps I am read as suggesting that the problem is easy, and that is not my intention.

No, the issue is that you are suggesting far more complicated solutions to already solved problems, with simpler systems in operation for decades. The current system is that nobody in the train even has a say on where the train goes, so the problem you are trying to prevent doesn't even exist. This IS why it's way more safer than a car. There are movement authorities, that define from where you are allowed (and have to) drive with your train. The problem is not, that the train driver isn't able to know where he is and hence drives wrong or too far (that would be prevented by the on-board safety system), but that the movement authority itself is faulty.

On an up-to-date signaling box (withing the past 6 decades), even the train dispatcher is no say in safety questions. You could put a monkey in charge of it. There would be chaos, but they would not cause a crash. The current job of a dispatcher in normal operation is to assign resources to prevent deadlocks and to implement vaguely defined priorities. (Basically the equivalent of the public thinking a programmer is a code monkey, while the actual point is clarifying stakeholder interests.)

The actual issue here is, that while these safety system have a very small false positive rate, they do have a too large false negative rate for there to be an acceptable availability. Hence in the latter case, the human needs to take over and then you are back to a much higher false positive rate. The issue would be alleviated by relaxing the constraints on cost per availability. Either by allowing for less availability or by reintroducing more humans, so that the system situation can be assessed by humans directly.

These accidents are caused as follows: the automatic system fails, because the internal state of the system does not match the actual state of the world. Hence the human needs to take over. But the human also needs to rely on some system to know the world state. Which systems can he trust, given that the whole situation is that the systems report that he can't trust them? So he needs to make some decision and in most cases, that decision is still correct. But there is still an error rate to that, and then something like what we are discussing happens.

> But for cars this was solved decades ago for routing and years ago for self-driving.

This is absolutely not solved for the cars, and to the sense that it is, it was solved and rolled out from the 1870s onward for railways using mechanical computing systems, the switch to using electricity happened in the 1910s.

> Flying is organised with a very clear 6 sigma approach.

You are correct, that aircraft safety systems need to be designed to a higher reliability than railways, because on a rail you can always stop in case of an error, while in the air such a choice doesn't lead to a safe state. But if you compare these safety systems, basically aircraft is operated like railways used to be operated in the 1920s. (My peers actually had a task to compare them and find ideas from one that can be applied to the other. While there is a lot of automation to be taken from rail that can be applied to the aerial industry, there is not really much that can be applied the other way.) It is also operated with the amount of personal than 1920s railways. That's because there is a lot of money in aircraft, while railways are mass-transit and need to be cheap. If you would operate today's railway with the amount of human oversight than in the past, it would be a lot safer than aircraft.

> there is clearly something lacking for trains, when compared to other types of transport.

What are you talking about? Railways are so much safer than cars. https://news.ycombinator.com/item?id=50288518 Yes, there are less accidents in planes than in trains, but this is due to what I already explained.

   [1]  https://www.dlr.de/en/kn/research-transfer/projects/next-generation-train/rcas-railway-collision-avoidance-system

wjnc 2 hours ago | parent

Thank you for your time and knowledge.

Maken 6 hours ago | parent

The current control system dates from the early 90s. They started rolling a modern system with more redundancies and automatic blocking in 2022 but it's still not fully deployed.

1718627440 6 hours ago | parent

PZB is from 1934. Arguably always prioritizing deploying the most modern system on the highest profile lines, is what prevents us from properly rolling out the basic safety systems everywhere.

swiftcoder 4 hours ago | parent

These high speed trains are pretty recent. Are we really not upgrading safety systems past the 1930's when upgrading a line from ~80kmph to ~300kmph?

1718627440 3 hours ago | parent

I was only talking about the general problem domain, not about this specific location. The current safety system is also not was has caused this, likely. Or rather it has caused this by it's availability, not by it's safety.

jonny_eh 58 minutes ago | parent

After learning about a sufficient number of such "accidents" I'm now convinced the cause is never "operator error", it's always a system error. It's the humans that design (or oversee their design and implementation of) those systems that are at fault.

crote 7 hours ago | parent

Whose negligence, though? "The system" isn't just the LZB equipment - the train dispatcher is just another cog inside the same system, and should be expected to occasionally fail just like every mechanical part.

This isn't a game of Hot Potato where the last person touching it goes to jail for gross negligence. You have to look at it through a Swiss Cheese model: every individual safety layer can and will have holes, but a disaster can only occur when all of those holes align.

Why did the LZB system fail? Why did the train dispatcher use the wrong backup procedure? Why did a backup procedure with zero safety checks even exist? Why did the train operator accept this backup procedure? Why did the train allow high-speed driving under those unsafe conditions?

It does indeed seem like the train dispatcher made a big mistake, but that was far from the only thing that went wrong, and it would be myopic to use him as the scapegoat for a far larger systemic issue.

avereveard 7 hours ago | parent

Dispatcher, conductor at that time could not have know that dispatcher ordered manual bypass ignorig the rest of the guardrails of a traffic resume procedure

barbazoo 1 hour ago | parent

Not OP but I'm imagining we'd ask the question why the "dispatcher ordered manual bypass ignoring the rest of the guardrails". They're saying it's all slices of cheese in a system that failed here.

gregoriol 27 minutes ago | parent

It seems that one of the train conductors did know that it was not the procedure and tried to warn of the problem.

kazinator 52 minutes ago | parent

If you ignore a road sign and run someone over in your car today, nobody will make systemic excuses for you.

Someone was driving the train who couldn't estimate the stopping distance relative to speed.

If a car is stalled in the middle of the road, and you hit it, that's on you. 200% if a reflective warning triangle was up 100 meters back.

bobthepanda 34 minutes ago | parent

Trains take a long time to stop even at moderate commuter train speeds because they are so heavy, let alone high speeds of 300km/h+.

At least one of the failures here is that the dispatcher authorized such a high speed, in other systems I am familiar with, generally the procedure with a signal fault is to crawl at a speed such that the train can stop in line of sight distances.

In fact, that is the Spanish protocol, which for some reason was bypassed by dispatch even after the train driver had questioned it:

> Under normal protocols, the driver would be expected to continue moving at a maximum of 40km/h according to their line of sight, and not at normal speed on a track designed for speeds of up to 200km/h.

stetrain 27 minutes ago | parent

If a stretch of road continues to have frequent crashes even though a sign is present, it is worth examining why that sign alone is not solving the issue.

Air travel is as safe as it is because we don't stop the investigation at "pilot error" but instead ask why the pilot made the mistake, and why a single mistake was able to lead to loss of life.

pixl97 8 minutes ago | parent

I don't mean to pick, but it seems like you have near zero knowledge of how train systems work.

You are 100% dependent on your safety and monitoring systems because almost every problem that could come up is beyond the horizon of your human senses. Stopping distances are in thousands of feet to miles depending on the train size and weight. Add any curves and that's far beyond your visibility.

Then you add in management complaining that you're too slow and you need to do things faster and cheaper or you'll lose your job. Things turn from solution culture to blame culture.

Then you add in false errors and warnings in a system that teach you to ignore them and an upper management that doesn't fix them.

Then you have the day like hundreds of others where warnings are going off, management is yelling, but this time there is a stopped train around the corner and everyone dies.

This is a systemic problem.

ahelwer 8 minutes ago | parent

I wish this were true, but there is basically no consequences for drivers in the situation you described. The most egregious example I can think of near me was in 2022 when a kid was crossing a flashing crosswalk with his bike near Tacoma, and truck had stopped to let him cross. A woman ignored the crosswalk signal and used the adjacent lane to drive past the stopped truck and hit the kid, killing him. The woman was never criminally charged. She didn't even experience any consequences for her driver's license.

https://komonews.com/news/local/13-year-old-boy-killed-while...

tencentshill 53 minutes ago | parent

Too bad they don't run it with AI. Then it would be nobodies fault!

notenchange 7 hours ago | parent

Reading the text it seems to me this is due to a very widespread issue in Spain and other southern European countries: people don’t care about the warnings because there are too many false positives.

That’s why people here, when they hear the fire alarm they just wait for it to go off: the probability that it is actually a fire is minuscule… but the alarm triggers a lot.

Not sure how to actually solve this… but I’m also not making excuses for what happened. High speed trains is not the same as a fire alarm in some office building, the people in charge should be held responsible somehow.

1718627440 7 hours ago | parent

It just means that a false positive rate is as dangerous as a false negative rate. Just issuing a warning doesn't come for free when you are designing a security system.

karmakurtisaani 7 hours ago | parent

This is very well illustrated in the fable Boy who cried false positive.

mercer 5 hours ago | parent

that sounds like a character from Harry Potter and the Methods of Rationality.

coopykins 7 hours ago | parent

Something similar is happening in my region after the flood that happened two years ago: The alarm was raised late; Now, even mild rain is triggering an alert.

Guess whats the consequence of that? Less and less people pay attention to the alerts.

ricardobayes 7 hours ago | parent

What you mention makes me frustrated, as it also signals the infrastructure is so underdeveloped even moderate rain grinds daily life to a halt: kids don't go to school if rain is forecast. We need to elevate our professionalism in Spain and not accept African-level infrastructure in the 21st century. It's really sad within one continent we have countries producing AI and photon computing, and others can't even figure out how to put gutters and rain drains.

pelagicAustral 7 hours ago | parent

> That’s why people here, when they hear the fire alarm they just wait for it to go off

This literally happened to me last night, I was having dinner at my apartment, and suddenly I start hearing a smoke alarm, but not quite inside the apartment, I just kept having dinner thinking "bah, someone probably burned a toast".

Then it wont stop, I walk to door and hear people talking, still don't bother enough, wait a few minutes, then go out and my neighbor said "there are three fire trucks down there, I think it's a real one" hahhaha

The hallway was kind of hazy and smelled like burnt food, for sure... so I just grabbed my laptop and went out hahaa.

avereveard 7 hours ago | parent

Because they don't get held responsible enough for bypissing procedures. Some system are too complex for fully automated operarions, and the human need to play along.

Safety culture is blameless, but only if everyone plays along.

PaulDavisThe1st 1 hour ago | parent

I'm a volunteer firefighter in rural NM. We have a commercial property close to us that repeatedly has false alarms on its fire alarm/smoke detection system, to the point where even the best of us are suffering from "the boy who cried wolf" feelings.

Because of this, I discovered that (apparently) NY Fire Department charges $5000 per false call on an alarm system directly connected to the dispatch system.

Somethng to think about.

infecto 1 hour ago | parent

These are elegant solutions imo.

jonah 1 hour ago | parent

Pretty common in lots of places - you get charged after n false-alarms and are required to fix your broken sensors or whatever is causing the issue.

Maxion 34 minutes ago | parent

Sometimes code gets in the way. E.g. in the school I went to growing up they had to have firealarms in all kind of closets and storage rooms. We got at least once per semester a firealarm when some teacher went in to sort stuff due to the dust.

js2 5 minutes ago | parent

There's generally two types of smoke alarms each with pros/cons: photoelectrical which are susceptible to dust and ionizing which are not:

https://www.nfpa.org/news-blogs-and-articles/blogs/2023/03/0...

I wouldn't think code dictated the alarm type. (I just replaced all nine sensors in my home due to age and went with all photoelectric this time and it was less than six months before I had my first false alarm. Never had any false alarms with previous ionizing type.)

futureproofd 55 minutes ago | parent

For example, my condo in Toronto charges $800 per false call.

Kinrany 34 minutes ago | parent

It should probably be X$ per alarm regardless of it being false or not, minus first N per year.

rtkwe 30 minutes ago | parent

Why? The goal is to incentivize property owners to fix broken systems not to pay for the actual cost of responding to a real call. That's covered by taxes.

ralegh 13 minutes ago | parent

Depending on who is paying and how much, someone might light a small fire to avoid the fine.

uniq7 29 minutes ago | parent

That will also decrease the number of true positives

esafak 1 hour ago | parent

Improve your alarms. Duh. You just have to care. Now that people died perhaps they will pay more attention.

tintor 1 hour ago | parent

Issue and enforce fines for every false positive alarm, and problem will solve itself.

kazinator 56 minutes ago | parent

Or, how about, issue a mandatory repair order and follow-up inspection for every false positive alarm that appears to be due to equipment failure. The follow-up inspection checks that the alarm has not simply been disabled.

jonny_eh 59 minutes ago | parent

To your point, a contributing factor here was the front train couldn't start due to either a minor or bogus "security" alarm. Whatever alarm that was, it wasn't worth triggering such a tragic accident.

jameshart 10 minutes ago | parent

To be fair the Spanish word for security is the same as the Spanish word for safety: seguridad. It could as easily be a ‘safety’ alarm and a mistranslation.

dang 1 hour ago | parent

Earlier thread:

What we know so far about Spain train crash - https://news.ycombinator.com/item?id=50286197 - Oct 2026 (84 comments)

steelframe 28 minutes ago | parent

This event was pretty chilling for me because I just took the Renfe line from Seville to Madrid a couple of weeks ago while visiting Spain. I generally like to think that I have a pretty good instinct on relative risks and make reasonable decisions based on that. This time around, between the incident earlier this year and this most recent incident, depending on how you interpret and apply the statistics (of course that's always up for healthy debate), it looks like it would have actually been safer driving between Seville and Madrid. That's a pretty low bar in terms of safety!

I set my favorite agent on the task (Opus 5.5 in the Kagi Assistant), and given the two rail crashes in Spain this year, these are the stats it came up with for "chances of dying" via various modes of transportation between Seville and Madrid:

* EU high-speed rail, long-run average: ~1 in 36 million

* This rail line, counting both 2026 crashes: ~1 in 400,000 to 1.2 million (prior to the most recent crash it was 1–3 million; now ~2.5× higher)

* Flying with a European airline: ~1 in 80 million

* Driving: ~1 in 1 million or worse

Of course this is hindsight. Heightened awareness of risks, higher propensity to overreact to anomalies or alarms, procedural changes, and so forth in the wake of this second crash might push high-speed rail in Spain to be higher than the European average in the future.

loloquwowndueo 19 minutes ago | parent

Ask it to look for high-speed train crashes globally over the past 15 years (to include the 2013 one in Spain as well) to be honest I don’t remember any HS accidents other than the three in Spain so, odds or not, I am NOT taking a high speed train in Spain ever.

vagab0nd 25 minutes ago | parent

Tell your travel agent:

"Add a global memory. Whenever I'm in Spain or planning to go there, remind me of this: <story url>, and plan to avoid it."

absoluteunit1 8 minutes ago | parent

This was a terrifying read because I initially read about this at the air port in Madrid after taking a Renfe train from Alicante; literally at the same time...just a different line

anonymous2024 49 seconds ago | parent

I still don't know why the train drivers don't have a simple data: The distance to the train that is next in in that railway in its direction. With this information, that accident will have never happened.