Questions and Answers about Combat Robotics
from Team Run Amok

Privacy Policy
The Snail Cam Files
Pneumatic flipper weapons are awesome but their complexity can be daunting, particularly in smaller combat robots. Flippers powered by mechanical energy stored in springs or elastic bands with electric gearmotors to trigger and reset spring flippers offer an attractive alternative. Several designs are outlined in Ask Aaron: Spring Flipper Designs. I've edited together posts from our Ask Aaron: Combat Robot Questions and Answers page into a reference for snail cam design and construction.

Overview


The deceptively simple 'Snail Cam' mechanism has seen limited use in robot combat to date, and rarely outside the insect weight classes.

Advantages A properly designed snail cam will keep the torque load on the gearmotor constant thruout the reset cycle, resulting in a quicker reset time with less motor effort. The 'ready' point is a stable flat or detent on the cam that requires no motor torque to hold in place. The snail cam itself can be crafted from plastic using standard shop tools.

Disadvantages Sliding friction between the cam and cam follower can be considerable. Crafting the cam from a low-friction plastic like UHMW polyethylene will keep this manageable, and a needle bearing cam follower can completely eliminate the problem.

Resources Dale Hetherington's detailed build log for antweight 'Dead Air' fills in a lot of detail on design and constuction.

Videos


This spring flipper mechanism from 'M & J Robotics' is a trial-and-error design. The builder says, "The cam shape is just something we adjusted till it worked."

You can hear the motor bog down under torque peaks as it winds the spring. It works, but it wastes a lot of the power and speed available from the motor.

Video


'Jännä' is a 450 gram antweight robot by European YouTuber 'mikromekaanikko'.

The snail cam is well designed and operates at close to optimum performance. This compact and efficient mechanism wouild be a good starting point for your own flipper.

Video

Cam Profile


The load encountered when extending or compressing a spring increases linearly with distance. If it takes 10 pounds of force to compress a spring the first inch, the second inch will take 20 pounds, the third inch 30 pounds and so on: see Hooke's law.

Using a simple Archimedean spiral cam profile will place a constantly increasing load on the motor powering the cam and cause it to slow as the cam reaches the final stages of spring loading. Gearing the cam motor to meet the high torque needed at the end of the load cycle slows the early part of the cam rotation, resulting in a slower than optimal reset time.

The ideal profile for the 'snail cam' is a parabolic spiral that reduces the lift rate to match the increasing load imposed by the spring as it is extended. This profile keeps the motor speed constant for the entire cycle, resulting in improved cycle time and less strain on the cam motor.

A mathematically perfect parabolic spiral is unfortunately poorly suited for use as a mechanical cam: the vertical drop immediately followed by a precipitous rise is neigh impossible for a mechanical cam follower to negotiate. The exact modifications to the profile will depend on the design of your mechanism. 'Jännä' has a lever-style follower and its cam is modified with a broad flat region pointing toward the lever hinge to provide a suitable landing for the follower and a rapid initial lift.

It's important to get the shape of the parabolic spiral correct to even out the torque load on the motor. The spring becomes harder to compress as it compresses farther, so the cam has to provide a lot of compression at the start of rotation (50% the total is in the first 25% of rotation) and taper to less compression as the load increases (the last 12.5% takes the final 25% of rotation).

The formula for the parabolic spiral in polar coordinates is: Radius = k · θ 0.5 + minimum cam radius where 'θ' is angular rotation and 'k' is a growth variable that defines the lift of the cam; a 'k' of 0.0527 will give one unit of lift over 360 degrees of rotation. Here's an example for a small snail cam with a 5mm minimum radius and 15mm total lift:

0 degrees rotation
(15 * 0.0527) * 0 0.5 + 5 = (0.79 * 0.0) + 5 = 5.0mm

90 degrees rotation
(15 * 0.0527) * 90 0.5 + 5 = (0.79 * 9.5) + 5 = 12.5mm

180 degrees rotation
(15 * 0.0527) * 180 0.5 + 5 = (0.79 * 13.4) + 5 = 15.6mm

270 degrees rotation
(15 * 0.0527) * 270 0.5 + 5 = (0.79 * 16.4) + 5 = 18.0mm

360 degrees rotation
(15 * 0.0527) * 360 0.5 + 5 = (0.79 * 18.9) + 5 = 20.0mm

I've created a 'Google Sheets' spreadsheet that will calculate and draw a snail cam profile similar to the pics below. The link requires you to sign-in to your Google account, then offers you a copy of the sheet: Snail Cam Sheet

Spring Force Requirement


How much spring force is required for an effective spring flipper? There are too many variables (force, stroke, geometry, angle, performance expectations...) to give a simple calculated result to that question. Further, the dynamics of a spring flipper are too different from the dynamics of a pneumatic flipper for the two systems to be directly compared. I suggest mocking up the weapon geometry in your workshop and experimenting with differing spring rates on a proxy opponent to find a satisfactory result.

Note If the spring 'pre-loads' the snail cam with some force at the minimum lift starting position, the parabolic spiral formula must change in order to keep the torque load on the cam motor constant. The Snail Cam Sheet will make the appropriate change based on the figures you supply for spring force on the cam at the start and end of the lift.

Torque Requirement


Now that we have a cam design that keeps the torque load on the gearmotor driving the cam close to constant and have selected a suitable spring, how do we calculate the torque requirement of the gearmotor? We can derive the required torque from the rotational work formula:

Work = Torque * Angle Thru Which the Axle Rotates [in radians]

In our case the work is the extension of the spring, which takes place over the course of one revolution of the axle. The spring extension force is a linear function (Hooke's law), so we can calculate the average force required to extend the spring as follows:

Average Spring Force = (Spring Force at Start + Spring Force at End) / 2

That plugs into the basic linear work equation [Work = Force * Distance] like this:

Work = Average Spring Force * Distance Extended

Getting close now. One full rotation is 2𝜋 radians, so with a little algebra the rotational work formula transposes to our needed torque equation:

Torque = Average Spring Force * Distance Extended / 2𝜋

Example If you're extending a spring with a rate (at the cam) of 200 ounces per inch from its rest state (zero force) to one inch of extension (at the cam) with an optimized parabolic snail cam over one full rotation, the torque must exceed:

Torque = (0 oz + 200 oz) / 2 * 1 inch / 2𝜋 = 100 oz-in / 6.283 = 15.9 oz-in

There are some losses due to angular inefficiencies and rubbing friction with the cam, and you will want the motor to deliver the required torque with enough speed to extend the spring quickly. I'd suggest a gearmotor with a stall torque about three times the formula result to avoid bogging and let the motor operate up near its power output peak.

If you don't care to do the math to calculate the torque requirement for your snail cam motor, the same 'Google Sheets' spreadsheet mentioned in the 'Cam Profile' section above does that calculation for you. Here's the link again: Snail Cam Sheet

Motor Control


To perform as a useful weapon the snail cam flipper motor should - at the press of a transmitter button or momentary switch - move the cam forward to fire the flipper and continue motion to reset the flipper. When reset is complete the flipper motor should then stop without operator intervention, ready for another flip command. How exactly do you make that happen?

When you turn off the windshield wipers on an automobile have you noticed how they continue for the rest of the wipe stroke and then stop in the park position? That's what you're looking for and here's how you do it:

  • The circuit shown at right allows the gearmotor to run until the flipper arm (not shown) reaches the fully loaded position and presses down to open the 'interrupter' micro switch -- stopping the gearmotor.
  • A momentary closure of the normally open R/C switch re-starts the gearmotor long enough to fire the flipper, which closes the interrupter switch.
  • The gearmotor then continues to run thru the rest of the reload cycle to an automatic stop.
The positioning of the micro switch is simplified if you use a lever-style switch that can be bent to fine-tune the switch point. The micro and R/C switches must have enough current capacity to handle the gearmotor, and the micro switch must be wired 'normally closed' (NC). For larger robots the micro switch can trigger a relay with the capacity to handle the motor load.

Note A micro switch is simple, but you can certainly use other sensor types: infrared emitter/detector, inductive proximity, magnetic... whatever you're comfortable using.



To see the most recent questions or to ask a new question, go to the

Run Amok Combat Robotics homepage
Copyright 2019 by Mark Joerger -- all rights reserved.