Find the state space solution for a circuit

In summary: To do so, write the impedance of an inductor as sL and that of a capacitor as 1/(sC). Solve for Vo(s) in terms of Vi(s) by whatever method you wish.Aren't you suppoused to use derivatives and integrals to find the space state solutions?, I'm not sure if I can use Laplace to solve this problem.
  • #1
mt1200
17
0

Homework Statement



excercise.png


Find the state space solution, the output is Vo

Homework Equations



VL = L*di/dt
IC = 1/C*(integral of current)
KCL
KVL

The Attempt at a Solution



I tried to apply KCL and KVL but still can't figure it out. This one has been driving me nuts for 4 days.
 
Physics news on Phys.org
  • #2
Can you show an attempt?
 
  • #3
Yeah, this is what I've been trying:

There are two meshes and one node in that circuit.

So for Node 1:

IC1 = IL + IC2
C1dV/dt = IL + C2dV/dt

That's the first equation.

For Mesh #1:

Vi = VC1 + VL
Vi = 1/C ∫ic1 + LdiL/dt
VC1 = Vi - LdiL/dt

For Mesh # 2:

VL = Ri2 + VC2
VC2 = VL - Ri2
VC2 = LdiL/dt - Ri2

I don't know what else to do, I can't put those equations into a state space matrix, since there are integral terms.
 
  • #4
You can determine the transfer function in terms of the state space variable/operator s, which behaves in the same fashion as in the Laplace Transform.

To do so, write the impedance of an inductor as sL and that of a capacitor as 1/(sC). Solve for Vo(s) in terms of Vi(s) by whatever method you wish.
 
  • #5
Aren't you suppoused to use derivatives and integrals to find the space state solutions?, I'm not sure if I can use Laplace to solve this problem.

last night I realized that it's really confusing, if I try to create the space state matrixes I get something like this:

Vc1'
Vc2'
IL'

But I can't express only three state variables since I have like three currents ( It, IL and IC2).
 
  • #6
If you can first determine the transfer function you can then use its various coefficients to write the state space model (see, for example, the wikipedia entry for "state space representation").
 
  • #7
mt1200 said:
Yeah, this is what I've been trying:

There are two meshes and one node in that circuit.

So for Node 1:

IC1 = IL + IC2
C1dV/dt = IL + C2dV/dt

That's the first equation.

For Mesh #1:

Vi = VC1 + VL
Vi = 1/C ∫ic1 + LdiL/dt
VC1 = Vi - LdiL/dt

For Mesh # 2:

VL = Ri2 + VC2
VC2 = VL - Ri2
VC2 = LdiL/dt - Ri2

I don't know what else to do, I can't put those equations into a state space matrix, since there are integral terms.
The first two equations are basically good - after you fix up the subscripts V1 and V2 in that first equation - which I assume you know but just got sloppy :).

The problem with the third equation "VC2 = LdiL/dt - Ri2" is that "i2" is not a state variable (use energy storage quantities Vc1, Vc2 and IL for your states). Can you see how to substitute for "i2" in terms of your state variable. Do that and you are almost there.
 

FAQ: Find the state space solution for a circuit

What is a state space solution for a circuit?

A state space solution for a circuit is a mathematical representation of the behavior of a circuit over time. It takes into account the initial conditions and the input signals to determine the values of the circuit's state variables at any given time.

What is the difference between state space and time domain analysis?

State space analysis focuses on the behavior of a system over time, taking into account the system's internal state variables. Time domain analysis, on the other hand, looks at the behavior of a system at a specific point in time, without considering the system's internal state.

How is the state space solution derived for a circuit?

The state space solution for a circuit is derived using the laws of circuit analysis, such as Kirchhoff's laws and Ohm's law. The circuit is represented as a set of differential equations, which are then solved to obtain the values of the state variables over time.

What are the advantages of using state space analysis for circuits?

State space analysis allows for a more comprehensive understanding of the behavior of a circuit over time. It also allows for the analysis of complex systems that cannot be easily solved using traditional circuit analysis methods. Additionally, state space analysis can be easily extended to include non-linear and time-varying systems.

Are there any limitations to state space analysis for circuits?

State space analysis can be computationally intensive and may require complex mathematical techniques to solve the differential equations. It also assumes that the circuit is linear and time-invariant, which may not always be the case in real-world circuits. Additionally, the accuracy of the state space solution depends on the accuracy of the initial conditions and input signals used.

Similar threads

Replies
2
Views
1K
Replies
19
Views
4K
Replies
13
Views
2K
Replies
17
Views
2K
Replies
5
Views
2K
Replies
3
Views
3K
Replies
7
Views
3K
Replies
10
Views
2K
Back
Top