




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Development of a Novel Drive Topology for a Five Phase Stepper MotorT.S. Weerakoon and L. SamaranayakeDept. of Electrical and Electronic Engineering, Faculty of Engineering, University of Peradeniya, Sri LankaAbstract-In this paper, a novel drive topology for a five phase stepper motor is described
2、in detail. Commercially off the shelf, low cost, standard stepper motor drive ICs are used to derive a novel drive topology for five phase stepper motors which enables closed loop speed and position control powered by inner current control loop. It is proved that the derived topology can be generali
3、zed to any stepper motor with higher odd number of phases. The designed driver consists of full step, half step, clockwise and counter clockwise drive modes with the speed control and current control. I. INTRODUCTIONIn most of the robotics and automation engineering designs various types of stepper
4、motors are used to obtain the required motion profiles. Stepper motors are preferred, as they do not require frequent maintenance and due to their ability to operate in many harsh environments. Selection of the motors and their drive circuits depend on the required performance characteristics of the
5、 applications. The two phase and four phase stepper motors are the most common types available in the market.However, for applications requiring high precision, low noise and lower vibration, Five Phase Stepper Motors are used. Due to smaller step angle, five phase stepper motors offer higher resolu
6、tion, lower vibration and higher accelerations and decelerations. Therefore it is essential to make sure that these motor characteristics can be obtained from the designed drive topology.Because the five phase stepper motors are a rarely used type in the robotic applications and the construction is
7、typically complicated, it is very difficult to find driver ICs, which are manufactured exclusive for them. As a result, the available Driver circuits for five phase stepper motors are very expensive.Using the available drive control ICs manufactured for common kinds of stepper motors such as 2 phase
8、d and 4 phased and using them in modeling new driver topology for other stepper motors would be a cost effective approach.The IC L297 integrates all the control circuitry required to control bipolar and unipolar stepper motors. The L298N dual H bridge drive forms a complete microprocessor to stepper
9、 motor interface. Here, novel drive topology is investigated and developed for five phase stepper motors by adding a microprocessor and logical control system with L297 and L298N. The complete topology is described in this paper.Section II explains the component characteristics. Section III is on th
10、e control logic circuit design phenomena. The interface design is given in Section IV with results in Section V. Finally the conclusions are presented in Section VI.II. CHARACTERISTIC ANALYSIS OF MAIN COMPONENTSThe IC L297 can be used with an H bridge driver IC for motor drive applications as shown
11、in Fig.1. In this design H bridge function is achieved from the L298N or L293E. This may change depending on the power rating of the motor. The control signals to the L297 may be received from microcontroller or from external switches. A single IC can drive a 2 phase bipolar permanent magnet motor,
12、a 4 phase unipolar permanent magnet motor or a 4 phase variable reluctance motor. Because very few electronic components are used, it has many advantages such as lower cost, higher reliability and the ability to house in a comparatively smaller space. The L297 generates three modes of phase sequence
13、s, namely half step mode, full step mode and wave mode depending on the input signals it receives. Fig. 1. Circuit diagram to drive a 2 phase bipolar or 4 phase unipolar stepper motor using L297 and L298N ICsA. CURRENT CONTROLSmall stepper motors generally need small DC supplies that control the win
14、ding currents and they are limited by the winding resistances. On the other hand, motors with the larger rated torque values have windings with smaller resistances. Therefore, they require a controlled current supply.The L297 provides load current control in the form of two Pulse Width Modulation (P
15、WM) chopper circuits and each chopper circuit consists of a comparator, a flip-flop and an external sensing resistor.In this method, while the motor current is increasing, the control system applies the supply voltage to the motor. When the current is reached up to the threshold, the control system
16、tries to maintain the current at the desired value by changing the duty ratio of the voltage supply as shown in Fig.2. For each chopper circuit, the duty ratio (D) of the voltage supply to the motor is defined as:D = Ton / (Ton + Toff),where the Ton and Toff are switch on and off durations respectiv
17、ely of the H bridge.In the chopper circuit, the flip-flop is set by each pulse from the oscillator, enabling the output and allowing the load current to increase. As it increases the voltage across the sensing resistor increases and when this voltage reaches Vref the flip-flop is reset, disabling th
18、e output until the next oscillator pulse arrives. In this method Vref determines the peak load current.Fig. 2. Circuit containing the flip-flop, the oscillator and the comparator used Fig.3. PWM operation of the voltage for current control for current controlling Fig.3 shows how the current through
19、the motor is controlled. When the motor current goes beyond the set point, the voltage applied to the motor terminal will be grounded. Therefore the current will decay and finally the motor current can be controlled. The L298N is a monolithic circuit contains two H bridges. In addition, the emitter
20、connections of the lower transistors are brought out to external terminals allowing the connection of current sensing resisters.B. CURRENT CONTROL IN INHIBIT CHOPPER MODE Inhibit chopper control mode and phase line chopper control mode are two of the most common types of current control techniques a
21、vailable. In the latter case when the voltage across the sensing resistor reaches to Vref, only the low side switch is made off. Hence this method is not suitable and inhibit chopper control mode has to be used. The required switching sequences for this can be taken directly from L297. Inhibit chopp
22、er mode can be selected by pulling down (grounded) the CONTROL input signal of L297. Then chopper acts on INH to control the current through the motor coils. Therefore the contribution of INH signal generated from L297 is very important to create ENABLE signal for L298N. In the case when the voltage
23、 across the sensing resister reaches to Vref, the chopper flip-flop is reset and INH is activated and is brought to low. Then it turns off all four switches of the bridge. The chopping frequency is determined by the internal oscillator of the L297. After switching off all transistors, the diodes pro
24、vide a path to divert the winding current. The switches of the H bridge are made on in the next oscillator cycle. Fig.4 explains current control phenomena at an instant when phase signal A is high and B is low. These A and B signals are fed to two AND gates connected to low and high side switches in
25、 the L298N to generate excitation signal with the same INH1 signal in order to control the load current. The AND gate output will become high only if and only if the INH1 is high.Fig. 4. Inhibit chopper waveform when CONTROL is LOWIII. LOGIC CIRCUIT DESIGNING In any mode of operations, wave patterns
26、 of A, B, C and D phases of the L297 repeat after four clock cycles as shown in Fig.5. Translation of the repetition of the phase waveform after the ten clock cycles is essential to derive the drive topology for the five phase stepper motor.Fig. 5. In the normal operation, L297 two phases of a 4 pha
27、se stepper motor or two ends of a 2 phase stepper motor winding are made ON at a time and the sequence repeats after every 4 clock cyclesFig. 6. Five phase excitation sequence By analyzing the three modes of operations of the L297, it is clear that in the normal drive mode, which is usually called a
28、s two-phase-on drive mode, should be selected to achieve the required excitation sequence for a 5 phase stepper motor as shown in the Fig.6. By studying the required excitation sequence for 5 phase stepper motor and A, B, C, D phase sequences of the L297, the required logic circuit was designed. The
29、 procedure mentioned below was followed.(i) Separation of High and Low side transistor excitation pattern for each phase from five phase excitation sequences as shown in Fig.6.(ii) Selection of suitable phases from A, B, C and D of L297 to generate the high side excitation sequences.(iii) Generating
30、 input signals to the L298N using A, B, C, D output signals of the microcontroller and the relevant AND gates.(iv) Create ENA (enable A) and ENB (enable B) signals for L298N By dividing ten (10) steps of required phase pattern in to twenty (20) steps can be equated to the four clock cycles of output
31、 wave pattern generated by the L297. The Fig.7 explains the clock cycle selection for required high and low side excitation sequence. High side transistor excitation sequence can be generated from L297 by selecting suitable output phases of the L297. The selected order, which is the two-phase-on mod
32、e of L297 is shown in the Fig.8. The microcontroller signals are used to generate the required high side pulse patterns. The DM74LS08 Quad 2-Input AND Gates are used to AND microcontroller signals and signals received from L297. As shown in Fig.9, the input signals and Enable signals determine the h
33、igh side and low side transistor switching patterns. Therefore ENABLED (EN) signals are fed from the microcontroller. But to achieve current control of the motor INH signal must engaged with the Enabled signal to the L298N as explained under current control section. The Fig.10 explains how the EN si
34、gnal to L298N is generated using the required Enable signal created by the microcontroller and Inhibit (INH) signal from L297. An AND operation of these two signals generates the relevant EN signal for L298N.Fig. 7. Required High and Low side transistor excitation sequencesFig. 8. Generation of Inpu
35、t signals to the L298N The L298N consists with H-bridges and one output of a bridge was used for a phase. Two inputs of one H bridge is dependent each other. Therefore both outputs of a single bridge cannot be used. To generate five phases, it is required to have three numbers of L298N dual full bri
36、dge driver ICs. The selection of inputs and outputs of L298N are shown in Fig.13 of Section IV.Fig. 9. Pull up and Pull down operation of L298NFig.10. Generation of ENABLED signalIV. INTERFACE DESIGNING The logic circuitry used to generate required input signals for L298N and microcontroller control
37、 signals play a major role in the driver circuit. The Fig.11 shows interface of L297, DM74LS08 Quad 2-Input AND Gates ICs and L298N with the microcontroller PIC16F877A. The circuit configuration for L297 is shown in Fig.12. The control signal has to be grounded to obtain the inhibit control mode in
38、order to limit the current through the motor windings. The CLOCK signal is supplied by the microcontroller and HALF/FULL pin should always to be low for full mode (two-phase-on) of operation. The ENABLED signal is used to control the motion of the motor. When it is low, all INH1, INH2, A, B, C, D pi
39、ns are brought to low. The Vref value sets the current flowing through the motor. There are two L297 ICs used and it is necessary to synchronize them. It can be done easily by using the SYNC pin of L297.Fig. 11. Block diagram of the system The Fig.13 shows how the input and output terminals are used
40、 in L298N. Usually 100nF non-inductive capacitors are used between both Vs and Vc with the ground. The value of the current sensing resistor has to be as small as 0.5 in order to avoid large voltage drops at large currents. External diode bridges provide current circulating paths when the inputs of
41、the IC are chopped. Usually Schottky diodes are used here because they are faster in recovery.V. RESULTS The theoretical and logical analysis of the stepper drive circuit design approach shows that it is a simple construction having several modes of operation and control.Fig. 12. Configuration of L2
42、97 Fig.13. Configuration of L298N The performance of the stepper drive circuit shown in the Fig.14 was tested for the following capabilities: 1. Speed control capability 2. Current control capability The Fig.15 (a) and (b) show the excitation wave forms at each phase terminal. The excitation sequenc
43、es for all five phases reveal that they are working according to the requirement. Fig.15 (b) shows additional orange and green phase excitation sequences to compare the black phase excitation with the others. Due to the charging and the discharging of the capacitors by the current flowing through th
44、e windings of the motor, there are some transients at each excitation points. The speed control of the motor has been achieved by varying the frequency of the excitation sequence of the five terminals. It is clearly shown that the pulse width of the voltage sequences of Fig.15 (a), (b) gets doubled
45、in the Fig.16 (a), (b) in same time scale of 5ms/div. It is observed that the rotating speed (speed 1) of the motor relevant to the excitation sequence shown in Fig.15 is half that of the speed (speed 2) of the excitation sequence shown in Fig.16. Hence by varying the pulse frequency of the excitati
46、on sequence generated by the PIC microcontroller, the speed of the motor can be varied.Fig. 14. Drive circuit with microcontrollerFig. 15(a). Voltages of the Blue, Red, Orange and Green phases at speed 1Fig. 15(b). Voltages of the Orange, Green and Black phases at speed 1Fig. 16 (a). Voltages of Blu
47、e, Red, Orange and Green phases at speed 2Fig. 16 (b). Voltages of the Red, Orange, Green and Black phases at speed 2 The current controlling capability of the motor drive circuit has been demonstrated in the Fig.17(a), (b), (c). For the sake of demonstration, only the RED phase has been considered
48、and Fig.17(a) shows the current wave at higher Vref (=600mV) which is greater than the Vsense. Then the INH signal does not pull down to limit the current absorb by the motor. Each phase has positive and negative current components, because the phase voltage varies from +Vs, +Vs/2 to 0V and current
49、to the phase varies from positive, zero to negative respectively, corresponding to the latter voltage variation. By chopping the inhibit (INH) signal to the L298N, the voltage at the motor terminals is limited to control the current through each winding.Fig. 17(a). Phase Current and INH signal varia
50、tion at Vref = 120 mV Fig. 17 (b) and (c) show the current controlling capability at two different Vref values of 200mV and 120 mV.Fig. 17(b). Phase Current and INH signal variation at Vref = 200 mVFig. 17(c). Phase Current and INH signal variation at Vref = 120 mVVI. CONCLUSIONS The proposed novel
51、drive for 5 phase stepper motor is a cost effective motor driver compared to the available stepper motor drive circuits in the market. Since the driver has necessary controlling, it can be used for five phase stepper motors for general applications. The simple construction and compacted design of th
52、e driver provides another advantage that the driver can be used for robotics applications because it requires small space. Finally the designed driver can be considered as a prototype of a low cost five phase stepper motor drive circuit having additional many functions such as current control, speed
53、 control etc. It can be introduced to the local market as a low cost compact drive circuit.REFERENCES1 N.Sedaghati Mokhtari, “Micro-step Driving for Stepper Motor: A Case Study”, Available:2 Data sheet of the L297 IC, Available:3 Data sheet of the L298N IC, Avilable:4Thomas L. Hopkins Stepper motor
54、driver considerations common problems and solutions”, Available:pdf5H.Sax, “Stepper motor driving applications note”, Available:一种新的五相步进电机驱动电路开发 萨马拉纳亚克斯里兰卡,佩勒代尼耶大学工程学院,电子与电气工程学院付自刚译摘要本文详细地介绍了一种新的五相步进电机驱动电路。这种新的驱动电路是由商业上现成的,廉价的,标准的步进电机驱动IC搭建,它能实现由内部电流回路驱动的闭环速度和位置控制。经证明,这种驱动电路能推广到任何更多相数的奇数相的步进电机。这种驱动电
55、路具有速度控制和方向控制,包括全步、半步、顺时针、逆时针控制模式。一、 概述在大多数机器人和自动化工程设计中,各种各样步进电机都被广泛应用来得到需要的运动姿态。步进电机倍受人们青睐是因为它不需要频繁的维护并能在苛刻的环境中运行。步进电机及其驱动器的选择要根据具体应用中需要的效果来决定。市场上最常见的是两相和四相步进电机。可是,实际应用中要求高精度,低噪声和低震动,因此五相步进电机得以应用。因为步距角较小,五相步进电机有较高的分辨率,较低的震动和良好的加速与减速特性。因此,确保设计的驱动电路能使步进电机充分发挥这些优点非常重要。因为在机器人应用中是很少见得类型,而且结构很复杂,很难找到它们的驱动
56、IC,只能专门定做。结果导致五相步进电机的驱动电路产品异常昂贵。用普通步进电机如二相与四相步进电机的驱动控制IC来制作其它步进电机的驱动电路是一种经济有效的方法。L297继承了控制单极性和双极性步进电机所需要的所有控制电路系统。L298N双H桥驱动器形成了一个完善的步进电机微处理器接口。在这里,我们通过给L297和L298N加上微处理器和逻辑控制系统研究开发出了一种新的五相步进电机驱动电路。第二部分解释了元器件特性。第三部分介绍了控制逻辑电路设计。第四部分是接口设计,结果在第五部分。最后,第六部分加以总结。二、 主要元器件特性分析如图一所示,集成块L297可以与H桥集成电路一起使用作为步进电机
57、驱动器。在该设计中,H桥的功能用L298N或者L293E实现。这要根据步进电机的额定功率而定。输入L297的控制信号可能来自为控制器或者外部开关。一个IC能驱动一个两相双极性永磁式步进电机,一个四相单极性永磁式步进电机或者一个四相变磁阻式步进电机。因为用到的电子元器件非常少,该设计好处颇多,比如,花费少,可靠性高,占用的空间相对较小。按照接收到的输入信号的不同,L297产生三种不同模式的相位序列,即半步模式,全步模式和波形模式。图一 用L297和L298N构成的驱动一个两相单极性步进电机或一个四相单极性步进电机的电路图A. 电流控制小型步进电机一般小型直流电源来控制绕组电流,它们的绕组电阻也是
58、有限制的。在另一方面,拥有较大额定扭矩值的步进电机具有较小的绕组电阻。因此,它们需要对电流进行控制。L297以两个脉冲宽度调制(PWM)斩波电路的形式提供负载电流控制,每个斩波电路由一个比较器,一个触发器和一个外部感应电阻组成。在该理论中,当电机电流增加时,控制系统将电源电压施加到电机。如图二所示,当电流值达到阈值时,控制系统将通过改变电源电压的占空比来维持电流的期望值。对于每一个斩波电路来说,步进电机电源电压的占空比(D)定义为:D = Ton / (Ton + Toff),其中Ton 和Toff分别是H桥的导通和断开时间。在斩波电路中,触发器由来自振荡器的各个脉冲置位,从而允许输出和允许负载电流增长。感应电阻两端的电压随着负载电流的增长而增长,当电压增长到Vref时,触发器被重置,输出中断直到下次振荡器脉冲到来。在该方法中,Vref决
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 风电现场安全指导与规范(风电设备保养课件)
- 2024年花艺师考试分析与试题及答案
- 2024年福建事业单位考试与心理健康的关系探讨试题及答案
- 二级建造师职业发展路径试题及答案探讨
- 农艺师考试典型题型解析试题及答案
- 2024年农艺师考试梳理思维试题及答案
- 2025至2030年电饭煲传感器项目投资价值分析报告
- 2025至2030年电视遥控器架项目投资价值分析报告
- 生态农业建设的试题及答案
- 压力管理在农艺师考试中的重要性试题及答案
- 深入贯彻学习2025年中央八项规定精神教育测试题及答案
- 冲压工理论知识试题(附答案)
- 全媒体运营中的用户画像构建试题及答案
- 2025年第三届天扬杯建筑业财税知识竞赛题库附答案(601-700题)
- 华北电力大学丁肇豪:多主体数据中心算力-电力跨域协同优化
- 颅内出血护理操作
- (二调)枣庄市2025届高三模拟考试历史试卷(含答案)
- 2024-2025学年下学期初中历史八年级第二单元A卷
- 剪映电脑版课件
- 2025基础教育改革纲要
- 2025-2030年中国LPG行业市场运行现状及发展前景分析报告
评论
0/150
提交评论