Как изменить направление вращения шагового двигателя

Is it possible to reverse a stepper motor's direction of rotation by changing the polarities of its wires? I'm asking because I have two stepper motors connected to one single driver and mounted o...

$begingroup$

Is it possible to reverse a stepper motor’s direction of rotation by changing the polarities of its wires?

I’m asking because I have two stepper motors connected to one single driver and mounted on one axle, and I would like to spin the axle from both sides so one motor would have to spin clockwise and the other one counterclockwise.

zebonaut's user avatar

zebonaut

18k4 gold badges59 silver badges103 bronze badges

asked May 27, 2013 at 6:21

Aurimas Niekis's user avatar

$endgroup$

3

$begingroup$

enter image description here

(Your bipolar 4 wire motor?) Current through 1a, 1b coils will turn the rotor so it is aligned as shown above. Turn on the current (in the appropriate direction) the rotor turns clockwise (half step) between 1a, 2a. Turn off the current to 1a, 1b and the rotor turns clockwise (another half step) to align with 2a, 2b. Reversing the direction of the current in the coils produces motion in the same direction. To change direction you need to reverse the current in one set of coils only. At the moment the two motors are connected in parallel and turn in the same direction. Swap ONE of the coil pairs over and you should be able to get the two motors turn in the opposite direction with the same drive signal.
enter image description here

answered May 27, 2013 at 16:53

JIm Dearden's user avatar

JIm DeardenJIm Dearden

18.7k28 silver badges40 bronze badges

$endgroup$

0

$begingroup$

Here’s a timing diagram of a stepper motor:

enter image description here

As you can see, you have to do the following for one step:

  1. Both clock lines are default high
  2. Bring CLK A low
  3. Bring CLK B low
  4. Bring CLK A high
  5. Bring CLK B high

When you want to step the other way around, you have to do this:

  1. Both clock lines are default high
  2. Bring CLK B low
  3. Bring CLK A low
  4. Bring CLK B high
  5. Bring CLK A high

Therefore, you can just swap the clock lines. You can also invert the polarity of the lines (high <=> low). Unfortunately, I can’t see anything specific to your setup because you didn’t give specific information.

Also see this website for more information.

answered May 27, 2013 at 6:27

$endgroup$

5

$begingroup$

Short answer: Yes, just reverse the connections to one winding and the motor will go the other way.

answered Jun 29, 2013 at 0:55

Billysugger's user avatar

$endgroup$

$begingroup$

You can also connect the A coil of one motor to the B coil of the other and vice versa. You’d connect:

DriverA-Motor1CoilA-Motor2CoilB-DriverĀ
DriverB-Motor1CoilB-Motor2CoilA-DriverB̄

answered Sep 8, 2017 at 23:11

infinitenothing's user avatar

$endgroup$

$begingroup$

Is it possible to reverse a stepper motor’s direction of rotation by changing the polarities of its wires?

I’m asking because I have two stepper motors connected to one single driver and mounted on one axle, and I would like to spin the axle from both sides so one motor would have to spin clockwise and the other one counterclockwise.

zebonaut's user avatar

zebonaut

18k4 gold badges59 silver badges103 bronze badges

asked May 27, 2013 at 6:21

Aurimas Niekis's user avatar

$endgroup$

3

$begingroup$

enter image description here

(Your bipolar 4 wire motor?) Current through 1a, 1b coils will turn the rotor so it is aligned as shown above. Turn on the current (in the appropriate direction) the rotor turns clockwise (half step) between 1a, 2a. Turn off the current to 1a, 1b and the rotor turns clockwise (another half step) to align with 2a, 2b. Reversing the direction of the current in the coils produces motion in the same direction. To change direction you need to reverse the current in one set of coils only. At the moment the two motors are connected in parallel and turn in the same direction. Swap ONE of the coil pairs over and you should be able to get the two motors turn in the opposite direction with the same drive signal.
enter image description here

answered May 27, 2013 at 16:53

JIm Dearden's user avatar

JIm DeardenJIm Dearden

18.7k28 silver badges40 bronze badges

$endgroup$

0

$begingroup$

Here’s a timing diagram of a stepper motor:

enter image description here

As you can see, you have to do the following for one step:

  1. Both clock lines are default high
  2. Bring CLK A low
  3. Bring CLK B low
  4. Bring CLK A high
  5. Bring CLK B high

When you want to step the other way around, you have to do this:

  1. Both clock lines are default high
  2. Bring CLK B low
  3. Bring CLK A low
  4. Bring CLK B high
  5. Bring CLK A high

Therefore, you can just swap the clock lines. You can also invert the polarity of the lines (high <=> low). Unfortunately, I can’t see anything specific to your setup because you didn’t give specific information.

Also see this website for more information.

answered May 27, 2013 at 6:27

$endgroup$

5

$begingroup$

Short answer: Yes, just reverse the connections to one winding and the motor will go the other way.

answered Jun 29, 2013 at 0:55

Billysugger's user avatar

$endgroup$

$begingroup$

You can also connect the A coil of one motor to the B coil of the other and vice versa. You’d connect:

DriverA-Motor1CoilA-Motor2CoilB-DriverĀ
DriverB-Motor1CoilB-Motor2CoilA-DriverB̄

answered Sep 8, 2017 at 23:11

infinitenothing's user avatar

$endgroup$

Как поменять направление вращения шагового двигателя?

denizzz

Идет загрузка
Загрузка

17.02.2018

20979

Экструдер не в ту сторону толкает пластик(

Как поменять?

Можно проводами или нужно в прошивку лезть?

Ответы на вопросы

Популярные вопросы

Задолбали пробки при печати PETG

Zheka1980

Идет загрузка
Загрузка

16.01.2023

852

Попробовал недавно этот пластик. Классный. 

Но большую модель напечатать не получается, в течение максимум часа печати образуетс…

Почему не шьётся плата.

Подскажите пожалуйста почему не шьётся плата Creality 4.2.7.

Собрал прошивку в VS Code скидываю на флешку реакции ноль….

Шестерня vs зубчатое колесо

mlizart

Идет загрузка
Загрузка

26.05.2018

42347

Часто участникам портала приходится изготавливать зубчатые колеса и шестерни. Но мало кто задается вопросом, в чем их отличие?

Недавн…

Читайте в блогах

Понравилась статья? Поделить с друзьями:
  • Как изменить направление курсора мыши
  • Как изменить направление вращения циркуляционного насоса
  • Как изменить направление колесика мыши windows 11
  • Как изменить направление вращения стартера автомобиля
  • Как изменить направление канала на youtube