Pitch Autopilot and Tuning- Flight Control Fundamentals - Section 1.2 - Rev 2

Поділитися
Вставка
  • Опубліковано 8 лип 2022
  • In this video you will learn a simple proportional pitch attitude flight control system and how to tune it to best meet competing requirements. Basics of longitudinal aircraft dynamics, trim, linearization, short period and phugoid modes, and linear analytical methods are also reviewed.
    This is the revision 2, which includes a correction to the explanation of the modal coupling.
    Errata:
    1. Elevator direction is flipped in animations.
    Background Music: "Concentration" by Kevin MacLeod.
    Acknowledgements: Thanks to Daniel Cherenson for catching errors in statements on modal coupling.

КОМЕНТАРІ • 20

  • @electronicsacademy2D2E29
    @electronicsacademy2D2E29 Рік тому +4

    God level information 🙏🏻. Amazed how we have access to such PhD level information for free, these days. Thank you sir.

    • @LearnGandC
      @LearnGandC  Рік тому +2

      Hello! Thank you very much! You can access all my videos in one convenient place at www.learngandc.com

    • @electronicsacademy2D2E29
      @electronicsacademy2D2E29 Рік тому

      @@LearnGandC Thank you very much.

  • @darkside3ng
    @darkside3ng 2 місяці тому

    I am really impressed about how do you clearly explain this.
    Thank you so much for your generous contribution. 🎉🎉🎉🎉🎉🎉

    • @LearnGandC
      @LearnGandC  2 місяці тому +1

      Thank you, I enjoy making these lessons.

  • @learning7979
    @learning7979 Рік тому +2

    Thank you for this series I would like to know how does control theory applies to things like reactors and chemical plant

    • @LearnGandC
      @LearnGandC  Рік тому

      Thanks for watching! Industrial process control is an excellent topic for controls application. Many of the ideas used in aerospace control are equally effective in these other areas.

  • @josephhayes3239
    @josephhayes3239 21 день тому

    Hey Ben, love the videos, thanks for the effort. What is the difference between the variables "q" and "q^bar" in the nonlinear aircraft dynamics equations? Also I am assuming that Z_E is the displacement of the thrust vector from the center of mass?

    • @LearnGandC
      @LearnGandC  20 днів тому

      Hey Joseph, q is pitch rate and qbar is dynamic pressure. Correct on z_e. Thanks for watching!

  • @addmix
    @addmix 4 місяці тому

    what do the variables "t" and "s" represent in the first order low-pass filter `1/(ts + 1)`?

    • @LearnGandC
      @LearnGandC  4 місяці тому

      Hello, "t" is actually tau and it represents the time constant of the system. The variable "s" represents the complex variable j*w, where j = sqrt(-1) is the imaginary number (also commonly denoted i) and w is frequency in rad/s.

  • @lorenzoalbertini5658
    @lorenzoalbertini5658 4 місяці тому

    Hi, where I can find the numerical data used in linearized dynamics? Thank you

    • @LearnGandC
      @LearnGandC  4 місяці тому

      Hello there, the data can be reproduced by running the codes, which are available on my patreon page. Search Learn Guidance and Control.

  • @electronicsacademy2D2E29
    @electronicsacademy2D2E29 Рік тому +1

    Hi Ben, I just posted a question. It got deleted somehow. Let me paste the entire question here, yet again. It will be missing a diagram but hopefully it will be still meaningful
    I am trying to simulate a plant on a microcontroller. The transfer function of the plant is
    2
    Gp(s) = -----------------------------------------
    (s+3)(s-1)
    The step response for this function from Octave is
    The step response graph cant be pasted but its a curve touching 200 at 6 seconds.
    The value goes to 200 in 6 seconds and this is what I am trying to reproduce through the difference equation I show a little later
    The z transform of the above with Ts of 0.001s with zero order hold is
    9.993e-07 z + 9.987e-07
    Gp(z) = -------------------------
    z^2 - 1.998 z + 0.998
    The difference equation derived from Gp(z) is
    y(t) = 9.993e-7 x(t - Ts) + 9.987e-7 x(t - 2Ts) + 1.998 y(t - Ts) - 0.998 y(t - 2Ts)
    Here is the C code I wrote to realise the above difference equation
    #include
    float xtp0 = 0.0;
    float etp0 = 0.0;
    float xtp0_minus_Ts = 0.0;
    float etp0_minus_Ts = 0.0;
    float xtp0_minus_2Ts = 0.0;
    float etp0_minus_2Ts = 0.0;
    float plant0(float input){
    etp0 = input;
    xtp0 = (9.993e-7F * etp0_minus_Ts)
    + (9.987e-7F * etp0_minus_2Ts)
    + (1.998F * xtp0_minus_Ts)
    - (0.998F * xtp0_minus_2Ts);
    //Saving the history
    xtp0_minus_2Ts = xtp0_minus_Ts;
    etp0_minus_2Ts = etp0_minus_Ts;
    xtp0_minus_Ts = xtp0;
    etp0_minus_Ts = etp0;

    return xtp0;
    }
    int main(){
    float x = 0.0F;
    int i;
    for(i = 0 ; i < 6000; i++){
    if(i == 0){
    x = plant0(0.0F);
    }
    else{
    x = plant0(1.0F);
    }
    }
    printf("%f
    ",x);
    }
    I am trying to run the loop 6000 times as that would amount to 6 seconds since the sampling period is 0.001 seconds. I am expecting the value to be 200 as observed in the step response graph. However I get the value 5.321684 from the program. Running the same program on the microcontroller is also giving the same output of 5.321684.
    My intention as I stated previously, is to make the difference equation respond in the same way as the step response seen in the plot. Where am I going wrong here?

    • @LearnGandC
      @LearnGandC  Рік тому

      I understand what you are asking, but don't have the time at the moment to dig into this. Offhand, I don't see the issue. If I get time in the coming days, I'll investigate.

    • @electronicsacademy2D2E29
      @electronicsacademy2D2E29 Рік тому

      @@LearnGandC I got the solution. It was happening because I was using truncated values in the z transform coefficients. After doing a 'format long' in Octave and then extracting the coefficients I got the more accurate values which solved the problem . Now I'm able to simulate the plant in real time, on a CM4F microcontroller.

    • @LearnGandC
      @LearnGandC  Рік тому

      Oh! I suspected that, but wanted to test it out. Thanks for letting me know!

    • @electronicsacademy2D2E29
      @electronicsacademy2D2E29 Рік тому

      @@LearnGandC Welcome 👍🏻 I got the solution from dsp stack exchange

  • @habahabahabahabahaba
    @habahabahabahabahaba 7 місяців тому

    Hi Ben
    I have been following Christopher Lum and I have tried to make the RCAM model, I can't afford matlab, so I am using python.
    I managed to get a similar function to Christopher Lums matlab version, but I am struggling at making an autopilot for it.
    ua-cam.com/video/bFFAL9lI2IQ/v-deo.html
    this is the video i have tried to remake in python.
    I was wondering if your course covered, how to make an autopilot within python, or is it only matlab?
    kind regards Tobias from Denmark

    • @LearnGandC
      @LearnGandC  7 місяців тому

      Hi Tobias,
      Presently, I use Octave, which is very similar to Matlab but open software.
      I plan to code Python in the future.
      Regards,
      Ben