Other Parts Discussed in Thread: OPA548,
Hello,
I want to drive a voice-coil (VC50/M from Thorlabs) using the OPA548 EVM board.
I already connected the board in dual mode and the voice coil oscillates.
My goal is now to drive the voice-coil such that it oscillates around multiple fixed positions that were previously determined. For example, supposing that my z-axis is the vertical axis with zero the Bottom of the voice coil, I want to oscillate around z = 5 cm for a while ; then stop the test and oscillates around z = 10cm etc.
For my application, I don't need to have a precise position so I won't use any position sensor. I will do an open-loop control only.
Requirements of the oscillations :
- sine wave
- Voltage to be determined but oscillation movements is in 5-10 mm range
I am not very familiar with driving voice-coils but I searched on internet and it seems that using a H-bridge with varying PWM should be a solution to create a sine wave.
Did someone already implemented something similar or have some recommandations about how to proceed ?
I have a STM32F401RE board at disposal but I have no idea how to use it to drive the voice-coil.
I am also open to any other proposal using Arduino (or Raspberry if it is easier)
Thanks in advance