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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-28-2005, 10:58 AM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road
Erratic movement on steppers - need help

There seems to be a lot on interference between the motor drivers. I'm using a simple BOB to connect and Mach1 for software on a laptop. The powerline is filtered for the laptop and 24V power supply. When powered up all the steppers jitter. Now what's weird is that if you disconnect the Z / Y axis BOB connector the X axis works fine. By only having 1 Dir and Step connected to the BOB that one axis works fine using jog. If the BOB is not connected there are no jitters, but of course you can't run the machine.

I never got the Z axis to jog, what button do you press in Mach1. I can't find it in the help file. You can hook up the X or Y to the Z driver and it works also.

Tried TurboCNC - doesn't work at all.
Tried 3 different computers - same results
I have many other machines thar run fine in this enviroment. Wide format inkjet, vinyl cutters computers every 5 feet.

Possibilities:
1. The simple BOB doesn't work.
2. Power supply sucks
3. Stepper drivers cause a ground loop between themselves
Reply With Quote

  #2   Ban this user!
Old 02-28-2005, 11:36 AM
 
Join Date: Jul 2004
Location: Spring Hill, Florida
Posts: 142
BigDaddyG is on a distinguished road

Max,
As you change from computer to computer and Mach2 to TurboCNC be aware that the pin-out connections change. My guess is (and only a guess with info I have) is that your pin-outs are wrong. I would suggest:
1- Start over with the pin-outs from the computer to the BOB / BOB to the controller.
2- Check supply voltages.
3- Check 5vdc

I did the same thing, set machines up using FET-3 boards, then tried using the Gecko's on the same set up. I was convinced that I had the BOB set up correctly till I realized I had the step and direction backwards when I went from one software (TurboCNC) to the other (Mach2). Also, check that you get 4.8vdc-5vdc and .48-.5vdc as the controller switches the step and direction from the BOB. Again, if you see the voltage at 4.8 and .48 on the back side of the BOB your board is fine.

Hope this helps. I only suggest the obvious because that is what is missed sometimes.
Regards,
Glen
Reply With Quote

  #3   Ban this user!
Old 02-28-2005, 12:15 PM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road

Voltage at the BOB is 4.1 and .2

So something is wrong with 5vdc at the BOB?

5 VDC is created internally by each driver, but this is just to enable / disable the drive.

Pin out - checked again for the Nth time
2 - X Dir
3 - X Step
4 - Y Dir
5 - Y Step
6 - Z Dir
7 - Z step

The motors go beserk even when the PP port cable is not connected if all are connected to the BOB.
Reply With Quote

  #4  
Old 02-28-2005, 12:20 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,453
ger21 is on a distinguished road
Buy me a Beer?

Sounds like electrical noise.

I think page up and page down jog the Z in Mach2.
__________________
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

  #5   Ban this user!
Old 02-28-2005, 12:33 PM
 
Join Date: Apr 2003
Location: Sedona, AZ
Posts: 90
coherent is on a distinguished road

As far as jogging the Z in Mach1 or 2 try the page up/page down. That should be the default. Otherwise you can change them to whatever you want. As far a interference, it's a pain... I know because I went through it recently, but it's a matter of eliminating possible causes until you figure it out. Some other things to consider as far as noise/interference.

-Make sure it's not interference, but an overheat problem on your driver/board. If the transistors have a cycle thermal shutdown, it will cause jitters that look like interference, so check and see if the heat sinks are really hot. Does it do it when you first turn everything on when cold..if so never mind.. if it happens when things warm up get a fan or two.

- Switch motors/cables, and make sure it not mechanical in nature.

- Try it without your spindle on... many routers/spindle motors cause lots of noise. If thats the problem isolate the spindle power from the driver or computer power supply.

- Just running power lines and stepper cables close to each other can cause problems. Also just the computer itself can cause noise to nearby motor cables.

- Floresent lighting can cause noise.

- Make sure your computer isn't running other drivers at the same time, that can cause what appears to be interference. Laptops seem to be notorious for low voltage through the parallel port... try a different laptop or even better a desktop system.

- Do a bit of research on grounding and noise through ground loops. Simply isolating your driver and or breakout board(s) can eliminate problems. Ground loops can noise problems that you "think" grounding would eliminate but just the opposite is true.

best of luck!
-marc
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-28-2005, 12:34 PM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road

I've ordered a new power supply to be sure. I thought pgup / pgdown would be it, but never worked. You can move the Z by connecting X or Y pin outs to the driver.
Reply With Quote

  #7   Ban this user!
Old 02-28-2005, 12:51 PM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road

Happens cold. Nothing is getting hot.
It's not mechanical, the motors and drivers are new and work.
The spindle is not on.
Happens when I turn off all the lights.
Happens when NOT connect to a computer.
Reply With Quote

  #8   Ban this user!
Old 02-28-2005, 01:23 PM
 
Join Date: Jul 2004
Location: Spring Hill, Florida
Posts: 142
BigDaddyG is on a distinguished road

I am still thinking hook-up! Hate to beat a dead horse, but (If you have not done so already) check the pin-out for Mach2 because something sounds funkie about your 2 3 4 5 6 7 pins. I am at my office and have a full plate today or I could look it up, but for some reason I think there should be some breaks in the sequence, something like 2 3, 5 6, 8 9 for step and direction, with some grd (0+) thrown in there for fun. What kind of board are you using that has its own 5vdc?
Reply With Quote

  #9   Ban this user!
Old 02-28-2005, 01:39 PM
 
Join Date: Jul 2004
Location: Spring Hill, Florida
Posts: 142
BigDaddyG is on a distinguished road

Ok, my bad! 234567 is correct. The BOB I use connects pins as shown, but then leaving the BOB it hooks up 2 3 GRD 4 5 GRD 6 7 GRD...... Good Luck, I (most of us) know what your going thru.
Regards,
Glen
Reply With Quote

  #10   Ban this user!
Old 02-28-2005, 01:42 PM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road

Mach1 sequence is 3,2 5,4 7,6 by default. Dir is still the pin 2 and Step is pin 3. So it matches my setup. The BOB does not have it's own power. Power is from the port. This thing freaks even when PP is NOT connected. So it wouldn't make any difference if I cross every single pin in Mach.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-28-2005, 01:44 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

I'm using mach and page up/dn control the z axis. I believe you need to check off the enable Z axis box somewhere in the setup.

Did you remember to make a ground connection between your laptop and the controller? I heard that many laptop parallel ports do not put out enough voltage to work with controllers. Did you try it with another computer?

Chopper drives generate a lot of electrical noise, so proper grounding is essential. Try using a star configuration for the ground. In other words, use a separate wire for each ground, all going to the power supply ground.

I made my own controller board, so I designed it with separate motor and signal grounds. It made a HUGE difference.
Reply With Quote

  #12   Ban this user!
Old 02-28-2005, 01:47 PM
 
Join Date: Jan 2005
Location: US
Posts: 56
maxxgraphix is on a distinguished road

Yes, I didn't mention the GRND. Each driver has a GRND also. They connect with that cheap computer data cable. I never liked that stuff. Perhaps I'll try some shielded. I have some top notch stuff I use for DMX lighting that can carry serial data over long distances.
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
Just found some steppers! chuckknigh DIY-CNC Router Table Machines 5 08-14-2004 07:32 PM
Fun with steppers (From serial mouse to stepper) Konstantin General Electronics Discussion 0 07-21-2004 12:41 PM
Choosing Steppers RXTurbo General Metal Working Machines 3 06-17-2004 11:21 PM
Are all steppers microsteppable? Greg Fill General Electronics Discussion 15 04-25-2004 03:57 PM
steppers and current ullbergm General Electronics Discussion 0 01-29-2004 03:24 PM




All times are GMT -5. The time now is 04:49 PM.





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