ep314 lab introduction

14
EP314 Process Dynamics and Control Laboratory Session : a preview

Upload: tkjing

Post on 10-Nov-2015

220 views

Category:

Documents


0 download

DESCRIPTION

process dynamics matlab

TRANSCRIPT

  • EP314Process Dynamics and Control

    Laboratory Session : a preview

  • Overview of Process System Engineering (PSE)Process Dynamic and Control

  • EP314 Process Dynamics and Control

    AssessmentTest 10%Mid-term 20%Laboratory 20%Final Exam 50%

    Laboratory: It is compulsory to attend all the lab sessions;failing to do so may result in complete failure in the course. Thestudent will attend introductory classes on Simulink, carry outassignments on simulation and submit project report based onsimulation of a process with controls.

  • EP314 Lab Timeline

    LAB 1 & 2 -Introduction to MATLAB

    Interface, code, function, graph, Simulink, etc.

    LAB 3, 4 & 5 - Modelling of Chemical Process

    ODE, Transfer Function, Open Loop Analysis, Sensitivity analysis, etc.

    LAB 6 ,7,8 & 9 - Closed Loop and Controller Design

    Block diagram, controller design, Performance Analysis, Criteria of Good controller, Stability Analysis, etc.

    NO LAB

    LAB 10 - Advanced Control System

    Feedforward, Cascade and Ratio controls.

    we

    ek

    2 3 4 5 6 7 8 9 10 11 12

  • Version R2011a

  • The MATLAB

    1. Getting used to the Environment Command Window

    Workspace

    Text Editor

    2. Introduction to the language Loops

    Functions & Scripts

    Variables and Data types

    Plotting & Figures

    3. Solution of Ordinary Differential Equations

  • Simulink

    What you will learn

    1. Familiarize with Simulink Environment

    2. Utilize the Libraries and Blocks

    3. Creating Simulink Models

    4. Develop custom blocks and libraries.

    5. Save and visualize simulation results.

    6. Examples

  • Heat Exchanger EXAMPLESimulink and M-File

  • Heat Utility, In Heat Utility, Out

    102

    101

    T

    Stream, Out

    T

    Stream, In

    101

    TT

    FT

    TT

    Process Dynamic & Control: Shell & Tube Heat Exchanger

    Heat Utility, In

    TIC

    Heat Utility, Out

    102

    101

    T

    Stream, Out

    T

    Stream, In

    101

    101

    TT

    FT

    TT

  • CONTROLLER F.E PROCESS

    M.E

    Set Point, Yr Error, eControl

    Action, UManipulated Variable, MV

    Process Variable, Y

    Measured Variable, Ym

    +

    -

    Process Dynamic & Control System: Shell & Tube Heat Exchanger

    Heat Utility, In

    TIC

    Heat Utility, Out

    102

    101

    T

    Stream, Out

    T

    Stream, In

    101

    101

    TT

    FT

    TT

  • Simulink file Named: HeatExchangerExample.mdl

  • %Simulation of Shell&Tube H.E.

    clc; clear all; close all

    TT01 = 350; TT02 = 350; FT01 = 1000;

    Tr = 70;

    DisTime = 200;

    d = 30;

    SimTime = 400;

    sim('HeatExchangerExample',SimTime)

    subplot(3,1,1);

    plot(t,T,'b','LineWidth',2)

    hold on

    plot(t,Tsp,'k','LineWidth',2)

    hold off ; grid on

    xlabel('Unit Time'); ylabel('TT02, ^oC')

    subplot(3,1,2);

    plot(t,Fcw,'r','LineWidth',2)

    grid on

    xlabel('Unit Time'); ylabel('FT01, LPM')

    subplot(3,1,3);

    plot(t,d,'b','LineWidth',2)

    grid on

    xlabel('Unit Time'); ylabel('TT01, ^oC')

    M-file & Results

  • Schedule: May-Aug 2015

    8:00-9:00 9:00-10:00 10:00-11:00 11:00-12:00 12:00-1:00 1:00-2:00 2:00-3:00 3:00-4:00 4:00-5:00 5:00-6:00 6:00-7:00

    Monday Research/ Scholarly Activities Research/ Scholarly Activities

    TuesdayEP314Lecture

    K206

    FYPConsultation Hours

    EP314Consultation Hours

    Research/ Scholarly Activities

    Wednesday Research/ Scholarly ActivitiesFYP

    Consultation Hours

    EP314Lab

    Computer LAB A

    ThursdayEP314Lecture

    K206

    FYPConsultation Hours

    EP314Consultation Hours

    Research/ Scholarly Activities

    Friday Research/ Scholarly ActivitiesEP314

    LabComputer LAB A

    Research/ Scholarly Activities