Interesting Stepper motor problem

Hello. I have A and B ports for running two stepper motors. Each port is driven with TMC222 chip. Port A makes motor vibrate, tries to rotate, but con not. In this port connected any motor do the same and in port B all motors work well. So I changed TMC222 chips (port A to B and vice versa) and problem still appears in port A :o Machine is not made by me, so can not give you a code, but it is branded machine and stopped working. Maybe someone have ideas how to bypass this problem?

This sounds like you have got the stepping motor phases wired up wrong. Try swapping over a couple of wires.

If the wiring is correct then it sounds like the voltage / current is not set high enough to drive the motor.

I tried swapping wires with negative result. Also same wiring, same motor works well on another port.

For voltage/current from TMC222 datasheet:
"Motor parameters, e.g. acceleration, velocity and position parameters are passed to the main control block via the serial interface. These information are stored internally in RAM or OTP memory and are accessible by the position controller."

What to do? :confused:

How much load is on the stepper motor? Did you test with NO load?
Paul

Load is easy, it's just moving small laser, but also tried with no load with same result.

You try and run the motor slower.

How? I can not access the code. This is Corghi wheel balancer. Speed, velocity, etc are set via serial interface.

It would have been good to know that from the first post.
Check that the voltages going in to the motor are not sagging when the motor is asked to move. What are you powering it with?

This is not working port (motor connected):

This is working one(motor connected):

These two engines moves lasers to measure a wheel.

How it is possible to make something with that, except coding? Maybe some filter? looks like working port has smoother output and bad one hard output. All capacitors around TMC222 are changed.

Where are these waveforms measured?
It looks to me that on the not working one there is no connection to the coils of the motor. Either through a broken wire in the motor or some other wiring fault.

These waveforms are measured near motors (cables going to motors, motors connected). tried on both coils with plus minus same waveforms. I thought about wiring too, but with same wiring motor works on other port with no problems.

If you disconnect the motors, and then look at the waveform, does it look like the waveforms you get from the non working setup you showed?

Problem solved. It was programming error, wrong model of motor was picked.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.