Three methods of controlling stepping motor

by:V&T Technologies     2020-01-27
Three ways to control stepping motor, Stepping Motor 1. Introduction to stepper motor control, stepper motor is an open-loop control element, which converts electrical pulse signals into angular displacement or linear displacement. In the case of non-overload, the speed and stop position of the motor depend only on the frequency of the pulse signal and the number of pulses, and are not affected by load changes. When the stepping driver receives a pulse signal, it drives the stepping motor. Set the direction to rotate a fixed angle, called'Step angle', Which rotates step by step at a fixed angle. The angular displacement can be controlled by controlling the number of pulses to realize accurate positioning; At the same time, by controlling the pulse frequency, the motor speed and acceleration are controlled to achieve the purpose of speed regulation. Stepping motors are induction motors. Its working principle is to use electronic circuits to supply power when DC power supply is changed into components. Multi-phase timing control current is used to provide this current for stepping motor, which can work normally. The driver is the time division power supply of stepping motor and multiphase timing controller. We control the rotation angle of the motor by providing different numbers of high and low levels for the driver. 2. Pulse count. To calculate the number of pulses we need, we need to know the number of subdivision steps of the driver. Each drive can set its number of subdivision steps. We select the required number of subdivision steps and then calculate the number of pulses. If the number of subdivision steps is 3600, the step angle = 360/3600 = 0. 1 °. On behalf of each of us to provide a high and low pulse ( Note that a high voltage 1 low voltage is a pulse)The motor rotates 0. 1 ° , Then if we want to rotate 100 °, Then only 1000 pulses need to be provided. 3. The following is a detailed description of the specific implementation method. We can calculate the number of pulses that need to be rotated after receiving a certain angle command from the software, and then control the high and low level duration (Through control)) For the duration we can control the motor speed, we can set the value of variable 1 (This will enter the timer interrupt)(Note that the variable must come from 0)Start counting) To determine whether the set variable is twice the number of pulses we calculated (High and low levels need to be flipped 2 times is 1 Pulse) If it is proved that the motor has been rotated to the angle we need, then control the motor to stop. If not, continue counting until the counting meets our needs and stops the electrodes. Waiting for the next command, we are doing the next round of rotation. After the above operation, we have realized the control of the rotation angle of the motor. Seeing here, I don't feel that the control of the stepping motor is very simple. The small partner holding the stepping motor in hand doesn't wait to test it. . . ···· TAG stepping, motor, motor control, control stepping, control motor
Custom message
Chat Online 编辑模式下无法使用
Chat Online inputting...