This paper introduces a solution to the reference trajectory tracking problem done by a differential wheeled mobile robot Khepera II. The paper includes a kinematic part and a dynamic part of the mathematical model of mobile robot. In this paper two approaches of the artificial intelligence are used i.e. genetic algorithm approach from evolutionary computing techniques and theory of neural networks. Genetic algorithm is used for parameters optimizing PID controller and K parameter so-called parameter speed of rotation at the tracking reference trajectory into defined control structure. For the creation forward and inverse neural model by the approach of neural networks are used forward neural networks of MLP type. The neural models are verified using Neural Network Toolbox. The forward neural model of the mobile robot is implemented into the IMC control structure together with the inverse neural model, which is used as a nonparametric neural controller. The purpose of the designed control structure is tracking the defined trajectory of the mobile robot using approaches of the artificial intelligence, which are verified by the simulations in the language Matlab/Simulink.