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 02-03-2010, 05:12 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road
UHU Chip problems

Hi everybody,

Lately I had some problems with resetting the UHU Servo Controller Chip, but that is history.
In the meantime, something else occurred. After applying the 12 Volt power on a UHU Servo board, "POWER" led turns on, and after a little while "OK" led turns on. That is how it should be. But, yesterday, when I connected a board, which was working fine two weeks ago (like I mentioned in a sentence before), to a 12 Volt power supply, only "POWER" led turned on. I connected it to a computer, but no message "....UHU Servo Board.... EEPROM OK....." appeared, and you can not see or change PID parameters. So, while I was reading Uli Uber user manual, after a while, I looked on the board again, and it was fine!! Both "POWER" and "OK" led were on.
I suspect the next. The board was in a room that is not heated - only a few degrees (not more then 10 Celsius). I took it to a room in which I work (20 degrees Celsius), and as I said, after some time it start working. Don't know but I suspect that chips are temperature sensitive!

If somebody there had the same problems, be free to comment.

Thanks.

Milos.

Last edited by mibo1112; 02-05-2010 at 02:15 AM.
Reply With Quote

  #2   Ban this user!
Old 02-04-2010, 02:23 AM
LZ1TWB's Avatar  
Join Date: May 2006
Location: Bulgaria
Posts: 158
LZ1TWB is on a distinguished road

Originally Posted by mibo1112 View Post
But, yesterday, when I connected a board, which was working fine two weeks ago (like I mentioned in a sentence before), to a 12 Volt power supply, only "OK" led turned on.
The power led should be directly wired to the 5V line. You cannot have a working chip if you don't have 5V on it. This is something strange. Are you sure you don't have a problem with the board and/or the components. Sometimes the smallest thing makes the issue. What kind of board you said you were using?

Todor
Reply With Quote

  #3   Ban this user!
Old 02-04-2010, 02:36 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road

Hi Todor,
And thanks for a replay.
I purchased boards in USA, from embeddedtronics. They look pretty cool, I mean the production of a board is really professional. So, I don't think that it is a board problem.
On my opinion, the problem are chips (but still didn't find which one), and I think that they are temperature sensitive. Though, I didn't put the boards outside on -10 Celsius or something! They were on maybe 7 or 8 degrees Celsius.
On a board there are:
1. 4013 RS Flip Flop - made by ST.
2. 74HC14 Schmitt trigger - ST.
3. MAX232 - don't remember a manufacturer, though it's only for a connection with a PC, so it shouldn't be the reason I think
4. IR2184 output transistor drivers - made by international rectifiers
5. TL 082.

Milos.
Reply With Quote

  #4   Ban this user!
Old 02-04-2010, 10:22 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,
You need to check all the soldering on that board. The power-LED is not driven from or controlled by the UHU-chip so the fact that IT doesn't come on has nothing to do with UHU chip itself. (If the chip itself isn't shorting out the powersupply of course).

If the OK-LED, which IS controlled by the chip does indeed come on it means that the UHU-chip is execting code. I suspect you either have a cold joint, bad IC socket, a short or something - somewhere. OR that there's a problem with the X-TAL on the board and the temperature makes it oscillate at the wrong frequency. This would still make the UHU-chip execute code but the baudrate for communicating with the PC would be wrong.

Well, that's two ideas....the ICs themselves should have NO problems at all operating at 10°C.

/Henrik.
Reply With Quote

  #5   Ban this user!
Old 02-05-2010, 02:38 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road

Hi Henrik,

Sorry about that first post massage, I made a mistake, it's changed now. So, after powering up the board, only "POWER" led turns on (and not "...only the "OK" led..." - that was a mistake).
Ofcourse that there is a large posibillaty that "POWER" led will turn on, cause it is not driven by the UHU chip, and that the most probably reason for not turning on this led after powering up the board will be in board connections. So, not to make this story larger, I have no problem with the "POWER" led. Problem is with "OK" led.
Cold joint, and bad IC sockets, did cross my mind. I even made all soldering again on one board, but that didn't make the problem go away. Interesting thing is that I have two boards assambled, and I leave both of them, side by side, on the same spot, and after a day or two, sometimes more, when I take them and connect to a 12V power, the same thing occures ("POWER" led turns on, "OK" led not) on each board! And, after a while, the "OK" led turns on too.
Anyway, thanks for those ideas.
If You would be so kind to elaborate about that sentance of Yours "...OR that there's a problem with the X-TAL on the board and the temperature makes it oscillate at the wrong frequency...". I suppose that You ment about that 24MHz cristal oscillator putted on the UHU Chip.

Thanks for the ideas,

Milos.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-05-2010, 07:57 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Yes, I meant the crystal oscillator. Did you get the crystals from Uli together with the UHU chips or have you bought them elsewhere? Apparently it has to be a 24Mhz, 1st order (whatever that means).

As long as the oscillator oscillates at ANY frequency the chip will execute the code but all timing will be off as the program "thinks" it's running at 24Mhz. And since the UART (that handles the communications with the PC) derives its clock from the main oscillator the baudrate will be off.

Well, like I said it's just a theory....

Do you have access to an oscillosope?
Reply With Quote

  #7   Ban this user!
Old 02-05-2010, 10:06 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road

Hi Henrik,

Yes, crystals were bought from Uli, cause there was a story that not all crystals will work. So, I didn't want to think about it and ordered them together with UHU Servo Controller chips.

Yes, I own an oscilloscope - TEKTRONIX 2215. It's a little bit old but works fine and serves the needs.
I didn't understand very well that thing You mentioned "...but all timing will be off as the program "thinks" it's running at 24Mhz. And since the UART (that handles the communications with the PC) derives its clock from the main oscillator the baudrate will be off...." What timing will be off? What program "thinks"? Mach or UHU Controller firmware or how to call it? What UART stands for?
Did You mean just to measure natural crystal frequency with oscilloscope?

Milos.
Reply With Quote

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

Hi,
I mean that IF the oscillator, for whatever reason (like wrong value on the caps) oscillates, but at the wrong frequency the chip will try to talk to the PC at a different baudrate which obviously won't work. The fact that the OK LED does turn on indicates that the chip IS running but the fact that it won't coomunicate with PC (which it did earlier I suppose) indicates that the frequency may be wrong.

Measuring on the oscillator can be tricky and might cause it to stop (if it IS running) but you can TRY and see what you get. Otherwise, when the OK LED turns ON and if the Error LED is OFF try measuring the PWM frequency, if it isn't ~20kHz then there's something wrong the oscillator.

The operating temperature of the UHU chip itself is -55 to 125°C so 10° shouldn't be a problem.
Reply With Quote

  #9   Ban this user!
Old 02-05-2010, 12:40 PM
LZ1TWB's Avatar  
Join Date: May 2006
Location: Bulgaria
Posts: 158
LZ1TWB is on a distinguished road

Can you measure the voltage at the UHU terminals, it should be 5V in theory. What power/voltage rating of PS you use for the logic supply?

Maybe you could try to remove the other IC's and see what happens. I've had a different problem with a bad batch of 7414's, so don't trust ICs.

I am not so sure, but I have read here on the forum that this particular kind of boards have some noise problems and chip resets. I cannot take a side as I have not used them. Mine is the first PCB, made 2005.

Todor
Reply With Quote

  #10   Ban this user!
Old 02-08-2010, 01:34 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road

Hi guys,

Henrik, just to be clear, I never had a problem that "OK" led illuminates and no connection with the PC is made. So, you take the board (relatively cold), connect it to a 12V power supply, and to a PC. Just those two connections. You've already started serv200.exe and going to turn the power on. When the power is on, only "POWER" led turns on. You have no message on the PC computer screen. Actually, nothing changes. Then you wait a little bit (half a minute or so) and the "OK" led turns on. The moment the "OK" led turns on, the message "...UHU Servo Controller ver. 3.00 ..." came up.
Now, I have 5 UHU Servo controller boards assembled. All of them are on the same spot (place). I'll try them all today, to see if all will have the same problem.
I measured crystal frequency yesterday. Tektronix is a 60 MHz, so it could be done. I measured on pin4 and on pin5 relatively to "GND" point of the controller board. Both times you see the "sine wave" on the scope.
I didn’t measure on the cold board, I'll do it today.

Milos.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-11-2010, 04:57 AM
 
Join Date: Jan 2010
Location: Serbia
Posts: 13
mibo1112 is on a distinguished road

Hi guys,

Couldn’t write earlier, cause of some "net" problems.
Anyway, one of two problematic boards I, let's just say resoldered (didn't have time to do that on both boards). After soldering (well, actually just heating again) all the contacts, board worked fine. Leaved her a day or two on a cold place, then tried it again, and both led turned on immediately - well, "OK" led just a little bit latter then "POWER" led, cause of that UHU chip reset procedure on start, but it's no mistake.
The bottom line, it was a connection problem somewhere. Well, to be honest, it smelled that way all the time, right?

Milos.
Reply With Quote

  #12   Ban this user!
Old 02-11-2010, 09:57 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Yes it did. I'm glad you found it though.
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
Chip to Chip Time Gene0552 General Metalwork Discussion 36 09-01-2010 11:05 AM
problems with finish on MDF (wrong feed? speed? chip load?) posix WoodWorking 10 12-26-2009 01:44 AM
Newbie- Chip extraction problems with PVC?? miamiprestige CNC Tooling 0 02-16-2009 03:44 PM
Chip Sweep timan Haas Mills 2 06-04-2007 07:28 AM
heat to chip? try CNC Tooling 6 12-14-2006 09:35 PM




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