equimolar dimethyldecaoctaamine and sodium 3-chloro-2-hydroxypropane sulfonate are successively put into the reaction kettle, and 78% alcohol is added, stirred, heated and refluxed for 3 h. After the reaction is completed, cool down to 40°C, add sodium carbonate aqueous solution to adjust the pH value to 9. The unreacted tertiary amine is extracted with petroleum ether, the oil layer is separated, and the tertiary amine is recovered after the petroleum ether is evaporated. The alcohol water layer is injected into the distillation kettle, ethanol and water are steamed out, the high boiling point is left in the kettle, recrystallized with anhydrous alcohol, filtered while hot, the filtrate is put into the crystallization kettle to cool and crystallize, and the product is vacuum dried.
Add dimethyldecaoctaamine to the reaction kettle, add anhydrous ethanol, stir and dissolve, add vinyl chloride [dimethyldecaoctaamine: vinyl chloride = 1: 1.5(mol)]. Mix and stir well, heat and reflux for about 14 h, the unreacted vinyl chloride and ethanol are boiled out together, and then sodium bisulfite aqueous solution and catalyst amount of tert-butyl peroxybenzoate are added to the residue. Under the protection of nitrogen reflux for 7 h, evaporation of solvent and water azeotrope, when the gas phase temperature rises to 80 DEG C after stop distillation, add some anhydrous ethanol, while hot filtration, remove alcohol insoluble, filtrate concentration, cooling crystallization, filtration, drying to obtain the finished product.