Design of three-phase hybrid multi-subdivision stepper motor driver

Publisher:asdfrewqppLatest update time:2007-02-14 Source: 控制工程网Keywords:current  sine  signal Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1 Introduction

  The stepper motor is an open-loop servo motion system actuator that is controlled in a pulse manner and outputs angular displacement. Compared with AC servo motors and DC servo motors, its outstanding advantages are low price and no accumulated error. However, there are many shortcomings in the operation of stepper motors, such as low-frequency oscillation, high noise, low resolution, etc., which seriously restrict the application range of stepper motors. The operating performance of a stepper motor is closely related to its driver, and the shortcomings of the stepper motor can be overcome through improvements in drive technology. Compared with other driving methods, the subdivision driving method can not only reduce the step angle of the stepper motor and improve the resolution, but also reduce or eliminate low-frequency vibration, making the motor run more smoothly and evenly. Overall, segment-driven control works best. Because commonly used low-end stepper motor servo systems do not have encoder feedback, as the motor speed increases, its internal control current decreases accordingly, resulting in lost steps. Therefore, it is widely used in fields where speed and accuracy are not high.

  Because the three-phase hybrid stepper motor has better low-speed stability and output torque than the two-phase stepper motor, the three-phase hybrid stepper motor has better application prospects than the two-phase stepper motor. Traditional three-phase hybrid stepper motor

The control methods are all completed by hardware comparators. This article mainly describes the use of DSP and space vector algorithm SVPWM to realize three-phase hybrid stepper motor control.

2. Segmentation principle

  Essentially, the subdivision control of a stepper motor is to control the current in the stator winding of the stepper motor so that the synthetic magnetic field inside the stepper motor changes according to certain requirements, thereby achieving the subdivision of the step angle of the stepper motor. . The best subdivision method is the subdivision of constant torque and equal step angle. Generally speaking, the amplitude of the synthetic magnetic field vector determines the size of the motor's rotational torque, and the angle between two adjacent synthetic magnetic field vectors determines the size of the step angle. A nearly uniform circular rotating magnetic field is generated in the motor. The synthetic magnetic field vector of each phase winding, that is, the synthetic vector of the current of each phase winding, should rotate in space with constant amplitude. This requires passing through each phase winding. sinusoidal current.

  The working principle of the three-phase hybrid stepper motor is very similar to the AC permanent magnet synchronous servo motor. The permanent magnets used on the rotor are also rare earth permanent magnet materials with high magnetic density, so the influence of the induced current generated on the rotor on the rotor magnetic field is negligible. Structurally, it is equivalent to a multi-pole AC permanent magnet synchronous motor. Since the input is a three-phase sinusoidal current, the generated spatial magnetic field is circularly distributed, and the structural model of a permanent magnet synchronous motor (Figure 1) can be used to analyze the torque characteristics of the three-phase hybrid stepper motor. To facilitate analysis, the following assumptions can be made:

  a. The three-phase windings of the motor stator are completely symmetrical;
  b. Magnetic saturation, eddy current and core loss are ignored;
  c. There is no dynamic response process to the excitation current.


Figure 1 Simple structural model of three-phase permanent magnet synchronous motor

  U, V, and W are the three coil windings on the stator, and the axes of the three coil windings are 120°. When the single-phase winding of the motor is energized, the steady-state torque can be expressed as: T=f(i,theta). Among them, i is the current passing through the winding; theta is the angle of the motor rotor from the reference point. Since the magnetic saturation effect is negligible and the rotor structure is circular, its angular characteristics are strictly sinusoidal,

  That is: T=k *I*sin (theta), k is the torque constant.

  If the ideal current source supplies the motor winding with three-phase balanced current iU, iV, iW with a constant amplitude of I, that is:

  iU=I*sin(wt)
  iV=I*sin(wt+2*PI/3)
  iW =I*sin(wt+4*PI/3)

  Then the steady-state torque generated by each phase current of the motor is:

  TU=k*I*sin(wt)*sin(theta)
  TV=k*I*sin(wt+2*PI/3)*sin(theta+2*PI/3)
  TW=k*I*sin( wt+4*PI/3)*sin(theta+4*PI/3)

  During steady-state operation, theta=wt, then the resultant torque generated by the three-phase winding is:

  T=TU+TV+TW=3/2*k*I*sin(PI/2-wt+theta)=3/2*k*I The

  above analysis shows that for a three-phase permanent magnet synchronous motor, when the three-phase winding When a sinusoidal current with a phase difference of 120° is input, the output torque of the motor is constant due to the internal circular rotating magnetic field. Therefore, the AC servo control principle is applied to the three-phase hybrid stepper motor drive system. The input 220V AC is converted into DC after rectification, and then converted into three-way stepped sinusoidal waveform current through pulse width modulation technology. The fixed timing sequence flows through the three windings respectively, and each step corresponds to one step of the motor rotation. The motor speed is changed by changing the frequency of the sinusoidal current output by the driver, and the number of output steps determines the angle of each step. When the angle is smaller, the number of steps is greater, that is, the subdivision is larger, from Theoretically speaking, this angle can be set small enough, so the number of subdivisions can be very large. The angle of each step of the AC servo control has a great relationship with the accuracy of the feedback encoder. Generally, 2500 lines are used, so The angle turned by each step is only 0.144 degrees. For the stepper motor controlled by this method, for example, if its subdivision is 10000, the angle turned by each step is 0.036 degrees, so the accuracy is much higher than that of ordinary servo control. Of course, when the stepper motor rotates, the inductance of each phase winding of the motor will form a reverse electromotive force. The higher the frequency, the greater the reverse electromotive force. Under its action, the phase current of the motor decreases as the frequency (or speed) increases, resulting in a decrease in torque. Through the constant current method, the same phase current can be maintained at low and high frequencies of the motor.

The high-frequency torque characteristics can be improved, but this can only be done at low speeds, so its comprehensive performance (high and low speed noise, high speed torque, high speed smoothness, etc.) is difficult to catch up with the AC servo control system.


Figure 2 shows three-phase stepped sinusoidal currents with a phase difference of 120°.

  Three-phase hybrid stepper motors generally connect the three-phase windings in a star or triangle shape. According to the basic circuit theorem, the sum of the three-phase currents is zero. That is IU+IV+IW =0. Therefore, it is usually only necessary to generate the given signal of the two-phase winding, and the given signal of the third-phase winding can be obtained from the other two phases. Similarly, only the actual currents of the corresponding two-phase windings need to be sampled, and the actual current of the third-phase winding can be obtained according to Eq.

3. System composition of three-phase hybrid stepper motor driver

  The overall scheme of the driver is shown in Figure 3, which mainly consists of a single-chip microcomputer circuit, a current tracking SPWM circuit and a power drive circuit.


Figure 3 Overall block diagram of the driver

3.1 DSP module design

  Here, we chose TI's DSP as the CPU chip. DSP (Digital Signal Processor) is actually a single-chip microcomputer. It also integrates the central processing unit, control unit and peripheral devices onto one chip. But it has its own distinctive characteristics - because it uses multiple sets of bus technology to realize parallel operation of the machine mechanism, thus greatly improving the computing speed, it has stronger computing power and better real-time performance. The DSP (TMS320LF2407A) selected in this article is a motor control-specific chip with 144 pins, rich IO resources, four general-purpose timers, and two PWM generators dedicated to controlling three-phase motors (can generate six PWM signal), and there are also dedicated I/O ports for receiving external pulses and directions, thus simplifying circuit design and program development.

  DSP input signals include step pulse signal CP, direction control signal, offline signal, and overcurrent protection signal. These signals are connected to the pins of the DSP through high-speed optocouplers, and there are also subdivision step numbers and current selection signals. When the offline signal is valid, the current output from the driver to the motor is cut off, and the motor rotor is in a free state (offline state). The feedback current is sampled through the 10-bit analog-to-digital converter (AD) that comes with the DSP. After the feedback current passes through a certain algorithm, the motor is controlled by the PWM port output of the DSP. 3.2 Current tracking loop

  This transmission method uses the amplitude of the analog voltage to represent the size of the sampling current or voltage. It is mainly used to sample the a and b phase currents and bus voltage detection to achieve motor current control and overvoltage, undervoltage, and overcurrent protection. The driver detects the actual current of the stepper motor winding through the sampling resistor, compares it with the set current and then passes through the hysteresis comparator regulator. The regulator output signal is output by a triangular wave carrier with a frequency of 20KHz to form a pulse width modulation signal (PWM). The power drive interface circuit controls the turn-on and turn-off of high-power semiconductor devices, so that the actual winding current of the stepper motor tracks the given reference signal and changes according to the given sinusoidal law.

3.3 Power drive circuit

  The main circuit of the driver adopts the form of AC-DC-AC voltage inverter, which is composed of rectifier filter circuit, three-phase inverter and stepper motor. The rectifier and filter circuit forms a DC voltage source to complete the conversion of 220V, 50Hz AC power to DC power. The inverter converts DC power into variable frequency AC power and provides the required AC current for the stator winding of the three-phase hybrid stepper motor. The inverter is composed of six G30N60B3DMOS tubes produced by Fairchild Company, forming a three-phase inverter bridge. The driver uses two resistors to detect the instantaneous value of the stepper motor phase current.

  The core of the power drive circuit is the power module (MOS tube). The MOS tube and the current tracking PWM output must be connected through a dedicated high-speed optocoupler. Select a suitable MOS tube based on the overcurrent value of the MOS tube and the peak line current of the motor, that is, the peak value of the motor's line current is less than the maximum current value of the MOS tube. The maximum phase current of the motor in this design is 8.1A, which is the effective value of the phase current. The peak phase current is 8.1* sqrt(2) = 11.312A. In addition, when the motor winding is connected in delta, the line current is 3 times the phase current, so the peak line current is 19.6A. According to the G30N60B3DPDF document, its maximum flow value is 30A, so normal use can be guaranteed. Normal operation requires appropriate heat dissipation design to ensure that the internal junction temperature is always less than 150 degrees Celsius. Therefore, an external radiator and forced air cooling are required to ensure the normal operation of the MOS tube. .

3.4 Parallel port communication

  In order to avoid losses caused by power outages or other special reasons during the control process, live RAM is used to store the motor position to ensure that the workpiece can continue to be processed after power is supplied. and

The RAM is faster and more reliable than the traditionally used E2ROM, and can record the motor operating status more effectively, but it occupies more I/O ports of the CPU, so the CPU has enough resources to use.

3.5 Control software process


Figure 4 Main program flow chart


Figure 5 Flow chart of the interrupt part

  In order to reduce power consumption and protect the motor, an automatic half-flow function is set up, which is automatically adjusted by a hysteresis comparator.

4 Conclusion

  Practice has proved that the driving method discussed in this article is highly adaptable and can basically adapt to all three-phase hybrid stepper motors. Especially for the three-phase winding star connection method, the operation is smooth at low frequency without oscillation, which effectively suppresses oscillation and noise. In addition, a variety of protection circuits are designed inside the driver, which greatly improves the reliability of the entire driver.

Keywords:current  sine  signal Reference address:Design of three-phase hybrid multi-subdivision stepper motor driver

Previous article:Field-oriented control of brushless motors using an ARM7 processor
Next article:Design of three-phase hybrid multi-subdivision stepper motor driver

Latest Industrial Control Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号