I have just scoped my power supply and it's quite clean there is only a 85.54mv deviation at 36.53volts.



As soon as you connect the LM317HV and a stepper motor you can see a saw wave on the power to the LM317HV.




This reading is taken from the power into the LM317, not the output.

Will adding reverse protection diodes across the current limiters cancel this out.

Thanks for your time.