Multi-Rotor UK

Frame Types => Quad - Copters => Topic started by: Hozza on Monday,February 05, 2018, 15:43:38

Title: Help with Rooster build required (resolved)
Post by: Hozza on Monday,February 05, 2018, 15:43:38
So I finally got my Armattan Rooster built and it's maiden was an epic fail.

Took off all was well then it twitched and lurked a couple of times the fell out the sky, I'm looking a the black box data and have no clue what it means, I think it's noise of the gyro(yaw) but I'd like someone to have a look to see if they can see anything.

So build consists of:

Motors: Brotherhobby 2207 2700kv
ESC's: Racerstar Tatto 35a on firmware version 32.3
FC: Matek F722 on BF3.2.4
Rx: Frsky R-XSR

The black box log file is in my Dropbox https://www.dropbox.com/s/fpdgmyjhpy3nxmk/LOG00002.BFL?dl=0

Cheers
Paul
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 18:11:14
Hi matek will take a look at bb log in a couple of hours if no one else has.
In the mean time can you send a pick of the flight stack?
What mode are you flying in?
What is gyro/pid set to
What esc protocol are you using?
Have you made any changes to blheli_32 other than motor direction?
Title: Re: Help with Rooster build required
Post by: ched on Monday,February 05, 2018, 19:40:09
Having a look but I am no expert. If you look at the Motors trace they all zero at 12.5 seconds in. The PID values also drop to zero! This happens a few more times until the death roll ends it all.
At around 14.5 seconds the 'stateflag' SMALL ANGLE changes from 1 to zero but I have no idea what that means. I thought small_angle was to prevent arming if the quad was no where near level.
Interesting. I will carry on looking, this is fun.

No idea if it will help but setting 'set debug_mode = CYCLETIME' in CLI should add a sort of cpu load trace in BlackBox. I am learning all sorts .... thanks

When the PID values go to zero all motors stay at 45%.
Title: Re: Help with Rooster build required
Post by: Hozza on Monday,February 05, 2018, 20:07:57
Quote from: Cheredanine on Monday,February 05, 2018, 18:11:14
Hi matek will take a look at bb log in a couple of hours if no one else has.
In the mean time can you send a pick of the flight stack?
What mode are you flying in?
What is gyro/pid set to
What esc protocol are you using?
Have you made any changes to blheli_32 other than motor direction?

(https://www.multi-rotor.co.uk/proxy.php?request=http%3A%2F%2Fthumb.ibb.co%2Fc2sR5c%2F20180205_195330.jpg&hash=74617a01daffe9bd2e455893c16ee25c140d1ddf) (http://ibb.co/c2sR5c)

(https://www.multi-rotor.co.uk/proxy.php?request=http%3A%2F%2Fthumb.ibb.co%2Fj57OJx%2F20180205_195409.jpg&hash=8084ae4f05b5cf7b4f5f6e51cff1fcdc6a4d36d1) (http://ibb.co/j57OJx)

Flying in Acro

16k / 8k

DSHOT 1200

No other changes


Thanks for looking guys.

15 quad builds and this is the first issue I've had that totally thrown me.
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 20:25:13
ok mate that explains it
even without using BB log.
1F7 support is not included yet, they work fine in normal but in 32Khz mode the filtering is naff.
drop the gyro/PID t9 8khz/4khz (32khz not enabled) that is very probably your problem (there is a months old issue for this on git hub, I know cos I opened it. next full release should resolve
next suggest in BLheli, find motor pwm rate, it should be 24Khz on stock, increase that to 48 khz, that and dshot1200 should be iVERY smooth
should have asked your filtering but suggest dynamic filter on, gyro filter type PT1 and both notch filters dissabled

but yeah, pretty certain you need to take off 32Khz and set 8/4
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 20:34:24
just checked the log, the problems occur when the pid loop doesnt complete in the cycle if they are to be believed (pid values zero) may be your logging speed (what speed are you logging at?) but best gues remains running F7 in 32khz mode
Title: Re: Help with Rooster build required
Post by: Hozza on Monday,February 05, 2018, 21:00:40
I'm logging at 1kHz, should I up it to 2 kHz?

I'll make those changes and try again.

Thanks
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 21:05:00
No mate, 1khz should be fine, pretty sure it is the 32khz mode on f7
Title: Re: Help with Rooster build required
Post by: Hozza on Monday,February 05, 2018, 21:24:08
So there isn't any noise I take it?
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 21:29:54
Not on those traces, maybe a little low down on pitch but not with any peak, suggest esc and filter setting above, with them and dropping the gyro/pid to 8/4 I think you will be shocked at how smooth it runs, what props are you using?
Title: Re: Help with Rooster build required
Post by: Hozza on Monday,February 05, 2018, 21:34:43
Dal cyclone 5040
Title: Re: Help with Rooster build required
Post by: Cheredanine on Monday,February 05, 2018, 21:38:09
Excellent choice for acro, that should be silky smooth on 48khz pwm and dshot1200, explains the lack of any ioscillations mate.
Title: Re: Help with Rooster build required
Post by: Hozza on Tuesday,February 06, 2018, 15:10:53
Made all the recommended changes and without any tuning feels pretty amazing.

Here is the blackbox log from the re-maiden if you fancy having another look https://www.dropbox.com/s/nqonczoio0ppsi6/LOG00005.BFL?dl=0

Thanks for the advice appreciated as always.
Title: Re: Help with Rooster build required
Post by: Cheredanine on Tuesday,February 06, 2018, 17:10:20
First mate, ty for coming back, very frequently you get into solving someone’s problem and it goes dead, you don’t know if it is fixed or in the bin :)

Will check the black box later if you want it checked but I have similar rigs, I know how smooth those brother motors are with light props on those settings, go crash the crap out of it :)