开源改变世界

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492

推推 grbl 2年前 (2023-02-05) 230次浏览
关闭
3 个任务中的第 1 个
jamescarruthers 打开了这个问题 2022 年 6 月 15 日 · 5 条评论
关闭
3 个任务中的第 1 个

问题:在 FYSETC E4 上运行 16 微步时出现问题#492

jamescarruthers 打开了这个问题 2022 年 6 月 15 日 · 5 条评论

评论

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492

控制板

丰盛E4

董事会供应商的帮助

  • 是的
  • 不适用

机器描述

笔式绘图仪 — CoreXY — A1 尺寸。
https://github.com/jamescarruthers/PlotterXY/tree/main/Hardware

配置文件

name: "PlotterXY"
board: "FYSETC E4"

stepping:
  engine: RMT
  idle_ms: 255
  dir_delay_us: 0
  pulse_us: 2
  disable_delay_us: 0
  segments: 20

kinematics:
  corexy:

axes:
  shared_stepper_disable_pin: gpio.25:high

  x:
# 16t = 100, 20t = 80 for 16 microsteps – change for y axes also
    steps_per_mm: 20
    max_rate_mm_per_min: 12000
    acceleration_mm_per_sec2: 1200
    max_travel_mm: 860
    soft_limits: true
    homing:
      cycle: 2
      allow_single_axis: true
      mpos_mm: 860
      positive_direction: true
      seek_mm_per_min: 4000
      feed_mm_per_min: 600
      settle_ms: 200
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_pos_pin: gpio.34:high
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2209:
        uart:
          txd_pin: gpio.22
          rxd_pin: gpio.21
          baud: 115200
          mode: 8N1
        addr: 1
        r_sense_ohms: 0.110
        run_amps: 1.200
        hold_amps: 0.800
        microsteps: 4
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: true
        step_pin: gpio.27
        direction_pin: gpio.26:high
        disable_pin: NO_PIN

  y:
    steps_per_mm: 20
    max_rate_mm_per_min: 12000
    acceleration_mm_per_sec2: 1200
    max_travel_mm: 600
    soft_limits: true
    homing:
      cycle: 1
      allow_single_axis: true
      mpos_mm: 600
      positive_direction: true
      seek_mm_per_min: 4000
      feed_mm_per_min: 600
      settle_ms: 200
      seek_scaler: 1.100
      feed_scaler: 1.100

    motor0:
      limit_pos_pin: gpio.35:high
      hard_limits: true
      pulloff_mm: 10.000
      tmc_2209:
        addr: 3
        r_sense_ohms: 0.110
        run_amps: 1.200
        hold_amps: 0.800
        microsteps: 4
        stallguard: 0
        stallguard_debug: false
        toff_disable: 0
        toff_stealthchop: 5
        toff_coolstep: 3
        run_mode: StealthChop
        homing_mode: StealthChop
        use_enable: true
        step_pin: gpio.33
        direction_pin: gpio.32:high
        disable_pin: NO_PIN

  z:
    steps_per_mm: 80
    max_rate_mm_per_min: 1000
    acceleration_mm_per_sec2: 1000
    max_travel_mm: 5
    
    motor0:
      solenoid:
        output_pin: gpio.2
        pwm_hz: 30000
        off_percent: 0.000
        pull_percent: 100.000
        hold_percent: 15.000
        pull_ms: 25
        direction_invert: false

spi:
  miso_pin: gpio.19
  mosi_pin: gpio.23
  sck_pin: gpio.18

sdcard:
  cs_pin: gpio.5
  card_detect_pin: NO_PIN

macros:
  startup_line0:
  startup_line1:
  macro0:
  macro1:
  macro2:
  macro3:

start:
  must_home: true

启动消息

[MSG:INFO: FluidNC v3.4.7]
[MSG:INFO: Compiled with ESP32 SDK:v4.4.1-1-gb8050b365e]
[MSG:INFO: Local filesystem type is SPIFFS]
[MSG:INFO: Configuration file:config.yaml]
[MSG:INFO: Machine PlotterXY]
[MSG:INFO: Board FYSETC E4]
[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]
[MSG:INFO: SD Card cs_pin:gpio.5 detect:NO_PIN]
[MSG:INFO: Stepping:RMT Pulse:2us Dsbl Delay:0us Dir Delay:0us Idle Delay:255ms]
[MSG:INFO: Axis count 3]
[MSG:INFO: Shared stepper disable gpio.25]
[MSG:INFO: Axis X (0.000,860.000)]
[MSG:INFO:   Motor0]
[MSG:INFO: Trinamic Stepper Uart Tx:gpio.22 Rx:gpio.21 RTS:NO_PIN Baud:115200]
[MSG:INFO:     tmc_2209 Step:gpio.27 Dir:gpio.26 Disable:NO_PIN Addr:1 R:0.110]
[MSG:INFO:     Pos Limit gpio.34]
[MSG:INFO: Axis Y (0.000,600.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc_2209 Step:gpio.33 Dir:gpio.32 Disable:NO_PIN Addr:3 R:0.110]
[MSG:INFO:     Pos Limit gpio.35]
[MSG:INFO: Axis Z (-5.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     solenoid Pin: gpio.2 Off: 0.000 Hold: 15.000 Pull:100.000 Duration:25 pwm hz:30000]
[MSG:INFO: X Axis driver test passed]
[MSG:INFO: Y Axis driver test passed]
[MSG:INFO: Kinematic system: CoreXY]
[MSG:INFO: Using spindle NoSpindle]
[MSG:INFO: Connecting to STA SSID:CatFi]
[MSG:INFO: Connecting.]
[MSG:INFO: Connected - IP is 192.168.0.129]
[MSG:INFO: WiFi on]
[MSG:INFO: Start mDNS with hostname:http://fluidnc.local/]
[MSG:INFO: SSDP Started]
[MSG:INFO: HTTP started on port 80]
[MSG:INFO: Telnet started on port 23]

用户界面软件

网页界面

发生了什么?

如果我发出命令 G00 X0 Y0,然后是 G00 X0 Y500 – 而不是绘图仪从 0,0 到 0,500,它会更接近 200,400。它沿对角线移动。我可以通过将微步从 16 更改为 4 来“解决”这个问题。

如果我使用另一块板,运行 TMC2209 或 DRV8825 的 Bart’s CNC Dev v3.5 — 使用 16 微步没有问题。步进驱动器设置为 1A 到 1.5A 之间的任何值。我最初认为这是一个当前问题。

如果我回到在 FYSETC E4 上运行的原始 GRBL ESP32 安装,我没有任何问题。

其他信息

我正在使用的 GRBL ESP32 配置在这里;https://github.com/jamescarruthers/PlotterXY/tree/main/Firmware/GRBL-ESP32%20(折旧)

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492
所有者

如果轴上的分辨率不同,CoreXY 只能沿对角线移动。从 16,16 更改为 4,4 应该以相同的角度移动。

这是真正的 CoreXY 还是某种变体,例如 MidTBot?

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492

两个轴上的微步相同。

我想这是真的 CoreXY。它具有与https://corexy.com/相同的皮带布局

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492
所有者

检查是否有一台电机对变化没有反应。移动并计算每个电机的转速。改变微步并重复。

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492

有没有这方面的新信息?请尝试v3.5.0-pre5,它自 v3.4.7 以来有几个重要的修复

问题:在 FYSETC E4 上运行 16 微步时出现问题 #492

大家好。所以,这个问题是我追尾。不同的电路板,不同的驱动程序,不同的散热器,不同的放大器等

我不认为这是经过两次更改后现在的问题——添加更多散热器并调低放大器。