A Real-time Device for Smart Excitation Control Systems