OnStep - poznámky
Z Hujer.Net
Moje konfigurace
Převodovka je planetová převodovka se třemi družicemi, zejména počet zubů pro solární zařízení (z1) je 17, zatímco počet teeh na "koroně" (z3) je 46; proto je poměr mezi vstupním a výstupním hřídelem 3,7: 1 (z1 + z3) / z1 3,7058823529411764705882352941176
Verze s řemenicí
#define MaxRate 32 // this is the minimum number of micro-seconds between micro-steps // minimum* (fastest goto) is around 16 (Teensy3.2) or 32 (Mega2560), default=96 higher is ok // too low and OnStep communicates slowly and/or freezes as the motor timers use up all the MCU time // * = minimum can be lower, when both AXIS1/AXIS2_MODE_GOTO are used by AXIS1/AXIS2_STEP_GOTO times #define DegreesForAcceleration 5.0 // approximate number of degrees for full acceleration or deceleration: higher values=longer acceleration/deceleration // Default=5.0, too low (about <1) can cause gotos to never end if micro-step mode switching is enabled. #define DegreesForRapidStop 1.0 // approximate number of degrees required to stop when requested or if limit is exceeded during a slew: higher values=longer deceleration // Default=1.0, too low (about <1) can cause gotos to never end if micro-step mode switching is enabled. #define BacklashTakeupRate 25 // backlash takeup rate (in multipules of the sidereal rate): too fast and your motors will stall, // too slow and the mount will be sluggish while it moves through the backlash // for the most part this doesn't need to be changed, but adjust when needed. Default=25 // Axis1 is for RA/Az #define StepsPerDegreeAxis1 10910.11765 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * (1+46/17)*60/25 * 138/360 = 10910.11765 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 6957.17647 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * (1+46/17)*60/25 * 88/360 = 6957.17647 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 28461L #define PECBufferSize 626 // PEC, buffer size, max should be no more than 3384, your required buffer size >= StepsPerAxis1WormRotation/(StepsPerDegeeAxis1/240) // for the most part this doesn't need to be changed, but adjust when needed. 824 seconds is the default. Ignored on Alt/Azm mounts. #define REVERSE_AXIS1_ON // reverse the direction of movement for the HA/RA axis, adjust as needed or reverse your wiring so things move in the right direction #define REVERSE_AXIS2_ON // reverse the direction of movement for the Dec axis (both reversed for my EM10b, both normal for G11)
Pro převodovku s poměrem 3.71 : 1 plus kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 15359.4 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * 3.71*54/16 * 138/360 = 15359.4 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 9794.4 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * 3.71*54/16 * 88/360 = 9794.4 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 40068L // NEMA17 + PLANET : (15359*360)/138 = 40068L
Pro převodovku 5+2/11 :1 RA kola 55 zubů / 16 zubů a DE kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 21850.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * (5+2/11) * 55/16 * 138/360 = 21850.0 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 13680.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * (5+2/11) * 54/16 * 88/360 = 13680.0 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 57000L // My 16m step : (21850*360)/138= 57000
Přímé spojení kola 54 zubů / 16 zubů
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 4140.00000 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 54/16 * 138/360 = 4140.00000 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 2640.00000// calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 54/16 * 88/360 = 2640.00000 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 10800L // My 16m step : (4140*360)/138= 10800
Upřesněné převody šneku 138:1 a 88 : 1 Kola 49 zubů / 16 zubů
#define StepsPerDegreeAxis1 3756.66667 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 138/360 = 3756,66667 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 2395.55556 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 88/360 = 2395,55556 // the EM10b has two spur gears that drive the RA/Dec worms, they give an additional 1.25:1 reduction // in addition to the 18:1 gear heads on the steppers for a 22.5:1 final ratio before the worm/wheels at 144:1 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 9800L // My 16m step : (3757*360)/138= 9800
Původní odhadované převody šneků RA 144 DE 72
#define StepsPerDegreeAxis1 3920.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 144/360 = 3920 #define StepsPerDegreeAxis2 1960.0 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // My NEMA 17 : 200 * 16 * 49/16 * 72/360 = 1960 #define StepsPerWormRotationAxis1 9800 // My 16m step : (3920*360)/144 = 9800
Small 3D 1024 : 1
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 9102.22222 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * 4 * 256/360 = 9102.22222 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 9102.22222 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 200 * 16 * 4 * 256/360 = 9102.22222 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 12800L // NEMA17 + PLANET : (9102.22222*360)/256 = 12800
// Axis1 is for RA/Az #define StepsPerDegreeAxis1 18204.44444 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 400 * 16 * 1 * 1024/360 = 18204.44444 // Axis2 is for Dec/Alt #define StepsPerDegreeAxis2 18204.44444 // calculated as : stepper_steps * micro_steps * gear_reduction1 * (gear_reduction2/360) // NEMA17 + PLANET : 400 * 16 * 1 * 1024/360 = 18204.44444 // PEC, number of steps for a complete worm rotation (in RA), (StepsPerDegreeAxis1*360)/gear_reduction2. Ignored on Alt/Azm mounts. #define StepsPerWormRotationAxis1 6400L // NEMA17 + PLANET : (18204,44444*360)/1024 = 6400