Hall rotary encoder tempco--wisdom?

Hi, all,

I don't have much to contribute to the LCR MOSFET argument except possibly some ethological insight: . But I digress.

I'm on a trip to SoCal to debug the pre-production models of my spectrometer. The SNR is pretty good, way over 60 dB (which is good for a SWIR spectrometer).

Looks like the last remaining problem is that the spectrum has a way of sort of swimming around a bit, i.e. the gross shape stays roughly the same, and the small scale noise is low, but there are small systematic variations on scales of 1/10 to 1/2 of the scan range, where multiple spectra don't quite line up with each other.

One thing I noticed is that the Hall effect shaft encoders are quite unstable with temperature, something like 3 arc min per kelvin. Since the grating only has to rotate about 8 degrees for the whole measurement, that winds up being, like, 3 nm/K, which is _horrible_. (They're US Digital type MAE3-P12-125-500-7-1: 12-bit PWM.)

The RC airplane servo that I used in the proto appeared much more stable on the medium scale motion, although it didn't do small steps very repeatably. It used a pot for the encoder, of course.

Right now we're working on putting a temperature controller on the encoder, mostly by thermally grounding the leads to a controlled plate, since the case is plastic and there's no contact between the encoder body and the shaft.

Is the tempco usually this bad?

Any additional wisdom on these things? We can rip out the encoder and bodge in a pot if we have to, but it'll limit the instrument lifetime fairly severely.

Thanks

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs
Loading thread data ...

Can you add mechanical gain, instead? Is the motion always "one way" (or, can it be made to be so?)

Reply to
Don Y

It's not a backlash issue--it really is the encoder tempco. (Happens both forward and reverse.)

The next rev will have gears and a preload spring, or possibly a sine bar drive with a shaft encoder on the lead screw, but we need to get this one working to make a clinical trial date.

Thanks

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

Maybe that shouldn't be surprising; Hall effect sensing starts with (usually) a few dozen microvolts, and thermal and other drifts aren't swamped by that signal.

I'm not pleased with most shaft encoder designs, in fact. My preference is for stepper/loaded geartrain with an optointerrupter so I can get a step 0 indication. That has faults too (but one COULD imagine optical lever variants); I just recalibrated every measurement run against a standard.

Have you considered ovenizing the shaft encoder, yet? It sounds icky, but it might be a good quick fix.

Reply to
whit3rd

Why not an optical encoder, with lots of lines?

--

John Larkin         Highland Technology, Inc 

jlarkin at highlandtechnology dot com 
http://www.highlandtechnology.com 

Precision electronic instrumentation 
Picosecond-resolution Digital Delay and Pulse generators 
Custom laser drivers and controllers 
Photonics and fiberoptic TTL data links 
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

Yup, that's underway, as I mentioned, thanks.

As soon as I found out that the encoder used Hall sensors, which are notoriously drifty, I fished out the cold spray and had at it.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

No. My point was that (additional) mechanical gain can be a win -- but only if it isn't offset by the loss of precision that backlash in the geartrain can introduce.

Good luck!

Reply to
Don Y

Too big and expensive. This one is only about 12 mm long by 12 mm diameter, and costs about $15.

It's in what looks like an LC plastic housing, which may well be the origin of much of the problem. Do you folks ever use these things?

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

Could be that a Hall encoder doesn't have a lot of actual lines, and they are interpolating. The Hall TC could mess that up.

--

John Larkin         Highland Technology, Inc 

jlarkin at highlandtechnology dot com 
http://www.highlandtechnology.com 

Precision electronic instrumentation 
Picosecond-resolution Digital Delay and Pulse generators 
Custom laser drivers and controllers 
Photonics and fiberoptic TTL data links 
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

the datasheet says mechanical Angular Accuracy

Reply to
Lasse Langwadt Christensen

Internally it's a Hall version of a synchro or maybe a resolver. The differential-transformer ones are wonderful, but much bigger and more expensive.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

It actually drifts 0.7 degrees with a 15 degree temperature increase, so I sort of doubt that last spec.

The PWM is sampled with a high speed capture input.

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

Yeah, it looks like maybe two analog elements, not a bunch of lines like an optical encoder. I can see how the case, the magnets, the Hall sensors would all have bad TCs.

It's, basically, interpolating 2 bits up to 12.

--

John Larkin         Highland Technology, Inc 

jlarkin at highlandtechnology dot com 
http://www.highlandtechnology.com 

Precision electronic instrumentation 
Picosecond-resolution Digital Delay and Pulse generators 
Custom laser drivers and controllers 
Photonics and fiberoptic TTL data links 
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

Are you ratiometric on frequency? The spec says that the frequency can drift a bunch with temperature.

--

John Larkin         Highland Technology, Inc 

jlarkin at highlandtechnology dot com 
http://www.highlandtechnology.com 

Precision electronic instrumentation 
Picosecond-resolution Digital Delay and Pulse generators 
Custom laser drivers and controllers 
Photonics and fiberoptic TTL data links 
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

Ah, good catch, thanks. I asked the SW guy, who said he's just measuring the pulse width! (All in LabView, of course.)

One of the many reasons that I hate LabView is that it's ridiculously hard to debug compared with procedural code--it's as bad as debugging a spreadsheet.

We'll probably ovenize it anyway--it's cheap insurance.

Cheers

Phil

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

Den onsdag den 8. januar 2014 23.24.03 UTC+1 skrev John Larkin:

it like a resolver, trig on two voltages

I wonder if it works better at certain angles such as multiple of 45deg

-Lasse

Reply to
Lasse Langwadt Christensen

That could explain a lot of the error.

As Lasse pointed out, there may be angles that are better than others. Since you're not moving much, maybe you can rotate things to a sweet spot.

I'd guess that multiples of 90 degrees might be good. I have a 51% chance of being right about that.

--

John Larkin         Highland Technology, Inc 

jlarkin at highlandtechnology dot com 
http://www.highlandtechnology.com 

Precision electronic instrumentation 
Picosecond-resolution Digital Delay and Pulse generators 
Custom laser drivers and controllers 
Photonics and fiberoptic TTL data links 
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

The quoted spec on duty cycle error vs temperature is about 10 times better than we're measuring, assuming that the drift is a straight line, and that "0.9 degrees" means +-0.45 degrees. If it's quadratic, the slope will be four times worse than that, of course, so the improvement may not be enough. We'll certainly fix the S/W, but temperature control the encoder as well. If we get lucky, we can leave the temperature control off the other five pre-production units.

Belt-and-suspenders forever!

Cheers

Phil Hobbs

--
Dr Philip C D Hobbs 
Principal Consultant 
ElectroOptical Innovations LLC 
Optics, Electro-optics, Photonics, Analog Electronics 

160 North State Road #203 
Briarcliff Manor NY 10510 

hobbs at electrooptical dot net 
http://electrooptical.net
Reply to
Phil Hobbs

It's not supposed to budge out of spec'd performance limits over -40oC to +125oC operating temperature range.

formatting link
Not quite sure how it affects your final display, but it sounds like someone was doing more dreaming than thinking when they designed in just exactly how the encoder made things work.

Reply to
bloggs.fredbloggs.fred

ibly some ethological insight:

ometer. The SNR is pretty good, way over 60 dB (which is good for a SWIR s pectrometer).

f sort of swimming around a bit, i.e. the gross shape stays roughly the sa me, and the small scale noise is low, but there are small systematic variat ions on scales of 1/10 to 1/2 of the scan range, where multiple spectra don 't quite line up with each other.

nstable with temperature, something like 3 arc min per kelvin. Since the g rating only has to rotate about 8 degrees for the whole measurement, that w inds up being, like, 3 nm/K, which is _horrible_.

le on the medium scale motion, although it didn't do small steps very repea tably. It used a pot for the encoder, of course.

oder, mostly by thermally grounding the leads to a controlled plate,

ody and the shaft.

bodge in a pot if we have to, but it'll limit the instrument lifetime fair ly severely.

ter, and costs about $15.

HP used to do reasonably compact and tolerably cheap optical encoders and o ptical encoder kits, aimed at front panel controls.

Farnell has three like this from Avago

formatting link
ppr-2ch/dp/1654865

formatting link
It's twice the size you want, not cheap and needs a code-wheel with lines o n it to make it work. I've tried to take a look at the data-sheet, but can' t get it to download.

--
Bill Sloman, Sydney
Reply to
Bill Sloman

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.