LibrePilot Forum

General Category => General Discussion => Topic started by: Jeuke26 on February 11, 2016, 05:48:11 pm

Title: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 11, 2016, 05:48:11 pm
Hello Fellas,

Something went seriously wrong with my beloved  :'( virgin build and maiden flight and need the help of the pro's as I can't see where it went wrong.

I flew today for the first time to test my pids in open field. A few moments after I went up I wanted to perform a flip and the roll axis ( rattitude mode ) and the moment it turned about 90dregrees the motors stopped ( as should be programmed in Librelipot at 80 degrees ) BUT the motors didn't spool up again so fell out of the sky. Did it twice to be sure and second time broke arm as it fell from almost 15 meters like a brick. I had previous succes with other quads performing the same trick without issue. Not this time.
It felt like the cc3d didn't know what to do once on its side, or upside down.

All help is appreciated and will post the UAV settings in next post.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 11, 2016, 06:15:42 pm
here we go

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 11, 2016, 07:53:27 pm
Looks like there is something wrong with your config file, some values are not valid and stored as "nan"

Code: [Select]
<object id="0xA86BDC0A" name="StabilizationSettingsBank3">
            <field values="nan,nan,nan,nan" name="RollRatePID"/>
            <field values="nan,nan,nan,nan" name="PitchRatePID"/>
            <field values="nan,nan,nan,nan" name="YawRatePID"/>
            <field values="nan,nan,nan" name="RollPI"/>
            <field values="nan,nan,nan" name="PitchPI"/>
            <field values="nan,nan,nan" name="YawPI"/>

This means a corrupted memory i think, did you import old (OP) settings ?
Maybe try again with a fresh reboot.

Take a look at memory free under PFD > System panel.

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 11, 2016, 08:37:59 pm
What do you mean with a fresh reboot? Thanks for finding the error ( most likely ). Could you elaborate a bit more on your post and what it means?

Philip
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 11, 2016, 09:21:03 pm
Garbage because lack of memory usually.

If this values still on board, it cannot work safe.

Avoid strange settings like 90° for attitude response or/and 90° MaxAngle for cruise control.
This two settings can result in strange behavior :)

The Throttle range set to 90% max and GyroTau not LP default mean you imported old OP file at some point.

Upgrade&Erase settings and setup from scratch.

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 11, 2016, 09:52:09 pm
Ok thanks, all but the last sentence was Chinese. Will do a full clean setup. In the firmware tab I get a yellow warning triangle. Next to the firmware of the board as you probably can see. What does it mean?
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 11, 2016, 10:05:23 pm
Maybe you miss the red window close to the download link ?

(https://forum.librepilot.org/index.php?action=dlattach;topic=830.0;attach=1491)

https://librepilot.atlassian.net/wiki/display/LPDOC/Downloads

Nothing bad.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 09:20:08 am
How can I check myself if there is something wrong with the memory?
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 11:56:54 am
Maybe you miss the red window close to the download link ?

(https://forum.librepilot.org/index.php?action=dlattach;topic=830.0;attach=1491)

https://librepilot.atlassian.net/wiki/display/LPDOC/Downloads

Nothing bad.

could you help out again please. i did a complete reinstall. and watched how the firmware tab showed all green and went outside. yest again i was in flight mode 2, rattitude, to perform a flip and once again, it fell out of the sky, motors didnt spool up again. broke my second arm. once plugged in I saw that the CPU was orange saying reached max of 80% .... what goes wrong here everytime? rate mode flying went ok, attitude as well and rattitude as well, till i wanted to flip the quad and saw it behave like a brick. motors stopped and didnt spool up again, no leveling whatsoever. i saw i the advanced tab that pirouette compensation was unchecked, anything to do with it?

here are again my UAV setings.

Edit: could it have to do with the faxt that in the initial vehikel setup i choose one of the preset in the list ( black-out mini H )?

Edit 2: did again a full clean setup this time without any presets. All configured went out and....again fell out of the sky breaking my third arm in two days. Something is really wrong here. In rattitude once tilted to perform a roll everything stops working and turning and no regain of control with throttle or right sticks.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 12, 2016, 05:55:04 pm
There is numbers that looks strange, but no "NaN" this time....

The cruiseControl should stop motors after some angle: default is 105°, here set to 80°

Did you set the motor neutrals ? > motor starts at 1030 ?
Be sure the motor don't stop completely to still have some control over rotation.
The min motor is 5, maybe it really stop because wrong neutral ?

Try with quad in hand, without props and try to reproduce without fly and take attention to board reboot (monitor flighttime) or something weird
Can you give details for template you used ?

CPU alarm is caused by all options enabled: TPS, board rotation and Gimbal... maybe too much for CC3D
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 06:02:41 pm
Thanks a lot. Will try all of that and report back to you.

I didn't use a preset template this time and set everything myself including PiD that worked great ( as long as you didn't roll or flip ) the max angle at default 105 is it recommended over the 80degree I set. Is there some interference. Furthermore the props did spin nicely in idle at 1030, all four. Should put it higher?
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 12, 2016, 06:16:33 pm
The throttle still set to 90% max so you loaded some template, old config or not erased fine.

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 07:50:18 pm
The throttle still set to 90% max so you loaded some template, old config or not erased fine.

Well, it's obvious you know more than I do. I did upgrade and erase than, erase all settings in vehicle setup and choose a blank template. So to you, what should I do ( settings ) to get rid of this faulty behaviour?

Could you alter the settings and send me the UAV file?

Already much appreciated your help.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 12, 2016, 09:24:43 pm
I don't know what you are doing exactly but after a erase the Throttle should be set at 100%, not 90%. this value comes from old (OP) defaults.
Just did locally the wizard and Throttle still to 100%.

This can be a wrong erase.

- Connect board
- Upgrade&Erase button
- Wait until board remains connected automatically.

- Check settings, all should be erased: No output and no inputs defined so SystemHealth reports INPUT and OUTPUT red alarm.

- Enable Gimbal module and Save (needed to import settings from file attached)
- Power cycle board: Disconnect/Reconnect

- Import settings from file attached:
        - File > Import UAV Settings... and load file
        - Hit "Save to board" button and wait process end (100%)

- Power cycle board: Disconnect/Reconnect

About Settings attached: only bank1 used and no TPS, the max rate is set to 500deg/s.
Flightmodes still the same for you.

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 11:04:48 pm
Well again thanks for all the help. What I don't get is the max throttle 90% setting which I even don't find looking around in Librepilolt. It did TX calibration like 5 times. And didn't import old or other files whatsoever. It was a brand new CC3d from readymade Rc.

Is it not safe to put max angle at 80 degrees? Default is 105. Is 90% still ok?  Also when choosing cruise control with rate mode I get a CPU orange light... When changing to manual for throttle is goes green again. Does it mean you cannot combine it? Does it also mean the props won't stop at 105degrees in rate mode?
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 12, 2016, 11:17:44 pm
Rate mode is not allowed combined with CruiseControl, this start config alarm.

And Yes, CruiseControl add a little more CPU load because more calc is done for thrust / angle.

If you want to do the flip you should cut motors at angle > 90°, just keep default settings.
The PowerDelayComp is also taken in account so if if you a too small MaxAngle flip is not finalized maybe.

You can see Throttle curve in Vehicle tab, previously the max was set to 0.9 (90%)

Did you successfully follow previous step i posted ?

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 12, 2016, 11:38:27 pm
Will do all your steps tomorrow and report back. I spend al evening making an aluminum motor arm as my spares were all gone with the wind. Must say the result is very nice and the weight is the same 9grams.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 13, 2016, 03:58:42 pm
So I tried and did everything you proposed and got still in rattitude mode with 500deg/s it just stops all together once in a roll.

In full rate mode I managed to do a couple of flips and rolls but the second lipo even in rate mode it didn't regain power and...broke my cam connections. I'm getting tired of this as I want to fly fpv and all I do is playing Dokter.

In attitude mode all is fine, in rattitude and rate as well as long as you don't want to roll or flip the quad. I alway keep some throttle input and don't zero it once in a roll but it doesn't make any difference. I have another quad here ( not mine ) and overwrite this settings to see if it is the board or not.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 13, 2016, 09:26:57 pm
Sorry about that, maybe a CC3D related to Gimbal module.

It could be interesting see if a Revo has the same issue.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 16, 2016, 09:19:17 am
Sorry about that, maybe a CC3D related to Gimbal module.

It could be interesting see if a Revo has the same issue.

Only one way to find out. I'm disabling the gimbal function and go fly rolls and flips and do the Diane enabled. If the error occurs in the second one we could establish a baseline for the problem. I also will install a servo current display. Maybe it's just to much on the FC or the PCB mentioned in the other topic.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 09:00:11 am
Sorry about that, maybe a CC3D related to Gimbal module.

It could be interesting see if a Revo has the same issue.

An update. I disabled the gimbal function and went out again, sure in rattitude mode with cruise control the freaky my thing rolls, motors stop and don't come up again....faling brick. I went up in rate mode again with manual throttle and I could flip and roll just fine switched back to rattitude and first roll was ok, second too third one....yep, again faling brick. Something is wrong with the cruise control execution. Sure the motors "stop" after a certain extent angle but they don't spool up again. I can tell you it is t nice to see your quad telling so much abuse and damage because you can't control it anymore. Broke already 6 props, one fpv cam, 3 arms, one VTx antenna....

The only way to flip or roll on this board is apparently in full rate mode.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 21, 2016, 10:07:39 am
Sorry about your crashes again.  :'(

A firmware issue looks strange at this point, CruiseControl is here since some time and used by several pilots without issues (including me).
I had a doubt with the Gimbal running but without... i'm out of ideas in your case



Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 01:20:25 pm
Sorry about your crashes again.  :'(

A firmware issue looks strange at this point, CruiseControl is here since some time and used by several pilots without issues (including me).
I had a doubt with the Gimbal running but without... i'm out of ideas in your case

Well, thanks a lot for all the support and help. I will make a video of it and hopefully you can identify the issue.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 02:33:34 pm
Sorry about your crashes again.  :'(

A firmware issue looks strange at this point, CruiseControl is here since some time and used by several pilots without issues (including me).
I had a doubt with the Gimbal running but without... i'm out of ideas in your case

Here we go, the first roll in rattitude went ok, the second one, we'll see for yourself. This time I broke a motor shaft!!! Glad I took off all the fpv gear.

Enjoy.

http://www.youtube.com/watch?v=raBiqz1Jf9o
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 21, 2016, 05:33:51 pm
I don't heard a beep from esc reset or something in your video.
Sadly i cannot reproduce your issue here, using Rattitude + CruiseControl and CC3D:
https://www.youtube.com/watch?v=LbTjWaZbBA8
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 06:25:35 pm
I don't heard a beep from esc reset or something in your video.
Sadly i cannot reproduce your issue here, using Rattitude + CruiseControl and CC3D:


But you hopefully clearly notice that the motors don't spool up again. When I performed the roll I never went under 1/3 throttle.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: f5soh on February 21, 2016, 06:40:05 pm
Sorry but i cannot do more.

Just finished the last fourth battery this afternoon doing flips all the time like the video above with Rattitude+CruiseControl without issues.

If i can't reproduce your issue, i cannot try to fix something and i assume firmware is working fine. CruiseControl was added close to 2 years ago now.

Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 08:12:38 pm
Sorry but i cannot do more.

Just finished the last fourth battery this afternoon doing flips all the time like the video above with Rattitude+CruiseControl without issues.

If i can't reproduce your issue, i cannot try to fix something and i assume firmware is working fine. CruiseControl was added close to 2 years ago now.

As I said thanks for all the help. I have a new frre and motor on the way as well as a new CC3D board. I'll save the UAV file. And we will soon know enough.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: 1morehobby on February 21, 2016, 09:06:22 pm
Sorry but i cannot do more.

Just finished the last fourth battery this afternoon doing flips all the time like the video above with Rattitude+CruiseControl without issues.

If i can't reproduce your issue, i cannot try to fix something and i assume firmware is working fine. CruiseControl was added close to 2 years ago now.

As I said thanks for all the help. I have a new frre and motor on the way as well as a new CC3D board. I'll save the UAV file. And we will soon know enough.

I had this same issue when doing flips, I finally traced it to a bad pot on my radio gimbal. Believe it or not. The pot had a bad spot that made the throttle go low and it was the perfect spot when I flipped and lowered the throttle a bit. Now I am not saying this is your problem but worth looking into. I also had this occur with another quad doing flips in very cold weather with a low C battery, seem the voltage sag was too much in cold weather. By switching to a high C battery the problem went away. Now that the weather has warmed up , the low C battery flies fine on the same quad with no changes. 
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on February 21, 2016, 10:49:12 pm
Sorry but i cannot do more.

Just finished the last fourth battery this afternoon doing flips all the time like the video above with Rattitude+CruiseControl without issues.

If i can't reproduce your issue, i cannot try to fix something and i assume firmware is working fine. CruiseControl was added close to 2 years ago now.

As I said thanks for all the help. I have a new frre and motor on the way as well as a new CC3D board. I'll save the UAV file. And we will soon know enough.

I had this same issue when doing flips, I finally traced it to a bad pot on my radio gimbal. Believe it or not. The pot had a bad spot that made the throttle go low and it was the perfect spot when I flipped and lowered the throttle a bit. Now I am not saying this is your problem but worth looking into. I also had this occur with another quad doing flips in very cold weather with a low C battery, seem the voltage sag was too much in cold weather. By switching to a high C battery the problem went away. Now that the weather has warmed up , the low C battery flies fine on the same quad with no changes.

Thanks for the tip, In one of my test I took the same TX ( Spektrum dx6 ) and bind it to my uncle Eturbine quad with the same settings and could roll and flip all day long. Then I replaced Tx and RX with my Futaba T8J and did all wizards again with the same flight setup and Shute enough the thing felt out of the sky like in the video above. Must be a board issue. My frame is so damaged its beyond repair without once leaving my front garden. Ordered a new one and a new motor plus cc3d from readymaderc. Will know in a couple of weeks when all comes in.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Jeuke26 on March 02, 2016, 08:48:27 am
Update: problem solved.

I had my rmrc CC3D coming in and transferred the UAV file and.... All is good, flips and rolls in rattitude with cruise control or rate mode with gimbal function installed and enabled.

So, is was a bad board after all.
Title: Re: How to crash ( and break stuff ) in 60 seconds ( maiden )
Post by: Spudspitter on March 02, 2016, 07:49:58 pm
There is numbers that looks strange, but no "NaN" this time....

The cruiseControl should stop motors after some angle: default is 105°, here set to 80°

Did you set the motor neutrals ? > motor starts at 1030 ?
Be sure the motor don't stop completely to still have some control over rotation.
The min motor is 5, maybe it really stop because wrong neutral ?

Try with quad in hand, without props and try to reproduce without fly and take attention to board reboot (monitor flighttime) or something weird
Can you give details for template you used ?

CPU alarm is caused by all options enabled: TPS, board rotation and Gimbal... maybe too much for CC3D
I am so glad this had a happy ending. How frustrating.  Keep it in the air man. 
Sorry about that, maybe a CC3D related to Gimbal module.

It could be interesting see if a Revo has the same issue.

An update. I disabled the gimbal function and went out again, sure in rattitude mode with cruise control the freaky my thing rolls, motors stop and don't come up again....faling brick. I went up in rate mode again with manual throttle and I could flip and roll just fine switched back to rattitude and first roll was ok, second too third one....yep, again faling brick. Something is wrong with the cruise control execution. Sure the motors "stop" after a certain extent angle but they don't spool up again. I can tell you it is t nice to see your quad telling so much abuse and damage because you can't control it anymore. Broke already 6 props, one fpv cam, 3 arms, one VTx antenna....

The only way to flip or roll on this board is apparently in full rate mode.