Skip to Main Content
This paper is concerned with the detailed implementation of real-time fuzzy logic speed control for a standby diesel-generating set. The implementation platform is that of the Mathworks xPC Target. This rapid prototyping scheme permits the automatic cross-compiling of the nonreal-time Simulink control system model into real-time C code, which is executable on the xPC target PC. The digital governor xPC target hardware consists of a desktop PC with a National Instrument Input/Ouput card and a Softing Controller Area Network Card. The paper details the fuzzy control model and the methods with which to communicate with the engine control module. Tests were conducted on a 50-kVA diesel-generating set. The results show that the fuzzy controller is superior to the variable gain PID-type governor used by the conventional engine control module.
Date of Publication: June 2006