Pololu A4988 and Nema 17

Hi, I'm trying to build a balancing robot. I bought 2 x A4988 driver and 2 x Nema 17 motor. (This is the motor data sheet: https://s3-ap-southeast-1.amazonaws.com/...20RevA.pdf). 

This is the minimal robot : https://dl.dropboxusercontent.com/u/5096...G_0956.jpg

The wheels are 6 cm of radius.
The connection from the motors to the drivers are these:
2B : Blu
2A : Red
1A : Black
1B : Green

The VMOT is 19V (I used a notebook powe pack : 19v and 6.7A)

The current is set to max (1A)


The problem is :
The motor doesn't have enough torque to move the wheel quickly. But many robots with the same hardware had fast acceleration.
The motor is locked

Have you checked if the
Have you checked if the wheels are truly going along with the motors? The point where the wheels connect to the motor is always a weak point.

One of the problems with stepper motors is that they usually don’t have much torque.

One of the good things is that they don’t need need an encoder as long as you keep track of the number of steps.

Good luck!

The wheels are secured. They

The wheels are secured. They turn with the motor

The wheels are secured

How are you powering the bot?

you mention Vmot = 19v, but, you don’t tell us what you are using to supply the power. If your power is from a whole slew of alkaline batteries, you may as well attach a lead weight to the top and hope gravity works in your favor. Alkaline batteries don’t have the ability to supply enough current.

motors

All nema 17 motors are not the same.  Here is some data from one manufacturer.

http://www.omega.com/auto/pdf/omht_series.pdf

 

Hard but doable

Make sure to enable microstepping pulling all M pins high.

Make sure the current is well regulated; the driver doesn’t get too hot and the motor doesn’t overheat.

Use the timer in microseconds and don’t use delays in code, as you want it to be responsive to change from sensors. You can hold torque by sending step forward and step backward at a fast rate or go full step to get greater torque. Accelleration is essential and it’s done by decreasing delay between steps, depending on the load they can go at full speed after 1ms or 2s.

Then every couple of motor/drivers have slightly different parameters to work at best. I recommend using good placed heatsinks. DVR8825 drivers can also do 1/32 microstepping, which can improve control.

 

I used a notebook power pack

I used a notebook power pack :19v and 6.7A

I attached the data sheet

I attached the data sheet

I though that the radius of

I though that the radius of the wheels is to long. I don’t know how much it affect the motors.

If I set all M pins, will the torque be worse?

Same force*speed, but you

Same force*speed, but you get to decide better how to distribute speed and power.

For example a 1/16 microstep at 1000000us delay it has as much torque as holding torque(kg/cm) and moves at a almost unnoticeable speed, the same microstep at 20us delay (after accellerating) can go at >800 rpm, with a stall torque of a few grams. Too small delay and the motor just stall because it hasn’t enough force to win rotor inertia.

Thx a lot. I’m trying your

Thx a lot. I’m trying your solution. What do you mean when you speak about delay? delay between what?

I think he’s comparing the
I think he’s comparing the motors he found with the motors that you are using.

Motors

He needs to compare the motors he is using with the motors others are using.  Just because someone else used nema 17 motors doesn’t mean those motors have the same specifications.  You can’t expect the same performance unless everything is identical.