Spring 2006 Process Dynamics, Operations, And Control 10 .

3y ago
34 Views
2 Downloads
568.83 KB
37 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Lilly Kaiser
Transcription

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series4.0context and directionIn Lesson 3 we performed a material balance on a mixing tank and deriveda first-order system model. We used that model to predict the open-loopprocess behavior and its closed-loop behavior, under feedback control. Inthis lesson, we complicate the process, and find that some additionalanalysis tools will be useful.DYNAMIC SYSTEM BEHAVIOR4.1math model of continuous blending tanksWe consider two tanks in series with single inlet and outlet streams.F, CAiF, CA1F, CA2volume V1volume V2Our component A mass balance is written over each tank.dV1C A1 FC Ai FC A1dtdV2 C A 2 FC A1 FC A 2dt(4.1-1)As in Lesson 3, we have recognized that each tank operates in overflow:the volume is constant, so that changes in the inlet flow are quicklyduplicated in the outlet flow. Hence all streams are written in terms of asingle volumetric flow F. Again, we will regard the flow as constant intime. Also, each tank is well mixed.Putting (4.1-1) into standard formdC A1 C A1 C AidtdC A 2τ2 C A 2 C A1dtτ1revised 2006 Mar 6(4.1-2)1

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Serieswe identify two first-order dynamic systems coupled through thecomposition of the intermediate stream, CA1. If we view the tanks asseparate systems, we see that CA1 is the response variable of the first tankand the input to the second. If instead we view the pair of tanks as a singlesystem, CA1 becomes an intermediate variable. The speed of responsedepends on two time constants, which (as before) are equal to the ratio ofvolume for each tank and the common volumetric flow.We write (4.1-2) at a steady reference condition to findC A ,r C Ai ,r C A1,r C A 2,r(4.1-3)We subtract the reference condition from (4.1-2) and thus express thevariables in deviation form.dC 'A1τ1 C 'A1 C 'AidtdC 'A 2τ2 C 'A 2 C 'A1dt(4.1-4)4.2solving the coupled equations - a second-order systemAs usual, we will take the initial condition to be zero (response variablesat their reference conditions). We may solve (4.1-4) in two ways:Because the first equation contains only C′A1, we may integrate it directlyto find C′A1 as a function of the input C′Ai. This solution becomes theforcing function in the second equation, which may be integrated directlyto find C′A2. That istC'A1 1 t τ1 t τ1 'e e C Ai dtτ10(4.2-1)C 'A 2 tt1 t τ2 t τ 2 1 t τ1 t τ1 ' e e e e C Ai dt dtτ200 τ1 (4.2-2)On defining a specific disturbance C′Ai we can integrate (4.2-2) to asolution.Alternatively, we may eliminate the intermediate variable C′A1 betweenthe equations (4.1-4) and obtain a second-order equation for C′A2 as afunction of C′Ai. The steps are(1) differentiate the second equation(2) solve the first equation for the derivative of C′A1revised 2006 Mar 62

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series(3) solve the original second equation for C′A1(4) substitute in the equation of the first step.The result isτ1τ 2d 2 C 'A 2dC 'A 2() τ τ C 'A 2 C 'Ai12dt 2dt(4.2-3)Two mass storage elements led to two first-order equations, which havecombined to produce a single second-order equation. A homogeneoussolution to (4.2-3) can be found directly, but the particular solutiondepends on the nature of the disturbance:C'A 2 A1e tτ1 A 2e tτ2( ) C'A 2,part C 'Ai(4.2-4)where the constants A1 and A2 are found by invoking initial conditionsafter the particular solution is determined.4.3response of system to step disturbanceSuppose a step change ΔC occurs in the inlet concentration at time td.Either (4.2-2) or (4.2-4) yields (t t d ) (t t d ) τ1τ2τ1τ2 C'A2 U ( t t d ) ΔC 1 ee τ1 τ2 τ1 τ2 (4.3-1)Each tank contributes a first-order response based on its own timeconstant. However, these responses are weighted by factors that dependon both time constants.The result in Figure 4.3-1 looks somewhat different from the first-orderresponses we have seen. We have plotted the step response of a secondorder system with τ1 1 and τ1 1.5 in arbitrary units. At sufficientlylong time, the initial condition has no influence and the outletconcentration will become equal to the new inlet concentration; in thisrespect it looks like the first-order system response. However, the initialbehavior differs: the outlet concentration rises gradually instead ofabruptly. This S-shaped curve, often called “sigmoid”, is a feature ofsystems of order greater than one. Physically, we can understand this byrealizing that the change in inlet concentration must spread through twotanks, and it reaches the second tank only after being diluted in the first.revised 2006 Mar 63

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in SeriesC* Ai/ C10.50101234560123456C*A2/ C0.80.60.40.20tFigure 4.3-1: Response to step change in inlet composition4.4introducing the Laplace transformWe bother with the Laplace transform for two reasons: after the initial learning pains, it actually makes the math easier, so wewill use it in derivations some of the terminology in linear systems and process control is basedon formulating the equations with Laplace transforms.Definition: the Laplace transform turns a function of time y(t) into afunction of the complex variable s. Variable s has dimensions ofreciprocal time. All the information contained in the time-domainfunction is preserved in the Laplace domain. y(s) L{y( t )} y( t )e st dt(4.4-1)0(In these notes, we use the notation y(s) merely to indicate that y(t) hasbeen transformed; we do not mean that y(s) has the same functionaldependence on s that it does on t.)Functional transforms: textbooks (for example, Marlin, Sec. 4.2) usuallyinclude tables of transform pairs, so these derivations from definition(4.4-1) are primarily to demonstrate how the tables came to be.revised 2006 Mar 64

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series L{CU ( t t d )} CU ( t t d )e st dt0 C e st dt(4.4-2)td C stesCe st d s { td }L Ce at Ce at e st dt0 C (s a ) t e0s aC s a (4.4-3)Operational transforms: this allows us to transform entire equations, notjust particular functions. df ( t ) st df ( t ) L e dt dt 0 dt d sf ( t )e st (fe st ) dtdt 0 s f ( t )e st dt f ( t )e st0(4.4-4) 0 sL{f ( t )} f (0) t tL f (ξ )dξ f (ξ )dξ e st dt 0 0 0t 1 1 st f (t )e dt d f (ξ )dξ e st s 0 0s0 1 1 L{f (t )} f (ξ )dξ e sts 0s t (4.4-5)01 L{f (t )}srevised 2006 Mar 65

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in SeriesInverting transforms: use the tables to invert simple Laplace-domainfunctions to their time-domain equivalents. To simplify the polynomialfunctions often found in control engineering we may use partial fractionexpansion. The complicated ratio in (4.4-6) can be inverted if is expandedinto a series of simpler fractions.N (s)N (s)C1C2C3 . .n 1nnmD(s) (s α1 ) (s α 2 ) . (s α1 )(s α1 )(s α 2 ) m(4.4-6)In (4.4-6), α1 and α2 are repeated roots of the denominator. The inversetransform of each term will involve an exponential function of the root αi.f (s) C(s α) n f (t) Ct n 1e αt(n 1)!(4.4-7)Variety in the values of the coefficients Ci comes from the numeratorfunction N(s).how to write the expansionArrange the denominator so that the coefficient of each s is 1. If there areno repeated roots, each root appears in one term.C3C1C2N(s) (s α1 )(s α 2 )(s α 3 ) (s α1 ) (s α 2 ) (s α 3 )(4.4-8)If a root is repeated, it requires a term for each repetition.C3C1C2N(s) 22(s α1 ) (s α 2 )(s α 2 )(s α1 )(s α 2 )(4.4-9)Some roots may appear as complex conjugate pairs, so that, for exampleα1 a jbα 2 a jb(4.4-10)where j is the square root of -1.how to solve for the coefficients - it’s only algebra1) For each of the real, distinct roots, multiply the expansion by each RHdenominator and substitute the value of the root for s to isolate thecoefficient. This also works for the highest power of a repeated root.2) With some coefficients determined, it may be easiest to substitutearbitrary values for s to get equations in the unknown coefficients.revised 2006 Mar 66

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series3) For repeated roots, either(3a) multiply the expansion by s and take the limit as s .However, this will not isolate coefficients associated withrepeated complex roots.(3b) multiply the expansion by the RH denominator of highest power.Differentiate this equation with respect to s, and substitute thevalue of the root for s. Continue differentiating in this manner toisolate successive coefficients.4) For complex roots, solving for one coefficient is enough. The othercoefficient will be the complex conjugate.4.5solving linear ODEs with Laplace transformsWe return to (4.1-4), the two equations that describe concentration in thetanks.dC 'A1τ1 C 'A1 C 'AidtdC 'A 2τ2 C 'A 2 C 'A1dt(4.1-4)We perform the Laplace transform on the entire first equation. Itdistributes across addition, and constant τ1 may be factored out. dC ' L τ1 A1 C 'A1 L C 'Aidt dC ' τ1L A1 L C 'A1 L C 'Ai dt { }{ } { }(4.5-1)We next perform an operational transform on the derivative. Because thefunctional forms of the variables C′A1 and C′Ai are not yet known, wesimply indicate a variable in the Laplace domain.{}τ1 sC'A1 (s) C'A1 (0) C'A1 (s) C'Ai (s)τ1sC'A1 (s) C'A1 (s) C'Ai (s)(4.5-2)We can easily solve (4.5-2) for C′A1. If we similarly treat the secondequation in (4.1-4), we arrive at the equivalent formulation in the Laplacedomain.revised 2006 Mar 67

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in SeriesC 'A1 (s) 1C 'Ai (s)τ1s 11C (s) C 'A1 (s)τ 2s 1(4.5-3)'A2Equations (4.5-3) are not solutions - we have not solved anything! Wemerely have a new formulation of problem (4.1-4), a formulation that ismore abstract (what on earth is Laplace domain?) and yet simpler, byvirtue of being algebraic. It is important to remember that all theinformation held in the differential equations (4.1-4) is preserved in theLaplace domain formulation (4.5-3).We proceed toward solution by eliminating the intermediate variable in(4.5-3). We findC 'A 2 (s) 11C 'Ai (s)τ 2s 1 τ1s 1(4.5-4)With (4.5-4) we have gone as far as we can without knowing more aboutthe disturbance. That is, we cannot invert the right-hand side of (4.5-4)until we can actually substitute a functional transform for the variableC′Ai(s). In this sense, (4.5-4) resembles (4.2-2) and (4.2-4): a solutionneeding more specification.As in Section 4.3, suppose a step change ΔC occurs in the inletconcentration at time td.C 'Ai ( t ) U (t t d )ΔC(4.5-5)We must take the Laplace transform,C 'Ai (s) ΔC t d ses(4.5-6)which we may substitute into (4.5-4).C 'A 2 (s) 11 ΔC t dseτ 2s 1 τ1s 1 s(4.5-7)This IS the solution, the step response of the two tanks in series. Ofcourse, it really must be inverted to the time domain. We treat thepolynomial denominator from either the tables or partial fractionexpansion:revised 2006 Mar 68

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series t t 1τ1τ21 1 τ1τ2 L 1 1ee τ τ τ ττ τs1s1s12112 2 (4.5-8)Next we apply the time delay ( t t d ) ( t t d ) 1 τ1τ21 1 t ds τ1τ2 L 1 e U(t t d ) 1 ee τ1 τ 2 τ 2s 1 τ1s 1 s τ1 τ 2 (4.5-9)Remembering the constant factor, we complete the inverse transform of(4.5-7). ( t t d ) ( t t d ) τ1τ2τ1τ2 C'A 2 U( t t d )ΔC 1 ee τ1 τ 2 τ1 τ 2 (4.5-10)which, of course, is identical to (4.3-1), derived in the time domain.4.6describing systems with transfer functionsIn Section 4.1 we derived a system model to describe transient behavior in a tanks-in-seriesprocess. Then in Section 4.5 we used Laplace transforms to solve it. Let us now do the sameprocedure in the abstract. Begin with the first-order lag, written in deviation variables:τdy ' y ' Kx ' ( t )dty ' (0) 0(4.6-1)After taking Laplace transforms, we relate input and output by an algebraic equation:y ' (s) K 'x (s)τs 1(4.6-2)The ratio in (4.6-2) multiplies x′(s) (the transform of disturbance x′(t)) and in the processconverts that signal into y′(s) (the transform of the response y′(t)). We call this ratio the transferfunction G(s).y ' (s)KG (s) ' x (s) τs 1(4.6-3)G(s) contains all the information about the ODE (4.6-1). We should from now recognize it,when we see it, as a first-order lag. Should we want to know how the first-order lag behaves inresponse to some disturbance, we transform the disturbance, multiply it by the first-order lagtransfer function, and then take the inverse transform of the result.Let us generalize (4.5-4), which described two first-order lags in series:revised 2006 Mar 69

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Seriesy ' (s) K1K2x ' (s)τ1s 1 τ 2s 1(4.6-4)The transfer function for this second-order system is a product of two firstorder lagsy ' (s)K1K2 G1 (s)G 2 (s) G (s)'x (s) τ1s 1 τ 2s 1(4.6-5)We shall consider a transfer function to be a completely satisfactorydescription of a dynamic system. We shall learn to notice its gain (longterm steady-state relationship between y′ and x′), time constants, and poles(roots of the denominator).Table 4.6-1: Characteristics of systems we have studiedtypeequationtransferfunction1st order lagKdy' y ' ( t ) Kx ' ( t )τs 1dtnd'2'2 orderKd ydy y ' Kx ' ( t )overdamped* τ1τ2 2 (τ1 τ2 )( τ1s 1)(τ 2s 1)dtdtnd*why “overdamped”? There are other 2 order forms to be -1K4.7describing systems with block diagramsThe block diagram is a graphical display of the system in the Laplace domain.x′(s)y′(s)G(s)It comprises blocks and arrows, and thus resembles many other types of flow diagram. In ouruse with control systems, however, the arrows represent signals, variables that change in time,which are not necessarily actual flow streams. The block contains the transfer function, whichmay be as simple as a units conversion between x and y, or a description of more complicateddynamic behavior. Remember that the transfer function incorporates all the dynamicinformation in the system equations. This diagram implies the Laplace domain relationshipy ' (s) G (s) x ' (s)(4.7-1)The real value of block diagrams is to represent the flow of signals among multiple blocks.The Block Diagram Rules (see Marlin, Sec.4.4):revised 2006 Mar 610

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Series exclusion: only one input and output to a block.inputs summing: two signals may be summed at an explicit summingjunction. The algebraic sign is indicated at the junction (if omitted,is presumed to be positive).x'‘ 1(s)G1(s)y‘' 1(s) x' 3(s)x' 2(s) outputssystemG2(s)G3(s)y' 3(s)y' 2(s)multiple assignment: a single signal may feed its value to multipleblocks. This does NOT indicate that the signal is divided upamong the blocks.x 1(s)x'G1(s)y 1(s)y'G2(s)y' 1(s)G3(s)y 2(s)y'y' 3(s)Block diagrams may be turned into equations by simple algebra. It is usually most convenient tostart with an output and work backwards by substitution. In the summing diagramy 3' (s) G 3 (s)x 3' (s) G 3 (s)(y1' (s) y '2 (s) ) G 3 (s)(G1 (s)x1' (s) G 2 (s)x '2 (s) )(4.7-2) G 3 (s)G1 (s)x1' (s) G 3 (s)G 2 (s)x '2 (s)In the multiple assignment diagramy '2 (s) G 2 (s) y1' (s) G 2 (s)G1 (s) x1' (s)y 3' (s) G 3 (s) y1' (s)(4.7-3) G 3 (s)G1 (s) x1' (s)revised 2006 Mar 611

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in SeriesSimilarly, equations may be turned into block diagrams. System (4.7-2) has two inputs and thusrequires at least 2 blocks.x' 1(s)G1(s) G3(s) y' 3(s)x' 2(s)G2(s) G3(s)System (4.7-3) has two outputs for one input. Input x*1 is not split – its full value is sent to eachof two blocks.G1(s) G2(s)x 1(s)x'G1(s) G3(s)y' 2(s)y 3(s)y'This pair of block diagrams is equivalent to the pair from which they were derived.As a further illustration, we apply the block diagram rules to the two-tanksystem in (4.5-3):C' Ai(s)C' A1(s)C' A2(s)11τ1s 1τ 2s 1ORC' Ai(s)C' A2(s)11τ1s 1 τ 2 s 14.8frequency response from the transfer functionIn Section 3.5 we derived the system response to a sine input byintegrating the differential equation. We learned that the frequencyresponse - that is, the long-term oscillation - could be characterized by itsamplitude ratio and phase angle; these quantities were expressed on aBode plot.Alternatively, we may derive the frequency response directly from thetransfer function by substituting jω for s, where j is the square root of -1and ω is the radian frequency of the sine input. For the second-ordertransfer function (4.6-5),revised 2006 Mar 612

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in SeriesG ( jω) K 1K 2(1 τ1ωj)(1 τ2ωj)(1 τ1ωj)(1 τ 2ωj) K 1K 2(1 τ ω )(1 τ2 K 1K 22212ω2)(4.8-1)1 τ1τ 2 ω2 ω(τ1 τ 2 ) j221 τ1 ω2 1 τ 2 ω2()()The function G(jω), although perhaps daunting to behold, is simply acomplex number. As such, it has real and imaginary parts, and amagnitude and a phase angle. It turns out that the magnitude of G(jω) isthe amplitude ratio of the frequency response.(1 τ τ ω ) (ω(τ2 2G ( jω) K1K 21 2122(1 τ ω )(1 τ ω )1 ω (τ τ ) ω τ τ(1 τ ω )(1 τ ω )222 K 1K 2221 τ 2 ))212 21224221222(4.8-2)2K 1K 2221 τ1 ω2 1 τ 2 ω2Furthermore, the phase angle of G(jω) is the frequency response phaseangle.Im(G ( jω) )Re(G ( jω) ) ω(τ1 τ 2 ) tan 11 τ1τ 2 ω2 G ( jω) tan 1(4.8-3)In Figure 4.8-1, the Bode plot abscissa has been normalized by the squareroot of the product of the time constants. We see that the amplitude ratioof a second-order system declines more swiftly than that of a first-ordersystem: the slope of the high-frequency asymptote is -2. Unbalancing thetime constants further decreases the amplitude ratio. The phase angle canreach -180º. It is symmetric about -90º.revised 2006 Mar 613

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Seriesamplitude ratio/gain1.000.100.010.01011.1-30phase angle (deg)0.1τ2 2)0.5 (radians)Figure 4.8-1: Bode plot for overdamped second order system4.9stability of the two-tank system, and linear systems in generalThe step response (4.5-10) shows no terms that grow with time, so long asthe time constants are positive. Furthermore, the amplitude ratio in Figure4.8-1 is bounded. Thus, a second-order overdamped system appears to bestable to bounded inputs. In practical terms, a concentration disturbance atthe inlet should not provoke a runaway response at the outlet.We have seen first- and second-order linear systems. Let us generalize toarbitrary order:and n y'd n 1 y 'dy '" a a y' x 'n 11dtdt ndt n 1(4.9-1)The function x′ represents all manner of bounded disturbances, expressedin deviation form. The system properties, however, reside on the left-handside of (4.9-1), and its stability behavior should be independent of theparticular nature of the disturbances x′. Hence, we may examine thehomogeneous equationrevised 2006 Mar 614

Spring 2006Process Dynamics, Operations, and Control10.450Lesson 4: Two Tanks in Seriesand n y'd n 1 y 'dy ' " y' 0aan 11nn 1dtdtdt(4.9-2)The solution to (4.9-2) is the sum of n terms, each containing a factor eαit,where αi is a real root, or the real part of a complex root, of thecharacteristic equation.a n r n a n 1r n 1 " a 1r 1 0(4.9-3)Hence if all the αi are negative, the solution cannot

Lesson 4: Two Tanks in Series 4.0 context and direction In Lesson 3 we performed a material balance on a mixing tank and derived a first-order system model. We used that model to predict the open-loop process behavior and its closed-loop behavior, under feedback control. In this lesson, we complicate the process, and find that some additional

Related Documents:

Business Ready Enhancement Plan for Microsoft Dynamics Customer FAQ Updated January 2011 The Business Ready Enhancement Plan for Microsoft Dynamics is a maintenance plan available to customers of Microsoft Dynamics AX, Microsoft C5, Microsoft Dynamics CRM, Microsoft Dynamics GP, Microsoft Dynamics NAV, Microsoft Dynamics SL, Microsoft Dynamics POS, and Microsoft Dynamics RMS, and

Process Modeling For control applications: Modeling objectives is to describe process dynamics based on the laws of conservation of mass, energy and momentum The balance equation 1.Mass Balance 2.Energy Balance 3.Momentum Balance (Newton’s Law) Rate of Accumulation of fundamental quantity Flow In Flow Out Rate of Production - File Size: 1MBPage Count: 32Explore furtherPDF Download Process Dynamics Modeling And Control Freewww.nwcbooks.comProcess Dynamics and Control - PDF Free Downloadepdf.pubUnderstanding Process Dynamics And Control PDF Download .www.fuadherbal.netA Short Introduction to Process Dynamics and Controlwww.users.abo.fiProcess Dynamics And Control Lecture Notesrims.ruforum.orgRecommended to you b

Microsoft Dynamics 365 for Operations on-premises, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012 or prior versions, or Microsoft Dynamics CRM 2016 or prior versions. This guide is not intended to influence the choice of Microsoft Dynamics products and services or provide technical specification.

Microsoft Dynamics 365 for Operations on-premises, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012 or prior versions, or Microsoft Dynamics CRM 2016 or prior versions. This guide is not intended to influence the choice of Microsoft Dynamics products and services or provide technical specification.

This guide is designed to improve your understanding of how to license Microsoft Dynamics 365, Business edition. This document does not apply to Dynamics 365, Enterprise edition, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics SL, Microsoft Dynamics AX 2012, or Microsoft Dynamics CRM 2016 or any other prior version.

Microsoft Dynamics Guide Dynamics GP vs. Dynamics 365 (NAV) vs. Dynamics SL . Dynamics 365 BC -1 Premium User 100/month/user (Subscription) 2000 (On-Premise) . Solomon's application became Dynamics SL. Dynamics SL is geared first and foremost for project-based businesses. This makes SL the

January 13, 2006 St. John’s February 10, 2006 St. John’s March 10, 2006 St. Teresa April 14, 2006 (Note 3rd Friday) St. Michael’s May 12, 2006 Holy Comforter June 9, 2006 Advent July 14, 2006 TBD August 11, 2006 St. John’s September 8, 2006 St. James/St. Matthews October 13, 2006 Holy Spirit

Dynamics GP, Microsoft Dynamics AX, Microsoft Dynamics 365 for Operations on-premises, Enterprise edition, Microsoft Dynamics SL, or prior versions of Microsoft Dynamics NAV. This guide is not intended to influence the choice of Microsoft Dynamics products and service