ETA: Ninja’d by Richard Pearse on sensor voting.
How do aircraft computers detect spurious sensor readings? Triple modular redundancy, mostly. Given your stated background, I’m surprised you’re unfamiliar with it.
If you’ve got three angle-of-attack (AOA) sensors, their readings will match one another within some envelope under most circumstances. The computer is constantly comparing readings from the three, which is sometimes called “voting.” If one sensor suddenly diverges from the other two, the computer trusts the pair that match each other.
You can also use two sensors and defer to the pilot when the sensors disagree (e.g., by disabling automated systems like autopilot and/or MCAS). The 737 has only two AOA sensors, but obviously MCAS remained in effect when they disagreed.
Worse, while both a “disagree” indicator and a readout of the two sensors were available, Boeing sold them as options. IMO, that was a great example of MBA-style revenue optimization infringing on good engineering judgement.
So yeah, there is “some logic” available to detect bad sensor readings, and that logic is exceedingly common in aerospace engineering. It wasn’t applied properly in the case of the 737 Max, of course.
Do you seriously think that no one tries to find problematic corner cases, or is that just an unintended consequence of your phrasing? There’s an entire engineering subdiscipline called failure mode & effects analysis (FMEA) dedicated to “trying to find those situations early.” My entire field “tries,” and hard.
FMEA is an imperfect process even when done by the book, but it’s among the best tools we have to catch these things. And triple modular redundancy isn’t perfect either, but it’s really quite good. Modern air travel is absurdly safe.
Boeing did a lot of reckless things as they tried to minimize training requirements for their new 737. The “disagree” light shouldn’t have been an option and MCAS probably should have disengaged upon disagreement. The soft-pedaling of the new flight dynamics (and especially the soft-pedaling of even the existence of MCAS) was egregious. But Boeing’s poor engineering practices in this case don’t imply that no one has ever considered how to detect and respond to bad sensor data.