Lab Experiment 2: Performance of First order and second order systems

Similar documents
Step Response of First-Order Systems

RC Circuits (32.9) Neil Alberding (SFU Physics) Physics 121: Optics, Electricity & Magnetism Spring / 1

PID controllers. Laith Batarseh. PID controllers

8 sin 3 V. For the circuit given, determine the voltage v for all time t. Assume that no energy is stored in the circuit before t = 0.

ECE2262 Electric Circuit

Transient Response of a Second-Order System

As light level increases, resistance decreases. As temperature increases, resistance decreases. Voltage across capacitor increases with time LDR

EE292: Fundamentals of ECE

Lecture 39. PHYC 161 Fall 2016

Lab # 4 Time Response Analysis

2005 AP PHYSICS C: ELECTRICITY AND MAGNETISM FREE-RESPONSE QUESTIONS

Chapter 4 Transients. Chapter 4 Transients

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

2.4 Harmonic Oscillator Models

AP Physics C. Electric Circuits III.C

MAS107 Control Theory Exam Solutions 2008

Exercise 1: Capacitors

2.4 Models of Oscillation

Name:... Section:... Physics 208 Quiz 8. April 11, 2008; due April 18, 2008

EEE 184 Project: Option 1

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

MODULE I. Transient Response:

Electric Circuits. Overview. Hani Mehrpouyan,

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

Capacitance. A capacitor consists of two conductors that are close but not touching. A capacitor has the ability to store electric charge.

P114 University of Rochester NAME S. Manly Spring 2010

Systems Analysis and Control

ENERGY AND TIME CONSTANTS IN RC CIRCUITS By: Iwana Loveu Student No Lab Section: 0003 Date: February 8, 2004

Systems Analysis and Control

First-order transient

Compensator Design to Improve Transient Performance Using Root Locus

Transient response of RC and RL circuits ENGR 40M lecture notes July 26, 2017 Chuan-Zheng Lee, Stanford University

: TEACHING DIFFERENTIAL EQUATIONS WITH AN ENGINEERING FOCUS

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Basic RL and RC Circuits R-L TRANSIENTS: STORAGE CYCLE. Engineering Collage Electrical Engineering Dep. Dr. Ibrahim Aljubouri

Electrical Circuits (2)

Index. Index. More information. in this web service Cambridge University Press

Exercise 1: RC Time Constants

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

[1] (b) Fig. 1.1 shows a circuit consisting of a resistor and a capacitor of capacitance 4.5 μf. Fig. 1.1

P441 Analytical Mechanics - I. RLC Circuits. c Alex R. Dzierba. In this note we discuss electrical oscillating circuits: undamped, damped and driven.

Exam 3--PHYS 102--S14

Outline. Classical Control. Lecture 5

Dynamic Modeling. For the mechanical translational system shown in Figure 1, determine a set of first order

LAPLACE TRANSFORMATION AND APPLICATIONS. Laplace transformation It s a transformation method used for solving differential equation.

Outline. Classical Control. Lecture 1

FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY

Series RC and RL Time Domain Solutions

Electric Circuits Fall 2015 Solution #5

ET3-7: Modelling II(V) Electrical, Mechanical and Thermal Systems

Time Response of Systems

1 (30 pts) Dominant Pole

CIRCUIT ELEMENT: CAPACITOR

Mixing Problems. Solution of concentration c 1 grams/liter flows in at a rate of r 1 liters/minute. Figure 1.7.1: A mixing problem.

Chapter 28. Direct Current Circuits

EE 422G - Signals and Systems Laboratory

Laboratory Worksheet Experiment NE04 - RC Circuit Department of Physics The University of Hong Kong. Name: Student ID: Date:

ME 563 HOMEWORK # 7 SOLUTIONS Fall 2010

u (t t ) + e ζωn (t tw )

QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34)

Version 001 CIRCUITS holland (1290) 1

EE C128 / ME C134 Fall 2014 HW 8 - Solutions. HW 8 - Solutions

Capacitors GOAL. EQUIPMENT. CapacitorDecay.cmbl 1. Building a Capacitor

Slide 1 / 26. Inductance by Bryan Pflueger

Lecture 12 Chapter 28 RC Circuits Course website:

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

FEEDBACK CONTROL SYSTEMS

Problem Set 5 Solutions

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

Scanned by CamScanner

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Inductance, RL Circuits, LC Circuits, RLC Circuits

Electronics Capacitors

Due Wednesday, February 6th EE/MFS 599 HW #5

9. Introduction and Chapter Objectives

RC Circuits. Lecture 13. Chapter 31. Physics II. Course website:

RC Circuit Lab - Discovery PSI Physics Capacitors and Resistors

Inductance, Inductors, RL Circuits & RC Circuits, LC, and RLC Circuits

Controller Design using Root Locus

CDS 101/110: Lecture 3.1 Linear Systems

PHYSICS 171 UNIVERSITY PHYSICS LAB II. Experiment 6. Transient Response of An RC Circuit

Applications of Second-Order Differential Equations

The output voltage is given by,

Physics Investigation 10 Teacher Manual

Phys 102 Lecture 9 RC circuits

Outline. Classical Control. Lecture 2

Source-Free RC Circuit

Dept. of EEE, KUET, Sessional on EE 3202: Expt. # 1 2k15 Batch

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

8. Introduction and Chapter Objectives

AMJAD HASOON Process Control Lec4.

Problem Weight Score Total 100

AN INTRODUCTION TO THE CONTROL THEORY

Physics 116A Notes Fall 2004

ECE317 : Feedback and Control

What happens when things change. Transient current and voltage relationships in a simple resistive circuit.

6. Introduction and Chapter Objectives

Chapter 32. Inductance

Electrical Circuits Lab Series RC Circuit Phasor Diagram

Transcription:

Lab Experiment 2: Performance of First order and second order systems Objective: The objective of this exercise will be to study the performance characteristics of first and second order systems using MATLAB. List of Equipment/Software Following equipment/software is required: MATLAB Overview First Order Systems: An electrical RC-circuit is the simplest example of a first order system. It comprises of a resistor and capacitor connected in series to a voltage supply as shown below on Figure 1. If the capacitor is initially uncharged at zero voltage when the circuit is switched on, it starts to charge due to the current i' through the resistor until the voltage across it reaches the supply voltage. As soon as this happens, the current stops flowing or decays to zero, and the circuit becomes like an open circuit. However, if the supply voltage is removed, and the circuit is closed, the capacitor will discharge the energy it stored again through the resistor. The time it takes the capacitor to charge depends on the time constant of the system, which is defined as the time taken by the voltage across the capacitor to rise to approximately 63% of the supply voltage. For a given RC-circuit, this time constant is. Hence its magnitude depends on the values of the circuit components. The RC circuit will always behave in this way, no matter what the values of the components. That is, the voltage across the capacitor will never increase indefinitely. In this respect we will say that the system is passive and because of this property it is stable. For the RC-circuit as shown in Fig. 1, the equation governing its behavior is given by Where V c (t) is the voltage across the capacitor, R is the resistance and C is the capacitance. The constant is the time constant of the system and is defined as the time required by the system output i.e. V c (t) to rise to 63% of its final value (which is E). Hence the above equation can be expressed in terms of the time constant as: Obtaining the transfer function of the above differential equation, we get

Where is time constant of the system and the system is known as the first order system. The performance measures of a first order system are its time constant and its steady state. Overview Second Order Systems: Consider the following Mass-Spring system shown in the Figure. Where K is the spring constant, B is the friction coefficient, x(t) is the displacement and F(t) is the applied force: The differential equation for the above Mass-Spring system can be derived as follows Applying the Laplace transformation we get provided that, all the initial conditions are zeros. Then the transfer function representation of the system is given by The above system is known as a second order system. The generalized notation for a second order system described above can be written as for which the transient output, where 0 < ζ < 1. The transient response of the system changes for different values of damping ratio, ζ. Standard performance measures for a second order feedback system are defined in

terms of step response of a system. Where, the response of the second order system is shown below. The performance measures could be described as follows: Rise Time: The time for a system to respond to a step input and attains a response equal to a percentage of the magnitude of the input. The 0-100% rise time, Tr, measures the time to 100% of the magnitude of the input. Alternatively, Tr1, measures the time from 10% to 90% of the response to the step input. Peak Time: The time for a system to respond to a step input and rise to peak response. Overshoot: The amount by which the system output response proceeds beyond the desired response. It is calculated as where M Pt is the peak value of the time response, and f v is the final value of the response. Settling Time: The time required for the system s output to settle within a certain percentage of the input amplitude (which is usually taken as 2%). Then, settling time, T s, is calculated as

Step Response of Linear Dynamic Systems: Example1: Plot unit step response of the closed-loop transfer function, with default values of time t. ( ) Solution Once the numerator and denominator of closed loop transfer function is known, the step response can be obtained by using the following command: Step(n,d) Where n and d represent the numerator and denominator of closed loop control system. If time t is user defined time vector and has to be defined prior to the use of step command Step(n,d,t) %programe to get unit step response with default time values n=[0 0 36]; d=[1 3 36]; sys=tf(n,d) step(n,d); grid on; title('plot of the unit step response of sys') xlabel('time (secs)'); ylabel('amplitude');

Impulse Response of Linear Dynamic Systems: Example2: Plot unit impulse response of the closed-loop transfer function, with default values of time t. ( ) Solution: Once the numerator and denominator of closed loop transfer function is known, the impulse response can be obtained by using the following command: Impulse (n,d) %programe to get impulse response with default time values n=[0 0 1]; d=[1 0.4 1]; sys=tf(n,d) impulse (n,d); grid on; title('plot of the unit step response of sys') xlabel('time (secs)'); ylabel('amplitude');

Ramp Response of Linear Dynamic Systems: There is no ramp command in MATLAB. However, as the ramp signal is one order higher than step signal, the step input signal can be used to obtain the ramp response by dividing the transfer function by s and then evaluating it using the step command. If the given transfer function of system is G(s), then the step command is used with the modified function G(s)/s to obtain the ramp response. Example3: Plot ramp response of the closed-loop transfer function, with default values of time t. Solution: % program to obtain ramp response for closed loop system n=[0 0 30]; d=[1 5 30]; % the ramp response can be obtained by using step command % for transfer function divided by 's' % the transfer function G1(s)=G(s)/s n1=[0 0 0 30]; d1=[1 5 30 0]; % obtain step response of G1(s) i.e., ramp response of G(s) step(n1,d1); grid on; title('plot of the ramp response of sys') xlabel('time (secs)'); ylabel('amplitude'); ( )