Docsity

Lecture Notes: Transfer Function & Modelling with Ramp Input, Impulse Response, Lecture notes of Control Systems

Partial preview of the text

Download Lecture Notes: Transfer Function & Modelling with Ramp Input, Impulse Response and more Lecture notes Control Systems in PDF only on Docsity!

Jomo Kenyatta University of Agriculture and Technology

BSc Electrical and Electronic Engineering

and

BSc Electronics and Computer Engineering

EEE 2403: CONTROL ENGINEERING I

January 18, 2024

EEE 2403: CONTROL ENGINEERING I Lecture Notes by A. M. Muhia

EEE 2403: CONTROL ENGINEERING I

Prerequisites

Circuit and Network Theory Ordinary Differential Equations

Purpose

The aim of this course is to enable the student to;

  1. understand control systems engineering and the control action.
  2. model control systems
  3. conceptualize stability of a control system.

Learning Outcomes

At the end of this course, the student should be able to;

  1. Perform mathematical modelling of control systems
  2. Calculate the response given the input to a control system
  3. Determine the stability of a give system using Routh and Hurtwiz criterions

Course Outline

Control systems: Definition; control action, open loop, closed loop, linear and non-linear systems, servo systems, continuous and discrete types. Principles of feedback: voltage, speed, and position control. Transfer Function and Mathematical Modelling. Simulation of simple system: block di- agrams as conceptional tools, Signal Flow diagrams. Time Domain Analysis of linear continuous system: First order and second order systems. Stability analysis: Hurwitz criterion, Routh Crite- rion. Root Locus. Frequency Domain Analysis. Bode plots

Teaching Methodology

2 hour lectures and 1 hour tutorial per week, and at least five 3-hour laboratory sessions per semester organized on a rotational basis.

EEE 2403: CONTROL ENGINEERING I Lecture Notes by A. M. Muhia

  • 1 Introduction to Control Systems Contents
    • 1.1 Definitions:
    • 1.2 Requirements of a good control system
    • 1.3 Classification of Control systems
  • 2 Transfer Function and Mathematical Modelling
    • 2.1 Transfer Function
    • 2.2 Modeling of Electrical Systems
    • 2.3 Modelling of Mechanical Systems
    • 2.4 Analogous Systems
  • 3 Block Diagram Representation
    • 3.1 Introduction
    • 3.2 Canonical form of Feedback Control System
    • 3.3 Rules for Block Diagram Reduction
  • 4 Signal Flow Graphs
    • 4.1 Introduction
    • 4.2 Important of Signal Flow Graphs terms
    • 4.3 Rules of Signal flow Graph Algebra
    • 4.4 Mason’s Gain Equation
  • 5 Time Domain Analysis
    • 5.1 Transient Response
    • 5.2 Steady State Response
    • 5.3 Analysis of first order System
    • 5.4 Analysis of Second order system
    • 5.5 Time domain specifications
  • 6 Stability Analysis
    • 6.1 Introduction
    • 6.2 Hurwitz Stability Criterion
    • 6.3 Routh’s Stability Criterion
  • 7 Root Locus EEE 2403: CONTROL ENGINEERING I Lecture Notes by A. M. Muhia
    • 7.1 Introduction
    • 7.2 Angle and Magnitude Criterion
    • 7.3 Procedure for Drawing Root Locus
  • 8 Frequency Domain Analysis
    • 8.1 Sinusoidal Response of a Linear System
    • 8.2 Methods used in Frequency Response
    • 8.3 Correlation between Time and Frequency Response Specifications
  • 9 Bode Plots
    • 9.1 Bode plots of standard factors
    • 9.2 Frequency Domain Specifications

Introduction to Control Systems Lecture Notes by A. M. Muhia

Speed: a good control system should have high speed i.e. the output of the system should be as fast as possible.

Oscillation: for a good control system, oscillations of the output should be constant or sustained oscillations.

1.3 Classification of Control systems

Control action is that quantity responsible for actuating the system to produce the output. De- pending on whether such a control action is dependent on the status of the output, control systems are classified as

  1. Open loop systems
  2. Closed looped systems

Open loop systems

This is a control system in which the output has no effect on the control action i.e. the control action is totally independent of the output of the system. The output is neither measured nor fed back for comparison with the input. To each reference input, there corresponds a fixed operating condition and as a result the accuracy of the system depends on the calibration. Open loop control can be used, in practice, if the relationship between the input and output is known and if there are neither internal nor external disturbances.

A general open loop control system is shown in Figure 1 below.

Figure 1: Open Loop Control System

The reference input r(t) is applied to the controller which generates the actuating signal u(t) to give the controlled output c(t).

Examples of open loop control systems

  1. Automatic washing machine
  2. Automatic hand drier
  3. Traffic control by means of signal operated on time basis.
  4. Bread toaster.

Introduction to Control Systems Lecture Notes by A. M. Muhia

Advantages of open loop systems

  1. They are simple in construction and design
  2. They are easy to maintain
  3. Convenient to use when the output is difficult to measure
  4. Not much problems of stability

Disadvantages of open loop systems

  1. Inaccurate and unreliable
  2. Inaccurate results obtained with parameter variations, internal disturbances
  3. Recalibration of the controller from time to time is necessary to maintain quality and accuracy

Closed loop control system

This is a control system in which the control action is somehow dependent on the output of the system. There is a comparison of the state of the output and the reference state. This property is known as feedback and is the main difference between open loop and closed loop systems.

Feedback is the property of the system which permits the output to be compared with the reference input so that appropriate control action is formed

The generalized closed loop control system is shown in Figure 2 below

Figure 2: Closed Loop Control System

r ( t ) - reference input u ( t ) - actuating signal e ( t ) - error signal c ( t ) - controlled output

Introduction to Control Systems Lecture Notes by A. M. Muhia

Comparison of open loop and closed loop systems

Table 1: Open loop and closed loop systems Sr. No. Open Loop System Closed Loop System

  1. No feedback. Hence feedback Feedback exists. Hence feedback elements absent elements exists
  2. No error detector Error detector present
  3. It is inaccurate It is accurate
  4. Highly sensitive to parameter Less sensitive to parameter changes changes
  5. Small bandwidth Large bandwidth
  6. Stable May become unstable
  7. Economical Costly
  8. Example: automatic toaster, Examples: Temperature control hand drier oven, guided missile

Servomechanisms

Out of a number of closed loop systems in the industry, a particular group of applications are called servomechanisms. Here the controlled output is position, speed, velocity, acceleration etc. i.e. position or time derivative of position.

A servomechanism is a power amplifying feedback control system in which the controlled variable is mechanical position or its time derivative, such as velocity, acceleration.

Example: an automobile steering mechanism where the angular position of wheels on the road is controlled as shown in Figure 3 below

Figure 3: Servomechanism of automobile steering system

Linear and Non-linear Control Systems

Linear systems are systems which obey the principle of superposition and proportionality.

If an input x 1 produces output y 1 by proportionality theorem an input αx 1 produces an output αy 1. By superposition theorem, an input αx 1 + βx 2 will produce an output αy 1 + βy 2.

Linear systems are systems where mathematical tools like Laplace, Fourier etc. can be used. These systems can be analysed mathematically or graphically.

Introduction to Control Systems Lecture Notes by A. M. Muhia

  • Practical systems are not fully linear but exhibit certain non-linearities. The common exam- ples of non-linearity are saturation, friction, deadzone, backlash etc.
  • Non-linear systems exhibit peculiar behaviour
  • They do not obey the law of superposition.
  • Standard test signals approach cannot be used here
  • The stability of linear systems depends on the root location and is independent of the initial state. In non-linear systems, stability depends on root location as well as the initial condition and type of input.
  • Non-linear systems exhibit self sustained oscillations of fixed frequency and amplitude called Limit Cycles. Linear systems do not have this feature
  • Non linear systems may exhibit hysteresis while linear systems do not show this behaviour

Table 2: Linear and Non Linear Systens SR. NO Linear Systems Non Linear Systems 1 Obey superposition theorem Do not obey superposition theorem 2 Can be analysed by standard Cannot be analysed by standard test signals test signals 3 Stability depends only on the Stability depends on the root location, root location initial condition and type of input 4 Do not exhibit Limit Cycles Exhibit Limit Cycles 5 Do not exhibit Hysteresis / Exhibit Hysteresis /Jump Resonance Jump Resonance 6 Can be analysed by Laplace, Cannot be analysed by these methods Fourier and Z-transforms

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

And the transfer function is obtained as

Y ( s ) X ( s ) =^

3 s − 1 s^2 + 3 s + 2

Hence the transfer function is defined as the ratio of the Laplace transform of the output to the Laplace transform of the input under the assumption that the initial conditions are zero

Laplace transform of three basic inputs

The three basic inputs considered in control systems are:

  1. Unit step input:

Figure 4: Unit step input

the unit step input is mathematically defined as

r ( t ) =

1 t ≥ 0 0 t < 0

The Laplace transform of the unit step signal is given by

R ( s ) =^1 s

  1. Ramp input: Ramp signal is mathematically defined as

r ( t ) =

kt t > 0 0 t < 0 where k is a constant

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

Figure 5: Ramp input

The Laplace transform of the ramp signal is given by

R ( s ) = k s^2

  1. Impulse input:

Figure 6: Unit impulse input

Impulse signal is mathematically defined as

r ( t ) =

1 t = 0 0 t ̸= 0

The Laplace transform of the impulse signal is given by

R ( s ) = 1

Impulse Response and Transfer Function

Let us assume that the Laplace of an impulse input δ ( t ) is unity

From equation (1) G ( s ) = C R (( ss )) then

C ( s ) = G ( s ) R ( s ) (2)

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

C ( s ) = G ( s ) × R ( s ) = (^) s + 2^1 × (^) s + 3^1

Using partial fractions

C ( s ) = (^) s + 2^1 − (^) s + 3^1

Taking inverse Laplace transform gives

c ( t ) = e −^2 t^ − e −^3 t

Properties of Transfer Function

  1. The transfer function of a system is the Laplace transform of its impulse response for zero initial conditions
  2. Conversely the transfer function can be determined from the system input-output pair taking the ratio of the Laplace of the output to the Laplace of the input
  3. The system differential equation can be obtained from the transfer function by replacing s-variable with the Linear Differential Operator D defined by D = (^) dtd
  4. The transfer function is independent of the inputs to the system
  5. The system poles/zeros can be found from the transfer function (discussed in the next section)
  6. Stability can be determined from the characteristic equation (discussed later)
  7. The transfer function is defined only for linear time invariant systems. It is not defined for non-linear systems

Proper and improper transfer functions

A transfer function is said to be proper if the order of the denominator is greater than the order of the numerator i.e. if the system has more poles than zeros

Example 1 s ,^

( s + 2) ( s + 3) ,^

s + 1 s^2 + 6 s + 4

A transfer function is said to be improper if the order of the numerator is greater than the order of the denominator i.e. if the system has more zeros than poles

Advantages of Transfer function

  1. It is a mathematical model that gives the gain of the given block/system

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

  1. Integral differential equations are converted to simple algebraic equations
  2. Once transfer function is known, any output for any given input, can be known
  3. From the knowledge of the transfer function the poles and zeros of a system is found out. Both poles and poles of a system play a very important role in response of the system.
  4. From the characteristic equation, system stability can be inferred.
  5. System differential equation can be obtained by replacement of variable ′ s ′^ by (^) dtd
  6. Transfer function is the characteristic and property of the system itself
  7. The value of the transfer function is dependent on the parameters of the system and inde- pendent of the input applied

Disadvantages of Transfer function

  1. Transfer function is valid only for liner time invariant systems
  2. It does not take into account the initial conditions. Initial conditions loses its significance
  3. It does not give any idea about how the present output is progressing. No idea about the physical structure of the system is immediately known

Poles and Zeros of a transfer function

The transfer function is given by

G ( s ) = C R^ (( ss ))

Both C ( s ) and R ( s ) are polynomials in s , thus

G ( s ) =

bmsm^ + bm − 1 sm −^1 + · · · + b 0 sn^ + an − 1 sn −^1 + · · · + an

= k (^ ( ss −^ − a^ b^1 ) ( s^ −^ b^2 ) ( s^ −^ b^3 )^...^ ( s^ −^ bm ) 1 ) ( s^ −^ a 2 ) ( s^ −^ a 3 )^...^ ( s^ −^ an )^

k is the system gain factor

Poles

The values of s for which the transfer function magnitude | G ( s )| becomes infinite after substitution in the denominator of the transfer function are called the poles of the transfer function.

For equation (4), s = a 1 , a 2 , a 3 etc. are the poles of G ( s ). In order to get these poles, equate the denominator of the transfer function to zero.

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

Figure 7: Pole Zero plot

Figure 8: Basic electrical elements

For an inductive element, the relationship between voltage and current is

( v 1 ( t ) − v 2 ( t )) = L didt

( V 1 ( s ) − V 2 ( s )) = LsI ( s ) (2)

For a capacitive element, the electrostatic equation is

Q ( t ) = C ( v 1 ( t ) − v 2 ( t ))

Differentiating both sides yields

dq dt =^ i^ ( t ) =^ C

d dt ( v^1 ( t )^ −^ v^2 ( t ))

sQ ( s ) = I ( s ) = Cs ( V 1 ( s ) − V 2 ( s )) (3)

Transfer Function and Mathematical Modelling Lecture Notes by A. M. Muhia

Laplace transform of Electrical Networks

Element Time-domain expression s - domain expression R v ( t ) = i ( t ) R V ( s ) = I ( s ) R L v ( t ) = L didt V ( s ) = LsI ( s ) C v ( t ) = C^1

i ( t ) dt V ( s ) = (^) SC^1 I ( s )

Example 2.

Obtain the transfer function for the circuit of Figure 9

Figure 9: Example 2.

Solution

Applying KVL to this circuit

vi ( t ) = Ri ( t ) + C^1

i ( t ) dt.......... ( i )

and

v 0 ( t ) = C^1

i ( t ) dt................. ( ii )

Taking Laplace transform of both equations yields

Vi ( s ) = RI ( s ) + (^) sC^1 I ( s ) ....... ( iii )

V 0 ( s ) = (^) sC^1 I ( s ) .............. ( iv )

From (iv)

I ( s ) = sCV 0 ( s ) ............. ( v )

Substituting (v) into (iii)

Vi ( s ) =

R + (^) sC^1

sCV 0 ( s ) ............. ( vi )