Intelligent self-healing control system