車道保持(lane keeping)對於交通安全而言,為一重要的要素,且為智慧型車輛研究中一門重要的課題。本研究提出以影像為基礎之智慧型車道保持系統,可防止因駕駛人不專心或是精神不濟導致的偏離車道情況,進而減少交通意外的產生。 本系統中,輸入為道路影像,輸出為方向盤轉角度數,並嘗試以PID控制器,保持車輛行駛在車道中,以減少意外發生的機率。而且,爲了減少影像處理所須的時間,因此在本研究中也使用了幾個減少影像運算量及簡化處理過程的方法,利用較簡單的影像處理法則來得到影像特徵,以減少影像處理的時間,配合影像投影座標轉換與PD和PID控制器,可作即時的車輛動態控制。本研究並考慮了將來使用嵌入式系統,取代電腦來進行影像處理及車輛控制,增加了今後本研究實現在商用車的可能性。 相較於前人之研究而言,本系統不但不需要特別的標的物,可直接使用不連續車道線作為影像特徵外,且可在行駛中經由影像處理得知目前車輛的方向角以及相對於車道的側向位置,並且之後可實踐於嵌入式系統中,以滿足量產商用車的考量,並增進今後的交通安全。
In this work, a control system of lane keeping by utilizing lane markers in the image as the image characteristics and the designed Proportional-Derivative (PD) or Proportional-Integral-Derivative (PID) controllers has been presented. The white lane markers painted on the road were seized as the input image characteristics, and the time needed to handle the input data was decreased by using grayscale transformation, resizing, and Region of Interest (ROI). Then, a PD or PID controller is designed to keep the vehicle driving along the center line of current lane and the steering angle was employed as controller output. The proposed method in this thesis eliminated special lane marks as the input image characteristics, and was able to detect current vehicle orientation and lateral position in the lane without any special hardware. These advantages improved the current lane keeping system and could reduce the amount of traffic accidents.