惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
S
Schneier on Security
aimingoo的专栏
aimingoo的专栏
T
Troy Hunt's Blog
U
Unit 42
Hacker News - Newest:
Hacker News - Newest: "LLM"
V2EX - 技术
V2EX - 技术
T
The Blog of Author Tim Ferriss
V
Visual Studio Blog
H
Heimdal Security Blog
H
Hacker News: Front Page
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Cloudbric
Cloudbric
Google DeepMind News
Google DeepMind News
C
Cisco Blogs
The Cloudflare Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
MyScale Blog
MyScale Blog
F
Fortinet All Blogs
N
News | PayPal Newsroom
Attack and Defense Labs
Attack and Defense Labs
D
DataBreaches.Net
N
News and Events Feed by Topic
Security Archives - TechRepublic
Security Archives - TechRepublic
Forbes - Security
Forbes - Security
Simon Willison's Weblog
Simon Willison's Weblog
F
Full Disclosure
The Register - Security
The Register - Security
L
LINUX DO - 热门话题
Webroot Blog
Webroot Blog
Google Online Security Blog
Google Online Security Blog
AI
AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
I
Intezer
S
Security Affairs
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
云风的 BLOG
云风的 BLOG
博客园 - 叶小钗
T
Threatpost
Spread Privacy
Spread Privacy
小众软件
小众软件
AWS News Blog
AWS News Blog
S
Secure Thoughts
S
Security @ Cisco Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks

Blog | Lyunvy

切实之书 Slice-4 生存之外 晒太阳 做个文人——张老师 乙巳年前 Slice-3 桂花香 Slice-2 终于有一天,你不认识我,我不认识你 沈阳小旅 大学篇的完结 Slice-1 五元班费的失踪 那片油菜花 关于平方根的测量 转折点一 我的家 Weekly-19 Weekly-18 少年和狗 我从未想过自己是选择放弃的那个 亲爱的自己 Weekly-17 Weekly-16 当妙笔不再生花,文思再难泉涌 Weekly-14-15 遥远的梦与契约 凶:僮狰 Weekly-13 Weekly-12 Weekly-11 Weekly-10 盒子里到底有什么 Weekly-8-9 Weekly-7 To:Cheems of the future… Weekly-6 蓝色的邀请 Weekly-5 You're Not Late! You're Not Early Weekly-4 远浪情诗 ——《魁拔 3》 Weekly-3 Weekly-2 Weekly-1 我 - 演讲 - 李老师 突然的永别,迟来的痛哭 迷思:《皇帝的新衣》 回顾・未来・FLAG 学校到机场的距离 GitHub Pages 自定义域名 “Enforce HTTPS” 不可选中 《信条》—— 富尔格姆
二阶系统 PD 校正后在阶跃响应下时域指标的计算
Lyunvy · 2022-08-11 · via Blog | Lyunvy

自控课设的题目有对 PD 校正后系统分析的要求,课本上一般只对二阶标准型系统计算指标,而 PD 校正后的系统不再是书上的标准型,变成了带实零点的二阶标准型,计算公式也不再适用,经查找资料后得出解决办法,记录在此。

一般形式的计算

基础公式

图 1 比例 - 微分控制系统结构图

由图 1 可计算出系统的开环传递函数

$$G (s) = \frac {C (s)}{E (s)} = \frac {K\left (T_{d} s+1\right)}{s\left [s /\left (2 \zeta \omega_{n}\right)+1\right]} \tag {1.1}$$

其中 $K=\frac {\omega _{n} }{2\zeta } $ ,称为开环增益。

令 $z=\frac {1}{T_{d} } $ ,则闭环传递函数为

$$\Phi (s)=\frac {\omega_{n}^{2}}{z} \cdot \frac {s+z}{s^{2}+2 \zeta_{d} \omega_{n} s+\omega_{n}^{2}} \tag {1.2}$$

其中

$$\zeta_{d}=\zeta+\frac {\omega_{n}}{2z} \tag {1.2.1}$$

输入阶跃响应,由式 (1.2) 得

$$C (s)=\frac {\omega_{n}^{2}}{s\left (s^{2}+2 \zeta_{d} \omega_{n} s+\omega_{n}^{2}\right)}+\frac {1}{z} \frac {s \omega_{n}^{2}}{s\left (s^{2}+2 \zeta_{d} \omega_{n} s+\omega_{n}^{2}\right)} \tag {1.3}$$

对式 (1.3) 拉氏反变换,并令 $\zeta_{d} < 1 $ ,得单位阶跃响应

$$c (t)=1+r \mathrm {e}^{-\zeta_{d} \omega_{n} t} \sin \left (\omega_{n} \sqrt {1-\zeta_{d}^{2}} t+\psi\right) \tag {1.4}$$

其中

$$r=\sqrt {z^{2}-2 \zeta_{d} \omega_{n} z+\omega_{n}^{2}} /\left (z \sqrt {1-\zeta_{d}^{2}}\right) \tag {1.5}$$

$$\psi=-\pi+\arctan \left [\omega_{n} \sqrt {1-\zeta_{d}^{2}} /\left (z-\zeta_{d} \omega_{n}\right)\right]+\arctan \left (\sqrt {1-\zeta_{d}^{2}} / \zeta_{d}\right) \tag {1.6}$$

时域指标

由于加了 PD 校正后,系统的闭环传递函数已不是标准型,故无法用标准型的公式计算时域指标。

  • 上升时间:由式 (1.4) 可得,上升时间 $t_{r}$ 是阻尼比 $\zeta_{d}$ 、自然频率 $\omega_{n}$ 和闭环零点值 z 的函数。

  • 峰值时间:

    $$t_{p}=\frac {\beta_{d}-\psi}{\omega_{n} \sqrt {1-\zeta_{d}^{2}}} \tag {1.7}$$

    式中

    $$\beta_{d}=\arctan \left (\sqrt {1-\zeta_{d}^{2}} / \zeta_{d}\right) \tag {1.8}$$

  • 超调量

    $$\sigma \%=r \sqrt {1-\zeta_{d}^{2}} \mathrm {e}^{-\zeta_{d} \omega_{n} t_{\rho}} \times 100 \% \tag {1.9}$$

  • 调节时间
    取 $\Delta =0.05$ 时,

    $$t_{s}=\frac {3+\ln r}{\zeta_{d} \omega_{n}} \tag {1.10}$$

    取 $\Delta =0.02$ 时,

    $$t_{s}=\frac {4+\ln r}{\zeta_{d} \omega_{n}} \tag {1.11}$$

具体应用实例

图 2 是原电路,需要对其添加 PD 校正调节至给定超调量(例如 16.3%)。

图 2 原电路图

原系统分析

易得原系统开环传递函数为

$$G (s) = \frac {156.25}{s\left ( {s + 5} \right)} \tag {2.1}$$

  • 自然频率 $\omega_{n}$ 和阻尼比 $\zeta_{d}$

    $$\left\{\begin {array}{l} \omega_{n}=12.5 \\ \xi=0.2 \end {array}\right. \tag {2.2}$$

  • 上升时间:

    $$t_{r}=\frac {\pi-\beta}{\omega_{d}}=\frac {\pi-\arccos \xi}{\omega_{n} \sqrt {1-\xi^{2}}}=\frac {\pi-\arccos 0.2}{12.5 \sqrt {1-0.2^{2}}}=0.144 s \tag {2.3}$$

  • 峰值时间:

    $$t_{p}=\frac {\pi}{\omega_{d}}=\frac {\pi}{\omega_{n} \sqrt {1-\xi^{2}}}=\frac {\pi}{12.5 \times \sqrt {1-0.2^{2}}}=0.256 \mathrm {~s} \tag {2.4}$$

  • 超调量

    $$\sigma \%=e^{-\frac {\xi \pi}{\sqrt {1-\xi^{2}}}} \times 100 \%=e^{-\frac {0.2 \pi}{\sqrt {1-0.2^{2}}}} \times 100 \%=52.66 \% \tag {2.5}$$

  • 调节时间

    $$\left\{\begin {array}{l} t_{s} = \frac {3}{\omega_{n} \xi} = \frac {3}{12.5 \times 0.2} = 1.2 s (\Delta = 5 \%) \\ t_{s} = \frac {4}{\omega_{n} \xi} = \frac {4}{12.5 \times 0.2} = 1.6 s (\Delta = 2 \%) \end {array}\right.\tag {2.6}$$

加 PD 校正

利用 Matlab 通过以上分析公式计算出 $T_{d}$

1
2
3
4
5
6
7
8
9
10
11
12
kx=0.2; 
mpex=0.163;
wn=12.5;
syms z;
kxex=kx+wn/(2*z);
r=sqrt (z^2-2*kxex*wn*z+wn^2)/(z*sqrt (1-kxex^2));
Ps=-3.14+atan ((wn*sqrt (1-kxex^2))/(z-kxex*wn))+atan (sqrt (1-kxex^2)/kxex);
Bt=atan (sqrt (1-kxex^2)/kxex);
Tpp=(Bt-Ps)/(wn*sqrt (1-kxex^2));
mpp=r*sqrt (1-kxex^2)*exp (-kxex*wn*Tpp);
eq=mpp-mpex;
kd=roundn (double (1/solve (eq)),-4)

得出 $T_{d}=0.0604$

设计校正后的电路如图 3:

图 3 校正后电路图

利用 Matlab 算出校正后系统的仿真超调量

1
2
3
4
5
6
7
8
9
10
11
num=[9.4375,156.25];
den=[1,14.4375,156.25];
t=0:0.001:3;
x=step (num,den,t);
xss=dcgain (num,den);

j=1;
while x (j)<max (x)
j=j+1;
end
mp=(max (x)-xss)/xss

得出仿真的超调量为 16.28%,在误差允许的范围内符合要求(16.3%)。

图 4 校正前后系统的阶跃响应曲线


资料参考:胡寿松《自动控制原理(第七版)》(P92-95)