← Commit history

Delete boards/p1-motor-driver/analysis/calcs.md

John Lauer ·dfb5144a99 · ·parent 2ec733a
1 file changed −780
boards/p1-motor-driver/analysis/calcs.mddeleted−780
@@ -1,780 +0,0 @@-# P1 motor driver: calculations--Generated by `design/calcs.py` on 2026-10-17. Every value cites its datasheet or the brief.--## bus--```json-{-  "Vmin": 39.0,-  "Vnom": 48.0,-  "Vmax": 54.6,-  "Vtransient": 60.0,-  "brownout_min": 30.0,-  "src": "the interface spec section 4 (VMOT 39 to 54.6 V, 60 V transient, run to 30 V)"-}-```--## backEmf--```json-{-  "V_at_180rpm": 47.2,-  "V_at_300rpm": 78.6,-  "V_at_300rpm_peak_if_rms_constant": 111.2,-  "note": "0.262 V/rpm (form not stated in the brief). At 300 rpm downhill the rectified back-EMF reaches 79 to 111 V, well above the 54.6 V pack: with the contactor open the body diodes pump the bus. A hardware brake chopper is required, not only a TVS."-}-```--## fets--```json-{-  "part": {-    "mpn": "IRFS4310ZTRLPBF",-    "Vds": 100,-    "Rds25_max": 0.006,-    "Rds_hot_factor": 1.7,-    "Qg": 1.2e-07,-    "Qgd": 3.5e-08,-    "Rth_jc": 0.4,-    "Tj_max": 175,-    "src": "Infineon IRFS4310ZPbF datasheet: VDSS 100 V, RDS(on) 6.0 mOhm max at 10 V, Qg 120 nC, RthJC 0.40 K/W, Tj 175 C; Rds(on) rises about 1.7x from 25 to 125 C (normalized RDS(on) figure)"-  },-  "Rds_hot": 0.0102,-  "fsw": 20000.0,-  "t_rise_ns": 35,-  "t_fall_ns": 18,-  "continuous": {-    "Irms": 7.5,-    "P_cond_phase": 0.574,-    "P_sw_phase": 0.194,-    "P_qrr_phase": 0.066,-    "P_phase": 0.833,-    "P_per_fet_worst": 0.546,-    "P_bridge": 2.5-  },-  "peak": {-    "I": 22.0,-    "P_one_fet_stall": 4.94,-    "I_margin": 30.0,-    "P_one_fet_stall_30A": 9.18,-    "note": "For 2 s the junction sits about P x RthJC = 2.0 C above the tab; the tab spreads into the 1 oz (35 um) top pour, with thermal vias to the 1 oz bottom land; the 0.5 oz inner layers add little. Peak is a transient case; continuous sets the copper."-  }-}-```--## currentSense--```json-{-  "Rshunt": 0.001,-  "gain": 40,-  "Vref": 3.3,-  "fullscale_pos_A": 35.0,-  "fullscale_neg_A": 35.0,-  "adc_lsb_mA": 20.1,-  "P_shunt_cont_W": 0.056,-  "P_shunt_30A_W": 0.9,-  "src": "DRV8353 datasheet: SOx linear range 0.25 V to VREF - 0.25 V, gain 5/10/20/40, bidirectional about VREF/2; WSLP2512R0010FEA page: 1 mOhm 1 % 3 W"-}-```--## currentLimit--```json-{-  "method": "STM32G474 COMP1/COMP2/COMP4 (inputs SOA on PB1, SOB on PA7, SOC on PB0) against internal DAC thresholds, routed internally to TIM1 BKIN2 for a cycle-by-cycle trip, plus the FOC current-loop limit in firmware and the DRV8353 VDS monitor as the last hardware trip",-  "dac_volts_per_amp": 0.04,-  "default_trip_A": 22.0,-  "default_dac_V": 2.53,-  "drv_vds_trip": {-    "VDS_LVL_V": 0.45,-    "trip_A_hot": 44.1-  }-}-```--## busCaps--```json-{-  "I_cap_rms_A": 4.88,-  "part": "Wurth 875575961005 (WCAP-HSG5) 33 uF 100 V hybrid polymer, 10 x 12.4 mm, ESR 40 mOhm",-  "n": 5,-  "C_bulk_uF": 165.0,-  "C_ceramic_eff_uF": 5.9,-  "ripple_rating_total_A": 6.0,-  "dV_ripple_peak_V": 1.61,-  "bus_capacitance_for_P2_uF": 171,-  "src": "Wurth datasheet 875575961005 (downloaded 2026-10-17): 33 uF, 100 V rated, 125 V surge, ESR 40 mOhm, 1600 mA ripple at 100 kHz 105 C; ripple multiplier 0.75 for 20 to 40 kHz"-}-```--## brakeChopper--```json-{-  "why": "Regenerated energy with the contactor open (e-stop on a slope) or a full pack cannot go into the battery. Kinetic energy of a 100 kg robot at 3.1 m/s is about 480 J; a TVS absorbs a few joules. A brake chopper dumps it in an off-board resistor, needs no MCU and still works when the gate driver is disabled by P4.",-  "Rtop": [-    31200.0,-    100000.0,-    100000.0-  ],-  "Rhyst": "2000000 (2 x 1 M in series)",-  "Rbottom_series": [-    4750.0,-    470-  ],-  "precision_mpns": [-    "TNPW060331K2BEEA",-    "TNPW0603100KBEEA",-    "TNPW0603100KBEEA",-    "TNPW06034K75BEEA",-    "stocked 1 pct trim 470 ohm"-  ],-  "V_on": 56.76,-  "V_off": 56.17,-  "V_on_worst_max": 57.69,-  "V_off_worst_min": 55.21,-  "stack": "full temperature: REF3012 0.2 % + 60 ppm/C x 115 C, TLV3201 4 mV, divider 0.1 % + 25 ppm/C x 45 C, hysteresis 1 % + 100 ppm/C x 45 C, rail 4.85 to 5.36 V (chopper_stack.json)",-  "previous_design_full_range": {-    "reference": "TLV431BI",-    "on_worst_max": 58.27,-    "off_worst_min": 54.64,-    "note": "the v1.3.9 thresholds re-checked with full-range figures: fails 58 V; replaced"-  },-  "comparator": "TLV3201 on V5_BRK (BZX84C5V1 from V12_BRK); reference REF3012 1.25 V (series reference, 50 uA, no output capacitor); low-side switch IRFS4310Z driven by UCC27517 from V12_BRK, a linear rail made from VMOT (PZTA42T1G + BZX84C12). No part of the chopper depends on 12V_MAIN or the MCU.",-  "R_brake_ohm": 3.0,-  "I_brake_peak_A": 18.9,-  "P_brake_peak_W": 1074,-  "P_fet_on_W": 3.65,-  "resistor": "off-board, 3.0 ohm 300 W class aluminium-clad with a series thermal cut-out, chassis mounted, between BRK_P and BRK_N (interface spec suggested about 3.3 ohm; 3.0 ohm is needed for the 0.96 kW peak regen)",-  "regen_power_limit_W": 1000,-  "src": "REF3012 datasheet (adom/ref3012aidbzr), TLV3201 SBOS561C section 6, TNPW e3 datasheet; hysteresis formula for a non-inverting comparator with positive feedback; corners simulated in sim/chopper_results.json"-}-```--## chopperSupply--```json-{-  "pass_transistor": "PZTA42T1G SOT-223 (1.5 W on FR4; about 0.9 W at 70 C)",-  "Rbias": 47000.0,-  "Iz_mA": 0.89,-  "I_load_mA": 4.03,-  "P_MMBTA42_W": 0.174,-  "P_total_W": 0.269,-  "hold_up": "22 uF on the 12 V node carries the driver's pulse current",-  "src": "UCC27517 datasheet IDD 0.3 mA typ; PZTA42T1G 300 V, SOT-223"-}-```--## tvs--```json-{-  "part": "SMCJ60A-E3",-  "Vrwm": 60,-  "Vbr_min": 66.7,-  "Vc_max": 96.8,-  "why": "last-resort clamp for short spikes above the chopper; standoff 60 V clears the 54.6 V pack and the chopper band; clamp under the FETs' 100 V rating"-}-```--## logicBuck--```json-{-  "part": "LM5164DDAT (6 to 100 V, 1 A)",-  "Vout": 5.04,-  "Rfb_top": [-    10000.0,-    22000.0-  ],-  "Rfb_bot": 10000.0,-  "RON": [-    22000.0-  ],-  "fsw_kHz": 573,-  "L_uH": 10,-  "L_part": "Bourns SRN6045-100M 10 uH 2.5 A rms 3.0 A sat",-  "dI_pp_A": 0.6,-  "t_on_min_ns_at_16V": 550,-  "loads_A": {-    "TCAN1462_dominant": 0.07,-    "encoder_supply": 0.15,-    "LDO_3V3_in": 0.15-  },-  "I5_A": 0.37,-  "I_from_bus_A": 0.0,-  "I_from_12V_A": 0.268,-  "UVLO_top": [-    33000.0-  ],-  "UVLO_bot": 10000.0,-  "Vstart": 6.45,-  "input": "12V_MAIN only, through an STPS2H100UY reverse-protection diode (the interface spec: logic from 12V_MAIN; VMOT draw when disabled <= 20 mA)",-  "ripple": "Type 3 injection (SNVSAU4 table 6-1, eq. 7 to 9): RA 68 k, CA 3.3 nF from SW to VOUT, CB 1 nF to FB (CA >= 10/(fsw x RFB1) = 0.55 nF; RA x CA <= tON x (VIN - VOUT) / 20 mV = 256 us at 12 V); CBST 2.2 nF 50 V X7R as required",-  "src": "LM5164 datasheet SNVSAU4 (rev D, 2026-02): VFB 1.2 V, eq. 1 FSW = VOUT x 2500 / RRON, min on-time 50 ns, EN/UVLO 1.5 V rising"-}-```--## ldo3v3--```json-{-  "part": "TLV70233DBVR 300 mA SOT-23-5",-  "loads_A": {-    "STM32G474": 0.09,-    "AM26LV32": 0.015,-    "logic": 0.01,-    "LEDs": 0.004,-    "DRV_VREF": 0.001-  },-  "I_A": 0.12,-  "P_W": 0.209-}-```--## encoderSupply--```json-{-  "part": "TPS2051BDBVR current-limited switch, 500 mA continuous, about 1 A limit, -40 to 85 C ambient, fault flag ENC_OC and enable ENC_EN to the MCU",-  "replaces": "MF-MSMF020-2 PTC: hold 0.15 A at 50 C and 0.12 A at 70 C (Bourns derating), under the 0.15 A load in a 70 C bay",-  "I_load_A": 0.15,-  "V_at_motor_V": 4.96,-  "note": "the encoder supply range comes with the encoder data; 4.75 V minimum is assumed (5 V +-5 %)"-}-```--## enableInput--```json-{-  "kind": "CMOS input per interface spec 5.3: 1 k series, 10 k pull-down, TPD2E2U06 ESD at the contact",-  "V_gate_at_3V0": 2.73,-  "I_from_P4_mA": 0.27,-  "t_remove": "tens of ns: SN74LVC1G04 + SN74LVC244 OE + SN74LVC1G08",-  "why_not_opto": "A phototransistor opto at 1 to 4 mA turns off in 20 to 100 us with a 10 k load; interface spec 5.3 requires gate-drive removal within 10 us",-  "path": "EN -> 1 k -> 10 k pull-down -> SN74LVC1G04 -> EN_N. EN_N high puts both SN74LVC244 halves in high-Z (the six PWM inputs of the DRV8353 fall to their internal pull-downs: all gates low), and SN74LVC1G08 (EN AND the MCU's DRV_EN) drives the DRV8353 ENABLE pin low (sleep). Either path alone removes gate drive; neither passes through MCU firmware.",-  "src": "the interface spec section 5.3; SN74LVC1G04 and SN74LVC244A datasheets (tpd < 10 ns at 3.3 V)"-}-```--## voltageSense--```json-{-  "Rtop": "3 x 33 k 0402 in series (99 k)",-  "Rbot": 3300.0,-  "ratio": 0.03226,-  "V_at_60V": 1.935,-  "V_at_TVS_clamp": 3.123,-  "fullscale_V": 102.3,-  "per_resistor_V_at_100V": 32.3,-  "note": "VMOT and the three phase voltages; each 0402 top (50 V working) sees under 33 V at a 100 V bus (the interface spec)"-}-```--## contacts--```json-{-  "large_rating_A": 20.8,-  "medium_rating_A": 6.4,-  "phase_contacts": 2,-  "phase_per_contact_rms_A": 3.75,-  "phase_per_contact_30A_A": 15.0,-  "bus_contacts": 2,-  "bus_rms_A": 7.12,-  "src": "adom/machinecontactlarge and machinecontactmedium pages (80 % derated)"-}-```--## copper--```json-{-  "outer_oz": 1,-  "inner_oz": 0.5,-  "outer_um": 35,-  "inner_um": 15.2,-  "stackup": "JLCPCB JLC04161H-7628, 1.6 mm, 4 layers (the interface spec section 6.2a; DS-4L-1.6 superseded for building): outer 1 oz finished (35 um), inner 0.5 oz at 15.2 um actual (JLCPCB's figure for 4 to 8 layer boards); real copper per the interface spec",-  "via_note": "P1 signal vias 0.45/0.25 mm and gate vias 0.6/0.3 mm meet the JLCPCB 4-layer pack (hole >= 0.15, diameter >= 0.25); the pack's comment of a 0.15 mm via annular ring is to be confirmed against JLCPCB's capability page before order",-  "width_7p5A_20C_mm": 3.18,-  "width_22A_40C_mm": 9.2,-  "plan": "phase, bus and ground currents in pours on the two 35 um outer layers, stitched with vias; In1 (15 um) is the GND reference plane and In2 (15 um) carries signals, so no high current is assigned to an inner layer; pours wider than 8 mm on every high-current net"-}-```--## parkingBrake--```json-{-  "coil": "INTORQ BFK458-12 24 V: 14.4 ohm, 1.66 A, 40 W release, about 12 V / 0.83 A hold, t1 53 ms, t2 115 ms; L not published",-  "I_release_A": 1.66,-  "I_hold_A": 0.83,-  "R_coil_range_ohm": [-    11.7,-    18.6-  ],-  "pwm_kHz": 20,-  "release_control": "current-controlled to 1.66 A (BRK_ISNS), at most 200 ms, then 0.83 A hold",-  "duty_release_max_at_39V": 0.79,-  "I_release_hot_coil_at_30V_A": 1.61,-  "switch": "IRFS4310Z low side (BRAKE_N), 0.1 ohm sense, UCC27517 with IN+ = MCU PWM and IN- = EN_N: PWM AND EN in hardware",-  "fast_decay": "freewheel STPS2H100 into BRK_FW; IRFR5410 (-100 V P-MOSFET) shorts BRK_FW to BRAKE_P while released (gate held by AND(EN, BRK_HOLD) through an MMBTA42 level shift); on engage it opens and the coil current clamps through SMCJ24A-E3 (38.9 V max)",-  "V_BRAKE_N_max_V": 97.0,-  "t_decay_from_hold_ms_for_0p5H": 10.5,-  "E_clamp_J_release_case": 0.689,-  "P_Q10_release_W": 0.022,-  "engagement": "the maker's t1 = 53 ms assumes a 120 to 240 V clamp; P1's 38.9 V clamp (limited by the 100 V rule on BRAKE_N) lengthens t11 by an amount that depends on L; measure t1 at bring-up against interface spec 5.5's 53 + 20 = 73 ms",-  "fuse": "Littelfuse 0452003.MRL 3 A 125 V NANO2 452 Slo-Blo (time-delay, the interface spec section 5.5: at least 1.6 A time-delay) in BRAKE_P: release 1.66 A for at most 200 ms (55 %), about 2.05 A if a cold coil at -10 C saw the full 24 V (68 %), hold 0.83 A (28 %); it also protects the one medium contact (6.4 A) and the 20 AWG brake wire (the interface spec section 7.1, 2.0 A)",-  "I_release_cold_24V_A": 2.05,-  "defaults": "every brake control input is pulled down: on MCU reset, 12V_MAIN loss (UCC27517 unpowered), VMOT loss or EN low the brake engages",-  "icd_note": "the coil's 40 W release exceeds interface spec 5.5's 30 W release ceiling (hold is 10 W, at the ceiling)"-}-```--## vmSupply--```json-{-  "source": "VIN_LOG = 12V_MAIN through the STPS2H100UY reverse diode",-  "VM_min_V": 8.5,-  "VM_nominal_V": 11.5,-  "why": "DRV8353 VM absolute maximum is 80 V (datasheet); the interface spec requires 100 V absolute on VMOT parts. VDRAIN (102 V) stays on VMOT as the high-side reference",-  "VGLS_note": "VGLS (low-side gate) follows VM minus the LDO dropout: about 11 V at a 12 V rail, about 8 V at a 9 V rail (IRFS4310Z Rds rated at 10 V); firmware derates current below 10.5 V on 12V_MAIN",-  "I_VM_mA": 25-}-```--## vmot100VAudit--```json-[-  {-    "part": "Q1 to Q7 IRFS4310Z",-    "rating": "100 V VDS",-    "ok": true-  },-  {-    "part": "D1 SMCJ60A TVS",-    "rating": "60 V standoff, 96.8 V max clamp (a clamp, not a load)",-    "ok": true-  },-  {-    "part": "C1 to C5 Wurth 875575961005",-    "rating": "100 V rated, 125 V surge: the 96.8 V clamp is under the 100 V rating",-    "ok": true-  },-  {-    "part": "C 2.2 uF CL32B225KCJSNNE",-    "rating": "100 V",-    "ok": true-  },-  {-    "part": "VDRAIN and CPH/CPL caps CL10B104KC8NNNC, CC0603KRX7R0BB473",-    "rating": "100 V",-    "ok": true-  },-  {-    "part": "U2 DRV8353 VDRAIN",-    "rating": "102 V absolute, 100 V recommended maximum (datasheet 7.3): the SMCJ60A 96.8 V maximum clamp is 3.2 V under it (the interface spec surge rule; bench surge test at bring-up)",-    "ok": true-  },-  {-    "part": "U2 DRV8353 SHx",-    "rating": "102 V absolute (no separate recommended figure; datasheet note: VDRAIN to SHx at most 102 V): the 96.8 V clamp is under it",-    "ok": true-  },-  {-    "part": "U2 DRV8353 VM",-    "rating": "moved to 12V_MAIN (VM is 80 V absolute, 75 V recommended)",-    "ok": true-  },-  {-    "part": "D3, D4, D7 STPS2H100UY",-    "rating": "100 V",-    "ok": true-  },-  {-    "part": "Q8 PZTA42T1G, Q12 MMBTA42",-    "rating": "300 V",-    "ok": true-  },-  {-    "part": "Q10 IRFS4310Z (brake switch)",-    "rating": "100 V; BRAKE_N peaks at 97.0 V on the 38.9 V clamp",-    "ok": true-  },-  {-    "part": "Q11 IRFR5410",-    "rating": "-100 V (sees only the 38.9 V clamp)",-    "ok": true-  },-  {-    "part": "F2 0452003.MRL",-    "rating": "125 V",-    "ok": true-  },-  {-    "part": "Chopper divider TNPW0603 (75 V each)",-    "rating": "45 V across each at a 100 V bus",-    "ok": true-  },-  {-    "part": "Sense dividers 3 x 33 k 0402 (50 V each)",-    "rating": "32 V across each at a 100 V bus",-    "ok": true-  },-  {-    "part": "Q8 bias 2 x 22 k 0402 (50 V each)",-    "rating": "44 V across each at a 100 V bus",-    "ok": true-  },-  {-    "part": "Q11 gate chain 2 x 22 k 0402",-    "rating": "44 V across each at a 100 V bus",-    "ok": true-  }-]-```--## v12Budget--```json-{-  "P_avg_W": 1.98,-  "P_peak_W": 2.65,-  "I_peak_A": 0.23,-  "note": "average: encoder 150 mA, MCU and logic 100 mA, CAN 30 mA average on 5 V, gate driver 25 mA and brake driver on 12 V"-}-```--## thermal--```json-{-  "P_total_cont_W": 3.99,-  "parts": {-    "bridge": 2.5,-    "shunts": 0.17,-    "DRV8353": 0.4,-    "LDO": 0.21,-    "buck": 0.41,-    "other": 0.3-  },-  "heat_path": "FET tabs into 1 oz top pours, thermal vias to the bottom pour, bottom pour against a 1 mm gap pad on the aluminium deck (the robot body is sealed: no airflow). Without the deck the board alone must hold the continuous case in still air; aiflow fields checks it."-}-```--## canLogic--```json-{-  "part": "TCAN1462VDRQ1 (VIO on 3V3, pin 5) in place of TCAN1462DRQ1 (no VIO, pin 5 NC)",-  "VOH_MCU_min_V": 2.85,-  "VIH_TXD_without_VIO_V": 3.64,-  "VIH_TXD_with_VIO_V": 2.34,-  "STB_pullup": "10 k to 3V3: 3.3 V against VIH 2.34 V, so the transceiver sits in standby until firmware drives STB low",-  "RXD": "swings 0 to VIO (3.3 V) into PA11",-  "src": "TI SLLSFF2B (TXD, STB VIH); ST DS12288 (VOH)"-}-```--## spacing60V--```json-{-  "netclass": "HV60",-  "nets": [-    "VMOT",-    "PH_U",-    "PH_V",-    "PH_W",-    "GHA",-    "GHB",-    "GHC",-    "VCP",-    "CPH",-    "BRK_N",-    "BRAKE_P",-    "BRAKE_N",-    "BRK_FW",-    "BRK_PG",-    "BRK_PGM",-    "BRK_PGC",-    "BRK_D1",-    "BRK_D2",-    "V12_BIAS",-    "VMOT_SNS_T1",-    "VMOT_SNS_T2",-    "VU_SNS_T1",-    "VU_SNS_T2",-    "VV_SNS_T1",-    "VV_SNS_T2",-    "VW_SNS_T1",-    "VW_SNS_T2",-    "BRK_N_T1",-    "BRK_N_T2",-    "OVP_D1",-    "OVP_D2"-  ],-  "why": "VMOT, the phases and every net tied to them (gate-high and charge-pump nets ride on the phase or VMOT; brake nets and the upper taps of the dividers sit at bus voltage)",-  "board_rule_mm": 0.25,-  "near_masked_mm": 0.6,-  "near_masked_reach_mm": 3.0,-  "masked_regions": "machine contacts and corner pins, probe test pads, the heat-pedestal land on the bottom",-  "part_internal_exclusion": "lands inside a part rated for the net: DRV8353S (102 V), IRFS4310Z (100 V), STPS2H100UY (100 V), SMCJ60A, IRFR5410 (-100 V), MMBTA42 / PZTA42 (300 V), TNPW0603 (75 V each, 3 in series), 0451003 (125 V), SMCJ24A",-  "coating": "acrylic IPC-CC-830, 25 to 75 um, UV tracer; mask map in docs/assembly-notes.md",-  "src": "the interface spec section 6.5 (IPC-2221 table 6-1, A5 0.13 mm coated, B2 0.6 mm uncoated, 51 to 100 V)"-}-```--## climb--```json-{-  "cases": {-    "p99 grade 12.1 %, 18.2 N m, up to 10 min": {-      "torque_Nm": 18.2,-      "I_rms_A": 8.03,-      "duration": "600 s",-      "P_bridge_W": 2.79,-      "P_shunts_W": 0.19,-      "P_total_W": 2.98-    },-    "max grade 23.4 %, 27 N m, at most 60 s": {-      "torque_Nm": 27.0,-      "I_rms_A": 11.91,-      "duration": "60 s",-      "P_bridge_W": 5.46,-      "P_shunts_W": 0.43,-      "P_total_W": 5.89-    },-    "motor peak 51 N m (vendor 23 A DC at 48.7 N m), seconds": {-      "torque_Nm": 51.0,-      "I_rms_A": 22.5,-      "duration": "2 s",-      "P_bridge_W": 17.43,-      "P_shunts_W": 1.52,-      "P_total_W": 18.95-    }-  },-  "rating": "17 N m continuous (thermal), 51 N m peak",-  "motor_protection": "firmware derates torque linearly from 90 to 100 C on the motor thermistor (MOT_NTC; 100 C until the winding class is known) and keeps an I-squared-t estimate of the winding referred to the 7.5 A rating as a second check",-  "route_limit": "grades above 12.1 % only in segments of at most 60 s (the robot's route planner enforces it)",-  "src": "the interface spec section 2.1 climb and grade policy"-}-```--## descentRegen--```json-{-  "src": "the interface spec (terrain model check; 85 kg, 0.8 m/s, eta 1.0)",-  "terrain": {-    "peak_both_wheels_W": 96.9,-    "peak_per_board_W": 48.5,-    "longest_descent": {-      "m": 16.6,-      "s": 20.7,-      "J_both": 402,-      "W_avg_both": 19.4-    },-    "most_energy_route_J": 1341,-    "note": "only descents over about 10 % regenerate; at 0.7 m/s the peak is 84.7 W, at 80 kg 91.2 W"-  },-  "chopper_at_50W": {-    "P_W": 50.0,-    "duty": 0.047,-    "f_chop_kHz": 8.4,-    "I_res_rms_A": 4.08,-    "P_Q7_W": 0.3-  },-  "chopper_at_100W": {-    "P_W": 100.0,-    "duty": 0.094,-    "f_chop_kHz": 15.9,-    "I_res_rms_A": 5.77,-    "P_Q7_W": 0.59-  },-  "chopper_at_1kW": {-    "P_W": 1000.0,-    "duty": 0.941,-    "f_chop_kHz": 10.4,-    "I_res_rms_A": 18.26,-    "P_Q7_W": 3.57-  },-  "resistor_model": {-    "assumed": "300 W class aluminium-housed (part not yet picked by CAD); housing at least 0.30 kg Al (270 J/K), at most 1.5 K/W to still air with no heatsink",-    "C_J_per_K": 270.0,-    "bay_C": 60.0,-    "cutout_open_C": 120.0-  },-  "rise_21s_at_50W_C": 3.9,-  "rise_route_1341J_adiabatic_C": 5.0,-  "surface_after_worst_descent_C": 63.9,-  "surface_after_whole_route_energy_C": 65.0,-  "steady_100W_no_heatsink_C": 210.0,-  "R_needed_for_sustained_100W_K_per_W": 0.5,-  "conclusion": "the descents are transients: 50 W for 21 s warms the housing about 4 C and a whole route's 1341 J about 5 C, so the resistor stays near the 60 C bay and the cut-out (specify about 120 C opening) never trips on a descent. The 300 W class part runs at 17 % of rating at the 50 W peak. Only a sustained 100 W (the design envelope, not a terrain case) needs a heatsink or chimney: at most 0.5 K/W housing to air keeps it 10 C under the cut-out in the 60 C bay. CAD's chimney outside the bay is better than this case. Chopper duty is 4.7 % at 50 W; Q7 adds well under its 3 W pedestal allowance.",-  "cutout_open_behaviour": "if the cut-out opens, BRK_SENSE stays active while VMOT keeps rising: firmware flags the resistor open, stops commanding regeneration (no regen torque above 55.0 V), slows on a Category 1 stop and parks on the brake"-}-```--## chopperResistor--```json-{-  "part": "TE Connectivity HCF166J3R0J (HCF166, 3.0 ohm 5 %, 160 W at 40 C free air, 265 C max, IP54, 166 mm long, 15 mm thick, PTFE leads)",-  "mass_kg_estimate": 0.22,-  "mass_note": "not in the TE data sheet: estimated from the 166 mm extruded profile and leads; CAD weighs one",-  "no_heat_plate": "rated 160 W free air (vertical, leads down, no heat sink); about 146 W in the 60 C bay",-  "check1_single_descent": {-    "case": "worst single descent at a full pack: 50 W for 21 s per board (terrain model: 48.5 W peak per board, 20.7 s)",-    "allowed_W_at_21s": 731,-    "ratio": 14.6,-    "estop_pulse": "1 kW for 2 s (e-stop at speed, about 204 J per board): allowed 4003 W at 2 s",-    "steady_surface_at_route_average_C": 74.0-  },-  "check2_cutout": "Schurter RTS-AC100 one-shot thermal cut-out (210 C, 60 V DC), bonded to the HCF166 body, in series with BRK_P: accepted as Q13's backup in the interface spec; a blown cut-out latches the chopper off in firmware until service",-  "check3_stuck": {-    "P_W": 994,-    "I_A": 18.2,-    "table_allows_s": 14.0,-    "first_line": "P1 detection: Q13 (BSC040N10NS5, 100 V 4 mOhm) in series with the chopper FET opens within 50 ms of a stuck chopper (BRK_N_SNS low while BRK_SENSE is off: Q7 shorted; or BRK_SENSE on with VMOT under 55.0 V: comparator or driver stuck)",-    "energy_before_clear_J": 50,-    "single_pulse_capacity_J_at_1p2s": 6840,-    "second_line": "if P1 cannot clear it (MCU down, or Q7 and Q13 both shorted: a double fault), the series cut-out opens; the published table covers 14 s at 994 W, while heating the housing from 60 C to the 210 C opening takes about 30 s (0.22 kg, adiabatic). That is beyond the published table, so the REQUIRED bench test (the interface spec, test chopper_cutout_bench) decides it: time to open, housing at most 265 C, no flame, smoke escape or ejection",-    "fails_safe": "the chopper path ends open: Q13 off or the cut-out open. Firmware then stops regenerating (no regen torque, short-phase braking limited to the winding rating), sets FAULT, reports MOTOR_STATUS and makes a Category 1 stop onto the parking brake; the chopper stays locked out until power cycle"-  },-  "Q13_loss": {-    "at_1kW_W": 2.13,-    "note": "conduction only (it never switches in normal use); 1 kW lasts at most an e-stop"-  },-  "src": "TE 1773309-3 rev B (HCF pulse table); terrain figures and the interface spec"-}-```--## q13Reclose--```json-{-  "part": "TLV3201AQDCKRQ1 on V5_BRK, REF3012 VREF_BRK shared with the chopper comparator",-  "Rtop": [-    17800.0,-    100000.0,-    100000.0-  ],-  "Rbottom": [-    4750.0-  ],-  "Rhyst": 1470000.0,-  "on_nom": 58.75,-  "off_nom": 58.0,-  "on_worst_max": 59.71,-  "off_worst_min": 57.0,-  "targets": {-    "on": 59.0,-    "off": 58.0,-    "on_worst_max_limit": 60.0,-    "off_worst_min_limit": 56.8-  },-  "src": "the interface spec ; stack method of design/chopper_stack.py",-  "why": "if Q13 is open (stuck-chopper latch or a blown cut-out) and the bus still rises, the hardware re-closes Q13 at about 59 V so the chopper can clamp, whatever the MCU drives; it releases at 58 V. No regeneration while Q13 is open (firmware)",-  "override": "U23 OUT high turns Q15 on; Q15 pulls BRK_INH_G (Q14 gate) low through R84 (1 k from the MCU's BRK_INH), so Q14 is off and R78 holds Q13 on from V12_BRK; MCU sink current into R84 at most 3.3 mA"-}-```--## heatPedestal--```json-{-  "patch_board_mm": {-    "x": [-      4,-      92-    ],-    "y": [-      4,-      20-    ],-    "frame": "design mm from MP1 (lower-left corner pin), y up"-  },-  "patch_area_mm2": 1408,-  "P_W": 5.67,-  "R_pedestal_to_bay_K_per_W_max": 3.0,-  "rise_pedestal_C": 17.0,-  "rise_board_budget_C": 23.0,-  "P_climb_60s_W": 5.89,-  "P_climb_10min_W": 2.98,-  "cad_estimate": "1.58 K/W at 15 W in the climb (CAD, the interface spec message): meets the 3.0 K/W need; at P1's own worst sustained load the pedestal rise is then about 9 C. P1 dissipates far less than 15 W on the pedestal: 15 W is not a P1 figure",-  "content": "bottom copper under Q1 to Q7 and the shunts, one isolated island per tab net (VMOT, PH_U, PH_V, PH_W, BRK_N, GND) with thermal vias from each tab; no parts, contacts or test pads on the bottom inside it; uncoated (masked)",-  "src": "the interface spec section 9 (pedestal through a deck cutout, isolating gap pad 20 to 30 % compressed); bay air at most 60 C (v1.3.25 section 11); hot-part rise budget 40 C (aiflow spec)"-}-```--## Checks--| Check | Value | Limit | Pass |-|---|---|---|---|-| FET VDS margin over 60 V transient | 100 | 75.0 | yes |-| FET loss per part, continuous (W) | 0.55 | 1.5 | yes |-| Sense full scale covers 30 A peak (A) | 35.0 | 30 | yes |-| Shunt power at 30 A within 3 W rating (W) | 0.9 | 3.0 | yes |-| Shunt voltage at 30 A within CSA input +-1 V (V) | 0.03 | 1.0 | yes |-| Bulk cap ripple rating at 20 kHz covers DC-link ripple (A) | 6.0 | 4.88 | yes |-| Bus ripple at 22 A peak (V) | 1.61 | 2.0 | yes |-| Bulk cap rated at least 100 V (the interface spec) (V) | 100 | 100 | yes |-| Bus capacitance within interface spec 1000 uF for P2 precharge (uF) | 171 | 1000 | yes |-| Chopper ON nominal above max charge voltage (V) | 56.76 | 56.1 | yes |-| Chopper ON worst case, full temperature, at or below 58 V (the interface spec) (V) | 57.69 | 58.0 | yes |-| Chopper OFF worst case, full temperature, above 55.0 V (the interface spec) (V) | 55.21 | 55.0 | yes |-| Brake current within one large contact (A) | 18.9 | 20.8 | yes |-| Chopper divider worst resistor stress per 0603 (V) | 25.4 | 75 | yes |-| PZTA42 pass-transistor dissipation at 25 kHz chopping (W) | 0.174 | 0.5 | yes |-| TVS standoff above chopper worst-case ON (V) | 60 | 57.69 | yes |-| TVS clamp below FET VDS 100 V (V) | 96.8 | 100 | yes |-| TVS clamp below DRV8353 VDRAIN 100 V recommended maximum (V) | 96.8 | 100 | yes |-| 5 V setpoint error (%) | 0.8 | 2.0 | yes |-| Buck min on-time at 16 V (ns) | 550 | 50 | yes |-| Inductor peak current below 3.0 A saturation (A) | 0.67 | 3.0 | yes |-| 5 V load within LM5164 1 A (A) | 0.37 | 1.0 | yes |-| 3.3 V LDO dissipation (W) | 0.209 | 0.3 | yes |-| Encoder switch continuous rating at least twice the load at 70 C (A) | 0.5 | 0.3 | yes |-| ENC_5V at the motor connector (V) | 4.96 | 4.75 | yes |-| EN level at the gate input with P4's 3.0 V minimum (V) | 2.73 | 2.0 | yes |-| EN current from P4 within 5 mA (mA) | 0.27 | 5.0 | yes |-| Sense divider at 60 V below 3.3 V ADC (V) | 1.935 | 3.3 | yes |-| Sense divider at the 96.8 V TVS clamp below the 3.6 V ADC pin limit (V) | 3.123 | 3.6 | yes |-| Phase current per large contact at 30 A peak (A) | 15.0 | 20.8 | yes |-| BRAKE_N peak during fast decay below 100 V (V) | 97.0 | 100 | yes |-| Brake release reaches 1.66 A at the 39 V pack minimum with a hot coil (duty) | 0.79 | 0.98 | yes |-| Brake decay from hold for a 0.5 H coil within 20 ms (ms) | 10.5 | 20 | yes |-| Brake clamp energy, EN dropped mid-release, within SMCJ 1500 W rating (J) | 0.689 | 1.5 | yes |-| Brake switch loss during release (W) | 0.022 | 0.2 | yes |-| Brake fuse current within 60 % of its 3 A rating (A) | 1.48 | 1.8 | yes |-| Brake fuse: cold-coil release current within 75 % of the 3 A time-delay rating (A) | 2.05 | 2.25 | yes |-| Brake fuse rating at least 1.6 A time-delay (A) | 3.0 | >= 1.6 | yes |-| DRV8353 VM at 12V_MAIN minimum above its 8.3 V UVLO (V) | 8.5 | 8.3 | yes |-| Every VMOT and phase-node part rated 100 V absolute or carries under its rating at a 100 V bus | 17 | 17 | yes |-| 12V_MAIN peak current within 0.3 A (A) | 0.23 | 0.3 | yes |-| CAN TXD high level with VIO (V) | 2.85 | >= 2.34 | yes |-| Steep-climb board loss within the pedestal sizing (W) | 5.89 | <= 6.5 | yes |-| Descent: resistor rise for 50 W over 21 s (C) | 3.9 | <= 20 | yes |-| Descent: resistor surface after the whole-route 1341 J in a 60 C bay (C) | 65.0 | < cut-out 120.0 - 10 | yes |-| Descent: resistor load at the 50 W peak against its 300 W class rating (%) | 17 | <= 50 | yes |-| Descent: chopper FET Q7 loss at 100 W sustained (W) | 0.59 | <= 3.0 (pedestal allowance) | yes |-| Sustained 100 W per board: resistor housing-to-air resistance needed (K/W) | 0.5 | >= 0.4 (achievable with a finned mount) | yes |-| Chopper resistor: worst single descent within the HCF166 pulse table (W at 21 s) | 731 | >= 50 | yes |-| Chopper resistor: e-stop 1 kW for 2 s within the pulse table (W at 2 s) | 4003 | >= 1000 | yes |-| Chopper resistor: no heat plate, free-air rating in the 60 C bay above the 50 W descent (W) | 146 | >= 50 | yes |-| Stuck chopper cleared by P1 before the resistor limit (J let through) | 50 | <= 6840 (1.2 s at 5.7 kW) | yes |-| Stuck chopper: Q13 conduction at 1 kW (W, e-stop only) | 2.13 | <= 3 | yes |-| Q13 re-close: worst-case on below the 60 V transient ceiling (V) | 59.71 | <= 60.0 | yes |-| Q13 re-close: worst-case off above the chopper's nominal on (V) | 57.0 | > 56.76 | yes |-| heat pedestal rise at 3 K/W (C) | 17.0 | <= 25 (leaves >= 15 C for vias, spreading and the pad) | yes |