ME422 Mechanical Control Systems Modeling Fluid Systems

Similar documents
Derivatives Math 120 Calculus I D Joyce, Fall 2013

Instantaneous Rate of Change:

Lecture 10: What is a Function, definition, piecewise defined functions, difference quotient, domain of a function

1.6. Analyse Optimum Volume and Surface Area. Maximum Volume for a Given Surface Area. Example 1. Solution

2 Limits and Derivatives

SAT Subject Math Level 1 Facts & Formulas

MATHEMATICS FOR ENGINEERING DIFFERENTIATION TUTORIAL 1 - BASIC DIFFERENTIATION

Math 113 HW #5 Solutions

Sections 3.1/3.2: Introducing the Derivative/Rules of Differentiation

ACT Math Facts & Formulas

New Vocabulary volume

The EOQ Inventory Formula

Tangent Lines and Rates of Change

Average and Instantaneous Rates of Change: The Derivative

Notes: Most of the material in this chapter is taken from Young and Freedman, Chap. 12.

Pressure. Pressure. Atmospheric pressure. Conceptual example 1: Blood pressure. Pressure is force per unit area:

Determine the perimeter of a triangle using algebra Find the area of a triangle using the formula

2.1: The Derivative and the Tangent Line Problem

Verifying Numerical Convergence Rates

13 PERIMETER AND AREA OF 2D SHAPES

Section 3.3. Differentiation of Polynomials and Rational Functions. Difference Equations to Differential Equations

The Derivative as a Function

M(0) = 1 M(1) = 2 M(h) = M(h 1) + M(h 2) + 1 (h > 1)

Math Test Sections. The College Board: Expanding College Opportunity

Theoretical calculation of the heat capacity

Warm medium, T H T T H T L. s Cold medium, T L

CHAPTER 8: DIFFERENTIAL CALCULUS

What is Advanced Corporate Finance? What is finance? What is Corporate Finance? Deciding how to optimally manage a firm s assets and liabilities.

- 1 - Handout #22 May 23, 2012 Huffman Encoding and Data Compression. CS106B Spring Handout by Julie Zelenski with minor edits by Keith Schwarz

An inquiry into the multiplier process in IS-LM model

f(x) f(a) x a Our intuition tells us that the slope of the tangent line to the curve at the point P is m P Q =

SAT Math Facts & Formulas

Optimized Data Indexing Algorithms for OLAP Systems

FINITE DIFFERENCE METHODS

Chapter 7 Numerical Differentiation and Integration

Note nine: Linear programming CSE Linear constraints and objective functions. 1.1 Introductory example. Copyright c Sanjoy Dasgupta 1

Chapter 11. Limits and an Introduction to Calculus. Selected Applications

Research on the Anti-perspective Correction Algorithm of QR Barcode

Writing Mathematics Papers

Perimeter, Area and Volume of Regular Shapes

Geometric Stratification of Accounting Data

Valve Selection and Sizing

CHAPTER 7. Di erentiation

Catalogue no XIE. Survey Methodology. December 2004

Chapter 10: Refrigeration Cycles

Volumes of Pyramids and Cones. Use the Pythagorean Theorem to find the value of the variable. h 2 m. 1.5 m 12 in. 8 in. 2.5 m

In other words the graph of the polynomial should pass through the points

f(x + h) f(x) h as representing the slope of a secant line. As h goes to 0, the slope of the secant line approaches the slope of the tangent line.

How To Ensure That An Eac Edge Program Is Successful

Math 229 Lecture Notes: Product and Quotient Rules Professor Richard Blecksmith

Shell and Tube Heat Exchanger

EC201 Intermediate Macroeconomics. EC201 Intermediate Macroeconomics Problem set 8 Solution

A strong credit score can help you score a lower rate on a mortgage

Schedulability Analysis under Graph Routing in WirelessHART Networks

The modelling of business rules for dashboard reporting using mutual information

3 Ans. 1 of my $30. 3 on. 1 on ice cream and the rest on 2011 MATHCOUNTS STATE COMPETITION SPRINT ROUND

CHAPTER TWO. f(x) Slope = f (3) = Rate of change of f at 3. x 3. f(1.001) f(1) Average velocity = s(0.8) s(0) 0.8 0

Distances in random graphs with infinite mean degrees

Projective Geometry. Projective Geometry

TUTORIAL No. 1 FLUID FLOW THEORY

2.23 Gambling Rehabilitation Services. Introduction

Heat Exchangers. Heat Exchanger Types. Heat Exchanger Types. Applied Heat Transfer Part Two. Topics of This chapter

RISK ASSESSMENT MATRIX

2.12 Student Transportation. Introduction

Operation go-live! Mastering the people side of operational readiness

College Planning Using Cash Value Life Insurance

SAT Math Must-Know Facts & Formulas

Welfare, financial innovation and self insurance in dynamic incomplete markets models

4.4 The Derivative. 51. Disprove the claim: If lim f (x) = L, then either lim f (x) = L or. 52. If lim x a. f (x) = and lim x a. g(x) =, then lim x a

Section 2.3 Solving Right Triangle Trigonometry

6. Differentiating the exponential and logarithm functions

NAFN NEWS SPRING2011 ISSUE 7. Welcome to the Spring edition of the NAFN Newsletter! INDEX. Service Updates Follow That Car! Turn Back The Clock


Binary Search Trees. Adnan Aziz. Heaps can perform extract-max, insert efficiently O(log n) worst case

An Orientation to the Public Health System for Participants and Spectators

SAMPLE DESIGN FOR THE TERRORISM RISK INSURANCE PROGRAM SURVEY

Can a Lump-Sum Transfer Make Everyone Enjoy the Gains. from Free Trade?

Gas Flow into Rotary Valve Intake and Exhaust Mechanism in Internal Combustion Engine

Pre-trial Settlement with Imperfect Private Monitoring

Pioneer Fund Story. Searching for Value Today and Tomorrow. Pioneer Funds Equities

THE NEISS SAMPLE (DESIGN AND IMPLEMENTATION) 1997 to Present. Prepared for public release by:

Predicting the behavior of interacting humans by fusing data from multiple sources

To motivate the notion of a variogram for a covariance stationary process, { Ys ( ): s R}

MATHEMATICAL MODELS OF LIFE SUPPORT SYSTEMS Vol. I - Mathematical Models for Prediction of Climate - Dymnikov V.P.

Chapter 6 Tail Design

The Dynamics of Movie Purchase and Rental Decisions: Customer Relationship Implications to Movie Studios

Compute the derivative by definition: The four step procedure

Strategic trading and welfare in a dynamic market. Dimitri Vayanos

His solution? Federal law that requires government agencies and private industry to encrypt, or digitally scramble, sensitive data.

Grade 12 Assessment Exemplars

The use of visualization for learning and teaching mathematics

Tis Problem and Retail Inventory Management

A Multigrid Tutorial part two

Transcription:

Cal Poly San Luis Obispo Mecanical Engineering ME422 Mecanical Control Systems Modeling Fluid Systems Owen/Ridgely, last update Mar 2003 Te dynamic euations for fluid flow are very similar to te dynamic euations for most oter systems. We begin wit te concept of resistance. Tis is analogous to te linear friction present in some mecanical systems, were we ave F bv, wit F being force, v being velocity and b te friction coefficient. In electrical systems, we ave Om s Law, V IR wic works te same way. Eac of tese rules relates a generalized force variable (wic may be force or voltage or some oter motivating potential) to a generalized flow variable (suc as velocity or current). Fluid systems ave a similar relationsip relating te pressure difference, or ead, across a fluid restriction to te flow troug te restriction. Unfortunately te relationsip isn t linear: K were is te rate of flow and is te ead, a function of te pressure drop: p/ρg. Wen tis relationsip is graped, it looks someting like tis: Tis is clearly not a linear relationsip (it s a parabola) so we can t use it in linear control system design. However, we can set up a linear approximation wic is good enoug for use in designing control systems. Te process of setting up tis approximation is referred to as linearization; it is described in Section 2.11 of te Nise text. Te most important ting to remember about linearization is tat it only works in a limited range about a given operating point. To begin linearizing te fluid flow vs. pressure function, we first coose our operating point. Tis is some point (, ) on te grap at wic te system can operate in steady-state euilibrium. We ten draw a tangent line troug te grap at tat point:

Te line is a reasonably good approximation to te nonlinear function witin te area sown by te dotted rectangle. Outside tat region, te line is not a useful approximation; we would ave to coose a different operating point and draw a new line (resulting in a different system euation) in order to linearize te system out tere. Next, we define variables and wic represent te deviations of flow and ead from teir steady-state euilibrium values. Tis means tat if te steady-state value of is 10 gal/min, a value of 2 gal/min means tat te actual flow is 12 gal/min. We can use tese deviations to write a linear euation: [ ] d d, Tis linear euation is useful in designing a control system wic maintains te flow of fluid at some value close to te operating point (, ). Now we need to find te value of te slope of te line, d/d. K 1 K 2 2 d d 2 K 2 K 2 2 d 2 d ( 2 /) 2 We can evaluate tis expression at te operating point to get [ ] d d, 2 2 Tis relationsip between ead and flow is useful for many fluid devices wose pressure-flow relationsip is uadratic, including orifices, valves, and even te odd ole in a tank.

In te ME422 lab we will be working wit a tank wose top is open to atmosperic pressure (wic is treated as a zero gauge pressure) and wic as a flow restriction at te bottom, as sown below. Te eigt is te vertical distance from te surface of te liuid to te flow restriction (valve, orifice, or watever). Tere will be some flow i into te top of te tank and some flow o out of te bottom of te tank. By volumetric continuity, te rate of cange of te volume V of fluid in te tank must be te difference between wat s going in and wat s going out: i o dv Ad Tis euation assumes tat te tank as a constant cross section A. Te preceding euation was written for te actual values of te flows and ead. Now we write te euation for te deviations from te steady-state operating values i, o, and. Note tat te derivatives of te steady state values ave to be zero, as tose values are constants for a given operating point. Our linearized euation was i o dv 2 o, o 2 Ad ( ) Plugging tis into te continuity euation, we ave A d ( ) i ( ) Ad 2 + 2 i d ( ) or ( ( ) 1 i A) 2A

Now tis is te familiar form for a first-order linear differential euation. Te state of te system is and te input to te system is i. Tis euation is transformed into te Laplace domain to get ( s + ) H(s) Q i(s) 2A A H(s) 1/A s + ( /2A ) Q i(s) Tere are two system outputs in wic we migt be interested. If te eigt of fluid in te tank is of interest, we use tis euation as given. If te flow o out of te tank is of interest, we note tat te output flow as already been found to be o 2 Tis is of course a static relationsip, and it can be multiplied by te transfer function found above to give us Q o / Q i. Take a moment to tink about tese euations must be used. Te linearization tecniue only works for a system wose flow deviates sligtly from some steadystate value. It does not work for a system wose flow is turned fully on and off, for example. If you re going to do a step response test of a fluid system, you cannot start te system wit zero pressure and zero flow. At te start of te test, te system must be running in steady-state euilibrium wit ead and flow. It migt seem strange tat fluid flow systems ave different dynamic euations depending on ow muc fluid is flowing. But we can deal wit tis. Often, fluid systems are operated as process systems in wic our goal is to keep te fluid moving at a constant rate all te time. Cemical processing plants are an example of suc systems. Only one operating model is needed because te flow remains constant wenever te plant is in operation. At oter times, systems are designed to work at different flow rates. Tis may necessitate tat te design of te control system is repeated many times, wit different controllers being designed for different operating points.

Fluid Tank Example i o Consider te system sown above. Te tank is cylindrical and its diameter is 15 inces. Te steady-state operating point is 25 in 3 /sec, 27 in. Note tat te units are all in inces and seconds if answers are needed in oter units suc as feet or gallons, te mat sould still be done in inces and te answers converted to oter units afterward. We want to find te response of te system to a step input cange i of 5 in 3 /sec, wic means te flow canges from 25 to 30 in 3 /sec. A π 4 d2 177 in 2 H(s) Q i (s) H(s) Q i (s) 1/A s + ( /2A ) s + 1/(177 in 2 ) (25 in3 /sec) 2(177 in 2 )(27 in) 0.00565 s + 0.00262 in in 3 /sec Te time constant of tis system is 382 seconds, or 6 minutes 22 seconds. A sanity ceck suggests tat tis makes sense; consider ow slowly te water level would cange in a kitcen sink wen you cange te flowrate. We can find te new steady-state value of fluid eigt in te tank by using te Final Value Teorem, wit te input s Laplace transform being Q i (s) (5in 3 /sec)(1/s). ss lim s 0 s H(s) ss lim s 0 s (1/A)( Q i(s)) s + ( /2A ) ss (5 in3 /sec)/(177 in 2 ) (25 in 3 /sec) 2(177 in 2 )(27 in) 10.8 in

Tis means tat te fluid level in te tank will rise to 37.8 inces. If we need to find (t), we could use partial fraction expansion. But we could also kludge togeter an answer by noting tat for a simple first order system, we know wat te response must look like. It s an exponential rise from te initial value to te final value. Te formula for te time response is ) (t) 10.8 in (1 e 1 382 sec Te time response of te system can also be found using numerical simulation suc as tat done by Simulink. A simple model wic implements tis system is sown ere. Step 0.00565 s+0.00262 Fluid Tank Scope simout To Workspace Te results of running tis simulation are sown below. Note tat te settling time is rater long. One of te advantages of simulation is tat we can analyze systems reasonably uickly instead of aving to perform tests wic can last many minutes or even ours. 38 Tank Simulation Results Heigt [in] 36 34 32 30 28 26 500 0 500 1000 1500 2000 Time [sec]