The invention relates to the technical field of optical devices, in particular to a preparation method of a planar
waveguide. The method comprises the following steps: adding a silk
protein solution into a preset printing device; the preset printing device comprises a
nozzle and a moving platform; the
nozzle is arranged on the moving platform, and the moving platform can drive the
nozzle to freely move in a space range; injecting silk
protein ink into the cross-linking solution based on a nozzle for curing treatment to obtain an initial planar
waveguide structure; wherein the cross-linking solution is a
methanol solution with a preset concentration; and
drying the initial planar
waveguide structure under the conditions of preset temperature and preset
humidity to obtain the planar waveguide. Through the treatment, accurate deposition of the silk
protein ink is realized, the prepared planar waveguide structure is finer and more accurate, bonding among silk
protein molecules is enhanced, and the stability and the
mechanical strength are improved, so that the silk protein planar waveguide can be realized, and the
biocompatibility of the planar waveguide is improved.