Adjusting motor current/voltage

I bet a lot of us have meters. Are all of the the motor specs published?

Are all of the the motor specs published?

That would be a question for Inventables. They know which motor they used. If they don’t have the specs readily available they should be able to give you the motor manufacturer and model number so you can get them from that company.

As someone else mentioned, there are other factors involved such as temperature, but I’m assuming that the question here was asked about the product delivered by Inventables. They should have done the engineering work to assure that the motors don’t take the drivers into thermal overload.

If you are using a driver board not supplied by Inventables, then you have to make sure the components that you use are compatible.

1 Like

Oh, Inventables? :smiley:

I think this would be a great way to get the pots set correctly.

Inventables has data sheets for the stepper motors they sell. Check the page below, click into the motor you want and then click the appropriate data sheet pdf.
https://www.inventables.com/categories/machine-components/stepper-motors

1 Like

For what I have, the x-carve config page says 60, but, there are no 60’s listed. :frowning:

@TonyNo If you should decide to adjust your motor currents the way I would do it, you need to take into account that the X-Carve has two stepper motors wired in parallel. In an ideal world the current would divide equally between the two motors. That’s assuming that the two motors are identical.

However, in the real world no two motors are the same. Differences in manufacturing, etc. will cause the windings to be slightly different from motor to motor. Sometimes more than slightly. So you could have a situation where one motor draws a significantly higher current than the other. This is one of the difficulties in paralleling motors.

If you adjust the current for the driver to be at the maximum specified current on the motor data sheet you could end up with one of the motors below the spec’d current and one of the motors above the spec’d current.

Just a heads up warning if you decide to use this method for setting the current limits on your system.

Larry

So, speaking voltage share, is that means upgrading stepper motors to longer and stronger ones is no solution. Inventables have another stepper option which 262 in/oz. longer one Requires 3.2v 2.8 w.

Many thanks for the replies and thoughts. Like most things, it’s always a little deeper and more complex than it initially appears.

It looks like Larry has the solution, but given my current understanding of electronics, I’ll admit to not being confident enough to build something sufficient to apply a load so I can make the necessary adjustments (I’ll certainly look into this further however).

In the interim, looks like I’ll keep tweaking the pots until I find a happy medium and the problem is resolved (and that’s assuming of course that my original problem isn’t something mechanical).
The image below shows and example of what’s occurring - most of the carving is where it should be, however you can see where some of the carving is ‘outside’ the final carved circle (excuse my poor artwork - I’m still very much the novice).
.

1 Like

170mmx120mm - Available from most electronics shops (got this at Jaycar).
Hole cut in the lid using the machine itself.

Yep,
I went to Jaycar (an electronics supplier) and bough a cheap plastic enclosure & several 5 pin plugs (with screw in locks) and a simple 2 pin plug (like a standard speaker cable plug).

Basically, all I’ve done is wired everything up so it works, then mounted the controller in box, cut & soldered each 5 pin plug & socket into the wiring for each stepper motor (using only 4 of the pins) and then done the same for the limit switches.

The spindle motor is run via the 2 pin plug. The USB cable enters through a hole in side of the box. The hole for the fan is cut using the machine itself.

Cables are clipped to the side of the bench (actually an Ikea Table - black, nice & flat, tall enough that I don’t need to bend over, and at 1200x1200, big enough for my machine. Cost was $199).

This way, I can simply un-plug everything and work on the controller

Jerry,
Yes, I do have a dial indicator and yes, I’ve used it to the the the mechanical side of things to be as accurate as possible.
The error I’m having is related to the machine losing its position during cuts (i.e. when it’s finished and returns to 0,0,0 it’s in a different position.

I’m not sure what you are asking. A solution to which problem?

When you lose position do you hear a rumbling? If so it may not be the pots it may be an intermittent wiring connection. One way to prevent this would be to add ferrules to the ends of the wires.

David, it’s a simple process.

The load can consist of a single resistor. Something like Mouser part # 284-HS100-10F. It is a 10 ohm resistor rated at 100 watts. (about $12).

The NEMA 23 motor that Inventables sells (part # 25311-03) is rated at 3.2 volts and 2.8 amps per phase.

The NEMA 17 motor (part # 25253-01) is rate at 2.8 volts and 1.68 amps per phase.

The gShield is rated at 2.5 amps per phase with proper cooling.

NOTE: The NEMA 23 stepper motor can draw more current than the gShield can supply so if you do this process make sure that the current limit pot is set to it’s lowest current setting and slowly move up to the current limit that you want.

For the standard 24 volt supply: i = v / r = 24v / 10 ohms = 2.4 amps; p = i ^ 2 * r = 2.4 * 2.4 * 10 = 57.6 watts.

I like some headroom on the power dissipation and the 100 watt resistor only costs a few cents more than a 75 watt.

If you plan on running the gShield at the 2.4 amps you should check with the gShield providers to find out what “proper cooling” means for them.

So the test setup would be to disconnect one of the stepper motors from the gShield. Run one wire from one of the coil connections through an ammeter then through the power resistor and then back to the other connection for that coil on the gShield.

You might have to use something like the Universal G-code Sender to activate the stepper motor, but that should be obvious if you don’t get any current through the ammeter. I don’t know if you can do this through Easel.

It 's much harder to describe than to do.

If a drawing is needed then I can do that, just let me know.

Larry

Larry,
Thanks for your patience and well crafted replies - I’m surprising myself by understanding most of what you say.

Each axis of my machine is plugged into the controller’s box via a 5 pin plug so getting access at the controller is simple (although access at each terminal strip next to each motor is pretty simple also).

Just a couple of questions:

  • will it be ok to disconnect all motor control cables when I run the test? Doing this would mean I can then use the GCode sender to issue a command to move something like 100 inches, giving me time to tweak the pots, read the meter and so on.
  • for the axis running the paired motors, is it 2.4 amps for each motor?
  • each motor has two pairs of wires (I kinda understand why). Do I set the load to be 2.4amps for each pair of the four wires, or to I connect them together somehow (in series I’d assume) and set the load for both pairs at once?
  • a simple wiring sketch may be helpful, but I’m pretty sure I can work through it without one

And finally. (For this post anyway), I’d assume it’s the the board with the pots on it that I need to cool rather than the Arduino itself? Having put the controller in a nice neat little box (albeit with the fan cut through) I was already concerned about heat. How concerned do I need to be about turning the volume up 9 on every axis? Without looking, are there items to which I can attach some small heatsinks?

Hopefully following your advice, I’ll be be able to make something that others can copy. I doubt im the only one struggling with this.

Thanks,
David

Known problem is Y axis stepper motors. You’re giving advise how to adjust voltage on it and parallel sharing the same current. I had same problem and other guys help me to increase voltage.
Then I started to think about upgrading steppers with the stronger ones if they are weak.
When I read your explanation, start wondering if same power supply and limited adjust pod, can we use bigger stepper and share same voltage.
Do you think we have enough power for two 3.2 V steppers. I hope clear enough.

Thanks, it’s not something I’d considered.

I might tin the wires going into the controller with solder, I’ll assume this should be reasonably similar and easier. The wires on each terminal strip I’ll crimp or solder with spade connectors.

When I first put the machine together, yes, I was getting a rumbling noise. 99% of which disappeared when I first bumped up the current at each pot. The adjustments I’ve made however, were pretty modest, I was concerned about breaking the pot or overheating the motors.

Each comment and suggestion however, is gradually making the machine better and better. Who knows? I might even be able to make something soon…

@DavidWestley

Hello David,

Glad to hear you have a dial indicator. Could you humor me with a test to rule out something I’ve seen;

Could you put the dial indicator on the machine measuring the Y axis then using the command through UGS to enable the spindle at max rpm (S14000 M3) and just let it sit for a while and watch the dial indicator and see if it moves.

•will it be ok to disconnect all motor control cables when I run the test?

Yes

•for the axis running the paired motors, is it 2.4 amps for each motor?

It’s 2.4 amps per phase. Bipolar steppers have two phases. The black/green is a phase and the red/blue is a phase (changes to red/white in the add on wire). There is only one pot to adjust the current for each motor driver (one driver chip for one motor two phases). So what you are really doing is setting the current limit for the driver chip. It will take care of the two phases.

See if this image clears things up a bit.

This will give you a good starting point and the maximum performance from your motors. If you start getting thermal shutdowns then you may have to add more cooling, or back off the current limit for the driver that’s shutting down.

1 Like

Let’s see if we can work this out.

The voltage is not what we are setting. The controller chip will use PWM (Pulse Width Modulation) to turn the voltage to the motors on and off to obtain a safe current in the stepper motor. When two electronic devices are connected in parallel the voltage that each device sees is the same.

What does change in the parallel configuration is the current through each leg of the circuit depending on the resistance and impedance in each leg of the circuit.

For two stepper motors in parallel it is not possible to set the ideal current limit for both motors because they may have different resistance/impedance characteristics.

So, what you do when you control multiple motors from one driver chip is that you try to obtain a compromise that works for your particular machine.

If you have a bigger or more difficult load to move, larger motors may solve the problem. Larger motors require larger currents and the driver chips on the gShield are limited to 2.5 amps per phase.

If you need larger motors (more current) you would need to get a different motor control board to go with the larger motors.

The NEMA 23 motor that Inventables sells can work with slightly more current than the gShield can deliver. You don’t have to run them at full current so there is some benefit from having the larger motors. I ordered the larger motors for my machine.

I hope this helps, if not ask and I’ll try again.

Larry

2 Likes