I assume this is a DC motor, if so you do not need a VFD as this produces variable AC frequency, a current common way of controlling a DC motor is either by a SCR bridge circuit that does not require a capacitor,
The other is PWM which does require a suitable separate DC power supply, the SCR...