by cncdrive » Thu Jan 25, 2018 5:04 am
What do you mean by "overshoot"?
You running the motor via the Servoconfig3 test?
If so then that ofcourse overshoots, it is a 1(t) step response analyser and what it does is that it tells the drive to change the command position with the set amount of steps.
This means a unit step change in the position which is called the 1(t) function and what the drive does is it compensates the position to the new value and the step response is drawn and can be analysed to get some ideas about the system and tuning goodness.
If the red LED is blinking and the green LED is off means that the drive lost the encoder connection.
The drive detects if the encoder signals are OK or not.
How it does that is it checks the A and the _A signals and the same way the B and the _B signals.
The signals are inverted pairs, so A is always the inverse of _A and B is always the inverse of _B.
If it is not like that then the drive knows the encoder signals are not OK.
And when any of the encoder signals gets disconnected, e.g. A is disconnected while _A is still connected then the A input is internally pulled to _A so again the drive will see that the encoder signals are not OK.
So, you getting blinking red LED and green LED off means that your encoder or it's wiring or it's powering has a problem.
And it is not possible that changing the armatures gives you no difference.
I say it is an incorrect observation, because if you changing out the armature connections then one way will cause the servo to compensate to the wrong direction (away from the position setpoint) which will cause the servo to runaway and stop when the setup servo error limit is reached.
It is just not possible that the servo runs the loop OK with both ways armature connections, I mean it is physically not possible.
If you get both the LEDs solid by turning the encoder gives me the suspicion that your input voltage is too low or your encoders uses so much power that the voltage drops,
because the PSU can't handle it or the current limit in the drive's digital part kicks in. It can supply about 500mAmps for the encoder.
The current limit kicks in at about 750mAmps (the drive internally uses about 200-250mAmps). When current limiting is ongoing then ofcourse the 5Volts power which the internal switching regulator creates from the 12V input, that 5Volts starts to run lower than 5Volts and if it runs under about 4Volts then the drive goes to undervoltage lockout and enters to the bootloader which makes both LEDs to go solid on.
So, I would verify that the digital PSU input voltage is 12Volts and it is not fluctating too low and that the 5Volts to the encoder is solid and is not dropping.