Feedback and Feedforward Process Contl

16
Control Architectures: Feed Forward, Feedback, Ratio, and Cascade By Peter Woolf ([email protected]) University of Michigan Michigan Chemical Process Dynamics and Controls Open Textbook version 1.0 Creative commons

description

pptk

Transcript of Feedback and Feedforward Process Contl

Page 1: Feedback and Feedforward Process Contl

Control Architectures:Feed Forward, Feedback, Ratio, and CascadeBy Peter Woolf ([email protected])University of Michigan

Michigan Chemical Process Dynamics and Controls Open Textbook

version 1.0

Creative commons

Page 2: Feedback and Feedforward Process Contl

Connecting Controllers & Actuators In control programming we

make statements like: Adjust v3 to maintain LC1 at LC1 set

We could implement this as the following PID controller:

v3 = v3offset +Kc (LC1− LC1set ) +

1

τ I(LC1− LC1set )dt∫ + τ D

d(LC1− LC1set )

dt

But there are other controls possible:• Maintain LC1 by controlling v3 (Feedback control)• Anticipate changes in LC1 by measuring FC1 and FC2 and preemptively adjust v3 (Feed forward control)• Feed in a defined ratio of A and B (Ratio control)• Connect LC1 to FC1 to adjust v1 (Cascade control)

Page 3: Feedback and Feedforward Process Contl

Feedback ControlPhilosophy:Adjust for errors as they take place.

Example: Maintain LC1 by controlling v3

Disadvantages• Only corrects for errors after they happen• Generally only takes input from one sensor

Advantages• Simple to design• No process model required

v3 = v3offset +Kc (LC1− LC1set ) +1

τ I(LC1− LC1set )dt∫ + τ D

d(LC1− LC1set )

dt

Page 4: Feedback and Feedforward Process Contl

Feed Forward ControlPhilosophy:Anticipate and correct for errors before they happen

Example: Maintain LC1 by measuring FC1 and FC2 and preemptively adjust v3

Disadvantages• Requires infinitely accurate models• Requires infinitely accurate measurements

Advantages• Corrects for deviations before they happen!• In ideal cases can produce perfect control

v3 = kvalves(FC1+ FC2) (assuming a linear valve)

Page 5: Feedback and Feedforward Process Contl

Ratio ControlPhilosophy:Connect two flows to maintain a constant ratio

v2 = kratiokvalveFC1Example: Feed in a defined ratio of A and B where A is the wild stream.

Disadvantages• Never measures FC2, thus assumes the flows are matched• Assumes pressure from B is constant

Advantages• Links two streams to produce a defined ratio• Simple--does not require a complex model

Page 6: Feedback and Feedforward Process Contl

Cascade ControlPhilosophy:Sensors can control the set points of other sensors to integrate information

Example: Connect LC1 to FC1 to adjust v1

v1= v1offset +Kc1(FC1set − FC1) +1

τ I1(FC1set − FC1)dt∫ + τ D1

d(FC1set − FC1)

dt

Inner loop(slave)

Outer loop(master)

FC1set = FC1offset +Kc2(LC1set − LC1) +1

τ I 2

(LC1set − LC1)dt∫ + τ D2

d(LC1set − LC1)

dt

Logic: The inner loop is something that changes quickly, here possibly due to pressure changes from the A storage. Outer loop changes slowly, and influences the inner loop by controlling the set point of FC1.

Page 7: Feedback and Feedforward Process Contl

Cascade ControlExample: Connect LC1 to FC1 to adjust v1

Disadvantages• Controller is more complex •Tuning cascade controllers is more difficult as the set point changes + more parameters

Advantages• Controller responds quickly to high frequency changes• Controller integrates multiple sensor readings together

v1 = v1offset +Kc1(FC1set − FC1) +1

τ I1(FC1set − FC1)dt∫ + τ D1

d(FC1set − FC1)

dt

Inner loop(slave)

Outer loop(master)

FC1set = FC1offset +Kc2(LC1set − LC1) +1

τ I 2

(LC1set − LC1)dt∫ + τ D2

d(LC1set − LC1)

dt

Logic: The inner loop is something that changes quickly, here possibly due to pressure changes from the A storage. Outer loop changes slowly, and influences the inner loop by controlling the set point of FC1.

Page 8: Feedback and Feedforward Process Contl

Mixed Architectures

Example #1:

Control LC1 using FC1 cascaded to v1 and feedback control on v3.

Most real systems have combinations of feedback, feed forward, ratio, and cascade control.

v1 = v1offset +Kc1(FC1set − FC1) +1

τ I1(FC1set − FC1)dt∫ + τ D1

d(FC1set − FC1)

dt

Inner loop(slave)(feedback)Outer loop(master)

FC1set = FC1offset +Kc2(LC1set − LC1) +1

τ I 2

(LC1set − LC1)dt∫ + τ D2

d(LC1set − LC1)

dt

v3 = v3offset +Kc3(LC1set − LC1) +1

τ I 3

(LC1set − LC1)dt∫ + τ D3

d(LC1set − LC1)

dtFeedback

Page 9: Feedback and Feedforward Process Contl

Mixed Architectures

Example #2:

Maintain ratio of B using FC1 cascaded to FC2 to control v2

Most real systems have combinations of feedback, feed forward, ratio, and cascade control.

v2 = v2offset +Kc4 (FC2set − FC2) +1

τ I 4

(FC2set − FC2)dt∫ + τ D4

d(FC2set − FC2)

dt

Inner loop(slave) (feedback)

Outer loop(master)(ratio control)

FC2set = kratioFC1

Page 10: Feedback and Feedforward Process Contl

Mixed ArchitecturesMost real systems have combinations of feedback, feed forward, ratio, and cascade control.

Disadvantages• Controllers can be complex (Each I controller adds an ODE, eigenvalue, and new dimension to the problem.)• Tuning is difficult - Routh stability really helps define appropriate ranges - Optimization based tuning

Advantages• Pick and choose features to fit the problem• Incorporate in any number of sensors in a rational way

Page 11: Feedback and Feedforward Process Contl

Example 1

Which sensor likely responds to temperature changes in the cooling water faster?

Which loop would be the inner loop (slave) and which the outer loop (master)? Why?

Write out an appropriate cascade controller for this system.

TC2

TC2 inner, TC1 outer

v1 = v1offset +Kc1(TC2 −TC2set ) +1

τ I1(TC2 −TC2set )dt∫ + τ D1

d(TC2 −TC2set )

dtInner loop(slave)

Outer loop(master)

TC2set = TC1offset +Kc2(TC1set −TC1) +1

τ I 2

(TC1set −TC1)dt∫ + τ D2

d(TC1set −TC1)

dt

Check signs!

TC1 TC2set

v1T

Page 12: Feedback and Feedforward Process Contl

Example 2

Control pHC1 using a single feedback PID controller.

Control pHC1 using a single feed forward controller.

Control pHC1 using a cascaded P-only ratio controller to balance the acid waste water.

v1= v1offset +Kc (pHC1− pHC1set ) +1

τ I(pHC1− pHC1set )dt∫ + τ D

d(pHC1− pHC1set )

dt

v1= kvalvekratioFC1

FC2set = kvalvekratioFC1 v1= v1offset +Kc(FC2set − FC2)

Page 13: Feedback and Feedforward Process Contl

Select a mixture of ratio, cascade, feedback, and or feed forward control systems to control the rectifying section of the following distillation column:

One example configuration might have AC2 cascaded to TC2, cascaded to FC2 controlling V1, and LC1 cascaded to FC3 controlling V2.

Page 14: Feedback and Feedforward Process Contl

To help with deciding which control schemes to use, consider the following questions:a) What is your control objective?b) Which loops are likely to be fast and which slow?c) Changes in what variables likely influence the process compositions most directly?

Page 15: Feedback and Feedforward Process Contl

• AC2 is cascaded to TC2, which is cascaded to FC2 controlling V1. In addition, AC1 could be a feed forward controller on FC2 and V1. (Note here two paths control V1, so a more sophisticated logical relationship would be needed). LC1 is cascaded to FC3, which controls V2.

• AC2 is cascaded to TC2. TC2 is a ratio controller of FC2 and FC1, and this output is combined with FC1 to form a set point for FC2. FC2 controls V1. Also, AC1 feeds forward to FC2. LC1 is cascaded to FC3 to control V2.

(Note: there are many configurations possible, depending on the control objective. Some, however don’t make sense such as having FC3 control V1, or cascading AC1 to LC1 to control FC3, to control V2. )

Other examples:• The ratio of FC2 to FC3 is set by AC2. For this scheme, use a level control to set either FC2 or FC3 and determine the other flow using the ratio controller.• The ratio of FC3 and FC1 Is set by AC2. For this set up, also include a level control scheme for the accumulator.

Page 16: Feedback and Feedforward Process Contl

Take Home Messages

• Using a combination of feedback, feed forward, ratio, and cascade control you can design flexible control systems

• More complex control systems are harder to tune and model, but if done right outperform simpler architectures

• When designing your control system, be aware of the control objective and possible conflicts