Software Engineering last lecture
Overview of Boeing 737 MAX Crashes
Incident Reports
- Flight 302, crashed on 03/10/2019, resulting in the death of 157 people.
- Flight 610, crashed shortly before in Indonesia, resulting in 189 fatalities.
- Both incidents involved the Boeing 737 MAX 8.Engine Characteristics and Competition
- Engine Performance:
- Nothing inherently wrong with the engines on the Boeing 737 MAX 8, which are competitive in the industry.
- Manufacturers' Rivalry:
- Major competitors are Airbus and Boeing, with intense competition impacting safety and design decisions.
- Airbus A320 NEO Launch:
- Airbus introduced a new engine on the A320 (model A320 NEO), improving fuel efficiency by 15% while requiring minimal retraining for pilots.
- This put pressure on Boeing to respond by upgrading the 737.Boeing's Design Changes
- Engine Placement Issue:
- The Boeing 737 had a low wing design, restricting engine size upgrades. To fit larger engines under the wing, Boeing raised their placement slightly.
- MCAS Development:
- The redesigned engine caused an upward pitch during flights, increasing stall risk, leading to the development of the Maneuvering Characteristics Augmentation System (MCAS) to prevent the nose from rising too much at high angles of attack.
- Rushed implementation meant pilots received minimal training on MCAS, often lacking knowledge needed for safe operation.Pilot Incidents and Crashes
- 2018 U.S. Pilot Complaints:
- U.S. pilots reported issues with the MCAS unexpectedly nosing down.
- On 10/29/2018, inadequate crew response due to lack of training correlates with crash findings.
- The crash of one incident highlighted faulty sensor data leading to auto push-down from MCAS, resulting in the aircraft's loss of altitude.
- Outcome of Ethiopian Crash:
- In detail, the Ethiopian flight experienced similar sensor failure concerns shortly after takeoff, with MCAS unable to correct the aircraft's trajectory in time, resulting in a fatal crash.Regulatory Response
- The FAA faced criticism for its expedited certification of the Boeing 737 MAX, with many grounded following the accidents.
- Boeing's commitment to improve pilot training and software updates aimed at reducing MCAS aggressiveness.
Discussion of Root Causes
Commercial Pressures:
- Both crashes illustrate commercial pressures impacting safety measures and engineering decisions.
- Engineers faced organizational pressure at Boeing to expedite development to compete against Airbus effectively.Merger with Lockheed:
- Boeing's merger with Lockheed produced corporate culture changes, affecting safety protocols and engineering design ethos.Safety Critical Systems: Definition and Relevance
- Definition:
- A safety-critical system is one where failure can lead to death or severe injury.
- Importance:
- Safety requirement specifications are crucial to ensure reliability and operational safety.
Software Safety in Engineering
Definition of Safety:
- Safety reflects a system's capability to function without threatening human life or the environment.System Interaction with Software:
- Modern aircraft utilize software heavily for flight controls, which can introduce risks if software fails or behaves unexpectedly.Reliability vs. Safety:
- Reliability ensures consistent operation per specification, but does not directly equate to safety.
- Issues may arise when unexpected software behaviors lead to safety failures despite reliable operation conditions.Examples of Software Failure in Safety Critical Systems:
- Tesla Autopilot Crashes:
- Demonstrates unexpected behavior in recognized scenarios, underlining need for reliable safety-critical software operations.
Risk Management Formula
Risk assessment involves evaluating two main components: likelihood of occurrence and potential severity of impact.
Use of algorithms or mathematical models in hazard analysis helps anticipate some malfunctions, although unpredictable interactions in systems can still lead to risks.
Software Development Best Practices
Testing:
- Essential to determine software behavior; employs techniques like testing, functional analysis, and performance checks.Redundancy in Hardware Design:
- Examples include hot and cold redundancy approaches to software failures, enhancing system reliability.Documentation and Traceability:
- Maintaining strict documentation for clarity and accountability becomes vital in safety-critical development, especially for regulatory compliance.