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  
Old 10-14-2006, 12:07 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?
Encoder to DC tach circuit Wanted.

Anyone used or have details of LSI or Pic method of bi-polar DC Tach signal derived from A & B quad encoder pulses?
I need a working circuit rather than re-invent the wheel.
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

  #2   Ban this user!
Old 10-14-2006, 09:46 AM
 
Join Date: Dec 2005
Location: USA
Posts: 3,319
NC Cams is on a distinguished road

How about a tachometer IC???

You could AND the output signals and feed them to an LM2917 D-A converter chip via a buffer IC and some diodes for appropriate isolation. Easy and cheap way to get a voltage proportional to output RPM.

Sadly, this wouldn't tell you if you're running CW or CCW as I suspect you may have an interest to do.

Another trick might be to check out Red Lion Controls. They have some ready made RPM and direction sensing devices thay you might be able to plug and play with.
Reply With Quote

  #3  
Old 10-14-2006, 10:00 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

Thanks, I have a raft of circuits for uni-polar DC but cannot find any for Bi-polar (decided by the A & B pulse dir.)
AMC and Copley use a circuit in their drives but I have not been able to reverse engineer them. I need a compact LSI solution rather than off shelf hardware.
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 10-14-2006, 11:44 AM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

us digital sells a box that does this
obviously, the trick is to get the sign correct. I know the guys at New Micros http://www.newmicros.com/ have used the timer inputs as encoder inputs on motorola chips -- they say the regular timers work ok, and you don't have to use the special encoder inputs available on a lot of chips.

This article looks promising http://www.mcmanis.com/chuck/robotic...uadratrak.html
I didn't read it too far though.

For a tach, you'd have to keep track of the velocity instead of the position. I'd keep a running average like this: vel = (xnew - xold)/delta_time
then vel_filt = (7*vel_old+vel)/8
output vel_filt
vel_old = vel_filt
repeat
Outstanding issues are how to find the delta time and how to drive a pwm pin to give an analog out.
Reply With Quote

  #5  
Old 10-14-2006, 12:09 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

I will look into those articles, it seems that the US digital devices do not do exactly what I want to do which is to produce a Max ±60vdc analogue signal derived from a quad encoder.
IOW to replicate a DC tach from A&B pulses.
I have searched the web for solutions and am suprised that there does not seem to be any articles out there for this app.
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

Sponsored Links
  #6   Ban this user!
Old 10-14-2006, 10:52 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road

hello al.
if you have the time and the programming experience you could use a pic or whatever to:
1. - count the encoder pulses.
2. - convert the encoder pulse count to set a digital pot.
3. - voltage amplify the pots output to a scale factor of your choice.
if you want me to draw you a schematic , i will,
Reply With Quote

  #7  
Old 10-15-2006, 10:14 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

Thanks, I will see how far I get and if I get stuck I will take you up on the offer.
One of the tricks is getting the Analogue polarity to match direction.
The biggest enemy is TIME
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

  #8   Ban this user!
Old 10-15-2006, 07:02 PM
 
Join Date: Jul 2005
Location: USA
Age: 42
Posts: 442
pastera is on a distinguished road

http://www.fpga4fun.com/QuadratureDecoder.html

Gives some logic for a Quadrature to count and direction interface.
Hook up the count signal to a frequecy/voltage converter chip (LM2907) invert based on direction and send to a HV push-pull stage.

Take a look at Apex Microtechnology's high voltage line amplifier line for an off the shelf output. EDIT: ouch - looked at the prices

take a look here: http://www.edn.com/article/CA484492.html


Aaron
Damn EE's always like complicating things! LOL

Last edited by pastera; 10-15-2006 at 07:21 PM.
Reply With Quote

  #9   Ban this user!
Old 10-15-2006, 09:56 PM
 
Join Date: Aug 2005
Location: USA
Posts: 1,622
One of Many is on a distinguished road

This is as close as I had found. These will put out up to +/-10v for direction tach velocity.

For $173 it could shorten time to run once pumped to +/-60? USDigital has quite a variety of encoder converters.

http://www.usdigital.com/products/etach2/

http://www.genesisautomationonline.c...hp?cat=1&sub=0

I have yet to see a direct single chip quadrature to analog tach conversion. Could this be that it is not a directly stable linear conversion to simulate a tach analog output? Obvioulsy it is done, but I'd wonder if there are compensations involved based on encoder counts/rev, pulse width etc. seems like a direct freq/voltage conversion.

DC
__________________
Learn cause and effect through experience. Mastering those relationships is the "Common Sense" ability within the art of any trade.
Reply With Quote

  #10   Ban this user!
Old 10-16-2006, 11:10 PM
 
Join Date: Feb 2006
Location: USA
Posts: 6
kenski is on a distinguished road
Here's a circuit..

http://www.avtron.com/pdf/encoders/k661.pdf
Reply With Quote

Sponsored Links
  #11  
Old 10-17-2006, 07:26 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

Thanks everyone for help, I think I have found something in my old analogue records that should be able to put together with 4 IC's. I will post the schematic if it works out.
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

  #12   Ban this user!
Old 07-05-2007, 05:07 PM
 
Join Date: Sep 2005
Location: Mexico
Posts: 79
maquiza is on a distinguished road
To AL

Did it WorK?
I am looking for one that can generate 6V/1000 rpms.



Regards,


Jorge
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





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