PID configuration loss.
22 Oct 2012 14:45 #25612
by jlviloria
PID configuration loss. was created by jlviloria
Good morning to all.
So hard to achieve take the vibration and oscillation of the servomotors.
I did that on Saturday. save everything. pense arrive today to try to square the PID correctly.
But I turn and turned the vibration and oscillation.
might be wrong in my setup.
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 1.0
MIN_FERROR = 1.0
MAX_VELOCITY = 166.7
MAX_ACCELERATION = 40.0 I have doubts with this value.
P = 10.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 10.0 I have doubts with this value.
ENCODER_SCALE = -10000 I have doubts with this value.
OUTPUT_SCALE = 10.0 I have doubts with this value.
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -9999
MAX_LIMIT = 9999
thanks for all your patience.
So hard to achieve take the vibration and oscillation of the servomotors.
I did that on Saturday. save everything. pense arrive today to try to square the PID correctly.
But I turn and turned the vibration and oscillation.
might be wrong in my setup.
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
FERROR = 1.0
MIN_FERROR = 1.0
MAX_VELOCITY = 166.7
MAX_ACCELERATION = 40.0 I have doubts with this value.
P = 10.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 10.0 I have doubts with this value.
ENCODER_SCALE = -10000 I have doubts with this value.
OUTPUT_SCALE = 10.0 I have doubts with this value.
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
MIN_LIMIT = -9999
MAX_LIMIT = 9999
thanks for all your patience.
Please Log in or Create an account to join the conversation.
22 Oct 2012 14:55 #25613
by BigJohnT
Replied by BigJohnT on topic Re:PID configuration loss.
Is your config metric?
Normally the acceleration is much higher than maximum velocity.
Velocity and acceleration values are in units per second.
Better to compress your entire configuration into a zip file and attach it to a message usually.
You can have entries in the ini file that do nothing without any error.
If you set P = 0.1 does the oscillation stop?
John
Normally the acceleration is much higher than maximum velocity.
Velocity and acceleration values are in units per second.
Better to compress your entire configuration into a zip file and attach it to a message usually.
You can have entries in the ini file that do nothing without any error.
If you set P = 0.1 does the oscillation stop?
John
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:12 #25615
by jlviloria
Replied by jlviloria on topic Re:PID configuration loss.
John,
my configuration is mm.
with P = 0.1 is worse the servomotors not stop and it feels as if the motor is overload
thanks
my configuration is mm.
with P = 0.1 is worse the servomotors not stop and it feels as if the motor is overload
thanks
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:17 #25616
by jlviloria
Replied by jlviloria on topic Re:PID configuration loss.
as data when I remove the signal 0 - +10 Volts of drivers.
the servomotors not take alarm, and solomante is turning, but without that overload
thanks
the servomotors not take alarm, and solomante is turning, but without that overload
thanks
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:21 #25617
by jlviloria
Replied by jlviloria on topic Re:PID configuration loss.
the servomotors not take alarm, and can only rotate, but without that overload
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:21 #25618
by PCW
Replied by PCW on topic Re:PID configuration loss.
P=0.1 really cannot be worse unless you have a drive or interface problem.
Try disconnecting the analog signal. If you still have overheating or oscillation (or any behavior but a slow creeping movement),
this is a drive or interface issue, and nothing that you do with LinuxCNC
will help until you fix the issue
Try disconnecting the analog signal. If you still have overheating or oscillation (or any behavior but a slow creeping movement),
this is a drive or interface issue, and nothing that you do with LinuxCNC
will help until you fix the issue
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:29 #25619
by jlviloria
Replied by jlviloria on topic Re:PID configuration loss.
when I remove the signal 0 - +10 volts. the servomotors is OK. only a continuous motion is clockwise very slow. but no oscillation and overload. zero alarms.
just connect the analog cable the problem starts.
Saturday had removed all cables from the servomotors and had placed one by one again, and the problem was resolved, the same problem again today.
thanks
just connect the analog cable the problem starts.
Saturday had removed all cables from the servomotors and had placed one by one again, and the problem was resolved, the same problem again today.
thanks
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:40 #25620
by BigJohnT
Replied by BigJohnT on topic Re:PID configuration loss.
jlviloria wrote:
I see in your config that the X axis MAX_VELOCITY = 1.667, did you make a typo in pncconf on the Z axis?
Can your Z axis really go 10,000 mm/min?
Did you verify that the encoder is connected properly? ie the DRO goes the right way when you move the axis by hand?
Did you apply a small DC voltage to the velocity input on the drive to verify that the axis goes the way you expect?
John
MAX_VELOCITY = 166.7
MAX_ACCELERATION = 40.0 I have doubts with this value.
I see in your config that the X axis MAX_VELOCITY = 1.667, did you make a typo in pncconf on the Z axis?
Can your Z axis really go 10,000 mm/min?
Did you verify that the encoder is connected properly? ie the DRO goes the right way when you move the axis by hand?
Did you apply a small DC voltage to the velocity input on the drive to verify that the axis goes the way you expect?
John
Please Log in or Create an account to join the conversation.
22 Oct 2012 15:45 #25621
by PCW
Replied by PCW on topic Re:PID configuration loss.
Does it oscillate if you leave everything connected and set P to 0?
This should behave the same as a not connected analog input on the drive
This should behave the same as a not connected analog input on the drive
Please Log in or Create an account to join the conversation.
22 Oct 2012 16:59 #25627
by jlviloria
Replied by jlviloria on topic Re:PID configuration loss.
john the manual told me that
rapid feed = 10000mm/min
overfeed = 5000mm/min
I think the encoder is connected securely, when I turn the servomotors (ccw) indicates positive linuxcnc me and when rotated (cw) tells me negative.
PCW
Is normal that with the computer off. With no voltage connected. or the board, or the machine. when I connect the analog signal cable CR7 LED is lit, and the light is half CR6? is that normal?
rapid feed = 10000mm/min
overfeed = 5000mm/min
I think the encoder is connected securely, when I turn the servomotors (ccw) indicates positive linuxcnc me and when rotated (cw) tells me negative.
PCW
Is normal that with the computer off. With no voltage connected. or the board, or the machine. when I connect the analog signal cable CR7 LED is lit, and the light is half CR6? is that normal?
Please Log in or Create an account to join the conversation.
Time to create page: 0.192 seconds