sahil-kale / basilisk-actuator-control-lib

Hardware-agnostic library enabling field oriented control of of PMSM and BLDC Motors
https://sahil-kale.github.io/basilisk-actuator-control-lib/
1 stars 0 forks source link

Reclassify Rotor Sector Sensor as 'Absolute Rotor Sensor' #47

Open sahil-kale opened 8 months ago

sahil-kale commented 8 months ago

An idea is that we should classify the rotor sector sensor as an absolute rotor sensor and be able to share the hall estimator code with other absolute sensors (since they will all suffer from some quantization error and the code itself doesn't actually change, just the resolution of the quantization).

This might also open up a few possibilities to decouple the interpolation code if required for relative sensors if we want to interpolate between those as well and define a generic phase-locked loop class for the estimators. However, perhaps this is left for later as a relative encoder will likely have high resolution and not require interpolation