Find the Mister-E calculator, its handy as hell.
As far as needing 20k HZ, I run DC motors down to 500hz. There is a low whine to them but its not the end of the world. The generated electrical noise is less also the heat generated from switching is alot easier to deal with at lower frequencies.
You might want to take a look at an 18F4431 chip. Its really handly too for motor control
Bookmarks