# Signals and Systems/Time Domain Analysis/System Response

## Example 1

[edit | edit source]Consider the driven RLC circuit below. Determine the current in the circuit, *y(t)*, given an input of . The initial current is 0A and the initial voltage across the capacitor is 2V.

### Setting Up the Differential Equation

[edit | edit source]Recall that the voltages across inductors, resistors and capacitors are related to the current as follows:

By Kirchhoff's Voltage Law, we obtain the loop equation, replacing *i* with *y(t)*:

Differentiating with respect to *t* gives us:

Substituting in the values gives us our differential equation describing the system:

We want to put this into the following form:

[System Equation]

Now we have our equation, we can begin to find the responses.

### Zero-input Response

[edit | edit source]Zero-input response (ZIR) is the behaviour of the circuit when the input is null. Thus the differential equation to solve is:

[Zero-Input Differential Equation]

What we expect to see here is the capacitor discharging its initial charge through the resistor and inductor, subject to the initial conditions. The ratio of the component values will set the damping. Let's look at this first to get an idea of the behaviour of the circuit.

The equation can also be written as:

- ,

where *ζ* is the damping ratio, and *ω _{0}* is the resonant frequency, found in the DE as the constant term in the polynomial:

We therefore can solve for *ζ*:

This system is therefore over-damped, so we expect to see the current rising and decaying to zero without oscillation.

#### Initial Conditions

[edit | edit source]The initial conditions also need to be factored in before we can compute the ZIR. We know from the problem that the initial current is zero. However, the current's derivative is not explicitly given. However, the voltage across the capacitor is, so we can go back the loop voltage equation:

We know that the input is zero, and that there is 2V across the capacitor. Also, as the current is zero, the resistor also has zero current across it. Thus:

The voltage across the inductor is linked to the derivative of the current:

We now have enough initial conditions:

[Zero-Input Initial Conditions]

#### Solving the DE

[edit | edit source]The characteristic equation is:

We have our characteristic roots:

The general solution is:

Applying initial conditions:

Solving these simultaneous equations gives us:

The zero-input response is now:

[Zero-Input Response]

### Unit-impulse Response

[edit | edit source]To find the unit input response, *h(t)*, we consider the same differential equation as for the zero-input case above, but we consider the circuit with all values (current and voltage) at zero. To do this, we specify the following initial conditions, to find a sum of the characteristic modes of the system, *y _{n}(t)*.

[Unit-Impulse Initial Conditions]

The general solution is the same as before:

The general solution is:

However, solving for the coefficients yields a different specific solution:

Now, recall that the original DE describing the circuit had a differential operator, *P(D)* on the right-hand side, acting on the input. Because we are now applying an input, we must take this into account. This is done by applying it to *y _{n}(t)*. In this case, it is a single derivative. The result of this is the unit-impulse response.

[Unit-Impulse Response]

Note that this is non-zero at *t*=0, which appears to contradict our conditions. However, as the unit impulse lasts for an infinitesimal period, the circuit must suddenly "jump" to a different total energy instantly, or else it couldn't ever be excited by an impulse. In real life, a finite-duration signal will cause the circuit to ramp up rather than jump.

### Zero-state Response

[edit | edit source]The zero-state response, *y _{s}(t)* is the response of the initially relaxed circuit to the input

*x(t)*. This is found by the convolution of the unit-impulse response and the input:

By the definition of convolution:

Multiplying through:

Because the integral is with respect to *τ*, we can bring out the *t* term:

Finally, multiplying out and combining exponentials gives us the zero-state response:

[Zero-State Response]

Note that the current is now zero at *t*=0 again. For any realistic signal, this will happen, due to the inductor disallowing steps in current.

### Total Response

[edit | edit source]The total response is given by the sum of the zero-input and zero-state components:

[Total Response]

We can plot the zero-input, zero-state, unit-impulse and total responses together: