本論文的目的,在於建立一個直昇機即時飛行模擬環境。研究的內容將建立虛擬實境場景,應用於直昇機即時飛行模擬上,並透過網路的連接使其與動感平台、飛行動態運算模型、儀表顯示等相整合以求達到更接近真實狀態的模擬。 為達到即時互動模擬的目的,以C語言撰寫直昇機動態模型,即時計算直昇機姿態的變化。其次,以軟體來規劃虛擬實境(Virtual Reality)場景及訓練場地物件,並將物件置入虛擬實境軟體中,並進行場景之編輯賦予物件行為及動作;同時藉由C++程式語言撰寫虛擬實境軟體所支援之客制化程式,聯結負載運算模型與虛擬場景間資料的傳輸。為了使動感平台、虛擬實境及計算負載模型之間能有即時互動的感覺,不論在建立場景模型或是負載資料傳輸方面都需要經過適當的調整,使其表現更為逼真且即時。建立模型之初,在盡可能不失真的狀態下,降低物件模型所使用的複雜度,提升運動場景視覺效果的流暢度,以減少電腦資源的浪費並提昇運算速度。在資料傳輸方面,規劃由計算負載模型的電腦一方,送出資料以提供虛擬實境、動感平台及顯示儀表所需之數據。 未來將求更精進的方法與設備達到真實情境顯示,完整呈現模擬環境下所應有之作動反應,讓整個模擬器更加符合實際模擬狀態,以達到模擬訓練的結果。
The object of dissertation is to create a virtual reality environment which can be applied as a real-time aircraft simulation of a helicopter. To make simulation more realistic, the integration of hardware and software are necessary. First, software is used to create objects of scenes and training sites for virtual reality. Those objects can be embedded into virtualized software and actions and behavior for various scenes. C++ is utilized to program the mathematical flight dynamic model and transmit data for various virtual scenes. To implement the real-time interaction between motion platform, virtual reality and dynamic model, precise adjustments for creating scene models and data transmission are required to make it more real-time and vivid. Performance is another issue. At the beginning of creating model, simplication of models helps the performance of virtual reality execution. Less complication produces smooth action in active scene and also reduce the computation time. Third, data transmission is designed to utilize TCP/IP connection among multiple computing units. As the result, calculation for dynamic model will send result to remote virtual reality, motion platform and flight display processing units. Future development will focus on more delicate equipment to produce more realistic simulation to present all the reactions in the simulation environment and make the simulator fulfill real-simulation requirements.