1.35k likes | 1.7k Views
Advance Process Control I Carlos Velázquez Pharmaceutical Engineering Research Laboratory ERC on Structured Organic Particulate Systems Department of Chemical Engineering University of Puerto Rico at Mayaguez. Process Control and Optimization.
E N D
Advance Process Control ICarlos VelázquezPharmaceutical Engineering Research LaboratoryERC on Structured Organic Particulate SystemsDepartment of Chemical EngineeringUniversity of Puerto Rico at Mayaguez
Process Control and Optimization • Control and optimization are terms that are many times erroneously interchanged. • Control has to do with adjusting flow rates to maintain the controlled variables of the process at specified setpoints. • Optimization chooses the values for key setpoints such that the process operates at the “best” economic conditions.
Laplace Transforms and Transfer Functions • Provide valuable insight into process dynamics and the dynamics of feedback systems. • Provide a major portion of the terminology of the process control profession. • Are NOT generally directly used in the practice of process control.
Transfer Functions • Defined as G(s) = Y(s)/U(s) • Represents a normalized model of a process, i.e., can be used with any input. • Y(s) and U(s) are both written in deviation variable form. • The form of the transfer function indicates the dynamic behavior of the process.
Example of Derivation of a Transfer Function • Dynamic model of CST thermal mixer • Apply equation to the steady state • Substitute deviation variables • Equation in terms of deviation variables.
Derivation of a Transfer Function • Apply Laplace transform to each term considering that only inlet and outlet temperatures change. • Determine the transfer function for the effect of inlet temperature changes on the outlet temperature. • Note that the response is first order.
What if the Process Model is Nonlinear • Before transforming to the deviation variables, linearize the nonlinear equation. • Transform to the deviation variables. • Apply Laplace transform to each term in the equation. • Collect terms and form the desired transfer functions.
Use Taylor Series Expansion to Linearize a Nonlinear Equation • This expression provides a linear approximation of y(x) about x=x0. • The closer x is to x0, the more accurate this equation will be. • The more nonlinear that the original equation is, the less accurate this approximation will be.
Dynamic Model for Sensors • These equations assume that the sensors behave as a first order process. • The dynamic behavior of the sensor is described by the time constant since the gain is unity • T and L are the actual temperature and level.
Dynamic Model for Sensors • The units of KT depend on the input to the sensor and the type of signal of the sensor. • For instance, if input is pressure and the signal from the sensor is in mA, then KT = psig/mA • input : concentration, level, pressure, temperature, force, velocity • Signals : mA, mV, %TO
Actuator System • Control Valve • Valve body • Valve actuator • I/P converter • Instrument air system
Dynamic Model for Actuators • These equations assume that the actuator behaves as a first order process. • The dynamic behavior of the actuator is described by the time constant since the gain is unity
Estimation of Transfer Functions • Factors involved • Sampling time • Signal-to-noise ratio • Input type
1) Sampling time (T) • If proper sampling is not used, the data could be corrupted by too much noise (fast sampling) or could lack of enough dynamic data (too slow sampling) tp Kp Figure 3.6 Effect of a double pulse and T= 10.0 in the SSE surface of a FO model
tp Kp Figure 3.7Effect of a double pulse and T= 100.0 in the SSE surface of a FO model
2) Signal-to-Noise ratio • Measures how big is the signal of the measured variable compared to the signal of the noise
tp Kp Figure 3.14Effect of a double pulse and a S/N = 10:1 in the SSE surface of a FO model, T = 1.0
tp Kp Figure 3.15 Effect of a double pulse and a S/N = 1:1 in the SSE surface of a FO model, T =1.0
3) Input wave form • Virtually any type of input can be used. The amplitude of the signal is the key factor for an input to be proper.
tp Kp Figure 3.1 Effect of a step change in the SSE surface of a FO model
tp Kp Figure 3.2 Effect of a pulse in the SSE surface of a FO model
tp Kp Figure 3.3 Effect of a double pulse in the SSE surface of a FO model
tp Kp Figure 3.4 Effect of sinusoid in the SSE surface of a FO model
tp Kp Figure 3.5 Effect of PRBS in the SSE surface of a FO model
Feedback Controllers Position Form of the PID Algorithm • Direct acting • Reverse acting
Definition of Terms • e(t)- the error from setpoint [e(t)=ysp-ys]. • Kc- the controller gain is a tuning parameter and largely determines the controller aggressiveness. • tI- the reset time is a tuning parameter and determines the amount of integral action. • tD- the derivative time is a tuning parameter and determines the amount of derivative action.
Properties of Proportional Action • Closed loop transfer function base on P-only control applied to a first order process. • Properties of P control • Does not change order of process • Closed loop time constant is smaller than open loop tp • Does not eliminate offset.
Properties of Integral Action • Based on first order process • Properties of I control • Offset is eliminated • Increases the order by 1 • As integral action is increased, the process becomes faster, but at the expense of more sustained oscillations
Controller Tuning • Ziegler-Nichols • Integral Criteria • Internal Model Control • Frequency Techniques
Stability • Substitution • Root Locus • Frequency techniques
Stability of the Control Loop • For a feedback control loop to be stable, all the roots of its characteristic equation must be either negative real numbers or complex numbers with negative real parts.
Stability of a Controlled System • Method 1: Direct Substitution • Select a P-Only controller. • Write the characteristic equation in a polynomial form of s. • Substitute s=wui and Kc=Kcu • Solve for Kcu and wu
Example Exchanger Sensor/Transmitter Valve P-Only controller
Solution Characteristic equation Substituting corresponding TFs Rearranging Substituting s=iwu, and Kc=Kcu
Solution The real and imaginary parts have to be each one equal to zero to make the equation equal to zero.
Solution • To determine the correct range, first we need to determine the sign of the multiplication of the gain of the process, sensor, and actuator. • If KpKTKV is (+) then Kc must be +. • If KpKTKV is (-) then Kc must be -. • In this case, Kc must be positive, hence Kc = 23.8 is the only physical sound solution
Cascade • Main purpose: Reject disturbances that affect an intermediate controlled variable before it hit the main controlled variable. • Results: Improve performance in rejecting some process disturbances.