Quadcopter PID Tuning - Where to start ?

Started by anilkunchalaece, June 21, 2018, 08:58:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anilkunchalaece

 For a scratch build how to do tuning ?
All the open source Flight controllers comes with Default PID values.
But if you are writing code yourself , how to find those default values ?

Btw any suggestions for tuning setup are welcome

taksh

@anilkunchalaece
PID values are very hard to get. I am working of arduino based flight controller and diy receiver and transmitter.
You will need 3 potentiometer and some piece of mind for coding.
After all arduino and coding thing, start throttle and quad will try to balance itself and you have to disturb quad then quad will try to balance itself.You have to increase and decrease pid values so quad can be balanced. You will get pid values after many changes in PID values & testing.

You can check pid video of Joop brooking and Electronoobs.

anilkunchalaece

@taksh

I saw those videos.

did you complete implementation with test flight ?
My build reacting differently with and without string setup.

I tried tuning method specified in joop brooking videos. i.e increase D first then go for P, but no luck

taksh

@anilkunchalaece
There is no maiden flight of my quad  as recently my laptops instantly turned off when i tried to balance lipo with tp4056 module.
I have tried with motor spinning.
Today, i tested receiver there is an problem in my diy nrf24l01 receiver So, I am working on it.
My Diy Quad project is in progress.

PID values are very hard to get bro. Problem can be in gyro also as many people uses a double sided tape to stick mpu6050 with quad fame which is not good because of vibration.
Send photo videos of your diy flight controller

anilkunchalaece

I did used the double sided tape .
But with the same setup I get considerably good flight with ymfc code.
I can share the code if you guys wanna look into it.

taksh

@anilkunchalaece
Photos are not clear. Send video if possible

SKY KALAI

Hey bro can you send me a circuit diagram for quad copter ...please bro i have a
4×2200kv BRUSHLESS motor
4×30a ESC
2×right side propeller
2×leftside propeller
Flight controller kk2.1.5
5000mah lipo battery 3s
  Please send me a circuit diagram in the email of


Youtube = skykalai creations

anilkunchalaece

Right side and left side propellers ? (i have so much to learn, i only know cw and ccw) till now.
anyway , i still haven't get a takeoff with my build so i am not the proper guy to send you ckt diagram or any other thing.
but checkout : http://www.brokking.net/ymfc-al_downloads.html
he has everything (code,schematic and explanations)

taksh

@SKY KALAI
you have kk board then what you want?

anilkunchalaece

@taksh
I almost missed that part.

@SKY KALAI
there are lot of tutorials out there. did you try any of them
like these https://www.rcgroups.com/forums/showthread.php?2067758-KK2-1-Quick-Start-Guide

SKY KALAI

Quote from: SKY KALAI on June 24, 2018, 04:34:15 PM
Hey bro can you send me a circuit diagram for quad copter ...please bro i have a
4×2200kv BRUSHLESS motor
4×30a ESC
2×right side propeller
2×leftside propeller
Flight controller kk2.1.5
5000mah lipo battery 3s
  Please send me a circuit diagram in the email of



Youtube = skykalai creations

SKY KALAI

Atlas flight controller system .if any body want please feel free to contact 7904349761.. The atlas has a good condition ...price is 2500₹+ free shipping
1.main controller
2.GPS with built in compass module
3.GPS stand
4.LED module
5.3mm double tape 3 pieces



It is a reverse engineered of dji naza ..
Youtube = skykalai creations