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 12-29-2010, 11:19 AM
 
Join Date: May 2008
Location: USA
Posts: 146
MattTheNoob is on a distinguished road
Need help with a current detection circuit

Ok electrical gurus!

I'm setting up my trunion table (heavy, German), and the limit switches on it have me stumped. They are 2 wire, and the signal is <1mA off, and >3mA on. So the 8Vdc + and - get hooked to the two leads and I need some way to detect that tiny current and get it out to a relay contact that I can use.

The other useful part is a marking that says Ri=1K Ohm.
Reply With Quote

  #2   Ban this user!
Old 12-29-2010, 11:36 AM
 
Join Date: Jan 2006
Location: USA
Posts: 1,764
keebler303 is on a distinguished road

I doubt you have limit switches with a current output. Where are you measuring this current? Do you have a picture of the switch? I think you might not be connecting it correctly, which is giving you funny results. Post up some more details.

Matt
Reply With Quote

  #3   Ban this user!
Old 12-29-2010, 12:31 PM
 
Join Date: May 2008
Location: USA
Posts: 146
MattTheNoob is on a distinguished road

I would doubt me too. The switch is a Pepperl+Fuchs 83/2022X. Metal, threaded barrel about 3/4" long and 3/16" dia (smallest prox I've ever seen), with potted cable. Only two wires, blue and brown. On the cable is printed "8V-" and BN+ and BU-.

I tried measuring voltage in series (thinking that it might be a mag switch)... nothing, read the same voltage with or without proximity to target.

Then I did some Google-Fu, and while I couldn't find a spec sheet for the switch itself, I did find it as an option in a flow control valve. If you follow the link and search for 2022x, you'll find the specs...

Inductive limit switches,
Proximity switches SJ 3.5 SN, CENELEC intrinsically safe,
EEx ia IIC T6, PTB No. Ex-83/2022X,
Limits freely adjustable between 0 and 100 % of stroke,
Current circuit to DIN 19234 with 8 V DC control voltage
Control current < 1 mA = logical “0“
Control current > 3 mA = logical “1“

http://www05.abb.com/global/scot/scot211.nsf/veritydisplay/8a255238f1aa2d2dc12574cc0038b263/$File/13_832se.pdf

So, I hooked it up in series with my amp meter, and sure enough got the current change with proximity.
Reply With Quote

  #4  
Old 12-29-2010, 01:30 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?

Generally two wire prox switches are used principally with a low current level logic input to I/O logic devices such as PLC's.
If you want to switch a relay, a 3 wire type with transistor output is usually recommended.
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

  #5   Ban this user!
Old 12-29-2010, 01:41 PM
 
Join Date: Jan 2006
Location: USA
Posts: 1,764
keebler303 is on a distinguished road

That is strange, I have never seen a switch like that.

Do you know about Ohm's Law? I think you need to put a resistor in series with the switch and measure the voltage drop across the resistor. That voltage drop can be fed into an op amp comparator which will give you a 5V logic level output based on the state of the switch. Do a little more google-fu and you should end up with a working circuit for about $1.

Matt
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-29-2010, 01:43 PM
 
Join Date: May 2008
Location: USA
Posts: 146
MattTheNoob is on a distinguished road

No doubt, and I'd buy something along those lines if I were to start from scratch. That being said, I know there must be a way to cobble a few transistors and optocouplers together to get me where I want to go.

(I only picked those two parts because that's what I needed to build my gecko monitor circuit which was similar... having to detect the 5v without pulling any current.)
Reply With Quote

  #7  
Old 12-29-2010, 02:36 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?

For 2 wire examples Check out post #252 here.
http://www.cnczone.com/forums/open_s...e_easy-21.html
There many 2 wire that will go up to 100ma, did you try and see if it will support a current burden of ~50ma by trying a 160ohm resistor in series as suggested and check the volt drop across the res? If it does then you could sub the res for a relay.
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

  #8   Ban this user!
Old 12-29-2010, 03:31 PM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road
Possible circuit...

Here's one possible solution that uses minimal components...

This wont drive a relay direct (why do you need to drive one?) but its easily adapted...
Attached Thumbnails
Click image for larger version

Name:	proximity.gif‎
Views:	43
Size:	31.3 KB
ID:	122406  
__________________
If you're in Europe why not come and visit the UK CNC Community at http://www.mycncuk.com
Reply With Quote

  #9   Ban this user!
Old 12-29-2010, 03:34 PM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Originally Posted by Al_The_Man View Post
For 2 wire examples Check out post #252 here.
http://www.cnczone.com/forums/open_s...e_easy-21.html
There many 2 wire that will go up to 100ma, did you try and see if it will support a current burden of ~50ma by trying a 160ohm resistor in series as suggested and check the volt drop across the res? If it does then you could sub the res for a relay.
Al.
It'll fry if you do... I've seen those ones before, the internal chip won't handle it...
__________________
If you're in Europe why not come and visit the UK CNC Community at http://www.mycncuk.com
Reply With Quote

  #10   Ban this user!
Old 12-29-2010, 04:35 PM
 
Join Date: May 2008
Location: USA
Posts: 146
MattTheNoob is on a distinguished road

COOL!

Now on that graphic, the resistors are shown as 1k0 and 4k7. Are those supposed to be 10k and 47k? Also, a quick check of my electronics store (Ebay) shows 74C14J's, N's, and D's. Do I worry about that?
Reply With Quote

Sponsored Links
  #11  
Old 12-29-2010, 04:54 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 irving2008 View Post
It'll fry if you do... I've seen those ones before, the internal chip won't handle it...
Do you have the spec sheet on it? It would help in making an informed decision.
The Pepper & Fuchs catalog I have, most of the low voltage two wire go up to 100ma rating.
I don't see much point in them using such a low rated one in that application?
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

  #12   Ban this user!
Old 12-29-2010, 05:30 PM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Originally Posted by MattTheNoob View Post
COOL!

Now on that graphic, the resistors are shown as 1k0 and 4k7. Are those supposed to be 10k and 47k? Also, a quick check of my electronics store (Ebay) shows 74C14J's, N's, and D's. Do I worry about that?
They are 1k and 4.7k, that is the international standard way of showing resistances avoiding the issue of different decimal seperators (some countries outside the US use commas instead of decimal points)

The J, N, D usually designate different packaging and temperature standards... N i think is the one you'd probably want - normal 0 - 85degC plastic DIP package, but check.
__________________
If you're in Europe why not come and visit the UK CNC Community at http://www.mycncuk.com
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
Problem- Low Current interface, High Current Motor? Clackvalve General Electronics Discussion 15 05-13-2010 12:42 PM
Need Help!- Current limit circuit help fahque99 General Electronics Discussion 16 01-24-2010 12:44 AM
Need Help!- I found the contradiction of the PWM method constant current circuit. apollonono Stepper Motors and Drives 1 05-03-2009 12:45 AM
Simple Current Limiting Chopper Circuit??? fairorgan Stepper Motors and Drives 1 01-20-2007 11:06 AM
need high current regulator circuit tekno General Electronics Discussion 38 05-22-2006 08:00 PM




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