The invention discloses a gradient purifier with automatic cleaning function. The gradient purifier comprises an eccentric wheel assembly, wherein the eccentric wheel assembly comprises a concave rod,the concave rod is sleeved with a plurality of blades, each blade is sleeved with a blade sleeve, a rotating cylinder is arranged at the outer end of each blade sleeve, and a suction port assembly isarranged on one side of each blade. Suction moving blocks are arranged on the other sides of the blades, suction fixing blocks are arranged at the upper end and the lower end of the side, close to the suction moving blocks, of the interior of the blade sleeve, the ends, close to the concave rod, of the suction moving blocks are connected to a suction port assembly through one-way valve pipelines,and a petroleum valve pipeline is connected with a centrifugal device which is arranged above the rotating cylinder. The oil-gas recovery device, the petroleum condensate recovery box and the oil-water recovery device are connected to the centrifugal device through pipelines; the oil-gas recovery device has the beneficial effects that cleaning is convenient, harmful gas and condensate in petroleum can be removed, and the amount of filtered seawater is guaranteed.