The invention discloses a synthesis method of a 3, 5-dimethyl
piperidine onium salt template agent. The method comprises the following steps: synthesizing 1, 3, 5-trimethyl
pyridine quaternary ammonium salt from
chloromethane and 3, 5-dimethyl
pyridine; under the action of a catalyst, carrying out
hydrogenation reaction on the 1, 3, 5-trimethylpyridine
quaternary ammonium salt to generate 1, 3, 5-trimethylpiperidine; reacting 1, 3, 5-trimethylpiperidine with
dimethyl carbonate in a
nitrogen atmosphere to generate a 3, 5-dimethyl
piperidine onium salt with
methyl carbonate radicals; and dissolving the 3, 5-dimethyl
piperidine onium salt with
methyl carbonate radicals in water, standing for layering, removing an organic phase in the
raw material, taking a water phase, distilling, adding
calcium hydroxide, reacting to obtain a 3, 5-dimethyl piperidine onium salt with
hydroxide radicals asanions, and concentrating until the
mass fraction of the 3, 5-dimethyl piperidine onium salt is 24-32% and the
mass fraction of the
hydroxide radicals is 3-4%. The invention also discloses a method for preparing a
molecular sieve by adopting the 3, 5-dimethyl piperidine onium salt template agent.