Stepper speed
Thanks for your comments,
Speed is an issue that I've tried to push back on, but there are a few imperatives about this product that mean I'm stuck with trying to accomodate it. We are altering code in the micro tomorrow, to include a two stage "ramp up" sequence (start at say 500hz, then go to 1khz, then to 2.5khz) to see if that assists. At the same time, I will also play, again, with the values for PFD and REF, to see what they give me.
This machine has 8 pumps, but only one is driven at any one time. I was wondering why I was getting such a high load on the 24v rail, when I had just one pump running. It suddenly dawned on me that I was using a common ENABLE line across all 8 pumps, but just toggling the STEP pin of the desired pump. Therefore, even though only one pump was drawing full current while stepping, the seven others were also dragging current as each will have at least one phase energised - ahh the pitfalls of trying too hard to conserve I/O. Fortunately I have the required number of I/O sitting unused on a port expander chip nearby (released from other duties in the previous rev), so I have an easy way out on this one, at least.
I didn't state it explicitly previously, but I am running in full step mode. Matilda suggested running in micro-stepping mode. Is it possible to switch from one micro-step mode to another (or to full step) on the fly? For instance, starting the motor turning in 1/8 or 1/4 step mode, then switching to 1/2 or full step mode to complete the cycle.
Regards
Colin