0% found this document useful (0 votes)
21 views11 pages

PID Controller Tuning for DC Motor

The document discusses tuning PID controllers for a DC motor system using CHR's method. It: 1) Estimates the open loop time delay, time constant, and gain. 2) Calculates controller gains for P, PI, and PID controllers aimed at 0% overshoot but finds overshoot occurs anyway. 3) Repeats for 20% overshoot target and finds gains that achieve less than 20% overshoot. 4) Concludes CHR's method cannot guarantee zero overshoot and settling time may be high, so MATLAB tuning could improve the response.

Uploaded by

AlieEldeen
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views11 pages

PID Controller Tuning for DC Motor

The document discusses tuning PID controllers for a DC motor system using CHR's method. It: 1) Estimates the open loop time delay, time constant, and gain. 2) Calculates controller gains for P, PI, and PID controllers aimed at 0% overshoot but finds overshoot occurs anyway. 3) Repeats for 20% overshoot target and finds gains that achieve less than 20% overshoot. 4) Concludes CHR's method cannot guarantee zero overshoot and settling time may be high, so MATLAB tuning could improve the response.

Uploaded by

AlieEldeen
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Helwan University

Faculty of Engineering

Mechanical Department

Name: Alie Eldeen Ahmed Ali

Section:1
Problem

For the following open loop control system (DC motor):

Requirements
a)Determine the open loop response and approximated time delay , time constant and system DC
gain.

b) Determine the controller gains for P controller and then determine the step response for 0%
overshoot.

c) Determine the controller gains for PI controller and then determine the step response for 0%
overshoot.

d) Determine the controller gains for PID controller and then determine the step response for 0%
overshoot.

e) Determine the controller gains for P controller and then determine the step response for 20%
overshoot.

f) Determine the controller gains for PI controller and then determine the step response for 20%
overshoot

g) Determine the controller gains for PID controller and then determine the step response for 20%
overshoot.
a)

 The approximate time delay: 0.46


 The approximate time constant: 4.14
 System dc gain: 0.5
𝐾∗𝐿 0.5∗0.46 1
B) 𝑎 = = = = 0.0556
𝑇 4.14 18

 Controller type: P
 Overshoot: 0%
0.3
Kp= = 5.4
0.0556

Kp = 5.4

Comment: There is overshoot although we made calculation to be with


no overshoot according to CHR’s method
𝐾∗𝐿 0.5∗0.46 1
c) 𝑎 = = = = 0.0556
𝑇 4.14 18

 Controller type: PI
 Overshoot: 0%

0.35
Kp= = 6.3 Ti = 1.2T= 1.2*4.14=4.968
0.0556
𝐾𝑝 6.3
Ti= = = 4.968 Ki=1.3
𝐾𝑖 𝐾𝑖

Kp=6.3 Ki=1.3

Comment: There is overshoot although we made calculation to be with


no overshoot according to CHR’s method
𝐾∗𝐿 0.5∗0.46 1
d) 𝑎 = = = = 0.0556
𝑇 4.14 18

 Controller type: PID


 Overshoot: 0%
0.6 𝐾𝑝 10.8
Kp= = 10.8 Ti=T=4.14= = Ki=2.6
0.0556 𝐾𝑖 𝐾𝑖
𝐾𝑑 𝐾𝑑
Td=0.5L=0.5*0.46=0.23 Td= = Kd=2.484
𝐾𝑝 10.8

Kp=10.8 Ki=2.3 Kd=2.484

Comment: There is overshoot although we made calculation to be with


no overshoot according to CHR’s method
𝐾∗𝐿 0.5∗0.46 1
e) 𝑎 = = = = 0.0556
𝑇 4.14 18

 Controller type: P
 Overshoot: 20%

0.7 0.7
Kp= = = 12.6
𝑎 0.0556

Kp=12.6

Comment: The overshoot here is acceptable is less than 20% so it will


perfect for system that accept 20% overshoot
𝐾∗𝐿 0.5∗0.46 1
f) 𝑎 = = = = 0.0556
𝑇 4.14 18

Controller type: PI
Overshoot: 20%

0.6
Kp= = 10.8
0.0556
𝐾𝑝 10.8
T=4.14 T= = 𝐾𝑖 = 2.6
𝐾𝑖 𝑘𝑖

Kp=10.8 Ki=2.6

Comment: There is overshoot which is higher than 20% although we


made calculation to be with 20% overshoot according to CHR’s method
𝐾∗𝐿 0.5∗0.46 1
g) 𝑎 = = = = 0.0556
𝑇 4.14 18

 Controller type: PID


 Overshoot: 20%

0.95 𝐾𝑝 17.1
Kp= = 17.1 Ti=1.4T=1.4*4.14= = Ki=2.95
0.0556 𝐾𝑖 𝐾𝑖
𝐾𝑑 𝐾𝑑
Td=0.47L=0.47*0.46=0.2162 Td= = Kd=3.69702
𝐾𝑝 17.1

Kp=17.1 Ki=2.95 Kp=3.69702

Comment: The overshoot here is acceptable is less than 20% so it will


perfect for system that accept 20% overshoot
The limitation of CHR’s method for tuning PID according to last example:

 We can’t make zero overshoot by using this method


 Maybe the settling time is high

We can make system response better by using Matlab tuning by taking the
parameter that we calculate from CHR’s method
Zero overshoot

20% overshoot

Common questions

Powered by AI

The CHR's method for tuning a PID controller has limitations in achieving zero overshoot because the method often results in some degree of overshoot despite calculations being intended to prevent it. As noted in the analysis, CHR's method cannot guarantee zero overshoot due to inherent limitations in the tuning methodology .

The approximated system parameters such as time delay (0.46), time constant (4.14), and DC gain (0.5) are determined based on empirical measurements or system modeling. These parameters impact the system's step response by influencing the speed of response (time constant), the initial response delay (time delay), and the system's steady-state output amplitude (DC gain).

When aiming for 20% overshoot, a PI controller may exhibit higher overshoot due to difficulty in balancing its proportional and integral actions effectively with the given parameters . Conversely, PID controllers can better manage overshoot through tuned derivative actions, providing additional damping that limits overshoot to within 20% as seen in the example calculations . This occurs because the additional derivative component helps counteract fast changes, thus stabilizing the response more effectively than PI controls alone .

Increasing the proportional gain (Kp) for a P controller in an open loop system typically increases the response speed but may lead to increased overshoot. For instance, any gain increase to achieve a specific overshoot target (e.g., 20%) risks surpassing 20%, illustrating the sensitivity and potential overshoot escalation as seen in the DC motor example where calculated gains led to overshoot beyond expected values .

Matlab tuning can enhance system response by allowing flexible manipulation of controller parameters beyond CHR's static calculations, offering iterative adjustments based on simulations to refine gains dynamically . It addresses CHR's limitations by providing finer control over parameters, allowing for reduction in settling time and more precise overshoot control through real-time feedback and adjustment based on simulated results versus static theoretical application .

The integral action in a PI controller accumulates error over time and corrects steady-state error, enhancing precision and stability compared to a P controller which lacks this adjustability feature and is prone to offsetting error in steady-state . This addition modifies dynamic behavior by potentially reducing steady-state error but also risks amplifying oscillatory behavior and compromising response time due to slower reaction to rapid changes .

Calculated controller gains from CHR’s method might lead to unintended overshoot due to inherent approximation errors and assumptions made during the tuning process that oversimplify real system dynamics, neglecting non-linearities and dynamic interactions that influence practical system behavior . This mismatch between theoretical framework and real-world factors can result in unanticipated overshoot .

The relationship between the time constant and controller type is pivotal as it influences the speed and stability of a system’s step response. With a high time constant (4.14), the system inherently responds slower, necessitating careful gain adjustments in controllers, like P or PI, to manage the inherent trade-off between speed-up (reducing time constant impact) and potential overshoot or instability caused by aggressive control action . Thus, controller type and time constant must be harmonized to achieve desired transient and steady-state behaviors .

Different controllers impact overshoot differently due to their structure. For a P controller, a gain (Kp) is required to reduce overshoot, but achieving 0% is challenging as indicated by overshoot occurring despite calculations implying no overshoot . PI controllers add an integral component which adjusts Kp and Ki to target no overshoot, yet overshoot persists due to tuning limitations . For PID controllers, Kp, Ki, and Kd aim to zero overshoot but adjustments can't completely eliminate it as integral and derivative gains may introduce instability .

For a PID controller, gains are calculated based on approximations of system parameters and desired performance specifications. Kp is adjusted to manage initial response, Ki integrates accumulated error, and Kd addresses rate of change for damping, towards achieving specified overshoot (e.g., 20% calculated gain values). Challenges arise from gain interactions potentially leading to instability or unanticipated overshoot due to system non-linearities or oversimplified delay constants .

You might also like