Transfer function between states in state space

4 views (last 30 days)
Hello,
I'm working on controllers for a quadrocopter and I'm using the following state space in matlab
where r denotes the Position, r_dot the velocity ... Phi the Rotation in Euler angles, omega the angular velocity and so on.
u is a 4x1 vector containing the individual thrusts of the propellers.
Now I want to design a cascaded controller for which I need the transfer function between the acceleration r_ddot and the Euler angles Phi.
How can I get this transfer function from the state space representation?
Thanks in advance
  4 Comments
Paul
Paul on 16 Jul 2020
Because the states are internal to the realization of your system, there really isn't a transfer function between any one state and another. So whether or not you can get what you want depends on what exactly you mean.
Are you trying to develop a relationship between two states in your system when the the system is stimulated by an external input? What about initial conditions on the states?
Maybe you want the transfer function from an external input that is a perturbing a state to the output defined by another state?
Maybe you're trying to accomplish something else?
Christine Li
Christine Li on 16 Jul 2020
Edited: Christine Li on 17 Jul 2020
Agree with Paul.
No matter you use state space matrix [A B C D] or transfer function, they all used to describe your system, and can be transfered by ss2tf in matlab or use .
For your system, you have 4 states, which are internal. Suppose your 4 stataes are []. Now, you want to extract x2 and x3 and try to find a transfer function to describe the dynamics of x2 and x3. But if you write down your eqaution for x2 and x3, which will be:
You can find out that the dynamics of x2 and x3 are influenced by x1 and x4 as well. So if you want to get the transfer function for your system that only has two states: x2 and x3, then you need to check your equations to see if you can treat x1 and x2 as your system disturbances or inputs and extract them out of your original A matrix. If you can make your equaitons be in a format of , then you can get your transfer function.

Sign in to comment.

Answers (0)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!