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 07-11-2005, 12:42 PM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road
Need a breakout board that can supply 25ma

I'm using a CNC4PC breakout board now and it seems very nice, except that it cannot supply more than about 6ma for the TTL signal. The problem is that I'm interfacing with a servo amp (Emerson FX455) that requires 25ma on the pulse/direction signal lines!

Looking over the schematic for the Emerson controller, it uses the TTL input to power opto-isolators directly. So I am guessing it needs the 25ma to light the internal LED in the opto-isolator.

Anyway, are there boards readily available that can supply 25ma?

If not, how would I modify this board to get the 25ma? I only need it on 2 outputs, step/direction.

All help will be greatly appreciated..
Reply With Quote

  #2   Ban this user!
Old 07-11-2005, 06:52 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050711-1852 EST USA

damae:

Take a look at the 2N700 with input protection and capable of being driven from TTL. Vishay/Silconix 2N700KL. This is a preferred one but not stock at Mouser.com.

Use mouser.com to access the data sheet. Key in 2N7000KL, then select datasheet.

Another option is a bipolar transistor type 2N4400. This would require maybe a 2.2 k resistor to the base from the input.

.
Reply With Quote

  #3   Ban this user!
Old 07-11-2005, 08:35 PM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road

Originally Posted by gar
050711-1852 EST USA
Take a look at the 2N700 with input protection and capable of being driven from TTL. Vishay/Silconix 2N700KL. ...
Thanks for the tip. I downloaded the spec sheet and will try to find something equivalent at digikey or somewhere that stocks it.

I'm really rusty with electronics, so I guess it's back to school for me. I don't know how to calcuate the resistor value I'd need. Does this resistor, the 2.2k that you suggest, limit the current to 25ma? Or is it for some other purpose?

Thanks!
Reply With Quote

  #4   Ban this user!
Old 07-11-2005, 08:40 PM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road

Someone just suggested to me to use a TTL buffer IC. Any thoughts as to if that will work?
Reply With Quote

  #5   Ban this user!
Old 07-11-2005, 08:54 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050711-2040 EST USA

damae:

For the 2N4400 I sort of pulled 2.2 k out of the hat. For a TTL gate output you should be somewhat over 2 v out for hi without additional pullup, and you are maybe .7 on the 2N4400 base at saturation of the collector. These are a guess without checking. So you can approach 1 ma into the base. If we assume a minimum beta of 100, then you can easilly drive a 25 ma load. You could go to 1 k for the base drive with no problem.

Note you will have a phase inversion from your current output to the 2N4400 unless you use a pullup resistor to the load and shunt the load with the 2N4400 output.

You could use a Fairchild 2N7000 and these are readily available, but I do not believe these have the input protection and reversed biased output diode that the Siliconix 2N7000KJ has. Same phase inversion problem. This might also be solved in your software.

.
Reply With Quote

Sponsored Links
  #6  
Old 07-11-2005, 09:10 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by damae
Someone just suggested to me to use a TTL buffer IC. Any thoughts as to if that will work?
If you have to buffer more than a couple of TTL outputs, a compact way is by the ULN2003 high voltage, high current darlington inverter, there is 7 in the one IC.
BTW the National DS2003 may be more readily available.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 07-11-2005 at 09:35 PM.
Reply With Quote

  #7   Ban this user!
Old 07-11-2005, 10:34 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

with driver chips like the uln2003, you can parallel the drivers to increase the current even more.
each buffer can supply half an amp , so all the drivers paralleled
0.5 amps x 7 , not bad !
your controller will only draw as much current as it needs and there maybe some current loose due to your wire as well,
Reply With Quote

  #8   Ban this user!
Old 07-12-2005, 01:15 AM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road

Originally Posted by gar
050711-2040 EST USA
For a TTL gate output you should be somewhat over 2 v out for hi without additional pullup, and you are maybe .7 on the 2N4400 base at saturation of the collector. These are a guess without checking.
.
I measured 5.1v out of the breakout board when the signal is hi. Are you saying I need to drop that to around 0.7v at the mosfet's base? Sorry if my questions seem uneducated (and I know only enough to know that they must sound dumb) but I really am a neophyte when it comes to electronics. It's been a long time since I learned this stuff in school. But I am determined to learn enough to be dangerous again. =)

Originally Posted by gar
So you can approach 1 ma into the base. If we assume a minimum beta of 100, then you can easilly drive a 25 ma load. You could go to 1 k for the base drive with no problem.
.
So the beta is the factor that determines how many times more current output the collector can handle compared to the input at the base?

Originally Posted by gar
Note you will have a phase inversion from your current output to the 2N4400 unless you use a pullup resistor to the load and shunt the load with the 2N4400 output.
.
Does this mean that when the TTL signal is hi (at the base) then no current will flow through the 2N4400?

Originally Posted by gar
You could use a Fairchild 2N7000 and these are readily available, but I do not believe these have the input protection and reversed biased output diode that the Siliconix 2N7000KJ has. Same phase inversion problem. This might also be solved in your software.
.
I am using TurboCNC right now, just to generate a pulse to turn the motors. (that's my first objective). There is an option to set active = hi or low for both step and direction outputs. I hope this would solve the inversion problem.
Reply With Quote

  #9   Ban this user!
Old 07-12-2005, 01:16 AM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road

Originally Posted by smarbaga
with driver chips like the uln2003, you can parallel the drivers to increase the current even more.
each buffer can supply half an amp , so all the drivers paralleled
0.5 amps x 7 , not bad !
your controller will only draw as much current as it needs and there maybe some current loose due to your wire as well,
Wow, 500ma! Just one chip should be enough to supply the current I need...
Reply With Quote

  #10   Ban this user!
Old 07-12-2005, 01:40 AM
damae's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 483
damae is on a distinguished road

Originally Posted by Al_The_Man
If you have to buffer more than a couple of TTL outputs, a compact way is by the ULN2003 high voltage, high current darlington inverter, there is 7 in the one IC...
.
The ULN2003 also looks good, more than able to handle the 25ma current I need. So does the 2N4400. However, it looks like the 2N700 is the only one that will have some kind of circuit protection built-in? How neccessary is this?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-12-2005, 07:56 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

050712-0643 EST USA

damae:

At this point you are going to get confused.

The 2N4400 is a bipolar transistor, in other words an original type transistor. This is a current controlled device in contrast to a voltage controlled device which the 2N7000 FET is.

With the 2N4400 the collector current is controlled by the current to the base, and the change in current to the base is small compared the change at the collector. This ratio is the current amplification and is called beta. A normal order of magnitude for beta is 100. With a beta of 100 a change of 1 ma at the base will produce a change at the collector of 100 ma. It is not this simple, but this is the concept.

If I have zero current to the base then I have zero collector current, and therefore no load current. This occurs if the lead to the base is opened, or if the base is connected to the emitter. If a resistor is connected between the base and emitter, then this is part way between an open and a short to the base. In all these cases the base current is zero except internally there is some leakage current to the base, and in your case we assume this to be zero.

If I apply 1 ma to the base then with a beta of 100 I will get anywhere from 0 to 100 ma of collector current depending upon the collector resistance and source voltage. Once I make the collector load resistance low enough that 100 ma flows, then the collector circuit looks like a constant current source of 100 ma. See bipolar transistor data sheets.

By putting a resistor between a source voltage and the transistor base I can control the base current by the applied source voltage. The base to emitter junction has characteristics very similar to a solid state diode. In the forward direction this has a voltage limit in the 1 volt range without destroying the device. In otherwords you can not apply 5 v directly between the base and emitter.

There is more that you need to know in this area, but enough for now.

In your application you would be overdriving the base with more current than is need to just switch the load to 25 ma. In this case you are saturating the transistor, and the load current is primarily controlled by the load resistance.

I made some actual measurements this morning at room temperature on a sample of one device each. In otherwords this experiment in no way indicates a worst case condition.

The source is a 74LS00. Its high output is 3.5 volts with no load. With a 2.49 k load into a 2N4400 base the 3.5 dropped a very small amount. Basically it is still 3.5 v. With the 2N4400 collector open the base voltage was 0.68 v.

With a constant current source of 23 ma to the collector the collector to emitter voltage was 0.1 v and the base voltage changed to 0.75 v.

Next with 90 ma collector current the collector voltage was 0.7 v and the base was 0.77 v. We are not getting good saturation at 90 ma.

If we change the base resistor to 1 k, then the 74LS00 output drops to 3.4 v. At 25 ma collector current its voltage is 0.05 v the base is 0.75 v, and at 87 ma the collector voltage is 0.15 v and the base is 0.8 v. Much better saturation for the 90 ma.

The 2N7000 is a different story.

The other suggestions are good and produce the desired result with fewer loose components. The above comments were to provide you with a little background.

.
Reply With Quote

  #12  
Old 07-12-2005, 08:44 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

The ULN2003 also has diode and output protection if you look at the internal schematic of the IC. By the way both of the options of ULN2003 and 2N7000 are classified as TTL buffers, except that the 2N7000 is a descrete device.
Both invert and are open collector output, which means a high on the input will cause the output to be low or conducting.
The ULN device actually has four different versions if you look at the spec sheet.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
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
Parallel Breakout Board Sanghera General Electronics Discussion 31 03-13-2012 08:06 PM
USB Breakout Board vs. Parallel dwwright Mach Software (ArtSoft software) 3 12-09-2005 01:30 PM
Breakout Board ckirchen Product Announcements & Manufacturer News 11 06-20-2005 11:52 AM
in lieu of a breakout board fly_champ General Electronics Discussion 3 03-01-2005 09:42 PM
breakout board comparison xkbal General Electronics Discussion 10 02-19-2005 08:12 AM




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