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

z_thermal_adjust: Add Z thermal adjuster module #4157

Merged

Commits on Apr 10, 2021

  1. frame_expansion_compensation: Add thermal expansion compensation

    Use a frame-coupled temperature probe to compensate for thermal
    expansion in real-time.
    
    Signed-off by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    48ffbde View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. frame_expansion_compensation: key var to get_status(), docs formatting

    Add 'current_z_comp', 'frame_ref_temp', and 'state' to get_status.
    Match config_reference formatting.
    
    Signed-off by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    dcfc683 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. frame_expansion_compensation: whitespace cleanup

    Signed-off by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    1a6a49d View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    7e16f2b View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Configuration menu
    Copy the full SHA
    66f2e23 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    6fa3841 View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: minor code clean-up per comments

    - move config checks to klippy:connect event
    - homing:home_rails_end for reference temp collection
    - Simplified homing axis check
    - Code cleanup: duplicate line, superfluous if statement
    - G-code help message updated to current naming
    
    Signed-off by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed May 28, 2021
    Configuration menu
    Copy the full SHA
    b28d3a3 View commit details
    Browse the repository at this point in the history
  3. docs: g-codes frame_expansion_compensation fix

    Fixed docs reference outdated g-code commands:
    SET_FRAME_EXPANSION -> SET_FRAME_COMP
    QUERY_FRAME_EXPANSION -> SET_FRAME_COMP
    
    Signed-off by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed May 28, 2021
    Configuration menu
    Copy the full SHA
    a4bb2d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Configuration menu
    Copy the full SHA
    718055c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2021

  1. frame_expansion_compensation: temperature smoothing

    Implemented the same temperature smooth algorithm used by
    heaters. `smooth_time` config parameter is now available,
    with a default value of 2 seconds.
    
    Signed-of-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    074b1bf View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: consider step_distance (noise reduction)

    Adjust offset in increments of the Z step_distance, eliminating excessive
    adjustment and noise when position hovers around a step increment value.
    
    Status messages were also reworded for clarity (inactive rather than disabled
    when limits reached)
    
    Signed-of-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    5a0c6e2 View commit details
    Browse the repository at this point in the history
  3. frame_expansion_compensation: whitespace

    Signed-of-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    28f0e3e View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Configuration menu
    Copy the full SHA
    45336e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    66e16d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Configuration menu
    Copy the full SHA
    2d3afd7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. Configuration menu
    Copy the full SHA
    f76555a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d906a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2021

  1. frame_expansion_compensation: Use independantly defined temp sensor

    Take reference to a temp sensor config section rather than defining one
    internally. Primarily for display of frame temp in Klipper front-ends.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    c5cdcdd View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: Whitespace removal

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    79818f5 View commit details
    Browse the repository at this point in the history
  3. docs: frame_expansion_compensation sensor update

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    810f2d7 View commit details
    Browse the repository at this point in the history
  4. frame_expansion_compensation: Use temp_coeff for calcs

    Calculate offset with a user-defined temperature coefficient rather than
    linear expansion calculation. Attempting to configure using the old params
    will throw a config error supplying the equivalent temp_coeff.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    5c6ae33 View commit details
    Browse the repository at this point in the history
  5. docs: frame_expansion_compensation update

    Update [frame_expansion_compensation] section to reflect config
    for the updated offset calculation method, using only temp_coeff.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    5a24e05 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. Configuration menu
    Copy the full SHA
    e7c30c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Configuration menu
    Copy the full SHA
    f69100f View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2021

  1. frame_expansion_compensation: fix bouncy Z correction

    Non-XY movements no longer remove the expansion offset,
    which created a Z 'bounce' on certain moves.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 28, 2021
    Configuration menu
    Copy the full SHA
    af9cb99 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2021

  1. Configuration menu
    Copy the full SHA
    9e230eb View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. frame_expansion_compensation: set_frame_ref_temp

    Add gcmd to manually set the frame expansion compensation homing reference temperature to the current value.
    Temporary (?) work-around for auto-Z calibration plugin, which homes without triggering the `homing:home_rails_end`
    event.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    e3814ad View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: fix self typo

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    9f38d24 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Configuration menu
    Copy the full SHA
    38f8caa View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Configuration menu
    Copy the full SHA
    748f56f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. Configuration menu
    Copy the full SHA
    1e8536e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Configuration menu
    Copy the full SHA
    9e584b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2021

  1. Configuration menu
    Copy the full SHA
    4d7443a View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Configuration menu
    Copy the full SHA
    3ea8e49 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

  1. Configuration menu
    Copy the full SHA
    04f443d View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Configuration menu
    Copy the full SHA
    974ab9c View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. frame_expansion_compensation: deprecate branch

    Warn about move to Moonraker plug-in for this feature.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    bc3f358 View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: white space

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    ebc3b74 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2021

  1. frame_expansion_compensation: fix deprecation warning mesage

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Dec 26, 2021
    Configuration menu
    Copy the full SHA
    6cf5117 View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: whitespace again

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Dec 26, 2021
    Configuration menu
    Copy the full SHA
    3b63ebb View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Configuration menu
    Copy the full SHA
    8079da2 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. frame_expansion_compensation: drop legacy config support

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    8f405d9 View commit details
    Browse the repository at this point in the history
  2. frame_expansion_compensation: remove deprecation warning

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    65dc088 View commit details
    Browse the repository at this point in the history
  3. frame_expansion_compensation: manaully set reference temp

    Add optional `TEMPERATURE` parameter to `SET_FRAME_REF_TEMP` to
    override homing reference temperature. Overwritten on re-homing.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    97f6a9a View commit details
    Browse the repository at this point in the history
  4. frame_expansion_compensation: add set temp_coeff via gcode

    Add optional parameter `COEFF` to `SET_FRAME_COMP` to allow
    run-time tuning of the `temp_coeff` parameter.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    0ea7ae7 View commit details
    Browse the repository at this point in the history
  5. frame_expansion_compensation: remove z_stepper config parameter

    Simplify config using `stepper_z` instead of a user-supplied stepper
    to determine the minimum Z adjustment increment.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    702bc2d View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. frame_expansion_compensation: simplify state reporting

    Remove detailed state debugging method and reporting and rework
    `QUERY_FRAME_COMP` gcmd output.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 6, 2022
    Configuration menu
    Copy the full SHA
    fb2d1f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Configuration menu
    Copy the full SHA
    d341285 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Configuration menu
    Copy the full SHA
    3530062 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. Configuration menu
    Copy the full SHA
    a6ccf0d View commit details
    Browse the repository at this point in the history
  2. z_thermal_adjust: renamed from frame_expansion_compensation

    Module renamed and variables, parameters, etc. updated to reflect
    this change as well as for clarity.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    61cdfb8 View commit details
    Browse the repository at this point in the history
  3. docs: update z_thermal_adjust g-codes

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    2bdbea5 View commit details
    Browse the repository at this point in the history
  4. docs: update z_thermal_adjust config reference

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    a14140a View commit details
    Browse the repository at this point in the history
  5. docs: add z_thermal_adjust status reference

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    79f0878 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    a1599d6 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    35affe2 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. docs: revert unintended heading change

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed May 27, 2022
    Configuration menu
    Copy the full SHA
    d654d7e View commit details
    Browse the repository at this point in the history
  2. docs: z_thermal_adjust unit consistency

    Use only degrees Celsius, drop reference to Kelvin.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed May 27, 2022
    Configuration menu
    Copy the full SHA
    c183076 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2022

  1. Configuration menu
    Copy the full SHA
    cf82988 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. z_thermal_adjust: consolidate gcode commands

    Combine functionality of SET_Z_THERMAL_ADJUST, SET_Z_THERMAL_ADJUST_REF,
    and QUERY_Z_THERMAL_ADJUST into the SET_Z_THERMAL_ADJUST command.
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    60c5e11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f36462 View commit details
    Browse the repository at this point in the history
  3. docs: update z_thermal_adjust g-codes

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    161202b View commit details
    Browse the repository at this point in the history
  4. docs: fix z_thermal_adjust whitespace

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    62398a1 View commit details
    Browse the repository at this point in the history
  5. docs: fix z_thermal_adjust quotes

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    ec01c0b View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. z_thermal_adjust: reimplement internal temperature sensor

    Instantiate own temperature sensor object (a la temperature_fan)
    for thermal adjustment.
    
    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    40eb6c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Configuration menu
    Copy the full SHA
    2233448 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Configuration menu
    Copy the full SHA
    e6deb42 View commit details
    Browse the repository at this point in the history
  2. z_thermal_adjust: track last_position in get_position

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    af928bb View commit details
    Browse the repository at this point in the history
  3. z_thermal_adjust: fix last_position tracking in get_position

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    d5e21e2 View commit details
    Browse the repository at this point in the history
  4. docs: update config_reference for z_thermal_adjust

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    c78de87 View commit details
    Browse the repository at this point in the history
  5. docs: update status_reference for z_thermal_adjust

    Signed-off-by: Robert Pazdzior <robertp@norbital.com>
    alchemyEngine committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    2ace087 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    84dfa0b View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2022

  1. Configuration menu
    Copy the full SHA
    e8b786d View commit details
    Browse the repository at this point in the history