Part Number Hot Search : 
ELECTRO 74279219 MV209G C1318A E6601 10A02 BCM5238 CXA3252N
Product Description
Full Text Search
 

To Download AN660 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 1/9 AN660/1194 by t. castagnet, j. nicolai digital control for a brush dc motor figure 1. application block diagram. the microcontroller generates a pwm signal and controls the igbt through the buffer-amplifier. abstract in home appliances applications the brush d.c motor, driven by a chopper, can be controlled by a standard microcontroller. however, microcontrollers are often considered unsuitable for the power environment because of their limited computing speed, or problems with noise immunity. this paper shows how a cost effective digital motor drive can be designed by combining a chopper and an 8 bit microcontroller. the speed of the motor is simply controlled through direct voltage compensation and motor power limitation. the microcontroller performs both the motor control and interface functions of the application, replacing the analogue circuits of a conventional motor control. performances and practical results are given for a 300w / 12000 rpm motor drive. 1. introduction in home appliance applications the permanent magnet dc motor is replacing the ac universal motor, improving speed and drive performance. traditionally, the control of this motor is implemented using analogue circuits, with an associated microcontroller performing only an interface function. this paper shows that a low end microcontroller can control directly a chopper driven dc motor in addition to these interface functions. in this example the adjustable speed drive is made with a 300w-2000 rpm permanent magnet dc motor for a food processor application. 2. the permanent magnet dc motor and its converter the brush dc motor can be controlled by a chopper circuit. this adjustable speed drive controls the load in only one direction of rotation, and does not allow electrical braking. this type of operation is sufficient in applications such as food processors, drills or washing machines. the design of the control circuit is simplified with the use of insulated gate transistors in the chopper, and with the use of permanent magnets for the motor excitation. permanent magnets (e.g. ferrite materials) replace the stator windings and make an excitation circuit unnecessary, as the motor has an independent excitation. see figure 1. m buffer supply 3v 15v peak current detector reset clock user interface mcu u d v dd v ss rst i c osc i/o pwm 230v mains
application note 2/9 in home appliance applications the permanent magnet dc motor, driven by a chopper, is replacing the common ac universal motor when improved speed/drive performance is required (see appendix 1) for the following reasons: ? the motor efficiency is increased: the permanent magnets remove excitation losses, and iron and copper motor losses are reduced because the motor current ripple is reduced (more than 50%) thanks to the dc mode operation and to a suitable motor voltage control; ? the motor noise is reduced: the 100hz torque ripple is reduced because of the motor current ripple reduction, and the switching frequency is almost inaudible; ? the motor voltage determines the speed directly because the excitation is independent; the speed is therefore stable, particularly when the torque is varies quickly (during 1s) and frequently (10 times); ? the operating speed range is increased because the motor can provide maximal torque (here t max = 2 n.m) at low speed (less than 1000 rpm). 3. the microcontroller : the heart of the motor control in home appliance or industrial applications, microcontrollers are usually dedicated to interfacing and sequence management. here we will show that a microcontroller can also integrate the motor control. this speed drive is controlled by an 8-bit microcontroller, the st6260/65 (see figure 2). such microcontrollers can meet all interface and motor control requirements: ? design of interface functions is simplified due to their 8-bit analogue-to-digital converter (adc), and their many inputs/outputs (up to 21 i/o); these allow the mcu to measure sensors, manage actuators and the user interface (for example push buttons, potentiometers, keyboard, led diodes, bar-graph or lcd displays); ? they have additional functions useful for the design of a motor speed drive: a pulse width modulation (pwm) timer for chopper control; an adc with up to 13 inputs for voltage and current measurement; and a non maskable interrupt (nmi) to generate safety protection in the central processor unit (cpu). ? their safety and immunity is fully compatible with off-line circuits (hardware watchdog, careful supply lay out, decoupled oscillator, filtered inputs). the performance required for the speed control is the following : ? accuracy of speed is not very important: there is no need for a speed sensor, and so costs are reduced; and the microcontroller adjusts the speed directly with the motor voltage; ? the motor is controlled using direct voltage compensation, and so the speed is insensitive to the input power and to variations in the mains port b port a port c timer watchdog timer spi eeprom 128 pwm timer rom 4k a/d converter 8 bit cpu watchdog timer ram 128 8 bit data bus figure 2. block diagram of the st6260/65 micro-controller. pwm timer and a/d converter are suitable for motor control.
3/9 application note voltage; the motor current ripple is also reduced by this compensation; ? the user speed selection is performed by two +/- push buttons; its variation is adjusted by software and the start up request speed is zero ; ? the motor is protected against too big a load when the user request is out of the motor safe operating area. a 300w motor power limitation is implemented, avoiding overheating and hard brush switching ; ? the chosen chopper frequency is 8khz : the circuit can meet the r.f.i. standards (vde 875) with a small input filter while keeping a low switching noise level ; ? speed drive start up is validated after a voltage check of the 230v mains supply. to achieve this speed drive, software functions have been implemented as shown in figure 3. the autoreload pwm timer controls the switching of the chopper, generating the pwm signal. the cpu controls the duty cycle d and the switching period t s by software (see figure 4). the duty cycle varies from 0 to 100%, with 0.4% (1/256) duty cycle resolution. the maximum switching frequency is 31 khz: by software it has been adjusted to the required 8 khz. the direct voltage compensation aims to keep the motor voltage v mot and the speed constant, particularly when the mains voltage is varying, or when the input power is transmitted to the motor. the duty cycle is modulated as a hyperbolic function of the direct voltage u d around a reference point given by d 0 = user request duty cycle and u d(nom) = nominal direct voltage: v mot = d x u d v mot = constant = d 0 x u d nom (see figure 5) to achieve this, u d is measured and quantized in 32 steps, and d o is quantized in 16 steps: duty cycle correction is taken from a look-up table of u d versus d o . the correction is added to d o and the sum is loaded into the pwm timer. the voltage compensation needs a table of 512 bytes, and takes 380 m s. the practical results are characterized in 2 ways : figure 6 demonstrates the immunity of the motor voltage to variations in u d for a fixed speed reference. the variation of v mot is less than 10% over the whole the range of values of u d , and the speed becomes program initialisation mains control get user request voltage compensation update pwm 7 times? motor power limitation update pwm no yes figure 3. main algorithm for motor control. direct voltage compensation and motor power limitation are the key functions of the control. figure 4. operation of the autoreload pwm timer. cpu controls the period ts with the reload register, and the duty cycle d with the compare register ; the timer counts independently of the cpu. reload register compare register 000 255 counter time pwm output d t s
application note 4/9 almost insensitive to the input power and mains voltage variations. figure 7 shows the dynamic influence of compensation on motor current ripple. the ripple is reduced by a factor of two in normal operation. motor power limitation is performed by measuring the peak motor current i p using a resistor or a sensefet. with a capacitor, diode, and the sample- and-hold method this measurement is easy and accurate (see figure 8). the motor power limitation aims to limit d to a maximum duty cycle d max . assuming that the motor current i mot is almost constant, d max is defined as a hyperbolic function of u d and i mot (see figure 9) : p mot = i mot x v mot = i mot x u d x d p mot p max d < d max = p max / u d x i mot d max is taken from a look-up table versus u d and i mot which are measured and quantized in 16 and 32 steps respectively. power limitation needs a table of 512 bytes, and is performed every 3ms. figure 10 shows the result with 300w limitation. the two look-up tables are computed using a high level language program or by hand in order to avoid calculation in the cpu, speeding up the process. the tables used in this example are suitable for 230v or 120v mains applications. the compensation and limitation tables can be modified and optimized to special requirements. the accuracy of results is mainly governed by the resolution of the adc (20 mv) and the basic step of converted measures (1/2 n for n < 8). 4. the switch : the power actuator of the motor control insulated gate transistors like insulated gate bipolar transistors (igbts) or power mosfet transistors are usually used for this purpose. such transistors simplify and improve the chopper design because : ? their gate driver is simple: they are controlled by connecting a 15v voltage source to the transistor gate ; ? they are fast: the switching frequency can be made high enough to be inaudible (up to 16 khz) because of their low turn-off energy. the interface between the mcu and the switching figure 5. direct voltage compensation figure 6. static performance of direct voltage compensation figure 7. dynamic performance of the voltage compensation without compensation: i variation = 2a with compensation: i variation = 1a 2ms / div, 1a / div. i motor (av.) = 2.5a v motor = 105v u a = 230v c = 100 m f duty cycle u u d(nom) 0 d o d = d o x u d(nom) / u d u d d 0 25 50 75 100 125 0 50 100 150 200 250 v mot (v) u d (v) d v mot < 10 %
5/9 application note figure 8. peak motor current sensing: a) operation is independent of switching; measurement is made when t 1 is off, analogue value is reset when t 1 turns on. b) block diagram. figure 9. motor power limitation. figure 10. motor power limitation performance. driver supply 3v 15v peak current detector mcu current sensor short circuit, overvoltage overtemperature transistor is made by a 15v auxiliary supply that is connected to the 350v dc supply, and by a buffer- amplifier that is driven directly by the pwm timer output. to this basic driver we can add other functions (see figure 11) : ? a transistor current sensor (necessary for power limitation). a resistor or a sensefet can be used with an analog peak current detector (capacitance and diode). figure 11. basic diagram of the mcu-switch interface. fast transistor protection could be added to the driver functions. i c t1 on a/d read v im a) b) adc t1 c r r d i c mcu v im d max < p mot(max) / ( u d x i mot ) duty cycle d max i mot u d1 < u d2 u d1 u d2 i motor (a) 0 25 50 75 100 125 0 100 200 300 400 500 024681012 v motor (v) power (w) v motor power
application note 6/9 ? some fast transistor protection. the mcu cannot generally assume that the protection is present, because its reaction time is slower (12 m s typ.) than required response time (less than 1 m s). with its own protection the transistor immunity is increased. short circuit, overvoltage and overtemperature protection are the most important types of protection for good functional safety. conclusion the design presented proposes a kit microcontroller plus igbt that meets all requirements for controlling a permanent magnet dc motor in home appliances or industrial applications. this kit reduces the components count on the board because the microcontroller can integrate in one package all the functions of interface and motor control. the mcu + igbt becomes a flexible and adaptable solution for power control. the switching transistor can be changed, and therefore the motor power, up to about 4 kw. the motor control software can be modified (speed regulation, current compensation) to include other functions (bus interfacing, heating, power supply control). references i) microcontroller and triac on 120/ 230v mains an392/a, p. rabier and l. perier (sgs- thomson microelectronics). ii) design with microcontrollers in noisy environment an435, l. perier (sgs-thomson microelectronics). iii) from standard to intelligent mosfet an516, m. bildgen (sgs-thomson microelectronics). iv) versatile and cost effective induction motor drive with digital three phase generation an424, b. maurice, j.m. bourgeois, b. saby (sgs-thomson microelectronics).
7/9 application note criteria ac universal motor permanent magnet dc motor driver single triac rectifier bridge+ chopper simple transistor driver speed range (rpm) 1000 > 25000 100 > 25000 speed control runaway if no load closed loop speed regulation is necessary if large torque variation torque capability a t high, but needs control loop natural nominal torque low speed motor efficiency 40-50% 60-70% motor losses 50hz copper and iron losses no excitation losses driver losses lower (triac) higher (rectifier + chopper) noise higher 100hz torque ripple, motor control reduces torque ripple, brushes commutation inaudible switching frequency brushes commutation. magnetization sensitive to iron saturation overcurrent and overtemperature can demagnetize permanent magnets basic diagram m m appendix 1. comparison of ac universal motor and permanent magnet dc motor.
application note 8/9 d4 5.1v c7 47n c4 200uf vcc 11 vss 12 pb0 1 pb1 2 tst/vpp 3 pb2 4 pb3 5 pb4 6 pb5 7 pb6/tim21 8 pb7/tim20 9 xtal 20 extal 21 nres 22 ckout 23 pc1/tim1 27 pa0 10 pa1 13 pa2 14 pa3 15 pa4 16 pa5 17 pa6 18 pa7 19 pc4 24 pc3 25 pc2 26 pc0 28 u1 st6265 t4 bc327 r20 2.2k d3 13v p4 p3 p2 d6 4x3a/600v c1 100u250v c8 100nf d5 byt08pi400 r2 270k c3 100uf r19 15k c9 27pf c10 27pf r9 10k x1 8mhz r12 3.9k r13 3.9k d7 led d8 led sw1 sw2 r7 100 r1 6.8k r16 1k d2 1n4148 c6 1nf t1 bc337 t2 2n2222a d1 1n4148 r5 22k r6 47k r4 4.7k t3 stgp10n50 r15 8.2k r3 220 c5 100nf d10 byt01-400 r10 0.22/3w p1 f1 3a r11 0.47/2w r18 4.7k/2w r17 4.7k/2w appendix 2. complete diagram of the permanent magnet dc motor drive with st6265 microcontroller, stgp10n50 igbt transistor and stta806di diode.
9/9 application note information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from i ts use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specification mentioned in this publication are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectron ics products are not authorized for use as critical components in life support devices or systems without express written approval of stmic roelectronics. the st logo is a trademark of stmicroelectronics ? 1999 stmicroelectronics - printed in italy - all rights reserved stmicroelectronics group of companies australia - brazil - china - finland - france - germany - hong kong - india - italy - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - u.s.a. http://www.st.com


▲Up To Search▲   

 
Price & Availability of AN660

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