How to Convert Mechanical System Equations to State Space Form?

AI Thread Summary
To convert the given mechanical system equations into state space form, the first step is to define the state variable array X as [QL; QL'; Qm; Qm']. The derivatives QL' and Qm' can be expressed as X2' = [-JL*QL'' - k(QL - Qm)]/BL and X4' = (1/Jm)(u + k(QL - Qm) - Bm*Qm'), respectively. This approach allows for the construction of the A matrix, where the first half is determined by the relationships X1' = X2 and X3' = X4. The B matrix will contain only one nonzero element corresponding to the input from the second equation. Following these steps will yield the complete state space representation.
zoom1
Messages
63
Reaction score
0
JL*QL'' + BL*QL' + k(QL - Qm) = 0
Jm*Qm'' + Bm*Qm' - k(QL - Qm) = u

This is the equation set I have for a motor with a load.
QL'' means second derivative and QL' means first derivative.

I need to be able to obtain the state space representation of this model where X = [QL;QL';Qm;Qm'] (This is of course a column array)

I tried my best but couldn't obtain it.
Started off with QL' = [-JL*QL'' - k(QL - Qm)]/BL

But when I try to represent this, I don't have the QL'' term in my state variable array X, so couldn't proceed further.

How am I supposed to approach this problem ?
 
Engineering news on Phys.org
as you are most likely aware, state space representation is usually of the form

X'=A*X+B
Y=C*X+D

your first goal is to define your X array.
then you need to define your A and B matrix.

I would define each element of your X array.
SO you already stated
QL = X1
QL' =X2
Qm=X3
Qm'=X4

so right off the bat you know X1'=X2 and X3'=X4, that gives you half of your A matrix

So you need to find your A matrix rows for X2' and X4'.

So use equation one to solve for X2', then use equation 2 to solve for X4'. as you can see there is only one input which is in equation 2, so there will only be one nonzero element in the B matrix.
 
donpacino said:
as you are most likely aware, state space representation is usually of the form

X'=A*X+B
Y=C*X+D

your first goal is to define your X array.
then you need to define your A and B matrix.

I would define each element of your X array.
SO you already stated
QL = X1
QL' =X2
Qm=X3
Qm'=X4

so right off the bat you know X1'=X2 and X3'=X4, that gives you half of your A matrix

So you need to find your A matrix rows for X2' and X4'.

So use equation one to solve for X2', then use equation 2 to solve for X4'. as you can see there is only one input which is in equation 2, so there will only be one nonzero element in the B matrix.

Perfect !

Thanks a lot
 
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...
Back
Top