The invention provides a method for automatically generating a pixelated
resonant cavity of an oscillator based on knowledge-driven reverse design. The method comprises the following steps: determining a topological region range of VCO
resonant cavity design; determining a reverse design target; a priori knowledge driving
pixel matrix drawing strategy is established, pixelated
inductor topological structure drawing is completed in the topological region based on the drawing strategy, and a primary pixelated
inductor topological structure quality factor and a secondary pixelated
inductor topological structure quality factor are calculated; according to a reverse design target, searching a Q value of a primary pixelated
inductance topological structure from a binary n * n matrix
assembly at a given target frequency, and meanwhile, achieving a maximized optimal solution to obtain an optimal pixel topological structure; and constructing the
voltage-controlled oscillator in combination with the optimal pixel topological structure. According to the method, batch automatic
simulation and optimization of the optimal
resonant cavity structure can be realized, and compared with manual design, the
time cost is saved, and meanwhile, the performance is further improved.