This application provides a
beamforming system, which may be applied to the fields of
wireless communication systems, autonomous driving,
artificial intelligence, and the like. Small-scale, low-power, and fast-response two-dimensional
beamforming can be implemented. The
system includes a first
optical diffraction module and a second
optical diffraction module array, the first
optical diffraction module includes at least one input port and a plurality of output ports, and each second optical
diffraction module in the second optical
diffraction module array includes one input port and a plurality of output ports. The first optical
diffraction module is configured to receive at least one path of first
signal light, and generate a plurality of paths of second
signal light with different phases based on the at least one path of first
signal light. Each second optical diffraction module is configured to receive one path of second
signal light in the plurality of paths of second
signal light, and generate a plurality of paths of third
signal light with different phases based on the one path of second signal light, where the plurality of paths of third signal light are used to generate a plurality of paths of first
radio frequency signal.