Higher PWM freqency motor driver Kategorie: Pro-Bot128 (von PepeV - 20.08.2011 18:13) | ||
| ||
Hi all, I wrote a program that enables the Pro-Bot to perform different actions when I whistle. The program determines the pitch of my whistle by FFT of the microphone signal and subsequent detection of the highest peak in the sound spectrum. However, the program works only when the PWM signal for the motor driver is off because the microphone amplifier picks up this 7.2 kHz signal which is much stronger than my whistle. The solution would be to filter the microphone signal but this would be much easier when the PWM signal would have a higher frequency. E.g. with a 20 kHz PWM signal, a 6 dB/octave filter with a corner frequency of 5 kHz would probably suffice. This can easily be realized with a single condensor at the input of the microphone amplifier. My question is: is there any reason why increasing the PWM frequency for the motor driver would not be a good idea? And how high can one go? (You may anwer in German.) Regards, Pepe | ||
Antwort schreiben Antworten: Re: Higher PWM freqency motor driver (von PepeV - 4.09.2011 12:45) |
Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum