- Posts: 19311
- Thank you received: 4655
garymcrobertpdx wrote: Is it possible to disable the upper 4 stepgens by modifying the hal file to
loadrt hm2_pci config " stepgens=6"
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I've just tried to download this example (the .zip file) but it doesn't seem to be there anymore?I have done some experimentation and have found that you can get better
stepgen following performance on systems with moderate jitter by using a
PID loop for position control instead of the stepgen drivers built-in position control loop.
The problem with the built in driver position control is that its tends to overcorrect
for measured position errors cause by sampling jitter.
Here is an example hal /ini file setup:
freeby.mesanet.com/hm2-pidstepper.zip
For PID control of the stepgen, the stepgen is put into velocity mode and a basic velocity mode PID setting is used (FF1 = 1.000, FF2 = .001 (servo period) P= ~150)
This seems to work well for Ethernet systems which have large jitter (>100 usec)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.