How can I represent this circuit in state space?

Click For Summary
SUMMARY

The discussion focuses on representing a circuit in state space using Kirchhoff's equations. The user has derived equations for two loops and a junction but struggles to formulate two state equations, x'1 and x'2. The equations provided include voltage relationships for the components R1, R2, R3, C1, and C2. The advice given emphasizes the need to express equations in terms of known values and component parameters to facilitate the state space representation.

PREREQUISITES
  • Understanding of Kirchhoff's laws for circuit analysis
  • Familiarity with state space representation in control systems
  • Basic knowledge of electrical components such as resistors and capacitors
  • Proficiency in MATLAB for circuit simulation and analysis
NEXT STEPS
  • Learn how to derive state space equations from circuit diagrams
  • Study MATLAB's Control System Toolbox for state space modeling
  • Explore examples of circuit analysis using Kirchhoff's laws
  • Investigate the relationship between circuit components and their state variables
USEFUL FOR

Electrical engineers, control system designers, and students studying circuit analysis and state space representation will benefit from this discussion.

Emmanouel
Messages
1
Reaction score
0
I have this circuit and I must represent it in state space. I know the process because I have done similar ones but having trouble with this one. I have found the Kirchhoff equtations for the 2 loops and for the upper juction, whatever I do after I can't end up to two equations x'1 and x'2.

  • First loop: V(t)=V(R1)+V(c1)+V(R2)
  • Second loop: V(R3)+V(c2)=V(R2)+V(c1)
  • Junction: i(t)=i(R3)+i(c1) or i(t)=i(c2)+i(R2) => i(c1)=i(R3)+i(t) and i(c2)=i(R2)+i(t)
I know that V(C1)=x1 ,and V(c2)=x2 and i(c1)=c1*x'1 , i(c2)=c2*x'2

http://www.mathworks.com/matlabcentral/answers/uploaded_files/21768/circuit.bmp
 
Engineering news on Phys.org
Emmanouel said:
I have this circuit and I must represent it in state space. I know the process because I have done similar ones but having trouble with this one. I have found the Kirchhoff equtations for the 2 loops and for the upper juction, whatever I do after I can't end up to two equations x'1 and x'2.

  • First loop: V(t)=V(R1)+V(c1)+V(R2)
  • Second loop: V(R3)+V(c2)=V(R2)+V(c1)
  • Junction: i(t)=i(R3)+i(c1) or i(t)=i(c2)+i(R2) => i(c1)=i(R3)+i(t) and i(c2)=i(R2)+i(t)
I know that V(C1)=x1 ,and V(c2)=x2 and i(c1)=c1*x'1 , i(c2)=c2*x'2

http://www.mathworks.com/matlabcentral/answers/uploaded_files/21768/circuit.bmp

Welcome to the PF.

Is this question for schoolwork? If so, I can move it to the schoolwork forums for you.
 
can you post a circuit schematic...

You need to get your equations in terms of known values, such as inputs and component values.
example. if you want to find the voltage across a resistor 2, instead of saying V(source)-V(resistor_1)-V(resistor_2)=zero, say V_out=V_in*R_1/(R_1+R_2)

does that make sense?
 

Similar threads

  • · Replies 26 ·
Replies
26
Views
7K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
4
Views
4K