S6 motor stalling #fysetc #S6 #eq2


Juan Sebastian
 

https://youtube.com/shorts/deP04bh6eoU?feature=share

Hi Guys see the video on the link, that's a cg3 mount with a issue, it dosnt move if I add weigth (even if it is balanced) 

The onstep system that im trying to run is a s6 with x2 tmc2130 and x2 17HS4401 (1.8°, 1.7A nema 17)
Im using a 12v 5a laptop energy source, maybe it is something wrong in the config? Im not sure about irun, ihold and igoto, whats the máx safe value to give this guy enough power to move that celestron 130eq (im using onstep with a eq3 and 0.9a motors with a 80mm apo that is more heavy than this 130 without issues, but this motors of 1.7a that should be more powerfull are un le to move here...) 

// AXIS1 RA/AZM
// see https://onstep.groups.io/g/main/wiki/6-Configuration#AXIS1
#define AXIS1_STEPS_PER_DEGREE    9671.11111 //  12800, n. Number of steps per degree:                                          <-Req'd
//         n = (stepper_steps * micro_steps * overall_gear_reduction)/360.0
#define AXIS1_STEPS_PER_WORMROT     25600 //  12800, n. Number of steps per worm rotation (PEC Eq mode only:)                <-Req'd
//         n = (AXIS1_STEPS_PER_DEGREE*360)/reduction_final_stage
 
#define AXIS1_DRIVER_MODEL            TMC2130_VQUIET //    OFF, (See above.) Stepper driver model.                                      <-Often
#define AXIS1_DRIVER_MICROSTEPS       128 //    OFF, n. Microstep mode when tracking.                                        <-Often
#define AXIS1_DRIVER_MICROSTEPS_GOTO  4 //    OFF, n. Microstep mode used during gotos.                                     Option
#define AXIS1_DRIVER_IHOLD            1199 //    OFF, n, (mA.) Current during standstill. OFF uses IRUN/2.0                    Option
#define AXIS1_DRIVER_IRUN             1199//    OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc.    Option
#define AXIS1_DRIVER_IGOTO            1678 //    OFF, n, (mA.) Current during slews. OFF uses same as IRUN.                    Option
#define AXIS1_DRIVER_REVERSE          ON //    OFF, ON Reverses movement direction, or reverse wiring instead to correct.   <-Often
#define AXIS1_DRIVER_STATUS           OFF //    OFF, TMC_SPI, HIGH, or LOW.  Polling for driver status info/fault detection.  Option
 
#define AXIS1_LIMIT_MIN              -180 //   -180, n. Where n= -90..-270 (degrees.) Minimum "Hour Angle" for Eq modes.      Adjust
//         n. Where n=-180..-360 (degrees.) Minimum Azimuth for AltAzm mode.
#define AXIS1_LIMIT_MAX               180 //    180, n. Where n=  90.. 270 (degrees.) Maximum "Hour Angle" for Eq modes.      Adjust
//         n. Where n= 180.. 360 (degrees.) Maximum Azimuth for AltAzm mode.
 
// AXIS2 DEC/ALT
// see https://onstep.groups.io/g/main/wiki/6-Configuration#AXIS2
#define AXIS2_STEPS_PER_DEGREE    284.44444 //  12800, n. Number of steps per degree:                                          <-Req'd
//         n = (stepper_steps * micro_steps * overall_gear_reduction)/360.0
 
#define AXIS2_DRIVER_MODEL            TMC2130_VQUIET //    OFF, (See above.) Stepper driver model.                                      <-Often
#define AXIS2_DRIVER_MICROSTEPS       128 //    OFF, n. Microstep mode when tracking.                                        <-Often
#define AXIS2_DRIVER_MICROSTEPS_GOTO  4 //    OFF, n. Microstep mode used during gotos.                                     Option
#define AXIS2_DRIVER_IHOLD            1199 //    OFF, n, (mA.) Current during standstill. OFF uses IRUN/2.0                    Option
#define AXIS2_DRIVER_IRUN             1199 //    OFF, n, (mA.) Current during tracking, appropriate for stepper/driver/etc.    Option
#define AXIS2_DRIVER_IGOTO            1678 //    OFF, n, (mA.) Current during slews. OFF uses same as IRUN.                    Option
#define AXIS2_DRIVER_POWER_DOWN       OFF //    OFF, ON Powers off 10sec after movement stops or 10min after last<=1x guide.  Option
#define AXIS2_DRIVER_REVERSE          OFF //    OFF, ON Reverses movement direction, or reverse wiring instead to correct.   <-Often
#define AXIS2_DRIVER_STATUS           OFF //    OFF, TMC_SPI, HIGH, or LOW.  Polling for driver status info/fault detection.  Option
#define AXIS2_TANGENT_ARM             OFF //    OFF, ON +limit range below. Set cntr w/[Reset Home] Return cntr w/[Find Home] Infreq
 
#define AXIS2_LIMIT_MIN               -90 //    -90, n. Where n=-90..0 (degrees.) Minimum allowed declination.                Infreq
#define AXIS2_LIMIT_MAX                90 //     90, n. Where n=0..90 (degrees.) Maximum allowed declination.                 Infreq


Chris Whitener
 

it is TMC2130_QUIET  not VQuiet.....


Juan Sebastian
 

On Mon, Nov 15, 2021 at 06:56 PM, Chris Whitener wrote:
it is TMC2130_QUIET  not VQuiet.....

 It does work as VQuiet in my other setup


kevin
 

Hi,
 i don't know a lot about this but a few observations.
you don't seem to have used the config generator to produce this setup otherwise you wouldn't get the mis spelling of the motor type so gear ratios etc may be wrong.
the heading says it is an eq2 mount the text says both cg3 and eq3 mount so i cant find out what the number of teeth on the worm is.

your list doesn't go as far as what the desired slew rate is.

the motor actually does move a quarter turn at the end.
if you give it too fast a stepping rate by not getting the numbers right it won't move, however on a long goto slew i think it starts slowly and accelerates quickly up to the target slew rate and the slows down so as not to jolt the scope. the movement at the end may be when it gets a slow enough step rate that it can follow it.
does it move if you just tell it to track?

Hope this helps a bit.


kevin
 

another thought, I have never used these drivers however the config. h file contains the note

// Stepper driver models (also see ~/OnStep/src/sd_drivers/Models.h for additional infrequently used models and more info.):
// A4988, DRV8825, LV8729, S109, SSS TMC2209*, TMC2130* **, and TMC5160* ***
// * = add _QUIET (stealthChop tracking) for example "TMC2130_QUIET"
// ** = SSS TMC2130 if you choose to set stepper driver current (in mA) set Vref pot. 2.5V instead of by motor current as usual.
 i have no idea  but it may  mean that if you enter a current in the settings it get scaled by Vref i.e if you don't have it set to 2.5V but set 0.5V you might get 1/5 the expected current.