Saturday, March 16, 2019

What happened to the Boeing 737 Max 8 ?

Two Boeing 737 Max 8 jets crashed within 6 months.1 Several basic facts have recently emerged, which prompted authorities to ground this new variant of the popular Boeing 737 airliner. While more investigations would be needed to identify the detailed causes of the deadly crashes, the several basic facts collected so far already permit a crude mural to be drawn up for the likely events that might have taken place in the cockpits of the Boeing 737 Max 8 jets right before they went down.

In order to see how a control system typically fails, one needs to understand the way a closed-loop system works and the inevitable hazard of oscillation. In laymen terms, any closed-loop system is prone to instability when the control efforts and the feeding of sensing signals fail to work in harmony. For instance, when you're listening to music while adjusting the volume of the speakers or airpods, you're controlling a closed-loop system. If you feel the sound being too loud, you attempt to turn the volume down. This is a typical feedback action, creating a closed loop. But if you react too slow and too drastic, the volume goes too far down, and after some delay the sound becomes too soft to be heard. Then, you would turn the volume up again, and if you do it a little too drastic, the volume gets too far up after a typical delay. Attempting to turn the volume down again repeats the process, and creates an oscillation. The situation for the Boeing 737 Max 8 crashes could be made more complicated by an apparent but "unintended" two-loop control.

Facts

  1. The satellite track data of the Boeing 737 Max 8 crash last October in Indonesia and the crash earlier this month in Ethiopia consistently show typical oscillatory transients leading to the crashes.
  2. The pilots of both flights had struggled to save the aircrafts for a period of time before the aircrafts crashed.

Likely Events

First, the new automatic MCAS system (Maneuvering Characteristics Augmentation System) on the 737 Max 8 works on a typical feedback principle to prevent the jet from getting into a stall2. Basically, it senses the so-called angle-of-attack (AOA) and commands the aircraft's nose to dip down to prevent a potential stall. However, the operation of this new MCAS may not be clearly known or understood by the pilots who have flown the conventional Boeing 737 jet for many years and would do the nose control in the usual way.

The problem is that the 737 Max 8 allows the pilot to intervene while its MCAS works to fix the same problem, creating a double-loop control situation. The AOA signal causes both the pilot and the MCAS to react, but with different speed and effort (technically called closed-loop bandwidth and gain).

The nose control overshoots and AOA continues to feed signals back, and always with delays of different magnitudes (even different orders of magnitude as human and machine do react quite differently). This might create an oscillatory response, as revealed by the satellite track data, in which the aircraft repeatedly climbed and descended under the two separate (pilot's and MCAS's) control actions.

The Deadly Event

The two-loop continues to work and creates an oscillatory response. In theory, this is fine as long as every parameter remains constant, and the loop gains are controlled precisely to maintain sustained oscillation within a safe range! But multiple factors may cause something to happen in a fatal way.

  1. The human pilot, who is the controller of one of the loops, cannot repeat his action precisely every cycle even though all other parameters are perfectly constant.
  2. External factors like wind speed and direction may introduce disturbances to the system that cannot be reacted precisely by the human pilot, especially since sustained oscillation normally requires irregular control effort (technically called nonlinear gain control).
  3. The human pilot loses control and fails to follow the oscillatory pattern. In order for the aircraft to diverge its altitude, the gain and bandwidth of either loops must have drifted to the unstable region causing the aircraft to lose stability and eventually go down under the force of gravity.

The above description is a very general control scenario, often described in elementary control engineering texts. To know the exact causes, we need to fill in a lot more technical details, likely different sets of details in the two crashes, which can only be unfolded through examining the detailed flight data.


March 16, 2019


_____________________

1 Ethiopian Airlines, Lion Air crash linked by new evidence — New York Times (March 15, 2019)2 Stall — An aircraft normally flies horizontally, and may climb up or descend at an angle within a certain limit. When the aircraft goes too steep up, its wings no longer provide the needed upthrust and the aircraft continues to move up almost vertically and surely loses speed under gravity. It soon stops as it reaches a peak altitude, which is called a "stall", and then drops rapidly under gravity. After the stall, the engines are not powerful enough to restore normal flying given the heavy weight of the aircraft, and disaster is inevitable. Modern jets usually have sophisticated control systems to prevent a potential stall.

Monday, March 4, 2019

My Dad

Since my dad passed away in January, I have kept retrieving from the back of my mind how he influenced the way I have lived in the past many years. He seldom talked to me anything formal about study, work or life, presumably not to my brother and sister either. In fact, I can't recall a single instance where he sat us down for a heartfelt conversation about any substantial life topics. But as I thought about what he did and made us do, I can almost conclude without a single doubt that I have all along been copying him. I can easily come up with a long list of things I have learned to do from watching him do, like peeling apples, frying eggs with a Chinese wok, stir-frying choy sum with beef, fixing a carton box, writing cheques with Chinese numeric characters, riding a push bike, calligraphy, .... and many useful skills! However, I probably never realized when I was young that he had imperceptibly bequeathed to me and my two siblings the way he treated people and his faith in God.

After he left, I found myself reflecting on the profound wisdom he had imparted to us. First, he was nice to people and his mantra was "When helping others, do not calculate!" I had witnessed how seriously he involved himself in voluntary works in Cheung Chau Life Saving Club, Auxiliary Medical Service, Chung Shak Hei Elderly Home, The Lady of Fatima Church, and Cheung Chau Rural Committee. However, it was during his funeral service that I learned of countless other acts of selflessness he had performed. While I have certainly not achieved the same magnitude of impact as he did, I have always strived to empathize with others and extend a helping hand whenever possible.

My father had an enormous amount of faith in God. I can never forget the way he reacted when I asked whether he was anxious about a pending open-heart surgery back in 1993, hoping to make him feel easier before the operation. I was speechless when I heard him say in less than a blink of an eye, "No! Nothing to be scared of? God is with me! (驚咩?有乜好驚?天主會同我一齊!)" He was actually very calm, quite unconcerned about any possible complication of the operation, and without a tiny bit of fear, and that moment I learnt the importance of having faith, and how faith helped overcome fear! Leave it all to God, and nothing needs to be worried about!

Now he has gone, but certainly not forgotten, especially his double package of life: be nice to people and have faith in God!


March 4, 2019

Saturday, January 12, 2019

「風雨之後,也無風雨」


今日,到灣仔天地圖書參加洪朝豐先生的新書發佈會,聽這位曾患鬱躁症、飽受癌魔折磨的人分享他「風雨之後,也無風雨」的體會。半個小時訴說患病的故事,天不絕人,人間亦有情,令人感動!明白到原來自己有多強並不重要,能“放下“才是最重要!經歷過人生無常,領悟活著最大的“秘密”竟是簡單的“順其自然”!

洪先生,加油!


2019年1月12日

Thursday, January 3, 2019

香港的「私處 Centre」

正所謂「唔怕生壞命,最怕改壞名!」剛落成的香港戲曲中心,英文翻譯為「Xiqu Centre」,外國人毫無頭緒,而大部份香港人不懂普通話拼音,也看得一頭霧水!
如果翻譯英文名稱的目標是為了給外國人(或不懂華文的遊客)知道這座別出心裁的建築物為何物的話,Chinese Opera 理應是最貼切了!但官方卻認為中國戲曲不應該譯作 Chinese Opera,憂慮會誤導公眾,以為中國戲曲乃係承傳自西方歌劇,最終敲定為「Xiqu Centre」。
換過角度看,縱使"opera"作爲中國戲曲的英文翻譯有不足之處,而成立香港戲曲中心的主要目的是為粵劇表演團體提供表演場地,觀眾也大多來自粵語區。那麼,"Hei Kuk Centre"是否更有意義?

若按此等邏輯來做翻譯,恐怕 Hotel 應該改為 kezhan (中國自古已有"客棧"),Breakfast 在餐廳的菜單上應叫 Zaofan (中國人自古都吃"早飯") ,「白粥油炸鬼」肯定要譯作 Baizhouyoujiagui。即是全部不用翻譯,以免令人誤會承自西方!


2019年1月3日

Tuesday, October 30, 2018

「承受清風」— 宗教遇上科學


小弟有幸在演讀劇場「承受清風」中飾演兩個小配角1,在享受演讀的樂趣之餘,也乘機從所飾演的角色中細味人生和反思劇本帶出的意義。「承受清風」的劇情2是建構於上世紀初傳統宗教與科學之間的矛盾,一位教師由於講授達爾文的進化論,間接否定了聖經創世紀對世界和人類起源的描述,遭田納西州州政府起訴,引發一場轟動美國的法律訴訟,全劇的主線透過控辯兩方律師的精彩辯論,道出人雖然擁有與生俱來的思考自由,但往往受制於社會傳統觀念,加上自我規範和約束(例如法例、習俗),無法衝破禁錮思想的樊籠。

其實,宗教與科學並無矛盾之處,問題在於解讀的方式。聖經是二千多年前寫下的,而舊約聖經的文學體裁是寓言體3,並非對事實的陳述,重點是它的信仰和道理。以寓言體寫成的宗教著作當然不能與科學相提並論,而且,舊約聖經是根據當時(二千多年前)的社會環境和民眾的知識水平及接受程度而寫成,絕對不能用現代的科學邏輯來解讀。伊索寓言中的動物真的會說話嗎?創世紀旨於建立「神」作為萬物的主宰的基本信仰,要理解創世紀就不能是純粹從字面去解讀。劇中也多次強調不能用聖經的「每一個字」來與科學對比,字面的「一日」也可以寓意為千萬年!

每個年代都有既定的一套價值觀和道德觀,「承受清風」就正正說明了這一點。在上世紀初,宣揚達爾文的學說乃係離經叛道的行為,劇中的法庭代表了那個年代的道德觀念和法治標準,法官拒絕科學家作供,被告最終也毫無懸念的被判罪名成立。在法律面前,代表當時的既有習俗、觀念和制度的一方是順理成章的獲勝。把「承受清風」投射到今天的香港社會,我們的思想同樣被現行的觀念和政治尺度所箝制,新的觀念或政治主張,縱然在目前被否定,甚至被打壓,但誰能估計,數十年後這些觀念和主張會否變成理所當然,為大部份人所接受?大家可拭目以待!


2018年10月31日


________________________1 演讀劇場「承受清風」2 Inherit the Wind (Play) — Wikipedia3 寓言 — Wikipedia

Recent Popular Post