matlab/matlab-agentic-toolkit / skills-catalog/control-systems/matlab-extract-battery-features
matlab-extract-battery-features
VerifiedExtract battery features in MATLAB from voltage, current, and temperature measurements: multi-cycle cycling tests, HPPC / pulse tests, EIS impedance sweeps, or a single in-field charge or discharge segment. Use when the user asks for battery features, or for SOH, RUL, degradation, internal-resistance, or impedance analysis that needs them. Output is a feature table; does not train SOH / RUL models. Do not trigger only because battery data is present. Triggers on battery* functions such as batteryTestDataParser, batteryTestFeatureExtractor, batteryPulseFeatures, batteryEISFeatures.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.6 KB |
| manifest.yaml | config | 469 B |
| references/cycling-pipeline.md | markdown | 21.1 KB |
| references/cycling/feature-selection.md | markdown | 2.6 KB |
| references/cycling/multi-cell.md | markdown | 5.1 KB |
| references/cycling/postprocess.md | markdown | 2.4 KB |
| references/cycling/schedule-verification.md | markdown | 4.2 KB |
| references/cycling/tolerance-tuning.md | markdown | 2.4 KB |
| references/eis-features.md | markdown | 10.8 KB |
| references/individual-cycling-functions.md | markdown | 10.1 KB |
| references/parameter-tuning.md | markdown | 14.2 KB |
| references/pulse-features.md | markdown | 12.6 KB |
| scripts/checkCyclingProtocol.m | other | 9.2 KB |
| scripts/sweepScheduleAndReport.m | other | 3.7 KB |
| scripts/verifyAgainstSchedule.m | other | 8.5 KB |
| scripts/verifySegmentation.m | other | 6.3 KB |
| scripts/verifySingleSegment.m | other | 3.0 KB |
references/cycling/feature-selection.md
View on GitHub# Cycling: Feature Selection for Common Applications
Load this when choosing a physically meaningful feature subset for a stated application, when interpreting a correlation-ranked feature list (see `references/cycling/postprocess.md`), or when ranking features across battery cells. Not needed to run the extraction itself.
Cycling data supports SOH, RUL, Fast Charging, and Cell Screening. After the correlation-ranked list is produced, compare the top-N against the *expected* top features below: agreement = physical grounding; a list dominated by "watch for noise" entries = too few cycles, over-smoothing, or a spurious trend.
| Application | Enable (primary → supporting) | Expected top-ranked | Watch for noise |
|-------------|-------------------------------|---------------------|-----------------|
| **SOH / Capacity** | `CycleCumulative`, `IC` → `Statistics`, `CC` (IC peaks shift/shrink as electrodes degrade — most physical) | `Discharge_CycleCumulative_capacity` (r≈−1 vs cycle), `..._IC_peak_value` (↓), `..._IC_peak_location` (drift), `Charge_CC_duration` (↑) | raw `Statistics` skewness/kurtosis correlating > 0.9 with cycle = alignment artifact, not degradation |
| **RUL / End-of-Life** | `IC`, `CycleCumulative` → `CCCV` energy ratio (CC/CV balance shifts as IR grows) | capacity slope over recent cycles, `IC` peak-height decay rate, `CCCV_EnergyRatio` shift; 2nd derivative of capacity (knee onset) > the value itself | single-cycle V/I statistics — RUL needs a *trend*, not a snapshot |
| **Fast Charging** | `CV` (CV duration ↑ = plating risk), `DT` (thermal signature) → `Statistics` (temp rise). `DT` requires `CC=true` | `Charge_CV_duration` (growing = plating), `Charge_DT_peak_value` (thermal signature), `Charge_Temperature_max`, rising `Charge_CCCV_EnergyRatio_CV` | no CV hold in the protocol → `CV` features near-zero across cycles and rank spuriously; check the protocol before trusting `CV`-dominated rankings |
| **Cell Screening** | across-cell `CycleCumulative` variance, `IC` peak-location spread | per-cell early-cycle capacity variance, `IC_peak_location` variance at cycle 1–10, `CC_duration` variance — rank *across cells at fixed cycle*, not across cycles for one cell | < 5 cells → most features look discriminative by chance; prefer physical features (capacity, IR surrogate), downweight shape statistics |
**Cross-data-type:** EIS (R0 / arc-width growth = SEI growth) complements cycling for RUL; Pulse (R0/RTotal variance) and EIS (arc width) are typically stronger for Cell Screening — see `references/eis-features.md`, `references/pulse-features.md`.
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |