paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Strange throttle behavior


From: Simon Wilks
Subject: Re: [Paparazzi-devel] Strange throttle behavior
Date: Sun, 1 Jan 2012 22:52:49 +0100

I had already set the queue length to 10 as follows:

<define name="I2C_TRANSACTION_QUEUE_LEN" value="10"/>

However, I just noticed a comment by Felix in this thread that the following will not take effect for STM32 devices:

<configure name="MKK_I2C_SCL_TIME" value="50"/>

Did you change it in the code directly? How exactly?


Interestingly, while testing on the work bench this evening I am noticing two things:

1) At low idling RPM I get one of the motors (can't tell which yet if it is only one) occasionally clicking or knocking once and when on an external power supply everything (Lisa/L?) seems to restart. Could not reproduce on the Lipo.

2) Occasionally the Lisa/L just freezes (motors stop, LEDs stop flashing, etc.) when I drop the throttle down to idle. Only a power cycle recovers.

Either this is I2C related issues messing things up or I have a bad contact somewhere. Testing testing...

Thanks

Simon

On Sun, Jan 1, 2012 at 10:01 PM, Eduardo lavratti <address@hidden> wrote:
Well, the not had any i2c problem with lisa/m.
My accident occour with mikrokopter board.

BTW, you increased the i2c buffer ?
With default value the motor 7 and 8 of my copter suddent start somy times.

About strange behavior when landing, my copter continue with dangerous jumping if i land without care.

regard.



Date: Sun, 1 Jan 2012 15:28:09 +0100

From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Strange throttle behavior

OK, there has been a break in the weather and I was able to test again using the params Eduardo suggested. Here is how things went:

Step 1:
I started of hanging the octocopter from a bungee chord so it was suspended just above the ground and a strong string from the ground to the octocopter limiting its height. This worked pretty well and I was able check if everything was basically behaving correctly.

Step 2:
I moved the copter out to the middle of the garden and attached a 5 meter string to the bottom just in case it wants to go out of control.

Step 3:
Fly :) I was able to hover a few times. It certainly was fairly touchy but it wasn't so bad and was certainly flyable. I was also only 1-1.5 meters off the ground which probably still meant it was getting some turbulence.

Trouble Strikes:
I landed after hovering for 15-20 secs and the motors idling then all of a sudden (a few seconds later) the two front motors went to full power and it did a back flip! It looks like I only broke the two front props.

@Eduardo: this reminds me of your description of the i2c error you tried to reproduce when you had your accident. 

Any suggestions what I should check before trying again?

Thanks

Simon

On Sat, Dec 31, 2011 at 3:51 PM, Simon Wilks <address@hidden> wrote:
Now I am waiting for the weather to improve. Lots of rain here at the moment.
What kind of attitude problems were you experiencing? Generally unstable?
Simon
On Dec 28, 2011 5:44 PM, "Eduardo lavratti" <address@hidden> wrote:
I wait your tests.

My rotorcraft stay with lotz os strange behavior in attitude and i think you will have the same problem.
happy new year.

Date: Wed, 28 Dec 2011 07:50:16 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Strange throttle behavior

Hi!
Unfortunately the Christmas break has kept me very busy. I hope to get a chance to re-test in the next couple of days. I will update this thread with the results.
Simon
On Dec 28, 2011 4:38 AM, "Eduardo lavratti" <address@hidden> wrote:
Some news Simon ?


> Date: Tue, 20 Dec 2011 13:33:19 +0100
> From: address@hidden
> To: address@hidden
> Subject: Re: [Paparazzi-devel] Strange throttle behavior
>
> If you mean the bound_commands_step that was added by Piotr in May,
> but unless SUPERVISION_MAX_NEGATIVE_MOTOR_STEP or
> SUPERVISION_MAX_POSITIVE_MOTOR_STEP is explicitly defined in the
> airframe file that is not used...
>
> On Tue, Dec 20, 2011 at 1:20 PM, antoine drouin <address@hidden> wrote:
> > I just looked at the file and noticed that someone added a sort of low
> > pass filter in there. It would probably be nicer to handle the
> > dynamics of the commands in the stabilization layer.
> >
> > On Tue, Dec 20, 2011 at 1:14 PM, antoine drouin <address@hidden> wrote:
> >> take a look at
> >>  paparazzi/sw/airborne/firmwares/rotorcraft/actuators/supervision.c
> >> This was my first attempt at handling actuators saturation issues. You
> >> are correct that the attitude stabilization is given priority over
> >> vertical guidance. It's based on the assumption that the angular
> >> dynamic is faster than the vertical one.
> >>
> >> Poine
> >>
> >> On Tue, Dec 20, 2011 at 1:06 PM, Simon Wilks <address@hidden> wrote:
> >>> Hi Felix,
> >>>
> >>> On Tue, Dec 20, 2011 at 2:09 AM, Felix Ruess <address@hidden> wrote:
> >>>>
> >>>> Hi Simon,
> >>>>
> >>>> yes, when it's armed the motors will idle at low rpms with zero
> >>>> throttle on the RC.
> >>>> From your config it looks like you were testing in attitude_direct
> >>>> mode?
> >>>
> >>> Correct.
> >>>
> >>>>
> >>>> In that case the guidance_v p gain does not play any roll at
> >>>> all, since throttle is directly controlled via RC.
> >>>
> >>>
> >>> I see. I will give it a try seeing Eduardo seems to think it helps. It will
> >>> at least not hurt if it isn't used.
> >>>>
> >>>>
> >>>> I haven't heard or experienced your problem with throttle lag
> >>>> before... maybe it's a problem with 8 motors and i2c? That is a shot
> >>>> in the dark, but you could test with increasing the i2c queue to more
> >>>> than 10 (that's just what others reported on the mailing list for 8
> >>>> motors).
> >>>>
> >>>>
> >>>> When you hold the quadcopter with zero throttle and tilt it a bit it
> >>>> should immediately try to compensate for that.... sluggish response to
> >>>> that might indicated an i2c queue problem...
> >>>
> >>>
> >>> When I tip the copter in any direction it seems to respond correctly and
> >>> very quickly. I will probably give the i2c queue adjustment a try as well.
> >>>>
> >>>>
> >>>> With respect to switching off attitude control at zero RC throttle
> >>>> input: I didn't quite get why you'd want to switch that off and IMHO
> >>>> opinion that is not such a good idea (at least I can't think of a
> >>>> reason right now).
> >>>> E.g. when you want the copter to fall really quickly and you take the
> >>>> throttle to zero, you really don't want stabilization completely
> >>>> switched off.
> >>>
> >>>
> >>> OK, I agree that it probably isn't a good idea then :) Didn't think of that.
> >>>
> >>> The throttle issue only happens when the copter is in flight and I have
> >>> never noticed something like this when throttling up (and then down) while
> >>> remaining on the ground. I wonder if this is an effect of it overdoing the
> >>> attitude control as it should be sinking and it just puts too much power
> >>> into the stabilization attempts, at least for an octocopter?
> >>>
> >>> Thanks,
> >>>
> >>> Simon
> >>>
> >>>>
> >>>> If one wanted to do that at all, one could think about using something
> >>>> like the autopilot_in_flight state to check if the copter is not in
> >>>> flight AND the rc throttle at zero to switch it off... but that would
> >>>> need some modifications for takeoff.
> >>>>
> >>>> Cheers, Felix
> >>>>
> >>>> On Mon, Dec 19, 2011 at 7:42 PM, Simon Wilks <address@hidden> wrote:
> >>>> > On Mon, Dec 19, 2011 at 6:23 PM, Eduardo lavratti
> >>>> > <address@hidden>
> >>>> > wrote:
> >>>> >>
> >>>> >> As i tell you ... i have the same behavior when i using a HIGH valeu on
> >>>> >> guidance_V P parameter.
> >>>> >
> >>>> > OK, got it.
> >>>> >
> >>>> >
> >>>> >>
> >>>> >>
> >>>> >> This is the first think that i will modify in PPZ software.
> >>>> >> When the throttle is around 0 the ATTITUDE control stop control the
> >>>> >> motors.
> >>>> >
> >>>> > That would be great. This is pretty nasty (and extremely surprising)
> >>>> > behavior.
> >>>> >
> >>>> > Thanks
> >>>> >
> >>>> > Simon
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> ________________________________
> >>>> >> Date: Mon, 19 Dec 2011 09:56:34 +0100
> >>>> >> From: address@hidden
> >>>> >> To: address@hidden
> >>>> >> Subject: Re: [Paparazzi-devel] Strange throttle behavior
> >>>> >>
> >>>> >>
> >>>> >> I just replayed the logs and the GCS shows the throttle input going to
> >>>> >> 0%
> >>>> >> after about 3 secs but the octocopter was clearly still flying for
> >>>> >> another
> >>>> >> 3-4 secs after this I till I hit the kill switch.
> >>>> >>
> >>>> >> On Sun, Dec 18, 2011 at 10:13 PM, Simon Wilks <address@hidden>
> >>>> >> wrote:
> >>>> >>
> >>>> >> On Sun, Dec 18, 2011 at 10:06 PM, Hector Garcia de Marina
> >>>> >> <address@hidden> wrote:
> >>>> >>
> >>>> >> Yeah,
> >>>> >>
> >>>> >> regarding the safety, I agree with Eduardo, next time DO NOT run next
> >>>> >> to
> >>>> >> the copter if you have lost its control until it completely
> >>>> >> is switched off.
> >>>> >>
> >>>> >>
> >>>> >> Yes you are right. I should keep clear till it has settled.
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> Cheers
> >>>> >>
> >>>> >>
> >>>> >> On Sun, Dec 18, 2011 at 9:31 PM, Eduardo lavratti
> >>>> >> <address@hidden>
> >>>> >> wrote:
> >>>> >>
> >>>> >> Hey man ... take care with your tests !
> >>>> >> This props and motors are very POWER and DANGEROUS !
> >>>> >> Take a look at this pictures
> >>>> >> http://brquad.blogspot.com/2011/04/little-acident-with-my-big-hexa.html
> >>>> >> This accident occurred when i make some tests with my big hexa whit
> >>>> >> same
> >>>> >> motors and props.
> >>>> >> Never make this tests with children arround.
> >>>> >> Well, for the JUMP problem reduce the "guidance_V / hover_KP" and make
> >>>> >> a
> >>>> >> test.
> >>>> >>
> >>>> >> Make the same for wooble. Reduce the P & D GAIN parameter for Theta and
> >>>> >> Phi . You see this values in STABILIZATION_ATTITUDE section.
> >>>> >> Reduce P for 300 and make a test.
> >>>> >>
> >>>> >> Stay sure that your props are very well balanced or your lisa board
> >>>> >> have a
> >>>> >> good vibration isolation.
> >>>> >>
> >>>> >> When i make my first fly using lisa/m i have similar attitude on me
> >>>> >> small
> >>>> >> octo (5"props) and on my quad (8" props)
> >>>> >> after i balance the props and make a good vibration isolation all
> >>>> >> problems
> >>>> >> are solved.
> >>>> >>
> >>>> >> Regards and sorry for my poor english.
> >>>> >>
> >>>> >> Eduardo Lavratti
> >>>> >> Brasilian UAV developer.
> >>>> >>
> >>>> >>
> >>>> >> ________________________________
> >>>> >> Date: Sun, 18 Dec 2011 20:38:21 +0100
> >>>> >> From: address@hidden
> >>>> >> To: address@hidden
> >>>> >> Subject: [Paparazzi-devel] Strange throttle behavior
> >>>> >>
> >>>> >>
> >>>> >> Hi
> >>>> >>
> >>>> >> I have been noticing what seemed like a lag in throttle control though
> >>>> >> I
> >>>> >> wasn't 100% sure till my first test flight today (octocopter, lisa/l,
> >>>> >> spektrum satellite receiver). While on the ground I don't seem to
> >>>> >> notice
> >>>> >> this effect but when holding it above my head or lifting off strange
> >>>> >> things
> >>>> >> start to happen.
> >>>> >>
> >>>> >> When holding it above my head changing the throttle on the sender seems
> >>>> >> to
> >>>> >> take a second or two till it happens on the copter. I have also noticed
> >>>> >> what
> >>>> >> seems to be a general increase in throttle all of sudden, not just to
> >>>> >> correct attitude but like a it wants to pull up and away.
> >>>> >>
> >>>> >> When I tried the first flight today I got a bit of a shock when I
> >>>> >> wanted
> >>>> >> to just lift off a bit then set down only to discover it did not want
> >>>> >> to
> >>>> >> respond to the fact that I had returned the throttle back to zero and
> >>>> >> skipped off across the garden. In the end I had to flick the kill
> >>>> >> switch.
> >>>> >> Pretty funny after the event. I have a video if you want a laugh here.
> >>>> >>
> >>>> >> You will see the props rotating at minimum speed (zero throttle on the
> >>>> >> sender) after arming. I assume this is correct? One of the props isn't
> >>>> >> rotating properly and I suspect it might have a problem and need
> >>>> >> swapping
> >>>> >> with a spare (it has a bit more resistance to the hand when rotating
> >>>> >> than
> >>>> >> the others) but I thought it might be OK to try a small hover anyway.
> >>>> >>
> >>>> >> Any ideas what causes this kind of throttle behavior? Pitch and roll
> >>>> >> seem
> >>>> >> pretty responsive. Here is the aircraft config.
> >>>> >>
> >>>> >> Thanks
> >>>> >>
> >>>> >> Simon
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> _______________________________________________ Paparazzi-devel mailing
> >>>> >> list address@hidden
> >>>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >>
> >>>> >> _______________________________________________
> >>>> >> Paparazzi-devel mailing list
> >>>> >> address@hidden
> >>>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> --
> >>>> >> Héctor
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> _______________________________________________
> >>>> >> Paparazzi-devel mailing list
> >>>> >> address@hidden
> >>>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >>
> >>>> >> _______________________________________________ Paparazzi-devel mailing
> >>>> >> list address@hidden
> >>>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >>
> >>>> >> _______________________________________________
> >>>> >> Paparazzi-devel mailing list
> >>>> >> address@hidden
> >>>> >> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >>
> >>>> >
> >>>> >
> >>>> > _______________________________________________
> >>>> > Paparazzi-devel mailing list
> >>>> > address@hidden
> >>>> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>> >
> >>>>
> >>>> _______________________________________________
> >>>> Paparazzi-devel mailing list
> >>>> address@hidden
> >>>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Paparazzi-devel mailing list
> >>> address@hidden
> >>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
> >>>
> >
> > _______________________________________________
> > Paparazzi-devel mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]