Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: PRT-Alpha prox. sensors

  1. #1
    Join Date
    Jan 2004
    Location
    , South Jordan Utah
    Posts
    1,693

    Default PRT-Alpha prox. sensors

    Last Friday evening, after Shopbot was closed, I started having intermittent problems with my X-axis proximity sensor. I had some BALLUFF BES M12Mi-NSC40B-SO4C proximity sensors on hand, but they required 24VDC. The PRS-Alpha uses 24V sensors and feeds directly to input #2 and input #3, but without schematics and without being able to ask someone whether my PRT-Alpha had the same input circuitry, I decided to replace both sensors and to build a small interface board using opto-couplers to isolate the 24V from the 5V logic. At the same time, I added a 74LS08 AND chip so that input #3 would have only one device connected to it.

    The BALLUFF sensors are rated for a distance of 4mm. With feeler gauges, I set the distance to 2.5mm. The higher voltage sensors are dead-on repeatable. Using a digital dial indicator, there is NO variation in the sensing location.

    I'm attaching a schematic of the interface board (hand soldered on a 2" X 3" Radio-Shack proto board).


    36643.jpg

  2. #2
    Join Date
    Mar 2007
    Posts
    27

    Default

    What?

  3. #3
    Join Date
    Oct 2000
    Location
    Atlanta GA
    Posts
    1,499

    Default

    I think what you just heard was the sound of Mike's electrical engineering knowledge going right over my head....

  4. #4
    Join Date
    Apr 2007
    Location
    Marquette, MI
    Posts
    3,388

    Default

    Mike...
    As you state the PRSa uses a 24V prox sensor. Do you think that the higher Sn spec is responsible for increased accuracy,the higher voltage sensor, or is it due to the opto/electro isolation of the sensors?

    Did you keep the OEM PRT NPN NO configuration?

    Reason I ask is I have added 2 NPN NO Sn=1 sensors to my Z & A upper travel (in parallel) and sometimes get inconsistant results.

    Thanks for your time.
    Gary

  5. #5
    Join Date
    Jan 2004
    Location
    , South Jordan Utah
    Posts
    1,693

    Default

    Gary,

    My PRT-Alpha used 12V proximity sensors on a 5V circuit (at least the data sheet showed that the sensors were rated 12V). To make them work reliably, I had to grind the heads of the target bolts flat (a tip that Brady W. posted). The two sensors were also connected directly to the same input port (#3).

    Because the original configuration worked and was repeatable within 0.003 inch, I never closely examined the circuit. However, when my X-axis sensor started to act up, I decided to change things.

    A basic rule of thumb is that any input should have one and only one connection (fan-in). However, a single output can drive more than one input (fan-out). I decided to add the 7408 AND chip so that I only had one output going to the #3 input. (Many process control computers use the same design as Shopbot, so the design is accepted, just not optimum. With transistor logic, it us usually reliable.)

    I stayed with NPN (sinking) logic and I used sensors that are NO (normally open). Shopbot uses NC (normally closed) sensors on the PRS machines. NC is better, but they are not available off-the-shelf from my normal supplier.

    The opto-isolation's function is to allow a 24VDC device to connect to a 5VDC circuit. The opto-isolators actually slow down the signal slightly (propagation delay). However, compared to the original sensors, the BALLUF sensors have a high SN (signal to noise) ratio. With the 2K resistor in the circuit, the BALLUF draws about 10mA through the internal LED of the opto-isolator. That means that the opto-isolator's photo-transistor is getting sufficient signal to operate properly.

    Finally, each opto-isolator feeds a separate input on the 7408 chip. That keeps the output transistors on the opto-isolators from fighting each other.

    The 7408 chip has eight inputs, so you could still use that one chip to handle at least four sensors.

    I just noticed that I didn't give the values of the resistors on the schematic. R1 and R2 are 2K, 1/2-watt, R3, R4, R5, and R6 are 4.7K, 1/4-watt. Resistors in the range of 1.5K to 3K would work in place of the 2K resistors and resistors in the range of 2.2K to 10K should work properly in place of the 4.7K resistors.

    One thing that I always try to do with proximity sensors is to use extended range sensors (4mm) instead of standard range sensors (2mm). By doing that, I can set the distance between the sensor and the target in the 2mm to 3mm range and still get and excellent signal without the worry of crashing a sensor into the target.

  6. #6
    Join Date
    Jan 2004
    Location
    iBILD Solutions - Southern NJ
    Posts
    7,986

    Default

    I think what Mike is saying essentially is...the 12v sensors, if used at their rated 12v, are more reliable than using the same sensors @ 5v. Opto-isolation helps to buffer the signals coming in & cuts down on false triggers caused by voltage spikes (usually static electricity) - I'm pretty sure his electronic 'black box' filters out a lot of the noise issues, and improves signal strength and operating range of the sensor itself, since a 12v sensor used @ 5v has less usable range than if it is supplied it's as-designed 12 volts.

    Rather than listing parts and schematics to woodworkers, perhaps an assembled kit would be more appealing to those that want better accuracy & repeatability with their proxy switches? Just a thought...

    -B

  7. #7
    Join Date
    Jun 2006
    Location
    So-Cal Teardrops, Upland California
    Posts
    205

    Default

    I had some 7408 chips with my PB&J today for lunch


    Mike, very good info. Cached and filed into my "do when I get time" folder.

    Thanks,

    Gabe

  8. #8
    Join Date
    Apr 2007
    Location
    Marquette, MI
    Posts
    3,388

    Default

    Mike...
    Thanks for the info. I checked today and actually had the prox about .080 gap from the trigger bolt. Thats a little fat for a 1mm sensor.

    I used the NO config so that I could parallel 2 on 1 input, as I am getting low. (Still jonesing for the new board!)

    We have virtually eliminated all eroneous stop hits with the shielded cables to the gantry. I was looking to possibly get rid of the last few with your isolator board. Thanks again.
    Gary

  9. #9
    Join Date
    May 2006
    Location
    , South Daytona Florida
    Posts
    408

    Default

    Gosh, I get all nostalgic hearing all this electron-pusher lingo. Reminds me of my wasted youth in the business back in California.

  10. #10
    Join Date
    Jan 2004
    Location
    , South Jordan Utah
    Posts
    1,693

    Default

    Brady,

    I just sent an order off to have a few prototype printed circuit boards made for the PRT-Alpha machines. The boards will have separate connections for up to five proximity sensors. After isolation and gating, the interface board will output one signal that can be connected to Input #3 (or other input [1 - 8], if desired).

    If there's sufficient interest (at least twelve units), I'll assemble some kits.

Similar Threads

  1. Prox sensors not soing there job
    By twelchPTM in forum ShopBotter Message Board
    Replies: 7
    Last Post: 07-24-2013, 10:12 PM
  2. PNP Proximity Sensors
    By wingnut in forum ShopBotter Message Board
    Replies: 5
    Last Post: 05-30-2011, 12:30 PM
  3. Prox sensors for Z
    By bstern in forum ShopBotter Message Board
    Replies: 8
    Last Post: 03-10-2009, 10:53 AM
  4. Do I need prox switches with Alpha?
    By stargategfx in forum Archives2004
    Replies: 1
    Last Post: 12-08-2004, 06:24 AM
  5. Setting X and Y zero with Prox Sensors
    By sagreen83 in forum Archives 2004
    Replies: 48
    Last Post: 08-31-2004, 07:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •