Part Number Hot Search : 
0000X BUS24B 10TFI0 ZX84C8V BTA92 L9637D SP211CA ZSC31014
Product Description
Full Text Search
 

To Download AN469 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  application note AN469/1090 of stepping motors by thomas hopkins using the l6506 for current control the l6506 is a linear integrated circuit designed to sense and control the current in stepping motors and other similar devices. when used in conjunction with power stages like the l293, l298n, or l7180 the chip set forms a constant current drive for induc- tive loads and performs all the interface functions from the control logic through the power stage. the l6506 may be used with either two phase bi- polar or four phase unipolar motor configurations. the circuit in figure 1 shows the l6506 used in con- junction with the l298n in a 2 phase bipolar stepper motor application. the circuit in figure 2 implements a similar 4 phase unipolar application. current control logic in these two circuits, the l6506 is used to sense and control the current in each of the load windings. the current is sensed by monitoring the voltage across a sense resistor (r sense ) and using a pulse width modulated control to maintain the current at the desired value. an on-chip oscillator drives the dual chopper and sets the operating frequency. an rc network on pin 1 sets the operatingfrequency, which is given by the equation : 1 f (1) 0.69 r1 c1 for r1 > 10 k w the oscillator provides pulses to set the two flip- flops, which in turn cause the outputs to activate the power actuator. once the outputshave been activa- ted the current in the load starts to increase, limited by the inductive characteristic of the load. figure 1 : application circuit for bipolar 2 phase stepper motor. chopper-type current control circuits improve the performance of motor drives. this note shows how this can be done simply using the l6506 current controller ic. 1/6
figure 2 : application circuit for unipolar 4 phase stepper motor. when the current in the load winding reaches the programmed peak value, the voltage across the sense resistor (r sense ) is equal to reference voltage input (v ref ) and the corresponding comparator re- sets its flip-flop. this interrupts the drive and allows the current to decay through a recirculating pathuntil the next oscillator pulse occurs. the peak current in each winding is programmed by selecting the value of the sense resistor and v ref and is given by the equation : v ref i peak = (2) r sense the minimum output pulse width is determined by the pulse width of the oscillator, or other signal ap- plied to the sync input. the internal oscillator is designed to provide narrow pulses to the sync input but the pulse width should be considered carefully. in some applications it is desirable to set the pulse width of this sync pulse to be just longerthan the turn on delay time of the actuator stage. this may be useful in systems where the switching noise or re- covery current of the catch diodes, which passes through the sense resistor, causes the comparator to sense a current above the peak current. by ma- king the sync pulse wide enough to hold the flip-flop set at the time the switching transient occurs will cause the device to ignore this false data. when the internal oscillator is used the pulse width can be modified by changing the value of the capa- citor on pin 1. increasing the capacitance will widen the pulse width. the l6506 may be used with either a bridge driver, as shown in figure 1, for bipolar motors or a quad darlington array, as shown in figure 2, for 4 phase unipolar motors. for eigher configuration, half step may be implemented using the 4 phase inputs with the input waveforms shown in figure 3. the recirculation path for the motor current is through a catch diode for unipolar motors, or a catch diode and one of the lower transistors of the bridge for bipolar motors. both of these implementations producea low ripple current since thevoltage across the motor during the recirculation time is much less than the power supply voltage. figure 4 shows the ripple current for bipolar motor applications using the l6506 and the l298n. application note 2/6
when implementing a half step drive, both outputs of the l6506 will be low during the half step of one phase. this means a very long time is required for the current in the ooffo winding to decay when driving bipolar motors. alternately, the power stage (l298n) may be inhibi- ted to put the outputin the state and achieve a faster current decay. since separate v ref inputs are provided for each channel, each of the loads may be programmed in- dependentlyallowing the device to be used to imple- ment microstepping or applications with different peak and hold currents. in this type of application, changingthe reference voltage (v ref ) will change the load current, effectively implementing a transcon- ductance amplifier. synchronizing multiple devices ground noise problems in multiple configurations can be avoided by synchronizing the oscillators. this may be done by connecting the sync pins of each of the devices with the oscillator output of the master device and connecting the r/c pin of the unused oscillators to ground as shown in figure 5. the devices may be synchronized to external cir- cuits by applying synchronizing pulses to the sync pins. it should be noted, however, that the input pul- se sets the minimum on time of the outputs and will therefore set a minimum output average current. selecting the oscillator compo- nents when selecting the values for the external compo- nents for the oscillator one of the primary conside- rations is the operating frequency. in addition there is another important consideration for these compo- nents. in many applications the reverse recovery current of the free wheeling diodes and of parasitic ele- ments in the power stage will flow through the sen- sing resistor in addition to the load current. also there is sometimes noise generated in the system when the power stage is swiched on. these two figure 3 : input signal for stepper motor drive. figure 4 : ripple current in bipolar motors. figure 5 : synchronizing multiple devices. application note 3/6
sources of error can fool the current limiting stage and make it appear to operate at a subharmonic of the desired frequency. with the proper selection of the oscillator components this behavior can be avoided. the design of the l6506 is such that the flip-flops used in the device are set dominant so that when- ever the sync input is low the q output of the flip-flop will be high even if the reset is applied by the com- parator at the same time. this characteristic of the flip-flops can be used to make the current sensing immune to the recovery currents and noise spikes that occur when the power devices switch. if the sync pulse is longer than the turn on delay time of the power stage, as shown in figure 6, these two sources of errors will be ignored. to select the proper values for the oscillator compo- nents a more detailed equation for the operating fre- quency and duty cycle of the oscillator is required. the required equations can be derived from the equivalent circuit for the oscillator section shown in figure 7. as can be seen from figure 7, the full equation for the operating frequency includes not only the exter- nal resistance and capacitance but the internal dis- charge resistor as well. the full equation for the operating frequency is : f = 1 0.69c1 [ r1 +( r1 ? ri r1 + ri )] (3) the equations for the active time of the sync pulse (t2), the inactive time of the sync signal (t1) and the duty cycle can also be found by looking at the figure 7 and are : t2 = 0.69c1 r1 ri r1 + ri (4) t1 = 0.69 r1 c1 (5) dc = t2 t1 + t2 (6) by substituting equations 4 and 5 into equation 6 and solving for the value of r1 the following equa- tions for the external components can be derived: r1 = ? ? ? 1 dc - 2 ? ? ? ri (7) c1 = t1 0.69 r1 (8) looking at equation 4 it can easily be seen that the minimum pulse width of t2 will occur when the value of ri is at its minimum and the value of r1 at its ma- ximum. therefore, when evaluating equation 7 the minimum value for ri of 700 w (1 k w 30 %) should be used to guarantee the required pulse width. for a typical application using the l298, which has a maximum turn on delay of 2.5 m s, with the l6506 consider the following operating points: f = 20 khz t1 + t2 = 50 m s t2 min = 3 m s from equation 6: dc = 3 m s 50 m s = 0.06 from equation 7: r1 =( 1 0.06 2 ) 700 = 10.3k w from equation 8: c1 = 47 m s ( 0.69 )( 10.3k ) = 6.6nf figure 6 : load current and sync pulse. application note 4/6
figure 7 : oscillator circuit and waveforms. application note 5/6
information furnished is believed to be accurate and reliable. however, sgs-thomson microelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of sgs-thomson microelectronics. specifica- tions mentioned in this publication are subject to change without notice. this publication supersedes and replaces all information pre- viously supplied. sgs-thomson microelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of sgs-thomson microelectronics. ? 1995 sgs-thomson microelectronics - all rights reserved sgs-thomson microelectronics group of companies australia - brazil - france - germany - hong kong - italy - japan - korea - malaysia - malta - morocco - the netherlands - singapore - spain - sweden - switzerland - taiwan - thaliand - united kingdom - u.s.a. application note 6/6


▲Up To Search▲   

 
Price & Availability of AN469

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X