I am designing a little tabletop robot with a very simple goal of keeping track of where it is on the table as he traverses it. This, as it turns out, is a lot more difficult than I imagined.
All the obvious solutions like using an accelero-gyro combo and using distance sensors seem to be flawed as they either drift very much or are noisy and unreliable.
So I came up with the idea to install some kind of EM beacon on the vertices of the table. I don't have a detailed theoretical understanding of EM waves but here is what I have gathered so far:
- I can generate a simple EM wave by exciting an antenna with a sinusoidal wave (with an R-2R DAC)
- An EM receiver is an antenna output hooked to an op-amp input with its output going to a DAC. I can use a microcontroller to get the peaks of this signal and collect data on how distance affects amplitudes. If I plot this data on the computer, I should see a relationship between distance and amplitude of waves.
- Then I can use this relationship to measure the robots distance from that particular beacon. If I use different frequencies for the 4 different beacons, The robot should be able to calculate its position on the table.
I'm a programmer first so I am sure I can handle the digital portion of this setup. I am, however, concerned if EM waves work the way I expect. Am I being too naive with this?
Basically what I want to know is this: Is it reasonable to expect that this setup will work reliably, assuming that the digital parts of the system work fine? Has this been done before, and reliably? What are the sources of error that I have not been able to gather?
Any suggestions/tips/resources are welcome.
Edit: While the answers are interesting and have provided me with lots simple ideas to accomplish what I'm trying to do with my convoluted setup, none of them really answer my question. As such, I think that unless I conduct the experiment myself I am not going to find an answer.