CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-18-2010, 11:12 AM
 
Join Date: Apr 2010
Location: China
Posts: 4
yervatn is on a distinguished road
Totem pole output to drive a motor

Hi,

I'm trying to use the following circuit to driver my motor (currently LEDs), but it seems the transistors just can't work in saturation mode.

Inputs (IN1 and IN2) are from MCU (maximum 8mA each port), 3.3V. Transistors are MMBT3904.

Would somebody please tell me what's wrong with this circuit? Or suggest an alternative?

Thanks and best regards,
yervant
Attached Thumbnails
Click image for larger version

Name:	Untitled.png‎
Views:	93
Size:	24.3 KB
ID:	105447  
Reply With Quote

  #2   Ban this user!
Old 04-18-2010, 09:16 PM
 
Join Date: Apr 2010
Location: USA
Posts: 2
DaveSNH is on a distinguished road

Can you send or post the attachment in a format that can be printed? Then I'll do the bias calculations for you and see if the transistors are in saturation.

What is the current and voltage of the motor you are trying to drive? 2N3904s are pretty light duty for most motor applications.
Reply With Quote

  #3   Ban this user!
Old 04-18-2010, 10:36 PM
 
Join Date: Oct 2008
Location: US
Posts: 115
bharbour is on a distinguished road

The top two transistors won't saturate, they are running in emitter follower mode. The highest that the emitter of the top two transistors could be in an unloaded condition is 3.3-0.6V or 2.7 Volts. If you were trying to pull 100mA out of them (not much for a motor), it would drop down to around 1.2 Volts from the base current dragging down the voltage through the 1.5K resistor (assuming a current gain of 100 which is worst case for those transistors as I remember).

The lower transistors will saturate at low current. If TK1 turns on, the voltage at the base of Tk3 will be about 0.6V. You are dropping some voltage across the CE junction of TK1 and the 1K resistor to ground gets some of the current, so use Ib3max = ((3.3 - (0.2 + 0.6)) / 1500) - (0.6/1000) = 1.7mA - 0.6mA = 1.1mA.
Using 100 as the current gain again, TK3 will pull out of saturation around 1.1mA * 100 or about 110 mA.

At 100mA for a motor load again, the high side would be about 1.2 volts and the low side would probably rise to 0.6 volts, giving you about 0.6 volts across the motor. Not much.

Also, you need to add current limiting resistors between your driver circuit and the bases of TK1 and TK6. Those two points will not rise much above 1.2 volts (Vbe1 + Vbe3). If your driver can output 3.3V at 8mA, RB1 = (3.3 - 1.2) / 0.008 = 263 ohms or 270 for the nearest 5% value.

You also need to add protection diodes to protect the transistors from the inductive spikes form the motor. Connect one diode with the anode on the emitter of TK3 and the cathode on the collector of TK3. Connect another diode with the anode on the emitter of TK2 and the cathode on the collector of TK2. Repeat with two more diode for TK4 and TK5. These diodes will prevent the motor voltage from rising above or below ground when the transistors switch.

Connecting the top of the 1.5K resistor to +5V instead of +3.3V will help, it should buy you more output swing. If you re-designed it to use a PNP and an NPN as output transistors, and changed it to run completely off 5V, you might get 4.6 volts across the motor at low current.

Good Luck,
BobH
Reply With Quote

  #4   Ban this user!
Old 04-20-2010, 08:16 AM
 
Join Date: Apr 2010
Location: China
Posts: 4
yervatn is on a distinguished road

@DaveSNH,
Yes, 3904 is a little light duty for 'most' motor applications (maximum Ic is about 200mA), but it just suits mine. Thanks anyway.

@BobH,
Your calculations helped me a lot in finding problems in this circuit. Thanks! Your suggestion on protection diodes is appreciated, too.


I did try some other parameters to this circuit, and try to add more transistors to make it work. Finally I gave up, for now. I'm just new to electronics and it's way too complicated for me to implement an H bridge driver. I think I'll do it later.

Anyway, I choose to use a mosfet driver IC, TC4426 from Microchip, to do the job. Since my little gadget works at 5V and draws about 50mA, I think I don't need any more MOSFET to drive it. The spec says power dissipation is 470mW for SOIC package, and Ro is 10 ohm maximum, so the output current is limited to about 216mA, which suffices my application. However, there's one concern. Can I use this IC to continuously drive my gadget?

Another question about driving a MOSFET from MCU I/O:
I know it doesn't make sense by connecting the I/O directly to the gate, but why? What's the point to add a series resistor? Doesn't the MCU output have its limit?

Cheers,
yervant
Reply With Quote

  #5   Ban this user!
Old 04-20-2010, 07:40 PM
 
Join Date: Oct 2008
Location: US
Posts: 115
bharbour is on a distinguished road

Hi Yervant,
It is hard to answer whether that chip can drive your motor long term without more information. If your steady state current is 50 mA, your power dissipation in an H bridge with 10 ohm RDSon will be 2 x (0.050 ^2) x 10 = 0.050W.

If something stalls the motor, your current will likely be much higher. This is typically where motor drivers get into trouble.

Another considerations is the current required to start a motor can be around 5X the run current. Your driver needs to be able to supply that current.

A resistor is used between the gate driver and the gate on a FET for two reasons. It slows down the switching of the FET, which reduces radiated interference and large inductive spikes. Also, it helps prevent the FET from oscillating during and after the switching.

If you are driving n-channel FETs from a logic output, make sure that the source terminal on the FET is grounded and that your FET is a "sensitive gate" device. Normal n-channel FETs need to have the gate brought about 10V above the source terminal to switch on fully. A "sensitive gate" device will work with 5V or so. If your FET's source terminal is not grounded, there are parts called high side gate drivers that will translate logic levels to higher voltages. If a FET does not turn on fully, it may have much higher resistance and dissipate a lot more power, leading to loss of smoke.

BobH
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-24-2010, 07:33 AM
 
Join Date: Apr 2010
Location: China
Posts: 4
yervatn is on a distinguished road

bobH, thank you for the explanations.

The spec of TC4426 says its peak output current is 1.5A, so I think it's OK. Anyway, I'll find out as long as I get the chip.

Best regards,
yervant
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A Totem Pole gate driver for Mosfets EMMKAY General Electronics Discussion 10 04-28-2007 12:45 AM
totem-pole driver packard1 Stepper Motors and Drives 1 04-22-2007 10:47 PM
output module for ktk drive PRIOR666 Bridgeport and Hardinge Mills 0 01-29-2007 12:47 PM
shaded pole motor copper3416 General Electronics Discussion 4 12-04-2005 10:37 PM
Driving a 4 pole ac servo with a 6 pole drive TommyB Servo Motors and Drives 4 04-28-2005 01:17 PM




All times are GMT -5. The time now is 06:40 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361