Perfect vortex beam (PVB) is a propagating light field with radial intensity distribution independent of topological charge and carrying orbital angular momentum (OAM). PVBs can be generated through the Fourier transformation of a Bessel-Gaussian (BG) beam, which traditionally requires a precisely aligned optical setup consisting of a spiral phase plate, a conical lens, and a Fourier lens. However, such traditional schemes are usually bulky and unstable. Here, we have utilized a method that differs from conventional approaches, employing metasurfaces designed as planar Pancharatnam-Berry (PB) phase elements to substitute for all the required components. Unlike traditional methods based on reflective or refractive elements, metasurface elements can significantly reduce the system's footprint. Because the use of metallic metasurfaces allows for a more flattened design plane, in this paper, we have demonstrated the generation of PVB within the 8GHz microwave frequency band based on a single-layer metallic metasurface. The metasurface is composed of a square ring metal structure, which can serve as a half wave plate to provide the required geometric phase distribution for incident circularly polarized light to generate PVB. By rigorously optimizing the parameters of the square-ring structures, we have generated vortex beams carrying OAM with different topological charges. These vortex beams exhibit a constant radial intensity distribution, which validates their "perfect" characteristics. In addition, we also extracted the mode purity of different vortex beams, so that the mode states of different vortex beams can be distinguished. These results provide broader value for the application of perfect vortex beams in communication.