Piecing Together an Auto Mowing Rig: Part 1

posted in: Uncategorized | 5

There are about 8 months from spring ’till fall in southeastern USA where the grass grows at an ever increasing rate, eventually outpacing even the most avid outdoorsman’s desire to jump on a lawn mower.

This simple fact, combined with both a rapid fall of hardware component prices and a steady refining of history altering open-source autopilot stacks, means that many passerby have begun seeing sights previously uncommon to man.

Exhibit A:

 

In this blog post we’ll introduce the main components of our mowing rig. In future posts — hopefully not 2 years from now 🙂 — we’ll try to flesh out some more system details. As always, feel free to post questions in the comments and I’ll try to address anything I haven’t explained well.


The Pursuit of the Perfect RTK GNSS System

As we’ve previously discussed, for several years the long $$ poll in the hardware tent hamstringing our autonomous mower dreams has been centimeter-level robust GNSS gear1.

2 years ago we marveled that ComNav had built a precision GNSS module for ~$1000 USD capable of positioning to within 1cm at 10hz (i.e. 10 readings per second — or a new position output every 0.1 seconds). Our excitement was justified because the big agriculture/surveying GNSS vendors were concurrently exacting perhaps 5-10x that price for similar technology.

It is with considerable excitement we report that now in 2019, your affordable autonomous field-navigation robot dreams are more approachable than ever.

The reason for this, of course, is largely the gift that u-blox has recently introduced to mankind: the ZED-F9P L1/L2/L5 GNSS module.

Example hardware components for an Ardupilot based auto mower
Example hardware components for an Ardupilot based precision auto mower

If you live thousands of miles away from Switzerland like me, then you may also shamefully admit that your knowledge of that beautiful country has hitherto been effectively limited to the following:

  1. The Alps
  2. Remarkable banking
  3. Swiss Army knives

Well sister, get ready to add a 4th item to that list:
u-blox

Who are u-blox and why do they matter?

u-blox is a Swiss publicly tradedhighly profitable, growing, financially healthy, dividend paying fabless chip designer that is quietly introducing a line of low-cost ultra high precision GNSS modules that will likely change the entire world2.

Over the past 20 years, u-blox has been developing an ever improving line of high performance GNSS receivers that have become the de facto standard GNSS component in several important markets.
 
If you’re not very familiar with the world of drones here’s a way to think the place u-blox occupies in that market:

u-blox is the Intel of IoT GNSS

 

u-blox really is that dominant as the provider for drone GNSS receivers, and it’s reasonable to speculate that they’ll soon provide the high precision GNSS modules onboard a big percentage of the ~70 million automobiles annually sold worldwide.

Many more glowing words could be accurately penned about u-blox, but our task at hand involves using their ZED-F9P high precision GNSS module as the position solution for an autonomous mower.

So what’s the big deal with the ZED-F9P?

In laymen’s terms, the ZED-F9P allows any outdoor thing to know it’s exact position on the face of the earth to within ~1cm with up to 20 position updates per second at a price-point that’s an order of magnitude lower than similarly robust incumbent solutions.

It does this for a flat one-time price of ~$500 USD. That price is for 2 ZED-F9P modules (along with 2 antennas) to build a stand-alone system (i.e. one of the ZED-F9P modules is set up as a Base Station / “correction” provider). If you have an existing correction source, then you’ll only need to purchase one module, and so your cost is halved to ~$250 USD.

The fine citizens of Precision Ag / Land Surveying world, arriving at this page and reading the ZED-F9P specs and pricing, will likely have a visceral appreciation for the u-blox accomplishment that perhaps few others can fully understand7.

For $500 you can purchase a 2 receiver / 2 antenna (a capable active patch antenna is included in the dev kit) L1/L2/L5 multi-constellation 20hz system that’s comparable in performance (and arguably much more approachable in terms of ease-of-integration) to a $10,000 system from one of the existing old school RTK manufacturers.

Readers familiar with RTK technology jargon may be interested in a flyover of the ZED-F9P’s technical specs:

ZED-F9P Technical Highlights

Price: ~$250 USD3

Multi-Constellation: GPS / GLONASS / Galileo / BeiDou — In other words, it’s processing position signals from satellites from all 4 of the major GNSS constellations.

Multi-Frequency: L2OF, L2C, E1B/C, B2I, E5b, L1C/A, L1OF, B1I — This is the real kicker — historically you have only obtained multi-frequency receivers by parting with thousands (or ten-thousands) of USD dollars.

20HZ output capable: Stated differently, just to be clear, it can give you 20 unique cm-level accurate positions every second.

Well-documented and mature presence: i.e. autonomous autopilot stacks (such as the gold-standard Ardupilot) have supported u-blox gnss receivers for years4.

Supports standard RTCM corrections.

Low power consumption.

If you’re coming from the world of Precision Ag or Land Surveying and you read those specs, due to your experience with the companies that have supplied that market for 2 decades, you may be thinking “yeah but how much does The Man charge me for software un-locks for all 4 constellations, multiple frequencies, and 20HZ output?”

Answer: 0.00 USD.

Yes, the ZED-F9P comes with all those features out of the box — the only catch I know of is our shared inability to stockpile these modules and then time-travel back to 2015, making a fortune through resale.

 


Rover Build

The rover we’re describing today is built on a repurposed electric wheelchair powertrain as we’ve previously detailed. But note that we’ve upgraded a few components since the previous discussion about this rover.

The significant modifications are these:

  1. Replace our beloved ComNav K501g with the superior u-blox ZED-F9P.
  2. Upgrade rover wifi system with Ubiquiti mesh network5 (i.e. we run a Ubiquiti access point on the the rover that’s joined to our local Ubiquiti network. This offers many benefits, for example: it’s now trivial to shell/VNC into rover’s onboard Raspberry Pi from any computer on our local network).
  3. Replace Pixhawk 1 autopilot with Pixhawk 4 autopilot. Just to be clear, this is not because the Pixhawk 1’s functionality is yet significantly outdated for this application (even though Pixhawk has been around since 2013) — instead, when Holybro introduced the Pixhawk 4 I got curious about it’s performance, and liking it’s specs (and Holybro’s solid reputation) but not finding many user reviews of the module, curiosity overtook and I just bought the little guy from Sparkfun.

 

Rover front view from above
Rover front view from above

 

Note the next-level red/black clamps connecting the + – battery terminals to the AC/DC inverter

 

The box on the left is the power box — box on the right is the brains box.

 

The “RTK” radio at the bottom is dedicated to receiving RTK corrections from the base station.

 

Another angle of the brains box.
Another angle of the brains box.

 


Mowing Deck Build

We hacked together a mowing rig6 as follows:

  1. After eyeing the big 60″ deck on our old Scag mower, we cut out a similarly-shaped (albeit scaled-down) hexagon from 1/8″ sheet metal.
  2. Procure 3 24v 150W ZY6812 150-GM150115 DC motors from eBay (somehow those powerful motors are shipped to your door @ $25 a pop).
  3. Hook up some shaft coupler extensions (from eBay) to the DC motors. This buys us a couple extra inches of clearance between the mower deck and the blade disk. Note that I had to Loctite the nuts that snug these extensions to the motors. Also note that if you want to purchase extra nuts for this extension (for example, if you want to hold those Honda disks in place by sandwiching the blade disk between two nuts), that the nut size ia a little odd: M10 Left Hand 1.5. This Amazon query should get you what you need.
  4. Bolt the 3 DC motors to mowing deck sheet metal.
  5. Attach Honda blade disks to the shaft coupler extensions. I like the Honda disks because they’re metal (and because they’re Honda). I had to drill out the hole in the center of the disk slightly — i.e. you have to make the hole’s diameter a little bigger to use the shaft coupler extensions that we’re using.
  6. Ask Pops to weld together a carriage structure to attach to the rover. If you study carefully the metal and swiveling wheels on this structure you may recognize they’re just parts we’ve salvaged that were laying round from prior power-chairs.
  7. Suspend the mowing deck from the carriage by 4 loops of 1/8″ galvanized 7×19 steel wire cable (this ultra-strong wire rope was leftover from building the backyard containment fence a few years back). Those aluminum brackets attached to the deck that the cables loop through were laying around the shop.
  8. Run ground wire and fused 24v power wires back to the mowing deck.
  9. Create mower deck sides by bending & cutting sections of 3″ Aluminum flat bar. Bolt aluminum sides to deck using these brackets.
  10. Bolt two Spiderman bicycle training wheels to front left/right sides of mowing deck — this helps the deck to “float” along without getting hung up on uneven terrain.

 

 

 

 

 

 

 

Honda blade disk part #72612-VP7-C50

 

Honda blade disk-Side
Blades (not pictured) swivel on 3 bolts welded to the disk

 


Wrapping Up

Let’s bring this post to a close with two time-lapse videos (one run — but video taken from 2 cameras — note that the second camera’s battery died before run completion) taken this morning.

 

 

Note the number of obstructions that would challenge an RTK system of lesser capability.

The mowing rig works quite well, keeping the back yard neatly trimmed and letting my clothes stay clean in the process.

Sincerely yours,

Roby


Footnotes

  1. While it’s true that random-pattern electrically fenced autonomous mowers have been around for the last few decades (i.e. Husqvarna / Robomow), the advent of low-cost robust cm-level positioning will likely enable similarly-sized mowers to maintain an order of magnitude more land while discarding the pain point of installing/repairing an electronic perimeter. Additionally, the idea of autonomous-mower-as-a-service becomes much easier to imagine.
  2. The financially savvy readers of this blog may note that u-blox accomplishes this and more (i.e. they also play in the hot IoT cellular / Bluetooth space) while presently trading at an unusually reasonable multiple of ~14 times earnings (note, for instance, they’re quite similar in metrics to Axon (police camera / Taser manufacturer) but they trade at 1/10 the price (relative to earnings) of AAXN).
  3. $250 USD (as of May 2019) is the price for the official development kit (called C099-F9P) that you can pick up from Digi-Key. A handful of companies have built maker-friendly boards based on the ZED-F9P including ArduSimple, Sparkfun, Drotek, and CSG Shop. The bare chip retails for ~140 USD (as of May 2019).
  4. Ardupilot ZED-F9P support (as of May 2019) happens via the standard NMEA driver. In other words, the last time I tried to use the Ardupilot custom u-blox driver linked above with the ZED-F9P, it didn’t appear to be working (in contrast, that driver works wonderfully with the old u-blox NEO-M8P L1-only RTK module). To be perfectly honest I didn’t debug the u-blox driver at all (and hence of course what I’m saying here should be taken with a grain of salt) since it was easy to just enable standard NMEA position output in the ZED-F9P.
  5. If you’ve not yet converted your home/office network to Ubiquiti, perhaps that’s a more pressing item than anything else in this little blog post. The glittering reviews are justified — Ubiquiti really is that good.
  6. Readers without tolerance for the hackfulness of this mowing rig should have their spirits buoyed by Mr. MowerProject’s outstanding efforts (often accompanied by slick CAD images) in this area.
  7. Emlid appears poised to further their reach into the Land Surveying market via their new Reach RS2 based (ostensibly) on the u-blox F9 chips.
Follow Roby:

Latest posts from

5 Responses

  1. John Dolecki

    How does it avoid the trees and bushes?

  2. John Dolecki

    How do you configure the Pixhawk for a ground vehicle? It was designed for drones right?

  3. John Dolecki

    Do you have a block diagram of how all your stuff connects

Leave a Reply