Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    RRF 3.4 input shaping preview available

    Scheduled Pinned Locked Moved
    Beta Firmware
    25
    205
    25.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nurooundefined
      nuroo
      last edited by

      Sry to butt in, but this is the most active accelerometer thread.
      Have the LIS3DH installed on my printhead. I'm not sure if I chose the correct orientation for the sensor in relation to my actually printer xyz axis. Hoping for an auto setup feature in firmware which deterimes orientation of sensor and configures itself.

      20210606_181844 (1).jpg

      MikeSundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • MikeSundefined
        MikeS @nuroo
        last edited by

        @nuroo I don't know which orientation your chip is on the board but if your drawing is correct for sure the first number of I parameter should be 0 (top of the chip facing +X axis). Probably your second number should be 5 (-Y) or 1 (+y), it depends on how the chip is placed on the board.

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @nuroo
          last edited by

          @nuroo identify which of the images at https://www.dropbox.com/s/hu2w5mk57l4zqpg/Accelerometer Orientation.pdf matches your setup.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • MikeSundefined
            MikeS
            last edited by MikeS

            So today i tried my first real print with the new beta and also i'm hearing the extruder doing something weird with PA on. It's more noticeable during sharp corners (for example in the transition from 1 perimeters to the next one).
            Actually i'm using this:

            M572 D0 S0.03
            

            Video of the print where you can hear the "clicks" will be soon available there:
            https://youtu.be/7EV2qz565SQ

            1 Reply Last reply Reply Quote 0
            • nurooundefined
              nuroo
              last edited by nuroo

              @MikeS @dc42

              Thanks for trying to help. I did see the orientation.pdf but I was unable to determine which orientation I should choose based on the picutures because I have the adafruit sensor. When I initially set up the sensor I chose I50, but I'm unsure if it correct.

              M955 P0 C"spi.cs6+spi.cs5" I50 Q2000000 ;LIS3DH Adafruit2809

              The main point I failed to make with my past post was I wish the firmware determined the correct orientation. Couldnt the printer do a series of moves and see how user has sensor mounted??
              I mean the printer knows what are the correct X and Y axis. If printer issues an X+ move but sensor registers a Z- for example. Then another movement to determine 1 other axis. 2 axis known. Third movement unnesscary because if 2 axis known, third is whats left???

              I imagine lots of troubleshooting ahead if users are picking the wrong orientation. Then try to tune the wrong axis to fix ringing <<--like this guy 🙂
              Screenshot_20210730-130410_Gallery.jpg

              MikeSundefined 1 Reply Last reply Reply Quote 0
              • MikeSundefined
                MikeS @nuroo
                last edited by

                @nuroo thanks for the photo! From these i can see that your accelerometer Z axis is facing -X (4) and X axis is facing -Y (5) so your correct I parameter should be 45.

                For the auto detection i think it wouldn't be a problem but also finding it manually is not so complicated once you understand how it works. Also this need to be done only one time if you don't plan to move the accelerometer.

                I'm planning on also removing the accelerometer once the readings are done and installing it only if i retighten the belts.

                nurooundefined 1 Reply Last reply Reply Quote 0
                • nurooundefined
                  nuroo @MikeS
                  last edited by

                  @mikes thank u, Sir.

                  I would never have chosen that orientation even after viewing the pdf. It confuses me, I wont be the only one I think.

                  1 Reply Last reply Reply Quote 0
                  • skrotzundefined
                    skrotz @dc42
                    last edited by

                    @dc42 any new firmwares to test!? I’m able to do testing more easily on the weekends…

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @skrotz
                      last edited by dc42

                      @skrotz yes I have a new one, I just haven't found time to do an actual print with it yet. I found and fixed a bug with pressure advance.

                      I've just put it at https://www.dropbox.com/sh/ja08b7qdzsl8kjc/AAAwUbkN2XJvurq5CuQTgx5Wa?dl=0 for you to try. This version does not support DAA, just the other input shaping types.

                      Also fixes in this one is simulation mode, which was broken.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      Marco Bonaundefined 1 Reply Last reply Reply Quote 0
                      • Marco Bonaundefined
                        Marco Bona @dc42
                        last edited by

                        @dc42, should these versions also work with SBC connected? I tried to upgrade to 3.4 but when I start printing after the print temperature is reached the SBC disconnects and the printout is canceled.I upgraded with unstable branch to 3.4, in version 3.3 it works fine. I'll attach the report after I restart the machine.

                        m122
                        === Diagnostics ===
                        RepRapFirmware for Duet 3 MB6HC version 3.4.0beta1 (2021-07-10 16:20:28) running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
                        Board ID: 08DJM-956L2-G43S4-6JKF0-3S86T-9A5YD
                        Used output buffers: 1 of 40 (21 max)
                        === RTOS ===
                        Static ram: 150904
                        Dynamic ram: 63484 of which 0 recycled
                        Never used RAM 139804, free system stack 200 words
                        Tasks: SBC(resourceWait:,2.3%,332) HEAT(delaying,0.0%,325) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,799) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,351) TMC(notifyWait,7.3%,93) MAIN(running,89.6%,922) IDLE(ready,0.7%,29), total 100.0%
                        Owned mutexes: HTTP(MAIN)
                        === Platform ===
                        Last reset 00:00:45 ago, cause: power up
                        Last software reset at 2021-07-31 18:14, reason: User, GCodes spinning, available RAM 136244, slot 1
                        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
                        Error status: 0x00
                        Aux0 errors 0,0,0
                        Step timer max interval 144
                        MCU temperature: min 31.1, current 35.1, max 35.2
                        Supply voltage: min 24.1, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
                        12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
                        Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                        Driver 0: position 0, standstill, reads 61046, writes 15 timeouts 0, SG min/max 0/0
                        Driver 1: position 0, standstill, reads 61046, writes 15 timeouts 0, SG min/max 0/0
                        Driver 2: position 0, standstill, reads 61046, writes 15 timeouts 0, SG min/max 0/0
                        Driver 3: position 0, standstill, reads 61047, writes 14 timeouts 0, SG min/max 0/0
                        Driver 4: position 0, standstill, reads 61048, writes 14 timeouts 0, SG min/max 0/0
                        Driver 5: position 0, standstill, reads 61048, writes 14 timeouts 0, SG min/max 0/0
                        Date/time: 2021-07-31 18:16:34
                        Slowest loop: 1.58ms; fastest: 0.05ms
                        === Storage ===
                        Free file entries: 10
                        SD card 0 not detected, interface speed: 37.5MBytes/sec
                        SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                        === Move ===
                        DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                        === MainDDARing ===
                        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                        === AuxDDARing ===
                        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                        === Heat ===
                        Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 3 -1 -1 -1
                        Heater 1 is on, I-accum = 0.0
                        === GCodes ===
                        Segments left: 0
                        Movement lock held by null
                        HTTP* is doing "M122" in state(s) 0
                        Telnet is idle in state(s) 0
                        File is idle in state(s) 0
                        USB is idle in state(s) 0
                        Aux is idle in state(s) 0
                        Trigger* is idle in state(s) 0
                        Queue is idle in state(s) 0
                        LCD is idle in state(s) 0
                        SBC is idle in state(s) 0
                        Daemon is idle in state(s) 0
                        Aux2 is idle in state(s) 0
                        Autopause is idle in state(s) 0
                        Code queue is empty.
                        === CAN ===
                        Messages queued 348, received 316, lost 0, longest wait 1ms for reply type 6042, peak Tx sync delay 179, free buffers 49 (min 48), ts 230/229/0
                        Tx timeouts 0,0,0,0,0,0
                        === SBC interface ===
                        State: 4, failed transfers: 1, checksum errors: 0
                        Last transfer: 2ms ago
                        RX/TX seq numbers: 1585/1585
                        SPI underruns 0, overruns 0
                        Disconnects: 0, timeouts: 0, IAP RAM available 0x2c778
                        Buffer RX/TX: 0/0-0
                        === Duet Control Server ===
                        Duet Control Server v3.4-b1
                        Code buffer space: 4096
                        Configured SPI speed: 8000000Hz
                        Full transfers per second: 60.95, max wait times: 35.8ms/0.0ms
                        Codes per second: 4.45
                        Maximum length of RX/TX data transfers: 3481/980
                        
                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @Marco Bona
                          last edited by

                          @marco-bona I think you will need a new DSF to run with SBC.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          Marco Bonaundefined 1 Reply Last reply Reply Quote 0
                          • Marco Bonaundefined
                            Marco Bona @dc42
                            last edited by

                            @dc42, DSF has also been updated to 3.4.

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @Marco Bona
                              last edited by

                              @marco-bona said in RRF 3.4 input shaping preview available:

                              @dc42, DSF has also been updated to 3.4.

                              There is a further update needed to go with this RRF build, not released yet.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              JenPetundefined 1 Reply Last reply Reply Quote 0
                              • JenPetundefined
                                JenPet @dc42
                                last edited by

                                @dc42 The extrusion issue with PA is still there. A single wall line starts at my testprint at 0.45 and the line ends at 0.30 thickness.

                                dc42undefined 1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @JenPet
                                  last edited by

                                  @jenpet said in RRF 3.4 input shaping preview available:

                                  @dc42 The extrusion issue with PA is still there. A single wall line starts at my testprint at 0.45 and the line ends at 0.30 thickness.

                                  Is that with or without input shaping applied?

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  JenPetundefined 1 Reply Last reply Reply Quote 0
                                  • JenPetundefined
                                    JenPet @dc42
                                    last edited by JenPet

                                    @dc42 With Input Shaping mode zvdd @ 55Hz

                                    dc42undefined 1 Reply Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators @JenPet
                                      last edited by dc42

                                      @jenpet @skrotz I've just found and fixed a bug that was sometimes causing incorrect axis deceleration profiles when input shaping was used, typically leading to clonking sounds from the motors. On my test system it occurred when using ZVD input shaping but not when using EI3. This would also have affected the rate of extrusion vs. axis movement, which might make it look as though PA was not working properly at the end of a segment.

                                      I have updated the binaries at https://www.dropbox.com/sh/ja08b7qdzsl8kjc/AAAwUbkN2XJvurq5CuQTgx5Wa?dl=0.

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      JenPetundefined skrotzundefined 2 Replies Last reply Reply Quote 0
                                      • JenPetundefined
                                        JenPet @dc42
                                        last edited by JenPet

                                        @dc42 I have tested the updated firmware but see no improvement in my problem with extrusion

                                        dc42undefined 1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators @JenPet
                                          last edited by

                                          @jenpet thanks for the feedback. I will continue to work on this tomorrow.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 0
                                          • skrotzundefined
                                            skrotz @dc42
                                            last edited by

                                            @dc42 with this latest firmware I also did not see much difference. with PA enabled I still had extruder clunking and issues with over/under extrusion and jaggedness on some layers, especially where the head was moving to print the X and Y of the calibration cube. M122 reports no step errors but lots of hiccups:

                                            === Move ===
                                            DMs created 83, segments created 35, maxWait 57566ms, bed compensation in use: mesh, comp offset 0.000
                                            === MainDDARing ===
                                            Scheduled moves 11545, completed moves 11545, hiccups 2766, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                            === AuxDDARing ===
                                            Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1

                                            RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0beta2-inputshaping (2021-07-31 22:03:00) running on Duet WiFi 1.02 or later + DueX5

                                            Input shaping 'ei2' at 41.0Hz damping factor 0.10, min. acceleration 10.0, impulses 0.259 0.619 0.892 with durations (ms) 12.65 12.07 11.78
                                            572
                                            Extruder pressure advance: 0.120, 0.000, 0.000, 0.000

                                            dc42undefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA