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

    PID CNC Spindle control using heater and thermistor feedback

    Scheduled Pinned Locked Moved
    CNC
    2
    2
    157
    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.
    • CNCModellerundefined
      CNCModeller
      last edited by

      Hi All,
      I've been thinking about how to do closed loop control of a cnc spindle.

      My idea is to use heater pwm and temp feedback inputs.

      My thoughts are that a thermistor must be part of a voltage divider and as such I could replace that voltage divider with a digital potentiometer. I guess I'd need to find the other side of the reference resistor and solder a connection to the board at that location. I'd probably need to remove that resistor too.

      I could then write some simple code in an Arduino to take encoder signals from the spindle and send them to the digital potentiometer as speed feedback.

      Once feedback is in place I could drive the spindle from the heater pwm and close the loop with heater temperature signal and heater pid.

      Am I smoking something, or is the a potential solution?

      Any constructive thoughts would be great.

      All the best
      Barry M

      Polar Duet3 Mini + 1HCL
      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
      Wanhao D4S: Duet2
      https://forum.duet3d.com/post/296755
      K40 Laser, Duet2
      https://forum.duet3d.com/post/312082
      Wanhao D5S
      https://www.youtube.com/CNCModellerUK

      o_lampeundefined 1 Reply Last reply Reply Quote 1
      • o_lampeundefined
        o_lampe @CNCModeller
        last edited by

        @cncmodeller You are basically looking for a frequency2voltage converter or DA converter.
        How many pulses do you get at full speed?

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