Ordinary Diferential Equations in electric circuit

  • #1
ffp
97
5
Homework Statement
An electric circuit has its model represented by the following ordinary diferential equation:

##V_0''(t)+4V_0'(t)+3V(t)=V_i'(t)+2V_i(t)##

Where

-##V_i(t) ## is the input of the voltage source of the circuit given by ## V_i(t)=3e^{-2t}##, for t≥0 and null for t>0

-##V_0(t)## is the output measured signal of the circuit.

Based on the data provided e considering, in the mathematical model, the initial conditions null, the expression of the output for t≥0 is
Relevant Equations
##V_0''(t)+4V_0'(t)+3V_0(t)=V_i'(t)+2V_i(t) ##

##V_i(t)= 3e^{-2t}##
It's a multiple choice exercise and I have managed to find the characteristic equation V0(t) which is ##V_0(t)= C_1e^{-t}+C_2e^{-3t}##

Initially I thought that it was a non homogeneous ODE, but doing the math for the right part of the equation, I found out that it equals to 0.

So, I need help finding the constants ##C_1## and ##C_2## and I don't know how to handle the initial conditions.

If I make ##V_0(0)=0## and ##V_0'(0)=0## both ##C_1## and ##C_2## would be equal to 0, which is wrong.

So, I tried calculating ##V_i(t)## and ##V_i'(t)## and doing ##V_i(0)=0## and ##V_i'(0)=0##, but still got the wrong answer ##(C_1=C_2=3/2)##, while the answer is ##C_1=3/2## and ##C_2=-3/2##.

So, how should I handle the initial conditions in this exercise?
 
Last edited:
Physics news on Phys.org
  • #2
ffp said:
Homework Statement: An electric circuit has its model represented by the following ordinary diferential equation:

V0''(t)+4V0'(t)+3V(t)=Vi'(t)+2Vi(t)

Where

-Vi(t) is the input of the voltage source of the circuit given by Vi(t)=3e^(-2t), for t≥0 and null for t>0

- V0(t) ia the output measured signal of the circuit.

Based on the data provided e considering, in the mathematical model, the initial conditions null, the expression of the output for t≥0 is
Relevant Equations: V0''(t)+4V0'(t)+3V(t)=Vi'(t)+2Vi(t)

Vi(t)= 3e^(-2t)

It's a multiple choice exercise and I have managed to find the characteristic equation V0(t) which is V0(t)= C1*e^(-t)+C2*e^(-3t)

Initially I thought that it was a non homogeneous ODE, but doing the math for the right part of the equation, I found out that it equals to 0.

So, I need help finding the constants C1 and C2 and I don't know how to handle the initial conditions.

If I make V0(0)=0 and V0'(0)=0 both C1 and C2 would be equal to 0, which is wrong.

So, I tried calculating Vi(t) and Vi'(t) and doing Vi(0)=0 and Vi'(0)=0, but still got the wrong answer (C1=C2=3/2), while the answer is C1=3/2 and C2=-3/2.

So, how should I handle the initial conditions in this exercise?
Please format your mathematics using LaTeX Guide

What is ##V(t)## because you have it in there too?
 
  • Like
Likes berkeman
  • #3
erobz said:
Please format your mathematics using LaTeX Guide
Agreed, I have sent the OP some extra tips on how to post math using LaTeX. :smile:
 
  • Like
Likes erobz
  • #4
erobz said:
Please format your mathematics using LaTeX Guide

What is ##V(t)## because you have it in there too?
Ok, I think I got it right now. And no, there is no ##V(t)##, only ##V_0(t)## and ##V_i(t)##, that are the output and input voltage respectively.
 
  • #5
ffp said:
Ok, I think I got it right now. And no, there is no ##V(t)##, only ##V_0(t)## and ##V_i(t)##, that are the output and input voltage respectively.
Well if you don’t mind how did you do it? Because I get a system for the coefficients whose only solution is ##C_1=C_2=0## like you said before. It’s somewhat confusing because as you say the RHS is identically 0 for all times ##t##, making the general solution that of a homogeneous ODE?
 
  • #6
erobz said:
Well if you don’t mind how did you do it? Because I get a system for the coefficients whose only solution is ##C_1=C_2=0## like you said before. It’s somewhat confusing because as you say the RHS is identically 0 for all times ##t##, making the general solution that of a homogeneous ODE?
If you can understand my handwriting, this is how I did it.

Until up to the characteristic equation, I believe I got it right. My issue is with the constants calculation.

As I posted in OP, I did ##V_i(0)=0## and ##V_i'(0)=0##, but I don't know if this logic is correct.

PS: Are ##V_i(0)=V_0(0)## and ##V_i'(0)=V_0'(0)## ?

PPS: Oh, in my last post, the "I think I got it right now", was meant to using Latex, lol. Not the solution of the question
 

Attachments

  • SmartSelect_20231010_233846_Samsung Notes.jpg
    SmartSelect_20231010_233846_Samsung Notes.jpg
    23 KB · Views: 31
  • #7
The general solution is $$V_O(t) = C_1e^{-3t} + C_2 e^{-t} $$

Its not dependent on the inputs is it? The inputs add to ##0## for all time ##t##. I think we are going to need a bit more of mathematician here...Its not making sense to me.

If the RHS of the ODE was not zero you would add a particular solution ## y_p## assuming the form of the generalized input ( or forcing term ), but we have literally nothing on the RHS. It's just a homogenous ODE!

Also, initial conditions are on ##V_O## and its derivatives. Not ##V_i##.

I think something is not right about all this, but I'm not anywhere near an expert in solving differential equations...so take what I say lightly.
 
Last edited:
  • #8
Maybe @berkeman would move this to the math forums. It's just an exercise in solving ODE's as far as I can tell.
 
  • #9
ffp said:
##V_0''(t)+4V_0'(t)+3V(t)=V_i'(t)+2V_i(t)##
ffp said:
It's a multiple choice exercise and I have managed to find the characteristic equation V0(t) which is ##V_0(t)= C_1e^{-t}+C_2e^{-3t}##
I've taught college-level differential equations a number of times but have never seen a problem quite like this. A typical problem will have the unknown function and one or more of its derivatives on one side and possibly a forcing function on the other.

The unknown function and derivatives would typically be what you have on the right side, with your input voltage and its derivative. The forcing function would typically be the output stuff.

Minor nit -- you have ##V_i## as the input voltage. For output, use 'o', not 0 (zero). IOW, ##V_o##, not ##V_0##.

ffp said:
So, I need help finding the constants ##C_1## and ##C_2## and I don't know how to handle the initial conditions.
It doesn't seem to me that you are given initial conditions.

ffp said:
If I make ##V_0(0)=0## and ##V_0'(0)=0## both ##C_1## and ##C_2## would be equal to 0, which is wrong.
You can't just make up your own initial conditions. Have you provided us with the complete problem statement?
 
Last edited:
  • Like
Likes erobz
  • #10
@Mark44 , yes I provided the complete statement. Had to translate it, because it's not in english, but there is no aditional info...
 
  • #11
When you went with, and after:

$$ C_1 + C_2 =3$$

I see no justification for that. How did you reason that out?

Initial conditions apply to ##V_o(t)##, and ##V’_o(t)##. If they are both null, and with no forcing function they just stay put at ##0##
 
  • #12
ffp said:
-##V_i(t) ## is the input of the voltage source of the circuit given by ## V_i(t)=3e^{-2t}##, for t≥0 and null for t>0
That last inequality is reversed, no? Shouldn't it be ##V_i(t) = 0## for t<0?

And with the initial condition that ##V_i(t)## starts off at zero and has been zero for all time before that, it would seem that would also imply that ##V_o## is zero at t=0- as well (unless there are independent voltage sources involved or something, which is not implied in the problem).
 
  • #13
erobz said:
When you went with, and after:

$$ C_1 + C_2 =3$$

I see no justification for that. How did you reason that out?

Initial conditions apply to ##V_o(t)##, and ##V’_o(t)##. If they are both null, and with no forcing function they just stay put at ##0##
That was a desperate atempt to find the answer. I did it, not knowing it was right (tbh I thought it was wrong). Now I know is definitely wrong.

This question is from a public test for a government company in my country. So, it should have been disregarded, right (it wasn't, though).
 
  • #14
berkeman said:
That last inequality is reversed, no? Shouldn't it be ##V_i(t) = 0## for t<0?

And with the initial condition that ##V_i(t)## starts off at zero and has been zero for all time before that, it would seem that would also imply that ##V_o## is zero at t=0- as well (unless there are independent voltage sources involved or something, which is not implied in the problem).
Yes, you are right, that was my mistake when typing the statement. Thank you for pointing out. The correct inequity is t<0.

I really think the question is missing something now, reading all you guys answers. This is all all we can get, right?
 
  • #15
ffp said:
I really think the question is missing something now, reading all you guys answers. This is all all we can get, right?
This is a calculation of the impulse response of a second order linear system (mass - spring - damper).
Are you allowed to use the Dirac delta function? in that case the right side of the differential equation is just δ(t), and you can use the laplace transform.
A an equation with f(V'', V', v) = δ(t) and initial values V = V'= 0 will have the same solution as an equation with f(V'', V', v) and initial values V(0) = 0 and V'(0) = 1.
Since we have two exponentials in the solution, this is an overdamped system.
Impulse Response of Second-Order Systems
 
  • Informative
Likes berkeman
  • #16
I
willem2 said:
This is a calculation of the impulse response of a second order linear system (mass - spring - damper).
Are you allowed to use the Dirac delta function? in that case the right side of the differential equation is just δ(t), and you can use the laplace transform.
A an equation with f(V'', V', v) = δ(t) and initial values V = V'= 0 will have the same solution as an equation with f(V'', V', v) and initial values V(0) = 0 and V'(0) = 1.
Since we have two exponentials in the solution, this is an overdamped system.
Impulse Response of Second-Order Systems
I'm not sure I understand what you said. But I still have to calculate the C1 and C2 constants...
 
  • #17
$$V_0''(t)+4V_0'(t)+3V(t)=V_i'(t)+2V_i(t)~~~~~~~\text V_i(t)= 3e^{-2t}$$
$$V_0''(t)+4V_0'(t)+3V(t)= -6V_ie^(-2t)+6e^{-2t}=0$$
Then we have the general solution of this differential equation (forcing function=0)
$$V_O(t) = C_1e^{-3t} + C_2 e^{-t}=0~~~~,~~~~V'_O(t)= 3C_1e^{-3t}+C_2e^{-t}=0$$
At time zero we have
$$C_1+C2=0~~~~\text{and}~~~~~3C_1+C_2=0$$
Therefore C1 = C2 =0, what am I doing wrong?

Can you describe how you arrived at answer ##~C_1=C_2=3/2##?
Thanks
 

1. What are Ordinary Differential Equations (ODEs) in electric circuits?

ODEs in electric circuits are mathematical equations that describe the relationship between the voltage, current, and resistance in an electric circuit. They are used to model and analyze the behavior of electric circuits, such as inductors, capacitors, and resistors.

2. Why are ODEs important in electric circuits?

ODEs are important in electric circuits because they allow us to predict and understand the behavior of the circuit. By solving these equations, we can determine the current and voltage at any point in the circuit, which is crucial for designing and troubleshooting circuits.

3. What are the key components of an ODE in an electric circuit?

The key components of an ODE in an electric circuit are the voltage, current, and resistance. These variables are related through Ohm's law, Kirchhoff's laws, and other circuit laws and principles.

4. How are ODEs solved in electric circuits?

ODEs in electric circuits are typically solved using mathematical techniques such as separation of variables, Laplace transforms, or numerical methods. These methods allow us to find the general solution to the ODE, which can then be applied to specific circuit configurations.

5. What are some real-world applications of ODEs in electric circuits?

ODEs in electric circuits have numerous real-world applications, such as in electronic devices and power systems. They are used to design and analyze circuits in computers, telecommunication systems, and medical devices. They are also crucial in the development of renewable energy sources and smart grid technology.

Similar threads

Replies
7
Views
599
  • Calculus and Beyond Homework Help
Replies
8
Views
242
  • Advanced Physics Homework Help
Replies
7
Views
875
  • Engineering and Comp Sci Homework Help
Replies
6
Views
772
  • Engineering and Comp Sci Homework Help
Replies
28
Views
2K
Replies
3
Views
795
Replies
12
Views
937
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
529
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
Back
Top