KISS ESC problem

Info and discussion about the autonomous Micro FC, suitable for nanos, micros and mini multirotors

Re: KISS ESC problem

Postby aBUGSworstnightmare » Tue Sep 15, 2015 6:20 am

chris24g wrote:params file

Where do you have these params from? Some of them are quite high (i.e. your manual YAW-rate)?
I suggest to lower some of them
Code: Select all
CTRL_MAN_YAW_RT                         120
CTRL_TLT_RTE_D                       12000
CTRL_TLT_ANG_D                        6500


How did you determine your CTRL_FACT_THRO if the craft never flew
Code: Select all
CTRL_FACT_THRO                         0.5

Please revert to 0.7 for the beginning.
Code: Select all
IMU_ACC_ALGN_XY                           0
IMU_ACC_ALGN_XZ                           0
IMU_ACC_ALGN_YX                           0
IMU_ACC_ALGN_YZ                           0
IMU_ACC_ALGN_ZX                           0
IMU_ACC_ALGN_ZY                           0
IMU_ACC_BIAS1_X                           0
IMU_ACC_BIAS1_Y                           0
IMU_ACC_BIAS1_Z                           0
IMU_ACC_BIAS2_X                           0
IMU_ACC_BIAS2_Y                           0
IMU_ACC_BIAS2_Z                           0
IMU_ACC_BIAS3_X                           0
IMU_ACC_BIAS3_Y                           0
IMU_ACC_BIAS3_Z                           0
IMU_ACC_BIAS_X                           0
IMU_ACC_BIAS_Y                           0
IMU_ACC_BIAS_Z                           0
IMU_ACC_SCAL1_X                           0
IMU_ACC_SCAL1_Y                           0
IMU_ACC_SCAL1_Z                           0
IMU_ACC_SCAL2_X                           0
IMU_ACC_SCAL2_Y                           0
IMU_ACC_SCAL2_Z                           0
IMU_ACC_SCAL3_X                           0
IMU_ACC_SCAL3_Y                           0
IMU_ACC_SCAL3_Z                           0
IMU_ACC_SCAL_X                           1
IMU_ACC_SCAL_Y                           1
IMU_ACC_SCAL_Z                           1
IMU_FLIP                           0
IMU_GYO_ALGN_XY                           0
IMU_GYO_ALGN_XZ                           0
IMU_GYO_ALGN_YX                           0
IMU_GYO_ALGN_YZ                           0
IMU_GYO_ALGN_ZX                           0
IMU_GYO_ALGN_ZY                           0
IMU_GYO_BIAS1_X                           0
IMU_GYO_BIAS1_Y                           0
IMU_GYO_BIAS1_Z                           0
IMU_GYO_BIAS2_X                           0
IMU_GYO_BIAS2_Y                           0
IMU_GYO_BIAS2_Z                           0
IMU_GYO_BIAS3_X                           0
IMU_GYO_BIAS3_Y                           0
IMU_GYO_BIAS3_Z                           0
IMU_GYO_BIAS_X                           0
IMU_GYO_BIAS_Y                           0
IMU_GYO_BIAS_Z                           0
IMU_GYO_SCAL_X                           1
IMU_GYO_SCAL_Y                           1
IMU_GYO_SCAL_Z                           1
IMU_MAG_ALGN_XY                           0
IMU_MAG_ALGN_XZ                           0
IMU_MAG_ALGN_YX                           0
IMU_MAG_ALGN_YZ                           0
IMU_MAG_ALGN_ZX                           0
IMU_MAG_ALGN_ZY                           0
IMU_MAG_BIAS1_X                           0
IMU_MAG_BIAS1_Y                           0
IMU_MAG_BIAS1_Z                           0
IMU_MAG_BIAS2_X                           0
IMU_MAG_BIAS2_Y                           0
IMU_MAG_BIAS2_Z                           0
IMU_MAG_BIAS3_X                           0
IMU_MAG_BIAS3_Y                           0
IMU_MAG_BIAS3_Z                           0
IMU_MAG_BIAS_X                           0
IMU_MAG_BIAS_Y                           0
IMU_MAG_BIAS_Z                           0
IMU_MAG_DECL                           0
IMU_MAG_INCL                         -65
IMU_MAG_SCAL1_X                           0
IMU_MAG_SCAL1_Y                           0
IMU_MAG_SCAL1_Z                           0
IMU_MAG_SCAL2_X                           0
IMU_MAG_SCAL2_Y                           0
IMU_MAG_SCAL2_Z                           0
IMU_MAG_SCAL3_X                           0
IMU_MAG_SCAL3_Y                           0
IMU_MAG_SCAL3_Z                           0
IMU_MAG_SCAL_X                           1
IMU_MAG_SCAL_Y                           1
IMU_MAG_SCAL_Z                           1

No TARE made, no ON-Board MAG calibration! What do you expect to get with this params??? No need to wonder about strange behavior of the outputs
--> level your craft/board and do a TARE at least before you proceed. Later set IMU_MAG_DECL and IMU_MAG_INCL to the right values and do an onboard MAG-calibration.

Check IMU_ROT and IMU_FLIP.
Code: Select all
MOT_ARM                         975
MOT_MAX                        1950
MOT_MIN                        1000
MOT_START                        1125

Check these params!
And most common your PWM output scaling is trash if you don't connect LiPo voltage to the ADC input of the M4 and select the right input for voltage sensing
Code: Select all
SPVR_VIN_SOURCE                           0

This needs to be set to 1 in case of using external BLDC!!!!
Please refer to http://autoquad.org/wiki/wiki/m4-microc ... onitoring/ for details.
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: KISS ESC problem

Postby brat002 » Tue Sep 15, 2015 7:28 am

You are not right. It is Kiss ESC problem! :lol:
brat002
 
Posts: 191
Joined: Tue Apr 21, 2015 10:35 pm

Re: KISS ESC problem

Postby aBUGSworstnightmare » Tue Sep 15, 2015 10:50 am

brat002 wrote:You are not right. It is Kiss ESC problem! :lol:

Then let us know your insights!

I'm using KISS on one craft, I've seen lots of other crafts flying which were using KISS with different types of motors/battery voltages, so it sounds like you have some Information which I would like to ask you to share with us.
aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: KISS ESC problem

Postby brat002 » Tue Sep 15, 2015 11:55 am

It was a joke :)
Documentation does not has "Quick how to". It can be the problem for beginers.
brat002
 
Posts: 191
Joined: Tue Apr 21, 2015 10:35 pm

Re: KISS ESC problem

Postby chris24g » Fri Sep 18, 2015 5:23 am

thanks for the helpful suggestions guys!

this m4 board was on another smaller quad (with KISS escs working fine) but i wanted to try it on a quad with bigger motors. I only soldered one ESC to test my connection and motor direction when i got the weird sync problem.
chris24g
 
Posts: 120
Joined: Thu Jul 05, 2012 8:07 am

Re: KISS ESC problem

Postby chris24g » Fri Sep 18, 2015 5:37 am

I am using the N4 expander so the ADC is connected to that board with two wires. I do not see where it says to change DEFAULT_SPVR_VIN_SOURCE param if using the N4.
chris24g
 
Posts: 120
Joined: Thu Jul 05, 2012 8:07 am

Re: KISS ESC problem

Postby chschmid » Fri Sep 18, 2015 5:42 am

Here:
QGC VINSOURCE.JPG
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Previous

Return to AutoQuad M4 Micro Controller

Who is online

Users browsing this forum: No registered users and 7 guests

cron