The invention relates to
magnetic ionic liquid and particularly relates to a preparation method of the
ionic liquid based on
guanidine functional groups and an application of the
ionic liquid in the removal of
sulfur-containing organic matters in a nonpolar solution by extraction. The
ionic liquid has a structure represented by a general formula (I) as shown in the specification, is typical room-temperature ionic liquid, has the advantages of very
low melting point and high
boiling point, low
vapor pressure, good stability, very high desulfurization efficiency and
high selectivity and is liquid at
room temperature, the intersolubility of the ionic liquid and a non-polar
solvent is very low, the desulfurization extraction equilibrium can be achieved in 3-6 minutes; and the
pollution and coloring to the original non-polar
solvent cannot be caused. According to the
magnetic ionic liquid disclosed by the invention, when n is equal to 1.5-2, the
magnetic ionic liquid has very high
paramagnetism and specific
magnetic susceptibility greater than 59.1*10<-6>emu / g, which is superior to the reported
magnetic susceptibility. Therefore, after the extraction desulfurization is completed, the separation of the ionic liquid from the non-polar
solvent can be conveniently achieved by externally applying a
magnetic field. The properties of the magnetic ionic liquid can be restored by diluting with water and a
carbon tetrachloride reextraction method, the magnetic ionic liquid can be repeatedly used for many times and the desulfurization efficiency cannot be significantly reduced. The recycling of the removed
sulfur-containing aromatic compounds can also be achieved by virtue of
vacuum distillation and enrichment.