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

    berdair control issue, Cura or RRF ?

    Scheduled Pinned Locked Moved
    General Discussion
    4
    12
    608
    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.
    • MikeDCundefined
      MikeDC
      last edited by

      I have a berdair set up on my duet3, and have set the frequency to Q500.

      for the printing I am currently doing i need minimal partcooling, mainly on bridges and support interfaces.

      i have set 0% - 5% cooling in cura.

      3 times during this print the berdair went crazy with 30% 60% and 100% fan

      inspecting the gcode generated by cura i think i have found the issue.
      2 of the lines pointed below.

      I know rrf will take fan control parameter S as either 0.0 - 1.0 or 1 - 255
      Cura is generating decimal places on all values above 0
      it looks like RRF cannot distinguish values lower than 1 from values above 1 generated by cura so when it sees 0.3 and 0.6 it set my berdair to 30% and 60%

      is there anyway to avoid this issue, any parameter to tell RRF which scale that we are using ?

      ee881b83-6ec8-4db4-b752-59ab7c0697fd-image.png

      1 Reply Last reply Reply Quote 1
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by Phaedrux

        That's an interesting problem. I suppose it's pretty rare to use such low percentages. Will have DC42 take a look.

        One way to avoid it would be to just set cura to 1-5% and avoid the 0 range entirely. Would 1% cooling cause you issues?

        It also seems odd for Cura to use decimal values for the 1-255 range in the first place.

        What Cura version is it?

        Z-Bot CoreXY Build | Thingiverse Profile

        resamundefined MikeDCundefined 2 Replies Last reply Reply Quote 0
        • resamundefined
          resam @Phaedrux
          last edited by

          @phaedrux I think if you tell Cura to limit the cooling to a max of 5%, then this equals 255*0.05 = 12.75 as the highest numerical value passed to RRF. I think thats expected (at least I did).

          But that RRF flaps between thinking its a 0-1.0 and a 0-255 range is indeed problematic. Maybe we need a new setting to configure what the valid range should be, and to disable this "smart range detection".

          MikeDCundefined 2 Replies Last reply Reply Quote 1
          • MikeDCundefined
            MikeDC @resam
            last edited by MikeDC

            @resam
            this flap between scales has ruined a print for me 9 hours in with a not exactly cheap polycarb carbon fibre material 😞

            Im not a programmer but am trying to see if i can do a cura post processing plugin to repace any m106 commands less than S1.1 with S0 now

            resamundefined 1 Reply Last reply Reply Quote 0
            • resamundefined
              resam @MikeDC
              last edited by

              @mikedc you can also experiment with the M106 X parameter to set a max fan speed. https://duet3d.dozuki.com/Wiki/M106

              MikeDCundefined 1 Reply Last reply Reply Quote 0
              • MikeDCundefined
                MikeDC @resam
                last edited by

                @resam

                im already looking at this, and the min parameter
                i would have to change this max parameter any time i want very low airflow

                1 Reply Last reply Reply Quote 0
                • MikeDCundefined
                  MikeDC @Phaedrux
                  last edited by MikeDC

                  @phaedrux
                  the cura version im using is 4.10.0

                  I have also posted this issue on the cura github, but i doubt they will do much about it.

                  there was a 3rd line in the code too where it set it to 1.0 which rrf saw as 100%

                  1 Reply Last reply Reply Quote 0
                  • MikeDCundefined
                    MikeDC @resam
                    last edited by MikeDC

                    @Phaedrux

                    I tried your suggestion, but set it to 1.1 not 1.0 as that would be 100%

                    424c079e-5265-4802-bcd4-0dd5be4e4882-image.png

                    also under experimental i set the bridge fan to 5%

                    look what happened
                    d6f20da1-8cfe-412e-a7eb-e2b267e52136-image.png

                    im using very low percentage as the berdair does push a lot of air for each 1% increment

                    rjenkinsgbundefined 1 Reply Last reply Reply Quote 1
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by Phaedrux

                      Is that S0.9 line from the first 4 layers where Cura would be scaling up the fan percentage as set by the Regular Fan Speed at Layer setting?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      MikeDCundefined 1 Reply Last reply Reply Quote 0
                      • MikeDCundefined
                        MikeDC @Phaedrux
                        last edited by

                        @phaedrux

                        yes i think it is, i will play with a couple more models with some small layer areas which will triger minimum layer times and the fan speeds a bit more

                        1 Reply Last reply Reply Quote 0
                        • rjenkinsgbundefined
                          rjenkinsgb @MikeDC
                          last edited by

                          @mikedc
                          As an interim fix, could you connect an appropriate (adequate current) adjustable buck regulator module in the DC supply to the Berd-air PWM switch?

                          That should allow you to reduce the motor "100%" voltage, so requiring higher PWM drive for a given airflow, and allow higher min/max settings in the slicer, hopefully keeping it above 1%..

                          Robert J.

                          Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                          1 Reply Last reply Reply Quote 0
                          • MikeDCundefined
                            MikeDC
                            last edited by MikeDC

                            Ok, I got an answer that works for me 🙂

                            Im not a programmer but have been able to hack together a cura post processing plugin that seems to work fine for me.
                            I will attach it for anyone else should they experience the same issues.
                            Just drop it in the same folder as your cura post processing plugin scripts.
                            usual location
                            C:\Program Files\Ultimaker Cura 4.[xx.x] \plugins\PostProcessingPlugin\scripts

                            as a bonus it also makes my berdair more controllable, as it doesnt start turning until the S value is at least 26 and reaches max speed at 245'ish.
                            I can enter the berdairs start S value and Max S value and it now recalculates this as being the 0 - 100% fan range ansd also drops the decimal places by rounding

                            im also replacing any M107 with M106 S0

                            RRFFanScale.py

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