Скачать презентацию Chapter 5 Control Systems and Their Components Скачать презентацию Chapter 5 Control Systems and Their Components

ca13ecdccaf3c78831d938d614d6623c.ppt

  • Количество слайдов: 58

Chapter 5 : Control Systems and Their Components (Instrumentation) Professor Shi-Shang Jang Department of Chapter 5 : Control Systems and Their Components (Instrumentation) Professor Shi-Shang Jang Department of Chemical Engineering National Tsing-Hua University Hsinchu, Taiwan March, 2013

Overview Need of Instrumentation. Signals and Signal Levels. Sensing Element. What are Final Control Overview Need of Instrumentation. Signals and Signal Levels. Sensing Element. What are Final Control Elements? Characteristics of some transducers and transmitters. Transmission Signals and representation. Accuracy of Instrumentation. What are Transducers and Transmitters?

Need of Instrumentation As already discussed in earlier chapter, we need to measure some Need of Instrumentation As already discussed in earlier chapter, we need to measure some parameters to control the process. Instrumentation is a methodology through which we obtain value of a desired parameter. Type of instrument to be used is very vital issue and is decided byü Type of the process. ü Instrument’s dead-time & velocity lag. ü Accuracy in measurement. ü Sampling rate (for digital systems). ü Measuring range. ü Safety and hazards associated with it.

An Example- Blending Process (Instrumentation) Transducer Controller Final Control Element Sensor/transmitter An Example- Blending Process (Instrumentation) Transducer Controller Final Control Element Sensor/transmitter

Gas Process Control Gas Process Control

Temperature Control of Non-isothermal CSTR Temperature Control of Non-isothermal CSTR

3 -1 Signals and Signal Levels Any Data or instruction carrying entity is called 3 -1 Signals and Signal Levels Any Data or instruction carrying entity is called a signal. Signals could be characterized by the nature of information it transport and the medium of Transport. On the basis of nature of information, the signal could be a continuous signal or a Discrete/Digital Signal. On the basis of medium of transport, the signal could be an Electric Signal, Light/Laser Signal, Sound Signal, Radio Signal, Pneumatic Signal etc.

3 -1 Signals and Signal Levels cont. . Signal level is a physical range 3 -1 Signals and Signal Levels cont. . Signal level is a physical range within which an information is transmitted as a signal. If the signal is continuous, the signal level are generally continuous. If the signal is digital, the signal level is a set of discrete values. Signal levels are an industry standard and may change time to time. Signal range/level used in industry are- • 1~5 m. A • 4~20 m. A • 10~50 m. A • 0~5 V DC • ± 10 V DC • 3 -15 psig

3 -1 Sensors/Sensing Elements may be in physical contact with the system and are 3 -1 Sensors/Sensing Elements may be in physical contact with the system and are responsible for determining the parameter. For example • Temperature-Thermocouples, Filled-bulbs, Resistance (RTD). • Pressure-Bourdon tubes, Strain gauges. • Level- Float position, Difference Pressure, Ultra-sonic level meters. • Flow rate- Orifice plates, Venturi meters, Rotameter. • Composition- Gas chromograph (GC), p. H meter, Conductivity, IR absorption, UV absorption.

3 -1 Sensors/Sensing Element 3 -1 Sensors/Sensing Element

Sensors/Sensing Element ØCharacteristics of a linear temperature-current sensing element. Sensors/Sensing Element ØCharacteristics of a linear temperature-current sensing element.

Example: A Typical Experiment Time (second) Y(temperature, o. C, 70100 o. C) Y(temperature, m. Example: A Typical Experiment Time (second) Y(temperature, o. C, 70100 o. C) Y(temperature, m. A, 4 -20 m. A) Y (temperature, %) 0. ln(1 -Y) 0 70 4 1 71. 74 4. 928 0. 058 -0. 0598 2 76. 51 7. 472 0. 217 -0. 2446 3 80. 8 9. 76 0. 360 -0. 4463 4 84. 64 11. 808 0. 488 -0. 6694 5 88 13. 6 0. 600 -0. 9163 6 90. 76 15. 072 0. 692 -1. 1777 7 93. 16 16. 352 0. 772 -1. 4784 8 94. 99 17. 328 0. 833 -1. 7898 9 96. 64 18. 208 0. 888 -2. 1893 10 97. 75 18. 8 0. 925 -2. 5903 0

Temp. C Time, sec. Temp. C Time, sec.

3 -2 Final-control Element After the data for the control variable (CV) and other 3 -2 Final-control Element After the data for the control variable (CV) and other parameters is processed by the designed controller, signals are sent to Final-control element which manipulates other variables like flow-rate etc. for the system. Generally, control is done by changing flow rates for the inlet/outlet of material and energy to achieve control and control valves are widely used for it. Control Valves are of different kinds likeØ Pneumatic. Ø Ball Valve. Ø Electro-mechanical. Ø Butterfly Valve. Ø Manual.

3 -2 Control Valve- Final Control Element There are generally two type of valve 3 -2 Control Valve- Final Control Element There are generally two type of valve On/Off Control Valve Proportional

Control Valve Action Control Valve Action

3 -2 Control Valve- Final Control Element Cont. . Air to Close(AC) - Valve 3 -2 Control Valve- Final Control Element Cont. . Air to Close(AC) - Valve action to close as the pressure increases. Air to Open(AO) - Valve action to open as the pressure increases as the previous figure. The selection of AC or AO control valve is based on the consideration of the emergent need, for instance, the emergent shut down. A transducer is needed to convert the electronic signal to the pneumatic signal and thus finally controlling the flow rate.

3 -2 Control Valve- Final Control Element Cont. . 3 -2 Control Valve- Final Control Element Cont. .

Control Valve- Final Control Element Cont. . Sizing For all valves, the liquid flow Control Valve- Final Control Element Cont. . Sizing For all valves, the liquid flow rate going through is following the equation below: (5 -1) where, F=flow rate;gal/min. P=Pressure drop;psi. Gf =specific gravity of the fluid. Cv =Size, choose the valve size such that at normal operation, the valve is nearly half opened, i. e. vp=0. 6 0. 7 vp is the fractional area of the valve that allows the fluid going through, if vp=1, then all area is available (valve fully open), if vp=0, the valve is fully closed.

Control Valve- Final Control Element Cont. . Valve Characteristics The graph shows the flow-rate Control Valve- Final Control Element Cont. . Valve Characteristics The graph shows the flow-rate as the function of opening of the valve.

Control Valve- Final Control Element Cont. . Valve Characteristics ◦ In most practical cases, Control Valve- Final Control Element Cont. . Valve Characteristics ◦ In most practical cases, equal percentages valves are selected to make sure that the flow rate through the control valve is proportional to the signal vp by choosing correct values of . ◦ This is due to the friction of the fluid through the pipe lines, and in most cases this is non-negligible. p. L=k. LGf f 2 (5 -2)

Control Valve- Final Control Element Cont. . Control Valve- Final Control Element Cont. .

Control Valve- Final Control Element Cont. . Example Figure 5 -2. 3 shows a Control Valve- Final Control Element Cont. . Example Figure 5 -2. 3 shows a process for transferring an oil from a strage tank to a separation tower. Nominal oil flow is 700 gpm, friction pressure drop is 6 psi, available pressure drop for the control valve is 5 psi.

Control Valve- Final Control Element Cont. . Example Control Valve- Final Control Element Cont. . Example

Flow, f Control Valve- Final Control Element Cont. . Example linear Equal percentage vp Flow, f Control Valve- Final Control Element Cont. . Example linear Equal percentage vp Matlab code: >> alpha=50; vp=linspace(0, 1); for i=1: 100 f(i)=640*alpha^(vp(i)-1)/(sqrt(1+13 e-6*(640*alpha^(vp(i)-1))^2))*sqrt(11/0. 94); f 1(i)=640*vp(i)/(sqrt(1+13 e-6*(640*vp(i))^2))*sqrt(11/0. 94); end >> plot(vp, f 1, vp, f)

Control Valve- Final Control Element Cont. . Transfer Function Control Valve- Final Control Element Cont. . Transfer Function

What are Transducer and Transmitter? Transducer is a device which convert one type of What are Transducer and Transmitter? Transducer is a device which convert one type of signals into another. In other worlds, it may convert one form of energy to another form. Eg 1: A Digital thermometer’s Transducer convert thermal energy into equivalent electrical signals. A typical Transducer consist of a sensing element combined with a driving element (transmitter). Transducers for process control measurements convert the magnitude of a process variable (e. g. , flow rate, pressure, temperature, level, or concentration) into a signal that can be sent directly to the controller.

What are Transducer and Transmitter? Cont. . Transducer is a device which convert one What are Transducer and Transmitter? Cont. . Transducer is a device which convert one type of signals into another. In other worlds, it may convert one form of energy to another form. A transmitter is usually required to convert sensor output compatible with the controller input and to drive the transmission lines connecting the two. Pneumatic (air pressure) signals were used extensively up till 1960 s but currently Digital instrumentation is widely used.

An Example- Blending Process (Instrumentation) Transducer Controller Final Control Element Sensor/transmitter An Example- Blending Process (Instrumentation) Transducer Controller Final Control Element Sensor/transmitter

Block Diagram Assume m is small Block Diagram Assume m is small

3 -3. Conventional Feedback Controllers Proportional Controllers R(t) =error=R(t)-C(t) ØKc is called controller gain 3 -3. Conventional Feedback Controllers Proportional Controllers R(t) =error=R(t)-C(t) ØKc is called controller gain

3 -3 Conventional Feedback Controllers -Proportional Controllers Cont. . control valve saturation 100 Kc=100/50=2 3 -3 Conventional Feedback Controllers -Proportional Controllers Cont. . control valve saturation 100 Kc=100/50=2 control valve saturation Proportional Band= PB=50/100=50% 0 PB=100/Kc 50 Kc<0: Direct Acting Control p increases with y increases Kc>0: Reverse Acting Control p decreases with y increases

Conventional Feedback Controllers ØProportional-Integral Controllers Conventional Feedback Controllers ØProportional-Integral Controllers

Conventional Feedback Controllers ØProportional-Integral Controllers Cont. . • The integral actions contribute positive or Conventional Feedback Controllers ØProportional-Integral Controllers Cont. . • The integral actions contribute positive or negative as the signs appeared shown above. However further build up of integral term becomes quite large and the controller is saturated is referred to as reset windup.

Conventional Feedback Controllers ØProportional-Integral Controllers Cont. . • Reset windup occurs when a PI Conventional Feedback Controllers ØProportional-Integral Controllers Cont. . • Reset windup occurs when a PI or PID controller encounters a sustained error. In this situation, a physical limitation prevents the controller from reducing the error signal to zero. • It is undesirable to have integral term continue to build up after the controller output saturates. • Commercial controllers available provides anti-reset windup.

Conventional Feedback Controllers ØProportional-Integral-Derivative Controllers Conventional Feedback Controllers ØProportional-Integral-Derivative Controllers

Conventional Feedback Controllers ØProportional-Integral-Derivative Controllers Cont. . • The direct implementation of the derivative Conventional Feedback Controllers ØProportional-Integral-Derivative Controllers Cont. . • The direct implementation of the derivative term of a PID controller is basically undesirable due to: Ø Noisy signal is normally received. The derivatives of these signals are meaningless. Ø The derivative element is physically unrealizable.

3 -3 Typical Responses of Feedback Control Systems 3 -3 Typical Responses of Feedback Control Systems

3 -3 Typical Responses of Feedback Control Systems Continued Response No control P-control PID-control 3 -3 Typical Responses of Feedback Control Systems Continued Response No control P-control PID-control PI-control time

3 -3 Typical Responses of Feedback Control Systems Continued Response No control Kc=1 Kc=2 3 -3 Typical Responses of Feedback Control Systems Continued Response No control Kc=1 Kc=2 Kc=5 time

3 -4 Process Control Applications of process control are mostly in the areas of: 3 -4 Process Control Applications of process control are mostly in the areas of: Flow rate control Level control Air pressure control Temperature control Composition control

3 -4 Process Control Applicationscontinued Ø Flow rate control Applications: inlet flow control, outlet 3 -4 Process Control Applicationscontinued Ø Flow rate control Applications: inlet flow control, outlet flow control of processes, reflux flow rate, pipeline flow rate, …, etc. Implementation Remarks: (i) Due to the effect of turbulence and pressure fluctuation, the measurement is noisy. (ii) no offset is allowed in flow rate control – integral action is necessary. (iii) flow rate process is fast – no need for derivative actions. Conclusion: PI control is needed with low gain and I 10 -20 seconds

3 -4 Process Control Applications- continued Ø Liquid level control: Applications: reactor volume control, 3 -4 Process Control Applications- continued Ø Liquid level control: Applications: reactor volume control, buffer tank level control, reboiler level control accumulator level control, steam generator level control, …, etc. Implementation:

3 -4 Process Control Applications- continued Remarks: ◦ (i) the level process is basically 3 -4 Process Control Applications- continued Remarks: ◦ (i) the level process is basically noisy – fluctuation of the liquid level – low controller gain ◦ (ii) in case of important levels such as reboiler level, accumulator, integral action is needed, ◦ (iii) the level processes are basically a first order system. Conclusions: The tank level control is basically loose, for instance, to maintain the tank is not completely empty at low inlet flow rate and to maintain tank is not full at high inlet flow rate. Thus, a low gain P controller is frequently implemented. However, in case of important level system such as reboiler level, accumulator, PI controllers should be used. Other tips: If the outlet of the tank is very important for example, the flow rate to the reactor. Then, the level controller should not influence the flow rate. The controller gain of the P- controller should be tuned to very low.

3 -4 Process Control Applications- continued Ø Air pressure control • Applications: Gas storage 3 -4 Process Control Applications- continued Ø Air pressure control • Applications: Gas storage tank, air phase reactors. • Remarks: (i) vapor pressure control is not this case, it should be considered as temperature control in the next slide, (ii) Gas pressure system is fast – no derivative action is needed, (iii) the measurement is not noisy. • Conclusions: Use high gain P-only controllers.

3 -4 Process Control Applications- continued Ø Temperature Control Applications: reactor temperature control, heat 3 -4 Process Control Applications- continued Ø Temperature Control Applications: reactor temperature control, heat exchanger temperature control, temperature control of pre-heaters, vapor pressure control, …, etc. Manipulated variables: cooling water flow rate, steam flow rate. Remarks: (i) the quality of sensor is crucial for this type of control, for instance, sensor noise and time lag will influence the control quality, (ii) the system is quite slow (heat transfer mechanism), derivative action is needed, (iii) off set of the temperature is not allowed – integral action is needed, (iv) there exists an inherent upper bound of the controller gain, process stability is an issue. Conclusion: A typical PID control situation.

3 -4 Process Control Applications- continued Ø Composition control • Applications: p. H control, 3 -4 Process Control Applications- continued Ø Composition control • Applications: p. H control, reactor composition control, distillation composition control, …, etc. • Remarks: ‾ (i) in some cases, the measurements are noisy with time lag (e. g. GC) makes the control very difficult, ‾ (ii) the process is typically slow – derivative action, ‾ (iii) no offset is allowed – integral action. • Conclusion: PID control situation, PI may be implemented in some cases, controller settings are case by case.

3 -5 Summary Instrumentation is a part of the manufacturing process. The sensors and 3 -5 Summary Instrumentation is a part of the manufacturing process. The sensors and transmitters are introduced The sizing and characteristics of control valves are essential for instrumentations The conventional controllers are derived analyzed The applications of the controllers are introduced

Homework Text p 192 5 -3, 5 -5, 5 -10, 5 -16, 5 -18 Homework Text p 192 5 -3, 5 -5, 5 -10, 5 -16, 5 -18

Supplemental Material Supplemental Material

Control Valve- Final Control Element Cont. . Control Valve- Final Control Element Cont. .

Pressure drop vs flow rate Matlab code: k=30/(200)^2 f=linspace(0, 300); for i=1: 100 dp(i)=k*f(i)^2; Pressure drop vs flow rate Matlab code: k=30/(200)^2 f=linspace(0, 300); for i=1: 100 dp(i)=k*f(i)^2; end plot(f, dp) dp_valve=100 -dp; plot(f, dp_valve)

ØExample A pump furnishes a constant head of 40 psig, the heat exchanger pressure ØExample A pump furnishes a constant head of 40 psig, the heat exchanger pressure drop is 30 psig at 200 gal/min. Select a Cv of the valve and plot the installed characteristic for: 1. A linear valve that is half open at the design flow rate. 2. An equal percentage valve (R=50) that is sized to be completely open at 110% of the design flow rate.

Area vs valve position x=linspace(0, 1); R=50; for i=1: 100 fl(i)=R^(x(i)-1)*100; end plot(x, fl) Area vs valve position x=linspace(0, 1); R=50; for i=1: 100 fl(i)=R^(x(i)-1)*100; end plot(x, fl)

ØSolution Given any flow rate q, pressure drop across the heat exchanger Pressure drop ØSolution Given any flow rate q, pressure drop across the heat exchanger Pressure drop across the valve: (a) Calculate rated Cv

ØSolution (b) Calculate the rated Cv at 110% of qd To plot for q ØSolution (b) Calculate the rated Cv at 110% of qd To plot for q over l, (i) set q, (ii) get Ps, (iii) get Pv, then get l cv=115; R=50; for i=1: 11 q(i)=20*i; dps=30*(q(i)/200)^2; dpv=40 -dps; l(i)=1+log(q(i)/(cv*sqrt(dpv)))/log(R); end

Example: The temperature of a CSTR is controlled by a pneumatic feedback control system Example: The temperature of a CSTR is controlled by a pneumatic feedback control system containing ◦ (1) a 100 to 200 o. F temperature transmitter, ◦ (2) a PI controller with integral time set at 3 minutes/repeat and proportional band a 25, and ◦ (3) a control valve with linear trim, air to close action, and a C v=4 through which cooling water flows. The pressure drop across the valve is a constant 25 psi. If the steady-state controller output pressure is 9 psig, how much cooling water is going through the valve? If a sudden disturbance increases reactor temperature by 5 o. F, what will be the immediate effect on the controller output pressure and the water flow rate?

ØSolution ØSolution