Main content

## Electrical engineering

### Course: Electrical engineering > Unit 2

Lesson 4: Natural and forced response- Capacitor i-v equations
- A capacitor integrates current
- Capacitor i-v equation in action
- Inductor equations
- Inductor kickback (1 of 2)
- Inductor kickback (2 of 2)
- Inductor i-v equation in action
- RC natural response - intuition
- RC natural response - derivation
- RC natural response - example
- RC natural response
- RC step response - intuition
- RC step response setup (1 of 3)
- RC step response solve (2 of 3)
- RC step response example (3 of 3)
- RC step response
- RL natural response
- Sketching exponentials
- Sketching exponentials - examples
- LC natural response intuition 1
- LC natural response intuition 2
- LC natural response derivation 1
- LC natural response derivation 2
- LC natural response derivation 3
- LC natural response derivation 4
- LC natural response example
- LC natural response
- LC natural response - derivation
- RLC natural response - intuition
- RLC natural response - derivation
- RLC natural response - variations

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# RL natural response

Natural response of an RL circuit. Written by Willy McAllister.

We investigate the

*natural response*of a resistor and inductor circuit. This discussion parallels the analysis of RC circuits.This start text, R, L, end text circuit is fairly common. It appears any time a coiled wire is involved in a circuit, such as when you drive a mechanical relay to cause a physical motion (a relay contains a coil used as an electromagnet). Inductors are found in almost every power supply and in many filters. All wires and circuit board traces have a small self-inductance, which can be important in very fast circuits.

This is a circuit where we have to account for time. To develop a precise understanding requires concepts from calculus. We use derivatives to describe how the start text, R, L, end text circuit behaves.

### What we're building to

For an resistor-inductor circuit, if the inductor has an initial current start text, I, end text, start subscript, 0, end subscript, the current will diminish exponentially according to:

Where start text, I, end text, start subscript, 0, end subscript is the current at time t, equals, 0.
This is called the

*natural response*.The

*time constant*for an start text, R, L, end text circuit is tau, equals, start fraction, start text, L, end text, divided by, start text, R, end text, end fraction.The time constant is a measure of the steepness of the exponential. It has units of seconds.

The

*natural response*of a circuit is what the circuit does when there are no external influences (no energy coming in). It is the most basic behavior of the circuit. When placed within a larger circuit, the natural response plays an essential part of the overall behavior.## Setting up the RL natural response

To get the start text, R, L, end text circuit to do something, we call on an outside helper to add some energy and then step back and leave it alone, while we watch what happens.

On the right side of this schematic we have inductor start text, L, end text, and resistor start text, R, end text. This is the circuit we want to study. On the left side is our "outside helper," consisting of a current source, start text, I, end text, resistor start text, R, end text, 0, and a switch in the closed position.

Assuming the switch has been closed for a long time, the blue loop shows how the current flows in this circuit:

How do we know all the current flows through just the inductor and no current flows in either resistor? The inductor equation tells us so:

The current from the source is constant, unchanging with time.

That means the change in current with time is start fraction, d, i, divided by, d, t, end fraction, equals, 0.

If we put this value into the inductor equation we get v, equals, start text, L, end text, dot, 0, equals, 0. The voltage across the inductor (and therefore both resistors) is 0. Ohm's Law tells us resistors with 0 volts have 0 current.

When current through an inductor is constant, we say: The inductor "looks like" a short circuit because it has 0 volts across its terminals, just like an ideal wire.

## Initial conditions

Now there is a current flowing through our inductor. We throw open the switch at time t, equals, 0 and figure out the

*initial conditions*.The open switch disconnects the helper circuit left parenthesis, start text, I, end text, comma, start text, R, end text, 0, right parenthesis from the start text, R, L, end text section. On the helper side, current start text, I, end text starts flowing through start text, R, end text, 0, (the helper circuit has done its job and we won't pay attention to this part from now on). On the start text, R, L, end text side, the current flowing in start text, L, end text instantly flips over to start flowing through start text, R, end text:

### Summary of initial conditions

The instant before the switch opens, t, equals, 0, start superscript, minus, end superscript, the inductor has a current we'll call start text, I, end text, start subscript, 0, end subscript, with 0 volts across the inductor and resistor.

An instant later, at t, equals, 0, start superscript, plus, end superscript, the switch is open and current start text, I, end text, start subscript, 0, end subscript still flows in start text, L, end text and now flows in start text, R, end text.

The current in the inductor does not, and in fact,

*cannot*change instantaneously. So the current flowing in the inductor right after the switch opens is equal to the current just before the switch opens.For all time in the past, up to t, equals, 0, start superscript, plus, end superscript, the current in the inductor is start text, I, end text, start subscript, 0, end subscript:

## RL natural response - intuitive description

Let's reason through what happens next. We want to figure out i and v as functions of time.

We stated above that start text, I, end text, start subscript, 0, end subscript is flowing in the inductor right after the switch is thrown open.

**What happens to the voltage?**The current in the resistor just jumped from 0 to start text, I, end text, start subscript, 0, end subscript, so the voltage instantly jumps up to v, left parenthesis, 0, start superscript, plus, end superscript, right parenthesis, equals, start text, I, end text, start subscript, 0, end subscript, start text, R, end text.

Now we know both the current and voltage just after the switch opens. Let's think next about where this circuit finally ends up, after a long time passes.

A resistor (unlike an ideal inductor or capacitor), dissipates energy as heat. That heat comes from the energy stored in the inductor's magnetic field (the only energy source in our natural response circuit). If we wait a long time, all the energy that started in the inductor will eventually be transformed into heat by the resistor. When all the energy is gone, i will be 0, and v will be 0. That's the final state of our circuit.

i, left parenthesis, t, right parenthesis and v, left parenthesis, t, right parenthesis now look like this with the final response filled in:

### What happens in between?

Now we fill in what happens in the time interval between t, left parenthesis, 0, start superscript, plus, end superscript, right parenthesis and "a long time from now." For now, I'm going to guess there is some smooth connecting curve that joins the two segments of the curve. I would guess the rate of change could be higher near the beginning, when the current is high and there's a higher rate of power dissipation in the resistor. Using this intuition, I can sketch in predicted curves for current and voltage.

This turns out to be a pretty good guess at the natural response of an start text, R, L, end text circuit. Just using our intuition we figured out the starting and ending state, and made an estimate of what the current and voltage look like during the transition between start and end. We are not exactly sure how fast the curves come down, or how long "a long time" really is.

Next, we develop a precise solution, which requires us to use some calculus.

## Formal derivation of the start text, R, L, end text natural response

We want to derive the start text, R, L, end text

*natural response*, start color #11accd, i, end color #11accd and start color #e07d10, v, end color #e07d10 as a function of time. This derivation follows the same steps as the RC natural response.We assume an initial current of start text, I, end text, start subscript, 0, end subscript flows in start text, L, end text.

### Model the components

The two components are modeled by their characteristic i-v equations.

The resistor is described by Ohm's Law:

The inductor is described by the inductor i-v equation:

### Model the circuit

We can write Kirchhoff's Voltage Law starting at the top left corner of the schematic and going around counterclockwise:

This is the differential equation modeling the circuit.

From here on, we refer to v, start subscript, start text, R, end text, end subscript as just v.

### Solve the circuit

The previous equation is a

*first-order ordinary differential equation*(ODE).We are now going to walk through the solution of an ODE. One way is to make an informed guess at a solution, and try it out. That's what we are going to do here, as we did with the analysis of the RC natural response.

To solve the differential equation we dream up a function for current, i, left parenthesis, t, right parenthesis and plug the function into the differential equation and see if it turns out true.

start text, L, end text, start fraction, d, i, divided by, d, t, end fraction, plus, i, start text, R, end text, equals, 0 (differential equation)

Just as we did with the start text, R, C, end text circuit, we try an exponential function with some adjustable parameters, K and s.

- t is time
- i, left parenthesis, t, right parenthesis is current as a function of time
- K and s are constants we have to figure out
- K is an amplitude term that scales current up or down
- s must have units of 1, slash, t so we get a unit-less exponent.

Substitute our proposed solution into the differential equation to see if it works:

Let's compute the derivative found in the first term:

Plug the derivative back into the differential equation:

Now we can factor out the common K, e, start superscript, s, t, end superscript term.

This equation describes our specific circuit, with the proposed i, left parenthesis, t, right parenthesis.

Now we work out the two constants, K and s, to see if we can make the equation true.

We could set K, equals, 0 to get a solution. But that's pretty boring. You put nothing in, and get nothing out.

We could make e, start superscript, s, t, end superscript, equals, 0 to get another solution. This is boring, too. If we make s a negative number and let t go to plus, infinity, it means we sit around forever and wait for the current to die out to zero. Snooze.

The third way we can make the equation true is to set s, start text, L, end text, plus, start text, R, end text, equals, 0. This becomes interesting. This is true if:

This solves for s, and makes our function for current look like this:

The last step is to figure out K, the amplitude factor. We do this using the initial conditions. The inductor had a known current at the instant the switch was flipped. To find K we plug in everything we know about t, equals, 0, start superscript, plus, end superscript. The current was i, left parenthesis, 0, start superscript, plus, end superscript, right parenthesis, equals, start text, I, end text, start subscript, 0, end subscript.

All done! We found a function and two constants that made the differential equation true. We've solved the current for all time after the switch is opened.

The general solution for the natural response of an start text, R, L, end text circuit is,

We can get voltage v, left parenthesis, t, right parenthesis straight from Ohm's Law:

## The start text, R, L, end text natural response looks like this

These graphs show the shape of the start text, R, L, end text natural response. For t, is less than or equal to, 0 the current is start text, I, end text, start subscript, 0, end subscript. After t, equals, 0 the current falls on an exponential curve until it becomes 0. The rate of change (the slope) is greatest at the beginning, when the current is highest. The ratio start text, R, end text, slash, start text, L, end text determines the steepness of the exponential response.

The voltage across the inductor is flat at 0 for t, is less than or equal to, 0, and makes a sharp jump at t, equals, 0 when the current starts to change. The peak voltage depends on the starting current start text, I, end text, start subscript, 0, end subscript and the resistance, start text, R, end text (and, oddly, does not depend on the value of the inductor start text, L, end text). Voltage follows a similar exponential curve downward until it fades to 0.

Compare these computed graphs to the ones we sketched earlier. The sketches have the right shape.

### Time Constant of a resistor-inductor combination

An exponent has to be a plain number, it can't have dimensions. That means the quotient start text, R, end text, slash, start text, L, end text has to have units of 1, slash, start text, t, i, m, e, end text, so it can cancel out t. That means start text, L, end text, slash, start text, R, end text has units of start text, s, e, c, o, n, d, s, end text.

start text, L, end text, slash, start text, R, end text is called the

*time constant*of a resistor-inductor combination. It has the same properties as the corresponding product start text, R, end text, dot, start text, C, end text in the resistor-capacitor circuit. We use the Greek letter tau (tau) as the symbol for time constant. For a resistor-inductor pair:The time constant for an inductor and resistor gets longer with a larger inductor, and shorter with a larger resistor (in contrast to the start text, R, C, end text time constant, which gets longer with both bigger start text, C, end text and start text, R, end text.)

Using tau, we can write the natural response equation like this:

When t is equal to the time constant, the exponent of e becomes minus, 1, and the exponential term is equal to 1, slash, e, or about 0, point, 37. The time constant determines how fast the exponential curve comes down to zero. After 1 time constant has passed, the current is down to 37, percent of its initial value.

## start text, R, L, end text natural response example

Let's do an example together. For this circuit:

The switch is thrown open at t, equals, 0.

**Write expressions for i, left parenthesis, t, right parenthesis and v, left parenthesis, t, right parenthesis after t, equals, 0.**

i, left parenthesis, t, right parenthesis, equals, \_, \_, \_, \_, comma v, left parenthesis, t, right parenthesis, equals, \_, \_, \_, \_

The natural response for the example circuit looks like this:

## Summary

The natural response of an start text, R, L, end text circuit is an exponential:

Where start text, I, end text, start subscript, 0, end subscript is the current at time t, equals, 0.

The time constant for an start text, R, L, end text circuit is tau, equals, start fraction, start text, L, end text, divided by, start text, R, end text, end fraction.

## Appendix - Solving a separable differential equation

As a reminder, the differential equation of the start text, L, C, end text circuit is:

Here are the steps to solve this

*separable*differential equation. If you have covered this technique in your calculus studies, you can solve both the start text, R, L, end text and start text, R, C, end text first-order differential equations without guessing a solution.This is the same result we came up with in the main article by guessing a solution.

Sal has a sequence of videos showing how to solve this type of separable differential equation.

## Want to join the conversation?

- Is there any video/article related to RL step response?(11 votes)
- Why did we chose constant current source in RL natural response, but constant voltage source in RC natural response ? Can we do other way round ? What is reason for picking these sources in such manner ?(2 votes)
- For RL and RC natural response we want to start the circuit off with some initial energy. A resistor doesn't store energy, so that means we place the energy in either L or C. An inductor's energy is stored in its magnetic field, which comes back out of the inductor as a current (the magnetic field pushes charge through the wire). For a capacitor, its energy is stored in the form of charge. That stored charge causes a voltage to appear on the capacitor, as in q = C v, or v = q/C.

So in setting up to analyze natural response we pick the type of source that directly injects the energy into L or C.(2 votes)

- The ideal current source produces an infinite voltage as it tries to drive current across the open circuit. (For a similar reason, you should avoid shorting an ideal voltage source, to avoid infinite current.)

Since The ideal current source produces an infinite voltage, so even the practical current source could provide a considerable level of voltage, then the R0 selection must could endure such high voltage?(2 votes)- Hello Wayne,

By Ohm's law the resistor will only need to withstand I * R volts. That is 8 volts in this case.

Here is something fun for you. Let's take a 1 million volt power supply and place a 125 million Ohm resistor in series with it. This is a thought experiment – not something you would want to build. Anyway, my question to you is this. Could you tell the difference between this circuit and the 8 mA constant current source mentioned on this page?

Regards,

APD(1 vote)

- Excuse my ignorance, but why is the KVL VL+VR=0 instead of VL-VR=0?(1 vote)
- It is somewhat tricky to set up the KVL equation for this RL circuit (and the RC circuit as well). You have to be careful with the sign convention for passive components.

Look at the circuit in section "Model the Components". The starting point is to add the current arrow pointing up out of the inductor. That means it is flowing down through the resistor.

The second step is to add voltage labels to L and R, while respecting the sign convention for passive components. For the L, the current flowing up means the positive polarity of the voltage is at the bottom of the inductor. For the R the current is flowing down from the top, so the positive polarity of the resistor's voltage is at the top of the resistor. Admittedly, the voltage on the resistor looks "right" while the upside down voltage on the inductor seems a bit odd. That's not because it is wrong, but because it is unfamiliar.

The last step is to write KVL around the loop. I chose to start on the top node and circle down through the L and then up through the L. That results in two positive voltages being added together.(2 votes)

- Under the heading

Write expressions for i(t)i(t)i, left parenthesis, t, right parenthesis and v(t)v(t)v, left parenthesis, t, right parenthesis after t=0t=0t, equals, 0.

I found that we used s in equations for i(t) and v(t)

s = R/L

But when the values were used, we don't get the answer we should from 200 ohms / 16 micro-Henrys. Instead, I think the time constant (T or Tao) was used to get 80 nano-seconds.

Should we use s times t in the exponential or the time constant?

We got s from the integration, so where does the time constant come in?(1 vote)- Natural frequency s = -R/L is closely related to the time constant tau = L/R.

We found a solution to the differential equation by solving for s in the equation sL + R = 0. This gave us s = -R/L and we were able to assemble a solution for i(t).

What are the units of s? If the exponent is -st, the units of s have to be 1/time. (exponents can't have units, so all the quantities in an exponent must cancel out.)

When you talk about the time constant you ask a slightly different question. Given the solution for i:

i = I_0 e^{-Rt/L}

what value of time makes the exponential term equal -1? Another way to ask the same thing is to ask, what value of time makes the exponential term equal to 1/e?

The answer is at t = L/R the exponent is -1. That special time is called the*time constant*and we use the Greek letter tau. What are the units of tau? Since tau is a particular value we chose for t, the units of tau are seconds.(2 votes)

- Dear Prof. McAllister,

Why did you chose to analyze a RL circuit in parallel and a RC circuit in series? Could you please provide an intuition regarding the differences between the parallel and series versions of these circuits?(1 vote)- The natural response circuit for both RC and RL are similar, an R sitting next to an L or a C. You can think of it as either series or parallel, it doesn't matter. The most important difference between the two derivations is the selection of the independent variable, v or i. My choice was to pick voltage as the independent variable for the RC circuit (figure out the voltage and solve for current afterwards), and the opposite choice for the RL circuit (figure out the current as the independent variable and solve for voltage later). My preference comes from the i-v equations for C and L. For capacitors, the differential form of the i-v equation is i = C dv/dt. I like this form better than the integral form because there is no extra "plus a constant" complexity. That tips me to selecting v as the independent variable. The opposite argument holds for the RL circuit.(1 vote)

- can you please explain general solution for step and natural responses(1 vote)
- If current and voltage source both are given how we can find il in RL network(1 vote)
- 1)could you explain this more "and, oddly, does not depend on the value of the inductor L" why does not the voltage depend on L ?

and Why is THERE not a forced response analysis like an RC circuit?(1 vote)- The peak voltage value does not depend on the inductance of the inductor. This might seem non-intuitive. but it happens because 1. the math tells us so, and 2. The starting voltage depends only on the starting current I0 and the resistor value R. The inductor value has a substantial impact on the steepness of the response, but not its starting value.

I did not write up the forced step response of LR for two reasons. First, it is rare for this circuit to come up in a forced/stepped situation, and second, the analysis is an exact dual of the RC step response. The math follows the exact same steps at RC Step.(1 vote)

- In the example, I've got v(t)=1.6 e^ -t/80n and I don't get how you have got 3.2 instead of 1.6. Also why in the diagram the current at t=0 is .016 mA instead of .008 mA?(1 vote)
- Asal - You are absolutely right! I made an error in the example equations after changing the value of the current source. I didn't follow all the way through with the changes. The equations and plots are correct now. Thanks for pointing out the error.(1 vote)