Hello. I'd like to build a small scale positioning system this year, for a countryside yard. A small vehicle using that system is supposed to cut grass, deliver produce (from a greenhouse, on command) to a location and several other things. The vehicle would move pretty slow.
What are my options and what can you recommend to me that is cheap? I think I'd need cm level precision for this.
Following is what I've thought of/found:
Network of NRF24 modules
I've thought of trying to use a network of NRF24 modules that could use time-of-flight to determine the distance based on how long it traveled.
A transceiver on the vehicle could send out a message to other transceivers with current time and other receivers could send back the message after they calculate the difference between the time sent and time received.
The issue I see here is that using RTC modules may not give a precise time on each of the transceivers and that may lead to inaccurate calculations. Another issue are obstacles between transceivers that could deceive how much distance there actually is.
Ultrasonic sensors are cheap but how would it fare against obstacles and how it would actually work.
SLAM
Too expensive in time and money.
GPS
Regular modules are not precise enough. RTK is too expensive.
Combined with any of these technologies I was planning to use an IR obstacle sensor to go around obstacles.
My knowledge of arduino and electronics is pretty limited.
So in theory (and principally) it is possible to use this to calculate the distance between two radios. However, even commercial solutions that try to go down to +/- 30 cm require significant software and installation support and sound experience of the topic...
To achieve reasonable accuracy you must exactly know the positions of fixed meshed stations and do some math to calculate the location of a moving or static object.
The technology required depends highly on
accuracy required
update rate of the position
whether this is calculated at the moving object OR at the stationary installation (which then transmits the position to the object)
possible other technologies that may be used in parallel or in addition (GPS, IR beacons, image processing, guiding wires in the ground, US or Laser distance measurement, ...)
Ultrasound will quite likely not work with sufficient reliability outdoors.
Laser distance measurement can, but depends on reflectivity of objects.
Radio ToF requires a mesh of APs with wellknown positions that support FTM.
GPS is still the easiest way that can be used by non-professionals (and will still require sound experience in software and mathematics ...).
Agree, I evaluated all kinds of in- and outdoor positioning systems since 1996 for professional use and found that there is no "easy" and fully reliable technology on the market. There are lots of physical impacts to be considered which interfere with reliability and precision. The only way to (mostly) overcome the different technical flaws is to use independent technologies in parallel (e.g. inertia systems, optical/IR beacons and RF solutions) which impact cost, autonomy, size and weight ...
A well prepared and controlled environment is key to success. Not to talk about weather conditions ...
Easiest would probably be a buried wire system around the perimeter, and maybe a separate buried wire system for the dedicated path of the delivery system (something that allows the arduino itself to differentiate the buried wires). GPS could then serve to maintain a specific heading across the yard.
Note that for a mowing system, there needs to be a considerable safety concert, to insure the cutters will cease to operate quickly when anything unexpected is encountered.
A robot lawnmower isn't an unusual ask here. The usual conclusion is that you need more accuracy than GPS can provide and getting it is too expensive.
This is backed up by the lack of such products in the market- plenty of people have thought of it, but no one has been able to do it economically. Unless perhaps, you live in Austria, where there is a network of differential GPS stations to help farmers get that kind of accuracy.
Sorry for reviving this post but I must ask for another project.
You mentioned
possible other technologies that may be used in parallel or in addition (GPS, IR beacons, image processing, guiding wires in the ground, US or Laser distance measurement, ...)
How would one set up guiding wires under ground for navigation? Just put it in ground and push a voltage through them to create an EMF and make a meter for it on the vehicle? If so how deep could the wires go (15cm possible?) and how would I go around creating a sensitive enough meter to detect the EMF using IoT devices (arduino, esp, modules etc)?
See if you can find any details about the "invisible fence" that keeps pets inside a defined area using a buried wire.
Note that the manufacturers tend to be very coy about what it actually does because a collar delivers mild electric shocks, but you may be able to find out how the less contentious bits function.
I have not developed something like that by my own, but buried the control cables for more lawn mower from Husqvarna company. Those wires can be layed out on the surface (and will be covered by gras over time) or put about 15 to 30 cm in the ground.
However, I found this Hackaday video on an autonomous robot
with some valuable information about technology and application (down to the wire choice) ...
If you give it a try woud be great if you could share your experience
P.S.: Once I had my perimeter cable broken at some point ... I used an "old" portable AM radio, tuned it off any channel and went along the cable hearing the interference of the HF signal generator. This way I could detect the position of the cut within +/- 20 cm ... Just in case ...