Posts Tagged ‘Motor’

Analog Devices Introduces Industry’s First Isolated Gate Drivers with Integrated Isolated Power: – ADuM5230 and ADuM6132 isolated half-bridge gate drivers reduce system cost and size while increasing quality and reliability for motor drives, power inverters, and plasma displays.

Saturday, March 5th, 2011



NORWOOD, Mass. (PRWEB) March 19, 2008

    Analog Devices’ engineers integrated an isolated power supply and isolated gate drivers in the same package by using the company’s award-winning iCoupler(R) technology. This provides isolated high-side and low-side outputs together with ADI’s proprietary isoPower(TM) integrated, isolated power. isoPower leverages iCoupler technology’s chip-scale micro-transformers along with high-voltage CMOS to create an isolated dc-to-dc converter.

About the ADuM5230 and ADuM6132 Isolated Half-Bridge Gate Drivers

The ADuM5230 and ADuM6132 are designed for implementations that include motor drives, plasma displays, and power inverters found in power supplies and solar power converters. On both devices, the integrated, isolated converter powers both the high-side output as well as any external buffer circuitry, eliminating the cost, space, and design complexity associated with external power supply configurations.

The ADuM5230 and ADuM6132 differ in power capability and high-side/low-side isolation configuration. In the ADuM5230, which supplies 150 mW of power, the high-side and low-side outputs are isolated from each other as well as from the inputs. In the ADuM6132, which supplies 250 mW of power, only the high-side output is isolated from the input.

In contrast to gate drivers employing high-voltage level translation methodologies, the ADuM5230 and ADuM6132 offer the benefit of true galvanic isolation between the inputs and outputs. On both products, the outputs may be operated up to +/-700 V (peak) relative to each other. On the ADuM5230, the isolated outputs may be operated up to +/-700 V (peak) relative to the inputs, thereby supporting low-side switching to negative voltages.

Availability and Pricing

The ADuM5230 will sample and be available in full production quantities in April 2008. Housed in a wide-body SOIC (small-outline integrated circuit) 16-lead package, the ADuM5230 is priced at $ 2.25 per unit in 1,000-unit quantities. For more information, visit http://www.analog.com/pr/ADuM5230.

The ADuM6132 is sampling now, and will be available in full production quantities in July 2008. Housed is a wide-body SOIC 16-lead package, the ADuM6132 is priced at $ 2.12 per unit in 1,000-unit quantities. For more information, visit http://www.analog.com/pr/ADuM6132.

About Analog Devices

Innovation, performance, and excellence are the cultural pillars on which Analog Devices has built one of the longest standing, highest growth companies within the technology sector. Acknowledged industry-wide as the world leader in data conversion and signal conditioning technology, Analog Devices serves over 60,000 customers, representing virtually all types of electronic equipment. Celebrating over 40 years as a leading global manufacturer of high-performance integrated circuits used in analog and digital signal processing applications, Analog Devices is headquartered in Norwood, Massachusetts, with design and manufacturing facilities throughout the world. Analog Devices’ common stock is listed on the New York Stock Exchange under the ticker “ADI” and is included in the S&P 500 Index. http://www.analog.com

iCoupler is a registered trademark and isoPower is a trademark of Analog Devices, Inc.





Munich Electronics Show opening motor control related products

Saturday, August 21st, 2010

March 16 the ninth Munich (Shanghai) Electronics Fair (CPE) at the Shanghai New International Expo Centre begins the report in 2009, the area-wide fair or exposure to both greatly improve the number of exhibitors, 350 exhibiting companies have equal shares in the national manufacturers and étrangers.Comme well-known electronic components and test equipment vendors, telecommunications Shiqiang EPC second time, new display solutions NEC Electronics to several major concern, while than the range of high technology products Anwar also of great interest public.Dans stage, staff Shiqiang presented the audience of these hot products and solutions to specific performance and application examples. On the based solution from NEC Electronics scoreboard voitureComme a professional supplier of chip panel, the program NEC Electronics dashboard has an absolute advantage in China, and Munich (Shanghai) s sake, show a strong car Telecommunications dashboard software used is NEC Electronics 78K0 core The new generation D × 2 series of 8-bit microcontroller, the microcontroller 8-bit adhering to the previous generation of D × 1, while good quality, increased LVI, POC, ZPD, and other new features, and lower realized prices expectations of the market instrument panel side. Function, dash car D × 2 with the program can support both the type of bus CAN CAN and do not use the type of harness, suitable for driving four pointer meters, a water temperature gauge, fuel gauge, speedometer and tachometer. To provide better technical support to customers, Shiqiang Telecom also full-time FAE car, according to various needs of our customers to provide the source code and design support materials référence.L use of NEC Electronics uPD78F0712 PMSM180 position sensor strip solution ° Drive Electronics sinusoïdaleNEC wave motor this solution for advanced modulation in two phases, the switching losses of 30%, the speed range of 6 ~ 420HZ, with protection against surges, protection undervoltage, protection against overcurrent, protection and locked rotor protection phase, temperature protection, fault protection PWM initialization protection against faults and IPM, immediately after a fault in the protected status of self-recovery after 10 seconds in the beginning, to start running. Setup is simple, suitable for different programs without a sense of brushless motors, the current obtained by a telecommunications software Shiqiang, shelf hardware reference designs, as well as on the support site and technique.Audience Shiqiang exchange NEC Electronics Engineers Solutions automobilesEn addition , NEC Electronics, fluorescent lighting and LED display solutions gradation.Craintes program on safety Hua Gaoguang switching and control products moteurAnwar was a high-speed high-isolation and motor control of the leaders industry, their products in the field of attention, is also high. The display in the telecommunications sector is a Shiqiang isolation optocoupler high speed wide range of temperatures, high common mode rejection, low power consumption, speed 50MBd single multi-CMOS optocouplers, Avago introduced under the current definition of line of the car presented a variety of high-speed automotive products isolation optocoupler norme.Le site display driver door with high levels of common mode rejection, EVC protection features such as high voltage The drive current up to 5A, the tube used in MOS, IGBTs pre-driver, low-power direct-drive motor, in recent years has introduced a single power supply for the addition produit.En The site was also used for sampling the analog signal coupling and so the linear variety of products, industrial products for the isolation of signal systems, industrial control and networking products to provide protection isolation fiable.Anwar very high performance products for motion control as excellent, according Shiqiang staff, based on technology from Avago advanced electronics, encoder, encoding modules and motion control IC products to meet demand complex necessary for the accuracy, reliability and high performance for designers to develop applications for detecting complex motion in a very convenient, has been widely used in textile and sewing equipment, lifts, equipment automated process control, automated office equipment, measuring flow zones motion detection and control.

Operational review of different mechanisms of control stepper motor

Sunday, August 1st, 2010

This section covers all types of engines, from basic circuits needed to control a variable reluctance motor, the H-bridge circuit to control a permanent magnet motor pole. Each type of control circuit is illustrated with practical examples, but these examples are not intended as an exhaustive catalog of the control circuits commercially available, or the information contained herein is intended to replace the information found on the leaves manufacturer’s data components for the parties mentioned. This section covers only the control circuit of the most basic class for each engine. All these circuits assume that the power of the engine provides a control voltage does not exceed the rated motor voltage, which limits the performance of the engine. The next section, the control circuit current limited, practical circuits covers high performance training. controllers of variable reluctance motors typical reluctance stepper motors are variable variations on the contour of Figure 3. 3 Figure 1:. 1 In Figure 3. 1, boxes are used to represent the switches, a control unit, not shown, is responsible for providing control signals to open and close the switches at the right time to turn the motors. In many cases, the unit will control a computer or programmable interface controller, the software directly generating the outputs needed to control the switches, but in other cases, an additional control circuit is introduced, sometimes free! motor windings, solenoids and similar devices are all inductive loads. As such, the current through the motor windings can be switched on or off instantly without going through endless tension! When the switch controlling a motor winding is closed, allowing current to flow, the result of this is a slow rise in current. When the switch control of a motor winding is opened, the result is a voltage spike that can cause serious damage to the switch unless care is taken to appropriate care. There are two basic ways to cope with the peak voltage. The first is to bridge the motor winding with a diode, and the other is to bridge the motor winding with a capacitor. Figure 3. Figure 2 illustrates the two approaches: Figure 3. 2 The diode in Figure 3. 2 must be able to conduct electricity across the motor winding, but it did lead briefly each time the switch is off, as the current through the decays of liquidation. If diodes relatively slow, as the common family 1N400X are used with a switch quickly, it may be necessary to add a small capacitor in parallel with the diode. The capacitor in Figure 3. Poses two problems more complex design! When the switch is closed, the capacitor discharges through the ground, and the switch must be able to manage this short burst of discharge current. A resistor in series with the capacitor or in series with the power supply will limit the current. When the switch is opened, the stored energy in the motor winding will charge the capacitor to a voltage much higher than the supply voltage, and the switch must be able to tolerate this tension. To solve for the size of the capacitor, we equate the two formulas for the energy stored in a resonant circuit: P = C V2 / 2 P = I2 L / 2 where: P – stored energy in seconds or watt coulomb volt C – the capacity in farads V – voltage across capacitor L – inductance of the motor winding, in henrys I – current through the motor winding resolution for the minimum size of capacitor needed to prevent surges on the switch is easy enough: C> L I2 / (Vb – Vs) 2 Where: Vb – the breakdown voltage Vs of the switch – the power supply of variable reluctance motors have variable inductance which depends on the angle tree. Therefore, the design of the worst must be used to select the capacitor. In addition, the motor inductances are often poorly documented, if at all. The capacitor and the motor winding, in combination, form a resonant circuit. If the control system drives the motor at frequencies near the resonant frequency of this circuit, the motor current in the windings and, therefore, the torque exerted by the engine torque will be very different from the state equilibrium the nominal operating voltage! The resonant frequency is f = 1 / (2 (SC) 0. 5) Again, the frequency of electrical resonance for a variable reluctance motor depends on the angle tree! When a variable reluctance motor is used with interesting impulses near the resonance, the oscillating current in the motor winding leads to a magnetic field which tends to zero at twice the resonant frequency, which can significantly reduce the torque available! controllers unipolar permanent magnet and hybrid motors typical unipolar stepper motors are variations on the outline of Figure 3. 3: Figure 3. 3 in Figure 3. 3, as in Figure 3. 1, boxes are used to represent the switches, a control unit, not shown, is responsible for providing control signals to open and close the switches at the right time to turn the motors. The control unit is typically a computer or programmable interface controller, with the software directly generating the outputs needed to control the switches. As control circuit for variable reluctance motors, we must deal with the sudden inductive produced when each of these switches is turned off. Again, you can blow the inductive shunt using diodes, but now, four diodes are required, as shown in Figure 3. 4: Figure 3. The four diodes are needed because the motor’s two coils are not independent, there is a single center-tapped inductor with center tap at a fixed voltage. This acts as an auto! When one end of the motor winding is pulled down, the other end of fly, and vice versa. When a switch opens, the inductive kickback drive end of the motor winding to the positive supply, where it is clamped by the diode. The opposite end will fly down, and if it does not float to the voltage at the time, it will fall below the ground, reversing the voltage across the switch for this purpose. Some switches are immune to such reversals, but others may be seriously damaged. A capacitor can also be used to limit the voltage bounce, as shown in Figure 3. 5: Figure 3. 5 The rules for sizing the capacitor in Figure 3. 5 are the same as the rules for the dimensioning of the capacitor in Figure 3. 2, but the resonance effect is very different! With a permanent magnet motor, if the capacitor is driven at or near the resonant frequency, the couple will rise to as much as twice the torque at low speed! The resulting torque versus speed curve may be quite complex, as illustrated in Figure 3. 6: Figure 3. 6 Figure 3. Figure 6 shows a peak in the available torque to the frequency of electrical resonance, and a valley at the mechanical resonance frequency. If the frequency of electrical resonance is placed appropriately above what would be the threshold speed of the engine using a diode pilot basis, the effect may be a considerable increase of the effective cut-off speed. The mechanical resonance frequency depends on the couple, if the mechanical resonance frequency is anywhere near the electrical resonance, it will be moved by the electric resonance! In addition, the width of the mechanical resonance depends on local slope of torque versus speed curve, if the torque with speed, mechanical resonance will be crisp, while if the torque increases to a speed, will be broader or even split into several resonant frequencies. Practices unipolar and variable reluctance Drivers In circuits above, the details of necessary switches have been deliberately ignored. All the technology switching, toggle switches power MOSFET will work! Figure 3. 7 contains some suggestions for the implementation of each switch, with a motor winding and diode protection included for guidance: Figure 3. 7 Each of the switches in Figure 3. 7 is compatible with a TTL input. The 5-volt supply used for logic, including the 7407 open collector driver used in the figure should be well regulated. The engine power, typically between 5 and 24 volts, needs only minimal regulation. It should be noted that these power switching circuits are suitable for driving solenoids, DC motors and other inductive loads, and for driving stepper motors. Transistor SK3180 shown in Figure 3. 7 is a darlington power with a current gain over 1000, and the 10 milliamps passing through the resistance of 470 ohm bias is more than sufficient to allow the transistor to switch a few amps current in the windings. The buffer used to drive the 7407 Darlington can be replaced by a smart open-collector high voltage that can run at least 10 milliamperes. If the transistor fails, the driver high voltage open collector is used to protect the rest of the logic circuit of the motor. The IRC IRL540 shown in Figure 3. 7 is a transistor electric field effect. It can handle currents up to about 20 amps, and it goes down to 100 volts non-destructive, so the chip can absorb inductive spikes without protection diodes if it is attached to a heat sink big enough. This transistor has a very fast switching time, then protection diodes must be comparable or faster bypassed by small capacitors. This is especially important with the diodes used to protect the transistor against reverse bias! If the transistor fails, the zener diode and 100 ohm resistor protect TTL circuits. The resistance of 100 ohms also acts to slightly slow down the switching transistor. For applications in which each motor winding draws less than 500 milliamps, the family of tables ULN200x Darlington Allegro MicroSystems, also available as DS200x National Semiconductor and Motorola MC1413 Table Darlington lead several motor windings or other charges directly from inductive logic inputs. Figure 3. Figure 8 shows the pinout of the chip ULN2003 widely available, a Darlington transistor array 7 with TTL compatible inputs: Figure 3. 8 The base resistance on each Darlington transistor corresponds to the standard bipolar TTL outputs. NPN Darlington Each is wired with its emitter connected to pin 8, designed as a grounding prong, each transistor in the package is protected by two diodes, a short-circuit the emitter to the collector, protection against reverse polarity to through the transistor, and connecting the collector to pin 9, if pin 9 is connected to the motor power supply positive, the diode to protect the transistor against inductive spikes. The ULN2803 chip is essentially the same as the ULN2003 chip described above, except that it is in a 18-pin package, and contains 8 Darlingtons, allowing a chip to be used to drive a pair of common unipolar permanent magnet or variable reluctance motors. For motors drawing less than 600 milliamps per winding, the pilot quad UDN2547B authority made by Allegro Microsystems will manage all four windings of stepper motors unipolar common. For motors drawing less than 300 milliamps per winding, Texas Instruments SN7541, 7542 and 7543 dual power drivers are a good choice, both options include some logic to the pilot power. Motors bipolar H-Bridges and activities are more complex permanent magnet bipolar stepper motors because they have no center taps of their windings. Therefore, to reverse the direction of the field produced by a motor winding, we need to reverse the current in the coil. We could use a solid double pole switch electromechanical To do this, the electronic equivalent of such a change is called an H-bridge and is described in Figure 3. 9 As with unipolar control circuits mentioned above, the switches used in the H-bridge must be protected against voltage spikes caused by switching off a motor winding. This is usually done with diodes, as shown in Figure 3. 9. It should be noted that H-bridges are not only the control of bipolar stepper motors, but also for the control of DC motors, solenoids, push-pull (those divers with permanent magnet) and many other applications. With 4 switches, the basic H-bridge has 16 possible operating modes, including seven short-circuiting the power! The following operating modes are interesting mode of delivery, switches A and D closed. Reverse mode, switch B and C are closed. These are the usual modes of operation, allowing current to flow from the supply through the motor windings and beyond the earth. Figure 3. 10 illustrates the preliminary mode: Figure 3. 10 decay mode or fast mode freewheeling, open all switches. Any current flowing in the motor windings will work against the full supply voltage plus two diode drops, so current decay rapidly. This mode provides dynamic braking effect is little or no motor rotor, so that the rotor side freely if all motor windings are energized in this mode. Figure 3. 11 illustrates the current flow immediately after the passage of the attacker runs a fast decay mode. Figure 3. 11 modes decay slowly or dynamic braking mode. In these modes, the current can flow through the motor winding with minimal resistance. Therefore, if current flows in a coil of the motor when one of these modes is entered, the current will slowly decay, and if the motor rotor rotates, it induces a current which will act as a brake on the rotor . Figure 3. 12 illustrates one of many useful slow decay modes, D with the switch closed if the motor winding has recently been in fashion forward, the state of the switch B may be open or closed: Figure 3. Most of the 12 H-bridges are designed so that the logic necessary to avoid a short circuit is included at a very low level in the design. Figure 3. 13 illustrates what is probably the best arrangement: Figure 3. 13 Here, the following operating modes are available: XY decay mode ABCD 00 0000 1001 01 Fast forward 10 11 0101 0110 Reverse slow decay The advantage of this arrangement is that all the relevant modes are retained, and they are encoded with a minimum number of bits, it is important when using a microcontroller or a computer system to drive the H-bridge because many of these systems have limited the number of bits available for parallel output. Sadly, few chip H-bridge integrated on the market of such a system of simplified control. Practice Bipolar Drive Circuits There are a number of H-bridge driver integrated market, but it is always useful to consider the implementations of discrete components to understand how an H-bridge Antonio Raposo (RDA @ Cybill. INESC. Pt) suggested the H-bridge circuit in Figure 3. 14; Figure 3. 14 The X and Y to the inputs of this circuit can be driven by open collector TTL outputs as in the control circuit unipolar Darlington basis of Figure 3. 7. The motor winding will be energized if exactly one of X and Y inputs is high and one of them is low. If both are low, both transistors will drop off. If both are high, both transistors of pull-up will be off. Consequently, this simple circuit is the engine braking mode dynamics in both the 11 and 00 states, and does not offer a freewheeling mode. The circuit in Figure 3. 14 consists of two identical halves, each of which can be properly described as a push-pull driver. The half life of H-bridge is sometimes applied to these circuits! It is also interesting to note that half H-bridge circuit is quite similar to the output control circuit used in TTL logic. In fact, the TTL line driver tri-state actors such as the 74LS244 74LS125A and can be used as a half-H bridge for small loads, as shown in Figure 3. 15: Figure 3. 15 This circuit is effective for driving motors with a maximum at about 50 ohms per winding voltages up to about 4. 5 volts with a supply of 5 volts. Each buffer three states in the LS244 can run about twice today and you can source and internal resistance of buffer is sufficient, when the supply current to be divided equally between the current drivers that are executed in parallel. This device allows all relevant States obtained by the driver in Figure 3. 13, but these states are not coded as efficiently: XYE Fashion – 1000 fast decay slow disintegration advance 100,010,110 reverse slow decay The second dynamic braking mode, XYE = 110, gives a slightly lower than the first braking due to the fact that the LS244 drivers can fall more power than they can source. The microprocessor (formerly Telcom Semiconductor) TC4467 Quad CMOS driver is another example of a general purpose driver that can be used as four independent H Half-bridges. Unlike the old drivers, the data sheet for this driver even suggested using it for motor control applications with supply voltages up to 18 volts and 250 milliamps per winding engine. One problem with the intensification of chips available on the market of motor control is that many of them have relatively short life of the contract. For example, Seagate Series IPxMxx chip dual H-bridge (by IP1M10 IP3M12) were very well thought out, but unfortunately it appears that Seagate does this when they used stepper motors for positioning in the minds of readers Seagate disk. The Toshiba TA7279 dual H-bridge would be another choice of another great engines of less than 1 amp, but again he seems to have been made for internal use. SGS-Thompson (and others) L293 dual H-bridge is a direct competitor for the chips above, but unlike them it does not include protection diodes. The L293D chip, introduced later, is pin-compatible and includes these diodes. If the previous L293 is used, each motor winding must be resolved through a bridge rectifier (1N4001 equivalent). The use of LEDs allows a series resistor to be placed in the recirculation current to accelerate the decomposition of the current in a motor winding when turned off, which may be desirable in certain applications. The family L293 offers an excellent choice for driving small bipolar stepper development of one ampere per motor winding up to 36 volts. Figure 3. 16 shows the pinout common L293B L293D and chips: Figure 3. 16 This chip can be considered independent 4-H Half bridges, has allowed two or two-H bridges complete. This is a power DIP package with pins 4, 5, 12 and 13 for conducting heat from the PC card or an external heat sink. SGS-Thompson (and others) L298 dual H-bridge is quite similar to the above, but is able to handle up to 2-A per channel and is packaged as a component of power, as with the LS244, the is sure the two bridges over M-298 Packaged in a 4-Amp H-bridge (the data sheet for this chip provides specific advice on how to do). A warning is appropriate for the 298, the chip switches very fast, fast enough that the current protection diodes (equivalent 1N400X) does not work. Instead, use a diode as the BYV27. The National Semiconductor LMD18200 H-bridge is another good example, which can handle up to 3 amps and has full protection diodes. Although integrated H-bridges are not available for very high currents or very high voltages, there are many on the market designed components to simplify construction of bridges from H-discrete switches. For example, International Rectifier sells a line of half H-bridge drivers, two of these chips over four MOSFET switching transistor is sufficient to construct an H-bridge The IR2101, IR2102 IR2103 and are based half H-bridge drivers. Each chip has two digital inputs to directly control the two switching transistors on a leg of an H-bridge The IR2104 and IR2111 same logic side output switches to control a H-bridge, but they also understand the logic input side, in some applications, may reduce the need for external logic. In particular, the 2104 includes an enable input, while in April 2104 more chips switching transistor 8 can replace L293 without requiring additional logic. The data sheet of the chip (formerly Telcom Semiconductor) TC4467 Quad CMOS family of drivers includes information on how to use the drivers of this family to lead the Power MOSFET H-bridges running up 15 volts. A number of chip makers are complex H-bridge circuits that include current limit, it is the subject of the next section. It is also interesting to note that there are a number of 3-phase bridge drivers on the market, suitable for driving the Y or triangle configured three-phase permanent magnet steppers. Few of these engines are available, and these chips have been developed with steppers in mind. However, the Toshiba TA7288P, the GL7438, the TA8400 and TA8405 are own creations, and two such chips, with one of six half-bridges ignored, will properly monitor a 5-winding 10 steps per motor revolution.

Operating Analysis of Different Stepping Motor Control Mechanisms

Thursday, April 15th, 2010

This section covers all types of engines, ranging from basic circuits needed to control a variable reluctance motor, the H-bridge circuitry needed to control a motor pole permanent magnet. Each class drive circuit is illustrated by practical examples, but these examples are not intended to be an exhaustive catalog of the control circuits commercially available, or the information contained herein intended to substitute for information found on the manufacturer data sheets for components parts mentioned. This section covers only the most elementary circuits of control for each engine category. All these circuits assume that the power of the engine provides a control voltage does not exceed the rated motor voltage, which substantially limits the performance of the engine. The next section, the circuit current limited disk covers circuits practice high-performance disk. Variable reluctance controllers typical reluctance stepper motors variable are variations on the contour of Figure 3. 1: Figure 3. 1 in Figure 3. 1, the boxes are used to represent the switches, a control unit, not shown, is responsible for providing control signals to open and close the switches at the appropriate times to run the engines. In many cases, the control unit is a computer or programmable interface controller, with software directly generating the outputs needed to control the switches, but in other cases, an additional control circuit is introduced, sometimes free ! The windings of motors, solenoids and similar devices are all inductive loads. As such, the current in the motor winding can be switched on or off instantly without involving infinite tension! When the command switch of a motor winding is closed, allowing current to flow, the result of this is a slow rise in current. When the command switch of a motor winding is opened, the result of this is a point of tension that can seriously damage the switch unless care is taken to address them appropriately. There are two basic ways to cope with the peak voltage. One is to bridge the motor winding with a diode, and the other is to bridge the motor winding with a capacitor. Figure 3. 2 illustrates two approaches: Figure 3. 2 The diode in Figure 3. 2 must be capable of full flow through the motor winding, but it did lead briefly when the switch is off, as the current through the winding declines. If diodes relatively slow, as the common family 1N400X are used in conjunction with a quick switch, it may be necessary to add a small capacitor in parallel with the diode. The capacitor in Figure 3. 2 presents design problems more complex! When the switch is closed, the capacitor discharges through the switch to ground, and the switch must be able to handle the brief surge of discharge current. A resistor in series with the capacitor or in series with the power will limit the current. When the switch is open, energy stored in the motor winding to charge the capacitor to a voltage well above the supply voltage and the switch must be able to withstand this tension. To solve for the size of the capacitor, we equate the two formulas for the energy stored in a resonant circuit: P = C V2 / 2 R P = I2 / 2 Where: P – stored energy in seconds or watt coulomb volt C – capacity in farads V – voltage across capacitor L – inductance of the winding engine, Henry I – current in motor winding Solving the minimum size of capacitor required to avoid overvoltage on the switch is easy enough: C> L I2 / (Vb – Vs) 2 where: Vb – the breakdown voltage of the VS switch – the voltage variable reluctance inductor have a variable that depends on the angle of the shaft. Therefore, the worst case, the design must be used to select the capacitor. In addition, the motor inductances are often poorly documented, if at all. The capacitor and the motor winding, in combination, form a resonant circuit. If the control system drives the motor at frequencies near the resonant frequency of this circuit, the motor current through the motor windings and, therefore, the torque exerted by the engine will be very different from the torque of the steady state at nominal operating voltage! The resonant frequency is: F = 1 / (2 (SC) 0. 5) Again, the resonance frequency for an electric motor with variable reluctance depends on the angle of a tree! When a variable reluctance motor is used with pulse exciting near resonance, the oscillating current in the motor winding leads to a magnetic field that goes from zero to twice the resonance frequency, which can seriously reduce the Couple available! Controllers unipolar permanent magnet motors and the typical hybrid stepper motors unipolar are variations on the contour of Figure 3. 3: Figure 3. 3 in Figure 3. 3, as shown in Figure 3. 1, the boxes are used to represent the switches, a control unit, not shown, is responsible for providing control signals to open and close the switches at the appropriate times to run the engines. The control unit is typically a computer or programmable interface controller, with software directly generating the outputs needed to control the switches. As for the control circuits for variable reluctance motors, we must deal with the inductive stroke occurs when each of these switches is turned off. Again, we may shunt the kick induction using diodes, but now, 4 diodes are required, as shown in Figure 3. 4: Figure 3. 4 The diodes are needed because the motor winding is not two independent inductors, it is a single center operated inductor with center tap at a fixed voltage. This acts as an autotransformer! When one end of the motor winding is pulled down, the other end will fly up, and vice versa. When a switch opens, the inductive bounce will drive this end of the motor winding to the positive supply, where it is blocked by the diode. The opposite end will fly down, and if it was not floating at the voltage at the time, it will fall under the ground, reversing the voltage across the switch to this end. Some switches are immune to such turnarounds, but others may be seriously damaged. A capacitor may also be used to limit the voltage bounce, as shown in Figure 3. 5: Figure 3. 5 The rules for sizing the capacitor in Figure 3. 5 are the same as the rules for sizing the capacitor in Figure 3. 2, but the resonance effect is quite different! With a permanent magnet motor, if the capacitor is driven at or near the resonant frequency, the couple will rise to as much as twice the torque at low speed! The resulting torque curve over-speed may be quite complex, as illustrated in Figure 3. 6: Figure 3. 6 Figure 3. Figure 6 shows a peak in the available torque to the electric resonance frequency, and a valley at the mechanical resonance frequency. If the frequency of electrical resonance is placed appropriately above what would have been cut-off speed of the engine using a diode-PF, the effect may be a considerable increase in the rate cut effective. The mechanical resonance frequency depends on the couple, so if the frequency of mechanical resonance is nowhere near the electric resonance, it will be moved by the electric resonance! In addition, the width of the mechanical resonance depends on the local slope of torque versus speed curve, if the torque decreases with speed, mechanical resonance will be sharper, while if the couple climbs at a speed, it will be broader or even split into several resonant frequencies. Practice Unipolar and Variable Reluctance Drivers In the circuit above, the details of necessary switches have been deliberately ignored. Any technology switching, toggle switches to operate power MOSFET! Figure 3. 7 contains some suggestions for implementation of each switch, a motor winding and a diode protection included for guidance: Figure 3. 7 Each of the switches in Figure 3. 7 is compatible with a TTL input. The 5 volt power supply used for logic, including the 7407 driver is open-sensors used in the figure must be well regulated. The engine power, typically between 5 and 24 volts, needs only minimal regulation. Note that these circuits are switching power supply suitable for driving solenoids, DC motors and other inductive loads and for driving stepper motors. SK3180 transistor shown in Figure 3. 7 is a Darlington power with a current gain over 1000: thus, the 10 milliamps passing through resistance of 470 ohms is more than sufficient to allow the transistor to switch a few amperes of current in motor winding. The stamp of 7407 used to drive the Darlington May be replaced by a chip high voltage open collector can sink at least 10 milliamperes. In the case where the transistor fails, the pilot high voltage open collector is used to protect the rest of the logic circuits from the power of the engine. The IRC IRL540 shown in Figure 3. 7 is a transistor having a force field. It can handle currents up to about 20 amps, and it decomposes nondestructive 100 volts, therefore, this chip can absorb inductive spikes without diode protection if it is attached to a large enough heat sink. This transistor has a switching time very fast, so the protection diodes must be comparable or faster bypassed by small capacitors. This is especially important with the diodes used to protect the transistor bias against cons! In the case where the transistor fails, the Zener diode and 100 ohm resistor protect TTL circuits. The resistance of 100 ohms also acts to slow a little time on the switching transistor. For applications in which each motor winding draws less than 500 milliamps, the family ULN200x tables Darlington Allegro Microsystems, also available as DS200x from National Semiconductor, and as the Motorola MC1413 table Darlington will drive the motor windings or multiple of other inductive loads directly from the inputs. Figure 3. Figure 8 shows the pinout of the chip ULN2003 widely available, a table of 7 Darlington transistors with TTL compatible inputs: Figure 3. 8 The basic resistance of each transistor Darlington corresponds to standard bipolar TTL outputs. Each darlington NPN is wired with its emitter connected to pin 8, designed as a grounding prong, each transistor in the package is protected by two diodes, short-circuiting the emitter and collector, protection against reverse voltages through the transistor, and one connecting the collector to the pin 9, and if the pin 9 is connected to the positive power of the engine, this diode will protect the transistor against inductive spikes. ULN2803 chip is essentially the same as the ULN2003 chip described above, except that a 18-pin package, and contains 8 DARLINGTONS, allowing one chip to be used to drive a pair of common magnet pole permanent and variable reluctance motors. For motors drawing less than 600 milliamps per winding, power quad UDN2547B pilot made by Allegro Microsystems will take care of all 4 common windings of stepper motors unipolar. For motors drawing less than 300 milliamps per winding, Texas Instruments SN7541, 7542 and 7543 drivers double power, are a good choice, both options include some logic with the pilot power. Motors and bipolar H-Bridges things are more complex permanent magnet bipolar stepper motors because they have no center taps on their windings. Therefore, to reverse the direction of the field produced by a motor winding, we need to reverse the current in the coil. We could use a double-pole double-throw electromechanical switch to do the electronic equivalent of such a change is called an H-bridge and is described in Figure 3. 9 As with the unipolar drive circuits discussed above, the switches used in the H-bridge must be protected against voltage spikes caused by off in a motor winding. This is usually done with diodes as shown in Figure 3. 9. It is noteworthy that H-bridges are applicable not only to control stepper motors bipolar, but also for control of DC motors, push-pull solenoids (those divers with permanent magnets) and many other applications. With 4 switches, the H-bridge has 16 basic modes of operation possible, including 7 short-circuiting the power! The following operating modes are of interest: forward mode, switches A and D closed. Reverse mode, the switch B and C closed. These are the usual modes of operation, allowing current to flow of food through the motor winding and beyond the earth. Figure 3. 10 shows forward mode: Figure 3. 10 fast decay mode or freewheel mode, all switches open. Any current flowing in the motor winding will work against voltage track, plus two drops of diode current to decay rapidly. This method offers little or no effect dynamic braking of the motor rotor, so that the rotor side freely if all motor windings are powered in this mode. Figure 3. 11 illustrates the flow of current immediately after switching from forward mode to perform a rapid decline. Figure 3. 11 ways to slow decay modes or dynamic braking. In these modes, during May to circulate through the motor winding with minimal resistance. Consequently, if the current flows in a winding engine when one of these modes is entered, the current decay slowly, and if the motor rotor turns, it will induce a current which will act as a brake on the rotor . Figure 3. 12 illustrates one of many useful slow decay modes, D with switch closed and if the motor winding has recently been running mode ahead, the state of the switch B may be open or closed: Figure 3. H-12 Most bridges are designed so that the logic necessary to prevent a short circuit is at a very low level in the design. Figure 3. 13 illustrates what is probably the best arrangement: Figure 3. 13 Here, the following operating modes are available: XY ABCD 00 0000 rapidly decreasing 01 1001 before 10 0110 Reverse 11 0101 slow decay The advantage of this arrangement is that all relevant modes are preserved and that they are encoded with a minimum number of bits, it is important when using a microcontroller or a computer system to drive the H-bridge because many numbers of these systems have little bits available for the parallel output. Unfortunately, few integrated H bridge chips on the market have such a simple control system. Practice Bipolar Circuits There are a number of H-bridge driver integrated market, but it is always useful to examine the implementations of discrete components to understand how an H-Bridge Works. Antonio Raposo (RDA @ Cybill. INESC. Pt) proposed the H-bridge circuit of Figure 3. 14; Figure 3. 14 inputs X and Y for this circuit can be powered by open-collector TTL outputs as in the unipolar DARLINGTON-based drive circuit in Figure 3. 7. The motor winding will be supplied if exactly one of the inputs X and Y is high and precisely one of them is low. If both are low, both pull-down transistors are off. If both are high, both pull-up transistors are off. Consequently, this simple circuit is the engine braking mode dynamics in both the 11 and 00 states, and does not offer a way of cabotage. The circuit of Figure 3. 14 consists of two identical halves, each of which may be properly described as a push-pull driver. Half Term The H-bridge is sometimes applied to these circuits! It is also interesting to note that a half H-bridge circuit is quite similar to the output circuit drives used in TTL logic. In fact, TTL tri-state line drivers such as the 74LS244 and 74LS125A can be used as a half H-bridges for small loads, as shown in Figure 3. 15: Figure 3. 15 This circuit is effective for driving motors with a maximum of about 50 ohms per winding tension less than about 4. 5 volts with a supply of 5 volts. Each tri-state buffer in the LS244 can run about twice the current it can source and internal resistance of the buffer is sufficient, which take their course, to share power equitably among drivers who are executed in parallel. This drive motor for all relevant states obtained by the driver in Figure 3. 13, but these states are not coded as efficiently: XYE Mode – 1 rapid disintegration disintegration 000 slow 010 forward 100 reverse 110 The second slow decay mode DB, XYE = 110, provides a marginally weaker than the first braking due to the fact that the LS244 drivers may fall more power than they can source. The microprocessor (formerly Telcom Semiconductor) TC4467 Quad CMOS driver is another example of a general purpose driver that can be used as 4 semi-independent H-bridges. Unlike the old drivers, the data sheet for this driver even suggests the use of applications for motor control, with supply voltages of 18 volts and 250 milliamps per winding engine. One problem with the chips on the market for controlling stepper motors is that many of them have lifetimes market relatively short. For example, the Seagate IPxMxx series of H-bridge chips double (IP1M10 by IP3M12) was very well thought out, but unfortunately it seems that Seagate made these when they used stepper motors to position the head in Seagate. The Toshiba TA7279 dual H-bridge driver is another excellent choice for engines with another of less than 1 amp, but again, it seems to have been made for internal use. The SGS-Thompson (and others) L293 dual H-Bridge is a direct competitor for bullets above, but unlike them it does not include protection diodes. The L293D chip, introduced later, is pin-compatible and includes these diodes. If the earlier L293 is used, each motor winding must be resolved through a bridge rectifier (1N4001 equivalent). Using external diodes allows a series resistor to be placed in the path of recirculation current to accelerate the decomposition of the current in a coil when the engine is off, this may be desirable in certain applications. The family L293 offers an excellent choice for driving small bipolar stepper development of one ampere by the motor winding up to 36 volts. Figure 3. 16 shows the pinout common chip L293D and L293B: Figure 3. 16 This chip may be regarded as semi-independent 4-H bridges, has allowed two or as two full H bridge. This is a SMD power package with 4 pins, 5, 12 and 13 to conduct heat to the circuit board or an external heat sink. The SGS-Thompson (and others) L298 dual H-bridge is quite similar to the above, but which is capable of handling up to 2 amps per channel and is packaged as a component of power, as with the LS244, it is security of the H son of two bridges in the package 298 in one of the 4-H-AGP bridge (the data sheet for this chip provides specific advice on how to do). A warning is appropriate on the 298, the switches of this chip very fast, fast enough that the current protection diodes (equivalent 1N400X) does not work. Instead, use a diode as the BYV27. The National Semiconductor LMD18200 H-bridge is another good example, which manages up to 3 amps and has full protection diodes. While H built bridges are not available for very high currents or very high voltages, it is well designed components on the market to simplify the construction of bridges in H from separate switches. For example, International Rectifier sells a range of half H-bridge drivers, two of these chips over 4 MOSFET switching just build a bridge H. The IR2101, IR2102 and IR2103 are based H half bridge drivers. Each chip has 2 inputs to directly control the two switching transistors on a leg of a H-bridge The IR2104 and IR2111 have the same logic output side to control the switches of an H-bridge, but they also understand the logic input side, in some applications, may reduce the need for external logic. In particular, the 2104 includes an enable input, so 4 2104 chips plus 8 switching transistors can replace an L293 with no need for additional logic. The data sheet microprocessor (formerly Telcom Semiconductor) TC4467 family of CMOS quad driver includes information on how to use the drivers in the family to drive the power MOSFET H-bridges at speeds up to 15 volts. A number of manufacturers make complex H-bridge chips that include a circuit current limiting, which are the subject of the next section. It is also interesting to note that there are a number of 3-phase bridge drivers on the market, able to move Y or delta configured 3-phase permanent magnet steppers. Few of these engines are available, and these chips are not developed with steppers in mind. However, the Toshiba TA7288P, sees GL7438, the TA8400 and TA8405 are clean, and 2 chips of this type, with one of 6 half-bridges ignored, will strictly control 5-winding 10 steps per revolution motor.

PWM speed control function of the DC motor

Wednesday, April 7th, 2010

Introduction When the switch is closed, the motor sees 12 Volts, and when it is open it sees 0 Volts. If the switch is opened for the same amount of time it is closed, the engine will see an average of 6 volts, and will run more slowly in consequence. As the amount of time the voltage is increased compared to the amount of time it is turned off, the average speed of motor increases. The switch-off is performed by power MOSFETs. A MOSFET is a device that converts the current very broad and outside under the control of a low voltage level signal. The time it takes an engine to accelerate and decelerate in terms of switching depends on the inertia of the rotor, and how much friction and the load torque is. The chart below shows the speed of a motor is turned on and off fairly slowly: We can see that the average speed is about 150, but it varies a little. If the voltage is turned on quickly enough, he will not have time to change speed much, and the speed is very stable. Is the principle of speed control mode switch. Thus, the speed is set by PWM. Inductors Before turning to a discussion of the circuits, we must first learn something about the action of inductive loads, and inductors. Inductors do not allow current through them to change instantaneously (in the same way the capacitors do not allow the voltage to change instantaneously). The voltage dropped across an inductor carrying a current i is given by the equation where di / dt is the rate of change of current. If the current is suddenly changed by opening a switch or turning off a transistor, the inductor will generate a very high voltage across it. For example, turning off 100 amps at 1 microsecond through an inductor 100 generates 10kV microhenry! The PWM frequency of the PWM signal that results is dependent on the frequency of the ground wave. The frequencies between 20Hz and 18kHz can produce audible cries from the speed controller and motors. Switched on and off the drive MOSFET results in a loss of power shortly. Therefore, more time spent compared to the static switch on and off, the greater will be the sequel “switching losses in the MOSFET. The higher the switching frequency, the more stable is the current waveform in the engines. This waveform is a spike of switching signals at low frequencies but at higher frequencies the inductance of the motor will be good this at an average DC current proportional to the PWM demand. This causes a loss spikiness greatest power in the resistance of the son, MOSFETs, and motor windings of a DC waveform constant current. You can see both graphs. It shows the worst case on-off current waveform, the other the best of cases continues waveform of DC Both waveforms have the same average current. However, when dealing with power dissipation in the parasitic resistances in our engine and cruise control for the DC case: and in case of switching the average power is the waveform switching, two Once power is lost in the parasitic resistances. In practice, the current waveform is not square wave like that, but it remains true that there will be a loss of more power in a waveform non-DC. Choose a rate based on engine characteristics, then we can work mathematically the minimum frequency to achieve this goal. This section is a little math, it would be better to miss it and just use the final equation. The following example shows the equivalent circuit of the motor and the current waveform that the PWM signal turns on and off. This shows the worst case, a 50:50 ratio of PWM, and the current increase is indicated by the engine stopped or stalled, which is also the worst. T is the switching period, which is the inverse of the switching frequency. While holding the falling edge of current signal is given by the equation? is the time constant of the circuit, which is L / R. Thus, the current time T = T / 2 (i1) shall not be less than P% lower at t = 0 (I0). This means that there is a limiting condition: generating PWM signals PWM signals can be generated in a number of ways. It is possible that your radio receiver picks already a PWM waveform from the transmitter. If a microcontroller on the robot, it may be able to generate the waveform, but if you have more than a couple of engines, it may be too much of a burden on resources microcontroller. Several methods are described below. The electronic analog PWM signal is obtained by comparing a triangular wave signal with a continuous signal. The DC signal can vary between the minimum and maximum voltages of the wave triangle. When the voltage waveform is the triangle above the level of DC, the output of the op-amp swings up, and when it is below the low-output balance. On the graph, we can see that if the level was high DC, the pulses would be even slimmer. This uses a scale of resistance against and weighted to generate the triangle wave (in fact, it will generate a sawtooth, but you’ll still get a PWM signal at the end of it). The actual resistance values, which are not available (40k, 80k) can be made with 20k resistors, or approximations can be used. The 74HC14 is a Schmitt input converter, which is connected to act as a simple oscillator. The oscillation frequency is about f = 1 / (2. IP. R. C), but it does not matter much within a few tens of percent. This square wave flows generated the 74HC163 4-bit binary counter. All entries in the preset and clear the outputs are disabled, QA to QD just roll the binary sequence from 0000 to 1111 and rollover to 0000 again. These results, which ranged from 0 V to +5 V are introduced into an amplifier was weighted binary section leftmost LM324 op amp with the 80K, 40K, 20K and 10K resistors. The output voltage of this amplifier depends on the value of counting meter and is shown in the table below AMP1 output. The result of this op amp simply multiply the voltage by – ½, to the positive voltage, and back to logic voltage levels, see Amp2 output column in the table. value binary value cons AMP1 output (V) output Amp2 (V) 0 0000 0 0 1 0001 -0. 625 0. 3125 2 0010 -1. 25 0. 625 3 0011 -1. 875 0. 9375 4 0100 -2. 5 1. 25 5 0101 -3. 125 1. 5625 6 0110 -3. 75 1. 875 7 0111 -4. 375 2. 1875 8 1000 -5 2. 5 9 1001 -5. 625 2. 8125 10 1010 -6. 25 3. 125 11 1011 -6. 875 3. 4375 12 1100 -7. 5 3. 75 13 1101 -8. 125 4. 0625 14 1110 -8. 75 4. 375 15 1111 -9. 375 4. The 6875 final, right, op amp compares the voltage with the voltage input demand, which varies from 0 V to 4. 6875v, where 0V represents 0% PWM ratio and 4. 6875v represents 100% PWM rate. This power demand can vary from-12V to +12 V, but only from 0 to 4. 6875 The scope of the report set PWM. chip PWM generator ICs available that should turn a DC voltage PWM. Many of them are designed for use in switching power supplies. SGS Thomson IC Manufacturer normal SG1524, SG1525. . . SMPS Maxim MAX038 signal generator Alternatively, a MOSFET driver, which includes a PWM generator can be used. I only know one who is not out yet! SGS Thomson TD340. Numerical method The numerical method is to increment a counter, and comparing the counter value with a value of the register of pre-loaded. It is essentially a digital version of the analog method above: The register must be loaded with the required level PWM microcontroller. It may be replaced by a simple ADC if the level should be controlled by an analog signal (as he would a servo radio control). This method is really useful if a microcontroller is used in your robot, which can pre-load register easily. If she has embedded microcontroller which can greatly simplify the process of signal generation. Hitachi H8S series has up to 16 PWM outputs available, but many other types have two or three. Interface with high power electronics, but there are two sides to electronics: the side of low power and high-side power. The low power electronics includes any embedded microcontroller, the radio receiver, and PWM generators. The upper power MOSFET includes drivers, MOSFETs themselves, and any valve or pump drivers you may have. Basically anything that is switching currents. Interface with the receiver of the radio you may be able to tap into the PWM signal coming out of the radio before it enters the servo, and use it to drive the input of MOSFET driver. However, it gives you no choice of switching frequency. Furthermore, the knob can generate a voltage to power the PWM generator. A more advanced method if you have a microcontroller on board the robot is to take the PWM signal to the receiver and connected to an input timing of the microphone. The microcontroller must be able to decode the signal, and generating a proportional analog output value (if it has ADC, or if an external ADC is equipped). Another method is to send more advanced data communication via the radio series. The handset radio will need to have a microcontroller in. The microcontroller must read the pots and switches on the handset, and send appropriate commands to the UART. To connect the radio transmitter. At the receiver, the demodulated output is sent to the robot microcontroller UART, and the data is decoded. Current limiting current limit is essential. If the engine is blocked, it can take huge currents that destroy the MOSFETs quickly. The form of current limiting is presented here to measure the current that the engine is taken, and if it exceeds a preset threshold, the MOSFET turn off the bridge. If you have an onboard microcontroller which generates the PWM rate, it would be an advantage if the software can detect the condition of overload, and reduce the rate of PWM, say, 10%. This circuit shows that the upper bridge MOSFET driven by simplicity. The lower MOSFET is not turned off during a current limit. There are only a sense of strength required for each engine, and must be immediately connected to the positive battery terminal. The voltage dropped across the sense resistor is amplified by U1A, which is connected to a differential amplifier circuit. The gain of 480K / 1k is 480. It is a very important gain because the voltage dropped across the sense resistor will be very low. The output of the differential amplifier is strongly low-pass filter by RxCx. Because there will be lots of noise from the engine, and we do not want to limit the current if we do not need. D13 is present to ensure that no negative spikes can affect the following systems. U2B compares the filtered signal with a preset value (represented here by V5), and if the current is too high (the signal is superior to V5), U2B will turn on Q1 and Q2 which PWM signals PWM generator clips. This will force the MOSFET driver to turn the MOSFET off. Q1 should be repeated four times, one for each channel MOSFET driver, but all four transistors can be driven from U2B. D11, R14 and C4 make sure that the MOSFET does not turn on immediately, but takes a few milliseconds. This prevents the MOSFETs be quickly activated and deactivated. A simulation of the part of current limiting circuit is indicated in the diagram below. The threshold voltage V5 was chosen to set a current limit of 30 amps. The square wave is the voltage (PWM MOSFET gate voltage), and the waveform is botched flight (motor) current. The tricky bit at the top of the steep waveform is when the current limit is set on or off. Some channels you can see the example of current flowing through the main power MOSFET by placing a power MOSFET much lower in parallel with it. It works OK, but the problem is the actual current limit is based on the value of RDS (on) MOSFET. If RDS (on) was only half the value we expect it to be, then twice more can pass before the current limit circuit took effect. Also the RDS (on) value depends on a lot of current through the MOSFET, and temperature. Any change in RDS (on) will change the current limit. RDS (on) figure is cited as a maximum value of the leaf, but this is not a design parameter safe. This means that it is not within specified limits, which are published on the datasheet. For example, CMOS digital logic guarantees that the output voltage, Vo, will be between Vcc-0. 5V and Vcc, and that this figure may be used for the design of circuits based on this figure. However, with RDS (on), we only know that it will be between 0 and the value. We can not count on a minimum value of it, however, is the minimum value that controls the current limit. Therefore, using a separate shunt resistor is a much more secure. Feedback speed control to stop a robot lurches in an arc when you want to go forward, you must have the speed of servo motor. This means that the actual speed of each wheel is measured and compared to all other wheels. It is clear to go straight, the engine speed must be equal. However, this does not necessarily mean that the application speed for each engine must be the same. The engines will have different amounts of friction, and thus an engine “rigid”, it will demand greater speed to go as fast as a more free-running engine. A diagram of speed control is analog return below, the demand for speed is a DC voltage which is fed to the PWM generator for motor A. The engine drives one to one dependent on the speed voltage demand. The speed of motor A is sampled using an optical encoder. It has an output frequency which is proportional to motor speed. If we assume that the motor B is already running at a certain speed, the optical encoder on its shaft will also produce a frequency. The phase comparator compares the two frequencies, effectively compare the speeds of both engines. Its output is a signal that becomes larger than the two input frequencies further apart. If both frequencies are the same, it has an output of zero. The integrator adds the output of the phase comparator to all that was before its release. For example, if the integrator output was previously 3 volts, and its entry is 0 volts, then its output will be 3 volts. If entry changed -1 volts, then its output would be 2 volts. Suppose that B motor is running more slowly than motor A. Then, the output of the phase comparator will be positive, and the output of the integrator will start to increase. The speed of motor B will then increase. If it is passed to a higher speed than the motor A, then the phase comparator output becomes negative, and the output of the integrator will start to decline, reducing engine speed B. In this way, the speed of motor B is kept the same as the speed of motor A, and the robot goes in a straight line (as long as its wheels are the same size!). This method can be extended to use any number of wheels. An engine that will always be driven directly (in this case motor A), and others will have their speed stuck at it. Note that if the direct drive motor is faster, or more free-running than the others, then when it is driven at its fastest speed (the PWM signal is always ON) and other engines will never be able to follow and yet the robot to deviate. It is therefore preferable to directly drive the slower the engine.

Based Speed Control PWM DC Motor Drive

Thursday, March 18th, 2010

Introduction When the switch is closed, the motor sees 12 Volts, and when it is open it sees 0 volts. If the switch is opened for the same amount of time it is closed, the motor will see an average of 6 volts, and will run slower accordingly. As the amount of time the voltage is on the increase compared to the amount of time it is extinguished, the average speed increases engine. This on-off switching is performed by power MOSFETs. A MOSFET is a device that converts the current very broad and outside under the control of a low voltage level signal. The time it takes an engine to accelerate and slow in terms of switching is dependent on the inertia of the rotor, and how much friction and load torque that is. The chart below shows the speed of a motor is switched on and off fairly slowly: We can see that the average speed is around 150, although it varies a little. If the voltage is turned on quickly enough, he will not have time to change a lot of speed, and speed will be fairly stable. This is the principle of control by the mode selector speed. Thus, the speed is set by PWM. Inductors Before continuing to discuss the circuits, we must first learn something about the action of inductive loads, and inductors. Inductors do not allow current through them to change instantaneously (in the same way as capacitors do not allow the voltage change instantaneously). The voltage dropped across an inductor carrying a current i is given by the equation where di / dt is the rate of change of current. If the current is suddenly changed by opening a switch or turn off a transistor, the inductor will generate a very high voltage across it. For example, disabling 100 amps at 1 microsecond through an inductor 100 generates 10kV microhenry! Frequency The frequency PWM signal PWM result depends on the wave frequency ramp. Frequencies between 20Hz and 18kHz may produce audible cries from the speed controller and motors. Each connection and disconnection of the results of controller speed MOSFET in a loss of power shortly. Consequently, the more time switching from the static on and off, the greater will be the result of “loss of the switching MOSFET. The higher the switching frequency, the more stable is the current waveform in engines. This waveform will be a spiky waveform switching to low frequency, but at high frequencies the inductance of the motor will facilitate the observation at a DC average proportional to the PWM demand. This spikiness cause greater loss of power in the resistance of the son, MOSFETs, and motor windings of a DC current signal stable. You can see both graphs. One shows the worst case on-off current wave, the other at best constant DC current signal two waveforms have the same average current. However, when we work on power dissipation in the resistors in our errant motor and inverter for the DC case: And in case of switching the average power is thus in the waveform switching twice power is lost in the stray resistances. In practice, the current signal is not square wave like that, but it remains true that there will be more power loss in a non-DC waveform. Choosing a frequency based on the characteristics of the engine then can we develop mathematically the minimum frequency to achieve this goal. This section is a little math so you may want to miss it and just use the final equation. The following shows the equivalent circuit of the engine, and the waveform as the PWM signal on and off. This shows the worst case, a 50:50 ratio PWM and the current rise is shown for an engine stopped or stalled, also worst case. T is the switching period, which is the inverse of the switching frequency. Just taking the falling edge of current signal is given by the equation? is the time constant circuit, which is L / R. Therefore, the current at t = T / 2 (I1) must not be less than P% lower at t = 0 (I0). This means that there is a boundary condition: So Generating PWM signals PWM signals can be generated in a number of ways. It is possible that your radio receiver picks already a PWM waveform from the transmitter. If a microcontroller on the robot, this may be able to generate the waveform, although if you have more than a couple of engines, this may be too much of a burden on the resources of the microcontroller . Several methods are described below. The electronic analog PWM signal is generated by comparing a signal from the triangular wave with a DC signal. The DC signal can vary between the minimum and maximum voltages of the triangle wave. When the triangle voltage waveform is above the level of voltage, the output of the op-see-intensive, and when it is lower, swings low production. From the graph we see that if the DC level gone, the pulses would be even thinner. It uses a counter and a scale of resistance weighted to generate the triangular signal (in fact it will generate a sawtooth, but you’ll still have a PWM signal to the end of it). The actual resistance values that are not available (40k, 80k) can be made with 20k resistors, or close approximations can be used. The 74HC14 is a Schmitt input inverter, which is connected to act as a simple oscillator. The oscillation frequency is about f = 1 / (2. PI. R. C), but not much within a few tens of percent. This square wave flow generated the 4-bit binary 74HC163. All entries preset and clear are disabled, so the outputs QA to QD just rolling around the binary sequence from 0000 to 1111 and a renewal to 0000 again. These outputs, which swing between 0 V and 5 V are introduced into an amplifier was binary weighted section leftmost with the LM324 FLASH 80K, 40K, 20K and 10K resistors. The output voltage of this amplifier depends on the value of counting meter and is shown in the table below in terms of output amp1. The result of this opamp simply multiplies the voltage by – ½, to the positive voltage, and back to logic voltage levels, see the AMP2 output column in the table. Value Count Value amp1 binary output (Volts) AMP2 output (Volts) 0 0000 0 0 1 0001 -0. 625 0. 3125 2 0010 -1. 25 0. 625 3 0011 -1. 875 0. 9375 4 0100 -2. 5 1. 25 5 0101 -3. 125 1. 5625 6 0110 -3. 75 1. 875 7 0111 -4. 375 2. 1875 8 1000 -5 2. 5 9 1001 -5. 625 2. 8125 10 1010 -6. 25 3. 125 11 1011 -6. 875 3. 4375 12 1100 -7. 5 3. 75 13 1101 -8. 125 4. 0625 14 1110 -8. 75 4. 375 15 1111 -9. 375 4. The 6875 final, rightmost opamp compares the voltage with the contribution of the application of voltage, which varies from 0 V to 4. 6875v, where 0V represents 0% PWM ratio and 4. 6875v represents 100% PWM rate. This voltage application range from May-12V to +12 V, but only 0 to 4. 6875 Range will adjust the rate of PWM. The PWM generator chips are available ICs that convert a DC level in PWM. Many of them are designed for use in switching power supplies. Manufacturer of CI normal SGS Thomson SG1524, SG1525. . . SMPS Maxim MAX038 Signal generation Alternatively, a MOSFET driver, which includes a PWM generator can be used. I know of one that is not out yet! SGS Thomson TD340. Digital method The numerical method is to increment a counter, and comparing the counter value with a pre-loaded register value. It is essentially a digital version of the analog method above: The register must be loaded with the PWM level required by a microcontroller. It may be replaced by a simple ADC if the level should be controlled by an analog signal (as would a servo radio control). This method is really useful if a microcontroller is used in your robot, which can easily preload register. Embedded Microcontroller If it which can greatly simplify the process of signal generation. The Hitachi H8S series has up to 16 PWM outputs available, but many other types have two or three. Interfacing with the high power electronics, but there are two sides to electronics: the side of low power and high-side power. The low power electronics board includes a microcontroller, the radio receiver, and PWM generators. The upper part includes the power MOSFET drivers, the MOSFETs themselves, and any valve or pump drivers you may have. Basically anything that is large switching currents. Interfacing with the radio receiver control You may be able to tap into the PWM signal coming out of radio receiver before it enters the servo, and use this drive for entry to the driver MOSFET. However, it gives you no choice of switching frequency. Alternatively, the knob can generate a voltage to power the PWM generator. A more advanced method, if you have a micro-controller on board the robot to take the PWM signal radio receiver and connect it to a clock input of the microphone. The microcontroller must be able to decode this waveform, and generate a value proportional analog output (if it has ADC, or if an external ADC is installed). Another more advanced method is to send serial data communications through radio. The combined radio command will need to have a microcontroller in. The microcontroller must read the pots and switches on the handset, and send orders out of its proper UART. This connects to the transmitter. At the receiver, the demodulated output is sent to the robot microcontroller UART, and the data is decoded. Current limitation of current limiting is absolutely essential. If the engine stalled, it may take considerable currents destroy the MOSFET very quickly. The form of current limiting is presented here to measure the current that the engine is taken, and if it exceeds a preset threshold, turning the MOSFET off the bridge. If you have a micro-controller board which generates the PWM rate, it would be an advantage if the software could detect most of the state and reduce the ratio of PWM by, say, 10%. This circuit shows the MOSFET just above the bridge being driven for simplicity. Lower MOSFETs are turned off during a current limit. There is only one sense resistor required for each engine, which must be immediately connected to the battery positive terminal. The voltage dropped across the sense resistor is amplified by U1A, which is connected to a differential amplifier circuit. The gain of this is 480k / 1k is 480. This is an important benefit because the voltage dropped across the sense resistor is very low. The output of the differential amplifier is strongly low-pass filter by RxCx. This is because there will be lots of noise from the engine, and we do not want to limit the current if we do not need it. D13 is present to ensure that no negative peaks may affect the following systems. U2B compares the filtered signal with a predefined value (here represented by V5), and if the current is too high (the signal is greater than V5), U2B turn Q1 and Q2 ravaging the PWM signal from PWM generator . This will force the MOSFET driver to turn the MOSFET off. Q1 should be repeated four times, one for each channel MOSFET driver, but all four transistors can be driven from U2B. D11, R14 and C4 make sure that the MOSFET does not turn around immediately, but it takes a few milliseconds. This stops the MOSFET be quickly activated and deactivated. A simulation of the part of current limiting circuit is shown in the diagram below. The threshold voltage V5 was chosen to define a current limit of 30 amps. The square wave is the voltage (PWM MOSFET gate voltage), and neglect the waveform is the drain (motor) current. The bit bristly at the top of the wave slopey is when the current limiter is switched in and out. Some channels you may see an example of current flowing through MOSFET main power by placing a MOSFET power much lower in parallel with it. This works well, but the problem is the actual current limit depends on the value of RDS (on) MOSFET. If Rds (on) was only half the value we expect it to be, then twice as much power would pass before the limiter circuit took effect. Also the RDS (on) value depends very much on the current through the MOSFET, and temperature. Any variation in RDS (on) will change the current limit. RDS (on) figure is cited as a maximum value on the datasheet, but this is not a safe design parameter. This means that it is not within defined limits which are published on the sheet. For example, guarantees of CMOS digital logic that the output voltage, Vo, will be between Vcc-0. 5V and Vcc, and this figure may be used to design circuits that are based on this figure. However, with RDS (on), we only know that it will be between 0 and value to the document. We can not count on a minimum value of it, however, is the minimum value that controls the current limit. Therefore, using a separate shunt resistance is much safer. Feedback Speed Control To stop a robot swerved in an arc when you decided to go forward, you need to control the speed of reaction of the engine. This means that the actual speed of each wheel is measured and compared to all other wheels. Obviously to go straight, the motor speed must be equal. However, this does not necessarily mean that the application rate for each engine must be the same. The engines have different amounts of friction, and therefore a “more severe”, the car will require a greater demand for speed to go as fast as an engine more free-running. A schematic diagram of a feedback controller analog speed is shown below, the demand for speed is a voltage which is fed to the PWM generator for motor A. This engine drives A at a speed dependent voltage demand. The speed of the engine A is sampled using an optical encoder. It has a frequency output that is proportional to motor speed. If we assume that the motor B is already running at a certain speed, then the optical encoder on its shaft will produce a frequency too. The phase comparator compares the two frequencies, effectively comparing the speeds of two engines. Its output is a signal that becomes bigger than the two input frequencies further apart. If both frequencies are the same, it returns zero. The integrator adds the output of phase comparator to everything before leaving. For example, if the output of the integrator was above 3 volts, and its entry is 0 volts, then its output will be 3 volts. If his contribution has changed to -1 volts, then its output would change to 2 volts. Suppose that the engine B works more slowly than A. engine and the output of phase comparator will be positive, and the output of the integrator will start to rise. The engine speed then B will increase. If it is passed to a higher speed than an engine, then the comparator output becomes negative phase, and the output of the integrator will start to decline, reducing engine speed B. In this way, the speed of motor B is kept the same as the speed of a motor, and the robot will move in a straight line (as long as its wheels are the same size!). This method can be extended to use any number of wheels. An engine will always be a direct motor (motor in this case A), and others will have their speed locked to it. Note that if the motor is direct drive faster, or more outspoken than others, then when it is driven at its fastest speed (PWM signal is always ON), while the other engines will never be able to follow, and the robot deviate again. It is preferable to directly drive the slower motor.