Microcontroller's Control of Stepper Motor

This article describes the working principle of the stepper motor and the characteristics of the stepper motor controlled by the SCM. The stepper motor is a digitally controlled motor, which converts the pulse signal into angular displacement, that is, to a pulse signal, the stepping motor rotates an angle, so it is very suitable for the single-chip microcomputer control.

Stepper motors can be divided into reactive stepper motors, permanent magnet stepper motors, and hybrid stepper motors. The biggest characteristic of the stepping motor, which is different from other control motors, is that it is controlled by inputting a pulse signal, that is, the total rotation angle of the motor is determined by the number of input pulses, and the rotation speed of the motor is determined by the frequency of the pulse signal. It has high-precision positioning, position and speed control, positioning and holding force, action sensitive, open loop control does not have to rely on sensor positioning, high torque at low speed, high reliability, small size, high power and other characteristics, so that it has Wide range of applications.

First, the working principle of stepping motor

Stepper motor is a commonly used actuator in electromechanical control. Its purpose is to convert electric pulse into angular displacement. Its driving circuit works according to the control signal, and the control signal is generated by the MCU. When the step driver receives a pulse signal, it drives the stepper motor to rotate in a set direction by a fixed angle to control the sequence of the commutation. That is, the power control pulse must separately control the on and off of each phase in a certain sequence. By controlling the number of pulses, the angular displacement can be controlled so as to achieve accurate positioning. Control the stepping motor's steering, that is, the given working mode is positive sequence commutation power. The stepping motor rotates forward. If the power is reversed in reverse order, the motor will reverse. Control the speed of the stepper motor, that is to send a control pulse to the stepper motor, it will go one step, and then send a pulse, it will turn one step, the shorter the interval between the two pulses, the faster the stepper motor will turn. At the same time, the speed and acceleration of the motor rotation are controlled by controlling the pulse frequency so as to achieve the purpose of speed regulation.

Second, the design plan

This design uses 51 single-chip AT89C51 (crystal frequency of 12MHZ) on four-phase six-wire stepper motor (internal resistance of 33 ohms, step 1.8 degrees, rated voltage 12V) to control. The square wave with timing output from the I/O port is used as the control signal of the stepper motor, and the signal drives the stepper motor through the chip ULN2003. ULN2003 is a high pressure, high current Darlington display consisting of seven silicon NPN Darlington tubes. Each pair of Darlington of ULN2003 is connected in series with a 2.7K base resistor. It can directly connect with TTL and CMOS circuits at a working voltage of 5V, and can directly process data that originally required a standard logic buffer. ULN2003 has a high operating voltage, high operating current, sink current up to 500mA, and can withstand 50V in off-state, and the output can also run in parallel with high load current. Through the ULN2003 constitute a stepper motor driver circuit, the circuit diagram shown in Figure 1. The 25-28 ports of 51 are connected to the 1-4 inputs of ULN2003. In addition, use the keyboard to control the status of the motor, and use the digital tube to display the motor speed, using 74LS164 as a 2-bit single digital display driver. 74LS164 with latches, using serial connection can save I/O port resources. Its circuit diagram is shown in Figure 2. Send data to CLK and DATA through the 51 TXD and RXD ports.

Figure 1 51 microcontroller control stepper motor circuit diagram

Figure 2 shows the circuit diagram

Third, the expected goal

Connect Fig. 1 to Fig. 2 to make it realize: press the start button, the motor rotates, press the plus 1 button, the speed increases, press the minus 1 button, the speed decreases, the maximum speed is 100 rpm, the minimum speed is 25 Turn / minute, press the stop button, the motor stops. The speed value is displayed on the digital tube.

Based on the above selected options, the overall process is shown in Figure 3.

Figure 3 system circuit flow chart

Conclusion

Stepper motors designed to achieve the basic goals, after debugging and modification, but there are still problems, such as pressing the switch when there will be instability, the speed is sometimes chaotic, sometimes there are some unsatisfactory display, the work behind is in the software Modify the hardware and other aspects to fully achieve the desired goals.

Disc Nozzle Centrifuge

CCMC has combined many maintenance friendly features with proven separation technology to design centrifuge that operates with reliable efficiency and minimum downtime.

No other centrifuge on the market can compare feature to feature.

Design features:

Heavy Duty construction minimizes vibration and ensures structural stability. All outer housing components constructed of 316 stainless steel. The bowl, hub, and cover are made of Ferallium.

Patented nozzles have an improved carbide insert flow passage and a unique removal slot that allows our removal tool to grab to the nozzle for installation and removal.

Inspection port in underflow volute allows nozzles to be inspected and replaced without raising the bowl or removing housing.

Slide mounted motor supports work with an adjustment screw to quickly adjust belt tension.

Improved lock ring and lock ring wrench design is key slotted to allow for consistent, simple, and safe removal, time after time.

Wash water injected directly into bowl to allow for increased wash rates and improved washing efficiency.

Standard Motor design allows for local replacement from any motor supplier.

Many internal rotating components interchangeable with existing models.

Disc Nozzle Centrifuge,Wet Corn Separation Centrifuge,Primary Separation Centrifuge,Gluten Thickening Centrifuge

Changchun Meichen Machinery Co., Ltd. , https://www.meichenmachinery.com