2376 1

[Weka及其他] MATLAB课程:代码示例之Control System Design and Analysis(三) [推广有奖]

企业贵宾

已卖:160份资源

巨擘

0%

还不是VIP/贵宾

-

威望
4
论坛币
624047 个
通用积分
180.5582
学术水平
918 点
热心指数
987 点
信用等级
841 点
经验
399203 点
帖子
9786
精华
48
在线时间
17322 小时
注册时间
2014-8-19
最后登录
2022-11-2

楼主
widen我的世界 学生认证  发表于 2016-3-15 16:01:07 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

MATLAB课程:代码示例之Control System Design and Analysis(三)

Getting Started with the Control System Designer


This example shows how to tune compensators for a feedback control system using Control System Designer.

Using Control System Designer you can:

1) Define control design requirements on time, frequency, and pole/zero response plots.

2) Tune compensators using:

  • Automated design methods, such as PID tuning, IMC, and LQG.

  • Graphically tune poles and zeros on design plots, such as Bode and root locus.

  • Optimization-based control design to meet time-domain and frequency-domain requirements using Simulink® Design Optimization™.


3) Visualize closed-loop and open-loop responses that dynamically update to display the control system performance.


Compensator Design Problem

For this example, design a compensator for the system


with the following design requirements:

  • Zero steady-state error with respect to a step input.

  • 80% rise time less than 1 second.

  • Settling time less than 2 seconds.

  • Maximum overshoot less than 20%.

  • Open-loop crossover frequency less than 5 rad/s.


Open Control System Designer

Use the standard feedback structure with the controller in the forward path. This structure is the default Control System Designer architecture.

Open Control System Designer with the specified plant.

controlSystemDesigner(tf(1,[1,1]))


On the Control System tab, you can select a compensator tuning method, and create response plots for analyzing your controller performance. You can also store, compare, and export different control system designs.

For this example, graphically tune your compensator using the Root Locus Editor and open-loop Bode Editor, and validate the design using the closed-loop Step Response. By default, Control System Designer displays these responses when it opens. To add additional response plots, click New Plot.

Add Design Requirements

Add the time-domain design requirements to the Step Response plot. Right-click the plot area, and select Design Requirements > New. In the Design requirmeent type drop-down list, select Step response bound. Enter the time-domain design requirements.


Click OK. The app adds the design requirement to the step response plot as a shaded exclusion region. To meet the requirement, the step response must remain outside of this region.


To specify the frequency-domain crossover requirement, right-click the Bode Editor plot area, and select Design Requirements > New. In the Design requirement type drop-down list, select Upper gain limit, and specify the design requirement.


Click OK.

Tune Compensator

To meet the zero steady-state error design requirement, add an integrator to the compensator. Right-click the Root Locus Editor plot area, and select Add Pole/Zero > Integrator.

To create a desirable shape for the root locus plot,add a real zero near -2. Right-click the root locus plot aream and select Add Pole/Zero > Real Zero. In the root locus plot, left-click the real axis near -2.

To create a faster response by increasing the compensator gain, in the Bode Editor, drag the magnitude response upward. To satisfy the crossover frequency requirement, keep the response below the exclusion region in the Bode editor.


To view the compensator, right-click in the Bode Editor or Root Locus Editor plot area, and select Edit Compensator.


You can also tune the compensator parameters using the Compensator Editor dialog box.

Automated Compensator Tuning

In addition to graphical tuning, you can also use automated tuning methods. To select an automated tuning method, click Tuning Methods.

  • PID Tuning, IMC Tuning, and LQG Synthesis - Compute initial compensator parameters based on tuning specifications such as closed-loop time constants. See the exampleDesign LQG Tracker Using Control System Designer.

  • Optimization-Based Tuning - Optimize compensators using both time-domain and frequency-domain design requirements (requires Simulink Design Optimization). See the example DC Motor Controller Tuning.

  • Loop Shaping - Specify a desired target loop shape (requires Robust Control Toolbox™).




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:MATLAB课程 Analysis control Analysi alysis MATLAB课程 代码示例 ControlSystemDesignandAnalysis


https://www.cda.cn/?seo-luntan
高薪就业·数据科学人才·16年教育品牌

沙发
我心孤独 在职认证  发表于 2016-3-15 16:02:24
MATLAB课程,好多东西要学啊,生活不易,学习也艰难……

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-17 22:53