state-space-linearization

Linearize nonlinear dynamical systems by computing Jacobian matrices and discretizing for control design.

317|40|Updated Jan 21, 2025
One-click install
npx skills add https://github.com/benchflow-ai/benchflow --skill state-space-linearization-benchflow-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: state-space-linearization
Source: https://github.com/benchflow-ai/benchflow/tree/main/tests/fixtures/skillsbench_slice/r2r-mpc-control/environment/skills/state-space-linearization
Command: npx skills add https://github.com/benchflow-ai/benchflow --skill state-space-linearization-benchflow-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of designing control systems for nonlinear dynamics by providing a structured approach to linearizing systems around specific operating points.

Core Features & Use Cases

  • Jacobian Computation: Automatically derive the A and B matrices for nonlinear systems defined by dx/dt = f(x, u).
  • Discretization Methods: Support for Euler and Matrix Exponential methods to convert continuous-time models into discrete-time representations.
  • Use Case: Engineers working on R2R (Roll-to-Roll) systems can use this to calculate the partial derivatives of tension and velocity dynamics to tune MPC controllers effectively.

Quick Start

Use the state-space-linearization skill to compute the Jacobian matrices for the provided nonlinear system dynamics at the specified reference operating point.

Frequently Asked Questions about state-space-linearization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I linearize nonlinear dynamics for MPC control design?

To linearize nonlinear dynamics for MPC control design, you compute the Jacobian matrices to derive A and B state-space matrices at a specific operating point, then apply discretization techniques like Euler or matrix exponential methods.

How do I compute Jacobian matrices for a nonlinear state-space system?

Computing Jacobian matrices for a nonlinear state-space system requires mathematically deriving the partial derivatives of the state and input vectors from the differential equation dx/dt = f(x, u) at a specified reference operating point.

What is the best way to convert continuous-time nonlinear models to discrete-time representations?

The best way to convert continuous-time nonlinear models to discrete-time representations is by applying Euler or matrix exponential discretization techniques after linearizing the system around its operating point.

Can I use state-space linearization for Roll-to-Roll system tension and velocity dynamics?

Yes, you can use state-space linearization for Roll-to-Roll systems to calculate the partial derivatives of tension and velocity dynamics, enabling effective tuning of MPC controllers.

Do I need to manually derive partial derivatives for state and input vectors during linearization?

Yes, you need to mathematically derive the partial derivatives for state and input vectors to ensure accurate Jacobian computation and proper stability analysis for the control design.

Why does linearization require specifying a reference operating point?

Linearization requires specifying a reference operating point because the computed Jacobian matrices and the resulting LTI system approximation are only valid for analyzing stability and control behavior near that specific state.