Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 25th March 2008, 05:49 PM   (permalink)
Default Industrial I/O question

I would like to implement some 24V I/O via a pic. I am having trouble deciding what type of protection is best. I have used standard 4n27 opto's with 1.3 Vf and 60mA If. This works with a 390 ohm input resistor, but what if the input voltage jumps up to say around 45V. I would like the input to come on between 18 and 45V, with 22-30 being normal and anything above 45 would be considered out of the design criteria for the system. So, with 45V, I get a 820 ohm resistor with a 3 W capability needed which even if i knew where to get one, would get very hot. Is there an easy way to do this??? what happens if I put a zener between the input and ground, say a 27V one. Would a TVS work also, ( I could then account for a reversed Input).. Thanks for any Ideas.
jnnewton is offline  
Old 25th March 2008, 06:21 PM   (permalink)
Default

There's no easy way to reduce the power if you need 60mA to drive the 4N27.

You might try a lower current opto coupler such as a Fairchild HSR312. It only requires 2mA input current which would lower your maximum power to less than 0.2W (using a 11K ohm resistor to give ~2mA @ 24V).
crutschow is online now  
Old 25th March 2008, 10:50 PM   (permalink)
Default

We use LM339/LM393 Comparators for inputs with 10K/100K input resistors to limit current in the case of overvoltage. There is no earthly reason why your inputs should ever be above the specified range.

For outputs we use current limited high side and low side bipolar switches. MJD340/MJD350 work well for this application.

Using opto-isolators introduces another set of reliability problems that you just don't need unless you have a really good reson for needing isolation. BTW most people who think they need it can't really justify it. It's kinda like IBM. Nobody ever got fired for buying IBM even when there were better alternatives
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Old 26th March 2008, 12:48 AM   (permalink)
Default

Certainly if the 24V ground is common with the pic circuit common you don't need an opto isolator. However, if you're in an industrial environment where you may want to keep the grounds isolated, then an opto isolator may be needed.
crutschow is online now  
Old 26th March 2008, 01:00 AM   (permalink)
Default

Why would you use 60ma. That's the "absolute maximum" Ifwd for the 4N27.
http://www.fairchildsemi.com/ds/4N/4N27-M.pdf
And it has a current transfer ratio of only 10%. Why not choose a better opto? What's the current requirement on the output side?

Ken
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline  
Old 26th March 2008, 01:13 AM   (permalink)
Default

KMoffett has a good point. For example the 4N35/36/37 has a forward transfer ratio of about 0.5 at 1mA input which would thus switch 0.5mA at the output. This would give a 5V swing with a 10K ohm resistor connected to 5V which should be adequate for the pic input.
crutschow is online now  
Old 26th March 2008, 12:49 PM   (permalink)
Default

Quote:
Originally Posted by crutschow
Certainly if the 24V ground is common with the pic circuit common you don't need an opto isolator. However, if you're in an industrial environment where you may want to keep the grounds isolated, then an opto isolator may be needed.
True enough, but just because the environment is "industrial" does not mean that isolation is "required".

It is also the case that the CTR(current transfer ratio) will degrade with age. You can anticipate a future time when the opto will fail to work acceptably without some careful component choices.
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Capacitor Charge/Discharge question ThermalRunaway General Electronics Chat 25 12th August 2008 05:48 PM
Super I/O for next kit, getting the most out of a single I/O pin blueroomelectronics Micro Controllers 33 24th February 2008 05:49 PM
Basic Transmission question CamNuge General Electronics Chat 2 8th March 2006 11:08 PM
High speed data logging question cubdh23 Micro Controllers 3 19th August 2004 12:54 PM
Data Logging question with high speed!!!! cubdh23 General Electronics Chat 4 16th August 2004 07:33 PM



All times are GMT. The time now is 05:24 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker