brownt
Member level 3
Hi, I am using Autocorrelation in an embedded system to determine audio frequencies 80 - 1400Hz.
After correlation I am using PWM to represent that frequency then passing it through an RC filter, and using the resulting DC as an input to an A/D on another system/enclosure via a 15cm cable.
I am using 1Kohm and1uF for the filter, which according to my calculations should settle at 90% within 1mS. However, it seems to be taking much longer. I can change it to 100uF which should be 100mS settle time, but it doesn't seem to make any difference. It is all part of an audio system and there is a noticeable audible delay.
I can visually see the slow DC change on an oscilloscope compared to a much faster visual change on the PWM pin.
And I wonder if the impedance of the A/D is a significant part of the equation that I am missing, or something else.
thanks
After correlation I am using PWM to represent that frequency then passing it through an RC filter, and using the resulting DC as an input to an A/D on another system/enclosure via a 15cm cable.
I am using 1Kohm and1uF for the filter, which according to my calculations should settle at 90% within 1mS. However, it seems to be taking much longer. I can change it to 100uF which should be 100mS settle time, but it doesn't seem to make any difference. It is all part of an audio system and there is a noticeable audible delay.
I can visually see the slow DC change on an oscilloscope compared to a much faster visual change on the PWM pin.
And I wonder if the impedance of the A/D is a significant part of the equation that I am missing, or something else.
thanks