I have a CNC mill, built from a kit. It uses servos and single-ended optical encoders. When it was originally built, the encoder data streamed over 25 feet of telephone cord -- all 28-gauge wire. My problem was a combination of attenuation, noise from an industrial environment, and signal quality. Quite a challenge. At first, the mill could not even cut simple circles, much less more complex patterns. Electrical noise in the room was inducing false signals on the line.
If noise were the issue, I would block it. For the 3-axis mill I had three long antennas going to each motor -- a bundle consisting of the motor power cables and the encoder data lines. First, I separated the power from the data lines. I changed the encoder line cables to a heavier gauge, shielded, twisted pair wire. I put test leads onto one of the mill's longest motor cables. Immediately, I could see a 60Hz waveform, which could only be the AC supply line. I moved the mill away from all AC lines and a higher frequency wave showed up. That ended up being the compact florescent lights, so I switched all the lights to incandescent and shortened the motor leads. At each stage, I was conducting test cuts with the mill. Failed every time. Now, when the mill's spindle motor was on, chaotic waveforms blasted the room. I tried everything, but I could not suppress them. I was at my wits' end. Instead of working with the retrofit kit, I was ready to sell it all on eBay and get a turnkey system.
I decided to try one more option. I considered conditioning the signal from both the motor driver and motor ends. In other words, filtering out the noise digitally. While embarking on my latest effort in data communication in a high-noise environment, I came across US Digital's Differential Cable Drivers & Receivers. In particular, I found the EA-D-L-10. It is a differential RS-422 cable driver that converts the single-ended A/B/I output from USD's single-ended incremental encoders (or any three TTL level digital signals) to three pairs of differential signals. They claim this allows the encoder to drive long cables (six feet to 1,000 feet) and reduces false switching in noisy environments. At only $12 dollars each, I bought some EA-D series modules and gave it a try. I really wanted to save my CNC mill from eBay.
I installed them as shown in the figure. It was a simple installation, almost plug-and-play. Both the transmitter and receiver required voltage between 4.5V and 5.5V. Piggybacking on the motor's optical encoder 5V supply for the differential pair, the circuit was complete. Like a miracle, my first test circular cut was perfect. After several more perfect cuts, the mill was finally in operation. For $30 dollars, I was able to save thousands. The turnkey mill I was going to buy -- one to match the specs of my retrofit -- would have cost me an additional $2,000.
Tell us your experience in solving a knotty engineering problem. Send stories to Rob Spiegel for Sherlock Ohms.
I am most interested in to what kind of milling machine this kit is connected. What changes did you have to make to the mill? Is it still capable of manual operation? You gave the cost of a turnkey kit, but how did that compare to new CNC mill? Did you do this just for the satisfaction or was it to increase productivity? Does it have 3D capability?
Shielding of signal leads is the way that I always start an installation. Also, in many instances, running an isolated ground connection for the sensor in the same cable as the sensor signal and power lines. While the standard practice for grounding shields is often the best choice, sometimes grounding the shield at a different point is the cure. My instructions have always been to carry the shield ungrounded until the signal conditioning input is reached, and if there is a problem I will ground it someplace else. That method avoids rework and allows the most flexability in grounding.
Note that these were custom designed and built production testing machines used in industrial factory enviroments. Sometimes the electrical noise could be read on an analog multimeter.
Cabe is busy making parts on his mill with his $12 solution, and everybody is arguing about how to properly shield something.
Why shield? The machine is running, the solution was much cheaper than purchasing wire that may or may not actually solve the problem. I have observed noise from spindle and servo drives that all the shielding, ferrite, and line reactors in the world was not able to solve.
Good job, Cabe. I think your solution is excellent, and appropriate.
Not knowing the particular construction of the motor you refer to - I would assume that the shield connection at the motor end is just continuing the shield connection through to parts on the motor not directly connected to electrical ground. This would keep the noise (pwm is really noisy..) from the motor cables from getting to the encoder/resolver wires in a parallel cable.
I should have been more specific - I was talking about the power cable for a motor. Quoting from one drive manufacturer's installation manual:
The Shield terminal provides a grounding point for the motor cable shield. It must be connected to an earth ground by a separate continuous lead. The motor cable shield should be connected to this terminal on the drive (drive end) and the motor frame (motor end). Use a shield terminating or EMI clamp to connect shield to this terminal.
Motor power cables are the only time I would do this; I would be curious if this might have eliminated the positioning motor and the spindle motor radiated noise.
Single ended encoders will work just fine. Plasma machines with 5V single ended encoders and proper shielding and machine grounding will work just fine. Because of the arc involved in Plasma cutting poor machine grounding can induce pulses in the various electrical circuits and cause damage. And grounding is at times a black art... Machines that run fine in one location with minimal attention to grounding practice won't function in another area without special grounding practice.
If you connect a shield at both ends it becomes a ground wire and can cause even more problems if and when there are gound currents. The purpose of a shield is to block and blead off any external electromagnetic garbage, not to act as a possible conductor. There should be a dedicated ground wire in the motor harness.
Another important thing to consider is GROUND LOOPS. If you have multiple ground paths on a machine you have the potential for different currents to flow in the various ground wires/paths. Then your grounds are no longer at the same reference and wierd and wonderful things can happen like solid state components turning on and off seemingly at random.
Just wondered if you considered using a 4-20-mA current loop in place of the voltage signals. Current loops are not susceptible to electrical noise that can scramble voltage signals. Avago Technologies has 8-pin DIP optically coupled 20-mA transmitters and receivers that simplify current-loop circuits and provide isolation, too. Texas Instruments has at least one 20-mA transmitter.
I have driven a teletypewriter (circa 1978) with a 20-mA current loop over almost a quarter of a mile of wire. Granted, at 110 baud. But in short-distance wires, you can get a high data rate.
From Dell / Intel® New Paradigms in Design Work Scott Hamilton, vertical market strategist for Dell Precision workstations, 5/2/2013 5
Early in my career, I worked as a draftsman and remember the days of drawing on vellum with numbered pencils and Mylar with plastic lead. This was a fun experience in the sense that I ...
I've been using workstations for more than 10 years and love finding ways to get more performance from my system. With demanding professional applications that require more power each ...
A lasting memory from my first job as an engineer in an auto assembly plant is standing on hard concrete at six in the morning, vending-machine coffee clutched in hand, listening to ...
A quick look into the merger of two powerhouse 3D printing OEMs and the new leader in rapid prototyping solutions, Stratasys. The industrial revolution is now led by 3D printing and engineers are given the opportunity to fully maximize their design capabilities, reduce their time-to-market and functionally test prototypes cheaper, faster and easier. Bruce Bradshaw, Director of Marketing in North America, will explore the large product offering and variety of materials that will help CAD designers articulate their product design with actual, physical prototypes. This broadcast will dive deep into technical information including application specific stories from real world customers and their experiences with 3D printing. 3D Printing is
To save this item to your list of favorite Design News content so you can find it later in your Profile page, click the "Save It" button next to the item.
If you found this interesting or useful, please use the links to the services below to share it with other readers. You will need a free account with each service to share an item via that service.