|
Last edited by Nikolay81 In 2018-8-7 00:44 Editor
A very big problem was discovered.
At first I could not understand what was happening, but the oscilloscope helped me in this.
For example, a person bought on Aliexpress, DDCSV and drivers LEADSHINE 556 (the most popular).
He wants his machine to work quieter, and sets the division step 1/32.
Configures the controller, sets the "X axis pulse equivalency" to 1280 (with the step of the ball screw 5mm).
Rejoices, for a while, how well and quiet everything works.
But the joy does not last long. Since, soon he notes that the machine loses its steps when changing direction.
Even at the lowest speeds.
He begins to read the instructions to the drivers, and finds out that the minimum delay between DIR and STEP should be 5 microseconds.
After reading the forums, he finds out that everything is even worse. For these drivers, it is desirable to exhibit a minimum of 10 microseconds.
It sets the "Time interval between DIR & pulse" parameter, for example, at 7000 nanoseconds (7 microseconds).
And then this bug happens.
At large values of "X axis pulse equivalency" (more than 1000) and simultaneously, greater values of "Time interval between DIR and pulse"
(more than 5000), the machine can not develop speed, more than 2500 mm / min.
What happens at this time with STEP signals is visible in the figures.
If you increase the speed, for example to 5000 mm / min, even the numbers on the screen will stop spinning.
That is, the controller just stops generating STEP signals.
If you reduce the "Time interval between DIR & pulse", for example up to 300, the machine quietly develops 10000mm / min.
And STEP signals have an ideal shape.
If you reduce the division of the step to 1/8, the problem also disappears. Since it appears, only at a high frequency of the STEP signal.
How to fix it?
|
|