Fuzzy Control Algorithm