pid control using matlab simulation
DESCRIPTION
PID Control Using MATLAB Simulation. Lecturer: 黃教琪 Int. phone #:4375 [email protected]. Proportional-Integral-Derivative(PID) Control. For control over steady-state and transient errors we can combine all three control strategies we have discussed is PID control. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/1.jpg)
Automatic Control - Matlab lecture4
1
PID Control Using MATLAB Simulation
Lecturer: 黃教琪Int. phone #:[email protected]
![Page 2: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/2.jpg)
Automatic Control - Matlab lecture4
2
Proportional-Integral-Derivative(PID) Control
For control over steady-state and transient errors we can combine all three control strategies we have discussed is PID control.PID combination is sometimes able to provide an acceptable degree of error reduction simultaneously with stability and damping.
![Page 3: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/3.jpg)
Automatic Control - Matlab lecture4
3
PID by MATLAB Implement Example 1
Consider a system with transfer function
T=10K/[(1*2)s^2+ (1+2)s+1+AK]
Time (sec.)
Am
plitu
de
Step Response
0 0.003 0.006 0.009 0.012 0.015 0.0180
0.5
1
1.5
Change it manually
![Page 4: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/4.jpg)
Automatic Control - Matlab lecture4
4
PID by MATLAB Implement Example 2
Consider a system with transfer function
T=(K*S+Ki)/[S^3+ 3*S^2+(2+K)*S+Ki]
![Page 5: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/5.jpg)
Automatic Control - Matlab lecture4
5
0 1 2 3 4 5 6 7 8 9 100
0.2
0.4
0.6
0.8
1
1.2
1.4
t
y(t)
step response
![Page 6: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/6.jpg)
Automatic Control - Matlab lecture4
6
Ziegler-Nichols Tuning of PID Regulators
J. G. Ziegler and N. B. Nichols recognized that the step responses of a large number of processes control systems exhibits a process reaction curve like <fig.1>Ziegler & Nichols gave two methods for tuning the controller For a decay ratio of 0.25 Based on a stability boundary
![Page 7: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/7.jpg)
Automatic Control - Matlab lecture4
7
Fig.1
![Page 8: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/8.jpg)
Automatic Control - Matlab lecture4
8
Z.-N. Tuning of PID Regulators Method One
For a decay ratio of 0.25For a decay ratio of 0.25
![Page 9: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/9.jpg)
Automatic Control - Matlab lecture4
9
Sample of MATLAB Implement
Consider a system with transfer function
T=2/[(S+2)*(0.18*S^2+0.6*S+1)]With L=0.38;R=1;
11
![Page 10: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/10.jpg)
Automatic Control - Matlab lecture4
10
2
3
4
5
![Page 11: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/11.jpg)
Automatic Control - Matlab lecture4
11
0 1 2 3 4 5 6 7 8 9 100
0.5
1
1.5
t
y(t)
Step Response
![Page 12: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/12.jpg)
Automatic Control - Matlab lecture4
12
Z.-N. Tuning of PID Regulators Method Two
Based on a stability boundary
Based on a stability boundary
![Page 13: PID Control Using MATLAB Simulation](https://reader036.vdocuments.mx/reader036/viewer/2022081419/5681593c550346895dc67ad1/html5/thumbnails/13.jpg)
Automatic Control - Matlab lecture4
13
Homework Assignment
Using Z.-N. method Two to establish the PID regulator using the same transfer function above.Adjusting the P,I,D value manually to establish the most stable output using the same transfer function above.
(Deadline: Nov. 10th)