Encoder Ratio
Posted: Tue Dec 03, 2019 6:15 pm
Greetings,
I want to be sure I understand how the input/output gain works. To ensure I am setting up correctly.
Hardware:
1. KStep - 16X Microstepping
2. Oriental Motor 0.9 Step Angle Stepper
3. Encoder - US Digital 5000 count quadrature
I am getting confused with "Inv Dist Per Cycle", I have always set that to 1. Is this how the math works?
Cycles/Rotation = 400/4 = 100
Micro Steps / Rotation = 16x100 = 1600
Encoder / Motor = 1600/5000 = 3.125
So the value I would enter into the "Input Gain" field would be 3.125?
Or would it be this way?
Steps / Rotation = 400 x 16 = 6400
Encoder Pulses / Rotation = 5000 x 4 = 20000
Ratio = 20000/6400 = 3.125
They both end up being the same value. I am just wondering which is the correct way to think about it?
Thanks,
Scott
I want to be sure I understand how the input/output gain works. To ensure I am setting up correctly.
Hardware:
1. KStep - 16X Microstepping
2. Oriental Motor 0.9 Step Angle Stepper
3. Encoder - US Digital 5000 count quadrature
I am getting confused with "Inv Dist Per Cycle", I have always set that to 1. Is this how the math works?
Cycles/Rotation = 400/4 = 100
Micro Steps / Rotation = 16x100 = 1600
Encoder / Motor = 1600/5000 = 3.125
So the value I would enter into the "Input Gain" field would be 3.125?
Or would it be this way?
Steps / Rotation = 400 x 16 = 6400
Encoder Pulses / Rotation = 5000 x 4 = 20000
Ratio = 20000/6400 = 3.125
They both end up being the same value. I am just wondering which is the correct way to think about it?
Thanks,
Scott