To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 21739
21738  |  21740
Subject: 
Re: Robolab, byte codes and assembler
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.robolab
Date: 
Sun, 30 Nov 2003 17:29:37 GMT
Viewed: 
6008 times
  
In lugnet.robotics, Mark Tarrabain wrote:
   Could someone explain to me technically why this sort of of problem with the rotation sensor occurs?

I know how quadrature shaft encoders are supposed to work, and I can’t see why this sort of thing should happen in the first place.

They do work! But they are usually used with two quadrature outputs (hence the name), while on RCX only one wire is used and the 4 states are encoded as 4 voltages levels.



(Image courtesy Michael Gasperi)

The sequence (clockwise) is Level0 -> Level1-> Level3 -> Level2 -> Level0. Unfortunately it is possible that RCX sampling occurs during transition L1 to L3, while the analog voltage value is near L2 (this transition takes some time, as can be seen below)



This can also happen in L2 to L0 transition, through L1.

When this occurs, counting is perturbated...

On top of that, there is a hardware problem (insufficient filtering) which at low speed increases greatly the probability that the transition occurs at the wrong (sampling) time. For more details, see http://www.philohome.com/sensors/legorot.htm

Philo



Message is in Reply To:
  Re: Robolab, byte codes and assembler
 
Could someone explain to me technically why this sort of of problem with the rotation sensor occurs? I know how quadrature shaft encoders are _supposed_ to work, and I can't see why this sort of thing should happen in the first place. >> Mark (21 years ago, 30-Nov-03, to lugnet.robotics, lugnet.robotics.rcx.robolab)

17 Messages in This Thread:








Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR