RE: [CAD_CAM_EDM_DRO] EMC and freqmod
Posted by
Tim Goldstein
on 2001-05-07 09:07:46 UTC
I think I read this in the read me file, but then again, maybe not.
Here is your problem. Freqmod emulates a closed loop servo in the code. It
is now using the INPUT_SCALE value to determining the movement per unit
commanded and it is using the OUTPUT_SCALE value to determine the actual
movement made (In the closed loop version this would be set to your encoder
count value). It is then looking at the divergence to calculate how to
maintain the virtual servo loop. With it at the steppermod setting you have
a value like 2000 for INPUT_SCALE and the value of 1 for OUTPUT_SCALE. As
soon as you take the first step the values are so far off they trigger a
follow error. Just set the OUTPUT_SCALE to the same value and sign as the
INPUT_SCALE. You will also likely need to start tuning the PID loop to get
it to follow correctly in the virtual servo loop.
Tim
[Denver, CO]
Here is your problem. Freqmod emulates a closed loop servo in the code. It
is now using the INPUT_SCALE value to determining the movement per unit
commanded and it is using the OUTPUT_SCALE value to determine the actual
movement made (In the closed loop version this would be set to your encoder
count value). It is then looking at the divergence to calculate how to
maintain the virtual servo loop. With it at the steppermod setting you have
a value like 2000 for INPUT_SCALE and the value of 1 for OUTPUT_SCALE. As
soon as you take the first step the values are so far off they trigger a
follow error. Just set the OUTPUT_SCALE to the same value and sign as the
INPUT_SCALE. You will also likely need to start tuning the PID loop to get
it to follow correctly in the virtual servo loop.
Tim
[Denver, CO]
> -----Original Message-----
> Glad to hear that freqmod is for open loop control. I can't quite get
> the speed I wanted out of steppermod.
>
> EMC starts up fine in freqmod but whenever I move any of the
> axis I get
> a following error and the control shuts off. The only thing I
> changed in
> the ini file after successfully running steppermod was steppermod to
> freqmod and put PERIOD = .000016 back in.
>
> Thanks,
> Terry
>
> FAQ: http://www.ktmarketing.com/faq.html
Discussion Thread
Terry Toddy
2001-05-07 06:50:29 UTC
EMC and freqmod
Tim Goldstein
2001-05-07 07:21:20 UTC
RE: [CAD_CAM_EDM_DRO] EMC and freqmod
Terry Toddy
2001-05-07 07:39:05 UTC
Re: [CAD_CAM_EDM_DRO] EMC and freqmod
Tim Goldstein
2001-05-07 09:07:46 UTC
RE: [CAD_CAM_EDM_DRO] EMC and freqmod
Jon Elson
2001-05-07 09:17:28 UTC
Re: [CAD_CAM_EDM_DRO] EMC and freqmod
Terry Toddy
2001-05-07 10:08:55 UTC
Re: [CAD_CAM_EDM_DRO] EMC and freqmod
Jon Elson
2001-05-08 09:26:26 UTC
Re: [CAD_CAM_EDM_DRO] EMC and freqmod
Terry Toddy
2001-05-10 09:41:31 UTC
Re: [CAD_CAM_EDM_DRO] EMC and freqmod