Several EMIs after installing spindle, also Vcarve bug

I recently upgraded to the PWNCNC 65 mm spindle and have been getting EMI’s since. I never had EMI’s before.
It is a serious issue for me, it happened twice and I lost a lot of valuable time and wood already.

The big question is why?
It seems like all axis are involved, maybe something is happening in the controller? I have separated the z-cable from the spindle cable as far as I could.

Here a picture of my setup





image

This cabling dangling across the rails of your machine looks suspect. Just a guess.

1 Like

Hi what cable are you using between your VFD and Spindle?
All my cables run in drag chains and i haven’t had any problems in the last 2 years and the machine is used in a production environment.
Shielded cable is a must

D

1 Like

Hey Tom,

because the three-phase currents a VFD produces are by no means nice sine waves, both the spindle, the spindle cable and the VFD are heavy sources of EMI. Usually the spindle and the spindle cable are shielded and the shield has to be grounded correctly. There are different ways to avoid EMI that I can see in my manual, but in the first place it says, a VFD is a device to be enclosed into a cabinet.

Usually such a cabinet is made of steel and earthed so is a faraday cage that encloses the EMI. See here for details on such a VFD cabinet. See also Hey, is this your VFD enclosure?

I have never had a PwnCNC VFD in my hands but it does not look like a steel case to me, and if you additionally put it on the CNC table, I would not surprised if you have a EMI problem.

Note that the other side of the problem is that the stepper cables of the Onefinity CNC machines are not shielded. Completely unusual in the industry.

2 Likes

I am going to ask, and I’m not poking, how do you know your issues are caused by EMI? Random errant behavior, though impossible to reproduce, it not limited to EMI issues. If you have had problems before, there might be a broader problem at play here. I would recommend following @Aiph5u’s advice to see if it helps though.

-Tom

1 Like

Thanks to all! Some very useful information here.

@cyberreefguru No, I never had issues with the Makita router, I got the spindle a few days ago and only then problems started happening.

@CSM I believe the PWNCNC VDF to spindle cable is shielded.

When the second EMI happened I actually was next to the machine an could hit the emergency stop.
I heard all axis moving violently at the same time, that is why I believe it was caused by the controller. If you look closely at the pictures you can actually see that all axis moved, it was not just the Z not lifting. The stepover was minimal on the finishing toolpath, the suddenly the X and Y move by more than the thickness of the bit and the Z goes crazy.

I will build a shelf for the VDF, possible some kind of faradays cage, some cable management and then see how it goes from there.

Is there already any threat about how to properly ground all components? I do not recall seeing anything.

I believe there is no easy way to shield the controller to stepper motor cables?

Hey Tom,

I would assume that PwnCNC’s cable is shielded and grounded, however it is important for the ground of the VFD to be connected to ground on the wall outlet/wall box. This is usually done inside the IEC 60320 power connector and inside your AC power plug. Internally, usually the ground symbol (⏚) is the grounding point of the VFD. This point has to have a connection to the power plug internally, and then to the PE wire and the shield of the spindle motor cable.

On the entire setup, it is important that basically, all the ground wires should converge in one point, and that’s in the control cabinet usually at the one screw of the metal housing part of your VFD, which is also marked accordingly (⏚).

Here I put together grounding information. Note that besides grounding the VFD, the spindle, and the Controller, it is also necessary to ground the frame and all moving parts of the frame. I have described the parts and tools needed to ground the frame here.

You would have to make completely new cables. I described some of the thoughts for this here.

2 Likes

Just curious if you contacted PWNCNC for help? This really deters me from pursuing a spindle.

Hey Tom, hey Tom, hey all,

While thinking of your issue a bit, I think Tom is right with you first got to investigate what the possible causes are. I agree that EMI is only one thought that you could have. Another is a cable and connector problem. This is not related to spindle, but switching to the spindle may have been accompanied by movement/connection/disconnection of other cables.

The cables and connectors are a weak spot on these machines. The curly Z cable may be a spiral cable, but it is not made for motion like drag chain cables are and a break of this cable internally, first causing Z positioning errors, is reported more than once about one year after putting into service.

See also retrofitting strain relief on the Onefinity.

The Onefinity CNC manufacturer addresses various rails movement problems in this FAQ document:

The pattern could also have something to do with a loose Z coupler. Did you check this?

1 Like

I just tightened the z-coupler a few days ago when I installed the Z-motor riser block, the more I think about it the more I am convinced it was an EMI, see picture:

I ordered the wire connectors to ground all moving components and the controller box, I am not sure how to include the VDF in that process, I guess I will ask Daniel from PWNCNC, or I will open the VDF enclosure and find the ground there. I am thinking of ripping the VDF enclosure apart and inserting everything in a metal cabinet, but that also has to wait until I find time.

Where is the best place to ground the controller? Would it be sufficient to ground it on the outside mounting holes?

On Tuesday I am planning to run the same 4:20 hr tool path multiple times to see if I get more erratic behavior.

I will most likely change the motor cables in the future, but that has to wait as well.

Hey Tom,

please also think of connectors and cables possibly failing. Especially the curly Z cable! It can fail by an internal cable break and make Z positioning errors before failing completely.

Also think of connectors are only tin-plated and can have bad contacts:

And finally think of retrofitting strain relief. The stepper cables on the side hang around freely during movement, that is not good for the connectors and the wires in them.

1 Like

Hey Tom,

For ground from CNC controller to wall outlet, this is already the third pin of the IEC power connector, so should be there. I don’t know if the PwnCNC VFD has such a connector too (looks so / here too) but that would be its connection to ground to the wall side. The PE (fourth) wire inside spindle power cable should ground the spindle to the VFD. Spindle shall not be grounded through the frame alone, but always through the motor cable and the VFD. This is important for safety.

Generally, on many CNC/spindle setups in the world you have the CNC controller and VFD in one cabinet and both are mounted and grounded on the steel mounting plate.

For the ground from the machine frame parts to controller, I would use a ground wire with a ring connector attached on one of the controller case bolts, and for the moving parts of frame, the same: Ring connectors can be attached on one of the four stepper bolts, on each stepper.

Here you can see the ring connectors I use and two choices of crimp pliers. The yellow/green ground wire I use is at least 4 mm², that means yellow ring connectors.

1 Like

I worked in the environmental controls industry for many years. VFDs were notorious for electrical noise and they caused us endless customer support problems. They could mess up low voltage sensor readings and control signals badly.

As has already been suggested, best practices include:

  • A Faraday enclosure for the VFD
  • An EMI filter on the VFD power input
  • Fully shielded proper flexible motor cables throughout
  • Ferrite filters
  • Use anti-static vacuum hose (also helps to maintain some humidity in the shop while machining)
    As an amateur luthier, I nearly cried to see that expensive AAA spruce top ruined!
3 Likes

I moved the VDF off the table, cleared all cables, removed the shopvac from under the machine.
I have run it for 10 hours so far without further EMI, after which I grounded all axis.

I am still looking for an enclosure that will fit the assembled VDF.

I previously had some EMI issues. I had a shop vac setup like yours that was my culprit. I would get shocked from the static build up. I grounded the metal coil in the dust collection hose to a copper wire then to a ground plug. Stopped having the issue.

1 Like


I am not sure what happened here, but am terrified to use the 1F now that I lost another valuable piece. This is expensive wood, a few hundred dollars a piece, Eastern European flamed maple seasoned for a decade.
I think this time the controller screwed up, I am not sure why. This was a three hour tool path, and the profile tool path seems to have cause this.
I am very uncertain about why this could have happened.

1 Like

Hey Tom,

I am so sorry and feel with you. I buy and work with exactly such pieces too.

I bought the Onefinity to be able to do some steps with the machine that I do by hand with hand tools. But I don’t plan to put the Onefinity into service without a serious cable management, and a few more things.

I elaborated on lacking strain relief on moving cable connectors, cables not made for permanent motion, cables without shielding, tin-plated connectors instead of industry-standard gold-plated, and so on, above and in other posts in this forum.

To be perfectly clear: I don’t consider the Onefinity out of the box to be a device I would entrust with such a task.

But I knew that when I bought it, and I bought it with the clear knowledge and requirement that I would have to invest a lot of extra work for a machine to which I could apply professional standards, especially regarding reliability as expected in the industry.

By the way, that’s why I do not mill anything with it yet :slight_smile:

1 Like

Oh man… that is just painful to see. I feel you and we have all been there.

I found the error from the last picture. This time it was not an EMI. The profile toolpath had some bug. I had Roughing, finishing and profile combined as they were all using the same tool. After isolating the toolpath I found the bug in the profile toolpath, at one point the machine would move erratically, loose the machine home, move the work home in both x and y direction by a few centimeters and plough on, and it looed like the g-code was faulty, the same error happened every time I run that toolpath at the same spot. The machine would eventually drive into the left y rail and stall the motor until I stopped it.

I assume it was a bug in Vcarve. I recalculated the toolpath multiple times, no change. Only after I reimported the model (STL file), recalculated the vector boundary and then recalculated the toolpath I had a successful cut.

I had a lot of very successful carves since I bought the machine, and all previous mistakes had been from my side so far, just learning the CAD as well as the CAM software.

This was the first time I was struck with EMIs at all, and that seem to have stopped. How unlucky that the Vcarve bug was on such a niece piece of wood.

All axis and the table of the CNC are grounded now, the VDF and shopvac out of the way which seem it seem to have helped.

I do not think there are shielded cables available for the Onefinity, that would be a nice project for one of the after market suppliers like PWNCNC or the guys on Etsy. I would immediately get a set.