STM32 Algorithms
Posted: Tue Jun 10, 2025 7:16 am
I am not certain this is the right forum for posing the following enquiry. If not I apologize.
The above is the cleaned up signal output from a sensor monitoring the angular position of a shaft. It is made up of 23 pulses plus one gap. I need to pick up ideally the centre of that gap using any option possible on an STM32 controller.
The pulse widths in that photo are dependent on shaft rotation speed which can easily go up to x2 or even x3 the speed of when that picture was taken.
I would be grateful for any suggestions on how to achieve this.
Alternatively if one can suggest alternative forums where this type of issues are discussed I would be grateful too.
regards
The above is the cleaned up signal output from a sensor monitoring the angular position of a shaft. It is made up of 23 pulses plus one gap. I need to pick up ideally the centre of that gap using any option possible on an STM32 controller.
The pulse widths in that photo are dependent on shaft rotation speed which can easily go up to x2 or even x3 the speed of when that picture was taken.
I would be grateful for any suggestions on how to achieve this.
Alternatively if one can suggest alternative forums where this type of issues are discussed I would be grateful too.
regards