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
  #1   Ban this user!
Old 07-21-2008, 11:42 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road
Actual limit on encoder frequency

Hi,
I'd like to hear from you what real-life speeds you have been able to reach with the UHU.

I initally started out with 3600 lines encoder which I knew was a bit much for the UHU but I now have a 500 line unit mounted and I can't seem to get above 400rpm without getting invalid counts.

400 * 2000 / 60 = 13.3kHz which is WAY below the 100kHz stated in the manual. ( Yes, I have the step-multiplier setting set to 0 )

The encoder is single ended but I have it wired to a DS9638 diff.driver and then a shielded twisted pair cable, about 1m long, shield connected to GND in the DB15 on the HP-UHU and only there. I've also tried with a 120ohm termination resistor across each pair at the DB15 but that didn't make any difference.

I've scoped the signals as they enter the DB15 connector and they look nice, sharp and uniform.

My motors are rated 2000rpm and my plan was/is to order 625 lines encoders from USDigital. I have a 2:1 belt reduction and 5mm pitch screws so that will give me a nice and even 1000 steps/mm and still stay well below the published 100kHz limit.

Right now I'm a bit bummed I will revert back to the higher resolution encoder and see if I get matching results with that one. In the meantime I'd appreciate if you could give me some info about you systems.

Thank you in advance!

/Henrik.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-21-2008, 02:04 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 62
Posts: 2,189
neilw20 is on a distinguished road
Question Divide by 60 ????

Why are you dividing by 60. What has your power supply line frequency got to do with the encoder?
400 rpm * 500 lines (assuming only single edge) = 200Khz, so that is way past 100Khz spec. It did well !!

Last edited by neilw20; 07-21-2008 at 02:06 PM. Reason: typo
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-21-2008, 02:34 PM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi Neil, thanks for responding.

I divide by 60 because there's 60 seconds in a minute. The motorspeed is measured in revs per minute while the encoder frequency in measured in Hz or cycles per second. So if the motor is doing 400rpm's it's doing 400 / 60 = 6.6667 revs/second and there's 2000 encoder transistions for each rev so 6.6667 * 2000 = 13.3kHz.

So.... No, the line frequency (which is 50Hz where I live) doesn't have anything to do with it and no, I don't think it did well at all actually ;-)

I'm leaning towards a 'fishy' encoder but I'd really like to hear what kind of speeds others have been able to get before I shell out more money on new encoders.

So, what kind of speed have you been able to get and what type of encoder do you have?

/Henrik.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-21-2008, 07:32 PM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 515
rokag3 is on a distinguished road

I am going to make a new serie of test i hope i will give you some precise measure tomorow
Lucien
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-21-2008, 07:41 PM
rokag3's Avatar  
Join Date: Mar 2007
Location: greece
Age: 57
Posts: 515
rokag3 is on a distinguished road

by the way if it is 500 lines
500 * 4 =2000 points
400 rpm revolution per minutes make
400/60 =6.666666666 revolutions per second
so 6.66666666etc* 2000 =13333 signals per second or 13.33khz
this look like a software limit
if you use m=4 can you go at 1600 rpm ?
if yes you reach the limit of your software not the limit of uhu
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-22-2008, 12:41 AM
 
Join Date: Jan 2005
Location: India
Posts: 1,056
contactirfu is on a distinguished road

Hi Henrik,

what is the T setting in your UHU

for me increasing T meant a lot more speed on the motor, achieved almost 150IPm and my motor looks similar to urs.

with a lower T setting my motor always errorred.

presently my settings on the UHU are

P 1600
T 250
H 7000
E 100

and also may be I did not understand your Q well!

RGDS
Irfan
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-22-2008, 01:07 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 62
Posts: 2,189
neilw20 is on a distinguished road
Red face 60 !

H.O.

Yeah sorry about the 60 !
My thumb was in bцm and mind was in neutral !
I should have canceled the units as I was taught !
It like I should doit the right way and not the other way like I say.
__________________
Super X3. 3600rpm. Two possible way to fix things: The right way or the other way.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-22-2008, 02:05 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,

Lucien,
No, If I change the multiplier the motor will turn faster but I get more invalid transitions. I CAN go faster with the multiplier set to 0 it's just that the faster I go the more invalid encoder transitions I get (as seen by the O paramter in the UHU. So IMHO it's definetly a problem with the encoder signals/frequency and not with the frequency of step pulses.

I'm looking forward to see your testresults!

Irfan,
The problem isn't that the drive errors out or the available torque. The problem is that I can't run the motor at any reasonable speed without getting false transistions on the encoder lines (the O-parameter in the UHU, it should ALWAYS stay ay zero) which effectively means I'm loosing position which isn't acceptable.

The Torque Limit (T) is set to 255 on mine, if you set it to a lower value, say 128, you'll only get 50% of the available torque so your results are quite expectable.

Neil,
No problem, happens to me all the time!

All,
I'm having a hard time beleiving that it's really the limit since the manual states 100kHz, the FAQ says atleast 150kHz and that over 300kHz is possible under the right conditions. So it's probably the encoder itself, the diff-driver (although I have tried without it too) and/or the wiring but I'd like to know what others have achieved before getting new encoders. Please look at the O-parameter and make sure it really stays at zero.

Thanks guys!
/Henrik.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-22-2008, 02:31 AM
 
Join Date: Jan 2007
Location: MI. USA
Posts: 201
CarbideBob is on a distinguished road

When you had the scope on the signals did you check to see if the A and B phase shift was correct? Transition on B should occur on the center of the A pulse and vice versa. This phase shift should have been set by the encoder manufacture during assembly and test. Rare but sometimes they mess it up.
Bob
__________________
You can always spot the pioneers -- They're the ones with the arrows in their backs.
Tweet this Post!Share on Facebook
Reply With Quote

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

Hi,
Yes I did and they are....I'd say. Attached is a photo of the scope signals, my scope software is crappy so I have to take a photo - sorry for the bad quality.

However, they are a bit jittery. I don't know if that is part of the problem or if it's just the scope having trouble triggering repeatably. I shot this video while doing a 250rev turn at 500rpm, after that I had 17 false transistions...


Not very exciting but you can see that the phase shift seems to be correct but also that there are bit of jitter. Is it the scope, noice or the encoder....hmmm......

Thanks!
/Henrik.
Attached Thumbnails
Click image for larger version

Name:	Encoder signals.jpg‎
Views:	117
Size:	72.3 KB
ID:	63469  
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-22-2008, 11:02 AM
 
Join Date: Dec 2005
Location: netherlands
Posts: 301
vroemm is on a distinguished road

Originally Posted by H.O View Post
I've scoped the signals as they enter the DB15 connector and they look nice, sharp and uniform.
Message deleted
Because i had the wrong answer, sorry :-)

Last edited by vroemm; 07-22-2008 at 11:04 AM. Reason: I saw the light :-)
Tweet this Post!Share on Facebook
Reply With Quote

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

Vroemm, not at all....
( In Vroemm's now deleted message he suggsted to use a signal generator instead of the PC as the source for the step-signals to the HP-UHU )

Initially I thought about testing with a signal generator but since the UHU manual states that the O-paramter keeps track of invalid transitions on the encoder inputs I discarded the idea and "locked in" on the encoder.

However, after reading your message I though that it's worth a try and don't you just know it - it works a lot better..... I've now run it at 62.5kHz for over 10 minutes straight and the O-paramter still reads 0 as in ZERO, ZIP, NADA!

I tried going above 62.5kHz (1875rpm in my case) but the motor won't tag along very well above that apparently. (Max speed is 2000rpm according to the datasheet).

As it happends, the frequency-pot on my signal generator is bit flakey/noicy so sometimes, when turning the frequency up or down, it "jumps" a bit. - I notice that when it did the UHU immediately detected a fault transition on the encoder.

The computer I used in my previous tests is a laptop that I've been using for years with Mach3 and never had a problem. Tomorrow I'll switch the computer I'm going to use on the machine and see if that makes any difference. I REALLY hope it does or the only way to go is with an external motion controller like the SmoothStepper....

/Henrik.
Tweet this Post!Share on Facebook
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 11:57 PM
Taig actual travel TMaster Taig Mills & Lathes 0 04-06-2006 07:56 PM
spindle index, encoder, home/limit switch Wm McNett General Electronics Discussion 10 01-13-2006 07:39 AM
Sheetcam toolpath different than actual KSky SheetCam 3 09-13-2005 12:47 PM




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