- Learn
- Engineering
- Electrical Engineering
- Electric Circuits 1
- RC and RL Circuits
First-Order RC and RL Circuits
BeginnerLesson 7 of 8 in Electric Circuits 1 Course
What you will learn
- Recognize RC and RL circuits, reduce the rest of the circuit to a Thevenin or Norton equivalent, write the first-order differential equation and find the values every response starts from and settles to.
- Recognize first-order circuits and reduce them to one resistance and one storage elementIdentify RC and RL circuits, replace everything the capacitor or inductor sees by a Thevenin or Norton equivalent and write the first-order differential equation of the circuit.
- Find initial and final values at a switching instantUse the continuity of capacitor voltage and inductor current and the dc behavior of capacitors and inductors to find each variable just before, just after and long after a switch acts.
- Recognize first-order circuits and reduce them to one resistance and one storage element
- Find how a charged capacitor or an energized inductor releases its energy into a resistive circuit, and use the time constant to read, predict and measure these exponential responses.
- Find the natural response of an RC circuitDerive and use the exponential discharge of a capacitor through a resistance, including the currents, power and energy involved.
- Find the natural response of an RL circuitDerive and use the exponential decay of an inductor current through a resistance, including the voltages it creates and why opening an inductive circuit is dangerous.
- Use the time constant to read and predict transientsInterpret the time constant, estimate how far a response has progressed after a given time, find when a response reaches a value and measure a time constant from data.
- Find the natural response of an RC circuit
- Find how RC and RL circuits respond when a dc source is switched on, solve exponential responses of switched first-order circuits with one general formula, and handle circuits with dependent sources, including responses that grow.
- Find the step response of RC and RL circuitsDerive and use the response of a capacitor or inductor to a suddenly applied dc source, with zero or nonzero initial energy.
- Apply the general solution method to switched first-order circuitsFind any voltage or current after a switching from its initial value, its final value and the time constant, and check the result.
- Handle dependent sources and unbounded responsesFind the time constant of circuits with dependent sources using a test source, and recognize when the equivalent resistance is negative and the response grows instead of decaying.
- Find the step response of RC and RL circuits
- Follow first-order responses through several switching events and pulses, and find the times at which a response reaches a chosen value.
- Follow a response through several switching intervalsSolve each interval between switching events with the general method, carrying the capacitor voltage or inductor current across each switching instant.
- Time events and find pulse responsesFind when a response reaches a threshold, design simple timing circuits and find the response of RC and RL circuits to rectangular pulses.
- Follow a response through several switching intervals
- Derive the output of an op-amp integrator, find it for constant and piecewise-constant inputs including saturation, and explain how practical integrators limit drift.
- Derive and use the ideal integrator equationUse the ideal op-amp rules and the capacitor law to find the integrator output, its initial value and when it saturates.
- Work with piecewise inputs and practical integratorsFind the integrator output for inputs that change in steps, and explain drift, resetting and the resistor that introduces a finite time constant and exponential settling.
- Derive and use the ideal integrator equation
RC and RL Circuits study guide
1Set up a first-order circuit for transient analysis
A switch changes the circuit connections immediately, but stored energy carries information from the old circuit into the new one. Start by identifying the capacitor voltage or inductor current that describes that energy. Then reduce the surrounding network and find the circuit at three times: just before switching, just after switching, and after the transient has settled. These three views supply the starting point for every response calculation.
1.1 Recognize first-order circuits and reduce them to one resistance and one storage element
A first-order circuit needs one independent stored-energy variable to describe its changing behavior. For an RC circuit, choose capacitor voltage. For an RL circuit, choose inductor current. The transient is the change after an event such as a switch moving; the initial stored energy and the new connections determine it.
Reduce the network at the storage terminals
Remove the capacitor or inductor and look into its two terminals. Replace the remaining linear circuit by a Thevenin equivalent, a voltage source in series with a resistance, or a Norton equivalent, a current source in parallel with the same resistance. This preserves the terminal behavior that drives the storage element.
Find the open-circuit voltage with the independent sources active. For resistance, turn independent voltage sources into shorts and independent current sources into opens. Dependent sources stay active; use a test source when they are present. Always use the connections after the switch moves when finding the response’s time constant.
For example, a 0.5 H inductor sees 150 Ω in parallel with 300 Ω. Their equivalent is
In a second circuit, a 12 V source feeds a node through 4 kΩ. A 6 kΩ resistor and a 10 µF capacitor connect from that node to ground. Remove the capacitor: voltage division gives
Short the independent source. Both resistors now connect between the capacitor’s terminals, so
The capacitor sees a 7.2 V source through 2.4 kΩ. The 6 kΩ resistor affects both the target voltage and the resistance; using only 4 kΩ would miss its effect.
Write one differential equation
Let capacitor voltage be positive at the source-fed node, and let capacitor current enter that terminal. KCL gives
or
Here the time constant is 24 ms, so the example obeys
For an inductor across a Norton source, take the source current into the node and inductor current out of it. Since the node voltage is , KCL becomes
Both equations have the form . Their time constants are and . For positive resistance, the constant solution is the value the response approaches.
Check how many storage variables remain
Parallel capacitors add. Series capacitors combine reciprocally: 4 µF in series with 12 µF gives 3 µF. Series inductors add, and uncoupled parallel inductors combine reciprocally. Several elements that reduce to one equivalent can still give first-order behavior. Independent capacitor and inductor states generally require a higher-order equation.
The stored energies are and . Solving for these state variables first lets you recover other currents and voltages through KCL, KVL, and Ohm’s law.
Key Takeaways
- Reduce the surrounding circuit at the storage element’s terminals.
- Turn off independent sources to find resistance; keep dependent sources active.
- For an RC circuit, ; for an RL circuit, .
- Use the circuit after switching for the response equation.
- Combine storage elements only when their connections allow one equivalent element.
1.2 Find initial and final values at a switching instant
The old circuit determines the stored energy at a switch. The new circuit determines what happens to that energy. Keep these roles separate by drawing the circuit just before the switch, just after it, and in its final dc state.
Carry the stored-energy variable across the switch
The notation means just before switching and means just after. With finite currents and voltages,
A voltage jump across a capacitor would require infinite current through . A current jump in an inductor would require infinite voltage through . The other variables can jump: capacitor current and inductor voltage must be calculated from the new circuit.
Use the right replacement at each time
| Time or condition | Capacitor | Inductor |
|---|---|---|
| Dc steady state | Open circuit | Short circuit |
| Just after switching | Voltage source equal to its carried voltage | Current source equal to its carried current |
For a stable circuit that has had constant sources for a long time, derivatives are zero. That explains the dc replacements. Five time constants is a useful practical settling estimate, with a small residual still present.
At , an uncharged capacitor has zero voltage and therefore acts as a short. An inductor with zero current acts as an open. A charged capacitor is not a short at that instant: its carried voltage must remain in the circuit model.
Work an RC switching event
A 10 V source feeds a node through 2 kΩ. A 1 µF capacitor and an 8 kΩ resistor connect from the node to ground. The source has been connected for a long time. Define capacitor voltage from node to ground and capacitor current into its positive terminal.
- Before switching, the capacitor is open. Voltage division gives , and capacitor current is zero.
- The switch removes the source branch and leaves the 8 kΩ resistor across the capacitor. Continuity gives .
- The resistor current from node to ground is . KCL gives .
- After the energy has dissipated, capacitor voltage approaches zero.
Voltage stayed continuous while current jumped from zero to −1 mA. The negative passive-sign current means that the capacitor supplies energy.
Work an RL switching event
A 12 V source through 3 Ω has supplied a 30 mH inductor in parallel with 6 Ω for a long time. In steady state the inductor shorts the parallel resistor, so its current is . Define this current downward through the inductor.
Disconnect the source branch while leaving the 6 Ω resistor across the inductor. The inductor still carries 4 A downward at , so the resistor carries 4 A upward. Its voltage magnitude is 24 V. With voltage measured at the inductor’s top relative to its bottom, . A transient voltage can exceed the old source voltage.
For a stable source-free resistive discharge, the final state is zero. For an active circuit, check stability before treating a dc equilibrium as a final value. If another switch acts early, carry the calculated state at that instant into the next interval.
Key Takeaways
- Capacitor voltage and inductor current are continuous when currents and voltages remain finite.
- Use open capacitors and shorted inductors in dc steady state.
- At , retain the carried voltage or current when replacing a storage element.
- Find variables that can jump from the new circuit, not by copying their old values.
- A later switching event starts from the actual state reached.
2Describe the natural response of RC and RL circuits
When a source is disconnected, a charged capacitor or an energized inductor can keep current flowing. Its stored energy is released into the resistance, so the response gradually dies away. The capacitor voltage and inductor current follow the same exponential shape, but resistance changes their speeds in opposite ways. Deriving both responses makes their signs, energy changes, and time constants easier to understand and check.
2.1 Find the natural response of an RC circuit
A charged capacitor can drive a circuit after its independent source is removed. For a discharge through positive resistance, its voltage falls exponentially toward zero. This natural response, also called the source-free response, comes from the energy already in the capacitor.
Derive the voltage
Connect a capacitor initially at across resistance . Measure voltage from the positive node to ground and resistor current toward ground. Capacitor current enters its positive terminal. KCL gives
Separate the variables and integrate:
The solution with the initial sign preserved is
The zero-initial-voltage case stays at zero. The exponent is dimensionless: time and time constant must use matching units. Since Ω·F equals seconds, the product of resistance and capacitance has the right units.
Ohm’s law and the capacitor law then give
For a positive starting voltage, resistor current leaves the positive node and capacitor current is negative in the passive sign convention. Both have the same time constant as the voltage.
Follow a complete discharge
A 20 µF capacitor charged to 50 V discharges through 5 kΩ. Multiplying gives . Thus, with time in seconds,
At 0.1 s the voltage is about 18.4 V; at 0.2 s it is about 6.77 V. The resistor current starts at 10 mA when this discharge path is connected. Its earlier current depends on the earlier connections.
Account for power and energy
Resistor power is always absorbed:
Squaring voltage doubles the exponent, so power and stored energy decay with time constant . In the example, initial power is . Integrating that power gives
This equals the initial capacitor energy, . A positive resistor cannot sustain the voltage because it steadily removes stored energy.
Recover a branch current
A 2 µF capacitor at 30 V discharges through 3 kΩ in series with the parallel combination of 4 kΩ and 12 kΩ. The parallel part is 3 kΩ, making the total 6 kΩ and the time constant 12 ms. The total discharge current is .
Current division sends the fraction through the 12 kΩ branch. Its current is therefore . The resistance ratio changes the amplitude, not the decay rate. Use the complete resistance seen after switching for the time constant, then use the original resistor network to recover its branch quantities.
Key Takeaways
- A source-free RC discharge follows .
- Passive-sign capacitor current is negative during a positive-voltage discharge.
- Resistor power and stored energy have the factor .
- The resistance network receives the initial energy .
- Branch currents share the voltage’s time constant.
2.2 Find the natural response of an RL circuit
An energized inductor keeps its current flowing when a source is disconnected, provided a path remains. Its changing magnetic field supplies the voltage needed to push that current through resistance. With positive resistance, the current decays without reversing direction.
Derive the current and voltage
Choose a positive loop current through the inductor and resistor. Use passive voltage references on each element. KVL gives
Separate and integrate as in the capacitor discharge:
The unit H/Ω is seconds. A larger inductance slows the decay. A larger resistance speeds it up because it requires a larger opposing inductor voltage for the same current.
The element voltages are
The inductor voltage is negative in the passive sign convention while the positive current continues. Its power is negative, so it supplies energy. Inductor voltage may jump when the switch moves even though inductor current remains continuous.
Calculate a source-free response
An inductor of 30 mH carries 4 A when it is left in a loop with 6 Ω. Then
With time in seconds,
At 10 ms, the current is . The initial stored energy is
The resistor eventually absorbs that energy. Its power is , so power decays faster than current.
Use current division after finding the equivalent
A 40 mH inductor carrying 2 A discharges into 10 Ω in parallel with 40 Ω. The equivalent resistance is 8 Ω, so the time constant is 5 ms. The total return current through the resistors is with time in seconds.
The 40 Ω branch carries the fraction of that current:
Take the branch-current direction opposite to the inductor current between their common nodes. That closes the source-free current path and keeps the signs consistent with KCL.
Understand a large switching voltage
The initial voltage magnitude is . Increasing resistance reduces the decay time but increases that initial voltage. Simply opening the current path can create a very large voltage, causing an arc at switch contacts or component breakdown.
Keep a discharge path for an energized coil; a correctly connected flyback diode across a switched relay or solenoid coil provides one. The diode conducts when the switch removes the supply and lets the current decay. This is the practical reason that an inductor’s continuity rule matters during switching.
Compare resistance changes carefully: increasing resistance makes an RC discharge slower because , but makes an RL discharge faster because .
Key Takeaways
- The RL natural current is .
- An inductor supplies energy with negative passive-sign voltage during positive-current decay.
- Larger resistance speeds an RL decay and raises its initial voltage magnitude.
- Use equivalent resistance for the decay rate and current division for branch amplitudes.
- An energized coil needs a current path when its source is switched off.
2.3 Use the time constant to read and predict transients
The time constant tells you how fast the gap to a final value shrinks. It does not set that final value. For a stable first-order response, each interval of length leaves the same fraction of whatever gap remained at its start.
Read the exponential scale
After one time constant, the remaining gap is of the starting gap. That means 36.8% remains and 63.2% of the change is complete. The rule applies to a rise, a fall, or a response crossing zero, provided you measure the gap to its final value.
| Elapsed time | Gap remaining | Change complete |
|---|---|---|
| One time constant | 36.8% | 63.2% |
| Two | 13.5% | 86.5% |
| Three | 5.0% | 95.0% |
| Four | 1.8% | 98.2% |
| Five | 0.7% | 99.3% |
A pure exponential approaches its target without reaching it exactly at a finite time. Calling it settled after about five time constants means the remaining gap is small enough for an approximate engineering calculation.
The initial slope also reveals the time constant:
Draw the tangent at the initial point and extend it to the final-value line. It reaches that line after one time constant. The actual response bends toward the line and is still short of it at that time.
Solve for a crossing time
Start from . Divide by the starting gap, take the natural logarithm, and solve:
For a reachable interior threshold, both gaps have the same sign and the ratio is greater than one. This gives a positive time. In a natural decay the final value is zero, reducing the formula to .
A 50 V capacitor with time constant 0.1 s reaches 10 V after . Halving any natural response takes , not half a time constant.
Measure a time constant from data
Suppose a voltage decaying toward zero falls from 12 V to 3 V in 5.0 ms. The ratio is four, so
If the discharge resistance is 1 kΩ, the capacitance is . If the response approaches a nonzero final voltage, use the two gaps to that voltage in the ratio; raw voltages would give the wrong result.
Engineering prefixes make quick estimates possible: , while . All changing voltages and currents in one first-order interval share its time constant. A new switch can change that constant by changing the resistance seen by the storage element.
Key Takeaways
- One time constant removes 63.2% of the initial gap to the final value.
- After about , 0.7% of the initial gap remains.
- The initial tangent meets the final-value line after .
- Use gaps to the final value when solving for time or measuring .
3Find step responses with the general solution method
Switching on a constant source gives the circuit a new target value. The starting energy determines how far the response must travel, and the time constant determines its speed. One exponential formula combines these pieces for RC and RL networks, including variables that jump at a switch. Active circuits need one further check: their equivalent resistance can be negative, causing a disturbance to grow instead of settle.
3.1 Find the step response of RC and RL circuits
A step switches a constant source on at a definite time. The circuit starts with its existing stored energy and moves toward a new dc value. The unit step function equals zero before zero and one after zero; describes a source switched on at zero. Its exact value at the switching instant is left undefined, and one-sided limits describe the circuit there.
Derive the RC step response
A Thevenin voltage source drives a capacitor through resistance . Take capacitor voltage positive at the driven node and capacitor current into that terminal. Its equation is
Subtract the constant solution . The difference obeys the same decay equation as a source-free capacitor, giving
The current is
With an uncharged capacitor, the voltage starts at zero and the current starts at . As the voltage rises, the voltage across the resistor falls, reducing current.
For the 7.2 V Thevenin source, 2.4 kΩ resistance, and 10 µF capacitor, . Starting uncharged gives
Voltage is about 4.55 V after 24 ms and 6.23 V after 48 ms. The current can start immediately because capacitor current is not the continuous state variable.
Derive the RL step response
For a source and resistor in series with an inductor, define current from the source through the resistor and inductor. KVL gives . The constant solution is , so
The passive-sign inductor voltage is
For 20 V, 5 Ω, 50 mH, and initial current 1 A, the target is 4 A and the time constant is 10 ms. With time in seconds,
At 10 ms the current is about 2.90 A. At the start, KVL checks as . A Norton source in parallel with the resistor and inductor instead sets the final inductor current equal to its source current.
Read the direction and energy change
A stable response with constant sources moves monotonically toward its target; it does not overshoot or oscillate. Opposite-signed initial and final values give one zero crossing. A nonzero initial value belongs in the formula even if the source is described as a step.
Charging an uncharged capacitor from a single dc source through resistance supplies energy . Half becomes stored energy and half becomes resistor heat. Changing the resistance changes charging speed, but the total dissipated energy remains for this charging arrangement.
Key Takeaways
- A step response includes the energy stored before the source is applied.
- RC voltage approaches the Thevenin voltage; series-RL current approaches .
- Subtract the final value to obtain a decaying difference.
- Stable first-order exponential responses have no overshoot or oscillation.
- Charging from a single constant source through resistance dissipates half the supplied energy.
3.2 Apply the general solution method to switched first-order circuits
You can find a switched exponential response without solving its differential equation again. Choose the variable and determine three quantities: its value just after switching, its final value, and the time constant of the new circuit.
Assemble the response
For constant sources and a finite positive time constant, switching at gives
The coefficient is the signed starting gap, so a response below its target has a negative exponential coefficient. The exponent uses time elapsed since the switch, not necessarily time since zero.
- Find the capacitor voltage or inductor current just before switching.
- Carry that state into the new circuit by continuity.
- If the requested variable can jump, calculate its new starting value with the carried state in place.
- Find the new final dc value and the resistance seen by the storage element.
- Form or , then insert the three values.
A natural response has zero final value. A step response from rest has zero initial state. An ideal op-amp integrator with constant nonzero input produces a ramp and is solved by integration; it does not have the finite settling time constant used here.
Solve a response that changes sign
A 0.5 µF capacitor begins at −10 V, measured from its top terminal to ground. At zero it connects to a 30 V source through 10 kΩ, with 15 kΩ across the capacitor. The post-switch equivalent is
Therefore and
At 3 ms, the voltage is about 7.70 V. For its zero crossing, set the expression to zero: , so .
Recover current two ways
With capacitor current into its top terminal, differentiation gives
At , the source resistor carries into the node. The 15 kΩ resistor carries from node to ground. KCL gives , agreeing with the derivative.
You can also apply the general formula directly to that resistor current. Its initial value is about −0.667 mA and its final value is . Thus
Check the assembled expression
Substitute the switching time to recover the initial value. Let the exponential tend to zero to recover the final value. Check units and one KCL or KVL equation. Every changing variable in the interval must use the same time constant; a different exponential rate in one branch points to a circuit reduction or algebra error.
Key Takeaways
- Use for a stable exponential interval.
- A variable that can jump needs its own value at .
- The new circuit sets both final value and time constant.
- Check endpoints, units, and KCL or KVL.
- Use elapsed time from the switching instant.
- The ideal integrator’s ramp is found by integration.
3.3 Handle dependent sources and unbounded responses
A dependent source changes its output in response to a circuit voltage or current. It remains part of the network when you find equivalent resistance. An active source can even make that resistance negative, changing exponential decay into growth.
Use a test source
Remove the storage element, deactivate independent sources, and keep dependent sources active. Apply a test voltage at the exposed terminals. Define test current entering the network at the positive test terminal. Solve the resistive network, then calculate
A test current works too. With independent sources active, the open-circuit voltage divided by short-circuit current is another route when that ratio is well defined. A network containing only resistors and dependent sources commonly gives zero for both of those quantities; dividing zero by zero cannot determine its resistance.
Calculate a positive equivalent resistance
A 5 µF capacitor connects across 10 kΩ and a controlled current source. Define capacitor voltage at the top node. The controlled source sends current upward into that node. With a test voltage at the same terminals,
The resistor takes current away from the node while the controlled source injects current into it. For ,
so and . The controlled source partially supports the voltage but does not overcome resistor loss; a displaced voltage still decays toward equilibrium.
Change the source strength
For , the test current becomes . The equivalent resistance is −20 kΩ and the time constant is −0.1 s. The source-free voltage now follows
with time in seconds. Starting at 1 V gives about 20.1 V after 0.3 s. The active source injects more current than the resistor removes, so the magnitude of a nonzero disturbance increases.
Interpret equilibrium correctly
The expression
still solves the equation for negative time constant. Here denotes an unstable equilibrium, not an attracting final value. Starting exactly there gives a constant solution in the ideal model. Starting above or below it produces an exponentially growing departure, with its sign set by the starting gap.
An unbounded response has magnitude that grows without limit in its mathematical model. Negative resistance produces this exponential behavior; an ideal integrator can also be unbounded through a ramp. Real active circuits eventually encounter saturation or another physical limit.
Passive resistors alone cannot produce negative equivalent resistance. If a negative result appears in a passive network, revisit the current reference and algebra. If an active source is present, check its direction and control law before deciding that a negative result is an error.
Key Takeaways
- Dependent sources remain active in a test-source resistance calculation.
- Define test current into the network so has a clear sign.
- Negative equivalent resistance gives a negative time constant and growth away from equilibrium.
- An unstable equilibrium remains constant only when the ideal response starts exactly there.
4Analyze circuits that switch more than once
A second switch often acts while the first transient is still changing. The value reached at that instant becomes the next interval’s starting value, while the new connections determine a new target and time constant. Following that handoff lets you analyze several switching events, predict the response to a short pulse, or choose component values for a delay. Each interval has its own elapsed-time clock.
4.1 Follow a response through several switching intervals
Sequential switching means that the circuit connections change more than once. Each interval has its own response equation. The capacitor voltage or inductor current reached at one boundary carries into the next interval, even when the target and time constant change.
Hand the state to the next interval
Solve the first interval, then evaluate its state at the next switching time . Continuity makes that result the next starting state. The new interval has the form
Use the new connections to calculate and . A switch resets the elapsed-time clock but does not reset stored energy. Five time constants is a practical settling estimate; a shorter interval usually needs its actual endpoint calculated.
Switch an RC circuit from charging to discharge
An uncharged 10 µF capacitor connects to 10 V through 10 kΩ at zero. Its time constant is 0.1 s, so
At 50 ms the source branch is disconnected and 40 kΩ remains across the capacitor. First evaluate the old response:
The new final value is zero and the new time constant is . The second response is
At 0.25 s, only 0.20 s has elapsed in the discharge interval. Using the unrounded boundary voltage gives about 2.39 V. Keep that unrounded value in calculations even if the displayed coefficient is rounded.
If the second exponent used total time, it would give about 3.47 V at the switching boundary and 2.11 V at 0.25 s. The mismatch at the boundary reveals the missing time shift.
Switch an RL circuit while its source stays connected
A 12 V source through 4 Ω drives a 0.2 H inductor initially carrying no current. The target current is 3 A and the time constant is 50 ms. At 100 ms, current is
A switch now adds 8 Ω in series. The total resistance becomes 12 Ω, giving target current 1 A and time constant about 16.7 ms. Thus
At 120 ms, using unrounded intermediate values gives about 1.48 A. The current begins above its new target and falls, even though the source remains connected.
Present all intervals
Give a formula and time range for every interval, including the initial state if it is requested. Check matching capacitor voltages or inductor currents at each boundary. Resistor currents and inductor voltages can jump there, so calculate their values from each interval’s own circuit. The RL example changes from a rising current to a falling current without a discontinuity in current.
Key Takeaways
- Solve and label each switching interval separately.
- Carry the actual boundary state, including incomplete charging or energizing.
- Recalculate the final value and time constant after each connection change.
- Use as elapsed time in the second interval.
- Check continuity of the state at every boundary.
4.2 Time events and find pulse responses
A circuit can use a transient as a clock: an event occurs when a changing voltage or current reaches a threshold. A pulse creates another timing problem, because the source changes again before the first response necessarily settles.
Find a threshold time
For a stable exponential response beginning at zero time,
A threshold strictly between the initial and final values is reached in finite positive time. The initial value occurs at the start, while the final value is approached asymptotically. A threshold beyond that range is never crossed during the interval.
A 12 V source charges an uncharged 100 µF capacitor through a resistor. A comparator acts at 8 V. To obtain a 2 s delay,
Therefore and . The logarithm uses the voltage gaps to the final 12 V, not the raw ratio of capacitor voltages. Check the threshold against the final voltage before selecting a resistance.
Treat a rectangular pulse as two intervals
A pulse of height and width can be written
For a series RC circuit initially at rest, the first interval is charging. At , a zero-voltage source leaves the capacitor discharging through the same resistor. First calculate the peak:
Then write the discharge from that peak:
With a 5 V pulse lasting 2 ms and time constant 1 ms, the peak is about 4.32 V. One millisecond later, at total time 3 ms, voltage is about 1.59 V. Starting the discharge at 5 V would overstate the stored charge.
See the same result through superposition
For a circuit starting at rest, subtract a delayed step response from the original step response. After the pulse ends,
This route and the boundary-state route agree. If the storage element begins energized, include its natural response too. For an RL series circuit, the corresponding state is inductor current, with target during the pulse and time constant .
Compare pulse width with the circuit speed
When pulse width is much longer than the time constant, the state nearly reaches its on-state target before the pulse ends. When the pulse is much shorter, the state changes only a little. For RC voltage,
The peak is then approximately , proportional to pulse area. A 0.1 ms, 5 V pulse with 1 ms time constant gives about 0.476 V, close to the 0.5 V short-pulse estimate. This is the time-domain basis for the RC circuit’s approximate integrating behavior over a short interval.
Key Takeaways
- Use initial and final gaps to solve a threshold time.
- Check that the threshold is reached before the next switch.
- A rectangular pulse is a step on followed by a delayed step off.
- The off interval starts at the state reached at the pulse’s end.
- For a short RC pulse, peak voltage is approximately pulse area divided by .
- For nonzero initial energy, include the natural response.
5Analyze the op-amp integrating amplifier
An op-amp with a feedback capacitor turns input voltage into a running output change. A constant input produces a ramp whose slope follows from current balance at the inverting input. The output carries its starting value into each new interval and stops following the ideal equation at saturation. A feedback resistor changes the long-term behavior, giving a practical integrator a finite time constant and a stable dc operating point.
5.1 Derive and use the ideal integrator equation
The integrating amplifier uses an input resistor and a feedback capacitor around an op amp. The noninverting input is grounded. While the op amp operates linearly with negative feedback, its inverting input stays at approximately zero voltage and takes no current in the ideal model.
Derive the output equation
Call the input resistor and the feedback capacitor . The inverting input is a virtual ground: it is held at zero voltage by feedback, but is not physically connected to ground. Input current must flow through the feedback capacitor.
Measure output voltage relative to ground. The capacitor voltage measured from its output-side terminal to its inverting-input terminal equals . KCL gives
Therefore
and integrating from the starting time gives
The output is the starting output minus a scaled input area. Positive input makes the output fall; negative input makes it rise. The product has units of seconds and sets the scale between input area and output change.
Keep the initial capacitor voltage
The starting output equals the carried feedback-capacitor voltage with the output-side polarity defined above. A discharged capacitor gives zero initial output. A capacitor already holding charge gives a nonzero starting output, which must be added to the integral result.
For and , the product is 10 ms. A constant 0.5 V input from zero time with zero starting output gives
with time in seconds. The slope is −50 V/s. At 20 ms, for example, the output is −1 V. This constant-input response is a straight ramp because input current is constant. The ideal circuit has no feedback resistor to create exponential settling.
Stop the linear calculation at saturation
If the output limits are ±10 V, the ramp reaches the lower limit after
For the continuing positive input, the output remains at −10 V in the saturation model. The inverting input is no longer held at virtual ground, so extending the linear equation beyond that time gives an invalid output. Include a nonzero initial output when calculating the distance to the limit.
Integrate more than one input
Several input resistors can feed the same inverting node. Their currents add, giving
Each input is weighted by the reciprocal of its resistance. Opposite-signed inputs can cancel their currents and hold the output constant in the ideal linear model. Add currents before integrating; adding voltages directly would miss unequal input-resistor weights.
Key Takeaways
- In the linear ideal model, feedback holds the inverting input at virtual ground.
- The output slope is .
- Include the initial output in the integral equation.
- A constant input produces a ramp until an output limit is reached.
- Multiple inputs contribute through the sum of their resistor currents.
5.2 Work with piecewise inputs and practical integrators
For an input that changes in steps, the ideal integrator output is a sequence of straight segments. The slope changes with the input, while the output carries the feedback capacitor’s stored voltage from one interval into the next.
Integrate one interval at a time
Over an interval with constant input,
Calculate the endpoint, then use it as the next starting output. Equivalently, add the signed input areas before applying the scale factor. A zero-input interval holds the output constant in the ideal model.
Take , zero initial output, and limits of ±10 V. The input is 0.2 V for the first 40 ms, then −0.4 V. The first input area is , so output at 40 ms is −0.8 V.
The second slope is +40 V/s. With time in seconds,
It crosses zero at 60 ms and reaches +10 V at total time 0.31 s. The second ramp starts at −0.8 V; starting it from zero would discard the first interval’s charge. The linear calculation ends at saturation.
Explain drift and reset
A real op amp has small input offset voltage and input bias currents. A feedback capacitor accumulates their effects, so output may creep toward a limit even when the intended input is zero. This slow unintended motion is drift.
A reset switch across the feedback capacitor discharges it before an integration interval. Closing it establishes a known zero starting output in the ideal reset model. Opening it begins integration from that state.
Add a feedback resistor
A large resistor in parallel with the capacitor provides a dc feedback path. It limits dc gain to and changes the circuit equation to
Now the time constant is . For constant input, the equilibrium output is , and the linear response is
The equilibrium must lie within the output limits for the circuit to settle there without saturation.
For , , , and input 0.5 V, the time constant is 0.1 s and target output is −5 V. Starting at zero gives about −0.476 V at 10 ms and −3.16 V at 0.1 s. The ideal integrator gives −0.5 V and −5 V at those same times. Their initial slopes agree at −50 V/s, but the resistor gradually bends the practical response toward its target.
For useful approximate integration, make the integration interval much shorter than . A smaller feedback resistor reduces drift-related dc gain but also shortens that interval. Choose the resistor with both effects in mind.
Key Takeaways
- For each constant-input interval, use .
- Carry the output across changes in input.
- Offset voltage and bias currents cause drift; reset establishes a known starting state.
- A parallel feedback resistor gives and dc gain .
- Approximate integration needs an interval much shorter than .
RC and RL Circuits examples
1From switch connections to a first-order model
11 steps
- 1IntroductionBuild a switching model
A switch instantly changes connections. The capacitor’s voltage or the inductor’s current carries the stored-energy state into the new circuit.
You will reduce a resistor network, calculate a state before switching, and use it to find a quantity just afterward. Keeping these jobs separate avoids using a dc replacement at the wrong time. The worked capacitor voltage is measured from its upper terminal to ground throughout.
- 2ExplanationChoose the storage state
Choose capacitor voltage for an RC circuit or inductor current for an RL circuit. The energy laws are
One independent storage state leads to one first-order equation. Several storage elements may still reduce to one equivalent: parallel capacitances add, for example. Independent storage states that cannot be combined generally require a higher-order equation.
- 3ExampleFind the new source voltage
After a switch moves, a 15 V source feeds a node through 2 kΩ. A 4 kΩ resistor and a 3 µF capacitor connect from the node to ground.
Remove the capacitor to find the open-circuit voltage. The resistors form a divider:
This is the voltage the remaining network presents at the capacitor terminals with no load current. It is lower than the supply because the shunt resistor draws current.
- 4ExampleFind the new resistance
To find resistance, keep the capacitor removed and replace the independent 15 V source by a short. The 2 kΩ and 4 kΩ resistors now connect between the same two terminals.
The time constant for the 3 µF capacitor is 4 ms. Using the 2 kΩ resistor alone would overlook the parallel path created by shorting the ideal voltage source.
- 5ConnectionTurn the model into an equation
Let current enter the capacitor’s positive terminal. Current balance at the node gives
For this circuit, divide through by capacitance to obtain
The equation relates the rate of change to the gap between present voltage and the 10 V equilibrium. A smaller gap produces a smaller slope.
- 6ChallengeReduce a different network
A 21 V source feeds a node through 3 kΩ. A 4 kΩ resistor connects the node to ground. What Thevenin voltage and resistance would a capacitor from that node to ground see?
---reveal---
Voltage division gives . Deactivate the source and combine the parallel paths: . Keep the source active for the first calculation and deactivate it for the second.
- 7ExplanationSeparate dc from the switching instant
In dc steady state, constant capacitor voltage gives zero capacitor current, so the capacitor is open. Constant inductor current gives zero inductor voltage, so the inductor is shorted.
At a switching instant, use continuity instead:
Replace a charged capacitor by its carried voltage source at that instant. These continuity rules apply when voltages and currents remain finite.
- 8ExampleCarry the old capacitor voltage
Before entering the 15 V circuit, the same capacitor has been connected to an 8 V source through 2 kΩ, with 6 kΩ across it, for a long time.
The old steady-state voltage is
It begins the new circuit at 6 V, not at the new equilibrium of 10 V. The old connections set its stored charge; the new connections set how that charge will change.
- 9ExampleFind the new capacitor current
Immediately after switching, the capacitor holds 6 V. In the new circuit, current through 2 kΩ into the node is
The 4 kΩ shunt carries toward ground. The difference, 3 mA, enters the capacitor’s positive terminal. Capacitor current jumped from its old steady-state zero while voltage remained continuous.
- 10ChallengeCombine the old state and new network
A capacitor holds 3 V before it connects to a 9 V Thevenin source through 2 kΩ. Define current into the capacitor’s positive terminal. What are its voltage and current just after the switch, and its eventual voltage?
---reveal---
Voltage begins at 3 V by continuity. Current begins at . The stable dc final voltage is 9 V. Setting the initial voltage to 9 V would incorrectly remove the transient.
- 11RecapUse three circuit views
Use the old circuit to find the stored-energy state. Carry capacitor voltage or inductor current into the just-after-switch model, then solve for quantities that can jump.
The new dc circuit gives the attracting final value when the response is stable. The new terminal resistance determines its time constant. These distinct calculations supply the response equation without discarding charge or magnetic energy at the switch.
2Natural decay, signs, and energy
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionFollow stored energy after source removal
- 2ExplanationDerive the capacitor decay
- 3ExampleCalculate one point in the discharge
- 4Key InsightSquare the exponential for energy
- 5ChallengeRead energy from a voltage change
- 6ExplanationDerive the inductor decay
- 7ExampleConnect a current to its switching voltage
- 8ChallengeChange the discharge resistance
- 9ExplanationMeasure the gap that remains
- 10ExampleInfer the time constant from data
- 11TipUse a tangent as a quick estimate
- 12ChallengeSeparate current decay from energy decay
- 13RecapMatch the quantity to its time scale
3Step responses and the general solution
15 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionBuild a response from three values
- 2ExplanationSubtract the dc target
- 3ExampleInclude a nonzero inductor current
- 4ChallengePredict the direction before calculating
- 5ExplanationUse the general switching formula
- 6ExampleReduce a circuit with negative initial voltage
- 7ExampleWrite and check the voltage
- 8ConnectionRecover a branch current
- 9ChallengeTest a proposed response
- 10ExplanationKeep dependent sources active
- 11ExampleFind the net terminal conductance
- 12Key InsightA negative time constant changes stability
- 13ChallengeDecide whether a measured resistance settles
- 14ChallengeDistinguish equilibrium from a final value
- 15RecapCheck endpoints and stability
4Sequential switching and pulse timing
12 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionLet one interval feed the next
- 2ExampleSolve the first charging interval
- 3ExampleCalculate the switching boundary
- 4ExampleStart the new elapsed-time clock
- 5ChallengeCarry a current across a resistance change
- 6ExplanationSolve for a threshold time
- 7ExampleChoose resistance for a delay
- 8ExampleFind the state at pulse turnoff
- 9ConnectionTwo steps give the same pulse
- 10ChallengeCheck whether a pulse can trigger an event
- 11ChallengeUse the discharge interval to time an event
- 12RecapTrack state, clock, and threshold
5Ideal ramps and practical integration
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionTurn input area into output change
- 2ExplanationFollow the input current
- 3Key InsightRead the minus sign as a direction
- 4ExampleCompute a ramp from a nonzero start
- 5ExampleStop at the output limit
- 6ChallengeCombine signed input currents
- 7ExplanationCarry output across input steps
- 8ExampleCalculate two consecutive areas
- 9ChallengeRestore a known output
- 10ConnectionControl drift and the starting state
- 11ExplanationAdd the feedback resistor to KCL
- 12ExampleCompare a short interval with settling
- 13ChallengeCheck both slope and final behavior
- 14RecapUse area for ideal integration and an exponential for leakage
RC and RL Circuits practice questions
Set 1: Step responses and active first-order circuits10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Initial states, natural responses, and time constants10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Switching intervals, pulse timing, and integrators10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: Mixed circuit analysis and design10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
B
Boundary state
C
Capacitor discharge
Charging current
Continuity
Current division
D
Dc steady state
Dimensionless exponent
Drift
E
Elapsed time
Equivalent resistance
F
Final value
First-order circuit
Flyback diode
G
General exponential solution
H
Half-life
I
Inductive switching voltage
Initial gap
Initial tangent
Initial value
Input bias current
Input offset voltage
Integrating amplifier
M
Monotonic response
N
Natural response
Negative resistance
Norton equivalent
O
Output ramp
P
Passive sign convention
Piecewise response
Practical integrator
Pulse area
Pulse width
R
Rectangular pulse
Reset switch
Resistor power
S
Saturation
Sequential switching
Settling estimate
State variable
Step response
Stored electric energy
Stored magnetic energy
Superposition
T
Test source
Thevenin equivalent
Threshold
Time constant
Time shift
Transient
U
Unbounded response
Unit step function
Unstable equilibrium
V
Virtual ground
W
Weighted input sum
Z
Zero crossing
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.