Intelligent control in dynamic system