585,927 active members*
3,433 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2014
    Posts
    22

    Shielded wires/cables?

    Is there any place in my CNC mill conversion setup where I at least should, or possibly even must, use shielded cables or wires? I know the USB cable that connects my all-in-one control/driver 4-axis board to the computer is already shielded, but what about the wires from the power supply to the board, or from the board to the steppers, or from the limit switches to the board? Naturally if plain wire will work fine I'll go that way since it's cheaper and available locally...

  2. #2
    Join Date
    May 2014
    Posts
    182

    Re: Shielded wires/cables?

    There's a couple rules for cabling and shielding:
    Longer cable runs are more susceptible to interference from noisy signals.
    AC lines, anything with a VFD will cause a lot of noise - I do not think it will be a bad idea to shield the VFD to spindle cable and route it as far away from the Z-axis motor cables as possible. Shielding is mainly to keep noise out, so shielding the stepper motor cables is always a good practice.

    limit switches can be susceptible to noise, OMRON has a good writeup on it:
    https://www.ia.omron.com/support/faq...417/index.html

    I have not experienced noisy signals causing sensor malfunctions in practice, and usually sensor cables are provided without shielding options - test and see kind of thing I guess.


    I just found some shielded cable for cable trays that's pretty cheap... 16AWG 4 wire flexible, cable tray rated - 1.49ft for 0-100' McMaster-Carr
    All the Gauge wires in that series are a bargain actually. Make sure you use the correct gauge size for the distance and the amps you're running.

    Just as a disclaimer - I believe IGUS makes the best insulated/shielded flex rated cables out there, but this other stuff is a bargain. It's cheap enough to justify using it on all your cable runs in my opinion.

    I will be accompanying some large instrumentation out to EMC/EMI testing within a couple months, I will report back anything useful I learn.

  3. #3
    Join Date
    Dec 2003
    Posts
    24221

    Re: Shielded wires/cables?

    What I have always done is shield low level signal cables such as servo/stepper commands, motors I just make sure twisted conductors are used, for VFD's I have never used shielded cable for the the 3 phase, I ensure the conductors are twisted and run out to the machine with metalic liquid seal flexible conduit, never had a problem.
    Grounded all power to a common star point and make sure the machine conforms to equi-potential bonding.
    http://www.automation.siemens.com/do.../emv_r.pdf?p=1
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  4. #4
    Join Date
    Jul 2014
    Posts
    22

    Re: Shielded wires/cables?

    Since all the motors in my machine - the spindle motor and the steppers - are all DC devices - I don't think they qualify as VFD's. There is a device from CNC4PC that is supposed to be able to control DC motors, and I may buy one at some point, but at least as far as I understand the term that still doesn't make it a VFD (it just replaces the rheostat and gives it reverse capability, I think). Have to see how things work without shielding first.

  5. #5
    Join Date
    Dec 2012
    Posts
    199

    Re: Shielded wires/cables?

    Your stepper motors and spindle have a DC supply, However, they are switched on and of in a high rate, and that's causing trouble.
    Switching on and of these high currents are the cause for a lot of interference which you better prevent going into the controller.
    My advise is USE shielded cables to all motors which have switched power.

  6. #6
    Join Date
    Sep 2013
    Posts
    14

    Re: Shielded wires/cables?

    Hi all,
    following your discussion about cables and shielding I feel that shielding allone is only one side of the coin. Along a bad design any shielding may get the problems worse. I confess to be a newbie in mattes of CNC but an experienced engineer. Therefore I want to get you intersted in a proper desing of system ground and connections. Most builders are not aware of this hidden source of peace or war. Whle tearing down a Chinese TB6600 board searching for enhancements I observed enormous lag of knowledge at PCB side and connecting leads.
    The notions being presented here are of general use in any electric system. But as the shared contribution is specifically dedicated to CNC builders those facts are explained for CNC mills.

    The usual notion is that the GND signal is the base of any circuit. The name itself suggests the "GND" to be stable and rock solid. This expectatin is not true. Circuits like motor drivers dealing with power and/or steep edges on power lines suffer on permanent "earth quakes" on power lines - including GND as well. It is only a question of time when your dishes leave the shelf and get broken.
    It is a matter of fact that most of cheap motor drivers suffer on bad design but on bad GND system as well.
    Another surprize for you will be that such circuits own different connected ground systems and they shall be sorted smartly in order to to prevent "broken dishes".

    Please regard in advance that not only + lines suffer on voltage drop! If you measure at distance a drop from e.g. 24V down to 20V the usual notion is that those 4V get lost at + line. That is not true. Given the + and GND lines are of same length and same gauge there are 2V voltage drop at + line and 2V voltage increase at GND line!!!!
    If you transmit a 5V signal from the far end by an extra line to the PSU end - it will measure 7V compared to the GND level there. If you ponder on these facts you easily can imagine ANY strange effect.
    But if you imagine at example above that the GND line is very, very fat and very very short, the GND is reliable and rock solid. If we measure 4V voltage drop we are sure it originates from + line only (or 99% :-) Exactliy this condition is what we want and urgently need to have in our circuits.
    The notions above relate to DC in order to get first understanding. I do not go in detail but at any form af changing voltage and current a wealth of dynamic behaviour surfaces being very difficult to detect the faster the worse.
    The effects mentioned above apply to any form of GND system and the only question is what safe margin do we have before failures. The art of design is to get different currents tamed and guide them to races where they can not disturbe other "parties".

    Attachment 261600

    In order to get a rough idea of waht you will learn, here we can imagine the ground systems as a tree along trunk and branches.

    1.
    The PSU is the trunk and there shall be a central GND point at GND terminal of PSU. It is good practice to distribute power including GND from there in star topology of similar wire length (+ anf GND twisted) to the drivers or other power consumers. Do not connect your motor drivers in chain topology! Therefore such GND points are called "star point" as well.

    2.
    Any connection to protective ground from mains shall be done at GND of PSU. The metal housing shall have exactly ONE connection to protective GND when delivered. Connect a fat wire from protective GND to DC GND. This will be the preferred and only connection where our system will get a reference to Earth. Else the system will float anywhere und react unpredictively.

    3.
    If you want to connect your mill to protective GND do it by an extra fat wire to preferrably the same GND point at PSU GND.
    Of course if the mill has some mains driven appliances added you may comply to regulations and safety and connect the mill to protectve GND - but please use same mains phase (same socket or socket near by).

    4.
    What about motor housings? Imagine your complete electric circuit to be inside a protective glove. The entry point is the Main DC PSU. Conversely the motor housings are outside and will be naturally bolted (= connected) to the mill mechanics while the windings are isolated and belong to the inside of the glove. Same at switches or other add-ons. Do measurements in order to guarantee thet there is no direct connection. Any connection will act as a closed loop, acting as an antenna. Unpredictable currents will occure and lift or drop your GND system like menitoned above. Please note: Any autonomous loop at GND systems is prohibited. All branches shall be connected with exactly ONE path to the trunk (PSU GND point)

    Now let's detect more inside the glove.

    5.
    The power arrives at the driver. Every driver sits inside a finger of the protecting glove. Directly at the terminals we (hopefully) find a low ESR electrolitic capacitor - preferrably acompanied by a 100nF ceramic capacitor. Both act as thort time battery and block non DC current from PSU and power lines. Severe and short timed AC activities happen now locally only.

    We recall that we entered with each driver board into one finger of the glove and now we travel along such a finger.

    6.
    + and GND shall be traced shortest way and with fat traces (much surface) to the power GND of the driver chip. If you have the choice to have GND or + short - decide for GND! in order to pertain GND stability.
    BTW: The capacitor SHALL be connected on the direct poer / GND path. Many poor designs connect it at side stubs. In this case you are left with problems and the capacitor lives a comfortavble and undisturbed life. Every fraction of an inch counts?

    7.
    Where power lines arrive at the driver chip it is good practice to add a 100nF carammic capacitor again. It supports the task of the capacitor mentioned before. But we shall take in account that capacitors will act whithin a certain distance only. It depends on travel speed of electical signals (about 0.8 x speed of light) and frequencies to be blocked. I do not want to go deep in to the matter but please note that we need here an additional capacitor (at TB6600 one for each channel of course). If SMD is difficult to add, then add a wired cap across the correspondig IC pins.

    8.
    Continuing along the finger of the glove we exit now the motor output pins and arrive at the motor windings - well isloated from the outside world.
    Paird wires shall be twisted (e.g. two wires for a motor winding or 3 wires of a switch). If the bulider decides for a cable shield: The shield MUST be unconneced at far end and shall be connected at driver IC GND - as close to the chip as possible. It shall not be common with next signal ground available - bad practice!.

    Here is the end of one finger.
    But this is not the end of the story. Differently from a real glove we anticipate that fingers (maybe aliens ones :-) ) can be forked (like brances of tree) but still well isolated from the outside world.

    9.
    Now we have to regard the control circuitry of the driver. We enter here one side branch of the finger. Drivers usually have different GNDs for: POWER / logic and analog low voltage (3.3V or 5V). (TB6600 -> SGND). This pin is connected iternally to power GND but is in fact the start of the side branch. It is essential to omit ANY current from power circuit to flow here. Such a design does not care of teh PGND moves or not. The control logic will do its job.

    10.
    Notions above are true IF we have NO electrical connection to e.g. the controlling PC. Therefore galvanic separation is essential (usually opto couplers).
    If this condition is not true we earn several implications at same time:
    A: Given we use an Arduino with grbl we have 3 GND loops between all drivers. Any driver current is allowed to path signal grounds as it likes.
    B: Additional ground loop via protective GND (PSU and PC with USB) via drvier GND and signal GND . Of course a lap top PC might have an islolated PSU but still condition A: is true.


    Note:

    * Please regard that some notions presented above are simplified in order to explain basic principles of GND design. No measure has advantages only. The designer needs to know exactly what he does and why, what impacts are. Therefore different approaches are possible and can be successful.
    * If you want to check your build for proper GND design please identfy every GND wire or plane at far end (finger tip of the glove). If you travel back: only ONE (exactly ONE) path to PSU GND ist accepted. Any multipath choice may be detrimental and explain your problems.
    * The plurality of requirements presented is not easy to fulfill. Any use of a two layer PCB is a drawback and requirements need to be negotiated thoroughly. Some thoroughly crafted free hand designs on bread boards might be superiour compared to poor 2 layer PCBs. There is no real reason to not design with 4 layer PCBs. Usually the inner layers are dedicated to GND and + while the outer layers are dedicated to components and their signals. A GND plane is a very stable GND and these inner layers often replace the necessity of 100nF at every chip (please still use them!).
    Additonally the GND connection of any leg will enable the GND current to take the direct and shortest way to the respective GND (e.g. SGND). Nevertheless keep the power area and signal area seprated and connect the planes at power pins of the driver.

  7. #7
    Join Date
    Dec 2003
    Posts
    24221

    Re: Shielded wires/cables?

    The Siemens link I provided earlier pretty much sums it up, especially when carrying out equi-potential bonding.
    When this is done it is recommended now that both ends of the shield are connected, (per Ch6).
    Al.
    Attached Thumbnails Attached Thumbnails GroundObjects.jpg  
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  8. #8
    Join Date
    Jul 2014
    Posts
    22

    Re: Shielded wires/cables?

    Goodness, it's a lot more complicated than I had thought! My mill project is temporarily on hold until I can get the necessary hardware - it's been on order though the shop I work for, but it's been back-ordered for a while. That's okay, because in the meanwhile I built a Mendel90 3d printer. Now THAT has ZERO shielded cables, but rather relies on having leads twisted together to minimize cross-talk, and yet I have had no discernible trouble with skipping steps or anything like that. The Melzi controller board is not shielded, either, but is mounted directly to the printer.

  9. #9
    Join Date
    May 2014
    Posts
    182

    Re: Shielded wires/cables?

    Electromagnetic Compatibility, Prac - Download Schneider Electric

    I was sent that by an electrical engineer on my project - that is a great guide and gives a lot of insight, shielding recommendations. Even talks about cable track runs etc. Give that a read and I think you'll gain some clarity.

    I pulled out a few pages regarding cabling type and signal classes that apply to your conundrum and attached them in the PDF

  10. #10
    Join Date
    Sep 2013
    Posts
    14

    Re: Shielded wires/cables?

    Is is not so complicated as it seems at first glance. As I mentioned before there are different approaches possible but they shall be obeyed consequently.
    1. At GND system we need to be aware on where operating currents flow. We shall not allow high currents to share the GND path of lower signal area. Therefore it is essential to know on where to set the GND star points. There shall be as much symmetry as possible. An ideal symmetry does not need any shield. But real world is differnt and we need to negiotiate between efffort, cost and reliabkliltiy. And exactly this is the reason on why some desings do well sometiomes and others not. It is a diference if a tinklrer builds up a mill and suffer on some draw backs and others who suffer on penalties if they can't deliver parts.
    2. In low scale systems (as discussed in my previous post) it is possible to reuse solid grounds for connecting shields. If at far end there is no cabinet made out of metal ... OK let the shield be open/unconnected. A closed glove would be made by isolating the motor housing from mill and connect it to the shield. But this is not practical.
    2. We need to decide on where to define our protective glove. Such a glove is a protective shield for the electric system. And yes the suggestions from Siemens hold true if we decide to designe an overall glove. Hence all cabinets need to be interconnected thoroughly and cable shield need to be connected both sides (imagine tunnels) in order to prevent any hole in the protecting glove. Very same approach was chosen at Ethernet networking systems - at least those designed with shields (e.g. europe). This approach omits as well any ground loop. Imagine a tree being covered completely in a metal shield. And no shielded branch is allowed to be connected to the trunk - in order to prevent loops.
    3. But please be very careful if you decide to connect any operating GND to the shield and where -Idelally only at the very first star point.

    Operating grounds and shields: Tey are not barriers but side rails and we are requested to orchestrate them in a smart way.
    John

Similar Threads

  1. Which Wires Should Be Shielded?
    By Krenovian in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 05-23-2014, 02:03 PM
  2. How to build without shielded wires.
    By cliffy in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 07-17-2013, 05:27 AM
  3. Where do you buy shielded wires?
    By autobot in forum CNC Machine Related Electronics
    Replies: 7
    Last Post: 11-28-2011, 03:53 PM
  4. What wires should be shielded?
    By eat in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 07-23-2007, 05:16 PM
  5. DIY shielded wires
    By HogDog in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 04-14-2006, 01:02 AM

Tags for this Thread

Posting Permissions

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