Tricopter with seemingly random yaw

crayfellow

Member
Hi guys,

Wow, for as much as we learn over time, there is always more to know. So I'm hoping to get some tips.

The tricopter I am using for testing had a Pixhawk power module and FrSky voltage sensor hanging off the back on tie wraps, so I decided to clean it all up finally and get those things mounted properly.

Unfortunately, I also decided to try APM Copter 3.3r8 to try out yaw in autotune, going against my personal rule of thumb not to change too many things at once when collecting information. It's been extremely windy here so any prospect of a decent auto tune is pretty bleak anyway, but I thought I'd be prepared.

Somehow along the way, I ended up with a flier that insists on spinning randomly! I tested a theory that it was a signal offset so I tried to compensate using trim, then it would spin somewhere else after awhile. It feels like bad compass data, but I don't believe Stabilize uses compass.

I want to underscore this guy flew *perfectly* for weeks, until I mounted the power module in the frame and the voltage sensor underneath. It just needed a little tuning so that is why I was planning to give autotune a chance before trying it manually.

I had downgraded to 3.2.1 and I believe it did the same, but I'm going to re-try that again. I also had reset to factory defaults and have calibrated RC, accel, and mag many many times just to look for variances. One thing is consistent: random yaw bias.

Would this occur purely from noise in the servo signal? since it's such a persistent bias, it doesn't feel like noise but I thought I would mention it.

I could write more but I'm betting I'm just missing something to check. I did check the nylocks on the props and they are fine. I tried pulling the power module back out of the frame, along with not powering up the voltage sensor, and the result was the same.

Thanks all!
 

crayfellow

Member
OK - going back to 3.2.1 (the most recent "stable" version of APM Copter) and touching NOTHING ELSE not even re-doing a compass calibration, and it's back to the smooth flier I remember. Tried both Stabilize and Loiter to make sure GPS+compass were happy.

So it's got to be a 3.3 issue, I'll mention it to the APM contributors (of which I am aspiring to become one of these days). APM 3.3 thread here in case anyone is interested.

Cheers.
 
Last edited by a moderator:

crayfellow

Member
just in case anyone is interested, APM dev Randy made some Rate Yaw suggestions that I tried (each <default> -> <recommended>):
Rate Yaw P: 0.2 -> 0.3
Rate Yaw I: 0.02 -> 0.04
Rate Yaw IMAX: 100 -> 200 (it's strange how MP seems to be scaling this value, the raw parameter RATE_YAW_IMAX should increased to 2000).
After these small adjustments it flies almost perfectly with 3.3r8 so I have stuck with it since and have been flying auto missions without issue, even without further tuning. All other config is stock.
 

Top