Transient Analysis of Electrical Circuits Using Runge- Kutta Method and its Application

Similar documents
QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34)

ENGR 2405 Chapter 8. Second Order Circuits

To find the step response of an RC circuit

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

Chapter 4 Transients. Chapter 4 Transients

EE292: Fundamentals of ECE

RLC Series Circuit. We can define effective resistances for capacitors and inductors: 1 = Capacitive reactance:

Alternating Current Circuits. Home Work Solutions

Electric Circuit Theory

Response of Second-Order Systems

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

Lecture 39. PHYC 161 Fall 2016

AC Circuits Homework Set

Handout 10: Inductance. Self-Inductance and inductors

Basic. Theory. ircuit. Charles A. Desoer. Ernest S. Kuh. and. McGraw-Hill Book Company

Inductance, RL and RLC Circuits

ECE 241L Fundamentals of Electrical Engineering. Experiment 5 Transient Response

First-order transient

Source-Free RC Circuit

Chapter 32. Inductance

Kirchhoff's Laws and Circuit Analysis (EC 2)

Chapter 10: Sinusoids and Phasors

Electromagnetic Induction Faraday s Law Lenz s Law Self-Inductance RL Circuits Energy in a Magnetic Field Mutual Inductance

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES

RLC Circuit (3) We can then write the differential equation for charge on the capacitor. The solution of this differential equation is

Self-inductance A time-varying current in a circuit produces an induced emf opposing the emf that initially set up the time-varying current.

Chapter 33. Alternating Current Circuits

ELECTRONICS E # 1 FUNDAMENTALS 2/2/2011

ECE2262 Electric Circuit

1 Phasors and Alternating Currents

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

First Order RC and RL Transient Circuits

RC, RL, and LCR Circuits

Electromagnetic Oscillations and Alternating Current. 1. Electromagnetic oscillations and LC circuit 2. Alternating Current 3.

Circuits with Capacitor and Inductor

Linear Circuits. Concept Map 9/10/ Resistive Background Circuits. 5 Power. 3 4 Reactive Circuits. Frequency Analysis

Inductance, RL Circuits, LC Circuits, RLC Circuits

Sinusoidal Steady-State Analysis

Chapter 10 Sinusoidal Steady State Analysis Chapter Objectives:

Active Figure 32.3 (SLIDESHOW MODE ONLY)

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

Chapter 10: Sinusoidal Steady-State Analysis


Lecture #3. Review: Power

Sinusoidal Steady State Analysis (AC Analysis) Part I

4/27 Friday. I have all the old homework if you need to collect them.

Ch. 23 Electromagnetic Induction, AC Circuits, And Electrical Technologies

Announcements: Today: more AC circuits

MODULE I. Transient Response:

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

Physics 116A Notes Fall 2004

Solutions to these tests are available online in some places (but not all explanations are good)...

Inductive & Capacitive Circuits. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

DOING PHYSICS WITH MATLAB

ELECTROMAGNETIC OSCILLATIONS AND ALTERNATING CURRENT

HOMEWORK 4: MATH 265: SOLUTIONS. y p = cos(ω 0t) 9 ω 2 0

Chapter 32. Inductance

AC Circuit Analysis and Measurement Lab Assignment 8

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

Electric Circuits II Sinusoidal Steady State Analysis. Dr. Firas Obeidat

Chapter 10 AC Analysis Using Phasors

8. Introduction and Chapter Objectives

Assessment Schedule 2015 Physics: Demonstrate understanding of electrical systems (91526)

Electrical Circuits (2)

Chapter 30 Inductance and Electromagnetic Oscillations

AC Circuits III. Physics 2415 Lecture 24. Michael Fowler, UVa

Basics of Network Theory (Part-I)

The RLC circuits have a wide range of applications, including oscillators and frequency filters

Circuit Analysis-II. Circuit Analysis-II Lecture # 5 Monday 23 rd April, 18

Sinusoidal Steady-State Analysis

Electrical Circuits I

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

Frequency Response part 2 (I&N Chap 12)

Introduction to AC Circuits (Capacitors and Inductors)

Version 001 CIRCUITS holland (1290) 1

Handout 11: AC circuit. AC generator

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Network Graphs and Tellegen s Theorem

Lecture 4: R-L-C Circuits and Resonant Circuits

Sinusoidal Response of RLC Circuits

2.004 Dynamics and Control II Spring 2008

Slide 1 / 26. Inductance by Bryan Pflueger

Alternating Current Circuits

Applications of Second-Order Differential Equations

AC Source and RLC Circuits

Initial conditions. Necessity and advantages: Initial conditions assist

FE Review 2/2/2011. Electric Charge. Electric Energy ELECTRONICS # 1 FUNDAMENTALS

EE 40: Introduction to Microelectronic Circuits Spring 2008: Midterm 2

Physics for Scientists & Engineers 2

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Physics 115. AC: RL vs RC circuits Phase relationships RLC circuits. General Physics II. Session 33

Physics 4 Spring 1989 Lab 5 - AC Circuits

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

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

Chapter 30 Inductance

Capacitor. Capacitor (Cont d)

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

Chapter 30. Inductance

EE 242 EXPERIMENT 8: CHARACTERISTIC OF PARALLEL RLC CIRCUIT BY USING PULSE EXCITATION 1

EE292: Fundamentals of ECE

Transcription:

International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 1 Transient Analysis of Electrical Circuits Using Runge- Kutta Method and its Application Anuj Suhag School of Mechanical and Building Sciences, V.I.T University Abstract- An RLC circuit (or LCR circuit) is an electrical circuit consisting of a resistor, an inductor, and a capacitor, connected in series or in parallel. The RLC part of the name is due to those letters being the usual electrical symbols for resistance, inductance and capacitance respectively. The circuit forms a harmonic oscillator for current and will resonate in a similar way as an LC circuit will. Index Terms- Damping in, Impedance, Kirchhoff Current Law, Kirchhoff Voltage Law, Runge Kutta Method, Second Order Equation T I. INTRODUCTION he time varying currents and voltages resulting from the sudden application of sources, usually due to switching are called TRANSIENTS. In transient analysis we start by writing the circuit equations using basic concepts of KCL, KVL, nodevoltage analysis and mesh-current analysis. Due to the involvement of integrals and derivatives in current-voltage relationships for inductances and capacitances, we obtain integro-differential equations which are converted to pure differential equations by differentiating with respect to time. Thus the study of transients requires solving of differential equations. The order of the differential equation depends on the number of energy storage elements present in the circuit. Some Basic Concepts:- 1. Kirchhoff s Current Law The sum of currents flowing in and out of a node is zero. For a node, I =0. 2. Kirchhoff s Voltage Law The sum of voltages across various circuit elements in a mesh is zero. In a mesh, v =0. 3. Voltage across a capacitor V = ( ʃ i dt) /C i.e integral of current flowing through it over a period of time divided by capacitance 4. Current supplied by capacitor- I = C (dv/dt) i.e product of capacitance and derivative of voltage across capacitor with respect to time. 5. Voltage across an inductor- V = L (di/dt) i.e product of inductance and derivative of current through inductor with respect to time 6. Current stored in an inductor- I=( ʃ v dt) /L i.e integral of voltage across it over a period of time divided by inductance. II. ANALYSIS OF RLC CIRCUIT An RLC circuit (or LCR circuit) is an electrical circuit consisting of a resistor, an inductor, and a capacitor, connected in series or in parallel. The RLC part of the name is due to those letters being the usual electrical symbols for resistance, inductance and capacitance respectively. The circuit forms a harmonic oscillator for current and will resonate in a similar way as an LC circuit will. The main difference that the presence of the resistor makes is that any oscillation induced in the circuit will die away over time if it is not kept going by a source. This effect of the resistor is called damping. The presence of the resistance also reduces the peak resonant frequency somewhat. Some resistance is unavoidable in real circuits, even if a resistor is not specifically included as a component. The RLC filter is described as a second-order circuit, meaning that any voltage or current in the circuit can be described by a second-order differential equation in circuit analysis. I(t)=c. V c (t)/ t Where, C=capacitance V c (t)=voltage across capacitance Then we write KVL equation for the circuit as: L I(t)/ t+ri(t)+vc(t)=vin Substituting for I(t),we get: LC 2 V c (t)/ 2 (t)+rc V c (t)/ (t)+vc(t)=vin For the case of the series RLC circuit these two parameters are given by: Where Figure 1.RLC Circuit diagram = natural frequency.

International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 2 A useful parameter is the damping factor, ζ, which is defined Voltage equation across 2nd Order RLC circuit is given by, as the ratio of these two, In the case of the series RLC circuit, the damping factor is given by, So, The value of the damping factor determines the type of transient that the circuit will exhibit. Some authors do not use ζ and call α the damping factor. Different conditions for damping factors, If, ζ> 1, the system is called over damped. ζ= 1, the system is called critically damped. ζ< 1, the system is called under damped. Now let, I(t)=x 1 Vc(t)=x 2 III. FORMULATION OF RK METHOD Runge Kutta method is an effective method of solving ordinary differential equations of 1storder. If the given ordinary differential equation is of higher order say n then it can be converted to a set of n 1storder differential equations by substitution. The Runge-Kutta method uses the formulas: t k+1 =t k+h Y j+1 =Y j +(k1+2k2+2k3+k4)/6 where K=0,1,2.m-1 Where: k 1 =hf(tj, Y j ) k 2 =hf(t j+h /2,Y j +k 1 /2 ) k 3 =hf(t j+h /2,Y j +k 2 /2 ) k 4 =hf(t j+h,y j +k3) k 1 is the increment based on the slope at the beginning of the interval, using y n ; k 2 is the increment based on the slope at the midpoint of the interval, using y n +k 1 /2 ; k 3 is again the increment based on the slope at the midpoint, but now using y n +k 2 /2 ; k 4 is the increment based on the slope at the end of the interval, using y n +k 3. Let, X(i)=x 1 Y(i)=x 2 Solving the above equation using 4 th order R-K method: f1=h*f(t,x1,x2) g1=h*g(t,x1,x2) f2=h*f((t+h/2),(x1+f1/2),(x2+g1/2)) g2=h*g((t+h/2),(x1+f1/2),(x2+g1/2)) f3=h*f((t+h/2),(x2+f2/2),(x2+g2/2)) g3=h*g((t+h/2),(x1+f2/2),(x2+g2/2)) f4=h*f((t+h),(x1+f3),(x2+g3) g4=h*g((t+h),(x1+f3),(x2+g3)) IV. SOLUTION OF THE RLC CIRCUIT

International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 3 x1=x1+((f1+f4)+2*(f2+f3))/6.0 x2=x2+((g1+g4)+2*(g2+g3))/6.0 Where, h=(t f -T 0 )/n here: h=step size T f =final time T o =initial time Example: Let s take an example to get the transient analysis of circuit for an over damped system. Let: R=300, L= 10mH,C=1uF and Vin=10V Here, I(0)=0,Vc(0)=0 Figure 2. Voltage Vs time graph for over damped conditions B. Critically Damped Conditions let us take R=200Ω then, α=10000 and ζ=1.5 A plot for voltage developed across capacitor and time for a time interval of 1ms SO, W 0 =1000 This gives a result with magnitude 15000 Now, after dividing the two values we get 1.5, therefore the condition is over damped V. GRAPHS FOR DIFFERENT CONDITIONS OF DAMPING A. Over Damped Condition A plot for voltage developed across capacitor and time for a time interval of 1ms. This graph shows that as the time increases, the voltage also increases parabolic ally. The voltage reaches steady state at or after 1 millisecond Figure 3. Voltage Vs time graph for critically damped The voltage here varies parabolic ally with time but it reaches steady state much before 1 millisecond.

International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 4 c=0.000001; C. Under Damped Conditions Let us take R=100Ω Then, α=5000 and, ζ=0.5 A plot for voltage developed across capacitor and time for a time interval of 1ms l= 0.01; r=300; Vin=10 ; f=@(t,x1,x2) x2/c; g= @(t,x1,x2)((vin-x1-r*x2)/l); fprintf('time\t\tvoltage\tcurrent\n'); for t=0:h:t fprintf('%f\t%f\t%f\n',t,x1,x2); X(i)=x1; grid off Y(i)=x2; f1=h*f(t,x1,x2); g1=h*g(t,x1,x2); f2=h*f((t+h/2),(x1+f1/2),(x2+g1/2)); g2=h*g((t+h/2),(x1+f1/2),(x2+g1/2)); f3=h*f((t+h/2),(x2+f2/2),(x2+g2/2)); g3=h*g((t+h/2),(x1+f2/2),(x2+g2/2)); Figure 4. Voltage Vs time for under damped conditions f4=h*f((t+h),(x1+f3),(x2+g3)); g4=h*g((t+h),(x1+f3),(x2+g3)); x1=x1+((f1+f4)+2*(f2+f3))/6.0; VI. MATLAB PROGRAMMING x2=x2+((g1+g4)+2*(g2+g3))/6.0; i=i+1; clear all; clc t=0; T=0.001; h=0.0001; x1=0; x2=0; end time=[0:h:t]; plot(time,x,'-p'); grid on; xlabel('time(s)'); ylabel('voltage(m)'); hold on i=1;

International Journal of Scientific and Research Publications, Volume 3, Issue 11, November 2013 5 VII. RESULT AND DISCUSSION From the experiment conducted above, we obtained the following results for transient analysis:. Figure 5. MATLAB Generated final result This shows that the RK method is very efficient in solving second order differential equations. Thus, we can conclude that by carrying out the transient analysis of a system, we can find out the response of the system by changing the conditions from one steady state value to another. This response helps in designing a system which meets our requirements, and we can further optimize the time domain parameters of the system REFERENCES [1] Comparing Numerical Methods for Ordinary Differential Equationss- T.E.Hull,W.H.Enright and A.E.Sedgwick (08 th September 1971). [2] Numerical Analysis of ordinary differential equations:runge-kutta method and general linear methods,-j.c.butcher,university of Auckland [3] Advanced Engineering Mathematics,Wiley&Sons Publications by Erwin Kreyszig Part A Ordinary Differential Equations.. AUTHORS Anuj Suhag, B.Tech. Mechanical, VIT University, Email: anuj.suhag27@gmail.com.