400 likes | 756 Views
Transient Excitation of First-Order Circuits. What is transient excitation and why is it important? What is a first-order circuit? What are “natural response” and “step response”? Transients in RL circuits (briefly) Transients in RC circuits application to computer circuits. Linear Time-
E N D
Transient Excitation of First-Order Circuits • What is transient excitation and why is it important? • What is a first-order circuit? • What are “natural response” and “step response”? • Transients in RL circuits (briefly) • Transients in RC circuits application to computer circuits
Linear Time- Invariant Circuit Linear Time- Invariant Circuit Linear Time- Invariant Circuit Linear Time- Invariant Circuit Digital Pulse Source Types of Circuit Excitation Steady-State Excitation OR (DC Steady-State) Sinusoidal (Single- Frequency) Excitation AC Steady-State Transient Excitation
First-Order Circuits • A circuit that contains only sources, resistors and an inductor is called an RL circuit. • A circuit that contains only sources, resistors and a capacitor is called an RC circuit. • RL and RC circuits are called first-order circuits because their voltages and currents are described by first-order differential equations. R R i i vs – + vs – + L C
Review (Conceptual) • Any first-order circuit can be reduced to a Thévenin (or Norton) equivalent connected to either a single equivalent inductor or capacitor. • In steady state, an inductor behaves like a short circuit • In steady state, a capacitor behaves like an open circuit RTh VTh – + IN RN L C
The natural response of an RL or RC circuit is its behavior (i.e., current and voltage) when stored energy in the inductor or capacitor is released to the resistive part of the network (containing no independent sources). • The step response of an RL or RC circuit is its behavior when a voltage or current source step is applied to the circuit, or immediately after a switch state is changed.
Natural Response of an RL Circuit • Consider the following circuit, for which the switch is closed for t < 0, and then opened at t = 0: Notation: 0– is used to denote the time just prior to switching 0+ is used to denote the time immediately after switching • The current flowing in the inductor at t = 0– is Io t = 0 i + v – Io Ro L R
Solving for the Current (t 0) i + v – • For t > 0, the circuit reduces to • Applying KVL to the LR circuit yields first-order D.E.: • Solution: Io Ro L R = I0e-(R/L)t
Solving for the Voltage (t > 0) • Note that the voltage changes abruptly (step response): + v – Io Ro L R - = v ( 0 ) 0 - > = = ( / ) R L t for t 0, v ( t ) iR I Re o + Þ = I0R v ( 0 )
Time Constant t • In the example, we found that • Define the time constant • At t = t, the current has reduced to 1/e (~0.37) of its initial value. • At t = 5t, the current has reduced to less than 1% of its initial value. (sec)
Transient response of RC circuits and application to computer circuits driven by binary voltage pulses
Capacitors and Stored Charge • So far, we have assumed that electrons keep on moving around and around a circuit. • Current doesn’t really “flow through” a capacitor. No electrons can go through the insulator. • But, we say that current flows through a capacitor. What we mean is that positive charge collects on one plate and leaves the other. • A capacitor stores charge. Theoretically, if we did a KCL surface around one plate, KCL could fail. But we don’t do that. • When a capacitor stores charge, it has nonzero voltage. In this case, we say the capacitor is “charged”. A capacitor with zero voltage has no charge differential, and we say it is “discharged”.
Capacitors in circuits • If you have a circuit with capacitors, you can use KVL and KCL, nodal analysis, etc. • The voltage across the capacitor is related to the current through it by a differential equation instead of Ohm’s law.
+ V CAPACITORS | ( C i(t) capacitance is defined by
Charging a Capacitor with a constant current + V(t) | ( C i voltage time
Discharging a Capacitor through a resistor + V(t) i R C i This is an elementary differential equation, whose solution is the exponential: Since:
Voltage vs time for an RC discharge Voltage Time
Natural Response of an RC Circuit • Consider the following circuit, for which the switch is closed for t < 0, and then opened at t = 0: Notation: 0– is used to denote the time just prior to switching 0+ is used to denote the time immediately after switching • The voltage on the capacitor at t = 0– is Vo t = 0 Ro + v – + Vo R C
Solving for the Voltage (t 0) i • For t > 0, the circuit reduces to • Applying KCL to the RC circuit: • Solution: + v – Ro + Vo C R
Solving for the Current (t > 0) i + v – Ro • Note that the current changes abruptly: + Vo C R
Time Constant t • In the example, we found that • Define the time constant • At t = t, the voltage has reduced to 1/e (~0.37) of its initial value. • At t = 5t, the voltage has reduced to less than 1% of its initial value. (sec)
RC Circuit Model for a Digital Logic Circuit The capacitor is used to model the response of a digital circuit to a new voltage input: The digital circuit is modeled by a resistor in series with a capacitor. The capacitor cannot change its voltage instantly, as charges can’t jump instantly to the other plate, they must go through the circuit! R Vout + + Vout Vin C _ _
voltage time voltage time RC Circuits Abound in Computers We compute with pulses We send beautiful pulses in Every node in a circuit has natural capacitance, and it is the charging of these capacitances that limits real circuit performance (speed) But we receive lousy-looking pulses at the output Capacitor charging effects are responsible!
RC Circuit Model Every digital circuit has natural resistance and capacitance. In real life, the resistance and capacitance can be estimated using characteristics of the materials used and the layout of the physical device. The value of R and C for a digital circuit determine how long it will take the capacitor to change its voltage—the gate delay. R Vout + + Vout Vin C _ _
RC Circuit Model With the digital context in mind, Vin will usually be a time-varying voltage that switches instantaneously between logic 1 voltage and logic 0 voltage. We often represent this switching voltage with a switch in the circuit diagram. R Vout + + Vout Vin C _ _ t = 0 i + Vout – + Vs = 5 V
Analysis of RC Circuit R Vout • By KVL, • Using the capacitor I-V relationship, • We have a first-order linear differential equation for the output voltage + + Vout Vin I C _ _
Analysis of RC Circuit R Vout • What does that mean? • One could solve the differential equation to get + + Vout Vin I C _ _
Insight • Vout(t) starts at Vout(0) and goes to Vin asymptotically. • The difference between the two values decays exponentially. • The rate of convergence depends on RC. The bigger RC is, the slower the convergence. Vout Vout Vout(0) Vin bigger RC Vout(0) Vin 0 0 time time 0 0
Vout Vout Vin Vout(0) .63 V1 .37 Vout(0) 0 0 time 0 time t 0 t Time Constant • The value RC is called the time constant. • After 1 time constant has passed (t = RC), the above works out to: • So after 1 time constant, Vout(t) has completed 63% of its transition, with 37% left to go. • After 2 time constants, only 0.372 left to go.
R Vout Transient vs.Steady-State + + Vout Vin I C _ _ • When Vin does not match up with Vout , due to an abrupt change in Vin for example, Vout will begin its transient period where it exponentially decays to the value of Vin. • After a while, Vout will be close to Vinand be nearly constant. We call this steady-state. • In steady state, the current through the capacitor is (approx) zero. The capacitor behaves like an open circuit in steady-state. • Why? I = C dVout/dt, and Vout is constant in steady-state.
General RC Solution • Every current or voltage (except the source voltage) in an RC circuit has the following form: • x represents any current or voltage • t0 is the time when the source voltage switches • xf is the final (asymptotic) value of the current or voltage All we need to do is find these values and plug in to solve for any current or voltage in an RC circuit.
Solving the RC Circuit We need the following three ingredients to fill in our equation for any current or voltage: • x(t0+) This is the current or voltage of interest just after the voltage source switches. It is the starting point of our transition, the initial value. • xf This is the value that the current or voltage approaches as t goes to infinity. It is called the final value. • RC This is the time constant. It determines how fast the current or voltage transitions between initial and final value.
Finding the Initial Condition To find x(t0+), the current or voltage just after the switch, we use the following essential fact: Capacitor voltage is continuous; it cannot jump when a switch occurs. So we can find the capacitor voltage VC(t0+) by finding VC(t0-), the voltage before switching. We can assume the capacitor was in steady-state before switching. The capacitor acts like an open circuit in this case, and it’s not too hard to find the voltage over this open circuit. We can then find x(t0+) using VC(t0+) using KVL or the capacitor I-V relationship. These laws hold for every instant in time.
Finding the Final Value To find xf , the asymptotic final value, we assume that the circuit will be in steady-state as t goes to infinity. So we assume that the capacitor is acting like an open circuit. We then find the value of current or voltage we are looking for using this open-circuit assumption. Here, we use the circuit after switching along with the open-circuit assumption. When we found the initial value, we applied the open-circuit assumption to the circuit before switching, and found the capacitor voltage which would be preserved through the switch.
Finding the Time Constant It seems easy to find the time constant: it equals RC. But what if there is more than one resistor or capacitor? R is the Thevenin equivalent resistance with respect to the capacitor terminals. Remove the capacitor and find RTH. It might help to turn off the voltage source. Use the circuit after switching.
RL Circuit Inductor current cannot change instantaneously time constant RC Circuit Capacitor voltage cannot change instantaneously time constant Natural Response Summary i + v – L R C R
RC Circuit Transient Analysis Example The switch is closed for t < 0, and then opened at t = 0. Find the voltage vc(t) for t≥ 0. t = 0 3 kW i + vc – + 2 kW 5 V 10 mF • Determine the initial voltage vc(0)
3 kW i + vc – + 2 kW 5 V 10 mF 2. Determine the final voltage vc(∞) 3. Calculate the time constant t