Introduction and Project Background
Persian carpet flatworms (Pseudobiceros bedfordi), also described as a “magic carpet,” evolved to swim by undulating the ruffled margins of their thin bodies. They also typically crawl on the seafloor using such undulating motion. When tasked with creating a mechanically-driven amphibious vehicle, the team decided to take on this bio-inspired approach.
We are simplifying the traditional undulating fin robot design by utilizing a central camshaft instead of a large number of servos. Below are two examples of previous undulating fin robots that utilize more robust motor control rather than pure mechanical power transmission.
We follow a similar structure to the figure shown below, where we chose to utilize a common CAM shaft that drives each part of the fin.
Requirements and Specifications
Qualitative
-
Moves in water and on land
- This is the main purpose of our project
- The fins allow for both thrust in water and rolling friction on land
-
Waterproof
- Electronics need a dry environment
-
Floats
- We want a surface-operating robot that doesn't need to adjust buoyancy
- Looks swag and fishy
Quantitative
-
Tip of fins move 2 inches peak to peak
- Realistic distance we need the fin to move to generate enough thrust in water and enough distance to reach over obstacles on land
- The original goal was 4 inches, but we had to pivot due to geometric constraints. The fin rod pivot point must be at the hull/water interface and the hull must be a certain width for stability in the water.
- CAM follower moves 1 inch peak to peak
-
Camshaft rotates at 60rpm
- Creates a realistic and effective undulating frequency for water and land
Design Features of Main Subsystems
Significant Design Decisions
-
Cam shaft
- We opted for a camshaft to create a simplified version of the more common servo-based undulating fin robot. Using a servo for each fin rod adds control complexity and unnecessary tuning for a mechanical design project. A single central camshaft leads to a more mechanically robust and simple robot.
-
Cam geometry
- An eccentric circle CAM geometry was chosen to create the sinusoidal motion for the fins.
-
Fin rod pivot geometry
- We designed a slotted hole for the pivot at the hull/water interface that restricts the vertical and horizontal translation of the fin rods while allowing them to pitch back and forth. As shown in the actual physical system, additional waterproofing measures were taken on top of what is shown in the SolidWorks model.
-
Follower to fin rod connection
- A halved pivot joint was machined to connect the fin rods to the followers.
-
ESP for WiFi control
- A simple ESP32 microcontroller was implemented so that the vehicle can move autonomously over WiFi, taking out the need for long wires to be attached to a separate microprocessor. As shown below, we use an L298N motor driver to drive the 24 VDC gear motor. An LM2596 DC-DC buck converter steps down a 22.2 V 6S LiPo (3300 mAh) battery to a safe input voltage for the ESP32, preventing the on-board regulator from overheating.
- Implemented as a WiFi Access Point (AP), two modes of motor control are available. First, we can directly set the duty cycle to change the motor speed in classic open-loop PWM fashion. We also calibrated and tuned a closed-loop PID controller on encoder feedback, so the camshaft holds its target RPM despite battery sag and varying mechanical load conditions.
-
Fin rod pivot point location
- Due to size constraints the maximum amplitude of the follower motion was highly limited. To achieve our quantitative specification of 2 inches of fin rod tip motion, the pivot point of the fin rod was strategically placed to create mechanical leverage.
Evaluation of Design
Analysis
CAM MATLAB
An eccentric cam was chosen as the cam shape to produce a sinusoidal follower motion. The total amplitude of the follower is given by two times the shaft hole offset. The sinusoidal motion of the followers is translated directly to the motion of the fin rods which can be seen in the sinusoidal fin motion. The cams are press fit onto a ⅜″ D-shaft to restrict both axial motion and rotational motion.
Fastener
In order to demonstrate the feasibility of our fastener choice, we calculate the failure mode for the bolts.
CAM Torque analysis with motor
Finneas’ drive shaft carries 8 eccentric circular CAMs that lift 8 spring-loaded followers. To verify our design before production, we had to verify two things:
- Kinematics: the follower travels the distance at the speed and acceleration that is expected.
- Drive torque: the motor at 60 RPM can supply the average and peak torque needed to spin all 8 of the CAMs against the spring force and friction.
Free Body Diagram
Inputs
| Symbol | Value |
|---|---|
| $R$ | 1.25 in |
| $e$ | 0.40 in |
| $s = 2e$ | 0.80 in |
| $n$ | 60 RPM |
| $\omega = 2\pi n/60$ | 6.28 rad/s |
| $N_\text{cam}$ | 8 |
| $\Delta\phi$ | 90° |
| $m$ | 0.084 lbm (38 g) |
| $k$ | 2.8 lbf/in (0.49 N/mm) |
| $x_0$ | 0.10 in |
| $\mu$ | 0.25 |
| $g$ | 386.09 in/s² |
Sign convention. $x$ is the follower’s lift, measured downward from the base-circle (minimum-lift) position. The cam sits above the follower and pushes it down; the spring sits below and pushes it back up. Gravity acts in $+x$ (downward).
Kinematics
For an eccentric circular cam with an in-line follower (and $e \ll R$ so the contact stays close to the follower’s centerline), the lift is the standard simple-harmonic profile:
Peak values:
Pressure angle (angle between the cam-surface normal at the contact point and the follower’s direction of motion):
This is largest at $\theta = 90^{\circ}$:
Standard rule of thumb: keep $\phi \le 30^{\circ}$ for translating roller / knife-edge followers. 18.7° is well within bounds — no risk of jamming or excessive side-load on the follower guide.
Force analysis
Newton’s second law on the follower, along the line of motion ($+x$ downward):
Solving for the cam normal force projected onto the motion line:
Maximum and minimum normal force
$N\cos\phi$ peaks at $\theta = 180^{\circ}$ (max lift, max spring compression, $\cos\phi = 1$):
The minimum occurs at $\theta = 0$ (base circle, $x = 0$, $\cos\phi = 1$):
$N_{\max}$ is the design load for the cam-follower contact stress (Hertzian contact, sized separately) and the bolt-shear analysis on the halved pivot joint.
Drive torque
For each cam, instantaneous shaft torque from the contact force comes from instantaneous power balance, $T\omega = (N\cos\phi)\,\dot{x}$:
Plus a Coulomb friction term at the cam–follower contact (always opposing shaft rotation), with moment arm equal to the contact-point radius $R - e\cos\theta$:
Per-cam contributions
The first term is conservative: the spring stores energy on the down-stroke and returns it on the up-stroke. Its average over one revolution is zero. Its peak is:
The friction term is dissipative (always positive). Using the mean normal force from the swing between minimum and maximum:
8-cam total
With 90° phasing between adjacent cams (4 distinct phases × 2 cams each), the first and second harmonics of the conservative torque cancel when summed across the 4 phase positions. The net shaft torque is dominated by friction:
with only small higher-harmonic ripple on top.
Drive power
Motor sizing. A 24 V geared DC motor delivering ≥ 5 lbf·in (0.6 N·m) of continuous torque at the output shaft (after gear reduction to 60 RPM) leaves comfortable margin for startup inertia, breakaway friction, and conservative-torque ripple. The IG32-1:27 motor at 20 V already covers this with ample margin.
Future Work
- Two camshafts to allow for steering
- More machined components to allow for higher torque
- Sensors for more robust control and various tasks
- Fin rod adaptations or additional tilt motors that allow it to work at different angles (such as pointing straight down for land movement or optimizing movement based on environment)
- Non-PLA hull for better waterproofing
- Fully enclosed hull to allow diving
Conclusions
Finneas the Undulator met the desired requirements and specifications. Finneas moves in water and on land, is waterproof, floats, and looks swag and fishy. Not only this, but the tips of the fins move ~2 inches peak to peak with a corresponding CAM follower movement of ~1 inch peak to peak. The camshaft rotates at differing speeds based on a quickly configurable, web-browser PWM controller, also allowing it to reverse and move backwards. A closed-loop PID controller was also implemented to maintain the desired RPM. The team achieved their learning goals, especially gaining valuable experience maintaining CAD models, using an unconventional locomotion mechanism, manufacturing different components in modular, reasonable ways, waterproofing, and performing detailed analysis to verify outputs.
Thank you for visiting our website! Have a great rest of your day :)
Team