# Process Control: Understanding Dynamic Behavior

This chapter is from the book

## 3.3 Introduction to Laplace Transforms

Most control system analysis and design techniques are based on linear systems theory. Although we could develop these procedures using the state space models, it is generally easier to work with transfer functions. Basically, transfer functions allow us to make algebraic manipulations rather than working directly with linear differential equations (state space models). To create transfer functions, we need the notion of the Laplace transform.

The Laplace transform of a time-domain function, f(t), is represented by L[f(t)] and is defined as

Equation 3.6

The Laplace transform is a linear operation, so the Laplace transform of a constant (C) multiplying a time-domain function is just that constant times the Laplace transform of the function,

Equation 3.7

The Laplace transforms of a few common time-domain functions are shown next.

#### Exponential Function

Exponential functions appear often in the solution of linear differential equations. Here

The transform is defined for t > 0 (we also use the identity that ex+y = exey)

So we now have the following relationship:

Equation 3.8

#### Derivatives

This will be important in transforming the derivative term in a dynamic equation to the Laplace domain (using integration by parts),

so we can write

Equation 3.9

For an nth derivative, we can derive

Equation 3.10

n initial conditions are needed: f(0),..., f(n – 1) (0)

One reason for using deviation variables is that all of the initial condition terms in Equation (3.10) are 0, if the system is initially at steady-state.

Time delays often occur owing to fluid transport through pipes, or measurement sample delays. Here we use q to represent the time delay. If f(t) represents a particular function of time, then f(tq) represents the value of the function q time units in the past.

We can use a change of variables, t* = tq, to integrate the function. Notice that the lower limit of integration does not change, because the function is defined as f(t) = 0 for t < 0.

Equation 3.11

So the Laplace transform of a function with a time delay (q) is simply eqs times the Laplace transform of the nondelayed function.

#### Step Functions

Step functions are used to simulate the sudden change in an input variable (say a flow rate being rapidly changed from one value to another). A step function is discontinuous at t = 0. A "unit" step function is defined as

and using the definition of the Laplace transform,

so

Equation 3.12

Similarly, the Laplace transform of a constant, C, is

Equation 3.13

#### Pulse

Consider a pulse function, where a total integrated input of magnitude P is applied over tp time units, as shown in Figure 3-3.

Figure 3-3. Pulse function.

The function is f(t) = P/tp for 0 < t < tp and f(t) = 0 for t > tp. The Laplace transform is

Equation 3.14

#### Impulse

An impulse function can viewed as a pulse function, where the pulse period is decreased while maintaining the pulse area, as shown in Figure 3-4. In the limit, as tp approaches 0, the pulse function becomes (using L'Hopital's rule)

Figure 3-4. Concept of an impulse function.

Equation 3.15

If we denote a unit impulse as f(t) = d, then the Laplace transform is

Equation 3.16

Examples of common impulse inputs include a "bolus" (shot or injection) of a drug into a physiological system, or dumping a bucket of fluid or bag of solids into a chemical reactor.

#### Other Functions

It is rare for one to derive the Laplace transform for a function; rather a table of known transforms (and inverse transforms) can be used to solve most dynamic systems problems.

Table 3-1 presents solutions for most common functions. If you desire to transform a function from the time domain to the Laplace domain, then look for the time-domain function in the first column and write the corresponding Laplace domain function from the second column. Similarly, if your goal is to "invert" a Laplace domain function to the time domain, then look for the Laplace domain function in the second column and write the corresponding time-domain function from the first column. This notion of the inverse Laplace transform can be written

Equation 3.17

For example

#### Initial- and Final-Value Theorems

The following theorems are very useful for determining limiting values in dynamics and control studies. The long-term behavior of a time-domain function can be found by analyzing the Laplace domain behavior in the limit as the s variable approaches zero. The initial value of a time-domain function can be found by analyzing the Laplace domain behavior in the limit as s approaches infinity.

#### Table 3-1. Laplace Transforms for Common Time-Domain Functions

Time-domain function

Laplace domain function

f(t)

F(s)

d(t) (unit impulse)

1

C (constant)

f(t - q)

e-qsF(s)

t

tn

sF(S) - f(0)

Snf(S) - Sn-1f(0) - L - sf(n-2)(0) - f(n-1)(0)

e-at

te-at

1-e-t/t

sin wt

cos wt

eat sin wt

eatcos wt

where ,

The final-value theorem is

Equation 3.18a

The initial-value theorem is

Equation 3.18b

It should be noted that these theorems only hold for stable systems.

#### Example 3.2: Application of Initial- and Final-Value Theorems

Find the long-term and short-term behavior of the time-domain function, y(t), using the final- and initial-value theorems on the Laplace domain function Y(s) (we see later that this arises from a step input applied to a second-order process):

The long-term behavior, y(t → ∞), is found using the final-value theorem,

The short-term behavior, y(t → 0), is found using the initial-value theorem,

The reader should verify that the time-domain function, y(t), can be found by applying Table 3-1 to find

and that the values of y(t → ∞), and y(t → 0), are consistent with the final- and initial-value theorems.

#### General Solution Procedure

To obtain analytical solutions for differential equation-based models, the general procedure is composed of several steps.

and known initial conditions

2. Transform each element of the differential equation to the Laplace domain,

3. Use algebraic manipulations to solve for the transformed variable.

where N(s) and D(s) are polynomials in s.

4. Perform a partial fraction expansion to isolate the individual elements.

where a, b, and so forth are the roots of D(s). If roots are repeated the partial fraction expansion has the form (for an example where three roots all have a value of a).

5. Invert each element back to the time domain to find the final solution for y(t).

For the case of repeated roots (say 3 that have a value of a), the solution has the form

It should be noted that chemical process systems are rarely described by an nth order differential equation. Usually, a set of n first-order differential equations is transformed to a single nth order equation, as shown in Example 3.3.

#### Example 3.3: Second-Order Differential Equation

Consider the following state space model of an isothermal CSTR (Module 5).

Equation 3.19

where x1 and x2 represent the concentrations of two components (in deviation variable form) in an isothermal reactor; the initial conditions are x1(0) = x2(0) = 0. Solve for the output (concentration of component 2) response to a unit step input.

1. The reader should show (see exercise 6) that this can be arranged to a second-order differential equation,

with the initial conditions y(0) = dy(0)/dt = 0, and the input is initially u(0)= 0.

2. Taking the Laplace transform of each element,

and substituting back into the differential equation, we find1

3. Solving for Y(s), we find

Here we consider a unit step input, U(s) = 1/s.

4. Performing a partial fraction expansion using the roots of the denominator polynomial,

Equation 3.20

Solve for C1 by multiplying by s,

Setting s = 0 to find

Similarly, solve for C2 by multiplying Equation (3.20) by s + 2.4053 and setting s = –2.4053

Also, solve for C3 by multiplying Equation (3.20) by s + 2.2376 and setting s = –2.2376

which yields

5. Inverting each element back to the time domain,

Equation 3.21

Although it is nice to have an analytical solution, it is generally more pleasing to engineers to view a plot of a variable as it changes with time, as shown in Figure 3-5. In this plot we notice that the concentration initially decreases, before increasing to a new steady-state value.

Figure 3-5. Response of the concentration as a function of time. See Equation ().

In Example 3.3 we solved for the coefficients (C1, C2, C3) by selecting values of s to minimize the multiplications performed during each step. An alternative is to solve for three equations in three unknowns by using various values of s (say s = 1, 2, and 3, for example) in Equation (3.20).

Differential equations textbooks, such as Boyce and DiPrima (1992) present many examples of applications of Laplace transforms to solve differential equations. In practice, it is rare for process engineers to seek analytical solutions to differential equations; it is far easier to solve these numerically. The primary goal of this section was to provide background material to understand the transfer functions and dynamic responses shown in the next section.

### InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

## Overview

Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

## Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

### Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

### Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

### Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

### Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

### Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

### Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

## Other Collection and Use of Information

### Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

### Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

### Do Not Track

This site currently does not respond to Do Not Track signals.

## Security

Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

## Children

This site is not directed to children under the age of 13.

## Marketing

Pearson may send or direct marketing communications to users, provided that

• Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
• Such marketing is consistent with applicable law and Pearson's legal obligations.
• Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
• Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

## Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

## Choice/Opt-out

Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

## Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

## Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

## Sharing and Disclosure

Pearson may disclose personal information, as follows:

• As required by law.
• With the consent of the individual (or their parent, if the individual is a minor)
• In response to a subpoena, court order or legal process, to the extent permitted or required by law
• To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
• In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
• To investigate or address actual or suspected fraud or other illegal activities
• To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
• To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
• To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.