Find the state space solution for a circuit

Click For Summary

Discussion Overview

The discussion revolves around finding the state space solution for a circuit, focusing on the output voltage Vo. Participants explore various approaches to apply circuit laws and equations, including KCL and KVL, and express their challenges in formulating a state space representation. The discussion includes theoretical and practical aspects of circuit analysis.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in applying KCL and KVL to derive the state space solution after several days of effort.
  • Another participant requests to see the attempt at a solution to better understand the problem.
  • A participant outlines their approach involving two meshes and one node, presenting equations for node and mesh analysis but struggles with integrating these into a state space matrix due to the presence of integral terms.
  • One suggestion is made to determine the transfer function using impedance representations for inductors and capacitors, indicating that this could lead to expressing Vo(s) in terms of Vi(s).
  • A participant questions the appropriateness of using Laplace transforms for finding state space solutions and notes confusion regarding the formulation of state variables, mentioning multiple currents that complicate the representation.
  • Another participant suggests that determining the transfer function first could help in writing the state space model, referencing external resources for guidance.
  • A later reply reiterates the initial equations but points out the need to express certain variables in terms of state variables, indicating a path forward while acknowledging the need for corrections in the approach.

Areas of Agreement / Disagreement

Participants express varying opinions on the best approach to derive the state space solution, with some advocating for the use of transfer functions while others question the validity of Laplace transforms in this context. The discussion remains unresolved, with multiple competing views on how to proceed.

Contextual Notes

Participants highlight limitations in their approaches, including the challenge of integrating integral terms into a state space matrix and the complexity of defining state variables given the circuit's multiple currents.

mt1200
Messages
17
Reaction score
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
Can you show an attempt?
 
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.
 
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.
 
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).
 
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").
 
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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K