Similar Items: Design of a Novel Adaptive Logistic PID Controller to Improve Terminal Voltage Response of Synchronous Generators and Cyberattack Detection