I need to design a circuit and code that allows a vibration motor to operate at a fixed frequency and its amplitude can be changed at a rate of 1 micro meter per second.
I was wondering if anyone could help me out with this. I already bought a haptic motor driver to operate with an ERM motor but the PWM control cannot allow the frequency and amplitude to operate independently. I then bought an LRA motor, hoping I would be able to control the frequency and amplitude independently but still could not.
If anyone could provide me some sort of guidance on this it would be super helpful!