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

    Duet 3 Mini 5+ VIN under-voltage issues in SBC mode

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    11
    120
    7.0k
    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.
    • PaulHewundefined
      PaulHew @droftarts
      last edited by

      @droftarts Ian, SBC mode.

      RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
      Voron 2.4 disassembled..... Waiting for the RailCore Mini....

      Fletcherundefined 1 Reply Last reply Reply Quote 1
      • Fletcherundefined
        Fletcher @PaulHew
        last edited by

        I'm seeing this too. DuetMini5+ Ethernet in SBC mode (RPi 3B+), M115 for mainboard and toolboard below:

        M115
        FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.3beta1 ELECTRONICS: Duet 3 Mini5plus Ethernet FIRMWARE_DATE: 2021-02-14 16:24:45
        M115 B121
        Duet TOOL1LC firmware version 3.3beta1 (2021-02-14 16:34:04)
        

        I left my printer sit powered on this week, and see 3 VIN undervolt events while idle. It also died again 3 hours into a 5 hour print last night. I'm happy to do whatever troubleshooting would help folks gather more info to get the root cause nailed down.

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

          @fletcher said in Duet 3 Mini 5+ VIN under-voltage issues in SBC mode:

          I left my printer sit powered on this week, and see 3 VIN undervolt events while idle.

          That's the first time we have seen this issue when the printer is idle. Perhaps it just wasn't noticed before. What was the voltage reported with the undervoltage events: 0.0, or a higher value?

          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

          Fletcherundefined 1 Reply Last reply Reply Quote 0
          • Fletcherundefined
            Fletcher @dc42
            last edited by Fletcher

            @dc42

            Also 0.0v. It's possible I mis-read my logs, but I am pretty sure of what I saw. Also of note: for at least some of that time, my heater was on because I am an idiot (but thankfully I didn't burn my house down). Of course I closed the RRF tab in Firefox this morning because my laptop was dragging -- is there any way to retrieve historical console data from SBC, so I could potentially see exactly when those messages happened and if the heater was on at the time?

            [edit]On further thought, I'd say it's more likely that I misread my log, than that this is a new problem you haven't seen before. I'm going to leave my machine on and idle again with a console window up and see if I can capture this again.[/edit]

            [edit]I can, in fact, Google, so I've enabled logging with M929 S1 P"vin-debug.log" and we'll see what we get. Is there any harm in adding this to my config.g considering I'm running on a 32gb SD card and there's no way I'm anywhere close to filling that? Would be nice if we could do auto log rollover (ie: save to a new filename after the file reaches a certain size) but c'est la vie! [/edit]

            Serbitarundefined 1 Reply Last reply Reply Quote 0
            • Serbitarundefined
              Serbitar @Fletcher
              last edited by

              @fletcher You can probably get logs from the SBC:

              sudo journalctl  --unit duetcontrolserver 
              
              Fletcherundefined 1 Reply Last reply Reply Quote 1
              • Fletcherundefined
                Fletcher @Serbitar
                last edited by

                Ok, I caught a VIN error while idle! See below: The error at 1:42 AM was the print failing. The error at 4:43 PM was the machine sitting idle.

                4fc7a9b8-672b-431e-83ad-fd041e940163-image.png

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • PaulHewundefined
                  PaulHew
                  last edited by

                  Happened again Mid-Print. 😞
                  2ecc3c62-f080-4ab2-9eff-fd6afd3f29b3-image.png

                  Had to issue a m564 h0 so I could lower the bed and clear the bed.

                  Again, SBC mode, rrf3.2.2

                  P.

                  RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                  Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                  1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @Fletcher
                    last edited by

                    @fletcher @paulhew We’ve been testing various new firmwares from @dc42 over the last week, but there’s still an issue. The trouble with this bug is that it can take 24hrs+ to happen! As far as we are aware, it does not happen in Standalone mode, so rather than waste filament on failed prints and raise the level of frustration, disconnect the SBC.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    Fletcherundefined 1 Reply Last reply Reply Quote 0
                    • Fletcherundefined
                      Fletcher @droftarts
                      last edited by Fletcher

                      @droftarts Overnight, I had two more events:

                      e1f4729c-e941-400c-82c4-02631e567462-image.png

                      I've tried two different PSUs and replaced 100% of the 24v wiring (before finding this thread), so I'm fairly certain it's not a power supply or wiring issue. Only remaining thing I could swap out is the 120V from the power entry module to the PSU, but this really feels like the same issue.

                      Good news is, I've got a build that seems to reliably generate failures every 12 hours, if you need more beta testers for firmware!

                      Due to the way my space is laid out, I'd need a wifi bridge (or to re-configure my SBC as a wifi bridge, I suppose) to use the Mini5 Ethernet without the SBC, so I'm down to test firmware for RRF.

                      1 Reply Last reply Reply Quote 1
                      • ukwebbundefined
                        ukwebb
                        last edited by

                        I too ( as previously mentioned ) was having this issue , and to test the undervolt side I've swapped back to standalone mode, but kept everything else the same, so the pi4 is still running,its still running Duet interface ( although it cant connect! ), its still running the 7" touch hdmi screen and C270 webcam etc etc etc. The only difference is the onboard SD card, and disconnected the GPIO cable.
                        2 weeks have now passed and not a single undervolt issue.

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

                          @ukwebb said in Duet 3 Mini 5+ VIN under-voltage issues in SBC mode:

                          I too ( as previously mentioned ) was having this issue , and to test the undervolt side I've swapped back to standalone mode, but kept everything else the same, so the pi4 is still running,its still running Duet interface ( although it cant connect! ), its still running the 7" touch hdmi screen and C270 webcam etc etc etc. The only difference is the onboard SD card, and disconnected the GPIO cable.
                          2 weeks have now passed and not a single undervolt issue.

                          Thanks, this confirms what we suspected, that it only happens in SBC mode.

                          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

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

                            I have identified and (I believe) fixed an issue that was contributing to this problem. For anyone who would like to try it, there is a new firmware build at https://www.dropbox.com/sh/b65da04w1gl94nf/AACLpPslfDiWDlJN5KDdPydAa?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

                            PaulHewundefined Fletcherundefined 2 Replies Last reply Reply Quote 1
                            • PaulHewundefined
                              PaulHew @dc42
                              last edited by

                              @dc42 Thanks as always for your hard work.
                              Have loaded and will let you know..

                              RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                              Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                              1 Reply Last reply Reply Quote 0
                              • M-Pixelundefined
                                M-Pixel
                                last edited by

                                +1 over here. Duet 3 Mini 5+ in SBC mode; SBC is powered by a step-down which is in turn powered by the same 48V supply that powers the Duet, so it's not possible for the Duet to lose power without the SBC also losing power. Occurrence seems completely random - I haven't observed a single common variable between the occurrences (apart from the fact that they all occur on the same printer, of course).

                                I've been contending with the issue by figuring out approximately where the print stopped, then manually editing the gcode file to pick up where it left off.

                                I'm loading the April 7th firmware now, and will post diagnostics if the issue occurs again.

                                1 Reply Last reply Reply Quote 0
                                • Fletcherundefined
                                  Fletcher @dc42
                                  last edited by

                                  @dc42 Thank you! I loaded your 7APR firmware at 10:33 AM local time today and left the board sitting idle while I worked. It's now 18:50 with zero VIN under-voltage events, whereas I had at least one during this time-frame each of the last two days (with the machine sitting idle). I'm going to let the machine sit for another 24 hours before I try printing, but, signs are positive!

                                  1 Reply Last reply Reply Quote 0
                                  • PaulHewundefined
                                    PaulHew
                                    last edited by

                                    Morning. After loading the firmware last night, I was greeted by this this morning. Machine was idle.
                                    b69e938a-6455-46f4-9455-9860c7c8c941-image.png

                                    E-Stopped the board and has stopped the VSSA faults.

                                    Have some tuning to do this morning, so will report back.

                                    Regards,
                                    Paul.

                                    RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                                    Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

                                      @paulhew, please run M115 to confirm the firmware build date/time.

                                      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

                                      PaulHewundefined 1 Reply Last reply Reply Quote 0
                                      • PaulHewundefined
                                        PaulHew @dc42
                                        last edited by

                                        @dc42

                                        m115
                                        FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.3beta2+1 ELECTRONICS: Duet 3 Mini5plus Ethernet FIRMWARE_DATE: 2021-04-07 13:33:17
                                        

                                        Regards,

                                        Paul

                                        RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                                        Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                                        PaulHewundefined 1 Reply Last reply Reply Quote 0
                                        • PaulHewundefined
                                          PaulHew @PaulHew
                                          last edited by PaulHew

                                          @paulhew Just had these pop up
                                          9f64dda4-24cd-4dce-b7c2-58bc4bcf61c3-image.png
                                          They are new!

                                          edit: and it did all of the movements and heating but nothing on the bed.
                                          No blockage. Going back to 3.2.2 😞

                                          edit.edit: was I supposed to upgrade the 1LC firmware also?

                                          Downloaded 3.2.2, upload to board, now I get this.

                                          M997 S0
                                          Error: M997: Failed to find IAP file /opt/dsf/sd/firmware/Duet3_SBCiap32_Mini5plus.bin
                                          

                                          P.

                                          RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                                          Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

                                            @paulhew said in Duet 3 Mini 5+ VIN under-voltage issues in SBC mode:

                                            edit.edit: was I supposed to upgrade the 1LC firmware also?

                                            Yes, if you run 3.3 on the main board then you need 3.3 on expansion and tool boards too.

                                            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

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