# Circuit Theory/Second-Order Solution

== Second-Order Solution

This page is going to talk about the solutions to a second-order, RLC circuit. The second-order solution is reasonably complicated, and a complete understanding of it will require an understanding of differential equations. This book will not require you to know about differential equations, so we will describe the solutions without showing how to derive them. The derivations may be put into another chapter, eventually.

The aim of this chapter is to develop the **complete response** of the second-order circuit. There are a number of steps involved in determining the complete response:

- Obtain the differential equations of the circuit
- Determine the resonant frequency and the damping ratio
- Obtain the characteristic equations of the circuit
- Find the roots of the characteristic equation
- Find the natural response
- Find the forced response
- Find the complete response

We will discuss all these steps one at a time.

## Contents

## Finding Differential Equations[edit]

A **Second-order circuit** cannot possibly be solved until we obtain the second-order differential equation that describes the circuit. We will discuss here some of the techniques used for obtaining the second-order differential equation for an RLC Circuit.

- Note
- Parallel RLC circuits are easier to solve using ordinary differential equations in voltage (a consequence of Kirchhoff's Voltage Law), and Series RLC circuits are easier to solve using ordinary differential equations in current (a consequence of Kirchhoff's Current Law).

### The Direct Method[edit]

The most direct method for finding the differential equations of a circuit is to perform a nodal analysis, or a mesh current analysis on the circuit, and then solve the equation for the input function. The final equation should contain only derivatives, no integrals.

### The Variable Method[edit]

If we create two variables, g and h, we can use them to create a second-order differential equation. First, we set g and h to be either inductor currents, capacitor voltages, or both. Next, we create a single first order differential equation that has g = f(g, h). Then, we write another first-order differential equation that has the form:

- or

Next, we substitute in our second equation into our first equation, and we have a second-order equation.

## Zero-Input Response[edit]

The **zero-input** response of a circuit is the state of the circuit when there is no forcing function (no current input, and no voltage input). We can set the differential equation as such:

This gives rise to the characteristic equation of the circuit, which is explained below.

## Characteristic Equation[edit]

The characteristic equation of an RLC circuit is obtained using the "Operator Method" described below, with zero input. The characteristic equation of an RLC circuit (series or parallel) will be:

The roots to the characteristic equation are the "solutions" that we are looking for.

### Finding the Characteristic Equation[edit]

This method of obtaining the characteristic equation requires a little trickery. First, we create an operator s such that:

Also, we can show higher-order operators as such:

Where x is the voltage (in a series circuit) or the current (in a parallel circuit) of the circuit source. We write 2 first order differential equations for the inductor currents and/or the capacitor voltages in our circuit. We convert all the differentiations to s, and all the integrations (if any) into (1/s). We can then use Cramer's rule to solve for a solution.

### Solutions[edit]

The solutions of the characteristic equation are given in terms of the resonant frequency and the damping ratio:

[Characteristic Equation Solution]

If *either* of these two values are used for *s* in the assumed solution and that solution completes the differential equation then it can be considered a valid solution. We will discuss this more, below.

## Damping[edit]

The solutions to a circuit are dependent on the type of **damping** that the circuit exhibits, as determined by the relationship between the damping ratio and the resonant frequency. The different types of damping are Overdamping, Underdamping, and Critical Damping.

### Overdamped[edit]

A circuit is called **Overdamped** when the following condition is true:

In this case, the solutions to the characteristic equation are two distinct, positive numbers, and are given by the equation:

- , where

In a parallel circuit:

In a series circuit:

Overdamped circuits are characterized as having a very large settling time, and possibly a large steady-state error.

### Underdamped[edit]

A Circuit is called **Underdamped** when the damping ratio is less than the resonant frequency.

In this case, the characteristic polynomial's solutions are complex conjugates. This results in oscillations or *ringing* in the circuit. The solution consists of two conjugate roots:

and

where

The solutions are:

for arbitrary constants *A* and *B*. Using Euler's formula, we can simplify the solution as:

for arbitrary constants *C* and *D*. These solutions are characterized by *exponentially decaying sinusoidal response*. The higher the **Quality Factor** (below), the longer it takes for the oscillations to decay.

### Critically Damped[edit]

A circuit is called **Critically Damped** if the damping factor is equal to the resonant frequency:

In this case, the solutions to the characteristic equation is a double root. The two roots are identical (), the solutions are:

for arbitrary constants *A* and *B*. Critically damped circuits typically have low overshoot, no oscillations, and quick settling time.

## Series RLC[edit]

The differential equation to a simple series circuit with a constant voltage source V, and a resistor R, a capacitor C, and an inductor L is:

The characteristic equation then, is as follows:

With the two roots:

and

## Parallel RLC[edit]

The differential equation to a parallel RLC circuit with a resistor *R*, a capacitor *C*, and an inductor *L* is as follows:

Where *v* is the voltage across the circuit. The characteristic equation then, is as follows:

With the two roots:

and

## Circuit Response[edit]

Once we have our differential equations, and our characteristic equations, we are ready to assemble the mathematical form of our circuit response. RLC Circuits have differential equations in the form:

Where *f(t)* is the forcing function of the RLC circuit.

### Natural Response[edit]

The **natural response** of a circuit is the response of a given circuit to zero input (i.e. depending only upon the initial condition values). The natural Response to a circuit will be denoted as *x _{n}(t)*. The natural response of the system must satisfy the unforced differential equation of the circuit:

[Unforced function]

We remember this equation as being the "zero input response", that we discussed above. We now define the natural response to be an exponential function:

Where *s* are the roots of the characteristic equation of the circuit. The reasons for choosing this specific solution for *x _{n}* is based in differential equations theory, and we will just accept it without proof for the time being. We can solve for the constant values, by using a system of two equations:

Where *x* is the voltage (of the elements in a parallel circuit) or the current (through the elements in a series circuit).

### Forced Response[edit]

The **forced response** of a circuit is the way the circuit responds to an input forcing function. The Forced response is denoted as *x _{f}(t)*.

Where the forced response must satisfy the forced differential equation:

[Forced function]

The forced response is based on the input function, so we can't give a general solution to it. However, we can provide a set of solutions for different inputs:

Input Form | Output Form |
---|---|

K (constant) |
A (constant) |

### Complete Response[edit]

The **Complete response** of a circuit is the sum of the forced response, and the natural response of the system:

[Complete Response]

Once we have derived the complete response of the circuit, we can say that we have "solved" the circuit, and are finished working.

the 2nd order circuit (LC) when there is no R in the circuit we consider a=1/2RC ( if the circuit parallel ) = 0 so the circuit will be in underdame case since a=0 and omega has value greater than zero