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! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #61  
Old 01-29-2012, 02:58 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

lucas,

The dump circuit is unnecessary for recirculating mode standby. By definition the attack slope is steeper than the decay slope in this mode.

By the way H500's 06-12-2011, 09:43 AM post scope pictures show pronounced notches at the full-step locations (sin 0, 90, 180, etc.). This is due to an overly long reset pulse applied to the time-base counter. The reset pulse synchronizes the PWM to the step pulse frequency at the full-step rate. The purpose is to prevent beat frequencies between the step rate and the PWM frequency. An overly long reset duration introduces such artifacts.

Mariss
Reply With Quote

  #62   Ban this user!
Old 01-29-2012, 03:37 PM
 
Join Date: Jan 2005
Location: Belgium
Age: 56
Posts: 149
lucas is on a distinguished road

Thanks very much for all the info wich you provided to allow us hobbiests build a decent drive.

I have a machine running with CPLD drive's from your tutorial and PCB design using your recommendations on PCB layout, it's working fine.
Will try to see what difference the change on the DUMP signal makes.


Originally Posted by Mariss Freimanis View Post
4) Circle the projected beam on the wall with a pencil.
Writing on the wall was forbidden by my ex-wife and I do forbid it to my grandchild also...

Edit:
Originally Posted by Mariss Freimanis View Post
By the way H500's 06-12-2011, 09:43 AM post scope pictures show pronounced notches at the full-step locations (sin 0, 90, 180, etc.). This is due to an overly long reset pulse applied to the time-base counter. The reset pulse synchronizes the PWM to the step pulse frequency at the full-step rate. The purpose is to prevent beat frequencies between the step rate and the PWM frequency. An overly long reset duration introduces such artifacts.
I understand the synchronisation function between the step and PWM and I saw those notches also but seem to remember that there was a problem with the timebase counter, as far as I remember: The blanking period period doesn't start at the zero count. This didn't create problems with the original code but did when the code was modified for additional functions.
Have to check my notes but I think these notches were gone when I modified it.
Attached Images
File Type: jpg S6000522.jpg‎ (139.1 KB, 173 views)

Last edited by lucas; 01-29-2012 at 03:55 PM.
Reply With Quote

  #63  
Old 01-29-2012, 06:32 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

lucas,

Is that your board? It's executed very neatly. I especially like how you compacted the high current section of the board layout. This shows thought about keeping high current traces short to minimize inductance.

I don't see your current sense resistors in the picture but I assume you know the significance of forming a good Kelvin connection ground.

For those that don't, the ground ends of the sense resistors have to be as close to each other as possible. That also is the only place you make your connection for all the low-level circuit ground returns. Think of your ground connections as being separated into two regions; noisy grounds (power section) and quiet grounds (low-level section). The meet at only one location, the ground ends of your current sense resistors.

Mariss

P.S. Like you, I'm also a grandpa. That means I'm old enough to reserve for myself rights I don't accord to my younger relatives; it's up to them to resolve the unfairness of the blatant hypocrisy.:-) Having said that, I do use a piece of paper on the wall but only because marks on the wall from repeated experiments confuse subsequent data-sets.
Reply With Quote

  #64   Ban this user!
Old 01-30-2012, 03:32 AM
 
Join Date: Jan 2005
Location: Belgium
Age: 56
Posts: 149
lucas is on a distinguished road

Mariss,

thanks for the compliment.
I tried to respect the PCB design rules, this wasn't easy for a double sided board with all the different supply's and grounds.

Originally Posted by Mariss Freimanis View Post
I don't see your current sense resistors in the picture but I assume you know the significance of forming a good Kelvin connection ground.
They are SMD and are located on the solderside.
This was done to have a "star-style" ground on the ground pins of the power supply decoupling elco and cap keeping everything short and tidy.
There are also 2 seperate ground planes: power and signal.

Luc.
Reply With Quote

  #65   Ban this user!
Old 01-30-2012, 08:32 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

Marriss,

Thanks for the tips. The lack of slope compensation was exactly what the problem was. If I remember correctly, Phil's code enabled the dump circuit only during standby.

I did not have time to troubleshoot the artifacts, but your suggestion is appreciated and makes sense. I will look at it after I'm done with the dsp board. The board works very well even with the artifact.
Reply With Quote

Sponsored Links
  #66   Ban this user!
Old 02-01-2012, 07:48 PM
 
Join Date: Jul 2005
Location: USA
Posts: 3
nm156 is on a distinguished road

Okay, I'm not an EE, just a hobbyist but tried to figure out what Mariss was describing in his part III post. I found this, which is helpful (sorta) for us non-engineer folks.

This paper also mentions the use of applying harmonics to dampen resonance as he also mentioned in the part II post.

http://158.132.178.85/norbert/Papers/C070.pdf

Figure 8 is very interesting, showing a very linear corrected response, figure 3 gives an overview of how the system works.
Reply With Quote

  #67   Ban this user!
Old 02-03-2012, 07:31 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

A lot of interesting information has been presented in the last few posts! If I understand correctly, both Marriss and the paper achieved vibration damping by superimposing higher order harmonics of the stepping frequency. That should be easy to enough try.
Reply With Quote

  #68  
Old 02-04-2012, 12:36 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

It's subject unto itself how to make an open loop step motor drive force a step motor to have good manners and behave itself. It means learning about every dark crook and cranny of a step motor's personality. There are many.

Mariss
Reply With Quote

  #69   Ban this user!
Old 02-04-2012, 06:32 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

I just tried adding in the 3rd and 4th harmonics. It seems to reduce the vibration at the 10ipm resonance point, but it's hard to tell for sure. The vibration is quite low to begin with. I should probably use the laser pointer trick to optimize the linearity, but because the mill is working so well as it is, I'm not highly motivated. =)
Reply With Quote

  #70   Ban this user!
Old 03-29-2012, 08:14 PM
 
Join Date: Mar 2005
Location: ASIAN
Posts: 169
tivoidethuong is on a distinguished road

to h500, are you have test video clip?

thanks
Reply With Quote

Sponsored Links
  #71   Ban this user!
Old 03-30-2012, 05:08 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

I will post one on the weekend.
Reply With Quote

  #72   Ban this user!
Old 03-31-2012, 05:58 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

Here's a short clip of the driver in action on my sx3 mill. I don't know how to compress the video, so I'm keeping it short so my upload time is not too long.

Both motors are 280 oz in, 4 amp per phase and directly drive 5 tpi double nut ball screws. Both axes are set at 250 ipm. I think it's pretty good, considering that the weight of the cross slide is about 100lbs.

The cpld drive is on the y axis. The dsp drive is on the x. The latter has resonance damping, but it does not appear to make a difference on this setup. I am having a hard time deciding which drive I like better. I'll probably go with the dsp version since I find software easier than verilog when adding advanced features such as close loop control.

The system is temporarily running from a 34v 2 amp supply. The drivers have been tested up to 60v, 6amps with my nema 34 steppers. That will put out more than 160w per motor. I think that will be an overkill even for the Z axis, which needs to lift a 100lb head vertically.

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
6A 80V bipolar microstep drive, vote hope price beliefdrive Product Announcements & Manufacturer News 3 12-09-2009 05:46 PM
Does bipolar wiring of a unipolar motor create more torque if you microstep? christ371 Xylotex 0 11-18-2009 02:37 PM
Bipolar Microstep 48 volt 5Amp /phase, 4 axis board kreutz Stepper Motors and Drives 571 08-17-2009 04:49 PM
NEW Microstep Drive Module jafgraphics Product Announcements & Manufacturer News 0 02-02-2007 12:36 PM




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