The application discloses application of a
nanofiltration membrane based on
carbon nitride photo-generated positive charge regulation in
lithium-
magnesium separation performance, and belongs to the technical field of membrane separation and
water treatment. When the
nanofiltration membrane is used for
lithium-
magnesium separation, the application is carried out under
light irradiation. The
nanofiltration membrane is prepared by the following steps: (1) preparing a
carbon nitride membrane
sol; adding the
carbon nitride membrane
sol into an
aqueous solution of a
polyamine monomer to obtain a mixed dispersion; (2) preparing an organic phase
monomer solution; (3) adding an
ultrafiltration support base membrane into the mixed dispersion, taking out the
ultrafiltration support base membrane and adding it into the organic phase
monomer solution, and carrying out
interfacial polymerization to obtain a high-permeability membrane; and (4) carrying out heat treatment on the high-permeability membrane to obtain the nanofiltration membrane. In the process of preparing the membrane, the functionalized carbon
nitride is introduced, and visible light is added in the application, so that a large number of positive charges are formed on the surface of the carbon
nitride, the surface of the nanofiltration membrane is further positively charged, the Donnan effect of the nanofiltration membrane is strengthened, and the selectivity of
magnesium ions and the
lithium-magnesium separation efficiency are improved.