This invention discloses a two-dimensional electrostatic scanning micromirror, comprising an outer frame, an inner frame, and a mirror surface. The outer frame is machined with an outer frame isolation groove, dividing it into an outer frame measurement section, an outer frame driving section, and two outer frame connecting sections. An external feedback comb group is located between the outer frame measurement section and the inner frame, and an external driving comb group is located between the outer frame driving section and the inner frame. The mirror surface is machined with a mirror surface isolation groove, dividing it into a mirror surface feedback section, a mirror surface driving section, and a central section. An
internal feedback comb group and an internal driving comb group are machined between the mirror surface feedback section and the inner frame, respectively. By setting isolation grooves with different structures on the outer frame and the mirror surface, the outer frame and the mirror surface are separated into different functional parts. The inner and outer comb groups are respectively set as driving comb groups and feedback comb groups, enabling the measurement of the mirror surface
deflection angle in two directions. Real-time feedback of the mirror surface
deflection angle in different directions can be achieved, improving the accuracy of mirror surface
deflection angle control.