Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Posted by
Jon Elson
on 2003-10-03 10:50:13 UTC
Asim Khan wrote:
acceptable error bound.
You should investigate axis stiffness. Apply manual force to the motors
in such a way that if they took off it could not pull your hand in and
break fingers. Possibly using the palm of the hand on a belt sprocket
or something like that. There should be a VIGOROUS resistance
from the motor to any perceptible movement. (Don't be worried if
you can move the motors with STRONG effort from your hand, all
servo systems have some peak torque which thay cannot exceed.)
But, if you can move the motor more than a few thousandths of an inch
(few hundredths of a mm) with a small effort, then the stiffness of the
axis is far too low. This is primarily a problem with proportional
gain (the P term in the PID settings). But, gain affects everything,
including stability. If you increase P, you may have to adjust other
settings to keep the loop stable. Your P of 60 is VERY LOW! I
run my servos around P=600 - 1000! For stability reasons, you may not be
able to go that high. But, with 25000 counts/inch, you should be
able to settle to 1"/12500 ~= 0.00008" of the commanded position.
But, there's a lot more to this tuning business. First, the servo amplifier
should be set so that a velocity command of about 9 V = the maximum
speed you want the machine to move at. Then, MAX_VELOCITY
should be set to that maximum. Your MAX_VELOCITY is set
to 5. Do you really plan to go to 300 IPM? If so, then 9 V into
the servo amp should deliver 300 IPM. If not, then set MAX_VELOCITY
(both in the TRAJ section and in the AXIS sections)
Note that my machine has encoder resolution of .00005" (50 uIn)
and settles at rest to about .0001", or within about +/- one encoder
count of the commanded position. I do not use ANY deadband, but
this is a true analog servo system with DC tach, and so it is
enormously self-stable at rest. Without a DC tach, there is no
micro-velocity feedback between encoder counts to keep the loop
closed, and so deadband may be needed to prevent annoying hunting.
Jon
>!! !! AT HOME POSITION AXIS POSITION COUNTERS DONOT TURN EXACT 0.0000Of course. The actual position is never what you ask for, just within some
>EVEN WHEN THE POSITION DISPLAY IS SET TO MACHINE !! !! !!
>
>
acceptable error bound.
>Hi group!Oh, my! Those are quite large differences, especially the Z.
>Due to problem in emc developer installation i was unable to install
>it on a P-I system. The developer install was causing the
>installation to process hang when it tried to install the kernel
>source files. I had changed cd drives but no better results!
>
>Since i was unable to install developer from the CD so ,To experiment
>a shortcut method to fix the homing
>and index pulse detection problem i copied the newstgmod.o from
>a fixed system to this P-I machine. I ran the system, the system
>is able to detect index pulse and can stop and turn green but the
>only trouble now i am having is that at home positions the axis
>counters donot turn an exact 0.0000 but instead they give some offset
>like X 0.0206 Y0.0345 Z 0.430.
>
You should investigate axis stiffness. Apply manual force to the motors
in such a way that if they took off it could not pull your hand in and
break fingers. Possibly using the palm of the hand on a belt sprocket
or something like that. There should be a VIGOROUS resistance
from the motor to any perceptible movement. (Don't be worried if
you can move the motors with STRONG effort from your hand, all
servo systems have some peak torque which thay cannot exceed.)
But, if you can move the motor more than a few thousandths of an inch
(few hundredths of a mm) with a small effort, then the stiffness of the
axis is far too low. This is primarily a problem with proportional
gain (the P term in the PID settings). But, gain affects everything,
including stability. If you increase P, you may have to adjust other
settings to keep the loop stable. Your P of 60 is VERY LOW! I
run my servos around P=600 - 1000! For stability reasons, you may not be
able to go that high. But, with 25000 counts/inch, you should be
able to settle to 1"/12500 ~= 0.00008" of the commanded position.
But, there's a lot more to this tuning business. First, the servo amplifier
should be set so that a velocity command of about 9 V = the maximum
speed you want the machine to move at. Then, MAX_VELOCITY
should be set to that maximum. Your MAX_VELOCITY is set
to 5. Do you really plan to go to 300 IPM? If so, then 9 V into
the servo amp should deliver 300 IPM. If not, then set MAX_VELOCITY
(both in the TRAJ section and in the AXIS sections)
Note that my machine has encoder resolution of .00005" (50 uIn)
and settles at rest to about .0001", or within about +/- one encoder
count of the commanded position. I do not use ANY deadband, but
this is a true analog servo system with DC tach, and so it is
enormously self-stable at rest. Without a DC tach, there is no
micro-velocity feedback between encoder counts to keep the loop
closed, and so deadband may be needed to prevent annoying hunting.
Jon
Discussion Thread
Asim Khan
2003-09-15 06:07:54 UTC
EMC stg2mod.o and problem with homing
Jon Elson
2003-09-15 09:50:57 UTC
Re: [CAD_CAM_EDM_DRO] EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-15 10:52:41 UTC
RE: [CAD_CAM_EDM_DRO] EMC stg2mod.o and problem with homing
Asim Khan
2003-09-16 07:54:12 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-16 10:05:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-17 05:39:59 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-22 08:21:19 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-22 11:08:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-22 13:11:18 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Paul
2003-09-22 14:55:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 05:16:25 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 06:17:30 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 10:26:30 UTC
Re: EMC stg2mod.o and problem with homing
Paul
2003-09-24 12:57:42 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 00:32:33 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-25 10:03:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 22:37:04 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 22:41:57 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-03 02:45:34 UTC
Re: EMC stg2mod.o and problem with homing
Ray Henry
2003-10-03 05:25:05 UTC
Re: Re: EMC stg2mod.o and problem with homing
Paul
2003-10-03 10:16:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-03 10:50:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-05 22:33:15 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-05 23:07:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-12 08:34:30 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-12 17:52:32 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-13 23:42:53 UTC
Fanuc 11M system, Drip Feed/DNC mode Configuration help needed
Asim Khan
2003-10-16 08:13:01 UTC
Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-10-16 16:02:31 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-18 09:24:56 UTC
Re: EMC stg2mod.o and problem with homing