Modulated Light Beacons for Orientation in a Room
in Robotics
Hi perhaps someone has done something similar or has some other comments? - Thanks in advance!
Idea is:
- A robot is moving inside a room.
- Goal is to have position and orientation.
- It has a fototransistor mounted similar to the robots having a ping sensor, so that it can be turned horizontally with a servo motor. Actually the idea is to use the same servo. The fototransistor is sitting in a tube, so that it's angle of vision is limited. - A 1 pixel camera.
- In the room there are at least 2 light beacons, which each have a light (preferable visible). These lights are modulated as square wave blinking on/off but the two (or more) beacons each have their own frequency, to be able to distinguish them.
- The signal from the fototransistor is high pass filtered, amplified and fed to a P2 ADC then filtered again either with the Goertzel Smart Pin Mode or with Goertzel Software working on a sampled buffer.
I had done something in this direction using a camera some time ago. It's frame frequency was low and the blinking frequency was also low. Now I am more thinking of something like 10 kHz.
The method seems to be interesting, because a beacon can be build cheaply and the hardware on board of the robot seems also to be very simple, if the P2 can do a lot.
Of course wondering about resolution and possible range.
Cheers Christof

Comments
While not same as you are planning, at least it might give you some ideas: Earlier this year I used modulated IR for navigation in a straight line, see this discussion (you were also participating): https://forums.parallax.com/discussion/comment/1566360/#Comment_1566360
I got a lot of help from @JonnyMac so kudos to him.
Hmm... Maybe one would want to use a camera to localize the beacon? In that case would want to use very low frequency, <<60Hz...