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
3e356d3
What Simulation Cannot Prove and Physical Test Plan
Every numerical value in this document carries an explicit provenance tag: [simulated] (from MuJoCo 4.0.1, MIT/TRI Drake 1.58.0, ngspice-42, or adom-fields 0.10.8), [calculated] (from closed-form analytical equations), [measured] (from actual CAD, Gerber, STEP, or container runtime execution), or [datasheet] (from manufacturer specifications).
1. Eight Physical Realities That Simulation Cannot Prove
Dual-engine physics (MuJoCo 4.0.1 soft convex contact plus MIT/TRI Drake 1.58.0 Featherstone tree and discrete SAP contact), scikit-fem 3D tetrahedral FEA, ngspice-42 switching transients, and adom-fields 2D copper/electro-thermal solves catch geometric stops, current-limit foldback, connector pin overloads, and local copper necks before cutting hardware. They still cannot prove eight physical behaviors that require real parts on the bench:
- FDM Interlayer Bond Scatter and Moisture Sensitivity: Our 3D FEA uses Bambu Lab datasheet Z-axis tensile strength (
28.0 MPa[datasheet]forPETG-CFand20.0 MPa[datasheet]forPLA Matte). Real Z-layer fracture strength varies by30%to50%[calculated]with chamber temperature, seam position, cooling fan duty, and absorbed filament moisture. Only coupon pull/bend testing and impact drops verify actual layer adhesion. - Tolerance Stack-Up, Hole Shrinkage, and Wireloom Stiffness: CAD models nominal clearances (
0.15 mm[calculated]radial horn pocket clearance and0.20 mm[calculated]clevis cheek play) and zero-stiffness wire splines. Real FDM bores shrink by0.08to0.18 mm[calculated],M2self-tapping fasteners induce hoop stress in thin bosses, and26 AWGPVC/silicone cable bundles add non-linear restoring torque inside the12.0 mm[measured]hollow S-neck channel. - Real XL330-M288-T Gear Wear, Backlash Growth, and Closed-Shell Heat Trapping: The BAM actuator model assumes stationary gear backlash (
0.255 deg=0.00445 rad[calculated]nominal, swept to1.50 deg[simulated]) and uniform19.5 K/W[calculated]winding-to-case thermal resistance. Real plastic/metal hybrid geartrains wear under repeated foot-strike shock, increasing deadzone asymmetrically onknee_pitchandankle_pitch, while enclosed PLA shell cavities restrict natural convection aroundhip_pitch. - JST-GH Contact Fretting and Crimp Fatigue Under Vibration: The
BM03B-GHS-TBT(1.25 mmpitch) header is rated for1.0 A[datasheet]per contact. While walking RMS leg current is0.51to0.62 A[simulated], dynamic stance and push-recovery peaks reach1.5to2.5 A[simulated]. Simulation cannot capture tin-contact micro-fretting oxidation or26 AWGcrimp strand fatigue across100,000+[calculated]stride cycles. - Switching and Brushed-Motor EMI Coupled Into Single-Wire 1 Mbps UART and I2C:
U1(LMR33640DDDAR,400 kHz[datasheet],6 ns[datasheet]switch rise time) and15internal servo PWM H-bridges share ground return paths with single-ended1 Mbpshalf-duplexDXL_DATA(J1..J3) and the400 kHzneckI2C1cable (J5). Quasistatic field solves cannot prove zero CRC packet corruption under simultaneous15-servo commutation noise. - Cold or Aged 2S Li-Ion Cell DCIR and Pack BMS Overcurrent Trip: Our power model uses
0.165 Ohm[calculated]combinedNP-F550pack, spring sled, and battery lead resistance. Aged or cold (< 10 degC)18650cells inside commercialNP-F550packs can double internal DCIR above0.32 Ohm[calculated], and third-party pack protection boards (DW01+ dual MOSFETs) can nuisance-trip between5.0 Aand6.5 A[datasheet]on sub-millisecond motor inrush spikes. - Deformable, Snagging, and Low-Friction Real Floors: Both simulators model rigid planar ground with isotropic Coulomb friction. Neither proves toe-web clearance over looped carpet pile (which can snag the
84.0 x 50.0 mm[measured]webbed forefoot during swing), gravel Compliance, or thin-film water slip on polished tile. - Radxa Zero 3W Linux Preemption Jitter and Wi-Fi TX Current Spikes: Container PTY loopback measured
19.993 ms[measured]mean50 Hzcontrol period (0.160 ms[measured]ONNX inference), but realRK3566thermal throttling and802.11acburst transmissions (+0.35 A[datasheet]transient peaks on5V_BUS) require oscilloscope and hardware GPIO jitter measurement on the assembled robot.
2. Five-Stage Physical Bring-Up and Validation Protocol
Hardware bring-up proceeds strictly one gate at a time. No stage advances until every pass criterion in the preceding gate is recorded with [measured] bench evidence.
Stage 1: Print One Leg First for Mechanical Fit and Coupon Destructive Check
Before launching the full 3-plate 16h 38m [simulated] (427.9 g [simulated]) Bambu Lab H2D production print, print one 5-DoF left leg subassembly (left_hip_yaw_bracket, left_hip_roll_clevis, left_thigh_shell, left_shank_frame, left_foot_sole = ~48 g [calculated], ~2h 10m [calculated]) plus one hollow neck_s_curve_lower test piece:
- Servo Pocket and Horn Fit: Seat five
XL330-M288-T(20.0 x 34.0 x 26.0 mm[datasheet]) casings and idle horns into thePETG-CFbrackets. Verify snug slip fit (0.05to0.15 mm[calculated]clearance) with zero wall cracking when torquingM2 x 6 mmmounting screws to0.18 N*m[datasheet]. - Full Joint Range of Motion Sweep: Manually sweep all
5leg joints against hard stops with a digital protractor and verify CAD range parity:hip_yaw[-30, +30 deg][measured],hip_roll[-35, +35 deg][measured],hip_pitch[-75, +60 deg][measured],knee_pitch[0, +110 deg][measured], andankle_pitch[-65, +65 deg][measured]. - Daisy-Chain Cable Pinch Check: Thread the
5-servoJST-GH26 AWGleg cable bundle through the hip, thigh, and knee routing clips and cycle the knee100times across[0, +110 deg], verifying zero insulation chafing and>= 4.0 mm[calculated]minimum bend radius. - Coupon Proof Load: Apply a
35.0 N[calculated](2.0xpeak walking landing force) static hang weight to theleft_shank_frameknee and ankle clevises and verify zero permanent set (< 0.05 mm[measured]) and zero Z-layer delamination. Confirmneck_s_curve_lowerside-flatPETG-CFprint survives a3.0 N*m[calculated]root bending proof test before printing the remaining2plates.
Stage 2: In-House 2-Layer Spine Board Fabrication and Probing Workcell Bring-Up
Fabricate microgoose-spine rev A (70.0 x 70.0 mm [measured], 1.6 mm [measured] FR-4, 1 oz / 35 um [datasheet] outer copper, 3rdPartyFab rules) and execute automated + bench bring-up on the probing workcell using the dedicated Molecule contacts (MP1..MP4, MC1..MC10) and top-side test points (TP1..TP7):
- Unpowered Optical and Impedance Gate: Inspect solder paste reflow on
U1(LMR33640exposedGNDpad9),U5(BMI2700.5 mmpitchLGA-14), andU4(STM32G431LQFP-48). Probe DC resistance toGND(MP1): verifyVBAT(TP1/MC1)> 50 kOhm[calculated],5V_BUS(TP4/MC4)> 10 kOhm[calculated],3V3(TP5/MC10)> 2 kOhm[calculated], andR20Kelvin sense resistance= 0.30 mOhm +/- 5%[datasheet]via 4-wire Kelvin milliohmmeter. - Current-Limited First Power-On: Apply
7.40 V[calculated](0.25 Acurrent limit) from a programmable bench supply toMC1/MC2(VBAT) andMC3(GND). Verify quiescent board input current< 35 mA[calculated],5V_OKgreen LED (D1) lit,5V_BUS(TP4)= 5.00 Vwithin[4.90 V, 5.10 V][calculated],3V3(TP5)= 3.30 Vwithin[3.25 V, 3.35 V][datasheet], andSW(TP3) switching cleanly at400 kHz +/- 10%[datasheet]with< 0.8 V[calculated]overshoot. - Electronic-Load Power Stage Stress Test: Connect a dynamic electronic load across
MC4(5V_BUS) andMC5(GND).- Run a
0.45 Ato4.00 A(15 usslew) pulsed step acrossVBAT = 6.0 V, 7.4 V, 8.4 V: verify5V_BUStransient droop< 250 mV[simulated](V_min >= 4.75 V[calculated]) and ripple< 25 mVpp[simulated]. - Deliberately ramp static load past
4.4 Ato5.8 Ato measure the exact hardwareLMR33640foldback onset threshold (expected4.44 Amin to5.57 Atyp[calculated]) and verify clean recovery with zeroU1orL1damage. - Verify
0.49 mm5V_BUSneck(115.9, 137.5)[simulated]andU1package temperature rise< 45.0 degC[simulated]at2.5 Acontinuous and< 65.0 degC[simulated]at4.0 A(60 sdwell) with a thermal camera.
- Run a
- MCU Flash and Sensor Bus Check: Flash
firmware/overMC6..MC9(SWDIO,SWCLK,NRST,GND). VerifyBMI270(0x68),INA226(0x40),WS2812B(D2), and1 Mbpshalf-duplexUSART3loopback before connecting any servo or Radxa SBC.
Stage 3: BAM Pendulum Rig Identification With Real XL330-M288-T Servos
Mount 3 randomly sampled XL330-M288-T units (testing unit-to-unit spread) into the Plate 3 printed BAM pendulum rig with a calibrated 150.0 g [calculated] brass/steel point mass at L = 75.0 mm [calculated] lever arm, powered through the real microgoose-spine PCB:
- Multi-Voltage Trajectory Sweep: Execute
rl/bam/fit_xl330.pychirp (0.5to12.0 Hz), step, and free-swing backdrive trajectories at200 HzacrossVBAT = 6.0 V, 7.4 V, 8.4 V, loggingPresent_Position,Present_Velocity,Present_PWM,INA2265V_BUScurrent, and5V_BUSvoltage simultaneously. - Parameter Re-Fit and Sim Parity Gate: Compare
[measured]hardware parameters against our Phase 2 simulation priors (armature = 3.443e-4 kg*m^2[calculated],kp_servo = 1.985 N*m/rad[simulated],kd_servo = 0.0445 N*m*s/rad[simulated],coulomb_friction = 0.024 N*m[simulated],deadzone = 0.00445 rad[calculated],R_winding = 3.40 Ohm[datasheet]). - Retrain Trigger: If any identified motor parameter differs by
> 12%[calculated]from the Phase 2 prior or held-out pendulum tracking RMSE exceeds0.15 deg[calculated], updaterl/bam/xl330_params.jsonand run a10-minute (0.11 GPU-hour[measured]) CUDA PPO fine-tune + dual-engine sim-to-sim check before Stage 4.
Stage 4: 15-Servo Hardware-in-the-Loop (HIL) and 10-Minute Thermal Soak
Assemble the full 15-DoF robot on an elevated benchtop suspension stand (feet hanging free, then lightly spring-loaded) with Radxa Zero 3W (J4), head VL53L5CX + BMI270 (J5), and NP-F550 2S battery installed:
- Bus Integrity and Timing Gate: Run
goosectl up(200 HzSTM32G431Sync Read/Write +50 HzRadxa ONNX inference) for10.0 minutes(120,000DXL bus cycles). RequireUSART3CRC/timeout error rate< 0.01%[calculated],COBSUSART2link error count= 0[calculated], and99.9th-percentile50 Hzcontrol tick jitter< 1.5 ms[calculated]. - Firmware Current-Budgeted Stand-Up Gate: Trigger
FallRecoveryController(mode="current_budgeted")from folded limb postures while scopingTP4(5V_BUS) andINA226current telemetry. Confirm firmware3.75 rad/s[simulated]slew rate + activeINA226guard (I_guard = 3.85 A[calculated]) keepsV_5V_BUS >= 4.80 V[calculated]with zero Radxa Zero 3W brownouts, AND confirm IMU fall-reflex drops neck/headkpto0.15x[calculated]within10 ms[calculated]. - Connector and Servo Thermal Soak: Run
10 minutesof continuous spring-resisted walking gait on the stand and capture thermal images ofJ1..J3JST-GHhousings (require< 45.0 degC[calculated]),left_knee_pitch/right_knee_pitchservo cases (predicted38.6 degC[simulated], require< 55.0 degC[calculated]vs75.0 degC[datasheet]shutdown), andU1buck regulator.
Stage 5: Tethered Gantry to Untethered Sim-to-Real Floor Validation
Move from the bench stand to a flat rubberized walkway under a slack overhead safety lanyard (25 mm slack so the tether carries 0 N during upright walking and catches before beak floor contact until final drop tests):
- Closed-Loop Standing and Head Tracking (
60 s): Executegoosectl standplus sinusoidal head pitch/yaw sweeps. Verify CoM/ZMP stability (|roll|, |pitch| < 8.0 deg[simulated],I_5V_meannear1.44 A[simulated]). - Level Forward Walk and Yaw Turn (
5 x 2.0 mtrials): Commandgoosectl walk --vx 0.16 --vy 0.0 --wz 0.0and--wz 0.40. Compare[measured]forward speed (0.16to0.19 m/s[simulated]), stride frequency (1.8 Hz[simulated]), and battery discharge rate (~1.25 A[simulated]@7.4 V) against MuJoCo and Drake logs. - Calibrated Lateral Push Recovery: Swing a padded
0.25 kg[calculated]pendulum striker into the lateral torso at calibrated impulses (0.15to0.26 m/s[simulated]delta-v) and verify autonomous step-out recovery within3strides. - Inclined Ramp (
+8.0 deg=14.1%grade): Walk up and down a1.5 mtextured plywood ramp at+8.0 deg[simulated], loggingknee_pitchandankle_pitchpeak currents andJ1/J2pin drop. - Padded Supine Knockdown and Stand-Up: On a
10 mmEVA foam mat (protecting thePLAshell before Rev BPETG-CFneck + TPU beak tip), tip Microgoose onto its back (> 80 degtilt), verify IMU fall classification (supinevsprone), verify stagedcurrent_budgetedstand-up (I_5V <= 4.0 A[simulated]) or safe compliant hold onpronefalls (pending Rev B-95 deghip_pitchclevis modification), and record real[measured]metrics intovalidation/hardware_bringup_results.json.
# What Simulation Cannot Prove and Physical Test Plan
Every numerical value in this document carries an explicit provenance tag: `[simulated]` (from MuJoCo 4.0.1, MIT/TRI Drake 1.58.0, `ngspice-42`, or `adom-fields` 0.10.8), `[calculated]` (from closed-form analytical equations), `[measured]` (from actual CAD, Gerber, STEP, or container runtime execution), or `[datasheet]` (from manufacturer specifications).
---
## 1. Eight Physical Realities That Simulation Cannot Prove
Dual-engine physics (`MuJoCo 4.0.1` soft convex contact plus `MIT/TRI Drake 1.58.0` Featherstone tree and discrete SAP contact), `scikit-fem` 3D tetrahedral FEA, `ngspice-42` switching transients, and `adom-fields` 2D copper/electro-thermal solves catch geometric stops, current-limit foldback, connector pin overloads, and local copper necks before cutting hardware. They still cannot prove eight physical behaviors that require real parts on the bench:
1. **FDM Interlayer Bond Scatter and Moisture Sensitivity**: Our 3D FEA uses Bambu Lab datasheet Z-axis tensile strength (`28.0 MPa` `[datasheet]` for `PETG-CF` and `20.0 MPa` `[datasheet]` for `PLA Matte`). Real Z-layer fracture strength varies by `30%` to `50%` `[calculated]` with chamber temperature, seam position, cooling fan duty, and absorbed filament moisture. Only coupon pull/bend testing and impact drops verify actual layer adhesion.
2. **Tolerance Stack-Up, Hole Shrinkage, and Wireloom Stiffness**: CAD models nominal clearances (`0.15 mm` `[calculated]` radial horn pocket clearance and `0.20 mm` `[calculated]` clevis cheek play) and zero-stiffness wire splines. Real FDM bores shrink by `0.08` to `0.18 mm` `[calculated]`, `M2` self-tapping fasteners induce hoop stress in thin bosses, and `26 AWG` PVC/silicone cable bundles add non-linear restoring torque inside the `12.0 mm` `[measured]` hollow S-neck channel.
3. **Real XL330-M288-T Gear Wear, Backlash Growth, and Closed-Shell Heat Trapping**: The BAM actuator model assumes stationary gear backlash (`0.255 deg` = `0.00445 rad` `[calculated]` nominal, swept to `1.50 deg` `[simulated]`) and uniform `19.5 K/W` `[calculated]` winding-to-case thermal resistance. Real plastic/metal hybrid geartrains wear under repeated foot-strike shock, increasing deadzone asymmetrically on `knee_pitch` and `ankle_pitch`, while enclosed PLA shell cavities restrict natural convection around `hip_pitch`.
4. **JST-GH Contact Fretting and Crimp Fatigue Under Vibration**: The `BM03B-GHS-TBT` (`1.25 mm` pitch) header is rated for `1.0 A` `[datasheet]` per contact. While walking RMS leg current is `0.51` to `0.62 A` `[simulated]`, dynamic stance and push-recovery peaks reach `1.5` to `2.5 A` `[simulated]`. Simulation cannot capture tin-contact micro-fretting oxidation or `26 AWG` crimp strand fatigue across `100,000+` `[calculated]` stride cycles.
5. **Switching and Brushed-Motor EMI Coupled Into Single-Wire 1 Mbps UART and I2C**: `U1` (`LMR33640DDDAR`, `400 kHz` `[datasheet]`, `6 ns` `[datasheet]` switch rise time) and `15` internal servo PWM H-bridges share ground return paths with single-ended `1 Mbps` half-duplex `DXL_DATA` (`J1..J3`) and the `400 kHz` neck `I2C1` cable (`J5`). Quasistatic field solves cannot prove zero CRC packet corruption under simultaneous `15`-servo commutation noise.
6. **Cold or Aged 2S Li-Ion Cell DCIR and Pack BMS Overcurrent Trip**: Our power model uses `0.165 Ohm` `[calculated]` combined `NP-F550` pack, spring sled, and battery lead resistance. Aged or cold (`< 10 degC`) `18650` cells inside commercial `NP-F550` packs can double internal DCIR above `0.32 Ohm` `[calculated]`, and third-party pack protection boards (`DW01` + dual MOSFETs) can nuisance-trip between `5.0 A` and `6.5 A` `[datasheet]` on sub-millisecond motor inrush spikes.
7. **Deformable, Snagging, and Low-Friction Real Floors**: Both simulators model rigid planar ground with isotropic Coulomb friction. Neither proves toe-web clearance over looped carpet pile (which can snag the `84.0 x 50.0 mm` `[measured]` webbed forefoot during swing), gravel Compliance, or thin-film water slip on polished tile.
8. **Radxa Zero 3W Linux Preemption Jitter and Wi-Fi TX Current Spikes**: Container PTY loopback measured `19.993 ms` `[measured]` mean `50 Hz` control period (`0.160 ms` `[measured]` ONNX inference), but real `RK3566` thermal throttling and `802.11ac` burst transmissions (`+0.35 A` `[datasheet]` transient peaks on `5V_BUS`) require oscilloscope and hardware GPIO jitter measurement on the assembled robot.
---
## 2. Five-Stage Physical Bring-Up and Validation Protocol
Hardware bring-up proceeds strictly one gate at a time. No stage advances until every pass criterion in the preceding gate is recorded with `[measured]` bench evidence.
### Stage 1: Print One Leg First for Mechanical Fit and Coupon Destructive Check
Before launching the full `3`-plate `16h 38m` `[simulated]` (`427.9 g` `[simulated]`) Bambu Lab H2D production print, print **one 5-DoF left leg subassembly** (`left_hip_yaw_bracket`, `left_hip_roll_clevis`, `left_thigh_shell`, `left_shank_frame`, `left_foot_sole` = `~48 g` `[calculated]`, `~2h 10m` `[calculated]`) plus one hollow `neck_s_curve_lower` test piece:
1. **Servo Pocket and Horn Fit**: Seat five `XL330-M288-T` (`20.0 x 34.0 x 26.0 mm` `[datasheet]`) casings and idle horns into the `PETG-CF` brackets. Verify snug slip fit (`0.05` to `0.15 mm` `[calculated]` clearance) with zero wall cracking when torquing `M2 x 6 mm` mounting screws to `0.18 N*m` `[datasheet]`.
2. **Full Joint Range of Motion Sweep**: Manually sweep all `5` leg joints against hard stops with a digital protractor and verify CAD range parity: `hip_yaw` `[-30, +30 deg]` `[measured]`, `hip_roll` `[-35, +35 deg]` `[measured]`, `hip_pitch` `[-75, +60 deg]` `[measured]`, `knee_pitch` `[0, +110 deg]` `[measured]`, and `ankle_pitch` `[-65, +65 deg]` `[measured]`.
3. **Daisy-Chain Cable Pinch Check**: Thread the `5`-servo `JST-GH` `26 AWG` leg cable bundle through the hip, thigh, and knee routing clips and cycle the knee `100` times across `[0, +110 deg]`, verifying zero insulation chafing and `>= 4.0 mm` `[calculated]` minimum bend radius.
4. **Coupon Proof Load**: Apply a `35.0 N` `[calculated]` (`2.0x` peak walking landing force) static hang weight to the `left_shank_frame` knee and ankle clevises and verify zero permanent set (`< 0.05 mm` `[measured]`) and zero Z-layer delamination. Confirm `neck_s_curve_lower` side-flat `PETG-CF` print survives a `3.0 N*m` `[calculated]` root bending proof test before printing the remaining `2` plates.
### Stage 2: In-House 2-Layer Spine Board Fabrication and Probing Workcell Bring-Up
Fabricate `microgoose-spine` rev A (`70.0 x 70.0 mm` `[measured]`, `1.6 mm` `[measured]` FR-4, `1 oz` / `35 um` `[datasheet]` outer copper, `3rdPartyFab` rules) and execute automated + bench bring-up on the probing workcell using the dedicated Molecule contacts (`MP1..MP4`, `MC1..MC10`) and top-side test points (`TP1..TP7`):
1. **Unpowered Optical and Impedance Gate**: Inspect solder paste reflow on `U1` (`LMR33640` exposed `GND` pad `9`), `U5` (`BMI270` `0.5 mm` pitch `LGA-14`), and `U4` (`STM32G431` `LQFP-48`). Probe DC resistance to `GND` (`MP1`): verify `VBAT` (`TP1` / `MC1`) `> 50 kOhm` `[calculated]`, `5V_BUS` (`TP4` / `MC4`) `> 10 kOhm` `[calculated]`, `3V3` (`TP5` / `MC10`) `> 2 kOhm` `[calculated]`, and `R20` Kelvin sense resistance `= 0.30 mOhm +/- 5%` `[datasheet]` via 4-wire Kelvin milliohmmeter.
2. **Current-Limited First Power-On**: Apply `7.40 V` `[calculated]` (`0.25 A` current limit) from a programmable bench supply to `MC1`/`MC2` (`VBAT`) and `MC3` (`GND`). Verify quiescent board input current `< 35 mA` `[calculated]`, `5V_OK` green LED (`D1`) lit, `5V_BUS` (`TP4`) `= 5.00 V` within `[4.90 V, 5.10 V]` `[calculated]`, `3V3` (`TP5`) `= 3.30 V` within `[3.25 V, 3.35 V]` `[datasheet]`, and `SW` (`TP3`) switching cleanly at `400 kHz +/- 10%` `[datasheet]` with `< 0.8 V` `[calculated]` overshoot.
3. **Electronic-Load Power Stage Stress Test**: Connect a dynamic electronic load across `MC4` (`5V_BUS`) and `MC5` (`GND`).
- Run a `0.45 A` to `4.00 A` (`15 us` slew) pulsed step across `VBAT = 6.0 V, 7.4 V, 8.4 V`: verify `5V_BUS` transient droop `< 250 mV` `[simulated]` (`V_min >= 4.75 V` `[calculated]`) and ripple `< 25 mVpp` `[simulated]`.
- Deliberately ramp static load past `4.4 A` to `5.8 A` to measure the exact hardware `LMR33640` foldback onset threshold (expected `4.44 A` min to `5.57 A` typ `[calculated]`) and verify clean recovery with zero `U1` or `L1` damage.
- Verify `0.49 mm` `5V_BUS` neck `(115.9, 137.5)` `[simulated]` and `U1` package temperature rise `< 45.0 degC` `[simulated]` at `2.5 A` continuous and `< 65.0 degC` `[simulated]` at `4.0 A` (`60 s` dwell) with a thermal camera.
4. **MCU Flash and Sensor Bus Check**: Flash `firmware/` over `MC6..MC9` (`SWDIO`, `SWCLK`, `NRST`, `GND`). Verify `BMI270` (`0x68`), `INA226` (`0x40`), `WS2812B` (`D2`), and `1 Mbps` half-duplex `USART3` loopback before connecting any servo or Radxa SBC.
### Stage 3: BAM Pendulum Rig Identification With Real XL330-M288-T Servos
Mount `3` randomly sampled `XL330-M288-T` units (testing unit-to-unit spread) into the Plate 3 printed BAM pendulum rig with a calibrated `150.0 g` `[calculated]` brass/steel point mass at `L = 75.0 mm` `[calculated]` lever arm, powered through the real `microgoose-spine` PCB:
1. **Multi-Voltage Trajectory Sweep**: Execute `rl/bam/fit_xl330.py` chirp (`0.5` to `12.0 Hz`), step, and free-swing backdrive trajectories at `200 Hz` across `VBAT = 6.0 V, 7.4 V, 8.4 V`, logging `Present_Position`, `Present_Velocity`, `Present_PWM`, `INA226` `5V_BUS` current, and `5V_BUS` voltage simultaneously.
2. **Parameter Re-Fit and Sim Parity Gate**: Compare `[measured]` hardware parameters against our Phase 2 simulation priors (`armature = 3.443e-4 kg*m^2` `[calculated]`, `kp_servo = 1.985 N*m/rad` `[simulated]`, `kd_servo = 0.0445 N*m*s/rad` `[simulated]`, `coulomb_friction = 0.024 N*m` `[simulated]`, `deadzone = 0.00445 rad` `[calculated]`, `R_winding = 3.40 Ohm` `[datasheet]`).
3. **Retrain Trigger**: If any identified motor parameter differs by `> 12%` `[calculated]` from the Phase 2 prior or held-out pendulum tracking RMSE exceeds `0.15 deg` `[calculated]`, update `rl/bam/xl330_params.json` and run a `10`-minute (`0.11 GPU-hour` `[measured]`) CUDA PPO fine-tune + dual-engine sim-to-sim check before Stage 4.
### Stage 4: 15-Servo Hardware-in-the-Loop (HIL) and 10-Minute Thermal Soak
Assemble the full `15`-DoF robot on an elevated benchtop suspension stand (feet hanging free, then lightly spring-loaded) with Radxa Zero 3W (`J4`), head `VL53L5CX` + `BMI270` (`J5`), and `NP-F550` `2S` battery installed:
1. **Bus Integrity and Timing Gate**: Run `goosectl up` (`200 Hz` `STM32G431` Sync Read/Write + `50 Hz` Radxa ONNX inference) for `10.0 minutes` (`120,000` DXL bus cycles). Require `USART3` CRC/timeout error rate `< 0.01%` `[calculated]`, `COBS` `USART2` link error count `= 0` `[calculated]`, and `99.9th`-percentile `50 Hz` control tick jitter `< 1.5 ms` `[calculated]`.
2. **Firmware Current-Budgeted Stand-Up Gate**: Trigger `FallRecoveryController(mode="current_budgeted")` from folded limb postures while scoping `TP4` (`5V_BUS`) and `INA226` current telemetry. Confirm firmware `3.75 rad/s` `[simulated]` slew rate + active `INA226` guard (`I_guard = 3.85 A` `[calculated]`) keeps `V_5V_BUS >= 4.80 V` `[calculated]` with zero Radxa Zero 3W brownouts, AND confirm IMU fall-reflex drops neck/head `kp` to `0.15x` `[calculated]` within `10 ms` `[calculated]`.
3. **Connector and Servo Thermal Soak**: Run `10 minutes` of continuous spring-resisted walking gait on the stand and capture thermal images of `J1..J3` `JST-GH` housings (require `< 45.0 degC` `[calculated]`), `left_knee_pitch` / `right_knee_pitch` servo cases (predicted `38.6 degC` `[simulated]`, require `< 55.0 degC` `[calculated]` vs `75.0 degC` `[datasheet]` shutdown), and `U1` buck regulator.
### Stage 5: Tethered Gantry to Untethered Sim-to-Real Floor Validation
Move from the bench stand to a flat rubberized walkway under a slack overhead safety lanyard (`25 mm` slack so the tether carries `0 N` during upright walking and catches before beak floor contact until final drop tests):
1. **Closed-Loop Standing and Head Tracking (`60 s`)**: Execute `goosectl stand` plus sinusoidal head pitch/yaw sweeps. Verify CoM/ZMP stability (`|roll|, |pitch| < 8.0 deg` `[simulated]`, `I_5V_mean` near `1.44 A` `[simulated]`).
2. **Level Forward Walk and Yaw Turn (`5 x 2.0 m` trials)**: Command `goosectl walk --vx 0.16 --vy 0.0 --wz 0.0` and `--wz 0.40`. Compare `[measured]` forward speed (`0.16` to `0.19 m/s` `[simulated]`), stride frequency (`1.8 Hz` `[simulated]`), and battery discharge rate (`~1.25 A` `[simulated]` @ `7.4 V`) against MuJoCo and Drake logs.
3. **Calibrated Lateral Push Recovery**: Swing a padded `0.25 kg` `[calculated]` pendulum striker into the lateral torso at calibrated impulses (`0.15` to `0.26 m/s` `[simulated]` delta-v) and verify autonomous step-out recovery within `3` strides.
4. **Inclined Ramp (`+8.0 deg` = `14.1%` grade)**: Walk up and down a `1.5 m` textured plywood ramp at `+8.0 deg` `[simulated]`, logging `knee_pitch` and `ankle_pitch` peak currents and `J1`/`J2` pin drop.
5. **Padded Supine Knockdown and Stand-Up**: On a `10 mm` EVA foam mat (protecting the `PLA` shell before Rev B `PETG-CF` neck + TPU beak tip), tip Microgoose onto its back (`> 80 deg` tilt), verify IMU fall classification (`supine` vs `prone`), verify staged `current_budgeted` stand-up (`I_5V <= 4.0 A` `[simulated]`) or safe compliant hold on `prone` falls (pending Rev B `-95 deg` `hip_pitch` clevis modification), and record real `[measured]` metrics into `validation/hardware_bringup_results.json`.