alizainx/intelligence-systems-skills/buck-boost-foc-power-electronics
Claude Code and agent skill by alizainx/intelligence-systems-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Power electronics & motor drives: Buck/Boost/Inverter state-space averaging, volt-second/charge balance, MOSFET/SiC switching losses, and Clarke/Park FOC.
Install
npx vskill@latest install alizainx/intelligence-systems-skills/buck-boost-foc-power-electronicsSKILL.md
The same SKILL.md was published earlier as alizainx/intelligence-systems-skills/buck-boost-foc-power-electronics.
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
- Check Continuous vs Discontinuous Conduction Mode (
CCMvsDCM) 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}}$. - 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}$.
- 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}$. - Sample phase shunt ADC currents precisely at the PWM center (timer peak/trough) when bottom switches are fully settled (
ringing-free window). - 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; ...'
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/buck-boost-foc-power-electronics/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/buck-boost-foc-power-electronics)