We study an optical device designed for converting the polarized Gaussian beam into an optical vortex of tunable polarization. The proposed device comprised a set of three specially prepared nematic liquid crystal cells and a nano-spherical phase plate fabricated from two types of glass nanotubes. This device generates a high-quality optical vortex possessing one of the multiple polarization states from the uniformly polarized input Gaussian beam. Its small size, simplicity of operation, and electrical steering can be easily integrated into the laboratory and industrial systems, making it a promising alternative to passive vortex retarders and spatial light modulators.