matlab 增益k,怎样求控制器的增益系数k?

在Matlab中,设计控制器u=-k*x来定位状态空间模型(dot x = A*x + B*u)的极点。通过将u替换为-k*x,得到(dot x = (A-B*K)x),使用place函数输入(A, B, p)获取增益k。如果要设计期望的极点,可以选择适合的带宽(omega)和阻尼比(zeta),利用roots函数计算极点并据此计算k。" 117113492,10548897,C语言词法分析实验:深入理解编译原理,"['编译原理', '词法分析', 'C语言编程']
摘要由CSDN通过智能技术生成

步骤:

1.  \dot x =A*x + B*u is a state space model, with A and B are known. Now we want to locate the poles p at the desired location, so need the help with designing a controller: u= - k*x。How to choose the gain k?

Answer: Substituting u= - k*x, then \dot = (A-B*K)x, use place function in Matlab to input (A,B,p), obtaining k from the output.

About the introduction of place function, I attach a paragraph from Wikipedia here:

Description

Given the single- or multi-input system

˙x=Ax+Bu

and a vector p of desired self-conjugate closed-loop pole locations, place computes a gain matrix K such that the state feedback u = –Kx places the closed-loop poles at the locations p. In other words, the eigenvalues of A – BK match the entries of p (up to the ordering).

K = place(A,B,p) places the desired closed-loop poles p by computing a state-feedback gai

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值