步进电机中英文对照外文翻译文献

合集下载

步进电机的单片机控制外文翻译

步进电机的单片机控制外文翻译

附录2:英文资料及其中文翻译Stepper motor is an electrical pulse will be converted into angular displacement of the implem enting agencies. Put it in simple language-speaking: When the stepper drive pulse signal to a r eceiver, it drives stepper motor rotation direction by setting a fixed point of view (and the ste p angle). You can control the number of pulses to control the amount of angular displacement, so as to achieve the purpose of accurate positioning; At the same time, you can by controllin g the pulse frequency to control the motor rotation speed and acceleration, so as to achieve th e purpose of speed.Stepper motor directly from the AC-DC power supply, and must use special equipment - stepp er motor drive. Stepper motor drive system performance, in addition to their own performance with the motor on the outside, but also to a large extent depend on the drive is good or bad.A typical stepper motor drive system is operated by the stepper motor controller, stepper mot or drives and stepper motor body is composed of three parts. Stepper motor controller stepper pulse and direction signal, each made of a pulse, stepper motor-driven stepper motor drives a rotor rotating step angle, that is, step-by-step further. High or low speed stepper motor, or spe ed, or deceleration, start or stop pulses are entirely dependent on whether the level or frequenc y. Decide the direction of the signal controller stepper motor clockwise or counterclockwise rot ation. Typically, the stepper motor drive circuit from the logic control, power driver circuit, pr otection circuit and power components. Stepper motor drive controller, once received from the direction of the signal and step pulse, the control circuit on a pre-determined way of the electr ical power-phase stepper motor excitation windings of the conduction or cut-off signal. Control circuit output signal power is low, can not provide the necessary stepping motor output powe r, the need for power amplifier, which is stepper motor driven power drive part. Power stepper motor drive circuit to control the input current winding to form a space for rotating magnetic field excitation, the rotor-driven movement. Protection circuit in the event of short circuit, ove rload, overheating, such as failure to stop the rapid drive and motor.Motor is usually for the permanent magnet rotor, when the current flows through the stator wi ndings, the stator windings produce a magnetic field vector. The magnetic field will lead to a rotor angle of rotation, making a pair of rotor and stator magnetic field direction of the magne tic field direction. When the stator rotating magnetic field vector from a different angle. Also as the rotor magnetic field to a point of view. An electrical pulse for each input, the motor r otation angle step. Its output and input of the angular displacement is proportional to the pulse s, with pulse frequency proportional to speed. Power to change the order of winding, the elect rical will be reversed. We can, therefore, control the pulse number, frequency and electrical po wer windings of each phase to control the order of rotation of stepper motor.Stepper motor types:Permanent magnet (PM). Magnetic generally two-phase stepper, torque and are smaller and gen erally stepping angle of 7.5 degrees or 15 degrees; put more wind for air-conditioning. Reactive (VR), the domestic general called BF, have a common three-phase reaction, step angl e of 1.5 degrees; also have five-phase reaction. Noise, no torque has been set at a large numb er of out.Hybrid (HB), common two-phase hybrid, five-phase hybrid, three-phase hybrid, four-phase hybri d, two-phase can be common with the four-phase drive, five-phase three-phase must be used w ith their drives;Two-phase, four-phase hybrid step angle is 1.8 degrees more than a small size, great distance, and low noise;Five-phase hybrid stepping motor is generally 0.72, the motor step angle small, high resolution, but the complexity of drive circuits, wiring problems, such as the 5-phase system of 10 lines. Three-phase hybrid stepping motor step angle of 1.2 degrees, but according to the use of 1.8 degrees, the three-phase hybrid stepping motor has a two-phase mixed than the five-phase hybr id more pole will help electric folder symmetric angle, it can be more than two-phase, five-ph ase high accuracy, the error even smaller, run more smoothly.Stepper motor to maintain torque: stepper motor power means no rotation, the stator locked rot or torque. It is a stepper motor, one of the most important parameters, usually in the low-spee d stepper motor torque at the time of close to maintain the torque. As the stepper motor outp ut torque increases with the speed of constant attenuation, the output power also increases with the speed of change, so as to maintain torque on the stepper motor to measure the parameter s of one of the most important. For example, when people say that the stepper motor 2N.m, i n the absence of special circumstances that means for maintaining the torque of the stepper m otor 2N.m.Precision stepper motors: stepper motor step angle accuracy of 3-5%, not cumulative.Start frequency of no-load: the stepper motor in case of no-load to the normal start of the pul se frequency, if the pulse frequency is higher than the value of motor does not start, possible to lose steps or blocking. In the case of the load, start frequency should be lower. If you wa nt to achieve high-speed rotation motor, pulse frequency should be to accelerate the process, th at is, the lower frequency to start, and then rose to a certain acceleration of the desired freque ncy (motor speed from low rise to high-speed).Step angle: that is to send a pulse, the electrical angle corresponding to rotation.Torque positioning: positioning torque stepper motor does not refer to the case of electricity, l ocked rotor torque stator.Operating frequency: step-by-step stepper motor can run without losing the highest frequency. Subdivision Drive: stepper motor drives the main aim is to weaken or eliminate low-frequency vibration of the stepper motor to improve the accuracy of the motor running. Reduce noise. I f the step angle is 1.8 °(full step) the two-phase hybrid stepping motor, if the breakdown of the breakdown of the number of drives for the 8, then the operation of the electrical pulse for each resolution of 0.072 °, the precision of motor can reach or close to 0.225 °, also depend s on the breakdown of the breakdown of the drive current control accuracy and other factors, the breakdown of the number of the more difficult the greater the precision of control.步进电机是一种将电脉冲转化为角位移的执行机构。

步进电机PLC控制技术中英文对照外文翻译文献

步进电机PLC控制技术中英文对照外文翻译文献

步进电机PLC控制技术中英文对照外文翻译文献中英文对照外文翻译文献(文档含英文原文和中文翻译)The shallow treads into the PLC control technique and development trend of electrical engineering1. Say all:Along with the micro-electronics technique and the calculator technical hair Exhibition, the programmable preface controller has an advance by leaps and bounds of hair Exhibition, its function has already outrun a logic control far and far, in proper order The scope of control, it has an effect to combine with calculator, can enter Go to imitate to control most, have along range correspondence function etc.. Have-The person is called it the modern D industry controls of three pay pillar greatly(namely PLC, robot, CAD/CAM)it a, currently programmable controller BE applied in metallurgy extensively, Mineral industry, machine, light Class D realm, automate for the industry Provided to there is the tool of one dint The PLC controls of tread to open the wreath servo organization into the electrical engineering should Used for combining tool machine to produce an on-line number to control a slippery pedestal to control automatically Make, can the province go to the number of that unit to control system, making that unit The cost of controlling the system lowers.2、What is a stepper motor:Stepper motor is a kind of electrical pulses into angular displacement ofthe implementing agency. Popular little lesson: When the driver receives a step pulse signal, it will drive a stepper motor toset the direction of rotation at a fixed angle (and the step angle). You can control the number of pulses to control the angular displacement, so as to achieve accurate positioning purposes; the same time you can control the pulse frequency to control the motor rotation speed and acceleration, to achieve speed control purposes.What kinds of stepper motor sub-:In three stepper motors: permanent magnet (PM), reactive (VR) and hybrid (HB) permanent magnet stepper usually two-phase, torque, and smaller, step angle of 7.5 degrees or the general 15 degrees; reaction step is generallythree-phase, can achieve high torque output, step angle of 1.5 degrees is generally, but the noise and vibration are large. 80 countries in Europe and America have been eliminated; hybrid stepper is a mix of permanent magnet and reactive advantages. It consists of two phases and the five-phase: two-phase step angle of 1.8 degrees while the general five-phase step angle of 0.72 degrees generally. The most widely used Stepper Motor. What is to keep the torque (HOLDING TORQUE)3、Tread into the basic characteristics of electrical engineering:(1)、tread generally into the accuracy of the electrical engineering for tread into Cape of 3-5% and don't accumulate.(2)、tallest temperatures which enter electrical engineering outward appearance and allow tread and lead into the electrical engineering temperature high can make the magnetism material of electrical engineering back first, cause the dint descend thus is as for lose a step, so the electrical engineering outward appearance allow of the tallest temperature should be decided by small back with electrical engineeringmagnetism material and order; Speak generally, the magnetism material backs to order all above have in 130 C an of even be up to 200C above, so tread completely normal into the electrical engineering outward appearance temperature in 80-90C.(3)、dints which enter electrical engineering would with turn to go up but descend soon,While treading to turn to move into the electrical engineering,electrical engineering each electricity feeling which round a set mutually will become one anti- to electromotive force; The frequency is more high, anti- to electromotive force more big ,big in its function, the electrical engineering enlarges with the frequency(or speed) but mutually the electric current let up, causing the dint descend thus.(4)、can revolve normally when 4 enter electrical engineering low speed, but if high in certain the speed can't start, and the companion have a roar the interjection tread to have a technique parameter into the electrical engineering: empty carry start frequency, then tread into electrical engineering at empty carry under circumstance can start normally of pulse frequency, if the pulse frequency is high in should be worth., The electrical engineering can't start normally, the possible occurrence throws a step or blocks up to turn. Under the situation that there is one load, the start frequency should be much lower if want to make the electrical engineering attain high speed to turn to move, the pulse frequency should have an acceleration process, then start the frequency is lower, then press certain acceleration to rise the high hoped. Tread to show the characteristics of with it into the electric motor, turn ages of manufacturing to develop important use to accompany with in the numeral small together of numeral turn technical of development and tread into the electricalengineering technical exaltation,tread will get an application in more realms into the electrical engineering.4、enter an electrical engineering control system to constitute:Tread is a kind of performance organization that will give or get an electric shock a pulse conversion to move for the Cape into the electrical engineering. When tread to receive to a pulse signal into the actuator, it drives a step to press the direction of enactment to turn to move an angle for fixing to be called "tread to be apart from Cape" into the electrical engineering, it revolves one-step circulate with the fixed angle one step. Can pass control pulse piece to control a Cape to move to attain the purpose of assurance most and thus; Can pass control pulse frequency to control electrical engineering to become dynamic speed and acceleration in the meantime, the purpose attained to adjust thus soon treads into the electrical engineering. Can be the special kind electrical engineering that a kind of control uses, make use of it didn't accumulate error margin accuracy to 100 to divide 100 of characteristics, be suffused with to apply in various open a wreath control PLC which enter electrical engineering technique.5、Stepper motor of the PLC control technology:Make the importation tread to be subjected to a homologous control into total amount and pulse frequency of the importation pulse of electrical engineering. Establish the pulse signal occurrence that a pulse total amount and pulse frequency can control a machine therefore and in control,software; Can make use of PL in fixed time a machine composing for the frequency lower control pulse, the pulse frequency can pass in fixed time machine in fixed time constant control pulse period, the pulse amounts control then can establish a the pulsecounter C10 be when the pulse number attain initial value, count machine C1.The action cuts off pulse back track, making it stop, the servo organization tread into the electrical engineering have no the pulse input then stop operation,servo performance organization fixed position be servo performance organization of when move speed to have higher request, can use PLC high-speed pulse,Different PLC it the frequency of high-speed pulse can reach to 4000-6000Hzses. The PLC is used to produce control pulse, passing PLC plait distance exportation several pulses certainly the control treads to turn Cape into the electrical engineering, programmable controller output's control the pulse enters electrical engineering to switch on electricity sequence to assign by the step homologous of round a set. The PLC controls of tread can go an allotment machine by adoption software wreath into the electrical engineering, the hardware wreath goes allotment machine to adopt the PLC resources that the soft wreath takes up more, Tread especially to round a set to count mutually into the electrical engineering big should consider adoption hardware wreath to go allotment machine well for large production line at 4, although the hardware structure is a little bit a little more complicated, can save an exportation importation of taking up the PLC point, the market has a various appropriation chips to choose to use currently. Tread to enlarge to several ten highest hundred folds into the output's control of the actuator PLC of the electrical engineering power pulse, volt, several Anne arrive several ten several Anne s drive an ability, the exportation of general PLC connects to have to certainly drive an ability, but inside usual transistor flow exportation to connect an ability only for ten several arrive several ten volts, several ten arrive several 100 million Anne but tread to then have several request into theelectrical engineering to the power ten arrive up 100 volts, several Anne arrive several ten Anne s drive an ability so should adopt an actuator to output the pulse carry on enlarging.6、Application features of PLC(1)、High reliability, strong anti-interferenceHigh reliability is the key to performance of electrical control equipment. PLC as the use of modern large scale integrated circuit technology, using the strict production process, the internal circuits to the advanced anti-jamming technology, with high reliability. Constitute a control system using PLC, and the same size compared to relay contactor system, electrical wiring and switch contacts have been reduced to hundreds or even thousands of times, fault also greatly reduced. In addition, PLC hardware failures with self-detection, failure alarm timely information. In the application software, application are also incorporated into the peripheral device fault diagnosis procedure, the system is in addition to PLC circuits and devices other than the access protection fault diagnosis. In this way, the whole system extremely high reliability.(2)、Fully furnished, fully functional, applicabilityPLC to today, has formed a series products of various sizes, can be used for occasions of all sizes of industrial control. In addition to processing other than logic, PLC data, most of computing power has improved, can be used for a variety of digital control in the field. A wide variety of functional units in large numbers, so that penetration to the position of PLC control, temperature control, CNC and other industrial control. Enhanced communication capabilities with PLC and human-machine interface technology, using the PLC control system composed of a variety of very easily.(3)、Easy to learn, well engineering and technical personnel welcome PLC is facing the industrial and mining enterprises in the industrial equipment. It interfaces easily, programming language easily acceptable for engineering and technical personnel. Ladder language, graphic symbols and expressions and relay circuit very close to are not familiar with electronic circuits, computer principles and assembly language do not understand people who engage in industrial control to open the door.(4)、System design, the workload is small, easy maintenance, easy to transformPLC logic with memory logic instead of wiring, greatly reducing the control equipment external wiring, make the control system design and construction of the much shorter period, while routine maintenance is also easier up, even more important is to change the procedures of the same equipment has been changedproduction process possible. This is particularly suitable for many varieties, small batch production situations.7、The development trend of 5 domestic and international electrical engineering: (1)、continue along small scaled direction development turned along with electric motor application the realm open widely and each kind of whole machine is continuously small scaled to turn, the electric motor which requests with its kit have to also more and more small, at 57, the electric motor of 42 machine seat numbers applies many after years, now its machine seat number to 39,35,30,25 directions get down extension.(2 )、right nesses of electric motors carry on comprehensive design namely turn soon position to spread afeeling machine, decelerate the wheel gear etc. and electric motor essence to synthesize design together, so make it be able to constitute 1 to shut wreath system expediently, as a result have one more superior control function.(3)、to five mutually with three mutually the electric motor direction develop,Be suffused with currently applied of two mutually with four mutually the electric motor, its vibration and voice are bigger, but five mutually with three mutually the electric motor have advantage but in regard to these two kinds of electric motors, five mutually the electric motor drive electric circuit compare. 8、Conclusion:At present, the use of programmable process controller (that is, the PLC technology) can easily realize the control of motor speed and the position of the convenient, c onvenient for a variety of stepper motor operation, t o complete a variety of complex work. It represents the advanced industrial automation revolution; accelerate the realization of the electromechanical integration.浅析步进电机的PLC控制技术与发展趋势1、概述随着微电子技术和计算机技术的发展,可编程序控制器有一了突飞猛进的发展,其功能已远远超出了逻辑控制、顺序控制的范围,它与计算机有一效结合,可进行模拟最控制,具有一远程通信功能等。

步进电机外文翻译

步进电机外文翻译

英文资料及其中文翻译Stepper motor is an electrical pulse will be converted into angular displacement of the implementing agencies. Put it in simple language-speaking: When the stepper drive pulse signal to a receiver, it drives stepper motor rotation direction by setting a fixed point of view (and the step angle). You can control the number of pulses to control the amount of angular displacement, so as to achieve the purpose of accurate positioning; At the same time, you can by controlling the pulse frequency to control the motor rotation speed and acceleration, so as to achieve the purpose of speed.Stepper motor directly from the AC-DC power supply, and must use special equipment - stepper motor drive. Stepper motor drive system performance, in addition to their own performance with the motor on the outside, but also to a large extent depend on the drive is good or bad. A typical stepper motor drive system is operated by the stepper motor controller, stepper motor drives and stepper motor body is composed of three parts. Stepper motor controller stepper pulse and direction signal, each made of a pulse, stepper motor-driven stepper motor drives a rotor rotating step angle, that is, step-by-step further. High or low speed stepper motor, or speed, or deceleration, start or stop pulses are entirely dependent on whether the level or frequency. Decide the direction of the signal controller stepper motor clockwise or counterclockwise rotation. Typically, the stepper motor drive circuit from the logic control, power driver circuit, protection circuit and power components. Stepper motor drive controller, once received from the direction of the signal and step pulse, the control circuit on a pre-determined way of the electrical power-phase stepper motor excitation windings of the conduction or cut-off signal. Control circuit output signal power is low, can not provide the necessary stepping motor output power, the need for power amplifier, which is stepper motor driven power drive part. Power stepper motor drive circuit to control the input current winding to form a space forrotating magnetic field excitation, the rotor-driven movement.Protection circuit in the event of short circuit, overload, overheating, such as failure to stop the rapid drive and motor.Motor is usually for the permanent magnet rotor, when the current flows through the stator windings, the stator windings produce a magnetic field vector. The magnetic field will lead to a rotor angle of rotation, making a pair of rotor and stator magnetic field direction of the magnetic field direction. When the stator rotating magnetic field vector from a different angle.Also as the rotor magnetic field to a point of view.An electrical pulse for each input, the motor rotation angle step. Its output and input of the angular displacement is proportional to the pulses, with pulse frequency proportional to speed. Power to change the order of winding, the electrical will be reversed. We can, therefore, control the pulse number, frequency and electrical power windings of each phase to control the order of rotation of stepper motor.Stepper motor types:Permanent magnet (PM). Magnetic generally two-phase stepper, torque and are smaller and generally stepping angle of 7.5 degrees or 15 degrees; put more wind for air-conditioning.Reactive (VR), the domestic general called BF, have a common three-phase reaction, step angle of 1.5 degrees; also have five-phase reaction. Noise, no torque has been set at a large number of out.Hybrid (HB), common two-phase hybrid, five-phase hybrid, three-phase hybrid, four-phase hybrid, two-phase can be common with the four-phase drive, five-phase three-phase must be used with their drives;Two-phase, four-phase hybrid step angle is 1.8 degrees more than a small size, great distance, and low noise;Five-phase hybrid stepping motor is generally 0.72, the motor step angle small, high resolution, but the complexity of drive circuits, wiring problems, such as the 5-phase system of 10 lines.Three-phase hybrid stepping motor step angle of 1.2 degrees, but according to the use of 1.8 degrees, the three-phase hybrid stepping motor has atwo-phase mixed than the five-phase hybrid more pole will help electric folder symmetric angle, it can be more than two-phase, five-phase high accuracy, the error even smaller, run more smoothly.Stepper motor to maintain torque: stepper motor power means no rotation, the stator locked rotor torque. It is a stepper motor, one of the most important parameters, usually in the low-speed stepper motor torque at the time of close to maintain the torque. As the stepper motor output torque increases with the speed of constant attenuation, the output power also increases with the speed of change, so as to maintain torque on the stepper motor to measure the parameters of one of the most important. For example, when people say that the stepper motor 2N.m, in the absence of special circumstances that means for maintaining the torque of the stepper motor 2N.m.Precision stepper motors: stepper motor step angle accuracy of 3-5%, not cumulative.Start frequency of no-load: the stepper motor in case of no-load to the normal start of the pulse frequency, if the pulse frequency is higher than the value of motor does not start, possible to lose steps or blocking. In the case of the load, start frequency should be lower. If you want to achieve high-speed rotation motor, pulse frequency should be to accelerate the process, that is, the lower frequency to start, and then rose to a certain acceleration of the desired frequency (motor speed from low rise to high-speed).Step angle: that is to send a pulse, the electrical angle corresponding to rotation.Torque positioning: positioning torque stepper motor does not refer to the case of electricity, locked rotor torque stator.Operating frequency: step-by-step stepper motor can run without losing the highest frequency.Subdivision Drive: stepper motor drives the main aim is to weaken or eliminate low-frequency vibration of the stepper motor to improve the accuracy of the motor running. Reduce noise. If the step angle is 1.8 °(full step) the two-phase hybrid stepping motor, if the breakdown of the breakdown of thenumber of drives for the 8, then the operation of the electrical pulse for each resolution of 0.072 °, the precision of motor can reach or close to 0.225 °, also depends on the breakdown of the breakdown of the drive current control accuracy and other factors, the breakdown of the number of the more difficult the greater the precision of control.步进电机是一种将电脉冲转化为角位移的执行机构。

基于单片机的步进电机电路控制设计英文文献及翻译

基于单片机的步进电机电路控制设计英文文献及翻译

The Stepper motor control circuit be based on Single chip microcomputerThe AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Function characteristicThe AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.Pin DescriptionVCC:Supply voltage.GND:Ground.Port 0:Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance inputs.Port 0 may also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode P0 has internal pullups.Port 0 also receives the code bytes during Flash programming,and outputs the code bytes during programverification. External pullups are required during programverification.Port 1Port 1 is an 8-bit bi-directional I/O port with internal pullups.The Port 1 output buffers can sink/source four TTL inputs.When 1s are written to Port 1 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 1 pins that are externally being pulled low willsource current (IIL) because of the internal pullups.Port 1 also receives the low-order address bytes during Flash programming and verification.Port 2Port 2 is an 8-bit bi-directional I/O port with internal pullups.The Port 2 output buffers can sink/source four TTL inputs.When 1s are written to Port 2 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 2 pins that are externally being pulled low will source current, because of the internal pullups.Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, it uses strong internal pullupswhen emitting 1s. During accesses to external data memory that use 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register.Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.Port 3Port 3 is an 8-bit bi-directional I/O port with internal pullups.The Port 3 output buffers can sink/source four TTL inputs.When 1s are written to Port 3 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 3 pins that are externally being pulled low will source current (IIL) because of the pullups.Port 3 also serves the functions of various special features of the AT89C51 as listed below:Port 3 also receives some control signals for Flash programming and verification.RSTReset input. A high on this pin for two machine cycles while the oscillator is running resets the device.ALE/PROGAddress Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming.In normal operation ALE is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSENProgram Store Enable is the read strobe to external program memory.When the AT89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.EA/VPPExternal Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset.EA should be strapped to VCC for internal program executions.This pin also receives the 12-volt programming enable voltage(VPP) during Flash programming, for parts that require12-volt VPP.XTAL1Input to the inverting oscillator amplifier and input to the internal clock operating circuit. XTAL2Output from the inverting oscillator amplifier.Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1.Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.There are no requirements on the dutycycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high and low time specifications must be observed.Figure 1. Oscillator Connections Figure 2. External Clock Drive Configuration Idle ModeIn idle mode, the CPU puts itself to sleep while all the onchip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset.It should be noted that when idle is terminated by a hard ware reset, the device normally resumes program execution,from where it left off, up to two machine cycles before the internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when Idle is terminated by reset, the instruction following the one that invokes Idle should not be one that writes to a port pin or to external memory.Power-down ModeIn the power-down mode, the oscillator is stopped, and the instruction that invokes power-down is the last instruction executed. The on-chip RAM and Special Function Registers retain their values until the power-down mode is terminated. The only exit from power-down is a hardware reset. Reset redefines the SFRs but does not change the on-chip RAM. The reset should not be activated before VCC is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize.Program Memory Lock BitsOn the chip are three lock bits which can be left unprogrammed (U) or can be programmed (P) to obtain the additional features listed in the table below.When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is powered up without a reset, the latch initializes to a random value, and holds that value until reset is activated. It is necessary that the latched value of EA be in agreement with the current logic level at that pin in order for the device to function properly.IntroductionStepper motors are electromagnetic incremental-motion devices which convert digital pulse inputs to analog angle outputs. Their inherent stepping ability allows for accurate position control without feedback. That is, they can track any step position in open-loop mode, consequently no feedback is needed to implement position control. Stepper motors deliver higher peak torque per unit weight than DC motors; in addition, they are brushless machines and therefore require less maintenance. All of these properties have made stepper motors a very attractive selection in many position and speed control systems, such as in computer hard disk drivers and printers, XY-tables, robot manipulators, etc.Although stepper motors have many salient properties, they suffer from an oscillation or unstable phenomenon. This phenomenon severely restricts their open-loop dynamic performance and applicable area where high speed operation is needed. The oscillation usually occurs at stepping rates lower than 1000 pulse/s, and has been recognized as a mid-frequency instability or localinstability [1], or a dynamic instability [2]. In addition, there is another kind of unstable phenomenon in stepper motors, that is, the motors usually lose synchronism at higher stepping rates, even though load torque is less than their pull-out torque. This phenomenon is identified as high-frequency instability in this paper, because it appears at much higher frequencies than the frequencies at which the mid-frequency oscillation occurs. The high-frequency instability has not been recognized as widely as mid-frequency instability, and there is not yet a method to evaluate it.Mid-frequency oscillation has been recognized widely for a very long time, however, a complete understanding of it has not been well established. This can be attributed to the nonlinearity that dominates the oscillation phenomenon and is quite difficult to deal with.384 L. Cao and H. M. SchwartzMost researchers have analyzed it based on a linearized model [1]. Although in many cases, this kind of treatments is valid or useful, a treatment based on nonlinear theory is needed in order to give a better description on this complex phenomenon. For example, based on a linearized model one can only see that the motors turn to be locally unstable at some supplyfrequencies, which does not give much insight into the observed oscillatory phenomenon. In fact, the oscillation cannot be assessed unless one uses nonlinear theory.Therefore, it is significant to use developed mathematical theory on nonlinear dynamics to handle the oscillation or instability. It is worth noting that Taft and Gauthier [3], and Taft and Harned [4] used mathematical concepts such as limit cycles and separatrices in the analysis of oscillatory and unstable phenomena, and obtained some very instructive insights into the socalled loss of synchronous phenomenon. Nevertheless, there is still a lack of a comprehensive mathematical analysis in this kind of studies. In this paper a novel mathematical analysis is developed to analyze the oscillations and instability in stepper motors.The first part of this paper discusses the stability analysis of stepper motors. It is shown that the mid-frequency oscillation can be characterized as a bifurcation phenomenon (Hopf bifurcation) of nonlinear systems. One of contributions of this paper is to relate the midfrequency oscillation to Hopf bifurcation, thereby, the existence of the oscillation is provedtheoretically by Hopf theory. High-frequency instability is also discussed in detail, and a novel quantity is introduced to evaluate high-frequency stability. This quantity is very easy to calculate, and can be used as a criteria to predict the onset of the high-frequency instability. Experimental results on a real motor show the efficiency of this analytical tool.The second part of this paper discusses stabilizing control of stepper motors through feedback. Several authors have shown that by modulating the supply frequency [5], the midfrequency instability can be improved. In particular, Pickup and Russell [6, 7] have presented a detailed analysis on the frequency modulation method. In their analysis, Jacobi series was used to solve a ordinary differential equation, and a set of nonlinear algebraic equations had to be solved numerically. In addition, their analysis is undertaken for a two-phase motor, and therefore, their conclusions cannot applied directly to our situation, where a three-phase motor will be considered. Here, we give a more elegant analysis for stabilizing stepper motors, where no complex mathematical manipulation is needed. In this analysis, a d–q model of stepper motors is used. Because two-phase motors and three-phase motors have the same q–d model and therefore, the analysis is valid for both two-phase and three-phase motors. Up to date, it is only recognized that the modulation method is needed to suppress the midfrequency oscillation. In this paper, it is shown that this method is not only valid to improve mid-frequency stability, but also effective to improve high-frequency stability.2. Dynamic Model of Stepper MotorsThe stepper motor considered in this paper consists of a salient stator with two-phase or threephase windings, and a permanent-magnet rotor. A simplified schematic of a three-phase motor with one pole-pair is shown in Figure 1. The stepper motor is usually fed by a voltage-source inverter, which is controlled by a sequence of pulses and produces square-wave voltages. This motor operates essentially on the same principle as that of synchronous motors. One of major operating manner for stepper motors is that supplying voltage is kept constant and frequency of pulses is changed at a very wide range. Under this operating condition, oscillation and instability problems usually arise.Figure 1. Schematic model of a three-phase stepper motorA mathematical model for a three-phase stepper motor is established using q–d framereference transformation. The voltage equations for three-phase windings are given byv a = Ri a + L*di a /dt − M*di b/dt − M*di c/dt + dλpma/dt ,v b = Ri b + L*di b/dt − M*di a/dt − M*di c/dt + dλpmb/dt ,v c = Ri c + L*di c/dt − M*di a/dt − M*di b/dt + dλpmc/dt ,where R and L are the resistance and inductance of the phase windings, and M is the mutual inductance between the phase windings. _pm a, _pm b and _pm c are the flux-linkages of the phases due to the permanent magnet, and can be assumed to be sinusoid functions of rotor position _ as followλpma = λ1 sin(Nθ),λpmb = λ1 sin(Nθ − 2 π/3),λpmc = λ1 sin(Nθ - 2 π/3),where N is number of rotor teeth. The nonlinearity emphasized in this paper is represented by the above equations, that is, the flux-linkages are nonlinear functions of the rotor position.By using the q; d transformation, the frame of reference is changed from the fixed phase axes to the axes moving with the rotor (refer to Figure 2). Transformation matrix from the a; b; c frame to the q; d frame is given by [8]For example, voltages in the q; d reference are given byIn the a; b; c reference, only two variables are independent (ia C ib C ic D 0); therefore, the above transformation from three variables to two variables is allowable. Applying the above transformation to the voltage equations (1), the transferred voltage equation in the q; d frame can be obtained asv q = Ri q + L1*di q/dt + NL1i dω + Nλ1ω,v d=Ri d + L1*di d/dt − NL1i qω, (5)Figure 2. a, b, c and d, q reference framewhere L1 D L C M, and ! is the speed of the rotor.It can be shown that the motor’s torque has the following form [2]T = 3/2Nλ1i qThe equation of motion of the rotor is written asJ*dω/dt = 3/2*Nλ1i q − B fω – Tl ,where Bf is the coefficient of viscous friction, and Tl represents load torque, which is assumed to be a constant in this paper.In order to constitute the complete state equation of the motor, we need another state variable that represents the position of the rotor. For this purpose the so called load angle _ [8] is usually used, which satisfies the following equationDδ/dt = ω−ω0 ,where !0 is steady-state speed of the motor. Equations (5), (7), and (8) constitute the statespace model of the motor, for which the input variables are the voltages vq and vd. As mentioned before, stepper motors are fed by an inverter, whose output voltages are not sinusoidal but instead are square waves. However, because the non-sinusoidal voltages do not change the oscillation feature and instability very much if compared to the sinusoidal case (as will be shown in Section 3, the oscillation is due to the nonlinearity of the motor), for the purposes of this paper we can assume the supply voltages are sinusoidal. Under this assumption, we can get vq and vd as followsv q = V m cos(Nδ) ,v d = V m sin(Nδ) ,where Vm is the maximum of the sine wave. With the above equation, we have changed the input voltages from a function of time to a function of state, and in this way we can represent the dynamics of the motor by a autonomous system, as shown below. This will simplify themathematical analysis.From Equations (5), (7), and (8), the state-space model of the motor can be written in a matrix form as followsẊ = F(X,u) = AX + Fn(X) + Bu , (10)where X D T iq id ! _U T , u D T!1 Tl U T is defined as the input, and !1 D N!0 is the supply frequency. The input matrix B is defined byThe matrix A is the linear part of F._/, and is given byFn.X/ represents the nonlinear part of F._/, and is given byThe input term u is independent of time, and therefore Equation (10) is autonomous.There are three parameters in F.X;u/, they are the supply frequency !1, the supply voltage magnitude Vm and the load torque Tl . These parameters govern the behaviour of the stepper motor. In practice, stepper motors are usually driven in such a way that the supply frequency !1 is changed by the command pulse to control the motor’s speed, while the supply voltage is kept constant. Therefore, we shall investigate the effect of parameter !1.3. Bifurcation and Mid-Frequency OscillationBy setting ! D !0, the equilibria of Equation (10) are given asand ' is its phase angle defined byφ = arctan(ω1L1/R) . (16)Equations (12) and (13) indicate that multiple equilibria exist, which means that these equilibria can never be globally stable. One can see that there are two groups of equilibria as shown in Equations (12) and (13). The first group represented by Equation (12) corresponds to the real operatingconditions of the motor. The second group represented by Equation (13) is always unstable and does not relate to the real operating conditions. In the following, we will concentrate on the equilibria represented by Equation (12).基于单片机的步进电机电路控制设计89C51是一种带4K字节闪烁可编程可擦除只读存储器(FPEROM—Falsh Programmableand Erasable Read Only Memory)的低电压、高性能CMOS8位微处理器,俗称单片机。

基于单片机的步进电机电路控制设计英文文献与翻译

基于单片机的步进电机电路控制设计英文文献与翻译

The Stepper motor control circuit be based on Single chipmicrocomputerThe AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Function characteristicThe AT89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.Pin DescriptionVCC:Supply voltage.GND:Ground.Port 0:Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance inputs.Port 0 may also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode P0 has internal pullups.Port 0 also receives the code bytes during Flashprogramming,and outputs the code bytes during programverification. External pullups are required during programverification.Port 1Port 1 is an 8-bit bi-directional I/O port with internal pullups.The Port 1 output buffers can sink/source four TTL inputs.When 1s are written to Port 1 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pullups.Port 1 also receives the low-order address bytes during Flash programming and verification.Port 2Port 2 is an 8-bit bi-directional I/O port with internal pullups.The Port 2 output buffers can sink/source four TTL inputs.When 1s are written to Port 2 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 2 pins that are externally being pulled low will source current, because of the internal pullups.Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, it uses strong internal pullupswhen emitting 1s. During accesses to external data memory that use 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register.Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.Port 3Port 3 is an 8-bit bi-directional I/O port with internal pullups.The Port 3 output buffers can sink/source four TTL inputs.When 1s are written to Port 3 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 3 pins that are externally being pulled low will source current (IIL) because of the pullups.Port 3 also serves the functions of various special features of the AT89C51 as listed below:Port 3 also receives some control signals for Flash programming and verification.RSTReset input. A high on this pin for two machine cycles while the oscillator is running resets the device.ALE/PROGAddress Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming.In normal operation ALE is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory. If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSENProgram Store Enable is the read strobe to external program memory.When the AT89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.EA/VPPExternal Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset.EA should be strapped to VCC for internal program executions.This pin also receives the 12-volt programming enable voltage(VPP) during Flash programming, for parts that require12-volt VPP.XTAL1Input to the inverting oscillator amplifier and input to the internal clock operating circuit.XTAL2Output from the inverting oscillator amplifier.Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1.Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide-by-two flip-flop, but minimum and maximum voltage high and low time specifications must be observed.Figure 1. Oscillator Connections Figure 2. External Clock Drive ConfigurationIdle ModeIn idle mode, the CPU puts itself to sleep while all the onchip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset.It should be noted that when idle is terminated by a hard ware reset, the device normally resumes program execution,from where it left off, up to two machine cycles before the internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when Idle is terminated by reset, the instruction following the one that invokes Idle should not be one that writes to a port pin or to external memory.Power-down ModeIn the power-down mode, the oscillator is stopped, and the instruction that invokes power-down is the last instruction executed. The on-chip RAM and Special Function Registers retain their values until the power-down mode is terminated. The only exit from power-down is a hardware reset. Reset redefines the SFRs but does not change the on-chip RAM. The reset should not be activated before VCC is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize.Program Memory Lock BitsOn the chip are three lock bits which can be left unprogrammed (U) or can be programmed (P) to obtain the additional features listed in the table below.When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is powered up without a reset, the latch initializes to a random value, and holds that value until reset is activated. It is necessary that the latched value of EA be in agreement with the current logic level at that pin in order for the device to function properly.IntroductionStepper motors are electromagnetic incremental-motion devices which convertdigital pulse inputs to analog angle outputs. Their inherent stepping ability allows for accurate position control without feedback. That is, they can track any step position in open-loop mode, consequently no feedback is needed to implement position control. Stepper motors deliver higher peak torque per unit weight than DC motors; in addition, they are brushless machines and therefore require less maintenance. All of these properties have made stepper motors a very attractive selection in many position and speed control systems, such as in computer hard disk drivers and printers, XY-tables, robot manipulators, etc.Although stepper motors have many salient properties, they suffer from an oscillation or unstable phenomenon. This phenomenon severely restricts their open-loop dynamic performance and applicable area where high speed operation is needed. The oscillation usually occurs at stepping rates lower than 1000 pulse/s, and has been recognized as a mid-frequency instability or local instability [1], or a dynamic instability [2]. In addition, there is another kind of unstable phenomenon in stepper motors, that is, the motors usually lose synchronism at higher stepping rates, even though load torque is less than their pull-out torque. This phenomenon is identified as high-frequency instability in this paper, because it appears at much higher frequencies than the frequencies at which the mid-frequency oscillation occurs. The high-frequency instability has not been recognized as widely as mid-frequency instability, and there is not yet a method to evaluate it.Mid-frequency oscillation has been recognized widely for a very long time, however, a complete understanding of it has not been well established. This can be attributed to the nonlinearity that dominates the oscillation phenomenon and is quite difficult to deal with.384 L. Cao and H. M. SchwartzMost researchers have analyzed it based on a linearized model [1]. Although in many cases, this kind of treatments is valid or useful, a treatment based on nonlinear theory is needed in order to give a better description on this complex phenomenon. For example, based on a linearized model one can only see that the motors turn to be locally unstable at some supplyfrequencies, which does not give much insight into the observed oscillatory phenomenon. In fact, the oscillation cannot be assessed unless one uses nonlinear theory.Therefore, it is significant to use developed mathematical theory on nonlinear dynamics to handle the oscillation or instability. It is worth noting that Taft and Gauthier [3], and Taft and Harned [4] used mathematical concepts such as limit cycles and separatrices in the analysis of oscillatory and unstable phenomena, and obtained some very instructive insights into the socalled loss of synchronous phenomenon. Nevertheless, there is still a lack of a comprehensive mathematical analysis in this kind of studies. In this paper a novel mathematical analysis is developed to analyze the oscillations and instability in stepper motors.The first part of this paper discusses the stability analysis of stepper motors. It is shown that the mid-frequency oscillation can be characterized as a bifurcation phenomenon (Hopf bifurcation) of nonlinear systems. One of contributions of this paper is to relate the midfrequency oscillation to Hopf bifurcation, thereby, the existence of the oscillation is provedtheoretically by Hopf theory. High-frequency instability is also discussed in detail, and a novel quantity is introduced to evaluate high-frequency stability. This quantity is very easyto calculate, and can be used as a criteria to predict the onset of the high-frequency instability. Experimental results on a real motor show the efficiency of this analytical tool.The second part of this paper discusses stabilizing control of stepper motors through feedback. Several authors have shown that by modulating the supply frequency [5], the midfrequencyinstability can be improved. In particular, Pickup and Russell [6, 7] have presented a detailed analysis on the frequency modulation method. In their analysis, Jacobi series was used to solve a ordinary differential equation, and a set of nonlinear algebraic equations had to be solved numerically. In addition, their analysis is undertaken for a two-phase motor, and therefore, their conclusions cannot applied directly to oursituation, where a three-phase motor will be considered. Here, we give a more elegant analysis for stabilizing stepper motors, where no complex mathematical manipulation is needed. In this analysis, a d–q model of stepper motors is used. Because two-phase motors and three-phase motors have the same q–d model and therefore, the analysis is valid for both two-phase and three-phase motors. Up to date, it is only recognized that the modulation method is needed to suppress the midfrequency oscillation. In this paper, it is shown that this method is not only valid to improve mid-frequency stability, but also effective to improve high-frequency stability.2. Dynamic Model of Stepper MotorsThe stepper motor considered in this paper consists of a salient stator with two-phase or threephase windings, and a permanent-magnet rotor. A simplified schematic of a three-phase motor with one pole-pair is shown in Figure 1. The stepper motor is usually fed by a voltage-source inverter, which is controlled by a sequence of pulses and produces square-wave voltages. Thismotor operates essentially on the same principle as that of synchronous motors. One of major operating manner for stepper motors is that supplying voltage is kept constant and frequencyof pulses is changed at a very wide range. Under this operating condition, oscillation and instability problems usually arise.Figure 1. Schematic model of a three-phase stepper motorA mathematical model for a three-phase stepper motor is established using q–d framereference transformation. The voltage equations for three-phase windings are given byv a = Ri a + L*di a /dt − M*di b/dt − M*di c/dt + dλpma/dt ,v b = Ri b + L*di b/dt − M*di a/dt − M*di c/dt + dλpmb/dt ,v c = Ri c + L*di c/dt − M*di a/dt − M*di b/dt + dλpmc/dt ,where R and L are the resistance and inductance of the phase windings, and M is the mutual inductance between the phase windings. _pm a, _pm b and _pm c are the flux-linkages of thephases due to the permanent magnet, and can be assumed to be sinusoid functions of rotor position _ as followλpma = λ1 sin(Nθ),λpmb = λ1 sin(Nθ − 2 π/3),λpmc = λ1 sin(Nθ - 2 π/3),where N is number of rotor teeth. The nonlinearity emphasized in this paper is represented by the above equations, that is, the flux-linkages are nonlinear functions of the rotor position.By using the q; d transformation, the frame of reference is changed from the fixed phase axes to the axes moving with the rotor (refer to Figure 2). Transformation matrix from the a; b; c frame to the q; d frame is given by [8]For example, voltages in the q; d reference are given byIn the a; b; c reference, only two variables are independent (ia C ib C ic D 0); therefore, the above transformation from three variables to two variables is allowable. Applying the abovetransformation to the voltage equations (1), the transferred voltage equation in the q; d frame can be obtained asv q = Ri q + L1*di q/dt + NL1i dω + Nλ1ω,v d=Ri d + L1*di d/dt − NL1i qω, (5)Figure 2. a, b, c and d, q reference framewhere L1 D L C M, and ! is the speed of the rotor.It can be shown that the motor’s torque has the following form [2]T = 3/2Nλ1i qThe equation of motion of the rotor is written asJ*dω/dt = 3/2*Nλ1i q − B fω – Tl ,where Bf is the coefficient of viscous friction, and Tl represents load torque, which is assumed to be a constant in this paper.In order to constitute the complete state equation of the motor, we need another state variable that represents the position of the rotor. For this purpose the so called load angle _ [8] is usually used, which satisfies the following equationDδ/dt = ω−ω0 ,where !0 is steady-state speed of the motor. Equations (5), (7), and (8) constitute the statespace model of the motor, for which the input variables are the voltages vq and vd. As mentioned before, stepper motors are fed by an inverter, whose output voltages are not sinusoidal but instead are square waves. However, because the non-sinusoidal voltages do not change the oscillation feature and instability very much if compared to the sinusoidal case (as will be shown in Section 3, the oscillation is due to the nonlinearity of the motor), for the purposes of this paper we can assume the supply voltages are sinusoidal. Under this assumption, we can get vq and vd as followsv q = V m cos(Nδ) ,v d = V m sin(Nδ) ,where Vm is the maximum of the sine wave. With the above equation, we have changed the input voltages from a function of time to a function of state, and in this way we can represent the dynamics of the motor by a autonomous system, as shown below. This will simplify the mathematical analysis.From Equations (5), (7), and (8), the state-space model of the motor can be written in a matrix form as followsẊ = F(X,u) = AX + Fn(X) + Bu , (10) where X D T iq id ! _U T , u D T!1 Tl U T is defined as the input, and !1 D N!0 is the supply frequency. The input matrix B is defined byThe matrix A is the linear part of F._/, and is given byFn.X/ represents the nonlinear part of F._/, and is given byThe input term u is independent of time, and therefore Equation (10) is autonomous.There are three parameters in F.X;u/, they are the supply frequency !1, the supply voltage magnitude Vm and the load torque Tl . These parameters govern the behaviour of the stepper motor. In practice, stepper motors are usually driven in such a way that the supply frequency !1 is changed by the command pulse to control the motor’s speed, while the supply voltage is kept constant. Therefore, we shall investigate the effect of parameter !1.3. Bifurcation and Mid-Frequency OscillationBy setting ! D !0, the equilibria of Equation (10) are given asand ' is its phase angle defined byφ = arctan(ω1L1/R) . (16)Equations (12) and (13) indicate that multiple equilibria exist, which means that these equilibria can never be globally stable. One can see that there are two groups of equilibria as shown in Equations (12) and (13). The first group represented by Equation (12) corresponds to the real operatingconditions of the motor. The second group represented by Equation (13) is always unstable and does not relate to the real operating conditions. In the following, we will concentrate on the equilibria represented by Equation (12).基于单片机的步进电机电路控制设计89C51是一种带4K字节闪烁可编程可擦除只读存储器(FPEROM—Falsh Programmable and Erasable Read Only Memory)的低电压、高性能CMOS8位微处理器,俗称单片机。

【资料】步进电机和伺服电机的系统控制中英文翻译资料

【资料】步进电机和伺服电机的系统控制中英文翻译资料

【关键字】资料SELECTING THE MOTOR THAT SUITS YOUR APPLICATION Motion control, in its widest sense, could relate to anything from a welding robot to the hydraulic system in a mobile crane. In the field of Electronic Motion Control, we are primarily concerned with systems falling within a limited power range, typically up to about 10HP (7KW), and requiring precision in one or more aspects. This may involve accurate control of distance or speed, very often both and sometimes other parameters such as torque or acceleration rate. In the case of the two examples given, the welding robot requires precise control of both speed and distance; the crane hydraulic system uses the driver as the feedback system so its accuracy varies with the skill of the operator. This wouldn’t be considered a motion control system in the strict sense of the term. Our standard motion control system consists of three basic elements:Fig. 1 Elements of motion control systemThe motor,This may be a stepper motor (either rotary or linear), a DC brush motor or a brushless servo motor. The motor needs to be fitted with some kind of feedback device unless it is a stepper motor.Fig. 2 shows a system complete with feedback to control motor speed. Such a system is known as a closed-loop velocity servo system.Fig. 2 Typical closed loop (velocity) servo systemThe drive,this is an electronic power amplifier that delivers the power to operate the motor in response to low-level control signals. In general, the drive will be specifically designed to operate with a particular motor type –you can’t use a stepper drive to operate a DC brush motor, for instance.Application Areas of Motor TypesStepper MotorsStepper Motor BenefitsStepper motors have the following benefits:• Low cost• Ruggedness• Simplicity in construction• High reliability• No maintenance• Wide acceptance• No tweaking to stabilize• No feedback components are needed• They work in just about any environment• Inherently more failsafe than servo motors.There is virtually no conceivable failure within the stepper drive module that could cause the motor to run away. Stepper motors are simple to drive and control in an open-loop configuration. They only require four leads. They provide excellent torque at low speeds, up to 5 times the continuous torque of a brush motor of the same frame size or double the torque of the equivalent brushless motor. This often eliminates the need for a gearbox. A stepper-driven-system is inherently stiff, with known limits to the dynamic position error.Stepper Motor DisadvantagesStepper motors have the following disadvantages:• Resonance effects and relatively long settling times• Rough performance at low speed unless a micro step drive is used• Liability to undetected position loss as a result of operating open-loop• They consume current regardless of load conditions and therefore tend to run hot• Losses at speed are relatively high and can cause excessive heating, and they are frequently noisy (especially at high speeds).• They can exhibit lag-lead oscillation, which is difficult to damp. There is a limit to their available size, and positioning accuracy relies on the mechanics (e.g., ball screw accuracy). Many of these drawbacks can be overcome by the use of a closed-loop control scheme. Note: The Comp motor Zeta Series minimizes or reduces many of these different stepper motor disadvantages. There are three main stepper motor types:• Permanent Magnet (P.M.) Motors• Variable Reluctance (V.R.) Motors• Hybrid MotorsWhen the motor is driven in its full-step mode, energizing two windings or “phases” at a time (see Fig. 3), the torque available on each step will be the same (subject to very small variations in the motor and drive characteristics). In the half-step mode, we are alternately energizing two phases and then only one as shown in Fig. 4. Assuming the drive delivers the same winding current in each case, this will cause greater torque to be produced when there are two windings energized. In other words, alternate steps will be strong and weak. This does not represent a major deterrent to motor performance—the available torque is obviously limited by the weaker step, but there will be a significant improvement in low-speed smoothness over the full-step mode.Clearly, we would like to produce approximately equal torque on every step, and this torque should be at the level of the stronger step. We can achieve this by using a higher current level when there is only one winding energized. This does not over dissipate the motor because the manufacturer’s current rating assumes two phases to be energized the current rating is based on the allowable case temperature). With only one phase energized, the same total power will be dissipated if the current is increased by 40%. Using this higher current in the one-phase-on state produces approximately equal torque on alternate steps (see Fig. 5).Fig. 3 Full step currentFig. 4 Half step currentFig.5 Half step current, profiledWe have seen that energizing both phases with equal currents produces an intermediate step position half-way between the one-phase-one positions. If the two phase currents are unequal, the rotor position will be shifted towards the stronger pole. This effect is utilized in the micro stepping drive, which subdivides the basic motor step by proportioning the current in the two windings. In this way, the step size is reduced and the low-speed smoothness is dramatically improved. High-resolution micro step drives divide the full motor step into as many as 500 micro steps, giving 100,000 steps per revolution. In this situation, the current pattern in the windings closely resembles two sine waves with a 90°phase shift between them (see Fig. 6). The motor is now being driven very much as though it is a conventional AC synchronous motor. In fact, the stepper motor can be driven in this way from a 60 Hz-US (50Hz-Europe) sine wave source by including a capacitor inseries with one phase. It will rotate at 72 rpm.Fig. 6 Phase currents in micro step modeStandard 200-Step Hybrid MotorThe standard stepper motor operates in the same way as our simple model, but has a greater number of teeth on the rotor and stator, giving a smaller basic step size. The rotor is in two sections as before, but has 50 teeth on each section. The half-tooth displacement between the two sections is retained. The stator has 8 poles each with 5 teeth, making a total of 40 teeth (see Fig. 7).Fig.7 200-step hybrid motorIf we imagine that a tooth is placed in each of the gaps between the stator poles, there would be a total of 48 teeth, two less than the number of rotor teeth. So if rotor and stator teeth are aligned at 12 o’clock, they will also be aligned at 6 o’clock. At 3 o’clock and 9 o’clock the teeth will be misaligned. However, due to the displacement between the sets of rotor teeth, alignment will occur at 3 o’clock and 9 o’clock at the other end of the rotor.The windings are arranged in sets of four, and wound such that diametrically-opposite poles are the same. So referring to Fig. 7, the north poles at 12 and 6 o’clock attract the south-pole teeth at the front of the rotor; the south poles at 3 and 9 o’clock attract the north-pole teeth at the back. By switching current to the second set of c oils, the stator field pattern rotates through 45°. However, to align with this new field, the rotor only has to turn through 1.8°. This is equivalent to one quarter of a tooth pitch on the rotor, giving 200 full steps per revolution.Note that there are as many detent positions as there are full steps per rev, normally 200. The detent positions correspond with rotor teeth being fully aligned with stator teeth. When power is applied to a stepper drive, it is usual for it to energize in the “zero phase” state in which there is current in both sets of windings. The resulting rotor position does not correspond with a natural detent position, so an unloaded motor will always move by at least one half steps at power-on. Of course, if the system was turned off other than in the zero phase state, or the motor is moved in the meantime, a greater movement may be seen at power-up.Another point to remember is that for a given current pattern in the windings, there are as many stable positions as there are rotor teeth (50 for a 200-step motor). If a motor isde-synchronized, the resulting positional error will always be a whole number of rotor teeth or a multiple of 7.2°. A motor cannot “miss” individual steps – position errors of one or two steps must be due to noise, spurious step pulses or a controller fault.Fig. 8 Digital servo driveDigital Servo Drive OperationFig.8 shows the components of a digital drive for a servo motor. All the main control functions are carried out by the microprocessor, which drives a D-to-A converter to produce an analog torque demand signal. From this point on, the drive is very much like an analog servo amplifier.Feedback information is derived from an encoder attached to the motor shaft. The encoder generates a pulse stream from which the processor can determine the distance traveled, and by calculating the pulse frequency it is possible to measure velocity.The digital drive performs the same operations as its analog counterpart, but does so by solving a series of equations. The microprocessor is programmed with a mathematical model (or “algorithm”) of the equivalent analog system. This model predicts the behavior of the system. It also takes into account additional information like the output velocity, the rate of change of the input and the various tuning settings.To solve all the equations takes a finite amount of time, even with a fast processor –this time is typically between 100ms and 2ms. During this time, the torque demand must remain constant at its previously-calculated value and there will be no response to a change at the input or output. This “update time” therefore becomes a critical factor in the performance of a digital servo and in a high-performance system it must be kept to a minimum.The tuning of a digital servo is performed either by pushbuttons or by sending numerical data from a computer or terminal. No potentiometer adjustments are involved. The tuning data is used to set various coefficients in the servo algorithm and hence determines the behavior of the system. Even if the tuning is carried out using pushbuttons, the final values can be uploaded to a terminal to allow easy repetition.Some applications, the load inertia varies between wide limits – think of an arm robot that starts off unloaded and later carries a heavy load at full extension. The change in inertia may well be a factor of 20 or more, and such a change requires that the drive isre-tuned to maintain stable performance. This is simply achieved by sending the new tuning values at the appropriate point in the operating cycle.步进电机和伺服电机的系统控制运动控制,在其最广泛的意义上说,可能与任何移动式起重机中焊接机器人液压系统有关。

最新步进电机概述翻译文献综述

步进电机概述中英文资料对照外文翻译文献综述外文文献:Knowledge of the stepper motorWhat is a stepper motor:The stepping motor as executing components, electromechanical integration is one of the key products, widely used in a variety of automatic control systems. With the development of microelectronics and computer technology, the stepper motor demand grow with each passing day, has been applied in various fields of the national economy.Stepping motor is a kind of electrical pulses into angular displacement of the implementing agencies. When stepping drive receives a pulse signal, it drives stepper motor rotate in the direction set by a fixed angle ( called the " step " ), it is the rotation at a fixed angle step by step operation. The number of pulses to control the amount of angular displacement through the control, so as to achieve the purpose of accurate positioning; also can control the pulse frequency to control motor rotation speed and acceleration, so as to achieve the purpose of speed. Special motor stepper motor control can be used as a, using its no accumulation of error ( accuracy of 100% ) characteristics, widely used in all kinds of open-loop control.Now more commonly used step motor comprises stepper motor ( VR ), permanent magnet stepper motor ( PM ), hybrid stepping motor ( HB ) and single-phase stepping motor.Permanent magnet stepper motor for general two-phase, torque and small volume, the step angle is 7.5 degree or 15 degree;Reaction stepping motor is generally three-phase, can achieve a high torque output, step angle is 1.5 degrees, but the noise and vibration are great. The rotor magnetic circuit made of soft magnetic material reaction stepper motor, a multi-phase excitation winding stator, using magnetic torque changes.Hybrid stepping motor is mixed the advantages of permanent magnet type and reaction type. It is divided into two phase and five phase: two-phase stepper angle is 1.8 degree and five phase stepper angle is 0.72 degrees. Application of the stepping motor is the most widely, is also this subdivision driving of stepper motor selection scheme.Some of the basic parameters of step motor:The natural step motor:It says every hair a step pulse signal control system, motor rotation angle. Motor factory is a step angle values, such as type 86BYG250A motor is given a value of 0.9° /1.8 °( said a half step of work is 0.9 °, the whole step of work is 1.8 °), this step can be called ' motor fixed step ', it doesn't have to be the actual motor work when the real step angle, angle and drive the real steps.Stepper motor phase number:Is the number of coils inside the motor, commonly used in a two-phase, three-phase, four phase, five phase stepper motor. The number of motor phase is different, the step angle is also different, the general two-phase motor step angle is 0.9° /1.8 °, three-phase 0.75 ° /1.5 °, five phase of 0.36 ° /0.72 °. In the absence of subdivision drive, users mainly rely on different phases of the stepper motor to meet their own requirements of step angle. If you use a subdivision driver, is ' phase ' will become meaningless, users only need to change the fine fraction in the drive, you can change the step angle.Keep the torque ( HOLDINGTORQUE ):Is the stepper motor power but there is no rotation, the stator locked rotor torque. It is one of the most important parameters of step motor, usually steppermotor in the low-speed torque to keep the torque. Because of the larger output torque stepper motor with speed and continuous decay, increases the output power with the speed of change, so keep the torque becomes one of the most important parameters of step motor. For example, when people say 2N.m stepper motor, in the absence of exceptional circumstances described in that refers to keep the torque motor for the 2N.m step.DETENTTORQUE:DETENTTORQUE:Refers to the stepper motor is not energized condition, the stator locked rotor torque. DETENTTORQUE does not have a unified way of translation in China, easy to make people misunderstand; as the rotor reaction stepper motor is not permanent magnetic material, so it has no DETENTTORQUE.Some of the characteristic of step motor:The 1 stepper motor step angle accuracy for 3-5%, and no accumulation.2 stepper motor appearance allows the maximum temperature.Stepper motor temperature is too high will first make the motor magnetic material demagnetization, resulting in lower torque and loss, so the highest temperature of motor appearance allows should depend on the different motor demagnetization magnetic materials; generally speaking, demagnetization point magnetic material in 130 degrees Celsius above, some even as high as 200 degrees Celsius stepping motor, so the surface temperature at 80-90 degrees Celsius completely normal.3 stepper motor torque will decrease with the increase of rotational speed.When the stepper motor rotates, the electrical inductance of the winding will form a reverse electromotive force; the higher the frequency, the greater the reverse emf. Under the influence of it, the motor with frequency ( or speed ) increase and the phase current is reduced, resulting in lower torque.4 stepper motor speed can be normal operation, but if it is more than a certain speed will not start, and accompanied by howling.Stepper motor is a technical parameter: no-load start frequency, namely the stepper motor under no-load condition can pulse frequency start, if the pulse frequency is higher than the value, the motor can not start properly, may have lost step or stall. In under the condition of the load, start frequency should be less. If you want to enable the motor to rotate at high speed, pulse frequency should accelerate the process is started, the lower frequency, and then according to certain acceleration up to high frequency desired ( motor speed from low speed to high speed ).Characteristics of stepper motor with its significant, play an important purpose in the era of digital manufacturing. With the different development of digital technology and stepper motor itself technology improves, the stepper motor will be applied in more fields.How to determine the stepper motor driver DC power supply:A. Determination of the voltageHybrid stepping motor driver power supply voltage is generally a wide range (such as the IM483 supply voltage of 12 ~ 48VDC), the supply voltage is usually based on the work of the motor speed and response to the request to choose. If the motor operating speed higher or faster response to the request, then the voltage value is high, but note that the ripple voltage can not exceed the maximum input voltage of the drive, or it may damage the drive.B. Determination of CurrentPower supply current is generally based on the output phase current drive I to determine. If a linear power supply, power supply current is generally preferable 1.1 to 1.3 times the I; if we adopt the switching power supply, power supply current is generally preferable to I, 1.5 to 2.0 times.The main characteristics of stepping motor:A stepper motor drive can be added operate pulse drive signal must be no pulse when the stepper motor at rest, such asIf adding the appropriate pulse signal, it will to a certain angle (called the step angle) rotation. Rotation speed and pulse frequency is proportional to.2 Dragon step angle stepper motor version is 7.5 degrees, 360 degrees around, takes 48 pulses to complete.3 stepper motor has instant start and rapid cessation of superior characteristics.Change the pulse of the order of 4, you can easily change the direction of rotation. Therefore, the current printers, plotters, robotics, and so devices are the core of the stepper motor as the driving force.Stepper motor control exampleWe use four-phase unipolar stepper motor as an example. The structure shown in Figure 1:Four four-phase winding leads (as opposed to phase A1 A2 B1 phase phase B2) and two public lines (to the power of positive). The windings of one phase to the power of the ground. So that the windings will be inspired. We use four-phase eight-beat control, ie, 1 phase 2 phase alter nating turn, would enhance resolution. 0.9 ° per step can be transferred to control the motor excitation is transferred in order as follows:If the requirements of motor reversal, the transmission excitation signal can be reversed. 2 control schemeControl system block diagram is as followsThe program uses AT89S51 as the main control device. It is compatible with the AT89C51, but also increased the SPI interface and the watchdog module, which not only makes the debugging process becomes easy and also more stable. The microcontroller in the program mainly for field signal acquisition and operation of the stepper motor to calculate the direction and speed information. Then sent to the CPLD.CPLD with EPM7128SLC84-15, EPM7128 programmable logic device of large-scale, forthe ALTERA company's MAX7000 family. High impedance, electrically erasable and other characteristics, can be used for the 2500 unit, the working voltage of +5 V. CPLD receives information sent from the microcontroller after converted to the corresponding control signal output to the stepper motor drive. Put the control signal drives the motor windings after the input, to achieve effective control of the motor. 2.1 The hardware structure of the motor driveMotor drive using the following circuit:R1-R8 in which the resistance value of 320Ω. R9-R12 resistance value 2.2KΩ. Q1-Q4 as Darlington D401A, Q5-Q8 for the S8550. J1, J2 and the stepper motor connected to the six-lead。

单片机控制步进电机外文文献翻译

单片机控制步进电机外文文献翻译单片机控制步进电机外文原文Stepping motor application and controlstepper motor is an electrical pulse will be converted into angular displacement of the implementing agencies. Put it in simple language-speaking: When the stepper drive pulse signal to a receiver, it drives stepper motor rotation direction by setting a fixed point of view (and the step angle). You can control the number of pulses to control the amount of angular displacement, so as to achieve the purpose of accurate positioning; At the same time, you can by controlling the pulsefrequency to control the motor rotation speed and acceleration, so as to achieve the purpose of speed.Stepper motor directly from the AC-DC power supply, and must use special equipment - stepper motor drive. Stepper motor drive system performance, in addition to their own performance with the motor on the outside, but also to a large extent depend on the drive is good or bad.A typical stepper motor drive system is operated by the stepper motor controller, stepper motor drives and stepper motor body is composed of three parts. Stepper motor controller stepper pulse and direction signal, each made of a pulse, stepper motor-driven stepper motor drives a rotor rotating step angle, that is, step-by-step further. High or low speed stepper motor, or speed, or deceleration, start or stop pulses areentirely dependent on whether the level or frequency. Decide the direction of the signal controller stepper motor clockwise or counterclockwise rotation. Typically, the stepper motor drive circuit from the logic control, power driver circuit, protection circuit and power components. Stepper motor drive controller, once received from the direction of the signal and step pulse, the control circuit on a pre-determined way of the electrical power-phase stepper motor excitation windings of the conduction or cut-off signal. Control circuit output signal power is low, can not provide the necessary stepping motor output power, the need for power amplifier, which is stepper motor driven power drive part. Power stepper motor drive circuit to control the input current winding to form a space for rotating magnetic field excitation, the rotor-driven movement. Protection circuit in the event of short circuit, overload, overheating, such as failure to stop the rapid drive and motor.Motor is usually for the permanent magnet rotor, when the current flows through the stator windings, the stator windings produce a magnetic field vector. The magnetic field will lead to a rotor angle of rotation, making a pair of rotor and stator magnetic field direction of the magnetic field direction. When the stator rotating magnetic field vector from a different angle. Also as the rotor magnetic field to a point of view. An electrical pulse for each input, the motor rotation angle step. Its output and input of the angular displacement is proportional to the pulses, with pulse frequency proportional to speed.Power to change the order of winding, the electrical will be reversed. We can, therefore, control the pulse number, frequency and electrical power windings of each phase to control the order of rotation of stepper motor.Stepper motor types:Permanent magnet (PM). Magnetic generally two-phase stepper, torque and are smaller and generally stepping angle of 7.5 degrees or 15 degrees; put more wind for air-conditioning.Reactive (VR), the domestic general called BF, have a common three-phase reaction, step angle of 1.5 degrees; also have five-phase reaction. Noise, no torque has been set at a large number of out.Hybrid (HB), common two-phase hybrid, five-phase hybrid, three-phase hybrid, four-phase hybrid, two-phase can be common with the four-phase drive, five-phase three-phase must be used with their drives;Two-phase, four-phase hybrid step angle is 1.8 degrees more than a small size, great distance, and low noise;Five-phase hybrid stepping motor is generally 0.72, the motor step angle small, high resolution, but the complexity of drive circuits,wiring problems, such as the 5-phase system of 10 lines.Three-phase hybrid stepping motor step angle of 1.2 degrees, but according to the use of 1.8 degrees, the three-phase hybrid stepping motor has a two-phase mixed than the five-phase hybrid more pole will help electric folder symmetric angle, it can be more than two-phase,five-phase high accuracy, the error even smaller, run moresmoothly.Stepper motor to maintain torque: stepper motor power means no rotation, the stator locked rotor torque. It is a stepper motor, one of the most important parameters, usually in the low-speed stepper motor torque at the time of close to maintain the torque. As the stepper motor output torque increases with the speed of constant attenuation, the output power also increases with the speed of change, so as to maintain torque on the stepper motor to measure the parameters of one of the most important. For example, when people say that the stepper motor 2N.m, in the absence of special circumstances that means for maintaining the torque of the stepper motor 2N.m.Precision stepper motors: stepper motor step angle accuracy of 3-5%, not cumulative.Stepper motor to allow the minimum amount of surfacetemperature:Steppermotor causes the motor temperature is too high the first magnetic demagnetization, resulting in loss of torque down even further, so the motor surface temperature should be the maximum allowed depending on the motor demagnetization of magnetic material points; Generally speaking, the magnetic demagnetization points are above 130 degrees Celsius, and some even as high as 200 degrees Celsius, so the stepper motor surface temperature of 80-90 degrees Celsius is normal.Start frequency of no-load: the stepper motor in case of no-load to the normal start of the pulse frequency, if the pulse frequency ishigher than the value of motor does not start, possible to lose steps or blocking. In the case of the load, start frequency should be lower. If you want to achieve high-speed rotation motor, pulse frequency should be to accelerate the process, that is, the lower frequency to start, and then rose to a certain acceleration of the desired frequency (motor speed from low rise to high-speed).Step angle: that is to send a pulse, the electrical angle corresponding to rotation.Torque positioning: positioning torque stepper motor does not refer to the case of electricity, locked rotor torque stator.Operating frequency: step-by-step stepper motor can run without losing thehighest frequency.Subdivision Drive: stepper motor drives the main aim is to weaken or eliminate low-frequency vibration of the stepper motor to improve the accuracy of the motor running. Reduce noise. If the step angle is 1.8 ? (full step) the two-phase hybrid stepping motor, if the breakdown of the breakdown of the number of drives for the 8, then the operation of the electrical pulse for each resolution of 0.072 ?, the precision of motor can reach or close to 0.225 ?, also depends on the breakdown of the breakdown of the drive current control accuracy and other factors, the breakdown of the number of the more difficult the greater the precision of control.How to determine the stepper motor driver DC power supply:A. Determination of the voltage: Hybrid stepping motor driver power supplyvoltage is generally a wide range (such as the IM483 supply voltage of 12 ~ 48VDC), the supply voltage is usually based on the work of the motor speed and response to the request to choose. If the motor operating speed higher or faster response to the request, then the voltage value is high, but note that the ripple voltage can not exceed the maximum input voltage of the drive, or it may damage the drive.B. Determination of CurrentPower supply current is generally based on the output phase current drive I to determine. If a linear power supply, power supply current is generally preferable 1.1 to 1.3 times the I; if we adopt the switching power supply, power supply current is generally preferable to I, 1.5 to 2.0 times.The main characteristics of stepping motor:1. A stepper motor drive can be added operate pulse drive signal must be no pulse when the stepper motor at rest, such as If adding the appropriate pulse signal, it will to a certain angle (called the step angle) rotation. Rotation speed and pulse frequency is proportional to.2. permanent magnet step angle stepper motor version is 7.5 degrees, 360 degrees around, takes 48 pulses to complete.3. stepper motor has instant start and rapid cessation of superior characteristics. Change the order of the pulse4(you can easily change the direction of rotation.Therefore, the current printers, plotters, robotics, and so devices are the core of the stepper motor as the driving force.Stepper motors have the following benefits: (1)Low cost(2)Ruggedness (3)Simplicity in construction (4)High reliability (5)No maintenance (6)Wideacceptance(7)No tweaking to stabilize (8)No feedback components are neededThey work in just about any environment Inherently more failsafethan servo motors. There isvirtually no conceivable failure within the stepper drive module that could cause the motor to run away. Stepper motors are simple to drive and control in an open-loop configuration. They only require four leads. They provide excellent torque at low speeds, up to 5 times the continuous torque of a brush motor of the same frame size or double the torque of the equivalent brushless motor. This often eliminates the need for a gearbox. A stepper-driven-system is inherently stiff, with known limits to the dynamic position error.Stepper Motor Disadvantages:Stepper motors have the following disadvantages:1. Resonance effects and relatively long settling times .2.Rough performance at low speed unless a microstep drive is used .3.Liability to undetected position loss as a result of operating open-loop .4. They consume current regardless of load conditions and therefore tend to run hot5. Losses at speed are relatively high and can cause excessive heating, and they are frequently noisy (especially at high speeds).6.They can exhibit lag-lead oscillation, which is difficult to damp.There is a limit to their available size, and positioning accuracy relies on the mechanics (e.g., ballscrew accuracy).Many of these drawbacks can be overcome by the use of a closed-loop control scheme.外文资料翻译译文步进电机应用和控制步进电机是将电脉冲转换成角位移的执行机构。

步进电机及其驱动系统简介中英文翻译

步进电机及其驱动系统简介中英文翻译Step characteristics for machine for angular displacement forentering the electrical engineering is first kind will give or getan electric shocking the pulse signal conversion cowgirl or line potential moving battery carry outing a piece, having the fast stopping, accurate step entering and directly accepting the arithmetic figure measuring, because of but got the extensive application.Such as in the drafting machine, print the machine and optical instrument inside, and all adopt the inside of a place control system for entering theelectrical engineering to positioning to paint the pen print head or optical prinipal, especially indrstry process the type control, and move to spread to feel the to can immediately attain the precision fixed position because of its precision and need not potential, and control the technique along with the calculator of continuously deveolp, applied to would be more and more extensive.Control and can is divided into the simple control sum the complicacyto control to motor two kind.The simple control points to proceedsto start to motor, the system move, positive and negative revolution and sequential plicacy the control point to the motor's revolving speed, screw angle, turning moment, tension, electric current etc. physics quantisty progress control.Control technique that thedevelopment that motor get force is in latest development achievement thatmicro-electronics technique, electric power electronics, spread to feel the the technique, automatic control the technique, tiny machine the application technique to wait.Exactly the advance of these techniques make the motor control the technique at near two 10-year insides change for turn overing the ground of day is take placed.Among them the motor's control division have already been controled by emulation gradually let locate to regard single flake machine as principle of microprocessor control, formation the mix control system of the arithmetic figure and emulation and the application of the pure arithmetic figure control system, combine control the direction to total amount word to quickly deveolp.The motor's drive part of power for using the piece experienced a few renewals1to change the on behalf, current switch speed sooner, more simple wholetype power piece of control the MOSFET become the main current with IGBT.Stepper motors have the following benefits:• Low cost• Ruggedness• Simplicity in construction• High reliability• No maintenance• Wide acceptance• No tweaking to stabilize• No feedback components are needed• They work in just about any environment• Inherently more failsafe than servo motors.There is virtually no conceivable failure within the stepper drive module that could cause the motor to run away. Stepper motors are simple to drive and control in an open-loop configuration. They onlyrequire fourleads. They provide excellent torque at low speeds, up to 5 timesthecontinuous torque of a brush motor of the same frame size or double thetorque of the equivalent brushless motor. This often eliminates the needfor a gearbox. A stepper-driven-system is inherently stiff, with knownlimits to the dynamic position error.Stepper Motor DisadvantagesStepper motors have the following disadvantages:• Res onance effects and relatively long settlingtimes• Rough performance at low speed unless amicrostep drive is used• Liability to undetected position loss as a result ofoperating open-loop• They consume current regardless of loadconditions and therefore tend to run hot• Losses at speed are relatively high and can causeexcessive heating, and they are frequently noisy(especially at high speeds).2• They can exhibit lag-lead oscillation, which isdifficult to damp. There is a limit to their availablesize, and positioning accuracy relies on themechanics (e.g., ballscrew accuracy). Many ofthese drawbacks can be overcome by the use ofa closed-loop control scheme.Note: The Compumotor Zeta Series minimizes orreduces many of these different stepper motor disadvantages.There are three main stepper motor types:• Permanent Magnet (P.M.) Motors• Variable Reluctance (V.R.) Motors• Hybrid MotorsWhen the motor is driven in its full-step mode, energizing two windings or “phases” at a time (see Fig. 1.8), the torque available oneach step will be the same (subject to very small variations in the motorand drive characteristics). In the half-step mode, we arealternatelyenergizing two phases and then only one as shown in Fig. 1.9. Assumingthe drive delivers the same winding current in each case, this will causegreater torque to be produced when there are two windings energized. Inother words, alternate steps will be strong and weak. This does not represent a major deterrent to motor performance—the available torqueis obviously limited by the weaker step, but there will be a significantimprovement in low-speed smoothness over the full-step mode.Applications in hazardous environmentsor in a vacuum may not be able to use a brushed motor. Either a stepper or a brushless motor is called for, depending on the demands of the load.Bear in mind that heat dissipation may be a problem in a vacuum when theloads are excessive.continuous duty applications suit the servo motor, and in fact astep motor should be avoided in such applications because the high-speed lossescan cause excessive motor heating.are the natural domain of the stepper due to its high torque at low speeds, good torque-to-inertia ratio and lack of commutation problems.The brushes of the DC motor can limit its potential for frequent starts,3stops and direction changes.continuous duty applications are appropriate to the step motor. At low speeds it is very efficient in terms of torque output relativeto bothsize and input power. Microstepping can be used to improve smoothness inlowspeed applications such as a metering pump drive for veryaccurate flowcontrol.Stepper motor is a stepper motor for precise electrical and mechanicalactuators, which are widely used in industrial machinery, digital control,for the system reliability, interoperability, maintainability, andcost-optimal, according to the control system functional requirements andControl system through the microcontroller memory, I/O interface, interrupt, keyboard, LED display of the expansion of the annular distributor stepping motor, drive and protection circuit, man-machineinterface circuit, interrupt system and reset circuit, a single voltagedrive circuit, etc.designed to achieve a four-phase stepper motor rotating, and emergency stop functions. To achieve the steppingmotorsystem in NC Machine Tools, system design, two external interrupts,inorder to achieve within a certain period of time stepper motor repeatedReversible function, ie, the turret CNC automatic feed movement.With thecontinuous development of single chip microcomputer, microcontroller inhousehold electronic products widely applied, since the since the earlysixties, the stepper motor applications are greatly enhanced. People useit to drive the clock and other instruments with pointers, printers,plotters, disk CD-ROM drive, a variety of automatic control valves, various tools, as well as robots and other mechanical devices. In addition,as the acIn addition, as the actuator, stepper motor is one ofmechanical and electrical integration of the key products are widely usedin a variety of automatic control systems, microelectronics and computertechnology with the development of its requirements with the Japanese fearof growing in all the field of application of the national economy has. Stepper motor digital control system of electromechanicalactuators commonly used, due to its high precision, small size, flexibleto control, so the smart meter and position control has been widely usedin large-scale integrated circuits technology development, and SCM The4increasing popularity of design features, the lowest price of the steppermotor control driver provides advanced technology and adequate resources.步进电机是一种将电脉冲信号转换成相应的角位移或线位移的机电执行元件,具有快速启停、精确步进以及直接接受数字量的特点,因而得到了广泛的应用。

外文翻译----步进电机基础

资料翻译英文资料Stepper Motor Basics[TieluoLin.Jianxun Zhang.DSP-based microstep controller of stepper motor.Intelligent Control and Automation, 2004.Fifth World Congress on Volume 5, 15-19 June 2004.]A stepper motor is an electromechanical device which converts electrical pulses into discrete mechanical movements. The shaft or spindle of a stepper motor rotates in discrete step increments when electrical command pulses are applied to it in the proper sequence. The motors rotation has several direct relationships to these applied input pulses. The sequence of the applied pulses is directly related to the direction of motor shafts rotation. The speed of the motor shafts rotation is directly related to the frequency of the input pulses and the length of rotation is directly related to the number of input pulses applied.Stepper Motor Advantages and DisadvantagesAdvantages1. The rotation angle of the motor is proportional to the input pulse.2. The motor has full torque at standstill (if the windings are energized)3. Precise positioning and repeatability of movement since good stepper motors have an accuracy of 3 – 5% of a step and this error is non cumulative from one step to the next.4. Excellent response to starting/stopping/reversing.5. Very reliable since there are no contact brushes in the motor. Therefore the life of the motor is simply dependant on the life of the bearing.6. The motors response to digital input pulses provides open-loop control, making the motor simpler and less costly to control.7. It is possible to achieve very low speed synchronous rotation with a load that is directly coupled to the shaft.8. A wide range of rotational speeds can be realized as the speed is proportional to the frequency of the input pulses.Disadvantages1. Resonances can occur if not properly controlled.2. Not easy to operate at extremely high speeds.Open Loop OperationOne of the most significant advantages of a stepper motor is its ability to be accurately controlled in an open loop system. Open loop control means no feedback information about position is needed. This type of control eliminates the need for expensive sensing and feedback devices such as optical encoders. Your position is known simply by keeping track of the input step pulses.Stepper Motor TypesThere are three basic stepper motor types. They are :• Variable-reluctance• Permanent-magnet• HybridVariable-reluctance (VR)This type of stepper motor has been around for a long time. It is probably the easiest to understand from a structural point of view. Figure 1 shows a cross section of a typical V.R. stepper motor. This type of motor consists of a soft iron multi-toothed rotor and a wound stator. When the stator windings are energized with DC current the poles become magnetized. Rotation occurs when the rotor teeth are attracted to the energized stator poles.Figure 1. Cross-section of a variablereluctance(VR) motor.Permanent Magnet (PM)Often referred to as a “tin can” or “canstock” motor the permanent magnet step motor is a low cost and low resolution type motor with typical step angles of 7.5° to 15°. (48 –24steps/revolution) PM motors as the name implies have permanent magnets added to the motor structure. The rotor no longer has teeth as with the VR motor. Instead the rotor is magnetized with alternating north and south poles situated in a straight line parallel to the rotor shaft. These magnetized rotor poles provide an increased magnetic flux intensity and because of this the PM motor exhibits improved torque characteristics when compared with the VR type.Hybrid (HB)The hybrid stepper motor is more expensive than the PM stepper motor but provides better performance with respect to step resolution, torque and speed. Typical step angles for the HB stepper motor range from 3.6°to 0.9°(100 –400 steps per revolution). Thehybrid stepper motor combines the best features of both the PM and VR type stepper motors. The rotor is multi-toothed like the VR motor and contains an axially magnetized concentric magnet around its shaft. The teeth on the rotor provide an even better path which helps guide the magnetic flux to preferred locations in theairgap. This further increases the detent, holding and dynamic torque characteristics of the motor when compared with both the VR and PM types.The two most commonly used types of stepper motors are the permanent magnet and the hybrid types. If a designer is not sure which type will best fit his applications requirements he should first evaluate the PM type as it is normally several times less expensive. If not then the hybrid motor may be the right choice.There also excist some special stepper motor designs. One is the disc magnet motor. Here the rotor is designed sa a disc with rare earth magnets, See fig. 5 . This motor type has some advantages such as very low inertia and a optimized magnetic flow path with no coupling between the two stator windings. These qualities are essential in some applications.Size and PowerIn addition to being classified by their step angle stepper motors are also classified according to frame sizes which correspond to the diameter of the body of the motor. For instance a size 11 stepper motor has a body diameter of approximately 1.1 inches. Likewise a size 23 stepper motor has a body diameter of 2.3 inches (58 mm), etc. The body length may however, vary from motor to motor within the same frame size classification. As a general rule the available torque output from a motor of a particular frame size will increase with increased body length.Power levels for IC-driven stepper motors typically range from below a watt for very small motors up to 10 –20 watts for larger motors. The maximum power dissipation level or thermal limits of the motor are seldom clearly stated in the motor manufacturersdata. To determine this we must apply the relationship P=V×I For example, a size 23 step motor may be rated at 6V and 1A per phase. Therefore, with two phases energizedthe motor has a rated power dissipation of 12 watts. It is normal practice to rate a stepper motor at the power dissipation level where the motor case rises 65°C above the ambient in still air. Therefore, if the motor can be mounted to a heatsink it is oftenpossible to increase the allowable power dissipation level. This is important as the motor is designed to be and should be used at its maximum power dissipation ,to be efficient froma size/output power/cost point of view.When to Use a StepperMotorA stepper motor can be a good choice henever controlled movement is equired. They can be used to advantage in applications where you need to control rotation angle, speed, position and synchronism. Because of the inherent advantages listed previously, stepper motors have found their place in many different applications. Some of these include printers, plotters, highend office equipment, hard disk drives, medical equipment, fax machines, automotive and many more.The Rotating Magnetic FieldWhen a phase winding of a stepper motor is energized with current a magnetic flux is developed in the stator. The d When a phase winding of a stepper motor is energized with current a magnetic flux is developed irection of this flux is determined by the “Right Ha ndRule” which states: “If the coil is grasped in the right hand with the fingers pointing in the direction of the current in the winding (the thumb is extended at a 90°angleto the fingers), then the thumb will point in the direction of the magnetic field.”Figure 2 shows the magnetic flux path developed when phase B is energized with winding current in the direction shown. The rotor then aligns itself so that the flux opposition is minimized. In this case the motor would rotate clockwise so that its south pole aligns with the north pole of the stator B at position 2 and its north pole aligns with the south pole of stator B at position 6. To get the motor to rotate we can now see that we must provide a sequence of energizing the stator windings in such a fashion that provides a rotating magnetic flux field which the rotor follows due to magnetic attraction.Figure 2 Magnetic flux path through atwo-pole stepper motor with a lag betweenthe rotor and stator.Torque GenerationThe torque produced by a stepper motor depends on several factors.• The step rate• The drive current in the windings• The drive design or typeIn a stepper motor a torque is developed when the magnetic fluxes of the rotor and stator are displaced from each other. The stator is made up of a high permeability magnetic material. The presence of this high permeability material causes the magnetic flux to be confined for the most part to the paths defined by the stator structure in the same fashion that currents are confined to the conductors of an electronic circuit. This serves to concentrate the flux at the stator poles. Thetorque output produced by the motor is proportional to the intensity of the magnetic flux generated when the winding is energized.The basic relationship which defines the intensity of the magneticflux is defined by:H = (N ×i) ÷ l where:N = The number of winding turnsi = currentH = Magnetic field intensityl = Magnetic flux path lengthThis relationship shows that the magnetic flux intensity and consequently the torque is proportional to the number of winding turns and the current and inversely proportional to the length of the magnetic flux path. From this basic relationship one can see that the same frame size stepper motor could have very different torque output capabilities simply by changing the winding parameters. More detailed information on how the winding parameters affect the output capability of the motor can be found in the application note entitled “DriveCircuit Basics”.Stepping ModesThe following are the most common drive modes.• Wave Drive (1 phase on)• Full Step Drive (2 phases on)• Half Step Drive (1 & 2 phases on)• Micro stepping (Continuously varying motor currents)For the following discussions please refer to the figure 3.Figure 3 Unipolar and bipolar wound stepper motors.In Wave Drive only one winding is energized at any given time. The stator is energized according to the sequence A B A B and the rotor steps from position8 2 4 6. For unipolar and bipolar wo und motors with the same winding parameters this excitation mode would result in the same mechanical position. The disadvantage of this drive mode is that in the unipolar wound motor you are only using 25% and in the bipolar motor only 50% of the total motor winding at any given time. This means that you are not getting the maximum torque output from the motor.In Full Step Drive you are energizingtwo phases at any given time.The stator is energized according to the sequence AB A B A B AB and the rotor steps from position 1 3 5 7 . Full step mode results in the same angular movement as 1 phase on drive but the mechanical position is offset by one half of a fullstep. The torque output of the unipolar wound motor is lower than the bipolar motor (for motors with the same winding parameters) since the unipolar motor uses only 50% of the available winding while the bipolar motor uses the entire winding.Half Step Drive combines both wave and full step (1&2 phases on) drive modes. Every second step onlyone phase is energized and during the other steps one phase on each stator. The stator is energized according to the sequence AB B A B A A B B A B A and the rotor steps from position 1 2 3 4 5 6 7 8. This results in angular movements that are half of those in 1- or 2-phases-on drive modes. Half stepping can reduce a phenomena referred to as resonance which can be experiencedin 1- or 2-phases-on drive modes.The excitation sequences for the above drive modes are summarized in Table 1. Table 1. Excitation sequences for different drive modesIn Microstepping Drive the currents in the windings are continuously varying to be able to break up one full step into many smaller discrete steps. More information on microstepping can be found in the microstepping chapter.Single Step Response and ResonancesThe single-step response characteristics of a stepper motor is shown in figure 4.Figure 4 Single step response vs. time.When one step pulse is applied to a stepper motor the rotor behaves in a manner as defined by the above curve.The step time t is the time it takes the motor shaft to rotate one step angle once the first step pulse is applied. This step time is highly dependent on the ratio of torque to inertia (load) as well as the type of driver used.Since the torque is a function of the displacement it follows that the acceleration will also be. Therefore, when moving in large step increments a high torque is developed and consequently a high acceleration. This can cause overshots and ringing as shown. The settling time T is the time it takes these oscillations or ringing to cease. In certain applications this phenomena can be undesirable. It is possible to reduce or eliminate this behaviour by microstepping the stepper motor. For more information on micro stepping please consult the microstepping note.Stepper motors can often exhibit a phenomena refered to as resonance at certain step rates. This can be seen as a sudden loss or drop in torque at certain speeds which can result in missed steps or loss of synchronism. It occurs when the input step pulserate coincides with the natural oscillation frequency of the rotor. Often there is a resonance area around the 100 – 200 pps region and also one in the high step pulse rate region. The resonance phenomena of a stepper motor comes from its basic construction and therefore it is not possible to eliminate it completely. It is also dependent upon the load conditions. It can be reduced by driving the motor in half or micro stepping modes.中文译文步进电机基础[林铁国,张建勋.基于DSP的微控制器的步进电机控制和自动化, 2004 。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

中英文对照外文翻译(文档含英文原文和中文翻译)基于单片机的步进电机控制流水线设计摘要:通过采用电子化和智能化技术,本文实现了力学和电子产品流水线包装控制的有效整合。

要达到这个目的,步进电机是由一个单片微型计算机(SCM)式STC89C516RD+的控制。

一旦LJ-JT02的光电开关型检测产品合格,信号给出了以供应链管理为指导的步进电机。

此外,剪刀用于切断包装带,这是由HRS4H-S-DC5V 的继电器类型实现。

实验结果表明,上述设计的有效性。

关键词:单片机(SCM);步进电机;驱动芯片;接力1 引言- 1 - - 1 -在20世纪50年代到70年代,随着电子和合成化学品的快速发展,对用合成材料作为包装材料的一系列新的包装技术和设备有很大的影响。

例如,有高速自动包装机的机电一体化,容易操作的多功能包装机和高生产率的自动包装机。

这些机器使包装机械行业成为被看好的机械制造行业。

虽然早在20世纪50年代中期就已经有一些包装机械厂出现在中国,然而生产率很低。

在改革开放之初,许多食品机械和包装机械被介绍到中国,极大地促进了行业发展。

20世纪80年代后期,国民经济的快速发展对包装机的需求量很大。

而与此同时,很多传统的用于生产农业机械的工厂,开始生产包装机械。

在1997年底,包装机械制造厂的数目已增至1600个左右,并有大约75个研究机构从事包装机械的研究和开发。

更重要的是,大约有21所高校引入关于包装机械的专业。

因此,该行业在中国不仅要推进,还应进一步提高。

未来具有微电脑和机电一体化的包装机械将呈现增长的趋势。

一个完整的机电一体化系统是一个系统集成multidisciplines,如机械、微电子计算机和传感器。

它带来了深刻的变化,通过设计、制造和包装机械的控制和改变industry.In来达到更快速地开发。

事情应该这样做才能提高包装机械,机电一体化,产品的可靠性和稳定性的水平,因此,现代包装产业将会进一步得到改善。

在这项工作中,我们在模拟包装流水线的基础上,由单片机驱动步进电机控制。

首先我们介绍的是硬件电路的整体设计和硬件的主要连接,然后描述了软件设计和编程过程,最后我们证明了产品设计实验的可行性,以及对包装机械未来的展望。

2 硬件电路设计2.1 总体电路设计为了便于实验,用剪刀和发光二极管代替部分由步进电机控制的器件。

当发光二极管发光,这意味着相应的端口输出高电平。

如果他们不亮,这意味着相应的端口输出低电平。

一种光电开关被安装在传送带上,如果没有产品通过时,光电开关的红外线接收器和发射设备被关闭,并且输出为高电平。

如果某些对象被传递,红外线被中断,它会立即输出一个负脉冲。

一旦单片机的输入端口检测到光电开关传输的负脉冲,单片机的输出端会产生由程序控制的特殊电平,传输到驱动芯片,使步进电机工作。

当包装的时间到了,单片机输出脉冲信号给继电器,使剪刀接近,切断包装带。

在这之后,剪刀再次打开,等待下一次的行动。

2.2 主要组件2.2.1 步进电机步进电机是一台将电脉冲信号转变为角位移或线位移的机器。

步进电机可以作为一个特殊的电机,用于控制其他机器。

因为其误差将不会被累积,所以被广泛应用于各种开环控制电路。

2.2.2 STC89C516RD+SCM是单片微型计算机的缩写,其也被称为微控制器。

它是一种半导体芯片,集成了CPU,ROM,RAM,I / O接口,定时器/计数器,中断系统和其他一些部件于一身,构成了一个完整的数字计算机。

目前该供应链管理已成功应用于智能仪表,机电设备,过程控制,数据处理,自动检测,家用电器和其他一些领域。

在本设计中,我们使用了宏景科技公司生产STC89C516RD+。

STC89C516RD+的工作电压为5V,工作频率范围为0-80MHz,其实际的工作频率一般为48MHZ。

2.2.3 L297为了简化外围电路,在此设计中,我们采用步进电机驱动芯片L297来驱动它。

L297是步进电机的一个专用控制器。

它不仅可以生成四个控制信号,还可以控制两相双极和四相单极步进电机。

L297为20引脚塑料双列直插器件。

2.2.4 继电器一个中继被称为一个开关,它关闭时可在特殊条件下打开。

继电器的开关特性已被广泛应用于控制系统,尤其是在离散控制系统。

在这个设计中,我们选择电压继电器HRS4H-S-DC5V,这是常用的电路保护器件,它可以提供过压保护和低压闭锁。

HRS4H-S-DC5V的施加电压为5V,它的吸合电压为3.75V。

2.3 主设备的连接- 3 - - 3 -2.3.1 单片机与L297之间的连接步进电机驱动芯片L297,它只需要输入的时钟,方向和模式信号是有效的。

因此,在软件编程的过程中,应该做的唯一一件事就是从单片机的P1.1口产生高低电平交替的脉冲。

与此同时,根据控制转向和模式,使P1.3和P1.4端口都设置为高级或符合要求的状态。

理论上P1.3和L297可以直接连接,但实际上微控制器的负荷使P1口的输出电压低且不稳定。

系统不能识别的高低电压之间的过渡,因而P1.1不能输出理想的脉冲到L297。

为了解决这个问题,我们使用电压跟随器来连接单片机的输出端口。

它们可以维持和稳定电压。

电压跟随器具有良好的抗干扰性,并且可以稳定地输出,因此它可以使电压达到其驱动电路的标准。

2.3.2 L297与步进电机之间的连接7904是一个普通的门电路芯片,它由四个AND门构成。

IRLZ44N是增强型NMOS器件。

2.3.3 单片机与继电器之间的连接原则上单片机的输出端口可以直接连接到继电器,但实验中单片机的输出信号实际上是非常不稳定的。

由于负载的原因,P1.5的输出电压被拉低,因此它不能驱动继电器。

为了解决这个问题,我们使用光电耦合器来驱动继电器。

光电耦合器具有良好的抗干扰性能,可以解决输出的问题,这使得电路变得可靠。

继电器VCC为12V,当单片机P1.5输出高电压时,由于继电器的作用,开关打开;当P1.5输出低电压时,开关闭合。

3 软件设计3.1 程序流程当没有物体通过时,光电开关输出高电压。

一旦某些物体被检测到,这个光电开关的输出立即产生一个下降沿信号,并将其输入到单片机的P1.0口。

然后单片机输出的信号给步进电机驱动器芯片的三个控制端口:CLK(P1.1),CW(P1.3),HALF (P1.4),以此来控制步进电机的工作。

我们可以通过单片机定时器设定具体的包装时间。

包装完成后,从P1.5口产生低电压使继电器立即导通,然后再次关闭打开的开关。

这样就完成切割包装带的工作。

3.2 编程本设计中的程序是用C语言编写的。

C语言与汇编语言相比具有较灵活,方便和紧凑的优点。

更重要的是它可以在一个大的领域中应用,具有良好的便携性。

我们选择Keil C集成开发环境,它具有Windows界面,有效地生成目标代码的特点。

大多数汇编语言代码生成非常紧凑,易于理解。

然后,该程序是由具有操作方便的ISP,STC软件下载到单片机的。

主程序如下所示:V oid main (){ ports();Time()_init();While(1){ if(P1^0==0)…….}}光电开关的信号由查询模式检测。

与中断子程序中,相应的微控制器产生转换的高低电压。

中断子程序如下图所示:P1^1=0;delay(m);P1^1=1;delay(m);P1^3= 0;- 5 - - 5 -P1^4= 0;在主程序中该中断子程序被调用多次。

被用来产生脉冲,以驱动步进电机工作。

在这个实验中,我们设置全步和反向模式,它在中断子程序中可以看出。

4 测试结果最后将程序烧写到单片机中,来完成完整的硬件电路。

为了便于实验,单片机的三个输出端口:P1.1,P1.3,P1.4,应连接到L297再连接到三个发光二极管,如图6,光发光二极管以发光来判断输出高电压。

因此,他们灭,表示从单片机输出低电压。

为了便于观察,该继电器的输出端连接一个发光二极管,而不是剪刀。

在开始时,四个光发二极管全都发光。

实验的结果表明,当光电开关检测到某些对象时,P1.1的发光二极管开始闪烁,表示产生脉冲,同时P1.3和P1.4的发光二极管立即熄灭,表示步进马达开始正向和半步模式工作。

一段时间后,连接到所述延迟器输出的发光二极管亮起后立即熄灭,表示开关打开,然后再关闭。

该行为是指剪刀切断包装胶带,然后再打开,等待下一步的行动。

5 结论该实验模拟pipeling控制的进程,由单片机驱动步进电机。

值得注意的是,在实践中,输出电压被下拉是因为负载低且不稳定,因此,电压跟随器和光电耦合器在这里是为了防干扰。

本文结合单片机和步进电机来模拟包装生产线控制。

可以通过用单片机编程,而不是模拟通道或数字电路来实现。

这种控制技术,可以提高系统的性能,不依赖于硬件,但需要软件评测,这就是所谓的微控制技术。

随着微控制技术的发展,全自动和智力水平将在包装行业得到不断的提高。

- 7 - - 7 -Pipelining Design Controlled by Stepper Motor Based on SCMAbstract: By employing electronics and intelligent technology, this paper realizes an effective integration of mechanics and electronics in pipelining packing control. To achieve this aim, stepper motor is controlled by a single-chip microcomputer(SCM) type of STC89C516RD+. Once the photoelectric switch type of LJ-JT02 detects products passing, signals are given out to SCM to direct the stepper motor. Furthermore, the scissors are used to cut off the package tape, which are realized by a relay type of HRS4H-S-DC5V. The experimental results show the effectiveness of above design.Keyword: Single-chip Microcomputer(SCM); Stepper Motor; Driving-chip; Relay1 INTRODUCTIONDuring the 1950s to 1970s, with the rapid development of electronics and synthetic chemicals, the packaging machinery has been influenced a lot, and there were a series of new packaging technology and equipment based on synthetic materials as packing materials. For example, there were high-speed automated packaging machines of electromechanical integration, multi-functional packaging machines which are easy to operate and automatic packaging machines with high productivity. Those machines made the packaging machinery industry promising in the machinery manufacturing industry. Although there were already some packaging machinery factories as early as the mid 1950s in China, the productivity is very low. At the beginning of the reform and opening up, a number of food machines and packaging machines have been introduced to China, which promoted the industry greatly. During the late 1980s, the rapid development of the national economy had a great demand for packaging machines. And at the same time, a lot of traditional factories for agricultural machinery production, began the production of packaging machinery. At the end of 1997, the number of packaging machinery factories has increased to more than 1,600, and there are about 75 research institutes engaging inresearch and development of packaging machinery. What’s more there are approximately more than 21 colleges and universities concerning packaging machinery professionally. However, the industry in China does not advance enough and it should be further improved.In the future the packaging machinery has a growing tendency for the application of microcomputer and electromechanical integration. A complete mechatronics system is a system to integrate multidisciplines such as machinery, computers microelectronics and sensors. It brings profound changes to the design, manufacturing and control of packaging machinery and changes the situation of the industry.In order to develop more quickly, something should be done to improve the level of packaging machinery, electromechanical integration, product reliability and stability, and thus the modern packaging industry will be improved.In this work, we simulate the control process of packaging assembly line based on stepper motor which is operated by SCM. First we introduce the overall design of hardware circuit and the main connection of hardware, and then describe the software design and programming ideas, at last we testify the feasibility of the design by experiment, as well as prospect for the future packaging machinery.2 HARDWARE CIRCUIT DESIGN2.1 Overall Circuit DesignTo facilitate the experiment, the parts of scissors and stepper motor are instead by light-emitting diodes. When the light-emitting diodes are light, that means the corresponding ports output high level. While they are not light, that means the corresponding ports output low level. A photoelectric switch is installed on the conveyor belt. If there is no product passing, the infrared receiver and transmitter devices of the photoelectric switch are closed and the output is high level. If some object is passing, the infra-red is interrupted and it outputs a negative pulse immediately. Once the input port of- 9 - - 9 -SCM detects the negative pulse transmitted by the photoelectric switch, the outputs of SCM will produce special electrical levels controlled by program, transmitting to a driver chip to make stepper motor work. When the packing time is up, SCM outputs a pulse to the relay, making the scissors close so that cutting off the packing tape. After that the scissors open again, waiting for the next action.2.2 Main Components2.2.1 Stepper MotorA stepper motor is a machine which transmits electrical pulse signals into angular or linear displacement. The stepper motor can be used as a special motor for controlling other machines because its errors will not be accumulated. It is widely used in a variety of occasions of open-loop.2.2.2 STC89C516RD+SCM is an abbreviation of a single-chip micro-computer, which is also known as a micro-controller. It is a semiconductor chip, integrated by a CPU, ROM, RAM, I/O interface, timer/counter, interruption systems and some other components, constituting a complete digital computer. At present SCM has been successfully used in intelligent instruments, electromechanical devices, process controls, data processing, automatic detection, household appliances and some other fields. In this design we use STC89C516RD+ produced by HongJing Technology Company. STC89C516RD+ has working voltage of 5V, working frequency between 0 to 80MHZ, and its actual working frequency can be up to 48MHZ.2.2.3 L297To simplify the external circuit, in this design we use a stepper motor driver chip L297 to drive it. L297 is a special controller for stepper motors. It can generate four control signals. It can control two-phase bipolar and four-phase unipolar stepper motors. The device is 20-pin of plastic dual in-line.2.2.4 RelayA relay is known as a switch. It closes or opens in special conditions. The switching characteristics of the relay has been widely applied in many control systems, especially in a discrete control system. In this design we select voltage relay HRS4H-S-DC5V which is commonly used in circuit protection devices for over-voltage protection or low-voltage lockout.The applied voltage of HRS4H-S-DC5V is 5V, and its pick-up voltage is 3.75V.2.3 Connection of the Main Devices2.3.1 Connection between SCM and L297The stepper motor driver chip L297 has an advantage that it just needs inputting signals of clock, direction and mode. So in the progress of software programming, the only thing which should be done is to produce high-low alternating pulses from P1.1 port of SCM. At the same time, to control the steering and mode, P1.3 and P1.4 ports are set to high - level or low-level on request.Theoretically speaking P1.3 and L297 can be connected directly, but actually the loads of microcontroller make the output voltage of P1 port low and unstable. The system could not identify the transition between the high and low voltages and thus P1.1 can not output ideal pulses to the L297. In order to solve this problem, we use voltage followers to connect the output ports of SCM. They are to maintain and stabilize voltage. The voltage follower has good interference immunity and can output stably so it can make the voltage achieve the standard which drives the following circuit.2.3.2 Connection Between L297 and Stepper Motor7904 is a common gate circuit chip, which is formed by four AND gates. IRLZ44N is enhanced NMOS.2.3.3 Connection Between SCM and Relay- 11 - - 11In principle the output ports of SCM can be connected to the relay directly. In the experiment the output of SCM is actually very unstable, and the output voltage of P1.5 is pulled down low because of the loads, so it can not drive the relay. To solve the problem, we use optocoupler to drive the relay. The optocoupler has good anti-interference performance and can effectly solve the output problem, which makes the circuit more reliable. Then VCC of relay is 12V. when P1.5 of SCM outputs high-voltage, the relay powers and thus the switch is open. When P1.5 outputs low-voltage, the switch is closed.3 SOFTWARE DESIGN3.1 Program FlowWhen there is no object passing, the photoelectric switch outputs high-voltage. Once some object is detected, the output of the photoelectric switch generates a falling edge signal immediately, and input it to P1.0 of SCM. Then SCM outputs desired signals to the three control ports of stepper motor driver chip: CLK (P1.1), CW (P1.3), HALF (P1.4) to control the stepper motor to work. We can set specific packaging time through the SCM timer. After finishing packaging, a moment low-voltage from P1.5 is generated to the relay and makes the switch which is normally closed open immediately and then close again. That completes the action of cutting packing tape.3.2 ProgrammingIn this design the program is written in C language. C has the advantages of both the high-level language and assemble language. It is flexible, convenient and compact in structure. What’s more it can be applied in a large of fields and has good portability. We choose Keil C language integrated development environment which shows Windows interface that generates object codes efficiently. The majority of assembly language codes generated are very compact and easy to understand. Then the program is burnt into SCMby ISP, a STC download programming software, which is easy to operate. The main program is shown as below.V oid main (){ ports();Time()_init();While(1){ if(P1^0==0)…….}}The signals of photoelectric switch are detected by query mode. With interruption subroutine, the corresponding microcontroller produces conversion of high and low voltages. The interruption subroutine is shown as below.P1^1=0;delay(m);P1^1=1;delay(m);P1^3= 0;P1^4= 0;In main program this interruption subroutine is called for several times. That generates pulses to drive the stepper motor to work. In this experiment we set full-step and reverse mode, which can be seen in the interruption subroutine.4 TEST RESULTSAfter the hardware circuit is built completely, the program is burnt into the SCM. In order to easy the experiment, the three output ports of SCM, P1.1, P1.3, P1.4, which should be- 13 - - 13connected to L297, is connected to three light emitting diodes, as shown in Figure 6. That the light emitting diodes are light means to output high voltage. And that they are off means to output low voltage from SCM. In order to facilitate observation, the output of the relay is also connected to a light-emitting diode instead of scissors. At the beginning, the four light-emitting diodes are all light.The results of the experiment show that when some object is passing the transmitter and the receiver of the photoelectric switch, that is to say, when the photoelectric switch detects some object, the light-emitting diode of P1.1 begins to flash, which shows pulses are generated. At the same time the light-emitting diodes of P1.3 and P1.4 are off immediately, which means the stepper motor begins to work with the forward and half-step mode. After a period of time, the light-emitting diode connected to the output of the delay are off first and light immediately, which means that the switch opens first and then closes. That act means the scissors cut off the packing tape first and then open, waiting for the next move.5 CONCLUSIONThis experiment simulates the progress of the pipeling control, using stepper motor driven by SCM. It is noteworthy that in practice the output voltage is pulled down to be low and unstable because of the loads, so voltage follower and optocouplers are introduced here for anti-interference.This article combines SCM and the stepper motor to simulate packaging lines control. This can be achieved by SCM with programming instead of mimic channel or digital circuits. This control-technology which can improve the system performance does not dependent on hardware but onsoftware. It is called the micro-control technology. With the development of micro-control technology, the automatical and intellectual level will be improved continuously in packaging industry.。

相关文档
最新文档