T-Motor MN2806 KV650 with Arducopter 4.2.x

Cube Orange right?
You should be able to use the bidirection DShot firmware and get the ESC RPM data.
No other changes would be required, except we can simplify some of the HNOTCH settings and tesing to:
INS_HNTCH_ENABLE,1 ← set this then refresh params to see the rest
INS_HNTCH_MODE,3
INS_HNTCH_REF,1
INS_HNTCH_FREQ,80
INS_HNTCH_BW,40
INS_HNTCH_ATT,40
(as I listed earlier)
Also keep
INS_LOG_BAT_MASK,7
INS_LOG_BAT_OPT,0
So we can check pre-filter data
then later you can set
INS_LOG_BAT_OPT,2
to see post-filter data

Yes, I am using Cube Orange. Sorry, this morning I was busy in a meeting.

Set SERVO_BLH_AUTO = 1
safety switch ensures it is pushed
done. turned off Low RPM Power Protect

done for 11x4.5x2 log, indoor
INS_LOG_BAT_MASK,7
INS_LOG_BAT_OPT, 0 and the rest of INS_HNTCH_xx settings.
disable Low RPM Power Protect
MOT_THST_EXPO = 0.66 (initial parameters)
MOT_THST_HOVER = 0.25 (start)
MOT_THST_HOVER = 0.3494199 (learn)

INS_LOG_BAT_OPT, 2 flight log also done.

logs for 11x7x3, indoor

ignore the INS_LOG_BAT_OPT values as I changed first then reboot and prepare for the next flight. go by filename is correct.

You will need these unless you changed to the bi-directional DShot firmware
INS_HNTCH_MODE,1
INS_HNTCH_REF,0.2

For some reason the FFT graphs dont show any data for those flights
Keep
INS_LOG_BAT_MASK,7
INS_LOG_BAT_OPT, 0
until this is all nailed down a bit more

Noted, will repeat the flights and also include 11x10x3

do you mean this? I think FFT_ENABLE is = 0, I have enabled it now for next flight test.

The FFT_ENABLE parameter is for the flight controller to run the FFT analysis live and use that for a souce of HNOTCH filtering.
I couldnt get MissionPlanner to display any of the INS_LOG_BAT data as it normally does, where MissionPlanner runs the FFT analysis post-fight.

okay, I put it back to 0 then.

Hmm, interesting. I have put in all values already.

log for 11x7x3, uploaded into same folder
log for 11x4.5x2, uploaded into same folder
log for 11x10x3, uploaded into same folder

Does anyone know why my autotune failed to tune? Is it due to HNTCH being enabled?
Prompting the pilot to tune manually.

Because the basic/initial tune is poor.

Not sure is it due to 4.1.x and and above issue. Previously other drones were done using 4.0.x

All along the craft we build with Cube series do not use vibration damping mount.

I think I will try reduce the aggressive to see any good surprise. This is the first time I tune a drone using a low KV motors.

You will most likely be surprised with an even worse tune by lowering aggression.

I don’t quite get it, it started when I lowered the default PID by 50%. Then it stopped and started to prompt the pilot to manual tune. No different if I turn off the INS_HNTCH_ENABLE.

The default initial parameters and lowered values are both flyable and only noticeable a slight height drop when pitch and roll. No oscillation so call.

4.2.3 firmware.

I am now suspecting MOT_THST_EXPO with the digital ESC and the motor. Many T-Motor users pointed out very linear motor curves.

after changing thst_expo from 0.66 to 0.99, I got a recommended thst_hover value of 0.2503457. I hope the autotune starts and works next, finger-cross.

No, not the problem of the thst_expo. Not due to the initial tune not being properly done too. With the default PID parameters, it hovers like a charm without position lock and without pilot sticks input except drops high when pitching and rolling. I am doing in indoor with no wind condition.

I also tried reducing pitch and roll PID by 50%, but it did not start to tune also (engaged but didn’t start).

I run out of ideas about where the settings are wrong. This is not the first drone I do and had attempted autotune successfully before with the 4.0.x version.

autotune failed 2nd time, 4.2.3

Have you got a link to the actual .bin log file?

done, uploaded.

First up to answer a question a lot of people seem to ask - enabling HNOTCH and setting correct values (or even close values but not perfect) wont make Autotune fail. I suppose such bad values could be set that it would affect normal flight, but that’s not an Autotune issue.
It is definitely better to set up the Harmonic Notch Filter as soon as possible, and before running Autotune if it can be done.

Back to the log
Was that log from before you changed
INS_LOG_BAT_MASK,7
and other HNOTCH settings ??
I ask because there’s no data collected in that log for FFT use, and those values are not set.
Otherwise definitely set this right away.
INS_LOG_BAT_MASK,7
and make
AUTOTUNE_AGGR,0.1
but dont go out and try to run Autotune right away. Let’s get a few things sorted first.

There’s some Y axis vibration like prop balance, or something about the flight controller mount. See if you can fix that.

MOT_SPIN_MIN and MOT_SPIN_ARM are way too low. Set them
MOT_SPIN_ARM,0.04
MOT_SPIN_MIN,0.09
to ensure the motors spin reliably.

MOT_THST_EXPO,0.99 ?? Surely this is an early log??
It should be 0.66 for 11 inch props.
I’m thinking this log is old and probably useless for the purpose of tuning your quad.

If you have a spring-centered throttle also set
PILOT_THR_BHV,7

Have you got the latest log where you made all the changes that have been suggested?
Go over the whole discussion and implement all the changes. Ask if you’ve got any questions and we’ll sort this out. :slight_smile:

No, it is after. I turn it off thinking suspecting the cause to complete the autotune. Previously you suggest to me to enable them and you still didn’t find any data inside.

I can increase, motor test result looks comfortable to me.

this was again suspecting my hover thrust not below 0.25 and cause autotune unable to complete, therefore increasing the expo resulting my drone hover thrust going towards 0.25. No, this is the latest log. The date and time indicate 20221011…

I will do that, not sure how much it can contribute.

Do not quite understand what you mean.

Now, I am tempting to use 4.0.7 on this drone where we have successfully autotune many drones before to narrow down the issue.

I would use the latest stable firmware, reset all to defaults and start over with calibrations, battery voltage setup and Inititial Parameters.
Set INS_LOG_BAT_MASK,7 and PILOT_THR_BHV,7 then do some hover and gentle movements in AltHold mode.
Dont rush to be in Loiter or doing Autotune yet.
Let’s see that log.

The latest firmware indicates issues with Autotune, where as the earlier versions just dont alert you to the issue. That doesnt meant the earlier version works better.
In that log there was no sign that Autotune was doing anything despite you switched into Autotune mode, clearly indicating there was problems preventing Autotune from working.

2 Likes