Firmware suggestion: variable microstepping September 20, 2014 07:24PM |
Registered: 10 years ago Posts: 42 |
Re: Firmware suggestion: variable microstepping September 21, 2014 01:21AM |
Registered: 10 years ago Posts: 14,682 |
Re: Firmware suggestion: variable microstepping September 21, 2014 05:45AM |
Admin Registered: 13 years ago Posts: 7,104 |
Re: Firmware suggestion: variable microstepping September 21, 2014 06:02AM |
Registered: 10 years ago Posts: 42 |
Re: Firmware suggestion: variable microstepping September 21, 2014 06:12AM |
Admin Registered: 13 years ago Posts: 7,104 |
Re: Firmware suggestion: variable microstepping September 21, 2014 06:43AM |
Registered: 10 years ago Posts: 14,682 |
Re: Firmware suggestion: variable microstepping September 21, 2014 04:19PM |
Registered: 10 years ago Posts: 18 |
Re: Firmware suggestion: variable microstepping September 22, 2014 01:46AM |
Registered: 10 years ago Posts: 14,682 |
Re: Firmware suggestion: variable microstepping September 22, 2014 06:24AM |
Registered: 14 years ago Posts: 7,616 |
Quote
dc42
Holding torque is better on full steps than on microsteps
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Firmware suggestion: variable microstepping September 25, 2014 06:57AM |
Admin Registered: 12 years ago Posts: 1,063 |
Quote
polyglot
Current boards (RAMPS, RUMBA etc) seem to have microstepping enabled via dip switches/jumpers on the board. Would it not be better if these were GPIO pins and could therefore be set via firmware? That would allow a firmware to enable microstepping when extruding shells and then disable it when performing fast traverses and maybe on infills if you have a powerful hot-end. Even a simple full-step vs 8x-microstep bit would be a really good start, but wiring up all the pins of course means you can change the step rate in software and maybe have a speed/quality tradeoff in software.
I guess there might be some dependency on the driver chips in terms of their behaviour when the microstep mode changes but my guess is that this could be minimised by only changing modes at whole-step points in the microstep sequence.
Re: Firmware suggestion: variable microstepping September 25, 2014 07:43AM |
Admin Registered: 17 years ago Posts: 13,948 |
Re: Firmware suggestion: variable microstepping September 29, 2014 01:19AM |
Registered: 10 years ago Posts: 18 |
Quote
VDX
... it's a bit tricky to change microstepping without losses - you have to store the actual position with highest resolution, then move the motor to the next fullstep position, change the resolution, calculate the (fractured or reduced) last position to the nearest microstepping position, then move there ... and, when reducing the resolution, store the deviation from the real position to correct this offset with the next switching to higher resolutions ...
Re: Firmware suggestion: variable microstepping September 29, 2014 05:49AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Firmware suggestion: variable microstepping September 29, 2014 09:33AM |
Registered: 10 years ago Posts: 126 |
Re: Firmware suggestion: variable microstepping September 30, 2014 07:37AM |
Registered: 14 years ago Posts: 7,616 |
Quote
JustAnotherOne
Probably best to add these 100 lines before the planner buffer, after decoding the G-Code. There the infomation is available if the move is short, or long, slow or fast,...
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Firmware suggestion: variable microstepping September 30, 2014 11:17AM |
Registered: 10 years ago Posts: 126 |
Quote
Traumflug
Quote
JustAnotherOne
Probably best to add these 100 lines before the planner buffer, after decoding the G-Code. There the information is available if the move is short, or long, slow or fast,...
IMHO it doesn't matter whether a move is short or long. Current speed matters, and that changes during each single movement. Taking lookahead into account not always, but one has always to prepare to do movements without lookahead.
Re: Firmware suggestion: variable microstepping October 04, 2014 10:16PM |
Registered: 10 years ago Posts: 42 |
Re: Firmware suggestion: variable microstepping October 05, 2014 06:40AM |
Registered: 14 years ago Posts: 7,616 |
Quote
polyglot
You're way over-complicating it, guys.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Firmware suggestion: variable microstepping October 05, 2014 10:57AM |
Admin Registered: 17 years ago Posts: 7,881 |
Re: Firmware suggestion: variable microstepping October 08, 2014 04:29AM |
Registered: 10 years ago Posts: 18 |
Quote
Traumflug
Quote
polyglot
You're way over-complicating it, guys.
Do we? Well, looking forward to your implementation, then.
Quote
polyglot
No change to the ISR is required, just to the step planner. The machine dynamics aren't really any different so the lookahead code would probably be unchanged.
Well gee, that sounds exactly like what the OP is asking for.Quote
nophead
Marlin switches to outputting two or four pulses at a time when the step rate gets too high for the isr.
Re: Firmware suggestion: variable microstepping October 08, 2014 06:19AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Firmware suggestion: variable microstepping October 08, 2014 09:12PM |
Registered: 10 years ago Posts: 42 |
Re: Firmware suggestion: variable microstepping October 09, 2014 03:04PM |
Registered: 10 years ago Posts: 126 |
Re: Firmware suggestion: variable microstepping October 10, 2014 05:26AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |