Use of artificial intelligence in self-tuning PID controllers