Download linear control system and more Summaries Linear Control Systems in PDF only on Docsity!
Linear Control Systems
(EEN-412)
Week: 02 → Lecture: 04, 05, 06
Engr. Dr. Ghulam Fareed Laghari
Robotics and Intelligent Systems (RIS)
Department of Electrical Engineering
Bahria University (BU) H-11 Campus, ISLAMABAD
CONTENT
➢ Week wise content: Week#
- Modeling in frequency domain: Review of Laplace Transform
- Solving Linear, Time – Invariant, Different Equations & General Transfer function ➢ Lecture wise Content: ▪ Mathematical Modeling in Control Systems → Introduction ▪ Mathematical Modeling in Control Systems → Differential Equation and Block Diagram ▪ Laplace Transform → Review ▪ Laplace Transform → Introduction ▪ Laplace Transform → Introduction → EXAMPLE# ▪ Laplace Transform → Introduction → EXAMPLE# ▪ Laplace Transform → Partial-Fraction Expansion ▪ Laplace Transform → Partial-Fraction Expansion → EXAMPLE ▪ Laplace Transform → Partial-Fraction Expansion → EXAMPLE → CASE# ▪ Laplace Transform → Partial-Fraction Expansion → EXAMPLE → CASE# 02 ▪ Laplace Transform → Partial-Fraction Expansion → EXAMPLE → CASE# ▪ The Transfer Function
Mathematical Modeling in Control Systems → Introduction ▪ After drawing the schematic (i.e. block diagram model), the next step is to develop a mathematical model. ▪ In this course, we will study two main modeling methods:
- Transfer Functions
- Used in the frequency domain
- Covered in this week’s lectures
- State Equations
- Used in the time domain
- Explained in upcoming lectures
Mathematical Modeling in Control Systems → Introduction ➢ Foundation of all Mathematical Models ▪ Every mathematical model starts with basic physical laws. ▪ These laws depend on the type of system being modeled. ❑ For Electrical Systems ▪ We use:
- Ohm’s Law
- Kirchhoff’s Voltage Law (KVL)
- Kirchhoff’s Current Law (KCL) ▪ We:
- Sum voltages around a loop
- Sum currents at a node ❑ For Mechanical Systems ▪ We use: → Newton’s Laws ▪ We: → sum forces or sum torques
Mathematical Modeling in Control Systems → Differential Equation and Block Diagram ➢ A combination of differential equations and block diagrams is used to better understand, model, analyze, and design a control system. Role of Differential Equations Role of Block Diagrams ▪ They give the exact mathematical description of a physical system. ▪ They show how inputs, outputs, and system parameters are related. ▪ They are essential for:
- Deriving the system model
- Understanding the physical laws behind the system ▪ Strength: Mathematical accuracy ▪ Limitation: Hard to visualize and interconnect systems ▪ They provide a clear visual representation of the system. ▪ They separate :
- Input
- System
- Output ▪ They make it easy to:
- Connect multiple subsystems
- Analyze cascaded or feedback systems
- Simplify complex systems ▪ Strength: Clarity and convenience ▪ Limitation: Derived from differential equations TABLE 1: Role of Differential Equations and Block Diagrams in Control Systems
Mathematical Modeling in Control Systems → Differential Equation and Block Diagram ▪ How They (Differential Equation and Block Diagram) Work Together? Differential equations → Transfer functions → Block diagrams
- Differential equations give the foundation
- Block diagrams give the structure and insight ➢ Briefly, ▪ Differential equations provide:
- The mathematical model of a control system while ▪ Block Diagrams provide:
- A clear and convenient representation for analysis and design Therefore, both are essential for a complete understanding of control systems. FIGURE 1 (a): Block diagram representation of a system FIGURE 1 (b): Block diagram representation of an interconnection of subsystems In FIGURE 1 (a)-(b): ▪ The input, r(t), stands for reference input. ▪ The output, c(t), stands for controlled variable. FIGURE 1 (b) represents cascaded interconnections, where a mathematical function, called a transfer function, is inside each block. However, block functions can easily be combined to yield FIGURE 1 (a) for ease of analysis and design.
Laplace Transform → Introduction
➢The Laplace transform converts a time-domain function, 𝒇(𝒕), into a frequency-domain function, 𝑭(𝒔).
➢ Laplace transform is defined as:
▪ The variable 𝒔 is a complex number: 𝒔 = 𝝈 + 𝒋𝝎
- This allows us to analyze both:
▪ If a function 𝒇(𝒕) is known and its Laplace integral exists :
- We can find its Laplace transform, called 𝑭(𝒔)
➢The inverse Laplace transform, which allows us to find 𝒇(𝒕) given 𝑭(𝒔), is:
- Here, 𝒖(𝒕) is the unit step function.
- Multiplication of 𝒇(𝒕) by 𝒖(𝒕) yields a time function that is zero for 𝒕 < 𝟎 𝓛 −𝟏 𝑭 𝒔 = 𝟏 𝟐𝝅𝒋 න 𝝈−𝒋∞ 𝝈+𝒋∞ 𝑭 𝒔 𝒆 𝒔𝒕 𝒅𝒔 = 𝒇 𝒕 𝒖(𝒕)
1. Growth or decay (via 𝜎) 2. Oscillations (via 𝜔)
𝝈 read as sigma 𝝎 read as omega where 𝒖(𝒕) = 𝟏 𝒕 > 𝟎 𝒖(𝒕) = 𝟎 𝒕 < 𝟎 Eq. (1) Eq. (2)
Laplace Transform → Introduction TABLE 2: Test Waveforms used in Control Systems
Laplace Transform → Introduction → EXAMPLE# ▪ In the following example we demonstrate the use of Eq. (1) to find the Laplace transform of a time function. ▪ In addition to the Laplace transform table, TABLE 3 , we can use Laplace transform theorems , listed in TABLE 4 , to assist in transforming between 𝒇(𝒕) and 𝑭(𝒔).
Laplace Transform → Introduction → EXAMPLE# TABLE 4: Laplace transform theorems
Laplace Transform → Partial-Fraction Expansion ➢ Why do we use Partial-Fraction Expansion? ▪ Sometimes, a Laplace-domain function is too complicated to invert directly. ▪ To find its inverse Laplace transform, we first break it into simpler parts. ▪ This process is called partial-fraction expansion. ▪ Each simpler term has a known inverse Laplace transform, making the problem easier. ▪ Basic Requirement:
- Suppose we have a function 𝑭(𝒔) = 𝑵(𝒔) / 𝑫(𝒔) where: ❑ 𝑵(𝒔) = Numerator Polynomial ❑ 𝑫(𝒔) = Denominator Polynomial ▪ Two Distinct Cases:
- Case 1: When the numerator order is LESS than the denominator order
- Case 2: When the numerator order is GREATER THAN or EQUAL TO the denominator order
Laplace Transform → Partial-Fraction Expansion ➢ CASE 1: When the numerator order is LESS than the denominator order ▪ If the degree of 𝑵(𝒔) is less than the degree of 𝑫(𝒔):
- We can directly apply partial-fraction expansion.
- No division is needed. ➢ CASE 2: When the numerator order is GREATER THAN or EQUAL TO the denominator order ▪ If the degree of 𝑵(𝒔) is greater than or equal to the degree of 𝑫(𝒔):
- We must first divide 𝑵(𝒔) by 𝑫(𝒔).
- Keep dividing until: ❑ The degree of the remainder numerator becomes less than the denominator.
- Only then can partial-fraction expansion be applied.
Laplace Transform → Partial-Fraction Expansion → EXAMPLE ➢ Using partial-fraction expansion, we can further break expressions, for instance: ➢ We will be able to expand functions, like the one mentioned above, into a sum of terms and then find the inverse Laplace transform for each term. ➢ These expansions fall into three common cases , which we will study one by one. ▪ CASE 1: Roots of the Denominator of 𝑭(𝒔) are Real and Distinct ▪ CASE 2: Roots of the Denominator of 𝑭(𝒔) are Real and Repeated ▪ CASE 3: Roots of the Denominator of 𝑭(𝒔) are Complex or Imaginary
Laplace Transform → Partial-Fraction Expansion → EXAMPLE → CASE#
▪ CASE 1: Roots of the Denominator of 𝑭(𝒔) are Real and Distinct ➢ What does “ real and distinct roots ” mean? ▪ Real roots → The roots are real numbers (not complex). ▪ Distinct roots → Each root appears only once (no repetition). ▪ Mathematically, this means each factor is raised to power 1 (unity). ➢ Given Function: ▪ Step 1 : Identify the roots of the denominator
- From (s+ 1 )(s+ 2 ): ❑ Root 1 : s=− 1 ❑ Root 2 : s=− 2
- Since both roots are different and not repeated , this is CASE 1. FACTOR: A factor means a bracketed term involving s ▪ Examples of factors: - ( 𝑠+ 1 ) - ( 𝑠 − 3 ) - ( 𝑠+ 2 )^2