K8096 and 1.8°/step stepping motor

There is a new problem I could not solve by yourself.

K8096 is connected to the stepper motor SM-42BYG011-25 (bipolar, 1.8°/step, 12V, 0.3A).

The problem is that even at a slowest speed of 255 (and regardless of the current settings) has a large positioning error. It looks like a big “zero” slip (the starting point) when performing multiple steps (eg, 10) in one direction and then back again.

And do not run (or rather, run abnormally) single steps.

At the moment I have no more motors to compare.

Have you encountered such effect, and how to solve this problem (if the “yes”)?

Hello.

You may activate torque to avoid positioning errors.

bye

Yes, I know. But it does not help.
I also tried to adjust the current and voltage increase. It also does not help.

Hi,

The K8096 should be able to drive your motor.

When the motor turns, does it turn erratically?

Is this the motor you are using:
sparkfun.com/datasheets/Rob … 011-25.pdf

Are you sure you have wired the phases correctly to the board?

I’m not sure if the datasheet on that motor is correct but it shows 6 leads coming from the motor. You should only use 4 (on the right of the datasheet).

Wiring diagramm on pdf is fully correct. It’s a 4-wire bipolar stepping motor.

I experimented with the connection phase, too. To no avail.
Sometimes the effect disappears itself. But after switching off and on it appears again.

Apparently, it was the resonance of the motor.
The phenomenon disappears when the speed value of 200 or less.

It is a pity that there is no way to move limit of the range of speeds, as 200 is a lot for my project.

I would venture to guess that the controller has been tested mainly with permanent magnet stepper motors (having a large angular step of the rotor).

If so, that it should be considered when hardware solutions choosing.

And after. The problem with the accuracy of the individual steps and with an odd number of steps, apparently, can not be eliminated in the case of NEMA 17 motors. To eliminate this drawback is necessary to further test and debug firmware of the controller, as I understand.

Should we expect that the firmware will be fixed to work with motors that have small angular pitch of the rotor (1.8 / 0.9 angular degrees)? I think if this firmware will be made ​​and uploaded, the owners K8096/K8097 controllers will be able to reflash the PIC-processors in their controllers.

Sorry, at this time we have not received any complaints about this and we do not have such motors at hand, to test.

Your words confirm my worst fears: you made only limited testing with the motors of the Velleman product range.
I believe that your company could find budget of $ 20 for the purchase of such motor for such testing.

ps: It is unfortunate that you dissociate oneself from assistance in cases related to the use of Velleman products with third-party equipment.

Please rest assured that we have tested the card with numerous motor types and brands, not only Velleman brand motors.
Judging by the number of cards sold and the fact that we have not received any complaints so far, we must conclude that the card works fine with most common motors.
We simply cannot guarantee that it will work fine with just any kind or brand of motors.
We are willing to look into the problem, if you return the card together with the motor to:

Velleman Projects Tech. Dept.
Legen Heirweg 33
9890 Gavere
Belgium

Can you post your list of successfully tested (and actually recommended) stepper motors?
To be able to just order (buy) a known working, tested the motor.

Sorry, we do not have such a list at hand.

I understand you :slight_smile:

ps: Described by me the effect of jumps and omissions inherent in the used chip L6219. Depends on quality design of firmware.

[quote=“trengtor”]I understand you :slight_smile:

ps: Described by me the effect of jumps and omissions inherent in the used chip L6219. Depends on quality design of firmware.[/quote]

I assume you contacted the manufacturer of the motor if they could fix the resonance problem instead, so that it would be compatible with a wider range of speeds. How did they reply?

From my observations, resonance occurs when the engine speed is> 200 (the parameter passed to the API). I have tried a variety of speed, current, voltage (it’s a special theme). Unsuccessfully. The other day, get another NEMA 17, from other vendors, to compare. But the study material on the Internet related to the topic, said the most probable cause is not well-tuned control algorithm for the output driver. General recommendation - use a high gear in order to reduce control errors of L6219. Apparently, give up the NEMA 17 and will use a stepper motor with gear (with rotor’s angle step 7.5°).

Another problem ­- documentation quality of K8096 (K8097 the same):

[quote]Speed: This indicated the time between each step. A larger number results in a slower
running motor. A lower number results in a faster running motor. Min: 1. Max: 255. If the
number is too low, it is possible that the motor stops running, depending on the motor’s
properties.[/quote]
What is the real rate corresponds to which of the values​​? It’s not clear. So, it remains only a method of trial and error. Because customer time costs nothing compared to the technical support labor-time.

Hello people,

Recently i assembled K8096 and i am using velleman’s stepper MOTS3.My problem is that the motor cannot move when i am giving it 20 speed or lower.I tried some adjustments with the trimmer but no results.I use power input 24V AC.I dont know if is a matter of voltage.Any ideas?

Try this with the demo software that comes with the card.
Start the motor at eg speed=30, and give a larger motion eg 100000 steps to the right.
While the motor is moving, you increase the speed to 25, then to 24, … Each time give a new command to the right.
With my motor I could go till speed=8. It only starts moving at speed=25.

The reason you can’t use your motor at higher speed is because you can’t give an acceleration. Should it be possible to reprogram the PIC-controller, so that you can give an acceleration? Normally you can program this PIC in circuit.
I have a PIC-programmer K8048 (yes i’m a Velleman fan). Can you do it with this board? I suppose Velleman doesn’t give the source code of the K8097.

This goes to the admins.

Are there any documents that can provide extended description of how k8096 circuit works?As a rookie i would like to study the circuit operation in depth but the chips datasheets do not help me 100% :slight_smile:

Thanks a lot