On the motor shaft velocity verse phase angle, one thing to consider is that the velocity affects the desired phase angle.
Specifically lets start and assume that the control loop updates every dt seconds, and to make math easier assume it takes dt seconds to execute control loop. Second lets assume that the motor is moving at an angular velocity V(t).
Lets also assume we have a 200 steps per rotation motor.
At time t=0 the encoder is measured to be angle A(t). So what the firmware does is predict the applied phase P(t) as being:
P(t)=A(t)+1.8
However since it takes time to execute the control loop (dt by assumption) we actually are trying to predict the future phase:
P(t+dt)=A(t) +1.8
The issue here is that this incorrect if the angular velocity V(t) is not equal to zero, hence an improved equation would be:
P(t+dt)=A(t)+1.8+V(t)*dt
That is in the dt time we have move some angular distance and we need the increase the phase angle to compensate. The NZS firmware has the code to do this if you want to really high velocity, 20,000 RPM for example:
There are some issues here with the measurement of the V(t) in the NZS code which I have not resolved as of today so the code is not enabled by default. These most likely are similar to the noise problem Kai is seeing.
One thing to be careful with is assuming that maximum velocity is the same as maximum torque, I am sure everyone knows this is not the case. With maximum torque you will have maximum acceleration (F=mA), not maximum velocity. To use an analogy, a small car with low torque engine can go just as fast as a race car, it just takes longer (slower acceleration) for the small car to get to that speed due to low torque.
As far as the maximum power goes the easiest thing to do is increase your voltage. The motor power is based on the input power, with higher voltage the controller can over come the inductance of motor quicker and thus current rise is quicker and you can put more power into motor for a given time period, it makes a big difference going from 12-24VDC. This is the easiest thing to do to increase power and speed of motor. Note increasing the voltage really does not change the stall torque of motor, but rather the rate of change of the torque, and hence the power of the motor not the stall torque. However most people who want more torque for faster acceleration and speeds, increasing voltage will do this. If you want more torque to "hold" a load, then it will be easier to get a better motor.
Note the A4954 is specified with 40VDC max input, where the smart steppers have a 35VDC capacitor so it will not work at 36VDC, a common power supply voltage, however if you order a smart stepper and ask I will put a 50VDC capacitor on the boards for you.
Trampas