Carbon Aeronautics
Carbon Aeronautics
  • 27
  • 1 102 696
4 | Use the Root Locus method to tune a PID controller
Full code and manual on GitHub: github.com/CarbonAeronautics
In this video, you will learn how you can use the Root Locus method to optimise a PID controller mathematically.
The purpose of this video series is to learn the basic mathematics behind a quadcopter drone and enable you to optimise its controls yourself, by dividing this challenging project in several easy-to-understand parts.
Переглядів: 7 551

Відео

3 | How to simulate a PID controller mathematically
Переглядів 5 тис.Рік тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can simulate a PID controller mathematically. The purpose of this video series is to learn the basic mathematics behind a quadcopter drone and enable you to optimise its controls yourself, by dividing this challenging project in several easy-to-understand parts.
2 | How to simulate drone dynamics mathematically
Переглядів 10 тис.Рік тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can simulate the quadcopter drone dynamics mathematically. The purpose of this video series is to learn the basic mathematics behind a quadcopter drone and enable you to optimise its controls yourself, by dividing this challenging project in several easy-to-understand parts.
1 | How to simulate a drone motor mathematically
Переглядів 18 тис.Рік тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can simulate a quadcopter drone motor and the gyro sensor mathematically. The purpose of this video series is to learn the basic mathematics behind a quadcopter drone and enable you to optimise its controls yourself, by dividing this challenging project in several easy-to-understand parts.
20 | This Arduino code is a vertical velocity drone flight controller
Переглядів 20 тис.Рік тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can program a vertical velocity drone flight controller. 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 ...
19 | Combine an accelerometer and barometer to measure altitude
Переглядів 24 тис.Рік тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can measure the vertical velocity and altitude of your quadcopter by combining the measurements of the MPU6050 accelerometer and BMP280 altitude sensors through a two-dimensional Kalman filter. The purpose of this video series is to learn the basics behind a quadcopter drone and enable you to buil...
18 | Measure vertical velocity with the MPU6050 accelerometer
Переглядів 30 тис.Рік тому
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 u...
17 | Measure altitude with the BMP280 barometric sensor
Переглядів 22 тис.2 роки тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can measure the altitude of your quadcopter drone through the use of the BMP280 barometric 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 u...
16 | Program an angle mode flight controller in Arduino
Переглядів 22 тис.2 роки тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can program an angle mode flight controller for your drone from the angles calculated by the Kalman filter. 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 par...
15 | Combine a gyroscope and accelerometer to measure angles - precisely
Переглядів 189 тис.2 роки тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you a Kalman filter can combine gyroscope and accelerometer measurements from the MPU-6050 to give accurate roll and pitch angle data to the flight controller. 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 chall...
14 | Measure angles with the MPU6050 accelerometer
Переглядів 173 тис.2 роки тому
Full code and manual on GitHub: github.com/CarbonAeronautics In this video, you will learn how you can use the MPU6050 accelerometer to measure angles. 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 toge...
Build and program this Arduino drone yourself!
Переглядів 160 тис.2 роки тому
Video tutorials on UA-cam: www.youtube.com/@carbonaeronautics Full code and manual on GitHub: github.com/CarbonAeronautics Quadcopter frame PCB on OSHW lab: oshwlab.com/droneer/Carbon-Aeronautics-Quadcopter 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 par...
0 | You can build a drone with less than 40 components
Переглядів 86 тис.2 роки тому
Full code and manual on GitHub: github.com/CarbonAeronautics Quadcopter frame PCB on OSHW lab: oshwlab.com/droneer/Carbon-Aeronautics-Quadcopter In this video, you will explore all components of your quadcopter drone, and you will learn how to design your own frame printed circuit board (PCB) with EasyEDA. The purpose of this video series is to learn the basics behind a quadcopter drone and ena...
13 | This 170-line Arduino code is a drone flight controller
Переглядів 31 тис.2 роки тому
Full code available on GitHub: github.com/CarbonAeronautics/Part-XIII-FlightControllerRateMode In this video, you will explore the full flight control code that stabilises your quadcopter drone. 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 ...
12 | Program a PID controller to stabilize a drone
Переглядів 27 тис.2 роки тому
In this video, you will learn how you can stabilise your quadcopter drone using a PID controller. The controller that will be used will stabilise the drone based on its roll, pitch and yaw rotation rates 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....
11 | Learn how a drone moves through space
Переглядів 14 тис.2 роки тому
11 | Learn how a drone moves through space
10b | Assemble the upper frame and complete the drone!
Переглядів 9 тис.2 роки тому
10b | Assemble the upper frame and complete the drone!
10a | Assemble the lower frame of your drone
Переглядів 9 тис.2 роки тому
10a | Assemble the lower frame of your drone
9 | This transistor can switch 70A motor currents at 12V
Переглядів 12 тис.2 роки тому
9 | This transistor can switch 70A motor currents at 12V
8 | Control a brushless motor with a Teensy
Переглядів 18 тис.2 роки тому
8 | Control a brushless motor with a Teensy
7 | Connect a receiver to your Teensy in 30 Arduino code lines
Переглядів 22 тис.2 роки тому
7 | Connect a receiver to your Teensy in 30 Arduino code lines
6 | Take a brushless motor for a spin with a radio/receiver
Переглядів 21 тис.2 роки тому
6 | Take a brushless motor for a spin with a radio/receiver
5 | How to calibrate the MPU6050 with Arduino and Teensy
Переглядів 49 тис.2 роки тому
5 | How to calibrate the MPU6050 with Arduino and Teensy
4 | How to use the MPU6050 with Arduino and Teensy
Переглядів 41 тис.2 роки тому
4 | How to use the MPU6050 with Arduino and Teensy
3 | Measure battery lifetime with a voltage divider
Переглядів 23 тис.2 роки тому
3 | Measure battery lifetime with a voltage divider
2 | Control external LEDs with Arduino and Teensy
Переглядів 21 тис.2 роки тому
2 | Control external LEDs with Arduino and Teensy
1 | Get started with Arduino and the Teensy 4.0 microcontroller
Переглядів 39 тис.2 роки тому
1 | Get started with Arduino and the Teensy 4.0 microcontroller

КОМЕНТАРІ

  • @walterjuandedios4726
    @walterjuandedios4726 13 годин тому

    Very good explanation, I really learned a lot in this series of videos, very good.

  • @muslimkafa
    @muslimkafa 17 годин тому

    K=P*~H*Invert(L); error

  • @etesky
    @etesky 20 годин тому

    Uuuu, good stuff, explained step by step with how to use the data sheet, really a big thumb up! Programmed in Arduino, but not using the "Arduino sensor lib". It's really good. I am using ESP32 and programming using C, so without the Arduino environment. It's difficult sometimes, because I need to make my own driver for different things...

  • @abdulmajidmrebit9979
    @abdulmajidmrebit9979 2 дні тому

    Thank you for the great Project. Can you provide a link where we can buy all the parts in one kit?

  • @יעקברוטנברג
    @יעקברוטנברג 2 дні тому

    Hi, I have a question- why did you choose the motor power command to be 1150 ms and 1500ms?

  • @rootsquared383
    @rootsquared383 5 днів тому

    I get the first 3 beeps from the ESC but none after. Also, the red light doesn't turn off after the green light comes on

  • @odisseano
    @odisseano 10 днів тому

    Drone finalisé, monté et qui vole ! De bien suivre toutes les étapes permet de comprendre le montage du contrôleur de vole et de calibrer son drone ( surtout la partie réglage de l’accéléromètre). J’ai repris le programme qui est dans le doc pdf, apporté la petite modif proposée par «@have_fun1107 sur la vidéo 19. Pour ceux qui hésiteraient je confirme que ça marche. Merci Carbon Aeronautics.

  • @skate3333333
    @skate3333333 10 днів тому

    at @3:35 the R=Measurement uncertainty is written as (T^2 * 3^2) but at @4:44 code line 14 you implement the R as 3 * 3, is this an error and are you forgetting the T^2? or am i missing something?

    • @TheTinkeringTechie
      @TheTinkeringTechie 5 днів тому

      I also have that question. Looking at the general equations, it seems like it should just be 3^2, without the T^2. If you were to think of the units, p(k) is in units of degrees (multiplying degrees per second from gyroscope with seconds, and then squaring it, which gets us Q). In the Kalman gain equation, the numerator has units of degrees^2, but the denominator would have a term with units of degrees^2, while the second term (R), has units of (degrees*seconds)^2, because the number 3 is the uncertainty in degrees of the accelerometer (as opposed to the 4 degrees/second from the gyroscope). So the denominator has 2 terms with different units. The Kalman gain should just be a unitless value (which is the case if the numerator and the denominator both have units of degrees^2), so I think R should just be 3^2 degrees^2 to make the Kalman gain unitless. Idk if I am right, but it makes sense to me.

  • @MathaGoram
    @MathaGoram 11 днів тому

    Any plans for a sequel (with GPS and camera :grin)? Thanks all the same. I only wish that specific part numbers had been provided (e.g. DigiKey, Mouser) for PCBA orders. Of course, that just illustrates my ignorance too!

  • @prestonjerry366
    @prestonjerry366 13 днів тому

    @Carbon Aeronautics. Fantastic video. Please where can one get your upper and lower frames ? Can it be purchased directly from you ? Thank you !

  • @odisseano
    @odisseano 15 днів тому

    Drone testé avec ce programme; Ca vole!!😀

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

    Thanks alot for the vedio series. How can I order the PCB? I know put up a link for oshwlab but when I click on Purchas button all the components are shown but not the PCB. Am I able to get these parts in Sweden? Can someone help?

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

    Is it possible to build the quadcopter as is with ESCs that don't have a BEC wire?

  • @rickygoings4823
    @rickygoings4823 22 дні тому

    can I use a arduin mega ?

  • @samuelrheault164
    @samuelrheault164 25 днів тому

    Thanks for the great series of videos! Here we are using the PPM signal from 1000 to 2000 in a 12 bit resolution from 0 to 4095. Why aren't we converting the 1000-2000 in 0-4095?

  • @estebanb_
    @estebanb_ 25 днів тому

    Excelente trabajo!! Discúlpame por no poder escribir en inglés, pero agradecería que me pudieras dar alguna descripción del circuito de medición del empuje del motor. Muchas gracias! Un saludo desde Argentina

  • @rickygoings4823
    @rickygoings4823 Місяць тому

    can I use a arduino Mega

  • @techmontc8360
    @techmontc8360 Місяць тому

    Hi Sir, Good Day to you and thank you so much for your great tutorial. I try to study your schematic and having a hard time on how you powered up your teensy using external voltage ? I assume you use VIN pin or teensy right ?

  • @Prime-ct4xk
    @Prime-ct4xk Місяць тому

    Bro i want you back..

  • @srijitmandal6853
    @srijitmandal6853 Місяць тому

    Hi! Can anyone please explain me why are the motor inputs multiplied by 1.024? I know 1024 is the range of 10-bit resolution but sir is saying that this multiplication converts it into 12-bit. 😮😮. Man!! And, I don't get to know from any equation in the world 🌍 that 1.024 i.e. 1024/1000 multiplied by your motor inputs in microseconds will result in a 12-bit resolution.

  • @odisseano
    @odisseano Місяць тому

    Excellent comme d’habitude !! Le programme fonctionne directement !!

  • @_-JohnDoe-_
    @_-JohnDoe-_ Місяць тому

    as for beginning is not bad. but if you want to teach coding optimal subroutines (by running time and size) then adding float corrections in code - is not "hygienic" manner ;)

  • @_-JohnDoe-_
    @_-JohnDoe-_ Місяць тому

    now, when pointed about "heaviness" of kalman filter, need to test some different methods: 1d - exponential smoothing 2d - complementary filtering 3d - fixed method

  • @c-tecgamer322
    @c-tecgamer322 2 місяці тому

    Can we put wireless charging for this quadcopter ?

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

    The outer PID loop is using angles but the inner PID loop uses rate in deg/s. So it looks like we are using the angle from the outer PID as a desired rate of angle/second for the inner PID. Is this correct?

  • @ThinhNguyen-gj2rl
    @ThinhNguyen-gj2rl 2 місяці тому

    Love your vid so much, it helps me a lot tks bro

  • @sofe.sy0
    @sofe.sy0 2 місяці тому

    Thanks for the explanation Note: Those who downloaded the code and it did not work for them, add a suffix to the Arduino code file, which is .ino

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

    Where can i order this frame? Can i use a bigger frame and use a breadboard to make the drone? If i am to use a 250mm frame, are there any parameters in the coding that should be adjusted?

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

    Hello please i need help

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

    some ESCs do not have 5v input, Does this cause a problem?

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

    i want the reference book please

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

    could provide the references ?

  • @oscar-unj
    @oscar-unj 2 місяці тому

    Excellent!

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

    How do you mitigate the acceleration caused by the quadcopter itself? Since the accelerometer measures all the acceleration and not just the gravity. Your drone creates acceleration itself, in a certain direction at a time. And most of the time this acceleration can be bigger than the gravity itself. Doesn’t that corrupt the angle measurements?

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

      That's the beauty of the Kalmann filter : Actual vehicle acceleration is filtered out.

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

    Is there a CAD (DXF, STEP, etc.) drawing of the Lower Frame for public use? Thanks.

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

      Sorry, I posted in haste. The file is available in EasyEDA format. I just didn't turn the page from the Upper Frame to the Lower Frame.

  • @ars44pro
    @ars44pro 3 місяці тому

    Как я могу вычислить высоту из этих данных? Почему ускорение все время увеличивается

  • @michaeel4701
    @michaeel4701 3 місяці тому

    are you fan of f1? how did you mexico like

  • @tejassreenivas6183
    @tejassreenivas6183 3 місяці тому

    Are there any cheaper alternatives that i can use instead if a teensy 4.0?

  • @ThomasZiervogel
    @ThomasZiervogel 3 місяці тому

    Can you please post more motor - prop - esc combos that will work with this project? Having hard time finding these components in 2024.

  • @rizvanrazi4698
    @rizvanrazi4698 3 місяці тому

    not working

  • @ShehnaazBegum-ep1zq
    @ShehnaazBegum-ep1zq 3 місяці тому

    Please suggest me 150 A high side switch

  • @enstarven5506
    @enstarven5506 3 місяці тому

    thank u for your support

  • @MariaAnderson-e4i
    @MariaAnderson-e4i 3 місяці тому

    Hall John Taylor Susan Walker Dorothy

  • @krishpradhan6163
    @krishpradhan6163 3 місяці тому

    Where can i find the final code ?

  • @Rafaeldelucca-bd2vk
    @Rafaeldelucca-bd2vk 4 місяці тому

    Thank you

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

    i'm not getting these values my valeus are like thousands of altidtute and velocity is like -4k to 2k

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

    I got a issue where after I bend the gyroscope it stops working any inputs

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

    what if I dont use controler that is for drones but one of those like playstation joystick ?

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

    I like how the episodes start with 0 and not 1 😅

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

    i am unale to download the manual