Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abnormal motions during cutting #43

Open
Witz0 opened this issue Aug 29, 2018 · 3 comments
Open

abnormal motions during cutting #43

Witz0 opened this issue Aug 29, 2018 · 3 comments

Comments

@Witz0
Copy link
Member

Witz0 commented Aug 29, 2018

Plate with lines instead of arcs
From the description it sounds like g-code commands or motion control errors that are inconsistent.

There are many possible causes so tracing this error could be difficult, but especially important if it is an unknown software error that affects all users and requires an issue to be submitted to another repo.

Without extensive knowledge of these systems, I can only think of a few possible causes from previous reading; mostly from the grbl wiki pages and issues:
https://github.com/gnea/grbl/wiki/Known-Issues

  • Most likely is electrical interference, which can be chaotic in nature.

    • The grbl repos have many CNC builders' comments about such issues and it is especially significant on plasma systems due to the arc noise.

    • Reviewing design issues photos shows some wiring details and the plastic boxes used to house the electronics.

    • The plastic is great for prototype work since it isolates potential shorts and is easy to rework. However, it also offers little or no shielding like metal would.

    • From the photos, it is unclear exactly what kind of cables and wires are used, but it does not appear to be shielded (poly fiber strands for riser cable type strain relief are visible).

      • Types of exterior grade plenum rated cables with foil shield and drain/ground wire are ideal for data signals outside a metal box.
        • Other considerations are twisted pair (TP) for differential signals (to THC), stranded (patch) cable for flexibility;
        • unshielded cable with solid core wires can be used for jumpers between PCB's in screw terminals, but need to be in a shielded box;
        • Some Cat6 has plastic spline spacer (flexibility?) and Cat7 has separately shielded pairs.
    • Considering Pros/Cons of designs using a metal box for electronics may be critical.

      • A soild metal box should act as a faraday cage offering good shielding.
      • If used as chassis ground for electronics it must always be isolated from the + (plasma system ground) work circuit, which the table is apart of. User error such as bridging with metal parts is a potential problem.
      • Heat dissipation for a sealed metal box should be considered.
      • A metal box near the table but isolated from it could act as a fairly complete user interface.
  • Next, see USB serial transmission errors in arduino clones and some official Arduinos the USB serial chip has bugs; the official ones have a firmware fix.

  • Another common noise issue that introduces motion errors is Wiring Limit Switches. Many users add optically isolated limit switches to prevent noise from motors or plasma arcs feeding back as well as better software debouncing.

  • A less likely issue now is incorrectly manufactured USB cables. A quick multimeter continuity test between both ends of the exterior plug chasis will tell if they bonded the sheilding to the cable ends correctly.

  • Also, useful to know arduino USB spec appears to be v1.1 with max cable lengths of 9.8ft.

A good way to dry run the CNC system to test these errors would be ideal. Disabling the arc would be step one, but video of motions may be insufficient. Maybe a crude plotter (sprung pen/pencil) attachment could be (3D printed?) added to test g-code motions on paper taped to a metal sheet, but I'd guess this would require some software changes as well so expected signals can be ignored.

@jurra
Copy link
Collaborator

jurra commented Aug 29, 2018 via email

@polemidis
Copy link
Collaborator

Its not a shielding problem. I am positive. I detected abnormal behavior only when there is a G2 movement (command "G2" on the g-code)
Statistically speaking it would be extremely rare to show up only in G2 moves (these are arcs).

But despite that, shielding is something we have to incorporate into the build, since it will eliminate possible errors to users. Its good to know that right now with unshielded wires, I have not noise in the machine, so one extra step in shielding will make 1000% sure that we will never have to deal with that issue.

The solution to the G2 commands is either
a) tell the g-code generating software (sheetcam )to not use them
b) tell the g-code sender(universal Gcode sender) to transform the g2 arcs into small G1 straight lines before it sends it to the board
c) fine tune the accuracy on the Sheetcam. I have to experiment with the decimal points, and the rounding that is happening at some point.
d) make sure that Sheetcam uses the "Center Format Arc" rather than the "Radius Format"
http://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g2-g3

The c) or/and d) looks like the proper way as the b) adds too much load to the processor and the a)also adds huge amounts of code.

@jurra
Copy link
Collaborator

jurra commented Aug 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants