A fuzzy logic-based autonomous car control system for the JavaScript Racer game

Etlik U. B. , Korkmaz B., Beke A. , Kumbasar T.

TRANSACTIONS OF THE INSTITUTE OF MEASUREMENT AND CONTROL, 2019 (Journal Indexed in SCI) identifier identifier

  • Publication Type: Article / Article
  • Volume:
  • Publication Date: 2019
  • Doi Number: 10.1177/0142331219889526
  • Keywords: Fuzzy logic, expert systems, expert systems, self-driving car, lane tracking, JavaScript Racer, LANE DETECTION, TRACKING, DESIGN, TIME


In this study, we propose a fuzzy logic-based autonomous car control system and its deployment into the JavaScript Racer game. The main design goal of the self-driving car control system is to end up with an intelligent vehicle control system that is capable to keep the car finish race in the shortest time as possible while keeping the car on the road course regardless the road conditions. To accomplish such a design goal, the proposed intelligent driving system takes up and merges the frameworks of control theory, fuzzy logic and image processing. The proposed structure is composed of vision-based lane detection system, fuzzy logic-based position reference (FPR) generator, fuzzy logic-based velocity reference (FVR) generator, low level position and velocity controllers. The vision-based lane detection system solves the road curve estimation problem in real time and provides this estimation feedback for the FPR and FVR to generate appropriate position and velocity reference signals. The design of the intelligent FPR and FVR generators is accomplished by converting expert knowledge into fuzzy rules. The generated reference signals from the FPR and FVR are then tracked by low level position and velocity controllers. The proposed structure is capable to percept the environment (i.e. road tracking), make decisions (reference signal generation) and control car dynamics (i.e. speed and position) as expected from an autonomous system. The paper presents the structure and design of the intelligent driving system by providing all the design steps in detail. The efficiency of the fuzzy logic-based car control system is shown with results collected from the game environment. It is revealed that the developed intelligent system can successfully operate in various racetracks and different operating points.