Linearizing a system of equations?

Click For Summary

Discussion Overview

The discussion revolves around the process of linearizing a system of equations related to the motion of a quad-copter, specifically focusing on the z-axis. Participants are exploring how to create a MATLAB model and arrange the equations in state space representation, addressing both theoretical and practical aspects of linearization.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant outlines the basic structure of the linearized equations for the quad-copter's motion, suggesting that there should be two equations for each state and proposing a method for linearization using partial derivatives.
  • Another participant suggests using small angle approximations for sine and cosine functions related to tilt angles, indicating that this might simplify the linearization process.
  • Some participants agree that the constant and linear terms of the power series for trigonometric functions could suffice for linearization, emphasizing the importance of evaluating these at the point of interest.
  • There is a discussion about whether to linearize voltages in the system, with one participant stating that if voltages change in response to system dynamics, they should be linearized, while if they remain constant, their value at that point should be used.
  • A follow-up question is raised regarding how to treat velocities during linearization, specifically in relation to the first derivative of the angle phi.

Areas of Agreement / Disagreement

Participants express various viewpoints on the use of small angle approximations and the treatment of voltages in the linearization process. There is no clear consensus on how to handle the velocities or the specifics of the linearization approach, indicating that multiple competing views remain.

Contextual Notes

Participants mention the need for careful evaluation of partial derivatives and the conditions under which voltages are treated as constant or variable. The discussion reflects uncertainty regarding the application of linearization techniques across different variables.

Jayalk97
Messages
45
Reaction score
5

Homework Statement


upload_2018-3-20_23-50-7.png


So these are the equations of motion for a quad-copter. I am supposed to create a MATLAB model for the z-axis. In order to do this I have to linearize the equations around these points, and arrange them in state space representation.
upload_2018-3-20_23-51-59.png


Homework Equations


As above

The Attempt at a Solution


So there are supposed to be two equations for each state. The first equation, linearized, would just be
x' = v_x
x'' = v_x'
As would the next two, but with y and z correct?

As for the rest I would just take the partial derivative with respect to each point of linearization, evaluate each by all of the given points, multplied by the value, like this (pardon my lack of formatting):

x'' = v_x'
v_x' = (df/dx)x+(df/dy)y+df(dphi)phi+...etc?

I hope that all made sense, am I going about this correctly?

Thanks in advanced.
 

Attachments

  • upload_2018-3-20_23-50-7.png
    upload_2018-3-20_23-50-7.png
    18.3 KB · Views: 2,906
  • upload_2018-3-20_23-51-59.png
    upload_2018-3-20_23-51-59.png
    18.9 KB · Views: 668
Physics news on Phys.org
I'm not sure if this is allowed, but you may be able to use small angle approximations for sine and cosine of the two tilt angles. As far as the voltage hint, what do you know about how these operate?
 
  • Like
Likes   Reactions: FactChecker
scottdave said:
I'm not sure if this is allowed, but you may be able to use small angle approximations for sine and cosine of the two tilt angles. As far as the voltage hint, what do you know about how these operate?
I agree. I think that the constant and x term of the power series of the trig functions at the point would be enough for linearization. That is, the value and slope at the point should be good enough.
 
scottdave said:
I'm not sure if this is allowed, but you may be able to use small angle approximations for sine and cosine of the two tilt angles. As far as the voltage hint, what do you know about how these operate?
The voltage hint is that since we are only operating in the z-axis they will always have the same value. I think it has to do with converting it to state space representation, not
FactChecker said:
I agree. I think that the constant and x term of the power series of the trig functions at the point would be enough for linearization. That is, the value and slope at the point should be good enough.
I'm certain we use small angle approximations, he said we would prior to getting the assignment. What confuses me is how to o this for both x and u. Do I use linearization with the voltages as well? Or would I just take the square root of the function to get the voltages.
 
Jayalk97 said:
Do I use linearization with the voltages as well? Or would I just take the square root of the function to get the voltages.
If the voltages change in response to the dynamics of the system, then you need to linearize them. If they remain constant in the condition that you are studying, then their value at that point should be used.
 
FactChecker said:
If the voltages change in response to the dynamics of the system, then you need to linearize them. If they remain constant in the condition that you are studying, then their value at that point should be used.
I see, a followup question on linearization I have is how would I treat the velocities? An example would be w_z'. In this equation, when I take the partial derivative with respect to phi, how would I treat w_x, since it is the first derivative of phi?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K