News for hackers. Stuff that matters.
Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @03:37PM (#35430043)
> it was a completely artificial problem produced by business considerations

Making the plane behave the same as a different airplane makes it safer. There are many examples of crashes due to pilots reacting to an emergency in a manner appropriate to the previous plane they were flying, rather than the current one.

About 98% of the mass media reporting on MCAS was written by people who have no idea how airplanes work, and is hysterical nonsense.

Re:Tesla removes parking sensors, the results are predictabl... by lisper on Monday April 03, 2023 @03:46PM (#35430173)
Well, I'm a (private) pilot, so I like to think I have some clue about how airplanes work.

It's true that, all else being equal, making an airplane's handling characteristics the same as a familiar predecessor improves safety. But clearly all else was not equal here.

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @04:00PM (#35430404)
There was nothing wrong with the MCAS concept. What was wrong was its reliance on a single sensor, such that a bad sensor made it misbehave. Other things wrong with it were it had too much authority, and it should have disabled itself if the pilot was countermanding it with the control column.

The other thing wrong was the pilots not using the stab trim cutoff switch, which is supposed to be a "memory item" for them.

I worked on the design of the 757 stabilizer trim system. The cutoff switch was always the backup for things going wrong with the trim. It's right there on the console within easy reach for a damn good reason. (Other systems could be turned off by overhead circuit breakers, but the stab trim cutoff was placed in a special priority position.)

As for needing software at all, all jetliners have an active yaw damper to keep the pointy end forward. This is to counter a stability problem from having swept wings. Pilots of low&slow straight wing aircraft are often not familiar with this. A Cessna will be stable if you just let go of the controls. A swept wing jetliner, not without augmentation.

The mass media also omits the reason for the MAX. The new engines gave it 15% less fuel burn. This is massive cost savings (and less pollution, too.)

Re:Tesla removes parking sensors, the results are predictabl... by lisper on Monday April 03, 2023 @04:25PM (#35430751)
I fly an SR22, which has a yaw damper. It's not strictly necessary -- the SR22 is quite stable without it -- but I'm familiar with the concept.

The facts of the MCAS debacle have been litigated to death (literally!) and since you work in the industry you probably know more about them than I do. However, I'm still going to respectfully take issue with this:

> There was nothing wrong with the MCAS concept.

That's a vacuous claim because "the MCAS concept" is not well-defined. If "the MCAS concept" is something like "an automated control system that always does the Right Thing" then obviously there is nothing wrong with that. But MCAS was never an automated control system that always did the Right Thing. The problems with it were known -- indeed, self-evident -- long before anyone actually died. MCAS was explicitly designed to be an automated control system that sometimes did the Right Thing, and sometimes did the Wrong Thing (with a single point of failure), but that was OK because when it did the Wrong Thing, the human pilots would take over and do the Right Thing in its place [1]. I think it's pretty clear, even without the rather definitive evidence in the form of two lost aircraft, that there is quite a bit wrong with that concept. But maybe we'll just have to agree to disagree about that.

And, somewhat less respectfully...

> The new engines gave it 15% less fuel burn. This is massive cost savings (and less pollution, too.)

I'm sure the families of the victims will take great comfort knowing that their loved ones died efficiently.

---

[1] UPDATE: And, I might add, that they were expected to do the Right Thing without any additional training because the whole point of MCAS was to make the new plane behave like the old plane. Which is manifestly failed at rather spectacularly. But that is neither here nor there because I think the case can be made that the "MCAS concept" was flawed even without this little detail.

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @04:49PM (#35431071)
> I fly an SR22, which has a yaw damper. It's not strictly necessary

The SR22 is a straight wing aircraft, not a swept wing one. "Some aircraft, such as the Boeing 727 and Vickers VC10 airliners, are fitted with multiple yaw damper systems due to their operation having been deemed critical to flight safety.[1][4]" https://en.wikipedia.org/wiki/Yaw_damper

There have been crashes due to failure of the yaw damper and the pilot being unable to control the resulting instability.

https://en.wikipedia.org/wiki/Dutch_roll#Accidents

> I'm sure the families of the victims will take great comfort knowing that their loved ones died efficiently.

We should get rid of jet airliners entirely. The whole point of jetliners was to reduce operating costs. People have died because of many flaws in jetliners. Should have just stuck to the DC-3.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Monday April 03, 2023 @05:24PM (#35431487)
>The mass media also omits the reason for the MAX. The new engines gave it 15% less fuel burn. This is massive cost savings (and less pollution, too.)

Sure they did. It's all over the reporting. Just from a cursory search:

>Boeing gave the Max aircraft larger engines for greater fuel efficiency"[1]

>Consequently, improving fuel efficiency has emerged as one of the major bases of competition between airline manufacturers.[2]

>Airbus announced the A320neo, a more fuel-efficient version of the A320...Boeing had to choose between short-term gain and long-term pain. The simpler option was to refurbish the 737NG with a bigger, more fuel efficient engine.[3]

>Mistakes began nearly a decade ago when Boeing was caught flat-footed after its archrival Airbus announced a new fuel-efficient plane that threatened the company’s core business. It rushed the competing 737 Max to market as quickly as possible.[4]

>That threatened to change in 2010 when Airbus introduced a version of the 320 called the Neo (for “new engine option”) that offered large improvements in fuel efficiency, range and payload. The following year, American Airlines warned that it might abandon Boeing and buy hundreds of the new Airbus models. Boeing responded with a rush program to re-engineer the 737[5]

The real issue was leadership strategy and poor process control.

[1] https://www.scientificamerican.com/article/despite-similarit...

[2] https://www.vox.com/2019/4/5/18296646/boeing-737-max-mcas-so...

[3] https://dhruvmark.medium.com/lessons-in-product-management-f...

[4] https://www.theverge.com/2019/5/2/18518176/boeing-737-max-cr...

[5] https://www.nytimes.com/2019/09/18/magazine/boeing-737-max-c...

Re:Tesla removes parking sensors, the results are predictabl... by cameldrv on Tuesday April 04, 2023 @07:43PM (#35447340)
Yes, the cutoff would have worked had it been activated quickly enough. The failure is insidious though.

a) When MCAS falsely activates, it only does so briefly. Then, assuming the problem is that the AoA sensor is broken, it activates again every five seconds. This is very confusing as the problem appears to have resolved and then it comes back.

b) During initial climb, other parts of the speed trim system are normally working and the trim wheel is turning and clacking with no input from the pilot. If not for the big pitch down, the extra MCAS inputs would not be otherwise noticeable.

c) The pilots had no way of knowing that MCAS even existed, because all references to it were deleted from the flight manual, so they had no way of being ready for such a set of circumstances.

d) After MCAS has activated a couple of times, if you then recognize a problem and flip the trim cutoff, you lose the manual electric trim as well, and the trim is so nose down that you don't have the physical strength to turn the trim wheels. If you turn the trim cutoff back on to try to recover control, MCAS will hit you again.

e) The procedure on previous versions of the 737 for dealing with a plane so out of trim that you couldn't turn the wheel was to pitch down even more to unload the stabilizer and then crank the trim wheel, but this procedure was also deleted from the flight manual, I believe as of the 737 Classic series.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Monday April 03, 2023 @03:52PM (#35430282)
Are you making the claim that MCAS made the plane behave similar to previously certified designs? Maybe that was the intent, but the execution seemed very much the opposite. That's largely the point: the software workarounds don't behave like a hardware-engineered mitigation.
Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @04:52PM (#35431114)
The MCAS system is still on the 737MAX.

> the software workarounds don't behave like a hardware-engineered mitigation

You probably should never get on an Airbus, because they won't fly without computers.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Monday April 03, 2023 @05:12PM (#35431359)
I'm aware that MCAS is still in use. You may be conflating what I'm saying. I'm not making a claim that software is inherently dangerous. I'm making the claim that software as a workaround to sound risk mitigation is dangerous, especially when it's a workaround for a hardware problem because of the interaction effects. It's pretty clear from the hazard analysis and subsequent decisions that Boeing didn't understand and mitigate the MCAS risk effectively.

And, yes, I'm aware of the two philosophical camps regarding ultimate authority in command (pilot vs. software). That doesn't negate my point. Software, in either case, shouldn't be a workaround solely because it's easier to implement than a hardware change. Using it as an engineered mitigation is ok, but you have to actually implement the mitigations properly. For example, the hazard analysis listed MCAS as "critical". With that classification, it required redundant sensors, yet Boeing didn't make that the default and opted instead to sell it as an option. (Never mind the fact that the classification should have been higher, they didn't even follow through with their own processes based on the mis-classification).

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @05:31PM (#35431572)
> I'm making the claim that software as a workaround to sound risk mitigation is dangerous

Mechanical systems aren't inherently better or more resistant to hidden flaws. Remember it was a failure of the mechanical AOA sensor that initiated the MCAS failure.

> Software, in either case, shouldn't be a workaround solely because it's easier to implement than a hardware change.

Software runs our world now. Mechanical computers on airplanes were around for decades before software, and they were hardly free of fault and problems.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Monday April 03, 2023 @05:56PM (#35431860)
>Mechanical systems aren't inherently better or more resistant to hidden flaws.

Besides the fact that failure modes of mechanical systems are generally more understood than software, you're again conflating my point and having an entirely different conversation. This isn't about some "mechanical vs. software" dichotomy. I literally said there is nothing about software that makes it inherently dangerous and that using software as an engineered mitigation is fine if the mitigations are implemented properly.

What isn't fine is all the process and design gaps that occurred. Things like using software as a mitigation, not because it was the best alternative, but simply because it was cheaper/faster. Things like not following your own hazard analysis when it comes to mitigation. Or not characterizing the risk accurately or the failure modes because you didn't understand the system interactions.

>Remember it was a failure of the mechanical AOA sensor that initiated the MCAS failure.

This is exactly why, had they followed their own procedures and hazard analysis, redundant sensors would have been a default. A "critical" item (like MCAS in the hazard analysis) is supposed to get redundant input as a default.

My post isn't about mechanical vs. software. It's about the the allure of using software as a workaround that leads to process gaps and bad design philosophy. Like removing sensors because of a supplier/cost issue and assuming "we'll fix it with software" instead of doing the hard work to understand, characterize, and mitigate the risk effectively.

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Monday April 03, 2023 @09:08PM (#35433668)
> Like removing sensors because of a supplier/cost issue

There were more than one AOA sensors. Not hooking the other one up to the MCAS system could hardly be a cost issue. Nor is it an issue of software vs hardware. It being implemented in software had nothing to do with MCAS's problems. The software was not buggy, nor was it a workaround. What was wrong was the specification of how the software should work.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Tuesday April 04, 2023 @09:05AM (#35438988)
I was bringing the context back to the article of this thread, not talking about Boeing there. Sorry if it lead to confusion.

You can note that I acknowledged there were multiple AOA sensors in other replies. Further, they were already “hooked up” to MCAS, but Boeing made this safety critical redundancy requirement an option within the software. That’s bad practice, full stop.

I still maintain that the software was 100% a mitigation to a hardware change and I think there’s plenty of other evidence supporting that. E.g., has they not updated their engines, would MCAS be installed? If the answer is no, then it was a mitigation to a risk introduced by a hardware change.

I’ll say it one more time just to be clear: I’m not saying the concept was bad. I’m saying their design philosophy and implementation was bad. They could have used software mitigation within the right process/philosophical framework just fine. What doesn’t work is using software as an “easy” risk mitigation strategy when you don’t understand the risk or the processes necessary to fully mitigate that risk. The problem arises because software is a seductive fix because it’s relatively easy and cheap on its surface, but if your design philosophy and processes are equipped to implement it effectively, that “easy” fix is rolling the dice.

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Tuesday April 04, 2023 @01:52PM (#35443475)
> That’s bad practice, full stop.

No disagreement, there.

> it was a mitigation to a risk introduced by a hardware change

It wasn't really a risk. It was to make it behave the same.

Allow me to explain something. A jet airliner is full of hardware and software adjustments to the flying characteristics. For example, look at the wing. What do you think the flaps and slats are for? They are to completely change the shape of the wing, because a low speed wing is very very different from a high speed wing. There are also systems to prevent asymmetric flaps, as that would tear the wings off.

The very existence of the stab trim is to adjust the flying characteristics. The stab trim has an automatic travel limiter to constrain the travel as the speed increases because, you guessed it, full travel at high speed will rip the tail off.

The control columns are connected to a "feel computer" which pushes back on the stick to make the airplane feel in a consistent way from low speed to high speed. This feel computer can be mechanical or software. Pilots fly by the force feedback on the stick, not the travel of it. The idea is to make the airplane "feel" like a completely different airplane. Without the feel computer, they'd promptly rip the airplane apart.

There are plenty more of these. The MCAS concept is no different in any substantive way.

Your thesis that using software to run it as some unusual risk is simply dead wrong. What was wrong with the MCAS system was:

1. reliance on only one sensor

2. too much travel authority

3. it should have shut itself off if the pilot countermanded it

What was also wrong was:

a. Pilots did not use the stab trim cutoff switch like they were trained to

b. The EA pilots did not follow the Emergency Airworthiness Directive sent to them which described the two step process to counter MCAS runaway

There weren't any software bugs in MCAS. The software was implemented according to the specification. The specification for it was wrong, in points 1..3 above.

P.S. Mechanical/hydraulic computers have their own problems. Component wear, dirt, water getting in it and freezing, jamming, poor maintenance, temperature effects on their behavior, vibration affecting it, leaks, etc. Software does not have those problems. The rudder PCU valve on the 737 had a very weird hardover problem that took years to figure out. It turned out to be caused by thermal shock.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Tuesday April 04, 2023 @02:41PM (#35444161)
In various times in my past I've been a private pilot, airframe mechanic, flight-control-computer engineer, software quality engineer, and aerospace safety manager. I've even worked with Boeing. So I am quite familiar with these concepts.

>It wasn't really a risk. It was to make it behave the same.

Hard disagree here. The fact that it did not behave the same demonstrates there is a real risk. That risk could have been mitigated in various ways (e.g., engineering via hardware or software, administrative via training etc.) but they did not. You downplaying the risk as not credible is the same mistake.

>Your thesis that using software to run it as some unusual risk is simply dead wrong.

My thesis is that they didn't know how to effectively characterize the software risk because, as you point out, software risks are different than the risks of mechanical failure. Software doesn't wear-out or display time-variant hazard rates like mechanical systems. Rather, it incurs "interaction failures." The prevalence of these failures tends to grow exponentially as the number of systems that software touches increases. It's a network effect of using software to control and coordinate more and more processes. Which is why we need to shift our thinking away from the mechanical reliability paradigm when dealing with software risk. Nancy Leveson has some very accessible write-ups on this idea.

So what does that mean in the context of Boeing and, in a broader sense, Tesla? Boeing did not capture these interaction risks because they had an overly simplified idea of the risk and mitigations. They did not capture the total system interactions because they were myopically focused on the software/controls interface. They did not capture the software/sensor interface risk (even though their HA identified that risk). They did not capture the software/human interface risk. They thought it was a "simple fix". Tesla, likewise, is trying to mitigate one risk (supplier/cost risk) with software. FTA seems to implicate them in not appropriately characterizing the new risks they introduced. I'm saying that is a result of a faulty design philosophy that downplays (or is ignorant of) those risks.

Re:Tesla removes parking sensors, the results are predictabl... by diebeforei485 on Tuesday April 04, 2023 @12:15AM (#35434975)
Neither will the Boeing 777 or 787!
Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Tuesday April 04, 2023 @12:41AM (#35435164)
The 757 was also engineered to behave the same way as the 767, to reduce costs in pilot training and improve safety.

The 757 has a stellar safety record.

Re:Tesla removes parking sensors, the results are predictabl... by bumby on Tuesday April 04, 2023 @09:04AM (#35438974)
It’s getting tiresome to say this, but you completely bypassed my point to talk about something different.

MCAS did not make the airframe operate the same in practice, especially from a human factors perspective. It confused pilots about why it was acting the way it was and that was a major factor in the accidents.

Re:Tesla removes parking sensors, the results are predictabl... by WalterBright on Tuesday April 04, 2023 @01:10PM (#35442818)
This is just not true. What confused the pilots and caused the accidents was the MCAS was looking at only one faulty AOA sensor.
Re:Tesla removes parking sensors, the results are predictabl... by bumby on Tuesday April 04, 2023 @02:06PM (#35443675)
Sorry, but there are multiple reports that point to pilot confusion. What you're displaying is exactly what Boeing leadership showed: an oversimplification of the problem, leading to poor understanding of the risk and necessary mitigations.

MCAS had a built in delay; it wasn't a continuous command. It would push the nose down and periodically disengage and allow pilots to bring the nose back up. This type of intermittent feedback is difficult to resolve in real-time, especially for an untrained pilot under stress.

But to the larger point, what you're relating is actually bolstering my point. The design philosophy was poor; they didn't fully understand the interaction effects of the system (to include software, hardware, people, and the environment). In that simplified mental model, they thought software was an easy fix to their problem and they didn't follow through with the necessary risk mitigation. This includes having a redundant AOA sensor feed into MCAS (which their hazard analysis already required), characterizing MCAS properly as having the potential for causing a 'catastrophic' mishap, training for their pilots (which they didn't think was necessary because it was the 'same' airframe, despite different handling characteristics), and an appropriate understanding the human factors that govern its use.

If we erroneously simplify our mental model and claim it's "just software" and an "easy fix," we miss all of that.