The invention relates to the synthesis and the usage of the novel hindered amine light stabilizer undecylenic to pentadecanedioic acid (2, 2, 6, 6-tetramethyl piperidino) diester. The invention utilizes undecylenic acid, dodecanedioic acid, tridecanedioic acid, tetradecanoic acid and pentadecanedioic acid produced through microorganism fermentation paraffinic oil as the raw material, the undecylenic to pentadecanedioic acid diesters are synthesized firstly, then the ester exchange reaction is performed to produce the finished product, secondly, the catalytic agent adopts sodium methoxide, sodium ethoxide or sodium amide which has higher activity, is easy to prepare and segregate, and is suitable for the use in industry, the related reaction condition is bland, the technology is simple, and the invention is easy to realize industrialization. The invention has very good light protection performance, and the addition into lubricating oil hydrogenised base oil can obviously improve the light stability quality. The invention can replace the prior Tinuvin770 sebacic acid (2, 2, 6, 6-tetramethyl piperidino) diester product. The structure formula of the invention is shown in the following (I), wherein, n is equal to 11 or 12 or 13 or 14 or 15.