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! > Electronics > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-23-2010, 04:12 PM
 
Join Date: Aug 2010
Location: Denmark
Posts: 2
The_NESt is on a distinguished road
Home made step controler.

Hello.

I have build a step controller based on a PIC16F631 running 20 MHz maybe i will upgrade at a later time to a faster PIC it's on the edge of handling micro stepping with the PMW way or i need some optimizations

OK I found it's max speed at 1200 RPM on a 200 step motor but it's not the controller's fault it's lag of toque.

Then to my question sometimes my step motors stall even at low RPM (600) and it seems to get worse if i turn up the amps.
This happens more if it cut's long straight lines. Example if i cut out a 10Cm*10Cm * 1Cm square in 1 mm layers at mm/min it's not likely to do it with out stalling. But if i cut a flower at the same size and speed no problem.

I have some ideas to why.

It's based on the 2 Comparators in the PIC controller and TIP120's to create a PMW to set the amount of amps used in the windings. The TIP120's is protected by a zener diode on 96v. Maybe this creates some kind of magnetic field that stops the engine just a bit when it hits the 96v limit?

Or is it harmonic noise en the windings?

Or can there be another explanation on the phenomenon?
Reply With Quote

  #2   Ban this user!
Old 11-23-2010, 04:29 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

My guess.
Geckodrive Technical Support Library
Reply With Quote

  #3   Ban this user!
Old 12-17-2010, 08:25 AM
 
Join Date: Dec 2010
Location: South Africa
Posts: 21
vanjast is on a distinguished road

Do you have a rough/basic circuit diagram to show ?
Reply With Quote

  #4   Ban this user!
Old 12-20-2010, 02:53 PM
 
Join Date: Aug 2010
Location: Denmark
Posts: 2
The_NESt is on a distinguished road

I think Andre' B is right.
I have put on a special fly wheel, this gave me 20% extra speed:


Her is the schematics:

I'm not sure that the 100pf on step line and on measure line is OK I have left them out so they did not filter out the fast signals on these lines.
If I'm right then the vreg will cut out if the TIP120's over heat when they are on the same sink.
I have not tested if the PIC16F631 20Mhz is fast enuf to do micro step.
It runs the engine in 10Khz PWM based on it's 2 comparators.

And the layout:
Reply With Quote

  #5   Ban this user!
Old 05-19-2011, 10:19 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

Tip 120's are only rated to 60volts.
tip 121's are rated to 80v and tip 122's are rated to 100v. you likely want to use tip 122's in there in stead of tip 120.
Also, make sure you are running them at saturation and not in the linear range. ie, use the hfe and calculate out what your maximum current draw through those motors will be and make certain that the base current limiting resistor is properly chosen to ensure that those tips run at saturation and not in the linear range.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-29-2011, 06:59 PM
 
Join Date: Feb 2007
Location: canada
Posts: 619
Larken is on a distinguished road

On your circuit, you may have the RC filter between the sense resistor and the pic wrong. The capacitor should be closer to the pic. (resistor then capacitor)

I would change the Tip120's to a 5 volt Mosfet for much faster switching.

Also the higher the PS voltage the more RPM you will get. Be sure to use a High currrent motor (at least rated 3 amps) if you want speed. You can't get a 1-2 amp motor to spin fast unless the voltage is very high.

How is the microstep precision with your circuit ?

Larry K
__________________
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com
Reply With Quote

  #7   Ban this user!
Old 06-06-2011, 11:28 AM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

This is almost certainly mid band resonance. The gecko web page Andre referenced explains it. Look for a hock puck or other damper design to provide a mechanical solution or move to microstepping modes to reduce the ringing. You may want to look at the open source Linistepper PIC design for inspiration:
PIC Linear Stepper Motor Controller
Reply With Quote

  #8   Ban this user!
Old 06-06-2011, 01:31 PM
 
Join Date: Feb 2007
Location: canada
Posts: 619
Larken is on a distinguished road

At 1200 Rpm, thats 20 turns/second. Thats faster than you can reliably run a stepper anyway.
Most people don't run a stepper faster than 10 turns/second, after that they have lost 80% of their rated torque and jam very easy.
The reason it probably jams more on the straight line, is because it gives it time for a resonance to build. A curve is constantly changing the incoming step frequency and is less prone to resonate.

Larry K
__________________
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My home made CNC . C. J. Hung. DIY-CNC Router Table Machines 36 11-21-2010 11:08 PM
Home made ATC pstockley General Metal Working Machines 21 11-09-2009 04:12 PM
Home made EDM RFERG43 CNC Plasma and Waterjet Machines 18 08-29-2007 06:18 AM
Question on made gecko error reset controler Cudel Frederic Gecko Drives 1 08-08-2006 02:54 AM
Home made CNC mill (and some products made by it) gcamlibel DIY-CNC Router Table Machines 23 04-05-2004 05:54 PM




All times are GMT -5. The time now is 03:47 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