Binay,
If you're looking for a hall-effect kind of positioning, there is a blog post about determining the speed and direction of a multi-pole magnet on a motor.
In fact, there is a whole list of hall effect collateral and documentation on this FAQ in the hall sensors forum.
I would suggest starting there and if you have further questions about any implementation in particular, let us know and we're happy to help.