Flocculation control study based on fractal theory