I recently saw a machine where it used a hall sensor or a magnetometer for linear positioning (the sensor is wrapped in some opaque protection so I don't know what it actually is which is the real problem and it was placed adjacent to the shaft and I think it displayed steel shaft position only without any magnets involved, meaning the shaft was made into an electromagnet itself but didn't got enough time to prove it.)

It's a relatively small component placement machine which has an arm joined with a base where the base goes up and down and the readings on the display for the linear up and down movement (Z - Axis) had a unit of BZ at the end and it definitely wasn't in metric.

From my speculation, there should've been changes in readings when I introduced a magnet(it was a strong little disc magnet) near the machine but I didn't see any, not even a minor flinch. I'm already working on a 3d positioning project with MLX90393 and went through a lot of work to get less noisy readings (which is why this machine got me interested) but this magnetic sensor set up got me worked up and I searched a lot of internet again.

Melexis has a feature called Stray field immunity and all those sensors which support that, require a proprietary programming hardware which is around $1250.... so that's out of the options anyways, my main question is, can we make a closed loop magnetic linear positioning system with no disturbances at all from other magnets or fields? I want an economical solution. I cannot place any multi-pole magnetic strips in my application to use like the AMS5311, which is about same, defining position of a shaft linearly, the movement range of shaft(steel) is of 6mm only. I don't care about output readings, they should be just stable and only change when the shaft position is changed, no changes from outside effects.

I thought of implementing an electromagnet for a closed loop so that sensor knows what to detect only?(this is a really wild thought) is that possible? I'm relatively new to all of this so please let me know what more I can provide!

  • \$\begingroup\$ maybe the sensor is optical \$\endgroup\$ – jsotola Sep 23 at 22:12
  • \$\begingroup\$ @jsotola the opaque protection that the sensor is wrapped in doesn't have any sort of opening. That's how I figure that it has to be magnetic. Well, can you link any optical sensor like that for reference, anyway, that fits this application \$\endgroup\$ – BLOODHOUND Sep 24 at 2:19
  • \$\begingroup\$ i was thinking about something like an optical mouse sensor \$\endgroup\$ – jsotola Sep 24 at 4:19
  • \$\begingroup\$ @jsotola Yea, I also saw one thread here stating the same but implementing something like that would be very difficult in my application as there's literally no space near the shaft except for a 6x6mm circuit board or I'd have to cut the surrounding area. Is there really no closed loop magnetic system? \$\endgroup\$ – BLOODHOUND Sep 24 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.