Intelligent knowledge-based system for adaptive pid controller tuning