CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-24-2010, 08:10 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,245
RomanLini is on a distinguished road
Super-PID new low-cost router speed controller

Hi, after weeks of development I'm finally allowed to discuss this project. As some of you may know I've been an electronics product developer for a lot of years, and a CNC hobbyist for not so many years.

A couple of months back I created a closed loop router speed controller for my home CNC router, my router is; (here.

The controller uses a reflective opto sensor pointed at the router shaft and a microcontroller to give full PID control. Seeing that the system could be made to work and work quite well, started a discussion with Val from VHiPe.com who does some small quantity electronics manufacturing for me (and I do some contract design for him).

Val is in the process of arranging a forum name and organising to become a site sponsor and the official spokesman for the SuperPID kit product, but he's an oldtimer, not really an internet guy so I will be holding his hand a little regarding product enquiries until he gets more savvy with the forum process. I will be available anyway to answer tech inquiries for the product operation.

After some weeks of testing and refining the Super-PID product is near completion and production underway.

My home PID prototype is seen below, I should discuss how it works and then the differences for the commercial model.

There is a small reflective opto sensor about 5mm diameter that points at the router shaft from about 2mm to 3mm distance. Then a white spot of paint is painted on the shaft. I just used liquid paper for testing (matte white on the black metal shaft) and it has worked without incident for many weeks now so I didn't bother buying proper white matte paint.

The control board detects the router speed and adjusts the power supplied to the router to maintain a constant speed using an industrial PID algorithm. Speed is varied by a single large knob. This means the router can be set from speeds 5000-30000 RPM and will maintain a constant speed even when cutting etc.

The PID algorithm I used is really PID+ as it has much in the way of modification and special additions to improve stability under the very difficult condition of low speed cutting with a router that has very low rotor inertia (low flywheel effect) and only one sensor pulse per rotation, AND only being able to control the mains power pulses at 100 (or 120) times per second. Adding to these issues was the fact that cutting tools like single flute put one huge load pulse on the rotor per rotation which is again a problem very hard to stabilise.

Anyway the weeks of programming and testing are done, the thing works very nicely on my 1/4" router and even a bad case like a little Dremel(!) and should work even better still on all larger diameter routers that have a higher rotor inertia.

My prototype Super-PID has an accurate LCD tacho, and so does the Super-PID. However on mine the "power bargraph" is a row of 10 LEDs, where on the Super-PID it is a much more accurate 48 bar bargraph on the lower half of the LCD. This feature shows the percentage of power applied to the router at all times. So you can see on my prototype at low revs (5000 RPM) there is only one bar lit, the router is being fed around 10% power to maintain speed.

If it starts cutting, the power bargraph will rise to maybe 20-30% depending on the depth of cut and this is shown on the bargraph even though the speed stays at 5000 RPM or very close.

The 2 main benefits of the PID system have been very quiet opration, many of my jobs I can now cut at 10000 RPM or less with the router almost silent, and the other benefit is that the low revs have significant power now so I can take deep cuts in low-melt plastics like polystyrene and leave a clean finish with nice large chips thrown off.

The Super-PID kit will be sold as an assembled and tested PCB with LCD tacho/power display and screw down terminal blocks for the wires. It has 120v and 240v models (to suit all countries) and currently it is planned to sell as "kit" which just means you need to put in in a safe box as it uses mains voltage for part of the circuit (the rest of it's circuit is fully opto-isolated so you can control it with Mach3 etc). The "kit" form with no box was chosen to allow a cheaper price (as this is a low-cost alternative to VFD Spindles).

I'm open for questions and hope this is all ok with the moderators.

There are no proper product photos for a week or so as PCBs are currently being made - product due mid Oct. My prototype that has seen about 6 weeks hard use is shown below;
Attached Thumbnails
Click image for larger version

Name:	proto_pid1.jpg‎
Views:	2942
Size:	53.3 KB
ID:	115267   Click image for larger version

Name:	proto_pid2.jpg‎
Views:	1358
Size:	56.7 KB
ID:	115268   Click image for larger version

Name:	proto_pid3.jpg‎
Views:	1172
Size:	59.5 KB
ID:	115269  
Reply With Quote

  #2   Ban this user!
Old 09-24-2010, 10:14 AM
 
Join Date: Dec 2006
Location: USA
Posts: 170
DeadTom is on a distinguished road

That is just awesome, I think if the price is in my range I will need to get one for my new machine build in the very near future.
I have a question regarding the type of spindle that this will control: I am thinking of using a large brushless DC motor for my spindle motor can your SuperPID be made to work with the electronic speed controller that will be needed to drive the brushless motor?
Tom
Reply With Quote

  #3   Ban this user!
Old 09-24-2010, 06:31 PM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

This sounds like a very useful item. I'll keep an eye on this thread with an interest in buying one also.

Would it help to make the router run smoother at low rpm if there were two pulses per revolution? Instead of one white dot, use two short white lines on each side of the shaft that are wide enough to be detected reliably.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #4   Ban this user!
Old 09-25-2010, 02:19 AM
JeremyFisher's Avatar  
Join Date: Jun 2010
Location: AU
Posts: 15
JeremyFisher is on a distinguished road

Looks promising, +1 on the interest in buying.

What sort of power can it handle?

J
Reply With Quote

  #5  
Old 09-25-2010, 04:51 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,245
RomanLini is on a distinguished road

Thanks for the interest guys.

DeadTom- The product target price was to be under $150 for the fully assembled unit, possibly it could be as low as $120 or $130 but costing is still waiting on one of the parts suppliers (quantity LCDs) and will also depend on some time trials of how long the parts assembly takes. The PCB is a top quality Australian made unit, Australian labour and parts top quailty (metal film resistors, over-rated power componenets etc) so this was designed for the quality end of the market, not bottom-end Asian price etc.

Sorry no it is not suitable for BLDC motor, and your BLDC controller should include speed regulation anyway? With a router you can run lower speeds (like a BLDC) and fairly quiet.

CarveOne- There is little point running a finer resolution speed sensor. For one, it causes issues if the 2 dots are not perfectly 180 degrees apart, and that makes it hard to do. Options like multi-slot encoder disks are hard to fit! Also the main low speed issues are that the router inherently has low power at low speeds AND that the mains power comes in low speed pulses (100Hz or 120Hz) - neither would be fixed by encoder resolution.

All that is irrelevant now as I have refined the PID system to work well within it's design parameters 5000-30000 RPM and the extremely easy to utilise reflective opto sensor system of 1 pulse per revolution.

I can possibly talk Val into giving a few units away to long term forum members who post good photo build logs (like yourself) so I may be able to get you a free one in exchange for a review/testing. That's pushing the limit of forum advertising etc so I don't want to go into that yet until Val sorts out the forum sponsorship and hopefully gets some feedback from the moderators etc as to the best way to proceed.

JeremyFisher- It is rated for continuous use at up to 1000W (120v USA model) or 1200W (240v Europe/Australia model). Heatsinking needs are minimal, but if you're like me and like to go extra on reliability and plan to use it at higher power levels for production a small additional heatsink and/or small fan is recommended.

Thanks again for the interest guys! Later today or tomorrow I plan to pull my routers vac foot off and take a photo of the spindle opto sensor and how I mounted it, that will help to show just how easy it is to attach this to your existing router setup.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-25-2010, 06:09 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

Ok, I wasn't sure about whether the circuitry could handle 2X the pulse rate, and if there were any advantages if it could handle it.

Thanks for the offer. I may be interested if you need the help. PM me when you are ready to discuss it. Many of your sales may be from the US and other countries. You'll need to figure out how to handle that.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #7   Ban this user!
Old 09-25-2010, 06:15 AM
Khalid's Avatar  
Join Date: Apr 2006
Location: Pakistan
Age: 32
Posts: 2,850
Khalid is on a distinguished road

I can possibly talk Val into giving a few units away to long term forum members who post good photo build logs (like yourself) so I may be able to get you a free one in exchange for a review/testing. That's pushing the limit of forum advertising etc so I don't want to go into that yet until Val sorts out the forum sponsorship and hopefully gets some feedback from the moderators etc as to the best way to proceed.

This is a very nice gesture..
__________________
http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
http://my-diysolarwind.blogspot.com/
Reply With Quote

  #8  
Old 09-25-2010, 08:15 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,446
ger21 is on a distinguished road
Buy me a Beer?

Will this work with variable speed routers, or only fixed speed?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 09-25-2010, 08:45 AM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Seems like your next step is to have a modbus interface to Mach so gcode can set the speed of the spindle.
Reply With Quote

  #10  
Old 09-26-2010, 09:10 AM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,245
RomanLini is on a distinguished road

CarveOne- We expected to sell to the US as a main part of the market. Australian airmail is reliable and quick enough, it is typically 5 to 10 days to get a small parcel to the US.

Khalid- Thanks.

Ger21- It it designed for routers that have no inbuilt speed control.

In the early testing I removed my router cover and checked, its electronic speed control has a switch pot, so it varies up to full, then the switch goes "click". At that point the switch bypasses the electronic speed control so there is no problem. That is probably a common setup. Also, I actually did some cutting with the router's internal speed control on, and that seemed to make no difference to the operation of the PID unit, they did not interfere.

All in all I would recommend turning the routers internal speed control off, or bypassing it, but I do plan to do more tests. Thanks for reminding me.

Brtech- Thanks for the suggestion. Currently it will accept speed control from the pot, or from a 0-5 volt control source. I think some of the break out boards etc can produce a 0-5v speed control signal.

One thing we have decided since the PCBs went to press is to use a socket on the microcontroller, so it will be possible to add features later and get users to mail the chip back for an "upgraded" chip.


Photos of my protoype speed sensor.

Nothing special to look at, just hurriedly applied white paint (liquid paper) I painted on half of the shaft, and a tiny reflective optical sensor beam pointed at it;
Attached Thumbnails
Click image for larger version

Name:	SuperPID_opto1.jpg‎
Views:	2919
Size:	199.4 KB
ID:	115526   Click image for larger version

Name:	SuperPID_opto2.jpg‎
Views:	1217
Size:	214.1 KB
ID:	115527   Click image for larger version

Name:	SuperPID_opto3.jpg‎
Views:	1675
Size:	106.5 KB
ID:	115528  
Reply With Quote

Sponsored Links
  #11  
Old 10-04-2010, 11:47 PM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,245
RomanLini is on a distinguished road

I have been told today the PCBs are finished and with the courier.

So within a couple of days I can get a unit assembled and take some photos to show what the product actually looks like, and maybe borrow a vid cam and do a youtube of the little beastie in action.

In the meantime I did get time to add a few nice firmware display features and improved the soft start-up RPM ramp.
Reply With Quote

  #12   Ban this user!
Old 10-05-2010, 02:40 AM
JeremyFisher's Avatar  
Join Date: Jun 2010
Location: AU
Posts: 15
JeremyFisher is on a distinguished road

I was actually going to ask if you could implement a start-up ramp.

I have another question about the unit though. I have a weak understanding of electric motors so excuse me if this is a silly question but I'm sure others are wondering the same:
Can running a motor (which is designed to run from mains) at lower voltages (or on PWM current or however your unit works) have a detrimental effect on it?

The main concern I have is overheating of a motor which is running below its rated RPM and therefore has less airflow running through it while outputting the same power.

Have you run your router under load for extended periods at 5000 RPM?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Super X3 high speed spindle MotoGems Benchtop Machines 20 01-20-2011 02:19 PM
Haas Super VF-4 High speed binzer Haas Mills 9 07-25-2007 03:27 PM
VF-2SS (Super Speed) boodoowaa Haas Mills 5 02-14-2007 11:11 PM
I need a low cost upgrade controller for my CNC Router ReefkeeperCNC General CNC (Mill and Lathe) Control Software (NC) 10 09-08-2006 08:01 PM
Haas VF2 Super Speed Dave K Haas Mills 9 08-31-2005 11:16 AM




All times are GMT -5. The time now is 06:36 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361