how to design sapf using fuzzy controller