[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - AQ Motor outputs show large swing (and clipping)

AQ Motor outputs show large swing (and clipping)

The last Bastion to fine tune your FC matching your airframe & setup

AQ Motor outputs show large swing (and clipping)

Postby johandm_be » Wed Sep 25, 2013 4:55 am

Hi,

We are trying to set up an X650 frame with AutoQuad.
The frame is a quad-X configuration.
We're using ESC32, and the motors are 2217 (880Kv). The props are 13x4.
For the craft to hover, we have to hold throttle at about 40%.

The AQ is running firmware 6.6.1
This our first attempt to setup an AutoQuad - we have worked with other controllers in the past.

Initially, the copter was very unstable in manual mode.
After experimenting with the PIDs, we did get it better. It flies OK now in manual mode; but (just for the sake of comparison) not quite as good as a DJI Naza in manual mode.

We changed the following PIDs from their defaults:

Tilt Rate D 5200 (default was 7180)
Tilt Angle P 20 (default was 60)
Tilt Angle D 1300 (default was 1744)


While reviewing the logs, we noticed that the motor outputs are always clipped. See the included screenshot.
Is my understanding correct that this is something we still need to fix using the PIDs? Or could there be another cause for that?
If it is the PIDs, which parameter(s) should we focus on in this case?

The troubleshooting Attitude PID in the AQ online manual suggests "Put I and D terms to zero. Start tuning your P alone, and then move to I, and then to D.", but if we do that then it is completely uncontrollable. I get the impression it cannot fly at all with Tilt Rate D = 0.

We'd appreciate all the help we can get.

Kind regards,
Johan.
Attachments
motors.PNG
log of motor output while hovering in manual mode.
motors.PNG (39.25 KiB) Viewed 10425 times
johandm_be
 
Posts: 40
Joined: Tue Mar 12, 2013 3:27 pm
Location: Belgium

Re: AQ Motor outputs show large swing (and clipping)

Postby LPR » Wed Sep 25, 2013 5:51 am

Johan

Your problem is very common. You need to balance the props carefully and you still may have vibration issues if you frame is not ridged enough.

When the vibrations are small enough you will be able to fly very well with the default settings if your parameter file is good. Lowering Tilt rate D is needed sometimes.

Have you set the throttle factor so your quad will hover at 50% throttle?

Larry
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: AQ Motor outputs show large swing (and clipping)

Postby johandm_be » Wed Sep 25, 2013 6:11 am

Hi Larry,

Thank you for your help.

We did balance the props very carefully (both horizontal and vertical).

So, you think our problem is likely more due to vibrations than to PIDs at this point?

I have not yet set the throttle factor, but I am aware that settings exists (and we'll need it when we want to switch into PH). I mentioned the 40% position to indicate that the power to weight ratio of our copter is OK.

Thanks again and kind regards,
Johan.
johandm_be
 
Posts: 40
Joined: Tue Mar 12, 2013 3:27 pm
Location: Belgium

Re: AQ Motor outputs show large swing (and clipping)

Postby Max » Wed Sep 25, 2013 6:26 am

Hi Johan,

I suggest you post some full logs of your flight(s). The AQ is certainly more sensitive to vibrations than a Naza, but it's hard to tell what is going in your situation w/out more information.

Cheers,
-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: AQ Motor outputs show large swing (and clipping)

Postby johandm_be » Wed Sep 25, 2013 7:55 am

Hi Max,

Thanks for your message. I have attached the full log.

Thanks & kind regards,
Johan.
Attachments
016-AQL.LOG
(3.59 MiB) Downloaded 576 times
johandm_be
 
Posts: 40
Joined: Tue Mar 12, 2013 3:27 pm
Location: Belgium

Re: AQ Motor outputs show large swing (and clipping)

Postby Max » Wed Sep 25, 2013 10:17 am

Yea vibrations seem to be an issue...

Yours:
ACC_XY-johan.png


What you want it to look like (this one has 6 motors):
ACC_XY.png


Your vibrations on the Y axis are worse than on the X for some reason. Also check the MOT_YAW graph -- the quad is compensating in one direction, perhaps due to a slightly tilted motor or other power imbalance. You want the average yaw output to be around zero, like the pitch and roll outputs.

Another comparison of vibration levels, perhaps useful... both graphs here are with well balanced props, just different brands and material: viewtopic.php?f=24&t=2318&p=13047&hilit=vibration#p13047

You will find more discussion on vibration issues on this forum since it's a fairly common problem, as Larry mentions.

HTH,
-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: AQ Motor outputs show large swing (and clipping)

Postby johandm_be » Wed Sep 25, 2013 10:55 am

Hi Max,

Thank you for looking at my log and for pointing this out. We will work on the vibration levels of the setup.

Thanks again and kind regards,
Johan.
johandm_be
 
Posts: 40
Joined: Tue Mar 12, 2013 3:27 pm
Location: Belgium

Re: AQ Motor outputs show large swing (and clipping)

Postby Cookiemonsta » Wed Sep 25, 2013 2:04 pm

Did you do the static and dynamic balancing of the prop? I always just check against static imbalance, put the prop on the motor and balance the whole prop-motor combo dynamically with a laserpointer and a mirror. That gives very low vibrations ;)

Cookie
Cookiemonsta
 
Posts: 126
Joined: Thu Apr 11, 2013 3:31 pm

Re: AQ Motor outputs show large swing (and clipping)

Postby johandm_be » Wed Sep 25, 2013 3:05 pm

Hi Cookie,

Thanks for the advice. So far we only did static balance. Hmmm... I need to think about how to make the setup to do the dynamic balance. I have seen samples on Youtube, I'll have look at these again.

Thanks & kind regards,
Johan.
johandm_be
 
Posts: 40
Joined: Tue Mar 12, 2013 3:27 pm
Location: Belgium

Re: AQ Motor outputs show large swing (and clipping)

Postby LPR » Wed Sep 25, 2013 3:24 pm

Johan

A photo of the quad might help to understand the problem. How the AQ board is mounted sometimes causes increased vibrations.

Larry
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Next

Return to PID Tuning

Who is online

Users browsing this forum: No registered users and 34 guests