. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    I didn't get time to look at the noise today but did manage to trace the input circuit for the cheap BOB. Picture below.
    -
    The inputs each feed one gate of a 74HC14D hex (that's six in one package) inverting Schmitt trigger. Exactly the technology I would have chosen for such an application myself!
    There's a 10K pull-up resistor on the input and a 100pF capacitor to add a (very) little filtering.
    Most interestingly, there's also an 1K resistor between the PCB header input and the screw terminals. This means that, when pulled low by an external circuit, using the screw terminals will leave the input to the trigger at about 0.4V higher than using the header connection. Since the low threshold for the trigger can be as low as 0.9V (typical value is around 1.3V with a 5V supply) this makes a big difference to how the circuit will behave, especially if you're not using a mechanical microswitch which provides a solid connection to ground.
    -
    Having just changed from microswitches to proximity switches with an isolating diode as well it's no wonder I'm having problems. The circuit below shows how I have the sensors wired into the BOB using a 1N4148 diode to isolate the 5V input from the 12V or 24V supply to the sensors.
    The saturated output voltage of the sensor when triggered is about 0.3V. Add the usual 0.6V we see across a forward biased diode and that leaves 0.9V. BUT the current flow of about 0.4mA from the 5V supply through the 1K resistor lifts the input to the gate to 1.3V. This is right on the edge of the gate's lower threshold. All 4 sensors worked fine with a 12V supply before I fired up the spindle but very little noise is required to trigger a spurious trip. With a 24V supply the saturated output of the sensors rose less than 0.1V but this is enough not to trigger the inputs at all, even with no spindle noise.
    -
    Next move will be to connect the inputs to the PCB headers and see if the extra 0.4V of headroom clears the problem. I don't always get spurious trips so this might be enough.
    -
    I'm going to order a reel of 4-core screened cable from RS anyway, cut the tails off the sensors and wire them back to the connector panel without any other junctions.
    -
    What the diagram does not show is that I have 1uF capacitors across the screw terminal inputs for additional filtering. This was necessary to avoid spurious trips with the microswitches. These will also need to be moved to the PCB headers.
    -
    Click image for larger version. 

Name:	Sensor.jpg 
Views:	5513 
Size:	73.5 KB 
ID:	27695

    Click image for larger version. 

Name:	Cheap BOB.jpg 
Views:	5468 
Size:	64.6 KB 
ID:	27692
    Last edited by Kitwn; 01-04-2020 at 03:48 PM.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Limit switch problem
    By ECCO in forum General Electronics
    Replies: 7
    Last Post: 25-12-2015, 11:28 AM
  2. Which Type of Limit Switch
    By manofgresley in forum General Electronics
    Replies: 52
    Last Post: 29-07-2014, 03:43 PM
  3. Limit switch issues?!?
    By jonbabbz in forum General Electronics
    Replies: 10
    Last Post: 06-02-2014, 07:37 PM
  4. One limit switch per axis
    By EddyCurrent in forum General Electronics
    Replies: 17
    Last Post: 30-09-2013, 11:38 AM
  5. Limit switch Cable ...
    By Wobblybootie in forum General Electronics
    Replies: 3
    Last Post: 17-01-2011, 04:37 PM

Bookmarks

Posting Permissions

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