2016年10月28日星期五

Stepper Drive Modes

This chapter has explained how to operate steppers by energizing one or two winding pairs at a tiem, but tere are a number of different ways to drive a stepper, and this discussion touches on four of them:

* Full-step (one phase on) mode - Each control signal energizes on winding.
* Full-step (two phases on) mode - Each control signal energizes two windings.
* Half-step mode - Each control signal alternates between energizing one and two windings.
* Microstep mode - The controller delivers sinusoidal signals to the stepper's windings.

Full-Step (One Phase On) Mode

The simplest way to control a stepper is to energize one winding at a time. This is the method discussed at the start of this chapter. Figure 4.15 shows what the signaling sequence looks lide when controlling a stepper in this mode.

With each control signal, the rotor truns to align itself with the energized winding. The rotor always turns through the stepper's rated step angle. That is, if a PM motor is rated for 7.5, each control signal causes it to turn 7.5.

Full-Step (Two Phase On) Mode

In the full-step (two phase on) mode, the controller energizes two windings at once. This turns the rotor through the stepper's rated angle, and the rotor always aligns itself between two windings. Figure 4.16 illustrates one rotation of a stepper motor driven in this mode.

Figure 4.17 shows what the corresponding drive sequence looks like.

The main advantage of this mode over full-step (one phase on) is that it improves the motor's torque. Because two windings are always on, torque increases by approximately 30%-40%. The disadvantage is that the power supply has to provide twice as much current to turn the stepper.

Half-Step Mode


The half-step mode is like a combination of the two full-step modes. That is, the controller alternates between energizing one winding and two windings. Figure 4.18 depicts three rotations of a stepper in half-step mode.

Figure 4.19 illustrates a control signal for a stepper motor driven in half-step mode.

In this mode, the rotor aligns itself with windings (when one winding is energized) and between windings (when two windings are energized). This effectively reduces the motor's step angle by half. That is, if the stepper's step angle is 1.8, it will trun at 0.9 in half-step mode.

The disadvantage of this mode is that, when a single winding is energized, the rotor turns with approximately 20% less toruqe. This can be compenstated for by increasing the current.

Microstep Mode

The purpose of microstep mode is to have the stepper turn as smoothly as possible. This requires dividing the energizing pulse into potentially hundreds of control signals. Common numbers of division are 8,64,and 256. If the energizing pulse is divided into 256 signals, a 1.8 stepper will turn at 1.8/256=0.007 per control signal.

In this mode, the controller delivers current in a sinusoidal pattern. Successive windings receive a delayed version of this sinusoid. Figure 4.20 gives an idea of what this looks like.

Using this mode reduces torque by nearly 30%, but another disadvantage involes speed. As the width of a control signal decrease, the ability of the motor to respond also decrease. Therefore, if the controller delivers rapid pulses to the stepper in microstep mode, the motor may not turn in a reliable fashion.

2016年10月25日星期二

Sychronous type AC Servo Motor

The stator consists of a cylindrical frame and a stator core. The stator core is located in the frame and an armature coil is wound around the stator core. The end of the coil is connected with a lead wire and current is provide from the lead wire. The rotor consists of a shaft and a permanent magnet and the permanent magnet is attached to the outside of the shaft. In a synchronous type AC servo motor, the magnet is attached to a rotor and an armature coil is wound around the stator unlike the DC servo motor. Therefore, the supply of current is possible from the outside without a stator and a synchronous type AC servo motor is called a "brushless servo motor" because of this structural characteristic. Because this structure makes it possible to cool down a stator core directly from the outside, it is possible to resist an increase in temeprature. Also, because a synchronous type AC servo motor does not have the limitation of maximum velocity due to recification spark, a good characteristic of torque in the high-speed range can be obtained. In additon, because this type of motor has no brush, it can be operated for a long time without maintenace.
Like a DC servo motor, this type of AC servo motor uses an optical encoder or a resolver as a detector of rotation velocity. Also, a ferrite magnet or a rate earth magnet is used for the magnet which is built into the rotor and plays the role of a field system.

In this type of AC Servo Motor, because an armature contribution is linearly proportional to torque. Stop is easy and dynamic brake wordks during emergency stop. However, because a permanent magnet is use, the structure is very complex and the detection of position of the rotor is needed. The current from the armature includes high frequency current and the high frequecy current is the source of toruqe ripple and vibration.

2016年10月18日星期二

The need for variable speed drives

There are many and diverse reasons for using variable speed drives. Some applictaions, such as paper making machines, cannot run without them while others, such as centrifugal pumps, can benefit from energy savings.

In general, variable speed drives are used to:

Match the speed of a drive to the process requirements
Match the torque of a drive to the process requirements
Save energy and improve efficency

The needs for speed and torque control are usually fairly obvious. Modern electrical VSDs can be used to accurately maintain the speed of a driven machine to within ±0.1%, independent of load, compared to the speed regulation possible with a conventional fixed speed squirrel cage induction motor, where the speed can vary by as much as 3% from no load to full load.

The benefits of energy savings are not always fully appreciated by many users. These savings are particulary apparent with centrifugal pumps and fans, where load torque increas as the square of the speed and power consumption as the cube of the speed. Substantial cost savings can be achieved in some applications.

An everyday example, which illustrates the benefits of variable speed control, is the motorcar. It has become such as an integral part of our lives that we seldom think about the technology that it represents or that it is simply a variable speed platfrom. It is used here to illustrate how variable speed drives are used to improve the speed, torque and energy performance of a machine.

It is intuitively obvious that the speed of a motorcar must continuously be controlled by the driver (the operator) to match the traffic conditions on the road (the process). In a city, it is necessary to obey speed limits, avoid collisions and to start, accelerate, decelerate and stop when required. On the open road, the main objective is to get to a destination safely in the shortest time without exceeding the speed limit. The two main controls that are used to control the speed are the accelerator, which controls the driving torque, and the brake, which adjusts the load torque. A motorcar could not be safely operated in city traffic or on the open road without these two controls. The driver must continuously adjust the fuel input to the engine (the drive) to maintain a consistant speed in spite of the changes in the load, such as an uphill, downhill or strong wind conditions. On other occasions he may have to use the brake to adjust the load and slow the vehicle down to standstill.

Another important issue for most drivers is the cost of fuel or the cost of energy consumption. The speed is controlled via the accelerator that controls the fuel input to the engine. By adjusting the accelerator position, the energy consumption is kept to a minimum and is mached to the speed and load conditions. Imageine the high fuel comsumption of a vehicle using a fixed accelerator setting and controlling the speed by means of the brake position.

2016年9月22日星期四

Gear Motors

A gear motor develops an output torque at its shaft by allowing hydraulic pressure to act on gear teeth. A gear motor consists basically of a housing with inlet and outlet ports, and a rotating group made up of two gears. One gear is attached to a shaft that is connected to a load. The other gear is the driven gear. The various commonly used gear motors are shown in Fig.2.16.









In a gear motor, the imbalance necessary for motor operation is caused by gear teeth unmeshing. The inlet is subjected to system pressure and the outlet is at return line pressure. As the gear teeth unmesh, all teeth subjected to system pressure are hydraulically balanced except for one side of one tooth on one gear tooth. The larger the gear tooth or the higher the pressure,the more torque is produced.

An internal gear motor consists of one external gear which meshes whith the teeth on the inside circumference of a larger gear. A popular type of internal gear motor in industrial systems is the gerotor motor. This motor is an internal gear motor with an inner drive gear and an outer driven gear which has one more tooth than the inner gear. The inner gear is attached to a shaft which is connected to a load. The imbalance in a gerotor motor is cuased by the difference in gear area exposed to hydraulic pressure at the motor inlet.

Fluid pressure acting on these unequally exposed teeth results in a torque at the motor shaft. The larger the gear or the higher the pressure, the more torque will be developed at the shaft. Fluid entering the rotating group of a gerotor motor is separated from the fluide exiting the motor by means of a port plate with kindey-shaped inlet and outlet ports.

When selecting a gear motor, an important consideration is the degree of gear service and gear life based on the load conditions to which the motor will be subjected. Gear motors are divided into three classes. Each class uses different gear sizes to handle specific load conditions. Each class gives about the same life for the gears. The American Gear Manufacturer's Association has defined three operating conditions commonly found in industrial service and has established three standard gear classifications to meet these conditions:

Class I    For steady loads within the motor rating of 8 hours per day duration, or for intermittent operation under moderate stock conditions.
Class II   For 24-hour operation at steady loads within the motor rating, or 8-hour operation under moderate shock conditions.
Class III  For 24-hour operation under moderate shock condition, or 8-hour operation under heavy shock conditions.

For conditions that are more severe than those covered by Class III gears, a fluid drive unit may be incorporated in assembly to cushion the shock to an acceptable value.

To achieve multiple speeds, separte units are available with a transmission comparable to that of an automobile. These units must be assembled with the motor and the driven machine. Because the amout of power lost in gearing is very small, the multiple drive has essentially constant horsepower. In other words, as the output speed is decreased, the torque is increased. Generally, this means that larger shaft sizes are needed for the output side.

2016年9月20日星期二

Inserting Parametric PLC Modules

A programmable logic controller (PLC) or programmable controller is a digital computer that is used to automatically regulate the industrial process. For example, comtrolling machinery on assembly lines of factor. This controller is designed to meet a range of industrial activities such as multiple inputs and output arrangements, extended temperature ranges, giving immunity to electrical noise, and providing resistance to vibration. The programs, designed to regulate the machine operation, are usually stored in a battery-backed or non-volatile memory. A PLC is an instance of a real time system becuase output results are needed to be produced in response to input conditions within a time-bound period; else, it will result in an unintended operation. Over the years, the functionality of PLC has evolvoed to accommodate sequential relay control, motion control, process control, distributed control systems, and networking. In PLC, microprocessor controlled interface is inbuilt and is designed to control or monitor some other I/O functions. Being an industrial computer control system, it always monitors the state of input devices and makes decisions on the basis of custom program for controlling the state of devices connected as outputs.



Inserting Parametric PLC Modules

AutoCAD Electrical can generate PLC I/O modules in different graphical styles through parametric generation technique on demand. These modules are generate by a database file and a library of symbol blocks. PLC I/O modules can be inserted as independent symbols. PLC modules behave like other schematic components. These modules are AutoCAD blocks containing attributes for connection points, tagging and so on.


The Insert PLC (Parametric) tool is used to insert a PLC module parametrically. To do so, choose the Insert PLC (PLarametric) button from the Insert Components panel of the Schematic tab; the PLC Parametric Selection dialog box will be displayed, as shown in Figure 10-1. Using this dialog box, you can select the PLC module and its graphics that you want to insert in a drawing. The different options and areas in this dialog box are discussed next.

Manufacture Catalog Tree


The Manufacture Catalog tree, shown in Figure 10-2, displays a list of PLC modules. This list can be filtered by selecting the manufacturer, series, and type of PLC. The data displayed in the Manufacturer Catalog tree is stored in the ace_plc.mdb database file.


You can selet a PLC module from the Manufacturer Catalog tree. To do so, click on the + sign on the requried manfacturers module; PLC modules of the selected manafacturer will be displayed. Select the requried module from the module list; the detailed information of the selected module will be displayed at the lower part of the PLC Parametric Selection dialog box, as shown in Figure 10-3.

After specifying the required values in the I/O Point dialog box, choose the OK button from this dialog box; the I/O Address dialog box will be displayed, as shown in Figure 10-6. Using this dialog box, you can specify the address for the first I/O point.

The values in the Quick picks drop-down list are based on the values that you have specified in the I/O Point dialog box in the Rack and SLOT edit boxes. Select the required value from the Quick picks drop-down list; the value will be displayed in the Beginning address edit box. Alternatively, enter a required value for the first I/0 address of a PLC module in the Beginning address edit box. Note that the other I/O points of a module will be incremented based on the value specified in the Beginning address edit box.





Choose the List button in the I/O Address dialog box; the Report Generator dialog box will be displayed. This dialog box display the information of the selected PLC module.

After specifying the required options in the I/O Address dialog box, choose the OK button in this dialog box; the selected PLC module will be inserted into the drawing.

2016年9月13日星期二

DSP-BASED Control of Stepper Motors

A stepper motor is an electric machine that rotates in discrete angular increments or steps. Stepper motors are operated by applying current pulses of a specific frequency to the inputs of the motor. Each pulse applied to the motor causes its shaft to the motor causes its shaft to move a certain angle of rotation, called a stepping angle. Since the input signal is converted directly into a requested shaft position without any rotor position sensors or feedback, the stepper motor has the following advantages:

  • Rotational speed proportional to the frequency of input pulses
  • Digital control of speed and position
  • No need of feedback sensor for open loop control Excellent acceleration and deceleration responses to step commands 
Leadshine 57HS09 Stepper Motor

The stepper motor has salient poles on both the stator and the rotor, andnormally only the stator poles hold the poly-phase windings called the controlwindings. Usually stepper motors are classified as:
  • Active rotor (permanent magnet rotor)
  • Reactive rotor (reluctance type) 
  • Hybrid motors (combining the operating principles of the permanentmagnet (PM) and reluctance stepper motor)

While each of these types of stepper motors has merit, hybrid stepper motorsare becoming more popular in industrial applications.  In this chapter, we focus onthe principles and implementation of a hybrid stepper motor control system usingthe LF2407 DSP controller.

The operation of the stepper motor relies on the simple principle of magneticattraction.  This principle states that opposite magnetic poles attract while like polesrepel each other. If the windings are excited in the correct sequence, the rotor will rotate following a certain direction. The basic operation of a stepper motor can beclassified generally as either full step mode or half step mode. These modes are discussed in detail in the following section using the simplified stepper motorconstruction shown in Fig. 8.1.

Full-step Mode

If none of the stator windings are excited, an attraction between the stator polesand rotor teeth still exists because the PM rotor is trying to minimize the reluctanceof the magnetic flux path from one end to the other.  As a result, the rotor will tend to rest at one of the rest equilibrium positions. From Fig. 8.1, a rest position existswhen a pair of rotor teeth are aligned with two of the stator poles. In the case ofFig. 8.1, the rotor is aligned with pole 1 and pole 3 on the stator. There are a total of12 possible equilibrium positions for a 4-phase, 6-pole stepper motor. The force ortorque that holds the rotor in one of these positions is called the detent torque. The value of the detent torque is usually small because no current flows through thestator windings.

Half-Step Mode

The stepper motor operation discussed rotates 300 per step.  In the half step mode, alternately exciting one winding, then exciting two windings, will cause therotor to move through only 15 degree per step. Though there is a slight loss of thetorque while the single winding is being excited, half-step operation allows forsmoother operation at lower speeds and less overshoot at the end of each step.  The excitation sequence of the stator windings in half-step mode is given in Table 8.3.During this operation, each switch between the two nearest modes will cause a 450 shift of stator field which results in a 150 rotation of the rotor. A total of 24steps are required for a complete revolution, double of what is required for full stepmodes.

Micro Step Mode

For the operating modes discussed previously, the same amount of current flows through the energized stator windings. However, if the currents are not equal, the rotor will be shifted towards the stator pole with the higher current. The amount of deviation is proportionate to the values of the currents in each winding. This principle is utilized in the microstep mode. During this mode, each basic full mode step can be divided into as many as 500 microsteps, providing the proper current profile is applied.

2016年9月8日星期四

Spindle Motors

The motor that spins the platters is called the spindle motor because it is connected to the spindle around which the platters revolve. Spindle motors in hard disk drives are always connected directly; no belts or gears are involoved. The motor must be free of noise and vibration; otherwise, it can transmit a rumble to the platters, which can disrupt reading and writing operations.


The spindle motor also must be precisely controlled for speed. The platters in hard disk drives revolve at speeds ranging from 3600rpm to 15000rpm (60-250 revolutions per second) or more, and the motor has a control circuit with a feedback loop to monitor and control this speed precisely. Because the speed control must be automatic, hard drives do not have a motor-speed adjustment. Some diagostics programs claim to measure hard drive rotation speed, but all these programs do is estimate the rotational speed by the timing at which sectors pass under the heads.

There is actually no way for a program to meause the hard disk drive's rotational speed; this measurement can be made only with sophisticated test equipment. Don't be alarmed if some diagnostics program tells that your drive is spinning at an incorrect speed; most likely, the program is wrong, not the drive. Platter rotation and timeing information is not provided through the hard disk controller interface. In the past, software could give approximated rotational speed estimates by performing multiple sector read requests and timing them, but this was vaild only when all drives had the same number of sectors per track and spun at the same speed. Zoned-bit recording combined with the many various rotational speeds used by modern drives, not to mention built-in buffers and caches-means that these calcualtion estimates can't be performed accurately by software.

On most drives, the spindle motor is on the bottom of the drive, just below the sealed HDA. Many drives today, however have the spindle motor built directly into the platter hub inside the HDA. By using an intermal hub spindle motor, the manufacture can stack more platter in the drive because the spindle motor takes up no vertical space.

Traditionally, spindle motors have used ball bearings in their design, but limitations in their performance have now caused drive manufactures to look for alternatives. The main problem with ball bearings is that they have approximately 0.1 micro inch (millionths of an inch) of runout, which is lateral of modern drives, it has become a problem. This runout allows the platters to move randomly that displus the metal-to-metal contact nature of ball bearings allows an excessive amount of mechanical noise and vibration to be generated, and that is becoming a problem for drives that spin at higher speeds.

The solution is a new type of bearing called a fluld dynamic bearing, which uses a highly viscous lubrication flud between the spindle and sleeve in the motor. Thi flud serves to dampen vibrations and movement, allowing runout to be reduced to 0.01 micro inches or less. Fluid dynamic bearings also allow for better shock resistance, improved speed control, and reduced noise generation. Several of the more advanced drives on the market today already incorporated fluid dynamic bearings, especially those designed for very high spindle speeds, high areal densities, or low noise. Over the next few years, I expect to see fluid dynamic bearings become standard issue in most hard drives.