The invention discloses a composite
evaluation function stray light optimization method based on dual-mode
ray tracing, and the method comprises the steps: 1, building a
light source model and an optical-mechanical structure model; 2, according to
light source information and optical
system matrix information, sequence optical tracing is carried out, and a loss1 value is obtained according to a result; step 3, performing non-sequence optical tracing according to the
light source information and the optical
system matrix information, and obtaining a loss2 value according to a result; and step 4, optimizing the optical
system by using a differential
genetic algorithm in a dynamic
weight distribution mode to obtain an optimized optical system. Compared with a traditional optimization mode, the optimization mode provided by the invention considers the system
imaging quality while optimizing the
stray light level, and meanwhile, the non-sequence tracing efficiency is improved by using the matrix, so that the
time cost in the optimization process is reduced. The method is of great significance to
stray light optimization of an optical system.