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

    PWM to Voltage Converter Issues - Again!

    Scheduled Pinned Locked Moved
    CNC
    5
    19
    796
    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.
    • Nightowlundefined
      Nightowl @gloomyandy
      last edited by

      @gloomyandy said in PWM to Voltage Converter Issues - Again!:

      Since you have decided to start a new thread on this topic, you should post details of the converter you are using and your config.g file. Otherwise folks need to go looking for your previous thread...

      Ok, sorry.

      This is a link to the converter I'm using, which appears to be similar to the one you linked to.

      The spindle section of the config.g file is shown below:

      ; Milling motor and relay configuration
      M950 R0 C"vfd+out7" L4000:25000 Q1000	; enable router relay on out7
      M563 P0 S"George" R0 			; assign spindle 0 to tool 0 and name it George
      T0					; select tool 0
      M5					; ensure motor is turned off
      

      Note: out7 enables/disables the relay providing mains power to the spindle. This is because the minimum speed, when connected to a digital interface is 4,000rpm (not 0rpm).

      I've attached the config.g as a .txt file, in case you want to check it out.

      What I needed to be sure of was that "...feeding a 100% signal..." to the converter is exactly the same as "...applying 3.3V..." to it, although it seems this one requires 5V (according to the product page), but I understand that now.

      I'll test it tomorrow and report back here.

      Thank you 👍

      config.txt

      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
      I'm still on my learning curve, so take everything I say with caution!

      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

      1 Reply Last reply Reply Quote 0
      • Nightowlundefined
        Nightowl @gloomyandy
        last edited by

        @gloomyandy

        Tested the converter and it is defective. I cannot get more than 8.4V out from the spindle control pins when I actually need 10V, so a new one is on order!

        Thanks for pointing me in the right direction in getting this sorted.

        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
        I'm still on my learning curve, so take everything I say with caution!

        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

        1 Reply Last reply Reply Quote 1
        • Nightowlundefined
          Nightowl @gloomyandy
          last edited by

          @gloomyandy

          I've ordered two of these, from different manufacturers (at least as far as the trading name goes) but both of the new ones have an output of between 0 and 8.6VDC, and turning the small screw has absolutely no effect at all.

          The input voltage is 12VDC (measured) and the PWM voltage is 5VDC (measured) to get an output of 8.4VDC, or a PWM voltage of 0VDC to get an output of 0.0VDC

          So now I'm clean out of ideas.

          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
          I'm still on my learning curve, so take everything I say with caution!

          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

          dc42undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @Nightowl
            last edited by

            @Nightowl can you trace the schematic of 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

            Nightowlundefined 1 Reply Last reply Reply Quote 0
            • Nightowlundefined
              Nightowl @dc42
              last edited by Nightowl

              @dc42
              Not very well, I'm afraid. What would I need to know?

              I could provide a photo 🙄

              Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
              I'm still on my learning curve, so take everything I say with caution!

              RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                @Nightowl I have one somewhere, but it may take me a while to find 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

                Nightowlundefined 1 Reply Last reply Reply Quote 0
                • Nightowlundefined
                  Nightowl @dc42
                  last edited by

                  @dc42 Isn't it in the cupboard, behind the clock?

                  That's where I keep finding 'lost' stuff 😁 😁

                  Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                  I'm still on my learning curve, so take everything I say with caution!

                  RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @Nightowl
                    last edited by

                    @Nightowl said in PWM to Voltage Converter Issues - Again!:

                    've ordered two of these, from different manufacturers (at least as far as the trading name goes) but both of the new ones have an output of between 0 and 8.6VDC, and turning the small screw has absolutely no effect at all.

                    I would return them as faulty as a start!

                    www.duet3d.com

                    Nightowlundefined 1 Reply Last reply Reply Quote 0
                    • Nightowlundefined
                      Nightowl @T3P3Tony
                      last edited by Nightowl

                      @T3P3Tony

                      Yup, they're gone!

                      Further to this, though... The one that does come close still only provides 9.6VDC, and that's with the brass screw all the way in, but I had to use 24V directly from the PSU, not 12V/GND supply adjacent to the VFD/Laser/Servo Driver header.

                      I really don't understand why the converter won't give the 10V the spindle needs.

                      Perhaps it's time to persuade Duet to design it into the control board 🙄 🙄

                      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                      I'm still on my learning curve, so take everything I say with caution!

                      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                      1 Reply Last reply Reply Quote 1
                      • Nightowlundefined
                        Nightowl
                        last edited by

                        So, I've been out to the workshed (too small to be a workshop, too big to be a toolshed) and, with the (cheapest) PWM-Voltage converter managed to achieve the following:

                        Programmed - Actual Speeds
                        M10000 gives 10,150rpm
                        M14000 gives 14,010rpm
                        M18000 gives 18,000rpm
                        

                        As this is the speed range within which I primarily use the spindle, I think that'll do!

                        Thanks to you all for your help!

                        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                        I'm still on my learning curve, so take everything I say with caution!

                        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                        alankilianundefined 1 Reply Last reply Reply Quote 1
                        • alankilianundefined
                          alankilian @Nightowl
                          last edited by

                          @Nightowl EXCELLENT!!!

                          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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