Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Summary of HuanYang VFD Control by Duet3D 6HC

    CNC
    3
    5
    90
    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.
    • dainon
      dainon last edited by dainon

      I've been reading many posts here and via other sources regarding VFD and Duet3D control. To summarize what I've read, most everyone uses an inexpensive PWM to 0-10V board to control the "Inexpensive" HuanYang VFD for speed control. Someone mentioned using the 5V PWM VFD support on the mainboard, but that's still PWM. The HuanYang uses 0-5 or 0-10V speed control not PWM. There's a discussion here about what more can be "built-in" to the Duet3D for CNC spindle improvements, but no clear direction or answer for my question today.

      What I'm curious of is if there's a way to configure, for example, the OUT_1 pins (out1, V_FUSED) for variable volts output to send the 0-10V control that the HuanYang VFD uses? I've connected a volt meter to see if this works, but I'm not certain of the config file parameters as I always get 0V. I've tried the following, but have also read I possibly need to disable a heater.

      ; Tools
      G10 P0 x0 Y0 Z0
      G10 P0 R0 S0
      M563 H0 S"Spindle"
      M950 S0 C"out1" R24000 Q100 T0
      

      I hope it goes without saying, this is confusing. I already have a friend who is short and snippy about what he thinks of my knowledge on the subject, so please be constructive here.

      Information About My System
      Custom Built CNC - Based on IndyMill
      Duet3D Mainboard 6HC with Raspberry PI
      Huanyang VFD HY01D511B (HY Series)

      jay_s_uk dc42 2 Replies Last reply Reply Quote 0
      • jay_s_uk
        jay_s_uk @dainon last edited by jay_s_uk

        @dainon as far as I'm aware, a 0-10v pwm to analogue converter is the only way that'll work.
        Out1 etc are all just MOSFET driven pwm controllers with no variable voltage control
        Note: this is how I control my VFD

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

          @dainon the main issue here is that high power VFDs are prone to generating ground noise, so the 0-10V feed to them should be isolated from the Duet. Many VFDs (including the one that you are using) provide a 10V output so that you can connect a potentiometer across that 10V supply and feed it to the speed input. The PWM-to-voltage converter replaces that potentiometer.

          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

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

            @dc42 Thanks for that information. I've had similar issues with a hydroponic Ph sensor connected to the pumping system circuit. When the pump kicked off, the sensor got out of whack and need some time to settle. I assume what you are saying is similar that? I'm a hobbyist and not an expert in electrical circuits.

            1 Reply Last reply Reply Quote 0
            • dainon
              dainon last edited by

              Thank you all. I bought a PWM to Analog converter and will be wiring that up today. I'll mark this topic solved.

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  dainon dainon 
              • Topic has been marked as solved  dainon dainon 
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA