Expert control systems: analysis and its application to robot control