18 | Measure vertical velocity with the MPU6050 accelerometer

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2023
  • Full code and manual on GitHub: github.com/CarbonAeronautics
    In this video, you will learn how you can measure the vertical velocity of your quadcopter drone using the MPU6050 accelerometer sensor.
    The purpose of this video series is to learn the basics behind a quadcopter drone and enable you to build one yourself, by dividing this challenging project in several easy-to-understand parts. You use the capable Teensy 4.0 microcontroller together with the easy-to-use Arduino language.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 27

  • @jayarangarakesh4581
    @jayarangarakesh4581 7 หลายเดือนก่อน

    I wanted to know how you are measuring yaw values. I couldn't find it in your videos related to gyroscope and accelerometer. Could you tell me in which video you have discussed about yaw measurement?

  • @shibbirahmed2524
    @shibbirahmed2524 ปีที่แล้ว

    Hello, I really enjoyed your videos for making drone from scratch. I am planning to make one with the help of your videos and codes. I was wondering if you could also show how to connect a camera to the drone and how to include that in the code as well. that would be helpful. Thanks

  • @argentinomacrifuevidaltamb3772
    @argentinomacrifuevidaltamb3772 ปีที่แล้ว +2

    Gracias por compartir.

  • @sahinduran66
    @sahinduran66 ปีที่แล้ว

    Hello, I implement the related formula but my results are showing acceleration in Z direction when quad is tilted. Tilt compensation is not working, do you know why? It works between -5,5 roll & pitch, but when tilt angle exceeds 5 degrees it becomes meaningless.

  • @zeinmoussa1587
    @zeinmoussa1587 5 หลายเดือนก่อน

    Thanks for this video but pleaes can you explain in 2:52 how the Accz,i was calculated after adding the three equations to together without dividing the result on 3
    because it will be like this
    3*Acczi =

  • @trarredbandit9734
    @trarredbandit9734 ปีที่แล้ว

    I saw this vid pop up on my recomended list and did some checks on google, is this to estimate how much the quadcopter decreases in altitude in horizontal flight?

  • @thebigelectrode
    @thebigelectrode หลายเดือนก่อน

    your videos are super helpful but the same equations can also be derived using DCM

  • @gorisoyan3823
    @gorisoyan3823 19 วันที่ผ่านมา

    Please someone can provide information or a link how to find X and Y axises linear velocities, I don't want angular velocity (I am getting it) but for my project I need to find travelled position of the robot

  • @trarredbandit9734
    @trarredbandit9734 ปีที่แล้ว +1

    Could this also be used to measure horizontal velocity and cancel out any drift in self leveling mode?
    Im guessing to do so. The accelerometer would have to be virtually leveled, even in forward flight

    • @jaroldrodriguez604
      @jaroldrodriguez604 8 หลายเดือนก่อน

      Para la velocidad horizontal necesitarías el ángulo absoluto de el eje Z / Yaw pero sólo tiene Roll y Pitch

  • @trarredbandit9734
    @trarredbandit9734 ปีที่แล้ว +2

    Also are planning on using Quaternions instead of Euler angles in the future?

    • @carbonaeronautics
      @carbonaeronautics  ปีที่แล้ว +3

      Not immediately, it would be mathematically more elegant but way harder to explain ;)

  • @InesRebouh-gw8uo
    @InesRebouh-gw8uo 24 วันที่ผ่านมา

    How to use mpu6050 to calculate speed ?

  • @thorverhoeven3426
    @thorverhoeven3426 5 วันที่ผ่านมา

    i can't find the full code on github please someone help

  • @ehabzaki2684
    @ehabzaki2684 ปีที่แล้ว

    Really great work , but can i also measure the linear velocity in x or y directions with the same method ??

  • @ldho
    @ldho 5 หลายเดือนก่อน

    hi sir the part 18 seems to be missing from the github page

  • @nguyenhuuchipq123
    @nguyenhuuchipq123 ปีที่แล้ว +2

    hi bro. may i have the method to caculate horizonal velocity for X and Y axis

    • @ehabzaki2684
      @ehabzaki2684 ปีที่แล้ว +2

      I am trying to find out a way to do so ?

  • @theblobewab6844
    @theblobewab6844 ปีที่แล้ว +2

    If you're using an altimeter/barometer couldnt you also integrate that into vertical velocity measurements?

    • @SoloRenegade
      @SoloRenegade ปีที่แล้ว +1

      just remember that barometric pressure changes from place to place and throughout the day. You'll need a way to correct for changes in Barometric pressure.

    • @carbonaeronautics
      @carbonaeronautics  ปีที่แล้ว +2

      Yes that will be the topic of the next video, we will use a Kalman filter once again

  • @kennethtomaniog6493
    @kennethtomaniog6493 ปีที่แล้ว +1

    or... maybe you can just directly integrate the acceleration measured from Z-axis with the elapsed time

    • @awadejamaica6666
      @awadejamaica6666 ปีที่แล้ว

      I guess that approach will make you drift because of the integral, I was thinking of also using a high pass filter but I've never done it. Please share some insight if you tried

  • @julianchee2894
    @julianchee2894 3 หลายเดือนก่อน

    We need to subtract 1g from the vertical acceleration you measure from the accelerometer.1g does not produce any "visible" velocity and the accelerometer can't distinguish between gravity and other accelerations. Or else your vertical velocity will constantly decrease like in your video.

    • @kyawlin5312
      @kyawlin5312 3 หลายเดือนก่อน

      how? Can you explain me further more?Please.