If your PWM control works, the direction of rotation is never in doubt. And with two optointerrupters and a second set of holes on a different radius, the same result is obtained. The reso is less, but so is the cost.
I use a 12v DC motor. PWM 16khz, I want to know if someone has some code for filtering noise out of the ADC from the BEMF input. I have the code for PDFF/PID which is ok. But becuase of the interference from the motor which gets introduced into the input of the ADC I am looking for some clever softare that can filter this. I do have some clean up filtering hardware before the BEMF is inputed into the ADC. But Since the motor type can change I would like some code to control the rest of the filtering though software. Does anyone know how to do that ?
|Thread starter||Similar threads||Forum||Replies||Date|
|CDN (Coupling Decoupling Network) and Power Supply filtering||Power Electronics||2|
|M||Instrumental amplifier gain and filtering||Analog & Mixed-Signal Design||5|
|Filtering values, any suggestions for a more efficient method ?||Microcontrollers||4|
|M||Filtering power to stepper motor drivers for EMI purposes.||Power Electronics||0|
|Question on LC filtering||General Electronics Chat||43|