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

[BUG] Extruder Stepper not working properly #13775

Closed
Aurawin opened this issue Apr 21, 2019 · 9 comments
Closed

[BUG] Extruder Stepper not working properly #13775

Aurawin opened this issue Apr 21, 2019 · 9 comments

Comments

@Aurawin
Copy link

Aurawin commented Apr 21, 2019

When I try hot/cold extrude my stepper motor hums and sputters. Interestingly, the motor works with expected torq in reverse. At first I thought it was my driver DRV8825 but after testing it - this problem is with the firmware. If I rollback to 1.9 I can extrude just fine. Virtually the same configs with the exception of BLTouch 3.0.

Steps to Reproduce

  1. M302 P1
  2. Extrude forward (stepper sputters)
  3. Extrude reverse (stepper responds as expected)

Expected behavior: [What you expect to happen]

I expect the forward rotation to work as the reverse rotation

Actual behavior: [What actually happens]

The extruder (E0) will only rotate flawlessly in reverse

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

Marlin.zip

@FelixHauser
Copy link

Do you have Linear Advance enabled? If so, disable it and try again. I had also problems with the extruder motor and it was LA at fault

@marcio-ao
Copy link
Contributor

Are you guys using 32-bit boards? If so, look for the workaround here:

#13040

@FelixHauser
Copy link

Are you guys using 32-bit boards? If so, look for the workaround here:

#13040

I assumed he/she is, since it was mentioned rolling back to 1.1.9... that's why I suggested to disable LA on a first place

@marcio-ao
Copy link
Contributor

@FelixHauser: It is not necessary to disable LA. The workaround is to set MINIMUM_STEPPER_PULSE to 1.

@FelixHauser
Copy link

Yes, yes, I know...

@Aurawin
Copy link
Author

Aurawin commented Apr 25, 2019

The board I'm using is a Tango (Rumba pins)
The printer is a corexy with dual z (TRONXY X5S)

The Z2 stepper is attached to the E1 port / pins with NO problems

I have extra Extruder ports so I remapped the pins from E2->E0.

If I set INVERT_E0_DIR to E0 to true the extruder rotates during the E-# only again, even though the actual motor IS reversed direction as compared to before.

I have since tested with another stepper motor. Same result.

I will say that the pulse pattern results in sputter at first then the signal is provided a bit more normal towards the end of the pulse process. A pulse process in the E-# direction lasts much longer than the E# direction.

The problem is exacerbated when I issue larger movements. It is hardly noticeable when the motions are ~1mm

setting MINIMUM_STEPPER_PULSE to 0 or 1 does improve the symptoms but is not a solution. The signal is only slightly improved not perfect like in the E-# direction.

@Aurawin
Copy link
Author

Aurawin commented Apr 26, 2019

G0 E30 F200 works fine
G0 E30 F2000 works fine
G0 E30 F20000 reproduces the failure

So looking at Repetier manual moves the gcode is issuing speeds of 18000 on the forward and 1800 on the reverse manual extrusion moves.

Looking at the firmware settings :

#define DEFAULT_MAX_FEEDRATE { 300, 300, 25, 10 }
Yields a "working" limit on feed rate that even when Repetier sends a G1 E50 F12000 the firmware limit is low enough to generate valid stepper signal.

#define DEFAULT_MAX_FEEDRATE { 300, 300, 25, 30 } reduces to an acceptable feedrate
#define DEFAULT_MAX_FEEDRATE { 300, 300, 25, 60 } is not reducing to an acceptable feedrate

60mm/sec is a valid albeit high feed rate value for an extruder but not a stepper motor.

Shouldn't Marlin have reduced the value before driving the stepper?

@boelle boelle changed the title Extruder Stepper not working properly [BUG] Extruder Stepper not working properly Jul 21, 2019
@boelle
Copy link
Contributor

boelle commented Jul 21, 2019

Lack of Activity
This issue is being closed due to lack of activity. If you have solved the
issue, please let us know how you solved it. If you haven't, please tell us
what else you've tried in the meantime, and possibly this issue will be
reopened.

@github-actions
Copy link

github-actions bot commented Jul 5, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants