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 > UHU Servo Controllers



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #37   Ban this user!
Old 07-27-2008, 08:10 AM
 
Join Date: Aug 2006
Location: USA
Posts: 2,625
kreutz is on a distinguished road

Henrik;

Have you tried with a different PC? Or the same PC driven by a (free) DOS/Linux based CNC program (for testing only)? It is a little bit odd that nobody complained before about this issue...

About PC optimization:

Did you try stopping the networking/remote access/firewall/print spooler/cryptographic/ related services on your PC? I assume that no anti-virus or PC fix/monitoring software is running (Norton/iolo/etc).
What amount of RAM? What is the virtual memory size?
Do you use a fixed size swap-file, or is it Windows controlled?
Is the higher priority assigned to foreground processes or background processes?
What type LPT port is assigned on the BIOS?
Have you tried a different LPT port (PCI card)?

Regards,

Kreutz.
Reply With Quote

  #38   Ban this user!
Old 07-27-2008, 11:54 AM
 
Join Date: Jan 2005
Location: India
Posts: 1,056
contactirfu is on a distinguished road

Hi henrik ,

U are not alone, though I tried to get the O parameters tested at different speeds today, I sort of was confused.

here is my story.

today after setting up the delay switch i set of putting together both the X and Y to their paces and here is what I discover, at around 4000mm/sec and 45KHz there were around 8 O's and then as I wnet on reducing the speed I had to settele down of 3200mm/sec. thats real bad. Also considering the fact that the place where i have my workshop located has a night time voltage of 195 to 200 volts on each phase I had to derate my speeds to 3200mm/min and then there were no O values anymore.

thats what I could make out today. If it is a possibility for increased speed and reliability with smooth stepper then I would in all case go for it sooner or later!

let me know if you want me to do more tests and let me know how bcos I also don't have a oscilloscope.

Thats it from me today.

RGDS
Irfan
Reply With Quote

  #39   Ban this user!
Old 07-27-2008, 12:23 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi guys,

Kreutz,
I agree it's odd, that's why I'd like to know what others are getting.....Perhaps they simply haven't used speeds above ~13kHz with Mach3 or never actually checked the O-parameter, or it's simply a problem with my setup, I don't know...... Odd, yes....frustrating, yes.....

This is the second PC that I've tried with, the first was a laptop and this one is a purpose built machine, dual core Athlon CPU at 2.2GHz, 2GB RAM and it boots from CF-card so the swap-file is turned off. Only other software installed is AcrobatReader and CUBLOC studio but none of those have any services running at startup. There's no antivirus, no printer-drivers, no firewall software or anything else running except the touch screen driver.

Mach3's drivertest program shows "excellent" stabillity even at 100kHz kernel frequency as can be seen in an earlier posted screen-shot.

Right now I don't know what mode the onboard LPT-port is set to as I haven't touched that part of the BIOS, I'll check it though. I have not yet tried with a another LPT-card but I guess I could order one just for the heck of it.

I have yet to try disabling the network card, thanks for remindning me of that.


Irfan,
Thank you for doing those tests! Let's see if I got this correct....

** You have the kernel speed in Mach3 set to 45kHz, correct?
** You have the axis velocity set to 3200mm/min, correct?
** If you raise it above 3200 you start to get false transitions acording the O-parameter?

Questions:
** Do you have the M-setting in the UHU set to anything other than 0?
** How many steps/mm do you have Mach3 set to?

Thanks guys!
Reply With Quote

  #40   Ban this user!
Old 07-27-2008, 12:48 PM
 
Join Date: Jan 2005
Location: India
Posts: 1,056
contactirfu is on a distinguished road

Originally Posted by H.O View Post
Hi guys,

Irfan,
Thank you for doing those tests! Let's see if I got this correct....


Thanks guys!
** You have the kernel speed in Mach3 set to 45kHz, correct?

yes thats correct

** You have the axis velocity set to 3200mm/min, correct?

presently yes thats right

** If you raise it above 3200 you start to get false transitions acording the O-parameter?

That I am not sure! but at 4000 mm/min I got the max at 8 counts

** Do you have the M-setting in the UHU set to anything other than 0?

yup M is zero - not tried anything else.

** How many steps/mm do you have Mach3 set to?

X axis 400 steps / mm

Y axis its 450 at present - i havent calculated teh exact yet.
Reply With Quote

Sponsored Links
  #41   Ban this user!
Old 07-27-2008, 03:08 PM
LZ1TWB's Avatar  
Join Date: May 2006
Location: Bulgaria
Posts: 158
LZ1TWB is on a distinguished road

Hi Henrik ,

If you can really achieve only 13Khz I think you may be having some problem with your drive or the encoder/motor. I is much lower that I have made /and I think I've not made that much /.

And when I say 75KHz I mean encoder steps. With a 25KHz mach3 kernel it means that my M parameter is something like 3 or 4. I tend not to push the computer more than 21-22Khz as it seemes to have problems as slower screen updates and such latency stuff /Driver watchdog triggers also when I got as high as 25Khz/. My CNC PC is PentiumII 733 128 RAM, driving simple steppers so far 3 axis with no problems.

Have you tried to change the board? Or the motor with different encoder? I have experienced some other problems with electronics and found it very useful if there is another equipment to be able to change and therefore compare the results.

Todor
Reply With Quote

  #42   Ban this user!
Old 07-28-2008, 01:46 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Irfan,
Thank you! If you run 3200mm/min at 400steps/mm you are stepping at 21.3kHz which is close to twice what I'm getting - that's a lot better but still not good at all.... I'll need to have another look at my computer, turn off the auto negotiation on the network card etc.

Todor,
Yeah, I'm not ruling out anything but since I CAN step it at 65kHz with the signal generator I'm having a bit of a problem seeing it be the drive (electronics) or encoder. Your 21-22kHz seems to match Irfan's numbers pretty good. I'll swap back the encoder to my 3600lines one and see what numbers I'll get with that one.

I really need to be able to step it at atleast ~35-40kHz (with M set to 1) or preferably ~70-80kHz (with M set to 0). Even if I can get 20kHz it's way to slow....

Yes, a 733MHz for Mach3 is a bit on the slow side, I've heard about people running on 500Mhz but I can imagine the GUI gets a bit slow....

Thanks guys!
Reply With Quote

  #43   Ban this user!
Old 07-28-2008, 02:47 AM
LZ1TWB's Avatar  
Join Date: May 2006
Location: Bulgaria
Posts: 158
LZ1TWB is on a distinguished road

Originally Posted by contactirfu View Post
** Do you have the M-setting in the UHU set to anything other than 0?

yup M is zero - not tried anything else.
Irfan is using M=0 which means that encoder frequency is equal to input frequency. In my case M=3 which leads to 4 times the input frequecy, for example 20x4=80Khz. So I think I've managed 80Khz not 20. Just a thought to make sure we don't mess up the numbers here.

Anyway what type of signal generator are you using /I missed that/ - desktop function generator, simple 555 type or smth else?

Thanks,

Todor
Reply With Quote

  #44   Ban this user!
Old 07-28-2008, 03:13 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Todor,
The signal generator is a desktop type - not a very advanced one but it's OK.

We have to separate the encoder frequency and the step-input frequency here or we won't get anywhere..... The problem doesn't seem to come from the encoder frequency at all but from the step frequency. (Or rather the jitter the in the pulse-stream)

I can get ~13kHz with Mach3, 65kHz with signal generator
Irfan can reach ~21kHz with Mach3
You've reached ~21kHz with Mach3

Only reason I asked Irfan about his M-setting was to calculate what step-frequency he was running.

The UHU manual/FAQ/website states that you should be able to reach 100kHz in "any case" but that step frequencies as high as 300kHz have been achived under optimal conditions. (Depenading on the M-setting, recalc-interval etc etc)

If 100kHz should be possible in all cases how come none of us have been able to get above ~21kHz?

Even if the jitter is as bad as it possibly CAN get with Mach3 set to 25kHz pulse frequency there's still 40uS between pulses when the UHU clearly should be able to "see" them if there was as little as 10uS between them.....

Anyway, have to run now, will try to switch encoders and have another look at the computer tonight.

Thanks!
/Henrik.
Reply With Quote

  #45   Ban this user!
Old 07-28-2008, 06:54 AM
LZ1TWB's Avatar  
Join Date: May 2006
Location: Bulgaria
Posts: 158
LZ1TWB is on a distinguished road

So here are the results from my latest test I did this morning. I used my home PC as it is much faster than the previous mentioned - Dual core athlon 2.2GHz, 2GB RAM;
/assuming my encoder is 1024steps/round x4=4096 and 10mm pitch screw/

(1)
Mach3 set to 100Khz
M parameter = 0
409.6 steps/mm
F11000mm/min

This speed is equal to an output frequency of 75093 Hz comming from the parallel port. No problem at this point. I cannot move higher as the Driver watchdog triggers and takes mach3 into a reset condition. The PC is not made for cnc use with all the stuff that has to be turned off so maybe that's the cause.

(2)
Mach3 set to 75Khz
M parameter = 0
409.6 steps/mm
F10000mm/min > f=68226 Hz, No problems

(3)
Mach3 set to 75Khz
M parameter = 1
204.8 steps/mm
F15000mm/min > f=51200 Hz /par. port/ ; f=102400 Hz/encoder/,No problems
Single errors triger above F16000 which is f=109226 Hz/encoder/

I almost got to the end of the motor speed with this voltage having some errors. Motor is 2000rpm max.

(4)
Mach3 set to 25Khz
M parameter = 4
81.92 steps/mm
F15000mm/min > f=51200 Hz /par. port/ ; f=102400 Hz/encoder/,No problems
Errors come above F16000 which says it makes no difference if I use mach3 at 100Khz with M=0 or 1 and if I use it at 25Khz with M=4. The results are all the same - I get stuck at around 100Khz.

This is for now that I have done here.

Todor

EDIT: I forgot to mention but I am using the old board design. Since we are discussing processor power here I thought it makes no difference.
Reply With Quote

Sponsored Links
  #46   Ban this user!
Old 07-28-2008, 09:33 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Thank you very much Todor!

Your test prooves that the processor is capable of handling Mach3's pulse-stream at 75kHz, which is way more than what I'm getting.

My computer is also a dualcore 2.2Ghz with 2GB RAM so it should be on par with what you have. Mine, on the other hand, does not have any extras on it so it should be performing better than what it is.

** My tests with the signal generator shows that the HP-UHU drive, the UHU-chip and my motor/encoder is capable of speeds at or above 65kHz step-frequency.

** Your tests shows that the processor itself, when driven by Mach3, is capable of 75kHz step-frequency or more.

** The above prooves that it's not a general problem with Mach3's pulsestream but rather something with MY computer/Mach3 setup. I'll keep on digging.....

Again, a sincere thank you for doing the tests!

/Henrik.
Reply With Quote

  #47   Ban this user!
Old 07-28-2008, 09:45 AM
 
Join Date: Mar 2007
Location: Canada
Posts: 212
krazatchu is on a distinguished road

I briefly scanned the thread so perhaps someone has already mentioned this...

As it runs fine from the signal generator, the problem seems to be either the parallel cable, the pc, XP, or mach 3....

From my own experience, I 'm guessing it's a combination of XP and Mach3...
I had jitter problems until I turned off ACPI...

Anyhow, have you setup the pc as per the Mach3 optimization guide?
http://www.cnczone.com/forums/showpo...64&postcount=1
There might be other version of this around, this one looks similar to the checklist I used...

Most importantly, Step 6 ...
Hope that helps!
Reply With Quote

  #48   Ban this user!
Old 07-28-2008, 10:03 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,
I agree - it has to be a computer/software thing. Todors tests prooves that the chip is capable of handling Mach3's pulse stream and since I can't match his results by a long shot the problem must be my setup.

The strange thing is that Mach3's drivertest application shows excellent timing results but obviously it's not as good as it could be. This computer has an onboard graphics card which is generaly advised not to use but again, since the drivertest app shows good results I've thought it worked OK - may not be the case....

AND this IS the second computer I've tried the last one was a much slower laptop but I got basicly the same results from that one.

Thanks!
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
Anybody with actual experience of Practical CNC vid1900 Commercial CNC Wood Routers 7 08-24-2007 10:57 PM
Taig actual travel TMaster Taig Mills & Lathes 0 04-06-2006 06:56 PM
spindle index, encoder, home/limit switch Wm McNett General Electronics Discussion 10 01-13-2006 06:39 AM
Sheetcam toolpath different than actual KSky SheetCam 3 09-13-2005 11:47 AM




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