Skip to content

GRBL rough acceleration profile #913

@Limbo68

Description

@Limbo68

Hi, I finally updated my mach3 parallel port based CNC router to the modern age: Added Teensy4.1 with default settings 4 axis FW from the web builder. Now using gsender and all works fine, however: During the start and stop accelerations the machine is not nearly as smooth as via mach3. I cannot achieve the same accelerations and max speeds as via mach3 and the parallel port of a stone-age windows 7 desktop PC, have to set them at least 2-3x lower to not loose steps?

To investage what is happening I built a small frequency-to-voltage converter circuit to monitor the step pulse train. I have Vmax = 5000mm/min, accel = 1000mm/s2. With 100 steps/mm this equals 8.3kHz pulses at Vmax, giving around 35V at the output of the F/V converter. The attached pictures show the filtered (2nd order LPF @ 250Hz) curves for mach3 PP and teensy output. It is clear that mach 3 ramps smoothly and GRBLHAL in discrete jumps with 10ms update rate. Is this expected behavior and is there anything i can do to smooth this out?

Image
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions