How can I control the current in an RL circuit using state space modeling?

AI Thread Summary
The discussion focuses on using state space modeling to control current in an RL circuit. Sundaram seeks assistance in framing the state space equations for monitoring the current through an inductor. The initial equations provided are refined to use standard variables, leading to the formulation of the state space representation. A MATLAB implementation is suggested, detailing the system matrices A, B, C, and D for simulating the circuit's response. This approach allows for effective control and analysis of the current in the RL circuit.
nbsundaram
Messages
1
Reaction score
0
Hi.. This is sundaram, I'm trying to learn state space modeling, I'm trying to model the simple RL series circuit, to control/read the current flowing through inductor.

I could find the way to monitor the voltage across inductor. as below

x'=(u - Rx)*(1/L)
y=(u - Rx)

where:
x => i (current), x' => di/dt
R=> resistance & L=> inductance
u is the applied voltage
y=> the voltage across inductor


can anyone help me in framing the state space equation to control I

Thanks in advance..!
Sundaram..
 
Engineering news on Phys.org
I'm too lazy to figure out and rewrite your variables.

Rewrite it with I, V, and R and subscripts.

I'm not sure what you mean by state space, but maybe it will be clear when you rewrite the equations.
 
hello sundaram...
you did right... let me call the current that is flowing through the inductor iL = x1
using kirchhoff voltage law you got

x1' = u/L - (R/L)*X1

to "control" your current you just need to use y = x1

in MATLAB you can use
A = [-R/L]
B = [u/L]
C = [1]
D = 0
sys = ss(A,B,C,D)
step(sys)
it will show you the step response of your system using the current as output. :D
 
Last edited:
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Back
Top