MaslowCNC/GroundControl

Losing Z updates while cutting

Closed this issue ยท 10 comments

Maslow 1.8, windows , enough cpu and ram.

Problem :
Drill goes down <<z status looks ok
Drill follows path << looks awesome
Drill goes down <<z status does not update
Drill goes way too far down << panic !

We already got a new cable from you guys.
Resetting Arduino trough powering down totally, often works to get z status back.
But problem remains.

When z status is lost , also updating trough the z-movement window does not update z anymore.

Testing Z motor direction fails both tests.

here is the other thread (for what i thought was a different problem) https://forums.maslowcnc.com/t/problem-with-z-axis-wire/5479/2

I would liek to find out , if its the encoder in the motor.. Is there a trick to test that ?
Could i , make a in between thing , with a led/buzzer to tell that the encoder is doing stuff ?

The problem does sound like trouble with the z axis encoder. I had a similar situation, and in my case the plug on the z motor wasn't firmly seated. Re-seating the plugs on both ends fixed my trouble.
The 'Actions/Test Motors' test is a way to test the encoders, or using the Z-Axis button in GC.
If you've made sure the plugs are well seated, check that the wires in the cable aren't intermittent - the green, blue yellow and white ones are for the encoder. Another thing to check is the encoder itself, visible when the black cap on the motor is gently pried off. The disc is similar (not exactly) to this:

image
and should be firmly affixed to the motor shaft.

I opened it up , and mine was full with dust.
We cleaned it.
We put aluminium tape around the black cap.
The black sensor block were a bit pointed outwards . so we moved the black sensor block more back towards the wheel.

Then we tried to do cut again. And all went fine for 1 hour.
Next weekend we will test more. If you do not hear anything before 29-9-2018 , it means all works :).

The tests failed. So we are going to upgrade our research.
We now know , the problem moslty happens when the BIG motor is on.
We invited a couple of smart professors. They expect radio interference thanks to the BIG motor.
So in this week we are going to do a couple of tests :

  • shielding the cable with coppertape
  • use a couple of ferrite cores around the cable , to kill radio inteference
  • test the distance between BIG motor and z-motor , to find out if interference changes with that distance.
  • place a couple of big copper-windings around the BIG motor , the winding-cable will be realy thick (5mm or more) , this should help a lot also.

I also ordered a new motor. But that will take a while.
I will keep you all updated.

So a friend is here. He helped to invent a lot of radio wave devices.
We checked with a 400 Mhz scope.
The encoders reacted fine.

We found a lot of noise on the encoder outputs, when the BIG motor went on.
You wouldn't have found that with a lower Mhz scope.
Noise of 1.1V on ENC-A and ENC-B without powering the encoder.
Noise of 2.5V on ENC-A and ENC-B with powering the encoder with 5V.
(this happens when the BIG motor goes on).
We have shielded the wire with alu tape and croco-clips , a whole thing , because the shield need to be grounded really well at the beginning and end (you have to test everywhere)
We now have zero noise on that scope.

The big motor is the router, yes?