Update StepperModes.md

This commit is contained in:
HomeSpan 2023-06-27 06:07:46 -05:00 committed by GitHub
parent ffbf3364e3
commit 9d08432acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 12 deletions

View File

@ -2,18 +2,10 @@
A typical stepper motor has two sets of coils, *A* and *B*. Applying a current to one or both coils creates a magnetic field that fixes the motor's position. Any changes to the direction and/or magnitude of the current flowing through the coils causes the motor to "step" to a new fixed position. By repeatedly changing the current flow according to a specific pattern the motor can be made to continuously step clockwise or counterclockwise. The specific pattern chosen determines the size of the step, the direction of rotation, and overall performance of the motor. The speed at which changes to the current flow are made determines the speed at which the motor rotates. A typical stepper motor has two sets of coils, *A* and *B*. Applying a current to one or both coils creates a magnetic field that fixes the motor's position. Any changes to the direction and/or magnitude of the current flowing through the coils causes the motor to "step" to a new fixed position. By repeatedly changing the current flow according to a specific pattern the motor can be made to continuously step clockwise or counterclockwise. The specific pattern chosen determines the size of the step, the direction of rotation, and overall performance of the motor. The speed at which changes to the current flow are made determines the speed at which the motor rotates.
causes the motor to lock into positon. A driver chip, which usually contains two full-bridge circuits, independently controls the amount and direction of current flowing through each coil. When current flows through one or both coils, a magnetic field is created with a repeating pattern of peaks and valleys. The precise pattern depends on the amount and direction of the current in each coil. [fullStep2](images/fullStepTwoPhase.png)
A rotor at the center of the motor (which may itself be magnetic, or is constructed out of a ferromagnetic material such as iron) aligns itself with the valleys of the magnetic field created by the coils. As long as current continues flowing, the magnetic field keeps the rotor in a fixed position, preventing the motor from being turned. [fullStep1](images/fullStepOnePhase.png)
Changing the current through the coils changes the pattern of the magnetic peaks and valleys, which causes the rotor to move since it follows the valleys. By repeatedly chaning the current through each coil in a specific pattern, you can cause the rotorcarefully choosing how to change the current flow, you can cause the rotor to make a small "step" in either the clockwise or counterclockwise direction. Changing the current according to different patterns yields step sizes and different performance characteristics for thre of the motor. [halfStep](images/halfStep.png)
type of "steps" the current in In this fashion the motor can be turned from one "step" to another. [pwmSteps](images/StepperPWM.png)
![fullStep2](images/fullStepTwoPhase.png)
![fullStep1](images/fullStepOnePhase.png)
![halfStep](images/halfStep.png)
![pwmSteps](images/StepperPWM.png)