Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Tuning a PID controller with the Ziegler-Nichols in Simulink

Subject: Tuning a PID controller with the Ziegler-Nichols in Simulink

From: dfgdg dfgdfg

Date: 18 Dec, 2010 18:03:04

Message: 1 of 5

I want to set kp,ki,kd using Ziegler-Nichols method for this simulink model;
http://www.mathworks.com/matlabcentral/fileexchange/26275
I know I can set this parameters automatically from PID block.But I want to determine the values by calculating.
I looked a lot of documents about this method.And I knew Ziegler-Nichols method theoretically.
I increased kp, but I couldn't observe any oscillation at the output of system.How can I set these parameters Simulink using this method or Could you propose any other models or example to apply this method in simulink,clearly?
Also I tried another method but I couldn't determine L,T from its step response.

Subject: Tuning a PID controller with the Ziegler-Nichols in Simulink

From: dfgdg dfgdfg

Date: 19 Dec, 2010 08:18:04

Message: 2 of 5

Is there anyone to answer my question?I just want to ask this question;How can I implement Ziegler-Nichols Method in Simulink?Could you propose any example? but I couldn't determine L,T from its step response.

Subject: Tuning a PID controller with the Ziegler-Nichols in Simulink

From: Ali

Date: 19 Dec, 2010 19:00:23

Message: 3 of 5

Try this example :
                  
                           6
G(s) = ------------------------------------
               (2s+1)(4s+1)(6s+1)

step---------> + ------------> PID --------> G(s) --------------->Scope
                   |- |
                   | |
                   |__________________________|
                  
1) Set the controller to a P-only controller (by setting Ki = 0 and Kd = 0).
2) Start to give values to Kp until the closed loop system is at the verge of
instability (sustained oscillations are obtained). use Kp = 1.71
3) Determine from the figure the ultimate period (Tu)
4) With the ultimate gain and period determined at steps 2 and 3 compute the parameters of a PID controller using the ZN tuning rules.

use a simulation time > 30

hope it would be Helpfull!!
ALi

"dfgdg dfgdfg" <sakirae@gmail.com> wrote in message <iekf3s$anc$1@fred.mathworks.com>...
> Is there anyone to answer my question?I just want to ask this question;How can I implement Ziegler-Nichols Method in Simulink?Could you propose any example? but I couldn't determine L,T from its step response.

Subject: Tuning a PID controller with the Ziegler-Nichols in Simulink

From: Teofilus

Date: 14 Apr, 2012 06:00:37

Message: 4 of 5

"elysion87" wrote in message <ieit0o$34o$1@fred.mathworks.com>...
> I want to set kp,ki,kd using Ziegler-Nichols method for this simulink model;
> http://www.mathworks.com/matlabcentral/fileexchange/26275
> I know I can set this parameters automatically from PID block.But I want to determine the values by calculating.
> I looked a lot of documents about this method.And I knew Ziegler-Nichols method theoretically.
> I increased kp, but I couldn't observe any oscillation at the output of system.How can I set these parameters Simulink using this method or Could you propose any other models or example to apply this method in simulink,clearly?
> Also I tried another method but I couldn't determine L,T from its step response.

Subject: Tuning a PID controller with the Ziegler-Nichols in Simulink

From: Teofilus

Date: 14 Apr, 2012 06:06:17

Message: 5 of 5

please somebody help me. this is for my research about ziegler-nichol tuning optimization
> I want to set kp,ki,kd using Ziegler-Nichols method for this simulink model;
> http://www.mathworks.com/matlabcentral/fileexchange/26275
> I know I can set this parameters automatically from PID block.But I want to determine the values by calculating.
> I looked a lot of documents about this method.And I knew Ziegler-Nichols method theoretically.
> I increased kp, but I couldn't observe any oscillation at the output of system.How can I set these parameters Simulink using this method or Could you propose any other models or example to apply this method in simulink,clearly?
> Also I tried another method but I couldn't determine L,T from its step response.
> how to get a constant oscillation without trial PID controller (Kp,Ki,Kd) manually.

please sent the answer to my email (teofilus_bobby@yahoo.com). thx a lot

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us