• 沒有找到結果。

多功能虛擬實境動態模擬系統---子計畫一:虛擬實境動態模擬系統中之行為轉換及階層式控制法(II)

N/A
N/A
Protected

Academic year: 2021

Share "多功能虛擬實境動態模擬系統---子計畫一:虛擬實境動態模擬系統中之行為轉換及階層式控制法(II)"

Copied!
4
0
0

加載中.... (立即查看全文)

全文

(1)

多功能虛擬實境動態模擬系統-子計畫一(2/2):

虛擬實境動態模擬系統中之行為轉換及階層式控制法

Behavior Transform and Hierarchical Control

in Virtual Reality Dynamical Emulator

計畫編號:NSC 89-2218-E-009-091 執行期限:89/08/01 - 90/07/31 主持人: 李祖添 講座教授; 共同主持人: 蘇順豐 副教授 參與人員:陳松雄、蕭志清、林保村、洪宏淵 國立交通大學電機與控制系、國立臺灣科技大學電機系 一. 摘要 在虛擬實境的動態模擬系統中,當虛 擬系統接收到控制命令而設法產生應有 的運動行為描述時,在虛擬實境的顯示以 及在模擬運動平台的運動行為則是要儘 可能地模擬並使其有身歷其境的感受,以 達到虛擬實境的目的。而為了達到此一目 標,上述的運動行為描述必須恰當的轉換 給虛擬實境的顯示系統以及運動平台的 控制系統。本子計畫以階層式的智慧控制 概念來追求更高階而抽象之控制目標,也 就是說將六軸運動平台的運動控制當成 低階控制系統,而我們的系統則是設法設 定控制輸入以使運動行為更符合需求。而 高階系統部分為一模糊控制器,因此在本 年度的研究中我們也探討了線上穩定模 糊控制器的設計。而在高階系統中,由於 模糊預估器的存在,我們也提出了一全補 償式的穩定模糊控制器之設計法。另一重 要的因素是操作者的力感受,而力感受則 大部分是由加速度所形成的反作用力和 離心力所造成的。而在實際上,由於可事 先規劃,而再建入軌跡時,直接以 motion cue 的方式來修改平台的動作以達到虛擬 感受的目的。然而這些 motion cue 為一堆 軌跡段,無法以傳統的點對點的網路來架 構,因此我們也探討了以頻域為輸入的函 數型類神經網路,以便對 motion cue 區段 的紀錄與參數化。 Abstr act

In the research of virtual reality dynamical emulation systems, the reaction of the considered system must be truly emulated. In this project, we were aimed at transferring the behaviors of the considered

system in the simulated space into the behaviors of the emulated space. In order to achieve virtual reality in the display and in the motion of the platform, a hierarchical structure of intelligent controllers is adopted in our research. This controller takes the tradition controller as a lower controller and is aimed at achieving more versatile and abstract goals by generating suitable control input for the lower control system. Such an intelligent controller consists of two elements, a fuzzy predictor and a fuzzy logic controller. Due to the use of fuzzy controllers in the high level control, we have proposed an online stable fuzzy learning controller to fulfill the role. Besides, due to the existence of the fuzzy predictor, we also studied fuzzy control design directly based on fuzzy models. A full-compensated fuzzy controller is then proposed. For the motion cue survey, we have also proposed a frequency based function neural networks for modeling motion cues. Due to the use of frequencies as primary keys, the system possesses more robust properties in coding trajectories. With this network, motion cues trajectories can be parameterized and then reinforcement learning for motion cues can become possible. 二.計畫緣由與目的 本計畫是在發展一個多功能的虛擬 實境動態模擬系統,經由虛擬實境的技術 與運動模擬器的結合,以逼真地模擬實際 場景與設備或載具的運動行為。這整個系 統中,因為行為轉換模組的設計扮演實際 環境裡物體運動狀況以及虛擬環境中操 控員身體感受之間橋樑,如何讓操控員有 身歷其境的感受,有賴於在動態模擬系統

(2)

發展過程中,適當的人(操控員)機(動態模 擬器)溝通界面及迴饋學習技術,以獲得最 符合人類感覺的行為轉換模式。 在虛擬實境的動態模擬系統中,當 虛擬系統接收到控制命令而設法產生應 有的運動行為描述時,在虛擬實境的顯 示以及在模擬運動平台的運動行為則是 要儘可能地模擬並使其有身歷其境的感 受,以達到虛擬實境的目的。而為了達 到此一目標,上述的運動行為描述必須 恰當的轉換給虛擬實境的顯示系統以及 運動平台的控制系統。本子計畫將以階 層式的智慧控制概念來追求更高階而抽 象之控制目標,也就是說將六軸運動平 台的運動控制當成低階控制系統,而我 們的系統則是設法設定控制輸入以使運 動行為更符合需求。而高階系統部分為 一模糊控制器,因此在研究中我們也探 討了線上穩定模糊控制器的設計。而在 高階系統中,由於模糊預估器的存在, 我們也提出了一全補償式的穩定模糊控 制器之設計法。 另 一 重 要 的 因 素 是 操 作 者 的 力 感 受,而力感受則大部分是由加速度所形 成的反作用力和離心力所造成的。也就 是在目標之設定上以更多樣化的目標來 求最佳化。因此本計畫期望透過對目標 的更多樣的設計而來達到較好的虛擬實 境感受。一般而言在研究上,此部份的 實現是利用 washout filter 的方式來實 現,而在實際上,由於用於動態電影院, 所以可事先規劃,而再建入軌跡時,直 接以 motion cue 的方式來修改平台的動 作 以 達到 虛 擬感 受 的 目 的 。然 而 這 些 motion cue 為一堆軌跡段,無法以傳統的 點對點的網路來架構,因此我們也探討 了以頻域為輸入的函數型類神經網路, 以便對 motion cue 區段的紀錄與參數化。 三.研究方法及目前成果 第一年主要的研究為階層式控制器 的 理 論 探 討 及 預 估 器 的 建 立 及 分 析 比 較。在第二年的主要研究為學習方法上, 我們將針對不同的方法來分析。探討的方 向分為線上學習及離線學習兩部分。在線 上學習方面,目前我們是以模糊系統[1] 及以小腦模式運算(CMAC)[2,3]為基礎 的線上學習系統。並提出信用分配的觀 念,以學習頻率來當可性度據以做誤差修 正比例的分配參考。如是簡單的學習改 變,確實增加了 CMAC 的學習速率。在 第三年的研究為主要模糊控制上及如何 將 motion cue 加以參數化。

Adaptive linearization controllers have been shown to have nice control performance. However, two functions in the controllers are derived from the considered system. Thus, those controllers can only work for known systems. In this project, we proposed a fuzzy modeling approach to model those two functions. The proposed approach is called the direct adaptive model reference fuzzy control. In this approach, the considered dynamic nonlinear model can be unknown. Different from previous adaptive fuzzy controllers, our approach does not need any auxiliary operations on input trajectories and on system states. With this property, our approach can be used to track any trajectory, even a trajectory not previously known. The proposed controller and the weight update laws only need system states and the current desired output without using any their derivatives. The Lyapunov stability theorem is used to derive controller parameters update laws, which ensure the system states remain bounded and the plant output asymptotically tracks an arbitrary piecewise reference trajectory. The proposed method is successfully applied to an unstable nonlinear system and a chaotic system. This method has been applied to control an unstable nonlinear system to track a piecewise trajectory and to control a chaotic system to track a sinusoidal reference trajectory and a triangular reference trajectory. The computer simulation showed that the proposed scheme could perform a successful control [4]. When compared to previous approaches, our approach can have better learning and control performance in those examples for all used trajectories.

This project also proposed a method of designing state feedback controllers for affine TSK fuzzy models. Various control design techniques have been proposed for TSK fuzzy models in the literature. Most of them are in a trial-and-error fashion. Those

(3)

approaches are to design trial controllers first and then check their stability by some criteria. If the condition is not satisfied, the controller is resigned. Besides, most used TSK fuzzy models are homogeneous TSK fuzzy models, in which no constant terms are allowed in consequence functions. Moreover, for those approaches, even though the controller can satisfy the stability criterion, the control performance is still not anticipated. In this project, we proposed the so-called full-compensated control design technique, in which the controller is designed to compensate all rules so that the desired control performance can appear in all rules. This kind of approach is to treat all fuzzy rules as variations of a central rule and such variations are individually dealt with in the robust control sense. In this approach, the controller is separated into two parts. The first one is to move the eigenvalues of the central rule to the desired locations. The second one is to compensate the uncertainties individually residing in all rules. The design procedure is simple and effective. The stability analysis becomes the Lyapunov theorem for linear systems. Such an approach not only can result in the use of various control design techniques but also can guarantee desired performance of the closed- loop system. Various examples are conducted in the paper. Some of them even cannot be solved by other approaches. All results showed good control performances as desired [5]. 在行為的轉換方面,目前文獻上所提 到的是利用 washout filter 的方式來處理 的。如是的方式是可以將在無限空間中的 運動設法在有限空間中呈現,可是在動態 模擬器中許多的運動效果並非只是簡單 的物理運動定律所能描述的。較多而必要 的是若干的特效運動感受,而這些感受則 是要利用所謂 motion cue 來設計。而傳統 的動態模擬器,由於其設計上也不是利用 真實的運動物体的模擬建構來產生虛擬 之運動感受,而是去設計不同的 motion cue 來搭配。在 washout filter 上,一般在 飛行模擬時都是擺在機頭的固定位置,畢 竟飛機和人體的重量相差非常大,所以調 整 washout location 所造成的影響也不 大,因此目前在飛行模擬方面都是固定的 常數。現在關於的研究不局限於飛機,也 越來越多關於汽車,甚至於機車的研究, 由 於 這 些 交 通 工 具 的 重 量 比 飛 機 小 的 多,washout location 很難用固定的點,因 為這麼做不合實際狀況。在騎機車時往往 會改變身體的姿勢,這個時候運動的軌跡 也會跟著改變。目前關於這方面的問題常 常還是設固定常數,就是假設駕駛者的身 體垂直於車身,所以還有很大的改善空 間。關於 motion cue 不管是即時或是離線 的表現,都很難做到很好的瞬間動作改 變,因為平台的工作空間限制。在離線的 部分可以設計動作,所以問題可以解決。 而在即時的方面,飛機的模擬以往都做的 還不錯,我想是因為飛機的動作比較呆 板,變化少,只有在起飛和降落的時候動 作有較大的變化,在飛行時動作是很平穩 的。然而若要將汽車作動態模擬所遇到的 問題就大很多,汽車會緊急煞車,急轉 彎,遇到險惡的路面等等。motion cue 不 管在即時或是離線的設計往往都是憑經 驗。即使即時是用 washout filter,但是 filter 的參數的調整,filter 的設計卻沒有一定標 準,依所要模擬的狀況而設計,我想是因 為上述的問題還沒有很好的解決方法,所 以只能用實驗測試的方式設計 filter。 力感受則大部分是由加速度所形成 的反作用力和離心力所造成的。而在實際 上,由於可事先規劃,而再建入軌跡時, 直接以 motion cue 的方式來修改平台的動 作 以 達 到 虛 擬 感 受 的 目 的 。 然 而 這 些 motion cue 為一堆軌跡段,無法以傳統的 點對點的網路來架構,因此我們也探討了 以頻域為輸入的函數型類神經網路,以便 對 motion cue 區段的紀錄與參數化。函數 近似能力,使得我們可以將其運用在系統 之頻域響應當中。長久以來,頻域的脈衝 特性在傳統的類神經網路,通常以點對點 的方式在時域當中進行系統的建構。而所 建構的網路以適應性網路進行網路鍵結 值的學習,學習演算法在進行學習時容易 發生學習時間過長且落入區域性最小值 之中。近來,一種函數型類神經網路架構 已發表出來,函數型網路架構使用數學的

(4)

方式進行函數對函數的輸出輸入對訓練 網路之鍵結值。因為函數型網路使用平行 處理之數學計算,可以快速估計出約略所 需的輸出鍵結值。由於它優異的使得傳統 性的點對點網路難以學習,在這當中還有 頻域之中的複數特性(大小及相位)需要 比較精確的比例才能使系統之輸出正確 還原。我們以函數型網路為網路主體,運 用其良好函數近似能力去趨近受建構系 統之頻率響應;進行系統分析之後,此時 的網路已經近似於受控體,加上複數型學 習網路機制,適當地調整複數鍵結值並且 保持相位的正確。為使學習可以達到所期 望的輸出,列舉三種複數網路學習機制, 其中兩種傳統學習法並不能正確還原受 建構系統時域輸出。因此我們依照系統所 需還原及複數網路特性去打造另一種學 習法,結合原有之函數型神經網路主體, 為頻域中之混合式函數型類神經網路。經 由模擬的結果可以明顯驗證函數型網路 在頻域展現出比時域更優良的性能,加以 學習機制的參與網路,頻域中混合式函數 型網路表現出速度快、高近似度、以及強 健度的效果[6]。 四. 結論與討論 在虛擬實境的動態模擬系統中,當虛 擬系統接收到控制命令而設法產生應有 的運動行為描述時,在虛擬實境的顯示以 及在模擬運動平台的運動行為則是要儘 可能地模擬並使其有身歷其境的感受,以 達到虛擬實境的目的。本子計畫將以階層 式的智慧控制概念來追求更高階而抽象 之控制目標,也就是說將六軸運動平台的 運動控制當成低階控制系統,而我們的系 統則是設法設定控制輸入以使運動行為 更符合需求。在階層式控制中,我們以模 糊預估器之建立[1]來產生對控制輸入之 可能結果並加以評估。而高階系統部分為 一模糊控制器,因此在本年度的研究中我 們 也 探 討 了 線 上 穩 定 模 糊 控 制 器 的 設 計,而我們所提出的穩定模糊控制器也確 實比現存的其他穩定模糊控制器有較佳 的結果。而在高階系統中,由於模糊預估 器的存在,我們也提出了一全補償式的穩 定模糊控制器之設計法,其不僅有相當好 的控制結果,而且其設計法也可利用其他 對線性系統的控制設計法來達成所要的 系統性能。另一重要的因素是操作者的力 感受,而力感受則大部分是由加速度所形 成的反作用力和離心力所造成的。而在實 際上,由於可事先規劃,而再建入軌跡 時,直接以 motion cue 的方式來修改平台 的動作以達到虛擬感受的目的。然而這些 motion cue 為一堆軌跡段,無法以傳統的 點對點的網路來架構,因此我們也探討了 以頻域為輸入的函數型類神經網路,以便 對 motion cue 區段的紀錄與參數化。而我 們所提出的以頻域為輸入的函數型類神 經網路也確實比原來的函數型類神經網 路有較強健的記錄軌跡能力。 五. 參考文獻 [1] 蕭志清, 具調適能力之階層式智慧型控制 , 國立台灣工業技術學院電機工程技術 學程碩士學位論文, 1993.

[2] C. S. Lin and C. T. Chiang, “Learning Convergence of CMAC Technique,” IEEE Trans. on Neural Networks, vol. 8, no.6, pp.1281-1292, 1997.

[3] T. Tao and S. F. Su, “CMAC-Based online learning for robust controllers,” Proc. of 1998 R.O.C. Automatic Control Conf., pp. 447-452, Apr., 1998.

[4] S.-S. Chen, S.-F. Su, and T.-T. Lee, “Stable direct adaptive model reference fuzzy control of nonlinear systems,” submitted to

IEEE Trans. On Fuzzy Systems.

[5] C.-C. Hsiao, S.-F. Su, and C.-C. Chuang, “Full-compensated control design for affine TSK fuzzy control systems,” submitted to

IEEE Trans. On Fuzzy Systems.

[6] 洪宏淵, Mixed-mode Functional Artificial Neural Networks in The Frequency Domain, Master Thesis, Dept. of Electrical Eng., National Taiwan University of Science and Technology, 2001.

[7] S.-H. Hsieh, On The Study of Embedding Fuzzy Concept and Prior Knowledge in Reinforcement Learning, Master Thesis, Dept. of Electrical Eng., NTUST, 1997. [8] R. S. Sutton, “Learning to Predict by the

Methods of Temporal Differences,”

Machine Learning, vol. 3, pp. 9-44, 1988. [9] T. Takagi and M. Sugeno, “Fuzzy

identification of systems and its application to modeling and control,” IEEE Trans. on Systems, Man, Cybernetics, vol. 15, no. 1, pp. 116-131, 1985.

參考文獻

相關文件

Whatsapp、Youtube、虛擬實境等)。社交媒體(social media)是可

學務處 實習處 導師 任課老師 四、進路輔導 擬定生涯輔導實施計畫。 輔導室 各處室 五、就業輔導 擬定就業輔導工作計畫及行事曆。

人參能大補元氣,強心固脫,安神 生津,是延年益壽、強身健體的佳 品。人參壽星公由2,374枝生曬參及

相較於把作業系統核心置於 Ring 0 權限層級的作法,全虛擬化的方式是以 hypervisor 作為替代方案,被虛擬化的客作業系統 (guest operating system, Guest OS) 核心對

在軟體的使用方面,使用 Simulink 來進行。Simulink 是一種分析與模擬動態

我們分別以兩種不同作法來進行模擬,再將模擬結果分別以圖 3.11 與圖 3.12 來 表示,其中,圖 3.11 之模擬結果是按照 IEEE 802.11a 中正交分頻多工符碼(OFDM symbol)的安排,以

針對 WPAN 802.15.3 系統之適應性柵狀碼調變/解調,我們以此 DSP/FPGA 硬體實現與模擬測試平台進行效能模擬、以及硬體電路設計、實現與測試,其測 試平台如圖 5.1、圖

Professional 與 Studio 不同的地方在於前者擁有四種特殊開發套 件,可以開發出更逼真的虛擬實境場景。分別為 CG 模組、Human 模組、Physic 模組與 CAD