Thread: Inductive Limit Switch problem
-
29-03-2020 #1
I've just upgraded from using microswitches as limit/homing switches to LJ12A3-4-Z/BX type inductive proximity sensors. I'm getting some spurious trips from the Z-axis sensor due to interference from the spindle, a Huan Yang 2.2kW water cooled unit fed from a VFD. The spindle and sensor wiring go through the same drag chain for part of the run and I'd like to avoid having to separate them if possible.
One of the symptoms is that the red LEDs on the relevant sensors glow visibly, but very dimly, when the spindle is running. A ferrite ring on the sensor cable makes no difference, neither does a 1uF capacitor between ground and either the +V supply or sensor output.
Has anyone else seen this faint glow before and, if so, how did you fix it?
All help gratefully received.
KitAn 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.
-
29-03-2020 #2
Are the wires from the VFD output to the motor shielded in any way?
-
29-03-2020 #3
I've seen this before when the voltage is close to the minimum 6v. I've also seen it when wired wrong but can't imagine you've done that. Another thing that often happens is the switch can be marked up wrong ie: NPN when should be PNP or NC when NO.
What voltage and breakout board are you using.?
-
29-03-2020 #4
Are you using the cable attached to the sensors? When I was wiring up my machine I noticed that the cable wasn't errrm exactly up to the standards Auntie Beeb would have liked, so extended with screened twisted pair: not had any problems at all, even running the spindle up to 900Hz (12.5KHz carrier)
-
29-03-2020 #5
The VFD cable is screened, earthed at the VFD and connected to the spindle body. Just writing that makes me wonder if there's an earth-loop because of that. Must try removing the spindle from it's bracket.
It all worked fine before I started the spindle! I'm using a basic cheapo Chinese parallel BO with diodes to isolate the 5V on it's inputs from the higher sensor voltages. I originally installed the sensors with 12V and have tried 24V but still get the same slight glow on the LEDs.
I have known issues with the BO inputs not being pulled down far enough by the sensors. I can fix that, it's the slight glow and my inability to fix it with filtering that worries me most at the moment. I was wondering if it was a known issue. If somebody is getting the same symptoms but still has the sensors working reliably I'll be happy.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.
-
29-03-2020 #6
-
29-03-2020 #7
I had very similar problems until I did this.
https://www.youtube.com/watch?v=DJfiOqaeFDg
Simon
-
30-03-2020 #8
Mmmm, just had a thought..... any chance you could post a little pic of the exact arrangement please? The way I'm reading the above, you're using only the bottom 5V of the voltage swing, and hence will only get the noise immunity of a 5V system - having a series resistor or resistive divider would be better. However I may be reading it wrongly!
-
30-03-2020 #9
That will be test one. How many layers of cling-wrap do you think I'd need round the spindle to insulate it from it's bracket if that works?
Interestingly I get the same amount of glow from two sensors. The Y one which goes to a junction box and onto screened cable before joining the VFD cable in the drag chain, and the Z which has the original cable running in a common length of drag chain before being connected into the same (8way) screened cable as the Y.
Voicecoil,
I do take the point about cutting off the original cable short and going screened, I shall probably do that anyway. Possibly with some balanced audio cable if I have enough, it's thinner than the other stuff I have in stock and Auntie would surely approve.
Simon,
I'll have a look at the full video tomorrow, but I've tried winding a few tuns of the cable onto a ferrite ring at the sensor end and adding capacitors as described earlier at the joint into the multicore. Much to my disappointment it made no difference. Next will be to hook up my oscilloscope and look at the noise level with different solutions.
I'm between 12 hour shifts tonight (and very glad to be still working) so it will be Wednesday before much more gets done on this. Thanks for all the input everyone.
PS I have this cunning design for a low cost DIY optical fibre interface that would solve all these problems but I really would like to get the machine upgrades finished right now and actually make something with it!!!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.
-
31-03-2020 #10
Funny how the brain works. There I was, lying in bed reading a book when I suddenly realised what an idiot I was for suggesting screened audio cable for this application. Not enough wires!
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
-
Limit switch problem
By ECCO in forum General ElectronicsReplies: 7Last Post: 25-12-2015, 11:28 AM -
Which Type of Limit Switch
By manofgresley in forum General ElectronicsReplies: 52Last Post: 29-07-2014, 03:43 PM -
Limit switch issues?!?
By jonbabbz in forum General ElectronicsReplies: 10Last Post: 06-02-2014, 07:37 PM -
One limit switch per axis
By EddyCurrent in forum General ElectronicsReplies: 17Last Post: 30-09-2013, 11:38 AM -
Limit switch Cable ...
By Wobblybootie in forum General ElectronicsReplies: 3Last Post: 17-01-2011, 04:37 PM
Bookmarks