The present invention discloses a design method of a miniature spectral imager, which determines the number of spectral channels and the spectral range of a single channel, determines the focusing
phase function of the aberration correction lens by the spectral range, the
system focal length and other parameters, combines the
particle swarm optimization algorithm, optimizes the mapping relationship between the phase,
transmittance and structural parameters under different structures, and determines the full-mode structure and period parameters of the aberration correction lens; establishes a filter array based on a
distributed Bragg reflector, determines the
center frequency, spectral bandwidth, long-wave and short-wave frequencies of a single channel according to requirements, thereby determining two media with different high and low refractive indices, determines the film layer parameters of the filter cavity by the bandwidth parameters of a single channel, and obtains the filter structure parameters with the highest single-peak
transmittance that meets certain requirements by optimizing the number of film
layers and the thickness of different media, thereby realizing the design of
narrowband filtering. Without any moving components, imaging of the spatial dimension and the
spectral dimension can be obtained simultaneously in
one shot, effectively improving the
time resolution, and realizing the integrated and miniaturized design of the
system.