Thoughts on redesign for Hall Effect sensors

Thoughts on redesign for Hall Effect sensors

Postby jeruw » Sat Mar 21, 2015 4:42 pm

One of the big problems I ran into in building this with aluminum is handling the potentiometer D shaft. I'm really new at machining and I was having a hell of a time finding information on how to reasonably create a D profile hole in an aluminum shaft. With the 3d printed part you just print it as a D. Boring out a D profile in an aluminum shaft is not a trivial task. I hacked my way around it by using a set screw, but it's not ideal.

This, combined with the possible issues of using the potentiometer shaft as a load bearing component, had me thinking of other ways to handle this. I'd seen some information about hall effect sensors and have been researching those trying to find an affordable solution. Many of those chips, particularly those meant as absolute rotary encoders, aren't inexpensive and the breakout board or development boards with them installed are either a DIY project or around $20 each. That'd be a pretty big cost jump.

But today I came across this: http://www.mycockpit.org/forums/showthread.php?t=22267

This guy is replacing a potentiometer with a simple hall effect encoder chip (cost around $1.25 each) and two magnets mounted to the shaft. It's a simple 3 pin connection like a potentiometer and a simple solution, no more complicated board really required. It covers 180 degrees of rotation, far more than the around 90 degrees required by a delta throttle pivot arm.

So my new design will likely be a solid 3/8" shaft with a 3/8" x 1/4" bronze sleeve bearing in each upright for the shaft to ride on. The pivot arm will bolt down securing the right side. a 3/8" ID x 1/2" OD x 3/4" LG sleeve bearing will be placed on the shaft for the spring to ride on. Even though this exceeds the maximum shaft OD for the springs there's plenty of clearance for our required range of motion. the 3/8" shaft will extend on the sensor side by 1/4". I'll machine my own shaft collar to secure this side including pockets for 2 1/4"x1/4" neodymium magnets.

With all the extra bearings, sensor and magnets this will be a bit more than a potentiometer's cost, but not by a lot and will give a secure and smooth operation with a high degree of accuracy and little to wear out.

Thoughts?
jeruw
 
Posts: 80
Joined: Tue Feb 17, 2015 3:10 pm

Re: Thoughts on redesign for Hall Effect sensors

Postby zdayton » Sat Mar 21, 2015 8:52 pm

To make a D shaped hole in aluminum you need a broach. Basically shoving a D shaped cutter through a hole. In this case I think you would be better to use a woodruff key and a set screw. http://www.mcmaster.com/#machine-keys/=werl1o

I was actually doing some experiments with an Allegro hall effect rotation sensor. It was SOC, so just an i2c output and totally programmable. It looked really cool but I could never get the Allegro people to send me the full data sheet. They totally blew me off, maybe just because the quantity i wanted wasnt worth their time, i don't know. Here are pics of my test rig though.

Image

Image

I have gone back and forth on hall effect sensors a little bit. They are obviously associated with higher quality in people's minds, but to be honest i'm not sure if that is true. There are definitely some positives. They are non contact so there is no wear. But s high quality pot has 2% linearity, infinite resolution, and a cycle life of 2 million cycles. And they are much easier to implement.
zdayton
Site Admin
 
Posts: 81
Joined: Wed Dec 24, 2014 6:20 am

Re: Thoughts on redesign for Hall Effect sensors

Postby jeruw » Sat Mar 21, 2015 9:20 pm

Certainly easier for a 3d printed or other plastic design. Were you able to get much working or did the lack of data sheets hold things up? I was looking at a number of absolute encoders that looked a bit like that. I couldn't find an affordable ready-to-go board though and am not quite ready to take on board design and surface mount soldering :).

I'm excited by the simpler design. It doesn't have the ability to encode more than 180 degrees of rotation, but for this application it seems like we don't need more than 90 degrees. I'm assuming from the limited info I've seen and my limited understanding that connected to the 10bit ADC on the Pro Micro the resolution should be pretty high as well. Not the highest a hall effect sensor can provide, possibly less than a high quality pot from what you're saying. I think I'll give it a try though. It will only set me back around $20 for the magnets and sensors from digikey. If it works it'll make my build a lot easier.
jeruw
 
Posts: 80
Joined: Tue Feb 17, 2015 3:10 pm

Re: Thoughts on redesign for Hall Effect sensors

Postby zdayton » Sat Mar 21, 2015 9:35 pm

Encoders are really expensive. It would cost a fortune to get encoders with the same resolution as the potentiometer and ADC. For the hall effect sensor, i got it working and detecting rotation, but at poor resolution. I need the full data sheet to know how to properly program the chip and get the correct resolution, the part I am missing is the register descriptions for changing all the settings and stuff.
zdayton
Site Admin
 
Posts: 81
Joined: Wed Dec 24, 2014 6:20 am


Return to Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron