← ClaudeAtlas

motor-smc-pmsmlisted

PMSM Sliding Mode Control Speed-Loop Builder. Build a Sliding Mode Control (SMC) speed-loop outer controller (PD-type sliding surface + Super-Twisting Algorithm reaching law) + dq current-loop PI inner controller with cross-decoupling feedforward + Anti_Park library block + SVPWM library block + Universal Bridge IGBT inverter + PMSM Discrete plant for a three-phase voltage-source-inverter-driven PMSM in Simulink. v1 baseline supports SPMSM and mild-saliency IPMSM (id_ref=0). Use when constructing, reproducing, porting, or extending an SMC-based PMSM speed-loop simulation in Simulink (keywords SMC, sliding mode control, super-twisting, STA, PD-type sliding, boundary layer SMC, 滑模控制, 滑模面). Skip for FCS-MPC, FOC, DTC, sensorless, scalar V/Hz, BLDC trapezoidal, induction-motor SMC, observer-based / adaptive / disturbance-observer / neural-network / fuzzy SMC variants, strong-saliency IPMSM MTPA, weak-field, or pure theory questions. Layered on motor-pmsm-base.
calebzu/pmsm-control-claude-skills-for-matlab · ★ 5 · AI & Automation · score 80
Install: claude install-skill calebzu/pmsm-control-claude-skills-for-matlab
# motor-smc-pmsm — PMSM Sliding Mode Control Speed-Loop Builder Three-phase 2-level voltage-source inverter + PMSM. Outer-loop = **PD-type sliding surface + Super-Twisting Algorithm (STA)** providing `iq_ref` (continuous through `s=0`, second-order SMC). Inner-loop = **dq current PI ×2 with cross-decoupling feedforward** (PZC for RL plant + BEMF compensation). Modulation = **Anti_Park + SVPWM** library blocks. v1 baseline supports SPMSM and mild-saliency IPMSM (`Lq/Ld < 2`); strong-saliency IPMSM MTPA mid-loop deferred. Layered on [motor-pmsm-base](../motor-pmsm-base/SKILL.md). All base discipline applies. ## ⚠️ Signing Authority Note (SMC-specific) Most users may lack independent SMC domain expertise. When the user declares this gap, switch to **AI-self-audit mode** (see base/[theory_anchor.md](../motor-pmsm-base/references/theory_anchor.md)): - §A/§B (PI / DTC) formulas: user-signed - §C (SMC) formulas: AI-self-audited with verifiable sources (≥ 2 independent cross-check + ≥ 1 link openable + ≥ 1 PDF cached) **Fail-safe replacement for user formula sign-off**: a Phase 8 G4 user visual review on MATLAB desktop (4 Scopes + abc currents AC sinusoidal verification). G4 cannot be skipped. ## Must-Follow Rules 1. **Plan first** — Numbered plan with 25-input table, design-decision choices ([design_decisions.md](references/design_decisions.md)), build-script structure. Get user approval. 2. **One-click reproducibility** — Inject all parameters via `set_param(mdl, 'InitFcn',