21.7
状态空间表示是在数字计算机上模拟物理系统的强大工具,需要将传递函数转换为状态空间形式。考虑一个具有常数系数的 n 阶线性微分方程,就像 RLC 电路中遇到的方程一样。状态变量被选为输出及其 n-1 个导数。对这些变量进行微分并将它们代回原始方程可得出状态方程。
在 RLC 电路中,电容器两端的电压和…
状态空间表示法用于在数字计算机上对物理系统进行仿真。为此,必须先将传递函数转换为状态空间形式。
考虑一个 nth常系数线性微分方程
选择输出及其前 n-1 阶导数作为状态变量。对这一系列方程求导,并将结果代回原方程,即可得到状态方程。
每个后续的状态变量都定义为前一个状态变量的导数。
然后将得到的方程表示为向量-矩阵形式,在微分方程的负系数基础上形成由1和0构成的特定模式。这种独特结构即为状态方程的相变量形式。
考虑一个传递函数。将方程两边交叉相乘,然后在假设初始条件为零的情况下,通过取拉普拉斯逆变换得到相应的微分方程。
状态变量选择为逐阶导数。
然后对等式两边进行微分,得到状态方程和输出方程。
然后将这些方程表示为向量-矩阵形式。
View the full transcript and gain access to JoVE Core videos
Q1: Why is state-space representation necessary for simulating physical systems on digital computers?
State-space representation enables digital simulation of physical systems by converting transfer functions into a matrix form suitable for computational processing. This vector-matrix format allows computers to efficiently model and analyze dynamic system behavior. The structured representation with state variables and their derivatives provides a clear mathematical framework for numerical computation and system analysis.
Q2: How do you select state variables when converting a transfer function to state space?
State variables are chosen as the output and its n-1 derivatives for an nth-order system. In practical applications like RLC circuits, the voltage across the capacitor and current through the inductor serve as state variables. Each subsequent state variable is defined as the derivative of the previous one, creating a systematic hierarchy that captures the system's dynamic behavior.
Q3: What is the phase-variable form in state-space representation?
The phase-variable form is the unique matrix structure created when state equations are represented in vector-matrix form. It displays a distinct pattern of 1's and 0's along with the negative coefficients from the original differential equation. This standardized structure provides a clear and concise method for simulating and analyzing the dynamic behavior of linear systems.
Q4: What steps are involved in converting a transfer function to state-space form?
First, cross-multiply the transfer function and apply the inverse Laplace transform assuming zero initial conditions to obtain the differential equation. Next, select state variables as successive derivatives of the output. Differentiate both sides of the equation to generate state equations, then represent these equations in vector-matrix form to complete the conversion.
Q5: How does the state-space representation relate to the inverse conversion process?
State-space representation and its inverse conversion form a complementary pair in control systems analysis. While state-space converts transfer functions into matrix form for time-domain simulation, the reverse process converts state-space back to transfer functions. Understanding both transformations is essential for comprehensive system modeling and analysis in control engineering applications.
Q6: Why are zero initial conditions assumed when converting transfer functions to state space?
Zero initial conditions simplify the mathematical conversion by allowing direct application of the inverse Laplace transform without accounting for initial energy stored in the system. This assumption creates a standard baseline for the conversion process and ensures the resulting state equations accurately represent the system's response to external inputs from a relaxed initial state.
Q7: How does an RLC circuit example illustrate state-space conversion?
In a series RLC circuit, the voltage across the capacitor and current through the inductor are selected as state variables. The transfer function is cross-multiplied to obtain the differential equation, then converted to state-space form using successive derivatives. This practical example demonstrates how physical circuit components map to state variables and how the resulting matrix equations model the circuit's dynamic response.