136 points · by bobsil1 · 7y ago · 156 comments
I cannot even imagine what the designers of this thing are going through now. It must be terrible.
To make it worse, it's a confusing topic. There are two pillars to the design of such system.
1. Faulty sensor must be detected with a very high probability. The typical way to achieve that is redundancy and diversification. The exact amount of redundancy depends on the reliability of the sensor considered. In most cases, it is sufficient to have 2 sensors, but of different models, in order to avoid common mode of failure.
2. In case of a failure, the system must have a graceful degradation, and in aeronautics, this means a clean handover to the pilot.
So, in the case of this MCAS thing, having two sensors is not necessarily a bad thing, and what M. Kornecki reports is 100% correct. What looks strange is the way a single failure was managed by the software, and how the procedure to recover was quite complicated and, even worse, not exported to the training material of the pilots. In my world, we called this "exported safety requirement application conditions" - SRACs, and verification of their proper allocation is a big chunk of the safety case. More than discussing architecture, in my view, the investigation must explain why the organisation failed to perform this activity.
The case for a third sensor can be made to decrease the likelihood of having to bypass the system ("belt and suspenders", as says M. Kornacki), but based on my experience, it will not be sufficient. As other correctly report here, it's not a silver bullet.
Ultimately, the degradation scenario and pilot handover is part of the overall system safety.
According to this article (https://www.vox.com/business-and-finance/2019/3/29/18281270/...), this was a requirement of the 737-MAX while it was being developed. It needed to be sold as pretty much the same as it's predecessors, therefore requiring minimal retraining.
> The training piece is important because a key selling feature of the 737 Max was the idea that since it wasn’t really a new plane, pilots didn’t really need to be retrained for the new equipment. As the New York Times reported, “For many new airplane models, pilots train for hours on giant, multimillion-dollar machines, on-the-ground versions of cockpits that mimic the flying experience and teach them new features” while the experienced 737 Max pilots were allowed light refresher courses that you could do on an iPad.
> That let Boeing get the planes into customers’ hands quickly and cheaply, but evidently at the cost of increasing the possibility of pilots not really knowing how to handle the planes, with dire consequences for everyone involved.
not excusing Boeing here, just extrapolating the situation to where there are so many automated systems doing so much and such complicated stuff that handover to pilot is just not an option (especially if plane is designed to fully utilize the automated systems capabilities). Like F-16 which just can't flown manually, or autonomous vehicles (Uber/Tesla/ect.) where handover to human driver in reality is absolutely not option. I mean, look how we completely lost the ability to stick-shift the cars.
I can't even imagine a sensor failure having zero redundancy, much less changing control inputs to a complicated system like a multi-engine jet. This is completely against everything I know about engineering and I find even discussion of this being possible to be deeply offensive. The fact that it happened twice and hundreds of people are dead is just mind boggling.
Don't put off a $150 job and cost yourself a $2k job. Most sensor replacements don't require removing the cylinder heads.
When sensors fail, the system will transition to degraded modes of operations where the pilot will have more responsibility.
The safety case will rely on demonstrating that transition to such degraded modes is low enough to be compatible with the human rate of errors.
A modern system should not be declared safe if it relies on pilot _whatever_.
Not sayin’ it did not happen in the past. Unfortunately.
I'm questioning whether a system as the one I described can be abused to the point where redundancy is offloaded to pilot flying the plane even when it shouldn't be?
Their poor decisions led to this. Single sensor as input to autopilot to augment the nose!?
Any reason to not just use at least 9 of them, pick the median value and forget about it?
This is why the redundancy choices and availability calculations should always be made pondering the maintenance burden.
I think that created the right incentives: you could ignore a faulty sensor or two, but the results were increased travel times, so costs to the operator.
I always wonder why we don't have massive arrays of micro-sensors on planes spread out over the plane. If a handful your 65k sensors start to fail, you can delay repair for quite some time - otoh, if sensors start to fail all over the plane, you know you have to wake up the pilot hard, since it's a systemic problem like icing.
[0] https://en.m.wikipedia.org/wiki/British_Airways_Flight_9
When, in actuality, it may not have looked much like runaway stabilizer trim to the pilots.
My understanding is in a runaway stabilizer trim situation the trim wheel (a medium sized wheel near the pilot and co-pilots knees) spins continuously and makes a loud clacking noise as part of the spinning.
This makes runaway stabilizer trim easy to identify. The wheel is spinning (for no identifiable reason) and making noise.
The MCAS failure, however applies trim discretely with intervals of 10-20s. This means it might be very hard to spot the adjustments to the trim wheel if you glance down briefly.
A pilot might notice the control column is heavy, glance down to see if it's runaway trim see the wheel not moving, rule out that scenario and move on to other diagnostic steps.
This is getting worse for Boeing at every turn.
Details of the flight if you want to do some research: Lufthansa Airbus A321-200, registration D-AIDP, performing flight LH-1829 from Bilbao, SP (Spain) to Munich (Germany) on November 5th, 2014.
I suspect AoA is sending signed data, computer expects unsigned data, or possibly LSB/MSB conversion problem. Or it could just be faulty logic somewhere.
Critical AoA is somewhere in the realm of 17 to 20 degrees.
That doesn't leave much room for where MCAS wouldn't be a problem.
Also, AoA sensors are not normally safety critical. The MAX is the first 737 airframe for which this is the case.
That triple-sensor system isn’t foolproof, however.
In 2008, on a customer-acceptance flight of an Airbus A320, two of the angle-of-attack sensors froze and those two sensors then outvoted the third. When the pilots went to demonstrate the stall-prevention system, they were not aware of the malfunctioning sensors. The plane crashed, killing the seven people on board.
The same problem arose again on a 2014 Airbus A321 Lufthansa flight leaving Spain. Eight minutes after takeoff, two of the angle-of-attack sensors froze at the same pitch. This time, after a drop in altitude, the pilots were able to regain control and complete the flight.
Any automation system can fail, and when that happens, hope that through some combination of luck, skill, experience, and training, the pilot will get the plane safely to the destination.
These sensors exist to solve a problem with the MAX design. Changing and moving the engines increased the likelihood of a stall when the engines could push the nose up (as I understand it). Fine.
But here's the kicker: this should be something that pilots should be trained on. They should be aware of how the MAX is different to the previous 737s and know what to do to disable this system if it causes problems.
But that might be the end of a common type rating, which is something the airlines (and apparently Boeing) didn't want.
The whole 737 MAX situation just looks like a giant clusterf--- that was a kneejerk reaction to the unexpected success of the A320neo to which Boeing had no answer and to avoid years-long development delays and losing more customers to Airbus, it really looks like they made shortcuts. And that's so damaging to their brand it really defies belief.
From the article: “A properly trained pilot should be able to solve an MCAS anomaly or any uncommanded flight-control input through procedures that are taught to all 737 pilots,” said Menza, noting that the emergency information Boeing distributed in December reiterated those procedures.
Here's a video of a competent 737 pilot showing those exact procedures: https://www.youtube.com/watch?v=xixM_cwSLcQ
Obviously the MCAS system is badly designed, but any automation system can fail and pilots need to know how to deal with it.
https://www.wsj.com/articles/ethiopian-airlines-pilots-initi...
One can't teach others without having first learned the lesson oneself. I'm not convinced Boeing has. I'm not convinced the company had adequately consider all possible scenarios and how pilots would react in them based on their intuition.
This is by design. The flight software is deliberately kept simple enough that the pilots can be trained to understand the full workings of the flight software and what it will do in any situation.
The entire flight control algorithm is probably only a few hundred lines of psudocode.
It's a catch 22:
We are fully capable of designing a plane that safely flys itself from airport to airport without any pilots, to handle most emergency situations. We have been able to do so since the 80s.
But we are not able to put a pilot in the loop on such a plane without massive safety implications. To have a pilot in the loop, the software has to be kept super simple so the pilot can diagnose it in an emergency and take the correct action.
Either we have the flight software that is situational aware and authorised to take any action, or we have a super simple software and a pilot in the loop. There is no safe middle ground.
No, the sensors existed before the MAX they are used by the autopilot system. With the MAX they are now also used by the MCAS system.
I know this isn't a great example, but triple redundancy is enough of a design cornerstone that Arthur C. Clarke made it one of the defining features of Rendezvous With Rama, a classic sci-fi story about an Oumuamua-like object that people manage to land on:
>It was now strikingly apparent that the "city", like so much of Rama, was triplicated. It consisted of three identical, circular complexes or superstructures, rising from a long, oval foundation. Photographs taken from the hub had also indicated that each complex was itself divided into three equal components, like a pie sliced into 120-degree portions. This would greatly simplify the task of exploration; presumably they had to examine only one-ninth of [the city] to see the whole of it.
It doesn't exactly sound like a new or controversial idea, you know?
A more robust idea is to have three redundant subsystems, each different.
https://en.wikipedia.org/wiki/Bathtub_curve
Like, you don't expect them to last forever, but you do expect at least 2/3 to meet their lifetime estimates.
NASA's Genesis mission was bit by this a while back. It had redundant parachute sequencers for a sample return capsule, but they were all assembled identically and with the G-sensors backwards. Consequently, they all failed in exactly the same way.
Alternatively, couldn't one correlate the AoA sensor output with the accelerometer output (or some other pitch sensor)? A frozen AoA would have identical readings as the plane changes pitch, a functioning one shouldn't, no?
I would have thought that for any condition there would be more than one mechanism available to sense it. You could get different devices to vote on what is the real condition.
This has been done for years in visual cockpits with regards to an artifical horizon. The pilot only has to look out the window (assuming visibliity) to confirm what the instrument is reporting. Of course when the pilot loses visibility and starts to rely on their inner ear for "level" bad things can happen.
Many more simple planes, especially things like gliders, have a simple ball bearing in a curved tube to indicate "down" as well as the more convential artifical horizon.
Also I'm not sure what you're talking about with using the real horizon as a backup to the artificial horizon. It's not meant to be a redundant setup. Artificial horizons aren't required for visual (looking outside) flight, and relying primarily on the instruments in visual flight is an error.
In clouds/poor visibility, the cross-check for the artificial horizon is provided by the other flight instruments: airspeed, altimeter, turn coordinator, vertical speed indicator, and directional gyro (or their equivalents on an electronic display).
If it's typical for the sensor's data to vary from 30.00 to 30.99 degrees as the wind passes over the wings and two sensors are permanently frozen at 10.42, after 8 minutes I think that there might be a high enough probability for the computer's software to decide that two sensors are broken and one is working.
Update: AoA not AoT
P.S. I bet you could even put a strain gauge on the wing spar to measure the bending force on the wing, couple that with other inputs like airspeed, and come up with a reasonable AoA value.
Incodentally on the A380 and A350 Airbus have changed to combined AoA-pitot sensors of which there are now four.
That's pretty much been aeronautical gospel since dinosaurs strapped cardboard to their stubby arms and dreamed of soaring.
But not, by corollary, that two is none.
Those logics of "let's guess automatically if that sensor is failing" are just pushing the problem further. The real problem is too much reliance on automatic systems and top little human integration in the overall system (the human-machine system, that is to say).
Anyway, for the sake of selling, they went into the biggest failure of modern aerospace engineering. This should just not have happened.
So if they can’t hold that promise anyway, why not provide a better interface?
The MCAS system is an example of that. As you say that overriding design is typical in Boeing planes, but MCAS purposefully overrides it, that is, pushing the controls hard, which overrides other automatic functions, has no effect on MCAS.
This is something I think Boeing had got right with its manual overrides : when you design critical systems, you need human backup schemes, but you can go further and make these backup tightly integrated with the rest of the (highly automated) system.
That's pretty obvious, given by the fact that the system was initially not even documented nor was the scenario allegedly available for training in the brand spanking new 787-MAX simulator.
One of a close friend of mine who works at Airbus said that the company believes the next gen aircrafts would only require a single person in the cockpit, and everything will be handled through automations.
Airbus aircrafts are more automated than Boeing. If Boeing does not work on the automation part, it could loose to Airbus. Airbus faced AoA problem back in 2009, when Quantas flight suddenly dropped from the air. But they were able to patch it up within a month and no reported case has come up since then.
So I believe Boeing working on Automation is a good thing, and they should be able to fix it up.
Hasn't that myth been around for years, along with "Planes can take off and land by themselves?"
https://www.askthepilot.com/questionanswers/automation-myths...
Of course there are parts of today’s aviation that are incompatible with automation. ATC over radio is one of them. Visual landing only at many airports is another one. There would be large costs to upgrading the infrastructures to be computer friendly, so I am not saying the switch is trivial, but it is bound to happen nevertheless.
When designing a critical system such as an aircraft, you must include human authority into it. No technology will ever be 100% foolproof. This is not a stance against technology, automation or innovation, it's a matter of concept : most of systems (and aircraft in particular) are human-machine systems.
You cannot design an unoverrideable automatic mechanism. Think of how you can appreciate the capacity of full control over your computer and your OS (happy OpenBSD user here, for the record).
This is where Boeing messed up big time. According to the article they only had 2 AoA sensor, completely missing the fact that what happens if one sensor fails and which is correct. Airbus has 3, but IMO a critical component like an AoA sensor there should be 5 + additional inputs from the artificial horizon should be considered.
>You cannot design an unoverrideable automatic mechanism.
Yes, it makes sense. Even a complete automatic mechanism would need functionality to override in case things go completely haywire.
> if the group had built the MCAS in a way that would depend on two sensors, and would shut the system off if one fails, he thinks the company would have needed to install an alert in the cockpit to make the pilots aware that the safety system was off.
> And if that happens, Ludtke said, the pilots would potentially need training on the new alert and the underlying system. That could mean simulator time, which was off the table.
I've been around the block. I know Big Corp will always place value on profits over safety, but we seem to be entering an age where they feel unconstrained.
What is going to interesting is to see how quickly the FAA certifies the new software changes this second time around.
The current perception would be the FAA was too quick to certifying the original MCAS as being safe.
I suspect the second time around that certification process is going to take a lot more time and effort and is going to be much harder to achieve.
And the final nail in the 737 MAX coffin might be that even when that certification arrives, Boeing then needs to convince paying passenger that is now safe to climb on board the aircraft.
With a Trump lackey running the FAA, I'm sure they'll rubber-stamp whatever Boeing puts out there.
What I want to see is if any of the foreign regulators refuse to certify it. I'd love to see a show-down in international aviation between the Trump administration and better-run nations.
In that case, the engineers were probably not thanked internally back then and are probably not thanked now either.
If their potential concerns would had led to changes on the MCAS design they would probably not have been thanked either, but rather seen as the people who unnecessarily made the project more expensive or less profitable.
In conclusion, people who avert or try to avert risk are seldom proportionally thanked in organizations in general.
I think it's quite generous to Boeing to imply the MCAS system was developed in house. I'm leaning towards 3rd party contract, built to Boeing's spec. Whoever wrote the spec might be 3rd party as well, with Boeing's 'engineers' just performing as project managers.
Personally, I think it's worth taking with a grain of salt as it appears quite one-sided, but the interviews with Boeing ex-employees and head engineers are enlightening, and could go some way to explaining the lack of redundant systems (i.e. cost and time).
But really, I want to know why the software and hardware of the aircraft fails to understand that whatever actions it has performed automatically or inputs/actions by the pilots, or any other important event, are making the damn aircraft loose altitude really really fast. In the case of these Boeings, how can your software keep pointing the nose of the aircraft down WHILE it is CONSISTENTLY loosing altitude? How is this not a huge design flaw? I understand that for stall recovery you actually have to loose some altitude to regain speed/lift and recover from the stall. But if you STILL KEEP loosing altitude and there is no turning point, then damnit, whatever caused the loosing altitude should be stopped at least at 500m AGL, no? Switch on a huge yellow light to the pilots „you are 100% on your own now, the computer is out of luck and is shutting down“ and the pilot jumps on the gas pedal, 200% power to the engines, and starts to figure out how to gain altitude. Both Boeing flights were in daylight, no? Pilots should be able to see the ground/water and be able to pull the thing back up just by visibility without any sensors? It‘s a bit of a different case with the AF447, though.
How did the AoA sensors and MCAS won the authority here over the only important data: altitude change. Who cares if the AoA shows 30 degrees or -271 degrees, as long as the plane is climbing we are good! No need to point the nose down or do any other stall protection stuff? And that seems to be really what happened with these 2 Boeings. They were climbing but some stupid AoA sensor failed and some even more stupid MCAS decided to dive. And they kept diving until they reached the ocean and MCAS was still confident it was a good idea to dive?
In some planes my iPhone is able to get the GPS reading and some free app I got 5 years ago will actually show me ground speed and altitude. Which I always find very exciting. It usually matches with what the entertainment system is showing on the pax screens. Give or take <1%. So reliable altitude reading is solved, no? You have 300 phones on your plane (though only the window seats have a chance for it to work, but still...). Not sure if the GPS is gonna work if the plane is rolling and spinning like crazy, which I dont think happened in any of these cases.
I hope I don‘t make it sound stupid or even i-know-it-better, but I really just want to understand.
https://english.stackexchange.com/questions/20742/why-did-th...
Thanks for the heads up tho, I will retire it from my rhetorical toolkit in favor of something more universally understood.
... "reduces crew workload" so that they have a chance to figure it out in time and survive. Nice move.
EDIT to add: I guess I find it a bit annoying that, instead of admitting that they're fixing a terrible bug, they're cloaking it in some corporate "we're adding even more cool new features" speak.
It blows my mind that anyone still talks like this.
My first job was writing (non-life-critical) scientific software for detail-obsessed university researchers working in a lab with notebooks and procedures. If "just solve it with training" could work for anyone in the world, it would have been these people. Yet it was immediately and abundantly clear that designing usability into the system would have far more impact on their success rate at any task than documentation or training or even the reliability of the software itself.
The movie "Apollo 13" showed astronauts working in a simulator, and engineers giving them faulty sensor inputs to try to trick them. They had to train to be able to identify this possibility, and react correctly to it. This isn't the sort of thing you can figure out on the fly (so to speak). If the solution to flying an aircraft with a faulty MCAS sensor was "the pilot should have read it in a book last month", it's no wonder they were in trouble.
The software industry does make some programs with random inputs and hidden internal state, and require users to figure out what's going on and solve it anyway. We call them "games". Perhaps the defining characteristic of a game is that, even if you've read the manual, you won't succeed on the first try.
> "But, he said, if he were designing the system from scratch, he would emphasize the training while also building the plane with three sensors."
Is even three enough? From an earlier version of the "2001" Wikipedia page [1]:
> "In the story HAL features a design with triple redundancy, so that if one of the three modules fails the other two can outvote it. However, there is a [[theorem]] in [[computer science]] that proves that for such [[distributed systems]] a vote-based [[sanity check]] only works if ''less than'' one third of the modules fail. Thus the failure of a single one of HAL's redundant modules would be sufficient to compromise the system, as apparently happened in the movie."
I don't know what theorem this is referring to. Help?
See also: Segal's Law.
[1]: https://en.wikipedia.org/w/index.php?title=2001:_A_Space_Ody...