That is the way VFD work for ac motors but unless you can build one very
expensive [ Verbal Frequency Drive ]
And usual Thea end up Rather large and the ones i have installed all or changed Manuel