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 09-23-2008, 04:10 AM
 
Join Date: Jan 2007
Location: Slovenia
Posts: 71
visky is on a distinguished road
Question optobreakout board design help needed

Hello!

I am designing optobreakout board .
On the outputs i will have 5Volts on the led diode.
For the inputs i will have 25.5Volts on the led diode.
I don't understand what exactly mean reverse voltage in the datasheet for quad optocouplers. But they are low,up to 5Volts max.

Can i use those optocouplers? and how to wire anode and catode with 25.5Votls?

For output i will have 5V on anode and catode to ground.

What about for inputs:

1option

25.5Volts/2.5mA on anode and catode to ground.

2option

5Volts on anode and catode 25.5Volts/2.5mA ->GND (on/off)
Attached Files
File Type: pdf ILQ74.pdf‎ (89.2 KB, 42 views)
File Type: pdf TLP504A-2.pdf‎ (228.6 KB, 32 views)
Reply With Quote

  #2   Ban this user!
Old 09-23-2008, 06:19 AM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Hmmm, where to start... not knowing how much electronics you know it is hard to know...

Lets start with basics... LEDs are just like other diodes. When there is sufficient voltage across the LED of more than 'Vf' volts, typically 1.3v or so, the LED comes on and forward current 'If' flows.. To operate an LED from a supply voltage Vs the current must be limited by a series resistor which can be calculated as (Vs - Vf)/If However the situation driving out from a parallel port isn't so simple as a parallel port doesn't put out 5v. In practice it puts out typically 3.3v at a relatively low current. It is usual therefore to use the parallel port output to drive the LED on when it in the LOW state and power the LED from an external 5v supply (taken from a USB port or game port, from a spare hard disc connector or use an external 5v wall-wart supply with an isolated output). The other advantage of doing this is to keep the logic polarity the same (LOW in = LOW out)

So what value to use for 'If'? well the recommended If is 16mA for best switching times as that guarantees to saturate the output transistor under all conditions but you can go lower if you know what collector current you plan to use. The transistor needs a collector load resistor to a supply voltage common to the system being driven (typically 5 -> 12v). The load resistor is calculated from the supply volts Vs and the saturated output transistor voltage (0.4v) and the collector current, say 5mA. For a 12v supply the resistor would be (12 - 0.4)/.005 = 2320ohm (use 2k2), for a 5v supply its (5 - 0.4)/.005 = 920ohm (use 910R or 1k). At 5mA collector current the LED forward current needs to be at least 8mA to saturate the transistor.

So we can calculate the LED resistor as (5 - 1.3)/.008 = 462ohm (use 390ohm).

For the input side the LED resistor is calculated in the same way (25.5 - 1.3)/.008 = 3025ohm (use 2k7). You can use the 1k collector resistor as before on the port side.

The LED reverse voltage is the maximum voltage the LED can stand before it breaks down and starts conducting and potentially destroying itself. Since your circuit is all DC and never going to put reverse voltages on the LEDs you don't need to worry about this.

The only other issue is that the devices you have selected are relatively low speed. At the values given above your maximum step rate will be around 15000steps/sec which is probably OK for most purposes. Most commercial Opto-breakout boards use HCPL2630 devices for the outputs and the lower speed devices for the inputs.

Hope this helps
Attached Thumbnails
Click image for larger version

Name:	optoboard.jpg‎
Views:	101
Size:	41.5 KB
ID:	66899  

Last edited by irving2008; 09-23-2008 at 06:50 AM.
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
Breakout board design published Xerxes Granite Devices 11 05-29-2008 03:41 PM
L297-l298 stepper board design watchman Stepper Motors and Drives 1 03-29-2007 09:00 AM
Help needed design vladas Mechanical Calculations/Engineering Design 5 01-02-2007 08:40 PM
Comments needed for this design...thx! andyew DIY-CNC Router Table Machines 12 08-31-2004 03:59 PM
Circuit-board, design software. ynneb General Electronics Discussion 123 08-02-2004 04:40 PM




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