Real-time power quality (PQ) classification on Raspberry Pi 3. Neural network is used for PQ classification. This is system is designed for three phase operation. This demo shows single-phase test. Sag and interruption cases are simulated with a trimpot connected to output of an AC adapter.