by Drew Owens
Open-source 15-DoF XL330 biped goose robot with Spine molecule PCB, 3D-printed chassis, and Isaac Lab to MuJoCo sim-to-real RL stack
027d399
Microgoose
Download the films and engineering package directly: microgoose-walk-sim2sim.mp4 (WebVTT captions), microgoose-spine-build.mp4 (120 s narrated PCB build film), and Microgoose-Datasheet.pdf (8-page vector datasheet).
Microgoose (drew2/microgoose) is an open-source 15-DoF bipedal desktop robot inspired by Pollen Robotics and Hugging Face's Microduck, re-engineered as a mischievous domestic goose (284.0 mm standing height, 550.2 g total mass) with an S-curved neck, broad webbed feet, and an independent 15th-DoF honking beak. Both the microgoose-spine Molecule controller PCB and the 23-part 3D-printed mechanical assembly were built and cross-verified end-to-end with adom-aiflow, then taken through the complete 7-stage NVIDIA GTC Berlin sim-to-real locomotion pipeline from BAM actuator identification and CUDA PPO training to a self-contained 50 Hz policy.onnx walking controller.
Project Build and Validation Timeline
End-to-End Chronology & Compute Ledger (timeline/README.md): Every timestamped milestone (
CST, UTC-6),gemini-4-carbonmulti-agent session (1,066Phase 1 calls),NVIDIA GeForce RTX 4090 Laptop GPUtraining run (3.04Mcumulative steps in13m 55sGPU wall-clock,0.23192GPU-hours[measured]), 25-stage AI Flow gate (7h 02mactive EDA/solver time[measured]), and Phase 2 dual-engine validation sprint is documented in the Project Build and Validation Timeline (raw JSON audit).
Assembled 15-DoF Microgoose biped (284.0 mm tall, 550.2 g) showing the PETG-CF leg frames, white PLA torso shell, orange webbed feet, and articulated honking beak.
System Highlights
| Subsystem | Key Specification | Verified Result |
|---|---|---|
| Robot Geometry & Mass | 15x Dynamixel XL330-M288-T (5 per leg, 4 neck/head, 1 beak) |
284.0 mm height, 557.5 g CAD mass, 0 OCCT solid collisions across 802 PCB solids + 2,145 pairs |
Spine Molecule PCB (rev A) |
70.0 x 70.0 mm, 2-layer 1.6 mm FR-4, 1 oz Cu, top-side SMT (3rdPartyFab / fab rules) |
0 ERC, 0 DRC, 0 unconnected (1,029 tracks, 172 vias, 88.7% B.Cu / 79.0% F.Cu) |
| Power & Telemetry Stage | 2S NP-F550 (6.0 V to 8.4 V) -> LMR33640DDDAR 5.0 V 4 A buck + AP2114H-3.3 + INA226 (0.30 mOhm shunt) |
58.6 deg phase margin, 10.5 mVpp ripple, +41.6 degC still-air / +32.3 degC moving-air peak rise |
| Real-Time Spine + Host Runtime | STM32G431CBT6 (170 MHz, 200 Hz 1 Mbps Sync Read/Write + BMI270 IMU) + Radxa Zero 3W goosectl (50 Hz) |
344/344 C11 checks pass; PTY HIL loop 19.993 ms mean period, 0.160 ms ONNX inference |
| 3D Print Manufacturing | 23 parts across 3 Bambu Lab H2D plates (PETG-CF, PLA Matte White, PLA Matte Orange) |
Headless bambu_slice: 416.5 g filament, 14h 35m total print time |
| 7-Stage Sim-to-Real RL Stack | BAM XL330 ID + RTX 4090 CUDA PPO (2.02M steps) -> [1, 61] to [1, 14] policy.onnx |
87.06 / 100 Policy Arena (32/32 survival), 1.55 m forward (1.80 m straight-line) 10 s walk with +0.18 m/s push recovery |
1. Electronics: microgoose-spine Molecule Controller (rev A)
The microgoose-spine board is a 70.0 x 70.0 mm (3.0 mm corner radius) 2-layer Adom Molecule (64.0 x 64.0 mm MachinePinLargeShort corner grid MP1..MP4 on GND, plus 10 MachineContactMedium edge pads MC1..MC10 for VBAT, 5V_BUS, 3V3, GND, and SWD). Every component is top-side SMT (>= 0603 passives, 0.30 mm / 0.60 mm vias, >= 0.25 mm signal traces, 0 internal cutouts, 8.4 mm max component height) adhering to the 3rdPartyFab (fab) 2-layer rule profile.
- High-Current 5.0 V Servo & Compute Buck (
U1): A Texas InstrumentsLMR33640DDDAR(400 kHzsynchronous buck,SOIC-8-EPwith9thermal vias stitched to bothGNDplanes) steps the removable2SNP-F550 battery (6.0 Vto8.4 V) down to5.0 V(4.0 Acontinuous rating) across a Wurth744393460474.7 uHshielded molded inductor (14.5 mOhmDCR) and4 x 22 uF0805output MLCCs. - Kelvin High-Side Power Monitor (
U3+R20): Every milliamp feeding the15XL330 actuators and the Radxa Zero 3W passes through a BournsCSS2H-2512R-L300F(0.30 mOhm,1%) shunt monitored by aTI INA226AIDGST(I2C10x40,1 mA/LSBcalibration0x42AB, hardware overcurrent alert onPB2). - Real-Time Spine MCU & Half-Duplex 1 Mbps DXL Bus (
U4,U6): AnSTM32G431CBT6(170 MHzCortex-M4F) runs a deterministic200 Hzcontrol loop, drivingUSART3(1 Mbps) through aSN74LVC1G126DBVRtri-state direction buffer (DXL_DIRonPB12) to three parallelJST-GH3-pin servo branches:J1(Left Leg IDs1..5),J2(Right Leg IDs6..10), andJ3(Neck/Head IDs11..14+ Beak ID15). - Inertial & Optical Sensing (
U5,J5): An onboard BoschBMI2706-axis torso IMU (0x68,INT1onPB1) sits near the board center, whileJ5carries3V3,GND,400 kHzI2C1, andHEAD_INT(PA8) up the neck to theVL53L5CX8x8multizone ToF ground rangefinder (0x29) and headBMI270(0x69).J4links5V_BUSand1-2 MbpsCOBS+CRC16USART2(PA2/PA3) to the upper-deck Radxa Zero 3W.
Finished microgoose-spine rev A 3D render (docs/3d/microgoose-spine.glb) showing MP1..MP4 corner pins, MC1..MC10 edge contacts, J1..J5 JST-GH headers, and grouped component value silkscreen.
KiCad 10 2-layer layout (board-9.kicad_pcb): 1,029 routed segments, 172 vias, 0 DRC errors, 0 unconnected nets, 78.96% top copper coverage, and 88.65% bottom ground/bridge copper coverage.
SPICE & 3D Electro-Thermal Verification
Prior to final export, the power and sense stages were verified in ngspice-42 (sim/simulation_results.json) and solved in 3D with adom-fields across DC current density, electro-thermal convection, PDN impedance, and hot-loop EMC.
Simulated LMR33640DDDAR loop stability (fc = 39.0 kHz, phase margin 58.6 deg), 0.45 A to 3.50 A gait load step (212 mV droop across 6.0 V, 7.4 V, and 8.4 V battery states), 400 kHz switch waveform, and 1.06 mV differential shunt sense.
3D adom-fields electro-thermal solve (1.115 W total dissipation): peak board rise stays at +41.6 degC in still air (h = 10 W/m^2K) and +32.3 degC in walking airflow (h = 25 W/m^2K), comfortably inside the 45.0 degC budget.
2. Mechanical CAD, Cable Routing & Bambu Print Plates
The parametric OCCT/CadQuery generator (mechanical/build_microgoose_cad.py) builds all 66 rigid solids around the exact microgoose-spine Molecule coordinates (Z = 148.8 mm torso spine bay):
- 3-Tier Serviceable Torso: Underslung quick-swap
NP-F5502Sbattery sled (Z = 132.5 mm) keeping the center of mass low between the hips, centralmicrogoose-spinePCB bay on64.0 x 64.0 mmMP1..MP4standoffs, and an upperRadxa Zero 3Wmezzanine (Z = 160.2 mm) under a removable dorsal hatch. - 15-DoF Kinematic Chain:
5-DoFlegs (hip_yaw,hip_roll,hip_pitch,knee_pitch,ankle_pitch) terminating in broad84 x 50 mmcurved webbed goose feet, plus a4-DoFcounter-balancing S-neck/head (neck_pitch,head_pitch,head_yaw,head_roll) and15th-DoFarticulated honking lower mandible (beak_pitch,dxlId = 15). - Zero-Collision & Serviceability Lints: Exact OCCT
BRepAlgoAPI_Commonchecking (mechanical/interference-report.json) confirms0solid overlaps across802real PCB STEP subsolids and2,145assembly pairs, whileadom-aiflow-mechanical lintandadom-aiflow-wiring lintpass with0errors across all6routed wire bundles (22individual conductors audited indocs/3d/microgoose-hero.glb). - 3-Plate Bambu Lab H2D Slice: All
23single-solid printable.stlparts slice cleanly in headless Bambu Studio (416.5 g,14h 35mtotal in mechanical/bambu_slice_report.json): Plate 1 in Carbon-SlatePETG-CF(87.0 g,5h 14m), Plate 2 inPLA Matte White(155.5 g,5h 33m), and Plate 3 inPLA Matte Orange(174.0 g,3h 48m, including the standalone BAM pendulum motor-ID rig).
Torso cutaway view illustrating the underslung NP-F550 battery sled, central microgoose-spine controller, upper Radxa Zero 3W carrier, and strain-relieved J1..J5 wire bundles.
3. 7-Stage NVIDIA GTC Sim-to-Real Locomotion Stack
Narrated Training Walkthrough (training-walkthrough/README.md): Watch the
2m 08snarrated video walkthrough covering CAD-to-MJCF/URDF/USD generation,XL330BAM servo identification (0.036 degRMSE[simulated]),16,384-env Isaac Lab 3.0 + Newton GPU PPO (75,311steps/s[measured]),3.04M-step full-DR training (13m 55s[measured]),policy.onnxdual-engine (MuJoCo 4.0.1+MIT/TRI Drake 1.58.0) push recovery, and hardware validation.
Microgoose implements the complete open sim-to-real recipe highlighted in Jensen Huang's GTC Berlin keynote:
- Stage 1: CAD-Exact MJCF/URDF & BAM Actuator Identification (rl/assets/microgoose.xml, rl/bam/fit_xl330.py): Ingests exact OCCT per-link mass, CoM, and inertia tensors (
0.5575 kg) alongside fittedXL330-M288-TBAM friction, reflected rotor armature (3.443e-4 kg m^2),2 msbus delay, and5 Vbus droop (0.036 degvalidation RMSE). - Stage 2: Isaac Lab 3.0 & Newton (
MuJoCo-Warp) BAM Locomotion Task (rl/isaaclab_microgoose/): RegistersIsaacContrib-Velocity-Flat-MicroGooseandIsaacContrib-Velocity-Rough-MicroGoose([1, 64] -> [1, 15]policy,79-float critic, sagittal mirror symmetry augmentation, andXL330-M288-TRhoban BAMm6voltage control at50 Hz) on the60-mesh CAD-exact USD articulation (rl/assets/usd_walk/). - Stage 3: Live RTX 4090 CUDA PPO Training (rl/train_ppo_cuda.py): Trained
2,016,000environment steps (350PPO updates across160vectorized BAM environments in443.5 son CUDA), reaching100.0%episode survival. - Stage 4 & 5: Self-Contained ONNX Export & Sim-to-Sim Rollout (rl/checkpoints/policy.onnx, rl/infer_policy.py): Exports opset-17
policy.onnx(1.31e-6max diff vs PyTorch) with baked observation normalization; survives the full10.0 sCPU MuJoCo rollout (1.55 mforward,1.80 mstraight-line distance as the walk veers ~`60 degright over10 s;30.3 mmleft /33.2 mmright swing clearance) including a+0.18 m/slateral torso impulse att = 4.0 s`. - Stage 6:
STM32G431Spine Firmware &50 HzgoosectlRuntime (firmware/, runtime/): Deterministic200 HzC11 firmware paired with a multi-daemon Python Unix-socket runtime (goosectl up,stand,walk --vx 0.15 --vy 0.0 --wz 0.0,honk,estop, and live ONNX hot-swap) with automatic crouch rollback on|roll|, |pitch| > 0.75 rad,VBAT < 6.10 V, orI_bus > 4.20 A. - Stage 7: Policy Arena Benchmark (rl/arena/arena_scorecard.json): Scores
87.06 / 100with100.0%survival (32/32episodes) acrossstand_still,walk_forward_015,yaw_turn_pos04, andpush_recovery.
Zero-shot 50 Hz CPU MuJoCo rollout driven by rl/checkpoints/policy.onnx, rendered on the real CAD model (docs/3d/microgoose-hero.glb), absorbing a +0.18 m/s lateral push at t = 4.0 s and holding its stride through 10.0 s (1.80 m covered, rl/checkpoints/sim2sim_report.json).
4. Phase 2: Dual-Engine Simulation & Electromechanical Design Validation
Before fabricating hardware, Microgoose's locomotion controller, 23 printed structural parts, and microgoose-spine rev A power tree were cross-checked across two independent multibody engines, 3D tetrahedral finite-element analysis (scikit-fem TetP1), ngspice-42 400 kHz switching transients, and adom-fields electro-thermal copper solves (validation/validation_master_report.json). Every reported quantity is tagged [simulated], [calculated], [measured], or [datasheet].
4.1 Stage 2/3 Domain-Randomized PPO & Dual-Engine Sim-to-Sim (MuJoCo 4.0.1 vs MIT/TRI Drake 1.58.0)
Starting from the Stage 1 checkpoint, rl/train_ppo_cuda.py fine-tuned +1,024,000 additional environment steps (3,040,000 cumulative steps) on an NVIDIA GeForce RTX 4090 Laptop GPU (391.44 s = 0.10873 GPU-hours [measured], 0.23192 cumulative GPU-hours [measured]) with coupled XL330 + LMR33640 bus droop (rl/bam/xl330_electromech.py) and full domain randomization: link mass +/-20%, ground friction 0.40 to 1.30, spur-gear backlash 0.0020 to 0.0120 rad (0.11 to 0.69 deg), bus latency 0 to 8 ms, 2S battery open-circuit voltage 6.0 to 8.4 V, and ramp slopes -8.5 to +8.5 deg.
The exported opset-17 policy.onnx (1.43e-6 max PyTorch diff [measured]) and FallRecoveryController (rl/getup_controller.py) were then executed deterministically across all required scenarios in both MuJoCo 4.0.1 (generalized coordinates + convex soft contact) and MIT/TRI Drake 1.58.0 (MultibodyPlant Featherstone articulated-body tree + discrete SAP convex contact, rl/drake_env.py):
Scenario (10.0 s, 500 ticks @ 50 Hz) |
MuJoCo 4.0.1 Result [simulated] |
MIT/TRI Drake 1.58.0 Result [simulated] |
Cross-Engine Delta [calculated] |
Verdict |
|---|---|---|---|---|
| 1. Quiet Stand + Head Scan | 500/500 steps, 5.28 deg tilt, 1.45 A mean / 2.70 A pk |
500/500 steps, 5.15 deg tilt, 1.49 A mean / 2.62 A pk |
0.0001 m/s vx, 0.039 A mean |
PASS |
2. Forward Walk (0.16 m/s) |
500/500 steps, +0.189 m/s, +1.55 m, 2.70 A mean / 3.98 A pk |
500/500 steps, +0.179 m/s, +1.83 m, 2.77 A mean / 5.72 A pk |
0.0097 m/s vx, 0.071 A mean |
PASS |
3. Walk + Yaw Turn (0.14 m/s, 0.42 rad/s) |
500/500 steps, +0.179 m/s, +1.44 m, 2.62 A mean / 3.79 A pk |
500/500 steps, +0.175 m/s, +1.79 m, 2.71 A mean / 6.01 A pk |
0.0041 m/s vx, 0.091 A mean |
PASS |
4. 3-Impulse Push Recovery (up to 0.26 m/s) |
500/500 steps, 17.1 deg max tilt, 2.69 A mean / 4.20 A pk |
500/500 steps, 16.0 deg max tilt, 2.76 A mean / 5.78 A pk |
0.0060 m/s vx, 0.079 A mean |
PASS |
5. Uphill Ramp (+8.0 deg / 14.1% grade) |
500/500 steps, +0.163 m/s, +0.92 m, 2.75 A mean / 4.36 A pk |
500/500 steps, +0.170 m/s, +0.88 m, 2.80 A mean / 4.94 A pk |
0.0065 m/s vx, 0.055 A mean |
PASS |
6a. Fall + Budgeted Stand-Up (3.75 rad/s cap) |
5V_BUS = 5.00 V held; lifts 38 -> 95 mm, stalls at -75 deg hip stop (83.8 deg) |
5V_BUS = 5.00 V held; lifts 38 -> 95 mm, stalls at -75 deg hip stop (84.0 deg) |
0.7 mm final Z, 0.17 deg tilt |
CAD + Buck Limit Diagnosed |
6b. Fall + Uncapped Stand-Up (28 rad/s snap) |
11.88 A demand -> LMR33640 foldback drops 5V_BUS to 2.50 V |
11.87 A demand -> LMR33640 foldback drops 5V_BUS to 2.50 V |
0.006 A peak demand |
Proves Brownout Without Cap |
Cross-engine verification (validation/sim2sim_cross_engine_report.json): policy.onnx survives 500/500 steps across all five upright locomotion scenarios in both MuJoCo 4.0.1 and MIT/TRI Drake 1.58.0, while knockdown stand-up exposes the exact coupling between the -75 deg hip_pitch clevis stop and the single 4.0 A buck current limit.
CAD vs sim: the published 3D model (docs/3d/microgoose-hero.glb) next to the MuJoCo model the policy walks in, posed at the CAD joint angles and rendered with the same camera. Silhouette IoU is 1.0000 in both the 3/4 and side views, and every sim mesh vertex lies within 0.09 µm of the CAD [measured]. The CAD meshes are visual only (no contacts, no mass), so the walk above is the same rollout as in sim2sim_report.json, bit for bit.
4.2 Mechanical Design Validation: Envelopes, 10-Min Thermal, ZMP & 3D FEA
Full telemetry from validation/mechanical_validation_report.json (validation/mechanical_validation.py):
- 15-Joint Torque, Speed & 10-Minute Thermal Duty (
PASS): Across upright walking, turning,+8 degslope, and push recovery, MuJoCo peak joint torque is0.3659 N*m[simulated]onright_ankle_pitch(29.6%below the0.52 N*mXL330-M288-Tstall rating at5.0 V[datasheet]; Drake discrete-contact spike reaches0.4670 N*m[simulated],10.2%margin) and peak joint speed is9.596 rad/s[simulated](11.0%below10.786 rad/s/103 rpmno-load speed[datasheet]). Over a continuous10.0-minute (600 s,30,000-step) walk at25.0 degCambient (0falls[simulated]), the hottest stator winding (left_knee_pitch) stabilizes at39.25 degC[simulated](36.77 degCcase,+14.25 Krise), leaving35.75 degCmargin[calculated]below the75.0 degCDynamixel thermal shutdown limit[datasheet]. - Dynamic Stability & Parameter Sensitivity (
PASS): Mean signed ZMP support-polygon margin is+34.71 mmin stance and+9.96 mmduring0.16 m/swalking in MuJoCo (+21.78 mmand+4.41 mmin Drake)[simulated]. Closed-loop single-axis sweeps survive500/500steps across80%to130%robot mass (440 gto715 g),0.0to1.50 deggear backlash (5.9xnominalXL3300.255 degdeadzone), and0.25to1.30Coulomb floor friction[simulated]. - 3D Tetrahedral Solid FEA (
scikit-femTetP1,6,300elements /4,368DoFs per part):knee_clevis_shank(PETG-CF):39.4 Nfall knee strike +0.40 N*mservo torque[simulated]->14.70 MPagoverning stress[calculated],SF_XY = 3.95x,SF_Z = 1.90x(PASS).ankle_horn_clevis(PETG-CF):27.1 Nnormal /24.4 Nshear landing +0.47 N*m[simulated]->15.96 MPa[calculated],SF_XY = 3.63x,SF_Z = 1.75x(PASS).webbed_foot_sole(PLA Matteflat XY print):18.9 Nforefoot impact at48 mmlever[simulated]->21.04 MPa[calculated],SF_XY = 2.00x,SF_Z = 0.95x(PASS in flat XY print orientation).neck_s_curve_lower(PLA Mattehollow cable root): An unattenuated108.4 Nhard-floor prone beak/head strike[simulated]at the82 mmneck lever drives root stress to102.78 MPa[calculated](SF_XY = 0.41x,SF_Z = 0.19x), proving a stiff-servo prone fall on hard flooring will snap an upright-printed PLA neck. Required mitigation: dropneck_pitch/head_pitchkpto0.15xon IMU fall detection (||omega|| > 2.4 rad/s) so the backdrivableXL330yields at<= 0.18 N*m(~11 MPa,SF_XY > 3.8x[calculated]), and printrev Bneck_s_curve_lowersplit-flat inPETG-CFwith a3 mmTPU 95Abeak bumper.
Per-joint torque utilization against the 0.52 N*m XL330 stall limit and 10-minute (600 s) continuous walking winding/case temperature trajectories (39.25 degC peak vs 75.0 degC shutdown).
Cross-engine signed ZMP support margins and 100%-survival closed-loop sensitivity sweeps across mass (440 to 715 g), gear backlash (0 to 1.50 deg), and floor friction (0.25 to 1.30).
3D scikit-fem TetP1 structural stress and XY / FDM Z-interlayer safety factors across the knee clevis, ankle clevis, hollow S-neck root, and webbed foot sole.
4.3 Plain-English Electrical Validation (ngspice-42 + adom-fields + STEP Geometry Audit)
Plain Verdict on the
rev A4.0 APower Stage (validation/electrical_validation_report.json): YES for standing and walking; NO for unthrottled simultaneous 15-servo fall arrest or stand-up. Adding theRadxa Zero 3W(0.58 AonJ4) andSTM32G431+ sensors (0.12 AonU2) to the simulated15-servo currents yields1.44 Amean in stance and2.63to2.76 Amean (3.79to4.36 Abrief peaks)[simulated]across walking, turning,+8 degslope, and push recovery. Cycle-by-cycle400 kHzngspice-42transients hold5V_BUSat4.893 Vmin at7.4 Vnominal battery (4.687 Vmin at6.0 Vworst-case low line, above the4.55 VRadxa brownout floor)[simulated]. By contrast,15XL330servos commanded simultaneously near stall during an uncapped stand-up demand11.88 Ain dual-engine simulation[simulated](and up to22.75 Atheoretical locked-rotor stall + compute[calculated]), exceeding theLMR33640DDDARhigh-side switch peak limit (5.2 Amin /6.0 Atyp[datasheet],4.44 Aworst-case DC output ceiling[calculated]). Inngspice-42, uncapped stand-up collapses5V_BUSto2.473 V(2.384 Vat6.0 Vline) and drops3V3to2.015 V[simulated], rebooting both the Radxa SBC andSTM32G431MCU.rev Aoperates safely only with firmware slew staging (<= 3.75 rad/s) andINA226active current guard;rev Bisolates5V_SBConto a dedicated2 Abuck and splits the legs across dual6 Asynchronous servo bucks.
| Subsystem / Rating Check | Simulated / Calculated Stress | Datasheet / Rule Limit | Status & rev B Action |
|---|---|---|---|
U1 LMR33640DDDAR Buck |
2.70 A walk mean, 4.36 A gait pk, 11.88 A uncapped get-up [simulated] |
4.0 A DC cont, 5.2 A min HS peak [datasheet] |
Conditional Pass (firmware <= 3.75 rad/s slew guard; dual 6 A + isolated 2 A SBC buck in rev B) |
L1 Wurth 74439346047 (4.7 uH) |
4.78 A gait pk, 6.37 A fault pk [simulated] |
Irated = 8.5 A, Isat = 11.0 A [datasheet] |
PASS (1.62x margin [calculated] even at U1 6.8 A max clamp; cannot saturate) |
2S NP-F550 Battery (2.6 Ah) |
1.18 A (0.45C) walk mean, 4.01 A (1.54C) 6.0 V pk, 5.30 V min term [simulated] |
5.2 A (2.0C) cont, 6.0 to 8.4 V [datasheet] |
PASS (~112 min walk runtime [calculated]; derate gait speed below 6.4 V OCV) |
U3 INA226 + R20 (0.30 mOhm) |
1.39 mV shunt @ gait pk (8.33 mA/LSB raw step, 273.1 A FS) [calculated] |
81.92 mV FS, 3.0 W (100 A) shunt [datasheet] |
PASS Range / Advisory SNR (zero clipping; raise R20 to 2.0 mOhm in rev B for 1.25 mA/LSB) |
J1/J2/J3 JST-GH (BM03B-GHS) |
0.44 A walk RMS (J1), 1.28 A gait pk (2.23 A Drake), 2.67 A get-up pk [simulated] |
1.0 A per contact (#26 AWG) [datasheet] |
Peak Exceedance Advisory (RMS passes thermal, peaks exceed 1.0 A; use 4-pin dual-power or 2.0 A JST-PH on J1/J2 in rev B) |
PCB Copper Necks & Peak Thermal (adom-fields) |
46.7 mV max DC drop (R20->J2), 284.3 A/mm^2 at 0.49 mm 5V_BUS neck (115.9, 137.5), U1 133.4 degC still / 110.5 degC moving air at sustained 4.36 A [simulated] |
60 A/mm^2 1 oz neck guide, 150 degC Tj,max [datasheet] |
Advisory (safe at 2.70 A walk mean where board rise is +41.6 degC, hot under sustained 4.36 A stall; widen (115.9, 137.5) & (108.5, 128.3) bridges in rev B) |
STEP Export C2/C3/MC2 Warnings (2x) |
Identical 0.273 x 0.611 mm bbox at z = 1.51 mm (18 nm OCCT wire tangent on VBAT zone fillet L32487-L32515), 0.2038 mm VBAT-to-GND gap [calculated], 711 manifold solids [measured] |
0.14 mm track / 0.20 mm zone clearance, 0 DRC errors [measured] |
PASS (Cosmetic CAD Only) (zero electrical/mechanical impact; 78/78 fitted BOM parts present in .step, step_geometry_audit.json) |
Coupled electrical validation (sim/simulate_spine_validation.py): 5V_BUS demand across scenarios, JST-GH branch RMS vs peak currents, 400 kHz ngspice-42 rail regulation vs uncapped stand-up brownout (2.47 V), and adom-fields copper current density at 4.36 A peak burst.
Copper-and-mask polygon inspection (validation/audit_step_c2_c3_mc2.py) pinpointing the two identical OCCT STEP wire-healing warnings southwest of C2 (0.2038 mm VBAT-to-GND clearance, 0 DRC errors).
4.4 What Simulation Cannot Prove & 5-Stage Physical Bring-Up Plan
Even dual-engine multibody physics, 3D FEA, SPICE, and 3D field solvers cannot prove: (1) FDM anisotropic interlayer bond strength and press-fit tolerances after thermal cycling, (2) real XL330 spur-gear stiction spread and PWM H-bridge dead-time nonlinearity across batches, (3) 1 Mbps half-duplex USART3 stub reflections and ground-bounce bit errors under di/dt motor spikes, (4) real NP-F550 cell aging / spring-contact bounce during 27 N foot impacts, (5) VL53L5CX ToF multi-path glare on glossy floors, (6) soft carpet / tile compliance transitions, (7) wire-bundle fatigue inside the moving S-neck and hip joints, and (8) actual board solder joint quality and inductor acoustic whine.
The complete staged hardware protocol (1. print single left leg first for fit and clevis load test -> 2. bare-board probing bring-up -> 3. XL330 BAM pendulum rig measurement -> 4. 15-servo benchtop HIL -> 5. tethered sim-to-real floor walking and compliant fall arrest) is specified in docs/validation/PHYSICAL_TEST_PLAN.md.
4.5 Native Isaac Lab 3.0 + Newton (MuJoCo-Warp) 16,384-Env Validation & 3-Engine Cross-Check
The native GPU task in rl/isaaclab_microgoose/ ([1, 64] -> [1, 15], rsl_rl PPO with sagittal symmetry augmentation and Rhoban BAM m6 XL330 voltage control across 6.0 to 8.4 V 2S sag) was validated on an NVIDIA GeForce RTX 4090 Laptop GPU across 16,384 parallel environments (80 iterations = 31,457,280 environment steps in 417.7 s training / 440.1 s wall-clock [measured], 75,311 env steps/s with 2x mirror symmetry active, peak 8,558 MB VRAM, 106.3 W, 76.7 C [measured]). By iteration 79, 88.37% of all 16,384 parallel environments survived the full 20.0 s (1,000-step) episode (mean_reward = 86.78, 0 NaN terminations [measured]).
Packing the exported single-file opset-18 artifact (rl/policies/isaaclab_newton_microgoose_short.onnx, 8.64e-7 max TorchScript diff [measured]) and replaying a 10.0 s stand, 0.25 m/s forward walk, yaw turn, and settle schedule (validation/isaaclab_newton_short_validation.json) confirmed zero-shot survival across both independent CPU engines:
- CPU MuJoCo + Rhoban BAM
m6XL330:10.0 ssurvived (max_tilt = 8.75 deg),0.6898 mforward displacement (0.1721 m/smean forward speed[simulated]),3.865 Amean total2Sbus current. - MIT/TRI Drake
1.58.0MultibodyPlant+ SAP:10.0 ssurvived (max_tilt = 21.49 deg),0.7141 mforward displacement (0.1765 m/smean forward speed, within3.5%of MuJoCo[simulated]). - Hardware Design Finding (
beak_pitchClosed-Stop Stall): Becausebeak_pitch(dxlId 15) has[0.0, 0.663 rad]limits where0.0 radis the hard closed stop, negative policy offsets aroundq_default = 0.0 radhold1.01 ARMS against the mechanical stop (107.0 C10-minute rise[simulated]). Clampingq_target[14] >= 0.03 radin firmware/runtime eliminates closed-stop stall current before full5,000-iteration gait training.
4.6 Full-RoM Electronics, Optical/RF FoV & Serviceability Clearance Audit
Beyond the nominal standing-pose check (66 solids, 0 collisions), validation/check_electronics_and_rom_clearance.py swept all 15 joints across full hardware limits and dynamic gait/get-up poses (806 CAD mesh pairs enabled) plus optical ray-casting, RF keepout, wire bend radii, connector unmating strokes, and battery extraction (validation/electronics_clearance_report.json):
VL53L5CX8x8ToF FoV (FAILon Rev A):64/64zones (45 x 45 degcone) intersect thebeak_upperridge0.21 mmforward of the recessed sensor aperture acrossbeak_pitch0to38 deg[calculated]. Rev B moves the ToF window flush with the upper-beak dorsal chamfer.- Board LEDs &
Radxa Zero 3WRF Keepout (FAILon Rev A):D1(5V_OK) has40.8%upper-hemisphere visibility (PASS), whereasD2(STATUS_RGB) sits6.5 mmbeneath theradxa_mezzanine_carriercrossbar (23.0%open) and theRadxa2.4/5 GHzceramic antenna sits1.79 mmfromM2.5steel mounting screws vs the10.0 mmkeepout target[calculated]. - Full-RoM All-Pairs Mesh Sweep (
FAILon Rev A extreme stops; contralateral STL bugFIXED): After fixing theWorkplane("XZ")-Ysign and cross-brace air-gap bug in mechanical/build_microgoose_cad.py (0contralateral XZ-bug pairs across all23single-solid STLs, down from28),75of806mesh pairs still contact at extreme hardware joint limits or inward hip-roll adduction stops (includingtorso_core_cradlevs hip brackets at full pitch/roll limits)[simulated]. - Cable Bundle Bend Radius,
J1..J5Mating & Battery Sled (FAILon Rev A): Tightest wire bends reach1.88xOD onbattery_vbat_feedand2.65xOD onneck_head_dxl(vs3.5xstatic /5.0xdynamic target);J3has6.35 mmvertical clearance under theRadxamezzanine vs the7.5 mmJST-GHvertical unmate stroke (14/15XL330ports pass); and tool-free-XNP-F550sled extraction is blocked by6.75 mmtorso_shelltail fairing overlap[calculated]. - Camera Documentation Audit & Non-Invasive Rev B Proposal (
PASS): Verified0false camera claims across the repo; ray-cast a non-invasiveIMX219120 degwide-angle brow pod at(52.5, 0.0, 280.2) mm(-10 degpitch) achieving unobstructed forward horizon coverage with33.8%lower-frame beak tip reference[calculated].
Summary of the 8-part electronics, optical/RF FoV, full-RoM mesh clearance, wire bundle bend-radius, connector access, and battery extraction audit (validation/electronics_clearance_report.json).
Components
| References | Qty | Value | MPN | Manufacturer | Wiki page |
|---|---|---|---|---|---|
| MP1, MP2, MP3, MP4 | 4 | GND | MachinePinLargeShort | Adom | project library (no public page yet) |
| MC1, MC2, MC3, MC5, MC9, MC4, MC6, MC7, MC8, MC10 | 10 | VBAT | MachineContactMedium | Adom | project library (no public page yet) |
| U1 | 1 | LMR33640DDDAR | LMR33640DDDAR | Texas Instruments | project library (no public page yet) |
| L1 | 1 | 4.7u | 74439346047 | Wurth Elektronik | project library (no public page yet) |
| R20 | 1 | 0m3 | CSS2H-2512R-L300F | Bourns | project library (no public page yet) |
| U2 | 1 | AP2114H-3.3 | AP2114H-3.3TRG1 | Diodes Incorporated | project library (no public page yet) |
| U3 | 1 | INA226 | INA226AIDGST | Texas Instruments | project library (no public page yet) |
| U4 | 1 | STM32G431CBT6 | STM32G431CBT6 | STMicroelectronics | project library (no public page yet) |
| U5 | 1 | BMI270 | BMI270 | Bosch Sensortec | project library (no public page yet) |
| U6 | 1 | 74LVC1G126 | SN74LVC1G126DBVR | Texas Instruments | project library (no public page yet) |
| U7 | 1 | 74AHCT1G125 | SN74AHCT1G125DBVR | Texas Instruments | project library (no public page yet) |
| J1, J2, J3 | 3 | LEG_L_DXL | BM03B-GHS-TBT | JST | project library (no public page yet) |
| J4, J5 | 2 | RADXA_LINK | BM05B-GHS-TBT | JST | project library (no public page yet) |
| D1 | 1 | 5V_OK | IN-S63BTG | Inolux | project library (no public page yet) |
| D2 | 1 | STATUS_RGB | WS2812B-2020 | Worldsemi | project library (no public page yet) |
| R1, R6 | 2 | 47k | CQ03SAF4702T5E | UNI-ROYAL | project library (no public page yet) |
| R2, R12 | 2 | 33k | CQ03SAF3302T5E | UNI-ROYAL | project library (no public page yet) |
| R3, R4, R7, R8, R9, R10, R14, R15 | 8 | 10k | CQ03WAF1002T5E | UNI-ROYAL | project library (no public page yet) |
| R5 | 1 | 150k | 0603SAF1503T5E | UNI-ROYAL | project library (no public page yet) |
| R11 | 1 | 100k | CQ03WAF1003T5E | UNI-ROYAL | project library (no public page yet) |
| R13 | 1 | 1k | CQ03WAF1001T5E | UNI-ROYAL | project library (no public page yet) |
| R16, R17 | 2 | 4k7 | CQ03SAF4701T5E | UNI-ROYAL | project library (no public page yet) |
| R18, R19 | 2 | 100R | CQ03WAF1000T5E | UNI-ROYAL | project library (no public page yet) |
| C1, C2, C3, C26, C27, C28, C29 | 7 | 10u | CL21A106KOQNNNG | Samsung Electro-Mechanics | project library (no public page yet) |
| C4, C5, C11, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25 | 15 | 100n | 0603B104J500CT | Walsin | project library (no public page yet) |
| C6, C13 | 2 | 1u | 0603B105K160CT | Walsin | project library (no public page yet) |
| C7, C8, C9, C10 | 4 | 22u | CL21A226MPQNNNE | Samsung Electro-Mechanics | project library (no public page yet) |
| C12 | 1 | 4u7 | 0603X475K100CT | Walsin | project library (no public page yet) |
Install every part in KiCad
This page is a KiCad Plugin and Content Manager repository. In KiCad, open Plugin and Content Manager, Manage..., add this URL, then install Microgoose from the Libraries tab:
https://wiki.adom.inc/api/pages/drew2/microgoose/files/pcm/repository.json
The library appears as PCM_microgoose (package inc.adom.wiki.drew2.microgoose): every symbol, footprint and 3D model of this board, from the parts' wiki pages.
How this board was built
Every step of the build, in order, each with its own page of evidence (checks, screenshots, the AI's drawings and usage), written by adom-aiflow as the run went.
1. Intake: read the prompt and the requirements. The evidence
2. Design rules: choose the fab, load its design rules. The evidence
3. Circuit design: datasheet math and part values. The evidence
4. Test plan: what to measure on the workcell, a probe spot for each. The evidence
5. Sourcing: every part in stock, with an MPN. The evidence
6. Parts on the wiki: every part's wiki page, shown as it is picked. The evidence
7. Project page: README rev 1, component table, KiCad PCM repo. The evidence
8. Library: symbols, footprints and 3D from the wiki. The evidence
9. Schematic: drawn live, checked against the netlist. The evidence
10. SPICE simulation: the drawn schematic in SPICE: start-up, ripple, load step. The evidence
11. Components: wiki component identity and CAD audit. The evidence
12. 3D models: every 3D model bound and upright. The evidence
13. Placement: parts placed for current and heat. The evidence
14. Routing: every trace routed, DRC clean. The evidence
15. Heatsink vias: via arrays under the hot parts. The evidence
16. Copper pours: copper pours and stitching. The evidence
17. Rounded corners: sharp board corners rounded. The evidence
18. Current: current density on every loaded net. The evidence
19. Thermal: temperature rise against the budget. The evidence
20. Fields: current and heat solved in 3D. The evidence
21. Pour walkthrough: each pour net lit in turn. The evidence
22. Silkscreen: labels, polarity, pinouts, both faces. The evidence
23. 3D board: the finished board in 3D. The evidence
24. Finish line: 0 unconnected, 0 errors, every check passed. The evidence
25. Gerbers, BOM, CPL: manufacturing files written and checked. The evidence
# Microgoose
::adom-video{src="/drew2/microgoose/render/docs/videos/microgoose-walk-sim2sim.video.json"}
Download the films and engineering package directly: [microgoose-walk-sim2sim.mp4](docs/videos/microgoose-walk-sim2sim.mp4) ([WebVTT captions](docs/videos/microgoose-walk-sim2sim.vtt)), [microgoose-spine-build.mp4](docs/videos/microgoose-spine-build.mp4) (120 s narrated PCB build film), and [Microgoose-Datasheet.pdf](docs/Microgoose-Datasheet.pdf) (8-page vector datasheet).
Microgoose (`drew2/microgoose`) is an open-source `15-DoF` bipedal desktop robot inspired by Pollen Robotics and Hugging Face's Microduck, re-engineered as a mischievous domestic goose (`284.0 mm` standing height, `550.2 g` total mass) with an S-curved neck, broad webbed feet, and an independent `15th-DoF` honking beak. Both the `microgoose-spine` Molecule controller PCB and the `23`-part 3D-printed mechanical assembly were built and cross-verified end-to-end with [adom-aiflow](https://wiki.adom.inc/adom/adom-aiflow), then taken through the complete 7-stage NVIDIA GTC Berlin sim-to-real locomotion pipeline from BAM actuator identification and CUDA PPO training to a self-contained `50 Hz` `policy.onnx` walking controller.
## Project Build and Validation Timeline
> **End-to-End Chronology & Compute Ledger ([timeline/README.md](timeline/README.md)):** Every timestamped milestone (`CST, UTC-6`), `gemini-4-carbon` multi-agent session (`1,066` Phase 1 calls), `NVIDIA GeForce RTX 4090 Laptop GPU` training run (`3.04M` cumulative steps in `13m 55s` GPU wall-clock, `0.23192` GPU-hours `[measured]`), 25-stage AI Flow gate (`7h 02m` active EDA/solver time `[measured]`), and Phase 2 dual-engine validation sprint is documented in the **[Project Build and Validation Timeline](timeline/README.md)** ([raw JSON audit](timeline/timeline_audit.json)).

*Assembled 15-DoF Microgoose biped (`284.0 mm` tall, `550.2 g`) showing the PETG-CF leg frames, white PLA torso shell, orange webbed feet, and articulated honking beak.*
## System Highlights
| Subsystem | Key Specification | Verified Result |
|---|---|---|
| **Robot Geometry & Mass** | `15`x Dynamixel `XL330-M288-T` (`5` per leg, `4` neck/head, `1` beak) | `284.0 mm` height, `557.5 g` CAD mass, `0` OCCT solid collisions across `802` PCB solids + `2,145` pairs |
| **Spine Molecule PCB (`rev A`)** | `70.0 x 70.0 mm`, `2`-layer `1.6 mm` FR-4, `1 oz` Cu, top-side SMT (`3rdPartyFab` / `fab` rules) | `0` ERC, `0` DRC, `0` unconnected (`1,029` tracks, `172` vias, `88.7%` `B.Cu` / `79.0%` `F.Cu`) |
| **Power & Telemetry Stage** | `2S` NP-F550 (`6.0 V` to `8.4 V`) -> `LMR33640DDDAR` `5.0 V` `4 A` buck + `AP2114H-3.3` + `INA226` (`0.30 mOhm` shunt) | `58.6 deg` phase margin, `10.5 mVpp` ripple, `+41.6 degC` still-air / `+32.3 degC` moving-air peak rise |
| **Real-Time Spine + Host Runtime** | `STM32G431CBT6` (`170 MHz`, `200 Hz` `1 Mbps` Sync Read/Write + `BMI270` IMU) + Radxa Zero 3W `goosectl` (`50 Hz`) | `344/344` C11 checks pass; PTY HIL loop `19.993 ms` mean period, `0.160 ms` ONNX inference |
| **3D Print Manufacturing** | `23` parts across `3` Bambu Lab H2D plates (PETG-CF, PLA Matte White, PLA Matte Orange) | Headless `bambu_slice`: `416.5 g` filament, `14h 35m` total print time |
| **7-Stage Sim-to-Real RL Stack** | BAM XL330 ID + RTX 4090 CUDA PPO (`2.02M` steps) -> `[1, 61]` to `[1, 14]` `policy.onnx` | `87.06 / 100` Policy Arena (`32/32` survival), `1.55 m` forward (`1.80 m` straight-line) `10 s` walk with `+0.18 m/s` push recovery |
---
## 1. Electronics: `microgoose-spine` Molecule Controller (`rev A`)
The `microgoose-spine` board is a `70.0 x 70.0 mm` (`3.0 mm` corner radius) 2-layer Adom Molecule (`64.0 x 64.0 mm` `MachinePinLargeShort` corner grid `MP1..MP4` on `GND`, plus `10` `MachineContactMedium` edge pads `MC1..MC10` for `VBAT`, `5V_BUS`, `3V3`, `GND`, and `SWD`). Every component is top-side SMT (`>= 0603` passives, `0.30 mm / 0.60 mm` vias, `>= 0.25 mm` signal traces, `0` internal cutouts, `8.4 mm` max component height) adhering to the `3rdPartyFab` (`fab`) 2-layer rule profile.
- **High-Current 5.0 V Servo & Compute Buck (`U1`)**: A Texas Instruments `LMR33640DDDAR` (`400 kHz` synchronous buck, `SOIC-8-EP` with `9` thermal vias stitched to both `GND` planes) steps the removable `2S` NP-F550 battery (`6.0 V` to `8.4 V`) down to `5.0 V` (`4.0 A` continuous rating) across a Wurth `74439346047` `4.7 uH` shielded molded inductor (`14.5 mOhm` DCR) and `4 x 22 uF` `0805` output MLCCs.
- **Kelvin High-Side Power Monitor (`U3` + `R20`)**: Every milliamp feeding the `15` XL330 actuators and the Radxa Zero 3W passes through a Bourns `CSS2H-2512R-L300F` (`0.30 mOhm`, `1%`) shunt monitored by a `TI INA226AIDGST` (`I2C1` `0x40`, `1 mA/LSB` calibration `0x42AB`, hardware overcurrent alert on `PB2`).
- **Real-Time Spine MCU & Half-Duplex 1 Mbps DXL Bus (`U4`, `U6`)**: An `STM32G431CBT6` (`170 MHz` Cortex-M4F) runs a deterministic `200 Hz` control loop, driving `USART3` (`1 Mbps`) through a `SN74LVC1G126DBVR` tri-state direction buffer (`DXL_DIR` on `PB12`) to three parallel `JST-GH` 3-pin servo branches: `J1` (Left Leg IDs `1..5`), `J2` (Right Leg IDs `6..10`), and `J3` (Neck/Head IDs `11..14` + Beak ID `15`).
- **Inertial & Optical Sensing (`U5`, `J5`)**: An onboard Bosch `BMI270` 6-axis torso IMU (`0x68`, `INT1` on `PB1`) sits near the board center, while `J5` carries `3V3`, `GND`, `400 kHz` `I2C1`, and `HEAD_INT` (`PA8`) up the neck to the `VL53L5CX` `8x8` multizone ToF ground rangefinder (`0x29`) and head `BMI270` (`0x69`). `J4` links `5V_BUS` and `1-2 Mbps` COBS+CRC16 `USART2` (`PA2`/`PA3`) to the upper-deck Radxa Zero 3W.

*Finished `microgoose-spine` rev A 3D render (`docs/3d/microgoose-spine.glb`) showing `MP1..MP4` corner pins, `MC1..MC10` edge contacts, `J1..J5` JST-GH headers, and grouped component value silkscreen.*

*KiCad 10 2-layer layout (`board-9.kicad_pcb`): `1,029` routed segments, `172` vias, `0` DRC errors, `0` unconnected nets, `78.96%` top copper coverage, and `88.65%` bottom ground/bridge copper coverage.*
### SPICE & 3D Electro-Thermal Verification
Prior to final export, the power and sense stages were verified in `ngspice-42` ([sim/simulation_results.json](sim/simulation_results.json)) and solved in 3D with `adom-fields` across DC current density, electro-thermal convection, PDN impedance, and hot-loop EMC.

*Simulated `LMR33640DDDAR` loop stability (`fc = 39.0 kHz`, phase margin `58.6 deg`), `0.45 A` to `3.50 A` gait load step (`212 mV` droop across `6.0 V`, `7.4 V`, and `8.4 V` battery states), `400 kHz` switch waveform, and `1.06 mV` differential shunt sense.*

*3D `adom-fields` electro-thermal solve (`1.115 W` total dissipation): peak board rise stays at `+41.6 degC` in still air (`h = 10 W/m^2K`) and `+32.3 degC` in walking airflow (`h = 25 W/m^2K`), comfortably inside the `45.0 degC` budget.*
---
## 2. Mechanical CAD, Cable Routing & Bambu Print Plates
The parametric OCCT/CadQuery generator ([mechanical/build_microgoose_cad.py](mechanical/build_microgoose_cad.py)) builds all `66` rigid solids around the exact `microgoose-spine` Molecule coordinates (`Z = 148.8 mm` torso spine bay):
- **3-Tier Serviceable Torso**: Underslung quick-swap `NP-F550` `2S` battery sled (`Z = 132.5 mm`) keeping the center of mass low between the hips, central `microgoose-spine` PCB bay on `64.0 x 64.0 mm` `MP1..MP4` standoffs, and an upper `Radxa Zero 3W` mezzanine (`Z = 160.2 mm`) under a removable dorsal hatch.
- **15-DoF Kinematic Chain**: `5-DoF` legs (`hip_yaw`, `hip_roll`, `hip_pitch`, `knee_pitch`, `ankle_pitch`) terminating in broad `84 x 50 mm` curved webbed goose feet, plus a `4-DoF` counter-balancing S-neck/head (`neck_pitch`, `head_pitch`, `head_yaw`, `head_roll`) and `15th-DoF` articulated honking lower mandible (`beak_pitch`, `dxlId = 15`).
- **Zero-Collision & Serviceability Lints**: Exact OCCT `BRepAlgoAPI_Common` checking ([mechanical/interference-report.json](mechanical/interference-report.json)) confirms `0` solid overlaps across `802` real PCB STEP subsolids and `2,145` assembly pairs, while `adom-aiflow-mechanical lint` and `adom-aiflow-wiring lint` pass with `0` errors across all `6` routed wire bundles (`22` individual conductors audited in `docs/3d/microgoose-hero.glb`).
- **3-Plate Bambu Lab H2D Slice**: All `23` single-solid printable `.stl` parts slice cleanly in headless Bambu Studio (`416.5 g`, `14h 35m` total in [mechanical/bambu_slice_report.json](mechanical/bambu_slice_report.json)): Plate 1 in Carbon-Slate `PETG-CF` (`87.0 g`, `5h 14m`), Plate 2 in `PLA Matte White` (`155.5 g`, `5h 33m`), and Plate 3 in `PLA Matte Orange` (`174.0 g`, `3h 48m`, including the standalone BAM pendulum motor-ID rig).

*Torso cutaway view illustrating the underslung `NP-F550` battery sled, central `microgoose-spine` controller, upper `Radxa Zero 3W` carrier, and strain-relieved `J1..J5` wire bundles.*
---
## 3. 7-Stage NVIDIA GTC Sim-to-Real Locomotion Stack
> **Narrated Training Walkthrough ([training-walkthrough/README.md](training-walkthrough/README.md)):** Watch the `2m 08s` narrated video walkthrough covering CAD-to-MJCF/URDF/USD generation, `XL330` BAM servo identification (`0.036 deg` RMSE `[simulated]`), `16,384`-env Isaac Lab 3.0 + Newton GPU PPO (`75,311` steps/s `[measured]`), `3.04M`-step full-DR training (`13m 55s` `[measured]`), `policy.onnx` dual-engine (`MuJoCo 4.0.1` + `MIT/TRI Drake 1.58.0`) push recovery, and hardware validation.
Microgoose implements the complete open sim-to-real recipe highlighted in Jensen Huang's GTC Berlin keynote:
1. **Stage 1: CAD-Exact MJCF/URDF & BAM Actuator Identification** ([rl/assets/microgoose.xml](rl/assets/microgoose.xml), [rl/bam/fit_xl330.py](rl/bam/fit_xl330.py)): Ingests exact OCCT per-link mass, CoM, and inertia tensors (`0.5575 kg`) alongside fitted `XL330-M288-T` BAM friction, reflected rotor armature (`3.443e-4 kg m^2`), `2 ms` bus delay, and `5 V` bus droop (`0.036 deg` validation RMSE).
2. **Stage 2: Isaac Lab 3.0 & Newton (`MuJoCo-Warp`) BAM Locomotion Task** ([rl/isaaclab_microgoose/](rl/isaaclab_microgoose/)): Registers `IsaacContrib-Velocity-Flat-MicroGoose` and `IsaacContrib-Velocity-Rough-MicroGoose` (`[1, 64] -> [1, 15]` policy, `79`-float critic, sagittal mirror symmetry augmentation, and `XL330-M288-T` Rhoban BAM `m6` voltage control at `50 Hz`) on the `60`-mesh CAD-exact USD articulation (`rl/assets/usd_walk/`).
3. **Stage 3: Live RTX 4090 CUDA PPO Training** ([rl/train_ppo_cuda.py](rl/train_ppo_cuda.py)): Trained `2,016,000` environment steps (`350` PPO updates across `160` vectorized BAM environments in `443.5 s` on CUDA), reaching `100.0%` episode survival.
4. **Stage 4 & 5: Self-Contained ONNX Export & Sim-to-Sim Rollout** ([rl/checkpoints/policy.onnx](rl/checkpoints/policy.onnx), [rl/infer_policy.py](rl/infer_policy.py)): Exports opset-17 `policy.onnx` (`1.31e-6` max diff vs PyTorch) with baked observation normalization; survives the full `10.0 s` CPU MuJoCo rollout (`1.55 m` forward, `1.80 m` straight-line distance as the walk veers ~`60 deg` right over `10 s`; `30.3 mm` left / `33.2 mm` right swing clearance) including a `+0.18 m/s` lateral torso impulse at `t = 4.0 s`.
5. **Stage 6: `STM32G431` Spine Firmware & `50 Hz` `goosectl` Runtime** ([firmware/](firmware/), [runtime/](runtime/)): Deterministic `200 Hz` C11 firmware paired with a multi-daemon Python Unix-socket runtime (`goosectl up`, `stand`, `walk --vx 0.15 --vy 0.0 --wz 0.0`, `honk`, `estop`, and live ONNX hot-swap) with automatic crouch rollback on `|roll|, |pitch| > 0.75 rad`, `VBAT < 6.10 V`, or `I_bus > 4.20 A`.
6. **Stage 7: Policy Arena Benchmark** ([rl/arena/arena_scorecard.json](rl/arena/arena_scorecard.json)): Scores **`87.06 / 100`** with **`100.0%` survival (`32/32` episodes)** across `stand_still`, `walk_forward_015`, `yaw_turn_pos04`, and `push_recovery`.

*Zero-shot `50 Hz` CPU MuJoCo rollout driven by `rl/checkpoints/policy.onnx`, rendered on the real CAD model ([docs/3d/microgoose-hero.glb](docs/3d/microgoose-hero.glb)), absorbing a `+0.18 m/s` lateral push at `t = 4.0 s` and holding its stride through `10.0 s` (`1.80 m` covered, [rl/checkpoints/sim2sim_report.json](rl/checkpoints/sim2sim_report.json)).*
---
## 4. Phase 2: Dual-Engine Simulation & Electromechanical Design Validation
Before fabricating hardware, Microgoose's locomotion controller, `23` printed structural parts, and `microgoose-spine` `rev A` power tree were cross-checked across two independent multibody engines, 3D tetrahedral finite-element analysis (`scikit-fem` `TetP1`), `ngspice-42` `400 kHz` switching transients, and `adom-fields` electro-thermal copper solves ([validation/validation_master_report.json](validation/validation_master_report.json)). Every reported quantity is tagged `[simulated]`, `[calculated]`, `[measured]`, or `[datasheet]`.
### 4.1 Stage 2/3 Domain-Randomized PPO & Dual-Engine Sim-to-Sim (`MuJoCo 4.0.1` vs `MIT/TRI Drake 1.58.0`)
Starting from the Stage 1 checkpoint, [rl/train_ppo_cuda.py](rl/train_ppo_cuda.py) fine-tuned `+1,024,000` additional environment steps (`3,040,000` cumulative steps) on an `NVIDIA GeForce RTX 4090 Laptop GPU` (`391.44 s` = `0.10873` GPU-hours `[measured]`, `0.23192` cumulative GPU-hours `[measured]`) with coupled `XL330` + `LMR33640` bus droop ([rl/bam/xl330_electromech.py](rl/bam/xl330_electromech.py)) and full domain randomization: link mass `+/-20%`, ground friction `0.40` to `1.30`, spur-gear backlash `0.0020` to `0.0120 rad` (`0.11` to `0.69 deg`), bus latency `0` to `8 ms`, `2S` battery open-circuit voltage `6.0` to `8.4 V`, and ramp slopes `-8.5` to `+8.5 deg`.
The exported opset-17 `policy.onnx` (`1.43e-6` max PyTorch diff `[measured]`) and `FallRecoveryController` ([rl/getup_controller.py](rl/getup_controller.py)) were then executed deterministically across all required scenarios in **both** `MuJoCo 4.0.1` (generalized coordinates + convex soft contact) and `MIT/TRI Drake 1.58.0` (`MultibodyPlant` Featherstone articulated-body tree + discrete SAP convex contact, [rl/drake_env.py](rl/drake_env.py)):
| Scenario (`10.0 s`, `500` ticks @ `50 Hz`) | `MuJoCo 4.0.1` Result `[simulated]` | `MIT/TRI Drake 1.58.0` Result `[simulated]` | Cross-Engine Delta `[calculated]` | Verdict |
|---|---|---|---|---|
| **1. Quiet Stand + Head Scan** | `500/500` steps, `5.28 deg` tilt, `1.45 A` mean / `2.70 A` pk | `500/500` steps, `5.15 deg` tilt, `1.49 A` mean / `2.62 A` pk | `0.0001 m/s` vx, `0.039 A` mean | **PASS** |
| **2. Forward Walk (`0.16 m/s`)** | `500/500` steps, `+0.189 m/s`, `+1.55 m`, `2.70 A` mean / `3.98 A` pk | `500/500` steps, `+0.179 m/s`, `+1.83 m`, `2.77 A` mean / `5.72 A` pk | `0.0097 m/s` vx, `0.071 A` mean | **PASS** |
| **3. Walk + Yaw Turn (`0.14 m/s, 0.42 rad/s`)** | `500/500` steps, `+0.179 m/s`, `+1.44 m`, `2.62 A` mean / `3.79 A` pk | `500/500` steps, `+0.175 m/s`, `+1.79 m`, `2.71 A` mean / `6.01 A` pk | `0.0041 m/s` vx, `0.091 A` mean | **PASS** |
| **4. 3-Impulse Push Recovery (up to `0.26 m/s`)** | `500/500` steps, `17.1 deg` max tilt, `2.69 A` mean / `4.20 A` pk | `500/500` steps, `16.0 deg` max tilt, `2.76 A` mean / `5.78 A` pk | `0.0060 m/s` vx, `0.079 A` mean | **PASS** |
| **5. Uphill Ramp (`+8.0 deg` / `14.1%` grade)** | `500/500` steps, `+0.163 m/s`, `+0.92 m`, `2.75 A` mean / `4.36 A` pk | `500/500` steps, `+0.170 m/s`, `+0.88 m`, `2.80 A` mean / `4.94 A` pk | `0.0065 m/s` vx, `0.055 A` mean | **PASS** |
| **6a. Fall + Budgeted Stand-Up (`3.75 rad/s` cap)** | `5V_BUS = 5.00 V` held; lifts `38 -> 95 mm`, stalls at `-75 deg` hip stop (`83.8 deg`) | `5V_BUS = 5.00 V` held; lifts `38 -> 95 mm`, stalls at `-75 deg` hip stop (`84.0 deg`) | `0.7 mm` final Z, `0.17 deg` tilt | **CAD + Buck Limit Diagnosed** |
| **6b. Fall + Uncapped Stand-Up (`28 rad/s` snap)** | `11.88 A` demand -> `LMR33640` foldback drops `5V_BUS` to `2.50 V` | `11.87 A` demand -> `LMR33640` foldback drops `5V_BUS` to `2.50 V` | `0.006 A` peak demand | **Proves Brownout Without Cap** |

*Cross-engine verification ([validation/sim2sim_cross_engine_report.json](validation/sim2sim_cross_engine_report.json)): `policy.onnx` survives `500/500` steps across all five upright locomotion scenarios in both MuJoCo 4.0.1 and MIT/TRI Drake 1.58.0, while knockdown stand-up exposes the exact coupling between the `-75 deg` `hip_pitch` clevis stop and the single `4.0 A` buck current limit.*

*CAD vs sim: the published 3D model ([docs/3d/microgoose-hero.glb](docs/3d/microgoose-hero.glb)) next to the MuJoCo model the policy walks in, posed at the CAD joint angles and rendered with the same camera. Silhouette IoU is `1.0000` in both the 3/4 and side views, and every sim mesh vertex lies within `0.09 µm` of the CAD `[measured]`. The CAD meshes are visual only (no contacts, no mass), so the walk above is the same rollout as in `sim2sim_report.json`, bit for bit.*
### 4.2 Mechanical Design Validation: Envelopes, 10-Min Thermal, ZMP & 3D FEA
Full telemetry from [validation/mechanical_validation_report.json](validation/mechanical_validation_report.json) ([validation/mechanical_validation.py](validation/mechanical_validation.py)):
- **15-Joint Torque, Speed & 10-Minute Thermal Duty (`PASS`)**: Across upright walking, turning, `+8 deg` slope, and push recovery, MuJoCo peak joint torque is `0.3659 N*m` `[simulated]` on `right_ankle_pitch` (`29.6%` below the `0.52 N*m` `XL330-M288-T` stall rating at `5.0 V` `[datasheet]`; Drake discrete-contact spike reaches `0.4670 N*m` `[simulated]`, `10.2%` margin) and peak joint speed is `9.596 rad/s` `[simulated]` (`11.0%` below `10.786 rad/s` / `103 rpm` no-load speed `[datasheet]`). Over a continuous **`10.0`-minute (`600 s`, `30,000`-step)** walk at `25.0 degC` ambient (`0` falls `[simulated]`), the hottest stator winding (`left_knee_pitch`) stabilizes at **`39.25 degC`** `[simulated]` (`36.77 degC` case, `+14.25 K` rise), leaving **`35.75 degC` margin** `[calculated]` below the `75.0 degC` Dynamixel thermal shutdown limit `[datasheet]`.
- **Dynamic Stability & Parameter Sensitivity (`PASS`)**: Mean signed ZMP support-polygon margin is `+34.71 mm` in stance and `+9.96 mm` during `0.16 m/s` walking in MuJoCo (`+21.78 mm` and `+4.41 mm` in Drake) `[simulated]`. Closed-loop single-axis sweeps survive `500/500` steps across **`80%` to `130%` robot mass** (`440 g` to `715 g`), **`0.0` to `1.50 deg` gear backlash** (`5.9x` nominal `XL330` `0.255 deg` deadzone), and **`0.25` to `1.30` Coulomb floor friction** `[simulated]`.
- **3D Tetrahedral Solid FEA (`scikit-fem` `TetP1`, `6,300` elements / `4,368` DoFs per part)**:
- **`knee_clevis_shank` (`PETG-CF`)**: `39.4 N` fall knee strike + `0.40 N*m` servo torque `[simulated]` -> **`14.70 MPa`** governing stress `[calculated]`, `SF_XY = 3.95x`, `SF_Z = 1.90x` (**PASS**).
- **`ankle_horn_clevis` (`PETG-CF`)**: `27.1 N` normal / `24.4 N` shear landing + `0.47 N*m` `[simulated]` -> **`15.96 MPa`** `[calculated]`, `SF_XY = 3.63x`, `SF_Z = 1.75x` (**PASS**).
- **`webbed_foot_sole` (`PLA Matte` flat XY print)**: `18.9 N` forefoot impact at `48 mm` lever `[simulated]` -> **`21.04 MPa`** `[calculated]`, `SF_XY = 2.00x`, `SF_Z = 0.95x` (**PASS** in flat XY print orientation).
- **`neck_s_curve_lower` (`PLA Matte` hollow cable root)**: An unattenuated `108.4 N` hard-floor prone beak/head strike `[simulated]` at the `82 mm` neck lever drives root stress to **`102.78 MPa`** `[calculated]` (`SF_XY = 0.41x`, `SF_Z = 0.19x`), proving a stiff-servo prone fall on hard flooring **will snap an upright-printed PLA neck**. **Required mitigation**: drop `neck_pitch` / `head_pitch` `kp` to `0.15x` on IMU fall detection (`||omega|| > 2.4 rad/s`) so the backdrivable `XL330` yields at `<= 0.18 N*m` (`~11 MPa`, `SF_XY > 3.8x` `[calculated]`), and print `rev B` `neck_s_curve_lower` split-flat in `PETG-CF` with a `3 mm` `TPU 95A` beak bumper.

*Per-joint torque utilization against the `0.52 N*m` `XL330` stall limit and 10-minute (`600 s`) continuous walking winding/case temperature trajectories (`39.25 degC` peak vs `75.0 degC` shutdown).*

*Cross-engine signed ZMP support margins and `100%`-survival closed-loop sensitivity sweeps across mass (`440` to `715 g`), gear backlash (`0` to `1.50 deg`), and floor friction (`0.25` to `1.30`).*

*3D `scikit-fem` `TetP1` structural stress and XY / FDM Z-interlayer safety factors across the knee clevis, ankle clevis, hollow S-neck root, and webbed foot sole.*
### 4.3 Plain-English Electrical Validation (`ngspice-42` + `adom-fields` + STEP Geometry Audit)
> **Plain Verdict on the `rev A` `4.0 A` Power Stage ([validation/electrical_validation_report.json](validation/electrical_validation_report.json)):**
> **YES for standing and walking; NO for unthrottled simultaneous 15-servo fall arrest or stand-up.**
> Adding the `Radxa Zero 3W` (`0.58 A` on `J4`) and `STM32G431` + sensors (`0.12 A` on `U2`) to the simulated `15`-servo currents yields `1.44 A` mean in stance and `2.63` to `2.76 A` mean (`3.79` to `4.36 A` brief peaks) `[simulated]` across walking, turning, `+8 deg` slope, and push recovery. Cycle-by-cycle `400 kHz` `ngspice-42` transients hold `5V_BUS` at **`4.893 V` min** at `7.4 V` nominal battery (`4.687 V` min at `6.0 V` worst-case low line, above the `4.55 V` Radxa brownout floor) `[simulated]`.
> By contrast, `15` `XL330` servos commanded simultaneously near stall during an uncapped stand-up demand **`11.88 A`** in dual-engine simulation `[simulated]` (and up to **`22.75 A`** theoretical locked-rotor stall + compute `[calculated]`), exceeding the `LMR33640DDDAR` high-side switch peak limit (`5.2 A` min / `6.0 A` typ `[datasheet]`, `4.44 A` worst-case DC output ceiling `[calculated]`). In `ngspice-42`, uncapped stand-up collapses `5V_BUS` to **`2.473 V`** (`2.384 V` at `6.0 V` line) and drops `3V3` to **`2.015 V`** `[simulated]`, rebooting both the Radxa SBC and `STM32G431` MCU. **`rev A` operates safely only with firmware slew staging (`<= 3.75 rad/s`) and `INA226` active current guard; `rev B` isolates `5V_SBC` onto a dedicated `2 A` buck and splits the legs across dual `6 A` synchronous servo bucks.**
| Subsystem / Rating Check | Simulated / Calculated Stress | Datasheet / Rule Limit | Status & `rev B` Action |
|---|---|---|---|
| **`U1` `LMR33640DDDAR` Buck** | `2.70 A` walk mean, `4.36 A` gait pk, `11.88 A` uncapped get-up `[simulated]` | `4.0 A` DC cont, `5.2 A` min HS peak `[datasheet]` | **Conditional Pass** (firmware `<= 3.75 rad/s` slew guard; dual `6 A` + isolated `2 A` SBC buck in `rev B`) |
| **`L1` Wurth `74439346047` (`4.7 uH`)** | `4.78 A` gait pk, `6.37 A` fault pk `[simulated]` | `Irated = 8.5 A`, `Isat = 11.0 A` `[datasheet]` | **PASS** (`1.62x` margin `[calculated]` even at `U1` `6.8 A` max clamp; cannot saturate) |
| **`2S` `NP-F550` Battery (`2.6 Ah`)** | `1.18 A` (`0.45C`) walk mean, `4.01 A` (`1.54C`) `6.0 V` pk, `5.30 V` min term `[simulated]` | `5.2 A` (`2.0C`) cont, `6.0` to `8.4 V` `[datasheet]` | **PASS** (`~112 min` walk runtime `[calculated]`; derate gait speed below `6.4 V` OCV) |
| **`U3` `INA226` + `R20` (`0.30 mOhm`)** | `1.39 mV` shunt @ gait pk (`8.33 mA/LSB` raw step, `273.1 A` FS) `[calculated]` | `81.92 mV` FS, `3.0 W` (`100 A`) shunt `[datasheet]` | **PASS Range / Advisory SNR** (zero clipping; raise `R20` to `2.0 mOhm` in `rev B` for `1.25 mA/LSB`) |
| **`J1`/`J2`/`J3` `JST-GH` (`BM03B-GHS`)** | `0.44 A` walk RMS (`J1`), `1.28 A` gait pk (`2.23 A` Drake), `2.67 A` get-up pk `[simulated]` | `1.0 A` per contact (`#26 AWG`) `[datasheet]` | **Peak Exceedance Advisory** (RMS passes thermal, peaks exceed `1.0 A`; use 4-pin dual-power or `2.0 A` `JST-PH` on `J1`/`J2` in `rev B`) |
| **PCB Copper Necks & Peak Thermal (`adom-fields`)** | `46.7 mV` max DC drop (`R20->J2`), `284.3 A/mm^2` at `0.49 mm` `5V_BUS` neck `(115.9, 137.5)`, `U1` `133.4 degC` still / `110.5 degC` moving air at sustained `4.36 A` `[simulated]` | `60 A/mm^2` `1 oz` neck guide, `150 degC` `Tj,max` `[datasheet]` | **Advisory** (safe at `2.70 A` walk mean where board rise is `+41.6 degC`, hot under sustained `4.36 A` stall; widen `(115.9, 137.5)` & `(108.5, 128.3)` bridges in `rev B`) |
| **STEP Export `C2/C3/MC2` Warnings (`2x`)** | Identical `0.273 x 0.611 mm` bbox at `z = 1.51 mm` (`18 nm` OCCT wire tangent on `VBAT` zone fillet `L32487-L32515`), `0.2038 mm` `VBAT`-to-`GND` gap `[calculated]`, `711` manifold solids `[measured]` | `0.14 mm` track / `0.20 mm` zone clearance, `0` DRC errors `[measured]` | **PASS (Cosmetic CAD Only)** (zero electrical/mechanical impact; `78/78` fitted BOM parts present in `.step`, [step_geometry_audit.json](validation/step_geometry_audit.json)) |

*Coupled electrical validation ([sim/simulate_spine_validation.py](sim/simulate_spine_validation.py)): `5V_BUS` demand across scenarios, `JST-GH` branch RMS vs peak currents, `400 kHz` `ngspice-42` rail regulation vs uncapped stand-up brownout (`2.47 V`), and `adom-fields` copper current density at `4.36 A` peak burst.*

*Copper-and-mask polygon inspection ([validation/audit_step_c2_c3_mc2.py](validation/audit_step_c2_c3_mc2.py)) pinpointing the two identical OCCT STEP wire-healing warnings southwest of `C2` (`0.2038 mm` `VBAT`-to-`GND` clearance, `0` DRC errors).*
### 4.4 What Simulation Cannot Prove & 5-Stage Physical Bring-Up Plan
Even dual-engine multibody physics, 3D FEA, SPICE, and 3D field solvers cannot prove: (1) FDM anisotropic interlayer bond strength and press-fit tolerances after thermal cycling, (2) real `XL330` spur-gear stiction spread and `PWM` H-bridge dead-time nonlinearity across batches, (3) `1 Mbps` half-duplex `USART3` stub reflections and ground-bounce bit errors under `di/dt` motor spikes, (4) real `NP-F550` cell aging / spring-contact bounce during `27 N` foot impacts, (5) `VL53L5CX` ToF multi-path glare on glossy floors, (6) soft carpet / tile compliance transitions, (7) wire-bundle fatigue inside the moving S-neck and hip joints, and (8) actual board solder joint quality and inductor acoustic whine.
The complete staged hardware protocol (1. print single left leg first for fit and clevis load test -> 2. bare-board probing bring-up -> 3. `XL330` BAM pendulum rig measurement -> 4. `15`-servo benchtop HIL -> 5. tethered sim-to-real floor walking and compliant fall arrest) is specified in **[docs/validation/PHYSICAL_TEST_PLAN.md](docs/validation/PHYSICAL_TEST_PLAN.md)**.
### 4.5 Native Isaac Lab 3.0 + Newton (`MuJoCo-Warp`) `16,384`-Env Validation & 3-Engine Cross-Check
The native GPU task in [rl/isaaclab_microgoose/](rl/isaaclab_microgoose/) (`[1, 64] -> [1, 15]`, `rsl_rl` PPO with sagittal symmetry augmentation and Rhoban BAM `m6` `XL330` voltage control across `6.0` to `8.4 V` `2S` sag) was validated on an `NVIDIA GeForce RTX 4090 Laptop GPU` across `16,384` parallel environments (`80` iterations = `31,457,280` environment steps in `417.7 s` training / `440.1 s` wall-clock `[measured]`, `75,311` env steps/s with `2x` mirror symmetry active, peak `8,558 MB` VRAM, `106.3 W`, `76.7 C` `[measured]`). By iteration `79`, `88.37%` of all `16,384` parallel environments survived the full `20.0 s` (`1,000`-step) episode (`mean_reward = 86.78`, `0` NaN terminations `[measured]`).
Packing the exported single-file opset-18 artifact ([rl/policies/isaaclab_newton_microgoose_short.onnx](rl/policies/isaaclab_newton_microgoose_short.onnx), `8.64e-7` max TorchScript diff `[measured]`) and replaying a `10.0 s` stand, `0.25 m/s` forward walk, yaw turn, and settle schedule ([validation/isaaclab_newton_short_validation.json](validation/isaaclab_newton_short_validation.json)) confirmed zero-shot survival across both independent CPU engines:
- **CPU MuJoCo + Rhoban BAM `m6` `XL330`**: `10.0 s` survived (`max_tilt = 8.75 deg`), `0.6898 m` forward displacement (`0.1721 m/s` mean forward speed `[simulated]`), `3.865 A` mean total `2S` bus current.
- **MIT/TRI Drake `1.58.0` `MultibodyPlant` + SAP**: `10.0 s` survived (`max_tilt = 21.49 deg`), `0.7141 m` forward displacement (`0.1765 m/s` mean forward speed, within `3.5%` of MuJoCo `[simulated]`).
- **Hardware Design Finding (`beak_pitch` Closed-Stop Stall)**: Because `beak_pitch` (`dxlId 15`) has `[0.0, 0.663 rad]` limits where `0.0 rad` is the hard closed stop, negative policy offsets around `q_default = 0.0 rad` hold `1.01 A` RMS against the mechanical stop (`107.0 C` `10`-minute rise `[simulated]`). Clamping `q_target[14] >= 0.03 rad` in firmware/runtime eliminates closed-stop stall current before full `5,000`-iteration gait training.
### 4.6 Full-RoM Electronics, Optical/RF FoV & Serviceability Clearance Audit
Beyond the nominal standing-pose check (`66` solids, `0` collisions), [validation/check_electronics_and_rom_clearance.py](validation/check_electronics_and_rom_clearance.py) swept all `15` joints across full hardware limits and dynamic gait/get-up poses (`806` CAD mesh pairs enabled) plus optical ray-casting, RF keepout, wire bend radii, connector unmating strokes, and battery extraction ([validation/electronics_clearance_report.json](validation/electronics_clearance_report.json)):
- **`VL53L5CX` `8x8` ToF FoV (`FAIL` on Rev A)**: `64/64` zones (`45 x 45 deg` cone) intersect the `beak_upper` ridge `0.21 mm` forward of the recessed sensor aperture across `beak_pitch` `0` to `38 deg` `[calculated]`. Rev B moves the ToF window flush with the upper-beak dorsal chamfer.
- **Board LEDs & `Radxa Zero 3W` RF Keepout (`FAIL` on Rev A)**: `D1` (`5V_OK`) has `40.8%` upper-hemisphere visibility (`PASS`), whereas `D2` (`STATUS_RGB`) sits `6.5 mm` beneath the `radxa_mezzanine_carrier` crossbar (`23.0%` open) and the `Radxa` `2.4/5 GHz` ceramic antenna sits `1.79 mm` from `M2.5` steel mounting screws vs the `10.0 mm` keepout target `[calculated]`.
- **Full-RoM All-Pairs Mesh Sweep (`FAIL` on Rev A extreme stops; contralateral STL bug `FIXED`)**: After fixing the `Workplane("XZ")` `-Y` sign and cross-brace air-gap bug in [mechanical/build_microgoose_cad.py](mechanical/build_microgoose_cad.py) (`0` contralateral XZ-bug pairs across all `23` single-solid STLs, down from `28`), `75` of `806` mesh pairs still contact at extreme hardware joint limits or inward hip-roll adduction stops (including `torso_core_cradle` vs hip brackets at full pitch/roll limits) `[simulated]`.
- **Cable Bundle Bend Radius, `J1..J5` Mating & Battery Sled (`FAIL` on Rev A)**: Tightest wire bends reach `1.88x` OD on `battery_vbat_feed` and `2.65x` OD on `neck_head_dxl` (vs `3.5x` static / `5.0x` dynamic target); `J3` has `6.35 mm` vertical clearance under the `Radxa` mezzanine vs the `7.5 mm` `JST-GH` vertical unmate stroke (`14/15` `XL330` ports pass); and tool-free `-X` `NP-F550` sled extraction is blocked by `6.75 mm` `torso_shell` tail fairing overlap `[calculated]`.
- **Camera Documentation Audit & Non-Invasive Rev B Proposal (`PASS`)**: Verified `0` false camera claims across the repo; ray-cast a non-invasive `IMX219` `120 deg` wide-angle brow pod at `(52.5, 0.0, 280.2) mm` (`-10 deg` pitch) achieving unobstructed forward horizon coverage with `33.8%` lower-frame beak tip reference `[calculated]`.

*Summary of the 8-part electronics, optical/RF FoV, full-RoM mesh clearance, wire bundle bend-radius, connector access, and battery extraction audit ([validation/electronics_clearance_report.json](validation/electronics_clearance_report.json)).*
---
## Components
| References | Qty | Value | MPN | Manufacturer | Wiki page |
|---|---|---|---|---|---|
| MP1, MP2, MP3, MP4 | 4 | GND | MachinePinLargeShort | Adom | project library (no public page yet) |
| MC1, MC2, MC3, MC5, MC9, MC4, MC6, MC7, MC8, MC10 | 10 | VBAT | MachineContactMedium | Adom | project library (no public page yet) |
| U1 | 1 | LMR33640DDDAR | LMR33640DDDAR | Texas Instruments | project library (no public page yet) |
| L1 | 1 | 4.7u | 74439346047 | Wurth Elektronik | project library (no public page yet) |
| R20 | 1 | 0m3 | CSS2H-2512R-L300F | Bourns | project library (no public page yet) |
| U2 | 1 | AP2114H-3.3 | AP2114H-3.3TRG1 | Diodes Incorporated | project library (no public page yet) |
| U3 | 1 | INA226 | INA226AIDGST | Texas Instruments | project library (no public page yet) |
| U4 | 1 | STM32G431CBT6 | STM32G431CBT6 | STMicroelectronics | project library (no public page yet) |
| U5 | 1 | BMI270 | BMI270 | Bosch Sensortec | project library (no public page yet) |
| U6 | 1 | 74LVC1G126 | SN74LVC1G126DBVR | Texas Instruments | project library (no public page yet) |
| U7 | 1 | 74AHCT1G125 | SN74AHCT1G125DBVR | Texas Instruments | project library (no public page yet) |
| J1, J2, J3 | 3 | LEG_L_DXL | BM03B-GHS-TBT | JST | project library (no public page yet) |
| J4, J5 | 2 | RADXA_LINK | BM05B-GHS-TBT | JST | project library (no public page yet) |
| D1 | 1 | 5V_OK | IN-S63BTG | Inolux | project library (no public page yet) |
| D2 | 1 | STATUS_RGB | WS2812B-2020 | Worldsemi | project library (no public page yet) |
| R1, R6 | 2 | 47k | CQ03SAF4702T5E | UNI-ROYAL | project library (no public page yet) |
| R2, R12 | 2 | 33k | CQ03SAF3302T5E | UNI-ROYAL | project library (no public page yet) |
| R3, R4, R7, R8, R9, R10, R14, R15 | 8 | 10k | CQ03WAF1002T5E | UNI-ROYAL | project library (no public page yet) |
| R5 | 1 | 150k | 0603SAF1503T5E | UNI-ROYAL | project library (no public page yet) |
| R11 | 1 | 100k | CQ03WAF1003T5E | UNI-ROYAL | project library (no public page yet) |
| R13 | 1 | 1k | CQ03WAF1001T5E | UNI-ROYAL | project library (no public page yet) |
| R16, R17 | 2 | 4k7 | CQ03SAF4701T5E | UNI-ROYAL | project library (no public page yet) |
| R18, R19 | 2 | 100R | CQ03WAF1000T5E | UNI-ROYAL | project library (no public page yet) |
| C1, C2, C3, C26, C27, C28, C29 | 7 | 10u | CL21A106KOQNNNG | Samsung Electro-Mechanics | project library (no public page yet) |
| C4, C5, C11, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25 | 15 | 100n | 0603B104J500CT | Walsin | project library (no public page yet) |
| C6, C13 | 2 | 1u | 0603B105K160CT | Walsin | project library (no public page yet) |
| C7, C8, C9, C10 | 4 | 22u | CL21A226MPQNNNE | Samsung Electro-Mechanics | project library (no public page yet) |
| C12 | 1 | 4u7 | 0603X475K100CT | Walsin | project library (no public page yet) |
## Install every part in KiCad
This page is a KiCad Plugin and Content Manager repository. In KiCad, open **Plugin and Content Manager**, **Manage...**, add this URL, then install **Microgoose** from the Libraries tab:
```
https://wiki.adom.inc/api/pages/drew2/microgoose/files/pcm/repository.json
```
The library appears as `PCM_microgoose` (package `inc.adom.wiki.drew2.microgoose`): every symbol, footprint and 3D model of this board, from the parts' wiki pages.
<!-- aiflow:steps -->
## How this board was built
Every step of the build, in order, each with its own page of evidence (checks, screenshots, the AI's drawings and usage), written by [adom-aiflow](https://wiki.adom.inc/adom/adom-aiflow) as the run went.
**1. Intake**: read the prompt and the requirements. [The evidence](steps/01-intake/README.md)
**2. Design rules**: choose the fab, load its design rules. [The evidence](steps/02-rules/README.md)
**3. Circuit design**: datasheet math and part values. [The evidence](steps/03-design/README.md)
**4. Test plan**: what to measure on the workcell, a probe spot for each. [The evidence](steps/04-test-plan/README.md)
**5. Sourcing**: every part in stock, with an MPN. [The evidence](steps/05-sourcing/README.md)
**6. Parts on the wiki**: every part's wiki page, shown as it is picked. [The evidence](steps/06-parts/README.md)
**7. Project page**: README rev 1, component table, KiCad PCM repo. [The evidence](steps/07-project-page/README.md)
**8. Library**: symbols, footprints and 3D from the wiki. [The evidence](steps/08-library/README.md)
**9. Schematic**: drawn live, checked against the netlist. [The evidence](steps/09-schematic/README.md)
**10. SPICE simulation**: the drawn schematic in SPICE: start-up, ripple, load step. [The evidence](steps/10-simulation/README.md)
**11. Components**: wiki component identity and CAD audit. [The evidence](steps/11-components/README.md)
**12. 3D models**: every 3D model bound and upright. [The evidence](steps/12-models/README.md)
**13. Placement**: parts placed for current and heat. [The evidence](steps/13-placement/README.md)
**14. Routing**: every trace routed, DRC clean. [The evidence](steps/14-routing/README.md)
**15. Heatsink vias**: via arrays under the hot parts. [The evidence](steps/15-thermal-vias/README.md)
**16. Copper pours**: copper pours and stitching. [The evidence](steps/16-pours/README.md)
**17. Rounded corners**: sharp board corners rounded. [The evidence](steps/17-outline/README.md)
**18. Current**: current density on every loaded net. [The evidence](steps/18-current/README.md)
**19. Thermal**: temperature rise against the budget. [The evidence](steps/19-thermal/README.md)
**20. Fields**: current and heat solved in 3D. [The evidence](steps/20-fields/README.md)
**21. Pour walkthrough**: each pour net lit in turn. [The evidence](steps/21-nets/README.md)
**22. Silkscreen**: labels, polarity, pinouts, both faces. [The evidence](steps/22-silkscreen/README.md)
**23. 3D board**: the finished board in 3D. [The evidence](steps/23-3d/README.md)
**24. Finish line**: 0 unconnected, 0 errors, every check passed. [The evidence](steps/24-finish/README.md)
**25. Gerbers, BOM, CPL**: manufacturing files written and checked. [The evidence](steps/25-export/README.md)
<!-- /aiflow:steps -->