RLC circuit - Can someone check my work?

In summary, the differential equation for Vo is KCL/KVL. At nodes V1 and V2, the equation requires that V1-V2, L1, and C1 be equal. V1 is found by solving the differential equation for V2 and plugging in the values. The forced response is found by solving the differential equation for V1 and plugging in the values for A, tau, and f.
  • #1
eehelp150
237
0

Homework Statement


https://www.physicsforums.com/attachments/upload_2016-11-25_8-51-19-png.109406/
Find the differential equation for Vo
mvtqT.png

Vin is a square wave

Homework Equations


KCL/KVL

The Attempt at a Solution


At Node V1:
##\frac{V_1-V_in}{R_1} + \frac{1}{L_1}\int_{0}^{t}(V_1-V_2) = 0##

At Node V2:
##\frac{1}{L_1}\int_{0}^{t}(V_2-V_1)+C_1*\dot{V_2}+\frac{V_2}{R_2}=0##

V2 = VoDifferentiate equation 2 and solve for V1
##V_2-V_1+L_1C_1\ddot{V_2}+\frac{L_1\dot{V_2}}{R_2}##
##V_1=V_2+L_1C_1\ddot{V_2}+\frac{L_1\dot{V_2}}{R_2}##

Plug into equation 1
##\frac{V_2}{R_1}+\frac{L_1C_1\ddot{V_2}}{R_1}+\frac{L_1\dot{V_2}}{R_1R_2}+\frac{1}{L_1}\int_{0}^{t}(L_1C_1\ddot{V_2}+\frac{L_1\dot{V_2}}{R_2}=\frac{V_{in}}{R_1})##

Get rid of integral
##\frac{V_2}{R_1}+\frac{L_1C_1\ddot{V_2}}{R_1}+\frac{L_1\dot{V_2}}{R_1R_2}+C_1\dot{V_2}+\frac{{V_2}}{R_2}=\frac{V_{in}}{R_1}##

Multiply everything by ##\frac{R_1}{L_1C_1}##
##\frac{V_2}{L_1C_1}+\ddot{V_2}+\frac{\dot{V_2}}{C_1R_2}+\frac{R_1\dot{V_2}}{L_1}+\frac{R_1{V_2}}{L_1C_1R_2}=\frac{V_{in}}{L_1C_1}##Is my work correct?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Yes, looks okay to me.
 
  • #3
gneill said:
Yes, looks okay to me.
Assuming I have numerical values for resistors, inductors, capacitors:
To find the natural response, I set the differential equation equal to 0 and find the roots. Then I plug in the roots into the corresponding equation depending on dampening type, correct?
i.e. critically damped = ##Root_1te^{-\alpha t}+Root_2e^{-\alpha t}##

To find the forced response, I set the differential equation equal to the forcing function and solve. I know for a constant Vin, the forcing function is simply ##A##.. For a sinusoidal Vin, the forcing function would be ##Acos(wt + \theta )##. What would the forcing function be for a square wave?
 
  • #4
eehelp150 said:
Assuming I have numerical values for resistors, inductors, capacitors:
To find the natural response, I set the differential equation equal to 0 and find the roots. Then I plug in the roots into the corresponding equation depending on dampening type, correct?
i.e. critically damped = ##Root_1te^{-\alpha t}+Root_2e^{-\alpha t}##
That's the idea, yes.
To find the forced response, I set the differential equation equal to the forcing function and solve. I know for a constant Vin, the forcing function is simply ##A##.. For a sinusoidal Vin, the forcing function would be ##Acos(wt + \theta )##. What would the forcing function be for a square wave?
That depends upon the frequency of the squarewave compared to the damping constant and the natural response's frequency. If the transients have a chance to die out before the next abrupt change in the squarewave input then you can model the input as a step function. If you think about it, a squarewave can be modeled as a sum of time shifted step functions.
 
  • #5
gneill said:
That's the idea, yes.

That depends upon the frequency of the squarewave compared to the damping constant and the natural response's frequency. If the transients have a chance to die out before the next abrupt change in the squarewave input then you can model the input as a step function. If you think about it, a squarewave can be modeled as a sum of time shifted step functions.
My professor instructed us to use a frequency of 5tau. Once we find the roots, the smallest root = tau.
##\frac{T}{2}=5\tau##
##T = 10\tau##
##f = \frac{1}{T}##
##f = \frac{1}{10\tau}##
 
  • #6
The rule of thumb is that after ##5\tau## all the excitement is over and we can assume that the transients have decayed. So you can use a step function to model the input transitions.
 
  • #7
gneill said:
The rule of thumb is that after ##5\tau## all the excitement is over and we can assume that the transients have decayed. So you can use a step function to model the input transitions.
So what would be the forcing function?
 
  • #8
eehelp150 said:
So what would be the forcing function?
A step function with the appropriate amplitude.
 
  • #9
gneill said:
A step function with the appropriate amplitude.
so something like:
natural response = A for 0 to x

natural response = -A for x to ...
 
  • #10
You probably only need to model one transition. The response will be the same for following transitions, only alternating in sign (positive going transition followed by negative transition followed by positive transition...). Take a look at the steady state value of Vo if the input was just a suddenly applied DC voltage.
 
  • #11
gneill said:
You probably only need to model one transition. The response will be the same for following transitions, only alternating in sign (positive going transition followed by negative transition followed by positive transition...). Take a look at the steady state value of Vo if the input was just a suddenly applied DC voltage.
Ok but the forcing function to set equal with the differential equation would simply be "A", right?
Something like this and solve for numerical value of A to get forced response.
Then complete response = natural + forced
##\ddot{V}+\dot{V}+V=A##

Sorry if these questions are really simple, my professor never covered this and he does not reply to any emails.
 
  • #12
Yes, the step function can be modeled as a constant in this case. You'll want to consider what size that constant should be (how large are the actual transitions?)
 
  • #13
gneill said:
Yes, the step function can be modeled as a constant in this case. You'll want to consider what size that constant should be (how large are the actual transitions?)
What do you mean? Would this be something like checking the numerical value after I do the work (i.e. extremely large or extremely small number doesn't make sense -> math error somewhere) or do you mean something else?
 
  • #14
eehelp150 said:
What do you mean? Would this be something like checking the numerical value after I do the work (i.e. extremely large or extremely small number doesn't make sense -> math error somewhere) or do you mean something else?
I mean, look at the size of the transition that the input makes from one state to the next.
 
  • #15
gneill said:
I mean, look at the size of the transition that the input makes from one state to the next.
Still don't really understand...
Do you mean something like if the squarewave input it 5V amplitude with 10V peak (+5, -5, +5, -5, etc), that the transition size is 10 (going from 5 to -5)
 
  • #16
Yes.

If you happen to have actual component values then you might want to experiment with a circuit simulator to see how the input step size affects the size of the transient response. You should be able to directly compare the simulated results to your calculated ones.
 

1. What is an RLC circuit?

An RLC circuit is an electrical circuit that consists of a resistor (R), an inductor (L), and a capacitor (C) connected in series or parallel. It is used to filter or tune an electrical signal.

2. How do I calculate the resonant frequency of an RLC circuit?

The resonant frequency of an RLC circuit can be calculated using the formula fres = 1/2π√(LC), where fres is the resonant frequency, L is the inductance of the inductor, and C is the capacitance of the capacitor.

3. What is the purpose of an RLC circuit?

An RLC circuit has various applications, such as filtering out unwanted frequencies in a signal, amplifying a specific frequency, or tuning a circuit to a specific frequency. It is also used in radio and television receivers, audio equipment, and power supplies.

4. How do I analyze an RLC circuit?

To analyze an RLC circuit, you can use Kirchhoff's laws and Ohm's law to calculate the current, voltage, and power at different points in the circuit. You can also use circuit analysis techniques, such as nodal analysis or mesh analysis, to solve for the unknown variables.

5. Can someone check my work on an RLC circuit?

Yes, it is always a good idea to have someone review your work and calculations on an RLC circuit to ensure accuracy. You can also use simulation software or consult textbooks and online resources for reference.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
6
Views
772
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
15
Views
2K
  • Engineering and Comp Sci Homework Help
2
Replies
36
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
2
Replies
47
Views
5K
  • Introductory Physics Homework Help
Replies
16
Views
1K
Back
Top