Welcome to Our Community

Some features disabled for guests. Register Today.

Router Speed Controller

Discussion in 'General Electronics' started by Northernboy, Feb 4, 2018.

  1. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    I wanted to slow down my Dewalt router to 12000 RPM so I started to investigate a closed loop controller. So I looked into SuperPID which seemed to be what I needed. However at $200 it didn’t seem to be worth it. So I designed my own, most of the parts I had n had to order about $30 of components. I’m using an Arduino Nano to measure speed using an optical sensor and control the router using a triac by changing the firing angles. I had to modify the router to bypass the internal speed controller. Speed set point is received from my GRBL board which is another Arduino Nano. Now I can slow down the router to 5000 RPMs. To view all the information and modify setting I use wifi and app.
    Just wanted to let people know incase they are looking for the same thing but felt SuperPID is too expensive.
    I’ll post pics soon.
     
  2. GrayUK

    GrayUK Openbuilds Team Elder
    Staff Member Moderator Builder

    Joined:
    May 5, 2014
    Messages:
    1,668
    Likes Received:
    627
    You certainly seem to know what you are doing.
    Well Done :thumbsup::thumbsup:
     
  3. CNCKitCompany

    Builder

    Joined:
    Jan 22, 2018
    Messages:
    35
    Likes Received:
    11
    Please do post the pics. I too was looking at SuperPID recently.

    I'm curious why you bypassed the internal speed controller and why not just set it at the highest speed and let your external logic regulate it down from there? Maybe the internal speed controller is smarter than I give it credit for. What was involved in disabling it?

    Your optical sensor, is that looking at the collet nut like SuperPID?
     
  4. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    The optical sensor is aimed at a 3D printed speed pickup with 4 sides that I have foil tape on to make it more reflective. The pickup is mounted just above the collet. In the future I may test a Hall Effect sensor and use the pickup that the internal speed controller uses. I didn’t go this way at first incase things didn’t work out n I could simply go back to normal.
    I don’t think it would work without bypassing the internal speed controller, and that’s also the way SuperPID recommends doing it.


    In the pics you can see the speed pickup and optical sensor.
    68F2418B-2705-4801-9EAF-1065B33A75D5.jpeg
     
  5. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    C4516F77-FBF8-4CD7-BE60-F8D4645454E2.jpeg The Nano on the right is running GRBL and the one on the left is doing the speed control. I also added a feed hold input to the GRBL Nano incase RPM gets too low.
     
  6. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    This the board that changes the power going to the router. I did it separate to keep the AC power away from the controllers. 27660419-C81B-4C54-97A2-25E6C7994F9A.jpeg
     
  7. CNCKitCompany

    Builder

    Joined:
    Jan 22, 2018
    Messages:
    35
    Likes Received:
    11
    Cool, thanks for sharing. I was thinking something along the lines of this PSSR ZC Tail would make it easier and less exposed for the router AC wiring. Though now that I look at it in detail, it may not have a high enough power rating.
     
  8. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    Would be nice but not big enough and meant for non-inductive loads.
     
  9. Rick 2.0

    Rick 2.0 OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Dec 20, 2013
    Messages:
    2,892
    Likes Received:
    1,551
    Any chance you could provide a circuit diagram for this?

    Thx.
     
  10. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    Yes I can but first I’ll clean up my schematic and put in proper values.
     
  11. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    Here are my schematics hopefully you can make sense of it.
    With a speed control Nano, it can configured anyway, LCD & Pot instead of Wifi interface or anything else.
     

    Attached Files:

    steve_at and Rick 2.0 like this.
  12. Speach

    Speach New
    Builder

    Joined:
    May 20, 2018
    Messages:
    2
    Likes Received:
    0
    Hello
    This is a very good build, in fact, I am planning to take benefit from it and build mine.
    My guess is that if we use DC rectified mains power (with proper power rectifier, capacitors and a mosfet in place of a triac), it would run with more torque and less noise (and probably more power efficient).
    By the way, is there a possibility to get the code for the Router Nano ? Does it implement a PID algorithm ?
    Thanks anyway : )
     
  13. Northernboy

    Builder

    Joined:
    Feb 8, 2016
    Messages:
    26
    Likes Received:
    15
    Yes I do use PID algorithm with adaptive gain for quicker recovery when speed droops.
    Attached you will find the Arduino files. One is the for the Nano and the other if for the ESP8266 that does the Wifi Interface to the Blynk App.
    Anything else I can help you with let me know.
     

    Attached Files:

  14. Speach

    Speach New
    Builder

    Joined:
    May 20, 2018
    Messages:
    2
    Likes Received:
    0
    Thank you very much ! I'll have a close look at these, they will certainly come in handy !
    BTW, I already have modified my router, but instead of using large 5mm emitter/receiver, I've used a TCRT5000 sensor, wich is using the same working principle but in a smaller dedicated housing.

    Here are

    The schematic :
    TCRT Sensor schematic.png
    The pcb :
    TCRT Sensor board.png

    ..and layout :
    TCRT Sensor layout.png
    I'll gladly post pictures of my modified router if needed.

    As the sensor is very small, it requiered me to just drill two 3mm holes, 20 mm apart to mount it in the brush area housing, with long 12mm allen M3 screws.

    Works like a charm and is less sensitive to environment.

    Thank you again.
     
  15. Gunno

    Gunno New
    Builder

    Joined:
    Jun 3, 2019
    Messages:
    1
    Likes Received:
    0
    Folks this is a great project. Im keen to modify my router for a Lowrider 2 that i sm building. Speach could uou please post more details on your installation
     
  16. IsakVisini

    Builder

    Joined:
    May 11, 2020
    Messages:
    1
    Likes Received:
    0
    Hello...as per my knowledge on routers and their control i can say the cheapo Speed controller says it is controlled by PWM which by the picture the dial is potmeter so what is that pot PWM controlling and if its the blue box on the PCB maybe thats the place to hook up the Leonardo, I have an ex colleague that has an oscilloscope.

    pcb manufacturer
     
    #16 IsakVisini, May 11, 2020
    Last edited: Jun 5, 2020

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice