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

Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning

Scheduled Pinned Locked Moved
Firmware wishlist
20
64
10.9k
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.
  • undefined
    o_lampe @GeneRisi
    last edited by o_lampe 18 Apr 2021, 08:22

    @generisi said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

    I know that samples would have to be synchronous, or perhaps asynchronous and the Fourier results of the frame vibration subtracted from the Fourier results of the carriage vibration?

    By using the same file for both tests, one could write a specific start- and end movement (a number of fast/short back and forth moves) which would allow to match the results. (*) The input shaper would have to search for these patterns...

    *) calling a macro M98 P"ShakeItBaby.g"

    1 Reply Last reply Reply Quote 0
    • undefined
      o_lampe @CNCModeller
      last edited by 18 Apr 2021, 08:29

      @cncmodeller said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

      could there be a way to change the parameter during a print based on the amount of filament extruded?

      Adding filament will change the frequencies, but it also depends where you put it. In case of a Cartesian, the layer height has an influence. In case of a Polar bed, even the distance from bed-center is important.
      Then each layer of plastic adds a different amount of flexibility (PLA vs ABS, vs PETG)
      It's impossible to digest all that in a theoretic shaper model.
      Better measure online and correct on the fly

      undefined 1 Reply Last reply 18 Apr 2021, 08:49 Reply Quote 0
      • undefined
        JoergS5 @o_lampe
        last edited by JoergS5 18 Apr 2021, 08:49

        Instead of input shaping, for global vibrations one could also create vibrations in opposite direction like a noise cancellation system for earphones. Maybe Piezo based, using LIS3DH as source of information.

        1 Reply Last reply Reply Quote 0
        • undefined
          CCS86 @dc42
          last edited by 23 Apr 2021, 03:42

          @dc42 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

          Yes, but perhaps not on the Duet Maestro because it doesn't have floating point hardware.

          😬

          Boy, I really hope it doesn't pan out that way. I have been really looking forward to this feature on my Maestro. Accelerometer on the way.

          1 Reply Last reply Reply Quote 0
          • undefined
            appjaws
            last edited by 25 Apr 2021, 14:17

            I have a PT100 daughter board and my accelerometer is attached to my hot end assembly.
            Could somebody point me in the direction of where to find how to connect the 2 boards and what changes are needed to config.g
            Thanks

            appjaws - Core XYUV Duet Ethernet Duex5
            firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
            Ormerod 1-converted to laser engraver, Duet wifi
            OpenSCAD version 2024.03.18
            Simplify3D 5.1.2

            undefined undefined 2 Replies Last reply 25 Apr 2021, 14:22 Reply Quote 0
            • undefined
              oliof @appjaws
              last edited by 25 Apr 2021, 14:22

              @appjaws https://duet3d.dozuki.com/Wiki/Accelerometers and https://duet3d.dozuki.com/Wiki/Gcode#Section_M955_Configure_Accelerometer should get you going

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              1 Reply Last reply Reply Quote 0
              • undefined
                Adrian52 @appjaws
                last edited by 25 Apr 2021, 14:51

                @appjaws for the connection via the daughterboard see:
                https://forum.duet3d.com/topic/22904/duet-2-wifi-accelerometer-connection/1

                1 Reply Last reply Reply Quote 0
                • undefined
                  appjaws
                  last edited by 26 Apr 2021, 12:03

                  Thanks for the help.
                  I am totally confused....(not hard)

                  from the Wiki*****
                  Two further signals must be connected on the accelerometer breakout board: SPI CS, and INT1. The INT1 pin must be connected to a Duet pin with interrupt capability. This is what we suggest:

                  On Duet WiFi, Duet Ethernet and Duet Maestro all the SPI CS pins have interrupt capability, so you can use any two spare CS pins on the daughter board connector. For example, on a Duet WiFi or Duet Ethernet you could connect the accelerometer CS pin to SPI.CS3, and the INT1 pin to SPI.CS4. Then use this command to tell RRF about it:
                  M955 P0 C"spi.cs3+spi.cs4"


                  I can not see any markings on my daughter board for SPI.CS3 or CS4

                  from the Wiki*****
                  To use a direct connection, connect the accelerometer MOSI (also called SDI), MISO (also called SDO), SCLK and GND pins to the corresponding pins on the SPI daughter board connector. You can also pick up +3.3V on the daughter board connector to feed to the Vcc pin of the accelerometer.


                  On the accelerometer the markings are:
                  I2,A3,A2,A1,SDO,CS

                  Vin, GND,SCL, SDA INT

                  So would SDI actually be SDA?
                  Would SCLK actually be SCL?
                  Where are the corresponding SCLK, GND, Vcc SDI,SDO, SPI.CS3, SPI.CS4 on the daughter board?

                  I already have a PT100 connected to RTD1 on the daughter board

                  appjaws - Core XYUV Duet Ethernet Duex5
                  firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                  Ormerod 1-converted to laser engraver, Duet wifi
                  OpenSCAD version 2024.03.18
                  Simplify3D 5.1.2

                  undefined 1 Reply Last reply 26 Apr 2021, 12:59 Reply Quote 0
                  • undefined
                    sebkritikel @appjaws
                    last edited by sebkritikel 26 Apr 2021, 12:59

                    @appjaws Here is my wiring diagram I used when connecting to the daughter board header on the Duet2 - see important notes below about actually connecting to the daughter board itself.
                    7b3e641b-21ba-421d-ab7d-027b2314b1f8-image.png

                    For the daughter board, I think the two key notes are

                    You would have needed to use spi.cs3 or spi.cs4(because spi.cs1 and spi.cs2 are used by the daughter board. Those pins are routed to the top of the daughter board on different pins (the pins that would be spi.cs1 and spi.cs2 respectively if those were routed straight through).

                    and

                    So when connecting via the daughterboard, I should connect cs to pin position 3, and int1 to pin position 1, to pick up cs3 and cs4?

                    Using M955 P0 C"spi.cs3+spi.cs4"

                    Large(ish?) IDEX - 6HC, 1HCL
                    Stratasys Dimension 1200es to 6HC Conversion

                    undefined 1 Reply Last reply 26 Apr 2021, 16:16 Reply Quote 0
                    • undefined
                      appjaws @sebkritikel
                      last edited by 26 Apr 2021, 16:16

                      @sebkritikel perfect, thanks, I'll crack on in the morning.

                      appjaws - Core XYUV Duet Ethernet Duex5
                      firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                      Ormerod 1-converted to laser engraver, Duet wifi
                      OpenSCAD version 2024.03.18
                      Simplify3D 5.1.2

                      undefined 1 Reply Last reply 26 Apr 2021, 16:20 Reply Quote 0
                      • undefined
                        dc42 administrators @appjaws
                        last edited by 26 Apr 2021, 16:20

                        @appjaws, the diagram posted by @sebkritikel is valid if you don't have a daughter board already plugged into the connector.

                        If you do have a single daughter board plugged in to it, then on the top of the daughterboard CS3 and CS4 are shifted 3 pins to the left in the above diagram. CS1 and CS2 are not available because the daughter board uses them.

                        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

                        undefined 1 Reply Last reply 27 Apr 2021, 14:30 Reply Quote 2
                        • undefined
                          CCS86 @dc42
                          last edited by 27 Apr 2021, 14:30

                          Accelerometer has arrived.

                          Man, this component is close to the mounting screw! Might have to grind down the head.

                          f148701e-fba2-48d3-935b-0fa3c4a0f350-image.png

                          Have a nice mount for my carriage designed and ready to print:

                          e131a631-7f70-488d-be4e-925920d86589-image.png

                          @dc42 What are the odds input shaping makes it to the Maestro?

                          undefined 1 Reply Last reply 27 Apr 2021, 17:07 Reply Quote 0
                          • undefined
                            dc42 administrators @CCS86
                            last edited by 27 Apr 2021, 17:07

                            @ccs86 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                            What are the odds input shaping makes it to the Maestro?

                            Not good, because the Maestro does not have hardware floating point.

                            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

                            undefined 1 Reply Last reply 28 Apr 2021, 02:24 Reply Quote 0
                            • undefined
                              CCS86 @dc42
                              last edited by 28 Apr 2021, 02:24

                              @dc42 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                              @ccs86 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                              What are the odds input shaping makes it to the Maestro?

                              Not good, because the Maestro does not have hardware floating point.

                              That is super disappointing to hear. I was under the impression that it did: https://duet3d.dozuki.com/Wiki/Comparison_of_Duets_vs._other_32-bit_controller_boards

                              undefined 1 Reply Last reply 28 Apr 2021, 04:22 Reply Quote 0
                              • undefined
                                zapta @CCS86
                                last edited by 28 Apr 2021, 04:22

                                @ccs86, notice the difference in the link you posted between Maestro and Duet2, one is M4 and one is M4F.

                                https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4 .

                                Sometimes the fine prints make a big difference. 😉

                                undefined 1 Reply Last reply 28 Apr 2021, 15:41 Reply Quote 1
                                • undefined
                                  CCS86 @zapta
                                  last edited by 28 Apr 2021, 15:41

                                  @zapta said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                                  @ccs86, notice the difference in the link you posted between Maestro and Duet2, one is M4 and one is M4F.

                                  https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4 .

                                  Sometimes the fine prints make a big difference. 😉

                                  I was talking about this:

                                  50885797-25c6-466e-bf79-2a1ff661f18e-image.png

                                  This reads to me as the Maestro having floating point hardware. So, when one of the most anticipated firmware features isn't likely to be supported on the Maestro because of a "lack of floating point hardware", it seems reasonable to be confused/disappointed.

                                  undefined undefined 2 Replies Last reply 28 Apr 2021, 15:50 Reply Quote 0
                                  • undefined
                                    zapta @CCS86
                                    last edited by zapta 28 Apr 2021, 15:50

                                    @ccs86 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                                    it seems reasonable to be confused/disappointed.

                                    Good point. It is represented to have hardware FP similar to the Duet2 which is expected to support input shaping. Same goes for RAM size and CPU speed.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators @CCS86
                                      last edited by dc42 28 Apr 2021, 18:14

                                      @ccs86 that entry in that table is incorrect.

                                      Edit: I have corrected it.

                                      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

                                      undefined 1 Reply Last reply 28 Apr 2021, 20:08 Reply Quote 0
                                      • undefined
                                        garyd9
                                        last edited by 28 Apr 2021, 19:49

                                        It's interesting that the table shown above differentiates between the Cortex M4 and M4F, but then doesn't use the "F" suffix on the processor for the Duet3 6HC. That might lead a person to believe that the chip used on the Duet3 does NOT contain the optional FPU.

                                        "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Nuramori
                                          last edited by 28 Apr 2021, 19:59

                                          I received from Filastruder an email about great new products from Duet, including a new toolboard, version 1.01 that "is now shipping with a built in accelerometer."

                                          I really hope that purchase I just made 2 minutes ago isn't any more a mistake as the sammy-c21 and LIS3DH I bought the week before 😛

                                          1 Reply Last reply Reply Quote 0
                                          53 out of 64
                                          • First post
                                            53/64
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA