Background
I wanted to find out if a gripper could sense force through its own motor, using an N20 I already had and about $40 of parts. The idea comes from the actuator in MIT's Mini Cheetah, which is a quasi-direct-drive design: instead of a big gearbox it uses a small reduction, so the motor can feel what the output is doing. This is my small, cheap version. A bare N20 turns a printed 6:1 planetary gearbox, and I put a parallel gripper on the output to see if it can feel a grape with no sensor in the fingers.
How it works
A normal gear motor has a 50 to 300:1 reduction. A quasi-direct-drive actuator uses something like 6:1 to 10:1, which keeps the gearbox easy to push backwards, so the grape's reaction travels back to the motor and shows up as current. Motor torque is proportional to current, so measuring current gives me torque. The ratio has to stay low because friction scales with it and the rotor's felt inertia scales with its square: 36× at 6:1 against 10,000× at 100:1. About 82% of a push on the output gets back to the motor.
To grip, the ESP32 closes slowly and records the current with nothing touching. A rise above that baseline means contact, and it then holds at about 107 mA, or 0.12 N per jaw, just over the 0.11 N a 7 g grape needs. Fair warning: the motor values (12 V, about 16,000 rpm bare, about 30 Ω) are estimates from the listing until I measure them, so everything here is a prediction.
| Requirement | Target | Predicted |
|---|---|---|
| Jaw opening | 30 mm or more (grape is 19 to 22 mm) | 12 to 40 mm |
| Hold a 7 g grape | 2× grip margin or more | 4.9× |
| Can't crush it | Force capped by motor stall | 0.57 N per jaw or less |
| Sense contact | 0.1 N per jaw or less | About 0.05 N |
| Backdrivable | Push open by hand | About 0.06 N |
| Holding power | 0.5 W or less | 0.34 W |
| Parts cost | Under $60 | About $40 |
Why 6:1
I compared three ratios for the same N20, and 6:1 is the only one that can both hold the grape and feel it. At 1:1 the motor tops out at 0.11 N, which is no margin. At 100:1 it could crush the grape and the smallest contact it could feel would be over 0.8 N.
| 1:1 | 6:1 (this design) | 100:1, 60% efficient | |
|---|---|---|---|
| Max jaw force | 0.11 N, no margin | 0.57 N | About 6.7 N, crushes it |
| Rotor inertia felt | 1× | 36× | 10,000× |
| Smallest contact it can feel | About 0.01 N | About 0.05 N | Over 0.8 N |
| Backdrivable | Yes | Yes | Barely |
Designing the gearbox and gripper
For the planetary gearbox, 12, 24 and 60 teeth at module 0.6 give exactly 6:1 (1 + 60/12) and fit three planets 120° apart, since 60 = 12 + 2 × 24. The centre distance is 10.8 mm, the planets have a 3.1 mm gap, the contact ratios are 1.51 and 1.97, and I allowed 0.15 mm of backlash. The sun tooth force is only about 0.27 N (2.86 mN·m shared by three planets at a 3.6 mm radius), which is around 0.3 MPa with a 6 mm face width and Y = 0.245, so PLA's 40 to 50 MPa makes strength a non-issue. Accuracy and wear are the worry, which is why the gears print at 0.12 mm and get greased. The ring is printed straight into the housing so the ring and bearing bores line up with no extra part.
For the gripper I used a rack and pinion instead of a lead screw, because it keeps the jaws parallel and a lead screw would lock instead of backdriving. With a torque constant of about 0.0072 V·s/rad (12 V over a 1676 rad/s no-load speed), the output torque is 6 × 0.85 × (2.86 − 0.2) mN·m, about 13.6 mN·m, which over two racks at a 12 mm pinion radius is about 0.57 N per jaw. A 7 g grape needs about 0.11 N per jaw, so that's a 4.9× margin. One pinion turn moves the racks 75.4 mm, so the 14 mm stroke is 67° of pinion rotation (and the pinion tooth stress is about 0.56 MPa), and the jaws would move at 3.4 m/s with no load, so the firmware limits them to 20 mm/s. I don't know a grape's burst force yet, so measuring it is one of the first tests.
Sensing comes down to one number: about 1.52 mN of jaw force per mA of motor current. Brush and gear friction set a deadband of about 0.05 N, while the INA219 resolves 0.1 mA (0.15 mN at the jaw), about 300 times finer than I need, so friction is the limit and not the sensor. Holding the grape takes about 107 mA (0.34 W), a stall would draw 4.8 W so the firmware cuts it after a second or two, and the TB6612 driver is rated for 1.2 A against 0.4 A stall. I chose current sensing over a load cell so there are no wires running to the fingertips, and a bare N20 on a bracket with 10 mm of slide because I already had the motor and a brushless one can go in later. Known limits are brush friction, wear on the printed module-0.6 teeth, and those estimated motor values. Once it's built I'll measure R, K and friction and rerun these numbers.
Checking it in CAD
Each part is its own parametric file with real involute teeth, placed with joints, and the pinion is tied to both racks with a motion link so turning it closes the jaws in CAD like it will on the bench. I also built a MATLAB model of the motor, gear mesh, backlash and current loop to check the ratio and torque response. The interference checks caught three problems before I printed anything, which is the whole point of running them: the lid bosses clipped the ESP32 by 0.5 mm (moved 1 mm into the corners), the finger screw heads overlapped (spacing from 5 to 7 mm), and the planet carrier hit the motor shaft and sun (a 10 mm relief pocket). The gear mesh had no collisions at four rotation angles.
The print plan
Everything fits on two plates of the A1. The structure prints at 0.2 mm layers (4 walls, 25% gyroid, about 9 to 10 hours) and the gears at 0.12 mm (5 walls, 40% infill, about 4 to 5 hours), because a module-0.6 tooth is only about 1.3 mm tall. The fingers lie on their side so the layers run the way they bend, and the racks lie flat so the teeth print in plan. I'll print a tolerance test for the bearing bores first.
Conclusion
It's designed, modelled and ready to print, but nothing is built yet, so this is a plan more than a result. Next I'll print and assemble it and measure the motor, then write the current-control firmware on the ESP32, and finally run grip tests on real grapes.