- Posts: 46
- Thank you received: 8
PID Loop for stepper motors
6 years 8 months ago #156968
by Ameone
Replied by Ameone on topic PID Loop for stepper motors
Ok thanks! Regarding the encoder scale, I have a rotary encoder with a resolution of 2000 steps/rev. Since it's directly connected to the motor axis, I've concluded an encoder scale of 2000/360 = 5.55. Is it correct?
Please Log in or Create an account to join the conversation.
6 years 8 months ago #156972
by PCW
Replied by PCW on topic PID Loop for stepper motors
Is this a rotary axis?
Is it a 2000 PPR encoder?
Is it a 2000 PPR encoder?
Please Log in or Create an account to join the conversation.
6 years 8 months ago #156973
by Ameone
Replied by Ameone on topic PID Loop for stepper motors
Yes, rotary acis with a 2000 ppr encoder!
Please Log in or Create an account to join the conversation.
6 years 8 months ago #156975
by PCW
Replied by PCW on topic PID Loop for stepper motors
Right so the scale would be 22.2222222
(8000/360)
This is because a 2000 line (PPR) encoder has 8000 counts per turn
when using quadrature.
(8000/360)
This is because a 2000 line (PPR) encoder has 8000 counts per turn
when using quadrature.
Please Log in or Create an account to join the conversation.
6 years 8 months ago #156976
by Ameone
Replied by Ameone on topic PID Loop for stepper motors
Ok thank you very much, tomorrow I’ll retest everything and let you know if it works.
Please Log in or Create an account to join the conversation.
6 years 8 months ago #157050
by Ameone
Replied by Ameone on topic PID Loop for stepper motors
Ok so my mistake, the encoder has 1000 PPR. I've tried to move the axis at 90 degrees using both 1000/360 and 4000/360 encoder scales. The scale 1000/360 gives the correct effective angle, is there some problem?
Also, do you know why the axis moves so slowly, without changing speed?
Also, do you know why the axis moves so slowly, without changing speed?
Please Log in or Create an account to join the conversation.
Time to create page: 0.236 seconds