New GPS hold algorithms for the YMFC-32 DIY flight controller

Поделиться
HTML-код
  • Опубликовано: 7 июл 2024
  • After some weeks of trial and error I really got the GPS hold algorithms to work. I’m very pleased with the result. In the upcoming videos I will explain the workings of the GPS hold algorithms.
    About my test quadcopters:
    www.brokking.net/bain_test_qua...
    The YMFC-32 playlist:
    • YMFC-32 | a DIY 32-bit...
    The YMFC-32 autonomous project page:
    www.brokking.net/ymfc-32_auto_...
    Setting up the Arduino IDE for uploading programs to the STM32:
    • Getting started with t...
  • НаукаНаука

Комментарии • 81

  • @adelashour3253
    @adelashour3253 5 лет назад +25

    i am not overacting when i say that you are giving some thing valuable to humanity

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +4

      Thank you for your positive comments. Really appreciate them every time. And yes, when I started with drones this kind of information wasn't available. So I make this for every upcoming drone enthusiast :-)

    • @adelashour3253
      @adelashour3253 5 лет назад

      i hope have a way to help , best wishes ^_^

  • @huntervoid5927
    @huntervoid5927 9 месяцев назад

    Thank you for this video series. I watched and studied everything religiously. Helped me a lot in developing my own implementation of ymfc in a teensy 4.0 board. This video series is gold.

  • @AppliedMetaphysician
    @AppliedMetaphysician 5 лет назад +7

    Dude, I wanna be you when I grow up! :) Someone should give you some "no strings attached" funding for an independent R&D lab. The breadth of your knowledge across so many disciplines of engineering is truly amazing. Thank you for sharing the wealth!

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +3

      Thank you for your always uplifting comments! This really motivates me to keep going :-)

  • @sriharivishnubhatla
    @sriharivishnubhatla 5 лет назад +1

    The community needs people like you man...
    Hats off!!!
    and Thanks.
    waiting for the update video...

  • @christopherleveck1599
    @christopherleveck1599 5 лет назад

    I've been following your project/channel for a long time. Way to go with the GPS update. I am REALLY impressed. Keep it up. I can't wait to see how far you take this.

  • @jims408
    @jims408 5 лет назад

    Really impressive, especially at that ~1 meter level at the end. Remarkable! MANY THANKS!

  • @gholiamirza7673
    @gholiamirza7673 5 лет назад

    Wie immer großartig. Hoffentlich bleiben Sie uns lange erhalten Herr Brokking. Alles gute.

  • @ranjitroshan3101
    @ranjitroshan3101 5 лет назад +4

    You are great ! I have stated to build my own drone by learning from your videos

  • @aminezitouni8427
    @aminezitouni8427 5 лет назад

    I implemented the YMFC-AL on my quadcopter and it works fine. I'm waiting for your next videos on GPS hold algorithms.

  • @ahmedallam9612
    @ahmedallam9612 5 лет назад +2

    You certainly do invest a lot of time develloping & sharing this project with us, we really APPRECIATE the amont of effort you put on, THANKS

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +2

      Yep, it's a ridicules amount of work..... But it's not worth doing if you don't do it right ;-)

  • @AlvaroPandolphousa
    @AlvaroPandolphousa 5 лет назад

    What great news, great video and great progress .....Thanks again Joop

  • @takshchanana6952
    @takshchanana6952 5 лет назад

    Good Job! Now it's time to upgrade from ymfc-al to ymfc-32.

  • @danishliaquat
    @danishliaquat 5 лет назад

    You are really great, giving people such valuable information. I complete my College Project of Drone, following your videos of YMFC-32 AL. Thank You so much. I also aspect a lot of good from You. keep it Your journey of Success. God Bless You.

  • @plorks445
    @plorks445 5 лет назад

    That looks very stable!

  • @robsmit932
    @robsmit932 5 лет назад

    Leer ons alleen nog hoe, ere wie ere toekomt, de meeste respect te tonen. Petje af weer, alle respect.

  • @ELECTRONOOBS
    @ELECTRONOOBS 5 лет назад +2

    So awesome!!!! This is amazing and a lot of work!

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      Thank man, it is indeed a ridicules amount of work. But it's so cool that I still love to do it :-)

  • @agaelema
    @agaelema 5 лет назад

    Awesome job!! Thanks for share with us

  • @stompreaper
    @stompreaper 5 лет назад

    Really looking forward to you publishing this! I don't have a drone and this would be perfect for a first project :)

  • @mrgeek_india
    @mrgeek_india 5 лет назад

    Hey man... You are awesome... with your each new video... excitement get builds up... already ordered few STM32 blue pills... and waiting for moment you release source codes...

    • @takshchanana6952
      @takshchanana6952 5 лет назад

      @Ravi_maker i am also working on ymfc-al. Just waiting for ESC. you know me on rcindia

  • @ryt1sss
    @ryt1sss 5 лет назад

    Nice project! Algorithm is impressive :)

  • @HungVo-ic2vm
    @HungVo-ic2vm 5 лет назад

    I am very impressed and always follow you. Hope it can be as stable as the DJ phantom in the future.

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      That will never be the case. DJI uses so many techniques that I will not use. And please don't forget that I want this code to be as simple as possible.

  • @manojj2234
    @manojj2234 5 лет назад +1

    u are the official drone man of the planet !! hats off sir :)

  • @adelashour3253
    @adelashour3253 5 лет назад

    nice , go ahead Joop !

  • @_ninjax8
    @_ninjax8 5 лет назад

    Thank you very much

  • @xnivaxhzne
    @xnivaxhzne 5 лет назад

    Inspiring Joop Brooking

  • @usmanbhatti2100
    @usmanbhatti2100 5 лет назад

    Awesome... I really awaited your This project CODES and implement own project.... 😊😊😊

  • @divyanshu_harkhka
    @divyanshu_harkhka 5 лет назад +3

    Just one word.
    Wonderful.

  • @engineeringworks9151
    @engineeringworks9151 5 лет назад

    Love u . Doing great jop friend

  • @Thecollector901
    @Thecollector901 5 лет назад

    Hello i've been following you

  • @ericoudammerveld424
    @ericoudammerveld424 5 лет назад

    Mooi bezig, Joop. Momenteel ben in de BMP280 aan het testen (of een chinese replica) om een soort diefstal alarm te maken. (Atmega328p + BMP280 + RF transmitter op een CR2032).
    Doel is extreem low-power te zijn dus ik ben in deep sleep mode met een interrupt bezig en probeer zo native mogelijk te blijven qua spannig. Als het spanningsniveau laag genoeg is ga ik kijken of ik een PCB kan maken.
    Ik gebruik een mechanische trillingsensor om de interrupt te triggeren en verdere analyse via de BMP280 te doen.
    Werkt leuk, maar ik denk dat het beter kan.
    De BMP280 heeft best veel ruis, dus de average berekening helpt wel maar het blijft wat grof.
    Ik verwacht eigenlijk dat ik deze module ga vervangen met een eenvoudige gyroscoop met accelerometer.
    Ik heb er 3 besteld; een 1 assige, 3 assige en 6 assige; hopend dat de 1 assige al doet wat ik wil. (bij verplaatsing alarm geven)

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +1

      Klinkt als een uitdagend en mooi project!

  • @myetis1990
    @myetis1990 5 лет назад +1

    nice job joop. How did you improve stability? Did you use kalman for gps?
    Another question,
    I saw many approaches on filtering, what do you think about quaternion based complementary filter? is it worth to implement on our drone?

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +1

      For my project I'm trying to use the simplest filter method that works. This way everybody can understand it. Up till now I never felt the need for any other filter method than the good old complementary filter :-)

  • @dhruslab9563
    @dhruslab9563 5 лет назад

    Sir what type of ppm converter you are using for T6?????or Can we use any any type of ppm converter???

  • @madavaditya3449
    @madavaditya3449 5 лет назад

    Hey Joop, What is the max altitude of your quad??

  • @ParthBhat
    @ParthBhat 5 лет назад

    Thanks a lot for sharing.
    Just wanted to ask, have you ever given thoughts , for the arm programming and the rtos?
    That will give you more stable and powerful use of the stm32.
    And thanks for sharing with us.
    I've always shared your videos with all the people who wants to build quads!
    Cheers!

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад +1

      Thanks for the comment. For now I will focus on the STM32 first. It's cheap and easy to get. Porting it to another platform takes a lot of time because the registers are very different.

    • @ParthBhat
      @ParthBhat 5 лет назад

      Joop Brokking yes, no need to shift to other platform, just use the core programming for stm32 than the Arduino. You will get more power then!

  • @sukhee5
    @sukhee5 5 лет назад

    Hello. Where do i download and use that showing "YMFC-32 Telemetry" dos software.

  • @marwans4018
    @marwans4018 5 лет назад

    wow that is great, how to master arduino programming ? to make fligh controller using arduino

  • @jeanponte7205
    @jeanponte7205 5 лет назад

    I have a question for your balancing robot circuit ! What is « ACC » on your arduino mini pro clone ?? And where can i find this connection on an arduino uno ?

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      ACC is +5V. On the Arduino you can use the 5V pin.

    • @jeanponte7205
      @jeanponte7205 5 лет назад

      Hoo ok thank you ! And can i use the a4988 driver instead of the drv8825 like in your circuit ? Can this be a problem with connections ?

  • @connorb.3796
    @connorb.3796 5 лет назад

    Hallo Joop, ik heb de YMFC-AL gebouwd en vind deze fantastisch (binnenkort ga ik de YMFC-32 bouwen als Mn FTDI adapter innen is) maar ik heb een probleem, bij het aansluiten hoor ik vonken en ik zie brandplekken op de XT60 connectors, hoe kan ik dit voorkomen? Op internet las ik iets over capacitors, maar waar zou ik deze moeten plaatsen en hoeveel farad zouden deze moeten zijn?
    Alvast bedankt, Connor B.

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      Hallo Connor, Hier zou ik mij niet te druk over maken. Dit is gewoon de vonk voor het opladen van de condensatoren van de ESC's. Bij alle stekkers komt dit voor en met condensatoren voorkom je dit niet. Wat je wel kan doen is heel snel de stekkers tegen elkaar drukken.

    • @connorb.3796
      @connorb.3796 5 лет назад

      Oké, alleen vind ik het nogal raar dat dit elke keer gebeurd en dat Mijn batterij warm wordt, naar vuur ruikt en de connector er zwart van wordt

  • @connorb.3796
    @connorb.3796 5 лет назад

    Hallo Joop,
    Ik had een vraag; hoeveel ampere gaat er door de 'high current' draden heen en hoe dik heb jij die draden?
    Alvast bedankt, Connor.

    • @connorb.3796
      @connorb.3796 5 лет назад

      Oh ja, nog een vraag; kan ik ook een andere batterij gebruiken? Bijvoorbeeld een 3000mAh batterij?

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      Ik gebruik de draden die aan de ESC's zitten. De stroom kan oplopen tot ongeveer 15A en 1,5mm2 moet voldoende zijn.Ik vlieg zelf met een 3800mAh Lipo en dat gaat prima.

    • @connorb.3796
      @connorb.3796 5 лет назад

      Bedankt!

  • @nldestinyx1440
    @nldestinyx1440 5 лет назад

    Have you looked into using the Galileo positioning system? The accuracy that Galileo provides is 10cm up to 1 cm of I'm correct

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      You probably mean the RTK system from ublox? With standard 'single' GPS modules you will never get 1cm accuracy.

    • @nldestinyx1440
      @nldestinyx1440 5 лет назад

      Joop Brokking nope I don't. I cant see Galileo in the data sheet of this module. Check out the specs here: nl.wikipedia.org/wiki/Galileo_(navigatiesysteem)#Vergelijking_met_andere_systemen

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      I always prefer to use the datasheet of the manufacturer in stead of Wikipedia. They are the ones who have to build it:www.u-blox.com/sites/default/files/NEO-M8-FW3_DataSheet_%28UBX-15031086%29.pdfAs you can see they haven't set a accuracy yet as the system isn't fully operational (2020). On the ESA site however they still talk about tens of centimeters in ideal situations.

    • @nldestinyx1440
      @nldestinyx1440 5 лет назад

      Joop Brokking That is true, are you going for an upgrade by the time?

  • @winters.innovative.solutions
    @winters.innovative.solutions 5 лет назад

    Any thoughts on making a small quadcopter that could safely fly indoors. I teach electronic and flying outdoors has a lot of rules about airports and cell towers. Thank you I love your channel. Maybe four or more ultrasonic sensors. Peace!

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      In the Netherlands we have a weight limit for "'unlimited" usage. You could check this in your own country. As adding extra sensors requires an enormous amount of time I will not add them for now. Hope you understand :-)

    • @winters.innovative.solutions
      @winters.innovative.solutions 5 лет назад

      Thank you for replying! No worries! Love your channel. Keep up the great content.
      R

  • @dawidszewczyk7334
    @dawidszewczyk7334 5 лет назад

    Hi Joop, what happens to your Web site. Can't download any software for stm32.

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      My server is down for the moment. And it will take a while to get it running again. Very inconvenient :-(

  • @RedGamingCZ
    @RedGamingCZ 5 лет назад

    Hello, I have been trying to build a *YMFC-AL* , but I have problems with the MPU6050.
    Calibration went well, but when running the ESC calibration and typing 'r' will give us weird results when I was trying to test it by tilting. The value goes rapidly up, when i raise, for example, the front, and when I put it back, it goes all the way down over zero to some negative/positive value (around -35). Then, this number's distance to zero decreases over time and will return to zero after approx. 60 seconds.
    Here is a graph of my values: ctrlv.cz/shots/2018/08/20/tbEu.png
    I have tested the MPU6050 and it seems everything is all right. As I don't undersand the advanced mathematics, do you suspect where the problem should be? I hope I explained it correctly :)
    Thank You very much for your help

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      If it overshoots it's angle the loop time of 4000us is exceeded. Make sure you have a 16MHz Arduino and set the correct board. You can only send one angle at a time from the flight controller code @57.6kbps. Otherwise the loop time is exceeded.

    • @RedGamingCZ
      @RedGamingCZ 5 лет назад

      I have an Arduino Uno set up correctly to 16MHz and I am printing out the loop time every sixth loop (so I only send one serial message per loop). Sometimes, the loop runs 4004 us, and sometimes 4008 us. I have tried changing the waiting while to 3992, 3994 and 3996, it got better, but it works only for a few seconds, because it takes every time a different time. I suspect this is caused by Arduino's interrupt timer. Is this the problem? I also tried to measure the time even before the waiting while, and it was around 2200 us. So I don't think there is a problem with overshooting the loop time. Thanks for your answer and for your help :)

    • @davidrajchman7162
      @davidrajchman7162 5 лет назад

      i am working with flagisalus on the project, i can send you video, of what it is doing, but basically when i tilt the quad copter to negative 45 degrees angle first few reading says the corect angle but the it starts to shift towards the positive 45 degree mark and when it reaches, it stops shifting and say +45 degree angle when i will level the quad again, ,it will say sth like 80 degree angle and then it will shift back to zero

    • @Joop_Brokking
      @Joop_Brokking  5 лет назад

      The problem that you described in your first post is a loop timing problem. If you run the YMFC-AL setup program does it correctly detect the "left wing up", "nose up", and "nose right" movements?

    • @davidrajchman7162
      @davidrajchman7162 5 лет назад

      @@Joop_Brokking yes it does, the setup process finished successfully.

  • @spotdoit6047
    @spotdoit6047 5 лет назад

    Please sir reply me

  • @Thecollector901
    @Thecollector901 5 лет назад

    And this is great. Could I get your email. So I could contact you. I'm building-drone-in-nepal