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 07-27-2010, 06:39 AM
 
Join Date: Jul 2007
Location: somewhere in the country.. away from the city.. not quite in the deep woods... but can see them... clearly
Posts: 13
amontgom is on a distinguished road
Red face deep thoughts into encoder logic....

the answer is 42...... but what was the question???



for some time now i have been looking into a touchy problem..
i have tons of servo driver and amps.. but a mis-matched selection of motors..

i currently have a set of leadshine dcs810 servo drivers .. i like them very much .. however the pittman geared head servos i use with them have a single ended quadrature encoder. which is nice but the dcs810 is differential..
i have been sneaking around the back door a bit by simply not hooking the BAR A, BAR B phases.. and simply tying the a /b to the a/b inputs..

the rub is i get some oscillations .. and with the geared head setup that was eaten up in backlash..

now that i want to do some real work and not *****foot ( talk about touchy content parsers..) with the backlash crap ( encoder 500lpr = 2000ppr (quad) X 17.9:1 gear ratio x 20 tpi screw)
and just drive the screw at 2000ppr(quad) X20 tpi .. i give up resolution but save headaches in factoring out the backlash...


now on with the story..
as i said i have a mis match of motors.. and encoders and drivers..

the servos i am currently playing with are not equipped with encoders..
so i have some 1/4 in shafted dynapars.. single ended that they are..

i mounted them and tested them.. same oscillation...

so i am thinking why not open the cans up and install an inverter on each of the single ended lines and send the inversion back down the pipe..

hey,,, a 7404 should do the trick....

so i pop a can.. and trace the lines.. and glue a 7404n dead bug style to the other chip.. hook up the power and blue wire glue logic together..

( i did this for years at Intel) and viloet` the logic fails...

oh.. the chip is good.. and the signals are there .. sort of..
a rails at 5 volts .the new bar a rails at 3.2 v the same for b..

have i forgotten something over the 30 years i have been working in the field...
i am feeding a clean 5v signal directly into the input of an inverter ...

and getting a little over half of that out..
since i am using a 7404n.. should it be a 74ls04 instead?


< codgering>
now i am certain that there are a few people out ther that will say ... "just go out and buy the right servos stupid.."

that is not the point of my exercise.. first .. i'm broke.. no money .. 3 jobs.. and little time to play. much less sleep..

i buy food and pay my #@$%#@ taxes...

i have the basic parts to make due with; even if i have to modify things a bit... i am too old and set in my ways to casually go out and drop a grand per axis to get the toys i like to play with..

<insert senility>

if i can't buy it .. i'll build it.. if i can't build it .. well then i don't really need it... if i don't need .. i don't want it.. errr something like that...

damn the torpedoes and hang the bankers.. and screw the lawyers..( they had it coming anyway( they'd do it to you.. you just have to do it to them first..))

i had the brains once.. they're just a bit rusty..


whew' enough codgering back to business..
</codgering>
< recover a momentary lapse of reason>


the problem is a simple one .. vcc is ideal at 5.vdc ground is just that..
the issue is the chip set selection or should i throw out the inverter in lou of good old fashion DTL logic... there is about 11 ways to skin this cat..

just looking for some other ideas..
http://www.cnczone.com/forums/images...s/rolleyes.gif han opening up my dusty, hollow, thin wallet.

( sorry for the rusty brain bit .. AL- the man.... we have both seen better days. and i have been playing around in the salt water too long )
Reply With Quote

  #2   Ban this user!
Old 07-27-2010, 06:44 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

I hate when that happens...
Some of your oscillation problem my be in the tuning of the servo amps / system. Typical output for an SN7404 (VOH) is 3.4 volts. Same for the LS and S verstions. I had to think to remember what the SN stood for..
Might try a dual op-amp that will work on 5 volts single ended supply to get your inversion to go to the supply rail.

Steve
Reply With Quote

  #3  
Old 07-27-2010, 08:50 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

You should not need an inverter in the first place, It might pay to look in the encoder and see what kind of driver, the only thing to watch is that some are open collector, but if the output switches now from 0to ~5v then there is most likely a line driver there already.
If you want to use a RS422 differential driver, you could use a DS9638 or 26LS31.
The encoder resolution does not have to be matched to the motor, as Steve said, it is more like tuning causing oscillation.

BTW, in spite of what you often see on sites like this, the correct terminology/definition is quadrature x4.
IOW, the basic pulse count IS the quadrature pulse.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 07-27-2010, 01:10 PM
 
Join Date: Jul 2007
Location: somewhere in the country.. away from the city.. not quite in the deep woods... but can see them... clearly
Posts: 13
amontgom is on a distinguished road
yep.. right on target.. but......

i knew that.. but was lazy..
looking at the spec sheets.. to drive them .. it requires 7 vdc in order to get 5 v out..
.. but there are ways to do just that.. my source is only capable of handling about 50 ma though... i must find a better power solution...

i think i've got one though..

it has been a while since i played around on the inside of these.. usually it is just a wire match-up thing.....

this is an old encoder.. ( personally i would rather be playing with a HEDS series encoder) those i have down to a science..


Originally Posted by Al_The_Man View Post
You should not need an inverter in the first place, It might pay to look in the encoder and see what kind of driver, the only thing to watch is that some are open collector, but if the output switches now from 0to ~5v then there is most likely a line driver there already.
If you want to use a RS422 differential driver, you could use a DS9638 or 26LS31.
The encoder resolution does not have to be matched to the motor, as Steve said, it is more like tuning causing oscillation.

BTW, in spite of what you often see on sites like this, the correct terminology/definition is quadrature x4.
IOW, the basic pulse count IS the quadrature pulse.
Al.
Reply With Quote

  #5   Ban this user!
Old 07-27-2010, 10:49 PM
 
Join Date: Oct 2008
Location: US
Posts: 115
bharbour is on a distinguished road

Originally Posted by amontgom View Post
i knew that.. but was lazy..
looking at the spec sheets.. to drive them .. it requires 7 vdc in order to get 5 v out..
I would be pretty surprised if 7V does not let the smoke out of a real TTL version of s 7404.
My ancient Motorola TTL data book says 5.5V is the maximum operating voltage for LS and I expect straight 7400 would be similar.

If you use a CMOS version, 74HC04 it should swing pretty close to 5V for a 5V power supply. I'm with Al on the 26C31 though. It's a real differential driver and they are cheap.

BobH
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-27-2010, 11:33 PM
 
Join Date: Jul 2007
Location: somewhere in the country.. away from the city.. not quite in the deep woods... but can see them... clearly
Posts: 13
amontgom is on a distinguished road

Originally Posted by bharbour View Post
I would be pretty surprised if 7V does not let the smoke out of a real TTL version of s 7404.
My ancient Motorola TTL data book says 5.5V is the maximum operating voltage for LS and I expect straight 7400 would be similar.

If you use a CMOS version, 74HC04 it should swing pretty close to 5V for a 5V power supply. I'm with Al on the 26C31 though. It's a real differential driver and they are cheap.

BobH
7 vdc would be the max as my fairchild part datasheet says..
i did semiconductors at Intel.. the rails can take a bit.. 10 dvc will let the smoke out for sure... maybe.. it depends on the wafer location..
and actual bus trace width ( it varies due to production characteristics) ..


i am also with al on this one.. and i am searching through my parts bin..
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
Sound Logic Encoder Interface anyone? DennisCNC Mach Software (ArtSoft software) 0 11-08-2006 09:50 PM
Help w/ Sound Logic Encoder Interface, Does Anyone Use This Thing?? bill south Machine Problems, Solutions , Wireless DNC, serial port 3 04-25-2006 07:33 AM
5v for logic... WilliamD General Electronics Discussion 4 02-10-2006 04:52 PM
Sound Logic Encoder Interface bill south Gecko Drives 0 01-31-2006 09:22 AM
Encoder placements (more wild thoughts bout encoreds) Konstantin General Electronics Discussion 8 03-24-2004 05:50 PM




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