Crazyflie Bolt PID Tuning

Discussions about quadcopters/multi-rotors
Post Reply
cfnewbie
Beginner
Posts: 24
Joined: Wed Jun 17, 2020 8:51 am

Crazyflie Bolt PID Tuning

Post by cfnewbie »

Hi,

i am tuning the position and velocity PID for my crazyflie bolt, however no matter how i adjust the PID values i cant get rid of the oscillation when the drone reach the set point and stops.

Does this has something to do with the rate PID? can anyone enlighten me please. Thanks in advance
Attachments
photo_2021-11-30_15-12-53.jpg
photo_2021-11-30_15-12-53.jpg (8.96 KiB) Viewed 8744 times
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie Bolt PID Tuning

Post by tobias »

Hard to tell what is causing it so I'm just going to ask some questions.
1. What type of positioning system are you using?
2. Are you getting fast oscillations or slow?
3. Are the propellers balanced?
cfnewbie
Beginner
Posts: 24
Joined: Wed Jun 17, 2020 8:51 am

Re: Crazyflie Bolt PID Tuning

Post by cfnewbie »

1. loco positioning in TWR mode
2. Slow oscillation, There is no oscillation when it travel from Point A to Point B, only oscillates when coming to a stop at Point B
3. The propellers are balanced

Does rate PID affects the drone when using loco position system?

Thanks Tobias!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie Bolt PID Tuning

Post by tobias »

It sounds a bit like oscillations due to the position noise of the loco positioning system.

The rate PIDs are the lowers level of control so if they are badly tuned they would effect the flight overall. In your case I get the feeling they are tuned good enough though.
Post Reply