From 0c641b7bb257bb81d2173d2459b61a4e415cbef8 Mon Sep 17 00:00:00 2001 From: nandard Date: Mon, 12 Sep 2022 23:48:27 +0700 Subject: [PATCH] Revision on PI doc --- Assignment 4 - PI/README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Assignment 4 - PI/README.md b/Assignment 4 - PI/README.md index 30a2c89..5fdec79 100644 --- a/Assignment 4 - PI/README.md +++ b/Assignment 4 - PI/README.md @@ -2,7 +2,7 @@ This dir is belong to Control System class contains with Integral Effect on Control System. This code 100% original made by my hand :), please leave some notes if you're going to use it. Thanks! ## Software -This program run in Matlab +This program ran in Matlab ## Variables `s = tf('s');` defines s as 'frequency domain' for transfer function and will be used further. @@ -19,7 +19,7 @@ Kp = 1; % Ki = 1; % Ki = 3; % Ki = 5; - Ki = 7; +Ki = 7; % Ki = 9; ``` Variable above is the constant from PI control, we're trying to varies the constant to analyze integral effect on control system @@ -56,23 +56,31 @@ ylim([0 3]) ## Testing For Kp = 1 -| Parameter | Ki = 1 | Ki = 3 | Ki = 5 | Ki = 7 | Ki = 9 | +| Param | Ki = 1 | Ki = 3 | Ki = 5 | Ki = 7 | Ki = 9 | |--- |--- |--- |--- |--- |--- | | Rise Time | 22.7723 | 6.7782 | 3.5914 | 2.3175 | 2.3175 | | Settling Time | 40.3716 | 12.1907 | 6.3158 | 3.6779 | 3.6779 | | Overshoot | 0 | 0 | 0 | 0.3523 | 0 | | SSE | 1.7396e-06 | 0.0034 | 0.0033 | 0.0034 | 6.6536e-05 | + Notes: In theory, SSE should decrease following the increased Ki, but i suspect Matlab just can't compute too much floating point. Hence, i add two additional test with larger constant to show the effects. ## Additional Testing For Kp = 50 -| Parameter | Ki = 0 | Ki = 5 | +| Param | Ki = 0 | Ki = 5 | |--- |--- |--- | | Rise Time | 0.1201 | 0.1415 | | Settling Time | 0.6376 | 29.5503 | | Overshoot | 19.6150 | 6.1627 | | SSE | 0.1127 | 0.0082 | +## Conclusion +Based on previous tests, we conclude that by adding Integral constant : +* Risie time is **increased** +* Settling time is **increased** +* Overshoot is **decreased** +* SSE is **decreased** + ### Notes Contact nanda.r.d@mail.ugm.ac.id for more information ### Links