inav icon indicating copy to clipboard operation
inav copied to clipboard

Gyro_sync causes motors to spin on power on

Open DzikuVx opened this issue 10 years ago • 9 comments

I've seen something scary today. With gyro_sync=ON motors started to spin when power connected. Good thing they were spinning on low power... Configuration

  • SPRacingF3
  • OneShot125
  • GPS
  • OLED display

Disabling gyro_sync fixed the issue. BTW, I'm using gyro_sync=ON and OneShot125 on other quad, but without GPS, Mag and OLED display

DzikuVx avatar Jun 03 '16 21:06 DzikuVx

Strange and scary! I'm using the same setup except the oled, and that has never happened for me. You use aux arming, right? I use stick arming...

Did it happen on every startup or just once?

theArchLadder avatar Jun 04 '16 07:06 theArchLadder

On every startup. And yes, aux arming.

DzikuVx avatar Jun 04 '16 08:06 DzikuVx

And BTW it was gyro_sync_denom=1

DzikuVx avatar Jun 04 '16 08:06 DzikuVx

I also use

gyro_sync=ON
gyro_sync_denom=1

Perhaps you could try and see if you still have this problem with stick arming, or without oled? I have used aux arming on some occasions, but never had the motors spin up when i connected the battery...

theArchLadder avatar Jun 04 '16 08:06 theArchLadder

Weird. Can you please test if it's related to oled or some other feature? I'm flying oneshot with gyro sync at 1khz - no issues.

digitalentity avatar Jun 04 '16 11:06 digitalentity

I will try to confirm the cause.

DzikuVx avatar Jun 04 '16 13:06 DzikuVx

So far, as I do not have access to any F3 board, I was unable to confirm that on Flip32 with display, GPS, gyro_sync=ON and denom=2 since firmware prohibits looptime faster than 2000us

DzikuVx avatar Jun 08 '16 19:06 DzikuVx

Although I'm on vacation, I took my 250 and since it's raining I've decided to update few things and unfortunately I had the same issue one more time. This time on completely different setup:

  • SPRacingF3 (Chinese)
  • Emax Nano 12A ESC (They say it's BLHeli by EMAX)
  • OneShot125
  • No GPS, Display

After setting looptime 1000

set gyro_sync = ON
set gyro_sync_denom = 8
set gyro_lpf = 256HZ

Motors started to spin on boot. Setting set gyro_sync_denom = 12 (looptime 1500) problem went away.

In both cases it was EMAX ESC with stock firmware. So I tend to think it is something with ESCs by EMAX.

DzikuVx avatar Jun 27 '16 12:06 DzikuVx

I'm closing this since I've somehow confirmed this issue is EMAX ESC only

DzikuVx avatar Sep 24 '16 11:09 DzikuVx