Professional Documents
Culture Documents
Contents
Simulink Control Design Graphical User Interface (GUI): 1. Configure the model and GUI for controller design 2. Design a PID controller using ZieglerNichols tuning and Bode graphical design. 3. Simulate the closed-loop system.
1. Problem
Cascade control: CST composition mixer
AC
FC FT
F1, C1
F2, C2
AT
Product, C
CV: Product composition, MV: F1 flow rate, DV: Changes in F1 flow rate Aim: To eliminate the disturbance from F1 flow rate, and good setpoint tracking. Tuning Criteria: 1. The fluctuations after tuning for disturbance rejection should lie within 5%. 2. Whereas for setpoint tracking, the overshoot less than 50%, and 3. The rise time less than 5 seconds.
G PP
NOTE:
method:
Select Tools > Control Design > Compensator Design Click Select Blocks tick the controllers - OK Right click on the input line to the closed loop Select Linearization Points > Input Point . Right click on the output line from the closed loop Select Linearization Points > Output Point. Click Tune Blocks.
Under the tab Analysis plot, select Step and tick the closed loop box. Under the tab Automated tuning, select any of the design method, in this case, we have chosen PID tuning ZN open loop Update compensator Update simulink block parameters Alternatively, you can use Graphical tuning/ Compensator editor. Check if the responses meet the tuning criteria
After tuning:
Store Design
Disturbance Rejection:
10
Setpoint Tracking:
>> stepinfo(y)
1.5
ans = RiseTime: 3.8370 SettlingTime: 139.7210 SettlingMin: 0.8769 SettlingMax: 1.4054 Overshoot: 40.4407 Undershoot: 0 Peak: 1.4054 PeakTime: 22
1.4 1.3 1.2 1.1 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 0 2 4 6 8 10
Criteria achieved~
3. Stability Analysis
Carry out at least 1 stability analysis, such as open-loop bode plot, root locus, nyquist, nichols, etc. Describe.
4. Performance Evaluation
Disturbance rejection
+5 and +10 increase in D(s): Others: +5 and -5, Etc. Describe.
0.4 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 D(s)=+5 D(s)=+10 0 2 4 6 8 10
Setpoint tracking
+1, +2 and +5 step changes in Ysp(s): Others: -1,-2, -5 changes Etc.
10
5 4 3 2 1 0 -1 -2 -3 -4
10
12
14
16
18
20
Reference: [1] The MathWorksTM Do free out some time to go through this tutorial: http://www.mathworks.com/access/helpdesk/help/toolbox/slc ontrol/index.html?/access/helpdesk/help/toolbox/slcontrol/gs/ brrzwxv.html
Have fun~!