Hi, 

The gimbal is having trouble stabilizing the camera. And I'm seeing the gimbal twitch a bit when it move (via ch 6) when the Hexacopter is stationary.  The gimbal is currently running on ch 10 + 11. (50 hz) on APM 2.5. Pls see attached video.  

I've tried to connect to ch 7+8 (490hz) per the wiki but I'm unable to get it to work at all. Just random twitching. No auto stabilization or control from input ch 6. 

The servos are Emax ES08MD, pls see attached spec sheet. 

1) What's the best way to improve the performance of the gimbal? Switch to ch 7+8, and if so how can I successfully connect? New servos? More tuning?

Here are my APM settings:

ACRO_BAL_PITCH200
ACRO_BAL_ROLL200
ACRO_P4.5
ACRO_TRAINER1
AHRS_BARO_USE0
AHRS_GPS_GAIN0
AHRS_GPS_USE1
AHRS_RP_P0.1
AHRS_TRIM_X-0.036
AHRS_TRIM_Y0.006
AHRS_TRIM_Z0
AHRS_WIND_MAX0
AHRS_YAW_P0.1
AMP_PER_VOLT18.002
AUTO_SLEW30
AUTO_VELZ_MAX125
AUTO_VELZ_MIN-125
AXIS_ENABLE1
BATT_CAPACITY4000
BATT_CURR_PIN12
BATT_MONITOR4
BATT_VOLT_PIN13
CAM_DURATION10
CAM_SERVO_OFF1100
CAM_SERVO_ON1300
CAM_TRIGG_TYPE0
CH7_OPT5
CIRCLE_RADIUS10
COMPASS_AUTODEC1
COMPASS_DEC0.2
COMPASS_LEARN1
COMPASS_OFS_X28.326
COMPASS_OFS_Y46.976
COMPASS_OFS_Z-216.288
COMPASS_USE1
ESC0
FLOW_ENABLE0
FLTMODE15
FLTMODE20
FLTMODE30
FLTMODE49
FLTMODE50
FLTMODE60
FRAME1
FS_BATT_ENABLE1
FS_THR_ENABLE1
FS_THR_VALUE975
HLD_LAT_I0
HLD_LAT_IMAX3000
HLD_LAT_P0.2
HLD_LON_I0
HLD_LON_IMAX3000
HLD_LON_P0.2
INAV_ACORR_X-92.283
INAV_ACORR_Y-83.291
INAV_ACORR_Z2.758
INAV_TC_XY3
INAV_TC_Z7
INPUT_VOLTS5
INS_ACCOFFS_X-0.12
INS_ACCOFFS_Y0.332
INS_ACCOFFS_Z0.329
INS_ACCSCAL_X1.004
INS_ACCSCAL_Y1.004
INS_ACCSCAL_Z0.988
INS_GYROFFS_X-0.008
INS_GYROFFS_Y0.004
INS_GYROFFS_Z0.003
INS_MPU6K_FILTER0
INS_PRODUCT_ID88
LAND_SPEED50
LED_MODE9
LIM_ALT_MAX0
LIM_ALT_MIN0
LIM_ALT_ON0
LIM_ALT_REQ0
LIM_CHANNEL0
LIM_DEBUG0
LIM_ENABLED0
LIM_FNC_ON0
LIM_FNC_RAD0
LIM_FNC_REQ0
LIM_FNC_SMPL0
LIM_FNC_TOT0
LIM_GPSLCK_ON0
LIM_GPSLCK_REQ0
LIM_RECMODE0
LIM_REQUIRED0
LIM_SAFETIME0
LOG_BITMASK382
LOITER_LAT_D0.4
LOITER_LAT_I0.04
LOITER_LAT_IMAX3000
LOITER_LAT_P5
LOITER_LON_D0.4
LOITER_LON_I0.04
LOITER_LON_IMAX3000
LOITER_LON_P5
LOW_VOLT13.5
MAG_ENABLE1
MNT_ANGMAX_PAN4500
MNT_ANGMAX_ROL2000
MNT_ANGMAX_TIL2000
MNT_ANGMIN_PAN-4500
MNT_ANGMIN_ROL-2000
MNT_ANGMIN_TIL-2000
MNT_CONTROL_X0
MNT_CONTROL_Y0
MNT_CONTROL_Z0
MNT_JSTICK_SPD0
MNT_MODE3
MNT_NEUTRAL_X0
MNT_NEUTRAL_Y0
MNT_NEUTRAL_Z0
MNT_RC_IN_PAN0
MNT_RC_IN_ROLL0
MNT_RC_IN_TILT6
MNT_RETRACT_X0
MNT_RETRACT_Y0
MNT_RETRACT_Z0
MNT_STAB_PAN0
MNT_STAB_ROLL1
MNT_STAB_TILT1
MOT_TB_RATIO1
MOT_TCRV_ENABLE1
MOT_TCRV_MAXPCT93
MOT_TCRV_MIDPCT52
NAV_LAT_D0
NAV_LAT_I0.17
NAV_LAT_IMAX1800
NAV_LAT_P2.4
NAV_LON_D0
NAV_LON_I0.17
NAV_LON_IMAX1800
NAV_LON_P2.4
OF_PIT_D0.12
OF_PIT_I0.5
OF_PIT_IMAX100
OF_PIT_P2.5
OF_RLL_D0.12
OF_RLL_I0.5
OF_RLL_IMAX100
OF_RLL_P2.5
PILOT_VELZ_MAX250
RATE_PIT_D0.004
RATE_PIT_I0.1
RATE_PIT_IMAX500
RATE_PIT_P0.15
RATE_RLL_D0.004
RATE_RLL_I0.1
RATE_RLL_IMAX500
RATE_RLL_P0.15
RATE_YAW_D0
RATE_YAW_I0.015
RATE_YAW_IMAX800
RATE_YAW_P0.25
RC_SPEED490
RC1_DZ30
RC1_MAX1919
RC1_MIN1126
RC1_REV1
RC1_TRIM1525
RC10_DZ0
RC10_FUNCTION7
RC10_MAX2200
RC10_MIN1000
RC10_REV1
RC10_TRIM1500
RC11_DZ0
RC11_FUNCTION8
RC11_MAX2200
RC11_MIN1100
RC11_REV-1
RC11_TRIM1500
RC2_DZ30
RC2_MAX1914
RC2_MIN1121
RC2_REV1
RC2_TRIM1521
RC3_DZ30
RC3_MAX1914
RC3_MIN1003
RC3_REV1
RC3_TRIM1004
RC4_DZ40
RC4_MAX1915
RC4_MIN1123
RC4_REV1
RC4_TRIM1517
RC5_DZ0
RC5_FUNCTION0
RC5_MAX1914
RC5_MIN1120
RC5_REV1
RC5_TRIM1508
RC6_DZ0
RC6_FUNCTION0
RC6_MAX1914
RC6_MIN1120
RC6_REV1
RC6_TRIM1449
RC7_DZ0
RC7_FUNCTION0
RC7_MAX1914
RC7_MIN1113
RC7_REV1
RC7_TRIM1521
RC8_DZ0
RC8_FUNCTION0
RC8_MAX1499
RC8_MIN1498
RC8_REV1
RC8_TRIM1499
RSSI_PIN-1
RTL_ALT315
RTL_ALT_FINAL200
RTL_LOIT_TIME5000
SERIAL3_BAUD57
SIMPLE0
SONAR_ENABLE1
SONAR_TYPE0
SR0_EXT_STAT2
SR0_EXTRA110
SR0_EXTRA210
SR0_EXTRA32
SR0_PARAMS50
SR0_POSITION3
SR0_RAW_CTRL0
SR0_RAW_SENS2
SR0_RC_CHAN2
SR3_EXT_STAT0
SR3_EXTRA10
SR3_EXTRA20
SR3_EXTRA30
SR3_PARAMS0
SR3_POSITION0
SR3_RAW_CTRL0
SR3_RAW_SENS0
SR3_RC_CHAN0
STB_PIT_I0
STB_PIT_IMAX800
STB_PIT_P4.5
STB_RLL_I0
STB_RLL_IMAX800
STB_RLL_P4.5
STB_YAW_I0
STB_YAW_IMAX800
STB_YAW_P4.5
SUPER_SIMPLE0
SYSID_MYGCS255
SYSID_SW_MREV120
SYSID_SW_TYPE10
SYSID_THISMAV1
TELEM_DELAY0
THR_ACC_ENABLE1
THR_ACCEL_D0
THR_ACCEL_I1.5
THR_ACCEL_IMAX500
THR_ACCEL_P0.75
THR_ALT_I0
THR_ALT_IMAX300
THR_ALT_P2
THR_MAX1000
THR_MID500
THR_MIN130
THR_RATE_D0.2
THR_RATE_I0
THR_RATE_IMAX300
THR_RATE_P6
TILT54
TOY_RATE1
TRIM_THROTTLE366
TUNE0
TUNE_HIGH1000
TUNE_LOW0
VOLT_DIVIDER10
WP_INDEX0
WP_RADIUS2
WP_SPEED_MAX500
WP_TOTAL6
XTRK_GAIN_SC0.2
XTRK_MIN_DIST15
YAW_OVR_BEHAVE

0

Thanks!

Jeffrey

gimbal test 1_short.mov

ES08MD servo spec sheet.jpg

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Thanks to this post I solved my pan/tilt/camera shutter problem, it woks. I was mistaken between Analogic line (A0 to A11) and the outpout line. Can you take a look at my picture and tell me if everything is OK, specially my - and + connection ?

    Thank you

     3692721940?profile=original

     

  • Jeffrey,

       I had the same problem for the longest time, and as Andrew mentions below, make sure to use the RC7&8 outputs (490 hz) from the same row as the engine output, not the analog (A0 - A12) side outputs (50hz). 

    You might also want to ramp down the output rate if your digital servos can't handle that rate via the RC_SPEED parameter. On this note, I don;t know if by changing that value it also affects motor output rates...I know it does but is there an advers effect by doing so?

     I wish the docs would be clearer on this.

  • I recently had a similar issue which turned out to be power related.   When I powered the APM board and gimbal servers using a separate lipo from the brushless motors the glitch or twitching stopped.  I suspect noise from the motor ESC's was causing interference to the servos.  

    You could also try using a ferret ring on the APM power source.

       

  • When you say you're trying CH7+CH8, do you mean the output pins (same pin row as the engine output signals), not A7+A8 (confusingly, in the same row as CH10+CH11)?

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…