New highly experimental firmware 0.80-delta-dc42 December 27, 2014 02:43PM |
Registered: 10 years ago Posts: 14,672 |
Quote
1. The step-generation code has been completely rewritten. The old code used the Bresenham algorithm to generate step pulses at approximately the correct times, but for diagonal movements the step pulses were generated at irregular intervals. The new code generates step pulses at precise times (modulo interrupt latency), calculated to better than 1us, by solving the equations of motion in real time. This makes for smoother movements.
2. The lookahead code has been rewritten. The old code used a cosine approximation, which was generally satisfactory at normal printing speeds, but in some situations led to sharp movements and possibly missed steps. The new code always ensures that no drive is forced to try to change velocity by more than its InstantDv value. This should mean the end of acceleration bugs.
3. The movement code no longer uses the InstantDv values to enforce a minimum speed. You can go as slow as you like. The M566 command sets the InstantDv values as it has always done.
4. Optional compensation for Bowden elasticity. The Bowden extruder system is modelled as a spring, which gets compressed by the extruder back force, and that force is assumed to be proportional to the extrusion rate. So the extruder is commanded to make extra steps when accelerating the extrusion, and fewer steps when decelerating - in fact, it will take reverse steps if decelerating fast enough.
5. Added command M572 Pn Sm to set the elasticity compensation, where the P parameter is the drive number (e.g. 3 for the first extruder) and the S parameter is the compensation factor (measured in seconds). S is zero by default (i.e. no compensation). Sensible compensation values probably lie between 0.01 and 0.1.
6. The parameter to the M111 command can now selectively enable debug output for any combination of modules. A parameter value of 1 will enable debugging for all modules, for backwards compatibility. Otherwise, the parameter is interpreted as the bitwise-or of values relating to each module, as follows: Platform=2, Network=4, Webserver=8, Gcodes=16, Move=32, Heat=64, Dda=128 (this one is temporary).
7. Fixed a bug whereby unless auto-saving of parameters to flash memory was enabled, after a software reset occurred the software reset reason and free memory at the time were not correctly reported by the M122 command.
Re: New highly experimental firmware 0.80-delta-dc42 December 27, 2014 03:12PM |
Registered: 10 years ago Posts: 1,230 |
Re: New highly experimental firmware 0.80-delta-dc42 December 27, 2014 05:38PM |
Registered: 9 years ago Posts: 102 |
While i also thought that the bowden has some effects on printing, i have come to the conclusion (from my experiments with improved cooling) that cases with thin walls missing cooling gives effects looking similar as a bowden problem. My explanation is that by missing cooling the layer below is still soft, then the next layer pulls the material a slight bit away from its initial place. This effect adds up with each layer and after a while there is a hole in the wall. But i hopefully i can test if the bowden compensation has anything to do with it.Quote
dc42
In the test prints I have done so far, the effect of enabling elasticity compensation has been disappointing. But I have only gone up to a compensation factor of 0.02 so far, because of the effect of higher compensation on acceleration and hence printing speed. Ideally, compensation would be used only when doing perimeters and top infill.
Re: New highly experimental firmware 0.80-delta-dc42 December 28, 2014 03:34AM |
Registered: 11 years ago Posts: 103 |
Quote
DC42
4. Optional compensation for Bowden elasticity
Re: New highly experimental firmware 0.80-delta-dc42 December 28, 2014 04:57AM |
Registered: 10 years ago Posts: 256 |
Re: New highly experimental firmware 0.80-delta-dc42 December 29, 2014 09:24AM |
Registered: 9 years ago Posts: 35 |
Re: New highly experimental firmware 0.80-delta-dc42 December 29, 2014 10:52AM |
Registered: 10 years ago Posts: 14,672 |
Quote
RoSt
Great job indeed. With the risk of making a fool out of myself but how much do i save from the existing files on my SD-card? What settings is required after update?
Thanks
Robert S
Re: New highly experimental firmware 0.80-delta-dc42 December 29, 2014 01:21PM |
Registered: 9 years ago Posts: 42 |
Re: New highly experimental firmware 0.80-delta-dc42 December 29, 2014 05:07PM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 December 30, 2014 06:27AM |
Registered: 9 years ago Posts: 42 |
Re: New highly experimental firmware 0.80-delta-dc42 December 30, 2014 07:22AM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 01, 2015 02:48PM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 02, 2015 11:38AM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 02, 2015 12:48PM |
Registered: 10 years ago Posts: 2,472 |
Re: New highly experimental firmware 0.80-delta-dc42 January 02, 2015 02:07PM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 02, 2015 07:51PM |
Registered: 10 years ago Posts: 2,472 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 03:18AM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 05:40AM |
Registered: 9 years ago Posts: 42 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 08:56AM |
Registered: 10 years ago Posts: 2,472 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 11:10AM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 01:58PM |
Registered: 10 years ago Posts: 2,472 |
Re: New highly experimental firmware 0.80-delta-dc42 January 03, 2015 05:57PM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 04, 2015 04:43AM |
Registered: 9 years ago Posts: 37 |
Re: New highly experimental firmware 0.80-delta-dc42 January 04, 2015 05:26AM |
Registered: 10 years ago Posts: 14,672 |
Re: New highly experimental firmware 0.80-delta-dc42 January 04, 2015 06:41AM |
Registered: 9 years ago Posts: 37 |