I've been collecting ideas for building a Mars Rover. This can easily cost a few thousand dollars and I'm not quite sure yet that I'm willing to fund such a venture, but it's fun to dream (and plan).

Apparently lots of people have been inspired by the NASA Mars rovers, as there's lots of projects out on the Web. NASA has even created an "open source" robot project, with downloadable plans.

I recently came upon a JPL paper that goes into quite a lot of detail about the software controllign the Mars Exploration Rovers (MER), Spirit and Opportunity*. These were the two rovers that landed on Mars in 2004 and ran until 2010 and 2018 (resp.), a very long time past their planned mission of 90 days. This is probably the most detailed description I've found of a NASA rover's software.

The paper's abstract is:

In this paper we describe the software that has driven these rovers more than a combined 11,000 meters over the Martian surface, including its design and implementation, and summarize current mobility performance results from Mars.

Contents

  1. Introduction
  2. MER Flight Software Architecture
  3. Mobility Manager Software
  4. Low-Level Driving
  5. Autonomous Driving
    • Primary Autonomous Capabilities
    • Terrain Assessment Overview
    • Robust Stereo Image Processing
    • Terrain Assessment

Another related document from the same team is Chapter 3 of "Intelligence for Space Robotics":

This also goes into the mechanics of the rocker-bogie suspension, use of sensors, basic mobility and control modes, autonomous navigation, path selection, etc.

If one were to use a stereo camera like the RealSense T265 (rather than motor encoders) for odometry, here's a paper by, again, some of the same authors:

Admittedly, that one is way over my head, but interesting.

An easier read is:

Design Notes#

Open Source Rover Patch (click to enlarge)

One thing that almost goes without saying: the vast majority of the hobbyist Mars Rovers I've found are, despite being very complicated and often expensive mechanisms, they are almost without fail toys, remote-controlled vehicles, and only rarely qualify as Telerobotics. Very few have operational sensors, and so far (I'm trying to think...) none of them I've seen are autonomous robots, or even semi-autonomous. Put it this way, if you've built an autonomous Mars rover, contact me and I'll put a link or a description or a page up about it.

So far I've been scanning the cool robot parts at ServoCity for ideas for the steering mechanism and rocker arms. The scale and weight of the overall robot help decide the size/power of the motors and servos. It's a bit of a balancing act. I also want to, unlike most of the "civilian" designs, somehow tuck my motors inside the wheels or otherwise not have them hanging down near the ground as many/most of the rovers I've seen seem to do.

I'm likely to try to build a rover a bit smaller than some I've seen on the Web — but not toy size — something using the same motor controllers I've used on my other robots, maybe 22mm or 25mm diameter motors with stall currents around 5 amps. The next step up from there and we're talking much larger motors, beefier controllers, larger batteries, etc. Too large, especially for my budget.

Preliminary Desing (click to enlarge)

There's a huge impact on ground clearance if your motors are down there banging into rocks and such. The difficulty seems to be locating some suitably deep wheels. I can't imagine simply 3D printing them, as plastic wheels wouldn't last very long on rocks or concrete. I want a robot that can actually roam outdoors. Also, unless the motors have durable ball bearings protecting the shafts, there needs to be some significant insulation between the motor shaft and the shocks that the wheels will create as they go over rough surfaces. Unless the robot is only going to run indoors, and then what's the point?!

The basic idea is this: six wheels, all 180-200rpm ~25mm high power motors with shaft encoders. The two center wheels are driven but not steerable. The four corner wheels are mounted on ServoBlocks so they can be steered. Rather than a Rocker-Bogie, we opt for the simpler Triple-Rocker. This requires two identical rockers on the sides and one almost-the-same rocker arm at the back, each with dual ball bearing mounts. There are no differentials or connections between the rockers (as in the Rocker-Bogie design).

There will be three pairs of motors, three dual motor controllers, and three batteries. Basically three entirely isolated electical systems, with two I²C isolators between so that there is a common I²C communications between the three, with the center control system the master. The front and back motor/controller pairs (with the steering) are effectively identical. The central system won't have the steering, so that's where we'll mount the controller (likely a Raspberry Pi) and the rest of the sensors.



Motor Options#

I've found three potential suppliers of motors. It's unclear exactly at this point what my unloaded speed (RPM) and torque (oz-in or kg-cm) should be to support the robot at a reasonable target velocity. The NASA Mars rovers move very slowly, for reasons due to the communication distance to and from Mars, caution (no repairs possible), etc. I'd like the new robot to have roughly the same top speed as the KR01, so I'm basing the new spec on that of the 9V OSEPP 25mm DC motors, about 60m in length, with 8500RPM motors geared down 45:1 to 189RPM. I can't find a torque rating but we'll assume that a motor in that ballpark or maybe a bit stronger would be okay. I'll have to do some tests on the KR01 to actually measure its top speed.

ServoCity sells an off-road style robot kit called The Warden which uses the 4.3 inch off-road tires and is roughly the same size as the planned rover, and it's using four of the 195RPM Precision Planetary Gearmotors that I've ordered, so hopefully this is an indication that my choice isn't too far off.

So the options I've found so far are, noting that the actual motor choice remains to be determined:

Notes
The motors should be either 9V or 12V as I'll likely be running off a 12V battery. They'll need built-in encoders. Only the ServoCity motors have ball bearings on the output shafts, the rest are (likely) bronze bushings. The OSEPP is included for reference only, as the encoders require a specialised mount that will be impossible in this robot and are only sold as a kit with a wheel and tire. Published torque ratings are suspect in some cases, posted as published. ServoCity specs are more precise than represented here (e.g., gear ratio and encoder CPR are to three decimal places).
Description Length Shaft Voltage RPM Gear Ratio Stall Current Stall Torque Encoder CPR Price (US$) Notes
OSEPP DC Motor-25 Wheel Kit 59mm 4mm 9V 185 45:1 1.5Kgf.cm 494 $19.99 problematic encoder mount; comes with wheel and tire
47:1 Metal Gearmotor 25Dx67L mm HP 12V with 48 CPR Encoder 66.5mm 4mm 12V 210 45:1 5.6A 12 kg-cm 2248 $36.95 25mm diameter, bronze bushing output shaft
ServoCity 195 RPM Premium Planetary Gear Motor w/Encoder 64.8mm 4mm 12V 195 61.6:1 4.9A 6.8kgf-cm 740 $31.99 22mm diameter, ball-bearing output shaft
ServoCity 5202 Series Yellow Jacket Planetary Gear Motor 132.8mm 6mm 12V 117 50.9:1 9.2A 250kg-cm 356 $31.99 ball-bearing output shaft
ServoCity 165 RPM HD Premium Planetary Gear Motor w/Encoder 106.8mm 6mm 12V 165 51:1 20A 49kgf-cm 2443 $47.99 32mm diameter motor, likely larger than necessary

Progress So Far...#

I've analysed the various options but am not convinced of a suitable set of components, so I've ordered the parts for 1/6th of the drive system: i.e., one motor, several wheel/tire options, a ServoBlock (a steering servo with mounting brackets), a bearing assembly for a rocker arm, and an assortment of possible structural hardware to put it all together. The shipping charge for the order was US$120. Ouch. I'll probably blog about things when the parts come in and I've had some time to play.

ServoBlock (click to enlarge)

One of the wheel options purchased from ServoCity is a Round Baseplate, a 0.125" (3.175mm) thick aluminum disk with holes drilled in it in a pattern that allows it to be mounted directly to a motor shaft. At 3mm thick, it's likely strong enough to form the end plate of a Mars rover-style wheel. The cylinder could be made from a durable plastic, aluminum or stainless steel tube, with an outer later of rubber or even OSEPP tank treads (see below). How the cylinder would be attached to the base plate remains to be seen, but this is part of the experiment.

I've got a lot of extra OSEPP tank treads since I didn't use any of them in my KR01 robot, which was based on an OSEPP Tank Robot kit. And because a number of the tread pieces had torn or weren't molded correctly, OSEPP had sent me an extra set of treads. As you can see in the photo, the silicon tires fit onto the red aluminum wheels, but it's also possible to wrap the wheel in the treads pieces since the wheels were (when part of the Tank kit) meant to hold the tank treads. I got lucky that the number of tread pieces just fits onto the wheel.

A "Tank Wheel" (click to enlarge)

Similarly, if I can find a suitable piece of possibly 4" tube it might be possible to wrap three rows of treads around it, with each tread being 30mm wide this would give me a 90mm wide wheel with a diameter of around 120mm. That's enough to tuck my motors inside the wheels, as in the Mars rovers. If I ended up with wheels that large I might consider using a higher gear ratio, slower motor. Five inch wheels is bigger than I'd imagined. There's clearly some experimenting to do if I decide not to use a commercial (e.g., robot or off-road hobby car) wheel.

Rocker-Bogie vs. Triple-Rocker Design#

The ExoMars (and ExoMy) robot uses a simpler "Triple-Rocker" design.

Someone-Else's Specifications#

I'm going to (initially) steal the specs from the JPL Open Source Rover Project, as a point of reference. Their robot is a bit larger than I'm planning and has an estimated cost of around US$2500, and that's certainly at the upper limit of my budget. But it's a start.

AttributeValue [imperial]Value [SI]
Weight28 [lbs]12.7 [kg]
Footprint24x14 [in]60.96x30.48 [cm]
Battery Capacity5200 [mAh]5200 [mAh]
Battery Discharge Rate8 [A]8 [A]
Nominal Current Draw1.2 [A]1.2 [A]
Operating time5 [hrs] (continual use)5 [hrs] (continual use)
Approximate Max speed68.8 [in/s]1.75 [m/s]
Maximum 90 deg vertical scale12 [in]30.48 [cm]
Maximum height differential between sides14 [in]35.56 [cm]
Communication (in this guide)Bluetooth app (Android only) and Xbox Controller 
Cost (*)$2,500 

Initial Specifications#

Qty Item Unit Price (NZ) Price (NZ) Vendor Reference
3 ThunderBorg motor controller $73.00 $219.00 PiBorg https://www.piborg.org/motor-control-1135/thunderborg
6 wheels $30.00 $180.00 misc
6 47:1 Metal Gearmotor 25Dx67L mm HP 12V with 48 CPR Encoder $53.00 $318.00 Pololu https://www.pololu.com/product/4845
4 steering assembly: ServoBlock, servo mounts (est.) $42.72 $170.88 ServoCity https://www.servocity.com/standard-hub-shaft-servoblock-25t-spline/
4 2000 Series Dual Mode Servo (25-2) $47.00 $188.00 ServoCity https://www.servocity.com/2000-series-dual-mode-servo-25-2/
3 rocker assembly (est.) $50.00 $150.00 ServoCity/misc
1 Adafruit 16-Channel PWM / Servo Bonnet for Raspberry Pi $14.19 $14.19 Adafruit https://www.adafruit.com/product/3416
3 Makita Battery Li-Ion CXT 12v 4.0Ah $136.56 $409.68 Toolshed Petone https://www.thetoolshed.co.nz/product/8478-makita-battery-li-ion-cxt-12v-4-0ah
2 12V max CXT® Power Source w/ USB port (YL00000003) $95.00 $190.00 Toolshed Petone https://www.makitatools.com/products/details/YL00000003
1 Raspberry Pi 3 - Model B - ARMv8 with 1G RAM $35.00 $35.00 Adafruit https://www.adafruit.com/product/3055
5 Pololu Carrier with Sharp GP2Y0A60SZLF Analog Distance Sensor 10-150cm – 3V $18.47 $92.35 Pololu https://www.pololu.com/product/2474
2 Adafruit ISO1540 Bidirectional I2C Isolator - STEMMA QT / Qwiic $12.76 $25.52 Adafruit https://www.adafruit.com/product/4903
1 chassis (est.) $50.00 $50.00 misc
Total (not including shipping) $2,042.62

Rover Examples#

Mars Rover by Jakob Krantz

For not only a Mars Rover but other designs, a bit old (circa 2013) but interesting, see the Actobot Blog from Beatty Robotics. Their gallery alone is worth the visit.


Tags:  Mars Rover