首页/ AI 技能 / @skilllib/skill-2117939930272413712
Skill站外收录 @skilllib/skill-2117939930272413712

state-space-linearization

基于非线性系统动态特性,在指定工作点附近进行线性化处理,生成连续或离散状态空间模型,适用于控制器设计与稳定性分析,支持通过雅可比矩阵计算及数值离散化实现局部线性逼近。

0.0 (0) 29 次安装 原作者 编程导航
收录于 2026-01-22
研究 AI 技能

Skills.MD

# State-Space Linearization ## Jacobian Computation For nonlinear dynamics dx/dt = f(x, u), linearize around (x_ref, u_ref): ``` A = ∂f/∂x |_{x_ref} (n×n matrix) B = ∂f/∂u |_{x_ref} (n×m matrix) ``` ## Discretization For discrete-time control with timestep dt: **Euler method** (simple, first-order accurate): ```python A_d = I + dt * A_c B_d = dt * B_c ``` **Matrix exponential** (exact for LTI): ```python A_d = expm(A_c * dt) B_d = inv(A_c) @ (A_d - I) @ B_c ``` ## For R2R Systems The Jacobian depends on current tensions and velocities. Key partial derivatives: ```python ∂(dT_i/dt)/∂T_i = -v_i / L ∂(dT_i/dt)/∂v_i = EA/L - T_i/L ∂(dv_i/dt)/∂T_i = -R²/J ∂(dv_i/dt)/∂u_i = R/J ``` ## Tips - Linearize around the reference operating point - Update linearization if operating point changes significantly - Check stability via eigenvalue analysis

评论 0

还没有评论,来抢沙发。