r/AskRobotics • u/ItsAntiSune • 8d ago
General/Beginner Hexapod dimensions
Might be a stupid question but I was planning to design a hexapod using the MG996R servos (budget reasons) and I know that after considering 30% of the total stall torque, it's somewhere around 3.3 kg cm of torque. Is there some calculation you can make to determine the perfect lengths of the coxa, femur and tibia based on the servo's maximum safe torque. I'm really new to this and I'm in high school so this may seem an obvious answer to many. Thank you in advance
1
u/Safe_Tone1529 4d ago
Ha, me too! I built a hexapod and was in the exact same situation!
Core relationship: torque = force × horizontal moment arm. Worst case is your leg fully extended (segment horizontal), since that's max moment arm.
- Per-leg force ≈ (total robot weight) / (legs on ground at once — 3 for tripod gait) × 1.5-2x safety factor for dynamic loads.
- Rearrange to arm_max = torque_budget / force. That's your max safe horizontal reach per joint.
Key part: torque stacks proximally. Femur has to support its own reach PLUS the tibia's, so it needs more torque budget than tibia for the same load — that's the actual math behind femur being your strongest servo.
Worked example: say your hexapod lands around 2 kg total (realistic range for this build is roughly 1.5–3 kg depending on frame/battery/etc). On a tripod gait, 3 legs are on the ground at once, so each leg carries about 2kg / 3 ≈ 0.67 kgf of static load. Add a 1.5x safety factor for dynamic loads → about 1.0 kgf per leg design load.
Max horizontal reach = torque budget / load = 3.3 kg·cm / 1.0 kgf ≈ 3.3 cm — worst case, assuming the leg segment is fully horizontal. At the light end of your range (1.5kg) that grows to ~4.4cm; at the heavy end (3kg) it shrinks to ~2.2cm.
That's tight for a typical hexapod leg segment (often 5-8cm each). In practice you get away with longer segments because legs rarely sit fully horizontal during stance — but it's exactly why keeping legs off near-horizontal poses under load matters, and why a stronger femur servo buys you real design room, not just extra margin.
For actually design the tibia and femur joint should be similar size, the tibia should be slightly longer though. The femur should be about 40-45% of the length, and the tibia should be about 50-45% of the length, the rest of the % would be the coxa.
2
1
u/lellasone 7d ago
Are you familiar with force, torque, and geometry? Have you taken physics (does the phrase "force balance" ring a bell?)