PID Speed Control Loop - Switching compact