Rotary encoder

Dec 19, 2005 36 Replies

All the fancy stuff is in the code wheel and the Moire mask you stick between your LED light source and your two photodetectors,

The Moire mask must have its bars reasonably close to parallel to the bars on the encoding disk, and it makes life easier if the printed/etched bars on the surface of the encoding disk are on the side facing the Moire disk (and vice versa) and the two surfaces are closer together than the bar spacing.

Parallel bars are a must, but you can live with biggish gaps between the rotor and the stator if you use a well collimated source, so you don't get too much penumbra around the shadows of the bars when they fall on the analysing mask (or vice versa).

Sub-micron encoders apparently use fancier diffraction effects, but the OP isn't interested in this sort of stuff.

In one system I did, we just left about an inch of lead on the legs of the LED and the photo-diodes, and bent the leads with pliers after assembly to get the LED and the two photodiodes in the right places to interrogate the encoding disk through mask. Worked fine, and never gave us any trouble.

----------------- Bill Sloman, Nijmegen

What we have been trying to tell you is that a standard incremental encoder has that type of sensor integrated with a wheel with lines on it. You are not going to easily make the equivalent of an incremental encoder starting with just two optical sensors. It is not easy to align the sensors to the proper 90 degree offset. Perhaps the mouse ball is the only example you have seen of an incremental encoder, but it is not the best example to couple to a motor. Why not take the easy way out and just buy an incremental encoder instead of trying to build one from scratch?

-Robert Scott Ypsilanti, Michigan

It all depends on how many pulses-per-rev you need. If it's not many, and you can house a big encoder, you can drill holes in a disk and make a simple PCB to take a pair of suitably- positioned slotted optocouplers. But if it's got to be small and high resolution, buy it in, you'll spend years developing the optics (that's what the encoder manufacturers did anyway).

Paul Burke

"as flash as a rat with a gold tooth" ?

Best regards, Spehro Pefhany

"it\'s the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com

Google AS5040

Enough said.

Is it true that crematoria capture the gold and such from dental fillings?

Thanks, Rich

That\'s very kind; thank you, sir! :-)

Sloman is the imbecile, AND an unemployed BUM on welfare.

...Jim Thompson

| James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | "Winners never quit, quitters never win", Jack Bradley Budnik ~1956

It\'s really a shame that you don\'t have the skills required to follow a thread without tripping yourself up and making it clear what a buffoon you are. Had you been capable of following the thread you might have learned that Mr. Sloman was kind enough to have cleared up what he meant a post or so back.

--- It's "John Fields", cretin.

If you can't even get the name right, why do you think that your opinion matters? It doesn't. You're just another ignorant poser pretending to knowledge which you don't have for the sake of having us consider you one of us. You're not. Just take a look at your miserable performance on the fantastically funny flip-flop thread and it should be obvious, even to you, that you're a loser.

If you need any more proof, read the seven amp LED thread again.

-- John Fields Professional Circuit Designer

John, are you really so lonely and desperate that you take amusement at baiting these trolls?

Thanks, Rich

Kind way of saying he's an imbecile you mean.

theJackal

To the lover of excretory products John Field Idiot just shut up ... just go and play in the traffic. I'm sure many (especially members of your family )can't wait to see you in your grave

"Go easy on your drugs ... you wannabe engineer"

theJackal

"theJackal" schreef in bericht news: snipped-for-privacy@4ax.com...

PLONK!

Thanks, Frank. (remove \'q\' and \'.invalid\' when replying by email)

I guess I really must be an imbecile. I keep on hoping that I'll get one of these jobs I keep on applying for. despite the evidence of experience - one job interview last year, and two this year. Of course, if Philips had gone ahead with that ultrasound project, I'd be working now.

Maybe I should become a paranoid imbecile, and blame it all on a capitalist conspiracy organised by Jim Thompson, but my sense of humour kicks in as soon as I try and see Jim as any kind of Master Mind.

And for students of language - "Bill" in Dutch is buttock, so over here I really am a bum. Technically it is "bil" rather than "bill", and the plural "billen" - buttocks - is the high frequency form but the pun still works. Jim doesn't exactly score points for originality.

------------------- Bill Sloman, Nijmegen

---------------- Bill Sloman, Nijmegen

LOL!

Me, Too!

Cheers! Rich

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required