Thread Tools
Old Feb 25, 2012, 01:03 PM
DV8ER is offline
Find More Posts by DV8ER
Registered User
Discussion

Quadcopter Oscillation Issues


Hi Guys,

Hoping someone might be able to give me some tips on how I can tune my PID settings to smooth out the flying on my Cadtomotion quad.

Recently fitted a Wii Gyro and Auto Level - LLC + ITG3205 Gyro + BMA180 Acc after which I've been having issues. Since fitting it I've been getting oscillation issues with auto level turned on and off.

Have tried lowering the P auto level to 5 but still no real improvement (guessing I need to tweak the gyro settings too but am looking for some advice ).

Also balanced the props and motors as I thought it might be vibration but this hasn't solved the issue.

The oscillation can also be felt when I hold the quad and got to 50% throttle...

Here are my base settings - the only thing i've tried to tune is level which I changed from 9 (shown here) down to 5 but this didn't really improve anything:


And a pic of the quad:



Any help or suggestion appreciated
Sign up now
to remove ads between posts
Old Feb 25, 2012, 01:15 PM
chaosdestro0 is offline
Find More Posts by chaosdestro0
Quad lover.
chaosdestro0's Avatar
Dampen the sensors also you should turn D down. Don't enable auto level until you get gyro working fine.
Old Feb 25, 2012, 01:33 PM
DV8ER is offline
Find More Posts by DV8ER
Registered User
Quote:
Originally Posted by chaosdestro0 View Post
Dampen the sensors also you should turn D down. Don't enable auto level until you get gyro working fine.
Thanks for the reply.

So turning down D on pitch and roll should help a bit - by around 5 maybe?

Any recommendations on dampening the sensors?
Old Feb 25, 2012, 01:40 PM
chaosdestro0 is offline
Find More Posts by chaosdestro0
Quad lover.
chaosdestro0's Avatar
Quote:
Originally Posted by DV8ER View Post
Thanks for the reply.

So turning down D on pitch and roll should help a bit - by around 5 maybe?

Any recommendations on dampening the sensors?
I use sponge for dampening, it flies OK at the moment so I think it works. D=Derivative value. The derivative term slows the rate of change of the controller output, if it's too high then it's slowing it down too much! Which means that it has to overshoot to compensate for the undershooting of the correction thrust.
I don't know much about this stuff, so be aware I might be drastically wrong.
Old Feb 25, 2012, 01:55 PM
warthox is offline
Find More Posts by warthox
Registered User
dampen the sensors
use lpf for the itg
which esc do u use? maybe they are not fast enough.
Old Feb 25, 2012, 01:57 PM
zerosight is offline
Find More Posts by zerosight
Registered User
Also a bendable construction could be a reason. Use stiff centerplates and fasten your screws very tight.
Old Feb 25, 2012, 02:03 PM
pug398 is offline
Find More Posts by pug398
Registered User
You should get it flying smooth before worrying about autolevel. Arm oscillations in gyro only mode is usually because P is set to high. If you start with the default settings and get oscillations try lowering P slightly. Changing sensors will often require you to retune settings. P is the gain of the gyro turn it up till it oscillates then back off slightly. I is the correction over time turn it up until it stops drifting and continue turning it up until it locks in the angle and does not float up in the front when you release stick. D controls how quickly it settles after making a attitude change.
Old Feb 25, 2012, 02:18 PM
DV8ER is offline
Find More Posts by DV8ER
Registered User
Quote:
Originally Posted by chaosdestro0 View Post
I use sponge for dampening, it flies OK at the moment so I think it works. D=Derivative value. The derivative term slows the rate of change of the controller output, if it's too high then it's slowing it down too much! Which means that it has to overshoot to compensate for the undershooting of the correction thrust.
I don't know much about this stuff, so be aware I might be drastically wrong.
Sounds like its worth a try, thanks

Quote:
Originally Posted by warthox View Post
dampen the sensors
use lpf for the itg
which esc do u use? maybe they are not fast enough.
Hey warthox, thanks for the reply - its thanks to your vids that I got into quadcopters.

What does lpf for the itg mean (sorry noob)?

The sensors are attached the daughterboard which is mated to the xcopter board which all together is hard bolted the the chassis... maybe if I attach this using a few layers of double sided foam tape it might take out some of the vibrations.

ESCs are 10 Amp Hobbywing Pentium ESC

Pic of how the two boards are mated to the chassis - I have tried adding some rubber washers but get the impression this is not enough dampening:


Quote:
Originally Posted by zerosight View Post
Also a bendable construction could be a reason. Use stiff centerplates and fasten your screws very tight.
It has two plates either side of the arms with two bolts running through - construction seems very stiff and strong.
Old Feb 25, 2012, 02:31 PM
milo12 is offline
Find More Posts by milo12
Registered User
Here is an excellent video on PID tuning.

OpenPilot TV Episode 2: PID Tuning (36 min 51 sec)
Old Feb 25, 2012, 02:48 PM
SeismicCWave is offline
Find More Posts by SeismicCWave
AMA 46133
>>Pic of how the two boards are mated to the chassis<<

You can add a thousand rubber washers and you won't get any isolation. The bolts are transmitting all the vibration from your frame to the board. You need to isolate the bolts.

LPF = low pass filter.
Old Feb 25, 2012, 02:58 PM
warthox is offline
Find More Posts by warthox
Registered User
esc are ok.
u should definitely dampen the sensors itself. i use 3 layers of double sided mirror tape.
most of my quads fly perfect with default pids.

Old Feb 25, 2012, 03:19 PM
DV8ER is offline
Find More Posts by DV8ER
Registered User
Quote:
Originally Posted by pug398 View Post
You should get it flying smooth before worrying about autolevel. Arm oscillations in gyro only mode is usually because P is set to high. If you start with the default settings and get oscillations try lowering P slightly. Changing sensors will often require you to retune settings. P is the gain of the gyro turn it up till it oscillates then back off slightly. I is the correction over time turn it up until it stops drifting and continue turning it up until it locks in the angle and does not float up in the front when you release stick. D controls how quickly it settles after making a attitude change.
Thanks for the info bud.

Quote:
Originally Posted by milo12 View Post
Here is an excellent video on PID tuning.
Thanks mate

Quote:
Originally Posted by SeismicCWave View Post
>>Pic of how the two boards are mated to the chassis<<

You can add a thousand rubber washers and you won't get any isolation. The bolts are transmitting all the vibration from your frame to the board. You need to isolate the bolts.

LPF = low pass filter.
I thought that might be the case, rubber bolts would be amazing... LOL

Is LPF a setting in multi wii or adding dampening - sorry bit slow today.


Quote:
Originally Posted by warthox View Post
esc are ok.
u should definitely dampen the sensors itself. i use 3 layers of double sided mirror tape.
most of my quads fly perfect with default pids.

Cool thanks - the old gyro in the main board had 2 layers of that tape and that seemed fine... on the daughter board the sensors are hard attached without this padding...

I agree - I think the sensor dampening is to blame here - looks like I'm going to have to do some modifying.
Old Feb 25, 2012, 04:05 PM
warthox is offline
Find More Posts by warthox
Registered User
Quote:
Originally Posted by DV8ER View Post
Is LPF a setting in multi wii or adding dampening - sorry bit slow today.
u have to set the lpf in the multiwii fw before uploading.
Old Feb 26, 2012, 01:09 AM
Stunt Double is offline
Find More Posts by Stunt Double
Registered User
One thing that stands out is your high YAW "P" value and the RATE. I would back it off to about 7 with a rate of 0.2 and see if that makes an improvement.
Old Mar 01, 2012, 04:20 PM
DV8ER is offline
Find More Posts by DV8ER
Registered User
Thanks for all the comments guys - Ian at cadtomotion is kindly adding some dampening to the sensor for me, highly recommend his quads and his customer service is amazing (if anyone would like a review of his 350 quad let me know).

In the mean time i've flown with gyro only, lpf, extra dampening and pid tweaks and got this video today. Excuse the music and camera work - one of the guys was kind enough to capture it on his iPhone for me.

Cadtomotion 350 Quadcopter (2 min 7 sec)


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion rotor disk oscillation pouakai Micro Helis 2 Dec 02, 2011 09:54 PM
Discussion Whats the full power kinda "oscillation" SilentHunter Electric Ducted Fan Jet Talk 2 Jun 17, 2011 04:11 AM
Discussion Askman Oscillation issues Avenger GBU-1H Aerial Photography 10 Aug 19, 2009 04:06 PM
HB Problem - slow oscillation issues zagisrule! Micro Helis 6 Feb 20, 2005 12:13 AM
Oscillation problem with Phoenix 45 and Jeti 30-3 iflyelectric Power Systems 4 Oct 02, 2003 05:27 AM