Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/06/00 12:40
Read: times


 
#7021 - RE: Digital encoder
I had a similar design once, you can not debounce encoder outputs, you will miss reversals, just visualize "A" going hi>lo and a couple of uS later lo>hi. With Peters (elegant) solution, you will be very close; however your precision will be depending on the frequency of the timer interrupt. If your application is mission critical convert Peters code and burn it into a fast CPLD, that will give you reaction time in the low nS range. The problem with encoder processing is that there is always some slack in the mechanical linkage and when the stop is exactly at a border you can actually (in one case of 1.432 :-)) see the whole darn thing oscillate. Get the mechanical connetion to the encoder as rigid as humanly possible.

best of luck,

Erik Malund

List of 17 messages in thread
TopicAuthorDate
Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
Wrong counts, Debouncing            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      
RE: Digital encoder            01/01/70 00:00      

Back to Subject List