Thread: Inductive Limit Switch problem
Threaded View
-
03-04-2020 #9
Well this has been an interesting day! I think the moral has to be: If you've got the test gear, use it!!
I did some quick mods in line with previous suggestions but to no avail. I was soooooo confident as well.
I finally got the oscilloscope out and looked at the noise on the limit switch inputs to the board. Clean as a whistle until I enabled the motors. Then there are short bursts of a surprisingly sinusoidal 6MHz waveform. Same on the 5V power rail. Same on the 5V ground rail!! I thought all the earthing was OK, Could be better, but OK. Clearly the wiring to the sensors needs to be completely replaced. At the moment it's modded from what was there for the microswitches. Obviously not good enough.
Problem is at that frequency a 20cm length of earth wire is too long. I measured 400mV (peak-peak) across the two ends of a wire les than that length from the chassis to the 5V ground connection on the board. The real killer comes from switching on the mains to the VFD. There's a transient on the Z sensor input that goes from 4.5V to below zero. It only lasts about a tenth of a microsecond but that's long enough. Obviously I'm not switching the VFD mains on and off while the machine is in use but it indicates there's a problem in need of fixing.
I did take a squillion screen grabs of the waveforms to show off with but the fact is that the controller needs to be rebuilt with more care taken over the earthing and the sensor cabling needs to be replaced with a separate, unbroken screened cable from each sensor (existing unscreened cables cut short as advised earlier). I suspect some of the wiring and existing filtering attempts are ringing and I doubt that even the most expensive new control board could be relied upon to work faultlessly in this electrical environment, so I'll stick to my well used $20 unit for now, as well as the old computer and parallel interface. Perhaps a complete new machine will materialise once I've retired. Whenever that turns out be now that the world has turned upside down.
I now have to wait for RS to deliver the goodies required for the improvements so will have to try being patient for a few days. Maybe I should try designing that low cost DIY optical fibre interface that would allow the motor drivers to sit next to the motors and no long wires through the machine except power rails. Well we must keep the old brain busy during these long spells stuck at home. Does anyone know if the professionals have moved to fibre connections for motor controllers and/or limit switches? It would solve a lot of problems.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