How to Convert Mechanical System Equations to State Space Form?

Click For Summary
SUMMARY

The discussion focuses on converting mechanical system equations into state space form for a motor with a load, represented by the equations JL*QL'' + BL*QL' + k(QL - Qm) = 0 and Jm*Qm'' + Bm*Qm' - k(QL - Qm) = u. The state variable array is defined as X = [QL; QL'; Qm; Qm'], with the goal of deriving the A and B matrices. The approach involves solving for the derivatives X2' and X4' using the provided equations, leading to a structured state space representation.

PREREQUISITES
  • Understanding of state space representation in control systems
  • Familiarity with mechanical system dynamics
  • Knowledge of matrix algebra and linear equations
  • Experience with differential equations
NEXT STEPS
  • Study the derivation of state space models from differential equations
  • Learn about constructing A and B matrices in state space representation
  • Explore examples of mechanical systems modeled in state space form
  • Investigate control techniques applicable to state space systems
USEFUL FOR

Control engineers, mechanical engineers, and students studying dynamic systems who need to convert mechanical equations into state space form for analysis and control design.

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
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
16
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
3
Views
2K