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 01-13-2006, 01:37 PM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road
Quadrature Encoder schematic?

I got the servo(attached),
it has shaft encoder, but I don't
think it has quadrature output
as it has only 3 wires, it's optical tho.
I'm thinking maybe the photosensor
can do quadrature but the circuit board
is design only to read RPM, maybe I
could modify the board to make it
quadrature? any idea if it's possible?
It's a JapanServo type DS48BE25,
can't find info of it.

TIA
Attached Thumbnails
Click image for larger version

Name:	servo.jpg‎
Views:	238
Size:	86.6 KB
ID:	13795  
__________________
Mhel
"me and my unselfish genes"
Reply With Quote

  #2  
Old 01-13-2006, 04:19 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

You need at least 4 wires for an incremental quadrature encoder, +, Com., A & B pulse.
If it has three wires as well as + & com. then you are OK.
You would be better off picking up a through-shaft encoder and replacing the 1 channel digital tach, if that is what it is.
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

  #3  
Old 01-13-2006, 04:30 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

I looked at the picture of the encoder board and it is a single channel encoder.

Mariss
Reply With Quote

  #4   Ban this user!
Old 01-13-2006, 05:06 PM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road

I was afraid you guys would say that,
I got 3 of these $5CAD each,
I temporarily attached a heds encoder(I got from inkjet printer)
so I could use it with UHUservo, but it doesn't fit very well.
not enough space.

it has 4 pins, but when I open it only 3 leads are connected to the board.

"it is a single channel encoder."

I'm thinking the board is single channel, but
the photosensor? how do I know if dual?
two LED. the top part has one LED like,
and the bottom part has some tiny grills and has 3 wires too.

thanks.
__________________
Mhel
"me and my unselfish genes"
Reply With Quote

  #5   Ban this user!
Old 01-15-2006, 02:41 PM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road

I think I may have a chance to modify it.
those tree wires coming out of the sensor
red,green,black. Black leads to GND,
bot red and green has signal on them,
I'm just not sure if it is out of phase,
my(unt)rusty oscope shows me kinda of sine wave tho.
I wish I have another probe so I could see both at the same time.
Is my findings make sense?
__________________
Mhel
"me and my unselfish genes"
Reply With Quote

Sponsored Links
  #6  
Old 01-15-2006, 06:09 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

If they are in fact sine wave out, that is the way that all differential encoders start out due to the nature of photo detection and they are usually squared up before leaving the encoder, for example Hiedenhain encoders offer both choices.
If in fact it is a sine wave, you could square them up with a schmitt trigger IC and even feed into a differential driver to produce 4 signal channels.
In the absence of you double beam scope, after squaring you could test with a VOM on dc voltage range for each channel high and low, by carefull incrementing by turning the shaft.
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

  #7   Ban this user!
Old 01-15-2006, 06:30 PM
 
Join Date: Jan 2006
Location: ARGENTINA
Posts: 37
ez-cnc.com is on a distinguished road

I think red and black for the power supply and the yellow onw is one channel output. Why dont you try puting 5V into the red and black cable and use a led and a 470ohm resistorin between the yellow and the black cables. Then rotate the shaft and the led should blink. Its probable that it was used in a speed control where there is no need for dual channel encoder.
Reply With Quote

  #8   Ban this user!
Old 01-16-2006, 05:10 PM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road

Al:
it's definitely a sinewave, I'm going to try your suggestion.

ez-cnc:
the schematic I found(attached) is what led me to believed
that I may have a chance with modifying the encoder.
On the board that I have there's a separate supply for the infrared LED via,
75ohm resistor apart from the three leads that's coming out of the photo
detector, Black goes to GND, Red goes to 2k7(I think it's a pull up) and Green
to trimmer pot. The IC is a JRC 2903D (if it's the same as LM2903D then it's a
comparator, that's what I found at datasheet archive.com)

thanks.
Attached Files
File Type: pdf qrd_1114_quadrature.pdf‎ (10.6 KB, 585 views)
__________________
Mhel
"me and my unselfish genes"
Reply With Quote

  #9   Ban this user!
Old 01-18-2006, 04:31 PM
slp_prlzys's Avatar  
Join Date: Mar 2004
Location: Canada
Posts: 210
slp_prlzys is on a distinguished road
it's quadrature alright!

AL:

I tried your suggestion and nothing happened.
I got no signal on the output (74hc14) well it's alwasy HI,but
still got signal from those 2 leads, then I noticed
that the oscope is 1mV/cm. That means I'm getting
a very weak signal coming from the sensor, so the input
of the 7414 never go HI. I went looking for signal amplifier,
but it's a little complicated than I thought.
I was going to give up when I decided to separate
the sensor from the LED, and voila!
I found two sets of tiny grills one above the other.
one looks a bit offset from the other. I used a magnifying glass,
and it is offset, where the other has hole the other one is block.
So I'm thinking this is how quadrature encoder works right?
and the board it was attached to, was used only as a tachometer,
by utilising both transition(HI, L0).

so the quest is still on, if anybody could provide me with
schematic so I could turn it into a quadrature encoder
it would be greatly appreciated.
My search on google gives me the idea that
an opamp could be used (maybe like the one on the board)

thanks


EDIT:

After a lot of searching I came up with an schematic,
does it make sense? it's slow but I'm
learning, I think.
Attached Thumbnails
Click image for larger version

Name:	encDisasmbld.jpg‎
Views:	210
Size:	71.9 KB
ID:	13955   Click image for larger version

Name:	cct.png‎
Views:	340
Size:	5.5 KB
ID:	14032  
__________________
Mhel
"me and my unselfish genes"

Last edited by slp_prlzys; 01-20-2006 at 08:29 PM.
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 10:56 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