<< All versions

Skill v1.0.0

currentAutomated scan100/100
alizainx/intelligence-systems-skills/buck-boost-foc-power-electronics
──Details
PublishedNovember 6, 2026 at 05:05 PM
Content Hashsha256:9d61d41cf8014a4b...
Git SHA4446b059cc96
──Files
Files (1 file, 2.6 KB)
SKILL.md2.6 KBactive
SKILL.md · 27 lines · 2.6 KB

name: buck-boost-foc-power-electronics id: ISS-176 token_budget: 700 chain_with: [modified-nodal-analysis-spice-circuits, pid-cascade-antiwindup-loops, stm32-dma-timer-peripherals] description: "Power electronics & motor drives: Buck/Boost/Inverter state-space averaging, volt-second/charge balance, MOSFET/SiC switching losses, and Clarke/Park FOC." metadata: version: "1.0.0"


buck-boost-foc-power-electronics (ISS-176)

1. First-Principles Invariant

  • Steady-State Volt-Second & Park-Frame Decoupling Law: In periodic steady state ($T_{\text{sw}}$), average inductor voltage must be zero ($\langle v_L \rangle = \frac{1}{T_{\text{sw}}}\int_0^{T_{\text{sw}}} v_L(t)\,dt = 0$) and average capacitor current must be zero ($\langle i_C \rangle = 0$); in 3-phase PMSM/BLDC Field-Oriented Control (FOC), apply amplitude-invariant Clarke ($\alpha\beta$) + rotor-angle Park ($dq$) transforms so sinusoidal AC stator currents become DC quantities $(i_d, i_q)$ with cross-coupling feedforward decoupling ($v_d^ = u_d - \omega_e L_q i_q,\; v_q^ = u_q + \omega_e (L_d i_d + \lambda_m)$).

2. Fast-Pass Low-Token Protocol (Web & Coding Agents)

  • Enforce hardware + software Half-Bridge Dead-Time ($t_{\text{dead}} > t_{d(\text{off}),\max} + t_f - t_{d(\text{on}),\min}$) between high-side and low-side gate signals so shoot-through short circuits across $V_{\text{bus}}$ are physically impossible.

3. Zero-Bug & Zero-Vulnerability Guards

  1. Check Continuous vs Discontinuous Conduction Mode (CCM vs DCM) boundary ($I_{\text{load}} > \Delta i_L / 2$); for a synchronous Buck converter, $V_{\text{out}} = D V_{\text{in}}$, $\Delta i_L = \frac{V_{\text{out}}(1-D)}{L f_{\text{sw}}}$, and $\Delta v_{\text{out}} = \frac{\Delta i_L}{8 C f_{\text{sw}}} + \Delta i_L R_{\text{ESR}}$.
  2. Account for Buck-Boost / Boost Right-Half-Plane Zero ($\omega_{\text{RHPZ}} = \frac{(1-D)^2 R_{\text{load}}}{D L}$): restrict voltage control loop crossover frequency $f_c \le \frac{f_{\text{RHPZ}}}{5}$.
  3. Use Space Vector PWM (SVPWM, zero-sequence min-max injection $v_0 = -\frac{1}{2}(\max(v_{a,b,c}) + \min(v_{a,b,c}))$) to achieve $15.47\%$ higher linear bus-voltage utilization ($V_{\text{bus}} / \sqrt{3}$) and clamp circular voltage magnitude $\sqrt{v_d^2 + v_q^2} \le V_{\text{bus}} / \sqrt{3}$.
  4. Sample phase shunt ADC currents precisely at the PWM center (timer peak/trough) when bottom switches are fully settled (ringing-free window).
  5. Verify junction temperature $T_j = T_a + (P_{\text{cond}} + P_{\text{sw}}) R_{\theta JA} \le 125^\circ\text{C}$ (derated from $150/175^\circ\text{C}$).

4. Verification Gate

  • python3 -c 'import math, numpy as np; ...'
All versions