0% found this document useful (0 votes)
94 views2 pages

CHEN3005 Process Instrumentation and Control: Matlab Demo 2

This document provides objectives, preliminary information, and an illustrative example for a Matlab simulation demo on process instrumentation and control. The objectives are to build a Simulink model to simulate a process model using PID control, tune the PID controller with Ziegler-Nichols formulas, and plot the responses. It presents a first order plus dead time process model, describes the PID controller formula, and gives the Ziegler-Nichols tuning rules. For an example process, it calculates PID parameters, builds a Simulink model to log and display responses, and plots the output.

Uploaded by

moon star angel
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)
94 views2 pages

CHEN3005 Process Instrumentation and Control: Matlab Demo 2

This document provides objectives, preliminary information, and an illustrative example for a Matlab simulation demo on process instrumentation and control. The objectives are to build a Simulink model to simulate a process model using PID control, tune the PID controller with Ziegler-Nichols formulas, and plot the responses. It presents a first order plus dead time process model, describes the PID controller formula, and gives the Ziegler-Nichols tuning rules. For an example process, it calculates PID parameters, builds a Simulink model to log and display responses, and plots the output.

Uploaded by

moon star angel
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
You are on page 1/ 2

CHEN3005 Process Instrumentation and Control

Matlab Demo 2

Objectives
 To build a Matlab Simulink model for simulation study
 To perform PID controller tuning using Ziegler-Nichols formula
 To plot figures (process variable responses)
Preliminary
Let the process be given by the FOPDT model as follows:

K p e−θ s p

G p (s)=
τ ps +1

An ideal Proportional-Integral-Derivative (PID) controller takes the form of


1
Gc ( s)=K c 1+ ( τIs
+τ D s )
Ziegler-Nichols PID tuning formula is given by
1.2 τ p
K c= , τ =2 θ p , τ d =0.5 θ p
K p θp I

Illustrative Example
Consider a process is given by the following FOPDT model

1.6 e−2 s
G p (s)=P( s)=
5 s+ 1
 Calculate the PID controller parameters using the Zigler-Nichols formula
 Build a Simulink model which include the following features
o Data logging on the process variable (Y), manipulated variable (U) and time
(t) into the Workspace
o A display of the Integral Absolute Error (IAE) to show the time-domain
performance qualitatively
o A display showing the process variable (Y) response and manipulated variable
(U) response in one monitor
o Output disturbance to the system
 After running the simulation for servo and regulatory control cases (choose suitable
simulation duration and step test time), plot the responses using the following
command
o plot(t,Y)
o Edit the figure to appear as desired
o Export the edited figure to your Microsoft document
The complete Matlab Simulink model would appear as in the Figure 1 below.

Figure 1. Matlab Simulink model for the given example

You might also like