Dc Motor Position Control
There is no relation between PWM pulses and encoder feedback pulses. When you send PWM pulses, you supply the motor with voltage which is V = Vdc * DutyCyleRatio. The encoder measures the position of rotor. Where did you got the idea that PWM pulses == encoder pulses?