One of two Y-steppers on a MKS DLC32 stops stepping

I have a small CNC milling machine based on a MKS DLC32 with MKS A4988 v2.0 drivers and two stepper motors (17HS8401S with 1.5A rated current) for the y-axis.
When milling longer jobs I detected more or less Y-inaccuracy and the last time I saw that one of the y-stepper motors stopped working for seconds. After aborting the job immediately and moving the X- and Y-axis with normal positioning commands, both y-steppers work fine again.
I thing cabling is not an issue and the gcode program does not address the two different y-steppers.
After a lot of digging into the grbl controller HW stuff, I read about the stepper drivers and the current settings and about lost stepping in case of invalid current settings.
I guess the two Y-steppers are connect (serial or parallel?) to one of the three A4899 drivers.

I measured the ref voltage of the A4988 drivers and all three have a setting of about 0.95V.
Is this value ok for the two connected Y-axis stepper motors?
Is there another reason, why one of the Y-axis steppers stops working?

Regards
Rainer

So one driver is driving 2 stepper motors? I would think a better way to do it would be to have 2 drivers and have the Step/Direction lines driving each of the 2 drivers.

The MKS DCL32 (see GitHub - makerbase-mks/MKS-DLC32: MKS DLC32 motherboard kit, which is an offline engraving master control kit developed for desktop engraving machines. The hardware is equipped with a 32-bit high-speed ESP32 module, integrated WIFI function, and directly drives a 3.5-inch touch color screen; it can realize fast engraving and WEB web pages. Control, mobile phone APP control and other functions.) has only 3 slots for the drivers and 4 connectors for stepper motors (X,Y1,Y2,Z). So this seems to be the inherent design of this board.

1 Like

I have had wires to a stepper motor which had been damaged at the crimp. They ā€œtestedā€ fine but when running were intermittent.

I believe they are connected in parallel. This is sadly the worse combination; series connection is preferable, but few control boards with dual Y outputs do. You can generally tell the ones with serially-connected Y motors because they come with jumpers for when only one Y motor is connected.

Long ago, before I converted a printer with dual Z axis from two motors to one motor and a belt, I made a converter to run two motors in series instead of in parallel.

Canā€™t say without knowing the resistor value on your particular stepper drivers. See Ardufocus | A4988 motor current tuning

But if they are wired in parallel, the current will be shared between the motors; each motor will ā€œseeā€ the full voltage but only half the current.

If they were wired in series, the full current would go through both, and each would see half the voltage. (This generally works fine with 24V supply; might not work as well with 12V supply.)

If they were in series, if the wires broke to one motor, both motors would stop turning.

Without changing anything else, and assuming your Vref is correct for one stepper motor, and assuming you are right that there is no problem with the physical wires, you might expect to want to increase Vref from 0.95V to 1.9V. However, the A4988 has a max current of 2A and if you have a 0.1R sense resistor, 1.9V would be too high. It might simply be that your stepper drivers are not sufficient for your steppers.

To be honest the description of this really shouts ā€˜intermittent connectionā€™ to me. You can get bad contacts in crimped connectors, as @mcdanlj says, and also internal failures in the wire.

This is often caused by the wire being crushed or strained in the past. Leaving a hidden half-contacting break somewhere in the cable that only shows up occasionally, usually as the wire is disturbed or heats upā€¦

Iā€™d start a long, slow Y axis move and then ā€˜wiggleā€™ all the connectors and cabling for the affected motor to see if that can narrow down the problem.

Also, If you can see the back of the controller card, have a good look at the soldering on the socket. Make sure it is not incomplete, cracked or dry. This is another common place to get these sorts of issues.

You could also swap the Y motors to see if the problem is a bad motor.

1 Like

swap the Y motors is a good idea.
I tried to reproduce the problem, but this cannot be done safe without the risk to damage the machine. I do not want to run the machine a long time without human attention, because the problem will give high force to the mechanic.
I checked the voltage which is 24V, so the two Y-motor in series should not be a problem.
At the moment I slightly increased the ref voltage of the Y-stepper drivers and checked the temperature while a running milling job. Temperature was very low, so I guess that this change will not cause a problem.
I will try to check all your suggestions step by step and I will provide the results here.

Could you explain thisā€¦? How are they in series?

:smile_cat:

As stated in my first post I am not sure and I do not know much about stepping motors and the connection to the drivers.
On this page, it is explained how and why a serial connection of two stepper motors makes sense:

2 Likes

Donā€™t know motors, but I do know a little about series and parallel circuits.

I donā€™t know if I buy into his logic.

The way he words this is rather confusing.

Iā€™ve seen lots of these around, not even the factory advises thisā€¦ Seems like that would be advantageous to them.

If youā€™ve seen it elsewhere please post a linkā€¦ Iā€™d like to know ā€¦

:smile_cat:

Wired in parallel the stepper driver needs to provide double the current. Step sticks have limited current ability. The stepper motors can be fully driven from 12V. On a 24V system, there is sufficient voltage available to put the rated current through two motors. In addition, the series wiring will always put the same current through both motors. Any racking force turns into back-EMF which will cause a change in impedance between the motors if they are wired in parallel.

Before the wide, cheap availability of boards with lots of extra stepper drivers on them, wiring two motors from a single driver in series instead of parallel was a common 3D printer upgrade, predicated on upgrading from 12V to 24V. And some control boards that have a stepper with two outputs have then wired in series. You can tell these boards because if you are driving only a single motor, you have to put jumpers on the output.

I havenā€™t read that particular page to know whether that particular authorā€™s logic is good, but the practice is well understood and commonly used, and the associated graphic looks right to me.

Thanks for the clarificationā€¦

Seems odd heā€™d wire them in series with a 12V sourceā€¦ he also stated dc characteristics ignoring the impedance issue.

Itā€™d be nice to have a schematic of some of theseā€¦

How is this supposed to be handled with a DCS32? ā€¦ the driver outputs from the chip only has the xyz axes going out. Didnā€™t see any differentiation between axes/motorsā€¦

Maybe it doesnā€™t support dual motors out of the boxā€¦?

:smile_cat:

Whether it also works with 12V depends of course on the motorā€™s impedance. A pair of motors rated at 3V would be fine. But you have more head room with 24V.

By using one stepper driver with two motors. Best done in series if you can, as discussed here. Whatā€™s the confusion?

If these boards, like DLC32 are pre-wired for any type of connection besides parallelā€¦?

Iā€™ve got one of them sitting on my desk, in my mind, Iā€™d like to stick it in my china blue and see how well different configurations work. I also have a ssl that has two motors, with itā€™s original no-name controller. Iā€™d cough up the bucks for another DLC to upgrade itā€¦


In the end, I guess, Iā€™m pumping you for informationā€¦ sorry :wink:

:smile_cat:

This particular board, like most boards, isnā€™t pre-wired for series stepper wiring. Some such boards have one axis pre-wired for parallel stepper wiring with two header connectors. Others donā€™t have any explicit affordance for multiple motors driven by a single stepper controller. Either way, on such boards, series wiring has to be done off-board. (This is what I did long ago, by making an adapter.)

Some boards are configured pre-wired for series stepper wiring on one axis. Boards that are pre-wired for it require jumpers when the series feature is not in use. For example, the BTT GTR has an axis like this. Iā€™m not using that feature on the printer on which Iā€™m using that board, so I have the jumpers installed. See the two red jumpers on the top middle of this image:

Those jumpers are removed and the second motor driven by the same driver is attached there, when a series stepper is in use.

From their schematic:

My point is that regardless of whether a board is explicitly provisioned for driving steppers in series, it is possible, and at least at 24V arguably desirable, to do so in preference to wiring steppers in parallel, in order to be able to reach desired current on both motors.

(Sorry, this is a little off-topic for the MKS DLC32; just trying to clear up this pointā€¦ :smiling_face:)

1 Like

Also OffTopic but I wanted to point out that itā€™s not just the Resistance of the motors that is affected, their Inductance follows the same rules, doubling or halving for series or parallel wiring the same way.

This can affect and limit torque and response speeds, the drivers ā€˜chopā€™ the output signal on and off at high frequency to provide current-limited power to the motor. Changing the load inductance affects this, and the driver characteristics change (at worst; you risk damaging the drivers by if the inductance they expect to see is too low.)

Not much of an issue with the commodity motors, drivers and setups discussed above, but it is the sort of thing that becomes relevant in more complex scenarios.
Good resource from LinuxCNC.org here: Stepper Information

1 Like