Hi.
I have a project that uses a PIC16F877 to control the speed and direction of 3 motors driven by motor controllers. I had to code my own PWM generators to be able to control all three individually. However with this method the fastest PWM signal I can get is well within the audible range and my motors make a loud whine when the duty cycle is not %100.
What is a good easy way to increase my PWM frequency? I am thinking to filter the PWM signals to an analog voltage that varies between 0 and 5V and then use that voltage to control the duty cycle of a PWM generator circuit or IC. The problem here is I don't know a good circuit or IC that can convert voltage into duty cycle at a set frequency...
Your advice is greatly appreciated.
Thank you.
I have a project that uses a PIC16F877 to control the speed and direction of 3 motors driven by motor controllers. I had to code my own PWM generators to be able to control all three individually. However with this method the fastest PWM signal I can get is well within the audible range and my motors make a loud whine when the duty cycle is not %100.
What is a good easy way to increase my PWM frequency? I am thinking to filter the PWM signals to an analog voltage that varies between 0 and 5V and then use that voltage to control the duty cycle of a PWM generator circuit or IC. The problem here is I don't know a good circuit or IC that can convert voltage into duty cycle at a set frequency...
Your advice is greatly appreciated.
Thank you.