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 08-07-2010, 06:31 AM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road
Ossiloscope image needed

Hi all,

I was wondering if someone could point me in the right direction. I,m looking for an image of what a good & a poor pulse wave form (Mach3) should look like on a scope.
I have been having trouble with my stepper motors making a "Knocking" noise and missing steps and have narrowed the problem down to the computer. Tried everything to fix it, trust me! Also my question is, if my computer can pass the Driver test on Mach3 with a "System excellent" , then can it only leave a "dodgy" parallel port that could be distorting my wave form? I have hooked a scope straight onto the PP with no BOB, driver or stepper connected and the wave form looks very ordinary. And before anyone asks, yes my computer does meet all Mach3 recommended requirements.
Thanks in advance

Regards Julian
Reply With Quote

  #2   Ban this user!
Old 08-07-2010, 03:39 PM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by sylvester1073 View Post
Hi all,

I was wondering if someone could point me in the right direction. I,m looking for an image of what a good & a poor pulse wave form (Mach3) should look like on a scope.
I have been having trouble with my stepper motors making a "Knocking" noise and missing steps and have narrowed the problem down to the computer. Tried everything to fix it, trust me! Also my question is, if my computer can pass the Driver test on Mach3 with a "System excellent" , then can it only leave a "dodgy" parallel port that could be distorting my wave form? I have hooked a scope straight onto the PP with no BOB, driver or stepper connected and the wave form looks very ordinary. And before anyone asks, yes my computer does meet all Mach3 recommended requirements.
Thanks in advance

Regards Julian
How about using a signal generator to feed the BOB in place of the parallel port?
You can test each axis and see if the problem is caused by CNC hardware or PC software.

"Knocking" is hard to see on the scope because it means 1000-2000 good steps followed by a 1-3ms pause. It's hard to synchronize the scope to see that.
Reply With Quote

  #3   Ban this user!
Old 08-07-2010, 06:00 PM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road

Hi eSilviu,

This is a good idea,thank you. I will see if i can borrow one from somewhere and i will get back to you with the result.
I still would like to know what a good and bad wave form would look like on a scope just to satisfy my curiosity.

Regards Julian.
Reply With Quote

  #4   Ban this user!
Old 08-07-2010, 08:27 PM
 
Join Date: Dec 2004
Location: USA
Posts: 33
eldata is on a distinguished road

Back in 2008 I tested four PP cards in a Shuttle computer with Mach3 operating at 100KHz step rate. The best card was a Koutech IO-PP210 (http://www.newegg.com/Product/Produc...-231-_-Product), here is the output;

http://www.pbase.com/eldata/image/127250909/original

The worst output was from the Shuttle onboard PP (super I/O chip);

http://www.pbase.com/eldata/image/127250931/original

And here is 100KHz from a function generator with duty cycle adjusted to match Mach3 output;

http://www.pbase.com/eldata/image/127250887/original

It is the lack of jitter that separates the sheep from the goats. You should ensure that C1E and Intel Speedstep (anything that dynamically adjusts CPU performance) is disabled in your motherboard's BIOS to minimize jitter.


Originally Posted by sylvester1073 View Post

I still would like to know what a good and bad wave form would look like on a scope just to satisfy my curiosity.

Regards Julian.
Reply With Quote

  #5   Ban this user!
Old 08-07-2010, 08:40 PM
 
Join Date: Dec 2004
Location: USA
Posts: 33
eldata is on a distinguished road

Back in 2008 I tested four PP cards in a Shuttle computer with Mach3 operating at 100KHz step rate. The best card was a Koutech IO-PP210 (http://www.newegg.com/Product/Produc...-231-_-Product), here is the output;

http://www.pbase.com/eldata/image/127250909/original

The worst output was from the Shuttle onboard PP (super I/O chip);

http://www.pbase.com/eldata/image/127250931/original

And here is 100KHz from a function generator with duty cycle adjusted to match Mach3 output;

http://www.pbase.com/eldata/image/127250887/original

It is the lack of jitter that separates the sheep from the goats. You should ensure that C1E and Intel Speedstep (anything that dynamically adjusts CPU performance) is disabled in your motherboard's BIOS to minimize jitter.


Originally Posted by sylvester1073 View Post

I still would like to know what a good and bad wave form would look like on a scope just to satisfy my curiosity.

Regards Julian.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-07-2010, 09:58 PM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road

Hi Eldata,

This is fantastic! I must be getting close to the cause of the problem. My scope image is similar to your worst image. Also, when i zoom out on my wave form you can see on every second or third pulse that the baseline continues through without breaking. So this all points to the PC not putting out a decent usable pulse stream. Therefore i make my assumption again that; If my motherboard & CPU combination is capable of passing the "Driver test" with flying colors, then the only other thing this leaves is the parallel port? What do you think....?

Julian.
Reply With Quote

  #7   Ban this user!
Old 08-08-2010, 03:43 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by sylvester1073 View Post
If my motherboard & CPU combination is capable of passing the "Driver test" with flying colors, then the only other thing this leaves is the parallel port? What do you think....?

Julian.
- for sure a serial or usb interface will bring the best from your CNC. Now it depends on how much you are willing to pay for software+controller.
- or maybe you could return to DOS as the real-time, single task OS
- or you could try linux EMC2: download "ubuntu + EMC2 live" iso file, burn-it to a CD and boot from CD. It will run from RAM and CD, and it's easy to work with.
Reply With Quote

  #8   Ban this user!
Old 08-08-2010, 05:05 AM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road

Hi eSilviu,

I was hoping to stay with Windows and Mach3. I'm not familiar with anything else. I guess it's just a comfort thing.
Can i put a hypothetical question to you guys? If a computer is producing a poor quality pulse stream out of the PP, then why wouldn't it also send a poor signal out through the usb or serial port?

Julian.
Reply With Quote

  #9   Ban this user!
Old 08-08-2010, 05:20 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by sylvester1073 View Post
If a computer is producing a poor quality pulse stream out of the PP, then why wouldn't it also send a poor signal out through the usb or serial port?

Julian.
because:
- with PP, the software you are using (Mach) will controll every moment when stepper must do a step;
- with USB or serial, the software will talk with the controller on the CNC: "do 147 steps on X axis, with 100in/min speed". While the controller will execute those 147 steps, it can simultaneous receive the next command.

First case is equivalent to "I will write on this forum one letter/post"
second case is "I will write on this forum one sentence/post"
In wich situation do you believe we will better understand each other?!

Sticking with windows and Mach + necesity of performance will make you buy Warp9 SmoothStepper adaptor USB/CNC. (about 170 Eur without taxes)
At the same price or even lower there are other solutions, but you must give-up on Mach3.
Reply With Quote

  #10   Ban this user!
Old 08-08-2010, 05:58 AM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road
Think i found the main problem?

eSilviu,
I understand your logic...I think
I have just got back from the shed and think i have found a problem. I put a meter across pin 2 & ground on my PP & i am only getting 2.6 volts out. My Gecko 251s require 3.3v minimum. After 2 months of head scratching and making changes, i never bothered to check what my PP voltage was. I just assumed it was ok because my motors ran and ran well even at thier highest speed allbeit with this knocking noise. If the Geckos minimum is 3.3v, then how are they working at all?? What are your thoughts on this?

Julian.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-08-2010, 07:39 AM
 
Join Date: Dec 2004
Location: USA
Posts: 33
eldata is on a distinguished road

Q1. What else is running on the computer?
A1. See Mach3 notes regarding this. I'm assuming you are not using a laptop.

Q2. What maximum step rate do you need?
A2. Whatever, set the Mach3 kernel speed to the lowest setting higher than your desired max step rate.

Q3. Have you ensured that C1E, Intel Speedstep (or AMD equivalents) are all disabled in the motherboard's BIOS?
A3. Note that the driver test results are misleading when it comes to this and some other requirements. You can pass with flying colors but still have issues.

Q4. Are you using a dedicated PP card or onboard PP?
A4. Some dedicated cards and onboard PPs are subpar.

Q5. Does your BOB buffer inputs or output 3.3V or greater based on any input voltage (later you mention your PP output voltage is only 2.6V).
A5. If not, then get a decent PP card if the motherboard allows. I mentioned a decent card previously with 5V output.

I recall a particular Mach3 (non-lockdown) version that had a problem with output. However, it was quickly addressed. Make sure you are using a recent release of the software.

Finally, it is mainly servo setups, needing more than 100KHz step rates, that require more than PP capability under Windows. Mission critical production environments are another exception.



Originally Posted by sylvester1073 View Post
Hi Eldata,

What do you think....?

Julian.
Reply With Quote

  #12   Ban this user!
Old 08-08-2010, 04:34 PM
 
Join Date: Sep 2009
Location: Australia
Posts: 22
sylvester1073 is on a distinguished road

Hi Eldata,

Here is part of a post i submited in an earlier post


I have made a homemade CNC router/mill. All works well except for this persistent problem with the stepper motors locking up on me and missing steps. It is okay at the slow speed settings, but even then you can hear it occasionaly making a "knocking" noise. From mid range to full speed it makes a constant "knock'' or "ticking" noise at about one second intervals, followed by a " lockup" every 20-30 seconds of run time. Apart from this the motors sound nice and smooth.
I have disconnected the stepper motors from the machine and still the same problem, so it is nothing to do with friction etc.
I have tried everything i have read in these forums but to no avail!

My computer is desktop 1.8Ghz Pentium 4, 1 Gig ram, 16meg plugin video card, Windows 2000 pro. running Mach3 and absolutely nothing else. No antivirus, internet, or any other program is installed.
I run 3 x Gecho 251s on heatsinks through a Opto-isolated BOB.(not cheap Chinese stuff), with power supply and motors to suit. All cables are shielded and ground appropriately. I have tried the following:

1) re-installed Win. 2000 and latest drivers.
2) reinstalled Mach3, and tried the latest version.
3) Installed Windows XP. & service pack 4.
4) tried optimization, special driver, 1/2 Sherline mode, various step/direction pulse widths, enhanced pulsing, turned watch dogs off/on, tuned plug-ins off, played with Dir low/active etc. kernal speeds and everything else i have read in these forums.
5) I am an electrician by trade and have checked all connections and ground everything that needs to be.

Also i went into systems and disabled that many things it is a wonder the computer even runs.
I couldn't find C1E or intel speedstep in device manager but i will get my local computer geek to have a look today.
Now i'm sure the main problem is low voltage on the PP and possibly a poor pulse stream.
I've just got hold of a EPP PP card PCI plugin, so i will try that today and see what voltage out i get from it.
Thanks for your reply, i will let you know how i get on

Regards JUlian
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
First Try From Image 5artist5 Taig Mills & Lathes 25 05-24-2009 11:30 AM
Mitutoyo Quick Image Software Needed! flannman Calibration & Measurement 0 05-04-2009 01:56 PM
Need Help!- Everything comes out as mirror image rbach Controller & Computer Solutions 4 12-20-2008 11:46 PM
image testing Sperstad Test Forum 0 01-18-2007 04:12 PM
image -> machining PTcutter General CNC (Mill and Lathe) Control Software (NC) 6 07-02-2005 01:04 PM




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