integral-action-design
Adding integral action to MPC for offset-free tension tracking.
- License 许可
- Apache-2.0
- 最近更新
- 2026-04-21
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- integral-action-design
- description
- Adding integral action to MPC for offset-free tension tracking.
03 SKILL.md 正文
Integral Action for Offset-Free Control
Why Integral Action?
MPC with model mismatch may have steady-state error. Integral action eliminates offset by accumulating error over time.
Implementation
u_I = gamma * u_I - c_I * dt * (T - T_ref)
u_total = u_mpc + u_I
Where:
- u_I: Integral control term
- gamma: Decay factor (0.9-0.99)
- c_I: Integral gain (0.1-0.5 for web systems)
- dt: Timestep
Tuning Guidelines
Integral gain c_I:
- Too low: Slow offset correction
- Too high: Oscillations, instability
- Start with 0.1-0.3
Decay factor gamma:
- gamma = 1.0: Pure integral (may wind up)
- gamma < 1.0: Leaky integrator (safer)
- Typical: 0.9-0.99
Anti-Windup
Limit integral term to prevent windup during saturation:
u_I = np.clip(u_I, -max_integral, max_integral)
For R2R Systems
Apply integral action per tension section:
for i in range(num_sections):
u_I[i] = gamma * u_I[i] - c_I * dt * (T[i] - T_ref[i])
04 同仓库更多 Skills
data-reconciliation
暂无简介
speech-to-text
Transcribe video to timestamped text using Whisper tiny model (pre-installed).
video-processor
Process videos by removing segments and concatenating remaining parts. Use when you need to remove detected pauses/openings from videos, create highlight reels, or batch process segment removals using ffmpeg filter_complex.
silence-detector
Detect initial silence segments in audio/video using energy-based analysis. Use when you need to find low-energy periods at the start of recordings (title slides, setup time, pre-roll silence).
segment-combiner
Combine multiple segment detection results into a unified list. Use when you need to merge segments from different detectors, prepare removal lists for video processing, or consolidate detection outputs.
report-generator
Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.