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 08-16-2005, 08:43 AM
 
Join Date: Sep 2004
Location: Portugal
Posts: 6
Codeman is on a distinguished road
Help choosing sense resistor for H bridge

Hi,
I'm trying to build a H bridge, MOSFET based. I have some IRF530 transistors and IR2104 half bridge drivers around, so I planning in use them. I want to implement current limiting using a classic design. Sense resitor from mosfets to ground and a comparator. I need current from 1A to 6/7 Amps max.

My question is about the value of the sense resistor. I believe this is related to the reference voltage (for the comparator) ,the voltage drop, and the dissipated power on the resistor. I know that the reference voltages are usually low (under 2 volts) and the resistor value are also low (from 0.05 ohm to 0,1 ohm).

Can somebody with more experience give some advice ?

Thanks in advance

Joaquim
Reply With Quote

  #2   Ban this user!
Old 08-16-2005, 09:43 AM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

hello:
you have to pic a current that u think you need as the comparitor will output if its inputs are either higher or lower than the referance exactly.
maybe use lightbulbs for now, a 100w bulb is approx 10 ohms (easy calculations ) use 2 , 4 bulbs whatever, this way u can calculate the current you are drawing.
put a sensing resistor say 0.1 ohms or so in series and measure the voltage across it, or mathimatically calculate it( perhaps both to see how close things are.
use a resistor dividing network, or a zener diode (better) as your voltage refference.
get it as close to the volts across the dropping resistor as possible.
if the comparitor has an inverted output you can use this to drive the gate of a pass mosfet, as it will always be high when the comparitors input is not matched and the fet will conduct.
add and subtract a few lightbulbs to adjust the current to prove your circuit before hooking it to the h-bridge. Bingo .... it should work .... good luck
i did the same type of thing in my 1988 dodge minivan and saved buying the $600 SMEC (single modular electronic controller).(current to the altermator)
Reply With Quote

  #3   Ban this user!
Old 08-16-2005, 10:36 AM
 
Join Date: Aug 2004
Location: US
Posts: 2,786
ViperTX is on a distinguished road

Well...let's step back a bit....pick a sense resistor that has a value much lower then the resistance that your FETs have when they are on rds. Otherwise you can plan on dissipating a bunch of heat and use up some of your valueable current....you could use it to keep your coffee warm.

Once you figure out the resistor value you can figure out the voltage versus current line. You can then setup a voltage comparator...or you may need to boost your voltage prior to the comparator (if the voltage is too low)....of course you could just feed it into a ADC....so, many options (you mentioned classical).
Reply With Quote

  #4   Ban this user!
Old 08-16-2005, 11:41 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050816-1140 EST USA

Codeman:

The sense resistor should have a value of R = V / I . The value of V is the trigger point of the comparator. I is the peak current at which you want the switch to turn off. If V = 1 v and I = 1 amp, then R = 1 ohm. At steady state of 1 v and 1 a this is 1 watt dissipation in this sense resistor. For 7 amps at 1 v R = 1/7 = 0.143 ohms. Steady state dissipation is 7 watts.

Hopefully you use a lower threshold voltage. If you used 0.2 v for the threshold, then at 7 a the power dissipation is 1.4 watts. This would be 0.029 ohms.

To use a low threshold will require good circuit design to eliminate noise.

Note: the resistance of a tungsten filament lamp is very sensistive to voltage. For example, a 90 watt bulb I checked had 11.6 ohms at 0 v, 66 ohms at 10 v, 95 ohms at 20 v, 115 ohms at 30 v, 190 ohms at 120 v. It was only dissipating 75.8 watts at 120 v.

Because of this high positive temperature coefficient of resistance Hewlett and Packard used a small incandescent tungsten lamp in their original audio oscillator to stablize the output amplitude.

.
Reply With Quote

  #5   Ban this user!
Old 08-16-2005, 11:54 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Sense resistor values depend on many things, but fundamentally they need to be large enough in value to overcome other circuit influences. Wiring method, comparitor or amplifier and residual electrical noise. A .05 ohm resistor at 5 A will generate 250mv sense voltage, reasonable level for a comparitor but not as forgiving on noise. But it's more suseptable to wiring IR drop error, layout is critical and at 1A there is only 50mv generated, noise becomes a huge enemy. Even at .2 ohm layout is critical, but voltage generated is higher. Bottom line, make it as large in value as you can handle power dissipation, while still having minimum effect in relationship to coil resistance.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-16-2005, 01:06 PM
 
Join Date: Aug 2004
Location: US
Posts: 2,786
ViperTX is on a distinguished road

Boy, if he ain't confused by now....you can also use a current sense transformer.
Reply With Quote

  #7   Ban this user!
Old 08-16-2005, 01:25 PM
 
Join Date: Sep 2004
Location: Portugal
Posts: 6
Codeman is on a distinguished road

Thanks for all the response guys

I think I will use a 0.05 ohm 1% resistor
0,35V @ 7A 2,45 Watt
0.05V @ 1A 0.05 Watt
Then feed a TLC372 comparator (an enhanced version of the LM393) that is very stable. I think it will handle the 50mV without problems. If not I can allways use a preamp to boost the voltage before the comparator.

Wath do you think ?
Reply With Quote

  #8   Ban this user!
Old 08-16-2005, 02:10 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050816-1410 EST USA

Codeman:

See if you can get a 4 terminal resistor at your 0.05 value. Put a differential amplifier immeadiately adjacent to the resistor fed from the two voltage terminals. Everything extremely short and tight to minimize the inductive loop area at the resistor and amplifier input. Now you can easily go to a 5 v threshold detector. Keep the threshold detector close to the differential amplifier.

A simple current sense transformer will not work in a dc circuit. It may extract some portion of an ac signal superimposed on a dc signal, but that is not what you want. Generally has a bandwidth problem.

A Hall device would work, but has drift problems. It may have bandwidth problems depending on the circuitry around it. Hall devices in a null balance system reduce the drift problem, but are generally very limited in bandwidth.

A resistor still appears to be the best and least expensive approach.

A four terminal resistor is built like a four terminal shunt.

One source of four terminal resistors is Vishay type CPSL.

.
Reply With Quote

  #9   Ban this user!
Old 08-16-2005, 02:26 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

there are a lot of current monitors out there now, depending on your app. voltage the
enhanced lt1787 can go up to60 volts and is quite linear (lol) and only requires a small current resistor, i have used this chip many times and it works real well for me.solder it to an eight pin dip socket for easy handleing.
Reply With Quote

  #10   Ban this user!
Old 08-16-2005, 04:24 PM
 
Join Date: Sep 2004
Location: Portugal
Posts: 6
Codeman is on a distinguished road

Diff-amplifiers are a good choice. Current monitors to. Well they are basically diff-amplifiers with some logic. I will look in to it. Good idea the 4 terminal resistors. I'm not shure about the CPSL series however... These are wire wound resistors therefore inductive. I heard that we must use non-inductive resistors fot this kind of application....
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-16-2005, 06:13 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Codeman,
You may find the .05 ohm a challenge, keep us advised of your results.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #12   Ban this user!
Old 08-16-2005, 09:27 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050816-2125 EST USA

Codeman:

Look at the Vishay site as they have a number of different 4 terminal resistors. Yes the CPSL is listed as wire wound, but classified as low inductance. Usually a low inductance wire wound is done via a looped back winding. In other words start with a long "hair pin" and wrap this around a core.

In these resistance ranges you may actually be dealing with a straight solid wire with the two voltage taps attached near the ends.

Once I had to make a shunt for a high current circuit breaker test. We used 10 car batteries in series as the voltage source. Then thru welding cable and this shunt we shorted directly across the breaker. My recollection is that we were in the range of 1000 to 10,000 amperes peak current.

The shunt was home made from a bar of resistance material about 10 inches long. A coaxial cable connected the scope to the bar. Initially I had a very large spike at T=0. This was not expected because of the inductance of the cables, and did not correlated with the circuit and T+ measured current.

The problem was in my instrumentation because of the 1 turn loop formed in connecting to the shunt. By taking the center conductor of the coax and laying it as tight as possible to the shunt bar I was able reduce the area of the 1 turn loop so that there was insignificant induced voltage in the 1 turn coil from the magnetic field of the high current in the shunt.

It would have been better to have a tube for the resistance bar and the coax center conductor run thru the center of the tube. Then the current generated magnetic field would have been totally canceled.

Even if there is a small initial spike at turn on you may be able to work with a low pass filter at the differential amplifier input, or make the differential amplifier a low pass filter. Maybe a resetable integrator would be useful.

.
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





All times are GMT -5. The time now is 10:32 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