??? 12/20/09 19:30 Read: times |
#171799 - Sample rate ? Responding to: ???'s previous message |
Stephen Mattix said:
I'm having a problem with the ADuC816 microconverter/controller.
I am trying to input an analog sinusoidal voltage signal with a 2.5 V dc offset, take the average over 20 or so samples, and find the peak value of the voltage signal from this average. However, no matter what I do, the chip seems to put out only the DC offset. I was just looking at the data sheet and it says just before the ADC outputs, it sums and averages the current value with the previous value. How fast is your input signal and how fast are you sampling ? Is there are chance your are sampling synchronously ? Steve |
Topic | Author | Date |
ADuC816 Problem | 01/01/70 00:00 | |
Sample rate ? | 01/01/70 00:00 | |
Isn't that exactly what you should get? | 01/01/70 00:00 | |
Indeed! | 01/01/70 00:00 | |
Hmm | 01/01/70 00:00 | |
average of the repetitive peak ? | 01/01/70 00:00 | |
Better | 01/01/70 00:00 | |
Clarification | 01/01/70 00:00 | |
Signal Frequency | 01/01/70 00:00 | |
magnitude | 01/01/70 00:00 | |
Dump a number of samples to check | 01/01/70 00:00 | |
it is possible? | 01/01/70 00:00 | |
fast sample-and-hold | 01/01/70 00:00 | |
sorry, but | 01/01/70 00:00 | |
and | 01/01/70 00:00 | |
it won't | 01/01/70 00:00 | |
Undersampling often quite powerful | 01/01/70 00:00 | |
what is conclusion for OP? | 01/01/70 00:00 | |
How about precision rectification? | 01/01/70 00:00 | |
re:ADUC816 | 01/01/70 00:00 | |
sure, you can | 01/01/70 00:00 | |
Most cheaper digital scopes uses repetitive sampling | 01/01/70 00:00 | |
how about | 01/01/70 00:00 | |
SF=1 | 01/01/70 00:00 | |
Consistent not a simple subset of accurate | 01/01/70 00:00 | |
Dumping Values | 01/01/70 00:00 | |
*EDIT* | 01/01/70 00:00 | |
Circuit![]() | 01/01/70 00:00 |