51
Lecture 1 Introduction Course Organisation Process Control Prof. Kannan M. Moudgalya kannan at iitb dot ac dot in IIT Bombay Monday, 23 July 2013 Slides used in the course CL-417 in Autumn 2013 1/51 Process Control Introduction, Course Organisation

Process Control lecture - 1

Embed Size (px)

DESCRIPTION

Process Control lecture

Citation preview

Page 1: Process Control lecture - 1

Lecture 1Introduction

Course Organisation

Process ControlProf. Kannan M. Moudgalyakannan at iitb dot ac dot in

IIT BombayMonday, 23 July 2013

Slides used in the course CL-417 in Autumn 20131/51 Process Control Introduction, Course Organisation

Page 2: Process Control lecture - 1

Outline

I What is process control?I Examples

I Fluid heaterI Distillation columnI Mixing systemI Flow systemI Single Board Heater System (SBHS)

I Types of variables from control point ofview

I Applied to the above examples

I Course organisation

2/51 Process Control Introduction, Course Organisation

Page 3: Process Control lecture - 1

Bird’s Eye View of Plant Operation

Plant level: what to make, how much to makeGoal: Overall profitability

Possible tool: Linear Programming

Unit level: Fixing the levels of different variablesFlow rate of coolant, reflux ratio, etc.Possible tool: Model predictive control

Variable level: Achieving intended levelsHow to get a specified flow rate, etc.

Possible tool: PID control

Will study mainly the last part in this course

3/51 Process Control Introduction, Course Organisation

Page 4: Process Control lecture - 1

What is Process Control?

I It is an area that deals with control ofprocesses

I Objective: maintaining variables atdesired values

I If deviation, manipulate some otherquantities

4/51 Process Control Introduction, Course Organisation

Page 5: Process Control lecture - 1

Benefits of Process Control

I Safety

I Performance: maximising profits, etc.

I Being good to environment

5/51 Process Control Introduction, Course Organisation

Page 6: Process Control lecture - 1

Example Processes

6/51 Process Control Introduction, Course Organisation

Page 7: Process Control lecture - 1

Fluid heater

Heats the process stream with the help of aheating medium

7/51 Process Control Introduction, Course Organisation

Page 8: Process Control lecture - 1

Distillation Column

hB

LT

LT

AT

PT

Feed

Coolant Exit

Reflux, R

Bottoms: B, xB

Distillate: D, xD

Heat

hD

AT

Maintain compositions at desired values

8/51 Process Control Introduction, Course Organisation

Page 9: Process Control lecture - 1

Mixing Process

x, w

ValveControl

Pure Ax2 = 1w2 =?

MixtureA, B

x1, w1

Mix two streams to get a desiredconcentration

9/51 Process Control Introduction, Course Organisation

Page 10: Process Control lecture - 1

Flow System

Qi(t)

Q(t) = x(t)h(t)

h(t)

Maintain height by adjusting valve

10/51 Process Control Introduction, Course Organisation

Page 11: Process Control lecture - 1

Plant in the Single Board Heater System

Heater

Plant

Fan

Maintain temperature by heating/cooling

11/51 Process Control Introduction, Course Organisation

Page 12: Process Control lecture - 1

System

We will use the words process and systeminterchangeably

12/51 Process Control Introduction, Course Organisation

Page 13: Process Control lecture - 1

Variables from Control Perspective

SystemControlled

Disturbance

Manipulated

13/51 Process Control Introduction, Course Organisation

Page 14: Process Control lecture - 1

How the variables are used

I Manipulated variables are adjusted

I to remove the effect of disturbancevariables

I on the controlled variables

14/51 Process Control Introduction, Course Organisation

Page 15: Process Control lecture - 1

Controlled, Disturbance, ManipulatedVariables

Controlled variable (CV): Variable to becontrolled.

I We wish to maintain this at aparticular value.

Disturbance variable (DV): Variables that causechanges in CV.

I We have no handle on these.Manipulated variable (MV): Variables that can

offset DV.I Also known as control effort.

MV are not free - have to pay.15/51 Process Control Introduction, Course Organisation

Page 16: Process Control lecture - 1

Variables from input-output point of view

Input

Controlled

Disturbance

Manipulated

System

Output

16/51 Process Control Introduction, Course Organisation

Page 17: Process Control lecture - 1

Examples

17/51 Process Control Introduction, Course Organisation

Page 18: Process Control lecture - 1

Fluid heater: heats a process stream

Temperature of the process stream at the exitis a

1. Controlled variable

2. Manipulated variable

3. Disturbance variable

Answer: Controlled variable

18/51 Process Control Introduction, Course Organisation

Page 19: Process Control lecture - 1

Fluid heater: heats a process stream

Temperature of the process stream at theinlet is a

1. Controlled variable

2. Manipulated variable

3. Disturbance variable

Answer: Disturbance variable

19/51 Process Control Introduction, Course Organisation

Page 20: Process Control lecture - 1

Fluid heater: heats a process stream

The flow rate of the heating medium used is a

1. Controlled variable

2. Manipulated variable

3. Disturbance variable

Answer: Manipulated variable

20/51 Process Control Introduction, Course Organisation

Page 21: Process Control lecture - 1

Fluid heater: A Summary

Heats the process stream with a heatingmedium

I Controlled variable (CV): Temperature ofthe exit stream on process side - set point

I Disturbance variable (DV): Inletconditions on process fluid

I Manipulated variable (MV): Temperatureor flow rate of the heating medium

21/51 Process Control Introduction, Course Organisation

Page 22: Process Control lecture - 1

Schematic of Distillation Column

hB

LT

LT

AT

PT

Feed

Coolant Exit

Reflux, R

Bottoms: B, xB

Distillate: D, xD

Heat

hD

AT

22/51 Process Control Introduction, Course Organisation

Page 23: Process Control lecture - 1

Recall our variables

I Manipulated variables are adjusted

I to remove the effect of disturbancevariables

I on the controlled variables

23/51 Process Control Introduction, Course Organisation

Page 24: Process Control lecture - 1

Distillation Column: A Control Strategy

?

LT

PT

Feed

Coolant Exit

Reflux, R

Bottoms: B, xB

Distillate: D, xD

Heat

hD

hB

AT

AT

LT

24/51 Process Control Introduction, Course Organisation

Page 25: Process Control lecture - 1

Distillation Column: A Control Strategy

I Bottoms withdrawal rate controlsbottoms level

I Distillate rate controls top drum level

I Reflux rate controls top composition

I Example of a multivariable system

25/51 Process Control Introduction, Course Organisation

Page 26: Process Control lecture - 1

Mixing Process

x, w

ValveControl

Pure Ax2 = 1w2 =?

MixtureA, B

x1, w1

I Mixing of twostreams

I Variablestream hascomposition(x1) varying

I Want outputcompositionconstant

I Controlstream’s flowcan bechanged

26/51 Process Control Introduction, Course Organisation

Page 27: Process Control lecture - 1

Feed concentration

I Feed concentration is, in general, a1. Manipulated variable2. Disturbance variable3. Controlled variable

I Answer: Disturbance variable

I Feed temperature is similar

I Feed flow rate is decided by otherconsiderations, however!

27/51 Process Control Introduction, Course Organisation

Page 28: Process Control lecture - 1

Course Organisation

28/51 Process Control Introduction, Course Organisation

Page 29: Process Control lecture - 1

Textbooks and References

I Process Dynamics and ControlSeborg, Edgar & MellichampWiley (2006)

I Digital ControlKannan M. MoudgalyaJohn Wiley & Sons (2007)

I Last few year’s video course and slides

29/51 Process Control Introduction, Course Organisation

Page 30: Process Control lecture - 1

Distribution of Marks

Assignment 10Discussion (classroom and Forum) 10Scilab programming 10Labs 10First quiz (1 hour) 5Second quiz (1 hour) 10Midsem exam (2 hour) 20Endsem exam (2 hour) 25Total 100

30/51 Process Control Introduction, Course Organisation

Page 31: Process Control lecture - 1

Scilab

I A good open source alternative to Matlab

31/51 Process Control Introduction, Course Organisation

Page 32: Process Control lecture - 1

What is Scilab?

I Advanced computational environmentI Uses state of the art numerical

computational engines, such as, linpack,eispack, lapack, odepack and dassl

I Has a large number of built-in functions(c/fortran)

I eigenvalue, eigenvector computations,decompositions (svd), inverses

I numerical solution of differential equationsI etc.

I Has a built-in high level language:scilab:c = c:assembly

I Has several functions built using the highlevel language

I FreeI Check out www.scilab.org or

www.scilab.in

32/51 Process Control Introduction, Course Organisation

Page 33: Process Control lecture - 1

CNES Talk

I Scilab is used extensively in CNES

I CNES launches Ariane rockets

I Ariane has placed several of our satellitesin orbit

I See the talk:Use of Scilab for Space Mission Analysisand Flight Dynamics Activities

I by Thierry Martin

I Senior Manager, CNES

33/51 Process Control Introduction, Course Organisation

Page 34: Process Control lecture - 1

Scilab

I Story of cost of Matlab to SMEs

I People with Scilab knowledge are in shortsupply

I May be useful to get jobs

I Useful to entrepreneurs also

I Visit http://scilab.in - run by us

I Close to 200 textbook companions

I Can also execute them on the GARUDAcloud

34/51 Process Control Introduction, Course Organisation

Page 35: Process Control lecture - 1

Lab

35/51 Process Control Introduction, Course Organisation

Page 36: Process Control lecture - 1

Picture of the single board heater system

36/51 Process Control Introduction, Course Organisation

Page 37: Process Control lecture - 1

What does this system do?

Controlling the temperature of a plant

I by heating with current

I by cooling with a fan

More details here

37/51 Process Control Introduction, Course Organisation

Page 38: Process Control lecture - 1

What does SBHS have?

I Plant

I Micro controller

I Sensor - temperature

I Actuator - current

38/51 Process Control Introduction, Course Organisation

Page 39: Process Control lecture - 1

Sample Control Experiments

I Step and ramp response identification

I Frequency testing, leading to Bode plots

I P, PI, PID tuning

I 2-DOF pole placement controller

I Internal model controller

I Self tuning and simple adaptive controller

I Auto tune testing

I Minimum and generalised minimumvariance controller

I PRBS and closed loop identification

39/51 Process Control Introduction, Course Organisation

Page 40: Process Control lecture - 1

Pricing

I Available for Rs. 3,000

I Design is available as open source withbill of materials

I Can be built for less than Rs. 2,000

40/51 Process Control Introduction, Course Organisation

Page 41: Process Control lecture - 1

Virtual Experimentation

I 40 units are available

I Accessible through Internet

I 40 students can work simultaneously

I Each can try out their algorithm

41/51 Process Control Introduction, Course Organisation

Page 42: Process Control lecture - 1

Time Slots

I Time constant = 30 seconds

I Possible to do one experiment within 7-8minutes

I One hour is enough for experimentation

I 24 one hour slots in a day

I For 40 SBHS, there are 960 slots in a day!

42/51 Process Control Introduction, Course Organisation

Page 43: Process Control lecture - 1

Slot Booking System

I A student books a slot through MoodleI Chooses a SBHS (amongst 40) alsoI Tries to access this SBHS at the

appointed timeI Python server validates

I eligibility to access that SBHSI calculates the balance time available

I If validated, informs the balance timeavailable

I Connection is establishedI Up to 40 people can access the machines

in this way

43/51 Process Control Introduction, Course Organisation

Page 44: Process Control lecture - 1

Slot booking rules

I Will be explained later

44/51 Process Control Introduction, Course Organisation

Page 45: Process Control lecture - 1

Part of Virtual Lab

I Potential users can try remotely

I If convinced of its use, can acquiresufficient numbers for hands on training

45/51 Process Control Introduction, Course Organisation

Page 46: Process Control lecture - 1

What is learnt today

I Introduction to Process ControlI Variables

I Set pointI Controlled (= output) variableI Manipulated (= control effort, input) variableI Disturbance variable (= input)

I Process ExamplesI Heat exchangerI Distillation columnI Mixing

I Course organisation

46/51 Process Control Introduction, Course Organisation

Page 47: Process Control lecture - 1

Thanks

47/51 Process Control Introduction, Course Organisation

Page 48: Process Control lecture - 1

Details of single board heater systemI Designed and developed at IIT BombayI Consists of a heater assembly, fan,

temperature sensor, microcontroller(ATmega16) and associated circuitry

I Heater assemblyI Consists of an iron plate placed at a distance

of about 3.5 mm from the nichrome coilI Gets heated on passage of current

I Computer fanI Positioned below the plateI Meant for cooling the assembly

I The temperature is sensed by thetemperature sensor, AD590

I Reading in Kelvin scale

To return, click here

48/51 Process Control Introduction, Course Organisation

Page 49: Process Control lecture - 1

ATmega16

I Is a 8-bit Microcontroller with advancedRISC Architecture

I Provides Up to 16MIPS throughput at16MHZ

I Has 16K bytes (8K X 16) of In-systemprogrammable Flash, 512 bytes ofEEPROM and 1K byte of internal SRAM

I Two 8-bit Timer/Counter and one 16-bitTimer/Counter

I Four PWM channelsI 8-channel, 10-bit ADCI Programmable serial USARTI Operating voltage: 4.5-5.5VI Speed: 0-16 MHz

To return, click here

49/51 Process Control Introduction, Course Organisation

Page 50: Process Control lecture - 1

What is special about this system?

I The time constant is less than 1 minuteI Can see meaningful (and noisy)

measurements with naked eyeI Can do a realistic experiment in 10

minutesI Suitable for carrying out ALL experiments

of a few control coursesI Only need 220V power supply and a PCI Easy to carryI Costs only Rs. 3,000I Design is open source!

To return, click here

50/51 Process Control Introduction, Course Organisation

Page 51: Process Control lecture - 1

Thanks

I [email protected]

51/51 Process Control Introduction, Course Organisation