EECS 373 Presentation DC motor with H-bridge Team: Bowen Xu, Chenyu Yi, Yitian Chen 1
Dec 14, 2015
2
How to drive a motor
• Two functions– Rotate reversely by reverse the voltage (Appendix I)– Speed increases with voltage applied
• LEGO 2838, without load:
M+ -
http://www.philohome.com/motors/motorcomp.htm
3
All in one – H bridge
• Integrating the following functions:– Capable of driving the motor in both directions
(Appendix II)– Control the speed (explain later)
• What’s more? – Brake(Appendix III)– Free wheeling(Appendix IV)
4
Control the speed using PWM
• Can we use analog?– …Yes… But too complex– We prefer digital (Appendix V)
• Can we connect PWM output pins on MCU with motor?– No!– The motor won’t move– Or magic smoke comes out!
• PWM signal acts as “switch manager”(Appendix VI)– Manage big voltage source with small voltage source– Get different AVERAGE voltage with different duty cycle
13
Before we start
• Scenario– Use RS-540 to drive a model car– The rated voltage: 7.2V– Current for normal speed: 3A
• 2 Problems– Is MC33886 capable?• Bear 7.2V?• Supply sufficient current?
– How to connect the pins
14
For problem 1: Properties of MC33886
• Output voltage and current:– Vpwr: 5 to 12V– Max current: 5.2A
• Other information– PWM input frequency no higher than 10kHz
15
PWM1
PWM2
Vpwr
GND
OUT1
OUT2ENABLE
12345
67
For problem 2: Pin descriptions
General Chip we have MC33886(get from data sheet)
16
RS-540
7.2V
MCU
PWM1PWM2
01
GNDCcp
D2D1IN2IN1
FS
OUT1
OUT2
Vpwr
30nF
Connect MC33886 with MCU and motor
RS-540MCU
PWM1PWM2
01
GNDCcp
D2D1IN2IN1
FS
OUT1
OUT2
Vpwr7.2V
GNDCcp
D2D1IN2IN1
FS
OUT1
OUT2
VpwrDual H-bridge
to get greater power!
6.03 dollar each(www.findchips.com)
5.2A
5.2A
10.4A
27
Appendix VIIMC33886 Data sheet:
Back
http://www.freescale.com/files/analog/doc/data_sheet/MC33886.pdf
28
Appendix VIIIMC33886 Data sheet, pin descriptions
Back
http://www.freescale.com/files/analog/doc/data_sheet/MC33886.pdf