In some case a micro can be a little over-kill depending on the task, in some cases it can be done with a couple of discrete IC.'s.
PWM is Pulse Width Modulation for variable current control of a power device, DC motor for e.g., if you Google PWM you will see lots of links.
M.