Welcome! Log In Create A New Profile

Advanced

Mattroberts'_Firmware

Posted by majkl 
Mattroberts'_Firmware
December 04, 2013 06:15AM
Na tohle jsem teď narazil.

[reprap.org]

Celkem zajímavý je přístup k ose E, namísto používání jednotek délky (mm na krok) používá jednotky objemu (mm^3/krok). A počítá podle Bernulliho rovnice o kolik se má extruder pohnout.

Je to zbytečná komplikace a nebo to stojí za ozkoušení?
Re: Mattroberts'_Firmware
December 04, 2013 06:36PM
Teď jsem našel tenhle kousek v Marlinovi:
// extruder advance constant (s2/mm3)
//
// advance (steps) = STEPS_PER_CUBIC_MM_E * EXTUDER_ADVANCE_K * cubic mm per second ^ 2
//
// hooke's law says:		force = k * distance
// bernoulli's priniciple says:	v ^ 2 / 2 + g . h + pressure / density = constant
// so: v ^ 2 is proportional to number of steps we advance the extruder
//#define ADVANCE

#ifdef ADVANCE
  #define EXTRUDER_ADVANCE_K .0

  #define D_FILAMENT 2.85
  #define STEPS_MM_E 836
  #define EXTRUTION_AREA (0.25 * D_FILAMENT * D_FILAMENT * 3.14159)
  #define STEPS_PER_CUBIC_MM_E (axis_steps_per_unit[E_AXIS]/ EXTRUTION_AREA)

#endif // ADVANCE

Takže to asi umí taky?
Sorry, only registered users may post in this forum.

Click here to login