2014年8月14日 星期四

陀螺儀與編碼器濾波後信號的比較 (Comparisons of gyro and filtered encoder signals)

爲了能夠得到比較乾淨的「車頭角速度」估測,我需要一個乾淨的「車中心角速度」。
To get a clean estimate of 'head angular velocity' (The place where my Beetle robotracer is controlled to follow the line), I need a clean body angular velocity.

基於使用 PD 控制來調整循跡時的角速度,我試了兩個方法,一個是用編碼器濾波後的兩輪速度信號相減 (右輪減左輪),另一個是使用陀螺儀。
Based on PD control algorithm to adjust the angular velocity command to follow the line, I tried two methods to obtain the body angular velocity.  The first one is to use filtered encoder signals (right wheel velocity - left wheel velocity), and the other one is to use gyro signals.

可惜這兩個信號都不夠乾淨,以下是實驗結果。
It is a pity that both methods are not good enough, and the experimental results are shown in the following figure.



恐怕我得試試「基於誤差大小的變動比例增益」控制方法來循跡了。
I am afraid that I have to use gain scheduled proportional control based on the line following error to reach my goal.


迴圈線迷宮(looped line maze)的搜尋與路徑簡化

迴圈線迷宮(如下圖),專指一個由直交線段組成的迷宮中,包含「迴圈」的路徑。在每年教育部主辦的「 電腦鼠暨智慧輪型機器人競賽 」中,屬於高中職與大專組的「 線迷宮鼠 」競賽活動。規則請參考以下連結  https://sites.google.com/gm.lhu.edu.tw/20...