Brown Out after adding Airspeed sensor

Well, she hit hard today on the first flight of the day from 120 ft. The plane is a skywalker 1900 and it completely went unresponsive while in FBW-A. Im using 2.72 firmware. Can anyone help asses the logs to maybe pin point the problem? I noticed a drop in voltage twice on the log, but I cant seem to tie it in with a command. I have attached the tlog. Any help would be extremely appreciated.

Thanks,

Jamie

2013-05-19 11-36-57.tlog

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    Hi Jamie,

    I don't think a brown out was your major cause of problems. As far as I can see the major issues were:

    • it looks like you have a MTK GPS, and it was having trouble retaining lock
    • your settings had raised AHRS_RP_P to 0.5, which increased the gain of the GPS in attitude correction
    • the GPS kept claiming it had lock when I think it had lost it, as evidenced by the very high AHRS.error_rp values and the small satellites_visible count

    This sort of problem with MTK GPS modules is one of the reasons I released 2.73, with a check on the satellite count to stop using GPS velocity for attitude correction.

    So what I think happened is this. The MTK GPS lost lock, but kept claiming lock. The AHRS DCM code kept using the (incorrect) GPS velocity numbers to correct the accelerometers. That led the DCM attitude solution to be way off. The APM thought it was level, when it fact it was rolled at 25 degrees. You had a quite low roll limit in FBWA, giving not much authority to correct the incorrect attitude.

    Additional factors that made things work:

    • you had an airspeed sensor enabled, but not working (it always read close to zero airspeed)
    • you had a ALT_MIX of 0.6, so altitude came 40% from GPS, and GPS was misbehaving
    • compass learning was off, and you had lots of magnetic interference, and poor offsets (about 2/3 of the magnetic field was from your motor/esc/battery, not the earth)

    Cheers, Tridge

    PS: As I mentioned in a private msg to you, we can go over the log in more detail together if you would like

This reply was deleted.

Activity

Chris Anderson liked Zara Mae Pickering's profile
May 21
Azjeg liked Azjeg's profile
Apr 27
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
More…