Quote:
|
Originally Posted by Kevin Watson
With an efficient Interrupt Service Routine you should be able to do this (I've done it). Be aware that troubleshooting an errent ISR requires a thorough understanding of the underlying hardware and the machine code the compiler has generated for you.
BTW, do you really need 1/5 of an inch worth of resolution?
|
I think I have a good idea on how to develop an effecient service routine. Plus, your interupt example is a great starting point, thanks. As far as getting 1/5" resolution is concerned: I probably won't need resolution that accurate. However, although it was only an example, as long as the controller can handle it I would like to have as much resolution as possible.
Quote:
|
Originally Posted by Mark McLeod
The greater resolution does, however, profile trends very well and that makes for very smooth PID correction.
|
Yeah I agree. I do not have a lot of practical experience with the PID loops. I've just done some math on a notebook and what you're saying agrees with the math. This year I'm hoping to bring PID to the team.
I like the way you tested the encoders accuracy, I will have to implement a similar test.