Leg drive: 6:1 hip from the chassis, 9:1 knee carried on the thigh

Hip motor in the chassis. Knee motor rides on the thigh and swings with it, which removes the hip–knee coupling entirely and costs almost nothing in swing inertia.

chassis 14T hip motor 84T 133.7mm 6:1 hip joint 14T knee motor on the thigh 42T + 16T same shaft 3:1 3:1 48T 76.4mm knee joint thigh 230mm shank 230mm wheel 250mm hip 10.8 Nm peak knee 15.7 Nm peak
Drawn to scale at 1 mm = 1 px. The knee drive — motor, 42T/16T intermediate shaft and both belts — is entirely carried on the thigh, so the whole assembly swings as one rigid unit with the leg.

Why mounting it on the thigh is the right call

Motor in the chassis hip axis thigh swings → knee rotates θ_knee = (θ_motor − θ_hip) / 3 Motor on the thigh hip axis all of it swings together θ_knee = θ_motor / 9
The coupling on the left is not a tuning problem, it is geometry: the belt is anchored to a shaft that does not move with the leg. Carrying the motor on the thigh removes it outright.

What it costs in swing inertia

PartMassRadius from hipShare of leg inertia
Wheel + wheel motor550 g460 mm78%
Shank structure + tube187 g345 mm15%
Knee pulley 48T120 g230 mm4%
Thigh tube + structure237 g115 mm2%
Knee motor on the thigh430 g45–95 mm0.6%

Moving the knee motor onto the thigh raises swing inertia by 0.6%. Inertia goes as radius squared, and the wheel sits at 460 mm while the motor sits at under 100 mm. The wheel alone is 78% of the total. The usual reason to chassis-mount a leg motor simply does not apply here, so you get the simpler kinematics for free.

Numbers

DriveStagesRatioPulley Peak torqueBelt tensionBelt
Hip14T → 84T6:1 133.7 mm10.8 Nm166 N9 mm
Knee stage 114T → 42T3:1 66.9 mm5.6 Nm166 N9 mm
Knee stage 216T → 48T3:1 76.4 mm15.7 Nm436 N15 mm

Watch the clash at the hip. The 84T hip pulley is 133.7 mm across, so anything bolted to the thigh within 67 mm of the hip axis fouls it. Either put the knee motor outboard of that, as drawn, or run it in a different plane alongside the hip pulley.

Stage 2 carries three times the motor torque — 436 N against 166 N in stage 1. Use 15 mm there; stage 1 can be 9 mm. Both GT3 5M, 5 mm pitch. Tension both belts with a slotted mount or an idler: an under-tensioned belt skips teeth at peak torque, which on a balancing machine means losing the joint exactly when it is catching itself.