The embodiment of the invention relates to the technical field of
microwave circuits, and discloses a wave control
machine amplitude and
phase code optimization method, which comprises the following steps: establishing an amplitude and
phase code table, triggering a shortcut key in the table to enter a
programming interface, and inserting a user window in the
programming interface; performing amplitude-
phase code optimization operation interface
layout in the user window; compiling and generating amplitude-phase code optimization programs of all channels, an amplitude-phase code optimization program of an upper-half array channel and an amplitude-phase code optimization program of a lower-half array channel; triggering an operation
command key, and generating amplitude phase code operation
software; and carrying out optimization
processing on the amplitude and phase codes of the
radar to be measured by using amplitude and phase code operation
software. According to the method, manual searching and calculation can be replaced, the optimization time is shortened, the antenna testing efficiency is improved, meanwhile, compared with manual
processing, it is ensured that no error code value is generated, and the antenna sidelobe and zero depth performance indexes reach the optimal state.