Fuzzy control method and fuzzy controller

The invention discloses a fuzzy control method and a fuzzy controller, wherein the fuzzy control method comprises the following steps: receiving detection input quantity input by a detection device, and mapping a deviation value of the detection input quantity and a set value to an input discourse domain to obtain fuzzy input quantity; performing fuzzy reasoning and fuzzy decision according to the fuzzy input quantity to obtain fuzzy control output quantity of a corresponding output discourse domain; and converting the fuzzy control output quantity into control output quantity, outputting the control output quantity to an actuating mechanism, and controlling the controlled object by the actuating mechanism according to the control output quantity. Through fuzzy control method and the fuzzy controller, the chlorination in a water plant can reach optimal control effect.