3
© 2001 Microchip Technology Inc. DS00807A-page 1 AN42 Low-Cost DC Motor Speed Control with CMOS ICs FIGURE 1: 12VDC speed control and current limit. Author: Scott Sangster, Microchip Technology, Inc. INTRODUCTION Two low-cost CMOS ICs manage a 12 VDC, current-limited speed control circuit for DC brush motors. The circuit design (see Figure 1) uses PWM (pulse width modulation) to chop the effective input voltage to the motor. Use of CMOS devices gives the benefits of low power, minimal heat and improved longevity. The overall design is simple, inexpensive and reliable, and is useful in applica- tions such as embedded DC motor control where efficiency, economy and performance are essential. CIRCUIT CONCEPT A CMOS update of the popular bipolar-555 timer device is used because it draws much lower operating currents and thus runs cooler and lasts longer in typical operating environments. By adjusting the wiper of the speed-control potentiometer, output-signal duty cycle, or pulse width, can be varied from 2% to 98%. Operating frequency is fixed at 20kHz, to remain in the inaudible range. Two signals are generated: the PWM signal, and a direction signal (high = forward, low = reverse). These signals become inputs to the TC4469, a CMOS Quad MOSFET driver. Its logic inputs allow proper output chopping and commutation. OUTPUTS Four outputs drive a MOSFET H-bridge, to provide rapid motor- speed changes and motor-direction reversal. The lower rail power MOSFETs are N-channel devices, the upper MOSFETs are P- channel. All four are driven directly by the TC4469. In the lower rail devices, a small series resistor helps prevent gate oscillation and slows transition time, helping the upper device to stay "OFF." For motor voltages over 12VDC, a resistor divider and low-cost level shift transistor can be added easily and economically to maintain a 15VDC gate drive for the upper rail MOSFETs. Since the ICM7555 and TC4469 need negligible current, a simple linear regulator can power them from the positive motor supply when it is above 15VDC. Zener diodes can be used to help protect the gates from supply transients. Gate-to-source capacitors help keep the upper MOSFETs "OFF" when the lower MOSFET in the same leg turns "ON," causing a high dV/dT. Keeping the upper MOSFET gate drive impedance low in the "OFF" state will also help. A sense resistor in the ground leg of the H-bridge provides an easy way to sense motor current, pulse by pulse, regardless of forward or reverse motor rotation. This signal is filtered and applied to the ICM7555 to inhibit PWM generation if motor current exceeds the allowed value. CONCLUSIONS This flexible, inexpensive circuit eliminates costly PWM devices and complex floating upper rail drives, while still delivering efficient motor control and protection. 9 4 13 12 6 3 1 5 8 10 11 TC4469 0.01µF 7 2 Direction 100kSpeed 1k+12V 7 3 6 5 2 1 4 ICM7555 820pF 1N4148 47472200pF 2N3904 0.047µF 220µF 0.1µF 1k0.01µF 1k0.01µF Servo Motor 1k0.1810k+12V 1k1k8 14 + 1N4148

AN042 - Low-Cost DC Motor Speed Control with CMOS ICs.pdf

Embed Size (px)

Citation preview

Page 1: AN042 - Low-Cost DC Motor Speed Control with CMOS ICs.pdf

© 2001 Microchip Technology Inc. DS00807A-page 1

AN42Low-Cost DC Motor Speed Control with CMOS ICs

FIGURE 1: 12VDC speed control and current limit.

Author: Scott Sangster,Microchip Technology, Inc.

INTRODUCTIONTwo low-cost CMOS ICs manage a 12 VDC, current-limited speedcontrol circuit for DC brush motors. The circuit design (seeFigure 1) uses PWM (pulse width modulation) to chop the effectiveinput voltage to the motor. Use of CMOS devices gives the benefitsof low power, minimal heat and improved longevity. The overalldesign is simple, inexpensive and reliable, and is useful in applica-tions such as embedded DC motor control where efficiency,economy and performance are essential.

CIRCUIT CONCEPTA CMOS update of the popular bipolar-555 timer device is usedbecause it draws much lower operating currents and thus runs coolerand lasts longer in typical operating environments. By adjusting thewiper of the speed-control potentiometer, output-signal duty cycle, orpulse width, can be varied from 2% to 98%. Operating frequency isfixed at 20kHz, to remain in the inaudible range.

Two signals are generated: the PWM signal, and a direction signal(high = forward, low = reverse). These signals become inputs to theTC4469, a CMOS Quad MOSFET driver. Its logic inputs allowproper output chopping and commutation.

OUTPUTSFour outputs drive a MOSFET H-bridge, to provide rapid motor-speed changes and motor-direction reversal. The lower rail powerMOSFETs are N-channel devices, the upper MOSFETs are P-channel. All four are driven directly by the TC4469.

In the lower rail devices, a small series resistor helps prevent gateoscillation and slows transition time, helping the upper device tostay "OFF." For motor voltages over 12VDC, a resistor divider andlow-cost level shift transistor can be added easily and economicallyto maintain a 15VDC gate drive for the upper rail MOSFETs. Sincethe ICM7555 and TC4469 need negligible current, a simple linearregulator can power them from the positive motor supply when it isabove 15VDC. Zener diodes can be used to help protect the gatesfrom supply transients. Gate-to-source capacitors help keep theupper MOSFETs "OFF" when the lower MOSFET in the same legturns "ON," causing a high dV/dT. Keeping the upper MOSFETgate drive impedance low in the "OFF" state will also help.

A sense resistor in the ground leg of the H-bridge provides an easyway to sense motor current, pulse by pulse, regardless of forwardor reverse motor rotation. This signal is filtered and applied to theICM7555 to inhibit PWM generation if motor current exceeds theallowed value.

CONCLUSIONSThis flexible, inexpensive circuit eliminates costly PWM devicesand complex floating upper rail drives, while still delivering efficientmotor control and protection.

94

13126

31

58

1011

TC4469

0.01µF7 2

Direction

100kΩ Speed

1kΩ

+12V

7

36

52

1 4

ICM7555

820pF

1N4148 47Ω

47Ω

2200pF2N3904

0.047µF

220µF 0.1µF 1kΩ 0.01µF 1kΩ0.01µF

Servo Motor

1kΩ

0.18Ω

10kΩ

+12V

1kΩ

1kΩ

814

+

1N4148

Page 2: AN042 - Low-Cost DC Motor Speed Control with CMOS ICs.pdf

DS00807A-page 2 2001 Microchip Technology Inc

AN42

Information contained in this publication regarding deviceapplications and the like is intended through suggestion onlyand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.No representation or warranty is given and no liability isassumed by Microchip Technology Incorporated with respectto the accuracy or use of such information, or infringement ofpatents or other intellectual property rights arising from suchuse or otherwise. Use of Microchip’s products as critical com-ponents in life support systems is not authorized except withexpress written approval by Microchip. No licenses are con-veyed, implicitly or otherwise, under any intellectual propertyrights.

Trademarks

The Microchip name and logo, the Microchip logo, PIC, PICmicro,PICMASTER, PICSTART, PRO MATE, KEELOQ, SEEVAL,MPLAB and The Embedded Control Solutions Company are reg-istered trademarks of Microchip Technology Incorporated in theU.S.A. and other countries.

Total Endurance, ICSP, In-Circuit Serial Programming, Filter-Lab, MXDEV, microID, FlexROM, fuzzyLAB, MPASM,MPLINK, MPLIB, PICC, PICDEM, PICDEM.net, ICEPIC,Migratable Memory, FanSense, ECONOMONITOR, SelectMode and microPort are trademarks of Microchip TechnologyIncorporated in the U.S.A.

Serialized Quick Term Programming (SQTP) is a service markof Microchip Technology Incorporated in the U.S.A.

All other trademarks mentioned herein are property of theirrespective companies.

© 2001, Microchip Technology Incorporated, Printed in theU.S.A., All Rights Reserved.

Printed on recycled paper.

Microchip received QS-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999. The Company’s quality system processes and procedures are QS-9000 compliant for its PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs and microperipheral products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001 certified.

Page 3: AN042 - Low-Cost DC Motor Speed Control with CMOS ICs.pdf

Microchip Technology Inc. DS00807A - page 3

!"#"$%&&'( &))***+#"'"#&"'+

!

$%,-#.' $%#/ !

0'1#,*2%# #,3$%#%#4 !

56#$%#7' - !

8#-#(''92' '+##%+5'*.' '"' - !

:#".' $%#;";5 !

,'6#$%# #'4 !

*':#,:"$%#-#+#(%,<1 !

##<77#"%# #,0'*1#,*2$%# +#,'1#-; !

='>+$%#;# !

-'':9*2$%#1%&&%,0? !

-#"'"#&"'',2;"0' #$$%#$3' !

!0'+6#$%#-##%,<#'5=4 !

-#"'"#&"'',2%#:25 $%#.*'$@&&#,0$%# !

"-#"'"#& "'',2 '%#, A$,#B'5 #C#,5##'<77#"8##1## ,0''2,+# C##C#,0'# !

#-#"'"#& "'',2 '%#, A$,#B'5 , %5##'<77#".+ ''-#,4#, #"#'*0';68$, %# !

$%

-#"'"#& "'',2 '%#, A$,#B'5 %D'%5##'<77#".+0'%# #, %C# '#, 1'%#.' %D'%# !

-#"'"#& "'',2 '%#, A$,#B'5 .''+ , @;#':D0'4#4#.' $,# !

%

-#"'"#& "'',2 '%#, A$,#B'5 $D5##'<77#".+) $D>2.+#5%$D# !

-#"'"#&"'',21',9',5 8#'*-'&D1#, ',.' >*# ',01',>', !

&#-#"'"#&"'',2;"; #5##'<77#"6#2+( ''#,A)B0'<E$%,2.' ,'; # !

-#"'"#&"'',23&>>!$ $#2'9'+>''9%>%?'9'+#>,*3&

!

'-#"'"#&"'',2>'?'%,(' , ''$+%,6',>,+>%$'%>' !

-#"'"#&"'',2$#,&':5 -# .' F:#+$#,&' !

!-#"'"#&"'',2#* 0'%,1%0'.' #&##* !

(-#"'"#&"'',26+9&$.,%%#5%%&'C%&6>6+9 !

$#D'-#"'"#&"'',2$.5:" E"## %-'%# -2.% %$%&%#+@,-2 " !

)(#D'-#"'"#&"'',2/+(1/%1#+.#,6-%#"/+2 !

)(5'"+$6-## /+2 !

&#D'-#"'"#&"'',2$.5'6#D#'''#:DD'%%=5''#,#D-#;2 !

*#'#(#D'-#"'"#&"'',25 @9 .' ##,'9#,+9#@, ./8 !