I have a system where a motor position sensor provides six pulses per revolution.
As rpm rises to a maximum of 6000rpm of course it goes up to 600 pulses a second.
Lets say it's CMA in the diagram.
If I wanted to generate two more pulse trains CMB & CMC identical to the incoming one but 20 degrees apart from each other and the one I am reading, what do the collective think would be the best approach?
Lets assume a basic 12F683 8 pin pic running at 8mhz and a 12F1822 running at 32mhz.
Timer 1 interrupt to get the pulse length?
Timer 1 gate control mode?
How to generate the other pulses at the reqd point.
The system needs to work with accuracy from 1 rpm upto 6000 rpm.
At low rpm I expect timer 1 will overflow causing issues but we could increment a second counter to keep a track of how many times if overflows at low rpm.
Bookmarks