Usually, when you want a servo motor, you simply buy one already made. But if you need something unusual, you can turn any DC motor into a custom servo you can control just like [Dejan] did.
[Raynerd] wanted a new spindle for his CNC machine and thought that a brushless DC motor would be a great platform ... electronic speed control and a servo tester work in conjunction to manually ...