Yes, I know I skipped September, it is still in the works but having digital camera issues. I can't seem to get good closeups. Does anyone know how to adapt a macro lens to an HP Photosmart 435?
Finding your position seems to have only one answer these days: GPS. And it is excellent. New systems are becomming available to increase the resolution of a reciever within a limited area. For example, one research group was able to control the position of a small "car" to within a few centimeters inside a large building. This is done by adding "pseudolites" which act as local area positioning beacons for the GPS system. Also, GPS recievers continue to decrease in size and price. It will not be long before linear encoders will be replaced with GPS units!
David Beals [DBeals at transdyn,com] has sent along some very nice SX code to read a GPS unit and display the info on an LCD.
One of the things that pushes up the price of encoders is the need for fine resolution and the tiny sensors and disks that this implies. There is a way to use larger components and achieve fine resolution. I'm not exactly sure why it isn't used more, but I think the reason is that, although it is very accurate and fine in the long run, it does not produce a perfect position signal for each "click." The idea is to use a "vernear" arrangement of sensors just like the marks on a vernier caliper as invented by Pierre Vernier in 1631. What! You don't know what that is?
Now, it turns out that this vernier trick accounts for some of our visual abilities:
Tasks that require one thing to be positioned with respect to another are referred to as spatial localisation tasks. These tasks are of interest because humans are generally 10 times better at this than at other positioning tasks. One example is vernier acuity. The precision with which vernier tasks can be performed by the visual system is amazing. As this paper shows, vernier thresholds are considerably smaller than the foveal cone diameter!
The more standard position recovery sensors are Absolute Position Encoders:
This type of encoder has the unique property of letting you determine the absolute position (within the entire range) with less than the expected minimum number of bits required for complete absolute resolution. It does this at the expensive of you needing to actually move the encoder several steps in order to "see" the pattern in the changing bits. When enough steps in the encoder position has passed by, the resultant pattern then is unique to one and only one spot within the full combination of the code. In essence, after a minimum number of increments, the absolute position can then be easily determined.
The deal is that you need a cyclic (repeating) code sequence N bits long in which any given string of M bits is unique. You then draw this sequence around your code disk, and you need to move only M bit positions to read M bits of code at startup; you then know where you are in the whole N-bit sequence.
The figure shows, as an example, a 31-bit term Psuedo Random Binary Sequence: 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0,1, 0, 0, 1, generated by a 5-bit shift register. If you imagine a window, 5 bits wide, which can be pieced together by reading 5 bits in turn with a single photocell with another photocell following a standard linear pattern which acts as a "clock", each window position is unique and tells your position to within 1 bit.
Now, it's obvious that the best you can possibly do is N=2^M, because by reading M bits you only have 2^M possible values. It may be that there are some codes that have this property. On the other hand it is very easy to find codes that do nearly as well, giving N=(2^M)-1. These are the "pseudo-random binary sequences" which can be generated using linear-feedback shift registers. There's a useful section on these in Horowitz and Hill, and no doubt many other places. The good news is that the idea is basically sound. Suppose M=10, then you can do a 1023-position encoder and get absolute position after moving only 10 positions, i.e. about four degrees. A lot better than forcing your milling machine, industrial robot or whatever all the way back to its "home" position on every startup. I think that the most useful application would be for long linear tracks such as would be found on gantry robots powered by linear motors.
The bad news is that the pattern you must print on the code disk is no longer simply periodic, and it is therefore impossible (I think - certainly very tricky) to use Moire or vernier techniques to get high resolution with only one encoder. So this might be something you would add to an existing low resolution absolute position encoder: Basically, two low res encoders, in a vernier arrangement, can produce a VERY high resolution encoder, with absolute position readout after a few steps.
The other problem is that finding a sequence in a list of 1023 bits will be slow at best. If you know a fast way to manage this, please let me in on it?
I remember a Heidenhain rotary encoder with a 'normal' incremental code. As an extra feature it had multiple (32?) index holes. The distance between these index holes was not equal and therefore you could retrieve the absolute position by counting the number of encoder pulses between two index hole pulses.
Sort of like pulse width modulation.
In order to be useful, the lines have to be very thin. Otherwise you can't count high enough between two index holes to provide for a unique identification of the index holes or you can't have enough index holes to make it worth doing. Here is a perfect opportunity for vernier encoding to help reduce the cost of the system by allowing lower resolution sensors to count the lines.
|file: /Techref/new/letter/news0312.htm, 18KB, , updated: 2016/11/1 09:54, local time: 2018/9/21 09:48,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/new/letter/news0312.htm"> December 2003 MassMind newsletter</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180921 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Isaac M. Bavaresco, Bob Blick, Neil, Denny Esterline, Harold Hallikainen, John Gardner,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!