opulo-inc / lumenpnp

The LumenPnP is an open source pick and place machine.
Other
2.39k stars 319 forks source link

Head 1 (L) Axis driver stops when running job #645

Closed alphaomega16 closed 1 year ago

alphaomega16 commented 1 year ago

Please provide information about the board with the issue:

Talk about the issue you're having here:

Problem began as some parts being rotated -> vision checked -> then during final move placement will rotate ~30 (Always clockwise and during the Z move). Rotation motor has reached >160F (measured using Flir camera All other motors are cool) Actually caused deformation of PLA printed mount. One oddity worth noting: When placements would rotate during Z move the vacuum motor would slightly sound like it is slowing down (not enough power). This final movement involves rotating all 5 motors while running the vacuum pump (Highest current event). Running the provided 3A power supply.

Talk about how you think this should be fixed.

alphaomega16 commented 1 year ago

Some updated information: Was able probe the board a bit and may have located the problem; On initial boot and homing the EN pin on the driver is pulled low (As expected). All is working well. After starting a job a part is only partially rotated and the drive stops working. In this condition the EN pin is now at 3.3V on only the rotation (L) Drive. All other drives are still pulled low. Further testing shows the DIAG pin is also pulled high at the same time the EN goes high. Based on the driver documentation this suggests a problem with the rotation motor.

I have purchased a replacement motor (and 2nd head components) and will update once it arrives.

In addition, based on recommendations here: Marlin: Stepper motor current setting for I & J (Z rotation) axes is too high I will be updating the firmware with a lower drive current to possibly reduce motor temperatures and future failures.

alphaomega16 commented 1 year ago

Final update: Replacement rotation motor installed without improvement. Replaced rotation motor cable and problem appears to be resolved. From what I am able to discern, the cable has an intermittent break. When head moves to the approximate placement area the connection fails. The motor back rotates due to a twisting of the vacuum hose.