I am currently working on a project containing Hall-Sensors (measurment of magnetic fields) and voice coil actuators (high frequency linear motors, which have a force proportional to current output).
I don't know how to describe my knowlege better than "non-existent":
My task is to measure a magnetic field using a Hall-Sensor and generating a force proportional to that magnetic field. In order to do so, I've thought about this:
1. Measuring the magnetic field ( https://docs-emea.rs-online.com/webdocs ... 06a158.pdf)
2. Transforming that signal with an ADC (https://learn.adafruit.com/raspberry-pi ... sh-ads1115)
3. feeding the RaspPi with that information
3. using PWM to stimulate the gatevoltage of H-bridged motor driver (https://docs-emea.rs-online.com/webdocs ... 620d96.pdf)
4. using a current-power-supply for the motor driver
My goal is to control the current's amplitude, that is running through the motor and my questions are: is the idea above realizable, or is there a even better way?